UNPKG

4.27 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, csp), the Dart to JavaScript compiler version: 2.17.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 inherit(cls, sup) {
192 cls.prototype.constructor = cls;
193 cls.prototype["$is" + cls.name] = cls;
194 if (sup != null) {
195 if (supportsDirectProtoAccess) {
196 cls.prototype.__proto__ = sup.prototype;
197 return;
198 }
199 var clsPrototype = Object.create(sup.prototype);
200 copyProperties(cls.prototype, clsPrototype);
201 cls.prototype = clsPrototype;
202 }
203 }
204 function inheritMany(sup, classes) {
205 for (var i = 0; i < classes.length; i++)
206 inherit(classes[i], sup);
207 }
208 function mixinEasy(cls, mixin) {
209 mixinPropertiesEasy(mixin.prototype, cls.prototype);
210 cls.prototype.constructor = cls;
211 }
212 function mixinHard(cls, mixin) {
213 mixinPropertiesHard(mixin.prototype, cls.prototype);
214 cls.prototype.constructor = cls;
215 }
216 function lazyOld(holder, name, getterName, initializer) {
217 var uninitializedSentinel = holder;
218 holder[name] = uninitializedSentinel;
219 holder[getterName] = function() {
220 holder[getterName] = function() {
221 A.throwCyclicInit(name);
222 };
223 var result;
224 var sentinelInProgress = initializer;
225 try {
226 if (holder[name] === uninitializedSentinel) {
227 result = holder[name] = sentinelInProgress;
228 result = holder[name] = initializer();
229 } else
230 result = holder[name];
231 } finally {
232 if (result === sentinelInProgress)
233 holder[name] = null;
234 holder[getterName] = function() {
235 return this[name];
236 };
237 }
238 return result;
239 };
240 }
241 function lazy(holder, name, getterName, initializer) {
242 var uninitializedSentinel = holder;
243 holder[name] = uninitializedSentinel;
244 holder[getterName] = function() {
245 if (holder[name] === uninitializedSentinel)
246 holder[name] = initializer();
247 holder[getterName] = function() {
248 return this[name];
249 };
250 return holder[name];
251 };
252 }
253 function lazyFinal(holder, name, getterName, initializer) {
254 var uninitializedSentinel = holder;
255 holder[name] = uninitializedSentinel;
256 holder[getterName] = function() {
257 if (holder[name] === uninitializedSentinel) {
258 var value = initializer();
259 if (holder[name] !== uninitializedSentinel)
260 A.throwLateFieldADI(name);
261 holder[name] = value;
262 }
263 var finalValue = holder[name];
264 holder[getterName] = function() {
265 return finalValue;
266 };
267 return finalValue;
268 };
269 }
270 function makeConstList(list) {
271 list.immutable$list = Array;
272 list.fixed$length = Array;
273 return list;
274 }
275 function convertToFastObject(properties) {
276 function t() {
277 }
278 t.prototype = properties;
279 new t();
280 return properties;
281 }
282 function convertAllToFastObject(arrayOfObjects) {
283 for (var i = 0; i < arrayOfObjects.length; ++i)
284 convertToFastObject(arrayOfObjects[i]);
285 }
286 var functionCounter = 0;
287 function instanceTearOffGetter(isIntercepted, parameters) {
288 var cache = null;
289 return isIntercepted ? function(receiver) {
290 if (cache === null)
291 cache = A.closureFromTearOff(parameters);
292 return new cache(receiver, this);
293 } : function() {
294 if (cache === null)
295 cache = A.closureFromTearOff(parameters);
296 return new cache(this, null);
297 };
298 }
299 function staticTearOffGetter(parameters) {
300 var cache = null;
301 return function() {
302 if (cache === null)
303 cache = A.closureFromTearOff(parameters).prototype;
304 return cache;
305 };
306 }
307 var typesOffset = 0;
308 function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
309 if (typeof funType == "number")
310 funType += typesOffset;
311 return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
312 }
313 function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
314 var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
315 var getterFunction = staticTearOffGetter(parameters);
316 holder[getterName] = getterFunction;
317 }
318 function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
319 isIntercepted = !!isIntercepted;
320 var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
321 var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
322 prototype[getterName] = getterFunction;
323 }
324 function setOrUpdateInterceptorsByTag(newTags) {
325 var tags = init.interceptorsByTag;
326 if (!tags) {
327 init.interceptorsByTag = newTags;
328 return;
329 }
330 copyProperties(newTags, tags);
331 }
332 function setOrUpdateLeafTags(newTags) {
333 var tags = init.leafTags;
334 if (!tags) {
335 init.leafTags = newTags;
336 return;
337 }
338 copyProperties(newTags, tags);
339 }
340 function updateTypes(newTypes) {
341 var types = init.types;
342 var length = types.length;
343 types.push.apply(types, newTypes);
344 return length;
345 }
346 function updateHolder(holder, newHolder) {
347 copyProperties(newHolder, holder);
348 return holder;
349 }
350 var hunkHelpers = function() {
351 var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
352 return function(container, getterName, name, funType) {
353 return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
354 };
355 },
356 mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
357 return function(container, getterName, name, funType) {
358 return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
359 };
360 };
361 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, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
362 }();
363 function initializeDeferredHunk(hunk) {
364 typesOffset = init.types.length;
365 hunk(hunkHelpers, init, holders, $);
366 }
367 var A = {JS_CONST: function JS_CONST() {
368 },
369 CastIterable_CastIterable(source, $S, $T) {
370 if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
371 return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
372 return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
373 },
374 LateError$fieldADI(fieldName) {
375 return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
376 },
377 LateError$localNI(localName) {
378 return new A.LateError("Local '" + localName + "' has not been initialized.");
379 },
380 hexDigitValue(char) {
381 var letter,
382 digit = char ^ 48;
383 if (digit <= 9)
384 return digit;
385 letter = char | 32;
386 if (97 <= letter && letter <= 102)
387 return letter - 87;
388 return -1;
389 },
390 SystemHash_combine(hash, value) {
391 hash = hash + value & 536870911;
392 hash = hash + ((hash & 524287) << 10) & 536870911;
393 return hash ^ hash >>> 6;
394 },
395 SystemHash_finish(hash) {
396 hash = hash + ((hash & 67108863) << 3) & 536870911;
397 hash ^= hash >>> 11;
398 return hash + ((hash & 16383) << 15) & 536870911;
399 },
400 checkNotNullable(value, $name, $T) {
401 return value;
402 },
403 SubListIterable$(_iterable, _start, _endOrLength, $E) {
404 A.RangeError_checkNotNegative(_start, "start");
405 if (_endOrLength != null) {
406 A.RangeError_checkNotNegative(_endOrLength, "end");
407 if (_start > _endOrLength)
408 A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
409 }
410 return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
411 },
412 MappedIterable_MappedIterable(iterable, $function, $S, $T) {
413 if (type$.EfficientLengthIterable_dynamic._is(iterable))
414 return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
415 return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
416 },
417 TakeIterable_TakeIterable(iterable, takeCount, $E) {
418 var _s9_ = "takeCount";
419 A.ArgumentError_checkNotNull(takeCount, _s9_);
420 A.RangeError_checkNotNegative(takeCount, _s9_);
421 if (type$.EfficientLengthIterable_dynamic._is(iterable))
422 return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
423 return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
424 },
425 SkipIterable_SkipIterable(iterable, count, $E) {
426 var _s5_ = "count";
427 if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
428 A.ArgumentError_checkNotNull(count, _s5_);
429 A.RangeError_checkNotNegative(count, _s5_);
430 return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
431 }
432 A.ArgumentError_checkNotNull(count, _s5_);
433 A.RangeError_checkNotNegative(count, _s5_);
434 return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
435 },
436 FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
437 if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
438 return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
439 return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
440 },
441 IterableElementError_noElement() {
442 return new A.StateError("No element");
443 },
444 IterableElementError_tooMany() {
445 return new A.StateError("Too many elements");
446 },
447 IterableElementError_tooFew() {
448 return new A.StateError("Too few elements");
449 },
450 Sort_sort(a, compare) {
451 A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
452 },
453 Sort__doSort(a, left, right, compare) {
454 if (right - left <= 32)
455 A.Sort__insertionSort(a, left, right, compare);
456 else
457 A.Sort__dualPivotQuicksort(a, left, right, compare);
458 },
459 Sort__insertionSort(a, left, right, compare) {
460 var i, t1, el, j, j0;
461 for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
462 el = t1.$index(a, i);
463 j = i;
464 while (true) {
465 if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
466 break;
467 j0 = j - 1;
468 t1.$indexSet(a, j, t1.$index(a, j0));
469 j = j0;
470 }
471 t1.$indexSet(a, j, el);
472 }
473 },
474 Sort__dualPivotQuicksort(a, left, right, compare) {
475 var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
476 sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
477 index1 = left + sixth,
478 index5 = right - sixth,
479 index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
480 index2 = index3 - sixth,
481 index4 = index3 + sixth,
482 t1 = J.getInterceptor$asx(a),
483 el1 = t1.$index(a, index1),
484 el2 = t1.$index(a, index2),
485 el3 = t1.$index(a, index3),
486 el4 = t1.$index(a, index4),
487 el5 = t1.$index(a, index5);
488 if (compare.call$2(el1, el2) > 0) {
489 t0 = el2;
490 el2 = el1;
491 el1 = t0;
492 }
493 if (compare.call$2(el4, el5) > 0) {
494 t0 = el5;
495 el5 = el4;
496 el4 = t0;
497 }
498 if (compare.call$2(el1, el3) > 0) {
499 t0 = el3;
500 el3 = el1;
501 el1 = t0;
502 }
503 if (compare.call$2(el2, el3) > 0) {
504 t0 = el3;
505 el3 = el2;
506 el2 = t0;
507 }
508 if (compare.call$2(el1, el4) > 0) {
509 t0 = el4;
510 el4 = el1;
511 el1 = t0;
512 }
513 if (compare.call$2(el3, el4) > 0) {
514 t0 = el4;
515 el4 = el3;
516 el3 = t0;
517 }
518 if (compare.call$2(el2, el5) > 0) {
519 t0 = el5;
520 el5 = el2;
521 el2 = t0;
522 }
523 if (compare.call$2(el2, el3) > 0) {
524 t0 = el3;
525 el3 = el2;
526 el2 = t0;
527 }
528 if (compare.call$2(el4, el5) > 0) {
529 t0 = el5;
530 el5 = el4;
531 el4 = t0;
532 }
533 t1.$indexSet(a, index1, el1);
534 t1.$indexSet(a, index3, el3);
535 t1.$indexSet(a, index5, el5);
536 t1.$indexSet(a, index2, t1.$index(a, left));
537 t1.$indexSet(a, index4, t1.$index(a, right));
538 less = left + 1;
539 great = right - 1;
540 if (J.$eq$(compare.call$2(el2, el4), 0)) {
541 for (k = less; k <= great; ++k) {
542 ak = t1.$index(a, k);
543 comp = compare.call$2(ak, el2);
544 if (comp === 0)
545 continue;
546 if (comp < 0) {
547 if (k !== less) {
548 t1.$indexSet(a, k, t1.$index(a, less));
549 t1.$indexSet(a, less, ak);
550 }
551 ++less;
552 } else
553 for (; true;) {
554 comp = compare.call$2(t1.$index(a, great), el2);
555 if (comp > 0) {
556 --great;
557 continue;
558 } else {
559 great0 = great - 1;
560 if (comp < 0) {
561 t1.$indexSet(a, k, t1.$index(a, less));
562 less0 = less + 1;
563 t1.$indexSet(a, less, t1.$index(a, great));
564 t1.$indexSet(a, great, ak);
565 great = great0;
566 less = less0;
567 break;
568 } else {
569 t1.$indexSet(a, k, t1.$index(a, great));
570 t1.$indexSet(a, great, ak);
571 great = great0;
572 break;
573 }
574 }
575 }
576 }
577 pivots_are_equal = true;
578 } else {
579 for (k = less; k <= great; ++k) {
580 ak = t1.$index(a, k);
581 if (compare.call$2(ak, el2) < 0) {
582 if (k !== less) {
583 t1.$indexSet(a, k, t1.$index(a, less));
584 t1.$indexSet(a, less, ak);
585 }
586 ++less;
587 } else if (compare.call$2(ak, el4) > 0)
588 for (; true;)
589 if (compare.call$2(t1.$index(a, great), el4) > 0) {
590 --great;
591 if (great < k)
592 break;
593 continue;
594 } else {
595 great0 = great - 1;
596 if (compare.call$2(t1.$index(a, great), el2) < 0) {
597 t1.$indexSet(a, k, t1.$index(a, less));
598 less0 = less + 1;
599 t1.$indexSet(a, less, t1.$index(a, great));
600 t1.$indexSet(a, great, ak);
601 less = less0;
602 } else {
603 t1.$indexSet(a, k, t1.$index(a, great));
604 t1.$indexSet(a, great, ak);
605 }
606 great = great0;
607 break;
608 }
609 }
610 pivots_are_equal = false;
611 }
612 t2 = less - 1;
613 t1.$indexSet(a, left, t1.$index(a, t2));
614 t1.$indexSet(a, t2, el2);
615 t2 = great + 1;
616 t1.$indexSet(a, right, t1.$index(a, t2));
617 t1.$indexSet(a, t2, el4);
618 A.Sort__doSort(a, left, less - 2, compare);
619 A.Sort__doSort(a, great + 2, right, compare);
620 if (pivots_are_equal)
621 return;
622 if (less < index1 && great > index5) {
623 for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
624 ++less;
625 for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
626 --great;
627 for (k = less; k <= great; ++k) {
628 ak = t1.$index(a, k);
629 if (compare.call$2(ak, el2) === 0) {
630 if (k !== less) {
631 t1.$indexSet(a, k, t1.$index(a, less));
632 t1.$indexSet(a, less, ak);
633 }
634 ++less;
635 } else if (compare.call$2(ak, el4) === 0)
636 for (; true;)
637 if (compare.call$2(t1.$index(a, great), el4) === 0) {
638 --great;
639 if (great < k)
640 break;
641 continue;
642 } else {
643 great0 = great - 1;
644 if (compare.call$2(t1.$index(a, great), el2) < 0) {
645 t1.$indexSet(a, k, t1.$index(a, less));
646 less0 = less + 1;
647 t1.$indexSet(a, less, t1.$index(a, great));
648 t1.$indexSet(a, great, ak);
649 less = less0;
650 } else {
651 t1.$indexSet(a, k, t1.$index(a, great));
652 t1.$indexSet(a, great, ak);
653 }
654 great = great0;
655 break;
656 }
657 }
658 A.Sort__doSort(a, less, great, compare);
659 } else
660 A.Sort__doSort(a, less, great, compare);
661 },
662 _CastIterableBase: function _CastIterableBase() {
663 },
664 CastIterator: function CastIterator(t0, t1) {
665 this._source = t0;
666 this.$ti = t1;
667 },
668 CastIterable: function CastIterable(t0, t1) {
669 this._source = t0;
670 this.$ti = t1;
671 },
672 _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
673 this._source = t0;
674 this.$ti = t1;
675 },
676 _CastListBase: function _CastListBase() {
677 },
678 _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
679 this.$this = t0;
680 this.compare = t1;
681 },
682 CastList: function CastList(t0, t1) {
683 this._source = t0;
684 this.$ti = t1;
685 },
686 CastSet: function CastSet(t0, t1, t2) {
687 this._source = t0;
688 this._emptySet = t1;
689 this.$ti = t2;
690 },
691 CastMap: function CastMap(t0, t1) {
692 this._source = t0;
693 this.$ti = t1;
694 },
695 CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
696 this.$this = t0;
697 this.f = t1;
698 },
699 CastMap_entries_closure: function CastMap_entries_closure(t0) {
700 this.$this = t0;
701 },
702 LateError: function LateError(t0) {
703 this._message = t0;
704 },
705 CodeUnits: function CodeUnits(t0) {
706 this.__internal$_string = t0;
707 },
708 nullFuture_closure: function nullFuture_closure() {
709 },
710 SentinelValue: function SentinelValue() {
711 },
712 EfficientLengthIterable: function EfficientLengthIterable() {
713 },
714 ListIterable: function ListIterable() {
715 },
716 SubListIterable: function SubListIterable(t0, t1, t2, t3) {
717 var _ = this;
718 _.__internal$_iterable = t0;
719 _.__internal$_start = t1;
720 _._endOrLength = t2;
721 _.$ti = t3;
722 },
723 ListIterator: function ListIterator(t0, t1) {
724 var _ = this;
725 _.__internal$_iterable = t0;
726 _.__internal$_length = t1;
727 _.__internal$_index = 0;
728 _.__internal$_current = null;
729 },
730 MappedIterable: function MappedIterable(t0, t1, t2) {
731 this.__internal$_iterable = t0;
732 this._f = t1;
733 this.$ti = t2;
734 },
735 EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
736 this.__internal$_iterable = t0;
737 this._f = t1;
738 this.$ti = t2;
739 },
740 MappedIterator: function MappedIterator(t0, t1) {
741 this.__internal$_current = null;
742 this._iterator = t0;
743 this._f = t1;
744 },
745 MappedListIterable: function MappedListIterable(t0, t1, t2) {
746 this._source = t0;
747 this._f = t1;
748 this.$ti = t2;
749 },
750 WhereIterable: function WhereIterable(t0, t1, t2) {
751 this.__internal$_iterable = t0;
752 this._f = t1;
753 this.$ti = t2;
754 },
755 WhereIterator: function WhereIterator(t0, t1) {
756 this._iterator = t0;
757 this._f = t1;
758 },
759 ExpandIterable: function ExpandIterable(t0, t1, t2) {
760 this.__internal$_iterable = t0;
761 this._f = t1;
762 this.$ti = t2;
763 },
764 ExpandIterator: function ExpandIterator(t0, t1, t2) {
765 var _ = this;
766 _._iterator = t0;
767 _._f = t1;
768 _._currentExpansion = t2;
769 _.__internal$_current = null;
770 },
771 TakeIterable: function TakeIterable(t0, t1, t2) {
772 this.__internal$_iterable = t0;
773 this._takeCount = t1;
774 this.$ti = t2;
775 },
776 EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
777 this.__internal$_iterable = t0;
778 this._takeCount = t1;
779 this.$ti = t2;
780 },
781 TakeIterator: function TakeIterator(t0, t1) {
782 this._iterator = t0;
783 this._remaining = t1;
784 },
785 SkipIterable: function SkipIterable(t0, t1, t2) {
786 this.__internal$_iterable = t0;
787 this._skipCount = t1;
788 this.$ti = t2;
789 },
790 EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
791 this.__internal$_iterable = t0;
792 this._skipCount = t1;
793 this.$ti = t2;
794 },
795 SkipIterator: function SkipIterator(t0, t1) {
796 this._iterator = t0;
797 this._skipCount = t1;
798 },
799 SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
800 this.__internal$_iterable = t0;
801 this._f = t1;
802 this.$ti = t2;
803 },
804 SkipWhileIterator: function SkipWhileIterator(t0, t1) {
805 this._iterator = t0;
806 this._f = t1;
807 this._hasSkipped = false;
808 },
809 EmptyIterable: function EmptyIterable(t0) {
810 this.$ti = t0;
811 },
812 EmptyIterator: function EmptyIterator() {
813 },
814 FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
815 this.__internal$_first = t0;
816 this._second = t1;
817 this.$ti = t2;
818 },
819 EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
820 this.__internal$_first = t0;
821 this._second = t1;
822 this.$ti = t2;
823 },
824 FollowedByIterator: function FollowedByIterator(t0, t1) {
825 this._currentIterator = t0;
826 this._nextIterable = t1;
827 },
828 WhereTypeIterable: function WhereTypeIterable(t0, t1) {
829 this._source = t0;
830 this.$ti = t1;
831 },
832 WhereTypeIterator: function WhereTypeIterator(t0, t1) {
833 this._source = t0;
834 this.$ti = t1;
835 },
836 FixedLengthListMixin: function FixedLengthListMixin() {
837 },
838 UnmodifiableListMixin: function UnmodifiableListMixin() {
839 },
840 UnmodifiableListBase: function UnmodifiableListBase() {
841 },
842 ReversedListIterable: function ReversedListIterable(t0, t1) {
843 this._source = t0;
844 this.$ti = t1;
845 },
846 Symbol: function Symbol(t0) {
847 this.__internal$_name = t0;
848 },
849 __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
850 },
851 ConstantMap_ConstantMap$from(other, $K, $V) {
852 var allStrings, k, object, t2,
853 keys = A.List_List$from(other.get$keys(other), true, $K),
854 t1 = keys.length,
855 _i = 0;
856 while (true) {
857 if (!(_i < t1)) {
858 allStrings = true;
859 break;
860 }
861 k = keys[_i];
862 if (typeof k != "string" || "__proto__" === k) {
863 allStrings = false;
864 break;
865 }
866 ++_i;
867 }
868 if (allStrings) {
869 object = {};
870 for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
871 k = keys[_i];
872 object[k] = other.$index(0, k);
873 }
874 return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
875 }
876 return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
877 },
878 ConstantMap__throwUnmodifiable() {
879 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
880 },
881 instantiate1(f, T1) {
882 var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
883 t1.Instantiation$1(f);
884 return t1;
885 },
886 unminifyOrTag(rawClassName) {
887 var preserved = init.mangledGlobalNames[rawClassName];
888 if (preserved != null)
889 return preserved;
890 return rawClassName;
891 },
892 isJsIndexable(object, record) {
893 var result;
894 if (record != null) {
895 result = record.x;
896 if (result != null)
897 return result;
898 }
899 return type$.JavaScriptIndexingBehavior_dynamic._is(object);
900 },
901 S(value) {
902 var result;
903 if (typeof value == "string")
904 return value;
905 if (typeof value == "number") {
906 if (value !== 0)
907 return "" + value;
908 } else if (true === value)
909 return "true";
910 else if (false === value)
911 return "false";
912 else if (value == null)
913 return "null";
914 result = J.toString$0$(value);
915 return result;
916 },
917 Primitives_objectHashCode(object) {
918 var hash,
919 property = $.Primitives__identityHashCodeProperty;
920 if (property == null)
921 property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
922 hash = object[property];
923 if (hash == null) {
924 hash = Math.random() * 0x3fffffff | 0;
925 object[property] = hash;
926 }
927 return hash;
928 },
929 Primitives_parseInt(source, radix) {
930 var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
931 match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
932 if (match == null)
933 return _null;
934 decimalMatch = match[3];
935 if (radix == null) {
936 if (decimalMatch != null)
937 return parseInt(source, 10);
938 if (match[2] != null)
939 return parseInt(source, 16);
940 return _null;
941 }
942 if (radix < 2 || radix > 36)
943 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
944 if (radix === 10 && decimalMatch != null)
945 return parseInt(source, 10);
946 if (radix < 10 || decimalMatch == null) {
947 maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
948 digitsPart = match[1];
949 for (t1 = digitsPart.length, i = 0; i < t1; ++i)
950 if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
951 return _null;
952 }
953 return parseInt(source, radix);
954 },
955 Primitives_parseDouble(source) {
956 var result, trimmed;
957 if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
958 return null;
959 result = parseFloat(source);
960 if (isNaN(result)) {
961 trimmed = B.JSString_methods.trim$0(source);
962 if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
963 return result;
964 return null;
965 }
966 return result;
967 },
968 Primitives_objectTypeName(object) {
969 return A.Primitives__objectTypeNameNewRti(object);
970 },
971 Primitives__objectTypeNameNewRti(object) {
972 var interceptor, dispatchName, t1, $constructor, constructorName;
973 if (object instanceof A.Object)
974 return A._rtiToString(A.instanceType(object), null);
975 interceptor = J.getInterceptor$(object);
976 if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
977 dispatchName = B.C_JS_CONST(object);
978 t1 = dispatchName !== "Object" && dispatchName !== "";
979 if (t1)
980 return dispatchName;
981 $constructor = object.constructor;
982 if (typeof $constructor == "function") {
983 constructorName = $constructor.name;
984 if (typeof constructorName == "string")
985 t1 = constructorName !== "Object" && constructorName !== "";
986 else
987 t1 = false;
988 if (t1)
989 return constructorName;
990 }
991 }
992 return A._rtiToString(A.instanceType(object), null);
993 },
994 Primitives_currentUri() {
995 if (!!self.location)
996 return self.location.href;
997 return null;
998 },
999 Primitives__fromCharCodeApply(array) {
1000 var result, i, i0, chunkEnd,
1001 end = array.length;
1002 if (end <= 500)
1003 return String.fromCharCode.apply(null, array);
1004 for (result = "", i = 0; i < end; i = i0) {
1005 i0 = i + 500;
1006 chunkEnd = i0 < end ? i0 : end;
1007 result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
1008 }
1009 return result;
1010 },
1011 Primitives_stringFromCodePoints(codePoints) {
1012 var t1, _i, i,
1013 a = A._setArrayType([], type$.JSArray_int);
1014 for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
1015 i = codePoints[_i];
1016 if (!A._isInt(i))
1017 throw A.wrapException(A.argumentErrorValue(i));
1018 if (i <= 65535)
1019 a.push(i);
1020 else if (i <= 1114111) {
1021 a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
1022 a.push(56320 + (i & 1023));
1023 } else
1024 throw A.wrapException(A.argumentErrorValue(i));
1025 }
1026 return A.Primitives__fromCharCodeApply(a);
1027 },
1028 Primitives_stringFromCharCodes(charCodes) {
1029 var t1, _i, i;
1030 for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
1031 i = charCodes[_i];
1032 if (!A._isInt(i))
1033 throw A.wrapException(A.argumentErrorValue(i));
1034 if (i < 0)
1035 throw A.wrapException(A.argumentErrorValue(i));
1036 if (i > 65535)
1037 return A.Primitives_stringFromCodePoints(charCodes);
1038 }
1039 return A.Primitives__fromCharCodeApply(charCodes);
1040 },
1041 Primitives_stringFromNativeUint8List(charCodes, start, end) {
1042 var i, result, i0, chunkEnd;
1043 if (end <= 500 && start === 0 && end === charCodes.length)
1044 return String.fromCharCode.apply(null, charCodes);
1045 for (i = start, result = ""; i < end; i = i0) {
1046 i0 = i + 500;
1047 chunkEnd = i0 < end ? i0 : end;
1048 result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
1049 }
1050 return result;
1051 },
1052 Primitives_stringFromCharCode(charCode) {
1053 var bits;
1054 if (0 <= charCode) {
1055 if (charCode <= 65535)
1056 return String.fromCharCode(charCode);
1057 if (charCode <= 1114111) {
1058 bits = charCode - 65536;
1059 return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
1060 }
1061 }
1062 throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
1063 },
1064 Primitives_lazyAsJsDate(receiver) {
1065 if (receiver.date === void 0)
1066 receiver.date = new Date(receiver._core$_value);
1067 return receiver.date;
1068 },
1069 Primitives_getYear(receiver) {
1070 var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
1071 return t1;
1072 },
1073 Primitives_getMonth(receiver) {
1074 var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
1075 return t1;
1076 },
1077 Primitives_getDay(receiver) {
1078 var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
1079 return t1;
1080 },
1081 Primitives_getHours(receiver) {
1082 var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
1083 return t1;
1084 },
1085 Primitives_getMinutes(receiver) {
1086 var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
1087 return t1;
1088 },
1089 Primitives_getSeconds(receiver) {
1090 var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
1091 return t1;
1092 },
1093 Primitives_getMilliseconds(receiver) {
1094 var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
1095 return t1;
1096 },
1097 Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
1098 var $arguments, namedArgumentList, t1 = {};
1099 t1.argumentCount = 0;
1100 $arguments = [];
1101 namedArgumentList = [];
1102 t1.argumentCount = positionalArguments.length;
1103 B.JSArray_methods.addAll$1($arguments, positionalArguments);
1104 t1.names = "";
1105 if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
1106 namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
1107 return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
1108 },
1109 Primitives_applyFunction($function, positionalArguments, namedArguments) {
1110 var t1, argumentCount, jsStub;
1111 if (Array.isArray(positionalArguments))
1112 t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
1113 else
1114 t1 = false;
1115 if (t1) {
1116 argumentCount = positionalArguments.length;
1117 if (argumentCount === 0) {
1118 if (!!$function.call$0)
1119 return $function.call$0();
1120 } else if (argumentCount === 1) {
1121 if (!!$function.call$1)
1122 return $function.call$1(positionalArguments[0]);
1123 } else if (argumentCount === 2) {
1124 if (!!$function.call$2)
1125 return $function.call$2(positionalArguments[0], positionalArguments[1]);
1126 } else if (argumentCount === 3) {
1127 if (!!$function.call$3)
1128 return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
1129 } else if (argumentCount === 4) {
1130 if (!!$function.call$4)
1131 return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
1132 } else if (argumentCount === 5)
1133 if (!!$function.call$5)
1134 return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
1135 jsStub = $function["call" + "$" + argumentCount];
1136 if (jsStub != null)
1137 return jsStub.apply($function, positionalArguments);
1138 }
1139 return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
1140 },
1141 Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
1142 var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
1143 $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
1144 argumentCount = $arguments.length,
1145 requiredParameterCount = $function.$requiredArgCount;
1146 if (argumentCount < requiredParameterCount)
1147 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1148 defaultValuesClosure = $function.$defaultValues;
1149 t1 = defaultValuesClosure == null;
1150 defaultValues = !t1 ? defaultValuesClosure() : null;
1151 interceptor = J.getInterceptor$($function);
1152 jsFunction = interceptor["call*"];
1153 if (typeof jsFunction == "string")
1154 jsFunction = interceptor[jsFunction];
1155 if (t1) {
1156 if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
1157 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1158 if (argumentCount === requiredParameterCount)
1159 return jsFunction.apply($function, $arguments);
1160 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1161 }
1162 if (Array.isArray(defaultValues)) {
1163 if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
1164 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1165 maxArguments = requiredParameterCount + defaultValues.length;
1166 if (argumentCount > maxArguments)
1167 return A.Primitives_functionNoSuchMethod($function, $arguments, null);
1168 if (argumentCount < maxArguments) {
1169 missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
1170 if ($arguments === positionalArguments)
1171 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1172 B.JSArray_methods.addAll$1($arguments, missingDefaults);
1173 }
1174 return jsFunction.apply($function, $arguments);
1175 } else {
1176 if (argumentCount > requiredParameterCount)
1177 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1178 if ($arguments === positionalArguments)
1179 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1180 keys = Object.keys(defaultValues);
1181 if (namedArguments == null)
1182 for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1183 defaultValue = defaultValues[keys[_i]];
1184 if (B.C__Required === defaultValue)
1185 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1186 B.JSArray_methods.add$1($arguments, defaultValue);
1187 }
1188 else {
1189 for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1190 t2 = keys[_i];
1191 if (namedArguments.containsKey$1(t2)) {
1192 ++used;
1193 B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
1194 } else {
1195 defaultValue = defaultValues[t2];
1196 if (B.C__Required === defaultValue)
1197 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1198 B.JSArray_methods.add$1($arguments, defaultValue);
1199 }
1200 }
1201 if (used !== namedArguments.__js_helper$_length)
1202 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1203 }
1204 return jsFunction.apply($function, $arguments);
1205 }
1206 },
1207 diagnoseIndexError(indexable, index) {
1208 var $length, _s5_ = "index";
1209 if (!A._isInt(index))
1210 return new A.ArgumentError(true, index, _s5_, null);
1211 $length = J.get$length$asx(indexable);
1212 if (index < 0 || index >= $length)
1213 return A.IndexError$(index, indexable, _s5_, null, $length);
1214 return A.RangeError$value(index, _s5_, null);
1215 },
1216 diagnoseRangeError(start, end, $length) {
1217 if (start < 0 || start > $length)
1218 return A.RangeError$range(start, 0, $length, "start", null);
1219 if (end != null)
1220 if (end < start || end > $length)
1221 return A.RangeError$range(end, start, $length, "end", null);
1222 return new A.ArgumentError(true, end, "end", null);
1223 },
1224 argumentErrorValue(object) {
1225 return new A.ArgumentError(true, object, null, null);
1226 },
1227 checkNum(value) {
1228 return value;
1229 },
1230 wrapException(ex) {
1231 var wrapper, t1;
1232 if (ex == null)
1233 ex = new A.NullThrownError();
1234 wrapper = new Error();
1235 wrapper.dartException = ex;
1236 t1 = A.toStringWrapper;
1237 if ("defineProperty" in Object) {
1238 Object.defineProperty(wrapper, "message", {get: t1});
1239 wrapper.name = "";
1240 } else
1241 wrapper.toString = t1;
1242 return wrapper;
1243 },
1244 toStringWrapper() {
1245 return J.toString$0$(this.dartException);
1246 },
1247 throwExpression(ex) {
1248 throw A.wrapException(ex);
1249 },
1250 throwConcurrentModificationError(collection) {
1251 throw A.wrapException(A.ConcurrentModificationError$(collection));
1252 },
1253 TypeErrorDecoder_extractPattern(message) {
1254 var match, $arguments, argumentsExpr, expr, method, receiver;
1255 message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
1256 match = message.match(/\\\$[a-zA-Z]+\\\$/g);
1257 if (match == null)
1258 match = A._setArrayType([], type$.JSArray_String);
1259 $arguments = match.indexOf("\\$arguments\\$");
1260 argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
1261 expr = match.indexOf("\\$expr\\$");
1262 method = match.indexOf("\\$method\\$");
1263 receiver = match.indexOf("\\$receiver\\$");
1264 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);
1265 },
1266 TypeErrorDecoder_provokeCallErrorOn(expression) {
1267 return function($expr$) {
1268 var $argumentsExpr$ = "$arguments$";
1269 try {
1270 $expr$.$method$($argumentsExpr$);
1271 } catch (e) {
1272 return e.message;
1273 }
1274 }(expression);
1275 },
1276 TypeErrorDecoder_provokePropertyErrorOn(expression) {
1277 return function($expr$) {
1278 try {
1279 $expr$.$method$;
1280 } catch (e) {
1281 return e.message;
1282 }
1283 }(expression);
1284 },
1285 JsNoSuchMethodError$(_message, match) {
1286 var t1 = match == null,
1287 t2 = t1 ? null : match.method;
1288 return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
1289 },
1290 unwrapException(ex) {
1291 if (ex == null)
1292 return new A.NullThrownFromJavaScriptException(ex);
1293 if (ex instanceof A.ExceptionAndStackTrace)
1294 return A.saveStackTrace(ex, ex.dartException);
1295 if (typeof ex !== "object")
1296 return ex;
1297 if ("dartException" in ex)
1298 return A.saveStackTrace(ex, ex.dartException);
1299 return A._unwrapNonDartException(ex);
1300 },
1301 saveStackTrace(ex, error) {
1302 if (type$.Error._is(error))
1303 if (error.$thrownJsError == null)
1304 error.$thrownJsError = ex;
1305 return error;
1306 },
1307 _unwrapNonDartException(ex) {
1308 var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
1309 if (!("message" in ex))
1310 return ex;
1311 message = ex.message;
1312 if ("number" in ex && typeof ex.number == "number") {
1313 number = ex.number;
1314 ieErrorCode = number & 65535;
1315 if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
1316 switch (ieErrorCode) {
1317 case 438:
1318 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
1319 case 445:
1320 case 5007:
1321 t1 = A.S(message);
1322 return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null));
1323 }
1324 }
1325 if (ex instanceof TypeError) {
1326 nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
1327 notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
1328 nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
1329 nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
1330 undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
1331 undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
1332 nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
1333 $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
1334 undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
1335 undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
1336 match = nsme.matchTypeError$1(message);
1337 if (match != null)
1338 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1339 else {
1340 match = notClosure.matchTypeError$1(message);
1341 if (match != null) {
1342 match.method = "call";
1343 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1344 } else {
1345 match = nullCall.matchTypeError$1(message);
1346 if (match == null) {
1347 match = nullLiteralCall.matchTypeError$1(message);
1348 if (match == null) {
1349 match = undefCall.matchTypeError$1(message);
1350 if (match == null) {
1351 match = undefLiteralCall.matchTypeError$1(message);
1352 if (match == null) {
1353 match = nullProperty.matchTypeError$1(message);
1354 if (match == null) {
1355 match = nullLiteralCall.matchTypeError$1(message);
1356 if (match == null) {
1357 match = undefProperty.matchTypeError$1(message);
1358 if (match == null) {
1359 match = undefLiteralProperty.matchTypeError$1(message);
1360 t1 = match != null;
1361 } else
1362 t1 = true;
1363 } else
1364 t1 = true;
1365 } else
1366 t1 = true;
1367 } else
1368 t1 = true;
1369 } else
1370 t1 = true;
1371 } else
1372 t1 = true;
1373 } else
1374 t1 = true;
1375 if (t1)
1376 return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
1377 }
1378 }
1379 return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
1380 }
1381 if (ex instanceof RangeError) {
1382 if (typeof message == "string" && message.indexOf("call stack") !== -1)
1383 return new A.StackOverflowError();
1384 message = function(ex) {
1385 try {
1386 return String(ex);
1387 } catch (e) {
1388 }
1389 return null;
1390 }(ex);
1391 return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
1392 }
1393 if (typeof InternalError == "function" && ex instanceof InternalError)
1394 if (typeof message == "string" && message === "too much recursion")
1395 return new A.StackOverflowError();
1396 return ex;
1397 },
1398 getTraceFromException(exception) {
1399 var trace;
1400 if (exception instanceof A.ExceptionAndStackTrace)
1401 return exception.stackTrace;
1402 if (exception == null)
1403 return new A._StackTrace(exception);
1404 trace = exception.$cachedTrace;
1405 if (trace != null)
1406 return trace;
1407 return exception.$cachedTrace = new A._StackTrace(exception);
1408 },
1409 objectHashCode(object) {
1410 if (object == null || typeof object != "object")
1411 return J.get$hashCode$(object);
1412 else
1413 return A.Primitives_objectHashCode(object);
1414 },
1415 fillLiteralMap(keyValuePairs, result) {
1416 var index, index0, index1,
1417 $length = keyValuePairs.length;
1418 for (index = 0; index < $length; index = index1) {
1419 index0 = index + 1;
1420 index1 = index0 + 1;
1421 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
1422 }
1423 return result;
1424 },
1425 fillLiteralSet(values, result) {
1426 var index,
1427 $length = values.length;
1428 for (index = 0; index < $length; ++index)
1429 result.add$1(0, values[index]);
1430 return result;
1431 },
1432 invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
1433 switch (numberOfArguments) {
1434 case 0:
1435 return closure.call$0();
1436 case 1:
1437 return closure.call$1(arg1);
1438 case 2:
1439 return closure.call$2(arg1, arg2);
1440 case 3:
1441 return closure.call$3(arg1, arg2, arg3);
1442 case 4:
1443 return closure.call$4(arg1, arg2, arg3, arg4);
1444 }
1445 throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
1446 },
1447 convertDartClosureToJS(closure, arity) {
1448 var $function;
1449 if (closure == null)
1450 return null;
1451 $function = closure.$identity;
1452 if (!!$function)
1453 return $function;
1454 $function = function(closure, arity, invoke) {
1455 return function(a1, a2, a3, a4) {
1456 return invoke(closure, arity, a1, a2, a3, a4);
1457 };
1458 }(closure, arity, A.invokeClosure);
1459 closure.$identity = $function;
1460 return $function;
1461 },
1462 Closure_fromTearOff(parameters) {
1463 var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
1464 container = parameters.co,
1465 isStatic = parameters.iS,
1466 isIntercepted = parameters.iI,
1467 needsDirectAccess = parameters.nDA,
1468 applyTrampolineIndex = parameters.aI,
1469 funsOrNames = parameters.fs,
1470 callNames = parameters.cs,
1471 $name = funsOrNames[0],
1472 callName = callNames[0],
1473 $function = container[$name],
1474 t1 = parameters.fT;
1475 t1.toString;
1476 $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
1477 $prototype.$initialize = $prototype.constructor;
1478 if (isStatic)
1479 $constructor = function static_tear_off() {
1480 this.$initialize();
1481 };
1482 else
1483 $constructor = function tear_off(a, b) {
1484 this.$initialize(a, b);
1485 };
1486 $prototype.constructor = $constructor;
1487 $constructor.prototype = $prototype;
1488 $prototype.$_name = $name;
1489 $prototype.$_target = $function;
1490 t2 = !isStatic;
1491 if (t2)
1492 trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
1493 else {
1494 $prototype.$static_name = $name;
1495 trampoline = $function;
1496 }
1497 $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
1498 $prototype[callName] = trampoline;
1499 for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
1500 stub = funsOrNames[i];
1501 if (typeof stub == "string") {
1502 stub0 = container[stub];
1503 stubName = stub;
1504 stub = stub0;
1505 } else
1506 stubName = "";
1507 stubCallName = callNames[i];
1508 if (stubCallName != null) {
1509 if (t2)
1510 stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
1511 $prototype[stubCallName] = stub;
1512 }
1513 if (i === applyTrampolineIndex)
1514 applyTrampoline = stub;
1515 }
1516 $prototype["call*"] = applyTrampoline;
1517 $prototype.$requiredArgCount = parameters.rC;
1518 $prototype.$defaultValues = parameters.dV;
1519 return $constructor;
1520 },
1521 Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
1522 if (typeof functionType == "number")
1523 return functionType;
1524 if (typeof functionType == "string") {
1525 if (isStatic)
1526 throw A.wrapException("Cannot compute signature for static tearoff.");
1527 return function(recipe, evalOnReceiver) {
1528 return function() {
1529 return evalOnReceiver(this, recipe);
1530 };
1531 }(functionType, A.BoundClosure_evalRecipe);
1532 }
1533 throw A.wrapException("Error in functionType of tearoff");
1534 },
1535 Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
1536 var getReceiver = A.BoundClosure_receiverOf;
1537 switch (needsDirectAccess ? -1 : arity) {
1538 case 0:
1539 return function(entry, receiverOf) {
1540 return function() {
1541 return receiverOf(this)[entry]();
1542 };
1543 }(stubName, getReceiver);
1544 case 1:
1545 return function(entry, receiverOf) {
1546 return function(a) {
1547 return receiverOf(this)[entry](a);
1548 };
1549 }(stubName, getReceiver);
1550 case 2:
1551 return function(entry, receiverOf) {
1552 return function(a, b) {
1553 return receiverOf(this)[entry](a, b);
1554 };
1555 }(stubName, getReceiver);
1556 case 3:
1557 return function(entry, receiverOf) {
1558 return function(a, b, c) {
1559 return receiverOf(this)[entry](a, b, c);
1560 };
1561 }(stubName, getReceiver);
1562 case 4:
1563 return function(entry, receiverOf) {
1564 return function(a, b, c, d) {
1565 return receiverOf(this)[entry](a, b, c, d);
1566 };
1567 }(stubName, getReceiver);
1568 case 5:
1569 return function(entry, receiverOf) {
1570 return function(a, b, c, d, e) {
1571 return receiverOf(this)[entry](a, b, c, d, e);
1572 };
1573 }(stubName, getReceiver);
1574 default:
1575 return function(f, receiverOf) {
1576 return function() {
1577 return f.apply(receiverOf(this), arguments);
1578 };
1579 }($function, getReceiver);
1580 }
1581 },
1582 Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
1583 var arity, t1;
1584 if (isIntercepted)
1585 return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
1586 arity = $function.length;
1587 t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
1588 return t1;
1589 },
1590 Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
1591 var getReceiver = A.BoundClosure_receiverOf,
1592 getInterceptor = A.BoundClosure_interceptorOf;
1593 switch (needsDirectAccess ? -1 : arity) {
1594 case 0:
1595 throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
1596 case 1:
1597 return function(entry, interceptorOf, receiverOf) {
1598 return function() {
1599 return interceptorOf(this)[entry](receiverOf(this));
1600 };
1601 }(stubName, getInterceptor, getReceiver);
1602 case 2:
1603 return function(entry, interceptorOf, receiverOf) {
1604 return function(a) {
1605 return interceptorOf(this)[entry](receiverOf(this), a);
1606 };
1607 }(stubName, getInterceptor, getReceiver);
1608 case 3:
1609 return function(entry, interceptorOf, receiverOf) {
1610 return function(a, b) {
1611 return interceptorOf(this)[entry](receiverOf(this), a, b);
1612 };
1613 }(stubName, getInterceptor, getReceiver);
1614 case 4:
1615 return function(entry, interceptorOf, receiverOf) {
1616 return function(a, b, c) {
1617 return interceptorOf(this)[entry](receiverOf(this), a, b, c);
1618 };
1619 }(stubName, getInterceptor, getReceiver);
1620 case 5:
1621 return function(entry, interceptorOf, receiverOf) {
1622 return function(a, b, c, d) {
1623 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
1624 };
1625 }(stubName, getInterceptor, getReceiver);
1626 case 6:
1627 return function(entry, interceptorOf, receiverOf) {
1628 return function(a, b, c, d, e) {
1629 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
1630 };
1631 }(stubName, getInterceptor, getReceiver);
1632 default:
1633 return function(f, interceptorOf, receiverOf) {
1634 return function() {
1635 var a = [receiverOf(this)];
1636 Array.prototype.push.apply(a, arguments);
1637 return f.apply(interceptorOf(this), a);
1638 };
1639 }($function, getInterceptor, getReceiver);
1640 }
1641 },
1642 Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
1643 var arity, t1;
1644 if ($.BoundClosure__interceptorFieldNameCache == null)
1645 $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
1646 if ($.BoundClosure__receiverFieldNameCache == null)
1647 $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
1648 arity = $function.length;
1649 t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
1650 return t1;
1651 },
1652 closureFromTearOff(parameters) {
1653 return A.Closure_fromTearOff(parameters);
1654 },
1655 BoundClosure_evalRecipe(closure, recipe) {
1656 return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
1657 },
1658 BoundClosure_receiverOf(closure) {
1659 return closure._receiver;
1660 },
1661 BoundClosure_interceptorOf(closure) {
1662 return closure._interceptor;
1663 },
1664 BoundClosure__computeFieldNamed(fieldName) {
1665 var t1, i, $name,
1666 template = new A.BoundClosure("receiver", "interceptor"),
1667 names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
1668 for (t1 = names.length, i = 0; i < t1; ++i) {
1669 $name = names[i];
1670 if (template[$name] === fieldName)
1671 return $name;
1672 }
1673 throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
1674 },
1675 throwCyclicInit(staticName) {
1676 throw A.wrapException(new A.CyclicInitializationError(staticName));
1677 },
1678 getIsolateAffinityTag($name) {
1679 return init.getIsolateTag($name);
1680 },
1681 LinkedHashMapKeyIterator$(_map, _modifications) {
1682 var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
1683 t1._cell = _map._first;
1684 return t1;
1685 },
1686 defineProperty(obj, property, value) {
1687 Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
1688 },
1689 lookupAndCacheInterceptor(obj) {
1690 var interceptor, interceptorClass, altTag, mark, t1,
1691 tag = $.getTagFunction.call$1(obj),
1692 record = $.dispatchRecordsForInstanceTags[tag];
1693 if (record != null) {
1694 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1695 return record.i;
1696 }
1697 interceptor = $.interceptorsForUncacheableTags[tag];
1698 if (interceptor != null)
1699 return interceptor;
1700 interceptorClass = init.interceptorsByTag[tag];
1701 if (interceptorClass == null) {
1702 altTag = $.alternateTagFunction.call$2(obj, tag);
1703 if (altTag != null) {
1704 record = $.dispatchRecordsForInstanceTags[altTag];
1705 if (record != null) {
1706 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1707 return record.i;
1708 }
1709 interceptor = $.interceptorsForUncacheableTags[altTag];
1710 if (interceptor != null)
1711 return interceptor;
1712 interceptorClass = init.interceptorsByTag[altTag];
1713 tag = altTag;
1714 }
1715 }
1716 if (interceptorClass == null)
1717 return null;
1718 interceptor = interceptorClass.prototype;
1719 mark = tag[0];
1720 if (mark === "!") {
1721 record = A.makeLeafDispatchRecord(interceptor);
1722 $.dispatchRecordsForInstanceTags[tag] = record;
1723 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1724 return record.i;
1725 }
1726 if (mark === "~") {
1727 $.interceptorsForUncacheableTags[tag] = interceptor;
1728 return interceptor;
1729 }
1730 if (mark === "-") {
1731 t1 = A.makeLeafDispatchRecord(interceptor);
1732 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1733 return t1.i;
1734 }
1735 if (mark === "+")
1736 return A.patchInteriorProto(obj, interceptor);
1737 if (mark === "*")
1738 throw A.wrapException(A.UnimplementedError$(tag));
1739 if (init.leafTags[tag] === true) {
1740 t1 = A.makeLeafDispatchRecord(interceptor);
1741 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1742 return t1.i;
1743 } else
1744 return A.patchInteriorProto(obj, interceptor);
1745 },
1746 patchInteriorProto(obj, interceptor) {
1747 var proto = Object.getPrototypeOf(obj);
1748 Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
1749 return interceptor;
1750 },
1751 makeLeafDispatchRecord(interceptor) {
1752 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
1753 },
1754 makeDefaultDispatchRecord(tag, interceptorClass, proto) {
1755 var interceptor = interceptorClass.prototype;
1756 if (init.leafTags[tag] === true)
1757 return A.makeLeafDispatchRecord(interceptor);
1758 else
1759 return J.makeDispatchRecord(interceptor, proto, null, null);
1760 },
1761 initNativeDispatch() {
1762 if (true === $.initNativeDispatchFlag)
1763 return;
1764 $.initNativeDispatchFlag = true;
1765 A.initNativeDispatchContinue();
1766 },
1767 initNativeDispatchContinue() {
1768 var map, tags, fun, i, tag, proto, record, interceptorClass;
1769 $.dispatchRecordsForInstanceTags = Object.create(null);
1770 $.interceptorsForUncacheableTags = Object.create(null);
1771 A.initHooks();
1772 map = init.interceptorsByTag;
1773 tags = Object.getOwnPropertyNames(map);
1774 if (typeof window != "undefined") {
1775 window;
1776 fun = function() {
1777 };
1778 for (i = 0; i < tags.length; ++i) {
1779 tag = tags[i];
1780 proto = $.prototypeForTagFunction.call$1(tag);
1781 if (proto != null) {
1782 record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
1783 if (record != null) {
1784 Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1785 fun.prototype = proto;
1786 }
1787 }
1788 }
1789 }
1790 for (i = 0; i < tags.length; ++i) {
1791 tag = tags[i];
1792 if (/^[A-Za-z_]/.test(tag)) {
1793 interceptorClass = map[tag];
1794 map["!" + tag] = interceptorClass;
1795 map["~" + tag] = interceptorClass;
1796 map["-" + tag] = interceptorClass;
1797 map["+" + tag] = interceptorClass;
1798 map["*" + tag] = interceptorClass;
1799 }
1800 }
1801 },
1802 initHooks() {
1803 var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
1804 hooks = B.C_JS_CONST0();
1805 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)))))));
1806 if (typeof dartNativeDispatchHooksTransformer != "undefined") {
1807 transformers = dartNativeDispatchHooksTransformer;
1808 if (typeof transformers == "function")
1809 transformers = [transformers];
1810 if (transformers.constructor == Array)
1811 for (i = 0; i < transformers.length; ++i) {
1812 transformer = transformers[i];
1813 if (typeof transformer == "function")
1814 hooks = transformer(hooks) || hooks;
1815 }
1816 }
1817 getTag = hooks.getTag;
1818 getUnknownTag = hooks.getUnknownTag;
1819 prototypeForTag = hooks.prototypeForTag;
1820 $.getTagFunction = new A.initHooks_closure(getTag);
1821 $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
1822 $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
1823 },
1824 applyHooksTransformer(transformer, hooks) {
1825 return transformer(hooks) || hooks;
1826 },
1827 JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
1828 var m = multiLine ? "m" : "",
1829 i = caseSensitive ? "" : "i",
1830 u = unicode ? "u" : "",
1831 s = dotAll ? "s" : "",
1832 g = global ? "g" : "",
1833 regexp = function(source, modifiers) {
1834 try {
1835 return new RegExp(source, modifiers);
1836 } catch (e) {
1837 return e;
1838 }
1839 }(source, m + i + u + s + g);
1840 if (regexp instanceof RegExp)
1841 return regexp;
1842 throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
1843 },
1844 stringContainsUnchecked(receiver, other, startIndex) {
1845 var t1;
1846 if (typeof other == "string")
1847 return receiver.indexOf(other, startIndex) >= 0;
1848 else if (other instanceof A.JSSyntaxRegExp) {
1849 t1 = B.JSString_methods.substring$1(receiver, startIndex);
1850 return other._nativeRegExp.test(t1);
1851 } else {
1852 t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
1853 return !t1.get$isEmpty(t1);
1854 }
1855 },
1856 escapeReplacement(replacement) {
1857 if (replacement.indexOf("$", 0) >= 0)
1858 return replacement.replace(/\$/g, "$$$$");
1859 return replacement;
1860 },
1861 stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
1862 var match = regexp._execGlobal$2(receiver, startIndex);
1863 if (match == null)
1864 return receiver;
1865 return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
1866 },
1867 quoteStringForRegExp(string) {
1868 if (/[[\]{}()*+?.\\^$|]/.test(string))
1869 return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
1870 return string;
1871 },
1872 stringReplaceAllUnchecked(receiver, pattern, replacement) {
1873 var nativeRegexp;
1874 if (typeof pattern == "string")
1875 return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
1876 if (pattern instanceof A.JSSyntaxRegExp) {
1877 nativeRegexp = pattern.get$_nativeGlobalVersion();
1878 nativeRegexp.lastIndex = 0;
1879 return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
1880 }
1881 return A.stringReplaceAllGeneral(receiver, pattern, replacement);
1882 },
1883 stringReplaceAllGeneral(receiver, pattern, replacement) {
1884 var t1, startIndex, t2, match;
1885 for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
1886 match = t1.get$current(t1);
1887 t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
1888 startIndex = match.get$end(match);
1889 }
1890 t1 = t2 + receiver.substring(startIndex);
1891 return t1.charCodeAt(0) == 0 ? t1 : t1;
1892 },
1893 stringReplaceAllUncheckedString(receiver, pattern, replacement) {
1894 var $length, t1, i, index;
1895 if (pattern === "") {
1896 if (receiver === "")
1897 return replacement;
1898 $length = receiver.length;
1899 t1 = "" + replacement;
1900 for (i = 0; i < $length; ++i)
1901 t1 = t1 + receiver[i] + replacement;
1902 return t1.charCodeAt(0) == 0 ? t1 : t1;
1903 }
1904 index = receiver.indexOf(pattern, 0);
1905 if (index < 0)
1906 return receiver;
1907 if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
1908 return receiver.split(pattern).join(replacement);
1909 return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
1910 },
1911 stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
1912 var index, t1, matches, match;
1913 if (typeof pattern == "string") {
1914 index = receiver.indexOf(pattern, startIndex);
1915 if (index < 0)
1916 return receiver;
1917 return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
1918 }
1919 if (pattern instanceof A.JSSyntaxRegExp)
1920 return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
1921 t1 = J.allMatches$2$s(pattern, receiver, startIndex);
1922 matches = t1.get$iterator(t1);
1923 if (!matches.moveNext$0())
1924 return receiver;
1925 match = matches.get$current(matches);
1926 return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
1927 },
1928 stringReplaceRangeUnchecked(receiver, start, end, replacement) {
1929 return receiver.substring(0, start) + replacement + receiver.substring(end);
1930 },
1931 ConstantMapView: function ConstantMapView(t0, t1) {
1932 this._map = t0;
1933 this.$ti = t1;
1934 },
1935 ConstantMap: function ConstantMap() {
1936 },
1937 ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
1938 var _ = this;
1939 _.__js_helper$_length = t0;
1940 _._jsObject = t1;
1941 _.__js_helper$_keys = t2;
1942 _.$ti = t3;
1943 },
1944 ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
1945 this.$this = t0;
1946 },
1947 _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
1948 this.__js_helper$_map = t0;
1949 this.$ti = t1;
1950 },
1951 Instantiation: function Instantiation() {
1952 },
1953 Instantiation1: function Instantiation1(t0, t1) {
1954 this._genericClosure = t0;
1955 this.$ti = t1;
1956 },
1957 JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
1958 var _ = this;
1959 _.__js_helper$_memberName = t0;
1960 _.__js_helper$_kind = t1;
1961 _._arguments = t2;
1962 _._namedArgumentNames = t3;
1963 _._typeArgumentCount = t4;
1964 },
1965 Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
1966 this._box_0 = t0;
1967 this.namedArgumentList = t1;
1968 this.$arguments = t2;
1969 },
1970 TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
1971 var _ = this;
1972 _._pattern = t0;
1973 _._arguments = t1;
1974 _._argumentsExpr = t2;
1975 _._expr = t3;
1976 _._method = t4;
1977 _._receiver = t5;
1978 },
1979 NullError: function NullError(t0, t1) {
1980 this.__js_helper$_message = t0;
1981 this._method = t1;
1982 },
1983 JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
1984 this.__js_helper$_message = t0;
1985 this._method = t1;
1986 this._receiver = t2;
1987 },
1988 UnknownJsTypeError: function UnknownJsTypeError(t0) {
1989 this.__js_helper$_message = t0;
1990 },
1991 NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
1992 this._irritant = t0;
1993 },
1994 ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
1995 this.dartException = t0;
1996 this.stackTrace = t1;
1997 },
1998 _StackTrace: function _StackTrace(t0) {
1999 this._exception = t0;
2000 this._trace = null;
2001 },
2002 Closure: function Closure() {
2003 },
2004 Closure0Args: function Closure0Args() {
2005 },
2006 Closure2Args: function Closure2Args() {
2007 },
2008 TearOffClosure: function TearOffClosure() {
2009 },
2010 StaticClosure: function StaticClosure() {
2011 },
2012 BoundClosure: function BoundClosure(t0, t1) {
2013 this._receiver = t0;
2014 this._interceptor = t1;
2015 },
2016 RuntimeError: function RuntimeError(t0) {
2017 this.message = t0;
2018 },
2019 _Required: function _Required() {
2020 },
2021 JsLinkedHashMap: function JsLinkedHashMap(t0) {
2022 var _ = this;
2023 _.__js_helper$_length = 0;
2024 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
2025 _._modifications = 0;
2026 _.$ti = t0;
2027 },
2028 JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
2029 this.$this = t0;
2030 },
2031 JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
2032 this.$this = t0;
2033 },
2034 LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
2035 var _ = this;
2036 _.hashMapCellKey = t0;
2037 _.hashMapCellValue = t1;
2038 _._previous = _._next = null;
2039 },
2040 LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
2041 this.__js_helper$_map = t0;
2042 this.$ti = t1;
2043 },
2044 LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
2045 var _ = this;
2046 _.__js_helper$_map = t0;
2047 _._modifications = t1;
2048 _.__js_helper$_current = _._cell = null;
2049 },
2050 initHooks_closure: function initHooks_closure(t0) {
2051 this.getTag = t0;
2052 },
2053 initHooks_closure0: function initHooks_closure0(t0) {
2054 this.getUnknownTag = t0;
2055 },
2056 initHooks_closure1: function initHooks_closure1(t0) {
2057 this.prototypeForTag = t0;
2058 },
2059 JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
2060 var _ = this;
2061 _.pattern = t0;
2062 _._nativeRegExp = t1;
2063 _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
2064 },
2065 _MatchImplementation: function _MatchImplementation(t0) {
2066 this._match = t0;
2067 },
2068 _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
2069 this._re = t0;
2070 this._string = t1;
2071 this._start = t2;
2072 },
2073 _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
2074 var _ = this;
2075 _._regExp = t0;
2076 _._string = t1;
2077 _._nextIndex = t2;
2078 _.__js_helper$_current = null;
2079 },
2080 StringMatch: function StringMatch(t0, t1) {
2081 this.start = t0;
2082 this.pattern = t1;
2083 },
2084 _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
2085 this._input = t0;
2086 this._pattern = t1;
2087 this.__js_helper$_index = t2;
2088 },
2089 _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
2090 var _ = this;
2091 _._input = t0;
2092 _._pattern = t1;
2093 _.__js_helper$_index = t2;
2094 _.__js_helper$_current = null;
2095 },
2096 throwLateFieldADI(fieldName) {
2097 return A.throwExpression(A.LateError$fieldADI(fieldName));
2098 },
2099 _Cell$() {
2100 var t1 = new A._Cell("");
2101 return t1._value = t1;
2102 },
2103 _Cell$named(_name) {
2104 var t1 = new A._Cell(_name);
2105 return t1._value = t1;
2106 },
2107 _lateReadCheck(value, $name) {
2108 if (value === $)
2109 throw A.wrapException(new A.LateError("Field '" + $name + "' has not been initialized."));
2110 return value;
2111 },
2112 _lateWriteOnceCheck(value, $name) {
2113 if (value !== $)
2114 throw A.wrapException(new A.LateError("Field '" + $name + "' has already been initialized."));
2115 },
2116 _lateInitializeOnceCheck(value, $name) {
2117 if (value !== $)
2118 throw A.wrapException(A.LateError$fieldADI($name));
2119 },
2120 _Cell: function _Cell(t0) {
2121 this.__late_helper$_name = t0;
2122 this._value = null;
2123 },
2124 _ensureNativeList(list) {
2125 return list;
2126 },
2127 NativeInt8List__create1(arg) {
2128 return new Int8Array(arg);
2129 },
2130 _checkValidIndex(index, list, $length) {
2131 if (index >>> 0 !== index || index >= $length)
2132 throw A.wrapException(A.diagnoseIndexError(list, index));
2133 },
2134 _checkValidRange(start, end, $length) {
2135 var t1;
2136 if (!(start >>> 0 !== start))
2137 if (end == null)
2138 t1 = start > $length;
2139 else
2140 t1 = end >>> 0 !== end || start > end || end > $length;
2141 else
2142 t1 = true;
2143 if (t1)
2144 throw A.wrapException(A.diagnoseRangeError(start, end, $length));
2145 if (end == null)
2146 return $length;
2147 return end;
2148 },
2149 NativeTypedData: function NativeTypedData() {
2150 },
2151 NativeTypedArray: function NativeTypedArray() {
2152 },
2153 NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
2154 },
2155 NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
2156 },
2157 NativeFloat32List: function NativeFloat32List() {
2158 },
2159 NativeFloat64List: function NativeFloat64List() {
2160 },
2161 NativeInt16List: function NativeInt16List() {
2162 },
2163 NativeInt32List: function NativeInt32List() {
2164 },
2165 NativeInt8List: function NativeInt8List() {
2166 },
2167 NativeUint16List: function NativeUint16List() {
2168 },
2169 NativeUint32List: function NativeUint32List() {
2170 },
2171 NativeUint8ClampedList: function NativeUint8ClampedList() {
2172 },
2173 NativeUint8List: function NativeUint8List() {
2174 },
2175 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
2176 },
2177 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2178 },
2179 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
2180 },
2181 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2182 },
2183 Rti__getQuestionFromStar(universe, rti) {
2184 var question = rti._precomputed1;
2185 return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
2186 },
2187 Rti__getFutureFromFutureOr(universe, rti) {
2188 var future = rti._precomputed1;
2189 return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
2190 },
2191 Rti__isUnionOfFunctionType(rti) {
2192 var kind = rti._kind;
2193 if (kind === 6 || kind === 7 || kind === 8)
2194 return A.Rti__isUnionOfFunctionType(rti._primary);
2195 return kind === 11 || kind === 12;
2196 },
2197 Rti__getCanonicalRecipe(rti) {
2198 return rti._canonicalRecipe;
2199 },
2200 findType(recipe) {
2201 return A._Universe_eval(init.typeUniverse, recipe, false);
2202 },
2203 instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
2204 var t1, cache, key, probe, rti;
2205 if (genericFunctionRti == null)
2206 return null;
2207 t1 = instantiationRti._rest;
2208 cache = genericFunctionRti._bindCache;
2209 if (cache == null)
2210 cache = genericFunctionRti._bindCache = new Map();
2211 key = instantiationRti._canonicalRecipe;
2212 probe = cache.get(key);
2213 if (probe != null)
2214 return probe;
2215 rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
2216 cache.set(key, rti);
2217 return rti;
2218 },
2219 _substitute(universe, rti, typeArguments, depth) {
2220 var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
2221 kind = rti._kind;
2222 switch (kind) {
2223 case 5:
2224 case 1:
2225 case 2:
2226 case 3:
2227 case 4:
2228 return rti;
2229 case 6:
2230 baseType = rti._primary;
2231 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2232 if (substitutedBaseType === baseType)
2233 return rti;
2234 return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
2235 case 7:
2236 baseType = rti._primary;
2237 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2238 if (substitutedBaseType === baseType)
2239 return rti;
2240 return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
2241 case 8:
2242 baseType = rti._primary;
2243 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2244 if (substitutedBaseType === baseType)
2245 return rti;
2246 return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
2247 case 9:
2248 interfaceTypeArguments = rti._rest;
2249 substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
2250 if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
2251 return rti;
2252 return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
2253 case 10:
2254 base = rti._primary;
2255 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2256 $arguments = rti._rest;
2257 substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
2258 if (substitutedBase === base && substitutedArguments === $arguments)
2259 return rti;
2260 return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
2261 case 11:
2262 returnType = rti._primary;
2263 substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
2264 functionParameters = rti._rest;
2265 substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
2266 if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
2267 return rti;
2268 return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
2269 case 12:
2270 bounds = rti._rest;
2271 depth += bounds.length;
2272 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
2273 base = rti._primary;
2274 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2275 if (substitutedBounds === bounds && substitutedBase === base)
2276 return rti;
2277 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
2278 case 13:
2279 index = rti._primary;
2280 if (index < depth)
2281 return rti;
2282 argument = typeArguments[index - depth];
2283 if (argument == null)
2284 return rti;
2285 return argument;
2286 default:
2287 throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
2288 }
2289 },
2290 _substituteArray(universe, rtiArray, typeArguments, depth) {
2291 var changed, i, rti, substitutedRti,
2292 $length = rtiArray.length,
2293 result = A._Utils_newArrayOrEmpty($length);
2294 for (changed = false, i = 0; i < $length; ++i) {
2295 rti = rtiArray[i];
2296 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2297 if (substitutedRti !== rti)
2298 changed = true;
2299 result[i] = substitutedRti;
2300 }
2301 return changed ? result : rtiArray;
2302 },
2303 _substituteNamed(universe, namedArray, typeArguments, depth) {
2304 var changed, i, t1, t2, rti, substitutedRti,
2305 $length = namedArray.length,
2306 result = A._Utils_newArrayOrEmpty($length);
2307 for (changed = false, i = 0; i < $length; i += 3) {
2308 t1 = namedArray[i];
2309 t2 = namedArray[i + 1];
2310 rti = namedArray[i + 2];
2311 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2312 if (substitutedRti !== rti)
2313 changed = true;
2314 result.splice(i, 3, t1, t2, substitutedRti);
2315 }
2316 return changed ? result : namedArray;
2317 },
2318 _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
2319 var result,
2320 requiredPositional = functionParameters._requiredPositional,
2321 substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
2322 optionalPositional = functionParameters._optionalPositional,
2323 substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
2324 named = functionParameters._named,
2325 substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
2326 if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
2327 return functionParameters;
2328 result = new A._FunctionParameters();
2329 result._requiredPositional = substitutedRequiredPositional;
2330 result._optionalPositional = substitutedOptionalPositional;
2331 result._named = substitutedNamed;
2332 return result;
2333 },
2334 _setArrayType(target, rti) {
2335 target[init.arrayRti] = rti;
2336 return target;
2337 },
2338 closureFunctionType(closure) {
2339 var signature = closure.$signature;
2340 if (signature != null) {
2341 if (typeof signature == "number")
2342 return A.getTypeFromTypesTable(signature);
2343 return closure.$signature();
2344 }
2345 return null;
2346 },
2347 instanceOrFunctionType(object, testRti) {
2348 var rti;
2349 if (A.Rti__isUnionOfFunctionType(testRti))
2350 if (object instanceof A.Closure) {
2351 rti = A.closureFunctionType(object);
2352 if (rti != null)
2353 return rti;
2354 }
2355 return A.instanceType(object);
2356 },
2357 instanceType(object) {
2358 var rti;
2359 if (object instanceof A.Object) {
2360 rti = object.$ti;
2361 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2362 }
2363 if (Array.isArray(object))
2364 return A._arrayInstanceType(object);
2365 return A._instanceTypeFromConstructor(J.getInterceptor$(object));
2366 },
2367 _arrayInstanceType(object) {
2368 var rti = object[init.arrayRti],
2369 defaultRti = type$.JSArray_dynamic;
2370 if (rti == null)
2371 return defaultRti;
2372 if (rti.constructor !== defaultRti.constructor)
2373 return defaultRti;
2374 return rti;
2375 },
2376 _instanceType(object) {
2377 var rti = object.$ti;
2378 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2379 },
2380 _instanceTypeFromConstructor(instance) {
2381 var $constructor = instance.constructor,
2382 probe = $constructor.$ccache;
2383 if (probe != null)
2384 return probe;
2385 return A._instanceTypeFromConstructorMiss(instance, $constructor);
2386 },
2387 _instanceTypeFromConstructorMiss(instance, $constructor) {
2388 var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
2389 rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
2390 $constructor.$ccache = rti;
2391 return rti;
2392 },
2393 getTypeFromTypesTable(index) {
2394 var rti,
2395 table = init.types,
2396 type = table[index];
2397 if (typeof type == "string") {
2398 rti = A._Universe_eval(init.typeUniverse, type, false);
2399 table[index] = rti;
2400 return rti;
2401 }
2402 return type;
2403 },
2404 getRuntimeType(object) {
2405 var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
2406 return A.createRuntimeType(rti == null ? A.instanceType(object) : rti);
2407 },
2408 createRuntimeType(rti) {
2409 var recipe, starErasedRecipe, starErasedRti,
2410 type = rti._cachedRuntimeType;
2411 if (type != null)
2412 return type;
2413 recipe = rti._canonicalRecipe;
2414 starErasedRecipe = recipe.replace(/\*/g, "");
2415 if (starErasedRecipe === recipe)
2416 return rti._cachedRuntimeType = new A._Type(rti);
2417 starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
2418 type = starErasedRti._cachedRuntimeType;
2419 return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type;
2420 },
2421 typeLiteral(recipe) {
2422 return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
2423 },
2424 _installSpecializedIsTest(object) {
2425 var t1, unstarred, isFn, $name, testRti = this;
2426 if (testRti === type$.Object)
2427 return A._finishIsFn(testRti, object, A._isObject);
2428 if (!A.isStrongTopType(testRti))
2429 if (!(testRti === type$.legacy_Object))
2430 t1 = false;
2431 else
2432 t1 = true;
2433 else
2434 t1 = true;
2435 if (t1)
2436 return A._finishIsFn(testRti, object, A._isTop);
2437 t1 = testRti._kind;
2438 unstarred = t1 === 6 ? testRti._primary : testRti;
2439 if (unstarred === type$.int)
2440 isFn = A._isInt;
2441 else if (unstarred === type$.double || unstarred === type$.num)
2442 isFn = A._isNum;
2443 else if (unstarred === type$.String)
2444 isFn = A._isString;
2445 else
2446 isFn = unstarred === type$.bool ? A._isBool : null;
2447 if (isFn != null)
2448 return A._finishIsFn(testRti, object, isFn);
2449 if (unstarred._kind === 9) {
2450 $name = unstarred._primary;
2451 if (unstarred._rest.every(A.isTopType)) {
2452 testRti._specializedTestResource = "$is" + $name;
2453 if ($name === "List")
2454 return A._finishIsFn(testRti, object, A._isListTestViaProperty);
2455 return A._finishIsFn(testRti, object, A._isTestViaProperty);
2456 }
2457 } else if (t1 === 7)
2458 return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
2459 return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
2460 },
2461 _finishIsFn(testRti, object, isFn) {
2462 testRti._is = isFn;
2463 return testRti._is(object);
2464 },
2465 _installSpecializedAsCheck(object) {
2466 var t1, testRti = this,
2467 asFn = A._generalAsCheckImplementation;
2468 if (!A.isStrongTopType(testRti))
2469 if (!(testRti === type$.legacy_Object))
2470 t1 = false;
2471 else
2472 t1 = true;
2473 else
2474 t1 = true;
2475 if (t1)
2476 asFn = A._asTop;
2477 else if (testRti === type$.Object)
2478 asFn = A._asObject;
2479 else {
2480 t1 = A.isNullable(testRti);
2481 if (t1)
2482 asFn = A._generalNullableAsCheckImplementation;
2483 }
2484 testRti._as = asFn;
2485 return testRti._as(object);
2486 },
2487 _nullIs(testRti) {
2488 var t1,
2489 kind = testRti._kind;
2490 if (!A.isStrongTopType(testRti))
2491 if (!(testRti === type$.legacy_Object))
2492 if (!(testRti === type$.legacy_Never))
2493 if (kind !== 7)
2494 t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
2495 else
2496 t1 = true;
2497 else
2498 t1 = true;
2499 else
2500 t1 = true;
2501 else
2502 t1 = true;
2503 return t1;
2504 },
2505 _generalIsTestImplementation(object) {
2506 var testRti = this;
2507 if (object == null)
2508 return A._nullIs(testRti);
2509 return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
2510 },
2511 _generalNullableIsTestImplementation(object) {
2512 if (object == null)
2513 return true;
2514 return this._primary._is(object);
2515 },
2516 _isTestViaProperty(object) {
2517 var tag, testRti = this;
2518 if (object == null)
2519 return A._nullIs(testRti);
2520 tag = testRti._specializedTestResource;
2521 if (object instanceof A.Object)
2522 return !!object[tag];
2523 return !!J.getInterceptor$(object)[tag];
2524 },
2525 _isListTestViaProperty(object) {
2526 var tag, testRti = this;
2527 if (object == null)
2528 return A._nullIs(testRti);
2529 if (typeof object != "object")
2530 return false;
2531 if (Array.isArray(object))
2532 return true;
2533 tag = testRti._specializedTestResource;
2534 if (object instanceof A.Object)
2535 return !!object[tag];
2536 return !!J.getInterceptor$(object)[tag];
2537 },
2538 _generalAsCheckImplementation(object) {
2539 var t1, testRti = this;
2540 if (object == null) {
2541 t1 = A.isNullable(testRti);
2542 if (t1)
2543 return object;
2544 } else if (testRti._is(object))
2545 return object;
2546 A._failedAsCheck(object, testRti);
2547 },
2548 _generalNullableAsCheckImplementation(object) {
2549 var testRti = this;
2550 if (object == null)
2551 return object;
2552 else if (testRti._is(object))
2553 return object;
2554 A._failedAsCheck(object, testRti);
2555 },
2556 _failedAsCheck(object, testRti) {
2557 throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null))));
2558 },
2559 _Error_compose(object, objectRti, checkedTypeDescription) {
2560 var objectDescription = A.Error_safeToString(object);
2561 return objectDescription + ": type '" + A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null) + "' 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,
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 s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
3025 }
3026 return s;
3027 },
3028 _Universe__lookupInterfaceRti(universe, $name, $arguments) {
3029 var probe, rti, t1,
3030 s = $name;
3031 if ($arguments.length > 0)
3032 s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
3033 probe = universe.eC.get(s);
3034 if (probe != null)
3035 return probe;
3036 rti = new A.Rti(null, null);
3037 rti._kind = 9;
3038 rti._primary = $name;
3039 rti._rest = $arguments;
3040 if ($arguments.length > 0)
3041 rti._precomputed1 = $arguments[0];
3042 rti._canonicalRecipe = s;
3043 t1 = A._Universe__installTypeTests(universe, rti);
3044 universe.eC.set(s, t1);
3045 return t1;
3046 },
3047 _Universe__lookupBindingRti(universe, base, $arguments) {
3048 var newBase, newArguments, key, probe, rti, t1;
3049 if (base._kind === 10) {
3050 newBase = base._primary;
3051 newArguments = base._rest.concat($arguments);
3052 } else {
3053 newArguments = $arguments;
3054 newBase = base;
3055 }
3056 key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
3057 probe = universe.eC.get(key);
3058 if (probe != null)
3059 return probe;
3060 rti = new A.Rti(null, null);
3061 rti._kind = 10;
3062 rti._primary = newBase;
3063 rti._rest = newArguments;
3064 rti._canonicalRecipe = key;
3065 t1 = A._Universe__installTypeTests(universe, rti);
3066 universe.eC.set(key, t1);
3067 return t1;
3068 },
3069 _Universe__lookupFunctionRti(universe, returnType, parameters) {
3070 var sep, key, probe, rti, t1,
3071 s = returnType._canonicalRecipe,
3072 requiredPositional = parameters._requiredPositional,
3073 requiredPositionalLength = requiredPositional.length,
3074 optionalPositional = parameters._optionalPositional,
3075 optionalPositionalLength = optionalPositional.length,
3076 named = parameters._named,
3077 namedLength = named.length,
3078 recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
3079 if (optionalPositionalLength > 0) {
3080 sep = requiredPositionalLength > 0 ? "," : "";
3081 recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
3082 }
3083 if (namedLength > 0) {
3084 sep = requiredPositionalLength > 0 ? "," : "";
3085 recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
3086 }
3087 key = s + (recipe + ")");
3088 probe = universe.eC.get(key);
3089 if (probe != null)
3090 return probe;
3091 rti = new A.Rti(null, null);
3092 rti._kind = 11;
3093 rti._primary = returnType;
3094 rti._rest = parameters;
3095 rti._canonicalRecipe = key;
3096 t1 = A._Universe__installTypeTests(universe, rti);
3097 universe.eC.set(key, t1);
3098 return t1;
3099 },
3100 _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
3101 var t1,
3102 key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
3103 probe = universe.eC.get(key);
3104 if (probe != null)
3105 return probe;
3106 t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
3107 universe.eC.set(key, t1);
3108 return t1;
3109 },
3110 _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
3111 var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
3112 if (normalize) {
3113 $length = bounds.length;
3114 typeArguments = A._Utils_newArrayOrEmpty($length);
3115 for (count = 0, i = 0; i < $length; ++i) {
3116 bound = bounds[i];
3117 if (bound._kind === 1) {
3118 typeArguments[i] = bound;
3119 ++count;
3120 }
3121 }
3122 if (count > 0) {
3123 substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
3124 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
3125 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
3126 }
3127 }
3128 rti = new A.Rti(null, null);
3129 rti._kind = 12;
3130 rti._primary = baseFunctionType;
3131 rti._rest = bounds;
3132 rti._canonicalRecipe = key;
3133 return A._Universe__installTypeTests(universe, rti);
3134 },
3135 _Parser_create(universe, environment, recipe, normalize) {
3136 return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
3137 },
3138 _Parser_parse(parser) {
3139 var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item,
3140 source = parser.r,
3141 t1 = parser.s;
3142 for (t2 = source.length, i = 0; i < t2;) {
3143 ch = source.charCodeAt(i);
3144 if (ch >= 48 && ch <= 57)
3145 i = A._Parser_handleDigit(i + 1, ch, source, t1);
3146 else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)
3147 i = A._Parser_handleIdentifier(parser, i, source, t1, false);
3148 else if (ch === 46)
3149 i = A._Parser_handleIdentifier(parser, i, source, t1, true);
3150 else {
3151 ++i;
3152 switch (ch) {
3153 case 44:
3154 break;
3155 case 58:
3156 t1.push(false);
3157 break;
3158 case 33:
3159 t1.push(true);
3160 break;
3161 case 59:
3162 t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
3163 break;
3164 case 94:
3165 t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
3166 break;
3167 case 35:
3168 t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
3169 break;
3170 case 64:
3171 t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
3172 break;
3173 case 126:
3174 t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
3175 break;
3176 case 60:
3177 t1.push(parser.p);
3178 parser.p = t1.length;
3179 break;
3180 case 62:
3181 t3 = parser.u;
3182 array = t1.splice(parser.p);
3183 A._Parser_toTypes(parser.u, parser.e, array);
3184 parser.p = t1.pop();
3185 head = t1.pop();
3186 if (typeof head == "string")
3187 t1.push(A._Universe__lookupInterfaceRti(t3, head, array));
3188 else {
3189 base = A._Parser_toType(t3, parser.e, head);
3190 switch (base._kind) {
3191 case 11:
3192 t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n));
3193 break;
3194 default:
3195 t1.push(A._Universe__lookupBindingRti(t3, base, array));
3196 break;
3197 }
3198 }
3199 break;
3200 case 38:
3201 A._Parser_handleExtendedOperations(parser, t1);
3202 break;
3203 case 42:
3204 t3 = parser.u;
3205 t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3206 break;
3207 case 63:
3208 t3 = parser.u;
3209 t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3210 break;
3211 case 47:
3212 t3 = parser.u;
3213 t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3214 break;
3215 case 40:
3216 t1.push(parser.p);
3217 parser.p = t1.length;
3218 break;
3219 case 41:
3220 t3 = parser.u;
3221 parameters = new A._FunctionParameters();
3222 optionalPositional = t3.sEA;
3223 named = t3.sEA;
3224 head = t1.pop();
3225 if (typeof head == "number")
3226 switch (head) {
3227 case -1:
3228 optionalPositional = t1.pop();
3229 break;
3230 case -2:
3231 named = t1.pop();
3232 break;
3233 default:
3234 t1.push(head);
3235 break;
3236 }
3237 else
3238 t1.push(head);
3239 array = t1.splice(parser.p);
3240 A._Parser_toTypes(parser.u, parser.e, array);
3241 parser.p = t1.pop();
3242 parameters._requiredPositional = array;
3243 parameters._optionalPositional = optionalPositional;
3244 parameters._named = named;
3245 t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters));
3246 break;
3247 case 91:
3248 t1.push(parser.p);
3249 parser.p = t1.length;
3250 break;
3251 case 93:
3252 array = t1.splice(parser.p);
3253 A._Parser_toTypes(parser.u, parser.e, array);
3254 parser.p = t1.pop();
3255 t1.push(array);
3256 t1.push(-1);
3257 break;
3258 case 123:
3259 t1.push(parser.p);
3260 parser.p = t1.length;
3261 break;
3262 case 125:
3263 array = t1.splice(parser.p);
3264 A._Parser_toTypesNamed(parser.u, parser.e, array);
3265 parser.p = t1.pop();
3266 t1.push(array);
3267 t1.push(-2);
3268 break;
3269 default:
3270 throw "Bad character " + ch;
3271 }
3272 }
3273 }
3274 item = t1.pop();
3275 return A._Parser_toType(parser.u, parser.e, item);
3276 },
3277 _Parser_handleDigit(i, digit, source, stack) {
3278 var t1, ch,
3279 value = digit - 48;
3280 for (t1 = source.length; i < t1; ++i) {
3281 ch = source.charCodeAt(i);
3282 if (!(ch >= 48 && ch <= 57))
3283 break;
3284 value = value * 10 + (ch - 48);
3285 }
3286 stack.push(value);
3287 return i;
3288 },
3289 _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
3290 var t1, ch, t2, string, environment, recipe,
3291 i = start + 1;
3292 for (t1 = source.length; i < t1; ++i) {
3293 ch = source.charCodeAt(i);
3294 if (ch === 46) {
3295 if (hasPeriod)
3296 break;
3297 hasPeriod = true;
3298 } else {
3299 if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36))
3300 t2 = ch >= 48 && ch <= 57;
3301 else
3302 t2 = true;
3303 if (!t2)
3304 break;
3305 }
3306 }
3307 string = source.substring(start, i);
3308 if (hasPeriod) {
3309 t1 = parser.u;
3310 environment = parser.e;
3311 if (environment._kind === 10)
3312 environment = environment._primary;
3313 recipe = A._Universe_findRule(t1, environment._primary)[string];
3314 if (recipe == null)
3315 A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
3316 stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
3317 } else
3318 stack.push(string);
3319 return i;
3320 },
3321 _Parser_handleExtendedOperations(parser, stack) {
3322 var $top = stack.pop();
3323 if (0 === $top) {
3324 stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
3325 return;
3326 }
3327 if (1 === $top) {
3328 stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
3329 return;
3330 }
3331 throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
3332 },
3333 _Parser_toType(universe, environment, item) {
3334 if (typeof item == "string")
3335 return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
3336 else if (typeof item == "number")
3337 return A._Parser_indexToType(universe, environment, item);
3338 else
3339 return item;
3340 },
3341 _Parser_toTypes(universe, environment, items) {
3342 var i,
3343 $length = items.length;
3344 for (i = 0; i < $length; ++i)
3345 items[i] = A._Parser_toType(universe, environment, items[i]);
3346 },
3347 _Parser_toTypesNamed(universe, environment, items) {
3348 var i,
3349 $length = items.length;
3350 for (i = 2; i < $length; i += 3)
3351 items[i] = A._Parser_toType(universe, environment, items[i]);
3352 },
3353 _Parser_indexToType(universe, environment, index) {
3354 var typeArguments, len,
3355 kind = environment._kind;
3356 if (kind === 10) {
3357 if (index === 0)
3358 return environment._primary;
3359 typeArguments = environment._rest;
3360 len = typeArguments.length;
3361 if (index <= len)
3362 return typeArguments[index - 1];
3363 index -= len;
3364 environment = environment._primary;
3365 kind = environment._kind;
3366 } else if (index === 0)
3367 return environment;
3368 if (kind !== 9)
3369 throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
3370 typeArguments = environment._rest;
3371 if (index <= typeArguments.length)
3372 return typeArguments[index - 1];
3373 throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
3374 },
3375 _isSubtype(universe, s, sEnv, t, tEnv) {
3376 var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
3377 if (s === t)
3378 return true;
3379 if (!A.isStrongTopType(t))
3380 if (!(t === type$.legacy_Object))
3381 t1 = false;
3382 else
3383 t1 = true;
3384 else
3385 t1 = true;
3386 if (t1)
3387 return true;
3388 sKind = s._kind;
3389 if (sKind === 4)
3390 return true;
3391 if (A.isStrongTopType(s))
3392 return false;
3393 if (s._kind !== 1)
3394 t1 = false;
3395 else
3396 t1 = true;
3397 if (t1)
3398 return true;
3399 leftTypeVariable = sKind === 13;
3400 if (leftTypeVariable)
3401 if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
3402 return true;
3403 tKind = t._kind;
3404 t1 = s === type$.Null || s === type$.JSNull;
3405 if (t1) {
3406 if (tKind === 8)
3407 return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3408 return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
3409 }
3410 if (t === type$.Object) {
3411 if (sKind === 8)
3412 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3413 if (sKind === 6)
3414 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3415 return sKind !== 7;
3416 }
3417 if (sKind === 6)
3418 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3419 if (tKind === 6) {
3420 t1 = A.Rti__getQuestionFromStar(universe, t);
3421 return A._isSubtype(universe, s, sEnv, t1, tEnv);
3422 }
3423 if (sKind === 8) {
3424 if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
3425 return false;
3426 return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
3427 }
3428 if (sKind === 7) {
3429 t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
3430 return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3431 }
3432 if (tKind === 8) {
3433 if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
3434 return true;
3435 return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
3436 }
3437 if (tKind === 7) {
3438 t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
3439 return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3440 }
3441 if (leftTypeVariable)
3442 return false;
3443 t1 = sKind !== 11;
3444 if ((!t1 || sKind === 12) && t === type$.Function)
3445 return true;
3446 if (tKind === 12) {
3447 if (s === type$.JavaScriptFunction)
3448 return true;
3449 if (sKind !== 12)
3450 return false;
3451 sBounds = s._rest;
3452 tBounds = t._rest;
3453 sLength = sBounds.length;
3454 if (sLength !== tBounds.length)
3455 return false;
3456 sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
3457 tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
3458 for (i = 0; i < sLength; ++i) {
3459 sBound = sBounds[i];
3460 tBound = tBounds[i];
3461 if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
3462 return false;
3463 }
3464 return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
3465 }
3466 if (tKind === 11) {
3467 if (s === type$.JavaScriptFunction)
3468 return true;
3469 if (t1)
3470 return false;
3471 return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
3472 }
3473 if (sKind === 9) {
3474 if (tKind !== 9)
3475 return false;
3476 return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
3477 }
3478 return false;
3479 },
3480 _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
3481 var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
3482 if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
3483 return false;
3484 sParameters = s._rest;
3485 tParameters = t._rest;
3486 sRequiredPositional = sParameters._requiredPositional;
3487 tRequiredPositional = tParameters._requiredPositional;
3488 sRequiredPositionalLength = sRequiredPositional.length;
3489 tRequiredPositionalLength = tRequiredPositional.length;
3490 if (sRequiredPositionalLength > tRequiredPositionalLength)
3491 return false;
3492 requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
3493 sOptionalPositional = sParameters._optionalPositional;
3494 tOptionalPositional = tParameters._optionalPositional;
3495 sOptionalPositionalLength = sOptionalPositional.length;
3496 tOptionalPositionalLength = tOptionalPositional.length;
3497 if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
3498 return false;
3499 for (i = 0; i < sRequiredPositionalLength; ++i) {
3500 t1 = sRequiredPositional[i];
3501 if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
3502 return false;
3503 }
3504 for (i = 0; i < requiredPositionalDelta; ++i) {
3505 t1 = sOptionalPositional[i];
3506 if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
3507 return false;
3508 }
3509 for (i = 0; i < tOptionalPositionalLength; ++i) {
3510 t1 = sOptionalPositional[requiredPositionalDelta + i];
3511 if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
3512 return false;
3513 }
3514 sNamed = sParameters._named;
3515 tNamed = tParameters._named;
3516 sNamedLength = sNamed.length;
3517 tNamedLength = tNamed.length;
3518 for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
3519 tName = tNamed[tIndex];
3520 for (; true;) {
3521 if (sIndex >= sNamedLength)
3522 return false;
3523 sName = sNamed[sIndex];
3524 sIndex += 3;
3525 if (tName < sName)
3526 return false;
3527 sIsRequired = sNamed[sIndex - 2];
3528 if (sName < tName) {
3529 if (sIsRequired)
3530 return false;
3531 continue;
3532 }
3533 t1 = tNamed[tIndex + 1];
3534 if (sIsRequired && !t1)
3535 return false;
3536 t1 = sNamed[sIndex - 1];
3537 if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
3538 return false;
3539 break;
3540 }
3541 }
3542 for (; sIndex < sNamedLength;) {
3543 if (sNamed[sIndex + 1])
3544 return false;
3545 sIndex += 3;
3546 }
3547 return true;
3548 },
3549 _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
3550 var rule, recipes, $length, supertypeArgs, i, t1, t2,
3551 sName = s._primary,
3552 tName = t._primary;
3553 for (; sName !== tName;) {
3554 rule = universe.tR[sName];
3555 if (rule == null)
3556 return false;
3557 if (typeof rule == "string") {
3558 sName = rule;
3559 continue;
3560 }
3561 recipes = rule[tName];
3562 if (recipes == null)
3563 return false;
3564 $length = recipes.length;
3565 supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3566 for (i = 0; i < $length; ++i)
3567 supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
3568 return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
3569 }
3570 t1 = s._rest;
3571 t2 = t._rest;
3572 return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
3573 },
3574 _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
3575 var i, t1, t2,
3576 $length = sArgs.length;
3577 for (i = 0; i < $length; ++i) {
3578 t1 = sArgs[i];
3579 t2 = tArgs[i];
3580 if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
3581 return false;
3582 }
3583 return true;
3584 },
3585 isNullable(t) {
3586 var t1,
3587 kind = t._kind;
3588 if (!(t === type$.Null || t === type$.JSNull))
3589 if (!A.isStrongTopType(t))
3590 if (kind !== 7)
3591 if (!(kind === 6 && A.isNullable(t._primary)))
3592 t1 = kind === 8 && A.isNullable(t._primary);
3593 else
3594 t1 = true;
3595 else
3596 t1 = true;
3597 else
3598 t1 = true;
3599 else
3600 t1 = true;
3601 return t1;
3602 },
3603 isTopType(t) {
3604 var t1;
3605 if (!A.isStrongTopType(t))
3606 if (!(t === type$.legacy_Object))
3607 t1 = false;
3608 else
3609 t1 = true;
3610 else
3611 t1 = true;
3612 return t1;
3613 },
3614 isStrongTopType(t) {
3615 var kind = t._kind;
3616 return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
3617 },
3618 _Utils_objectAssign(o, other) {
3619 var i, key,
3620 keys = Object.keys(other),
3621 $length = keys.length;
3622 for (i = 0; i < $length; ++i) {
3623 key = keys[i];
3624 o[key] = other[key];
3625 }
3626 },
3627 _Utils_newArrayOrEmpty($length) {
3628 return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3629 },
3630 Rti: function Rti(t0, t1) {
3631 var _ = this;
3632 _._as = t0;
3633 _._is = t1;
3634 _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
3635 _._kind = 0;
3636 _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
3637 },
3638 _FunctionParameters: function _FunctionParameters() {
3639 this._named = this._optionalPositional = this._requiredPositional = null;
3640 },
3641 _Type: function _Type(t0) {
3642 this._rti = t0;
3643 },
3644 _Error: function _Error() {
3645 },
3646 _TypeError: function _TypeError(t0) {
3647 this.__rti$_message = t0;
3648 },
3649 _AsyncRun__initializeScheduleImmediate() {
3650 var div, span, t1 = {};
3651 if (self.scheduleImmediate != null)
3652 return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
3653 if (self.MutationObserver != null && self.document != null) {
3654 div = self.document.createElement("div");
3655 span = self.document.createElement("span");
3656 t1.storedCallback = null;
3657 new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
3658 return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
3659 } else if (self.setImmediate != null)
3660 return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
3661 return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
3662 },
3663 _AsyncRun__scheduleImmediateJsOverride(callback) {
3664 self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
3665 },
3666 _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
3667 self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
3668 },
3669 _AsyncRun__scheduleImmediateWithTimer(callback) {
3670 A.Timer__createTimer(B.Duration_0, callback);
3671 },
3672 Timer__createTimer(duration, callback) {
3673 var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
3674 return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
3675 },
3676 _TimerImpl$(milliseconds, callback) {
3677 var t1 = new A._TimerImpl(true);
3678 t1._TimerImpl$2(milliseconds, callback);
3679 return t1;
3680 },
3681 _TimerImpl$periodic(milliseconds, callback) {
3682 var t1 = new A._TimerImpl(false);
3683 t1._TimerImpl$periodic$2(milliseconds, callback);
3684 return t1;
3685 },
3686 _makeAsyncAwaitCompleter($T) {
3687 return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
3688 },
3689 _asyncStartSync(bodyFunction, completer) {
3690 bodyFunction.call$2(0, null);
3691 completer.isSync = true;
3692 return completer._future;
3693 },
3694 _asyncAwait(object, bodyFunction) {
3695 A._awaitOnObject(object, bodyFunction);
3696 },
3697 _asyncReturn(object, completer) {
3698 completer.complete$1(object);
3699 },
3700 _asyncRethrow(object, completer) {
3701 completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
3702 },
3703 _awaitOnObject(object, bodyFunction) {
3704 var t1, future,
3705 thenCallback = new A._awaitOnObject_closure(bodyFunction),
3706 errorCallback = new A._awaitOnObject_closure0(bodyFunction);
3707 if (object instanceof A._Future)
3708 object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
3709 else {
3710 t1 = type$.dynamic;
3711 if (type$.Future_dynamic._is(object))
3712 object.then$1$2$onError(0, thenCallback, errorCallback, t1);
3713 else {
3714 future = new A._Future($.Zone__current, type$._Future_dynamic);
3715 future._state = 8;
3716 future._resultOrListeners = object;
3717 future._thenAwait$1$2(thenCallback, errorCallback, t1);
3718 }
3719 }
3720 },
3721 _wrapJsFunctionForAsync($function) {
3722 var $protected = function(fn, ERROR) {
3723 return function(errorCode, result) {
3724 while (true)
3725 try {
3726 fn(errorCode, result);
3727 break;
3728 } catch (error) {
3729 result = error;
3730 errorCode = ERROR;
3731 }
3732 };
3733 }($function, 1);
3734 return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
3735 },
3736 _IterationMarker_yieldStar(values) {
3737 return new A._IterationMarker(values, 1);
3738 },
3739 _IterationMarker_endOfIteration() {
3740 return B._IterationMarker_null_2;
3741 },
3742 _IterationMarker_uncaughtError(error) {
3743 return new A._IterationMarker(error, 3);
3744 },
3745 _makeSyncStarIterable(body, $T) {
3746 return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
3747 },
3748 AsyncError$(error, stackTrace) {
3749 var t1 = A.checkNotNullable(error, "error", type$.Object);
3750 return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
3751 },
3752 AsyncError_defaultStackTrace(error) {
3753 var stackTrace;
3754 if (type$.Error._is(error)) {
3755 stackTrace = error.get$stackTrace();
3756 if (stackTrace != null)
3757 return stackTrace;
3758 }
3759 return B._StringStackTrace_3uE;
3760 },
3761 Future_Future$value(value, $T) {
3762 var t1, t2;
3763 $T._as(value);
3764 t1 = value;
3765 t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3766 t2._asyncComplete$1(t1);
3767 return t2;
3768 },
3769 Future_Future$error(error, stackTrace, $T) {
3770 var t1, replacement;
3771 A.checkNotNullable(error, "error", type$.Object);
3772 t1 = $.Zone__current;
3773 if (t1 !== B.C__RootZone) {
3774 replacement = t1.errorCallback$2(error, stackTrace);
3775 if (replacement != null) {
3776 error = replacement.error;
3777 stackTrace = replacement.stackTrace;
3778 }
3779 }
3780 if (stackTrace == null)
3781 stackTrace = A.AsyncError_defaultStackTrace(error);
3782 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3783 t1._asyncCompleteError$2(error, stackTrace);
3784 return t1;
3785 },
3786 Future_wait(futures, $T) {
3787 var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
3788 eagerError = false,
3789 _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
3790 _box_0.values = null;
3791 _box_0.remaining = 0;
3792 error = A._Cell$named("error");
3793 stackTrace = A._Cell$named("stackTrace");
3794 handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
3795 try {
3796 for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
3797 future = t1.get$current(t1);
3798 pos = _box_0.remaining;
3799 J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
3800 ++_box_0.remaining;
3801 }
3802 t1 = _box_0.remaining;
3803 if (t1 === 0) {
3804 t1 = _future;
3805 t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
3806 return t1;
3807 }
3808 _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
3809 } catch (exception) {
3810 e = A.unwrapException(exception);
3811 st = A.getTraceFromException(exception);
3812 if (_box_0.remaining === 0 || eagerError)
3813 return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
3814 else {
3815 error._value = e;
3816 stackTrace._value = st;
3817 }
3818 }
3819 return _future;
3820 },
3821 _Future$zoneValue(value, _zone, $T) {
3822 var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
3823 t1._state = 8;
3824 t1._resultOrListeners = value;
3825 return t1;
3826 },
3827 _Future__chainCoreFuture(source, target) {
3828 var t1, listeners;
3829 for (; t1 = source._state, (t1 & 4) !== 0;)
3830 source = source._resultOrListeners;
3831 if ((t1 & 24) !== 0) {
3832 listeners = target._removeListeners$0();
3833 target._cloneResult$1(source);
3834 A._Future__propagateToListeners(target, listeners);
3835 } else {
3836 listeners = target._resultOrListeners;
3837 target._state = target._state & 1 | 4;
3838 target._resultOrListeners = source;
3839 source._prependListeners$1(listeners);
3840 }
3841 },
3842 _Future__propagateToListeners(source, listeners) {
3843 var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
3844 t1 = _box_1.source = source;
3845 for (t2 = type$.Future_dynamic; true;) {
3846 _box_0 = {};
3847 t3 = t1._state;
3848 t4 = (t3 & 16) === 0;
3849 hasError = !t4;
3850 if (listeners == null) {
3851 if (hasError && (t3 & 1) === 0) {
3852 t2 = t1._resultOrListeners;
3853 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3854 }
3855 return;
3856 }
3857 _box_0.listener = listeners;
3858 nextListener = listeners._nextListener;
3859 for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
3860 t1._nextListener = null;
3861 A._Future__propagateToListeners(_box_1.source, t1);
3862 _box_0.listener = nextListener;
3863 nextListener0 = nextListener._nextListener;
3864 }
3865 t3 = _box_1.source;
3866 sourceResult = t3._resultOrListeners;
3867 _box_0.listenerHasError = hasError;
3868 _box_0.listenerValueOrError = sourceResult;
3869 if (t4) {
3870 t5 = t1.state;
3871 t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
3872 } else
3873 t5 = true;
3874 if (t5) {
3875 zone = t1.result._zone;
3876 if (hasError) {
3877 t1 = t3._zone;
3878 t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
3879 } else
3880 t1 = false;
3881 if (t1) {
3882 t1 = _box_1.source;
3883 t2 = t1._resultOrListeners;
3884 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3885 return;
3886 }
3887 oldZone = $.Zone__current;
3888 if (oldZone !== zone)
3889 $.Zone__current = zone;
3890 else
3891 oldZone = null;
3892 t1 = _box_0.listener.state;
3893 if ((t1 & 15) === 8)
3894 new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
3895 else if (t4) {
3896 if ((t1 & 1) !== 0)
3897 new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
3898 } else if ((t1 & 2) !== 0)
3899 new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
3900 if (oldZone != null)
3901 $.Zone__current = oldZone;
3902 t1 = _box_0.listenerValueOrError;
3903 if (t2._is(t1)) {
3904 t3 = _box_0.listener.$ti;
3905 t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
3906 } else
3907 t3 = false;
3908 if (t3) {
3909 result = _box_0.listener.result;
3910 if ((t1._state & 24) !== 0) {
3911 current = result._resultOrListeners;
3912 result._resultOrListeners = null;
3913 listeners = result._reverseListeners$1(current);
3914 result._state = t1._state & 30 | result._state & 1;
3915 result._resultOrListeners = t1._resultOrListeners;
3916 _box_1.source = t1;
3917 continue;
3918 } else
3919 A._Future__chainCoreFuture(t1, result);
3920 return;
3921 }
3922 }
3923 result = _box_0.listener.result;
3924 current = result._resultOrListeners;
3925 result._resultOrListeners = null;
3926 listeners = result._reverseListeners$1(current);
3927 t1 = _box_0.listenerHasError;
3928 t3 = _box_0.listenerValueOrError;
3929 if (!t1) {
3930 result._state = 8;
3931 result._resultOrListeners = t3;
3932 } else {
3933 result._state = result._state & 1 | 16;
3934 result._resultOrListeners = t3;
3935 }
3936 _box_1.source = result;
3937 t1 = result;
3938 }
3939 },
3940 _registerErrorHandler(errorHandler, zone) {
3941 if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
3942 return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
3943 if (type$.dynamic_Function_Object._is(errorHandler))
3944 return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
3945 throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
3946 },
3947 _microtaskLoop() {
3948 var entry, next;
3949 for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
3950 $._lastPriorityCallback = null;
3951 next = entry.next;
3952 $._nextCallback = next;
3953 if (next == null)
3954 $._lastCallback = null;
3955 entry.callback.call$0();
3956 }
3957 },
3958 _startMicrotaskLoop() {
3959 $._isInCallbackLoop = true;
3960 try {
3961 A._microtaskLoop();
3962 } finally {
3963 $._lastPriorityCallback = null;
3964 $._isInCallbackLoop = false;
3965 if ($._nextCallback != null)
3966 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3967 }
3968 },
3969 _scheduleAsyncCallback(callback) {
3970 var newEntry = new A._AsyncCallbackEntry(callback),
3971 lastCallback = $._lastCallback;
3972 if (lastCallback == null) {
3973 $._nextCallback = $._lastCallback = newEntry;
3974 if (!$._isInCallbackLoop)
3975 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3976 } else
3977 $._lastCallback = lastCallback.next = newEntry;
3978 },
3979 _schedulePriorityAsyncCallback(callback) {
3980 var entry, lastPriorityCallback, next,
3981 t1 = $._nextCallback;
3982 if (t1 == null) {
3983 A._scheduleAsyncCallback(callback);
3984 $._lastPriorityCallback = $._lastCallback;
3985 return;
3986 }
3987 entry = new A._AsyncCallbackEntry(callback);
3988 lastPriorityCallback = $._lastPriorityCallback;
3989 if (lastPriorityCallback == null) {
3990 entry.next = t1;
3991 $._nextCallback = $._lastPriorityCallback = entry;
3992 } else {
3993 next = lastPriorityCallback.next;
3994 entry.next = next;
3995 $._lastPriorityCallback = lastPriorityCallback.next = entry;
3996 if (next == null)
3997 $._lastCallback = entry;
3998 }
3999 },
4000 scheduleMicrotask(callback) {
4001 var t1, _null = null,
4002 currentZone = $.Zone__current;
4003 if (B.C__RootZone === currentZone) {
4004 A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
4005 return;
4006 }
4007 if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
4008 t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
4009 else
4010 t1 = false;
4011 if (t1) {
4012 A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
4013 return;
4014 }
4015 t1 = $.Zone__current;
4016 t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
4017 },
4018 Stream_Stream$fromFuture(future, $T) {
4019 var _null = null,
4020 t1 = $T._eval$1("_SyncStreamController<0>"),
4021 controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
4022 future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
4023 return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
4024 },
4025 StreamIterator_StreamIterator(stream) {
4026 return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
4027 },
4028 StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
4029 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>"));
4030 },
4031 _runGuarded(notificationHandler) {
4032 var e, s, exception;
4033 if (notificationHandler == null)
4034 return;
4035 try {
4036 notificationHandler.call$0();
4037 } catch (exception) {
4038 e = A.unwrapException(exception);
4039 s = A.getTraceFromException(exception);
4040 $.Zone__current.handleUncaughtError$2(e, s);
4041 }
4042 },
4043 _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
4044 var t1 = $.Zone__current,
4045 t2 = cancelOnError ? 1 : 0,
4046 t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
4047 t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
4048 t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
4049 return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
4050 },
4051 _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
4052 var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
4053 return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
4054 },
4055 _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
4056 if (handleError == null)
4057 handleError = A.async___nullErrorHandler$closure();
4058 if (type$.void_Function_Object_StackTrace._is(handleError))
4059 return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
4060 if (type$.void_Function_Object._is(handleError))
4061 return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
4062 throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
4063 },
4064 _nullDataHandler(value) {
4065 },
4066 _nullErrorHandler(error, stackTrace) {
4067 $.Zone__current.handleUncaughtError$2(error, stackTrace);
4068 },
4069 _nullDoneHandler() {
4070 },
4071 Timer_Timer(duration, callback) {
4072 var t1 = $.Zone__current;
4073 if (t1 === B.C__RootZone)
4074 return t1.createTimer$2(duration, callback);
4075 return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
4076 },
4077 _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
4078 A._rootHandleError(error, stackTrace);
4079 },
4080 _rootHandleError(error, stackTrace) {
4081 A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
4082 },
4083 _rootRun($self, $parent, zone, f) {
4084 var old,
4085 t1 = $.Zone__current;
4086 if (t1 === zone)
4087 return f.call$0();
4088 $.Zone__current = zone;
4089 old = t1;
4090 try {
4091 t1 = f.call$0();
4092 return t1;
4093 } finally {
4094 $.Zone__current = old;
4095 }
4096 },
4097 _rootRunUnary($self, $parent, zone, f, arg) {
4098 var old,
4099 t1 = $.Zone__current;
4100 if (t1 === zone)
4101 return f.call$1(arg);
4102 $.Zone__current = zone;
4103 old = t1;
4104 try {
4105 t1 = f.call$1(arg);
4106 return t1;
4107 } finally {
4108 $.Zone__current = old;
4109 }
4110 },
4111 _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
4112 var old,
4113 t1 = $.Zone__current;
4114 if (t1 === zone)
4115 return f.call$2(arg1, arg2);
4116 $.Zone__current = zone;
4117 old = t1;
4118 try {
4119 t1 = f.call$2(arg1, arg2);
4120 return t1;
4121 } finally {
4122 $.Zone__current = old;
4123 }
4124 },
4125 _rootRegisterCallback($self, $parent, zone, f) {
4126 return f;
4127 },
4128 _rootRegisterUnaryCallback($self, $parent, zone, f) {
4129 return f;
4130 },
4131 _rootRegisterBinaryCallback($self, $parent, zone, f) {
4132 return f;
4133 },
4134 _rootErrorCallback($self, $parent, zone, error, stackTrace) {
4135 return null;
4136 },
4137 _rootScheduleMicrotask($self, $parent, zone, f) {
4138 var t1, t2;
4139 if (B.C__RootZone !== zone) {
4140 t1 = B.C__RootZone.get$errorZone();
4141 t2 = zone.get$errorZone();
4142 f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
4143 }
4144 A._scheduleAsyncCallback(f);
4145 },
4146 _rootCreateTimer($self, $parent, zone, duration, callback) {
4147 return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
4148 },
4149 _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
4150 var milliseconds;
4151 if (B.C__RootZone !== zone)
4152 callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
4153 milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
4154 return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
4155 },
4156 _rootPrint($self, $parent, zone, line) {
4157 A.printString(line);
4158 },
4159 _printToZone(line) {
4160 $.Zone__current.print$1(line);
4161 },
4162 _rootFork($self, $parent, zone, specification, zoneValues) {
4163 var valueMap, t1, handleUncaughtError;
4164 $.printToZone = A.async___printToZone$closure();
4165 if (specification == null)
4166 specification = B._ZoneSpecification_ALf;
4167 if (zoneValues == null)
4168 valueMap = zone.get$_async$_map();
4169 else {
4170 t1 = type$.nullable_Object;
4171 valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
4172 }
4173 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);
4174 handleUncaughtError = specification.handleUncaughtError;
4175 if (handleUncaughtError != null)
4176 t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
4177 return t1;
4178 },
4179 runZoned(body, zoneValues, $R) {
4180 A.checkNotNullable(body, "body", $R._eval$1("0()"));
4181 return A._runZoned(body, zoneValues, null, $R);
4182 },
4183 _runZoned(body, zoneValues, specification, $R) {
4184 return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
4185 },
4186 _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
4187 this._box_0 = t0;
4188 },
4189 _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
4190 this._box_0 = t0;
4191 this.div = t1;
4192 this.span = t2;
4193 },
4194 _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
4195 this.callback = t0;
4196 },
4197 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
4198 this.callback = t0;
4199 },
4200 _TimerImpl: function _TimerImpl(t0) {
4201 this._once = t0;
4202 this._handle = null;
4203 this._tick = 0;
4204 },
4205 _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
4206 this.$this = t0;
4207 this.callback = t1;
4208 },
4209 _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
4210 var _ = this;
4211 _.$this = t0;
4212 _.milliseconds = t1;
4213 _.start = t2;
4214 _.callback = t3;
4215 },
4216 _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
4217 this._future = t0;
4218 this.isSync = false;
4219 this.$ti = t1;
4220 },
4221 _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
4222 this.bodyFunction = t0;
4223 },
4224 _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
4225 this.bodyFunction = t0;
4226 },
4227 _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
4228 this.$protected = t0;
4229 },
4230 _IterationMarker: function _IterationMarker(t0, t1) {
4231 this.value = t0;
4232 this.state = t1;
4233 },
4234 _SyncStarIterator: function _SyncStarIterator(t0) {
4235 var _ = this;
4236 _._body = t0;
4237 _._suspendedBodies = _._nestedIterator = _._async$_current = null;
4238 },
4239 _SyncStarIterable: function _SyncStarIterable(t0, t1) {
4240 this._outerHelper = t0;
4241 this.$ti = t1;
4242 },
4243 AsyncError: function AsyncError(t0, t1) {
4244 this.error = t0;
4245 this.stackTrace = t1;
4246 },
4247 Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
4248 var _ = this;
4249 _._box_0 = t0;
4250 _.cleanUp = t1;
4251 _.eagerError = t2;
4252 _._future = t3;
4253 _.error = t4;
4254 _.stackTrace = t5;
4255 },
4256 Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
4257 var _ = this;
4258 _._box_0 = t0;
4259 _.pos = t1;
4260 _._future = t2;
4261 _.cleanUp = t3;
4262 _.eagerError = t4;
4263 _.error = t5;
4264 _.stackTrace = t6;
4265 _.T = t7;
4266 },
4267 _Completer: function _Completer() {
4268 },
4269 _AsyncCompleter: function _AsyncCompleter(t0, t1) {
4270 this.future = t0;
4271 this.$ti = t1;
4272 },
4273 _SyncCompleter: function _SyncCompleter(t0, t1) {
4274 this.future = t0;
4275 this.$ti = t1;
4276 },
4277 _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
4278 var _ = this;
4279 _._nextListener = null;
4280 _.result = t0;
4281 _.state = t1;
4282 _.callback = t2;
4283 _.errorCallback = t3;
4284 _.$ti = t4;
4285 },
4286 _Future: function _Future(t0, t1) {
4287 var _ = this;
4288 _._state = 0;
4289 _._zone = t0;
4290 _._resultOrListeners = null;
4291 _.$ti = t1;
4292 },
4293 _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
4294 this.$this = t0;
4295 this.listener = t1;
4296 },
4297 _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
4298 this._box_0 = t0;
4299 this.$this = t1;
4300 },
4301 _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
4302 this.$this = t0;
4303 },
4304 _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
4305 this.$this = t0;
4306 },
4307 _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
4308 this.$this = t0;
4309 this.e = t1;
4310 this.s = t2;
4311 },
4312 _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
4313 this.$this = t0;
4314 this.value = t1;
4315 },
4316 _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
4317 this.$this = t0;
4318 this.value = t1;
4319 },
4320 _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
4321 this.$this = t0;
4322 this.error = t1;
4323 this.stackTrace = t2;
4324 },
4325 _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
4326 this._box_0 = t0;
4327 this._box_1 = t1;
4328 this.hasError = t2;
4329 },
4330 _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
4331 this.originalSource = t0;
4332 },
4333 _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
4334 this._box_0 = t0;
4335 this.sourceResult = t1;
4336 },
4337 _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
4338 this._box_1 = t0;
4339 this._box_0 = t1;
4340 },
4341 _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
4342 this.callback = t0;
4343 this.next = null;
4344 },
4345 Stream: function Stream() {
4346 },
4347 Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
4348 this.controller = t0;
4349 this.T = t1;
4350 },
4351 Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
4352 this.controller = t0;
4353 },
4354 Stream_length_closure: function Stream_length_closure(t0, t1) {
4355 this._box_0 = t0;
4356 this.$this = t1;
4357 },
4358 Stream_length_closure0: function Stream_length_closure0(t0, t1) {
4359 this._box_0 = t0;
4360 this.future = t1;
4361 },
4362 StreamTransformerBase: function StreamTransformerBase() {
4363 },
4364 _StreamController: function _StreamController() {
4365 },
4366 _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
4367 this.$this = t0;
4368 },
4369 _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
4370 this.$this = t0;
4371 },
4372 _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
4373 },
4374 _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
4375 },
4376 _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
4377 var _ = this;
4378 _._varData = null;
4379 _._state = 0;
4380 _._doneFuture = null;
4381 _.onListen = t0;
4382 _.onPause = t1;
4383 _.onResume = t2;
4384 _.onCancel = t3;
4385 _.$ti = t4;
4386 },
4387 _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
4388 var _ = this;
4389 _._varData = null;
4390 _._state = 0;
4391 _._doneFuture = null;
4392 _.onListen = t0;
4393 _.onPause = t1;
4394 _.onResume = t2;
4395 _.onCancel = t3;
4396 _.$ti = t4;
4397 },
4398 _ControllerStream: function _ControllerStream(t0, t1) {
4399 this._controller = t0;
4400 this.$ti = t1;
4401 },
4402 _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
4403 var _ = this;
4404 _._controller = t0;
4405 _._onData = t1;
4406 _._onError = t2;
4407 _._onDone = t3;
4408 _._zone = t4;
4409 _._state = t5;
4410 _._pending = _._cancelFuture = null;
4411 _.$ti = t6;
4412 },
4413 _AddStreamState: function _AddStreamState() {
4414 },
4415 _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
4416 this.$this = t0;
4417 },
4418 _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
4419 this.varData = t0;
4420 this.addStreamFuture = t1;
4421 this.addSubscription = t2;
4422 },
4423 _BufferingStreamSubscription: function _BufferingStreamSubscription() {
4424 },
4425 _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
4426 this.$this = t0;
4427 this.error = t1;
4428 this.stackTrace = t2;
4429 },
4430 _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
4431 this.$this = t0;
4432 },
4433 _StreamImpl: function _StreamImpl() {
4434 },
4435 _DelayedEvent: function _DelayedEvent() {
4436 },
4437 _DelayedData: function _DelayedData(t0) {
4438 this.value = t0;
4439 this.next = null;
4440 },
4441 _DelayedError: function _DelayedError(t0, t1) {
4442 this.error = t0;
4443 this.stackTrace = t1;
4444 this.next = null;
4445 },
4446 _DelayedDone: function _DelayedDone() {
4447 },
4448 _PendingEvents: function _PendingEvents() {
4449 },
4450 _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
4451 this.$this = t0;
4452 this.dispatch = t1;
4453 },
4454 _StreamImplEvents: function _StreamImplEvents() {
4455 this.lastPendingEvent = this.firstPendingEvent = null;
4456 this._state = 0;
4457 },
4458 _StreamIterator: function _StreamIterator(t0) {
4459 this._subscription = null;
4460 this._stateData = t0;
4461 this._async$_hasValue = false;
4462 },
4463 _ForwardingStream: function _ForwardingStream() {
4464 },
4465 _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
4466 var _ = this;
4467 _._stream = t0;
4468 _._subscription = null;
4469 _._onData = t1;
4470 _._onError = t2;
4471 _._onDone = t3;
4472 _._zone = t4;
4473 _._state = t5;
4474 _._pending = _._cancelFuture = null;
4475 _.$ti = t6;
4476 },
4477 _ExpandStream: function _ExpandStream(t0, t1, t2) {
4478 this._expand = t0;
4479 this._async$_source = t1;
4480 this.$ti = t2;
4481 },
4482 _ZoneFunction: function _ZoneFunction(t0, t1) {
4483 this.zone = t0;
4484 this.$function = t1;
4485 },
4486 _RunNullaryZoneFunction: function _RunNullaryZoneFunction(t0, t1) {
4487 this.zone = t0;
4488 this.$function = t1;
4489 },
4490 _RunUnaryZoneFunction: function _RunUnaryZoneFunction(t0, t1) {
4491 this.zone = t0;
4492 this.$function = t1;
4493 },
4494 _RunBinaryZoneFunction: function _RunBinaryZoneFunction(t0, t1) {
4495 this.zone = t0;
4496 this.$function = t1;
4497 },
4498 _RegisterNullaryZoneFunction: function _RegisterNullaryZoneFunction(t0, t1) {
4499 this.zone = t0;
4500 this.$function = t1;
4501 },
4502 _RegisterUnaryZoneFunction: function _RegisterUnaryZoneFunction(t0, t1) {
4503 this.zone = t0;
4504 this.$function = t1;
4505 },
4506 _RegisterBinaryZoneFunction: function _RegisterBinaryZoneFunction(t0, t1) {
4507 this.zone = t0;
4508 this.$function = t1;
4509 },
4510 _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
4511 var _ = this;
4512 _.handleUncaughtError = t0;
4513 _.run = t1;
4514 _.runUnary = t2;
4515 _.runBinary = t3;
4516 _.registerCallback = t4;
4517 _.registerUnaryCallback = t5;
4518 _.registerBinaryCallback = t6;
4519 _.errorCallback = t7;
4520 _.scheduleMicrotask = t8;
4521 _.createTimer = t9;
4522 _.createPeriodicTimer = t10;
4523 _.print = t11;
4524 _.fork = t12;
4525 },
4526 _ZoneDelegate: function _ZoneDelegate(t0) {
4527 this._delegationTarget = t0;
4528 },
4529 _Zone: function _Zone() {
4530 },
4531 _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
4532 var _ = this;
4533 _._run = t0;
4534 _._runUnary = t1;
4535 _._runBinary = t2;
4536 _._registerCallback = t3;
4537 _._registerUnaryCallback = t4;
4538 _._registerBinaryCallback = t5;
4539 _._errorCallback = t6;
4540 _._scheduleMicrotask = t7;
4541 _._createTimer = t8;
4542 _._createPeriodicTimer = t9;
4543 _._print = t10;
4544 _._fork = t11;
4545 _._handleUncaughtError = t12;
4546 _._delegateCache = null;
4547 _.parent = t13;
4548 _._async$_map = t14;
4549 },
4550 _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
4551 this.$this = t0;
4552 this.registered = t1;
4553 this.R = t2;
4554 },
4555 _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4556 var _ = this;
4557 _.$this = t0;
4558 _.registered = t1;
4559 _.T = t2;
4560 _.R = t3;
4561 },
4562 _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
4563 this.$this = t0;
4564 this.registered = t1;
4565 },
4566 _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
4567 this.error = t0;
4568 this.stackTrace = t1;
4569 },
4570 _RootZone: function _RootZone() {
4571 },
4572 _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
4573 this.$this = t0;
4574 this.f = t1;
4575 this.R = t2;
4576 },
4577 _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4578 var _ = this;
4579 _.$this = t0;
4580 _.f = t1;
4581 _.T = t2;
4582 _.R = t3;
4583 },
4584 _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
4585 this.$this = t0;
4586 this.f = t1;
4587 },
4588 HashMap_HashMap($K, $V) {
4589 return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
4590 },
4591 _HashMap__getTableEntry(table, key) {
4592 var entry = table[key];
4593 return entry === table ? null : entry;
4594 },
4595 _HashMap__setTableEntry(table, key, value) {
4596 if (value == null)
4597 table[key] = table;
4598 else
4599 table[key] = value;
4600 },
4601 _HashMap__newHashTable() {
4602 var table = Object.create(null);
4603 A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
4604 delete table["<non-identifier-key>"];
4605 return table;
4606 },
4607 LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
4608 if (isValidKey == null)
4609 if (hashCode == null) {
4610 if (equals == null)
4611 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4612 hashCode = A.collection___defaultHashCode$closure();
4613 } else {
4614 if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
4615 return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
4616 if (equals == null)
4617 equals = A.collection___defaultEquals$closure();
4618 }
4619 else {
4620 if (hashCode == null)
4621 hashCode = A.collection___defaultHashCode$closure();
4622 if (equals == null)
4623 equals = A.collection___defaultEquals$closure();
4624 }
4625 return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
4626 },
4627 LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
4628 return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
4629 },
4630 LinkedHashMap_LinkedHashMap$_empty($K, $V) {
4631 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4632 },
4633 _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
4634 var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
4635 return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
4636 },
4637 LinkedHashSet_LinkedHashSet($E) {
4638 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4639 },
4640 LinkedHashSet_LinkedHashSet$_empty($E) {
4641 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4642 },
4643 LinkedHashSet_LinkedHashSet$_literal(values, $E) {
4644 return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
4645 },
4646 _LinkedHashSet__newHashTable() {
4647 var table = Object.create(null);
4648 table["<non-identifier-key>"] = table;
4649 delete table["<non-identifier-key>"];
4650 return table;
4651 },
4652 _LinkedHashSetIterator$(_set, _modifications) {
4653 var t1 = new A._LinkedHashSetIterator(_set, _modifications);
4654 t1._collection$_cell = _set._collection$_first;
4655 return t1;
4656 },
4657 UnmodifiableListView$(source, $E) {
4658 return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
4659 },
4660 _defaultEquals(a, b) {
4661 return J.$eq$(a, b);
4662 },
4663 _defaultHashCode(a) {
4664 return J.get$hashCode$(a);
4665 },
4666 HashMap_HashMap$from(other, $K, $V) {
4667 var result = A.HashMap_HashMap($K, $V);
4668 other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
4669 return result;
4670 },
4671 IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
4672 var parts, t1;
4673 if (A._isToStringVisiting(iterable)) {
4674 if (leftDelimiter === "(" && rightDelimiter === ")")
4675 return "(...)";
4676 return leftDelimiter + "..." + rightDelimiter;
4677 }
4678 parts = A._setArrayType([], type$.JSArray_String);
4679 $._toStringVisiting.push(iterable);
4680 try {
4681 A._iterablePartsToStrings(iterable, parts);
4682 } finally {
4683 $._toStringVisiting.pop();
4684 }
4685 t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
4686 return t1.charCodeAt(0) == 0 ? t1 : t1;
4687 },
4688 IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
4689 var buffer, t1;
4690 if (A._isToStringVisiting(iterable))
4691 return leftDelimiter + "..." + rightDelimiter;
4692 buffer = new A.StringBuffer(leftDelimiter);
4693 $._toStringVisiting.push(iterable);
4694 try {
4695 t1 = buffer;
4696 t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
4697 } finally {
4698 $._toStringVisiting.pop();
4699 }
4700 buffer._contents += rightDelimiter;
4701 t1 = buffer._contents;
4702 return t1.charCodeAt(0) == 0 ? t1 : t1;
4703 },
4704 _isToStringVisiting(o) {
4705 var t1, i;
4706 for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
4707 if (o === $._toStringVisiting[i])
4708 return true;
4709 return false;
4710 },
4711 _iterablePartsToStrings(iterable, parts) {
4712 var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
4713 it = iterable.get$iterator(iterable),
4714 $length = 0, count = 0;
4715 while (true) {
4716 if (!($length < 80 || count < 3))
4717 break;
4718 if (!it.moveNext$0())
4719 return;
4720 next = A.S(it.get$current(it));
4721 parts.push(next);
4722 $length += next.length + 2;
4723 ++count;
4724 }
4725 if (!it.moveNext$0()) {
4726 if (count <= 5)
4727 return;
4728 ultimateString = parts.pop();
4729 penultimateString = parts.pop();
4730 } else {
4731 penultimate = it.get$current(it);
4732 ++count;
4733 if (!it.moveNext$0()) {
4734 if (count <= 4) {
4735 parts.push(A.S(penultimate));
4736 return;
4737 }
4738 ultimateString = A.S(penultimate);
4739 penultimateString = parts.pop();
4740 $length += ultimateString.length + 2;
4741 } else {
4742 ultimate = it.get$current(it);
4743 ++count;
4744 for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
4745 ultimate0 = it.get$current(it);
4746 ++count;
4747 if (count > 100) {
4748 while (true) {
4749 if (!($length > 75 && count > 3))
4750 break;
4751 $length -= parts.pop().length + 2;
4752 --count;
4753 }
4754 parts.push("...");
4755 return;
4756 }
4757 }
4758 penultimateString = A.S(penultimate);
4759 ultimateString = A.S(ultimate);
4760 $length += ultimateString.length + penultimateString.length + 4;
4761 }
4762 }
4763 if (count > parts.length + 2) {
4764 $length += 5;
4765 elision = "...";
4766 } else
4767 elision = null;
4768 while (true) {
4769 if (!($length > 80 && parts.length > 3))
4770 break;
4771 $length -= parts.pop().length + 2;
4772 if (elision == null) {
4773 $length += 5;
4774 elision = "...";
4775 }
4776 }
4777 if (elision != null)
4778 parts.push(elision);
4779 parts.push(penultimateString);
4780 parts.push(ultimateString);
4781 },
4782 LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
4783 var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4784 other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
4785 return result;
4786 },
4787 LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
4788 var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4789 t1.addAll$1(0, other);
4790 return t1;
4791 },
4792 LinkedHashSet_LinkedHashSet$from(elements, $E) {
4793 var t1, _i,
4794 result = A.LinkedHashSet_LinkedHashSet($E);
4795 for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
4796 result.add$1(0, $E._as(elements[_i]));
4797 return result;
4798 },
4799 LinkedHashSet_LinkedHashSet$of(elements, $E) {
4800 var t1 = A.LinkedHashSet_LinkedHashSet($E);
4801 t1.addAll$1(0, elements);
4802 return t1;
4803 },
4804 ListMixin__compareAny(a, b) {
4805 var t1 = type$.Comparable_dynamic;
4806 return J.compareTo$1$ns(t1._as(a), t1._as(b));
4807 },
4808 MapBase_mapToString(m) {
4809 var result, t1 = {};
4810 if (A._isToStringVisiting(m))
4811 return "{...}";
4812 result = new A.StringBuffer("");
4813 try {
4814 $._toStringVisiting.push(m);
4815 result._contents += "{";
4816 t1.first = true;
4817 m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
4818 result._contents += "}";
4819 } finally {
4820 $._toStringVisiting.pop();
4821 }
4822 t1 = result._contents;
4823 return t1.charCodeAt(0) == 0 ? t1 : t1;
4824 },
4825 MapBase__fillMapWithIterables(map, keys, values) {
4826 var keyIterator = keys.get$iterator(keys),
4827 valueIterator = values.get$iterator(values),
4828 hasNextKey = keyIterator.moveNext$0(),
4829 hasNextValue = valueIterator.moveNext$0();
4830 while (true) {
4831 if (!(hasNextKey && hasNextValue))
4832 break;
4833 map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
4834 hasNextKey = keyIterator.moveNext$0();
4835 hasNextValue = valueIterator.moveNext$0();
4836 }
4837 if (hasNextKey || hasNextValue)
4838 throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
4839 },
4840 ListQueue$($E) {
4841 return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
4842 },
4843 ListQueue__calculateCapacity(initialCapacity) {
4844 return 8;
4845 },
4846 ListQueue_ListQueue$of(elements, $E) {
4847 var t1 = A.ListQueue$($E);
4848 t1.addAll$1(0, elements);
4849 return t1;
4850 },
4851 ListQueue__nextPowerOf2(number) {
4852 var nextNumber;
4853 number = (number << 1 >>> 0) - 1;
4854 for (; true; number = nextNumber) {
4855 nextNumber = (number & number - 1) >>> 0;
4856 if (nextNumber === 0)
4857 return number;
4858 }
4859 },
4860 _ListQueueIterator$(queue) {
4861 return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
4862 },
4863 _UnmodifiableSetMixin__throwUnmodifiable() {
4864 throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
4865 },
4866 _HashMap: function _HashMap(t0) {
4867 var _ = this;
4868 _._collection$_length = 0;
4869 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4870 _.$ti = t0;
4871 },
4872 _HashMap_values_closure: function _HashMap_values_closure(t0) {
4873 this.$this = t0;
4874 },
4875 _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
4876 this.$this = t0;
4877 },
4878 _IdentityHashMap: function _IdentityHashMap(t0) {
4879 var _ = this;
4880 _._collection$_length = 0;
4881 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4882 _.$ti = t0;
4883 },
4884 _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
4885 this._map = t0;
4886 this.$ti = t1;
4887 },
4888 _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
4889 var _ = this;
4890 _._map = t0;
4891 _._keys = t1;
4892 _._offset = 0;
4893 _._collection$_current = null;
4894 },
4895 _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
4896 var _ = this;
4897 _.__js_helper$_length = 0;
4898 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4899 _._modifications = 0;
4900 _.$ti = t0;
4901 },
4902 _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
4903 var _ = this;
4904 _._equals = t0;
4905 _._hashCode = t1;
4906 _._validKey = t2;
4907 _.__js_helper$_length = 0;
4908 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4909 _._modifications = 0;
4910 _.$ti = t3;
4911 },
4912 _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
4913 this.K = t0;
4914 },
4915 _LinkedHashSet: function _LinkedHashSet(t0) {
4916 var _ = this;
4917 _._collection$_length = 0;
4918 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4919 _._collection$_modifications = 0;
4920 _.$ti = t0;
4921 },
4922 _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
4923 var _ = this;
4924 _._collection$_length = 0;
4925 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4926 _._collection$_modifications = 0;
4927 _.$ti = t0;
4928 },
4929 _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
4930 this._element = t0;
4931 this._collection$_previous = this._collection$_next = null;
4932 },
4933 _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
4934 var _ = this;
4935 _._set = t0;
4936 _._collection$_modifications = t1;
4937 _._collection$_current = _._collection$_cell = null;
4938 },
4939 UnmodifiableListView: function UnmodifiableListView(t0, t1) {
4940 this._collection$_source = t0;
4941 this.$ti = t1;
4942 },
4943 HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
4944 this.result = t0;
4945 this.K = t1;
4946 this.V = t2;
4947 },
4948 IterableBase: function IterableBase() {
4949 },
4950 LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
4951 this.result = t0;
4952 this.K = t1;
4953 this.V = t2;
4954 },
4955 ListBase: function ListBase() {
4956 },
4957 ListMixin: function ListMixin() {
4958 },
4959 MapBase: function MapBase() {
4960 },
4961 MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
4962 this._box_0 = t0;
4963 this.result = t1;
4964 },
4965 MapMixin: function MapMixin() {
4966 },
4967 MapMixin_addAll_closure: function MapMixin_addAll_closure(t0) {
4968 this.$this = t0;
4969 },
4970 MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
4971 this.$this = t0;
4972 },
4973 UnmodifiableMapBase: function UnmodifiableMapBase() {
4974 },
4975 _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
4976 this._map = t0;
4977 this.$ti = t1;
4978 },
4979 _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
4980 this._keys = t0;
4981 this._map = t1;
4982 this._collection$_current = null;
4983 },
4984 _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
4985 },
4986 MapView: function MapView() {
4987 },
4988 UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
4989 this._map = t0;
4990 this.$ti = t1;
4991 },
4992 ListQueue: function ListQueue(t0, t1) {
4993 var _ = this;
4994 _._collection$_table = t0;
4995 _._modificationCount = _._collection$_tail = _._collection$_head = 0;
4996 _.$ti = t1;
4997 },
4998 _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
4999 var _ = this;
5000 _._queue = t0;
5001 _._collection$_end = t1;
5002 _._modificationCount = t2;
5003 _._collection$_position = t3;
5004 _._collection$_current = null;
5005 },
5006 SetMixin: function SetMixin() {
5007 },
5008 _SetBase: function _SetBase() {
5009 },
5010 _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
5011 },
5012 _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
5013 this._map = t0;
5014 this.$ti = t1;
5015 },
5016 _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
5017 },
5018 _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
5019 },
5020 __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
5021 },
5022 __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
5023 },
5024 Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
5025 var casted, result;
5026 if (codeUnits instanceof Uint8Array) {
5027 casted = codeUnits;
5028 end = casted.length;
5029 if (end - start < 15)
5030 return null;
5031 result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
5032 if (result != null && allowMalformed)
5033 if (result.indexOf("\ufffd") >= 0)
5034 return null;
5035 return result;
5036 }
5037 return null;
5038 },
5039 Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
5040 var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
5041 if (decoder == null)
5042 return null;
5043 if (0 === start && end === codeUnits.length)
5044 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
5045 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
5046 },
5047 Utf8Decoder__useTextDecoder(decoder, codeUnits) {
5048 var t1, exception;
5049 try {
5050 t1 = decoder.decode(codeUnits);
5051 return t1;
5052 } catch (exception) {
5053 }
5054 return null;
5055 },
5056 Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
5057 if (B.JSInt_methods.$mod($length, 4) !== 0)
5058 throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
5059 if (firstPadding + paddingCount !== $length)
5060 throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
5061 if (paddingCount > 2)
5062 throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
5063 },
5064 _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
5065 var t1, i, byteOr, byte, outputIndex0, outputIndex1,
5066 bits = state >>> 2,
5067 expectedChars = 3 - (state & 3);
5068 for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
5069 byte = t1.$index(bytes, i);
5070 byteOr = (byteOr | byte) >>> 0;
5071 bits = (bits << 8 | byte) & 16777215;
5072 --expectedChars;
5073 if (expectedChars === 0) {
5074 outputIndex0 = outputIndex + 1;
5075 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
5076 outputIndex = outputIndex0 + 1;
5077 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
5078 outputIndex0 = outputIndex + 1;
5079 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
5080 outputIndex = outputIndex0 + 1;
5081 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
5082 bits = 0;
5083 expectedChars = 3;
5084 }
5085 }
5086 if (byteOr >= 0 && byteOr <= 255) {
5087 if (isLast && expectedChars < 3) {
5088 outputIndex0 = outputIndex + 1;
5089 outputIndex1 = outputIndex0 + 1;
5090 if (3 - expectedChars === 1) {
5091 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
5092 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
5093 output[outputIndex1] = 61;
5094 output[outputIndex1 + 1] = 61;
5095 } else {
5096 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
5097 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
5098 output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
5099 output[outputIndex1 + 1] = 61;
5100 }
5101 return 0;
5102 }
5103 return (bits << 2 | 3 - expectedChars) >>> 0;
5104 }
5105 for (i = start; i < end;) {
5106 byte = t1.$index(bytes, i);
5107 if (byte < 0 || byte > 255)
5108 break;
5109 ++i;
5110 }
5111 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));
5112 },
5113 JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
5114 return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
5115 },
5116 _defaultToEncodable(object) {
5117 return object.toJson$0();
5118 },
5119 _JsonStringStringifier$(_sink, _toEncodable) {
5120 return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
5121 },
5122 _JsonStringStringifier_stringify(object, toEncodable, indent) {
5123 var t1,
5124 output = new A.StringBuffer(""),
5125 stringifier = A._JsonStringStringifier$(output, toEncodable);
5126 stringifier.writeObject$1(object);
5127 t1 = output._contents;
5128 return t1.charCodeAt(0) == 0 ? t1 : t1;
5129 },
5130 _Utf8Decoder_errorDescription(state) {
5131 switch (state) {
5132 case 65:
5133 return "Missing extension byte";
5134 case 67:
5135 return "Unexpected extension byte";
5136 case 69:
5137 return "Invalid UTF-8 byte";
5138 case 71:
5139 return "Overlong encoding";
5140 case 73:
5141 return "Out of unicode range";
5142 case 75:
5143 return "Encoded surrogate";
5144 case 77:
5145 return "Unfinished UTF-8 octet sequence";
5146 default:
5147 return "";
5148 }
5149 },
5150 _Utf8Decoder__makeUint8List(codeUnits, start, end) {
5151 var t1, i, b,
5152 $length = end - start,
5153 bytes = new Uint8Array($length);
5154 for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
5155 b = t1.$index(codeUnits, start + i);
5156 bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
5157 }
5158 return bytes;
5159 },
5160 Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
5161 },
5162 Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
5163 },
5164 AsciiCodec: function AsciiCodec() {
5165 },
5166 _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
5167 },
5168 AsciiEncoder: function AsciiEncoder(t0) {
5169 this._subsetMask = t0;
5170 },
5171 Base64Codec: function Base64Codec() {
5172 },
5173 Base64Encoder: function Base64Encoder() {
5174 },
5175 _Base64Encoder: function _Base64Encoder(t0) {
5176 this._convert$_state = 0;
5177 this._alphabet = t0;
5178 },
5179 _Base64EncoderSink: function _Base64EncoderSink() {
5180 },
5181 _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
5182 this._sink = t0;
5183 this._encoder = t1;
5184 },
5185 ByteConversionSink: function ByteConversionSink() {
5186 },
5187 ByteConversionSinkBase: function ByteConversionSinkBase() {
5188 },
5189 ChunkedConversionSink: function ChunkedConversionSink() {
5190 },
5191 Codec: function Codec() {
5192 },
5193 Converter: function Converter() {
5194 },
5195 Encoding: function Encoding() {
5196 },
5197 JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
5198 this.unsupportedObject = t0;
5199 this.cause = t1;
5200 },
5201 JsonCyclicError: function JsonCyclicError(t0, t1) {
5202 this.unsupportedObject = t0;
5203 this.cause = t1;
5204 },
5205 JsonCodec: function JsonCodec() {
5206 },
5207 JsonEncoder: function JsonEncoder(t0) {
5208 this._toEncodable = t0;
5209 },
5210 _JsonStringifier: function _JsonStringifier() {
5211 },
5212 _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
5213 this._box_0 = t0;
5214 this.keyValueList = t1;
5215 },
5216 _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
5217 this._sink = t0;
5218 this._seen = t1;
5219 this._toEncodable = t2;
5220 },
5221 StringConversionSinkBase: function StringConversionSinkBase() {
5222 },
5223 StringConversionSinkMixin: function StringConversionSinkMixin() {
5224 },
5225 _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
5226 this._stringSink = t0;
5227 },
5228 _StringCallbackSink: function _StringCallbackSink(t0, t1) {
5229 this._convert$_callback = t0;
5230 this._stringSink = t1;
5231 },
5232 _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
5233 this._decoder = t0;
5234 this._sink = t1;
5235 this._stringSink = t2;
5236 },
5237 Utf8Codec: function Utf8Codec() {
5238 },
5239 Utf8Encoder: function Utf8Encoder() {
5240 },
5241 _Utf8Encoder: function _Utf8Encoder(t0) {
5242 this._bufferIndex = 0;
5243 this._convert$_buffer = t0;
5244 },
5245 Utf8Decoder: function Utf8Decoder(t0) {
5246 this._allowMalformed = t0;
5247 },
5248 _Utf8Decoder: function _Utf8Decoder(t0) {
5249 this.allowMalformed = t0;
5250 this._convert$_state = 16;
5251 this._charOrIndex = 0;
5252 },
5253 identityHashCode(object) {
5254 return A.objectHashCode(object);
5255 },
5256 Function_apply($function, positionalArguments) {
5257 return A.Primitives_applyFunction($function, positionalArguments, null);
5258 },
5259 Expando$() {
5260 return new A.Expando(new WeakMap());
5261 },
5262 Expando__checkType(object) {
5263 var t1 = A._isBool(object) || typeof object == "number" || typeof object == "string";
5264 if (t1)
5265 throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
5266 },
5267 int_parse(source, radix) {
5268 var value = A.Primitives_parseInt(source, radix);
5269 if (value != null)
5270 return value;
5271 throw A.wrapException(A.FormatException$(source, null, null));
5272 },
5273 double_parse(source) {
5274 var value = A.Primitives_parseDouble(source);
5275 if (value != null)
5276 return value;
5277 throw A.wrapException(A.FormatException$("Invalid double", source, null));
5278 },
5279 Error__objectToString(object) {
5280 if (object instanceof A.Closure)
5281 return object.toString$0(0);
5282 return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
5283 },
5284 Error__throw(error, stackTrace) {
5285 error = A.wrapException(error);
5286 error.stack = stackTrace.toString$0(0);
5287 throw error;
5288 throw A.wrapException("unreachable");
5289 },
5290 List_List$filled($length, fill, growable, $E) {
5291 var i,
5292 result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
5293 if ($length !== 0 && fill != null)
5294 for (i = 0; i < result.length; ++i)
5295 result[i] = fill;
5296 return result;
5297 },
5298 List_List$from(elements, growable, $E) {
5299 var t1,
5300 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5301 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5302 list.push(t1.get$current(t1));
5303 if (growable)
5304 return list;
5305 return J.JSArray_markFixedList(list);
5306 },
5307 List_List$of(elements, growable, $E) {
5308 var t1;
5309 if (growable)
5310 return A.List_List$_of(elements, $E);
5311 t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
5312 return t1;
5313 },
5314 List_List$_of(elements, $E) {
5315 var list, t1;
5316 if (Array.isArray(elements))
5317 return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
5318 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5319 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5320 list.push(t1.get$current(t1));
5321 return list;
5322 },
5323 List_List$unmodifiable(elements, $E) {
5324 return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
5325 },
5326 String_String$fromCharCodes(charCodes, start, end) {
5327 var array, len;
5328 if (Array.isArray(charCodes)) {
5329 array = charCodes;
5330 len = array.length;
5331 end = A.RangeError_checkValidRange(start, end, len);
5332 return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
5333 }
5334 if (type$.NativeUint8List._is(charCodes))
5335 return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
5336 return A.String__stringFromIterable(charCodes, start, end);
5337 },
5338 String_String$fromCharCode(charCode) {
5339 return A.Primitives_stringFromCharCode(charCode);
5340 },
5341 String__stringFromIterable(charCodes, start, end) {
5342 var t1, it, i, list, _null = null;
5343 if (start < 0)
5344 throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
5345 t1 = end == null;
5346 if (!t1 && end < start)
5347 throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
5348 it = J.get$iterator$ax(charCodes);
5349 for (i = 0; i < start; ++i)
5350 if (!it.moveNext$0())
5351 throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
5352 list = [];
5353 if (t1)
5354 for (; it.moveNext$0();)
5355 list.push(it.get$current(it));
5356 else
5357 for (i = start; i < end; ++i) {
5358 if (!it.moveNext$0())
5359 throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
5360 list.push(it.get$current(it));
5361 }
5362 return A.Primitives_stringFromCharCodes(list);
5363 },
5364 RegExp_RegExp(source, multiLine) {
5365 return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
5366 },
5367 identical(a, b) {
5368 return a == null ? b == null : a === b;
5369 },
5370 StringBuffer__writeAll(string, objects, separator) {
5371 var iterator = J.get$iterator$ax(objects);
5372 if (!iterator.moveNext$0())
5373 return string;
5374 if (separator.length === 0) {
5375 do
5376 string += A.S(iterator.get$current(iterator));
5377 while (iterator.moveNext$0());
5378 } else {
5379 string += A.S(iterator.get$current(iterator));
5380 for (; iterator.moveNext$0();)
5381 string = string + separator + A.S(iterator.get$current(iterator));
5382 }
5383 return string;
5384 },
5385 NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) {
5386 return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
5387 },
5388 Uri_base() {
5389 var uri = A.Primitives_currentUri();
5390 if (uri != null)
5391 return A.Uri_parse(uri);
5392 throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
5393 },
5394 _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
5395 var t1, bytes, i, t2, byte,
5396 _s16_ = "0123456789ABCDEF";
5397 if (encoding === B.C_Utf8Codec) {
5398 t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
5399 t1 = t1.test(text);
5400 } else
5401 t1 = false;
5402 if (t1)
5403 return text;
5404 bytes = encoding.get$encoder().convert$1(text);
5405 for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
5406 byte = bytes[i];
5407 if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
5408 t2 += A.Primitives_stringFromCharCode(byte);
5409 else
5410 t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
5411 }
5412 return t2.charCodeAt(0) == 0 ? t2 : t2;
5413 },
5414 StackTrace_current() {
5415 var stackTrace, exception;
5416 if ($.$get$_hasErrorStackProperty())
5417 return A.getTraceFromException(new Error());
5418 try {
5419 throw A.wrapException("");
5420 } catch (exception) {
5421 stackTrace = A.getTraceFromException(exception);
5422 return stackTrace;
5423 }
5424 },
5425 DateTime$_withValue(_value, isUtc) {
5426 var t1;
5427 if (Math.abs(_value) <= 864e13)
5428 t1 = false;
5429 else
5430 t1 = true;
5431 if (t1)
5432 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null));
5433 A.checkNotNullable(false, "isUtc", type$.bool);
5434 return new A.DateTime(_value, false);
5435 },
5436 DateTime__fourDigits(n) {
5437 var absN = Math.abs(n),
5438 sign = n < 0 ? "-" : "";
5439 if (absN >= 1000)
5440 return "" + n;
5441 if (absN >= 100)
5442 return sign + "0" + absN;
5443 if (absN >= 10)
5444 return sign + "00" + absN;
5445 return sign + "000" + absN;
5446 },
5447 DateTime__threeDigits(n) {
5448 if (n >= 100)
5449 return "" + n;
5450 if (n >= 10)
5451 return "0" + n;
5452 return "00" + n;
5453 },
5454 DateTime__twoDigits(n) {
5455 if (n >= 10)
5456 return "" + n;
5457 return "0" + n;
5458 },
5459 Duration$(milliseconds) {
5460 return new A.Duration(1000 * milliseconds);
5461 },
5462 Error_safeToString(object) {
5463 if (typeof object == "number" || A._isBool(object) || object == null)
5464 return J.toString$0$(object);
5465 if (typeof object == "string")
5466 return JSON.stringify(object);
5467 return A.Error__objectToString(object);
5468 },
5469 AssertionError$(message) {
5470 return new A.AssertionError(message);
5471 },
5472 ArgumentError$(message, $name) {
5473 return new A.ArgumentError(false, null, $name, message);
5474 },
5475 ArgumentError$value(value, $name, message) {
5476 return new A.ArgumentError(true, value, $name, message);
5477 },
5478 ArgumentError_checkNotNull(argument, $name) {
5479 return argument;
5480 },
5481 RangeError$(message) {
5482 var _null = null;
5483 return new A.RangeError(_null, _null, false, _null, _null, message);
5484 },
5485 RangeError$value(value, $name, message) {
5486 return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
5487 },
5488 RangeError$range(invalidValue, minValue, maxValue, $name, message) {
5489 return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
5490 },
5491 RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
5492 if (value < minValue || value > maxValue)
5493 throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
5494 return value;
5495 },
5496 RangeError_checkValidIndex(index, indexable, $name) {
5497 var $length = indexable.get$length(indexable);
5498 if (0 > index || index >= $length)
5499 throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
5500 return index;
5501 },
5502 RangeError_checkValidRange(start, end, $length) {
5503 if (0 > start || start > $length)
5504 throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
5505 if (end != null) {
5506 if (start > end || end > $length)
5507 throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
5508 return end;
5509 }
5510 return $length;
5511 },
5512 RangeError_checkNotNegative(value, $name) {
5513 if (value < 0)
5514 throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
5515 return value;
5516 },
5517 IndexError$(invalidValue, indexable, $name, message, $length) {
5518 var t1 = $length == null ? J.get$length$asx(indexable) : $length;
5519 return new A.IndexError(t1, true, invalidValue, $name, "Index out of range");
5520 },
5521 UnsupportedError$(message) {
5522 return new A.UnsupportedError(message);
5523 },
5524 UnimplementedError$(message) {
5525 return new A.UnimplementedError(message);
5526 },
5527 StateError$(message) {
5528 return new A.StateError(message);
5529 },
5530 ConcurrentModificationError$(modifiedObject) {
5531 return new A.ConcurrentModificationError(modifiedObject);
5532 },
5533 FormatException$(message, source, offset) {
5534 return new A.FormatException(message, source, offset);
5535 },
5536 Iterable_Iterable$generate(count, generator, $E) {
5537 if (count <= 0)
5538 return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
5539 return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
5540 },
5541 Map_castFrom(source, $K, $V, K2, V2) {
5542 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>"));
5543 },
5544 Object_hash(object1, object2, object3) {
5545 var t1, t2;
5546 if (B.C_SentinelValue === object3) {
5547 t1 = J.get$hashCode$(object1);
5548 object2 = J.get$hashCode$(object2);
5549 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
5550 }
5551 t1 = J.get$hashCode$(object1);
5552 object2 = J.get$hashCode$(object2);
5553 object3 = J.get$hashCode$(object3);
5554 t2 = $.$get$_hashSeed();
5555 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3));
5556 },
5557 print(object) {
5558 var line = A.S(object),
5559 toZone = $.printToZone;
5560 if (toZone == null)
5561 A.printString(line);
5562 else
5563 toZone.call$1(line);
5564 },
5565 Set_castFrom(source, newSet, $S, $T) {
5566 return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
5567 },
5568 _combineSurrogatePair(start, end) {
5569 return 65536 + ((start & 1023) << 10) + (end & 1023);
5570 },
5571 Uri_Uri$dataFromString($content, encoding, mimeType) {
5572 var encodingName, t1,
5573 buffer = new A.StringBuffer(""),
5574 indices = A._setArrayType([-1], type$.JSArray_int);
5575 if (encoding == null)
5576 encodingName = null;
5577 else
5578 encodingName = "utf-8";
5579 if (encoding == null)
5580 encoding = B.C_AsciiCodec;
5581 A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
5582 indices.push(buffer._contents.length);
5583 buffer._contents += ",";
5584 A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
5585 t1 = buffer._contents;
5586 return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
5587 },
5588 Uri_parse(uri) {
5589 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,
5590 end = uri.length;
5591 if (end >= 5) {
5592 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;
5593 if (delta === 0)
5594 return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
5595 else if (delta === 32)
5596 return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
5597 }
5598 indices = A.List_List$filled(8, 0, false, type$.int);
5599 indices[0] = 0;
5600 indices[1] = -1;
5601 indices[2] = -1;
5602 indices[7] = -1;
5603 indices[3] = 0;
5604 indices[4] = 0;
5605 indices[5] = end;
5606 indices[6] = end;
5607 if (A._scan(uri, 0, end, 0, indices) >= 14)
5608 indices[7] = end;
5609 schemeEnd = indices[1];
5610 if (schemeEnd >= 0)
5611 if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
5612 indices[7] = schemeEnd;
5613 hostStart = indices[2] + 1;
5614 portStart = indices[3];
5615 pathStart = indices[4];
5616 queryStart = indices[5];
5617 fragmentStart = indices[6];
5618 if (fragmentStart < queryStart)
5619 queryStart = fragmentStart;
5620 if (pathStart < hostStart)
5621 pathStart = queryStart;
5622 else if (pathStart <= schemeEnd)
5623 pathStart = schemeEnd + 1;
5624 if (portStart < hostStart)
5625 portStart = pathStart;
5626 isSimple = indices[7] < 0;
5627 if (isSimple)
5628 if (hostStart > schemeEnd + 3) {
5629 scheme = _null;
5630 isSimple = false;
5631 } else {
5632 t1 = portStart > 0;
5633 if (t1 && portStart + 1 === pathStart) {
5634 scheme = _null;
5635 isSimple = false;
5636 } else {
5637 if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
5638 t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
5639 else
5640 t2 = true;
5641 if (t2) {
5642 scheme = _null;
5643 isSimple = false;
5644 } else {
5645 if (schemeEnd === 4)
5646 if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
5647 if (hostStart <= 0) {
5648 if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
5649 schemeAuth = "file:///";
5650 delta = 3;
5651 } else {
5652 schemeAuth = "file://";
5653 delta = 2;
5654 }
5655 uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
5656 schemeEnd -= 0;
5657 t1 = delta - 0;
5658 queryStart += t1;
5659 fragmentStart += t1;
5660 end = uri.length;
5661 hostStart = 7;
5662 portStart = 7;
5663 pathStart = 7;
5664 } else if (pathStart === queryStart) {
5665 ++fragmentStart;
5666 queryStart0 = queryStart + 1;
5667 uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
5668 ++end;
5669 queryStart = queryStart0;
5670 }
5671 scheme = "file";
5672 } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
5673 if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
5674 fragmentStart -= 3;
5675 pathStart0 = pathStart - 3;
5676 queryStart -= 3;
5677 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5678 end -= 3;
5679 pathStart = pathStart0;
5680 }
5681 scheme = "http";
5682 } else
5683 scheme = _null;
5684 else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
5685 if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
5686 fragmentStart -= 4;
5687 pathStart0 = pathStart - 4;
5688 queryStart -= 4;
5689 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5690 end -= 3;
5691 pathStart = pathStart0;
5692 }
5693 scheme = "https";
5694 } else
5695 scheme = _null;
5696 isSimple = true;
5697 }
5698 }
5699 }
5700 else
5701 scheme = _null;
5702 if (isSimple) {
5703 if (end < uri.length) {
5704 uri = B.JSString_methods.substring$2(uri, 0, end);
5705 schemeEnd -= 0;
5706 hostStart -= 0;
5707 portStart -= 0;
5708 pathStart -= 0;
5709 queryStart -= 0;
5710 fragmentStart -= 0;
5711 }
5712 return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
5713 }
5714 if (scheme == null)
5715 if (schemeEnd > 0)
5716 scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
5717 else {
5718 if (schemeEnd === 0)
5719 A._Uri__fail(uri, 0, "Invalid empty scheme");
5720 scheme = "";
5721 }
5722 if (hostStart > 0) {
5723 userInfoStart = schemeEnd + 3;
5724 userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
5725 host = A._Uri__makeHost(uri, hostStart, portStart, false);
5726 t1 = portStart + 1;
5727 if (t1 < pathStart) {
5728 portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
5729 port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
5730 } else
5731 port = _null;
5732 } else {
5733 port = _null;
5734 host = port;
5735 userInfo = "";
5736 }
5737 path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
5738 query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
5739 return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
5740 },
5741 Uri_decodeComponent(encodedComponent) {
5742 return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
5743 },
5744 Uri__parseIPv4Address(host, start, end) {
5745 var i, partStart, partIndex, char, part, partIndex0,
5746 _s43_ = "IPv4 address should contain exactly 4 parts",
5747 _s37_ = "each part must be in the range 0..255",
5748 error = new A.Uri__parseIPv4Address_error(host),
5749 result = new Uint8Array(4);
5750 for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
5751 char = B.JSString_methods.codeUnitAt$1(host, i);
5752 if (char !== 46) {
5753 if ((char ^ 48) > 9)
5754 error.call$2("invalid character", i);
5755 } else {
5756 if (partIndex === 3)
5757 error.call$2(_s43_, i);
5758 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
5759 if (part > 255)
5760 error.call$2(_s37_, partStart);
5761 partIndex0 = partIndex + 1;
5762 result[partIndex] = part;
5763 partStart = i + 1;
5764 partIndex = partIndex0;
5765 }
5766 }
5767 if (partIndex !== 3)
5768 error.call$2(_s43_, end);
5769 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
5770 if (part > 255)
5771 error.call$2(_s37_, partStart);
5772 result[partIndex] = part;
5773 return result;
5774 },
5775 Uri_parseIPv6Address(host, start, end) {
5776 var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
5777 error = new A.Uri_parseIPv6Address_error(host),
5778 parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
5779 if (host.length < 2)
5780 error.call$2("address is too short", _null);
5781 parts = A._setArrayType([], type$.JSArray_int);
5782 for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
5783 char = B.JSString_methods.codeUnitAt$1(host, i);
5784 if (char === 58) {
5785 if (i === start) {
5786 ++i;
5787 if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
5788 error.call$2("invalid start colon.", i);
5789 partStart = i;
5790 }
5791 if (i === partStart) {
5792 if (wildcardSeen)
5793 error.call$2("only one wildcard `::` is allowed", i);
5794 parts.push(-1);
5795 wildcardSeen = true;
5796 } else
5797 parts.push(parseHex.call$2(partStart, i));
5798 partStart = i + 1;
5799 } else if (char === 46)
5800 seenDot = true;
5801 }
5802 if (parts.length === 0)
5803 error.call$2("too few parts", _null);
5804 atEnd = partStart === end;
5805 t1 = B.JSArray_methods.get$last(parts);
5806 if (atEnd && t1 !== -1)
5807 error.call$2("expected a part after last `:`", end);
5808 if (!atEnd)
5809 if (!seenDot)
5810 parts.push(parseHex.call$2(partStart, end));
5811 else {
5812 last = A.Uri__parseIPv4Address(host, partStart, end);
5813 parts.push((last[0] << 8 | last[1]) >>> 0);
5814 parts.push((last[2] << 8 | last[3]) >>> 0);
5815 }
5816 if (wildcardSeen) {
5817 if (parts.length > 7)
5818 error.call$2("an address with a wildcard must have less than 7 parts", _null);
5819 } else if (parts.length !== 8)
5820 error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
5821 bytes = new Uint8Array(16);
5822 for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
5823 value = parts[i];
5824 if (value === -1)
5825 for (j = 0; j < wildCardLength; ++j) {
5826 bytes[index] = 0;
5827 bytes[index + 1] = 0;
5828 index += 2;
5829 }
5830 else {
5831 bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
5832 bytes[index + 1] = value & 255;
5833 index += 2;
5834 }
5835 }
5836 return bytes;
5837 },
5838 _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
5839 return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
5840 },
5841 _Uri__Uri(host, path, pathSegments, scheme) {
5842 var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
5843 scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
5844 userInfo = A._Uri__makeUserInfo(_null, 0, 0);
5845 host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
5846 query = A._Uri__makeQuery(_null, 0, 0, _null);
5847 fragment = A._Uri__makeFragment(_null, 0, 0);
5848 port = A._Uri__makePort(_null, scheme);
5849 isFile = scheme === "file";
5850 if (host == null)
5851 t1 = userInfo.length !== 0 || port != null || isFile;
5852 else
5853 t1 = false;
5854 if (t1)
5855 host = "";
5856 t1 = host == null;
5857 hasAuthority = !t1;
5858 path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
5859 t2 = scheme.length === 0;
5860 if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
5861 path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
5862 else
5863 path = A._Uri__removeDotSegments(path);
5864 return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
5865 },
5866 _Uri__defaultPort(scheme) {
5867 if (scheme === "http")
5868 return 80;
5869 if (scheme === "https")
5870 return 443;
5871 return 0;
5872 },
5873 _Uri__fail(uri, index, message) {
5874 throw A.wrapException(A.FormatException$(message, uri, index));
5875 },
5876 _Uri__Uri$file(path, windows) {
5877 return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
5878 },
5879 _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
5880 var t1, _i, segment, t2, t3;
5881 for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
5882 segment = segments[_i];
5883 t2 = J.getInterceptor$asx(segment);
5884 t3 = t2.get$length(segment);
5885 if (0 > t3)
5886 A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
5887 if (A.stringContainsUnchecked(segment, "/", 0)) {
5888 t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
5889 throw A.wrapException(t1);
5890 }
5891 }
5892 },
5893 _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
5894 var t1, t2, t3, t4;
5895 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();) {
5896 t3 = t1.__internal$_current;
5897 if (t3 == null)
5898 t3 = t2._as(t3);
5899 t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
5900 if (A.stringContainsUnchecked(t3, t4, 0))
5901 if (argumentError)
5902 throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
5903 else
5904 throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
5905 }
5906 },
5907 _Uri__checkWindowsDriveLetter(charCode, argumentError) {
5908 var t1,
5909 _s21_ = "Illegal drive letter ";
5910 if (!(65 <= charCode && charCode <= 90))
5911 t1 = 97 <= charCode && charCode <= 122;
5912 else
5913 t1 = true;
5914 if (t1)
5915 return;
5916 if (argumentError)
5917 throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
5918 else
5919 throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
5920 },
5921 _Uri__makeFileUri(path, slashTerminated) {
5922 var _null = null,
5923 segments = A._setArrayType(path.split("/"), type$.JSArray_String);
5924 if (B.JSString_methods.startsWith$1(path, "/"))
5925 return A._Uri__Uri(_null, _null, segments, "file");
5926 else
5927 return A._Uri__Uri(_null, _null, segments, _null);
5928 },
5929 _Uri__makeWindowsFileUrl(path, slashTerminated) {
5930 var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
5931 if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
5932 if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
5933 path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
5934 else {
5935 path = B.JSString_methods.substring$1(path, 4);
5936 if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5937 throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
5938 }
5939 else
5940 path = A.stringReplaceAllUnchecked(path, "/", _s1_);
5941 t1 = path.length;
5942 if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
5943 A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
5944 if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5945 throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
5946 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5947 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
5948 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5949 }
5950 if (B.JSString_methods.startsWith$1(path, _s1_))
5951 if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
5952 pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
5953 t1 = pathStart < 0;
5954 hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
5955 pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
5956 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5957 return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
5958 } else {
5959 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5960 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5961 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5962 }
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, _null);
5967 }
5968 },
5969 _Uri__makePort(port, scheme) {
5970 if (port != null && port === A._Uri__defaultPort(scheme))
5971 return null;
5972 return port;
5973 },
5974 _Uri__makeHost(host, start, end, strictIPv6) {
5975 var t1, t2, index, zoneIDstart, zoneID, i;
5976 if (host == null)
5977 return null;
5978 if (start === end)
5979 return "";
5980 if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
5981 t1 = end - 1;
5982 if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
5983 A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
5984 t2 = start + 1;
5985 index = A._Uri__checkZoneID(host, t2, t1);
5986 if (index < t1) {
5987 zoneIDstart = index + 1;
5988 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
5989 } else
5990 zoneID = "";
5991 A.Uri_parseIPv6Address(host, t2, index);
5992 return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
5993 }
5994 for (i = start; i < end; ++i)
5995 if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
5996 index = B.JSString_methods.indexOf$2(host, "%", start);
5997 index = index >= start && index < end ? index : end;
5998 if (index < end) {
5999 zoneIDstart = index + 1;
6000 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
6001 } else
6002 zoneID = "";
6003 A.Uri_parseIPv6Address(host, start, index);
6004 return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
6005 }
6006 return A._Uri__normalizeRegName(host, start, end);
6007 },
6008 _Uri__checkZoneID(host, start, end) {
6009 var index = B.JSString_methods.indexOf$2(host, "%", start);
6010 return index >= start && index < end ? index : end;
6011 },
6012 _Uri__normalizeZoneID(host, start, end, prefix) {
6013 var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
6014 buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
6015 for (index = start, sectionStart = index, isNormalized = true; index < end;) {
6016 char = B.JSString_methods.codeUnitAt$1(host, index);
6017 if (char === 37) {
6018 replacement = A._Uri__normalizeEscape(host, index, true);
6019 t1 = replacement == null;
6020 if (t1 && isNormalized) {
6021 index += 3;
6022 continue;
6023 }
6024 if (buffer == null)
6025 buffer = new A.StringBuffer("");
6026 t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6027 if (t1)
6028 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6029 else if (replacement === "%")
6030 A._Uri__fail(host, index, "ZoneID should not contain % anymore");
6031 buffer._contents = t2 + replacement;
6032 index += 3;
6033 sectionStart = index;
6034 isNormalized = true;
6035 } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
6036 if (isNormalized && 65 <= char && 90 >= char) {
6037 if (buffer == null)
6038 buffer = new A.StringBuffer("");
6039 if (sectionStart < index) {
6040 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6041 sectionStart = index;
6042 }
6043 isNormalized = false;
6044 }
6045 ++index;
6046 } else {
6047 if ((char & 64512) === 55296 && index + 1 < end) {
6048 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6049 if ((tail & 64512) === 56320) {
6050 char = (char & 1023) << 10 | tail & 1023 | 65536;
6051 sourceLength = 2;
6052 } else
6053 sourceLength = 1;
6054 } else
6055 sourceLength = 1;
6056 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6057 if (buffer == null) {
6058 buffer = new A.StringBuffer("");
6059 t1 = buffer;
6060 } else
6061 t1 = buffer;
6062 t1._contents += slice;
6063 t1._contents += A._Uri__escapeChar(char);
6064 index += sourceLength;
6065 sectionStart = index;
6066 }
6067 }
6068 if (buffer == null)
6069 return B.JSString_methods.substring$2(host, start, end);
6070 if (sectionStart < end)
6071 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
6072 t1 = buffer._contents;
6073 return t1.charCodeAt(0) == 0 ? t1 : t1;
6074 },
6075 _Uri__normalizeRegName(host, start, end) {
6076 var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
6077 for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
6078 char = B.JSString_methods.codeUnitAt$1(host, index);
6079 if (char === 37) {
6080 replacement = A._Uri__normalizeEscape(host, index, true);
6081 t1 = replacement == null;
6082 if (t1 && isNormalized) {
6083 index += 3;
6084 continue;
6085 }
6086 if (buffer == null)
6087 buffer = new A.StringBuffer("");
6088 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6089 t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6090 if (t1) {
6091 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6092 sourceLength = 3;
6093 } else if (replacement === "%") {
6094 replacement = "%25";
6095 sourceLength = 1;
6096 } else
6097 sourceLength = 3;
6098 buffer._contents = t2 + replacement;
6099 index += sourceLength;
6100 sectionStart = index;
6101 isNormalized = true;
6102 } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
6103 if (isNormalized && 65 <= char && 90 >= char) {
6104 if (buffer == null)
6105 buffer = new A.StringBuffer("");
6106 if (sectionStart < index) {
6107 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6108 sectionStart = index;
6109 }
6110 isNormalized = false;
6111 }
6112 ++index;
6113 } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
6114 A._Uri__fail(host, index, "Invalid character");
6115 else {
6116 if ((char & 64512) === 55296 && index + 1 < end) {
6117 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6118 if ((tail & 64512) === 56320) {
6119 char = (char & 1023) << 10 | tail & 1023 | 65536;
6120 sourceLength = 2;
6121 } else
6122 sourceLength = 1;
6123 } else
6124 sourceLength = 1;
6125 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6126 if (!isNormalized)
6127 slice = slice.toLowerCase();
6128 if (buffer == null) {
6129 buffer = new A.StringBuffer("");
6130 t1 = buffer;
6131 } else
6132 t1 = buffer;
6133 t1._contents += slice;
6134 t1._contents += A._Uri__escapeChar(char);
6135 index += sourceLength;
6136 sectionStart = index;
6137 }
6138 }
6139 if (buffer == null)
6140 return B.JSString_methods.substring$2(host, start, end);
6141 if (sectionStart < end) {
6142 slice = B.JSString_methods.substring$2(host, sectionStart, end);
6143 buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6144 }
6145 t1 = buffer._contents;
6146 return t1.charCodeAt(0) == 0 ? t1 : t1;
6147 },
6148 _Uri__makeScheme(scheme, start, end) {
6149 var i, containsUpperCase, codeUnit;
6150 if (start === end)
6151 return "";
6152 if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
6153 A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
6154 for (i = start, containsUpperCase = false; i < end; ++i) {
6155 codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
6156 if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
6157 A._Uri__fail(scheme, i, "Illegal scheme character");
6158 if (65 <= codeUnit && codeUnit <= 90)
6159 containsUpperCase = true;
6160 }
6161 scheme = B.JSString_methods.substring$2(scheme, start, end);
6162 return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
6163 },
6164 _Uri__canonicalizeScheme(scheme) {
6165 if (scheme === "http")
6166 return "http";
6167 if (scheme === "file")
6168 return "file";
6169 if (scheme === "https")
6170 return "https";
6171 if (scheme === "package")
6172 return "package";
6173 return scheme;
6174 },
6175 _Uri__makeUserInfo(userInfo, start, end) {
6176 if (userInfo == null)
6177 return "";
6178 return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false);
6179 },
6180 _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
6181 var result,
6182 isFile = scheme === "file",
6183 ensureLeadingSlash = isFile || hasAuthority;
6184 if (path == null) {
6185 if (pathSegments == null)
6186 return isFile ? "/" : "";
6187 result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
6188 } else if (pathSegments != null)
6189 throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
6190 else
6191 result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true);
6192 if (result.length === 0) {
6193 if (isFile)
6194 return "/";
6195 } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
6196 result = "/" + result;
6197 return A._Uri__normalizePath(result, scheme, hasAuthority);
6198 },
6199 _Uri__normalizePath(path, scheme, hasAuthority) {
6200 var t1 = scheme.length === 0;
6201 if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/"))
6202 return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
6203 return A._Uri__removeDotSegments(path);
6204 },
6205 _Uri__makeQuery(query, start, end, queryParameters) {
6206 if (query != null)
6207 return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true);
6208 return null;
6209 },
6210 _Uri__makeFragment(fragment, start, end) {
6211 if (fragment == null)
6212 return null;
6213 return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true);
6214 },
6215 _Uri__normalizeEscape(source, index, lowerCase) {
6216 var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
6217 t1 = index + 2;
6218 if (t1 >= source.length)
6219 return "%";
6220 firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
6221 secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
6222 firstDigitValue = A.hexDigitValue(firstDigit);
6223 secondDigitValue = A.hexDigitValue(secondDigit);
6224 if (firstDigitValue < 0 || secondDigitValue < 0)
6225 return "%";
6226 value = firstDigitValue * 16 + secondDigitValue;
6227 if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
6228 return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
6229 if (firstDigit >= 97 || secondDigit >= 97)
6230 return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
6231 return null;
6232 },
6233 _Uri__escapeChar(char) {
6234 var codeUnits, flag, encodedBytes, index, byte,
6235 _s16_ = "0123456789ABCDEF";
6236 if (char < 128) {
6237 codeUnits = new Uint8Array(3);
6238 codeUnits[0] = 37;
6239 codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
6240 codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
6241 } else {
6242 if (char > 2047)
6243 if (char > 65535) {
6244 flag = 240;
6245 encodedBytes = 4;
6246 } else {
6247 flag = 224;
6248 encodedBytes = 3;
6249 }
6250 else {
6251 flag = 192;
6252 encodedBytes = 2;
6253 }
6254 codeUnits = new Uint8Array(3 * encodedBytes);
6255 for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
6256 byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
6257 codeUnits[index] = 37;
6258 codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
6259 codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
6260 index += 3;
6261 }
6262 }
6263 return A.String_String$fromCharCodes(codeUnits, 0, null);
6264 },
6265 _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) {
6266 var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters);
6267 return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
6268 },
6269 _Uri__normalize(component, start, end, charTable, escapeDelimiters) {
6270 var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
6271 for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
6272 char = B.JSString_methods.codeUnitAt$1(component, index);
6273 if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
6274 ++index;
6275 else {
6276 if (char === 37) {
6277 replacement = A._Uri__normalizeEscape(component, index, false);
6278 if (replacement == null) {
6279 index += 3;
6280 continue;
6281 }
6282 if ("%" === replacement) {
6283 replacement = "%25";
6284 sourceLength = 1;
6285 } else
6286 sourceLength = 3;
6287 } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
6288 A._Uri__fail(component, index, "Invalid character");
6289 sourceLength = _null;
6290 replacement = sourceLength;
6291 } else {
6292 if ((char & 64512) === 55296) {
6293 t2 = index + 1;
6294 if (t2 < end) {
6295 tail = B.JSString_methods.codeUnitAt$1(component, t2);
6296 if ((tail & 64512) === 56320) {
6297 char = (char & 1023) << 10 | tail & 1023 | 65536;
6298 sourceLength = 2;
6299 } else
6300 sourceLength = 1;
6301 } else
6302 sourceLength = 1;
6303 } else
6304 sourceLength = 1;
6305 replacement = A._Uri__escapeChar(char);
6306 }
6307 if (buffer == null) {
6308 buffer = new A.StringBuffer("");
6309 t2 = buffer;
6310 } else
6311 t2 = buffer;
6312 t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
6313 t2._contents = t3 + A.S(replacement);
6314 index += sourceLength;
6315 sectionStart = index;
6316 }
6317 }
6318 if (buffer == null)
6319 return _null;
6320 if (sectionStart < end)
6321 buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
6322 t1 = buffer._contents;
6323 return t1.charCodeAt(0) == 0 ? t1 : t1;
6324 },
6325 _Uri__mayContainDotSegments(path) {
6326 if (B.JSString_methods.startsWith$1(path, "."))
6327 return true;
6328 return B.JSString_methods.indexOf$1(path, "/.") !== -1;
6329 },
6330 _Uri__removeDotSegments(path) {
6331 var output, t1, t2, appendSlash, _i, segment;
6332 if (!A._Uri__mayContainDotSegments(path))
6333 return path;
6334 output = A._setArrayType([], type$.JSArray_String);
6335 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6336 segment = t1[_i];
6337 if (J.$eq$(segment, "..")) {
6338 if (output.length !== 0) {
6339 output.pop();
6340 if (output.length === 0)
6341 output.push("");
6342 }
6343 appendSlash = true;
6344 } else if ("." === segment)
6345 appendSlash = true;
6346 else {
6347 output.push(segment);
6348 appendSlash = false;
6349 }
6350 }
6351 if (appendSlash)
6352 output.push("");
6353 return B.JSArray_methods.join$1(output, "/");
6354 },
6355 _Uri__normalizeRelativePath(path, allowScheme) {
6356 var output, t1, t2, appendSlash, _i, segment;
6357 if (!A._Uri__mayContainDotSegments(path))
6358 return !allowScheme ? A._Uri__escapeScheme(path) : path;
6359 output = A._setArrayType([], type$.JSArray_String);
6360 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6361 segment = t1[_i];
6362 if (".." === segment)
6363 if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
6364 output.pop();
6365 appendSlash = true;
6366 } else {
6367 output.push("..");
6368 appendSlash = false;
6369 }
6370 else if ("." === segment)
6371 appendSlash = true;
6372 else {
6373 output.push(segment);
6374 appendSlash = false;
6375 }
6376 }
6377 t1 = output.length;
6378 if (t1 !== 0)
6379 t1 = t1 === 1 && output[0].length === 0;
6380 else
6381 t1 = true;
6382 if (t1)
6383 return "./";
6384 if (appendSlash || B.JSArray_methods.get$last(output) === "..")
6385 output.push("");
6386 if (!allowScheme)
6387 output[0] = A._Uri__escapeScheme(output[0]);
6388 return B.JSArray_methods.join$1(output, "/");
6389 },
6390 _Uri__escapeScheme(path) {
6391 var i, char,
6392 t1 = path.length;
6393 if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
6394 for (i = 1; i < t1; ++i) {
6395 char = B.JSString_methods._codeUnitAt$1(path, i);
6396 if (char === 58)
6397 return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
6398 if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
6399 break;
6400 }
6401 return path;
6402 },
6403 _Uri__packageNameEnd(uri, path) {
6404 if (uri.isScheme$1("package") && uri._host == null)
6405 return A._skipPackageNameChars(path, 0, path.length);
6406 return -1;
6407 },
6408 _Uri__toWindowsFilePath(uri) {
6409 var hasDriveLetter, t2, host,
6410 segments = uri.get$pathSegments(),
6411 t1 = segments.length;
6412 if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
6413 A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
6414 A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
6415 hasDriveLetter = true;
6416 } else {
6417 A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
6418 hasDriveLetter = false;
6419 }
6420 t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
6421 if (uri.get$hasAuthority()) {
6422 host = uri.get$host();
6423 if (host.length !== 0)
6424 t2 = t2 + "\\" + host + "\\";
6425 }
6426 t2 = A.StringBuffer__writeAll(t2, segments, "\\");
6427 t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
6428 return t1.charCodeAt(0) == 0 ? t1 : t1;
6429 },
6430 _Uri__hexCharPairToByte(s, pos) {
6431 var byte, i, charCode;
6432 for (byte = 0, i = 0; i < 2; ++i) {
6433 charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
6434 if (48 <= charCode && charCode <= 57)
6435 byte = byte * 16 + charCode - 48;
6436 else {
6437 charCode |= 32;
6438 if (97 <= charCode && charCode <= 102)
6439 byte = byte * 16 + charCode - 87;
6440 else
6441 throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
6442 }
6443 }
6444 return byte;
6445 },
6446 _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
6447 var simple, codeUnit, t1, bytes,
6448 i = start;
6449 while (true) {
6450 if (!(i < end)) {
6451 simple = true;
6452 break;
6453 }
6454 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6455 if (codeUnit <= 127)
6456 if (codeUnit !== 37)
6457 t1 = false;
6458 else
6459 t1 = true;
6460 else
6461 t1 = true;
6462 if (t1) {
6463 simple = false;
6464 break;
6465 }
6466 ++i;
6467 }
6468 if (simple) {
6469 if (B.C_Utf8Codec !== encoding)
6470 t1 = false;
6471 else
6472 t1 = true;
6473 if (t1)
6474 return B.JSString_methods.substring$2(text, start, end);
6475 else
6476 bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
6477 } else {
6478 bytes = A._setArrayType([], type$.JSArray_int);
6479 for (t1 = text.length, i = start; i < end; ++i) {
6480 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6481 if (codeUnit > 127)
6482 throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
6483 if (codeUnit === 37) {
6484 if (i + 3 > t1)
6485 throw A.wrapException(A.ArgumentError$("Truncated URI", null));
6486 bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
6487 i += 2;
6488 } else
6489 bytes.push(codeUnit);
6490 }
6491 }
6492 return B.Utf8Decoder_false.convert$1(bytes);
6493 },
6494 _Uri__isAlphabeticCharacter(codeUnit) {
6495 var lowerCase = codeUnit | 32;
6496 return 97 <= lowerCase && lowerCase <= 122;
6497 },
6498 UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
6499 var t1, slashIndex;
6500 if (mimeType != null)
6501 t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
6502 else
6503 t1 = true;
6504 if (t1)
6505 mimeType = "";
6506 if (mimeType.length === 0 || mimeType === "application/octet-stream")
6507 t1 = buffer._contents += mimeType;
6508 else {
6509 slashIndex = A.UriData__validateMimeType(mimeType);
6510 if (slashIndex < 0)
6511 throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
6512 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
6513 buffer._contents = t1 + "/";
6514 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
6515 }
6516 if (charsetName != null) {
6517 indices.push(t1.length);
6518 indices.push(buffer._contents.length + 8);
6519 buffer._contents += ";charset=";
6520 buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
6521 }
6522 },
6523 UriData__validateMimeType(mimeType) {
6524 var t1, slashIndex, i;
6525 for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
6526 if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
6527 continue;
6528 if (slashIndex < 0) {
6529 slashIndex = i;
6530 continue;
6531 }
6532 return -1;
6533 }
6534 return slashIndex;
6535 },
6536 UriData__parse(text, start, sourceUri) {
6537 var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
6538 _s17_ = "Invalid MIME type",
6539 indices = A._setArrayType([start - 1], type$.JSArray_int);
6540 for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
6541 char = B.JSString_methods._codeUnitAt$1(text, i);
6542 if (char === 44 || char === 59)
6543 break;
6544 if (char === 47) {
6545 if (slashIndex < 0) {
6546 slashIndex = i;
6547 continue;
6548 }
6549 throw A.wrapException(A.FormatException$(_s17_, text, i));
6550 }
6551 }
6552 if (slashIndex < 0 && i > start)
6553 throw A.wrapException(A.FormatException$(_s17_, text, i));
6554 for (; char !== 44;) {
6555 indices.push(i);
6556 ++i;
6557 for (equalsIndex = -1; i < t1; ++i) {
6558 char = B.JSString_methods._codeUnitAt$1(text, i);
6559 if (char === 61) {
6560 if (equalsIndex < 0)
6561 equalsIndex = i;
6562 } else if (char === 59 || char === 44)
6563 break;
6564 }
6565 if (equalsIndex >= 0)
6566 indices.push(equalsIndex);
6567 else {
6568 lastSeparator = B.JSArray_methods.get$last(indices);
6569 if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
6570 throw A.wrapException(A.FormatException$("Expecting '='", text, i));
6571 break;
6572 }
6573 }
6574 indices.push(i);
6575 t2 = i + 1;
6576 if ((indices.length & 1) === 1)
6577 text = B.C_Base64Codec.normalize$3(text, t2, t1);
6578 else {
6579 data = A._Uri__normalize(text, t2, t1, B.List_CVk, true);
6580 if (data != null)
6581 text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
6582 }
6583 return new A.UriData(text, indices, sourceUri);
6584 },
6585 UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
6586 var t1, byteOr, i, byte, t2, t3,
6587 _s16_ = "0123456789ABCDEF";
6588 for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
6589 byte = t1.$index(bytes, i);
6590 byteOr |= byte;
6591 t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
6592 t3 = buffer._contents;
6593 if (t2)
6594 buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
6595 else {
6596 t2 = t3 + A.Primitives_stringFromCharCode(37);
6597 buffer._contents = t2;
6598 t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
6599 buffer._contents = t2;
6600 buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
6601 }
6602 }
6603 if ((byteOr & 4294967040) >>> 0 !== 0)
6604 for (i = 0; i < t1.get$length(bytes); ++i) {
6605 byte = t1.$index(bytes, i);
6606 if (byte < 0 || byte > 255)
6607 throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
6608 }
6609 },
6610 _createTables() {
6611 var _i, t1, t2, t3, b,
6612 _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
6613 _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#",
6614 tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
6615 for (_i = 0; _i < 22; ++_i)
6616 tables[_i] = new Uint8Array(96);
6617 t1 = new A._createTables_build(tables);
6618 t2 = new A._createTables_setChars();
6619 t3 = new A._createTables_setRange();
6620 b = t1.call$2(0, 225);
6621 t2.call$3(b, _s77_, 1);
6622 t2.call$3(b, _s1_, 14);
6623 t2.call$3(b, _s1_0, 34);
6624 t2.call$3(b, _s1_1, 3);
6625 t2.call$3(b, _s1_2, 172);
6626 t2.call$3(b, _s1_3, 205);
6627 b = t1.call$2(14, 225);
6628 t2.call$3(b, _s77_, 1);
6629 t2.call$3(b, _s1_, 15);
6630 t2.call$3(b, _s1_0, 34);
6631 t2.call$3(b, _s1_1, 234);
6632 t2.call$3(b, _s1_2, 172);
6633 t2.call$3(b, _s1_3, 205);
6634 b = t1.call$2(15, 225);
6635 t2.call$3(b, _s77_, 1);
6636 t2.call$3(b, "%", 225);
6637 t2.call$3(b, _s1_0, 34);
6638 t2.call$3(b, _s1_1, 9);
6639 t2.call$3(b, _s1_2, 172);
6640 t2.call$3(b, _s1_3, 205);
6641 b = t1.call$2(1, 225);
6642 t2.call$3(b, _s77_, 1);
6643 t2.call$3(b, _s1_0, 34);
6644 t2.call$3(b, _s1_1, 10);
6645 t2.call$3(b, _s1_2, 172);
6646 t2.call$3(b, _s1_3, 205);
6647 b = t1.call$2(2, 235);
6648 t2.call$3(b, _s77_, 139);
6649 t2.call$3(b, _s1_1, 131);
6650 t2.call$3(b, _s1_, 146);
6651 t2.call$3(b, _s1_2, 172);
6652 t2.call$3(b, _s1_3, 205);
6653 b = t1.call$2(3, 235);
6654 t2.call$3(b, _s77_, 11);
6655 t2.call$3(b, _s1_1, 68);
6656 t2.call$3(b, _s1_, 18);
6657 t2.call$3(b, _s1_2, 172);
6658 t2.call$3(b, _s1_3, 205);
6659 b = t1.call$2(4, 229);
6660 t2.call$3(b, _s77_, 5);
6661 t3.call$3(b, "AZ", 229);
6662 t2.call$3(b, _s1_0, 102);
6663 t2.call$3(b, "@", 68);
6664 t2.call$3(b, "[", 232);
6665 t2.call$3(b, _s1_1, 138);
6666 t2.call$3(b, _s1_2, 172);
6667 t2.call$3(b, _s1_3, 205);
6668 b = t1.call$2(5, 229);
6669 t2.call$3(b, _s77_, 5);
6670 t3.call$3(b, "AZ", 229);
6671 t2.call$3(b, _s1_0, 102);
6672 t2.call$3(b, "@", 68);
6673 t2.call$3(b, _s1_1, 138);
6674 t2.call$3(b, _s1_2, 172);
6675 t2.call$3(b, _s1_3, 205);
6676 b = t1.call$2(6, 231);
6677 t3.call$3(b, "19", 7);
6678 t2.call$3(b, "@", 68);
6679 t2.call$3(b, _s1_1, 138);
6680 t2.call$3(b, _s1_2, 172);
6681 t2.call$3(b, _s1_3, 205);
6682 b = t1.call$2(7, 231);
6683 t3.call$3(b, "09", 7);
6684 t2.call$3(b, "@", 68);
6685 t2.call$3(b, _s1_1, 138);
6686 t2.call$3(b, _s1_2, 172);
6687 t2.call$3(b, _s1_3, 205);
6688 t2.call$3(t1.call$2(8, 8), "]", 5);
6689 b = t1.call$2(9, 235);
6690 t2.call$3(b, _s77_, 11);
6691 t2.call$3(b, _s1_, 16);
6692 t2.call$3(b, _s1_1, 234);
6693 t2.call$3(b, _s1_2, 172);
6694 t2.call$3(b, _s1_3, 205);
6695 b = t1.call$2(16, 235);
6696 t2.call$3(b, _s77_, 11);
6697 t2.call$3(b, _s1_, 17);
6698 t2.call$3(b, _s1_1, 234);
6699 t2.call$3(b, _s1_2, 172);
6700 t2.call$3(b, _s1_3, 205);
6701 b = t1.call$2(17, 235);
6702 t2.call$3(b, _s77_, 11);
6703 t2.call$3(b, _s1_1, 9);
6704 t2.call$3(b, _s1_2, 172);
6705 t2.call$3(b, _s1_3, 205);
6706 b = t1.call$2(10, 235);
6707 t2.call$3(b, _s77_, 11);
6708 t2.call$3(b, _s1_, 18);
6709 t2.call$3(b, _s1_1, 234);
6710 t2.call$3(b, _s1_2, 172);
6711 t2.call$3(b, _s1_3, 205);
6712 b = t1.call$2(18, 235);
6713 t2.call$3(b, _s77_, 11);
6714 t2.call$3(b, _s1_, 19);
6715 t2.call$3(b, _s1_1, 234);
6716 t2.call$3(b, _s1_2, 172);
6717 t2.call$3(b, _s1_3, 205);
6718 b = t1.call$2(19, 235);
6719 t2.call$3(b, _s77_, 11);
6720 t2.call$3(b, _s1_1, 234);
6721 t2.call$3(b, _s1_2, 172);
6722 t2.call$3(b, _s1_3, 205);
6723 b = t1.call$2(11, 235);
6724 t2.call$3(b, _s77_, 11);
6725 t2.call$3(b, _s1_1, 10);
6726 t2.call$3(b, _s1_2, 172);
6727 t2.call$3(b, _s1_3, 205);
6728 b = t1.call$2(12, 236);
6729 t2.call$3(b, _s77_, 12);
6730 t2.call$3(b, _s1_2, 12);
6731 t2.call$3(b, _s1_3, 205);
6732 b = t1.call$2(13, 237);
6733 t2.call$3(b, _s77_, 13);
6734 t2.call$3(b, _s1_2, 13);
6735 t3.call$3(t1.call$2(20, 245), "az", 21);
6736 b = t1.call$2(21, 245);
6737 t3.call$3(b, "az", 21);
6738 t3.call$3(b, "09", 21);
6739 t2.call$3(b, "+-.", 21);
6740 return tables;
6741 },
6742 _scan(uri, start, end, state, indices) {
6743 var i, table, char, transition,
6744 tables = $.$get$_scannerTables();
6745 for (i = start; i < end; ++i) {
6746 table = tables[state];
6747 char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
6748 transition = table[char > 95 ? 31 : char];
6749 state = transition & 31;
6750 indices[transition >>> 5] = i;
6751 }
6752 return state;
6753 },
6754 _SimpleUri__packageNameEnd(uri) {
6755 if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
6756 return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
6757 return -1;
6758 },
6759 _skipPackageNameChars(source, start, end) {
6760 var i, dots, char;
6761 for (i = start, dots = 0; i < end; ++i) {
6762 char = B.JSString_methods.codeUnitAt$1(source, i);
6763 if (char === 47)
6764 return dots !== 0 ? i : -1;
6765 if (char === 37 || char === 58)
6766 return -1;
6767 dots |= char ^ 46;
6768 }
6769 return -1;
6770 },
6771 _caseInsensitiveCompareStart(prefix, string, start) {
6772 var t1, result, i, prefixChar, stringChar, delta, lowerChar;
6773 for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
6774 prefixChar = B.JSString_methods._codeUnitAt$1(prefix, i);
6775 stringChar = B.JSString_methods._codeUnitAt$1(string, start + i);
6776 delta = prefixChar ^ stringChar;
6777 if (delta !== 0) {
6778 if (delta === 32) {
6779 lowerChar = stringChar | delta;
6780 if (97 <= lowerChar && lowerChar <= 122) {
6781 result = 32;
6782 continue;
6783 }
6784 }
6785 return -1;
6786 }
6787 }
6788 return result;
6789 },
6790 NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
6791 this._box_0 = t0;
6792 this.sb = t1;
6793 },
6794 DateTime: function DateTime(t0, t1) {
6795 this._core$_value = t0;
6796 this.isUtc = t1;
6797 },
6798 Duration: function Duration(t0) {
6799 this._duration = t0;
6800 },
6801 Error: function Error() {
6802 },
6803 AssertionError: function AssertionError(t0) {
6804 this.message = t0;
6805 },
6806 TypeError: function TypeError() {
6807 },
6808 NullThrownError: function NullThrownError() {
6809 },
6810 ArgumentError: function ArgumentError(t0, t1, t2, t3) {
6811 var _ = this;
6812 _._hasValue = t0;
6813 _.invalidValue = t1;
6814 _.name = t2;
6815 _.message = t3;
6816 },
6817 RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
6818 var _ = this;
6819 _.start = t0;
6820 _.end = t1;
6821 _._hasValue = t2;
6822 _.invalidValue = t3;
6823 _.name = t4;
6824 _.message = t5;
6825 },
6826 IndexError: function IndexError(t0, t1, t2, t3, t4) {
6827 var _ = this;
6828 _.length = t0;
6829 _._hasValue = t1;
6830 _.invalidValue = t2;
6831 _.name = t3;
6832 _.message = t4;
6833 },
6834 NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
6835 var _ = this;
6836 _._core$_receiver = t0;
6837 _._memberName = t1;
6838 _._core$_arguments = t2;
6839 _._namedArguments = t3;
6840 },
6841 UnsupportedError: function UnsupportedError(t0) {
6842 this.message = t0;
6843 },
6844 UnimplementedError: function UnimplementedError(t0) {
6845 this.message = t0;
6846 },
6847 StateError: function StateError(t0) {
6848 this.message = t0;
6849 },
6850 ConcurrentModificationError: function ConcurrentModificationError(t0) {
6851 this.modifiedObject = t0;
6852 },
6853 OutOfMemoryError: function OutOfMemoryError() {
6854 },
6855 StackOverflowError: function StackOverflowError() {
6856 },
6857 CyclicInitializationError: function CyclicInitializationError(t0) {
6858 this.variableName = t0;
6859 },
6860 _Exception: function _Exception(t0) {
6861 this.message = t0;
6862 },
6863 FormatException: function FormatException(t0, t1, t2) {
6864 this.message = t0;
6865 this.source = t1;
6866 this.offset = t2;
6867 },
6868 Iterable: function Iterable() {
6869 },
6870 _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
6871 this.length = t0;
6872 this._generator = t1;
6873 this.$ti = t2;
6874 },
6875 Iterator: function Iterator() {
6876 },
6877 MapEntry: function MapEntry(t0, t1, t2) {
6878 this.key = t0;
6879 this.value = t1;
6880 this.$ti = t2;
6881 },
6882 Null: function Null() {
6883 },
6884 Object: function Object() {
6885 },
6886 _StringStackTrace: function _StringStackTrace(t0) {
6887 this._stackTrace = t0;
6888 },
6889 Runes: function Runes(t0) {
6890 this.string = t0;
6891 },
6892 RuneIterator: function RuneIterator(t0) {
6893 var _ = this;
6894 _.string = t0;
6895 _._nextPosition = _._position = 0;
6896 _._currentCodePoint = -1;
6897 },
6898 StringBuffer: function StringBuffer(t0) {
6899 this._contents = t0;
6900 },
6901 Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
6902 this.host = t0;
6903 },
6904 Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
6905 this.host = t0;
6906 },
6907 Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
6908 this.error = t0;
6909 this.host = t1;
6910 },
6911 _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
6912 var _ = this;
6913 _.scheme = t0;
6914 _._userInfo = t1;
6915 _._host = t2;
6916 _._port = t3;
6917 _.path = t4;
6918 _._query = t5;
6919 _._fragment = t6;
6920 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6921 },
6922 _Uri__makePath_closure: function _Uri__makePath_closure() {
6923 },
6924 UriData: function UriData(t0, t1, t2) {
6925 this._text = t0;
6926 this._separatorIndices = t1;
6927 this._uriCache = t2;
6928 },
6929 _createTables_build: function _createTables_build(t0) {
6930 this.tables = t0;
6931 },
6932 _createTables_setChars: function _createTables_setChars() {
6933 },
6934 _createTables_setRange: function _createTables_setRange() {
6935 },
6936 _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
6937 var _ = this;
6938 _._uri = t0;
6939 _._schemeEnd = t1;
6940 _._hostStart = t2;
6941 _._portStart = t3;
6942 _._pathStart = t4;
6943 _._queryStart = t5;
6944 _._fragmentStart = t6;
6945 _._schemeCache = t7;
6946 _._hashCodeCache = null;
6947 },
6948 _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
6949 var _ = this;
6950 _.scheme = t0;
6951 _._userInfo = t1;
6952 _._host = t2;
6953 _._port = t3;
6954 _.path = t4;
6955 _._query = t5;
6956 _._fragment = t6;
6957 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6958 },
6959 Expando: function Expando(t0) {
6960 this._jsWeakMap = t0;
6961 },
6962 _convertDataTree(data) {
6963 var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
6964 t1.toString;
6965 return t1;
6966 },
6967 callConstructor(constr, $arguments) {
6968 var args, factoryFunction;
6969 if ($arguments instanceof Array)
6970 switch ($arguments.length) {
6971 case 0:
6972 return new constr();
6973 case 1:
6974 return new constr($arguments[0]);
6975 case 2:
6976 return new constr($arguments[0], $arguments[1]);
6977 case 3:
6978 return new constr($arguments[0], $arguments[1], $arguments[2]);
6979 case 4:
6980 return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
6981 }
6982 args = [null];
6983 B.JSArray_methods.addAll$1(args, $arguments);
6984 factoryFunction = constr.bind.apply(constr, args);
6985 String(factoryFunction);
6986 return new factoryFunction();
6987 },
6988 _convertDataTree__convert: function _convertDataTree__convert(t0) {
6989 this._convertedObjects = t0;
6990 },
6991 max(a, b) {
6992 return Math.max(A.checkNum(a), A.checkNum(b));
6993 },
6994 pow(x, exponent) {
6995 return Math.pow(x, exponent);
6996 },
6997 Random_Random() {
6998 return B.C__JSRandom;
6999 },
7000 _JSRandom: function _JSRandom() {
7001 },
7002 ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
7003 var _ = this;
7004 _._arg_parser$_options = t0;
7005 _._aliases = t1;
7006 _.options = t2;
7007 _.commands = t3;
7008 _._optionsAndSeparators = t4;
7009 _.allowTrailingOptions = t5;
7010 _.usageLineLength = t6;
7011 },
7012 ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
7013 this.$this = t0;
7014 },
7015 ArgParserException$(message, commands) {
7016 return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
7017 },
7018 ArgParserException: function ArgParserException(t0, t1, t2, t3) {
7019 var _ = this;
7020 _.commands = t0;
7021 _.message = t1;
7022 _.source = t2;
7023 _.offset = t3;
7024 },
7025 ArgResults: function ArgResults(t0, t1, t2, t3) {
7026 var _ = this;
7027 _._parser = t0;
7028 _._parsed = t1;
7029 _.name = t2;
7030 _.rest = t3;
7031 },
7032 Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
7033 var _ = this;
7034 _.name = t0;
7035 _.abbr = t1;
7036 _.help = t2;
7037 _.valueHelp = t3;
7038 _.allowed = t4;
7039 _.allowedHelp = t5;
7040 _.defaultsTo = t6;
7041 _.negatable = t7;
7042 _.callback = t8;
7043 _.type = t9;
7044 _.splitCommas = t10;
7045 _.mandatory = t11;
7046 _.hide = t12;
7047 },
7048 OptionType: function OptionType(t0) {
7049 this.name = t0;
7050 },
7051 Parser$(_commandName, _grammar, _args, _parent, rest) {
7052 var t1 = A._setArrayType([], type$.JSArray_String);
7053 if (rest != null)
7054 B.JSArray_methods.addAll$1(t1, rest);
7055 return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
7056 },
7057 _isLetterOrDigit(codeUnit) {
7058 var t1;
7059 if (!(codeUnit >= 65 && codeUnit <= 90))
7060 if (!(codeUnit >= 97 && codeUnit <= 122))
7061 t1 = codeUnit >= 48 && codeUnit <= 57;
7062 else
7063 t1 = true;
7064 else
7065 t1 = true;
7066 return t1;
7067 },
7068 Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
7069 var _ = this;
7070 _._commandName = t0;
7071 _._parser$_parent = t1;
7072 _._grammar = t2;
7073 _._args = t3;
7074 _._parser$_rest = t4;
7075 _._results = t5;
7076 },
7077 Parser_parse_closure: function Parser_parse_closure(t0) {
7078 this.$this = t0;
7079 },
7080 Parser__setOption_closure: function Parser__setOption_closure() {
7081 },
7082 _Usage: function _Usage(t0, t1, t2) {
7083 var _ = this;
7084 _._usage$_optionsAndSeparators = t0;
7085 _._buffer = t1;
7086 _._currentColumn = 0;
7087 _.___Usage__columnWidths = $;
7088 _._newlinesNeeded = 0;
7089 _.lineLength = t2;
7090 },
7091 _Usage__writeOption_closure: function _Usage__writeOption_closure() {
7092 },
7093 _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
7094 this.option = t0;
7095 },
7096 ErrorResult: function ErrorResult(t0, t1) {
7097 this.error = t0;
7098 this.stackTrace = t1;
7099 },
7100 ValueResult: function ValueResult(t0, t1) {
7101 this.value = t0;
7102 this.$ti = t1;
7103 },
7104 StreamCompleter: function StreamCompleter(t0, t1) {
7105 this._stream_completer$_stream = t0;
7106 this.$ti = t1;
7107 },
7108 _CompleterStream: function _CompleterStream(t0) {
7109 this._sourceStream = this._stream_completer$_controller = null;
7110 this.$ti = t0;
7111 },
7112 StreamGroup: function StreamGroup(t0, t1, t2) {
7113 var _ = this;
7114 _.__StreamGroup__controller = $;
7115 _._closed = false;
7116 _._stream_group$_state = t0;
7117 _._subscriptions = t1;
7118 _.$ti = t2;
7119 },
7120 StreamGroup_add_closure: function StreamGroup_add_closure() {
7121 },
7122 StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
7123 this.$this = t0;
7124 this.stream = t1;
7125 },
7126 StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
7127 },
7128 StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
7129 this.$this = t0;
7130 },
7131 StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
7132 this.$this = t0;
7133 this.stream = t1;
7134 },
7135 _StreamGroupState: function _StreamGroupState(t0) {
7136 this.name = t0;
7137 },
7138 StreamQueue: function StreamQueue(t0, t1, t2, t3) {
7139 var _ = this;
7140 _._stream_queue$_source = t0;
7141 _._stream_queue$_subscription = null;
7142 _._isDone = false;
7143 _._eventsReceived = 0;
7144 _._eventQueue = t1;
7145 _._requestQueue = t2;
7146 _.$ti = t3;
7147 },
7148 StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
7149 this.$this = t0;
7150 },
7151 StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
7152 this.$this = t0;
7153 },
7154 StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
7155 this.$this = t0;
7156 },
7157 _NextRequest: function _NextRequest(t0, t1) {
7158 this._completer = t0;
7159 this.$ti = t1;
7160 },
7161 Repl: function Repl(t0, t1, t2, t3) {
7162 var _ = this;
7163 _.prompt = t0;
7164 _.continuation = t1;
7165 _.validator = t2;
7166 _.__Repl__adapter = $;
7167 _.history = t3;
7168 },
7169 alwaysValid_closure: function alwaysValid_closure() {
7170 },
7171 ReplAdapter: function ReplAdapter(t0) {
7172 this.repl = t0;
7173 this.rl = null;
7174 },
7175 ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
7176 var _ = this;
7177 _._box_0 = t0;
7178 _.$this = t1;
7179 _.rl = t2;
7180 _.runController = t3;
7181 },
7182 ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
7183 this.lineController = t0;
7184 },
7185 Stdin: function Stdin() {
7186 },
7187 Stdout: function Stdout() {
7188 },
7189 ReadlineModule: function ReadlineModule() {
7190 },
7191 ReadlineOptions: function ReadlineOptions() {
7192 },
7193 ReadlineInterface: function ReadlineInterface() {
7194 },
7195 EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
7196 this.$ti = t0;
7197 },
7198 _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
7199 },
7200 DefaultEquality: function DefaultEquality() {
7201 },
7202 IterableEquality: function IterableEquality() {
7203 },
7204 ListEquality: function ListEquality() {
7205 },
7206 _MapEntry: function _MapEntry(t0, t1, t2) {
7207 this.equality = t0;
7208 this.key = t1;
7209 this.value = t2;
7210 },
7211 MapEquality: function MapEquality() {
7212 },
7213 QueueList$(initialCapacity, $E) {
7214 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>"));
7215 },
7216 QueueList_QueueList$from(source, $E) {
7217 var $length, queue, t1;
7218 if (type$.List_dynamic._is(source)) {
7219 $length = J.get$length$asx(source);
7220 queue = A.QueueList$($length + 1, $E);
7221 J.setRange$4$ax(queue._table, 0, $length, source, 0);
7222 queue._tail = $length;
7223 return queue;
7224 } else {
7225 t1 = A.QueueList$(null, $E);
7226 t1.addAll$1(0, source);
7227 return t1;
7228 }
7229 },
7230 QueueList__computeInitialCapacity(initialCapacity) {
7231 if (initialCapacity == null || initialCapacity < 8)
7232 return 8;
7233 ++initialCapacity;
7234 if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
7235 return initialCapacity;
7236 return A.QueueList__nextPowerOf2(initialCapacity);
7237 },
7238 QueueList__nextPowerOf2(number) {
7239 var nextNumber;
7240 number = (number << 1 >>> 0) - 1;
7241 for (; true; number = nextNumber) {
7242 nextNumber = (number & number - 1) >>> 0;
7243 if (nextNumber === 0)
7244 return number;
7245 }
7246 },
7247 QueueList: function QueueList(t0, t1, t2, t3) {
7248 var _ = this;
7249 _._table = t0;
7250 _._head = t1;
7251 _._tail = t2;
7252 _.$ti = t3;
7253 },
7254 _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
7255 var _ = this;
7256 _._queue_list$_delegate = t0;
7257 _._table = t1;
7258 _._head = t2;
7259 _._tail = t3;
7260 _.$ti = t4;
7261 },
7262 _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
7263 },
7264 UnmodifiableSetMixin__throw() {
7265 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
7266 },
7267 UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
7268 this._base = t0;
7269 this.$ti = t1;
7270 },
7271 UnmodifiableSetMixin: function UnmodifiableSetMixin() {
7272 },
7273 _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
7274 },
7275 _DelegatingIterableBase: function _DelegatingIterableBase() {
7276 },
7277 DelegatingSet: function DelegatingSet(t0, t1) {
7278 this._base = t0;
7279 this.$ti = t1;
7280 },
7281 MapKeySet: function MapKeySet(t0, t1) {
7282 this._baseMap = t0;
7283 this.$ti = t1;
7284 },
7285 MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
7286 this.$this = t0;
7287 this.other = t1;
7288 },
7289 _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
7290 },
7291 BufferModule: function BufferModule() {
7292 },
7293 BufferConstants: function BufferConstants() {
7294 },
7295 Buffer: function Buffer() {
7296 },
7297 ConsoleModule: function ConsoleModule() {
7298 },
7299 Console: function Console() {
7300 },
7301 EventEmitter: function EventEmitter() {
7302 },
7303 fs() {
7304 var t1 = $._fs;
7305 return t1 == null ? $._fs = self.fs : t1;
7306 },
7307 FS: function FS() {
7308 },
7309 FSConstants: function FSConstants() {
7310 },
7311 FSWatcher: function FSWatcher() {
7312 },
7313 ReadStream: function ReadStream() {
7314 },
7315 ReadStreamOptions: function ReadStreamOptions() {
7316 },
7317 WriteStream: function WriteStream() {
7318 },
7319 WriteStreamOptions: function WriteStreamOptions() {
7320 },
7321 FileOptions: function FileOptions() {
7322 },
7323 StatOptions: function StatOptions() {
7324 },
7325 MkdirOptions: function MkdirOptions() {
7326 },
7327 RmdirOptions: function RmdirOptions() {
7328 },
7329 WatchOptions: function WatchOptions() {
7330 },
7331 WatchFileOptions: function WatchFileOptions() {
7332 },
7333 Stats: function Stats() {
7334 },
7335 Promise: function Promise() {
7336 },
7337 Date: function Date() {
7338 },
7339 JsError: function JsError() {
7340 },
7341 Atomics: function Atomics() {
7342 },
7343 Modules: function Modules() {
7344 },
7345 Module1: function Module1() {
7346 },
7347 Net: function Net() {
7348 },
7349 Socket: function Socket() {
7350 },
7351 NetAddress: function NetAddress() {
7352 },
7353 NetServer: function NetServer() {
7354 },
7355 NodeJsError: function NodeJsError() {
7356 },
7357 JsAssertionError: function JsAssertionError() {
7358 },
7359 JsRangeError: function JsRangeError() {
7360 },
7361 JsReferenceError: function JsReferenceError() {
7362 },
7363 JsSyntaxError: function JsSyntaxError() {
7364 },
7365 JsTypeError: function JsTypeError() {
7366 },
7367 JsSystemError: function JsSystemError() {
7368 },
7369 Process: function Process() {
7370 },
7371 CPUUsage: function CPUUsage() {
7372 },
7373 Release: function Release() {
7374 },
7375 StreamModule: function StreamModule() {
7376 },
7377 Readable: function Readable() {
7378 },
7379 Writable: function Writable() {
7380 },
7381 Duplex: function Duplex() {
7382 },
7383 Transform: function Transform() {
7384 },
7385 WritableOptions: function WritableOptions() {
7386 },
7387 ReadableOptions: function ReadableOptions() {
7388 },
7389 Immediate: function Immediate() {
7390 },
7391 Timeout: function Timeout() {
7392 },
7393 TTY: function TTY() {
7394 },
7395 TTYReadStream: function TTYReadStream() {
7396 },
7397 TTYWriteStream: function TTYWriteStream() {
7398 },
7399 jsify(dartObject) {
7400 if (A._isBasicType(dartObject))
7401 return dartObject;
7402 return A._convertDataTree(dartObject);
7403 },
7404 _isBasicType(value) {
7405 return false;
7406 },
7407 promiseToFuture(promise, $T) {
7408 var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
7409 completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
7410 J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
7411 return t1;
7412 },
7413 futureToPromise(future, $T) {
7414 return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
7415 },
7416 Util: function Util() {
7417 },
7418 promiseToFuture_closure: function promiseToFuture_closure(t0) {
7419 this.completer = t0;
7420 },
7421 promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
7422 this.completer = t0;
7423 },
7424 futureToPromise_closure: function futureToPromise_closure(t0, t1) {
7425 this.future = t0;
7426 this.T = t1;
7427 },
7428 futureToPromise__closure: function futureToPromise__closure(t0, t1) {
7429 this.resolve = t0;
7430 this.T = t1;
7431 },
7432 Context_Context(style) {
7433 var current = style == null ? A.current() : ".";
7434 if (style == null)
7435 style = $.$get$Style_platform();
7436 return new A.Context(type$.InternalStyle._as(style), current);
7437 },
7438 _parseUri(uri) {
7439 if (typeof uri == "string")
7440 return A.Uri_parse(uri);
7441 if (type$.Uri._is(uri))
7442 return uri;
7443 throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
7444 },
7445 _validateArgList(method, args) {
7446 var numArgs, i, numArgs0, message, t1, t2, t3, t4;
7447 for (numArgs = args.length, i = 1; i < numArgs; ++i) {
7448 if (args[i] == null || args[i - 1] != null)
7449 continue;
7450 for (; numArgs >= 1; numArgs = numArgs0) {
7451 numArgs0 = numArgs - 1;
7452 if (args[numArgs0] != null)
7453 break;
7454 }
7455 message = new A.StringBuffer("");
7456 t1 = "" + (method + "(");
7457 message._contents = t1;
7458 t2 = A._arrayInstanceType(args);
7459 t3 = t2._eval$1("SubListIterable<1>");
7460 t4 = new A.SubListIterable(args, 0, numArgs, t3);
7461 t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
7462 t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
7463 message._contents = t3;
7464 message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
7465 throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
7466 }
7467 },
7468 Context: function Context(t0, t1) {
7469 this.style = t0;
7470 this._context$_current = t1;
7471 },
7472 Context_joinAll_closure: function Context_joinAll_closure() {
7473 },
7474 Context_split_closure: function Context_split_closure() {
7475 },
7476 _validateArgList_closure: function _validateArgList_closure() {
7477 },
7478 _PathDirection: function _PathDirection(t0) {
7479 this.name = t0;
7480 },
7481 _PathRelation: function _PathRelation(t0) {
7482 this.name = t0;
7483 },
7484 InternalStyle: function InternalStyle() {
7485 },
7486 ParsedPath_ParsedPath$parse(path, style) {
7487 var t1, parts, separators, start, i,
7488 root = style.getRoot$1(path),
7489 isRootRelative = style.isRootRelative$1(path);
7490 if (root != null)
7491 path = B.JSString_methods.substring$1(path, root.length);
7492 t1 = type$.JSArray_String;
7493 parts = A._setArrayType([], t1);
7494 separators = A._setArrayType([], t1);
7495 t1 = path.length;
7496 if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
7497 separators.push(path[0]);
7498 start = 1;
7499 } else {
7500 separators.push("");
7501 start = 0;
7502 }
7503 for (i = start; i < t1; ++i)
7504 if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
7505 parts.push(B.JSString_methods.substring$2(path, start, i));
7506 separators.push(path[i]);
7507 start = i + 1;
7508 }
7509 if (start < t1) {
7510 parts.push(B.JSString_methods.substring$1(path, start));
7511 separators.push("");
7512 }
7513 return new A.ParsedPath(style, root, isRootRelative, parts, separators);
7514 },
7515 ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
7516 var _ = this;
7517 _.style = t0;
7518 _.root = t1;
7519 _.isRootRelative = t2;
7520 _.parts = t3;
7521 _.separators = t4;
7522 },
7523 ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
7524 },
7525 ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
7526 },
7527 PathException$(message) {
7528 return new A.PathException(message);
7529 },
7530 PathException: function PathException(t0) {
7531 this.message = t0;
7532 },
7533 PathMap__create(context, $V) {
7534 var t1 = {};
7535 t1.context = context;
7536 t1.context = $.$get$context();
7537 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);
7538 },
7539 PathMap: function PathMap(t0, t1) {
7540 this._map = t0;
7541 this.$ti = t1;
7542 },
7543 PathMap__create_closure: function PathMap__create_closure(t0) {
7544 this._box_0 = t0;
7545 },
7546 PathMap__create_closure0: function PathMap__create_closure0(t0) {
7547 this._box_0 = t0;
7548 },
7549 PathMap__create_closure1: function PathMap__create_closure1() {
7550 },
7551 Style__getPlatformStyle() {
7552 if (A.Uri_base().get$scheme() !== "file")
7553 return $.$get$Style_url();
7554 var t1 = A.Uri_base();
7555 if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
7556 return $.$get$Style_url();
7557 if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
7558 return $.$get$Style_windows();
7559 return $.$get$Style_posix();
7560 },
7561 Style: function Style() {
7562 },
7563 PosixStyle: function PosixStyle(t0, t1, t2) {
7564 this.separatorPattern = t0;
7565 this.needsSeparatorPattern = t1;
7566 this.rootPattern = t2;
7567 },
7568 UrlStyle: function UrlStyle(t0, t1, t2, t3) {
7569 var _ = this;
7570 _.separatorPattern = t0;
7571 _.needsSeparatorPattern = t1;
7572 _.rootPattern = t2;
7573 _.relativeRootPattern = t3;
7574 },
7575 WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
7576 var _ = this;
7577 _.separatorPattern = t0;
7578 _.needsSeparatorPattern = t1;
7579 _.rootPattern = t2;
7580 _.relativeRootPattern = t3;
7581 },
7582 WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
7583 },
7584 CssMediaQuery: function CssMediaQuery(t0, t1, t2) {
7585 this.modifier = t0;
7586 this.type = t1;
7587 this.features = t2;
7588 },
7589 _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
7590 this._media_query$_name = t0;
7591 },
7592 MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
7593 this.query = t0;
7594 },
7595 ModifiableCssAtRule$($name, span, childless, value) {
7596 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7597 return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7598 },
7599 ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
7600 var _ = this;
7601 _.name = t0;
7602 _.value = t1;
7603 _.isChildless = t2;
7604 _.span = t3;
7605 _.children = t4;
7606 _._children = t5;
7607 _._indexInParent = _._parent = null;
7608 _.isGroupEnd = false;
7609 },
7610 ModifiableCssComment: function ModifiableCssComment(t0, t1) {
7611 var _ = this;
7612 _.text = t0;
7613 _.span = t1;
7614 _._indexInParent = _._parent = null;
7615 _.isGroupEnd = false;
7616 },
7617 ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
7618 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
7619 if (parsedAsCustomProperty)
7620 if (!J.startsWith$1$s($name.get$value($name), "--"))
7621 A.throwExpression(A.ArgumentError$(string$.parsed, null));
7622 else if (!(value.get$value(value) instanceof A.SassString))
7623 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
7624 return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
7625 },
7626 ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
7627 var _ = this;
7628 _.name = t0;
7629 _.value = t1;
7630 _.parsedAsCustomProperty = t2;
7631 _.valueSpanForMap = t3;
7632 _.span = t4;
7633 _._indexInParent = _._parent = null;
7634 _.isGroupEnd = false;
7635 },
7636 ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
7637 var _ = this;
7638 _.url = t0;
7639 _.modifiers = t1;
7640 _.span = t2;
7641 _._indexInParent = _._parent = null;
7642 _.isGroupEnd = false;
7643 },
7644 ModifiableCssKeyframeBlock$(selector, span) {
7645 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7646 return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7647 },
7648 ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
7649 var _ = this;
7650 _.selector = t0;
7651 _.span = t1;
7652 _.children = t2;
7653 _._children = t3;
7654 _._indexInParent = _._parent = null;
7655 _.isGroupEnd = false;
7656 },
7657 ModifiableCssMediaRule$(queries, span) {
7658 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
7659 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7660 if (J.get$isEmpty$asx(queries))
7661 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
7662 return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
7663 },
7664 ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
7665 var _ = this;
7666 _.queries = t0;
7667 _.span = t1;
7668 _.children = t2;
7669 _._children = t3;
7670 _._indexInParent = _._parent = null;
7671 _.isGroupEnd = false;
7672 },
7673 ModifiableCssNode: function ModifiableCssNode() {
7674 },
7675 ModifiableCssParentNode: function ModifiableCssParentNode() {
7676 },
7677 ModifiableCssStyleRule$(selector, span, originalSelector) {
7678 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7679 return new A.ModifiableCssStyleRule(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7680 },
7681 ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
7682 var _ = this;
7683 _.selector = t0;
7684 _.originalSelector = t1;
7685 _.span = t2;
7686 _.children = t3;
7687 _._children = t4;
7688 _._indexInParent = _._parent = null;
7689 _.isGroupEnd = false;
7690 },
7691 ModifiableCssStylesheet$(span) {
7692 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7693 return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7694 },
7695 ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
7696 var _ = this;
7697 _.span = t0;
7698 _.children = t1;
7699 _._children = t2;
7700 _._indexInParent = _._parent = null;
7701 _.isGroupEnd = false;
7702 },
7703 ModifiableCssSupportsRule$(condition, span) {
7704 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7705 return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7706 },
7707 ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
7708 var _ = this;
7709 _.condition = t0;
7710 _.span = t1;
7711 _.children = t2;
7712 _._children = t3;
7713 _._indexInParent = _._parent = null;
7714 _.isGroupEnd = false;
7715 },
7716 ModifiableCssValue: function ModifiableCssValue(t0, t1, t2) {
7717 this.value = t0;
7718 this.span = t1;
7719 this.$ti = t2;
7720 },
7721 CssNode: function CssNode() {
7722 },
7723 CssParentNode: function CssParentNode() {
7724 },
7725 CssStylesheet: function CssStylesheet(t0, t1) {
7726 this.children = t0;
7727 this.span = t1;
7728 },
7729 CssValue: function CssValue(t0, t1, t2) {
7730 this.value = t0;
7731 this.span = t1;
7732 this.$ti = t2;
7733 },
7734 AstNode: function AstNode() {
7735 },
7736 _FakeAstNode: function _FakeAstNode(t0) {
7737 this._callback = t0;
7738 },
7739 Argument: function Argument(t0, t1, t2) {
7740 this.name = t0;
7741 this.defaultValue = t1;
7742 this.span = t2;
7743 },
7744 ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
7745 return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
7746 },
7747 ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
7748 this.$arguments = t0;
7749 this.restArgument = t1;
7750 this.span = t2;
7751 },
7752 ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
7753 },
7754 ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
7755 },
7756 ArgumentInvocation$empty(span) {
7757 return new A.ArgumentInvocation(B.List_empty7, B.Map_empty2, null, null, span);
7758 },
7759 ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
7760 var _ = this;
7761 _.positional = t0;
7762 _.named = t1;
7763 _.rest = t2;
7764 _.keywordRest = t3;
7765 _.span = t4;
7766 },
7767 AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
7768 var _ = this;
7769 _.include = t0;
7770 _.names = t1;
7771 _._all = t2;
7772 _._at_root_query$_rule = t3;
7773 },
7774 ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
7775 var _ = this;
7776 _.name = t0;
7777 _.expression = t1;
7778 _.isGuarded = t2;
7779 _.span = t3;
7780 },
7781 BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
7782 var _ = this;
7783 _.operator = t0;
7784 _.left = t1;
7785 _.right = t2;
7786 _.allowsSlash = t3;
7787 },
7788 BinaryOperator: function BinaryOperator(t0, t1, t2) {
7789 this.name = t0;
7790 this.operator = t1;
7791 this.precedence = t2;
7792 },
7793 BooleanExpression: function BooleanExpression(t0, t1) {
7794 this.value = t0;
7795 this.span = t1;
7796 },
7797 CalculationExpression__verifyArguments($arguments) {
7798 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression);
7799 },
7800 CalculationExpression__verify(expression) {
7801 var t1,
7802 _s29_ = "Invalid calculation argument ";
7803 if (expression instanceof A.NumberExpression)
7804 return;
7805 if (expression instanceof A.CalculationExpression)
7806 return;
7807 if (expression instanceof A.VariableExpression)
7808 return;
7809 if (expression instanceof A.FunctionExpression)
7810 return;
7811 if (expression instanceof A.IfExpression)
7812 return;
7813 if (expression instanceof A.StringExpression) {
7814 if (expression.hasQuotes)
7815 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7816 } else if (expression instanceof A.ParenthesizedExpression)
7817 A.CalculationExpression__verify(expression.expression);
7818 else if (expression instanceof A.BinaryOperationExpression) {
7819 A.CalculationExpression__verify(expression.left);
7820 A.CalculationExpression__verify(expression.right);
7821 t1 = expression.operator;
7822 if (t1 === B.BinaryOperator_AcR0)
7823 return;
7824 if (t1 === B.BinaryOperator_iyO)
7825 return;
7826 if (t1 === B.BinaryOperator_O1M)
7827 return;
7828 if (t1 === B.BinaryOperator_RTB)
7829 return;
7830 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7831 } else
7832 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7833 },
7834 CalculationExpression: function CalculationExpression(t0, t1, t2) {
7835 this.name = t0;
7836 this.$arguments = t1;
7837 this.span = t2;
7838 },
7839 CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
7840 },
7841 ColorExpression: function ColorExpression(t0, t1) {
7842 this.value = t0;
7843 this.span = t1;
7844 },
7845 FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
7846 var _ = this;
7847 _.namespace = t0;
7848 _.originalName = t1;
7849 _.$arguments = t2;
7850 _.span = t3;
7851 },
7852 IfExpression: function IfExpression(t0, t1) {
7853 this.$arguments = t0;
7854 this.span = t1;
7855 },
7856 InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
7857 this.name = t0;
7858 this.$arguments = t1;
7859 this.span = t2;
7860 },
7861 ListExpression: function ListExpression(t0, t1, t2, t3) {
7862 var _ = this;
7863 _.contents = t0;
7864 _.separator = t1;
7865 _.hasBrackets = t2;
7866 _.span = t3;
7867 },
7868 ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
7869 this.$this = t0;
7870 },
7871 MapExpression: function MapExpression(t0, t1) {
7872 this.pairs = t0;
7873 this.span = t1;
7874 },
7875 MapExpression_toString_closure: function MapExpression_toString_closure() {
7876 },
7877 NullExpression: function NullExpression(t0) {
7878 this.span = t0;
7879 },
7880 NumberExpression: function NumberExpression(t0, t1, t2) {
7881 this.value = t0;
7882 this.unit = t1;
7883 this.span = t2;
7884 },
7885 ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
7886 this.expression = t0;
7887 this.span = t1;
7888 },
7889 SelectorExpression: function SelectorExpression(t0) {
7890 this.span = t0;
7891 },
7892 StringExpression_quoteText(text) {
7893 var t1,
7894 quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
7895 buffer = new A.StringBuffer("");
7896 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
7897 A.StringExpression__quoteInnerText(text, quote, buffer, true);
7898 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
7899 return t1.charCodeAt(0) == 0 ? t1 : t1;
7900 },
7901 StringExpression__quoteInnerText(text, quote, buffer, $static) {
7902 var t1, t2, i, codeUnit, next, t3;
7903 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
7904 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
7905 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
7906 buffer.writeCharCode$1(92);
7907 buffer.writeCharCode$1(97);
7908 if (i !== t2) {
7909 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
7910 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
7911 buffer.writeCharCode$1(32);
7912 }
7913 } else {
7914 if (codeUnit !== quote)
7915 if (codeUnit !== 92)
7916 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
7917 else
7918 t3 = true;
7919 else
7920 t3 = true;
7921 if (t3)
7922 buffer.writeCharCode$1(92);
7923 buffer.writeCharCode$1(codeUnit);
7924 }
7925 }
7926 },
7927 StringExpression__bestQuote(strings) {
7928 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
7929 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
7930 t2 = t1.get$current(t1);
7931 for (t3 = t2.length, i = 0; i < t3; ++i) {
7932 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
7933 if (codeUnit === 39)
7934 return 34;
7935 if (codeUnit === 34)
7936 containsDoubleQuote = true;
7937 }
7938 }
7939 return containsDoubleQuote ? 39 : 34;
7940 },
7941 StringExpression: function StringExpression(t0, t1) {
7942 this.text = t0;
7943 this.hasQuotes = t1;
7944 },
7945 SupportsExpression: function SupportsExpression(t0) {
7946 this.condition = t0;
7947 },
7948 UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
7949 this.operator = t0;
7950 this.operand = t1;
7951 this.span = t2;
7952 },
7953 UnaryOperator: function UnaryOperator(t0, t1) {
7954 this.name = t0;
7955 this.operator = t1;
7956 },
7957 ValueExpression: function ValueExpression(t0, t1) {
7958 this.value = t0;
7959 this.span = t1;
7960 },
7961 VariableExpression: function VariableExpression(t0, t1, t2) {
7962 this.namespace = t0;
7963 this.name = t1;
7964 this.span = t2;
7965 },
7966 DynamicImport: function DynamicImport(t0, t1) {
7967 this.urlString = t0;
7968 this.span = t1;
7969 },
7970 StaticImport: function StaticImport(t0, t1, t2) {
7971 this.url = t0;
7972 this.modifiers = t1;
7973 this.span = t2;
7974 },
7975 Interpolation$(contents, span) {
7976 var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
7977 t1.Interpolation$2(contents, span);
7978 return t1;
7979 },
7980 Interpolation: function Interpolation(t0, t1) {
7981 this.contents = t0;
7982 this.span = t1;
7983 },
7984 Interpolation_toString_closure: function Interpolation_toString_closure() {
7985 },
7986 AtRootRule$(children, span, query) {
7987 var t1 = A.List_List$unmodifiable(children, type$.Statement),
7988 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
7989 return new A.AtRootRule(query, span, t1, t2);
7990 },
7991 AtRootRule: function AtRootRule(t0, t1, t2, t3) {
7992 var _ = this;
7993 _.query = t0;
7994 _.span = t1;
7995 _.children = t2;
7996 _.hasDeclarations = t3;
7997 },
7998 AtRule$($name, span, children, value) {
7999 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
8000 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8001 return new A.AtRule($name, value, span, t1, t2 === true);
8002 },
8003 AtRule: function AtRule(t0, t1, t2, t3, t4) {
8004 var _ = this;
8005 _.name = t0;
8006 _.value = t1;
8007 _.span = t2;
8008 _.children = t3;
8009 _.hasDeclarations = t4;
8010 },
8011 CallableDeclaration: function CallableDeclaration() {
8012 },
8013 ContentBlock$($arguments, children, span) {
8014 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8015 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8016 return new A.ContentBlock("@content", $arguments, span, t1, t2);
8017 },
8018 ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
8019 var _ = this;
8020 _.name = t0;
8021 _.$arguments = t1;
8022 _.span = t2;
8023 _.children = t3;
8024 _.hasDeclarations = t4;
8025 },
8026 ContentRule: function ContentRule(t0, t1) {
8027 this.$arguments = t0;
8028 this.span = t1;
8029 },
8030 DebugRule: function DebugRule(t0, t1) {
8031 this.expression = t0;
8032 this.span = t1;
8033 },
8034 Declaration$($name, value, span) {
8035 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8036 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
8037 return new A.Declaration($name, value, span, null, false);
8038 },
8039 Declaration$nested($name, children, span, value) {
8040 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8041 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8042 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8043 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
8044 return new A.Declaration($name, value, span, t1, t2);
8045 },
8046 Declaration: function Declaration(t0, t1, t2, t3, t4) {
8047 var _ = this;
8048 _.name = t0;
8049 _.value = t1;
8050 _.span = t2;
8051 _.children = t3;
8052 _.hasDeclarations = t4;
8053 },
8054 EachRule$(variables, list, children, span) {
8055 var t1 = A.List_List$unmodifiable(variables, type$.String),
8056 t2 = A.List_List$unmodifiable(children, type$.Statement),
8057 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
8058 return new A.EachRule(t1, list, span, t2, t3);
8059 },
8060 EachRule: function EachRule(t0, t1, t2, t3, t4) {
8061 var _ = this;
8062 _.variables = t0;
8063 _.list = t1;
8064 _.span = t2;
8065 _.children = t3;
8066 _.hasDeclarations = t4;
8067 },
8068 EachRule_toString_closure: function EachRule_toString_closure() {
8069 },
8070 ErrorRule: function ErrorRule(t0, t1) {
8071 this.expression = t0;
8072 this.span = t1;
8073 },
8074 ExtendRule: function ExtendRule(t0, t1, t2) {
8075 this.selector = t0;
8076 this.isOptional = t1;
8077 this.span = t2;
8078 },
8079 ForRule$(variable, from, to, children, span, exclusive) {
8080 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8081 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8082 return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
8083 },
8084 ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
8085 var _ = this;
8086 _.variable = t0;
8087 _.from = t1;
8088 _.to = t2;
8089 _.isExclusive = t3;
8090 _.span = t4;
8091 _.children = t5;
8092 _.hasDeclarations = t6;
8093 },
8094 ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
8095 var _ = this;
8096 _.url = t0;
8097 _.shownMixinsAndFunctions = t1;
8098 _.shownVariables = t2;
8099 _.hiddenMixinsAndFunctions = t3;
8100 _.hiddenVariables = t4;
8101 _.prefix = t5;
8102 _.configuration = t6;
8103 _.span = t7;
8104 },
8105 FunctionRule$($name, $arguments, children, span, comment) {
8106 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8107 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8108 return new A.FunctionRule($name, $arguments, span, t1, t2);
8109 },
8110 FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
8111 var _ = this;
8112 _.name = t0;
8113 _.$arguments = t1;
8114 _.span = t2;
8115 _.children = t3;
8116 _.hasDeclarations = t4;
8117 },
8118 IfClause$(expression, children) {
8119 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8120 return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8121 },
8122 ElseClause$(children) {
8123 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8124 return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8125 },
8126 IfRule: function IfRule(t0, t1, t2) {
8127 this.clauses = t0;
8128 this.lastClause = t1;
8129 this.span = t2;
8130 },
8131 IfRule_toString_closure: function IfRule_toString_closure() {
8132 },
8133 IfRuleClause: function IfRuleClause() {
8134 },
8135 IfRuleClause$__closure: function IfRuleClause$__closure() {
8136 },
8137 IfRuleClause$___closure: function IfRuleClause$___closure() {
8138 },
8139 IfClause: function IfClause(t0, t1, t2) {
8140 this.expression = t0;
8141 this.children = t1;
8142 this.hasDeclarations = t2;
8143 },
8144 ElseClause: function ElseClause(t0, t1) {
8145 this.children = t0;
8146 this.hasDeclarations = t1;
8147 },
8148 ImportRule: function ImportRule(t0, t1) {
8149 this.imports = t0;
8150 this.span = t1;
8151 },
8152 IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
8153 var _ = this;
8154 _.namespace = t0;
8155 _.name = t1;
8156 _.$arguments = t2;
8157 _.content = t3;
8158 _.span = t4;
8159 },
8160 LoudComment: function LoudComment(t0) {
8161 this.text = t0;
8162 },
8163 MediaRule$(query, children, span) {
8164 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8165 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8166 return new A.MediaRule(query, span, t1, t2);
8167 },
8168 MediaRule: function MediaRule(t0, t1, t2, t3) {
8169 var _ = this;
8170 _.query = t0;
8171 _.span = t1;
8172 _.children = t2;
8173 _.hasDeclarations = t3;
8174 },
8175 MixinRule$($name, $arguments, children, span, comment) {
8176 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8177 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8178 return new A.MixinRule($name, $arguments, span, t1, t2);
8179 },
8180 MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
8181 var _ = this;
8182 _.__MixinRule_hasContent = $;
8183 _.name = t0;
8184 _.$arguments = t1;
8185 _.span = t2;
8186 _.children = t3;
8187 _.hasDeclarations = t4;
8188 },
8189 _HasContentVisitor: function _HasContentVisitor() {
8190 },
8191 ParentStatement: function ParentStatement() {
8192 },
8193 ParentStatement_closure: function ParentStatement_closure() {
8194 },
8195 ParentStatement__closure: function ParentStatement__closure() {
8196 },
8197 ReturnRule: function ReturnRule(t0, t1) {
8198 this.expression = t0;
8199 this.span = t1;
8200 },
8201 SilentComment: function SilentComment(t0, t1) {
8202 this.text = t0;
8203 this.span = t1;
8204 },
8205 StyleRule$(selector, children, span) {
8206 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8207 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8208 return new A.StyleRule(selector, span, t1, t2);
8209 },
8210 StyleRule: function StyleRule(t0, t1, t2, t3) {
8211 var _ = this;
8212 _.selector = t0;
8213 _.span = t1;
8214 _.children = t2;
8215 _.hasDeclarations = t3;
8216 },
8217 Stylesheet$(children, span) {
8218 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8219 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8220 t3 = A.List_List$unmodifiable(children, type$.Statement),
8221 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8222 t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
8223 t1.Stylesheet$internal$3$plainCss(children, span, false);
8224 return t1;
8225 },
8226 Stylesheet$internal(children, span, plainCss) {
8227 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8228 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8229 t3 = A.List_List$unmodifiable(children, type$.Statement),
8230 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8231 t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
8232 t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
8233 return t1;
8234 },
8235 Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
8236 var t1, t2;
8237 switch (syntax) {
8238 case B.Syntax_Sass:
8239 t1 = A.SpanScanner$(contents, url);
8240 t2 = logger == null ? B.StderrLogger_false : logger;
8241 return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8242 case B.Syntax_SCSS:
8243 return A.ScssParser$(contents, logger, url).parse$0();
8244 case B.Syntax_CSS:
8245 t1 = A.SpanScanner$(contents, url);
8246 t2 = logger == null ? B.StderrLogger_false : logger;
8247 return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8248 default:
8249 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
8250 }
8251 },
8252 Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
8253 var _ = this;
8254 _.span = t0;
8255 _.plainCss = t1;
8256 _._uses = t2;
8257 _._forwards = t3;
8258 _.children = t4;
8259 _.hasDeclarations = t5;
8260 },
8261 SupportsRule$(condition, children, span) {
8262 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8263 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8264 return new A.SupportsRule(condition, span, t1, t2);
8265 },
8266 SupportsRule: function SupportsRule(t0, t1, t2, t3) {
8267 var _ = this;
8268 _.condition = t0;
8269 _.span = t1;
8270 _.children = t2;
8271 _.hasDeclarations = t3;
8272 },
8273 UseRule: function UseRule(t0, t1, t2, t3) {
8274 var _ = this;
8275 _.url = t0;
8276 _.namespace = t1;
8277 _.configuration = t2;
8278 _.span = t3;
8279 },
8280 VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
8281 if (namespace != null && global)
8282 A.throwExpression(A.ArgumentError$(string$.Other_, null));
8283 return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
8284 },
8285 VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
8286 var _ = this;
8287 _.namespace = t0;
8288 _.name = t1;
8289 _.expression = t2;
8290 _.isGuarded = t3;
8291 _.isGlobal = t4;
8292 _.span = t5;
8293 },
8294 WarnRule: function WarnRule(t0, t1) {
8295 this.expression = t0;
8296 this.span = t1;
8297 },
8298 WhileRule$(condition, children, span) {
8299 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8300 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8301 return new A.WhileRule(condition, span, t1, t2);
8302 },
8303 WhileRule: function WhileRule(t0, t1, t2, t3) {
8304 var _ = this;
8305 _.condition = t0;
8306 _.span = t1;
8307 _.children = t2;
8308 _.hasDeclarations = t3;
8309 },
8310 SupportsAnything: function SupportsAnything(t0, t1) {
8311 this.contents = t0;
8312 this.span = t1;
8313 },
8314 SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
8315 this.name = t0;
8316 this.value = t1;
8317 this.span = t2;
8318 },
8319 SupportsFunction: function SupportsFunction(t0, t1, t2) {
8320 this.name = t0;
8321 this.$arguments = t1;
8322 this.span = t2;
8323 },
8324 SupportsInterpolation: function SupportsInterpolation(t0, t1) {
8325 this.expression = t0;
8326 this.span = t1;
8327 },
8328 SupportsNegation: function SupportsNegation(t0, t1) {
8329 this.condition = t0;
8330 this.span = t1;
8331 },
8332 SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
8333 var _ = this;
8334 _.left = t0;
8335 _.right = t1;
8336 _.operator = t2;
8337 _.span = t3;
8338 },
8339 Selector: function Selector() {
8340 },
8341 AttributeSelector: function AttributeSelector(t0, t1, t2, t3) {
8342 var _ = this;
8343 _.name = t0;
8344 _.op = t1;
8345 _.value = t2;
8346 _.modifier = t3;
8347 },
8348 AttributeOperator: function AttributeOperator(t0) {
8349 this._attribute$_text = t0;
8350 },
8351 ClassSelector: function ClassSelector(t0) {
8352 this.name = t0;
8353 },
8354 ComplexSelector$(components, lineBreak) {
8355 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
8356 if (t1.length === 0)
8357 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8358 return new A.ComplexSelector(t1, lineBreak);
8359 },
8360 ComplexSelector: function ComplexSelector(t0, t1) {
8361 var _ = this;
8362 _.components = t0;
8363 _.lineBreak = t1;
8364 _._complex$_maxSpecificity = _._minSpecificity = null;
8365 _.__ComplexSelector_isInvisible = $;
8366 },
8367 ComplexSelector_isInvisible_closure: function ComplexSelector_isInvisible_closure() {
8368 },
8369 Combinator: function Combinator(t0) {
8370 this._complex$_text = t0;
8371 },
8372 CompoundSelector$(components) {
8373 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
8374 if (t1.length === 0)
8375 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8376 return new A.CompoundSelector(t1);
8377 },
8378 CompoundSelector: function CompoundSelector(t0) {
8379 this.components = t0;
8380 this._maxSpecificity = this._compound$_minSpecificity = null;
8381 },
8382 CompoundSelector_isInvisible_closure: function CompoundSelector_isInvisible_closure() {
8383 },
8384 IDSelector: function IDSelector(t0) {
8385 this.name = t0;
8386 },
8387 IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
8388 this.$this = t0;
8389 },
8390 SelectorList$(components) {
8391 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
8392 if (t1.length === 0)
8393 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8394 return new A.SelectorList(t1);
8395 },
8396 SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, logger) {
8397 return A.SelectorParser$(contents, allowParent, allowPlaceholder, logger, null).parse$0();
8398 },
8399 SelectorList: function SelectorList(t0) {
8400 this.components = t0;
8401 },
8402 SelectorList_isInvisible_closure: function SelectorList_isInvisible_closure() {
8403 },
8404 SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
8405 },
8406 SelectorList_asSassList__closure: function SelectorList_asSassList__closure() {
8407 },
8408 SelectorList_unify_closure: function SelectorList_unify_closure(t0) {
8409 this.other = t0;
8410 },
8411 SelectorList_unify__closure: function SelectorList_unify__closure(t0) {
8412 this.complex1 = t0;
8413 },
8414 SelectorList_unify___closure: function SelectorList_unify___closure() {
8415 },
8416 SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
8417 this.$this = t0;
8418 this.implicitParent = t1;
8419 this.parent = t2;
8420 },
8421 SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
8422 this.complex = t0;
8423 },
8424 SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
8425 this._box_0 = t0;
8426 },
8427 SelectorList__complexContainsParentSelector_closure: function SelectorList__complexContainsParentSelector_closure() {
8428 },
8429 SelectorList__complexContainsParentSelector__closure: function SelectorList__complexContainsParentSelector__closure() {
8430 },
8431 SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
8432 },
8433 SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
8434 this.parent = t0;
8435 },
8436 SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1) {
8437 this.compound = t0;
8438 this.resolvedMembers = t1;
8439 },
8440 ParentSelector: function ParentSelector(t0) {
8441 this.suffix = t0;
8442 },
8443 PlaceholderSelector: function PlaceholderSelector(t0) {
8444 this.name = t0;
8445 },
8446 PseudoSelector$($name, argument, element, selector) {
8447 var t1 = !element,
8448 t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
8449 return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector);
8450 },
8451 PseudoSelector__isFakePseudoElement($name) {
8452 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
8453 case 97:
8454 case 65:
8455 return A.equalsIgnoreCase($name, "after");
8456 case 98:
8457 case 66:
8458 return A.equalsIgnoreCase($name, "before");
8459 case 102:
8460 case 70:
8461 return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
8462 default:
8463 return false;
8464 }
8465 },
8466 PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5) {
8467 var _ = this;
8468 _.name = t0;
8469 _.normalizedName = t1;
8470 _.isClass = t2;
8471 _.isSyntacticClass = t3;
8472 _.argument = t4;
8473 _.selector = t5;
8474 _._pseudo$_maxSpecificity = _._pseudo$_minSpecificity = null;
8475 },
8476 PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
8477 },
8478 QualifiedName: function QualifiedName(t0, t1) {
8479 this.name = t0;
8480 this.namespace = t1;
8481 },
8482 SimpleSelector: function SimpleSelector() {
8483 },
8484 TypeSelector: function TypeSelector(t0) {
8485 this.name = t0;
8486 },
8487 UniversalSelector: function UniversalSelector(t0) {
8488 this.namespace = t0;
8489 },
8490 compileAsync(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8491 return A.compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
8492 },
8493 compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8494 var $async$goto = 0,
8495 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8496 $async$returnValue, t1, terseLogger, t2, stylesheet, result;
8497 var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8498 if ($async$errorCode === 1)
8499 return A._asyncRethrow($async$result, $async$completer);
8500 while (true)
8501 switch ($async$goto) {
8502 case 0:
8503 // Function start
8504 if (!verbose) {
8505 t1 = logger == null ? new A.StderrLogger(false) : logger;
8506 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8507 logger = terseLogger;
8508 } else
8509 terseLogger = null;
8510 t1 = syntax === A.Syntax_forPath(path);
8511 $async$goto = t1 ? 3 : 5;
8512 break;
8513 case 3:
8514 // then
8515 t1 = $.$get$context();
8516 t2 = t1.absolute$7(".", null, null, null, null, null, null);
8517 $async$goto = 6;
8518 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);
8519 case 6:
8520 // returning from await.
8521 t2 = $async$result;
8522 t2.toString;
8523 stylesheet = t2;
8524 // goto join
8525 $async$goto = 4;
8526 break;
8527 case 5:
8528 // else
8529 t1 = A.readFile(path);
8530 t2 = $.$get$context();
8531 stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, t2.toUri$1(path));
8532 t1 = t2;
8533 case 4:
8534 // join
8535 $async$goto = 7;
8536 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);
8537 case 7:
8538 // returning from await.
8539 result = $async$result;
8540 if (terseLogger != null)
8541 terseLogger.summarize$1$node(false);
8542 $async$returnValue = result;
8543 // goto return
8544 $async$goto = 1;
8545 break;
8546 case 1:
8547 // return
8548 return A._asyncReturn($async$returnValue, $async$completer);
8549 }
8550 });
8551 return A._asyncStartSync($async$compileAsync, $async$completer);
8552 },
8553 compileStringAsync(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8554 return A.compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
8555 },
8556 compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8557 var $async$goto = 0,
8558 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8559 $async$returnValue, t1, terseLogger, stylesheet, result;
8560 var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8561 if ($async$errorCode === 1)
8562 return A._asyncRethrow($async$result, $async$completer);
8563 while (true)
8564 switch ($async$goto) {
8565 case 0:
8566 // Function start
8567 if (!verbose) {
8568 t1 = logger == null ? new A.StderrLogger(false) : logger;
8569 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8570 logger = terseLogger;
8571 } else
8572 terseLogger = null;
8573 stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
8574 $async$goto = 3;
8575 return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
8576 case 3:
8577 // returning from await.
8578 result = $async$result;
8579 if (terseLogger != null)
8580 terseLogger.summarize$1$node(false);
8581 $async$returnValue = result;
8582 // goto return
8583 $async$goto = 1;
8584 break;
8585 case 1:
8586 // return
8587 return A._asyncReturn($async$returnValue, $async$completer);
8588 }
8589 });
8590 return A._asyncStartSync($async$compileStringAsync, $async$completer);
8591 },
8592 _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8593 var $async$goto = 0,
8594 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8595 $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
8596 var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8597 if ($async$errorCode === 1)
8598 return A._asyncRethrow($async$result, $async$completer);
8599 while (true)
8600 switch ($async$goto) {
8601 case 0:
8602 // Function start
8603 $async$temp1 = A;
8604 $async$goto = 3;
8605 return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
8606 case 3:
8607 // returning from await.
8608 serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
8609 resultSourceMap = serializeResult.sourceMap;
8610 if (resultSourceMap != null && true)
8611 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
8612 $async$returnValue = new A.CompileResult(serializeResult);
8613 // goto return
8614 $async$goto = 1;
8615 break;
8616 case 1:
8617 // return
8618 return A._asyncReturn($async$returnValue, $async$completer);
8619 }
8620 });
8621 return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
8622 },
8623 _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
8624 this.stylesheet = t0;
8625 this.importCache = t1;
8626 },
8627 AsyncEnvironment$() {
8628 var t1 = type$.String,
8629 t2 = type$.Module_AsyncCallable,
8630 t3 = type$.AstNode,
8631 t4 = type$.int,
8632 t5 = type$.AsyncCallable,
8633 t6 = type$.JSArray_Map_String_AsyncCallable;
8634 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);
8635 },
8636 AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8637 var t1 = type$.String,
8638 t2 = type$.int;
8639 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);
8640 },
8641 _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
8642 var t1, t2, t3, t4, t5, t6;
8643 if (forwarded == null)
8644 forwarded = B.Set_empty0;
8645 t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
8646 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);
8647 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);
8648 t4 = type$.Map_String_AsyncCallable;
8649 t5 = type$.AsyncCallable;
8650 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);
8651 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);
8652 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
8653 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()));
8654 },
8655 _EnvironmentModule__makeModulesByVariable0(forwarded) {
8656 var modulesByVariable, t1, t2, t3, t4, t5;
8657 if (forwarded.get$isEmpty(forwarded))
8658 return B.Map_empty3;
8659 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
8660 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8661 t2 = t1.get$current(t1);
8662 if (t2 instanceof A._EnvironmentModule0) {
8663 for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8664 t4 = t3.get$current(t3);
8665 t5 = t4.get$variables();
8666 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8667 }
8668 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
8669 } else {
8670 t3 = t2.get$variables();
8671 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8672 }
8673 }
8674 return modulesByVariable;
8675 },
8676 _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
8677 var t1, t2, t3;
8678 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8679 if (otherMaps.get$isEmpty(otherMaps))
8680 return localMap;
8681 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8682 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8683 t3 = t2.get$current(t2);
8684 if (t3.get$isNotEmpty(t3))
8685 t1.push(t3);
8686 }
8687 t1.push(localMap);
8688 if (t1.length === 1)
8689 return localMap;
8690 return A.MergedMapView$(t1, type$.String, $V);
8691 },
8692 _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8693 return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8694 },
8695 AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8696 var _ = this;
8697 _._async_environment$_modules = t0;
8698 _._async_environment$_namespaceNodes = t1;
8699 _._async_environment$_globalModules = t2;
8700 _._async_environment$_importedModules = t3;
8701 _._async_environment$_forwardedModules = t4;
8702 _._async_environment$_nestedForwardedModules = t5;
8703 _._async_environment$_allModules = t6;
8704 _._async_environment$_variables = t7;
8705 _._async_environment$_variableNodes = t8;
8706 _._async_environment$_variableIndices = t9;
8707 _._async_environment$_functions = t10;
8708 _._async_environment$_functionIndices = t11;
8709 _._async_environment$_mixins = t12;
8710 _._async_environment$_mixinIndices = t13;
8711 _._async_environment$_content = t14;
8712 _._async_environment$_inMixin = false;
8713 _._async_environment$_inSemiGlobalScope = true;
8714 _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
8715 },
8716 AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
8717 },
8718 AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
8719 },
8720 AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
8721 },
8722 AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
8723 this.name = t0;
8724 },
8725 AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
8726 this.$this = t0;
8727 this.name = t1;
8728 },
8729 AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
8730 this.name = t0;
8731 },
8732 AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
8733 this.$this = t0;
8734 this.name = t1;
8735 },
8736 AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
8737 this.name = t0;
8738 },
8739 AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
8740 this.name = t0;
8741 },
8742 AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
8743 },
8744 AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
8745 },
8746 AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
8747 this.callback = t0;
8748 this.T = t1;
8749 },
8750 AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
8751 this.entry = t0;
8752 this.T = t1;
8753 },
8754 _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
8755 var _ = this;
8756 _.upstream = t0;
8757 _.variables = t1;
8758 _.variableNodes = t2;
8759 _.functions = t3;
8760 _.mixins = t4;
8761 _.extensionStore = t5;
8762 _.css = t6;
8763 _.transitivelyContainsCss = t7;
8764 _.transitivelyContainsExtensions = t8;
8765 _._async_environment$_environment = t9;
8766 _._async_environment$_modulesByVariable = t10;
8767 },
8768 _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
8769 },
8770 _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
8771 },
8772 _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
8773 },
8774 _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
8775 },
8776 _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
8777 },
8778 _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
8779 },
8780 AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
8781 var sassPath, t2, t3, _i, path, _null = null,
8782 t1 = J.get$env$x(self.process);
8783 if (t1 == null)
8784 t1 = type$.Object._as(t1);
8785 sassPath = A._asStringQ(t1.SASS_PATH);
8786 t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
8787 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
8788 t3 = t2.get$current(t2);
8789 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
8790 }
8791 if (sassPath != null) {
8792 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
8793 t3 = t2.length;
8794 _i = 0;
8795 for (; _i < t3; ++_i) {
8796 path = t2[_i];
8797 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
8798 }
8799 }
8800 return t1;
8801 },
8802 AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
8803 var _ = this;
8804 _._async_import_cache$_importers = t0;
8805 _._async_import_cache$_logger = t1;
8806 _._async_import_cache$_canonicalizeCache = t2;
8807 _._async_import_cache$_relativeCanonicalizeCache = t3;
8808 _._async_import_cache$_importCache = t4;
8809 _._async_import_cache$_resultsCache = t5;
8810 },
8811 AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
8812 var _ = this;
8813 _.$this = t0;
8814 _.baseUrl = t1;
8815 _.url = t2;
8816 _.baseImporter = t3;
8817 _.forImport = t4;
8818 },
8819 AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
8820 this.$this = t0;
8821 this.url = t1;
8822 this.forImport = t2;
8823 },
8824 AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
8825 this.importer = t0;
8826 this.url = t1;
8827 },
8828 AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
8829 var _ = this;
8830 _.$this = t0;
8831 _.importer = t1;
8832 _.canonicalUrl = t2;
8833 _.originalUrl = t3;
8834 _.quiet = t4;
8835 },
8836 AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
8837 this.canonicalUrl = t0;
8838 },
8839 AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
8840 },
8841 AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
8842 },
8843 AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
8844 return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
8845 },
8846 AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
8847 this.name = t0;
8848 this._async_built_in$_arguments = t1;
8849 this._async_built_in$_callback = t2;
8850 },
8851 AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
8852 this.callback = t0;
8853 },
8854 BuiltInCallable$function($name, $arguments, callback, url) {
8855 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));
8856 },
8857 BuiltInCallable$mixin($name, $arguments, callback, url) {
8858 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));
8859 },
8860 BuiltInCallable$overloadedFunction($name, overloads) {
8861 var t2, t3, t4, t5, t6, t7, t8,
8862 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
8863 for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value, t4 = "@function " + $name + "(", t5 = type$.String, t6 = type$.VariableDeclaration; t2.moveNext$0();) {
8864 t7 = t2.get$current(t2);
8865 t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
8866 t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false).parseArgumentDeclaration$0(), t7.value, t3));
8867 }
8868 return new A.BuiltInCallable($name, t1);
8869 },
8870 BuiltInCallable: function BuiltInCallable(t0, t1) {
8871 this.name = t0;
8872 this._overloads = t1;
8873 },
8874 BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
8875 this.callback = t0;
8876 },
8877 PlainCssCallable: function PlainCssCallable(t0) {
8878 this.name = t0;
8879 },
8880 UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
8881 var _ = this;
8882 _.declaration = t0;
8883 _.environment = t1;
8884 _.inDependency = t2;
8885 _.$ti = t3;
8886 },
8887 _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8888 var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet).stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true),
8889 resultSourceMap = serializeResult.sourceMap;
8890 if (resultSourceMap != null && true)
8891 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
8892 return new A.CompileResult(serializeResult);
8893 },
8894 _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
8895 this.stylesheet = t0;
8896 this.importCache = t1;
8897 },
8898 CompileResult: function CompileResult(t0) {
8899 this._serialize = t0;
8900 },
8901 Configuration: function Configuration(t0) {
8902 this._values = t0;
8903 },
8904 Configuration_toString_closure: function Configuration_toString_closure() {
8905 },
8906 ExplicitConfiguration: function ExplicitConfiguration(t0, t1) {
8907 this.nodeWithSpan = t0;
8908 this._values = t1;
8909 },
8910 ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
8911 this.value = t0;
8912 this.configurationSpan = t1;
8913 this.assignmentNode = t2;
8914 },
8915 Environment$() {
8916 var t1 = type$.String,
8917 t2 = type$.Module_Callable,
8918 t3 = type$.AstNode,
8919 t4 = type$.int,
8920 t5 = type$.Callable,
8921 t6 = type$.JSArray_Map_String_Callable;
8922 return new A.Environment(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_Callable), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value)], type$.JSArray_Map_String_Value), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
8923 },
8924 Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8925 var t1 = type$.String,
8926 t2 = type$.int;
8927 return new A.Environment(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
8928 },
8929 _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
8930 var t1, t2, t3, t4, t5, t6;
8931 if (forwarded == null)
8932 forwarded = B.Set_empty;
8933 t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
8934 t2 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure(), type$.Map_String_Value), type$.Value);
8935 t3 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure0(), type$.Map_String_AstNode), type$.AstNode);
8936 t4 = type$.Map_String_Callable;
8937 t5 = type$.Callable;
8938 t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
8939 t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
8940 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
8941 return A._EnvironmentModule$_(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
8942 },
8943 _EnvironmentModule__makeModulesByVariable(forwarded) {
8944 var modulesByVariable, t1, t2, t3, t4, t5;
8945 if (forwarded.get$isEmpty(forwarded))
8946 return B.Map_empty;
8947 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
8948 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8949 t2 = t1.get$current(t1);
8950 if (t2 instanceof A._EnvironmentModule) {
8951 for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8952 t4 = t3.get$current(t3);
8953 t5 = t4.get$variables();
8954 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8955 }
8956 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
8957 } else {
8958 t3 = t2.get$variables();
8959 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8960 }
8961 }
8962 return modulesByVariable;
8963 },
8964 _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
8965 var t1, t2, t3;
8966 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8967 if (otherMaps.get$isEmpty(otherMaps))
8968 return localMap;
8969 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8970 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8971 t3 = t2.get$current(t2);
8972 if (t3.get$isNotEmpty(t3))
8973 t1.push(t3);
8974 }
8975 t1.push(localMap);
8976 if (t1.length === 1)
8977 return localMap;
8978 return A.MergedMapView$(t1, type$.String, $V);
8979 },
8980 _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8981 return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8982 },
8983 Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8984 var _ = this;
8985 _._environment$_modules = t0;
8986 _._namespaceNodes = t1;
8987 _._globalModules = t2;
8988 _._importedModules = t3;
8989 _._forwardedModules = t4;
8990 _._nestedForwardedModules = t5;
8991 _._allModules = t6;
8992 _._variables = t7;
8993 _._variableNodes = t8;
8994 _._variableIndices = t9;
8995 _._functions = t10;
8996 _._functionIndices = t11;
8997 _._mixins = t12;
8998 _._mixinIndices = t13;
8999 _._content = t14;
9000 _._inMixin = false;
9001 _._inSemiGlobalScope = true;
9002 _._lastVariableIndex = _._lastVariableName = null;
9003 },
9004 Environment_importForwards_closure: function Environment_importForwards_closure() {
9005 },
9006 Environment_importForwards_closure0: function Environment_importForwards_closure0() {
9007 },
9008 Environment_importForwards_closure1: function Environment_importForwards_closure1() {
9009 },
9010 Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
9011 this.name = t0;
9012 },
9013 Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
9014 this.$this = t0;
9015 this.name = t1;
9016 },
9017 Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
9018 this.name = t0;
9019 },
9020 Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
9021 this.$this = t0;
9022 this.name = t1;
9023 },
9024 Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
9025 this.name = t0;
9026 },
9027 Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
9028 this.name = t0;
9029 },
9030 Environment_toModule_closure: function Environment_toModule_closure() {
9031 },
9032 Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
9033 },
9034 Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
9035 this.callback = t0;
9036 this.T = t1;
9037 },
9038 Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
9039 this.entry = t0;
9040 this.T = t1;
9041 },
9042 _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
9043 var _ = this;
9044 _.upstream = t0;
9045 _.variables = t1;
9046 _.variableNodes = t2;
9047 _.functions = t3;
9048 _.mixins = t4;
9049 _.extensionStore = t5;
9050 _.css = t6;
9051 _.transitivelyContainsCss = t7;
9052 _.transitivelyContainsExtensions = t8;
9053 _._environment$_environment = t9;
9054 _._modulesByVariable = t10;
9055 },
9056 _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
9057 },
9058 _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
9059 },
9060 _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
9061 },
9062 _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
9063 },
9064 _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
9065 },
9066 _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
9067 },
9068 SassException$(message, span) {
9069 return new A.SassException(message, span);
9070 },
9071 MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
9072 return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
9073 },
9074 SassFormatException$(message, span) {
9075 return new A.SassFormatException(message, span);
9076 },
9077 SassScriptException$(message) {
9078 return new A.SassScriptException(message);
9079 },
9080 MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
9081 return new A.MultiSpanSassScriptException(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
9082 },
9083 SassException: function SassException(t0, t1) {
9084 this._span_exception$_message = t0;
9085 this._span = t1;
9086 },
9087 MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
9088 var _ = this;
9089 _.primaryLabel = t0;
9090 _.secondarySpans = t1;
9091 _._span_exception$_message = t2;
9092 _._span = t3;
9093 },
9094 SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
9095 this.trace = t0;
9096 this._span_exception$_message = t1;
9097 this._span = t2;
9098 },
9099 MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
9100 var _ = this;
9101 _.trace = t0;
9102 _.primaryLabel = t1;
9103 _.secondarySpans = t2;
9104 _._span_exception$_message = t3;
9105 _._span = t4;
9106 },
9107 SassFormatException: function SassFormatException(t0, t1) {
9108 this._span_exception$_message = t0;
9109 this._span = t1;
9110 },
9111 SassScriptException: function SassScriptException(t0) {
9112 this.message = t0;
9113 },
9114 MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
9115 this.primaryLabel = t0;
9116 this.secondarySpans = t1;
9117 this.message = t2;
9118 },
9119 compileStylesheet(options, graph, source, destination, ifModified) {
9120 return A.compileStylesheet$body(options, graph, source, destination, ifModified);
9121 },
9122 compileStylesheet$body(options, graph, source, destination, ifModified) {
9123 var $async$goto = 0,
9124 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9125 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], syntax, result, importCache, error, exception, t2, t3, t4, t5, t6, t7, t8, t9, result0, logger, terseLogger, stylesheet, css, buffer, sourceName, t1, importer, $async$exception;
9126 var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9127 if ($async$errorCode === 1) {
9128 $async$currentError = $async$result;
9129 $async$goto = $async$handler;
9130 }
9131 while (true)
9132 switch ($async$goto) {
9133 case 0:
9134 // Function start
9135 t1 = $.$get$context();
9136 importer = new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null));
9137 if (ifModified)
9138 try {
9139 if (source != null && destination != null && !graph.modifiedSince$3(t1.toUri$1(source), A.modificationTime(destination), importer)) {
9140 // goto return
9141 $async$goto = 1;
9142 break;
9143 }
9144 } catch (exception) {
9145 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
9146 throw exception;
9147 }
9148 syntax = null;
9149 if (A._asBoolQ(options._ifParsed$1("indented")) === true)
9150 syntax = B.Syntax_Sass;
9151 else if (source != null)
9152 syntax = A.Syntax_forPath(source);
9153 else
9154 syntax = B.Syntax_SCSS;
9155 result = null;
9156 $async$handler = 4;
9157 t1 = options._options;
9158 $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
9159 break;
9160 case 7:
9161 // then
9162 t2 = type$.List_String._as(t1.$index(0, "load-path"));
9163 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9164 t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
9165 t5 = type$.Uri;
9166 t2 = A.AsyncImportCache__toImporters(null, t2, null);
9167 importCache = new A.AsyncImportCache(t2, t3, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t4), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri, t4), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.ImporterResult));
9168 $async$goto = source == null ? 10 : 12;
9169 break;
9170 case 10:
9171 // then
9172 $async$goto = 13;
9173 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9174 case 13:
9175 // returning from await.
9176 t2 = $async$result;
9177 t3 = syntax;
9178 t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9179 t5 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9180 t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9181 t7 = A._asBool(t1.$index(0, "quiet-deps"));
9182 t8 = A._asBool(t1.$index(0, "verbose"));
9183 t9 = options.get$emitSourceMap();
9184 $async$goto = 14;
9185 return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), importCache, new A.FilesystemImporter(t5), t4, t7, t9, t6, t3, t8), $async$compileStylesheet);
9186 case 14:
9187 // returning from await.
9188 result0 = $async$result;
9189 // goto join
9190 $async$goto = 11;
9191 break;
9192 case 12:
9193 // else
9194 t2 = syntax;
9195 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9196 t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9197 t5 = A._asBool(t1.$index(0, "quiet-deps"));
9198 t6 = A._asBool(t1.$index(0, "verbose"));
9199 t7 = options.get$emitSourceMap();
9200 $async$goto = 15;
9201 return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
9202 case 15:
9203 // returning from await.
9204 result0 = $async$result;
9205 case 11:
9206 // join
9207 result = result0;
9208 // goto join
9209 $async$goto = 8;
9210 break;
9211 case 9:
9212 // else
9213 $async$goto = source == null ? 16 : 18;
9214 break;
9215 case 16:
9216 // then
9217 $async$goto = 19;
9218 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9219 case 19:
9220 // returning from await.
9221 t2 = $async$result;
9222 t3 = syntax;
9223 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9224 t4 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9225 t5 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9226 t6 = A._asBool(t1.$index(0, "quiet-deps"));
9227 t7 = A._asBool(t1.$index(0, "verbose"));
9228 t8 = options.get$emitSourceMap();
9229 t1 = A._asBool(t1.$index(0, "charset"));
9230 if (!t7) {
9231 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9232 logger = terseLogger;
9233 } else
9234 terseLogger = null;
9235 stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS : t3, logger, null);
9236 result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t4), null, t5, true, null, null, t6, t8, t1);
9237 if (terseLogger != null)
9238 terseLogger.summarize$1$node(false);
9239 // goto join
9240 $async$goto = 17;
9241 break;
9242 case 18:
9243 // else
9244 t2 = syntax;
9245 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9246 importCache = graph.importCache;
9247 t3 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9248 t4 = A._asBool(t1.$index(0, "quiet-deps"));
9249 t5 = A._asBool(t1.$index(0, "verbose"));
9250 t6 = options.get$emitSourceMap();
9251 t1 = A._asBool(t1.$index(0, "charset"));
9252 if (!t5) {
9253 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9254 logger = terseLogger;
9255 } else
9256 terseLogger = null;
9257 t5 = t2 == null || t2 === A.Syntax_forPath(source);
9258 if (t5) {
9259 t2 = $.$get$context();
9260 t5 = t2.absolute$7(".", null, null, null, null, null, null);
9261 t5 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t5), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t2.absolute$7(t2.normalize$1(source), null, null, null, null, null, null)) : t2.canonicalize$1(0, source)), t2.toUri$1(source));
9262 t5.toString;
9263 stylesheet = t5;
9264 } else {
9265 t5 = A.readFile(source);
9266 if (t2 == null)
9267 t2 = A.Syntax_forPath(source);
9268 t7 = $.$get$context();
9269 stylesheet = A.Stylesheet_Stylesheet$parse(t5, t2, logger, t7.toUri$1(source));
9270 t2 = t7;
9271 }
9272 result0 = A._compileStylesheet(stylesheet, logger, importCache, null, new A.FilesystemImporter(t2.absolute$7(".", null, null, null, null, null, null)), null, t3, true, null, null, t4, t6, t1);
9273 if (terseLogger != null)
9274 terseLogger.summarize$1$node(false);
9275 case 17:
9276 // join
9277 result = result0;
9278 case 8:
9279 // join
9280 $async$handler = 2;
9281 // goto after finally
9282 $async$goto = 6;
9283 break;
9284 case 4:
9285 // catch
9286 $async$handler = 3;
9287 $async$exception = $async$currentError;
9288 t1 = A.unwrapException($async$exception);
9289 if (t1 instanceof A.SassException) {
9290 error = t1;
9291 if (options.get$emitErrorCss())
9292 if (destination == null)
9293 A.print(error.toCssString$0());
9294 else {
9295 A.ensureDir($.$get$context().dirname$1(destination));
9296 A.writeFile(destination, error.toCssString$0() + "\n");
9297 }
9298 throw $async$exception;
9299 } else
9300 throw $async$exception;
9301 // goto after finally
9302 $async$goto = 6;
9303 break;
9304 case 3:
9305 // uncaught
9306 // goto rethrow
9307 $async$goto = 2;
9308 break;
9309 case 6:
9310 // after finally
9311 css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
9312 if (destination == null) {
9313 if (css.length !== 0)
9314 A.print(css);
9315 } else {
9316 A.ensureDir($.$get$context().dirname$1(destination));
9317 A.writeFile(destination, css + "\n");
9318 }
9319 t1 = options._options;
9320 if (!A._asBool(t1.$index(0, "quiet")))
9321 t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
9322 else
9323 t1 = true;
9324 if (t1) {
9325 // goto return
9326 $async$goto = 1;
9327 break;
9328 }
9329 buffer = new A.StringBuffer("");
9330 t1 = options.get$color() ? buffer._contents = "" + "\x1b[32m" : "";
9331 if (source == null)
9332 sourceName = "stdin";
9333 else {
9334 t2 = $.$get$context();
9335 sourceName = t2.prettyUri$1(t2.toUri$1(source));
9336 }
9337 destination.toString;
9338 t2 = $.$get$context();
9339 t2 = t1 + ("Compiled " + sourceName + " to " + t2.prettyUri$1(t2.toUri$1(destination)) + ".");
9340 buffer._contents = t2;
9341 if (options.get$color())
9342 buffer._contents = t2 + "\x1b[0m";
9343 A.print(buffer);
9344 case 1:
9345 // return
9346 return A._asyncReturn($async$returnValue, $async$completer);
9347 case 2:
9348 // rethrow
9349 return A._asyncRethrow($async$currentError, $async$completer);
9350 }
9351 });
9352 return A._asyncStartSync($async$compileStylesheet, $async$completer);
9353 },
9354 _writeSourceMap(options, sourceMap, destination) {
9355 var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
9356 if (sourceMap == null)
9357 return "";
9358 if (destination != null) {
9359 t1 = $.$get$context();
9360 sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
9361 }
9362 A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
9363 t1 = options._options;
9364 sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
9365 if (A._asBool(t1.$index(0, "embed-source-map")))
9366 url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
9367 else {
9368 destination.toString;
9369 sourceMapPath = destination + ".map";
9370 t2 = $.$get$context();
9371 A.ensureDir(t2.dirname$1(sourceMapPath));
9372 A.writeFile(sourceMapPath, sourceMapText);
9373 url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
9374 }
9375 t2 = url.toString$0(0);
9376 escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
9377 t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded) === B.OutputStyle_compressed ? "" : "\n\n";
9378 return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
9379 },
9380 _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
9381 this.options = t0;
9382 this.destination = t1;
9383 },
9384 ExecutableOptions__separator(text) {
9385 var t1 = $.$get$ExecutableOptions__separatorBar(),
9386 t2 = B.JSString_methods.$mul(t1, 3),
9387 t3 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "",
9388 t4 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "";
9389 return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
9390 },
9391 ExecutableOptions__fail(message) {
9392 return A.throwExpression(A.UsageException$(message));
9393 },
9394 ExecutableOptions_ExecutableOptions$parse(args) {
9395 var options, error, t1, exception;
9396 try {
9397 t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
9398 if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
9399 A.ExecutableOptions__fail("--poll may not be passed without --watch.");
9400 options = new A.ExecutableOptions(t1);
9401 if (A._asBool(options._options.$index(0, "help")))
9402 A.ExecutableOptions__fail("Compile Sass to CSS.");
9403 return options;
9404 } catch (exception) {
9405 t1 = A.unwrapException(exception);
9406 if (type$.FormatException._is(t1)) {
9407 error = t1;
9408 A.ExecutableOptions__fail(J.get$message$x(error));
9409 } else
9410 throw exception;
9411 }
9412 },
9413 UsageException$(message) {
9414 return new A.UsageException(message);
9415 },
9416 ExecutableOptions: function ExecutableOptions(t0) {
9417 var _ = this;
9418 _._options = t0;
9419 _.__ExecutableOptions_interactive = $;
9420 _._sourcesToDestinations = null;
9421 _.__ExecutableOptions__sourceDirectoriesToDestinations = $;
9422 },
9423 ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
9424 },
9425 ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
9426 this.$this = t0;
9427 },
9428 ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
9429 },
9430 UsageException: function UsageException(t0) {
9431 this.message = t0;
9432 },
9433 watch(options, graph) {
9434 return A.watch$body(options, graph);
9435 },
9436 watch$body(options, graph) {
9437 var $async$goto = 0,
9438 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9439 $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher;
9440 var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9441 if ($async$errorCode === 1)
9442 return A._asyncRethrow($async$result, $async$completer);
9443 while (true)
9444 switch ($async$goto) {
9445 case 0:
9446 // Function start
9447 options._ensureSources$0();
9448 t1 = type$.String;
9449 t2 = A._lateReadCheck(options.__ExecutableOptions__sourceDirectoriesToDestinations, "_sourceDirectoriesToDestinations").cast$2$0(0, t1, t1);
9450 t2 = A.List_List$of(t2.get$keys(t2), true, t1);
9451 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();) {
9452 t4 = t3.get$current(t3);
9453 t2.push($.$get$context().dirname$1(t4));
9454 }
9455 t3 = options._options;
9456 B.JSArray_methods.addAll$1(t2, type$.List_String._as(t3.$index(0, "load-path")));
9457 t4 = A._asBool(t3.$index(0, "poll"));
9458 t5 = type$.Stream_WatchEvent;
9459 t6 = A.PathMap__create(null, t5);
9460 t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
9461 t5.__StreamGroup__controller = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
9462 dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
9463 $async$goto = 3;
9464 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);
9465 case 3:
9466 // returning from await.
9467 watcher = new A._Watcher(options, graph);
9468 options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t1, t1), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
9469 case 4:
9470 // for condition
9471 if (!t1.moveNext$0()) {
9472 // goto after for
9473 $async$goto = 5;
9474 break;
9475 }
9476 t2 = t1.get$current(t1);
9477 t4 = $.$get$context();
9478 t5 = t4.absolute$7(".", null, null, null, null, null, null);
9479 t6 = t2.key;
9480 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);
9481 $async$goto = 6;
9482 return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
9483 case 6:
9484 // returning from await.
9485 if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
9486 t1 = A._lateReadCheck(dirWatcher._group.__StreamGroup__controller, "_controller");
9487 t1._subscribe$4(null, null, null, false).cancel$0();
9488 // goto return
9489 $async$goto = 1;
9490 break;
9491 }
9492 // goto for condition
9493 $async$goto = 4;
9494 break;
9495 case 5:
9496 // after for
9497 A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
9498 $async$goto = 7;
9499 return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
9500 case 7:
9501 // returning from await.
9502 case 1:
9503 // return
9504 return A._asyncReturn($async$returnValue, $async$completer);
9505 }
9506 });
9507 return A._asyncStartSync($async$watch, $async$completer);
9508 },
9509 watch_closure: function watch_closure(t0) {
9510 this.dirWatcher = t0;
9511 },
9512 _Watcher: function _Watcher(t0, t1) {
9513 this._watch$_options = t0;
9514 this._graph = t1;
9515 },
9516 _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
9517 },
9518 EmptyExtensionStore: function EmptyExtensionStore() {
9519 },
9520 Extension: function Extension(t0, t1, t2, t3, t4) {
9521 var _ = this;
9522 _.extender = t0;
9523 _.target = t1;
9524 _.mediaContext = t2;
9525 _.isOptional = t3;
9526 _.span = t4;
9527 },
9528 Extender: function Extender(t0, t1, t2) {
9529 var _ = this;
9530 _.selector = t0;
9531 _.isOriginal = t1;
9532 _._extension = null;
9533 _.span = t2;
9534 },
9535 ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
9536 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
9537 extender = A.ExtensionStore$_mode(mode);
9538 if (!selector.get$isInvisible())
9539 extender._originals.addAll$1(0, selector.components);
9540 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) {
9541 complex = t1[_i];
9542 t10 = complex.components;
9543 if (t10.length !== 1)
9544 throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + "."));
9545 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
9546 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
9547 simple = t10[_i0];
9548 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
9549 for (_i1 = 0; _i1 < t4; ++_i1) {
9550 complex = t3[_i1];
9551 if (complex._complex$_maxSpecificity == null)
9552 complex._computeSpecificity$0();
9553 complex._complex$_maxSpecificity.toString;
9554 t14 = new A.Extender(complex, false, span);
9555 t15 = new A.Extension(t14, simple, null, true, span);
9556 t14._extension = t15;
9557 t13.$indexSet(0, complex, t15);
9558 }
9559 t11.$indexSet(0, simple, t13);
9560 }
9561 selector = extender._extendList$3(selector, span, t11);
9562 }
9563 return selector;
9564 },
9565 ExtensionStore$() {
9566 var t1 = type$.SimpleSelector;
9567 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), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal);
9568 },
9569 ExtensionStore$_mode(_mode) {
9570 var t1 = type$.SimpleSelector;
9571 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), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
9572 },
9573 ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
9574 var _ = this;
9575 _._selectors = t0;
9576 _._extensions = t1;
9577 _._extensionsByExtender = t2;
9578 _._mediaContexts = t3;
9579 _._sourceSpecificity = t4;
9580 _._originals = t5;
9581 _._mode = t6;
9582 },
9583 ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
9584 },
9585 ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
9586 },
9587 ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
9588 },
9589 ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
9590 },
9591 ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
9592 this.complex = t0;
9593 },
9594 ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
9595 },
9596 ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
9597 },
9598 ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
9599 this._box_0 = t0;
9600 this.$this = t1;
9601 },
9602 ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
9603 var _ = this;
9604 _._box_0 = t0;
9605 _.existingSources = t1;
9606 _.extensionsForTarget = t2;
9607 _.selectorsForTarget = t3;
9608 _.target = t4;
9609 },
9610 ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
9611 },
9612 ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
9613 this._box_0 = t0;
9614 this.$this = t1;
9615 },
9616 ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
9617 this.$this = t0;
9618 this.newExtensions = t1;
9619 },
9620 ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
9621 this.$this = t0;
9622 this.newExtensions = t1;
9623 },
9624 ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0) {
9625 this.complex = t0;
9626 },
9627 ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
9628 this._box_0 = t0;
9629 this.$this = t1;
9630 this.complex = t2;
9631 },
9632 ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure() {
9633 },
9634 ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2, t3) {
9635 var _ = this;
9636 _._box_0 = t0;
9637 _.$this = t1;
9638 _.complex = t2;
9639 _.path = t3;
9640 },
9641 ExtensionStore__extendComplex___closure: function ExtensionStore__extendComplex___closure() {
9642 },
9643 ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure(t0) {
9644 this.mediaQueryContext = t0;
9645 },
9646 ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0(t0, t1) {
9647 this._box_1 = t0;
9648 this.mediaQueryContext = t1;
9649 },
9650 ExtensionStore__extendCompound__closure: function ExtensionStore__extendCompound__closure() {
9651 },
9652 ExtensionStore__extendCompound__closure0: function ExtensionStore__extendCompound__closure0(t0) {
9653 this._box_0 = t0;
9654 },
9655 ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1() {
9656 },
9657 ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
9658 },
9659 ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3(t0) {
9660 this.original = t0;
9661 },
9662 ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2, t3) {
9663 var _ = this;
9664 _.$this = t0;
9665 _.extensions = t1;
9666 _.targetsUsed = t2;
9667 _.simpleSpan = t3;
9668 },
9669 ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1, t2) {
9670 this.$this = t0;
9671 this.withoutPseudo = t1;
9672 this.simpleSpan = t2;
9673 },
9674 ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
9675 },
9676 ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
9677 },
9678 ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
9679 },
9680 ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
9681 },
9682 ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
9683 this.pseudo = t0;
9684 },
9685 ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0) {
9686 this.pseudo = t0;
9687 },
9688 ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
9689 this._box_0 = t0;
9690 this.complex1 = t1;
9691 },
9692 ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
9693 this._box_0 = t0;
9694 this.complex1 = t1;
9695 },
9696 ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
9697 var _ = this;
9698 _.$this = t0;
9699 _.newSelectors = t1;
9700 _.oldToNewSelectors = t2;
9701 _.newMediaContexts = t3;
9702 },
9703 unifyComplex(complexes) {
9704 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
9705 t1 = J.getInterceptor$asx(complexes);
9706 if (t1.get$length(complexes) === 1)
9707 return complexes;
9708 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
9709 base = J.get$last$ax(t2.get$current(t2));
9710 if (!(base instanceof A.CompoundSelector))
9711 return null;
9712 if (unifiedBase == null)
9713 unifiedBase = base.components;
9714 else
9715 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
9716 unifiedBase = t3[_i].unify$1(unifiedBase);
9717 if (unifiedBase == null)
9718 return null;
9719 }
9720 }
9721 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure(), type$.List_ComplexSelectorComponent);
9722 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
9723 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
9724 unifiedBase.toString;
9725 J.add$1$ax(t1, A.CompoundSelector$(unifiedBase));
9726 return A.weave(complexesWithoutBases);
9727 },
9728 unifyCompound(compound1, compound2) {
9729 var t1, result, _i, unified;
9730 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
9731 unified = compound1[_i].unify$1(result);
9732 if (unified == null)
9733 return null;
9734 }
9735 return A.CompoundSelector$(result);
9736 },
9737 unifyUniversalAndElement(selector1, selector2) {
9738 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
9739 _s45_ = string$.must_b;
9740 if (selector1 instanceof A.UniversalSelector) {
9741 namespace1 = selector1.namespace;
9742 name1 = _null;
9743 } else if (selector1 instanceof A.TypeSelector) {
9744 t1 = selector1.name;
9745 namespace1 = t1.namespace;
9746 name1 = t1.name;
9747 } else
9748 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
9749 if (selector2 instanceof A.UniversalSelector) {
9750 namespace2 = selector2.namespace;
9751 name2 = _null;
9752 } else if (selector2 instanceof A.TypeSelector) {
9753 t1 = selector2.name;
9754 namespace2 = t1.namespace;
9755 name2 = t1.name;
9756 } else
9757 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
9758 if (namespace1 == namespace2 || namespace2 === "*")
9759 namespace = namespace1;
9760 else {
9761 if (namespace1 !== "*")
9762 return _null;
9763 namespace = namespace2;
9764 }
9765 if (name1 == name2 || name2 == null)
9766 $name = name1;
9767 else {
9768 if (!(name1 == null || name1 === "*"))
9769 return _null;
9770 $name = name2;
9771 }
9772 return $name == null ? new A.UniversalSelector(namespace) : new A.TypeSelector(new A.QualifiedName($name, namespace));
9773 },
9774 weave(complexes) {
9775 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
9776 t1 = type$.JSArray_List_ComplexSelectorComponent,
9777 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
9778 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();) {
9779 t4 = t2.__internal$_current;
9780 if (t4 == null)
9781 t4 = t3._as(t4);
9782 t5 = J.getInterceptor$asx(t4);
9783 if (t5.get$isEmpty(t4))
9784 continue;
9785 target = t5.get$last(t4);
9786 if (t5.get$length(t4) === 1) {
9787 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
9788 J.add$1$ax(prefixes[_i], target);
9789 continue;
9790 }
9791 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
9792 newPrefixes = A._setArrayType([], t1);
9793 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
9794 parentPrefixes = A._weaveParents(prefixes[_i], parents);
9795 if (parentPrefixes == null)
9796 continue;
9797 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
9798 t6 = t5.get$current(t5);
9799 J.add$1$ax(t6, target);
9800 newPrefixes.push(t6);
9801 }
9802 }
9803 prefixes = newPrefixes;
9804 }
9805 return prefixes;
9806 },
9807 _weaveParents(parents1, parents2) {
9808 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
9809 t1 = type$.ComplexSelectorComponent,
9810 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
9811 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
9812 initialCombinators = A._mergeInitialCombinators(queue1, queue2);
9813 if (initialCombinators == null)
9814 return _null;
9815 finalCombinators = A._mergeFinalCombinators(queue1, queue2, _null);
9816 if (finalCombinators == null)
9817 return _null;
9818 root1 = A._firstIfRoot(queue1);
9819 root2 = A._firstIfRoot(queue2);
9820 t1 = root1 != null;
9821 if (t1 && root2 != null) {
9822 root = A.unifyCompound(root1.components, root2.components);
9823 if (root == null)
9824 return _null;
9825 queue1.addFirst$1(root);
9826 queue2.addFirst$1(root);
9827 } else if (t1)
9828 queue2.addFirst$1(root1);
9829 else if (root2 != null)
9830 queue1.addFirst$1(root2);
9831 groups1 = A._groupSelectors(queue1);
9832 groups2 = A._groupSelectors(queue2);
9833 t1 = type$.List_ComplexSelectorComponent;
9834 lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(), t1);
9835 t2 = type$.JSArray_Iterable_ComplexSelectorComponent;
9836 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent);
9837 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
9838 group = lcs[_i];
9839 t4 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1);
9840 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9841 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure1(), t5), true, t5._eval$1("ListIterable.E")));
9842 choices.push(A._setArrayType([group], t2));
9843 groups1.removeFirst$0();
9844 groups2.removeFirst$0();
9845 }
9846 t2 = A._chunks(groups1, groups2, new A._weaveParents_closure2(), t1);
9847 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9848 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure3(), t3), true, t3._eval$1("ListIterable.E")));
9849 B.JSArray_methods.addAll$1(choices, finalCombinators);
9850 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);
9851 },
9852 _firstIfRoot(queue) {
9853 var first;
9854 if (queue._collection$_head === queue._collection$_tail)
9855 return null;
9856 first = queue.get$first(queue);
9857 if (first instanceof A.CompoundSelector) {
9858 if (!A._hasRoot(first))
9859 return null;
9860 queue.removeFirst$0();
9861 return first;
9862 } else
9863 return null;
9864 },
9865 _mergeInitialCombinators(components1, components2) {
9866 var t4, combinators2, lcs,
9867 t1 = type$.JSArray_Combinator,
9868 combinators1 = A._setArrayType([], t1),
9869 t2 = type$.Combinator,
9870 t3 = components1.$ti._precomputed1;
9871 while (true) {
9872 if (!components1.get$isEmpty(components1)) {
9873 t4 = components1._collection$_head;
9874 if (t4 === components1._collection$_tail)
9875 A.throwExpression(A.IterableElementError_noElement());
9876 t4 = components1._collection$_table[t4];
9877 t4 = (t4 == null ? t3._as(t4) : t4) instanceof A.Combinator;
9878 } else
9879 t4 = false;
9880 if (!t4)
9881 break;
9882 combinators1.push(t2._as(components1.removeFirst$0()));
9883 }
9884 combinators2 = A._setArrayType([], t1);
9885 t1 = components2.$ti._precomputed1;
9886 while (true) {
9887 if (!components2.get$isEmpty(components2)) {
9888 t3 = components2._collection$_head;
9889 if (t3 === components2._collection$_tail)
9890 A.throwExpression(A.IterableElementError_noElement());
9891 t3 = components2._collection$_table[t3];
9892 t3 = (t3 == null ? t1._as(t3) : t3) instanceof A.Combinator;
9893 } else
9894 t3 = false;
9895 if (!t3)
9896 break;
9897 combinators2.push(t2._as(components2.removeFirst$0()));
9898 }
9899 lcs = A.longestCommonSubsequence(combinators1, combinators2, null, t2);
9900 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9901 return combinators2;
9902 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9903 return combinators1;
9904 return null;
9905 },
9906 _mergeFinalCombinators(components1, components2, result) {
9907 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
9908 if (result == null)
9909 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
9910 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator))
9911 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator);
9912 else
9913 t1 = false;
9914 if (t1)
9915 return result;
9916 t1 = type$.JSArray_Combinator;
9917 combinators1 = A._setArrayType([], t1);
9918 t2 = type$.Combinator;
9919 while (true) {
9920 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator))
9921 break;
9922 combinators1.push(t2._as(components1.removeLast$0(0)));
9923 }
9924 combinators2 = A._setArrayType([], t1);
9925 while (true) {
9926 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator))
9927 break;
9928 combinators2.push(t2._as(components2.removeLast$0(0)));
9929 }
9930 t1 = combinators1.length;
9931 if (t1 > 1 || combinators2.length > 1) {
9932 lcs = A.longestCommonSubsequence(combinators1, combinators2, _null, t2);
9933 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9934 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators2, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9935 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9936 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators1, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9937 else
9938 return _null;
9939 return result;
9940 }
9941 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
9942 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
9943 t1 = combinator1 != null;
9944 if (t1 && combinator2 != null) {
9945 t1 = type$.CompoundSelector;
9946 compound1 = t1._as(components1.removeLast$0(0));
9947 compound2 = t1._as(components2.removeLast$0(0));
9948 t1 = combinator1 === B.Combinator_CzM;
9949 if (t1 && combinator2 === B.Combinator_CzM)
9950 if (A.compoundIsSuperselector(compound1, compound2, _null))
9951 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9952 else {
9953 t1 = type$.JSArray_ComplexSelectorComponent;
9954 t2 = type$.JSArray_List_ComplexSelectorComponent;
9955 if (A.compoundIsSuperselector(compound2, compound1, _null))
9956 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM], t1)], t2));
9957 else {
9958 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);
9959 unified = A.unifyCompound(compound1.components, compound2.components);
9960 if (unified != null)
9961 choices.push(A._setArrayType([unified, B.Combinator_CzM], t1));
9962 result.addFirst$1(choices);
9963 }
9964 }
9965 else {
9966 if (!(t1 && combinator2 === B.Combinator_uzg))
9967 t2 = combinator1 === B.Combinator_uzg && combinator2 === B.Combinator_CzM;
9968 else
9969 t2 = true;
9970 if (t2) {
9971 followingSiblingSelector = t1 ? compound1 : compound2;
9972 nextSiblingSelector = t1 ? compound2 : compound1;
9973 t1 = type$.JSArray_ComplexSelectorComponent;
9974 t2 = type$.JSArray_List_ComplexSelectorComponent;
9975 if (A.compoundIsSuperselector(followingSiblingSelector, nextSiblingSelector, _null))
9976 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg], t1)], t2));
9977 else {
9978 unified = A.unifyCompound(compound1.components, compound2.components);
9979 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM, nextSiblingSelector, B.Combinator_uzg], t1)], t2);
9980 if (unified != null)
9981 t2.push(A._setArrayType([unified, B.Combinator_uzg], t1));
9982 result.addFirst$1(t2);
9983 }
9984 } else {
9985 if (combinator1 === B.Combinator_sgq)
9986 t2 = combinator2 === B.Combinator_uzg || combinator2 === B.Combinator_CzM;
9987 else
9988 t2 = false;
9989 if (t2) {
9990 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9991 components1._add$1(compound1);
9992 components1._add$1(B.Combinator_sgq);
9993 } else {
9994 if (combinator2 === B.Combinator_sgq)
9995 t1 = combinator1 === B.Combinator_uzg || t1;
9996 else
9997 t1 = false;
9998 if (t1) {
9999 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10000 components2._add$1(compound2);
10001 components2._add$1(B.Combinator_sgq);
10002 } else if (combinator1 === combinator2) {
10003 unified = A.unifyCompound(compound1.components, compound2.components);
10004 if (unified == null)
10005 return _null;
10006 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10007 } else
10008 return _null;
10009 }
10010 }
10011 }
10012 return A._mergeFinalCombinators(components1, components2, result);
10013 } else if (t1) {
10014 if (combinator1 === B.Combinator_sgq)
10015 if (!components2.get$isEmpty(components2)) {
10016 t1 = type$.CompoundSelector;
10017 t1 = A.compoundIsSuperselector(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
10018 } else
10019 t1 = false;
10020 else
10021 t1 = false;
10022 if (t1)
10023 components2.removeLast$0(0);
10024 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10025 return A._mergeFinalCombinators(components1, components2, result);
10026 } else {
10027 if (combinator2 === B.Combinator_sgq)
10028 if (!components1.get$isEmpty(components1)) {
10029 t1 = type$.CompoundSelector;
10030 t1 = A.compoundIsSuperselector(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
10031 } else
10032 t1 = false;
10033 else
10034 t1 = false;
10035 if (t1)
10036 components1.removeLast$0(0);
10037 t1 = components2.removeLast$0(0);
10038 combinator2.toString;
10039 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10040 return A._mergeFinalCombinators(components1, components2, result);
10041 }
10042 },
10043 _mustUnify(complex1, complex2) {
10044 var t2, t3, t4,
10045 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
10046 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
10047 t3 = t2.get$current(t2);
10048 if (t3 instanceof A.CompoundSelector)
10049 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions___isUnique$closure()); t4.moveNext$0();)
10050 t1.add$1(0, t3.get$current(t3));
10051 }
10052 if (t1._collection$_length === 0)
10053 return false;
10054 return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
10055 },
10056 _isUnique(simple) {
10057 var t1;
10058 if (!(simple instanceof A.IDSelector))
10059 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
10060 else
10061 t1 = true;
10062 return t1;
10063 },
10064 _chunks(queue1, queue2, done, $T) {
10065 var chunk2, t2,
10066 t1 = $T._eval$1("JSArray<0>"),
10067 chunk1 = A._setArrayType([], t1);
10068 for (; !done.call$1(queue1);)
10069 chunk1.push(queue1.removeFirst$0());
10070 chunk2 = A._setArrayType([], t1);
10071 for (; !done.call$1(queue2);)
10072 chunk2.push(queue2.removeFirst$0());
10073 t1 = chunk1.length === 0;
10074 if (t1 && chunk2.length === 0)
10075 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
10076 if (t1)
10077 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
10078 if (chunk2.length === 0)
10079 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
10080 t1 = A.List_List$of(chunk1, true, $T);
10081 B.JSArray_methods.addAll$1(t1, chunk2);
10082 t2 = A.List_List$of(chunk2, true, $T);
10083 B.JSArray_methods.addAll$1(t2, chunk1);
10084 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
10085 },
10086 paths(choices, $T) {
10087 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));
10088 },
10089 _groupSelectors(complex) {
10090 var t1, t2, group, t3, t4,
10091 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
10092 iterator = A._ListQueueIterator$(complex);
10093 if (!iterator.moveNext$0())
10094 return groups;
10095 t1 = iterator._collection$_current;
10096 if (t1 == null)
10097 t1 = A._instanceType(iterator)._precomputed1._as(t1);
10098 t2 = type$.JSArray_ComplexSelectorComponent;
10099 group = A._setArrayType([t1], t2);
10100 groups._queue_list$_add$1(group);
10101 for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
10102 if (!(B.JSArray_methods.get$last(group) instanceof A.Combinator)) {
10103 t3 = iterator._collection$_current;
10104 t3 = (t3 == null ? t1._as(t3) : t3) instanceof A.Combinator;
10105 } else
10106 t3 = true;
10107 t4 = iterator._collection$_current;
10108 if (t3)
10109 group.push(t4 == null ? t1._as(t4) : t4);
10110 else {
10111 group = A._setArrayType([t4 == null ? t1._as(t4) : t4], t2);
10112 groups._queue_list$_add$1(group);
10113 }
10114 }
10115 return groups;
10116 },
10117 _hasRoot(compound) {
10118 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure());
10119 },
10120 listIsSuperselector(list1, list2) {
10121 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
10122 },
10123 complexIsParentSuperselector(complex1, complex2) {
10124 var t2, base,
10125 t1 = J.getInterceptor$ax(complex1);
10126 if (t1.get$first(complex1) instanceof A.Combinator)
10127 return false;
10128 t2 = J.getInterceptor$ax(complex2);
10129 if (t2.get$first(complex2) instanceof A.Combinator)
10130 return false;
10131 if (t1.get$length(complex1) > t2.get$length(complex2))
10132 return false;
10133 base = A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>")], type$.JSArray_SimpleSelector));
10134 t1 = type$.ComplexSelectorComponent;
10135 t2 = A.List_List$of(complex1, true, t1);
10136 t2.push(base);
10137 t1 = A.List_List$of(complex2, true, t1);
10138 t1.push(base);
10139 return A.complexIsSuperselector(t2, t1);
10140 },
10141 complexIsSuperselector(complex1, complex2) {
10142 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
10143 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator)
10144 return false;
10145 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator)
10146 return false;
10147 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector, i1 = 0, i2 = 0; true;) {
10148 remaining1 = complex1.length - i1;
10149 remaining2 = complex2.length - i2;
10150 if (remaining1 === 0 || remaining2 === 0)
10151 return false;
10152 if (remaining1 > remaining2)
10153 return false;
10154 t4 = complex1[i1];
10155 if (t4 instanceof A.Combinator)
10156 return false;
10157 if (complex2[i2] instanceof A.Combinator)
10158 return false;
10159 t3._as(t4);
10160 if (remaining1 === 1) {
10161 t5 = t3._as(B.JSArray_methods.get$last(complex2));
10162 t6 = complex2.length - 1;
10163 t3 = new A.SubListIterable(complex2, 0, t6, t1);
10164 t3.SubListIterable$3(complex2, 0, t6, t2);
10165 return A.compoundIsSuperselector(t4, t5, t3.skip$1(0, i2));
10166 }
10167 afterSuperselector = i2 + 1;
10168 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
10169 t5 = afterSuperselector0 - 1;
10170 compound2 = complex2[t5];
10171 if (compound2 instanceof A.CompoundSelector) {
10172 t6 = new A.SubListIterable(complex2, 0, t5, t1);
10173 t6.SubListIterable$3(complex2, 0, t5, t2);
10174 if (A.compoundIsSuperselector(t4, compound2, t6.skip$1(0, afterSuperselector)))
10175 break;
10176 }
10177 }
10178 if (afterSuperselector0 === complex2.length)
10179 return false;
10180 i10 = i1 + 1;
10181 combinator1 = complex1[i10];
10182 combinator2 = complex2[afterSuperselector0];
10183 if (combinator1 instanceof A.Combinator) {
10184 if (!(combinator2 instanceof A.Combinator))
10185 return false;
10186 if (combinator1 === B.Combinator_CzM) {
10187 if (combinator2 === B.Combinator_sgq)
10188 return false;
10189 } else if (combinator2 !== combinator1)
10190 return false;
10191 if (remaining1 === 3 && remaining2 > 3)
10192 return false;
10193 i1 += 2;
10194 i2 = afterSuperselector0 + 1;
10195 } else {
10196 if (combinator2 instanceof A.Combinator) {
10197 if (combinator2 !== B.Combinator_sgq)
10198 return false;
10199 i2 = afterSuperselector0 + 1;
10200 } else
10201 i2 = afterSuperselector0;
10202 i1 = i10;
10203 }
10204 }
10205 },
10206 compoundIsSuperselector(compound1, compound2, parents) {
10207 var t1, t2, _i, simple1, simple2;
10208 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10209 simple1 = t1[_i];
10210 if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
10211 if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
10212 return false;
10213 } else if (!A._simpleIsSuperselectorOfCompound(simple1, compound2))
10214 return false;
10215 }
10216 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10217 simple2 = t1[_i];
10218 if (simple2 instanceof A.PseudoSelector && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound(simple2, compound1))
10219 return false;
10220 }
10221 return true;
10222 },
10223 _simpleIsSuperselectorOfCompound(simple, compound) {
10224 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure(simple));
10225 },
10226 _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
10227 var selector1_ = pseudo1.selector;
10228 if (selector1_ == null)
10229 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
10230 switch (pseudo1.normalizedName) {
10231 case "is":
10232 case "matches":
10233 case "any":
10234 case "where":
10235 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));
10236 case "has":
10237 case "host":
10238 case "host-context":
10239 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
10240 case "slotted":
10241 return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
10242 case "not":
10243 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
10244 case "current":
10245 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
10246 case "nth-child":
10247 case "nth-last-child":
10248 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
10249 default:
10250 throw A.wrapException("unreachable");
10251 }
10252 },
10253 _selectorPseudoArgs(compound, $name, isClass) {
10254 var t1 = type$.WhereTypeIterable_PseudoSelector;
10255 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);
10256 },
10257 unifyComplex_closure: function unifyComplex_closure() {
10258 },
10259 _weaveParents_closure: function _weaveParents_closure() {
10260 },
10261 _weaveParents_closure0: function _weaveParents_closure0(t0) {
10262 this.group = t0;
10263 },
10264 _weaveParents_closure1: function _weaveParents_closure1() {
10265 },
10266 _weaveParents__closure1: function _weaveParents__closure1() {
10267 },
10268 _weaveParents_closure2: function _weaveParents_closure2() {
10269 },
10270 _weaveParents_closure3: function _weaveParents_closure3() {
10271 },
10272 _weaveParents__closure0: function _weaveParents__closure0() {
10273 },
10274 _weaveParents_closure4: function _weaveParents_closure4() {
10275 },
10276 _weaveParents_closure5: function _weaveParents_closure5() {
10277 },
10278 _weaveParents__closure: function _weaveParents__closure() {
10279 },
10280 _mustUnify_closure: function _mustUnify_closure(t0) {
10281 this.uniqueSelectors = t0;
10282 },
10283 _mustUnify__closure: function _mustUnify__closure(t0) {
10284 this.uniqueSelectors = t0;
10285 },
10286 paths_closure: function paths_closure(t0) {
10287 this.T = t0;
10288 },
10289 paths__closure: function paths__closure(t0, t1) {
10290 this.paths = t0;
10291 this.T = t1;
10292 },
10293 paths___closure: function paths___closure(t0, t1) {
10294 this.option = t0;
10295 this.T = t1;
10296 },
10297 _hasRoot_closure: function _hasRoot_closure() {
10298 },
10299 listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
10300 this.list1 = t0;
10301 },
10302 listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
10303 this.complex1 = t0;
10304 },
10305 _simpleIsSuperselectorOfCompound_closure: function _simpleIsSuperselectorOfCompound_closure(t0) {
10306 this.simple = t0;
10307 },
10308 _simpleIsSuperselectorOfCompound__closure: function _simpleIsSuperselectorOfCompound__closure(t0) {
10309 this.simple = t0;
10310 },
10311 _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
10312 this.selector1 = t0;
10313 },
10314 _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
10315 this.parents = t0;
10316 this.compound2 = t1;
10317 },
10318 _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
10319 this.selector1 = t0;
10320 },
10321 _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
10322 this.selector1 = t0;
10323 },
10324 _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
10325 this.compound2 = t0;
10326 this.pseudo1 = t1;
10327 },
10328 _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
10329 this.complex = t0;
10330 this.pseudo1 = t1;
10331 },
10332 _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
10333 this.simple2 = t0;
10334 },
10335 _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
10336 this.simple2 = t0;
10337 },
10338 _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
10339 this.selector1 = t0;
10340 },
10341 _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
10342 this.pseudo1 = t0;
10343 this.selector1 = t1;
10344 },
10345 _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
10346 this.isClass = t0;
10347 this.name = t1;
10348 },
10349 _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
10350 },
10351 MergedExtension_merge(left, right) {
10352 var t4, t5, t6,
10353 t1 = left.extender,
10354 t2 = t1.selector,
10355 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
10356 if (!t3 || !left.target.$eq(0, right.target))
10357 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
10358 t3 = left.mediaContext;
10359 t4 = t3 == null;
10360 if (!t4) {
10361 t5 = right.mediaContext;
10362 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
10363 } else
10364 t5 = false;
10365 if (t5)
10366 throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
10367 if (right.isOptional && right.mediaContext == null)
10368 return left;
10369 if (left.isOptional && t4)
10370 return right;
10371 t5 = left.target;
10372 t6 = left.span;
10373 if (t4)
10374 t3 = right.mediaContext;
10375 t2.get$maxSpecificity();
10376 t1 = new A.Extender(t2, false, t1.span);
10377 return t1._extension = new A.MergedExtension(left, right, t1, t5, t3, true, t6);
10378 },
10379 MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
10380 var _ = this;
10381 _.left = t0;
10382 _.right = t1;
10383 _.extender = t2;
10384 _.target = t3;
10385 _.mediaContext = t4;
10386 _.isOptional = t5;
10387 _.span = t6;
10388 },
10389 ExtendMode: function ExtendMode(t0) {
10390 this.name = t0;
10391 },
10392 globalFunctions_closure: function globalFunctions_closure() {
10393 },
10394 _updateComponents($arguments, adjust, change, scale) {
10395 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, t5, _null = null,
10396 t1 = J.getInterceptor$asx($arguments),
10397 color = t1.$index($arguments, 0).assertColor$1("color"),
10398 argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
10399 if (argumentList._list$_contents.length !== 0)
10400 throw A.wrapException(A.SassScriptException$(string$.Only_op));
10401 argumentList._wereKeywordsAccessed = true;
10402 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
10403 t1 = new A._updateComponents_getParam(keywords, scale, change);
10404 alpha = t1.call$2("alpha", 1);
10405 red = t1.call$2("red", 255);
10406 green = t1.call$2("green", 255);
10407 blue = t1.call$2("blue", 255);
10408 if (scale)
10409 hueNumber = _null;
10410 else {
10411 t2 = keywords.remove$1(0, "hue");
10412 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
10413 }
10414 t2 = hueNumber == null;
10415 if (!t2)
10416 A._checkAngle(hueNumber, "hue");
10417 hue = t2 ? _null : hueNumber._number$_value;
10418 saturation = t1.call$3$checkPercent("saturation", 100, true);
10419 lightness = t1.call$3$checkPercent("lightness", 100, true);
10420 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
10421 blackness = t1.call$3$assertPercent("blackness", 100, true);
10422 t1 = keywords.__js_helper$_length;
10423 if (t1 !== 0)
10424 throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", t1, _null) + " named " + A.S(A.toSentence(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure(), type$.Object), "or")) + "."));
10425 hasRgb = red != null || green != null || blue != null;
10426 hasSL = saturation != null || lightness != null;
10427 hasWB = whiteness != null || blackness != null;
10428 if (hasRgb)
10429 t1 = hasSL || hasWB || hue != null;
10430 else
10431 t1 = false;
10432 if (t1)
10433 throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
10434 if (hasSL && hasWB)
10435 throw A.wrapException(A.SassScriptException$(string$.HSL_pa));
10436 t1 = new A._updateComponents_updateValue(change, adjust);
10437 t2 = new A._updateComponents_updateRgb(t1);
10438 if (hasRgb) {
10439 t3 = t2.call$2(color.get$red(color), red);
10440 t4 = t2.call$2(color.get$green(color), green);
10441 t2 = t2.call$2(color.get$blue(color), blue);
10442 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10443 } else if (hasWB) {
10444 if (change)
10445 t2 = hue;
10446 else {
10447 t2 = color.get$hue(color);
10448 t2 += hue == null ? 0 : hue;
10449 }
10450 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
10451 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
10452 t5 = color._alpha;
10453 t1 = t1.call$3(t5, alpha, 1);
10454 if (t2 == null)
10455 t2 = color.get$hue(color);
10456 if (t3 == null)
10457 t3 = color.get$whiteness(color);
10458 if (t4 == null)
10459 t4 = color.get$blackness(color);
10460 return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
10461 } else {
10462 t2 = hue == null;
10463 if (!t2 || hasSL) {
10464 if (change)
10465 t2 = hue;
10466 else {
10467 t3 = color.get$hue(color);
10468 t3 += t2 ? 0 : hue;
10469 t2 = t3;
10470 }
10471 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
10472 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
10473 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10474 } else if (alpha != null)
10475 return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
10476 else
10477 return color;
10478 }
10479 },
10480 _functionString($name, $arguments) {
10481 return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
10482 },
10483 _removedColorFunction($name, argument, negative) {
10484 return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
10485 },
10486 _rgb($name, $arguments) {
10487 var t2, red, green, blue,
10488 t1 = J.getInterceptor$asx($arguments),
10489 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10490 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10491 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10492 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10493 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10494 t2 = t2 === true;
10495 } else
10496 t2 = true;
10497 else
10498 t2 = true;
10499 else
10500 t2 = true;
10501 if (t2)
10502 return A._functionString($name, $arguments);
10503 red = t1.$index($arguments, 0).assertNumber$1("red");
10504 green = t1.$index($arguments, 1).assertNumber$1("green");
10505 blue = t1.$index($arguments, 2).assertNumber$1("blue");
10506 return A.SassColor$rgbInternal(A.fuzzyRound(A._percentageOrUnitless(red, 255, "red")), A.fuzzyRound(A._percentageOrUnitless(green, 255, "green")), A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue")), A.NullableExtension_andThen(alpha, new A._rgb_closure()), B._ColorFormatEnum_rgbFunction);
10507 },
10508 _rgbTwoArg($name, $arguments) {
10509 var first, color,
10510 t1 = J.getInterceptor$asx($arguments);
10511 if (t1.$index($arguments, 0).get$isVar())
10512 return A._functionString($name, $arguments);
10513 else if (t1.$index($arguments, 1).get$isVar()) {
10514 first = t1.$index($arguments, 0);
10515 if (first instanceof A.SassColor)
10516 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);
10517 else
10518 return A._functionString($name, $arguments);
10519 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
10520 color = t1.$index($arguments, 0).assertColor$1("color");
10521 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);
10522 }
10523 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
10524 },
10525 _hsl($name, $arguments) {
10526 var t2, hue, saturation, lightness,
10527 _s10_ = "saturation",
10528 _s9_ = "lightness",
10529 t1 = J.getInterceptor$asx($arguments),
10530 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10531 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10532 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10533 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10534 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10535 t2 = t2 === true;
10536 } else
10537 t2 = true;
10538 else
10539 t2 = true;
10540 else
10541 t2 = true;
10542 if (t2)
10543 return A._functionString($name, $arguments);
10544 hue = t1.$index($arguments, 0).assertNumber$1("hue");
10545 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
10546 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
10547 A._checkAngle(hue, "hue");
10548 A._checkPercent(saturation, _s10_);
10549 A._checkPercent(lightness, _s9_);
10550 return A.SassColor$hslInternal(hue._number$_value, B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100), A.NullableExtension_andThen(alpha, new A._hsl_closure()), B._ColorFormatEnum_hslFunction);
10551 },
10552 _checkAngle(angle, $name) {
10553 var t1, t2, t3, t4,
10554 _s31_ = "To preserve current behavior: $";
10555 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
10556 return;
10557 t1 = A.S($name);
10558 t2 = "" + ("$" + t1 + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
10559 if (angle.compatibleWithUnit$1("deg")) {
10560 t3 = angle.toString$0(0);
10561 t4 = type$.JSArray_String;
10562 t1 = t2 + ("You're passing " + t3 + string$.x2c_whici + new A.SingleUnitSassNumber("deg", angle._number$_value, null).toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t4), A._setArrayType([], t4)).toString$0(0) + ".\n") + "\n" + (_s31_ + t1 + " * 1deg/1" + B.JSArray_methods.get$first(angle.get$numeratorUnits(angle)) + "\n") + ("To migrate to new behavior: 0deg + $" + t1 + "\n") + "\n";
10563 } else
10564 t1 = t2 + (_s31_ + t1 + A._removeUnits(angle) + "\n") + "\n";
10565 t1 += "See https://sass-lang.com/d/color-units";
10566 A.EvaluationContext_current().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
10567 },
10568 _checkPercent(number, $name) {
10569 var t1, t2;
10570 if (number.hasUnit$1("%"))
10571 return;
10572 t1 = number.toString$0(0);
10573 t2 = A._removeUnits(number);
10574 A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + $name + t2 + " * 1%", true);
10575 },
10576 _removeUnits(number) {
10577 var t2,
10578 t1 = number.get$denominatorUnits(number);
10579 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
10580 t2 = number.get$numeratorUnits(number);
10581 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
10582 },
10583 _hwb($arguments) {
10584 var _s9_ = "whiteness",
10585 _s9_0 = "blackness",
10586 t1 = J.getInterceptor$asx($arguments),
10587 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
10588 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
10589 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
10590 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
10591 whiteness.assertUnit$2("%", _s9_);
10592 blackness.assertUnit$2("%", _s9_0);
10593 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()));
10594 },
10595 _parseChannels($name, argumentNames, channels) {
10596 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
10597 _s17_ = "$channels must be";
10598 if (channels.get$isVar())
10599 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10600 if (channels.get$separator(channels) === B.ListSeparator_1gm) {
10601 list = channels.get$asList();
10602 t1 = list.length;
10603 if (t1 !== 2)
10604 throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed."));
10605 channels0 = list[0];
10606 alphaFromSlashList = list[1];
10607 if (!alphaFromSlashList.get$isSpecialNumber())
10608 alphaFromSlashList.assertNumber$1("alpha");
10609 if (list[0].get$isVar())
10610 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10611 } else {
10612 channels0 = channels;
10613 alphaFromSlashList = null;
10614 }
10615 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM;
10616 isBracketed = channels0.get$hasBrackets();
10617 if (isCommaSeparated || isBracketed) {
10618 buffer = new A.StringBuffer(_s17_);
10619 if (isBracketed) {
10620 t1 = _s17_ + " an unbracketed";
10621 buffer._contents = t1;
10622 } else
10623 t1 = _s17_;
10624 if (isCommaSeparated) {
10625 t1 += isBracketed ? "," : " a";
10626 buffer._contents = t1;
10627 t1 = buffer._contents = t1 + " space-separated";
10628 }
10629 buffer._contents = t1 + " list.";
10630 throw A.wrapException(A.SassScriptException$(buffer.toString$0(0)));
10631 }
10632 list = channels0.get$asList();
10633 t1 = list.length;
10634 if (t1 > 3)
10635 throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed."));
10636 else if (t1 < 3) {
10637 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
10638 if (list.length !== 0) {
10639 t1 = B.JSArray_methods.get$last(list);
10640 if (t1 instanceof A.SassString)
10641 if (t1._hasQuotes) {
10642 t1 = t1._string$_text;
10643 t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
10644 } else
10645 t1 = false;
10646 else
10647 t1 = false;
10648 } else
10649 t1 = false;
10650 else
10651 t1 = true;
10652 if (t1)
10653 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10654 else
10655 throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + "."));
10656 }
10657 if (alphaFromSlashList != null) {
10658 t1 = A.List_List$of(list, true, type$.Value);
10659 t1.push(alphaFromSlashList);
10660 return t1;
10661 }
10662 maybeSlashSeparated = list[2];
10663 if (maybeSlashSeparated instanceof A.SassNumber) {
10664 slash = maybeSlashSeparated.asSlash;
10665 if (slash == null)
10666 return list;
10667 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
10668 } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
10669 return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
10670 else
10671 return list;
10672 },
10673 _percentageOrUnitless(number, max, $name) {
10674 var value;
10675 if (!number.get$hasUnits())
10676 value = number._number$_value;
10677 else if (number.hasUnit$1("%"))
10678 value = max * number._number$_value / 100;
10679 else
10680 throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
10681 return B.JSNumber_methods.clamp$2(value, 0, max);
10682 },
10683 _mixColors(color1, color2, weight) {
10684 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
10685 normalizedWeight = weightScale * 2 - 1,
10686 t1 = color1._alpha,
10687 t2 = color2._alpha,
10688 alphaDistance = t1 - t2,
10689 t3 = normalizedWeight * alphaDistance,
10690 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
10691 weight2 = 1 - weight1;
10692 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));
10693 },
10694 _opacify($arguments) {
10695 var t1 = J.getInterceptor$asx($arguments),
10696 color = t1.$index($arguments, 0).assertColor$1("color");
10697 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));
10698 },
10699 _transparentize($arguments) {
10700 var t1 = J.getInterceptor$asx($arguments),
10701 color = t1.$index($arguments, 0).assertColor$1("color");
10702 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));
10703 },
10704 _function4($name, $arguments, callback) {
10705 return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
10706 },
10707 global_closure: function global_closure() {
10708 },
10709 global_closure0: function global_closure0() {
10710 },
10711 global_closure1: function global_closure1() {
10712 },
10713 global_closure2: function global_closure2() {
10714 },
10715 global_closure3: function global_closure3() {
10716 },
10717 global_closure4: function global_closure4() {
10718 },
10719 global_closure5: function global_closure5() {
10720 },
10721 global_closure6: function global_closure6() {
10722 },
10723 global_closure7: function global_closure7() {
10724 },
10725 global_closure8: function global_closure8() {
10726 },
10727 global_closure9: function global_closure9() {
10728 },
10729 global_closure10: function global_closure10() {
10730 },
10731 global_closure11: function global_closure11() {
10732 },
10733 global_closure12: function global_closure12() {
10734 },
10735 global_closure13: function global_closure13() {
10736 },
10737 global_closure14: function global_closure14() {
10738 },
10739 global_closure15: function global_closure15() {
10740 },
10741 global_closure16: function global_closure16() {
10742 },
10743 global_closure17: function global_closure17() {
10744 },
10745 global_closure18: function global_closure18() {
10746 },
10747 global_closure19: function global_closure19() {
10748 },
10749 global_closure20: function global_closure20() {
10750 },
10751 global_closure21: function global_closure21() {
10752 },
10753 global_closure22: function global_closure22() {
10754 },
10755 global_closure23: function global_closure23() {
10756 },
10757 global_closure24: function global_closure24() {
10758 },
10759 global__closure: function global__closure() {
10760 },
10761 global_closure25: function global_closure25() {
10762 },
10763 module_closure: function module_closure() {
10764 },
10765 module_closure0: function module_closure0() {
10766 },
10767 module_closure1: function module_closure1() {
10768 },
10769 module_closure2: function module_closure2() {
10770 },
10771 module_closure3: function module_closure3() {
10772 },
10773 module_closure4: function module_closure4() {
10774 },
10775 module_closure5: function module_closure5() {
10776 },
10777 module_closure6: function module_closure6() {
10778 },
10779 module__closure: function module__closure() {
10780 },
10781 module_closure7: function module_closure7() {
10782 },
10783 _red_closure: function _red_closure() {
10784 },
10785 _green_closure: function _green_closure() {
10786 },
10787 _blue_closure: function _blue_closure() {
10788 },
10789 _mix_closure: function _mix_closure() {
10790 },
10791 _hue_closure: function _hue_closure() {
10792 },
10793 _saturation_closure: function _saturation_closure() {
10794 },
10795 _lightness_closure: function _lightness_closure() {
10796 },
10797 _complement_closure: function _complement_closure() {
10798 },
10799 _adjust_closure: function _adjust_closure() {
10800 },
10801 _scale_closure: function _scale_closure() {
10802 },
10803 _change_closure: function _change_closure() {
10804 },
10805 _ieHexStr_closure: function _ieHexStr_closure() {
10806 },
10807 _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
10808 },
10809 _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
10810 this.keywords = t0;
10811 this.scale = t1;
10812 this.change = t2;
10813 },
10814 _updateComponents_closure: function _updateComponents_closure() {
10815 },
10816 _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
10817 this.change = t0;
10818 this.adjust = t1;
10819 },
10820 _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
10821 this.updateValue = t0;
10822 },
10823 _functionString_closure: function _functionString_closure() {
10824 },
10825 _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
10826 this.name = t0;
10827 this.argument = t1;
10828 this.negative = t2;
10829 },
10830 _rgb_closure: function _rgb_closure() {
10831 },
10832 _hsl_closure: function _hsl_closure() {
10833 },
10834 _removeUnits_closure: function _removeUnits_closure() {
10835 },
10836 _removeUnits_closure0: function _removeUnits_closure0() {
10837 },
10838 _hwb_closure: function _hwb_closure() {
10839 },
10840 _parseChannels_closure: function _parseChannels_closure() {
10841 },
10842 _function3($name, $arguments, callback) {
10843 return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
10844 },
10845 _length_closure0: function _length_closure0() {
10846 },
10847 _nth_closure: function _nth_closure() {
10848 },
10849 _setNth_closure: function _setNth_closure() {
10850 },
10851 _join_closure: function _join_closure() {
10852 },
10853 _append_closure0: function _append_closure0() {
10854 },
10855 _zip_closure: function _zip_closure() {
10856 },
10857 _zip__closure: function _zip__closure() {
10858 },
10859 _zip__closure0: function _zip__closure0(t0) {
10860 this._box_0 = t0;
10861 },
10862 _zip__closure1: function _zip__closure1(t0) {
10863 this._box_0 = t0;
10864 },
10865 _index_closure0: function _index_closure0() {
10866 },
10867 _separator_closure: function _separator_closure() {
10868 },
10869 _isBracketed_closure: function _isBracketed_closure() {
10870 },
10871 _slash_closure: function _slash_closure() {
10872 },
10873 _modify(map, keys, modify, addNesting) {
10874 var keyIterator = J.get$iterator$ax(keys);
10875 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
10876 },
10877 _deepMergeImpl(map1, map2) {
10878 var t2, t3, result,
10879 t1 = map1._map$_contents;
10880 if (t1.get$isEmpty(t1))
10881 return map2;
10882 t2 = map2._map$_contents;
10883 if (t2.get$isEmpty(t2))
10884 return map1;
10885 t3 = type$.Value;
10886 result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
10887 t2.forEach$1(0, new A._deepMergeImpl_closure(result));
10888 return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
10889 },
10890 _function2($name, $arguments, callback) {
10891 return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
10892 },
10893 _get_closure: function _get_closure() {
10894 },
10895 _set_closure: function _set_closure() {
10896 },
10897 _set__closure0: function _set__closure0(t0) {
10898 this.$arguments = t0;
10899 },
10900 _set_closure0: function _set_closure0() {
10901 },
10902 _set__closure: function _set__closure(t0) {
10903 this.args = t0;
10904 },
10905 _merge_closure: function _merge_closure() {
10906 },
10907 _merge_closure0: function _merge_closure0() {
10908 },
10909 _merge__closure: function _merge__closure(t0) {
10910 this.map2 = t0;
10911 },
10912 _deepMerge_closure: function _deepMerge_closure() {
10913 },
10914 _deepRemove_closure: function _deepRemove_closure() {
10915 },
10916 _deepRemove__closure: function _deepRemove__closure(t0) {
10917 this.keys = t0;
10918 },
10919 _remove_closure: function _remove_closure() {
10920 },
10921 _remove_closure0: function _remove_closure0() {
10922 },
10923 _keys_closure: function _keys_closure() {
10924 },
10925 _values_closure: function _values_closure() {
10926 },
10927 _hasKey_closure: function _hasKey_closure() {
10928 },
10929 _modify__modifyNestedMap: function _modify__modifyNestedMap(t0, t1, t2) {
10930 this.keyIterator = t0;
10931 this.modify = t1;
10932 this.addNesting = t2;
10933 },
10934 _deepMergeImpl_closure: function _deepMergeImpl_closure(t0) {
10935 this.result = t0;
10936 },
10937 _fuzzyRoundIfZero(number) {
10938 if (!(Math.abs(number - 0) < $.$get$epsilon()))
10939 return number;
10940 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
10941 },
10942 _numberFunction($name, transform) {
10943 return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
10944 },
10945 _function1($name, $arguments, callback) {
10946 return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
10947 },
10948 _ceil_closure: function _ceil_closure() {
10949 },
10950 _clamp_closure: function _clamp_closure() {
10951 },
10952 _floor_closure: function _floor_closure() {
10953 },
10954 _max_closure: function _max_closure() {
10955 },
10956 _min_closure: function _min_closure() {
10957 },
10958 _abs_closure: function _abs_closure() {
10959 },
10960 _hypot_closure: function _hypot_closure() {
10961 },
10962 _hypot__closure: function _hypot__closure() {
10963 },
10964 _log_closure: function _log_closure() {
10965 },
10966 _pow_closure: function _pow_closure() {
10967 },
10968 _sqrt_closure: function _sqrt_closure() {
10969 },
10970 _acos_closure: function _acos_closure() {
10971 },
10972 _asin_closure: function _asin_closure() {
10973 },
10974 _atan_closure: function _atan_closure() {
10975 },
10976 _atan2_closure: function _atan2_closure() {
10977 },
10978 _cos_closure: function _cos_closure() {
10979 },
10980 _sin_closure: function _sin_closure() {
10981 },
10982 _tan_closure: function _tan_closure() {
10983 },
10984 _compatible_closure: function _compatible_closure() {
10985 },
10986 _isUnitless_closure: function _isUnitless_closure() {
10987 },
10988 _unit_closure: function _unit_closure() {
10989 },
10990 _percentage_closure: function _percentage_closure() {
10991 },
10992 _randomFunction_closure: function _randomFunction_closure() {
10993 },
10994 _div_closure: function _div_closure() {
10995 },
10996 _numberFunction_closure: function _numberFunction_closure(t0) {
10997 this.transform = t0;
10998 },
10999 _function5($name, $arguments, callback) {
11000 return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
11001 },
11002 global_closure26: function global_closure26() {
11003 },
11004 global_closure27: function global_closure27() {
11005 },
11006 global_closure28: function global_closure28() {
11007 },
11008 global_closure29: function global_closure29() {
11009 },
11010 local_closure: function local_closure() {
11011 },
11012 local_closure0: function local_closure0() {
11013 },
11014 local__closure: function local__closure() {
11015 },
11016 _prependParent(compound) {
11017 var t2, _null = null,
11018 t1 = compound.components,
11019 first = B.JSArray_methods.get$first(t1);
11020 if (first instanceof A.UniversalSelector)
11021 return _null;
11022 if (first instanceof A.TypeSelector) {
11023 t2 = first.name;
11024 if (t2.namespace != null)
11025 return _null;
11026 t2 = A._setArrayType([new A.ParentSelector(t2.name)], type$.JSArray_SimpleSelector);
11027 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
11028 return A.CompoundSelector$(t2);
11029 } else {
11030 t2 = A._setArrayType([new A.ParentSelector(_null)], type$.JSArray_SimpleSelector);
11031 B.JSArray_methods.addAll$1(t2, t1);
11032 return A.CompoundSelector$(t2);
11033 }
11034 },
11035 _function0($name, $arguments, callback) {
11036 return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
11037 },
11038 _nest_closure: function _nest_closure() {
11039 },
11040 _nest__closure: function _nest__closure(t0) {
11041 this._box_0 = t0;
11042 },
11043 _nest__closure0: function _nest__closure0() {
11044 },
11045 _append_closure: function _append_closure() {
11046 },
11047 _append__closure: function _append__closure() {
11048 },
11049 _append__closure0: function _append__closure0() {
11050 },
11051 _append___closure: function _append___closure(t0) {
11052 this.parent = t0;
11053 },
11054 _extend_closure: function _extend_closure() {
11055 },
11056 _replace_closure: function _replace_closure() {
11057 },
11058 _unify_closure: function _unify_closure() {
11059 },
11060 _isSuperselector_closure: function _isSuperselector_closure() {
11061 },
11062 _simpleSelectors_closure: function _simpleSelectors_closure() {
11063 },
11064 _simpleSelectors__closure: function _simpleSelectors__closure() {
11065 },
11066 _parse_closure: function _parse_closure() {
11067 },
11068 _codepointForIndex(index, lengthInCodepoints, allowNegative) {
11069 var result;
11070 if (index === 0)
11071 return 0;
11072 if (index > 0)
11073 return Math.min(index - 1, lengthInCodepoints);
11074 result = lengthInCodepoints + index;
11075 if (result < 0 && !allowNegative)
11076 return 0;
11077 return result;
11078 },
11079 _function($name, $arguments, callback) {
11080 return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
11081 },
11082 _unquote_closure: function _unquote_closure() {
11083 },
11084 _quote_closure: function _quote_closure() {
11085 },
11086 _length_closure: function _length_closure() {
11087 },
11088 _insert_closure: function _insert_closure() {
11089 },
11090 _index_closure: function _index_closure() {
11091 },
11092 _slice_closure: function _slice_closure() {
11093 },
11094 _toUpperCase_closure: function _toUpperCase_closure() {
11095 },
11096 _toLowerCase_closure: function _toLowerCase_closure() {
11097 },
11098 _uniqueId_closure: function _uniqueId_closure() {
11099 },
11100 ImportCache$(loadPaths, logger) {
11101 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
11102 t2 = type$.Uri,
11103 t3 = A.ImportCache__toImporters(null, loadPaths, null),
11104 t4 = logger == null ? B.StderrLogger_false : logger;
11105 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));
11106 },
11107 ImportCache__toImporters(importers, loadPaths, packageConfig) {
11108 var sassPath, t2, t3, _i, path, _null = null,
11109 t1 = J.get$env$x(self.process);
11110 if (t1 == null)
11111 t1 = type$.Object._as(t1);
11112 sassPath = A._asStringQ(t1.SASS_PATH);
11113 t1 = A._setArrayType([], type$.JSArray_Importer_2);
11114 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
11115 t3 = t2.get$current(t2);
11116 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
11117 }
11118 if (sassPath != null) {
11119 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
11120 t3 = t2.length;
11121 _i = 0;
11122 for (; _i < t3; ++_i) {
11123 path = t2[_i];
11124 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
11125 }
11126 }
11127 return t1;
11128 },
11129 ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
11130 var _ = this;
11131 _._importers = t0;
11132 _._logger = t1;
11133 _._canonicalizeCache = t2;
11134 _._relativeCanonicalizeCache = t3;
11135 _._importCache = t4;
11136 _._resultsCache = t5;
11137 },
11138 ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
11139 var _ = this;
11140 _.$this = t0;
11141 _.baseUrl = t1;
11142 _.url = t2;
11143 _.baseImporter = t3;
11144 _.forImport = t4;
11145 },
11146 ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
11147 this.$this = t0;
11148 this.url = t1;
11149 this.forImport = t2;
11150 },
11151 ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
11152 this.importer = t0;
11153 this.url = t1;
11154 },
11155 ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
11156 var _ = this;
11157 _.$this = t0;
11158 _.importer = t1;
11159 _.canonicalUrl = t2;
11160 _.originalUrl = t3;
11161 _.quiet = t4;
11162 },
11163 ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
11164 this.canonicalUrl = t0;
11165 },
11166 ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
11167 },
11168 ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
11169 },
11170 Importer: function Importer() {
11171 },
11172 AsyncImporter: function AsyncImporter() {
11173 },
11174 FilesystemImporter: function FilesystemImporter(t0) {
11175 this._loadPath = t0;
11176 },
11177 FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
11178 },
11179 ImporterResult: function ImporterResult(t0, t1, t2) {
11180 this.contents = t0;
11181 this._sourceMapUrl = t1;
11182 this.syntax = t2;
11183 },
11184 fromImport() {
11185 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
11186 return t1 === true;
11187 },
11188 resolveImportPath(path) {
11189 var t1,
11190 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
11191 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
11192 t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
11193 return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
11194 }
11195 t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
11196 if (t1 == null)
11197 t1 = A._exactlyOne(A._tryPathWithExtensions(path));
11198 return t1 == null ? A._tryPathAsDirectory(path) : t1;
11199 },
11200 _tryPathWithExtensions(path) {
11201 var result = A._tryPath(path + ".sass");
11202 B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
11203 return result.length !== 0 ? result : A._tryPath(path + ".css");
11204 },
11205 _tryPath(path) {
11206 var t1 = $.$get$context(),
11207 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
11208 t1 = A._setArrayType([], type$.JSArray_String);
11209 if (A.fileExists(partial))
11210 t1.push(partial);
11211 if (A.fileExists(path))
11212 t1.push(path);
11213 return t1;
11214 },
11215 _tryPathAsDirectory(path) {
11216 var t1;
11217 if (!A.dirExists(path))
11218 return null;
11219 t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
11220 return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
11221 },
11222 _exactlyOne(paths) {
11223 var t1 = paths.length;
11224 if (t1 === 0)
11225 return null;
11226 if (t1 === 1)
11227 return B.JSArray_methods.get$first(paths);
11228 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
11229 },
11230 resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
11231 this.path = t0;
11232 this.extension = t1;
11233 },
11234 resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
11235 this.path = t0;
11236 },
11237 _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
11238 this.path = t0;
11239 },
11240 _exactlyOne_closure: function _exactlyOne_closure() {
11241 },
11242 InterpolationBuffer: function InterpolationBuffer(t0, t1) {
11243 this._interpolation_buffer$_text = t0;
11244 this._interpolation_buffer$_contents = t1;
11245 },
11246 _realCasePath(path) {
11247 var prefix, t1;
11248 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
11249 return path;
11250 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
11251 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
11252 t1 = prefix.length;
11253 if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
11254 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
11255 }
11256 return new A._realCasePath_helper().call$1(path);
11257 },
11258 _realCasePath_helper: function _realCasePath_helper() {
11259 },
11260 _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
11261 this.helper = t0;
11262 this.dirname = t1;
11263 this.path = t2;
11264 },
11265 _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
11266 this.basename = t0;
11267 },
11268 readFile(path) {
11269 var sourceFile, t1, i,
11270 contents = A._asString(A._readFile(path, "utf8"));
11271 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
11272 return contents;
11273 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
11274 for (t1 = contents.length, i = 0; i < t1; ++i) {
11275 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
11276 continue;
11277 throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
11278 }
11279 return contents;
11280 },
11281 _readFile(path, encoding) {
11282 return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
11283 },
11284 writeFile(path, contents) {
11285 return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
11286 },
11287 deleteFile(path) {
11288 return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
11289 },
11290 readStdin() {
11291 return A.readStdin$body();
11292 },
11293 readStdin$body() {
11294 var $async$goto = 0,
11295 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
11296 $async$returnValue, sink, t1, t2, completer;
11297 var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
11298 if ($async$errorCode === 1)
11299 return A._asyncRethrow($async$result, $async$completer);
11300 while (true)
11301 switch ($async$goto) {
11302 case 0:
11303 // Function start
11304 t1 = {};
11305 t2 = new A._Future($.Zone__current, type$._Future_String);
11306 completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
11307 t1.contents = null;
11308 sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
11309 J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
11310 J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
11311 J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
11312 $async$returnValue = t2;
11313 // goto return
11314 $async$goto = 1;
11315 break;
11316 case 1:
11317 // return
11318 return A._asyncReturn($async$returnValue, $async$completer);
11319 }
11320 });
11321 return A._asyncStartSync($async$readStdin, $async$completer);
11322 },
11323 fileExists(path) {
11324 return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
11325 },
11326 dirExists(path) {
11327 return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
11328 },
11329 ensureDir(path) {
11330 return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
11331 },
11332 listDir(path, recursive) {
11333 return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
11334 },
11335 modificationTime(path) {
11336 return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
11337 },
11338 _systemErrorToFileSystemException(callback) {
11339 var error, t1, exception, t2;
11340 try {
11341 t1 = callback.call$0();
11342 return t1;
11343 } catch (exception) {
11344 error = A.unwrapException(exception);
11345 if (!type$.JsSystemError._is(error))
11346 throw exception;
11347 t1 = error;
11348 t2 = J.getInterceptor$x(t1);
11349 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)));
11350 }
11351 },
11352 isWindows() {
11353 return J.$eq$(J.get$platform$x(self.process), "win32");
11354 },
11355 watchDir(path, poll) {
11356 var t2, t3, t1 = {},
11357 watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
11358 t1.controller = null;
11359 t2 = J.getInterceptor$x(watcher);
11360 t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
11361 t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
11362 t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
11363 t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
11364 t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
11365 t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
11366 return t3;
11367 },
11368 FileSystemException: function FileSystemException(t0, t1) {
11369 this.message = t0;
11370 this.path = t1;
11371 },
11372 Stderr: function Stderr(t0) {
11373 this._stderr = t0;
11374 },
11375 _readFile_closure: function _readFile_closure(t0, t1) {
11376 this.path = t0;
11377 this.encoding = t1;
11378 },
11379 writeFile_closure: function writeFile_closure(t0, t1) {
11380 this.path = t0;
11381 this.contents = t1;
11382 },
11383 deleteFile_closure: function deleteFile_closure(t0) {
11384 this.path = t0;
11385 },
11386 readStdin_closure: function readStdin_closure(t0, t1) {
11387 this._box_0 = t0;
11388 this.completer = t1;
11389 },
11390 readStdin_closure0: function readStdin_closure0(t0) {
11391 this.sink = t0;
11392 },
11393 readStdin_closure1: function readStdin_closure1(t0) {
11394 this.sink = t0;
11395 },
11396 readStdin_closure2: function readStdin_closure2(t0) {
11397 this.completer = t0;
11398 },
11399 fileExists_closure: function fileExists_closure(t0) {
11400 this.path = t0;
11401 },
11402 dirExists_closure: function dirExists_closure(t0) {
11403 this.path = t0;
11404 },
11405 ensureDir_closure: function ensureDir_closure(t0) {
11406 this.path = t0;
11407 },
11408 listDir_closure: function listDir_closure(t0, t1) {
11409 this.recursive = t0;
11410 this.path = t1;
11411 },
11412 listDir__closure: function listDir__closure(t0) {
11413 this.path = t0;
11414 },
11415 listDir__closure0: function listDir__closure0() {
11416 },
11417 listDir_closure_list: function listDir_closure_list() {
11418 },
11419 listDir__list_closure: function listDir__list_closure(t0, t1) {
11420 this.parent = t0;
11421 this.list = t1;
11422 },
11423 modificationTime_closure: function modificationTime_closure(t0) {
11424 this.path = t0;
11425 },
11426 watchDir_closure: function watchDir_closure(t0) {
11427 this._box_0 = t0;
11428 },
11429 watchDir_closure0: function watchDir_closure0(t0) {
11430 this._box_0 = t0;
11431 },
11432 watchDir_closure1: function watchDir_closure1(t0) {
11433 this._box_0 = t0;
11434 },
11435 watchDir_closure2: function watchDir_closure2(t0) {
11436 this._box_0 = t0;
11437 },
11438 watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
11439 this._box_0 = t0;
11440 this.watcher = t1;
11441 this.completer = t2;
11442 },
11443 watchDir__closure: function watchDir__closure(t0) {
11444 this.watcher = t0;
11445 },
11446 _QuietLogger: function _QuietLogger() {
11447 },
11448 StderrLogger: function StderrLogger(t0) {
11449 this.color = t0;
11450 },
11451 TerseLogger: function TerseLogger(t0, t1) {
11452 this._warningCounts = t0;
11453 this._inner = t1;
11454 },
11455 TerseLogger_summarize_closure: function TerseLogger_summarize_closure() {
11456 },
11457 TerseLogger_summarize_closure0: function TerseLogger_summarize_closure0() {
11458 },
11459 TrackingLogger: function TrackingLogger(t0) {
11460 this._tracking$_logger = t0;
11461 this._emittedDebug = this._emittedWarning = false;
11462 },
11463 BuiltInModule$($name, functions, mixins, variables, $T) {
11464 var t1 = A._Uri__Uri(null, $name, null, "sass"),
11465 t2 = A.BuiltInModule__callableMap(functions, $T),
11466 t3 = A.BuiltInModule__callableMap(mixins, $T),
11467 t4 = variables == null ? B.Map_empty1 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
11468 return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
11469 },
11470 BuiltInModule__callableMap(callables, $T) {
11471 var t2, _i, callable,
11472 t1 = type$.String;
11473 if (callables == null)
11474 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11475 else {
11476 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11477 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
11478 callable = callables[_i];
11479 t1.$indexSet(0, J.get$name$x(callable), callable);
11480 }
11481 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11482 }
11483 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11484 },
11485 BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
11486 var _ = this;
11487 _.url = t0;
11488 _.functions = t1;
11489 _.mixins = t2;
11490 _.variables = t3;
11491 _.$ti = t4;
11492 },
11493 ForwardedModuleView_ifNecessary(inner, rule, $T) {
11494 var t1;
11495 if (rule.prefix == null)
11496 if (rule.shownMixinsAndFunctions == null)
11497 if (rule.shownVariables == null) {
11498 t1 = rule.hiddenMixinsAndFunctions;
11499 if (t1 == null)
11500 t1 = null;
11501 else {
11502 t1 = t1._base;
11503 t1 = t1.get$isEmpty(t1);
11504 }
11505 if (t1 === true) {
11506 t1 = rule.hiddenVariables;
11507 if (t1 == null)
11508 t1 = null;
11509 else {
11510 t1 = t1._base;
11511 t1 = t1.get$isEmpty(t1);
11512 }
11513 t1 = t1 === true;
11514 } else
11515 t1 = false;
11516 } else
11517 t1 = false;
11518 else
11519 t1 = false;
11520 else
11521 t1 = false;
11522 if (t1)
11523 return inner;
11524 else
11525 return A.ForwardedModuleView$(inner, rule, $T);
11526 },
11527 ForwardedModuleView$(_inner, _rule, $T) {
11528 var t1 = _rule.prefix,
11529 t2 = _rule.shownVariables,
11530 t3 = _rule.hiddenVariables,
11531 t4 = _rule.shownMixinsAndFunctions,
11532 t5 = _rule.hiddenMixinsAndFunctions;
11533 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>"));
11534 },
11535 ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
11536 var t2,
11537 t1 = prefix == null;
11538 if (t1)
11539 if (safelist == null)
11540 if (blocklist != null) {
11541 t2 = blocklist._base;
11542 t2 = t2.get$isEmpty(t2);
11543 } else
11544 t2 = true;
11545 else
11546 t2 = false;
11547 else
11548 t2 = false;
11549 if (t2)
11550 return map;
11551 if (!t1)
11552 map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
11553 if (safelist != null)
11554 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>"));
11555 else {
11556 if (blocklist != null) {
11557 t1 = blocklist._base;
11558 t1 = t1.get$isNotEmpty(t1);
11559 } else
11560 t1 = false;
11561 if (t1)
11562 map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11563 }
11564 return map;
11565 },
11566 ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
11567 var _ = this;
11568 _._forwarded_view$_inner = t0;
11569 _._rule = t1;
11570 _.variables = t2;
11571 _.variableNodes = t3;
11572 _.functions = t4;
11573 _.mixins = t5;
11574 _.$ti = t6;
11575 },
11576 ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
11577 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;
11578 },
11579 ShadowedModuleView__shadowedMap(map, blocklist, $V) {
11580 var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
11581 return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11582 },
11583 ShadowedModuleView__needsBlocklist(map, blocklist) {
11584 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
11585 return t1;
11586 },
11587 ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
11588 var _ = this;
11589 _._shadowed_view$_inner = t0;
11590 _.variables = t1;
11591 _.variableNodes = t2;
11592 _.functions = t3;
11593 _.mixins = t4;
11594 _.$ti = t5;
11595 },
11596 JSArray0: function JSArray0() {
11597 },
11598 Chokidar: function Chokidar() {
11599 },
11600 ChokidarOptions: function ChokidarOptions() {
11601 },
11602 ChokidarWatcher: function ChokidarWatcher() {
11603 },
11604 JSFunction: function JSFunction() {
11605 },
11606 NodeImporterResult: function NodeImporterResult() {
11607 },
11608 RenderContext: function RenderContext() {
11609 },
11610 RenderContextOptions: function RenderContextOptions() {
11611 },
11612 RenderContextResult: function RenderContextResult() {
11613 },
11614 RenderContextResultStats: function RenderContextResultStats() {
11615 },
11616 JSClass: function JSClass() {
11617 },
11618 JSUrl: function JSUrl() {
11619 },
11620 _PropertyDescriptor: function _PropertyDescriptor() {
11621 },
11622 AtRootQueryParser: function AtRootQueryParser(t0, t1) {
11623 this.scanner = t0;
11624 this.logger = t1;
11625 },
11626 AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
11627 this.$this = t0;
11628 },
11629 _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
11630 },
11631 CssParser: function CssParser(t0, t1, t2) {
11632 var _ = this;
11633 _._isUseAllowed = true;
11634 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11635 _._globalVariables = t0;
11636 _.lastSilentComment = null;
11637 _.scanner = t1;
11638 _.logger = t2;
11639 },
11640 KeyframeSelectorParser$(contents, logger) {
11641 var t1 = A.SpanScanner$(contents, null);
11642 return new A.KeyframeSelectorParser(t1, logger);
11643 },
11644 KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
11645 this.scanner = t0;
11646 this.logger = t1;
11647 },
11648 KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
11649 this.$this = t0;
11650 },
11651 MediaQueryParser: function MediaQueryParser(t0, t1) {
11652 this.scanner = t0;
11653 this.logger = t1;
11654 },
11655 MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
11656 this.$this = t0;
11657 },
11658 Parser_isIdentifier(text) {
11659 var t1, t2, exception, logger = null;
11660 try {
11661 t1 = logger;
11662 t2 = A.SpanScanner$(text, null);
11663 new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1)._parseIdentifier$0();
11664 return true;
11665 } catch (exception) {
11666 if (A.unwrapException(exception) instanceof A.SassFormatException)
11667 return false;
11668 else
11669 throw exception;
11670 }
11671 },
11672 Parser: function Parser(t0, t1) {
11673 this.scanner = t0;
11674 this.logger = t1;
11675 },
11676 Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
11677 this.$this = t0;
11678 },
11679 Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
11680 this.caseSensitive = t0;
11681 this.char = t1;
11682 },
11683 SassParser: function SassParser(t0, t1, t2) {
11684 var _ = this;
11685 _._currentIndentation = 0;
11686 _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
11687 _._isUseAllowed = true;
11688 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11689 _._globalVariables = t0;
11690 _.lastSilentComment = null;
11691 _.scanner = t1;
11692 _.logger = t2;
11693 },
11694 SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
11695 this.$this = t0;
11696 this.child = t1;
11697 this.children = t2;
11698 },
11699 ScssParser$(contents, logger, url) {
11700 var t1 = A.SpanScanner$(contents, url),
11701 t2 = logger == null ? B.StderrLogger_false : logger;
11702 return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2);
11703 },
11704 ScssParser: function ScssParser(t0, t1, t2) {
11705 var _ = this;
11706 _._isUseAllowed = true;
11707 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11708 _._globalVariables = t0;
11709 _.lastSilentComment = null;
11710 _.scanner = t1;
11711 _.logger = t2;
11712 },
11713 SelectorParser$(contents, allowParent, allowPlaceholder, logger, url) {
11714 var t1 = A.SpanScanner$(contents, url);
11715 return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger);
11716 },
11717 SelectorParser: function SelectorParser(t0, t1, t2, t3) {
11718 var _ = this;
11719 _._allowParent = t0;
11720 _._allowPlaceholder = t1;
11721 _.scanner = t2;
11722 _.logger = t3;
11723 },
11724 SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
11725 this.$this = t0;
11726 },
11727 SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
11728 this.$this = t0;
11729 },
11730 StylesheetParser: function StylesheetParser() {
11731 },
11732 StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
11733 this.$this = t0;
11734 },
11735 StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
11736 this.$this = t0;
11737 },
11738 StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
11739 },
11740 StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
11741 this.$this = t0;
11742 },
11743 StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
11744 this.$this = t0;
11745 },
11746 StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
11747 this.$this = t0;
11748 },
11749 StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
11750 this.$this = t0;
11751 this.production = t1;
11752 this.T = t2;
11753 },
11754 StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
11755 this.$this = t0;
11756 },
11757 StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
11758 this.$this = t0;
11759 this.start = t1;
11760 },
11761 StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
11762 this.declaration = t0;
11763 },
11764 StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
11765 this.name = t0;
11766 },
11767 StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
11768 this._box_0 = t0;
11769 this.name = t1;
11770 },
11771 StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
11772 var _ = this;
11773 _._box_0 = t0;
11774 _.$this = t1;
11775 _.wasInStyleRule = t2;
11776 _.start = t3;
11777 },
11778 StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
11779 this._box_0 = t0;
11780 },
11781 StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
11782 this._box_0 = t0;
11783 this.value = t1;
11784 },
11785 StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
11786 this.query = t0;
11787 },
11788 StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
11789 },
11790 StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
11791 var _ = this;
11792 _.$this = t0;
11793 _.wasInControlDirective = t1;
11794 _.variables = t2;
11795 _.list = t3;
11796 },
11797 StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
11798 this.name = t0;
11799 this.$arguments = t1;
11800 this.precedingComment = t2;
11801 },
11802 StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
11803 this._box_0 = t0;
11804 this.$this = t1;
11805 },
11806 StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
11807 var _ = this;
11808 _._box_0 = t0;
11809 _.$this = t1;
11810 _.wasInControlDirective = t2;
11811 _.variable = t3;
11812 _.from = t4;
11813 _.to = t5;
11814 },
11815 StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
11816 this.$this = t0;
11817 this.variables = t1;
11818 this.identifiers = t2;
11819 },
11820 StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
11821 this.contentArguments_ = t0;
11822 },
11823 StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
11824 this.query = t0;
11825 },
11826 StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
11827 var _ = this;
11828 _.$this = t0;
11829 _.name = t1;
11830 _.$arguments = t2;
11831 _.precedingComment = t3;
11832 },
11833 StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
11834 var _ = this;
11835 _._box_0 = t0;
11836 _.$this = t1;
11837 _.name = t2;
11838 _.value = t3;
11839 },
11840 StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
11841 this.condition = t0;
11842 },
11843 StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
11844 this.$this = t0;
11845 this.wasInControlDirective = t1;
11846 this.condition = t2;
11847 },
11848 StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
11849 this._box_0 = t0;
11850 this.name = t1;
11851 },
11852 StylesheetParser_expression_resetState: function StylesheetParser_expression_resetState(t0, t1, t2) {
11853 this._box_0 = t0;
11854 this.$this = t1;
11855 this.start = t2;
11856 },
11857 StylesheetParser_expression_resolveOneOperation: function StylesheetParser_expression_resolveOneOperation(t0, t1) {
11858 this._box_0 = t0;
11859 this.$this = t1;
11860 },
11861 StylesheetParser_expression_resolveOperations: function StylesheetParser_expression_resolveOperations(t0, t1) {
11862 this._box_0 = t0;
11863 this.resolveOneOperation = t1;
11864 },
11865 StylesheetParser_expression_addSingleExpression: function StylesheetParser_expression_addSingleExpression(t0, t1, t2, t3) {
11866 var _ = this;
11867 _._box_0 = t0;
11868 _.$this = t1;
11869 _.resetState = t2;
11870 _.resolveOperations = t3;
11871 },
11872 StylesheetParser_expression_addOperator: function StylesheetParser_expression_addOperator(t0, t1, t2) {
11873 this._box_0 = t0;
11874 this.$this = t1;
11875 this.resolveOneOperation = t2;
11876 },
11877 StylesheetParser_expression_resolveSpaceExpressions: function StylesheetParser_expression_resolveSpaceExpressions(t0, t1, t2) {
11878 this._box_0 = t0;
11879 this.$this = t1;
11880 this.resolveOperations = t2;
11881 },
11882 StylesheetParser__expressionUntilComma_closure: function StylesheetParser__expressionUntilComma_closure(t0) {
11883 this.$this = t0;
11884 },
11885 StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
11886 },
11887 StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
11888 },
11889 StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
11890 this.$this = t0;
11891 this.start = t1;
11892 },
11893 StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
11894 },
11895 StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
11896 this.$this = t0;
11897 },
11898 StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
11899 this.$this = t0;
11900 this.start = t1;
11901 },
11902 StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
11903 var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
11904 t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
11905 return t1;
11906 },
11907 StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
11908 this._nodes = t0;
11909 this.importCache = t1;
11910 this._transitiveModificationTimes = t2;
11911 },
11912 StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
11913 this.$this = t0;
11914 },
11915 StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
11916 this.node = t0;
11917 this.transitiveModificationTime = t1;
11918 },
11919 StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
11920 var _ = this;
11921 _.$this = t0;
11922 _.url = t1;
11923 _.baseImporter = t2;
11924 _.baseUrl = t3;
11925 },
11926 StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
11927 var _ = this;
11928 _.$this = t0;
11929 _.importer = t1;
11930 _.canonicalUrl = t2;
11931 _.originalUrl = t3;
11932 },
11933 StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
11934 this.$this = t0;
11935 this.node = t1;
11936 this.canonicalUrl = t2;
11937 },
11938 StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
11939 var _ = this;
11940 _.$this = t0;
11941 _.importer = t1;
11942 _.canonicalUrl = t2;
11943 _.node = t3;
11944 _.forImport = t4;
11945 _.newMap = t5;
11946 },
11947 StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
11948 var _ = this;
11949 _.$this = t0;
11950 _.url = t1;
11951 _.baseImporter = t2;
11952 _.baseUrl = t3;
11953 _.forImport = t4;
11954 },
11955 StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
11956 var _ = this;
11957 _.$this = t0;
11958 _.importer = t1;
11959 _.canonicalUrl = t2;
11960 _.resolvedUrl = t3;
11961 },
11962 StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
11963 var _ = this;
11964 _._stylesheet = t0;
11965 _.importer = t1;
11966 _.canonicalUrl = t2;
11967 _._upstream = t3;
11968 _._upstreamImports = t4;
11969 _._downstream = t5;
11970 },
11971 Syntax_forPath(path) {
11972 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
11973 case ".sass":
11974 return B.Syntax_Sass;
11975 case ".css":
11976 return B.Syntax_CSS;
11977 default:
11978 return B.Syntax_SCSS;
11979 }
11980 },
11981 Syntax: function Syntax(t0) {
11982 this._syntax$_name = t0;
11983 },
11984 LimitedMapView$blocklist(_map, blocklist, $K, $V) {
11985 var t2, key,
11986 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
11987 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
11988 key = t2.get$current(t2);
11989 if (!blocklist.contains$1(0, key))
11990 t1.add$1(0, key);
11991 }
11992 return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
11993 },
11994 LimitedMapView: function LimitedMapView(t0, t1, t2) {
11995 this._limited_map_view$_map = t0;
11996 this._limited_map_view$_keys = t1;
11997 this.$ti = t2;
11998 },
11999 MergedMapView$(maps, $K, $V) {
12000 var t1 = $K._eval$1("@<0>")._bind$1($V);
12001 t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
12002 t1.MergedMapView$1(maps, $K, $V);
12003 return t1;
12004 },
12005 MergedMapView: function MergedMapView(t0, t1) {
12006 this._mapsByKey = t0;
12007 this.$ti = t1;
12008 },
12009 MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
12010 this._watchers = t0;
12011 this._group = t1;
12012 this._poll = t2;
12013 },
12014 NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
12015 this._no_source_map_buffer$_buffer = t0;
12016 },
12017 PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
12018 this._prefixed_map_view$_map = t0;
12019 this._prefix = t1;
12020 this.$ti = t2;
12021 },
12022 _PrefixedKeys: function _PrefixedKeys(t0) {
12023 this._view = t0;
12024 },
12025 _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
12026 this.$this = t0;
12027 },
12028 PublicMemberMapView: function PublicMemberMapView(t0, t1) {
12029 this._public_member_map_view$_inner = t0;
12030 this.$ti = t1;
12031 },
12032 SourceMapBuffer: function SourceMapBuffer(t0, t1) {
12033 var _ = this;
12034 _._source_map_buffer$_buffer = t0;
12035 _._entries = t1;
12036 _._column = _._line = 0;
12037 _._inSpan = false;
12038 },
12039 SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
12040 this._box_0 = t0;
12041 this.prefixLength = t1;
12042 },
12043 UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
12044 this._unprefixed_map_view$_map = t0;
12045 this._unprefixed_map_view$_prefix = t1;
12046 this.$ti = t2;
12047 },
12048 _UnprefixedKeys: function _UnprefixedKeys(t0) {
12049 this._unprefixed_map_view$_view = t0;
12050 },
12051 _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
12052 this.$this = t0;
12053 },
12054 _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
12055 this.$this = t0;
12056 },
12057 toSentence(iter, conjunction) {
12058 var t1 = iter.__internal$_iterable,
12059 t2 = J.getInterceptor$asx(t1);
12060 if (t2.get$length(t1) === 1)
12061 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
12062 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))));
12063 },
12064 indent(string, indentation) {
12065 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");
12066 },
12067 pluralize($name, number, plural) {
12068 if (number === 1)
12069 return $name;
12070 if (plural != null)
12071 return plural;
12072 return $name + "s";
12073 },
12074 trimAscii(string, excludeEscape) {
12075 var t1,
12076 start = A._firstNonWhitespace(string);
12077 if (start == null)
12078 t1 = "";
12079 else {
12080 t1 = A._lastNonWhitespace(string, true);
12081 t1.toString;
12082 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
12083 }
12084 return t1;
12085 },
12086 trimAsciiRight(string, excludeEscape) {
12087 var end = A._lastNonWhitespace(string, excludeEscape);
12088 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
12089 },
12090 _firstNonWhitespace(string) {
12091 var t1, i, t2;
12092 for (t1 = string.length, i = 0; i < t1; ++i) {
12093 t2 = B.JSString_methods._codeUnitAt$1(string, i);
12094 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
12095 return i;
12096 }
12097 return null;
12098 },
12099 _lastNonWhitespace(string, excludeEscape) {
12100 var t1, i, codeUnit;
12101 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
12102 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
12103 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
12104 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
12105 return i + 1;
12106 else
12107 return i;
12108 }
12109 return null;
12110 },
12111 isPublic(member) {
12112 var start = B.JSString_methods._codeUnitAt$1(member, 0);
12113 return start !== 45 && start !== 95;
12114 },
12115 flattenVertically(iterable, $T) {
12116 var result,
12117 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
12118 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
12119 if (queues.length === 1)
12120 return B.JSArray_methods.get$first(queues);
12121 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
12122 for (; queues.length !== 0;) {
12123 if (!!queues.fixed$length)
12124 A.throwExpression(A.UnsupportedError$("removeWhere"));
12125 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
12126 }
12127 return result;
12128 },
12129 firstOrNull(iterable) {
12130 var iterator = J.get$iterator$ax(iterable);
12131 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
12132 },
12133 codepointIndexToCodeUnitIndex(string, codepointIndex) {
12134 var codeUnitIndex, i, codeUnitIndex0;
12135 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
12136 codeUnitIndex0 = codeUnitIndex + 1;
12137 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
12138 }
12139 return codeUnitIndex;
12140 },
12141 codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
12142 var codepointIndex, i;
12143 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
12144 ++codepointIndex;
12145 return codepointIndex;
12146 },
12147 frameForSpan(span, member, url) {
12148 var t2, t3, t4,
12149 t1 = url == null ? span.file.url : url;
12150 if (t1 == null)
12151 t1 = $.$get$_noSourceUrl();
12152 t2 = span.file;
12153 t3 = span._file$_start;
12154 t4 = A.FileLocation$_(t2, t3);
12155 t4 = t4.file.getLine$1(t4.offset);
12156 t3 = A.FileLocation$_(t2, t3);
12157 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
12158 },
12159 declarationName(span) {
12160 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
12161 return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
12162 },
12163 unvendor($name) {
12164 var i,
12165 t1 = $name.length;
12166 if (t1 < 2)
12167 return $name;
12168 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
12169 return $name;
12170 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
12171 return $name;
12172 for (i = 2; i < t1; ++i)
12173 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
12174 return B.JSString_methods.substring$1($name, i + 1);
12175 return $name;
12176 },
12177 equalsIgnoreCase(string1, string2) {
12178 var t1, i;
12179 if (string1 === string2)
12180 return true;
12181 if (string1 == null || false)
12182 return false;
12183 t1 = string1.length;
12184 if (t1 !== string2.length)
12185 return false;
12186 for (i = 0; i < t1; ++i)
12187 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
12188 return false;
12189 return true;
12190 },
12191 startsWithIgnoreCase(string, prefix) {
12192 var i,
12193 t1 = prefix.length;
12194 if (string.length < t1)
12195 return false;
12196 for (i = 0; i < t1; ++i)
12197 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
12198 return false;
12199 return true;
12200 },
12201 mapInPlace(list, $function) {
12202 var i;
12203 for (i = 0; i < list.length; ++i)
12204 list[i] = $function.call$1(list[i]);
12205 },
12206 longestCommonSubsequence(list1, list2, select, $T) {
12207 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
12208 if (select == null)
12209 select = new A.longestCommonSubsequence_closure($T);
12210 t1 = J.getInterceptor$asx(list1);
12211 _length = t1.get$length(list1) + 1;
12212 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
12213 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
12214 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
12215 _length = t1.get$length(list1);
12216 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
12217 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
12218 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
12219 for (i = 0; i < t1.get$length(list1); i = i0)
12220 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
12221 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
12222 selections[i][j] = selection;
12223 t3 = lengths[i0];
12224 j0 = j + 1;
12225 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
12226 }
12227 return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
12228 },
12229 removeFirstWhere(list, test, orElse) {
12230 var i;
12231 for (i = 0; i < list.length; ++i) {
12232 if (!test.call$1(list[i]))
12233 continue;
12234 B.JSArray_methods.removeAt$1(list, i);
12235 return;
12236 }
12237 orElse.call$0();
12238 },
12239 mapAddAll2(destination, source, K1, K2, $V) {
12240 source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
12241 },
12242 setAll(map, keys, value) {
12243 var t1;
12244 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
12245 map.$indexSet(0, t1.get$current(t1), value);
12246 },
12247 rotateSlice(list, start, end) {
12248 var i, next,
12249 element = list.$index(0, end - 1);
12250 for (i = start; i < end; ++i, element = next) {
12251 next = list.$index(0, i);
12252 list.$indexSet(0, i, element);
12253 }
12254 },
12255 mapAsync(iterable, callback, $E, $F) {
12256 return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
12257 },
12258 mapAsync$body(iterable, callback, $E, $F, $async$type) {
12259 var $async$goto = 0,
12260 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12261 $async$returnValue, t2, _i, t1, $async$temp1;
12262 var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12263 if ($async$errorCode === 1)
12264 return A._asyncRethrow($async$result, $async$completer);
12265 while (true)
12266 switch ($async$goto) {
12267 case 0:
12268 // Function start
12269 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
12270 t2 = iterable.length, _i = 0;
12271 case 3:
12272 // for condition
12273 if (!(_i < t2)) {
12274 // goto after for
12275 $async$goto = 5;
12276 break;
12277 }
12278 $async$temp1 = t1;
12279 $async$goto = 6;
12280 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
12281 case 6:
12282 // returning from await.
12283 $async$temp1.push($async$result);
12284 case 4:
12285 // for update
12286 ++_i;
12287 // goto for condition
12288 $async$goto = 3;
12289 break;
12290 case 5:
12291 // after for
12292 $async$returnValue = t1;
12293 // goto return
12294 $async$goto = 1;
12295 break;
12296 case 1:
12297 // return
12298 return A._asyncReturn($async$returnValue, $async$completer);
12299 }
12300 });
12301 return A._asyncStartSync($async$mapAsync, $async$completer);
12302 },
12303 putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
12304 return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
12305 },
12306 putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
12307 var $async$goto = 0,
12308 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12309 $async$returnValue, t1, value;
12310 var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12311 if ($async$errorCode === 1)
12312 return A._asyncRethrow($async$result, $async$completer);
12313 while (true)
12314 switch ($async$goto) {
12315 case 0:
12316 // Function start
12317 if (map.containsKey$1(key)) {
12318 t1 = map.$index(0, key);
12319 $async$returnValue = t1 == null ? $V._as(t1) : t1;
12320 // goto return
12321 $async$goto = 1;
12322 break;
12323 }
12324 $async$goto = 3;
12325 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
12326 case 3:
12327 // returning from await.
12328 value = $async$result;
12329 map.$indexSet(0, key, value);
12330 $async$returnValue = value;
12331 // goto return
12332 $async$goto = 1;
12333 break;
12334 case 1:
12335 // return
12336 return A._asyncReturn($async$returnValue, $async$completer);
12337 }
12338 });
12339 return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
12340 },
12341 copyMapOfMap(map, K1, K2, $V) {
12342 var t2, t3, t4, t5,
12343 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
12344 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12345 t3 = t2.get$current(t2);
12346 t4 = t3.key;
12347 t3 = t3.value;
12348 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
12349 t5.addAll$1(0, t3);
12350 t1.$indexSet(0, t4, t5);
12351 }
12352 return t1;
12353 },
12354 copyMapOfList(map, $K, $E) {
12355 var t2, t3,
12356 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
12357 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12358 t3 = t2.get$current(t2);
12359 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
12360 }
12361 return t1;
12362 },
12363 consumeEscapedCharacter(scanner) {
12364 var first, value, i, next, t1;
12365 scanner.expectChar$1(92);
12366 first = scanner.peekChar$0();
12367 if (first == null)
12368 return 65533;
12369 else if (first === 10 || first === 13 || first === 12)
12370 scanner.error$1(0, "Expected escape sequence.");
12371 else if (A.isHex(first)) {
12372 for (value = 0, i = 0; i < 6; ++i) {
12373 next = scanner.peekChar$0();
12374 if (next == null || !A.isHex(next))
12375 break;
12376 value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
12377 }
12378 t1 = scanner.peekChar$0();
12379 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
12380 scanner.readChar$0();
12381 if (value !== 0)
12382 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
12383 else
12384 t1 = true;
12385 if (t1)
12386 return 65533;
12387 else
12388 return value;
12389 } else
12390 return scanner.readChar$0();
12391 },
12392 throwWithTrace(error, trace) {
12393 A.attachTrace(error, trace);
12394 throw A.wrapException(error);
12395 },
12396 attachTrace(error, trace) {
12397 var t1;
12398 if (trace.toString$0(0).length === 0)
12399 return;
12400 t1 = $.$get$_traces();
12401 A.Expando__checkType(error);
12402 t1 = t1._jsWeakMap;
12403 if (t1.get(error) == null)
12404 t1.set(error, trace);
12405 },
12406 getTrace(error) {
12407 var t1;
12408 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
12409 t1 = null;
12410 else {
12411 t1 = $.$get$_traces();
12412 A.Expando__checkType(error);
12413 t1 = t1._jsWeakMap.get(error);
12414 }
12415 return t1;
12416 },
12417 indent_closure: function indent_closure(t0) {
12418 this.indentation = t0;
12419 },
12420 flattenVertically_closure: function flattenVertically_closure(t0) {
12421 this.T = t0;
12422 },
12423 flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
12424 this.result = t0;
12425 this.T = t1;
12426 },
12427 longestCommonSubsequence_closure: function longestCommonSubsequence_closure(t0) {
12428 this.T = t0;
12429 },
12430 longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
12431 this.selections = t0;
12432 this.lengths = t1;
12433 this.T = t2;
12434 },
12435 mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
12436 var _ = this;
12437 _.destination = t0;
12438 _.K1 = t1;
12439 _.K2 = t2;
12440 _.V = t3;
12441 },
12442 Value: function Value() {
12443 },
12444 SassArgumentList$(contents, keywords, separator) {
12445 var t1 = type$.Value;
12446 t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
12447 t1.SassList$3$brackets(contents, separator, false);
12448 return t1;
12449 },
12450 SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
12451 var _ = this;
12452 _._keywords = t0;
12453 _._wereKeywordsAccessed = false;
12454 _._list$_contents = t1;
12455 _._separator = t2;
12456 _._hasBrackets = t3;
12457 },
12458 SassBoolean: function SassBoolean(t0) {
12459 this.value = t0;
12460 },
12461 SassCalculation_calc(argument) {
12462 argument = A.SassCalculation__simplify(argument);
12463 if (argument instanceof A.SassNumber)
12464 return argument;
12465 if (argument instanceof A.SassCalculation)
12466 return argument;
12467 return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
12468 },
12469 SassCalculation_min($arguments) {
12470 var minimum, _i, arg, t2,
12471 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12472 t1 = args.length;
12473 if (t1 === 0)
12474 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
12475 for (minimum = null, _i = 0; _i < t1; ++_i) {
12476 arg = args[_i];
12477 if (arg instanceof A.SassNumber)
12478 t2 = minimum != null && !minimum.isComparableTo$1(arg);
12479 else
12480 t2 = true;
12481 if (t2) {
12482 minimum = null;
12483 break;
12484 } else if (minimum == null || minimum.greaterThan$1(arg).value)
12485 minimum = arg;
12486 }
12487 if (minimum != null)
12488 return minimum;
12489 A.SassCalculation__verifyCompatibleNumbers(args);
12490 return new A.SassCalculation("min", args);
12491 },
12492 SassCalculation_max($arguments) {
12493 var maximum, _i, arg, t2,
12494 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12495 t1 = args.length;
12496 if (t1 === 0)
12497 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
12498 for (maximum = null, _i = 0; _i < t1; ++_i) {
12499 arg = args[_i];
12500 if (arg instanceof A.SassNumber)
12501 t2 = maximum != null && !maximum.isComparableTo$1(arg);
12502 else
12503 t2 = true;
12504 if (t2) {
12505 maximum = null;
12506 break;
12507 } else if (maximum == null || maximum.lessThan$1(arg).value)
12508 maximum = arg;
12509 }
12510 if (maximum != null)
12511 return maximum;
12512 A.SassCalculation__verifyCompatibleNumbers(args);
12513 return new A.SassCalculation("max", args);
12514 },
12515 SassCalculation_clamp(min, value, max) {
12516 var t1, args;
12517 if (value == null && max != null)
12518 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
12519 min = A.SassCalculation__simplify(min);
12520 value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
12521 max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
12522 if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
12523 if (value.lessThanOrEquals$1(min).value)
12524 return min;
12525 if (value.greaterThanOrEquals$1(max).value)
12526 return max;
12527 return value;
12528 }
12529 t1 = [min];
12530 if (value != null)
12531 t1.push(value);
12532 if (max != null)
12533 t1.push(max);
12534 args = A.List_List$unmodifiable(t1, type$.Object);
12535 A.SassCalculation__verifyCompatibleNumbers(args);
12536 A.SassCalculation__verifyLength(args, 3);
12537 return new A.SassCalculation("clamp", args);
12538 },
12539 SassCalculation_operateInternal(operator, left, right, inMinMax, simplify) {
12540 var t1, t2;
12541 if (!simplify)
12542 return new A.CalculationOperation(operator, left, right);
12543 left = A.SassCalculation__simplify(left);
12544 right = A.SassCalculation__simplify(right);
12545 t1 = operator === B.CalculationOperator_Iem;
12546 if (t1 || operator === B.CalculationOperator_uti) {
12547 if (left instanceof A.SassNumber)
12548 if (right instanceof A.SassNumber)
12549 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
12550 else
12551 t2 = false;
12552 else
12553 t2 = false;
12554 if (t2)
12555 return t1 ? left.plus$1(right) : left.minus$1(right);
12556 A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
12557 if (right instanceof A.SassNumber) {
12558 t2 = right._number$_value;
12559 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon());
12560 } else
12561 t2 = false;
12562 if (t2) {
12563 right = right.times$1(new A.UnitlessSassNumber(-1, null));
12564 operator = t1 ? B.CalculationOperator_uti : B.CalculationOperator_Iem;
12565 }
12566 return new A.CalculationOperation(operator, left, right);
12567 } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
12568 return operator === B.CalculationOperator_Dih ? left.times$1(right) : left.dividedBy$1(right);
12569 else
12570 return new A.CalculationOperation(operator, left, right);
12571 },
12572 SassCalculation__simplify(arg) {
12573 var _s32_ = " can't be used in a calculation.";
12574 if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
12575 return arg;
12576 else if (arg instanceof A.SassString) {
12577 if (!arg._hasQuotes)
12578 return arg;
12579 throw A.wrapException(A.SassCalculation__exception("Quoted string " + arg.toString$0(0) + _s32_));
12580 } else if (arg instanceof A.SassCalculation)
12581 return arg.name === "calc" ? arg.$arguments[0] : arg;
12582 else if (arg instanceof A.Value)
12583 throw A.wrapException(A.SassCalculation__exception("Value " + arg.toString$0(0) + _s32_));
12584 else
12585 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
12586 },
12587 SassCalculation__verifyCompatibleNumbers(args) {
12588 var t1, _i, t2, arg, i, number1, j, number2;
12589 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
12590 arg = args[_i];
12591 if (!(arg instanceof A.SassNumber))
12592 continue;
12593 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
12594 throw A.wrapException(A.SassCalculation__exception("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
12595 }
12596 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
12597 number1 = args[i];
12598 if (!(number1 instanceof A.SassNumber))
12599 continue;
12600 for (j = i + 1; t1 = args.length, j < t1; ++j) {
12601 number2 = args[j];
12602 if (!(number2 instanceof A.SassNumber))
12603 continue;
12604 if (number1.hasPossiblyCompatibleUnits$1(number2))
12605 continue;
12606 throw A.wrapException(A.SassCalculation__exception(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
12607 }
12608 }
12609 },
12610 SassCalculation__verifyLength(args, expectedLength) {
12611 var t1 = args.length;
12612 if (t1 === expectedLength)
12613 return;
12614 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
12615 return;
12616 throw A.wrapException(A.SassCalculation__exception("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed."));
12617 },
12618 SassCalculation__exception(message) {
12619 return new A.SassScriptException(message);
12620 },
12621 SassCalculation: function SassCalculation(t0, t1) {
12622 this.name = t0;
12623 this.$arguments = t1;
12624 },
12625 SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
12626 },
12627 CalculationOperation: function CalculationOperation(t0, t1, t2) {
12628 this.operator = t0;
12629 this.left = t1;
12630 this.right = t2;
12631 },
12632 CalculationOperator: function CalculationOperator(t0, t1, t2) {
12633 this.name = t0;
12634 this.operator = t1;
12635 this.precedence = t2;
12636 },
12637 CalculationInterpolation: function CalculationInterpolation(t0) {
12638 this.value = t0;
12639 },
12640 SassColor$rgb(red, green, blue, alpha) {
12641 var _null = null,
12642 t1 = new A.SassColor(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
12643 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12644 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12645 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12646 return t1;
12647 },
12648 SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
12649 var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
12650 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12651 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12652 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12653 return t1;
12654 },
12655 SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
12656 var t1 = B.JSNumber_methods.$mod(hue, 360),
12657 t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
12658 t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
12659 return new A.SassColor(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
12660 },
12661 SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
12662 var t2, t1 = {},
12663 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
12664 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
12665 scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
12666 sum = scaledWhiteness + scaledBlackness;
12667 if (sum > 1) {
12668 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
12669 scaledBlackness /= sum;
12670 } else
12671 t2 = scaledWhiteness;
12672 t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
12673 return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
12674 },
12675 SassColor__hueToRgb(m1, m2, hue) {
12676 if (hue < 0)
12677 ++hue;
12678 if (hue > 1)
12679 --hue;
12680 if (hue < 0.16666666666666666)
12681 return m1 + (m2 - m1) * hue * 6;
12682 else if (hue < 0.5)
12683 return m2;
12684 else if (hue < 0.6666666666666666)
12685 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
12686 else
12687 return m1;
12688 },
12689 SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
12690 var _ = this;
12691 _._red = t0;
12692 _._green = t1;
12693 _._blue = t2;
12694 _._hue = t3;
12695 _._saturation = t4;
12696 _._lightness = t5;
12697 _._alpha = t6;
12698 _.format = t7;
12699 },
12700 SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
12701 this._box_0 = t0;
12702 this.factor = t1;
12703 },
12704 _ColorFormatEnum: function _ColorFormatEnum(t0) {
12705 this._color$_name = t0;
12706 },
12707 SpanColorFormat: function SpanColorFormat(t0) {
12708 this._color$_span = t0;
12709 },
12710 SassFunction: function SassFunction(t0) {
12711 this.callable = t0;
12712 },
12713 SassList$(contents, _separator, brackets) {
12714 var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
12715 t1.SassList$3$brackets(contents, _separator, brackets);
12716 return t1;
12717 },
12718 SassList: function SassList(t0, t1, t2) {
12719 this._list$_contents = t0;
12720 this._separator = t1;
12721 this._hasBrackets = t2;
12722 },
12723 SassList_isBlank_closure: function SassList_isBlank_closure() {
12724 },
12725 ListSeparator: function ListSeparator(t0, t1) {
12726 this._list$_name = t0;
12727 this.separator = t1;
12728 },
12729 SassMap: function SassMap(t0) {
12730 this._map$_contents = t0;
12731 },
12732 SassMap_asList_closure: function SassMap_asList_closure(t0) {
12733 this.result = t0;
12734 },
12735 _SassNull: function _SassNull() {
12736 },
12737 conversionFactor(unit1, unit2) {
12738 var innerMap;
12739 if (unit1 === unit2)
12740 return 1;
12741 innerMap = B.Map_K2BWj.$index(0, unit1);
12742 if (innerMap == null)
12743 return null;
12744 return innerMap.$index(0, unit2);
12745 },
12746 SassNumber_SassNumber(value, unit) {
12747 return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
12748 },
12749 SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
12750 var t1, numerators, unsimplifiedDenominators, denominators, _i, denominator, simplifiedAway, i, factor, _null = null;
12751 if (denominatorUnits == null || denominatorUnits.length === 0) {
12752 t1 = numeratorUnits.length;
12753 if (t1 === 0)
12754 return new A.UnitlessSassNumber(value, _null);
12755 else if (t1 === 1)
12756 return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
12757 else
12758 return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
12759 } else {
12760 t1 = numeratorUnits.length;
12761 if (t1 === 0)
12762 return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
12763 else {
12764 numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
12765 unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
12766 denominators = A._setArrayType([], type$.JSArray_String);
12767 for (t1 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
12768 denominator = unsimplifiedDenominators[_i];
12769 i = 0;
12770 while (true) {
12771 if (!(i < numerators.length)) {
12772 simplifiedAway = false;
12773 break;
12774 }
12775 c$0: {
12776 factor = A.conversionFactor(denominator, numerators[i]);
12777 if (factor == null)
12778 break c$0;
12779 value *= factor;
12780 B.JSArray_methods.removeAt$1(numerators, i);
12781 simplifiedAway = true;
12782 break;
12783 }
12784 ++i;
12785 }
12786 if (!simplifiedAway)
12787 denominators.push(denominator);
12788 }
12789 if (denominatorUnits.length === 0) {
12790 t1 = numeratorUnits.length;
12791 if (t1 === 0)
12792 return new A.UnitlessSassNumber(value, _null);
12793 else if (t1 === 1)
12794 return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), value, _null);
12795 }
12796 t1 = type$.String;
12797 return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
12798 }
12799 }
12800 },
12801 SassNumber: function SassNumber() {
12802 },
12803 SassNumber__coerceOrConvertValue__compatibilityException: function SassNumber__coerceOrConvertValue__compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
12804 var _ = this;
12805 _.$this = t0;
12806 _.other = t1;
12807 _.otherName = t2;
12808 _.otherHasUnits = t3;
12809 _.name = t4;
12810 _.newNumerators = t5;
12811 _.newDenominators = t6;
12812 },
12813 SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
12814 this._box_0 = t0;
12815 this.newNumerator = t1;
12816 },
12817 SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
12818 this._compatibilityException = t0;
12819 },
12820 SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
12821 this._box_0 = t0;
12822 this.newDenominator = t1;
12823 },
12824 SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
12825 this._compatibilityException = t0;
12826 },
12827 SassNumber_plus_closure: function SassNumber_plus_closure() {
12828 },
12829 SassNumber_minus_closure: function SassNumber_minus_closure() {
12830 },
12831 SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
12832 this._box_0 = t0;
12833 this.numerator = t1;
12834 },
12835 SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
12836 this.newNumerators = t0;
12837 this.numerator = t1;
12838 },
12839 SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
12840 this._box_0 = t0;
12841 this.numerator = t1;
12842 },
12843 SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
12844 this.newNumerators = t0;
12845 this.numerator = t1;
12846 },
12847 SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
12848 this.units2 = t0;
12849 },
12850 SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
12851 },
12852 SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
12853 this.$this = t0;
12854 },
12855 ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
12856 var _ = this;
12857 _._numeratorUnits = t0;
12858 _._denominatorUnits = t1;
12859 _._number$_value = t2;
12860 _.hashCache = null;
12861 _.asSlash = t3;
12862 },
12863 SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
12864 var _ = this;
12865 _._unit = t0;
12866 _._number$_value = t1;
12867 _.hashCache = null;
12868 _.asSlash = t2;
12869 },
12870 SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
12871 this.$this = t0;
12872 this.unit = t1;
12873 },
12874 SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
12875 this.$this = t0;
12876 },
12877 SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
12878 this._box_0 = t0;
12879 this.$this = t1;
12880 },
12881 SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
12882 this._box_0 = t0;
12883 this.$this = t1;
12884 },
12885 UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
12886 this._number$_value = t0;
12887 this.hashCache = null;
12888 this.asSlash = t1;
12889 },
12890 SassString$(_text, quotes) {
12891 return new A.SassString(_text, quotes);
12892 },
12893 SassString: function SassString(t0, t1) {
12894 var _ = this;
12895 _._string$_text = t0;
12896 _._hasQuotes = t1;
12897 _.__SassString__sassLength = $;
12898 _._hashCache = null;
12899 },
12900 _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
12901 var t1 = type$.Uri,
12902 t2 = type$.Module_AsyncCallable,
12903 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
12904 t4 = logger == null ? B.StderrLogger_false : logger;
12905 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);
12906 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
12907 return t3;
12908 },
12909 _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
12910 var _ = this;
12911 _._async_evaluate$_importCache = t0;
12912 _._async_evaluate$_nodeImporter = t1;
12913 _._async_evaluate$_builtInFunctions = t2;
12914 _._async_evaluate$_builtInModules = t3;
12915 _._async_evaluate$_modules = t4;
12916 _._async_evaluate$_moduleNodes = t5;
12917 _._async_evaluate$_logger = t6;
12918 _._async_evaluate$_warningsEmitted = t7;
12919 _._async_evaluate$_quietDeps = t8;
12920 _._async_evaluate$_sourceMap = t9;
12921 _._async_evaluate$_environment = t10;
12922 _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
12923 _._async_evaluate$_member = "root stylesheet";
12924 _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
12925 _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
12926 _._async_evaluate$_loadedUrls = t11;
12927 _._async_evaluate$_activeModules = t12;
12928 _._async_evaluate$_stack = t13;
12929 _._async_evaluate$_importer = null;
12930 _._async_evaluate$_inDependency = false;
12931 _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
12932 _._async_evaluate$_configuration = t14;
12933 },
12934 _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
12935 this.$this = t0;
12936 },
12937 _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
12938 this.$this = t0;
12939 },
12940 _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
12941 this.$this = t0;
12942 },
12943 _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
12944 this.$this = t0;
12945 },
12946 _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
12947 this.$this = t0;
12948 },
12949 _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
12950 this.$this = t0;
12951 },
12952 _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
12953 this.$this = t0;
12954 },
12955 _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
12956 this.$this = t0;
12957 },
12958 _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
12959 this.$this = t0;
12960 this.name = t1;
12961 this.module = t2;
12962 },
12963 _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
12964 this.$this = t0;
12965 },
12966 _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
12967 this.$this = t0;
12968 },
12969 _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
12970 this.values = t0;
12971 this.span = t1;
12972 this.callableNode = t2;
12973 },
12974 _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
12975 this.$this = t0;
12976 },
12977 _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
12978 this.$this = t0;
12979 this.node = t1;
12980 this.importer = t2;
12981 },
12982 _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
12983 this.callback = t0;
12984 this.builtInModule = t1;
12985 },
12986 _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
12987 var _ = this;
12988 _.$this = t0;
12989 _.url = t1;
12990 _.nodeWithSpan = t2;
12991 _.baseUrl = t3;
12992 _.namesInErrors = t4;
12993 _.configuration = t5;
12994 _.callback = t6;
12995 },
12996 _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
12997 this.$this = t0;
12998 this.message = t1;
12999 },
13000 _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
13001 var _ = this;
13002 _.$this = t0;
13003 _.importer = t1;
13004 _.stylesheet = t2;
13005 _.extensionStore = t3;
13006 _.configuration = t4;
13007 _.css = t5;
13008 },
13009 _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
13010 },
13011 _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
13012 this.selectors = t0;
13013 },
13014 _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
13015 },
13016 _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
13017 this.originalSelectors = t0;
13018 },
13019 _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
13020 },
13021 _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
13022 this.seen = t0;
13023 this.sorted = t1;
13024 },
13025 _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
13026 this.$this = t0;
13027 this.resolved = t1;
13028 },
13029 _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
13030 this.$this = t0;
13031 this.node = t1;
13032 },
13033 _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
13034 this.$this = t0;
13035 this.node = t1;
13036 },
13037 _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
13038 this.$this = t0;
13039 this.newParent = t1;
13040 this.node = t2;
13041 },
13042 _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
13043 this.$this = t0;
13044 this.innerScope = t1;
13045 },
13046 _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
13047 this.$this = t0;
13048 this.innerScope = t1;
13049 },
13050 _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
13051 this.innerScope = t0;
13052 this.callback = t1;
13053 },
13054 _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
13055 this.$this = t0;
13056 this.innerScope = t1;
13057 },
13058 _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
13059 },
13060 _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
13061 this.$this = t0;
13062 this.innerScope = t1;
13063 },
13064 _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
13065 this.$this = t0;
13066 this.content = t1;
13067 },
13068 _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
13069 this.$this = t0;
13070 },
13071 _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
13072 this.$this = t0;
13073 this.children = t1;
13074 },
13075 _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
13076 this.$this = t0;
13077 this.node = t1;
13078 this.nodeWithSpan = t2;
13079 },
13080 _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
13081 this.$this = t0;
13082 this.node = t1;
13083 this.nodeWithSpan = t2;
13084 },
13085 _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
13086 var _ = this;
13087 _.$this = t0;
13088 _.list = t1;
13089 _.setVariables = t2;
13090 _.node = t3;
13091 },
13092 _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
13093 this.$this = t0;
13094 this.setVariables = t1;
13095 this.node = t2;
13096 },
13097 _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
13098 this.$this = t0;
13099 },
13100 _EvaluateVisitor_visitExtendRule_closure0: function _EvaluateVisitor_visitExtendRule_closure0(t0, t1) {
13101 this.$this = t0;
13102 this.targetText = t1;
13103 },
13104 _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
13105 this.$this = t0;
13106 },
13107 _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1) {
13108 this.$this = t0;
13109 this.children = t1;
13110 },
13111 _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
13112 this.$this = t0;
13113 this.children = t1;
13114 },
13115 _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
13116 },
13117 _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
13118 this.$this = t0;
13119 this.node = t1;
13120 },
13121 _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
13122 this.$this = t0;
13123 this.node = t1;
13124 },
13125 _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
13126 this.fromNumber = t0;
13127 },
13128 _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
13129 this.toNumber = t0;
13130 this.fromNumber = t1;
13131 },
13132 _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
13133 var _ = this;
13134 _._box_0 = t0;
13135 _.$this = t1;
13136 _.node = t2;
13137 _.from = t3;
13138 _.direction = t4;
13139 _.fromNumber = t5;
13140 },
13141 _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
13142 this.$this = t0;
13143 },
13144 _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
13145 this.$this = t0;
13146 this.node = t1;
13147 },
13148 _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
13149 this.$this = t0;
13150 this.node = t1;
13151 },
13152 _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
13153 this._box_0 = t0;
13154 this.$this = t1;
13155 },
13156 _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
13157 this.$this = t0;
13158 },
13159 _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
13160 this.$this = t0;
13161 this.$import = t1;
13162 },
13163 _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
13164 this.$this = t0;
13165 },
13166 _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
13167 },
13168 _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
13169 },
13170 _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
13171 var _ = this;
13172 _.$this = t0;
13173 _.result = t1;
13174 _.stylesheet = t2;
13175 _.loadsUserDefinedModules = t3;
13176 _.environment = t4;
13177 _.children = t5;
13178 },
13179 _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
13180 this.$this = t0;
13181 this.node = t1;
13182 },
13183 _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
13184 this.node = t0;
13185 },
13186 _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
13187 this.$this = t0;
13188 },
13189 _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
13190 var _ = this;
13191 _.$this = t0;
13192 _.contentCallable = t1;
13193 _.mixin = t2;
13194 _.nodeWithSpan = t3;
13195 },
13196 _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
13197 this.$this = t0;
13198 this.mixin = t1;
13199 this.nodeWithSpan = t2;
13200 },
13201 _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
13202 this.$this = t0;
13203 this.mixin = t1;
13204 this.nodeWithSpan = t2;
13205 },
13206 _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
13207 this.$this = t0;
13208 this.statement = t1;
13209 },
13210 _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
13211 this.$this = t0;
13212 this.queries = t1;
13213 },
13214 _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3) {
13215 var _ = this;
13216 _.$this = t0;
13217 _.mergedQueries = t1;
13218 _.queries = t2;
13219 _.node = t3;
13220 },
13221 _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
13222 this.$this = t0;
13223 this.node = t1;
13224 },
13225 _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
13226 this.$this = t0;
13227 this.node = t1;
13228 },
13229 _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
13230 this.mergedQueries = t0;
13231 },
13232 _EvaluateVisitor__visitMediaQueries_closure0: function _EvaluateVisitor__visitMediaQueries_closure0(t0, t1) {
13233 this.$this = t0;
13234 this.resolved = t1;
13235 },
13236 _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1) {
13237 this.$this = t0;
13238 this.selectorText = t1;
13239 },
13240 _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
13241 this.$this = t0;
13242 this.node = t1;
13243 },
13244 _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
13245 },
13246 _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
13247 this.$this = t0;
13248 this.selectorText = t1;
13249 },
13250 _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1) {
13251 this._box_0 = t0;
13252 this.$this = t1;
13253 },
13254 _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
13255 this.$this = t0;
13256 this.rule = t1;
13257 this.node = t2;
13258 },
13259 _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
13260 this.$this = t0;
13261 this.node = t1;
13262 },
13263 _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
13264 },
13265 _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
13266 this.$this = t0;
13267 this.node = t1;
13268 },
13269 _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
13270 this.$this = t0;
13271 this.node = t1;
13272 },
13273 _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
13274 },
13275 _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
13276 this.$this = t0;
13277 this.node = t1;
13278 this.override = t2;
13279 },
13280 _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
13281 this.$this = t0;
13282 this.node = t1;
13283 },
13284 _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
13285 this.$this = t0;
13286 this.node = t1;
13287 this.value = t2;
13288 },
13289 _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
13290 this.$this = t0;
13291 this.node = t1;
13292 },
13293 _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
13294 this.$this = t0;
13295 this.node = t1;
13296 },
13297 _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
13298 this.$this = t0;
13299 this.node = t1;
13300 },
13301 _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
13302 this.$this = t0;
13303 },
13304 _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
13305 this.$this = t0;
13306 this.node = t1;
13307 },
13308 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
13309 },
13310 _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
13311 this.$this = t0;
13312 this.node = t1;
13313 },
13314 _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
13315 this.node = t0;
13316 this.operand = t1;
13317 },
13318 _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
13319 this.$this = t0;
13320 this.node = t1;
13321 this.inMinMax = t2;
13322 },
13323 _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
13324 this.$this = t0;
13325 },
13326 _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
13327 this.$this = t0;
13328 this.node = t1;
13329 },
13330 _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
13331 this._box_0 = t0;
13332 this.$this = t1;
13333 this.node = t2;
13334 },
13335 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
13336 this.$this = t0;
13337 this.node = t1;
13338 this.$function = t2;
13339 },
13340 _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
13341 var _ = this;
13342 _.$this = t0;
13343 _.callable = t1;
13344 _.evaluated = t2;
13345 _.nodeWithSpan = t3;
13346 _.run = t4;
13347 _.V = t5;
13348 },
13349 _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
13350 var _ = this;
13351 _.$this = t0;
13352 _.evaluated = t1;
13353 _.callable = t2;
13354 _.nodeWithSpan = t3;
13355 _.run = t4;
13356 _.V = t5;
13357 },
13358 _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
13359 var _ = this;
13360 _.$this = t0;
13361 _.evaluated = t1;
13362 _.callable = t2;
13363 _.nodeWithSpan = t3;
13364 _.run = t4;
13365 _.V = t5;
13366 },
13367 _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
13368 },
13369 _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
13370 this.$this = t0;
13371 this.callable = t1;
13372 },
13373 _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1(t0, t1, t2) {
13374 this.overload = t0;
13375 this.evaluated = t1;
13376 this.namedSet = t2;
13377 },
13378 _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2() {
13379 },
13380 _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
13381 },
13382 _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
13383 this.$this = t0;
13384 this.restNodeForSpan = t1;
13385 },
13386 _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
13387 var _ = this;
13388 _.$this = t0;
13389 _.named = t1;
13390 _.restNodeForSpan = t2;
13391 _.namedNodes = t3;
13392 },
13393 _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
13394 },
13395 _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
13396 this.restArgs = t0;
13397 },
13398 _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
13399 this.$this = t0;
13400 this.restNodeForSpan = t1;
13401 this.restArgs = t2;
13402 },
13403 _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
13404 var _ = this;
13405 _.$this = t0;
13406 _.named = t1;
13407 _.restNodeForSpan = t2;
13408 _.restArgs = t3;
13409 },
13410 _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
13411 this.$this = t0;
13412 this.keywordRestNodeForSpan = t1;
13413 this.keywordRestArgs = t2;
13414 },
13415 _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
13416 var _ = this;
13417 _.$this = t0;
13418 _.values = t1;
13419 _.convert = t2;
13420 _.expressionNode = t3;
13421 _.map = t4;
13422 _.nodeWithSpan = t5;
13423 },
13424 _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
13425 this.$arguments = t0;
13426 this.positional = t1;
13427 this.named = t2;
13428 },
13429 _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
13430 this.$this = t0;
13431 },
13432 _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
13433 this.$this = t0;
13434 this.node = t1;
13435 },
13436 _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
13437 },
13438 _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
13439 this.$this = t0;
13440 this.node = t1;
13441 },
13442 _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
13443 },
13444 _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
13445 this.$this = t0;
13446 this.node = t1;
13447 },
13448 _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2) {
13449 this.$this = t0;
13450 this.mergedQueries = t1;
13451 this.node = t2;
13452 },
13453 _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
13454 this.$this = t0;
13455 this.node = t1;
13456 },
13457 _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
13458 this.$this = t0;
13459 this.node = t1;
13460 },
13461 _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
13462 this.mergedQueries = t0;
13463 },
13464 _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
13465 this.$this = t0;
13466 this.rule = t1;
13467 this.node = t2;
13468 },
13469 _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
13470 this.$this = t0;
13471 this.node = t1;
13472 },
13473 _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
13474 },
13475 _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
13476 this.$this = t0;
13477 this.node = t1;
13478 },
13479 _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
13480 this.$this = t0;
13481 this.node = t1;
13482 },
13483 _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
13484 },
13485 _EvaluateVisitor__performInterpolation_closure0: function _EvaluateVisitor__performInterpolation_closure0(t0, t1, t2) {
13486 this.$this = t0;
13487 this.warnForColor = t1;
13488 this.interpolation = t2;
13489 },
13490 _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
13491 this.value = t0;
13492 this.quote = t1;
13493 },
13494 _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
13495 this.$this = t0;
13496 this.expression = t1;
13497 },
13498 _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
13499 },
13500 _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
13501 this.$this = t0;
13502 },
13503 _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
13504 this.$this = t0;
13505 },
13506 _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
13507 this._async_evaluate$_visitor = t0;
13508 },
13509 _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
13510 },
13511 _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
13512 this.hasBeenMerged = t0;
13513 },
13514 _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
13515 },
13516 _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
13517 },
13518 EvaluateResult: function EvaluateResult(t0) {
13519 this.stylesheet = t0;
13520 },
13521 _EvaluationContext0: function _EvaluationContext0(t0, t1) {
13522 this._async_evaluate$_visitor = t0;
13523 this._async_evaluate$_defaultWarnNodeWithSpan = t1;
13524 },
13525 _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
13526 var _ = this;
13527 _.positional = t0;
13528 _.positionalNodes = t1;
13529 _.named = t2;
13530 _.namedNodes = t3;
13531 _.separator = t4;
13532 },
13533 _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
13534 this.stylesheet = t0;
13535 this.importer = t1;
13536 this.isDependency = t2;
13537 },
13538 cloneCssStylesheet(stylesheet, extensionStore) {
13539 var result = extensionStore.clone$0();
13540 return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
13541 },
13542 _CloneCssVisitor: function _CloneCssVisitor(t0) {
13543 this._oldToNewSelectors = t0;
13544 },
13545 _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
13546 var t1 = type$.Uri,
13547 t2 = type$.Module_Callable,
13548 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
13549 t4 = logger == null ? B.StderrLogger_false : logger;
13550 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);
13551 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
13552 return t3;
13553 },
13554 Evaluator: function Evaluator(t0, t1) {
13555 this._visitor = t0;
13556 this._importer = t1;
13557 },
13558 _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
13559 var _ = this;
13560 _._evaluate$_importCache = t0;
13561 _._nodeImporter = t1;
13562 _._builtInFunctions = t2;
13563 _._builtInModules = t3;
13564 _._modules = t4;
13565 _._moduleNodes = t5;
13566 _._evaluate$_logger = t6;
13567 _._warningsEmitted = t7;
13568 _._quietDeps = t8;
13569 _._sourceMap = t9;
13570 _._environment = t10;
13571 _._declarationName = _.__parent = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
13572 _._member = "root stylesheet";
13573 _._importSpan = _._callableNode = _._currentCallable = null;
13574 _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
13575 _._loadedUrls = t11;
13576 _._activeModules = t12;
13577 _._stack = t13;
13578 _._importer = null;
13579 _._inDependency = false;
13580 _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
13581 _._configuration = t14;
13582 },
13583 _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
13584 this.$this = t0;
13585 },
13586 _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
13587 this.$this = t0;
13588 },
13589 _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
13590 this.$this = t0;
13591 },
13592 _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
13593 this.$this = t0;
13594 },
13595 _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
13596 this.$this = t0;
13597 },
13598 _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
13599 this.$this = t0;
13600 },
13601 _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
13602 this.$this = t0;
13603 },
13604 _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
13605 this.$this = t0;
13606 },
13607 _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
13608 this.$this = t0;
13609 this.name = t1;
13610 this.module = t2;
13611 },
13612 _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
13613 this.$this = t0;
13614 },
13615 _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
13616 this.$this = t0;
13617 },
13618 _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
13619 this.values = t0;
13620 this.span = t1;
13621 this.callableNode = t2;
13622 },
13623 _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
13624 this.$this = t0;
13625 },
13626 _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
13627 this.$this = t0;
13628 this.node = t1;
13629 this.importer = t2;
13630 },
13631 _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
13632 this.$this = t0;
13633 this.importer = t1;
13634 this.expression = t2;
13635 },
13636 _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
13637 this.$this = t0;
13638 this.expression = t1;
13639 },
13640 _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
13641 this.$this = t0;
13642 this.importer = t1;
13643 this.statement = t2;
13644 },
13645 _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
13646 this.$this = t0;
13647 this.statement = t1;
13648 },
13649 _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
13650 this.callback = t0;
13651 this.builtInModule = t1;
13652 },
13653 _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
13654 var _ = this;
13655 _.$this = t0;
13656 _.url = t1;
13657 _.nodeWithSpan = t2;
13658 _.baseUrl = t3;
13659 _.namesInErrors = t4;
13660 _.configuration = t5;
13661 _.callback = t6;
13662 },
13663 _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
13664 this.$this = t0;
13665 this.message = t1;
13666 },
13667 _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
13668 var _ = this;
13669 _.$this = t0;
13670 _.importer = t1;
13671 _.stylesheet = t2;
13672 _.extensionStore = t3;
13673 _.configuration = t4;
13674 _.css = t5;
13675 },
13676 _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
13677 },
13678 _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
13679 this.selectors = t0;
13680 },
13681 _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
13682 },
13683 _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
13684 this.originalSelectors = t0;
13685 },
13686 _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
13687 },
13688 _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
13689 this.seen = t0;
13690 this.sorted = t1;
13691 },
13692 _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
13693 this.$this = t0;
13694 this.resolved = t1;
13695 },
13696 _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
13697 this.$this = t0;
13698 this.node = t1;
13699 },
13700 _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
13701 this.$this = t0;
13702 this.node = t1;
13703 },
13704 _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
13705 this.$this = t0;
13706 this.newParent = t1;
13707 this.node = t2;
13708 },
13709 _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
13710 this.$this = t0;
13711 this.innerScope = t1;
13712 },
13713 _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
13714 this.$this = t0;
13715 this.innerScope = t1;
13716 },
13717 _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
13718 this.innerScope = t0;
13719 this.callback = t1;
13720 },
13721 _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
13722 this.$this = t0;
13723 this.innerScope = t1;
13724 },
13725 _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
13726 },
13727 _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
13728 this.$this = t0;
13729 this.innerScope = t1;
13730 },
13731 _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
13732 this.$this = t0;
13733 this.content = t1;
13734 },
13735 _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
13736 this.$this = t0;
13737 },
13738 _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
13739 this.$this = t0;
13740 this.children = t1;
13741 },
13742 _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
13743 this.$this = t0;
13744 this.node = t1;
13745 this.nodeWithSpan = t2;
13746 },
13747 _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
13748 this.$this = t0;
13749 this.node = t1;
13750 this.nodeWithSpan = t2;
13751 },
13752 _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
13753 var _ = this;
13754 _.$this = t0;
13755 _.list = t1;
13756 _.setVariables = t2;
13757 _.node = t3;
13758 },
13759 _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
13760 this.$this = t0;
13761 this.setVariables = t1;
13762 this.node = t2;
13763 },
13764 _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
13765 this.$this = t0;
13766 },
13767 _EvaluateVisitor_visitExtendRule_closure: function _EvaluateVisitor_visitExtendRule_closure(t0, t1) {
13768 this.$this = t0;
13769 this.targetText = t1;
13770 },
13771 _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
13772 this.$this = t0;
13773 },
13774 _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1) {
13775 this.$this = t0;
13776 this.children = t1;
13777 },
13778 _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
13779 this.$this = t0;
13780 this.children = t1;
13781 },
13782 _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
13783 },
13784 _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
13785 this.$this = t0;
13786 this.node = t1;
13787 },
13788 _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
13789 this.$this = t0;
13790 this.node = t1;
13791 },
13792 _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
13793 this.fromNumber = t0;
13794 },
13795 _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
13796 this.toNumber = t0;
13797 this.fromNumber = t1;
13798 },
13799 _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
13800 var _ = this;
13801 _._box_0 = t0;
13802 _.$this = t1;
13803 _.node = t2;
13804 _.from = t3;
13805 _.direction = t4;
13806 _.fromNumber = t5;
13807 },
13808 _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
13809 this.$this = t0;
13810 },
13811 _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
13812 this.$this = t0;
13813 this.node = t1;
13814 },
13815 _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
13816 this.$this = t0;
13817 this.node = t1;
13818 },
13819 _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
13820 this._box_0 = t0;
13821 this.$this = t1;
13822 },
13823 _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
13824 this.$this = t0;
13825 },
13826 _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
13827 this.$this = t0;
13828 this.$import = t1;
13829 },
13830 _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
13831 this.$this = t0;
13832 },
13833 _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
13834 },
13835 _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
13836 },
13837 _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
13838 var _ = this;
13839 _.$this = t0;
13840 _.result = t1;
13841 _.stylesheet = t2;
13842 _.loadsUserDefinedModules = t3;
13843 _.environment = t4;
13844 _.children = t5;
13845 },
13846 _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
13847 this.$this = t0;
13848 this.node = t1;
13849 },
13850 _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
13851 this.node = t0;
13852 },
13853 _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
13854 this.$this = t0;
13855 },
13856 _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
13857 var _ = this;
13858 _.$this = t0;
13859 _.contentCallable = t1;
13860 _.mixin = t2;
13861 _.nodeWithSpan = t3;
13862 },
13863 _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
13864 this.$this = t0;
13865 this.mixin = t1;
13866 this.nodeWithSpan = t2;
13867 },
13868 _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
13869 this.$this = t0;
13870 this.mixin = t1;
13871 this.nodeWithSpan = t2;
13872 },
13873 _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
13874 this.$this = t0;
13875 this.statement = t1;
13876 },
13877 _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
13878 this.$this = t0;
13879 this.queries = t1;
13880 },
13881 _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3) {
13882 var _ = this;
13883 _.$this = t0;
13884 _.mergedQueries = t1;
13885 _.queries = t2;
13886 _.node = t3;
13887 },
13888 _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
13889 this.$this = t0;
13890 this.node = t1;
13891 },
13892 _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
13893 this.$this = t0;
13894 this.node = t1;
13895 },
13896 _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
13897 this.mergedQueries = t0;
13898 },
13899 _EvaluateVisitor__visitMediaQueries_closure: function _EvaluateVisitor__visitMediaQueries_closure(t0, t1) {
13900 this.$this = t0;
13901 this.resolved = t1;
13902 },
13903 _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
13904 this.$this = t0;
13905 this.selectorText = t1;
13906 },
13907 _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0(t0, t1) {
13908 this.$this = t0;
13909 this.node = t1;
13910 },
13911 _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
13912 },
13913 _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1) {
13914 this.$this = t0;
13915 this.selectorText = t1;
13916 },
13917 _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
13918 this._box_0 = t0;
13919 this.$this = t1;
13920 },
13921 _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1, t2) {
13922 this.$this = t0;
13923 this.rule = t1;
13924 this.node = t2;
13925 },
13926 _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
13927 this.$this = t0;
13928 this.node = t1;
13929 },
13930 _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
13931 },
13932 _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
13933 this.$this = t0;
13934 this.node = t1;
13935 },
13936 _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
13937 this.$this = t0;
13938 this.node = t1;
13939 },
13940 _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
13941 },
13942 _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
13943 this.$this = t0;
13944 this.node = t1;
13945 this.override = t2;
13946 },
13947 _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
13948 this.$this = t0;
13949 this.node = t1;
13950 },
13951 _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
13952 this.$this = t0;
13953 this.node = t1;
13954 this.value = t2;
13955 },
13956 _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
13957 this.$this = t0;
13958 this.node = t1;
13959 },
13960 _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
13961 this.$this = t0;
13962 this.node = t1;
13963 },
13964 _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
13965 this.$this = t0;
13966 this.node = t1;
13967 },
13968 _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
13969 this.$this = t0;
13970 },
13971 _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
13972 this.$this = t0;
13973 this.node = t1;
13974 },
13975 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
13976 },
13977 _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
13978 this.$this = t0;
13979 this.node = t1;
13980 },
13981 _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
13982 this.node = t0;
13983 this.operand = t1;
13984 },
13985 _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
13986 this.$this = t0;
13987 this.node = t1;
13988 this.inMinMax = t2;
13989 },
13990 _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
13991 this.$this = t0;
13992 },
13993 _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
13994 this.$this = t0;
13995 this.node = t1;
13996 },
13997 _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
13998 this._box_0 = t0;
13999 this.$this = t1;
14000 this.node = t2;
14001 },
14002 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
14003 this.$this = t0;
14004 this.node = t1;
14005 this.$function = t2;
14006 },
14007 _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
14008 var _ = this;
14009 _.$this = t0;
14010 _.callable = t1;
14011 _.evaluated = t2;
14012 _.nodeWithSpan = t3;
14013 _.run = t4;
14014 _.V = t5;
14015 },
14016 _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
14017 var _ = this;
14018 _.$this = t0;
14019 _.evaluated = t1;
14020 _.callable = t2;
14021 _.nodeWithSpan = t3;
14022 _.run = t4;
14023 _.V = t5;
14024 },
14025 _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
14026 var _ = this;
14027 _.$this = t0;
14028 _.evaluated = t1;
14029 _.callable = t2;
14030 _.nodeWithSpan = t3;
14031 _.run = t4;
14032 _.V = t5;
14033 },
14034 _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
14035 },
14036 _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
14037 this.$this = t0;
14038 this.callable = t1;
14039 },
14040 _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
14041 this.overload = t0;
14042 this.evaluated = t1;
14043 this.namedSet = t2;
14044 },
14045 _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0() {
14046 },
14047 _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
14048 },
14049 _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
14050 this.$this = t0;
14051 this.restNodeForSpan = t1;
14052 },
14053 _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
14054 var _ = this;
14055 _.$this = t0;
14056 _.named = t1;
14057 _.restNodeForSpan = t2;
14058 _.namedNodes = t3;
14059 },
14060 _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
14061 },
14062 _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
14063 this.restArgs = t0;
14064 },
14065 _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
14066 this.$this = t0;
14067 this.restNodeForSpan = t1;
14068 this.restArgs = t2;
14069 },
14070 _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
14071 var _ = this;
14072 _.$this = t0;
14073 _.named = t1;
14074 _.restNodeForSpan = t2;
14075 _.restArgs = t3;
14076 },
14077 _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
14078 this.$this = t0;
14079 this.keywordRestNodeForSpan = t1;
14080 this.keywordRestArgs = t2;
14081 },
14082 _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
14083 var _ = this;
14084 _.$this = t0;
14085 _.values = t1;
14086 _.convert = t2;
14087 _.expressionNode = t3;
14088 _.map = t4;
14089 _.nodeWithSpan = t5;
14090 },
14091 _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
14092 this.$arguments = t0;
14093 this.positional = t1;
14094 this.named = t2;
14095 },
14096 _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
14097 this.$this = t0;
14098 },
14099 _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
14100 this.$this = t0;
14101 this.node = t1;
14102 },
14103 _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
14104 },
14105 _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14106 this.$this = t0;
14107 this.node = t1;
14108 },
14109 _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
14110 },
14111 _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
14112 this.$this = t0;
14113 this.node = t1;
14114 },
14115 _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2) {
14116 this.$this = t0;
14117 this.mergedQueries = t1;
14118 this.node = t2;
14119 },
14120 _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
14121 this.$this = t0;
14122 this.node = t1;
14123 },
14124 _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
14125 this.$this = t0;
14126 this.node = t1;
14127 },
14128 _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
14129 this.mergedQueries = t0;
14130 },
14131 _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
14132 this.$this = t0;
14133 this.rule = t1;
14134 this.node = t2;
14135 },
14136 _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
14137 this.$this = t0;
14138 this.node = t1;
14139 },
14140 _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
14141 },
14142 _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
14143 this.$this = t0;
14144 this.node = t1;
14145 },
14146 _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
14147 this.$this = t0;
14148 this.node = t1;
14149 },
14150 _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
14151 },
14152 _EvaluateVisitor__performInterpolation_closure: function _EvaluateVisitor__performInterpolation_closure(t0, t1, t2) {
14153 this.$this = t0;
14154 this.warnForColor = t1;
14155 this.interpolation = t2;
14156 },
14157 _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
14158 this.value = t0;
14159 this.quote = t1;
14160 },
14161 _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
14162 this.$this = t0;
14163 this.expression = t1;
14164 },
14165 _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
14166 },
14167 _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
14168 this.$this = t0;
14169 },
14170 _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
14171 this.$this = t0;
14172 },
14173 _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
14174 this._visitor = t0;
14175 },
14176 _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
14177 },
14178 _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
14179 this.hasBeenMerged = t0;
14180 },
14181 _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
14182 },
14183 _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
14184 },
14185 _EvaluationContext: function _EvaluationContext(t0, t1) {
14186 this._visitor = t0;
14187 this._defaultWarnNodeWithSpan = t1;
14188 },
14189 _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
14190 var _ = this;
14191 _.positional = t0;
14192 _.positionalNodes = t1;
14193 _.named = t2;
14194 _.namedNodes = t3;
14195 _.separator = t4;
14196 },
14197 _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
14198 this.stylesheet = t0;
14199 this.importer = t1;
14200 this.isDependency = t2;
14201 },
14202 _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1) {
14203 this._usesAndForwards = t0;
14204 this._imports = t1;
14205 },
14206 RecursiveStatementVisitor: function RecursiveStatementVisitor() {
14207 },
14208 serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
14209 var t1, css, t2, prefix,
14210 visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
14211 node.accept$1(visitor);
14212 t1 = visitor._serialize$_buffer;
14213 css = t1.toString$0(0);
14214 if (charset) {
14215 t2 = new A.CodeUnits(css);
14216 t2 = t2.any$1(t2, new A.serialize_closure());
14217 } else
14218 t2 = false;
14219 if (t2)
14220 prefix = style === B.OutputStyle_compressed ? "\ufeff" : '@charset "UTF-8";\n';
14221 else
14222 prefix = "";
14223 t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
14224 return new A.SerializeResult(prefix + css, t1);
14225 },
14226 serializeValue(value, inspect, quote) {
14227 var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
14228 value.accept$1(visitor);
14229 return visitor._serialize$_buffer.toString$0(0);
14230 },
14231 serializeSelector(selector, inspect) {
14232 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
14233 selector.accept$1(visitor);
14234 return visitor._serialize$_buffer.toString$0(0);
14235 },
14236 _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
14237 var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
14238 t2 = style == null ? B.OutputStyle_expanded : style,
14239 t3 = indentWidth == null ? 2 : indentWidth;
14240 A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
14241 return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.C_LineFeed);
14242 },
14243 serialize_closure: function serialize_closure() {
14244 },
14245 _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
14246 var _ = this;
14247 _._serialize$_buffer = t0;
14248 _._indentation = 0;
14249 _._style = t1;
14250 _._inspect = t2;
14251 _._quote = t3;
14252 _._indentCharacter = t4;
14253 _._indentWidth = t5;
14254 _._serialize$_lineFeed = t6;
14255 },
14256 _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
14257 this.$this = t0;
14258 this.node = t1;
14259 },
14260 _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
14261 this.$this = t0;
14262 this.node = t1;
14263 },
14264 _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
14265 this.$this = t0;
14266 this.node = t1;
14267 },
14268 _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
14269 this.$this = t0;
14270 this.node = t1;
14271 },
14272 _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
14273 this.$this = t0;
14274 this.node = t1;
14275 },
14276 _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14277 this.$this = t0;
14278 this.node = t1;
14279 },
14280 _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
14281 this.$this = t0;
14282 this.node = t1;
14283 },
14284 _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
14285 this.$this = t0;
14286 this.node = t1;
14287 },
14288 _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
14289 this.$this = t0;
14290 this.node = t1;
14291 },
14292 _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
14293 this.$this = t0;
14294 this.node = t1;
14295 },
14296 _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
14297 },
14298 _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
14299 this.$this = t0;
14300 this.value = t1;
14301 },
14302 _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
14303 this.$this = t0;
14304 },
14305 _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
14306 this.$this = t0;
14307 },
14308 _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
14309 },
14310 _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
14311 this.$this = t0;
14312 this.value = t1;
14313 },
14314 _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1, t2) {
14315 this._box_0 = t0;
14316 this.$this = t1;
14317 this.children = t2;
14318 },
14319 OutputStyle: function OutputStyle(t0) {
14320 this._name = t0;
14321 },
14322 LineFeed: function LineFeed() {
14323 },
14324 SerializeResult: function SerializeResult(t0, t1) {
14325 this.css = t0;
14326 this.sourceMap = t1;
14327 },
14328 _IterableExtension__search(_this, callback) {
14329 var t1, value;
14330 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
14331 value = callback.call$1(t1.get$current(t1));
14332 if (value != null)
14333 return value;
14334 }
14335 return null;
14336 },
14337 StatementSearchVisitor: function StatementSearchVisitor() {
14338 },
14339 StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
14340 this.$this = t0;
14341 },
14342 StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
14343 this.$this = t0;
14344 },
14345 StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
14346 this.$this = t0;
14347 },
14348 StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
14349 this.$this = t0;
14350 },
14351 StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
14352 this.$this = t0;
14353 },
14354 Entry: function Entry(t0, t1, t2) {
14355 this.source = t0;
14356 this.target = t1;
14357 this.identifierName = t2;
14358 },
14359 SingleMapping_SingleMapping$fromEntries(entries) {
14360 var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
14361 sourceEntries = J.toList$0$ax(entries);
14362 B.JSArray_methods.sort$0(sourceEntries);
14363 lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
14364 t1 = type$.String;
14365 t2 = type$.int;
14366 urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14367 names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14368 files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
14369 targetEntries = A._Cell$();
14370 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) {
14371 sourceEntry = sourceEntries[_i];
14372 if (lineNum == null || sourceEntry.target.line > lineNum) {
14373 lineNum = sourceEntry.target.line;
14374 t5 = A._setArrayType([], t3);
14375 targetEntries._value = t5;
14376 lines.push(new A.TargetLineEntry(lineNum, t5));
14377 }
14378 t5 = sourceEntry.source;
14379 t6 = t5.file;
14380 sourceUrl = t6.url;
14381 t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
14382 urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
14383 files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
14384 t7 = targetEntries._value;
14385 if (t7 === targetEntries)
14386 A.throwExpression(A.LateError$localNI(t4));
14387 t5 = t5.offset;
14388 J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
14389 }
14390 t2 = urls.get$values(urls);
14391 t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
14392 t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
14393 t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
14394 t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
14395 return new A.SingleMapping(A.List_List$of(new A.LinkedHashMapKeyIterable(urls, t3), true, t3._eval$1("Iterable.E")), A.List_List$of(new A.LinkedHashMapKeyIterable(names, t4), true, t4._eval$1("Iterable.E")), t2, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
14396 },
14397 Mapping: function Mapping() {
14398 },
14399 SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
14400 var _ = this;
14401 _.urls = t0;
14402 _.names = t1;
14403 _.files = t2;
14404 _.lines = t3;
14405 _.targetUrl = t4;
14406 _.sourceRoot = null;
14407 _.extensions = t5;
14408 },
14409 SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
14410 this.urls = t0;
14411 },
14412 SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
14413 this.sourceEntry = t0;
14414 },
14415 SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
14416 this.files = t0;
14417 },
14418 SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
14419 },
14420 SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
14421 this.result = t0;
14422 },
14423 TargetLineEntry: function TargetLineEntry(t0, t1) {
14424 this.line = t0;
14425 this.entries = t1;
14426 },
14427 TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
14428 var _ = this;
14429 _.column = t0;
14430 _.sourceUrlId = t1;
14431 _.sourceLine = t2;
14432 _.sourceColumn = t3;
14433 _.sourceNameId = t4;
14434 },
14435 SourceFile$fromString(text, url) {
14436 var t1 = new A.CodeUnits(text),
14437 t2 = A._setArrayType([0], type$.JSArray_int),
14438 t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14439 t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
14440 t2.SourceFile$decoded$2$url(t1, url);
14441 return t2;
14442 },
14443 SourceFile$decoded(decodedChars, url) {
14444 var t1 = A._setArrayType([0], type$.JSArray_int),
14445 t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14446 t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
14447 t1.SourceFile$decoded$2$url(decodedChars, url);
14448 return t1;
14449 },
14450 FileLocation$_(file, offset) {
14451 if (offset < 0)
14452 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14453 else if (offset > file._decodedChars.length)
14454 A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
14455 return new A.FileLocation(file, offset);
14456 },
14457 _FileSpan$(file, _start, _end) {
14458 if (_end < _start)
14459 A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
14460 else if (_end > file._decodedChars.length)
14461 A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
14462 else if (_start < 0)
14463 A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
14464 return new A._FileSpan(file, _start, _end);
14465 },
14466 FileSpanExtension_subspan(_this, start, end) {
14467 var startOffset,
14468 t1 = _this._end,
14469 t2 = _this._file$_start,
14470 t3 = t1 - t2;
14471 A.RangeError_checkValidRange(start, end, t3);
14472 if (start === 0)
14473 t3 = end == null || end === t3;
14474 else
14475 t3 = false;
14476 if (t3)
14477 return _this;
14478 t3 = _this.file;
14479 startOffset = A.FileLocation$_(t3, t2).offset;
14480 t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
14481 return t3.span$2(0, startOffset + start, t1);
14482 },
14483 SourceFile: function SourceFile(t0, t1, t2) {
14484 var _ = this;
14485 _.url = t0;
14486 _._lineStarts = t1;
14487 _._decodedChars = t2;
14488 _._cachedLine = null;
14489 },
14490 FileLocation: function FileLocation(t0, t1) {
14491 this.file = t0;
14492 this.offset = t1;
14493 },
14494 _FileSpan: function _FileSpan(t0, t1, t2) {
14495 this.file = t0;
14496 this._file$_start = t1;
14497 this._end = t2;
14498 },
14499 Highlighter$(span, color) {
14500 var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
14501 t2 = new A.Highlighter_closure(color).call$0(),
14502 t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
14503 t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
14504 t5 = A._arrayInstanceType(t1);
14505 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(""));
14506 },
14507 Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
14508 var t2, t3, t4, t5, t6,
14509 t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
14510 for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
14511 t3 = t2.get$current(t2);
14512 t1.push(A._Highlight$(t3.key, t3.value, false));
14513 }
14514 t1 = A.Highlighter__collateLines(t1);
14515 if (color)
14516 t2 = "\x1b[31m";
14517 else
14518 t2 = null;
14519 if (color)
14520 t3 = "\x1b[34m";
14521 else
14522 t3 = null;
14523 t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
14524 t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
14525 t6 = A._arrayInstanceType(t1);
14526 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(""));
14527 },
14528 Highlighter__contiguous(lines) {
14529 var i, thisLine, nextLine;
14530 for (i = 0; i < lines.length - 1;) {
14531 thisLine = lines[i];
14532 ++i;
14533 nextLine = lines[i];
14534 if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
14535 return false;
14536 }
14537 return true;
14538 },
14539 Highlighter__collateLines(highlights) {
14540 var t1, t2, t3,
14541 highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
14542 for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
14543 t3 = t1.__internal$_current;
14544 if (t3 == null)
14545 t3 = t2._as(t3);
14546 J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
14547 }
14548 t1 = highlightsByUrl.get$entries(highlightsByUrl);
14549 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
14550 return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
14551 },
14552 _Highlight$(span, label, primary) {
14553 return new A._Highlight(new A._Highlight_closure(span).call$0(), primary, label);
14554 },
14555 _Highlight__normalizeNewlines(span) {
14556 var endOffset, t1, i, t2, t3, t4,
14557 text = span.get$text();
14558 if (!B.JSString_methods.contains$1(text, "\r\n"))
14559 return span;
14560 endOffset = span.get$end(span).get$offset();
14561 for (t1 = text.length - 1, i = 0; i < t1; ++i)
14562 if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
14563 --endOffset;
14564 t1 = span.get$start(span);
14565 t2 = span.get$sourceUrl(span);
14566 t3 = span.get$end(span).get$line();
14567 t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
14568 t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
14569 t4 = span.get$context(span);
14570 return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
14571 },
14572 _Highlight__normalizeTrailingNewline(span) {
14573 var context, text, start, end, t1, t2, t3;
14574 if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
14575 return span;
14576 if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
14577 return span;
14578 context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
14579 text = span.get$text();
14580 start = span.get$start(span);
14581 end = span.get$end(span);
14582 if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
14583 t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
14584 t1.toString;
14585 t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
14586 } else
14587 t1 = false;
14588 if (t1) {
14589 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14590 if (text.length === 0)
14591 end = start;
14592 else {
14593 t1 = span.get$end(span).get$offset();
14594 t2 = span.get$sourceUrl(span);
14595 t3 = span.get$end(span).get$line();
14596 end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
14597 start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
14598 }
14599 }
14600 return A.SourceSpanWithContext$(start, end, text, context);
14601 },
14602 _Highlight__normalizeEndOfLine(span) {
14603 var text, t1, t2, t3, t4;
14604 if (span.get$end(span).get$column() !== 0)
14605 return span;
14606 if (span.get$end(span).get$line() === span.get$start(span).get$line())
14607 return span;
14608 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14609 t1 = span.get$start(span);
14610 t2 = span.get$end(span).get$offset();
14611 t3 = span.get$sourceUrl(span);
14612 t4 = span.get$end(span).get$line();
14613 t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
14614 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));
14615 },
14616 _Highlight__lastLineLength(text) {
14617 var t1 = text.length;
14618 if (t1 === 0)
14619 return 0;
14620 else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
14621 return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
14622 else
14623 return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
14624 },
14625 Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
14626 var _ = this;
14627 _._lines = t0;
14628 _._primaryColor = t1;
14629 _._secondaryColor = t2;
14630 _._paddingBeforeSidebar = t3;
14631 _._maxMultilineSpans = t4;
14632 _._multipleFiles = t5;
14633 _._highlighter$_buffer = t6;
14634 },
14635 Highlighter_closure: function Highlighter_closure(t0) {
14636 this.color = t0;
14637 },
14638 Highlighter$__closure: function Highlighter$__closure() {
14639 },
14640 Highlighter$___closure: function Highlighter$___closure() {
14641 },
14642 Highlighter$__closure0: function Highlighter$__closure0() {
14643 },
14644 Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
14645 },
14646 Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
14647 },
14648 Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
14649 },
14650 Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
14651 this.line = t0;
14652 },
14653 Highlighter_highlight_closure: function Highlighter_highlight_closure() {
14654 },
14655 Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
14656 this.$this = t0;
14657 },
14658 Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
14659 this.$this = t0;
14660 this.startLine = t1;
14661 this.line = t2;
14662 },
14663 Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
14664 this.$this = t0;
14665 this.highlight = t1;
14666 },
14667 Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
14668 this.$this = t0;
14669 },
14670 Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
14671 var _ = this;
14672 _._box_0 = t0;
14673 _.$this = t1;
14674 _.current = t2;
14675 _.startLine = t3;
14676 _.line = t4;
14677 _.highlight = t5;
14678 _.endLine = t6;
14679 },
14680 Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
14681 this._box_0 = t0;
14682 this.$this = t1;
14683 },
14684 Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
14685 this.$this = t0;
14686 this.vertical = t1;
14687 },
14688 Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
14689 var _ = this;
14690 _.$this = t0;
14691 _.text = t1;
14692 _.startColumn = t2;
14693 _.endColumn = t3;
14694 },
14695 Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
14696 this.$this = t0;
14697 this.line = t1;
14698 this.highlight = t2;
14699 },
14700 Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
14701 this.$this = t0;
14702 this.line = t1;
14703 this.highlight = t2;
14704 },
14705 Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
14706 var _ = this;
14707 _.$this = t0;
14708 _.coversWholeLine = t1;
14709 _.line = t2;
14710 _.highlight = t3;
14711 },
14712 Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
14713 this._box_0 = t0;
14714 this.$this = t1;
14715 this.end = t2;
14716 },
14717 _Highlight: function _Highlight(t0, t1, t2) {
14718 this.span = t0;
14719 this.isPrimary = t1;
14720 this.label = t2;
14721 },
14722 _Highlight_closure: function _Highlight_closure(t0) {
14723 this.span = t0;
14724 },
14725 _Line: function _Line(t0, t1, t2, t3) {
14726 var _ = this;
14727 _.text = t0;
14728 _.number = t1;
14729 _.url = t2;
14730 _.highlights = t3;
14731 },
14732 SourceLocation$(offset, column, line, sourceUrl) {
14733 if (offset < 0)
14734 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14735 else if (line < 0)
14736 A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
14737 else if (column < 0)
14738 A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
14739 return new A.SourceLocation(sourceUrl, offset, line, column);
14740 },
14741 SourceLocation: function SourceLocation(t0, t1, t2, t3) {
14742 var _ = this;
14743 _.sourceUrl = t0;
14744 _.offset = t1;
14745 _.line = t2;
14746 _.column = t3;
14747 },
14748 SourceLocationMixin: function SourceLocationMixin() {
14749 },
14750 SourceSpanBase: function SourceSpanBase() {
14751 },
14752 SourceSpanException: function SourceSpanException() {
14753 },
14754 SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
14755 this.source = t0;
14756 this._span_exception$_message = t1;
14757 this._span = t2;
14758 },
14759 SourceSpanMixin: function SourceSpanMixin() {
14760 },
14761 SourceSpanWithContext$(start, end, text, _context) {
14762 var t1 = new A.SourceSpanWithContext(_context, start, end, text);
14763 t1.SourceSpanBase$3(start, end, text);
14764 if (!B.JSString_methods.contains$1(_context, text))
14765 A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
14766 if (A.findLineStart(_context, text, start.get$column()) == null)
14767 A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
14768 return t1;
14769 },
14770 SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
14771 var _ = this;
14772 _._context = t0;
14773 _.start = t1;
14774 _.end = t2;
14775 _.text = t3;
14776 },
14777 Chain_Chain$parse(chain) {
14778 var t1, t2,
14779 _s51_ = string$.x3d_____;
14780 if (chain.length === 0)
14781 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
14782 t1 = $.$get$vmChainGap();
14783 if (B.JSString_methods.contains$1(chain, t1)) {
14784 t1 = B.JSString_methods.split$1(chain, t1);
14785 t2 = A._arrayInstanceType(t1);
14786 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));
14787 }
14788 if (!B.JSString_methods.contains$1(chain, _s51_))
14789 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
14790 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));
14791 },
14792 Chain: function Chain(t0) {
14793 this.traces = t0;
14794 },
14795 Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
14796 },
14797 Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() {
14798 },
14799 Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() {
14800 },
14801 Chain_toTrace_closure: function Chain_toTrace_closure() {
14802 },
14803 Chain_toString_closure0: function Chain_toString_closure0() {
14804 },
14805 Chain_toString__closure0: function Chain_toString__closure0() {
14806 },
14807 Chain_toString_closure: function Chain_toString_closure(t0) {
14808 this.longest = t0;
14809 },
14810 Chain_toString__closure: function Chain_toString__closure(t0) {
14811 this.longest = t0;
14812 },
14813 Frame_Frame$parseVM(frame) {
14814 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
14815 },
14816 Frame_Frame$parseV8(frame) {
14817 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
14818 },
14819 Frame_Frame$_parseFirefoxEval(frame) {
14820 return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
14821 },
14822 Frame_Frame$parseFirefox(frame) {
14823 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
14824 },
14825 Frame_Frame$parseFriendly(frame) {
14826 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
14827 },
14828 Frame__uriOrPathToUri(uriOrPath) {
14829 if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
14830 return A.Uri_parse(uriOrPath);
14831 else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
14832 return A._Uri__Uri$file(uriOrPath, true);
14833 else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
14834 return A._Uri__Uri$file(uriOrPath, false);
14835 if (B.JSString_methods.contains$1(uriOrPath, "\\"))
14836 return $.$get$windows().toUri$1(uriOrPath);
14837 return A.Uri_parse(uriOrPath);
14838 },
14839 Frame__catchFormatException(text, body) {
14840 var t1, exception;
14841 try {
14842 t1 = body.call$0();
14843 return t1;
14844 } catch (exception) {
14845 if (type$.FormatException._is(A.unwrapException(exception)))
14846 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
14847 else
14848 throw exception;
14849 }
14850 },
14851 Frame: function Frame(t0, t1, t2, t3) {
14852 var _ = this;
14853 _.uri = t0;
14854 _.line = t1;
14855 _.column = t2;
14856 _.member = t3;
14857 },
14858 Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
14859 this.frame = t0;
14860 },
14861 Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
14862 this.frame = t0;
14863 },
14864 Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
14865 this.frame = t0;
14866 },
14867 Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
14868 this.frame = t0;
14869 },
14870 Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
14871 this.frame = t0;
14872 },
14873 Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
14874 this.frame = t0;
14875 },
14876 LazyTrace: function LazyTrace(t0) {
14877 this._thunk = t0;
14878 this.__LazyTrace__trace = $;
14879 },
14880 LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
14881 this.$this = t0;
14882 },
14883 Trace_Trace$from(trace) {
14884 if (type$.Trace._is(trace))
14885 return trace;
14886 if (trace instanceof A.Chain)
14887 return trace.toTrace$0();
14888 return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
14889 },
14890 Trace_Trace$parse(trace) {
14891 var error, t1, exception;
14892 try {
14893 if (trace.length === 0) {
14894 t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
14895 return t1;
14896 }
14897 if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
14898 t1 = A.Trace$parseV8(trace);
14899 return t1;
14900 }
14901 if (B.JSString_methods.contains$1(trace, "\tat ")) {
14902 t1 = A.Trace$parseJSCore(trace);
14903 return t1;
14904 }
14905 if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
14906 t1 = A.Trace$parseFirefox(trace);
14907 return t1;
14908 }
14909 if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
14910 t1 = A.Chain_Chain$parse(trace).toTrace$0();
14911 return t1;
14912 }
14913 if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
14914 t1 = A.Trace$parseFriendly(trace);
14915 return t1;
14916 }
14917 t1 = A.Trace$parseVM(trace);
14918 return t1;
14919 } catch (exception) {
14920 t1 = A.unwrapException(exception);
14921 if (type$.FormatException._is(t1)) {
14922 error = t1;
14923 throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
14924 } else
14925 throw exception;
14926 }
14927 },
14928 Trace$parseVM(trace) {
14929 var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
14930 return new A.Trace(t1, new A._StringStackTrace(trace));
14931 },
14932 Trace__parseVM(trace) {
14933 var $frames,
14934 t1 = B.JSString_methods.trim$0(trace),
14935 t2 = $.$get$vmChainGap(),
14936 t3 = type$.WhereIterable_String,
14937 lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
14938 if (!lines.get$iterator(lines).moveNext$0())
14939 return A._setArrayType([], type$.JSArray_Frame);
14940 t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
14941 t1 = A.MappedIterable_MappedIterable(t1, new A.Trace__parseVM_closure0(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
14942 $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
14943 if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
14944 B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
14945 return $frames;
14946 },
14947 Trace$parseV8(trace) {
14948 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()),
14949 t2 = type$.Frame;
14950 t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, new A.Trace$parseV8_closure0(), t1.$ti._eval$1("Iterable.E"), t2), t2);
14951 return new A.Trace(t2, new A._StringStackTrace(trace));
14952 },
14953 Trace$parseJSCore(trace) {
14954 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);
14955 return new A.Trace(t1, new A._StringStackTrace(trace));
14956 },
14957 Trace$parseFirefox(trace) {
14958 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);
14959 return new A.Trace(t1, new A._StringStackTrace(trace));
14960 },
14961 Trace$parseFriendly(trace) {
14962 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);
14963 t1 = A.List_List$unmodifiable(t1, type$.Frame);
14964 return new A.Trace(t1, new A._StringStackTrace(trace));
14965 },
14966 Trace$($frames, original) {
14967 var t1 = A.List_List$unmodifiable($frames, type$.Frame);
14968 return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
14969 },
14970 Trace: function Trace(t0, t1) {
14971 this.frames = t0;
14972 this.original = t1;
14973 },
14974 Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
14975 this.trace = t0;
14976 },
14977 Trace__parseVM_closure: function Trace__parseVM_closure() {
14978 },
14979 Trace__parseVM_closure0: function Trace__parseVM_closure0() {
14980 },
14981 Trace$parseV8_closure: function Trace$parseV8_closure() {
14982 },
14983 Trace$parseV8_closure0: function Trace$parseV8_closure0() {
14984 },
14985 Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
14986 },
14987 Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() {
14988 },
14989 Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
14990 },
14991 Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() {
14992 },
14993 Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
14994 },
14995 Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() {
14996 },
14997 Trace_terse_closure: function Trace_terse_closure() {
14998 },
14999 Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
15000 this.oldPredicate = t0;
15001 },
15002 Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
15003 this._box_0 = t0;
15004 },
15005 Trace_toString_closure0: function Trace_toString_closure0() {
15006 },
15007 Trace_toString_closure: function Trace_toString_closure(t0) {
15008 this.longest = t0;
15009 },
15010 UnparsedFrame: function UnparsedFrame(t0, t1) {
15011 this.uri = t0;
15012 this.member = t1;
15013 },
15014 TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
15015 var _null = null, t1 = {},
15016 controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
15017 t1.subscription = null;
15018 controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
15019 return controller.get$stream();
15020 },
15021 TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
15022 sink.addError$2(error, stackTrace);
15023 },
15024 TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
15025 var _ = this;
15026 _._box_1 = t0;
15027 _._this = t1;
15028 _.handleData = t2;
15029 _.controller = t3;
15030 _.handleError = t4;
15031 _.handleDone = t5;
15032 _.S = t6;
15033 },
15034 TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
15035 this.handleData = t0;
15036 this.controller = t1;
15037 this.S = t2;
15038 },
15039 TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
15040 this.handleError = t0;
15041 this.controller = t1;
15042 },
15043 TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
15044 this._box_0 = t0;
15045 this.handleDone = t1;
15046 this.controller = t2;
15047 },
15048 TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
15049 this._box_1 = t0;
15050 this._box_0 = t1;
15051 },
15052 RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
15053 var t1 = {};
15054 t1.soFar = t1.timer = null;
15055 t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
15056 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);
15057 },
15058 _collect($event, soFar, $T) {
15059 var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
15060 J.add$1$ax(t1, $event);
15061 return t1;
15062 },
15063 RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
15064 var _ = this;
15065 _._box_0 = t0;
15066 _.S = t1;
15067 _.collect = t2;
15068 _.leading = t3;
15069 _.duration = t4;
15070 _.trailing = t5;
15071 _.T = t6;
15072 },
15073 RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
15074 this._box_0 = t0;
15075 this.sink = t1;
15076 this.S = t2;
15077 },
15078 RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
15079 var _ = this;
15080 _._box_0 = t0;
15081 _.trailing = t1;
15082 _.emit = t2;
15083 _.sink = t3;
15084 },
15085 RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
15086 this._box_0 = t0;
15087 this.trailing = t1;
15088 this.S = t2;
15089 },
15090 StringScannerException$(message, span, source) {
15091 return new A.StringScannerException(source, message, span);
15092 },
15093 StringScannerException: function StringScannerException(t0, t1, t2) {
15094 this.source = t0;
15095 this._span_exception$_message = t1;
15096 this._span = t2;
15097 },
15098 LineScanner$(string) {
15099 return new A.LineScanner(null, string);
15100 },
15101 LineScanner: function LineScanner(t0, t1) {
15102 var _ = this;
15103 _._line_scanner$_column = _._line_scanner$_line = 0;
15104 _.sourceUrl = t0;
15105 _.string = t1;
15106 _._string_scanner$_position = 0;
15107 _._lastMatchPosition = _._lastMatch = null;
15108 },
15109 SpanScanner$(string, sourceUrl) {
15110 var t2,
15111 t1 = A.SourceFile$fromString(string, sourceUrl);
15112 if (sourceUrl == null)
15113 t2 = null;
15114 else
15115 t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15116 return new A.SpanScanner(t1, t2, string);
15117 },
15118 SpanScanner: function SpanScanner(t0, t1, t2) {
15119 var _ = this;
15120 _._sourceFile = t0;
15121 _.sourceUrl = t1;
15122 _.string = t2;
15123 _._string_scanner$_position = 0;
15124 _._lastMatchPosition = _._lastMatch = null;
15125 },
15126 _SpanScannerState: function _SpanScannerState(t0, t1) {
15127 this._scanner = t0;
15128 this.position = t1;
15129 },
15130 StringScanner$(string, position, sourceUrl) {
15131 var t1;
15132 if (sourceUrl == null)
15133 t1 = null;
15134 else
15135 t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15136 return new A.StringScanner(t1, string);
15137 },
15138 StringScanner: function StringScanner(t0, t1) {
15139 var _ = this;
15140 _.sourceUrl = t0;
15141 _.string = t1;
15142 _._string_scanner$_position = 0;
15143 _._lastMatchPosition = _._lastMatch = null;
15144 },
15145 AsciiGlyphSet: function AsciiGlyphSet() {
15146 },
15147 UnicodeGlyphSet: function UnicodeGlyphSet() {
15148 },
15149 Tuple2: function Tuple2(t0, t1, t2) {
15150 this.item1 = t0;
15151 this.item2 = t1;
15152 this.$ti = t2;
15153 },
15154 Tuple3: function Tuple3(t0, t1, t2, t3) {
15155 var _ = this;
15156 _.item1 = t0;
15157 _.item2 = t1;
15158 _.item3 = t2;
15159 _.$ti = t3;
15160 },
15161 Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
15162 var _ = this;
15163 _.item1 = t0;
15164 _.item2 = t1;
15165 _.item3 = t2;
15166 _.item4 = t3;
15167 _.$ti = t4;
15168 },
15169 WatchEvent: function WatchEvent(t0, t1) {
15170 this.type = t0;
15171 this.path = t1;
15172 },
15173 ChangeType: function ChangeType(t0) {
15174 this._watch_event$_name = t0;
15175 },
15176 SupportsAnything0: function SupportsAnything0(t0, t1) {
15177 this.contents = t0;
15178 this.span = t1;
15179 },
15180 Argument0: function Argument0(t0, t1, t2) {
15181 this.name = t0;
15182 this.defaultValue = t1;
15183 this.span = t2;
15184 },
15185 ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
15186 return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
15187 },
15188 ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
15189 this.$arguments = t0;
15190 this.restArgument = t1;
15191 this.span = t2;
15192 },
15193 ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
15194 },
15195 ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
15196 },
15197 ArgumentInvocation$empty0(span) {
15198 return new A.ArgumentInvocation0(B.List_empty17, B.Map_empty9, null, null, span);
15199 },
15200 ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
15201 var _ = this;
15202 _.positional = t0;
15203 _.named = t1;
15204 _.rest = t2;
15205 _.keywordRest = t3;
15206 _.span = t4;
15207 },
15208 argumentListClass_closure: function argumentListClass_closure() {
15209 },
15210 argumentListClass__closure: function argumentListClass__closure() {
15211 },
15212 argumentListClass__closure0: function argumentListClass__closure0() {
15213 },
15214 SassArgumentList$0(contents, keywords, separator) {
15215 var t1 = type$.Value_2;
15216 t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
15217 t1.SassList$3$brackets0(contents, separator, false);
15218 return t1;
15219 },
15220 SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
15221 var _ = this;
15222 _._argument_list$_keywords = t0;
15223 _._argument_list$_wereKeywordsAccessed = false;
15224 _._list1$_contents = t1;
15225 _._list1$_separator = t2;
15226 _._list1$_hasBrackets = t3;
15227 },
15228 JSArray1: function JSArray1() {
15229 },
15230 AsyncImporter0: function AsyncImporter0() {
15231 },
15232 NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
15233 this._async0$_canonicalize = t0;
15234 this._load = t1;
15235 },
15236 AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
15237 return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
15238 },
15239 AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
15240 this.name = t0;
15241 this._async_built_in0$_arguments = t1;
15242 this._async_built_in0$_callback = t2;
15243 },
15244 AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
15245 this.callback = t0;
15246 },
15247 compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
15248 var $async$goto = 0,
15249 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15250 $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
15251 var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15252 if ($async$errorCode === 1)
15253 return A._asyncRethrow($async$result, $async$completer);
15254 while (true)
15255 switch ($async$goto) {
15256 case 0:
15257 // Function start
15258 if (!verbose) {
15259 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15260 logger = terseLogger;
15261 } else
15262 terseLogger = null;
15263 t1 = nodeImporter == null;
15264 if (t1)
15265 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
15266 else
15267 t2 = false;
15268 $async$goto = t2 ? 3 : 5;
15269 break;
15270 case 3:
15271 // then
15272 if (importCache == null)
15273 importCache = A.AsyncImportCache$none(logger);
15274 t2 = $.$get$context();
15275 t3 = t2.absolute$7(".", null, null, null, null, null, null);
15276 $async$goto = 6;
15277 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);
15278 case 6:
15279 // returning from await.
15280 t3 = $async$result;
15281 t3.toString;
15282 stylesheet = t3;
15283 // goto join
15284 $async$goto = 4;
15285 break;
15286 case 5:
15287 // else
15288 t2 = A.readFile0(path);
15289 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
15290 t4 = $.$get$context();
15291 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
15292 t2 = t4;
15293 case 4:
15294 // join
15295 $async$goto = 7;
15296 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);
15297 case 7:
15298 // returning from await.
15299 result = $async$result;
15300 if (terseLogger != null)
15301 terseLogger.summarize$1$node(!t1);
15302 $async$returnValue = result;
15303 // goto return
15304 $async$goto = 1;
15305 break;
15306 case 1:
15307 // return
15308 return A._asyncReturn($async$returnValue, $async$completer);
15309 }
15310 });
15311 return A._asyncStartSync($async$compileAsync0, $async$completer);
15312 },
15313 compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
15314 var $async$goto = 0,
15315 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15316 $async$returnValue, terseLogger, stylesheet, result;
15317 var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15318 if ($async$errorCode === 1)
15319 return A._asyncRethrow($async$result, $async$completer);
15320 while (true)
15321 switch ($async$goto) {
15322 case 0:
15323 // Function start
15324 if (!verbose) {
15325 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15326 logger = terseLogger;
15327 } else
15328 terseLogger = null;
15329 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
15330 $async$goto = 3;
15331 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);
15332 case 3:
15333 // returning from await.
15334 result = $async$result;
15335 if (terseLogger != null)
15336 terseLogger.summarize$1$node(nodeImporter != null);
15337 $async$returnValue = result;
15338 // goto return
15339 $async$goto = 1;
15340 break;
15341 case 1:
15342 // return
15343 return A._asyncReturn($async$returnValue, $async$completer);
15344 }
15345 });
15346 return A._asyncStartSync($async$compileStringAsync0, $async$completer);
15347 },
15348 _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
15349 var $async$goto = 0,
15350 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15351 $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
15352 var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15353 if ($async$errorCode === 1)
15354 return A._asyncRethrow($async$result, $async$completer);
15355 while (true)
15356 switch ($async$goto) {
15357 case 0:
15358 // Function start
15359 $async$goto = 3;
15360 return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
15361 case 3:
15362 // returning from await.
15363 evaluateResult = $async$result;
15364 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
15365 resultSourceMap = serializeResult.sourceMap;
15366 if (resultSourceMap != null && importCache != null)
15367 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
15368 $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
15369 // goto return
15370 $async$goto = 1;
15371 break;
15372 case 1:
15373 // return
15374 return A._asyncReturn($async$returnValue, $async$completer);
15375 }
15376 });
15377 return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
15378 },
15379 _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
15380 this.stylesheet = t0;
15381 this.importCache = t1;
15382 },
15383 AsyncEnvironment$0() {
15384 var t1 = type$.String,
15385 t2 = type$.Module_AsyncCallable_2,
15386 t3 = type$.AstNode_2,
15387 t4 = type$.int,
15388 t5 = type$.AsyncCallable_2,
15389 t6 = type$.JSArray_Map_String_AsyncCallable_2;
15390 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);
15391 },
15392 AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
15393 var t1 = type$.String,
15394 t2 = type$.int;
15395 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);
15396 },
15397 _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
15398 var t1, t2, t3, t4, t5, t6;
15399 if (forwarded == null)
15400 forwarded = B.Set_empty3;
15401 t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
15402 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);
15403 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);
15404 t4 = type$.Map_String_AsyncCallable_2;
15405 t5 = type$.AsyncCallable_2;
15406 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);
15407 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);
15408 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
15409 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()));
15410 },
15411 _EnvironmentModule__makeModulesByVariable2(forwarded) {
15412 var modulesByVariable, t1, t2, t3, t4, t5;
15413 if (forwarded.get$isEmpty(forwarded))
15414 return B.Map_empty10;
15415 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
15416 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
15417 t2 = t1.get$current(t1);
15418 if (t2 instanceof A._EnvironmentModule2) {
15419 for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
15420 t4 = t3.get$current(t3);
15421 t5 = t4.get$variables();
15422 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
15423 }
15424 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
15425 } else {
15426 t3 = t2.get$variables();
15427 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
15428 }
15429 }
15430 return modulesByVariable;
15431 },
15432 _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
15433 var t1, t2, t3;
15434 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
15435 if (otherMaps.get$isEmpty(otherMaps))
15436 return localMap;
15437 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
15438 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
15439 t3 = t2.get$current(t2);
15440 if (t3.get$isNotEmpty(t3))
15441 t1.push(t3);
15442 }
15443 t1.push(localMap);
15444 if (t1.length === 1)
15445 return localMap;
15446 return A.MergedMapView$0(t1, type$.String, $V);
15447 },
15448 _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
15449 return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
15450 },
15451 AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15452 var _ = this;
15453 _._async_environment0$_modules = t0;
15454 _._async_environment0$_namespaceNodes = t1;
15455 _._async_environment0$_globalModules = t2;
15456 _._async_environment0$_importedModules = t3;
15457 _._async_environment0$_forwardedModules = t4;
15458 _._async_environment0$_nestedForwardedModules = t5;
15459 _._async_environment0$_allModules = t6;
15460 _._async_environment0$_variables = t7;
15461 _._async_environment0$_variableNodes = t8;
15462 _._async_environment0$_variableIndices = t9;
15463 _._async_environment0$_functions = t10;
15464 _._async_environment0$_functionIndices = t11;
15465 _._async_environment0$_mixins = t12;
15466 _._async_environment0$_mixinIndices = t13;
15467 _._async_environment0$_content = t14;
15468 _._async_environment0$_inMixin = false;
15469 _._async_environment0$_inSemiGlobalScope = true;
15470 _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
15471 },
15472 AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
15473 },
15474 AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
15475 },
15476 AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
15477 },
15478 AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
15479 this.name = t0;
15480 },
15481 AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
15482 this.$this = t0;
15483 this.name = t1;
15484 },
15485 AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
15486 this.name = t0;
15487 },
15488 AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
15489 this.$this = t0;
15490 this.name = t1;
15491 },
15492 AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
15493 this.name = t0;
15494 },
15495 AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
15496 this.name = t0;
15497 },
15498 AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
15499 },
15500 AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
15501 },
15502 AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
15503 this.callback = t0;
15504 this.T = t1;
15505 },
15506 AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
15507 this.entry = t0;
15508 this.T = t1;
15509 },
15510 _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
15511 var _ = this;
15512 _.upstream = t0;
15513 _.variables = t1;
15514 _.variableNodes = t2;
15515 _.functions = t3;
15516 _.mixins = t4;
15517 _.extensionStore = t5;
15518 _.css = t6;
15519 _.transitivelyContainsCss = t7;
15520 _.transitivelyContainsExtensions = t8;
15521 _._async_environment0$_environment = t9;
15522 _._async_environment0$_modulesByVariable = t10;
15523 },
15524 _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
15525 },
15526 _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
15527 },
15528 _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
15529 },
15530 _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
15531 },
15532 _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
15533 },
15534 _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
15535 },
15536 _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
15537 var t4,
15538 t1 = type$.Uri,
15539 t2 = type$.Module_AsyncCallable_2,
15540 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
15541 if (nodeImporter == null)
15542 t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
15543 else
15544 t4 = null;
15545 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);
15546 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
15547 return t1;
15548 },
15549 _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15550 var _ = this;
15551 _._async_evaluate0$_importCache = t0;
15552 _._async_evaluate0$_nodeImporter = t1;
15553 _._async_evaluate0$_builtInFunctions = t2;
15554 _._async_evaluate0$_builtInModules = t3;
15555 _._async_evaluate0$_modules = t4;
15556 _._async_evaluate0$_moduleNodes = t5;
15557 _._async_evaluate0$_logger = t6;
15558 _._async_evaluate0$_warningsEmitted = t7;
15559 _._async_evaluate0$_quietDeps = t8;
15560 _._async_evaluate0$_sourceMap = t9;
15561 _._async_evaluate0$_environment = t10;
15562 _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
15563 _._async_evaluate0$_member = "root stylesheet";
15564 _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
15565 _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
15566 _._async_evaluate0$_loadedUrls = t11;
15567 _._async_evaluate0$_activeModules = t12;
15568 _._async_evaluate0$_stack = t13;
15569 _._async_evaluate0$_importer = null;
15570 _._async_evaluate0$_inDependency = false;
15571 _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
15572 _._async_evaluate0$_configuration = t14;
15573 },
15574 _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
15575 this.$this = t0;
15576 },
15577 _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
15578 this.$this = t0;
15579 },
15580 _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
15581 this.$this = t0;
15582 },
15583 _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
15584 this.$this = t0;
15585 },
15586 _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
15587 this.$this = t0;
15588 },
15589 _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
15590 this.$this = t0;
15591 },
15592 _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
15593 this.$this = t0;
15594 },
15595 _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
15596 this.$this = t0;
15597 },
15598 _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
15599 this.$this = t0;
15600 this.name = t1;
15601 this.module = t2;
15602 },
15603 _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
15604 this.$this = t0;
15605 },
15606 _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
15607 this.$this = t0;
15608 },
15609 _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
15610 this.values = t0;
15611 this.span = t1;
15612 this.callableNode = t2;
15613 },
15614 _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
15615 this.$this = t0;
15616 },
15617 _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
15618 this.$this = t0;
15619 this.node = t1;
15620 this.importer = t2;
15621 },
15622 _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
15623 this.callback = t0;
15624 this.builtInModule = t1;
15625 },
15626 _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
15627 var _ = this;
15628 _.$this = t0;
15629 _.url = t1;
15630 _.nodeWithSpan = t2;
15631 _.baseUrl = t3;
15632 _.namesInErrors = t4;
15633 _.configuration = t5;
15634 _.callback = t6;
15635 },
15636 _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
15637 this.$this = t0;
15638 this.message = t1;
15639 },
15640 _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
15641 var _ = this;
15642 _.$this = t0;
15643 _.importer = t1;
15644 _.stylesheet = t2;
15645 _.extensionStore = t3;
15646 _.configuration = t4;
15647 _.css = t5;
15648 },
15649 _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
15650 },
15651 _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
15652 this.selectors = t0;
15653 },
15654 _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
15655 },
15656 _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
15657 this.originalSelectors = t0;
15658 },
15659 _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
15660 },
15661 _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
15662 this.seen = t0;
15663 this.sorted = t1;
15664 },
15665 _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
15666 this.$this = t0;
15667 this.resolved = t1;
15668 },
15669 _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
15670 this.$this = t0;
15671 this.node = t1;
15672 },
15673 _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
15674 this.$this = t0;
15675 this.node = t1;
15676 },
15677 _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
15678 this.$this = t0;
15679 this.newParent = t1;
15680 this.node = t2;
15681 },
15682 _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
15683 this.$this = t0;
15684 this.innerScope = t1;
15685 },
15686 _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
15687 this.$this = t0;
15688 this.innerScope = t1;
15689 },
15690 _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
15691 this.innerScope = t0;
15692 this.callback = t1;
15693 },
15694 _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
15695 this.$this = t0;
15696 this.innerScope = t1;
15697 },
15698 _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
15699 },
15700 _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
15701 this.$this = t0;
15702 this.innerScope = t1;
15703 },
15704 _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
15705 this.$this = t0;
15706 this.content = t1;
15707 },
15708 _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
15709 this.$this = t0;
15710 },
15711 _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
15712 this.$this = t0;
15713 this.children = t1;
15714 },
15715 _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
15716 this.$this = t0;
15717 this.node = t1;
15718 this.nodeWithSpan = t2;
15719 },
15720 _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
15721 this.$this = t0;
15722 this.node = t1;
15723 this.nodeWithSpan = t2;
15724 },
15725 _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
15726 var _ = this;
15727 _.$this = t0;
15728 _.list = t1;
15729 _.setVariables = t2;
15730 _.node = t3;
15731 },
15732 _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
15733 this.$this = t0;
15734 this.setVariables = t1;
15735 this.node = t2;
15736 },
15737 _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
15738 this.$this = t0;
15739 },
15740 _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
15741 this.$this = t0;
15742 this.targetText = t1;
15743 },
15744 _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
15745 this.$this = t0;
15746 },
15747 _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
15748 this.$this = t0;
15749 this.children = t1;
15750 },
15751 _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
15752 this.$this = t0;
15753 this.children = t1;
15754 },
15755 _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
15756 },
15757 _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
15758 this.$this = t0;
15759 this.node = t1;
15760 },
15761 _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
15762 this.$this = t0;
15763 this.node = t1;
15764 },
15765 _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
15766 this.fromNumber = t0;
15767 },
15768 _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
15769 this.toNumber = t0;
15770 this.fromNumber = t1;
15771 },
15772 _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
15773 var _ = this;
15774 _._box_0 = t0;
15775 _.$this = t1;
15776 _.node = t2;
15777 _.from = t3;
15778 _.direction = t4;
15779 _.fromNumber = t5;
15780 },
15781 _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
15782 this.$this = t0;
15783 },
15784 _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
15785 this.$this = t0;
15786 this.node = t1;
15787 },
15788 _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
15789 this.$this = t0;
15790 this.node = t1;
15791 },
15792 _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
15793 this._box_0 = t0;
15794 this.$this = t1;
15795 },
15796 _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
15797 this.$this = t0;
15798 },
15799 _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
15800 this.$this = t0;
15801 this.$import = t1;
15802 },
15803 _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
15804 this.$this = t0;
15805 },
15806 _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
15807 },
15808 _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
15809 },
15810 _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
15811 var _ = this;
15812 _.$this = t0;
15813 _.result = t1;
15814 _.stylesheet = t2;
15815 _.loadsUserDefinedModules = t3;
15816 _.environment = t4;
15817 _.children = t5;
15818 },
15819 _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
15820 this.$this = t0;
15821 this.node = t1;
15822 },
15823 _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
15824 this.node = t0;
15825 },
15826 _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
15827 this.$this = t0;
15828 },
15829 _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
15830 var _ = this;
15831 _.$this = t0;
15832 _.contentCallable = t1;
15833 _.mixin = t2;
15834 _.nodeWithSpan = t3;
15835 },
15836 _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
15837 this.$this = t0;
15838 this.mixin = t1;
15839 this.nodeWithSpan = t2;
15840 },
15841 _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
15842 this.$this = t0;
15843 this.mixin = t1;
15844 this.nodeWithSpan = t2;
15845 },
15846 _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
15847 this.$this = t0;
15848 this.statement = t1;
15849 },
15850 _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
15851 this.$this = t0;
15852 this.queries = t1;
15853 },
15854 _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3) {
15855 var _ = this;
15856 _.$this = t0;
15857 _.mergedQueries = t1;
15858 _.queries = t2;
15859 _.node = t3;
15860 },
15861 _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
15862 this.$this = t0;
15863 this.node = t1;
15864 },
15865 _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
15866 this.$this = t0;
15867 this.node = t1;
15868 },
15869 _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
15870 this.mergedQueries = t0;
15871 },
15872 _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
15873 this.$this = t0;
15874 this.resolved = t1;
15875 },
15876 _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1) {
15877 this.$this = t0;
15878 this.selectorText = t1;
15879 },
15880 _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21(t0, t1) {
15881 this.$this = t0;
15882 this.node = t1;
15883 },
15884 _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
15885 },
15886 _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
15887 this.$this = t0;
15888 this.selectorText = t1;
15889 },
15890 _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
15891 this._box_0 = t0;
15892 this.$this = t1;
15893 },
15894 _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25(t0, t1, t2) {
15895 this.$this = t0;
15896 this.rule = t1;
15897 this.node = t2;
15898 },
15899 _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
15900 this.$this = t0;
15901 this.node = t1;
15902 },
15903 _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26() {
15904 },
15905 _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
15906 this.$this = t0;
15907 this.node = t1;
15908 },
15909 _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
15910 this.$this = t0;
15911 this.node = t1;
15912 },
15913 _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
15914 },
15915 _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
15916 this.$this = t0;
15917 this.node = t1;
15918 this.override = t2;
15919 },
15920 _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
15921 this.$this = t0;
15922 this.node = t1;
15923 },
15924 _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
15925 this.$this = t0;
15926 this.node = t1;
15927 this.value = t2;
15928 },
15929 _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
15930 this.$this = t0;
15931 this.node = t1;
15932 },
15933 _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
15934 this.$this = t0;
15935 this.node = t1;
15936 },
15937 _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
15938 this.$this = t0;
15939 this.node = t1;
15940 },
15941 _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
15942 this.$this = t0;
15943 },
15944 _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
15945 this.$this = t0;
15946 this.node = t1;
15947 },
15948 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
15949 },
15950 _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
15951 this.$this = t0;
15952 this.node = t1;
15953 },
15954 _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
15955 this.node = t0;
15956 this.operand = t1;
15957 },
15958 _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
15959 this.$this = t0;
15960 this.node = t1;
15961 this.inMinMax = t2;
15962 },
15963 _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
15964 this.$this = t0;
15965 },
15966 _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
15967 this.$this = t0;
15968 this.node = t1;
15969 },
15970 _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
15971 this._box_0 = t0;
15972 this.$this = t1;
15973 this.node = t2;
15974 },
15975 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
15976 this.$this = t0;
15977 this.node = t1;
15978 this.$function = t2;
15979 },
15980 _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
15981 var _ = this;
15982 _.$this = t0;
15983 _.callable = t1;
15984 _.evaluated = t2;
15985 _.nodeWithSpan = t3;
15986 _.run = t4;
15987 _.V = t5;
15988 },
15989 _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
15990 var _ = this;
15991 _.$this = t0;
15992 _.evaluated = t1;
15993 _.callable = t2;
15994 _.nodeWithSpan = t3;
15995 _.run = t4;
15996 _.V = t5;
15997 },
15998 _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
15999 var _ = this;
16000 _.$this = t0;
16001 _.evaluated = t1;
16002 _.callable = t2;
16003 _.nodeWithSpan = t3;
16004 _.run = t4;
16005 _.V = t5;
16006 },
16007 _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
16008 },
16009 _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
16010 this.$this = t0;
16011 this.callable = t1;
16012 },
16013 _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
16014 this.overload = t0;
16015 this.evaluated = t1;
16016 this.namedSet = t2;
16017 },
16018 _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
16019 },
16020 _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
16021 },
16022 _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
16023 this.$this = t0;
16024 this.restNodeForSpan = t1;
16025 },
16026 _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
16027 var _ = this;
16028 _.$this = t0;
16029 _.named = t1;
16030 _.restNodeForSpan = t2;
16031 _.namedNodes = t3;
16032 },
16033 _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
16034 },
16035 _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
16036 this.restArgs = t0;
16037 },
16038 _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
16039 this.$this = t0;
16040 this.restNodeForSpan = t1;
16041 this.restArgs = t2;
16042 },
16043 _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
16044 var _ = this;
16045 _.$this = t0;
16046 _.named = t1;
16047 _.restNodeForSpan = t2;
16048 _.restArgs = t3;
16049 },
16050 _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
16051 this.$this = t0;
16052 this.keywordRestNodeForSpan = t1;
16053 this.keywordRestArgs = t2;
16054 },
16055 _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
16056 var _ = this;
16057 _.$this = t0;
16058 _.values = t1;
16059 _.convert = t2;
16060 _.expressionNode = t3;
16061 _.map = t4;
16062 _.nodeWithSpan = t5;
16063 },
16064 _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
16065 this.$arguments = t0;
16066 this.positional = t1;
16067 this.named = t2;
16068 },
16069 _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
16070 this.$this = t0;
16071 },
16072 _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
16073 this.$this = t0;
16074 this.node = t1;
16075 },
16076 _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
16077 },
16078 _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
16079 this.$this = t0;
16080 this.node = t1;
16081 },
16082 _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
16083 },
16084 _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
16085 this.$this = t0;
16086 this.node = t1;
16087 },
16088 _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2) {
16089 this.$this = t0;
16090 this.mergedQueries = t1;
16091 this.node = t2;
16092 },
16093 _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
16094 this.$this = t0;
16095 this.node = t1;
16096 },
16097 _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
16098 this.$this = t0;
16099 this.node = t1;
16100 },
16101 _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
16102 this.mergedQueries = t0;
16103 },
16104 _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
16105 this.$this = t0;
16106 this.rule = t1;
16107 this.node = t2;
16108 },
16109 _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
16110 this.$this = t0;
16111 this.node = t1;
16112 },
16113 _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
16114 },
16115 _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
16116 this.$this = t0;
16117 this.node = t1;
16118 },
16119 _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
16120 this.$this = t0;
16121 this.node = t1;
16122 },
16123 _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
16124 },
16125 _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
16126 this.$this = t0;
16127 this.warnForColor = t1;
16128 this.interpolation = t2;
16129 },
16130 _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
16131 this.value = t0;
16132 this.quote = t1;
16133 },
16134 _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
16135 this.$this = t0;
16136 this.expression = t1;
16137 },
16138 _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
16139 },
16140 _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
16141 this.$this = t0;
16142 },
16143 _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
16144 this.$this = t0;
16145 },
16146 _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
16147 this._async_evaluate0$_visitor = t0;
16148 },
16149 _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
16150 },
16151 _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
16152 this.hasBeenMerged = t0;
16153 },
16154 _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
16155 },
16156 _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
16157 },
16158 EvaluateResult0: function EvaluateResult0(t0, t1) {
16159 this.stylesheet = t0;
16160 this.loadedUrls = t1;
16161 },
16162 _EvaluationContext2: function _EvaluationContext2(t0, t1) {
16163 this._async_evaluate0$_visitor = t0;
16164 this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
16165 },
16166 _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
16167 var _ = this;
16168 _.positional = t0;
16169 _.positionalNodes = t1;
16170 _.named = t2;
16171 _.namedNodes = t3;
16172 _.separator = t4;
16173 },
16174 _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
16175 this.stylesheet = t0;
16176 this.importer = t1;
16177 this.isDependency = t2;
16178 },
16179 NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
16180 this._findFileUrl = t0;
16181 },
16182 AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
16183 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16184 t2 = type$.Uri,
16185 t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
16186 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));
16187 },
16188 AsyncImportCache$none(logger) {
16189 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16190 t2 = type$.Uri;
16191 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));
16192 },
16193 AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
16194 var sassPath, t2, t3, _i, path, _null = null,
16195 t1 = J.get$env$x(self.process);
16196 if (t1 == null)
16197 t1 = type$.Object._as(t1);
16198 sassPath = A._asStringQ(t1.SASS_PATH);
16199 t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
16200 if (importers != null)
16201 B.JSArray_methods.addAll$1(t1, importers);
16202 if (loadPaths != null)
16203 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
16204 t3 = t2.get$current(t2);
16205 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
16206 }
16207 if (sassPath != null) {
16208 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
16209 t3 = t2.length;
16210 _i = 0;
16211 for (; _i < t3; ++_i) {
16212 path = t2[_i];
16213 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
16214 }
16215 }
16216 return t1;
16217 },
16218 AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
16219 var _ = this;
16220 _._async_import_cache0$_importers = t0;
16221 _._async_import_cache0$_logger = t1;
16222 _._async_import_cache0$_canonicalizeCache = t2;
16223 _._async_import_cache0$_relativeCanonicalizeCache = t3;
16224 _._async_import_cache0$_importCache = t4;
16225 _._async_import_cache0$_resultsCache = t5;
16226 },
16227 AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
16228 var _ = this;
16229 _.$this = t0;
16230 _.baseUrl = t1;
16231 _.url = t2;
16232 _.baseImporter = t3;
16233 _.forImport = t4;
16234 },
16235 AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
16236 this.$this = t0;
16237 this.url = t1;
16238 this.forImport = t2;
16239 },
16240 AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
16241 this.importer = t0;
16242 this.url = t1;
16243 },
16244 AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
16245 var _ = this;
16246 _.$this = t0;
16247 _.importer = t1;
16248 _.canonicalUrl = t2;
16249 _.originalUrl = t3;
16250 _.quiet = t4;
16251 },
16252 AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
16253 this.canonicalUrl = t0;
16254 },
16255 AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
16256 },
16257 AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
16258 },
16259 AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
16260 this.scanner = t0;
16261 this.logger = t1;
16262 },
16263 AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
16264 this.$this = t0;
16265 },
16266 AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
16267 var _ = this;
16268 _.include = t0;
16269 _.names = t1;
16270 _._at_root_query0$_all = t2;
16271 _._at_root_query0$_rule = t3;
16272 },
16273 AtRootRule$0(children, span, query) {
16274 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
16275 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16276 return new A.AtRootRule0(query, span, t1, t2);
16277 },
16278 AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
16279 var _ = this;
16280 _.query = t0;
16281 _.span = t1;
16282 _.children = t2;
16283 _.hasDeclarations = t3;
16284 },
16285 ModifiableCssAtRule$0($name, span, childless, value) {
16286 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
16287 return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
16288 },
16289 ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
16290 var _ = this;
16291 _.name = t0;
16292 _.value = t1;
16293 _.isChildless = t2;
16294 _.span = t3;
16295 _.children = t4;
16296 _._node1$_children = t5;
16297 _._node1$_indexInParent = _._node1$_parent = null;
16298 _.isGroupEnd = false;
16299 },
16300 AtRule$0($name, span, children, value) {
16301 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
16302 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16303 return new A.AtRule0($name, value, span, t1, t2 === true);
16304 },
16305 AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
16306 var _ = this;
16307 _.name = t0;
16308 _.value = t1;
16309 _.span = t2;
16310 _.children = t3;
16311 _.hasDeclarations = t4;
16312 },
16313 AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
16314 var _ = this;
16315 _.name = t0;
16316 _.op = t1;
16317 _.value = t2;
16318 _.modifier = t3;
16319 },
16320 AttributeOperator0: function AttributeOperator0(t0) {
16321 this._attribute0$_text = t0;
16322 },
16323 BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
16324 var _ = this;
16325 _.operator = t0;
16326 _.left = t1;
16327 _.right = t2;
16328 _.allowsSlash = t3;
16329 },
16330 BinaryOperator0: function BinaryOperator0(t0, t1, t2) {
16331 this.name = t0;
16332 this.operator = t1;
16333 this.precedence = t2;
16334 },
16335 BooleanExpression0: function BooleanExpression0(t0, t1) {
16336 this.value = t0;
16337 this.span = t1;
16338 },
16339 legacyBooleanClass_closure: function legacyBooleanClass_closure() {
16340 },
16341 legacyBooleanClass__closure: function legacyBooleanClass__closure() {
16342 },
16343 legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
16344 },
16345 booleanClass_closure: function booleanClass_closure() {
16346 },
16347 booleanClass__closure: function booleanClass__closure() {
16348 },
16349 SassBoolean0: function SassBoolean0(t0) {
16350 this.value = t0;
16351 },
16352 BuiltInCallable$function0($name, $arguments, callback, url) {
16353 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));
16354 },
16355 BuiltInCallable$mixin0($name, $arguments, callback, url) {
16356 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));
16357 },
16358 BuiltInCallable$parsed($name, $arguments, callback) {
16359 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));
16360 },
16361 BuiltInCallable$overloadedFunction0($name, overloads) {
16362 var t2, t3, t4, t5, t6, t7, t8,
16363 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
16364 for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2, t4 = "@function " + $name + "(", t5 = type$.String, t6 = type$.VariableDeclaration_2; t2.moveNext$0();) {
16365 t7 = t2.get$current(t2);
16366 t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
16367 t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false0).parseArgumentDeclaration$0(), t7.value, t3));
16368 }
16369 return new A.BuiltInCallable0($name, t1);
16370 },
16371 BuiltInCallable0: function BuiltInCallable0(t0, t1) {
16372 this.name = t0;
16373 this._built_in$_overloads = t1;
16374 },
16375 BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
16376 this.callback = t0;
16377 },
16378 BuiltInModule$0($name, functions, mixins, variables, $T) {
16379 var t1 = A._Uri__Uri(null, $name, null, "sass"),
16380 t2 = A.BuiltInModule__callableMap0(functions, $T),
16381 t3 = A.BuiltInModule__callableMap0(mixins, $T),
16382 t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
16383 return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
16384 },
16385 BuiltInModule__callableMap0(callables, $T) {
16386 var t2, _i, callable,
16387 t1 = type$.String;
16388 if (callables == null)
16389 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16390 else {
16391 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16392 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
16393 callable = callables[_i];
16394 t1.$indexSet(0, J.get$name$x(callable), callable);
16395 }
16396 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16397 }
16398 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16399 },
16400 BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
16401 var _ = this;
16402 _.url = t0;
16403 _.functions = t1;
16404 _.mixins = t2;
16405 _.variables = t3;
16406 _.$ti = t4;
16407 },
16408 CalculationExpression__verifyArguments0($arguments) {
16409 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
16410 },
16411 CalculationExpression__verify0(expression) {
16412 var t1,
16413 _s29_ = "Invalid calculation argument ";
16414 if (expression instanceof A.NumberExpression0)
16415 return;
16416 if (expression instanceof A.CalculationExpression0)
16417 return;
16418 if (expression instanceof A.VariableExpression0)
16419 return;
16420 if (expression instanceof A.FunctionExpression0)
16421 return;
16422 if (expression instanceof A.IfExpression0)
16423 return;
16424 if (expression instanceof A.StringExpression0) {
16425 if (expression.hasQuotes)
16426 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16427 } else if (expression instanceof A.ParenthesizedExpression0)
16428 A.CalculationExpression__verify0(expression.expression);
16429 else if (expression instanceof A.BinaryOperationExpression0) {
16430 A.CalculationExpression__verify0(expression.left);
16431 A.CalculationExpression__verify0(expression.right);
16432 t1 = expression.operator;
16433 if (t1 === B.BinaryOperator_AcR2)
16434 return;
16435 if (t1 === B.BinaryOperator_iyO0)
16436 return;
16437 if (t1 === B.BinaryOperator_O1M0)
16438 return;
16439 if (t1 === B.BinaryOperator_RTB0)
16440 return;
16441 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16442 } else
16443 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16444 },
16445 CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
16446 this.name = t0;
16447 this.$arguments = t1;
16448 this.span = t2;
16449 },
16450 CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
16451 },
16452 SassCalculation_calc0(argument) {
16453 argument = A.SassCalculation__simplify0(argument);
16454 if (argument instanceof A.SassNumber0)
16455 return argument;
16456 if (argument instanceof A.SassCalculation0)
16457 return argument;
16458 return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
16459 },
16460 SassCalculation_min0($arguments) {
16461 var minimum, _i, arg, t2,
16462 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16463 t1 = args.length;
16464 if (t1 === 0)
16465 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
16466 for (minimum = null, _i = 0; _i < t1; ++_i) {
16467 arg = args[_i];
16468 if (arg instanceof A.SassNumber0)
16469 t2 = minimum != null && !minimum.isComparableTo$1(arg);
16470 else
16471 t2 = true;
16472 if (t2) {
16473 minimum = null;
16474 break;
16475 } else if (minimum == null || minimum.greaterThan$1(arg).value)
16476 minimum = arg;
16477 }
16478 if (minimum != null)
16479 return minimum;
16480 A.SassCalculation__verifyCompatibleNumbers0(args);
16481 return new A.SassCalculation0("min", args);
16482 },
16483 SassCalculation_max0($arguments) {
16484 var maximum, _i, arg, t2,
16485 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16486 t1 = args.length;
16487 if (t1 === 0)
16488 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
16489 for (maximum = null, _i = 0; _i < t1; ++_i) {
16490 arg = args[_i];
16491 if (arg instanceof A.SassNumber0)
16492 t2 = maximum != null && !maximum.isComparableTo$1(arg);
16493 else
16494 t2 = true;
16495 if (t2) {
16496 maximum = null;
16497 break;
16498 } else if (maximum == null || maximum.lessThan$1(arg).value)
16499 maximum = arg;
16500 }
16501 if (maximum != null)
16502 return maximum;
16503 A.SassCalculation__verifyCompatibleNumbers0(args);
16504 return new A.SassCalculation0("max", args);
16505 },
16506 SassCalculation_clamp0(min, value, max) {
16507 var t1, args;
16508 if (value == null && max != null)
16509 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
16510 min = A.SassCalculation__simplify0(min);
16511 value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
16512 max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
16513 if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
16514 if (value.lessThanOrEquals$1(min).value)
16515 return min;
16516 if (value.greaterThanOrEquals$1(max).value)
16517 return max;
16518 return value;
16519 }
16520 t1 = [min];
16521 if (value != null)
16522 t1.push(value);
16523 if (max != null)
16524 t1.push(max);
16525 args = A.List_List$unmodifiable(t1, type$.Object);
16526 A.SassCalculation__verifyCompatibleNumbers0(args);
16527 A.SassCalculation__verifyLength0(args, 3);
16528 return new A.SassCalculation0("clamp", args);
16529 },
16530 SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
16531 var t1, t2;
16532 if (!simplify)
16533 return new A.CalculationOperation0(operator, left, right);
16534 left = A.SassCalculation__simplify0(left);
16535 right = A.SassCalculation__simplify0(right);
16536 t1 = operator === B.CalculationOperator_Iem0;
16537 if (t1 || operator === B.CalculationOperator_uti0) {
16538 if (left instanceof A.SassNumber0)
16539 if (right instanceof A.SassNumber0)
16540 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
16541 else
16542 t2 = false;
16543 else
16544 t2 = false;
16545 if (t2)
16546 return t1 ? left.plus$1(right) : left.minus$1(right);
16547 A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
16548 if (right instanceof A.SassNumber0) {
16549 t2 = right._number1$_value;
16550 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon0());
16551 } else
16552 t2 = false;
16553 if (t2) {
16554 right = right.times$1(new A.UnitlessSassNumber0(-1, null));
16555 operator = t1 ? B.CalculationOperator_uti0 : B.CalculationOperator_Iem0;
16556 }
16557 return new A.CalculationOperation0(operator, left, right);
16558 } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
16559 return operator === B.CalculationOperator_Dih0 ? left.times$1(right) : left.dividedBy$1(right);
16560 else
16561 return new A.CalculationOperation0(operator, left, right);
16562 },
16563 SassCalculation__simplify0(arg) {
16564 var _s32_ = " can't be used in a calculation.";
16565 if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
16566 return arg;
16567 else if (arg instanceof A.SassString0) {
16568 if (!arg._string0$_hasQuotes)
16569 return arg;
16570 throw A.wrapException(A.SassCalculation__exception0("Quoted string " + arg.toString$0(0) + _s32_));
16571 } else if (arg instanceof A.SassCalculation0)
16572 return arg.name === "calc" ? arg.$arguments[0] : arg;
16573 else if (arg instanceof A.Value0)
16574 throw A.wrapException(A.SassCalculation__exception0("Value " + arg.toString$0(0) + _s32_));
16575 else
16576 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
16577 },
16578 SassCalculation__verifyCompatibleNumbers0(args) {
16579 var t1, _i, t2, arg, i, number1, j, number2;
16580 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
16581 arg = args[_i];
16582 if (!(arg instanceof A.SassNumber0))
16583 continue;
16584 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
16585 throw A.wrapException(A.SassCalculation__exception0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
16586 }
16587 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
16588 number1 = args[i];
16589 if (!(number1 instanceof A.SassNumber0))
16590 continue;
16591 for (j = i + 1; t1 = args.length, j < t1; ++j) {
16592 number2 = args[j];
16593 if (!(number2 instanceof A.SassNumber0))
16594 continue;
16595 if (number1.hasPossiblyCompatibleUnits$1(number2))
16596 continue;
16597 throw A.wrapException(A.SassCalculation__exception0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
16598 }
16599 }
16600 },
16601 SassCalculation__verifyLength0(args, expectedLength) {
16602 var t1 = args.length;
16603 if (t1 === expectedLength)
16604 return;
16605 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
16606 return;
16607 throw A.wrapException(A.SassCalculation__exception0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16608 },
16609 SassCalculation__exception0(message) {
16610 return new A.SassScriptException0(message);
16611 },
16612 SassCalculation0: function SassCalculation0(t0, t1) {
16613 this.name = t0;
16614 this.$arguments = t1;
16615 },
16616 SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
16617 },
16618 CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
16619 this.operator = t0;
16620 this.left = t1;
16621 this.right = t2;
16622 },
16623 CalculationOperator0: function CalculationOperator0(t0, t1, t2) {
16624 this.name = t0;
16625 this.operator = t1;
16626 this.precedence = t2;
16627 },
16628 CalculationInterpolation0: function CalculationInterpolation0(t0) {
16629 this.value = t0;
16630 },
16631 CallableDeclaration0: function CallableDeclaration0() {
16632 },
16633 Chokidar0: function Chokidar0() {
16634 },
16635 ChokidarOptions0: function ChokidarOptions0() {
16636 },
16637 ChokidarWatcher0: function ChokidarWatcher0() {
16638 },
16639 ClassSelector0: function ClassSelector0(t0) {
16640 this.name = t0;
16641 },
16642 cloneCssStylesheet0(stylesheet, extensionStore) {
16643 var result = extensionStore.clone$0();
16644 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);
16645 },
16646 _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
16647 this._clone_css$_oldToNewSelectors = t0;
16648 },
16649 ColorExpression0: function ColorExpression0(t0, t1) {
16650 this.value = t0;
16651 this.span = t1;
16652 },
16653 _updateComponents0($arguments, adjust, change, scale) {
16654 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, _null = null,
16655 t1 = J.getInterceptor$asx($arguments),
16656 color = t1.$index($arguments, 0).assertColor$1("color"),
16657 argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
16658 if (argumentList._list1$_contents.length !== 0)
16659 throw A.wrapException(A.SassScriptException$0(string$.Only_op));
16660 argumentList._argument_list$_wereKeywordsAccessed = true;
16661 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
16662 t1 = new A._updateComponents_getParam0(keywords, scale, change);
16663 alpha = t1.call$2("alpha", 1);
16664 red = t1.call$2("red", 255);
16665 green = t1.call$2("green", 255);
16666 blue = t1.call$2("blue", 255);
16667 if (scale)
16668 hueNumber = _null;
16669 else {
16670 t2 = keywords.remove$1(0, "hue");
16671 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
16672 }
16673 t2 = hueNumber == null;
16674 if (!t2)
16675 A._checkAngle0(hueNumber, "hue");
16676 hue = t2 ? _null : hueNumber._number1$_value;
16677 saturation = t1.call$3$checkPercent("saturation", 100, true);
16678 lightness = t1.call$3$checkPercent("lightness", 100, true);
16679 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
16680 blackness = t1.call$3$assertPercent("blackness", 100, true);
16681 t1 = keywords.__js_helper$_length;
16682 if (t1 !== 0)
16683 throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", t1, _null) + " named " + A.S(A.toSentence0(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or")) + "."));
16684 hasRgb = red != null || green != null || blue != null;
16685 hasSL = saturation != null || lightness != null;
16686 hasWB = whiteness != null || blackness != null;
16687 if (hasRgb)
16688 t1 = hasSL || hasWB || hue != null;
16689 else
16690 t1 = false;
16691 if (t1)
16692 throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
16693 if (hasSL && hasWB)
16694 throw A.wrapException(A.SassScriptException$0(string$.HSL_pa));
16695 t1 = new A._updateComponents_updateValue0(change, adjust);
16696 t2 = new A._updateComponents_updateRgb0(t1);
16697 if (hasRgb) {
16698 t3 = t2.call$2(color.get$red(color), red);
16699 t4 = t2.call$2(color.get$green(color), green);
16700 t2 = t2.call$2(color.get$blue(color), blue);
16701 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16702 } else if (hasWB) {
16703 if (change)
16704 t2 = hue;
16705 else {
16706 t2 = color.get$hue(color);
16707 t2 += hue == null ? 0 : hue;
16708 }
16709 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
16710 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
16711 return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
16712 } else {
16713 t2 = hue == null;
16714 if (!t2 || hasSL) {
16715 if (change)
16716 t2 = hue;
16717 else {
16718 t3 = color.get$hue(color);
16719 t3 += t2 ? 0 : hue;
16720 t2 = t3;
16721 }
16722 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
16723 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
16724 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16725 } else if (alpha != null)
16726 return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
16727 else
16728 return color;
16729 }
16730 },
16731 _functionString0($name, $arguments) {
16732 return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
16733 },
16734 _removedColorFunction0($name, argument, negative) {
16735 return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
16736 },
16737 _rgb0($name, $arguments) {
16738 var t2, red, green, blue,
16739 t1 = J.getInterceptor$asx($arguments),
16740 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16741 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16742 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16743 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16744 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16745 t2 = t2 === true;
16746 } else
16747 t2 = true;
16748 else
16749 t2 = true;
16750 else
16751 t2 = true;
16752 if (t2)
16753 return A._functionString0($name, $arguments);
16754 red = t1.$index($arguments, 0).assertNumber$1("red");
16755 green = t1.$index($arguments, 1).assertNumber$1("green");
16756 blue = t1.$index($arguments, 2).assertNumber$1("blue");
16757 return A.SassColor$rgbInternal0(A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red")), A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green")), A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue")), A.NullableExtension_andThen0(alpha, new A._rgb_closure0()), B._ColorFormatEnum_rgbFunction0);
16758 },
16759 _rgbTwoArg0($name, $arguments) {
16760 var first, color,
16761 t1 = J.getInterceptor$asx($arguments);
16762 if (t1.$index($arguments, 0).get$isVar())
16763 return A._functionString0($name, $arguments);
16764 else if (t1.$index($arguments, 1).get$isVar()) {
16765 first = t1.$index($arguments, 0);
16766 if (first instanceof A.SassColor0)
16767 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);
16768 else
16769 return A._functionString0($name, $arguments);
16770 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
16771 color = t1.$index($arguments, 0).assertColor$1("color");
16772 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);
16773 }
16774 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
16775 },
16776 _hsl0($name, $arguments) {
16777 var t2, hue, saturation, lightness,
16778 _s10_ = "saturation",
16779 _s9_ = "lightness",
16780 t1 = J.getInterceptor$asx($arguments),
16781 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16782 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16783 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16784 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16785 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16786 t2 = t2 === true;
16787 } else
16788 t2 = true;
16789 else
16790 t2 = true;
16791 else
16792 t2 = true;
16793 if (t2)
16794 return A._functionString0($name, $arguments);
16795 hue = t1.$index($arguments, 0).assertNumber$1("hue");
16796 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
16797 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
16798 A._checkAngle0(hue, "hue");
16799 A._checkPercent0(saturation, _s10_);
16800 A._checkPercent0(lightness, _s9_);
16801 return A.SassColor$hslInternal0(hue._number1$_value, B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100), A.NullableExtension_andThen0(alpha, new A._hsl_closure0()), B._ColorFormatEnum_hslFunction0);
16802 },
16803 _checkAngle0(angle, $name) {
16804 var t1, t2, t3, t4,
16805 _s31_ = "To preserve current behavior: $";
16806 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
16807 return;
16808 t1 = A.S($name);
16809 t2 = "" + ("$" + t1 + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
16810 if (angle.compatibleWithUnit$1("deg")) {
16811 t3 = angle.toString$0(0);
16812 t4 = type$.JSArray_String;
16813 t1 = t2 + ("You're passing " + t3 + string$.x2c_whici + new A.SingleUnitSassNumber0("deg", angle._number1$_value, null).toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t4), A._setArrayType([], t4)).toString$0(0) + ".\n") + "\n" + (_s31_ + t1 + " * 1deg/1" + B.JSArray_methods.get$first(angle.get$numeratorUnits(angle)) + "\n") + ("To migrate to new behavior: 0deg + $" + t1 + "\n") + "\n";
16814 } else
16815 t1 = t2 + (_s31_ + t1 + A._removeUnits0(angle) + "\n") + "\n";
16816 t1 += "See https://sass-lang.com/d/color-units";
16817 A.EvaluationContext_current0().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
16818 },
16819 _checkPercent0(number, $name) {
16820 var t1, t2;
16821 if (number.hasUnit$1("%"))
16822 return;
16823 t1 = number.toString$0(0);
16824 t2 = A._removeUnits0(number);
16825 A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + $name + t2 + " * 1%", true);
16826 },
16827 _removeUnits0(number) {
16828 var t2,
16829 t1 = number.get$denominatorUnits(number);
16830 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
16831 t2 = number.get$numeratorUnits(number);
16832 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
16833 },
16834 _hwb0($arguments) {
16835 var _s9_ = "whiteness",
16836 _s9_0 = "blackness",
16837 t1 = J.getInterceptor$asx($arguments),
16838 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
16839 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
16840 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
16841 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
16842 whiteness.assertUnit$2("%", _s9_);
16843 blackness.assertUnit$2("%", _s9_0);
16844 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()));
16845 },
16846 _parseChannels0($name, argumentNames, channels) {
16847 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
16848 _s17_ = "$channels must be";
16849 if (channels.get$isVar())
16850 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16851 if (channels.get$separator(channels) === B.ListSeparator_1gm0) {
16852 list = channels.get$asList();
16853 t1 = list.length;
16854 if (t1 !== 2)
16855 throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16856 channels0 = list[0];
16857 alphaFromSlashList = list[1];
16858 if (!alphaFromSlashList.get$isSpecialNumber())
16859 alphaFromSlashList.assertNumber$1("alpha");
16860 if (list[0].get$isVar())
16861 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16862 } else {
16863 channels0 = channels;
16864 alphaFromSlashList = null;
16865 }
16866 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM0;
16867 isBracketed = channels0.get$hasBrackets();
16868 if (isCommaSeparated || isBracketed) {
16869 buffer = new A.StringBuffer(_s17_);
16870 if (isBracketed) {
16871 t1 = _s17_ + " an unbracketed";
16872 buffer._contents = t1;
16873 } else
16874 t1 = _s17_;
16875 if (isCommaSeparated) {
16876 t1 += isBracketed ? "," : " a";
16877 buffer._contents = t1;
16878 t1 = buffer._contents = t1 + " space-separated";
16879 }
16880 buffer._contents = t1 + " list.";
16881 throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0)));
16882 }
16883 list = channels0.get$asList();
16884 t1 = list.length;
16885 if (t1 > 3)
16886 throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed."));
16887 else if (t1 < 3) {
16888 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
16889 if (list.length !== 0) {
16890 t1 = B.JSArray_methods.get$last(list);
16891 if (t1 instanceof A.SassString0)
16892 if (t1._string0$_hasQuotes) {
16893 t1 = t1._string0$_text;
16894 t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
16895 } else
16896 t1 = false;
16897 else
16898 t1 = false;
16899 } else
16900 t1 = false;
16901 else
16902 t1 = true;
16903 if (t1)
16904 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16905 else
16906 throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + "."));
16907 }
16908 if (alphaFromSlashList != null) {
16909 t1 = A.List_List$of(list, true, type$.Value_2);
16910 t1.push(alphaFromSlashList);
16911 return t1;
16912 }
16913 maybeSlashSeparated = list[2];
16914 if (maybeSlashSeparated instanceof A.SassNumber0) {
16915 slash = maybeSlashSeparated.asSlash;
16916 if (slash == null)
16917 return list;
16918 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
16919 } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
16920 return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
16921 else
16922 return list;
16923 },
16924 _percentageOrUnitless0(number, max, $name) {
16925 var value;
16926 if (!number.get$hasUnits())
16927 value = number._number1$_value;
16928 else if (number.hasUnit$1("%"))
16929 value = max * number._number1$_value / 100;
16930 else
16931 throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
16932 return B.JSNumber_methods.clamp$2(value, 0, max);
16933 },
16934 _mixColors0(color1, color2, weight) {
16935 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
16936 normalizedWeight = weightScale * 2 - 1,
16937 t1 = color1._color1$_alpha,
16938 t2 = color2._color1$_alpha,
16939 alphaDistance = t1 - t2,
16940 t3 = normalizedWeight * alphaDistance,
16941 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
16942 weight2 = 1 - weight1;
16943 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));
16944 },
16945 _opacify0($arguments) {
16946 var t1 = J.getInterceptor$asx($arguments),
16947 color = t1.$index($arguments, 0).assertColor$1("color");
16948 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16949 },
16950 _transparentize0($arguments) {
16951 var t1 = J.getInterceptor$asx($arguments),
16952 color = t1.$index($arguments, 0).assertColor$1("color");
16953 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16954 },
16955 _function11($name, $arguments, callback) {
16956 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
16957 },
16958 global_closure30: function global_closure30() {
16959 },
16960 global_closure31: function global_closure31() {
16961 },
16962 global_closure32: function global_closure32() {
16963 },
16964 global_closure33: function global_closure33() {
16965 },
16966 global_closure34: function global_closure34() {
16967 },
16968 global_closure35: function global_closure35() {
16969 },
16970 global_closure36: function global_closure36() {
16971 },
16972 global_closure37: function global_closure37() {
16973 },
16974 global_closure38: function global_closure38() {
16975 },
16976 global_closure39: function global_closure39() {
16977 },
16978 global_closure40: function global_closure40() {
16979 },
16980 global_closure41: function global_closure41() {
16981 },
16982 global_closure42: function global_closure42() {
16983 },
16984 global_closure43: function global_closure43() {
16985 },
16986 global_closure44: function global_closure44() {
16987 },
16988 global_closure45: function global_closure45() {
16989 },
16990 global_closure46: function global_closure46() {
16991 },
16992 global_closure47: function global_closure47() {
16993 },
16994 global_closure48: function global_closure48() {
16995 },
16996 global_closure49: function global_closure49() {
16997 },
16998 global_closure50: function global_closure50() {
16999 },
17000 global_closure51: function global_closure51() {
17001 },
17002 global_closure52: function global_closure52() {
17003 },
17004 global_closure53: function global_closure53() {
17005 },
17006 global_closure54: function global_closure54() {
17007 },
17008 global_closure55: function global_closure55() {
17009 },
17010 global__closure0: function global__closure0() {
17011 },
17012 global_closure56: function global_closure56() {
17013 },
17014 module_closure8: function module_closure8() {
17015 },
17016 module_closure9: function module_closure9() {
17017 },
17018 module_closure10: function module_closure10() {
17019 },
17020 module_closure11: function module_closure11() {
17021 },
17022 module_closure12: function module_closure12() {
17023 },
17024 module_closure13: function module_closure13() {
17025 },
17026 module_closure14: function module_closure14() {
17027 },
17028 module_closure15: function module_closure15() {
17029 },
17030 module__closure0: function module__closure0() {
17031 },
17032 module_closure16: function module_closure16() {
17033 },
17034 _red_closure0: function _red_closure0() {
17035 },
17036 _green_closure0: function _green_closure0() {
17037 },
17038 _blue_closure0: function _blue_closure0() {
17039 },
17040 _mix_closure0: function _mix_closure0() {
17041 },
17042 _hue_closure0: function _hue_closure0() {
17043 },
17044 _saturation_closure0: function _saturation_closure0() {
17045 },
17046 _lightness_closure0: function _lightness_closure0() {
17047 },
17048 _complement_closure0: function _complement_closure0() {
17049 },
17050 _adjust_closure0: function _adjust_closure0() {
17051 },
17052 _scale_closure0: function _scale_closure0() {
17053 },
17054 _change_closure0: function _change_closure0() {
17055 },
17056 _ieHexStr_closure0: function _ieHexStr_closure0() {
17057 },
17058 _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
17059 },
17060 _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
17061 this.keywords = t0;
17062 this.scale = t1;
17063 this.change = t2;
17064 },
17065 _updateComponents_closure0: function _updateComponents_closure0() {
17066 },
17067 _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
17068 this.change = t0;
17069 this.adjust = t1;
17070 },
17071 _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
17072 this.updateValue = t0;
17073 },
17074 _functionString_closure0: function _functionString_closure0() {
17075 },
17076 _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
17077 this.name = t0;
17078 this.argument = t1;
17079 this.negative = t2;
17080 },
17081 _rgb_closure0: function _rgb_closure0() {
17082 },
17083 _hsl_closure0: function _hsl_closure0() {
17084 },
17085 _removeUnits_closure1: function _removeUnits_closure1() {
17086 },
17087 _removeUnits_closure2: function _removeUnits_closure2() {
17088 },
17089 _hwb_closure0: function _hwb_closure0() {
17090 },
17091 _parseChannels_closure0: function _parseChannels_closure0() {
17092 },
17093 _NodeSassColor: function _NodeSassColor() {
17094 },
17095 legacyColorClass_closure: function legacyColorClass_closure() {
17096 },
17097 legacyColorClass_closure0: function legacyColorClass_closure0() {
17098 },
17099 legacyColorClass_closure1: function legacyColorClass_closure1() {
17100 },
17101 legacyColorClass_closure2: function legacyColorClass_closure2() {
17102 },
17103 legacyColorClass_closure3: function legacyColorClass_closure3() {
17104 },
17105 legacyColorClass_closure4: function legacyColorClass_closure4() {
17106 },
17107 legacyColorClass_closure5: function legacyColorClass_closure5() {
17108 },
17109 legacyColorClass_closure6: function legacyColorClass_closure6() {
17110 },
17111 legacyColorClass_closure7: function legacyColorClass_closure7() {
17112 },
17113 colorClass_closure: function colorClass_closure() {
17114 },
17115 colorClass__closure: function colorClass__closure() {
17116 },
17117 colorClass__closure0: function colorClass__closure0() {
17118 },
17119 colorClass__closure1: function colorClass__closure1() {
17120 },
17121 colorClass__closure2: function colorClass__closure2() {
17122 },
17123 colorClass__closure3: function colorClass__closure3() {
17124 },
17125 colorClass__closure4: function colorClass__closure4() {
17126 },
17127 colorClass__closure5: function colorClass__closure5() {
17128 },
17129 colorClass__closure6: function colorClass__closure6() {
17130 },
17131 colorClass__closure7: function colorClass__closure7() {
17132 },
17133 colorClass__closure8: function colorClass__closure8() {
17134 },
17135 colorClass__closure9: function colorClass__closure9() {
17136 },
17137 _Channels: function _Channels() {
17138 },
17139 SassColor$rgb0(red, green, blue, alpha) {
17140 var _null = null,
17141 t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17142 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17143 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17144 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17145 return t1;
17146 },
17147 SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
17148 var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17149 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17150 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17151 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17152 return t1;
17153 },
17154 SassColor$hsl(hue, saturation, lightness, alpha) {
17155 var _null = null,
17156 t1 = B.JSNumber_methods.$mod(hue, 360),
17157 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17158 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17159 return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17160 },
17161 SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
17162 var t1 = B.JSNumber_methods.$mod(hue, 360),
17163 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17164 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17165 return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17166 },
17167 SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
17168 var t2, t1 = {},
17169 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
17170 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
17171 scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
17172 sum = scaledWhiteness + scaledBlackness;
17173 if (sum > 1) {
17174 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
17175 scaledBlackness /= sum;
17176 } else
17177 t2 = scaledWhiteness;
17178 t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
17179 return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
17180 },
17181 SassColor__hueToRgb0(m1, m2, hue) {
17182 if (hue < 0)
17183 ++hue;
17184 if (hue > 1)
17185 --hue;
17186 if (hue < 0.16666666666666666)
17187 return m1 + (m2 - m1) * hue * 6;
17188 else if (hue < 0.5)
17189 return m2;
17190 else if (hue < 0.6666666666666666)
17191 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
17192 else
17193 return m1;
17194 },
17195 SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
17196 var _ = this;
17197 _._color1$_red = t0;
17198 _._color1$_green = t1;
17199 _._color1$_blue = t2;
17200 _._color1$_hue = t3;
17201 _._color1$_saturation = t4;
17202 _._color1$_lightness = t5;
17203 _._color1$_alpha = t6;
17204 _.format = t7;
17205 },
17206 SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
17207 this._box_0 = t0;
17208 this.factor = t1;
17209 },
17210 _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
17211 this._color1$_name = t0;
17212 },
17213 SpanColorFormat0: function SpanColorFormat0(t0) {
17214 this._color1$_span = t0;
17215 },
17216 ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
17217 var _ = this;
17218 _.text = t0;
17219 _.span = t1;
17220 _._node1$_indexInParent = _._node1$_parent = null;
17221 _.isGroupEnd = false;
17222 },
17223 compile0(path, options) {
17224 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, exception, _null = null,
17225 t1 = options == null,
17226 color0 = t1 ? _null : J.get$alertColor$x(options),
17227 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17228 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17229 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17230 try {
17231 t2 = t1 ? _null : J.get$loadPaths$x(options);
17232 t3 = t1 ? _null : J.get$quietDeps$x(options);
17233 if (t3 == null)
17234 t3 = false;
17235 t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17236 t5 = t1 ? _null : J.get$verbose$x(options);
17237 if (t5 == null)
17238 t5 = false;
17239 t6 = t1 ? _null : J.get$sourceMap$x(options);
17240 if (t6 == null)
17241 t6 = false;
17242 t7 = t1 ? _null : J.get$logger$x(options);
17243 t8 = ascii;
17244 if (t8 == null)
17245 t8 = $._glyphs === B.C_AsciiGlyphSet;
17246 t8 = new A.NodeToDartLogger(t7, new A.StderrLogger0(color), t8);
17247 if (t1)
17248 t7 = _null;
17249 else {
17250 t7 = J.get$importers$x(options);
17251 t7 = t7 == null ? _null : J.map$1$1$ax(t7, A.compile___parseImporter$closure(), type$.Importer);
17252 }
17253 t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17254 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);
17255 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17256 if (t1 == null)
17257 t1 = false;
17258 t1 = A._convertResult(result, t1);
17259 return t1;
17260 } catch (exception) {
17261 t1 = A.unwrapException(exception);
17262 if (t1 instanceof A.SassException0) {
17263 error = t1;
17264 stackTrace = A.getTraceFromException(exception);
17265 A.throwNodeException(error, ascii, color, stackTrace);
17266 } else
17267 throw exception;
17268 }
17269 },
17270 compileString0(text, options) {
17271 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null,
17272 t1 = options == null,
17273 color0 = t1 ? _null : J.get$alertColor$x(options),
17274 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17275 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17276 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17277 try {
17278 t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
17279 t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
17280 t4 = t1 ? _null : J.get$loadPaths$x(options);
17281 t5 = t1 ? _null : J.get$quietDeps$x(options);
17282 if (t5 == null)
17283 t5 = false;
17284 t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17285 t7 = t1 ? _null : J.get$verbose$x(options);
17286 if (t7 == null)
17287 t7 = false;
17288 t8 = t1 ? _null : J.get$sourceMap$x(options);
17289 if (t8 == null)
17290 t8 = false;
17291 t9 = t1 ? _null : J.get$logger$x(options);
17292 t10 = ascii;
17293 if (t10 == null)
17294 t10 = $._glyphs === B.C_AsciiGlyphSet;
17295 t10 = new A.NodeToDartLogger(t9, new A.StderrLogger0(color), t10);
17296 if (t1)
17297 t9 = _null;
17298 else {
17299 t9 = J.get$importers$x(options);
17300 t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
17301 }
17302 t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
17303 if (t11 == null)
17304 t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
17305 t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17306 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);
17307 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17308 if (t1 == null)
17309 t1 = false;
17310 t1 = A._convertResult(result, t1);
17311 return t1;
17312 } catch (exception) {
17313 t1 = A.unwrapException(exception);
17314 if (t1 instanceof A.SassException0) {
17315 error = t1;
17316 stackTrace = A.getTraceFromException(exception);
17317 A.throwNodeException(error, ascii, color, stackTrace);
17318 } else
17319 throw exception;
17320 }
17321 },
17322 compileAsync1(path, options) {
17323 var ascii,
17324 t1 = options == null,
17325 color = t1 ? null : J.get$alertColor$x(options);
17326 if (color == null)
17327 color = J.$eq$(self.process.stdout.isTTY, true);
17328 ascii = t1 ? null : J.get$alertAscii$x(options);
17329 if (ascii == null)
17330 ascii = $._glyphs === B.C_AsciiGlyphSet;
17331 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
17332 },
17333 compileStringAsync1(text, options) {
17334 var ascii,
17335 t1 = options == null,
17336 color = t1 ? null : J.get$alertColor$x(options);
17337 if (color == null)
17338 color = J.$eq$(self.process.stdout.isTTY, true);
17339 ascii = t1 ? null : J.get$alertAscii$x(options);
17340 if (ascii == null)
17341 ascii = $._glyphs === B.C_AsciiGlyphSet;
17342 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
17343 },
17344 _convertResult(result, includeSourceContents) {
17345 var loadedUrls,
17346 t1 = result._compile_result$_serialize,
17347 t2 = t1.sourceMap,
17348 sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
17349 if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
17350 sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
17351 t2 = result._evaluate.loadedUrls;
17352 loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
17353 t1 = t1.css;
17354 return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
17355 },
17356 _wrapAsyncSassExceptions(promise, ascii, color) {
17357 return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
17358 },
17359 _parseOutputStyle0(style) {
17360 if (style == null || style === "expanded")
17361 return B.OutputStyle_expanded0;
17362 if (style === "compressed")
17363 return B.OutputStyle_compressed0;
17364 A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
17365 },
17366 _parseAsyncImporter(importer) {
17367 var t1, findFileUrl, canonicalize, load;
17368 if (importer == null)
17369 A.jsThrow(new self.Error("Importers may not be null."));
17370 type$.NodeImporter._as(importer);
17371 t1 = J.getInterceptor$x(importer);
17372 findFileUrl = t1.get$findFileUrl(importer);
17373 canonicalize = t1.get$canonicalize(importer);
17374 load = t1.get$load(importer);
17375 if (findFileUrl == null) {
17376 if (canonicalize == null || load == null)
17377 A.jsThrow(new self.Error(string$.An_impu));
17378 return new A.NodeToDartAsyncImporter(canonicalize, load);
17379 } else if (canonicalize != null || load != null)
17380 A.jsThrow(new self.Error(string$.An_impa));
17381 else
17382 return new A.NodeToDartAsyncFileImporter(findFileUrl);
17383 },
17384 _parseImporter0(importer) {
17385 var t1, findFileUrl, canonicalize, load;
17386 if (importer == null)
17387 A.jsThrow(new self.Error("Importers may not be null."));
17388 type$.NodeImporter._as(importer);
17389 t1 = J.getInterceptor$x(importer);
17390 findFileUrl = t1.get$findFileUrl(importer);
17391 canonicalize = t1.get$canonicalize(importer);
17392 load = t1.get$load(importer);
17393 if (findFileUrl == null) {
17394 if (canonicalize == null || load == null)
17395 A.jsThrow(new self.Error(string$.An_impu));
17396 return new A.NodeToDartImporter(canonicalize, load);
17397 } else if (canonicalize != null || load != null)
17398 A.jsThrow(new self.Error(string$.An_impa));
17399 else
17400 return new A.NodeToDartFileImporter(findFileUrl);
17401 },
17402 _parseFunctions0(functions, asynch) {
17403 var result;
17404 if (functions == null)
17405 return B.List_empty20;
17406 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
17407 A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
17408 return result;
17409 },
17410 compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
17411 var _ = this;
17412 _.path = t0;
17413 _.color = t1;
17414 _.options = t2;
17415 _.ascii = t3;
17416 },
17417 compileAsync__closure: function compileAsync__closure() {
17418 },
17419 compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
17420 var _ = this;
17421 _.text = t0;
17422 _.options = t1;
17423 _.color = t2;
17424 _.ascii = t3;
17425 },
17426 compileStringAsync__closure: function compileStringAsync__closure() {
17427 },
17428 compileStringAsync__closure0: function compileStringAsync__closure0() {
17429 },
17430 _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
17431 this.color = t0;
17432 this.ascii = t1;
17433 },
17434 _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
17435 this.asynch = t0;
17436 this.result = t1;
17437 },
17438 _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
17439 this._box_0 = t0;
17440 this.callback = t1;
17441 },
17442 _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
17443 this._box_0 = t0;
17444 this.callback = t1;
17445 },
17446 compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
17447 var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
17448 if (!verbose) {
17449 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17450 logger = terseLogger;
17451 } else
17452 terseLogger = _null;
17453 t1 = nodeImporter == null;
17454 if (t1)
17455 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
17456 else
17457 t2 = false;
17458 if (t2) {
17459 if (importCache == null)
17460 importCache = A.ImportCache$none(logger);
17461 t2 = $.$get$context();
17462 t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
17463 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));
17464 t3.toString;
17465 stylesheet = t3;
17466 } else {
17467 t2 = A.readFile0(path);
17468 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
17469 t4 = $.$get$context();
17470 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
17471 t2 = t4;
17472 }
17473 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);
17474 if (terseLogger != null)
17475 terseLogger.summarize$1$node(!t1);
17476 return result;
17477 },
17478 compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
17479 var terseLogger, stylesheet, result, _null = null;
17480 if (!verbose) {
17481 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17482 logger = terseLogger;
17483 } else
17484 terseLogger = _null;
17485 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
17486 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);
17487 if (terseLogger != null)
17488 terseLogger.summarize$1$node(nodeImporter != null);
17489 return result;
17490 },
17491 _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
17492 var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
17493 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
17494 resultSourceMap = serializeResult.sourceMap;
17495 if (resultSourceMap != null && importCache != null)
17496 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
17497 return new A.CompileResult0(evaluateResult, serializeResult);
17498 },
17499 _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
17500 this.stylesheet = t0;
17501 this.importCache = t1;
17502 },
17503 CompileOptions: function CompileOptions() {
17504 },
17505 CompileStringOptions: function CompileStringOptions() {
17506 },
17507 NodeCompileResult: function NodeCompileResult() {
17508 },
17509 CompileResult0: function CompileResult0(t0, t1) {
17510 this._evaluate = t0;
17511 this._compile_result$_serialize = t1;
17512 },
17513 ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
17514 var _ = this;
17515 _._complex1$_numeratorUnits = t0;
17516 _._complex1$_denominatorUnits = t1;
17517 _._number1$_value = t2;
17518 _.hashCache = null;
17519 _.asSlash = t3;
17520 },
17521 ComplexSelector$0(components, lineBreak) {
17522 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
17523 if (t1.length === 0)
17524 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17525 return new A.ComplexSelector0(t1, lineBreak);
17526 },
17527 ComplexSelector0: function ComplexSelector0(t0, t1) {
17528 var _ = this;
17529 _.components = t0;
17530 _.lineBreak = t1;
17531 _._complex0$_maxSpecificity = _._complex0$_minSpecificity = null;
17532 _._complex0$__ComplexSelector_isInvisible = $;
17533 },
17534 ComplexSelector_isInvisible_closure0: function ComplexSelector_isInvisible_closure0() {
17535 },
17536 Combinator0: function Combinator0(t0) {
17537 this._complex0$_text = t0;
17538 },
17539 CompoundSelector$0(components) {
17540 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
17541 if (t1.length === 0)
17542 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17543 return new A.CompoundSelector0(t1);
17544 },
17545 CompoundSelector0: function CompoundSelector0(t0) {
17546 this.components = t0;
17547 this._compound0$_maxSpecificity = this._compound0$_minSpecificity = null;
17548 },
17549 CompoundSelector_isInvisible_closure0: function CompoundSelector_isInvisible_closure0() {
17550 },
17551 Configuration0: function Configuration0(t0) {
17552 this._configuration$_values = t0;
17553 },
17554 Configuration_toString_closure0: function Configuration_toString_closure0() {
17555 },
17556 ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1) {
17557 this.nodeWithSpan = t0;
17558 this._configuration$_values = t1;
17559 },
17560 ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
17561 this.value = t0;
17562 this.configurationSpan = t1;
17563 this.assignmentNode = t2;
17564 },
17565 ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
17566 var _ = this;
17567 _.name = t0;
17568 _.expression = t1;
17569 _.isGuarded = t2;
17570 _.span = t3;
17571 },
17572 ContentBlock$0($arguments, children, span) {
17573 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17574 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17575 return new A.ContentBlock0("@content", $arguments, span, t1, t2);
17576 },
17577 ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
17578 var _ = this;
17579 _.name = t0;
17580 _.$arguments = t1;
17581 _.span = t2;
17582 _.children = t3;
17583 _.hasDeclarations = t4;
17584 },
17585 ContentRule0: function ContentRule0(t0, t1) {
17586 this.$arguments = t0;
17587 this.span = t1;
17588 },
17589 _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
17590 },
17591 CssParser0: function CssParser0(t0, t1, t2) {
17592 var _ = this;
17593 _._stylesheet0$_isUseAllowed = true;
17594 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
17595 _._stylesheet0$_globalVariables = t0;
17596 _.lastSilentComment = null;
17597 _.scanner = t1;
17598 _.logger = t2;
17599 },
17600 DebugRule0: function DebugRule0(t0, t1) {
17601 this.expression = t0;
17602 this.span = t1;
17603 },
17604 ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
17605 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
17606 if (parsedAsCustomProperty)
17607 if (!J.startsWith$1$s($name.get$value($name), "--"))
17608 A.throwExpression(A.ArgumentError$(string$.parsed, null));
17609 else if (!(value.get$value(value) instanceof A.SassString0))
17610 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
17611 return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
17612 },
17613 ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
17614 var _ = this;
17615 _.name = t0;
17616 _.value = t1;
17617 _.parsedAsCustomProperty = t2;
17618 _.valueSpanForMap = t3;
17619 _.span = t4;
17620 _._node1$_indexInParent = _._node1$_parent = null;
17621 _.isGroupEnd = false;
17622 },
17623 Declaration$0($name, value, span) {
17624 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17625 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
17626 return new A.Declaration0($name, value, span, null, false);
17627 },
17628 Declaration$nested0($name, children, span, value) {
17629 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17630 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17631 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17632 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
17633 return new A.Declaration0($name, value, span, t1, t2);
17634 },
17635 Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
17636 var _ = this;
17637 _.name = t0;
17638 _.value = t1;
17639 _.span = t2;
17640 _.children = t3;
17641 _.hasDeclarations = t4;
17642 },
17643 SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
17644 this.name = t0;
17645 this.value = t1;
17646 this.span = t2;
17647 },
17648 DynamicImport0: function DynamicImport0(t0, t1) {
17649 this.urlString = t0;
17650 this.span = t1;
17651 },
17652 EachRule$0(variables, list, children, span) {
17653 var t1 = A.List_List$unmodifiable(variables, type$.String),
17654 t2 = A.List_List$unmodifiable(children, type$.Statement_2),
17655 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
17656 return new A.EachRule0(t1, list, span, t2, t3);
17657 },
17658 EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
17659 var _ = this;
17660 _.variables = t0;
17661 _.list = t1;
17662 _.span = t2;
17663 _.children = t3;
17664 _.hasDeclarations = t4;
17665 },
17666 EachRule_toString_closure0: function EachRule_toString_closure0() {
17667 },
17668 EmptyExtensionStore0: function EmptyExtensionStore0() {
17669 },
17670 Environment$0() {
17671 var t1 = type$.String,
17672 t2 = type$.Module_Callable_2,
17673 t3 = type$.AstNode_2,
17674 t4 = type$.int,
17675 t5 = type$.Callable_2,
17676 t6 = type$.JSArray_Map_String_Callable_2;
17677 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);
17678 },
17679 Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
17680 var t1 = type$.String,
17681 t2 = type$.int;
17682 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);
17683 },
17684 _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
17685 var t1, t2, t3, t4, t5, t6;
17686 if (forwarded == null)
17687 forwarded = B.Set_empty2;
17688 t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
17689 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);
17690 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);
17691 t4 = type$.Map_String_Callable_2;
17692 t5 = type$.Callable_2;
17693 t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
17694 t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
17695 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
17696 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()));
17697 },
17698 _EnvironmentModule__makeModulesByVariable1(forwarded) {
17699 var modulesByVariable, t1, t2, t3, t4, t5;
17700 if (forwarded.get$isEmpty(forwarded))
17701 return B.Map_empty6;
17702 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
17703 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
17704 t2 = t1.get$current(t1);
17705 if (t2 instanceof A._EnvironmentModule1) {
17706 for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
17707 t4 = t3.get$current(t3);
17708 t5 = t4.get$variables();
17709 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
17710 }
17711 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
17712 } else {
17713 t3 = t2.get$variables();
17714 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
17715 }
17716 }
17717 return modulesByVariable;
17718 },
17719 _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
17720 var t1, t2, t3;
17721 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
17722 if (otherMaps.get$isEmpty(otherMaps))
17723 return localMap;
17724 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
17725 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
17726 t3 = t2.get$current(t2);
17727 if (t3.get$isNotEmpty(t3))
17728 t1.push(t3);
17729 }
17730 t1.push(localMap);
17731 if (t1.length === 1)
17732 return localMap;
17733 return A.MergedMapView$0(t1, type$.String, $V);
17734 },
17735 _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
17736 return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
17737 },
17738 Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17739 var _ = this;
17740 _._environment0$_modules = t0;
17741 _._environment0$_namespaceNodes = t1;
17742 _._environment0$_globalModules = t2;
17743 _._environment0$_importedModules = t3;
17744 _._environment0$_forwardedModules = t4;
17745 _._environment0$_nestedForwardedModules = t5;
17746 _._environment0$_allModules = t6;
17747 _._environment0$_variables = t7;
17748 _._environment0$_variableNodes = t8;
17749 _._environment0$_variableIndices = t9;
17750 _._environment0$_functions = t10;
17751 _._environment0$_functionIndices = t11;
17752 _._environment0$_mixins = t12;
17753 _._environment0$_mixinIndices = t13;
17754 _._environment0$_content = t14;
17755 _._environment0$_inMixin = false;
17756 _._environment0$_inSemiGlobalScope = true;
17757 _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
17758 },
17759 Environment_importForwards_closure2: function Environment_importForwards_closure2() {
17760 },
17761 Environment_importForwards_closure3: function Environment_importForwards_closure3() {
17762 },
17763 Environment_importForwards_closure4: function Environment_importForwards_closure4() {
17764 },
17765 Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
17766 this.name = t0;
17767 },
17768 Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
17769 this.$this = t0;
17770 this.name = t1;
17771 },
17772 Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
17773 this.name = t0;
17774 },
17775 Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
17776 this.$this = t0;
17777 this.name = t1;
17778 },
17779 Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
17780 this.name = t0;
17781 },
17782 Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
17783 this.name = t0;
17784 },
17785 Environment_toModule_closure0: function Environment_toModule_closure0() {
17786 },
17787 Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
17788 },
17789 Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
17790 this.callback = t0;
17791 this.T = t1;
17792 },
17793 Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
17794 this.entry = t0;
17795 this.T = t1;
17796 },
17797 _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
17798 var _ = this;
17799 _.upstream = t0;
17800 _.variables = t1;
17801 _.variableNodes = t2;
17802 _.functions = t3;
17803 _.mixins = t4;
17804 _.extensionStore = t5;
17805 _.css = t6;
17806 _.transitivelyContainsCss = t7;
17807 _.transitivelyContainsExtensions = t8;
17808 _._environment0$_environment = t9;
17809 _._environment0$_modulesByVariable = t10;
17810 },
17811 _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
17812 },
17813 _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
17814 },
17815 _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
17816 },
17817 _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
17818 },
17819 _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
17820 },
17821 _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
17822 },
17823 ErrorRule0: function ErrorRule0(t0, t1) {
17824 this.expression = t0;
17825 this.span = t1;
17826 },
17827 _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
17828 var t4,
17829 t1 = type$.Uri,
17830 t2 = type$.Module_Callable_2,
17831 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
17832 if (nodeImporter == null)
17833 t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
17834 else
17835 t4 = null;
17836 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);
17837 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
17838 return t1;
17839 },
17840 _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17841 var _ = this;
17842 _._evaluate0$_importCache = t0;
17843 _._evaluate0$_nodeImporter = t1;
17844 _._evaluate0$_builtInFunctions = t2;
17845 _._evaluate0$_builtInModules = t3;
17846 _._evaluate0$_modules = t4;
17847 _._evaluate0$_moduleNodes = t5;
17848 _._evaluate0$_logger = t6;
17849 _._evaluate0$_warningsEmitted = t7;
17850 _._evaluate0$_quietDeps = t8;
17851 _._evaluate0$_sourceMap = t9;
17852 _._evaluate0$_environment = t10;
17853 _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
17854 _._evaluate0$_member = "root stylesheet";
17855 _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
17856 _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
17857 _._evaluate0$_loadedUrls = t11;
17858 _._evaluate0$_activeModules = t12;
17859 _._evaluate0$_stack = t13;
17860 _._evaluate0$_importer = null;
17861 _._evaluate0$_inDependency = false;
17862 _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
17863 _._evaluate0$_configuration = t14;
17864 },
17865 _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
17866 this.$this = t0;
17867 },
17868 _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
17869 this.$this = t0;
17870 },
17871 _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
17872 this.$this = t0;
17873 },
17874 _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
17875 this.$this = t0;
17876 },
17877 _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
17878 this.$this = t0;
17879 },
17880 _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
17881 this.$this = t0;
17882 },
17883 _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
17884 this.$this = t0;
17885 },
17886 _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
17887 this.$this = t0;
17888 },
17889 _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
17890 this.$this = t0;
17891 this.name = t1;
17892 this.module = t2;
17893 },
17894 _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
17895 this.$this = t0;
17896 },
17897 _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
17898 this.$this = t0;
17899 },
17900 _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
17901 this.values = t0;
17902 this.span = t1;
17903 this.callableNode = t2;
17904 },
17905 _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
17906 this.$this = t0;
17907 },
17908 _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
17909 this.$this = t0;
17910 this.node = t1;
17911 this.importer = t2;
17912 },
17913 _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
17914 this.callback = t0;
17915 this.builtInModule = t1;
17916 },
17917 _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
17918 var _ = this;
17919 _.$this = t0;
17920 _.url = t1;
17921 _.nodeWithSpan = t2;
17922 _.baseUrl = t3;
17923 _.namesInErrors = t4;
17924 _.configuration = t5;
17925 _.callback = t6;
17926 },
17927 _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
17928 this.$this = t0;
17929 this.message = t1;
17930 },
17931 _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
17932 var _ = this;
17933 _.$this = t0;
17934 _.importer = t1;
17935 _.stylesheet = t2;
17936 _.extensionStore = t3;
17937 _.configuration = t4;
17938 _.css = t5;
17939 },
17940 _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
17941 },
17942 _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
17943 this.selectors = t0;
17944 },
17945 _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
17946 },
17947 _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
17948 this.originalSelectors = t0;
17949 },
17950 _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
17951 },
17952 _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
17953 this.seen = t0;
17954 this.sorted = t1;
17955 },
17956 _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
17957 this.$this = t0;
17958 this.resolved = t1;
17959 },
17960 _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
17961 this.$this = t0;
17962 this.node = t1;
17963 },
17964 _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
17965 this.$this = t0;
17966 this.node = t1;
17967 },
17968 _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
17969 this.$this = t0;
17970 this.newParent = t1;
17971 this.node = t2;
17972 },
17973 _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
17974 this.$this = t0;
17975 this.innerScope = t1;
17976 },
17977 _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
17978 this.$this = t0;
17979 this.innerScope = t1;
17980 },
17981 _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
17982 this.innerScope = t0;
17983 this.callback = t1;
17984 },
17985 _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
17986 this.$this = t0;
17987 this.innerScope = t1;
17988 },
17989 _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
17990 },
17991 _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
17992 this.$this = t0;
17993 this.innerScope = t1;
17994 },
17995 _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
17996 this.$this = t0;
17997 this.content = t1;
17998 },
17999 _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
18000 this.$this = t0;
18001 },
18002 _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
18003 this.$this = t0;
18004 this.children = t1;
18005 },
18006 _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
18007 this.$this = t0;
18008 this.node = t1;
18009 this.nodeWithSpan = t2;
18010 },
18011 _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
18012 this.$this = t0;
18013 this.node = t1;
18014 this.nodeWithSpan = t2;
18015 },
18016 _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
18017 var _ = this;
18018 _.$this = t0;
18019 _.list = t1;
18020 _.setVariables = t2;
18021 _.node = t3;
18022 },
18023 _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
18024 this.$this = t0;
18025 this.setVariables = t1;
18026 this.node = t2;
18027 },
18028 _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
18029 this.$this = t0;
18030 },
18031 _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
18032 this.$this = t0;
18033 this.targetText = t1;
18034 },
18035 _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
18036 this.$this = t0;
18037 },
18038 _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
18039 this.$this = t0;
18040 this.children = t1;
18041 },
18042 _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
18043 this.$this = t0;
18044 this.children = t1;
18045 },
18046 _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
18047 },
18048 _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
18049 this.$this = t0;
18050 this.node = t1;
18051 },
18052 _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
18053 this.$this = t0;
18054 this.node = t1;
18055 },
18056 _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
18057 this.fromNumber = t0;
18058 },
18059 _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
18060 this.toNumber = t0;
18061 this.fromNumber = t1;
18062 },
18063 _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
18064 var _ = this;
18065 _._box_0 = t0;
18066 _.$this = t1;
18067 _.node = t2;
18068 _.from = t3;
18069 _.direction = t4;
18070 _.fromNumber = t5;
18071 },
18072 _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
18073 this.$this = t0;
18074 },
18075 _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
18076 this.$this = t0;
18077 this.node = t1;
18078 },
18079 _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
18080 this.$this = t0;
18081 this.node = t1;
18082 },
18083 _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
18084 this._box_0 = t0;
18085 this.$this = t1;
18086 },
18087 _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
18088 this.$this = t0;
18089 },
18090 _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
18091 this.$this = t0;
18092 this.$import = t1;
18093 },
18094 _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
18095 this.$this = t0;
18096 },
18097 _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
18098 },
18099 _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
18100 },
18101 _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
18102 var _ = this;
18103 _.$this = t0;
18104 _.result = t1;
18105 _.stylesheet = t2;
18106 _.loadsUserDefinedModules = t3;
18107 _.environment = t4;
18108 _.children = t5;
18109 },
18110 _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
18111 this.$this = t0;
18112 this.node = t1;
18113 },
18114 _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
18115 this.node = t0;
18116 },
18117 _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
18118 this.$this = t0;
18119 },
18120 _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
18121 var _ = this;
18122 _.$this = t0;
18123 _.contentCallable = t1;
18124 _.mixin = t2;
18125 _.nodeWithSpan = t3;
18126 },
18127 _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
18128 this.$this = t0;
18129 this.mixin = t1;
18130 this.nodeWithSpan = t2;
18131 },
18132 _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
18133 this.$this = t0;
18134 this.mixin = t1;
18135 this.nodeWithSpan = t2;
18136 },
18137 _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
18138 this.$this = t0;
18139 this.statement = t1;
18140 },
18141 _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
18142 this.$this = t0;
18143 this.queries = t1;
18144 },
18145 _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3) {
18146 var _ = this;
18147 _.$this = t0;
18148 _.mergedQueries = t1;
18149 _.queries = t2;
18150 _.node = t3;
18151 },
18152 _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
18153 this.$this = t0;
18154 this.node = t1;
18155 },
18156 _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
18157 this.$this = t0;
18158 this.node = t1;
18159 },
18160 _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
18161 this.mergedQueries = t0;
18162 },
18163 _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
18164 this.$this = t0;
18165 this.resolved = t1;
18166 },
18167 _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13(t0, t1) {
18168 this.$this = t0;
18169 this.selectorText = t1;
18170 },
18171 _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
18172 this.$this = t0;
18173 this.node = t1;
18174 },
18175 _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
18176 },
18177 _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
18178 this.$this = t0;
18179 this.selectorText = t1;
18180 },
18181 _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17(t0, t1) {
18182 this._box_0 = t0;
18183 this.$this = t1;
18184 },
18185 _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1, t2) {
18186 this.$this = t0;
18187 this.rule = t1;
18188 this.node = t2;
18189 },
18190 _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
18191 this.$this = t0;
18192 this.node = t1;
18193 },
18194 _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19() {
18195 },
18196 _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
18197 this.$this = t0;
18198 this.node = t1;
18199 },
18200 _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
18201 this.$this = t0;
18202 this.node = t1;
18203 },
18204 _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
18205 },
18206 _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
18207 this.$this = t0;
18208 this.node = t1;
18209 this.override = t2;
18210 },
18211 _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
18212 this.$this = t0;
18213 this.node = t1;
18214 },
18215 _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
18216 this.$this = t0;
18217 this.node = t1;
18218 this.value = t2;
18219 },
18220 _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
18221 this.$this = t0;
18222 this.node = t1;
18223 },
18224 _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
18225 this.$this = t0;
18226 this.node = t1;
18227 },
18228 _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
18229 this.$this = t0;
18230 this.node = t1;
18231 },
18232 _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
18233 this.$this = t0;
18234 },
18235 _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
18236 this.$this = t0;
18237 this.node = t1;
18238 },
18239 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
18240 },
18241 _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
18242 this.$this = t0;
18243 this.node = t1;
18244 },
18245 _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
18246 this.node = t0;
18247 this.operand = t1;
18248 },
18249 _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
18250 this.$this = t0;
18251 this.node = t1;
18252 this.inMinMax = t2;
18253 },
18254 _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
18255 this.$this = t0;
18256 },
18257 _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
18258 this.$this = t0;
18259 this.node = t1;
18260 },
18261 _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
18262 this._box_0 = t0;
18263 this.$this = t1;
18264 this.node = t2;
18265 },
18266 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
18267 this.$this = t0;
18268 this.node = t1;
18269 this.$function = t2;
18270 },
18271 _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
18272 var _ = this;
18273 _.$this = t0;
18274 _.callable = t1;
18275 _.evaluated = t2;
18276 _.nodeWithSpan = t3;
18277 _.run = t4;
18278 _.V = t5;
18279 },
18280 _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
18281 var _ = this;
18282 _.$this = t0;
18283 _.evaluated = t1;
18284 _.callable = t2;
18285 _.nodeWithSpan = t3;
18286 _.run = t4;
18287 _.V = t5;
18288 },
18289 _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
18290 var _ = this;
18291 _.$this = t0;
18292 _.evaluated = t1;
18293 _.callable = t2;
18294 _.nodeWithSpan = t3;
18295 _.run = t4;
18296 _.V = t5;
18297 },
18298 _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
18299 },
18300 _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
18301 this.$this = t0;
18302 this.callable = t1;
18303 },
18304 _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
18305 this.overload = t0;
18306 this.evaluated = t1;
18307 this.namedSet = t2;
18308 },
18309 _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
18310 },
18311 _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
18312 },
18313 _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
18314 this.$this = t0;
18315 this.restNodeForSpan = t1;
18316 },
18317 _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
18318 var _ = this;
18319 _.$this = t0;
18320 _.named = t1;
18321 _.restNodeForSpan = t2;
18322 _.namedNodes = t3;
18323 },
18324 _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
18325 },
18326 _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
18327 this.restArgs = t0;
18328 },
18329 _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
18330 this.$this = t0;
18331 this.restNodeForSpan = t1;
18332 this.restArgs = t2;
18333 },
18334 _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
18335 var _ = this;
18336 _.$this = t0;
18337 _.named = t1;
18338 _.restNodeForSpan = t2;
18339 _.restArgs = t3;
18340 },
18341 _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
18342 this.$this = t0;
18343 this.keywordRestNodeForSpan = t1;
18344 this.keywordRestArgs = t2;
18345 },
18346 _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
18347 var _ = this;
18348 _.$this = t0;
18349 _.values = t1;
18350 _.convert = t2;
18351 _.expressionNode = t3;
18352 _.map = t4;
18353 _.nodeWithSpan = t5;
18354 },
18355 _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
18356 this.$arguments = t0;
18357 this.positional = t1;
18358 this.named = t2;
18359 },
18360 _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
18361 this.$this = t0;
18362 },
18363 _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
18364 this.$this = t0;
18365 this.node = t1;
18366 },
18367 _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
18368 },
18369 _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
18370 this.$this = t0;
18371 this.node = t1;
18372 },
18373 _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
18374 },
18375 _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
18376 this.$this = t0;
18377 this.node = t1;
18378 },
18379 _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2) {
18380 this.$this = t0;
18381 this.mergedQueries = t1;
18382 this.node = t2;
18383 },
18384 _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
18385 this.$this = t0;
18386 this.node = t1;
18387 },
18388 _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
18389 this.$this = t0;
18390 this.node = t1;
18391 },
18392 _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
18393 this.mergedQueries = t0;
18394 },
18395 _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
18396 this.$this = t0;
18397 this.rule = t1;
18398 this.node = t2;
18399 },
18400 _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
18401 this.$this = t0;
18402 this.node = t1;
18403 },
18404 _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
18405 },
18406 _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
18407 this.$this = t0;
18408 this.node = t1;
18409 },
18410 _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
18411 this.$this = t0;
18412 this.node = t1;
18413 },
18414 _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
18415 },
18416 _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
18417 this.$this = t0;
18418 this.warnForColor = t1;
18419 this.interpolation = t2;
18420 },
18421 _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
18422 this.value = t0;
18423 this.quote = t1;
18424 },
18425 _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
18426 this.$this = t0;
18427 this.expression = t1;
18428 },
18429 _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
18430 },
18431 _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
18432 this.$this = t0;
18433 },
18434 _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
18435 this.$this = t0;
18436 },
18437 _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
18438 this._evaluate0$_visitor = t0;
18439 },
18440 _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
18441 },
18442 _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
18443 this.hasBeenMerged = t0;
18444 },
18445 _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
18446 },
18447 _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
18448 },
18449 _EvaluationContext1: function _EvaluationContext1(t0, t1) {
18450 this._evaluate0$_visitor = t0;
18451 this._evaluate0$_defaultWarnNodeWithSpan = t1;
18452 },
18453 _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
18454 var _ = this;
18455 _.positional = t0;
18456 _.positionalNodes = t1;
18457 _.named = t2;
18458 _.namedNodes = t3;
18459 _.separator = t4;
18460 },
18461 _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
18462 this.stylesheet = t0;
18463 this.importer = t1;
18464 this.isDependency = t2;
18465 },
18466 throwNodeException(exception, ascii, color, trace) {
18467 var wasAscii, jsException, t1, trace0;
18468 trace = trace;
18469 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
18470 $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18471 try {
18472 t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
18473 jsException = type$._NodeException._as(t1);
18474 trace0 = A.getTrace0(exception);
18475 trace = trace0 == null ? trace : trace0;
18476 if (trace != null)
18477 A.attachJsStack(jsException, trace);
18478 A.jsThrow(jsException);
18479 } finally {
18480 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18481 }
18482 },
18483 _NodeException: function _NodeException() {
18484 },
18485 exceptionClass_closure: function exceptionClass_closure() {
18486 },
18487 exceptionClass__closure: function exceptionClass__closure() {
18488 },
18489 exceptionClass__closure0: function exceptionClass__closure0() {
18490 },
18491 exceptionClass__closure1: function exceptionClass__closure1() {
18492 },
18493 SassException$0(message, span) {
18494 return new A.SassException0(message, span);
18495 },
18496 MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
18497 return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
18498 },
18499 SassFormatException$0(message, span) {
18500 return new A.SassFormatException0(message, span);
18501 },
18502 SassScriptException$0(message) {
18503 return new A.SassScriptException0(message);
18504 },
18505 MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
18506 return new A.MultiSpanSassScriptException0(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
18507 },
18508 SassException0: function SassException0(t0, t1) {
18509 this._span_exception$_message = t0;
18510 this._span = t1;
18511 },
18512 MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
18513 var _ = this;
18514 _.primaryLabel = t0;
18515 _.secondarySpans = t1;
18516 _._span_exception$_message = t2;
18517 _._span = t3;
18518 },
18519 SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
18520 this.trace = t0;
18521 this._span_exception$_message = t1;
18522 this._span = t2;
18523 },
18524 MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
18525 var _ = this;
18526 _.trace = t0;
18527 _.primaryLabel = t1;
18528 _.secondarySpans = t2;
18529 _._span_exception$_message = t3;
18530 _._span = t4;
18531 },
18532 SassFormatException0: function SassFormatException0(t0, t1) {
18533 this._span_exception$_message = t0;
18534 this._span = t1;
18535 },
18536 SassScriptException0: function SassScriptException0(t0) {
18537 this.message = t0;
18538 },
18539 MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
18540 this.primaryLabel = t0;
18541 this.secondarySpans = t1;
18542 this.message = t2;
18543 },
18544 Exports: function Exports() {
18545 },
18546 LoggerNamespace: function LoggerNamespace() {
18547 },
18548 ExtendRule0: function ExtendRule0(t0, t1, t2) {
18549 this.selector = t0;
18550 this.isOptional = t1;
18551 this.span = t2;
18552 },
18553 Extension0: function Extension0(t0, t1, t2, t3, t4) {
18554 var _ = this;
18555 _.extender = t0;
18556 _.target = t1;
18557 _.mediaContext = t2;
18558 _.isOptional = t3;
18559 _.span = t4;
18560 },
18561 Extender0: function Extender0(t0, t1, t2) {
18562 var _ = this;
18563 _.selector = t0;
18564 _.isOriginal = t1;
18565 _._extension$_extension = null;
18566 _.span = t2;
18567 },
18568 ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
18569 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
18570 extender = A.ExtensionStore$_mode0(mode);
18571 if (!selector.get$isInvisible())
18572 extender._extension_store$_originals.addAll$1(0, selector.components);
18573 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) {
18574 complex = t1[_i];
18575 t10 = complex.components;
18576 if (t10.length !== 1)
18577 throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + "."));
18578 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
18579 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
18580 simple = t10[_i0];
18581 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
18582 for (_i1 = 0; _i1 < t4; ++_i1) {
18583 complex = t3[_i1];
18584 if (complex._complex0$_maxSpecificity == null)
18585 complex._complex0$_computeSpecificity$0();
18586 complex._complex0$_maxSpecificity.toString;
18587 t14 = new A.Extender0(complex, false, span);
18588 t15 = new A.Extension0(t14, simple, null, true, span);
18589 t14._extension$_extension = t15;
18590 t13.$indexSet(0, complex, t15);
18591 }
18592 t11.$indexSet(0, simple, t13);
18593 }
18594 selector = extender._extension_store$_extendList$3(selector, span, t11);
18595 }
18596 return selector;
18597 },
18598 ExtensionStore$0() {
18599 var t1 = type$.SimpleSelector_2;
18600 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), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal0);
18601 },
18602 ExtensionStore$_mode0(_mode) {
18603 var t1 = type$.SimpleSelector_2;
18604 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), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
18605 },
18606 ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
18607 var _ = this;
18608 _._extension_store$_selectors = t0;
18609 _._extension_store$_extensions = t1;
18610 _._extension_store$_extensionsByExtender = t2;
18611 _._extension_store$_mediaContexts = t3;
18612 _._extension_store$_sourceSpecificity = t4;
18613 _._extension_store$_originals = t5;
18614 _._extension_store$_mode = t6;
18615 },
18616 ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
18617 },
18618 ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
18619 },
18620 ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
18621 },
18622 ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
18623 },
18624 ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
18625 this.complex = t0;
18626 },
18627 ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
18628 },
18629 ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
18630 },
18631 ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
18632 this._box_0 = t0;
18633 this.$this = t1;
18634 },
18635 ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
18636 var _ = this;
18637 _._box_0 = t0;
18638 _.existingSources = t1;
18639 _.extensionsForTarget = t2;
18640 _.selectorsForTarget = t3;
18641 _.target = t4;
18642 },
18643 ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
18644 },
18645 ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
18646 this._box_0 = t0;
18647 this.$this = t1;
18648 },
18649 ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
18650 this.$this = t0;
18651 this.newExtensions = t1;
18652 },
18653 ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
18654 this.$this = t0;
18655 this.newExtensions = t1;
18656 },
18657 ExtensionStore__extendComplex_closure1: function ExtensionStore__extendComplex_closure1(t0) {
18658 this.complex = t0;
18659 },
18660 ExtensionStore__extendComplex_closure2: function ExtensionStore__extendComplex_closure2(t0, t1, t2) {
18661 this._box_0 = t0;
18662 this.$this = t1;
18663 this.complex = t2;
18664 },
18665 ExtensionStore__extendComplex__closure1: function ExtensionStore__extendComplex__closure1() {
18666 },
18667 ExtensionStore__extendComplex__closure2: function ExtensionStore__extendComplex__closure2(t0, t1, t2, t3) {
18668 var _ = this;
18669 _._box_0 = t0;
18670 _.$this = t1;
18671 _.complex = t2;
18672 _.path = t3;
18673 },
18674 ExtensionStore__extendComplex___closure0: function ExtensionStore__extendComplex___closure0() {
18675 },
18676 ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
18677 this.mediaQueryContext = t0;
18678 },
18679 ExtensionStore__extendCompound_closure5: function ExtensionStore__extendCompound_closure5(t0, t1) {
18680 this._box_1 = t0;
18681 this.mediaQueryContext = t1;
18682 },
18683 ExtensionStore__extendCompound__closure1: function ExtensionStore__extendCompound__closure1() {
18684 },
18685 ExtensionStore__extendCompound__closure2: function ExtensionStore__extendCompound__closure2(t0) {
18686 this._box_0 = t0;
18687 },
18688 ExtensionStore__extendCompound_closure6: function ExtensionStore__extendCompound_closure6() {
18689 },
18690 ExtensionStore__extendCompound_closure7: function ExtensionStore__extendCompound_closure7() {
18691 },
18692 ExtensionStore__extendCompound_closure8: function ExtensionStore__extendCompound_closure8(t0) {
18693 this.original = t0;
18694 },
18695 ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
18696 var _ = this;
18697 _.$this = t0;
18698 _.extensions = t1;
18699 _.targetsUsed = t2;
18700 _.simpleSpan = t3;
18701 },
18702 ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
18703 this.$this = t0;
18704 this.withoutPseudo = t1;
18705 this.simpleSpan = t2;
18706 },
18707 ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
18708 },
18709 ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
18710 },
18711 ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
18712 },
18713 ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
18714 },
18715 ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
18716 this.pseudo = t0;
18717 },
18718 ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
18719 this.pseudo = t0;
18720 },
18721 ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
18722 this._box_0 = t0;
18723 this.complex1 = t1;
18724 },
18725 ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
18726 this._box_0 = t0;
18727 this.complex1 = t1;
18728 },
18729 ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
18730 var _ = this;
18731 _.$this = t0;
18732 _.newSelectors = t1;
18733 _.oldToNewSelectors = t2;
18734 _.newMediaContexts = t3;
18735 },
18736 FiberClass: function FiberClass() {
18737 },
18738 Fiber: function Fiber() {
18739 },
18740 NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
18741 this._file0$_findFileUrl = t0;
18742 },
18743 FilesystemImporter$(loadPath) {
18744 var _null = null;
18745 return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
18746 },
18747 FilesystemImporter0: function FilesystemImporter0(t0) {
18748 this._filesystem$_loadPath = t0;
18749 },
18750 FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
18751 },
18752 ForRule$0(variable, from, to, children, span, exclusive) {
18753 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18754 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18755 return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
18756 },
18757 ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
18758 var _ = this;
18759 _.variable = t0;
18760 _.from = t1;
18761 _.to = t2;
18762 _.isExclusive = t3;
18763 _.span = t4;
18764 _.children = t5;
18765 _.hasDeclarations = t6;
18766 },
18767 ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
18768 var _ = this;
18769 _.url = t0;
18770 _.shownMixinsAndFunctions = t1;
18771 _.shownVariables = t2;
18772 _.hiddenMixinsAndFunctions = t3;
18773 _.hiddenVariables = t4;
18774 _.prefix = t5;
18775 _.configuration = t6;
18776 _.span = t7;
18777 },
18778 ForwardedModuleView_ifNecessary0(inner, rule, $T) {
18779 var t1;
18780 if (rule.prefix == null)
18781 if (rule.shownMixinsAndFunctions == null)
18782 if (rule.shownVariables == null) {
18783 t1 = rule.hiddenMixinsAndFunctions;
18784 if (t1 == null)
18785 t1 = null;
18786 else {
18787 t1 = t1._base;
18788 t1 = t1.get$isEmpty(t1);
18789 }
18790 if (t1 === true) {
18791 t1 = rule.hiddenVariables;
18792 if (t1 == null)
18793 t1 = null;
18794 else {
18795 t1 = t1._base;
18796 t1 = t1.get$isEmpty(t1);
18797 }
18798 t1 = t1 === true;
18799 } else
18800 t1 = false;
18801 } else
18802 t1 = false;
18803 else
18804 t1 = false;
18805 else
18806 t1 = false;
18807 if (t1)
18808 return inner;
18809 else
18810 return A.ForwardedModuleView$0(inner, rule, $T);
18811 },
18812 ForwardedModuleView$0(_inner, _rule, $T) {
18813 var t1 = _rule.prefix,
18814 t2 = _rule.shownVariables,
18815 t3 = _rule.hiddenVariables,
18816 t4 = _rule.shownMixinsAndFunctions,
18817 t5 = _rule.hiddenMixinsAndFunctions;
18818 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>"));
18819 },
18820 ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
18821 var t2,
18822 t1 = prefix == null;
18823 if (t1)
18824 if (safelist == null)
18825 if (blocklist != null) {
18826 t2 = blocklist._base;
18827 t2 = t2.get$isEmpty(t2);
18828 } else
18829 t2 = true;
18830 else
18831 t2 = false;
18832 else
18833 t2 = false;
18834 if (t2)
18835 return map;
18836 if (!t1)
18837 map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
18838 if (safelist != null)
18839 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>"));
18840 else {
18841 if (blocklist != null) {
18842 t1 = blocklist._base;
18843 t1 = t1.get$isNotEmpty(t1);
18844 } else
18845 t1 = false;
18846 if (t1)
18847 map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
18848 }
18849 return map;
18850 },
18851 ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
18852 var _ = this;
18853 _._forwarded_view0$_inner = t0;
18854 _._forwarded_view0$_rule = t1;
18855 _.variables = t2;
18856 _.variableNodes = t3;
18857 _.functions = t4;
18858 _.mixins = t5;
18859 _.$ti = t6;
18860 },
18861 FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
18862 var _ = this;
18863 _.namespace = t0;
18864 _.originalName = t1;
18865 _.$arguments = t2;
18866 _.span = t3;
18867 },
18868 JSFunction0: function JSFunction0() {
18869 },
18870 SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
18871 this.name = t0;
18872 this.$arguments = t1;
18873 this.span = t2;
18874 },
18875 functionClass_closure: function functionClass_closure() {
18876 },
18877 functionClass__closure: function functionClass__closure() {
18878 },
18879 functionClass__closure0: function functionClass__closure0() {
18880 },
18881 SassFunction0: function SassFunction0(t0) {
18882 this.callable = t0;
18883 },
18884 FunctionRule$0($name, $arguments, children, span, comment) {
18885 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18886 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18887 return new A.FunctionRule0($name, $arguments, span, t1, t2);
18888 },
18889 FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
18890 var _ = this;
18891 _.name = t0;
18892 _.$arguments = t1;
18893 _.span = t2;
18894 _.children = t3;
18895 _.hasDeclarations = t4;
18896 },
18897 unifyComplex0(complexes) {
18898 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
18899 t1 = J.getInterceptor$asx(complexes);
18900 if (t1.get$length(complexes) === 1)
18901 return complexes;
18902 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
18903 base = J.get$last$ax(t2.get$current(t2));
18904 if (!(base instanceof A.CompoundSelector0))
18905 return null;
18906 if (unifiedBase == null)
18907 unifiedBase = base.components;
18908 else
18909 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
18910 unifiedBase = t3[_i].unify$1(unifiedBase);
18911 if (unifiedBase == null)
18912 return null;
18913 }
18914 }
18915 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure0(), type$.List_ComplexSelectorComponent_2);
18916 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
18917 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
18918 unifiedBase.toString;
18919 J.add$1$ax(t1, A.CompoundSelector$0(unifiedBase));
18920 return A.weave0(complexesWithoutBases);
18921 },
18922 unifyCompound0(compound1, compound2) {
18923 var t1, result, _i, unified;
18924 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
18925 unified = compound1[_i].unify$1(result);
18926 if (unified == null)
18927 return null;
18928 }
18929 return A.CompoundSelector$0(result);
18930 },
18931 unifyUniversalAndElement0(selector1, selector2) {
18932 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
18933 _s45_ = string$.must_b;
18934 if (selector1 instanceof A.UniversalSelector0) {
18935 namespace1 = selector1.namespace;
18936 name1 = _null;
18937 } else if (selector1 instanceof A.TypeSelector0) {
18938 t1 = selector1.name;
18939 namespace1 = t1.namespace;
18940 name1 = t1.name;
18941 } else
18942 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
18943 if (selector2 instanceof A.UniversalSelector0) {
18944 namespace2 = selector2.namespace;
18945 name2 = _null;
18946 } else if (selector2 instanceof A.TypeSelector0) {
18947 t1 = selector2.name;
18948 namespace2 = t1.namespace;
18949 name2 = t1.name;
18950 } else
18951 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
18952 if (namespace1 == namespace2 || namespace2 === "*")
18953 namespace = namespace1;
18954 else {
18955 if (namespace1 !== "*")
18956 return _null;
18957 namespace = namespace2;
18958 }
18959 if (name1 == name2 || name2 == null)
18960 $name = name1;
18961 else {
18962 if (!(name1 == null || name1 === "*"))
18963 return _null;
18964 $name = name2;
18965 }
18966 return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
18967 },
18968 weave0(complexes) {
18969 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
18970 t1 = type$.JSArray_List_ComplexSelectorComponent_2,
18971 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
18972 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();) {
18973 t4 = t2.__internal$_current;
18974 if (t4 == null)
18975 t4 = t3._as(t4);
18976 t5 = J.getInterceptor$asx(t4);
18977 if (t5.get$isEmpty(t4))
18978 continue;
18979 target = t5.get$last(t4);
18980 if (t5.get$length(t4) === 1) {
18981 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
18982 J.add$1$ax(prefixes[_i], target);
18983 continue;
18984 }
18985 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
18986 newPrefixes = A._setArrayType([], t1);
18987 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
18988 parentPrefixes = A._weaveParents0(prefixes[_i], parents);
18989 if (parentPrefixes == null)
18990 continue;
18991 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
18992 t6 = t5.get$current(t5);
18993 J.add$1$ax(t6, target);
18994 newPrefixes.push(t6);
18995 }
18996 }
18997 prefixes = newPrefixes;
18998 }
18999 return prefixes;
19000 },
19001 _weaveParents0(parents1, parents2) {
19002 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
19003 t1 = type$.ComplexSelectorComponent_2,
19004 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
19005 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
19006 initialCombinators = A._mergeInitialCombinators0(queue1, queue2);
19007 if (initialCombinators == null)
19008 return _null;
19009 finalCombinators = A._mergeFinalCombinators0(queue1, queue2, _null);
19010 if (finalCombinators == null)
19011 return _null;
19012 root1 = A._firstIfRoot0(queue1);
19013 root2 = A._firstIfRoot0(queue2);
19014 t1 = root1 != null;
19015 if (t1 && root2 != null) {
19016 root = A.unifyCompound0(root1.components, root2.components);
19017 if (root == null)
19018 return _null;
19019 queue1.addFirst$1(root);
19020 queue2.addFirst$1(root);
19021 } else if (t1)
19022 queue2.addFirst$1(root1);
19023 else if (root2 != null)
19024 queue1.addFirst$1(root2);
19025 groups1 = A._groupSelectors0(queue1);
19026 groups2 = A._groupSelectors0(queue2);
19027 t1 = type$.List_ComplexSelectorComponent_2;
19028 lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure6(), t1);
19029 t2 = type$.JSArray_Iterable_ComplexSelectorComponent_2;
19030 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
19031 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
19032 group = lcs[_i];
19033 t4 = A._chunks0(groups1, groups2, new A._weaveParents_closure7(group), t1);
19034 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19035 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure8(), t5), true, t5._eval$1("ListIterable.E")));
19036 choices.push(A._setArrayType([group], t2));
19037 groups1.removeFirst$0();
19038 groups2.removeFirst$0();
19039 }
19040 t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure9(), t1);
19041 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19042 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure10(), t3), true, t3._eval$1("ListIterable.E")));
19043 B.JSArray_methods.addAll$1(choices, finalCombinators);
19044 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);
19045 },
19046 _firstIfRoot0(queue) {
19047 var first;
19048 if (queue._collection$_head === queue._collection$_tail)
19049 return null;
19050 first = queue.get$first(queue);
19051 if (first instanceof A.CompoundSelector0) {
19052 if (!A._hasRoot0(first))
19053 return null;
19054 queue.removeFirst$0();
19055 return first;
19056 } else
19057 return null;
19058 },
19059 _mergeInitialCombinators0(components1, components2) {
19060 var t4, combinators2, lcs,
19061 t1 = type$.JSArray_Combinator_2,
19062 combinators1 = A._setArrayType([], t1),
19063 t2 = type$.Combinator_2,
19064 t3 = components1.$ti._precomputed1;
19065 while (true) {
19066 if (!components1.get$isEmpty(components1)) {
19067 t4 = components1._collection$_head;
19068 if (t4 === components1._collection$_tail)
19069 A.throwExpression(A.IterableElementError_noElement());
19070 t4 = components1._collection$_table[t4];
19071 t4 = (t4 == null ? t3._as(t4) : t4) instanceof A.Combinator0;
19072 } else
19073 t4 = false;
19074 if (!t4)
19075 break;
19076 combinators1.push(t2._as(components1.removeFirst$0()));
19077 }
19078 combinators2 = A._setArrayType([], t1);
19079 t1 = components2.$ti._precomputed1;
19080 while (true) {
19081 if (!components2.get$isEmpty(components2)) {
19082 t3 = components2._collection$_head;
19083 if (t3 === components2._collection$_tail)
19084 A.throwExpression(A.IterableElementError_noElement());
19085 t3 = components2._collection$_table[t3];
19086 t3 = (t3 == null ? t1._as(t3) : t3) instanceof A.Combinator0;
19087 } else
19088 t3 = false;
19089 if (!t3)
19090 break;
19091 combinators2.push(t2._as(components2.removeFirst$0()));
19092 }
19093 lcs = A.longestCommonSubsequence0(combinators1, combinators2, null, t2);
19094 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19095 return combinators2;
19096 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19097 return combinators1;
19098 return null;
19099 },
19100 _mergeFinalCombinators0(components1, components2, result) {
19101 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
19102 if (result == null)
19103 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
19104 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator0))
19105 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator0);
19106 else
19107 t1 = false;
19108 if (t1)
19109 return result;
19110 t1 = type$.JSArray_Combinator_2;
19111 combinators1 = A._setArrayType([], t1);
19112 t2 = type$.Combinator_2;
19113 while (true) {
19114 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator0))
19115 break;
19116 combinators1.push(t2._as(components1.removeLast$0(0)));
19117 }
19118 combinators2 = A._setArrayType([], t1);
19119 while (true) {
19120 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator0))
19121 break;
19122 combinators2.push(t2._as(components2.removeLast$0(0)));
19123 }
19124 t1 = combinators1.length;
19125 if (t1 > 1 || combinators2.length > 1) {
19126 lcs = A.longestCommonSubsequence0(combinators1, combinators2, _null, t2);
19127 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19128 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));
19129 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19130 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));
19131 else
19132 return _null;
19133 return result;
19134 }
19135 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
19136 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
19137 t1 = combinator1 != null;
19138 if (t1 && combinator2 != null) {
19139 t1 = type$.CompoundSelector_2;
19140 compound1 = t1._as(components1.removeLast$0(0));
19141 compound2 = t1._as(components2.removeLast$0(0));
19142 t1 = combinator1 === B.Combinator_CzM0;
19143 if (t1 && combinator2 === B.Combinator_CzM0)
19144 if (A.compoundIsSuperselector0(compound1, compound2, _null))
19145 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM0], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19146 else {
19147 t1 = type$.JSArray_ComplexSelectorComponent_2;
19148 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19149 if (A.compoundIsSuperselector0(compound2, compound1, _null))
19150 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0], t1)], t2));
19151 else {
19152 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);
19153 unified = A.unifyCompound0(compound1.components, compound2.components);
19154 if (unified != null)
19155 choices.push(A._setArrayType([unified, B.Combinator_CzM0], t1));
19156 result.addFirst$1(choices);
19157 }
19158 }
19159 else {
19160 if (!(t1 && combinator2 === B.Combinator_uzg0))
19161 t2 = combinator1 === B.Combinator_uzg0 && combinator2 === B.Combinator_CzM0;
19162 else
19163 t2 = true;
19164 if (t2) {
19165 followingSiblingSelector = t1 ? compound1 : compound2;
19166 nextSiblingSelector = t1 ? compound2 : compound1;
19167 t1 = type$.JSArray_ComplexSelectorComponent_2;
19168 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19169 if (A.compoundIsSuperselector0(followingSiblingSelector, nextSiblingSelector, _null))
19170 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg0], t1)], t2));
19171 else {
19172 unified = A.unifyCompound0(compound1.components, compound2.components);
19173 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM0, nextSiblingSelector, B.Combinator_uzg0], t1)], t2);
19174 if (unified != null)
19175 t2.push(A._setArrayType([unified, B.Combinator_uzg0], t1));
19176 result.addFirst$1(t2);
19177 }
19178 } else {
19179 if (combinator1 === B.Combinator_sgq0)
19180 t2 = combinator2 === B.Combinator_uzg0 || combinator2 === B.Combinator_CzM0;
19181 else
19182 t2 = false;
19183 if (t2) {
19184 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19185 components1._add$1(compound1);
19186 components1._add$1(B.Combinator_sgq0);
19187 } else {
19188 if (combinator2 === B.Combinator_sgq0)
19189 t1 = combinator1 === B.Combinator_uzg0 || t1;
19190 else
19191 t1 = false;
19192 if (t1) {
19193 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19194 components2._add$1(compound2);
19195 components2._add$1(B.Combinator_sgq0);
19196 } else if (combinator1 === combinator2) {
19197 unified = A.unifyCompound0(compound1.components, compound2.components);
19198 if (unified == null)
19199 return _null;
19200 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19201 } else
19202 return _null;
19203 }
19204 }
19205 }
19206 return A._mergeFinalCombinators0(components1, components2, result);
19207 } else if (t1) {
19208 if (combinator1 === B.Combinator_sgq0)
19209 if (!components2.get$isEmpty(components2)) {
19210 t1 = type$.CompoundSelector_2;
19211 t1 = A.compoundIsSuperselector0(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
19212 } else
19213 t1 = false;
19214 else
19215 t1 = false;
19216 if (t1)
19217 components2.removeLast$0(0);
19218 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19219 return A._mergeFinalCombinators0(components1, components2, result);
19220 } else {
19221 if (combinator2 === B.Combinator_sgq0)
19222 if (!components1.get$isEmpty(components1)) {
19223 t1 = type$.CompoundSelector_2;
19224 t1 = A.compoundIsSuperselector0(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
19225 } else
19226 t1 = false;
19227 else
19228 t1 = false;
19229 if (t1)
19230 components1.removeLast$0(0);
19231 t1 = components2.removeLast$0(0);
19232 combinator2.toString;
19233 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19234 return A._mergeFinalCombinators0(components1, components2, result);
19235 }
19236 },
19237 _mustUnify0(complex1, complex2) {
19238 var t2, t3, t4,
19239 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
19240 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
19241 t3 = t2.get$current(t2);
19242 if (t3 instanceof A.CompoundSelector0)
19243 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
19244 t1.add$1(0, t3.get$current(t3));
19245 }
19246 if (t1._collection$_length === 0)
19247 return false;
19248 return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
19249 },
19250 _isUnique0(simple) {
19251 var t1;
19252 if (!(simple instanceof A.IDSelector0))
19253 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
19254 else
19255 t1 = true;
19256 return t1;
19257 },
19258 _chunks0(queue1, queue2, done, $T) {
19259 var chunk2, t2,
19260 t1 = $T._eval$1("JSArray<0>"),
19261 chunk1 = A._setArrayType([], t1);
19262 for (; !done.call$1(queue1);)
19263 chunk1.push(queue1.removeFirst$0());
19264 chunk2 = A._setArrayType([], t1);
19265 for (; !done.call$1(queue2);)
19266 chunk2.push(queue2.removeFirst$0());
19267 t1 = chunk1.length === 0;
19268 if (t1 && chunk2.length === 0)
19269 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
19270 if (t1)
19271 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
19272 if (chunk2.length === 0)
19273 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
19274 t1 = A.List_List$of(chunk1, true, $T);
19275 B.JSArray_methods.addAll$1(t1, chunk2);
19276 t2 = A.List_List$of(chunk2, true, $T);
19277 B.JSArray_methods.addAll$1(t2, chunk1);
19278 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
19279 },
19280 paths0(choices, $T) {
19281 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));
19282 },
19283 _groupSelectors0(complex) {
19284 var t1, t2, group, t3, t4,
19285 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
19286 iterator = A._ListQueueIterator$(complex);
19287 if (!iterator.moveNext$0())
19288 return groups;
19289 t1 = iterator._collection$_current;
19290 if (t1 == null)
19291 t1 = A._instanceType(iterator)._precomputed1._as(t1);
19292 t2 = type$.JSArray_ComplexSelectorComponent_2;
19293 group = A._setArrayType([t1], t2);
19294 groups._queue_list$_add$1(group);
19295 for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
19296 if (!(B.JSArray_methods.get$last(group) instanceof A.Combinator0)) {
19297 t3 = iterator._collection$_current;
19298 t3 = (t3 == null ? t1._as(t3) : t3) instanceof A.Combinator0;
19299 } else
19300 t3 = true;
19301 t4 = iterator._collection$_current;
19302 if (t3)
19303 group.push(t4 == null ? t1._as(t4) : t4);
19304 else {
19305 group = A._setArrayType([t4 == null ? t1._as(t4) : t4], t2);
19306 groups._queue_list$_add$1(group);
19307 }
19308 }
19309 return groups;
19310 },
19311 _hasRoot0(compound) {
19312 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure0());
19313 },
19314 listIsSuperselector0(list1, list2) {
19315 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
19316 },
19317 complexIsParentSuperselector0(complex1, complex2) {
19318 var t2, base,
19319 t1 = J.getInterceptor$ax(complex1);
19320 if (t1.get$first(complex1) instanceof A.Combinator0)
19321 return false;
19322 t2 = J.getInterceptor$ax(complex2);
19323 if (t2.get$first(complex2) instanceof A.Combinator0)
19324 return false;
19325 if (t1.get$length(complex1) > t2.get$length(complex2))
19326 return false;
19327 base = A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2));
19328 t1 = type$.ComplexSelectorComponent_2;
19329 t2 = A.List_List$of(complex1, true, t1);
19330 t2.push(base);
19331 t1 = A.List_List$of(complex2, true, t1);
19332 t1.push(base);
19333 return A.complexIsSuperselector0(t2, t1);
19334 },
19335 complexIsSuperselector0(complex1, complex2) {
19336 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
19337 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator0)
19338 return false;
19339 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator0)
19340 return false;
19341 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector_2, i1 = 0, i2 = 0; true;) {
19342 remaining1 = complex1.length - i1;
19343 remaining2 = complex2.length - i2;
19344 if (remaining1 === 0 || remaining2 === 0)
19345 return false;
19346 if (remaining1 > remaining2)
19347 return false;
19348 t4 = complex1[i1];
19349 if (t4 instanceof A.Combinator0)
19350 return false;
19351 if (complex2[i2] instanceof A.Combinator0)
19352 return false;
19353 t3._as(t4);
19354 if (remaining1 === 1) {
19355 t5 = t3._as(B.JSArray_methods.get$last(complex2));
19356 t6 = complex2.length - 1;
19357 t3 = new A.SubListIterable(complex2, 0, t6, t1);
19358 t3.SubListIterable$3(complex2, 0, t6, t2);
19359 return A.compoundIsSuperselector0(t4, t5, t3.skip$1(0, i2));
19360 }
19361 afterSuperselector = i2 + 1;
19362 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
19363 t5 = afterSuperselector0 - 1;
19364 compound2 = complex2[t5];
19365 if (compound2 instanceof A.CompoundSelector0) {
19366 t6 = new A.SubListIterable(complex2, 0, t5, t1);
19367 t6.SubListIterable$3(complex2, 0, t5, t2);
19368 if (A.compoundIsSuperselector0(t4, compound2, t6.skip$1(0, afterSuperselector)))
19369 break;
19370 }
19371 }
19372 if (afterSuperselector0 === complex2.length)
19373 return false;
19374 i10 = i1 + 1;
19375 combinator1 = complex1[i10];
19376 combinator2 = complex2[afterSuperselector0];
19377 if (combinator1 instanceof A.Combinator0) {
19378 if (!(combinator2 instanceof A.Combinator0))
19379 return false;
19380 if (combinator1 === B.Combinator_CzM0) {
19381 if (combinator2 === B.Combinator_sgq0)
19382 return false;
19383 } else if (combinator2 !== combinator1)
19384 return false;
19385 if (remaining1 === 3 && remaining2 > 3)
19386 return false;
19387 i1 += 2;
19388 i2 = afterSuperselector0 + 1;
19389 } else {
19390 if (combinator2 instanceof A.Combinator0) {
19391 if (combinator2 !== B.Combinator_sgq0)
19392 return false;
19393 i2 = afterSuperselector0 + 1;
19394 } else
19395 i2 = afterSuperselector0;
19396 i1 = i10;
19397 }
19398 }
19399 },
19400 compoundIsSuperselector0(compound1, compound2, parents) {
19401 var t1, t2, _i, simple1, simple2;
19402 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19403 simple1 = t1[_i];
19404 if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
19405 if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
19406 return false;
19407 } else if (!A._simpleIsSuperselectorOfCompound0(simple1, compound2))
19408 return false;
19409 }
19410 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19411 simple2 = t1[_i];
19412 if (simple2 instanceof A.PseudoSelector0 && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound0(simple2, compound1))
19413 return false;
19414 }
19415 return true;
19416 },
19417 _simpleIsSuperselectorOfCompound0(simple, compound) {
19418 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure0(simple));
19419 },
19420 _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
19421 var selector1_ = pseudo1.selector;
19422 if (selector1_ == null)
19423 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
19424 switch (pseudo1.normalizedName) {
19425 case "is":
19426 case "matches":
19427 case "any":
19428 case "where":
19429 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));
19430 case "has":
19431 case "host":
19432 case "host-context":
19433 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
19434 case "slotted":
19435 return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
19436 case "not":
19437 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
19438 case "current":
19439 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
19440 case "nth-child":
19441 case "nth-last-child":
19442 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
19443 default:
19444 throw A.wrapException("unreachable");
19445 }
19446 },
19447 _selectorPseudoArgs0(compound, $name, isClass) {
19448 var t1 = type$.WhereTypeIterable_PseudoSelector_2;
19449 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);
19450 },
19451 unifyComplex_closure0: function unifyComplex_closure0() {
19452 },
19453 _weaveParents_closure6: function _weaveParents_closure6() {
19454 },
19455 _weaveParents_closure7: function _weaveParents_closure7(t0) {
19456 this.group = t0;
19457 },
19458 _weaveParents_closure8: function _weaveParents_closure8() {
19459 },
19460 _weaveParents__closure4: function _weaveParents__closure4() {
19461 },
19462 _weaveParents_closure9: function _weaveParents_closure9() {
19463 },
19464 _weaveParents_closure10: function _weaveParents_closure10() {
19465 },
19466 _weaveParents__closure3: function _weaveParents__closure3() {
19467 },
19468 _weaveParents_closure11: function _weaveParents_closure11() {
19469 },
19470 _weaveParents_closure12: function _weaveParents_closure12() {
19471 },
19472 _weaveParents__closure2: function _weaveParents__closure2() {
19473 },
19474 _mustUnify_closure0: function _mustUnify_closure0(t0) {
19475 this.uniqueSelectors = t0;
19476 },
19477 _mustUnify__closure0: function _mustUnify__closure0(t0) {
19478 this.uniqueSelectors = t0;
19479 },
19480 paths_closure0: function paths_closure0(t0) {
19481 this.T = t0;
19482 },
19483 paths__closure0: function paths__closure0(t0, t1) {
19484 this.paths = t0;
19485 this.T = t1;
19486 },
19487 paths___closure0: function paths___closure0(t0, t1) {
19488 this.option = t0;
19489 this.T = t1;
19490 },
19491 _hasRoot_closure0: function _hasRoot_closure0() {
19492 },
19493 listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
19494 this.list1 = t0;
19495 },
19496 listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
19497 this.complex1 = t0;
19498 },
19499 _simpleIsSuperselectorOfCompound_closure0: function _simpleIsSuperselectorOfCompound_closure0(t0) {
19500 this.simple = t0;
19501 },
19502 _simpleIsSuperselectorOfCompound__closure0: function _simpleIsSuperselectorOfCompound__closure0(t0) {
19503 this.simple = t0;
19504 },
19505 _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
19506 this.selector1 = t0;
19507 },
19508 _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
19509 this.parents = t0;
19510 this.compound2 = t1;
19511 },
19512 _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
19513 this.selector1 = t0;
19514 },
19515 _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
19516 this.selector1 = t0;
19517 },
19518 _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
19519 this.compound2 = t0;
19520 this.pseudo1 = t1;
19521 },
19522 _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
19523 this.complex = t0;
19524 this.pseudo1 = t1;
19525 },
19526 _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
19527 this.simple2 = t0;
19528 },
19529 _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
19530 this.simple2 = t0;
19531 },
19532 _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
19533 this.selector1 = t0;
19534 },
19535 _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
19536 this.pseudo1 = t0;
19537 this.selector1 = t1;
19538 },
19539 _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
19540 this.isClass = t0;
19541 this.name = t1;
19542 },
19543 _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
19544 },
19545 globalFunctions_closure0: function globalFunctions_closure0() {
19546 },
19547 IDSelector0: function IDSelector0(t0) {
19548 this.name = t0;
19549 },
19550 IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
19551 this.$this = t0;
19552 },
19553 IfExpression0: function IfExpression0(t0, t1) {
19554 this.$arguments = t0;
19555 this.span = t1;
19556 },
19557 IfClause$0(expression, children) {
19558 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19559 return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19560 },
19561 ElseClause$0(children) {
19562 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19563 return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19564 },
19565 IfRule0: function IfRule0(t0, t1, t2) {
19566 this.clauses = t0;
19567 this.lastClause = t1;
19568 this.span = t2;
19569 },
19570 IfRule_toString_closure0: function IfRule_toString_closure0() {
19571 },
19572 IfRuleClause0: function IfRuleClause0() {
19573 },
19574 IfRuleClause$__closure0: function IfRuleClause$__closure0() {
19575 },
19576 IfRuleClause$___closure0: function IfRuleClause$___closure0() {
19577 },
19578 IfClause0: function IfClause0(t0, t1, t2) {
19579 this.expression = t0;
19580 this.children = t1;
19581 this.hasDeclarations = t2;
19582 },
19583 ElseClause0: function ElseClause0(t0, t1) {
19584 this.children = t0;
19585 this.hasDeclarations = t1;
19586 },
19587 jsToDartList(list) {
19588 return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
19589 },
19590 dartMapToImmutableMap(dartMap) {
19591 var t1, t2,
19592 immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
19593 for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
19594 t2 = t1.get$current(t1);
19595 immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
19596 }
19597 return J.asImmutable$0$x(immutableMap);
19598 },
19599 immutableMapToDartMap(immutableMap) {
19600 var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
19601 J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
19602 return dartMap;
19603 },
19604 ImmutableList: function ImmutableList() {
19605 },
19606 ImmutableMap: function ImmutableMap() {
19607 },
19608 immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
19609 this.dartMap = t0;
19610 },
19611 NodeImporter__addSassPath($async$includePaths) {
19612 return A._makeSyncStarIterable(function() {
19613 var includePaths = $async$includePaths;
19614 var $async$goto = 0, $async$handler = 2, $async$currentError, t1, sassPath;
19615 return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
19616 if ($async$errorCode === 1) {
19617 $async$currentError = $async$result;
19618 $async$goto = $async$handler;
19619 }
19620 while (true)
19621 switch ($async$goto) {
19622 case 0:
19623 // Function start
19624 $async$goto = 3;
19625 return A._IterationMarker_yieldStar(includePaths);
19626 case 3:
19627 // after yield
19628 t1 = J.get$env$x(self.process);
19629 if (t1 == null)
19630 t1 = type$.Object._as(t1);
19631 sassPath = A._asStringQ(t1.SASS_PATH);
19632 if (sassPath == null) {
19633 // goto return
19634 $async$goto = 1;
19635 break;
19636 }
19637 $async$goto = 4;
19638 return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
19639 case 4:
19640 // after yield
19641 case 1:
19642 // return
19643 return A._IterationMarker_endOfIteration();
19644 case 2:
19645 // rethrow
19646 return A._IterationMarker_uncaughtError($async$currentError);
19647 }
19648 };
19649 }, type$.String);
19650 },
19651 NodeImporter: function NodeImporter(t0, t1, t2) {
19652 this._implementation$_options = t0;
19653 this._includePaths = t1;
19654 this._implementation$_importers = t2;
19655 },
19656 NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
19657 this.path = t0;
19658 },
19659 NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
19660 },
19661 ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
19662 var _ = this;
19663 _.url = t0;
19664 _.modifiers = t1;
19665 _.span = t2;
19666 _._node1$_indexInParent = _._node1$_parent = null;
19667 _.isGroupEnd = false;
19668 },
19669 ImportCache$0(importers, loadPaths, logger, packageConfig) {
19670 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19671 t2 = type$.Uri,
19672 t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
19673 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));
19674 },
19675 ImportCache$none(logger) {
19676 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19677 t2 = type$.Uri;
19678 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));
19679 },
19680 ImportCache__toImporters0(importers, loadPaths, packageConfig) {
19681 var sassPath, t2, t3, _i, path, _null = null,
19682 t1 = J.get$env$x(self.process);
19683 if (t1 == null)
19684 t1 = type$.Object._as(t1);
19685 sassPath = A._asStringQ(t1.SASS_PATH);
19686 t1 = A._setArrayType([], type$.JSArray_Importer);
19687 if (importers != null)
19688 B.JSArray_methods.addAll$1(t1, importers);
19689 if (loadPaths != null)
19690 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
19691 t3 = t2.get$current(t2);
19692 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
19693 }
19694 if (sassPath != null) {
19695 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
19696 t3 = t2.length;
19697 _i = 0;
19698 for (; _i < t3; ++_i) {
19699 path = t2[_i];
19700 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
19701 }
19702 }
19703 return t1;
19704 },
19705 ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
19706 var _ = this;
19707 _._import_cache$_importers = t0;
19708 _._import_cache$_logger = t1;
19709 _._import_cache$_canonicalizeCache = t2;
19710 _._import_cache$_relativeCanonicalizeCache = t3;
19711 _._import_cache$_importCache = t4;
19712 _._import_cache$_resultsCache = t5;
19713 },
19714 ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
19715 var _ = this;
19716 _.$this = t0;
19717 _.baseUrl = t1;
19718 _.url = t2;
19719 _.baseImporter = t3;
19720 _.forImport = t4;
19721 },
19722 ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
19723 this.$this = t0;
19724 this.url = t1;
19725 this.forImport = t2;
19726 },
19727 ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
19728 this.importer = t0;
19729 this.url = t1;
19730 },
19731 ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
19732 var _ = this;
19733 _.$this = t0;
19734 _.importer = t1;
19735 _.canonicalUrl = t2;
19736 _.originalUrl = t3;
19737 _.quiet = t4;
19738 },
19739 ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
19740 this.canonicalUrl = t0;
19741 },
19742 ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
19743 },
19744 ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
19745 },
19746 ImportRule0: function ImportRule0(t0, t1) {
19747 this.imports = t0;
19748 this.span = t1;
19749 },
19750 NodeImporter0: function NodeImporter0() {
19751 },
19752 CanonicalizeOptions: function CanonicalizeOptions() {
19753 },
19754 NodeImporterResult0: function NodeImporterResult0() {
19755 },
19756 Importer0: function Importer0() {
19757 },
19758 NodeImporterResult1: function NodeImporterResult1() {
19759 },
19760 IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
19761 var _ = this;
19762 _.namespace = t0;
19763 _.name = t1;
19764 _.$arguments = t2;
19765 _.content = t3;
19766 _.span = t4;
19767 },
19768 InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
19769 this.name = t0;
19770 this.$arguments = t1;
19771 this.span = t2;
19772 },
19773 Interpolation$0(contents, span) {
19774 var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
19775 t1.Interpolation$20(contents, span);
19776 return t1;
19777 },
19778 Interpolation0: function Interpolation0(t0, t1) {
19779 this.contents = t0;
19780 this.span = t1;
19781 },
19782 Interpolation_toString_closure0: function Interpolation_toString_closure0() {
19783 },
19784 SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
19785 this.expression = t0;
19786 this.span = t1;
19787 },
19788 InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
19789 this._interpolation_buffer0$_text = t0;
19790 this._interpolation_buffer0$_contents = t1;
19791 },
19792 _realCasePath0(path) {
19793 var prefix, t1;
19794 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
19795 return path;
19796 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
19797 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
19798 t1 = prefix.length;
19799 if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
19800 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
19801 }
19802 return new A._realCasePath_helper0().call$1(path);
19803 },
19804 _realCasePath_helper0: function _realCasePath_helper0() {
19805 },
19806 _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
19807 this.helper = t0;
19808 this.dirname = t1;
19809 this.path = t2;
19810 },
19811 _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
19812 this.basename = t0;
19813 },
19814 ModifiableCssKeyframeBlock$0(selector, span) {
19815 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
19816 return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
19817 },
19818 ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
19819 var _ = this;
19820 _.selector = t0;
19821 _.span = t1;
19822 _.children = t2;
19823 _._node1$_children = t3;
19824 _._node1$_indexInParent = _._node1$_parent = null;
19825 _.isGroupEnd = false;
19826 },
19827 KeyframeSelectorParser$0(contents, logger) {
19828 var t1 = A.SpanScanner$(contents, null);
19829 return new A.KeyframeSelectorParser0(t1, logger);
19830 },
19831 KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
19832 this.scanner = t0;
19833 this.logger = t1;
19834 },
19835 KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
19836 this.$this = t0;
19837 },
19838 render(options, callback) {
19839 var fiber = J.get$fiber$x(options);
19840 if (fiber != null)
19841 J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
19842 else
19843 A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
19844 },
19845 _renderAsync(options) {
19846 var $async$goto = 0,
19847 $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
19848 $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
19849 var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
19850 if ($async$errorCode === 1)
19851 return A._asyncRethrow($async$result, $async$completer);
19852 while (true)
19853 switch ($async$goto) {
19854 case 0:
19855 // Function start
19856 start = new A.DateTime(Date.now(), false);
19857 t1 = J.getInterceptor$x(options);
19858 data = t1.get$data(options);
19859 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19860 $async$goto = data != null ? 3 : 5;
19861 break;
19862 case 3:
19863 // then
19864 t2 = A._parseImporter(options, start);
19865 t3 = A._parseFunctions(options, start, true);
19866 t4 = t1.get$indentedSyntax(options);
19867 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19868 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19869 t6 = J.$eq$(t1.get$indentType(options), "tab");
19870 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19871 t8 = A._parseLineFeed(t1.get$linefeed(options));
19872 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19873 t10 = t1.get$quietDeps(options);
19874 if (t10 == null)
19875 t10 = false;
19876 t11 = t1.get$verbose(options);
19877 if (t11 == null)
19878 t11 = false;
19879 t12 = t1.get$charset(options);
19880 if (t12 == null)
19881 t12 = true;
19882 t13 = A._enableSourceMaps(options);
19883 t1 = t1.get$logger(options);
19884 t14 = J.$eq$(self.process.stdout.isTTY, true);
19885 t15 = $._glyphs;
19886 $async$goto = 6;
19887 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);
19888 case 6:
19889 // returning from await.
19890 result = $async$result;
19891 // goto join
19892 $async$goto = 4;
19893 break;
19894 case 5:
19895 // else
19896 $async$goto = file != null ? 7 : 9;
19897 break;
19898 case 7:
19899 // then
19900 t2 = A._parseImporter(options, start);
19901 t3 = A._parseFunctions(options, start, true);
19902 t4 = t1.get$indentedSyntax(options);
19903 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19904 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19905 t6 = J.$eq$(t1.get$indentType(options), "tab");
19906 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19907 t8 = A._parseLineFeed(t1.get$linefeed(options));
19908 t9 = t1.get$quietDeps(options);
19909 if (t9 == null)
19910 t9 = false;
19911 t10 = t1.get$verbose(options);
19912 if (t10 == null)
19913 t10 = false;
19914 t11 = t1.get$charset(options);
19915 if (t11 == null)
19916 t11 = true;
19917 t12 = A._enableSourceMaps(options);
19918 t1 = t1.get$logger(options);
19919 t13 = J.$eq$(self.process.stdout.isTTY, true);
19920 t14 = $._glyphs;
19921 $async$goto = 10;
19922 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);
19923 case 10:
19924 // returning from await.
19925 result = $async$result;
19926 // goto join
19927 $async$goto = 8;
19928 break;
19929 case 9:
19930 // else
19931 throw A.wrapException(A.ArgumentError$(string$.Either, null));
19932 case 8:
19933 // join
19934 case 4:
19935 // join
19936 $async$returnValue = A._newRenderResult(options, result, start);
19937 // goto return
19938 $async$goto = 1;
19939 break;
19940 case 1:
19941 // return
19942 return A._asyncReturn($async$returnValue, $async$completer);
19943 }
19944 });
19945 return A._asyncStartSync($async$_renderAsync, $async$completer);
19946 },
19947 renderSync(options) {
19948 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;
19949 try {
19950 start = new A.DateTime(Date.now(), false);
19951 result = null;
19952 t1 = J.getInterceptor$x(options);
19953 data = t1.get$data(options);
19954 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19955 if (data != null) {
19956 t2 = A._parseImporter(options, start);
19957 t3 = A._parseFunctions(options, start, false);
19958 t4 = t1.get$indentedSyntax(options);
19959 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19960 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19961 t6 = J.$eq$(t1.get$indentType(options), "tab");
19962 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19963 t8 = A._parseLineFeed(t1.get$linefeed(options));
19964 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19965 t10 = t1.get$quietDeps(options);
19966 if (t10 == null)
19967 t10 = false;
19968 t11 = t1.get$verbose(options);
19969 if (t11 == null)
19970 t11 = false;
19971 t12 = t1.get$charset(options);
19972 if (t12 == null)
19973 t12 = true;
19974 t13 = A._enableSourceMaps(options);
19975 t1 = t1.get$logger(options);
19976 t14 = J.$eq$(self.process.stdout.isTTY, true);
19977 t15 = $._glyphs;
19978 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);
19979 } else if (file != null) {
19980 t2 = A._parseImporter(options, start);
19981 t3 = A._parseFunctions(options, start, false);
19982 t4 = t1.get$indentedSyntax(options);
19983 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19984 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19985 t6 = J.$eq$(t1.get$indentType(options), "tab");
19986 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19987 t8 = A._parseLineFeed(t1.get$linefeed(options));
19988 t9 = t1.get$quietDeps(options);
19989 if (t9 == null)
19990 t9 = false;
19991 t10 = t1.get$verbose(options);
19992 if (t10 == null)
19993 t10 = false;
19994 t11 = t1.get$charset(options);
19995 if (t11 == null)
19996 t11 = true;
19997 t12 = A._enableSourceMaps(options);
19998 t1 = t1.get$logger(options);
19999 t13 = J.$eq$(self.process.stdout.isTTY, true);
20000 t14 = $._glyphs;
20001 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);
20002 } else {
20003 t1 = A.ArgumentError$(string$.Either, _null);
20004 throw A.wrapException(t1);
20005 }
20006 t1 = A._newRenderResult(options, result, start);
20007 return t1;
20008 } catch (exception) {
20009 t1 = A.unwrapException(exception);
20010 if (t1 instanceof A.SassException0) {
20011 error = t1;
20012 stackTrace = A.getTraceFromException(exception);
20013 A.jsThrow(A._wrapException(error, stackTrace));
20014 } else {
20015 error0 = t1;
20016 stackTrace0 = A.getTraceFromException(exception);
20017 t1 = J.toString$0$(error0);
20018 t2 = A.getTrace0(error0);
20019 A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
20020 }
20021 }
20022 },
20023 _wrapException(exception, stackTrace) {
20024 var file, t1, t2, t3, t4,
20025 url = A.SourceSpanException.prototype.get$span.call(exception, exception).file.url;
20026 if (url == null)
20027 file = "stdin";
20028 else
20029 file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
20030 t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
20031 t2 = A.getTrace0(exception);
20032 if (t2 == null)
20033 t2 = stackTrace;
20034 t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20035 t3 = A.FileLocation$_(t3.file, t3._file$_start);
20036 t3 = t3.file.getLine$1(t3.offset);
20037 t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20038 t4 = A.FileLocation$_(t4.file, t4._file$_start);
20039 return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
20040 },
20041 _parseFunctions(options, start, asynch) {
20042 var result,
20043 functions = J.get$functions$x(options);
20044 if (functions == null)
20045 return B.List_empty20;
20046 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
20047 A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
20048 return result;
20049 },
20050 _parseImporter(options, start) {
20051 var importers, t2, t3, contextOptions, fiber,
20052 t1 = J.getInterceptor$x(options);
20053 if (t1.get$importer(options) == null)
20054 importers = A._setArrayType([], type$.JSArray_JSFunction);
20055 else {
20056 t2 = type$.List_nullable_Object;
20057 t3 = type$.JSFunction;
20058 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);
20059 }
20060 t2 = J.getInterceptor$asx(importers);
20061 contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
20062 fiber = t1.get$fiber(options);
20063 if (fiber != null) {
20064 t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
20065 importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
20066 }
20067 t1 = t1.get$includePaths(options);
20068 if (t1 == null)
20069 t1 = [];
20070 t2 = type$.String;
20071 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));
20072 },
20073 _contextOptions(options, start) {
20074 var includePaths, t3, t4, t5, t6, t7,
20075 t1 = J.getInterceptor$x(options),
20076 t2 = t1.get$includePaths(options);
20077 if (t2 == null)
20078 t2 = [];
20079 includePaths = A.List_List$from(t2, true, type$.String);
20080 t2 = t1.get$file(options);
20081 t3 = t1.get$data(options);
20082 t4 = A._setArrayType([A.current()], type$.JSArray_String);
20083 B.JSArray_methods.addAll$1(t4, includePaths);
20084 t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
20085 t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
20086 t6 = A._parseIndentWidth(t1.get$indentWidth(options));
20087 if (t6 == null)
20088 t6 = 2;
20089 t7 = A._parseLineFeed(t1.get$linefeed(options));
20090 t1 = t1.get$file(options);
20091 if (t1 == null)
20092 t1 = "data";
20093 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}}};
20094 },
20095 _parseOutputStyle(style) {
20096 if (style == null || style === "expanded")
20097 return B.OutputStyle_expanded0;
20098 if (style === "compressed")
20099 return B.OutputStyle_compressed0;
20100 throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
20101 },
20102 _parseIndentWidth(width) {
20103 if (width == null)
20104 return null;
20105 return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
20106 },
20107 _parseLineFeed(str) {
20108 switch (str) {
20109 case "cr":
20110 return B.LineFeed_kMT;
20111 case "crlf":
20112 return B.LineFeed_Mss;
20113 case "lfcr":
20114 return B.LineFeed_a1Y;
20115 default:
20116 return B.LineFeed_D6m;
20117 }
20118 },
20119 _newRenderResult(options, result, start) {
20120 var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
20121 t1 = Date.now(),
20122 t2 = result._compile_result$_serialize,
20123 css = t2.css,
20124 sourceMapBytes = type$.Null._as(self.undefined);
20125 if (A._enableSourceMaps(options)) {
20126 t3 = J.getInterceptor$x(options);
20127 sourceMapOption = t3.get$sourceMap(options);
20128 if (typeof sourceMapOption == "string")
20129 sourceMapPath = sourceMapOption;
20130 else {
20131 t4 = t3.get$outFile(options);
20132 t4.toString;
20133 sourceMapPath = J.$add$ansx(t4, ".map");
20134 }
20135 t4 = $.$get$context();
20136 sourceMapDir = t4.dirname$1(sourceMapPath);
20137 t2 = t2.sourceMap;
20138 t2.toString;
20139 t2.sourceRoot = t3.get$sourceMapRoot(options);
20140 outFile = t3.get$outFile(options);
20141 t5 = outFile == null;
20142 if (t5) {
20143 file = t3.get$file(options);
20144 if (file == null)
20145 t2.targetUrl = "stdin.css";
20146 else
20147 t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
20148 } else
20149 t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
20150 sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
20151 for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
20152 source = t4[i];
20153 if (source === "stdin")
20154 continue;
20155 t6 = $.$get$url();
20156 t7 = t6.style;
20157 if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
20158 continue;
20159 t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
20160 }
20161 t4 = t3.get$sourceMapContents(options);
20162 sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
20163 t2 = t3.get$omitSourceMapUrl(options);
20164 if (!(!J.$eq$(t2, false) && t2 != null)) {
20165 t2 = t3.get$sourceMapEmbed(options);
20166 if (!J.$eq$(t2, false) && t2 != null) {
20167 buffer = new A.StringBuffer("");
20168 indices = A._setArrayType([-1], type$.JSArray_int);
20169 A.UriData__writeUri("application/json", _null, _null, buffer, indices);
20170 indices.push(buffer._contents.length);
20171 t2 = buffer._contents += ";base64,";
20172 indices.push(t2.length - 1);
20173 t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
20174 t3 = sourceMapBytes.length;
20175 A.RangeError_checkValidRange(0, t3, t3);
20176 t2._convert$_add$4(sourceMapBytes, 0, t3, true);
20177 t2 = buffer._contents;
20178 url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
20179 } else {
20180 if (t5)
20181 t2 = sourceMapPath;
20182 else {
20183 t2 = $.$get$context();
20184 t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
20185 }
20186 url = $.$get$context().toUri$1(t2);
20187 }
20188 t2 = url.toString$0(0);
20189 css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
20190 }
20191 }
20192 t2 = self.Buffer.from(css, "utf8");
20193 t3 = J.get$file$x(options);
20194 if (t3 == null)
20195 t3 = "data";
20196 t4 = start._core$_value;
20197 t1 = new A.DateTime(t1, false)._core$_value;
20198 t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
20199 t6 = A._setArrayType([], type$.JSArray_String);
20200 for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
20201 t9 = t7._collection$_current;
20202 if (t9 == null)
20203 t9 = t8._as(t9);
20204 if (t9.get$scheme() === "file")
20205 t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
20206 else
20207 t6.push(t9.toString$0(0));
20208 }
20209 return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
20210 },
20211 _enableSourceMaps(options) {
20212 var t2,
20213 t1 = J.getInterceptor$x(options);
20214 if (typeof t1.get$sourceMap(options) != "string") {
20215 t2 = t1.get$sourceMap(options);
20216 t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
20217 } else
20218 t1 = true;
20219 return t1;
20220 },
20221 _newRenderError(message, stackTrace, column, file, line, $status) {
20222 var error = new self.Error(message);
20223 error.formatted = "Error: " + message;
20224 if (line != null)
20225 error.line = line;
20226 if (column != null)
20227 error.column = column;
20228 if (file != null)
20229 error.file = file;
20230 error.status = $status;
20231 A.attachJsStack(error, stackTrace);
20232 return error;
20233 },
20234 render_closure: function render_closure(t0, t1) {
20235 this.callback = t0;
20236 this.options = t1;
20237 },
20238 render_closure0: function render_closure0(t0) {
20239 this.callback = t0;
20240 },
20241 render_closure1: function render_closure1(t0) {
20242 this.callback = t0;
20243 },
20244 _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
20245 var _ = this;
20246 _.options = t0;
20247 _.start = t1;
20248 _.result = t2;
20249 _.asynch = t3;
20250 },
20251 _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
20252 this.fiber = t0;
20253 this.callback = t1;
20254 this.context = t2;
20255 },
20256 _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
20257 this.currentFiber = t0;
20258 },
20259 _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
20260 this.currentFiber = t0;
20261 this.result = t1;
20262 },
20263 _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
20264 this.fiber = t0;
20265 },
20266 _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
20267 this.callback = t0;
20268 this.context = t1;
20269 },
20270 _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
20271 this.callback = t0;
20272 this.context = t1;
20273 },
20274 _parseFunctions___closure: function _parseFunctions___closure(t0) {
20275 this.completer = t0;
20276 },
20277 _parseImporter_closure: function _parseImporter_closure(t0) {
20278 this.fiber = t0;
20279 },
20280 _parseImporter__closure: function _parseImporter__closure(t0, t1) {
20281 this.fiber = t0;
20282 this.importer = t1;
20283 },
20284 _parseImporter___closure: function _parseImporter___closure(t0) {
20285 this.currentFiber = t0;
20286 },
20287 _parseImporter____closure: function _parseImporter____closure(t0, t1) {
20288 this.currentFiber = t0;
20289 this.result = t1;
20290 },
20291 _parseImporter___closure0: function _parseImporter___closure0(t0) {
20292 this.fiber = t0;
20293 },
20294 LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
20295 var t2, key,
20296 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
20297 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
20298 key = t2.get$current(t2);
20299 if (!blocklist.contains$1(0, key))
20300 t1.add$1(0, key);
20301 }
20302 return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
20303 },
20304 LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
20305 this._limited_map_view0$_map = t0;
20306 this._limited_map_view0$_keys = t1;
20307 this.$ti = t2;
20308 },
20309 ListExpression0: function ListExpression0(t0, t1, t2, t3) {
20310 var _ = this;
20311 _.contents = t0;
20312 _.separator = t1;
20313 _.hasBrackets = t2;
20314 _.span = t3;
20315 },
20316 ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
20317 this.$this = t0;
20318 },
20319 _function10($name, $arguments, callback) {
20320 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
20321 },
20322 _length_closure2: function _length_closure2() {
20323 },
20324 _nth_closure0: function _nth_closure0() {
20325 },
20326 _setNth_closure0: function _setNth_closure0() {
20327 },
20328 _join_closure0: function _join_closure0() {
20329 },
20330 _append_closure2: function _append_closure2() {
20331 },
20332 _zip_closure0: function _zip_closure0() {
20333 },
20334 _zip__closure2: function _zip__closure2() {
20335 },
20336 _zip__closure3: function _zip__closure3(t0) {
20337 this._box_0 = t0;
20338 },
20339 _zip__closure4: function _zip__closure4(t0) {
20340 this._box_0 = t0;
20341 },
20342 _index_closure2: function _index_closure2() {
20343 },
20344 _separator_closure0: function _separator_closure0() {
20345 },
20346 _isBracketed_closure0: function _isBracketed_closure0() {
20347 },
20348 _slash_closure0: function _slash_closure0() {
20349 },
20350 SelectorList$0(components) {
20351 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
20352 if (t1.length === 0)
20353 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
20354 return new A.SelectorList0(t1);
20355 },
20356 SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
20357 return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
20358 },
20359 SelectorList0: function SelectorList0(t0) {
20360 this.components = t0;
20361 },
20362 SelectorList_isInvisible_closure0: function SelectorList_isInvisible_closure0() {
20363 },
20364 SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
20365 },
20366 SelectorList_asSassList__closure0: function SelectorList_asSassList__closure0() {
20367 },
20368 SelectorList_unify_closure0: function SelectorList_unify_closure0(t0) {
20369 this.other = t0;
20370 },
20371 SelectorList_unify__closure0: function SelectorList_unify__closure0(t0) {
20372 this.complex1 = t0;
20373 },
20374 SelectorList_unify___closure0: function SelectorList_unify___closure0() {
20375 },
20376 SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
20377 this.$this = t0;
20378 this.implicitParent = t1;
20379 this.parent = t2;
20380 },
20381 SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
20382 this.complex = t0;
20383 },
20384 SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
20385 this._box_0 = t0;
20386 },
20387 SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
20388 },
20389 SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
20390 },
20391 SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
20392 },
20393 SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
20394 this.parent = t0;
20395 },
20396 SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1) {
20397 this.compound = t0;
20398 this.resolvedMembers = t1;
20399 },
20400 _NodeSassList: function _NodeSassList() {
20401 },
20402 legacyListClass_closure: function legacyListClass_closure() {
20403 },
20404 legacyListClass__closure: function legacyListClass__closure() {
20405 },
20406 legacyListClass_closure0: function legacyListClass_closure0() {
20407 },
20408 legacyListClass_closure1: function legacyListClass_closure1() {
20409 },
20410 legacyListClass_closure2: function legacyListClass_closure2() {
20411 },
20412 legacyListClass_closure3: function legacyListClass_closure3() {
20413 },
20414 legacyListClass_closure4: function legacyListClass_closure4() {
20415 },
20416 listClass_closure: function listClass_closure() {
20417 },
20418 listClass__closure: function listClass__closure() {
20419 },
20420 listClass__closure0: function listClass__closure0() {
20421 },
20422 _ConstructorOptions: function _ConstructorOptions() {
20423 },
20424 SassList$0(contents, _separator, brackets) {
20425 var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
20426 t1.SassList$3$brackets0(contents, _separator, brackets);
20427 return t1;
20428 },
20429 SassList0: function SassList0(t0, t1, t2) {
20430 this._list1$_contents = t0;
20431 this._list1$_separator = t1;
20432 this._list1$_hasBrackets = t2;
20433 },
20434 SassList_isBlank_closure0: function SassList_isBlank_closure0() {
20435 },
20436 ListSeparator0: function ListSeparator0(t0, t1) {
20437 this._list1$_name = t0;
20438 this.separator = t1;
20439 },
20440 NodeLogger: function NodeLogger() {
20441 },
20442 WarnOptions: function WarnOptions() {
20443 },
20444 DebugOptions: function DebugOptions() {
20445 },
20446 _QuietLogger0: function _QuietLogger0() {
20447 },
20448 LoudComment0: function LoudComment0(t0) {
20449 this.text = t0;
20450 },
20451 MapExpression0: function MapExpression0(t0, t1) {
20452 this.pairs = t0;
20453 this.span = t1;
20454 },
20455 MapExpression_toString_closure0: function MapExpression_toString_closure0() {
20456 },
20457 _modify0(map, keys, modify, addNesting) {
20458 var keyIterator = J.get$iterator$ax(keys);
20459 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
20460 },
20461 _deepMergeImpl0(map1, map2) {
20462 var t2, t3, result,
20463 t1 = map1._map0$_contents;
20464 if (t1.get$isEmpty(t1))
20465 return map2;
20466 t2 = map2._map0$_contents;
20467 if (t2.get$isEmpty(t2))
20468 return map1;
20469 t3 = type$.Value_2;
20470 result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
20471 t2.forEach$1(0, new A._deepMergeImpl_closure0(result));
20472 return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
20473 },
20474 _function9($name, $arguments, callback) {
20475 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
20476 },
20477 _get_closure0: function _get_closure0() {
20478 },
20479 _set_closure1: function _set_closure1() {
20480 },
20481 _set__closure2: function _set__closure2(t0) {
20482 this.$arguments = t0;
20483 },
20484 _set_closure2: function _set_closure2() {
20485 },
20486 _set__closure1: function _set__closure1(t0) {
20487 this.args = t0;
20488 },
20489 _merge_closure1: function _merge_closure1() {
20490 },
20491 _merge_closure2: function _merge_closure2() {
20492 },
20493 _merge__closure0: function _merge__closure0(t0) {
20494 this.map2 = t0;
20495 },
20496 _deepMerge_closure0: function _deepMerge_closure0() {
20497 },
20498 _deepRemove_closure0: function _deepRemove_closure0() {
20499 },
20500 _deepRemove__closure0: function _deepRemove__closure0(t0) {
20501 this.keys = t0;
20502 },
20503 _remove_closure1: function _remove_closure1() {
20504 },
20505 _remove_closure2: function _remove_closure2() {
20506 },
20507 _keys_closure0: function _keys_closure0() {
20508 },
20509 _values_closure0: function _values_closure0() {
20510 },
20511 _hasKey_closure0: function _hasKey_closure0() {
20512 },
20513 _modify__modifyNestedMap0: function _modify__modifyNestedMap0(t0, t1, t2) {
20514 this.keyIterator = t0;
20515 this.modify = t1;
20516 this.addNesting = t2;
20517 },
20518 _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0) {
20519 this.result = t0;
20520 },
20521 _NodeSassMap: function _NodeSassMap() {
20522 },
20523 legacyMapClass_closure: function legacyMapClass_closure() {
20524 },
20525 legacyMapClass__closure: function legacyMapClass__closure() {
20526 },
20527 legacyMapClass__closure0: function legacyMapClass__closure0() {
20528 },
20529 legacyMapClass_closure0: function legacyMapClass_closure0() {
20530 },
20531 legacyMapClass_closure1: function legacyMapClass_closure1() {
20532 },
20533 legacyMapClass_closure2: function legacyMapClass_closure2() {
20534 },
20535 legacyMapClass_closure3: function legacyMapClass_closure3() {
20536 },
20537 legacyMapClass_closure4: function legacyMapClass_closure4() {
20538 },
20539 mapClass_closure: function mapClass_closure() {
20540 },
20541 mapClass__closure: function mapClass__closure() {
20542 },
20543 mapClass__closure0: function mapClass__closure0() {
20544 },
20545 mapClass__closure1: function mapClass__closure1() {
20546 },
20547 SassMap0: function SassMap0(t0) {
20548 this._map0$_contents = t0;
20549 },
20550 SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
20551 this.result = t0;
20552 },
20553 _fuzzyRoundIfZero0(number) {
20554 if (!(Math.abs(number - 0) < $.$get$epsilon0()))
20555 return number;
20556 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
20557 },
20558 _numberFunction0($name, transform) {
20559 return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
20560 },
20561 _function8($name, $arguments, callback) {
20562 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
20563 },
20564 _ceil_closure0: function _ceil_closure0() {
20565 },
20566 _clamp_closure0: function _clamp_closure0() {
20567 },
20568 _floor_closure0: function _floor_closure0() {
20569 },
20570 _max_closure0: function _max_closure0() {
20571 },
20572 _min_closure0: function _min_closure0() {
20573 },
20574 _abs_closure0: function _abs_closure0() {
20575 },
20576 _hypot_closure0: function _hypot_closure0() {
20577 },
20578 _hypot__closure0: function _hypot__closure0() {
20579 },
20580 _log_closure0: function _log_closure0() {
20581 },
20582 _pow_closure0: function _pow_closure0() {
20583 },
20584 _sqrt_closure0: function _sqrt_closure0() {
20585 },
20586 _acos_closure0: function _acos_closure0() {
20587 },
20588 _asin_closure0: function _asin_closure0() {
20589 },
20590 _atan_closure0: function _atan_closure0() {
20591 },
20592 _atan2_closure0: function _atan2_closure0() {
20593 },
20594 _cos_closure0: function _cos_closure0() {
20595 },
20596 _sin_closure0: function _sin_closure0() {
20597 },
20598 _tan_closure0: function _tan_closure0() {
20599 },
20600 _compatible_closure0: function _compatible_closure0() {
20601 },
20602 _isUnitless_closure0: function _isUnitless_closure0() {
20603 },
20604 _unit_closure0: function _unit_closure0() {
20605 },
20606 _percentage_closure0: function _percentage_closure0() {
20607 },
20608 _randomFunction_closure0: function _randomFunction_closure0() {
20609 },
20610 _div_closure0: function _div_closure0() {
20611 },
20612 _numberFunction_closure0: function _numberFunction_closure0(t0) {
20613 this.transform = t0;
20614 },
20615 CssMediaQuery0: function CssMediaQuery0(t0, t1, t2) {
20616 this.modifier = t0;
20617 this.type = t1;
20618 this.features = t2;
20619 },
20620 _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
20621 this._media_query0$_name = t0;
20622 },
20623 MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
20624 this.query = t0;
20625 },
20626 MediaQueryParser0: function MediaQueryParser0(t0, t1) {
20627 this.scanner = t0;
20628 this.logger = t1;
20629 },
20630 MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
20631 this.$this = t0;
20632 },
20633 ModifiableCssMediaRule$0(queries, span) {
20634 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
20635 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
20636 if (J.get$isEmpty$asx(queries))
20637 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
20638 return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
20639 },
20640 ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
20641 var _ = this;
20642 _.queries = t0;
20643 _.span = t1;
20644 _.children = t2;
20645 _._node1$_children = t3;
20646 _._node1$_indexInParent = _._node1$_parent = null;
20647 _.isGroupEnd = false;
20648 },
20649 MediaRule$0(query, children, span) {
20650 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20651 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20652 return new A.MediaRule0(query, span, t1, t2);
20653 },
20654 MediaRule0: function MediaRule0(t0, t1, t2, t3) {
20655 var _ = this;
20656 _.query = t0;
20657 _.span = t1;
20658 _.children = t2;
20659 _.hasDeclarations = t3;
20660 },
20661 MergedExtension_merge0(left, right) {
20662 var t4, t5, t6,
20663 t1 = left.extender,
20664 t2 = t1.selector,
20665 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
20666 if (!t3 || !left.target.$eq(0, right.target))
20667 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
20668 t3 = left.mediaContext;
20669 t4 = t3 == null;
20670 if (!t4) {
20671 t5 = right.mediaContext;
20672 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
20673 } else
20674 t5 = false;
20675 if (t5)
20676 throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
20677 if (right.isOptional && right.mediaContext == null)
20678 return left;
20679 if (left.isOptional && t4)
20680 return right;
20681 t5 = left.target;
20682 t6 = left.span;
20683 if (t4)
20684 t3 = right.mediaContext;
20685 t2.get$maxSpecificity();
20686 t1 = new A.Extender0(t2, false, t1.span);
20687 return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
20688 },
20689 MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
20690 var _ = this;
20691 _.left = t0;
20692 _.right = t1;
20693 _.extender = t2;
20694 _.target = t3;
20695 _.mediaContext = t4;
20696 _.isOptional = t5;
20697 _.span = t6;
20698 },
20699 MergedMapView$0(maps, $K, $V) {
20700 var t1 = $K._eval$1("@<0>")._bind$1($V);
20701 t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
20702 t1.MergedMapView$10(maps, $K, $V);
20703 return t1;
20704 },
20705 MergedMapView0: function MergedMapView0(t0, t1) {
20706 this._merged_map_view$_mapsByKey = t0;
20707 this.$ti = t1;
20708 },
20709 _function12($name, $arguments, callback) {
20710 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
20711 },
20712 global_closure57: function global_closure57() {
20713 },
20714 global_closure58: function global_closure58() {
20715 },
20716 global_closure59: function global_closure59() {
20717 },
20718 global_closure60: function global_closure60() {
20719 },
20720 local_closure1: function local_closure1() {
20721 },
20722 local_closure2: function local_closure2() {
20723 },
20724 local__closure0: function local__closure0() {
20725 },
20726 MixinRule$0($name, $arguments, children, span, comment) {
20727 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20728 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20729 return new A.MixinRule0($name, $arguments, span, t1, t2);
20730 },
20731 MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
20732 var _ = this;
20733 _._mixin_rule$__MixinRule_hasContent = $;
20734 _.name = t0;
20735 _.$arguments = t1;
20736 _.span = t2;
20737 _.children = t3;
20738 _.hasDeclarations = t4;
20739 },
20740 _HasContentVisitor0: function _HasContentVisitor0() {
20741 },
20742 ExtendMode0: function ExtendMode0(t0) {
20743 this.name = t0;
20744 },
20745 SupportsNegation0: function SupportsNegation0(t0, t1) {
20746 this.condition = t0;
20747 this.span = t1;
20748 },
20749 NoOpImporter: function NoOpImporter() {
20750 },
20751 NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
20752 this._no_source_map_buffer0$_buffer = t0;
20753 },
20754 AstNode0: function AstNode0() {
20755 },
20756 _FakeAstNode0: function _FakeAstNode0(t0) {
20757 this._node2$_callback = t0;
20758 },
20759 CssNode0: function CssNode0() {
20760 },
20761 CssParentNode0: function CssParentNode0() {
20762 },
20763 readFile0(path) {
20764 var sourceFile, t1, i,
20765 contents = A._asString(A._readFile0(path, "utf8"));
20766 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
20767 return contents;
20768 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
20769 for (t1 = contents.length, i = 0; i < t1; ++i) {
20770 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
20771 continue;
20772 throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
20773 }
20774 return contents;
20775 },
20776 _readFile0(path, encoding) {
20777 return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
20778 },
20779 fileExists0(path) {
20780 return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
20781 },
20782 dirExists0(path) {
20783 return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
20784 },
20785 listDir0(path) {
20786 return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
20787 },
20788 _systemErrorToFileSystemException0(callback) {
20789 var error, t1, exception, t2;
20790 try {
20791 t1 = callback.call$0();
20792 return t1;
20793 } catch (exception) {
20794 error = A.unwrapException(exception);
20795 if (!type$.JsSystemError._is(error))
20796 throw exception;
20797 t1 = error;
20798 t2 = J.getInterceptor$x(t1);
20799 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)));
20800 }
20801 },
20802 FileSystemException0: function FileSystemException0(t0, t1) {
20803 this.message = t0;
20804 this.path = t1;
20805 },
20806 Stderr0: function Stderr0(t0) {
20807 this._node0$_stderr = t0;
20808 },
20809 _readFile_closure0: function _readFile_closure0(t0, t1) {
20810 this.path = t0;
20811 this.encoding = t1;
20812 },
20813 fileExists_closure0: function fileExists_closure0(t0) {
20814 this.path = t0;
20815 },
20816 dirExists_closure0: function dirExists_closure0(t0) {
20817 this.path = t0;
20818 },
20819 listDir_closure0: function listDir_closure0(t0, t1) {
20820 this.recursive = t0;
20821 this.path = t1;
20822 },
20823 listDir__closure1: function listDir__closure1(t0) {
20824 this.path = t0;
20825 },
20826 listDir__closure2: function listDir__closure2() {
20827 },
20828 listDir_closure_list0: function listDir_closure_list0() {
20829 },
20830 listDir__list_closure0: function listDir__list_closure0(t0, t1) {
20831 this.parent = t0;
20832 this.list = t1;
20833 },
20834 ModifiableCssNode0: function ModifiableCssNode0() {
20835 },
20836 ModifiableCssParentNode0: function ModifiableCssParentNode0() {
20837 },
20838 main() {
20839 J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
20840 J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
20841 J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
20842 J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
20843 J.set$Value$x(self.exports, $.$get$valueClass());
20844 J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
20845 J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
20846 J.set$SassColor$x(self.exports, $.$get$colorClass());
20847 J.set$SassFunction$x(self.exports, $.$get$functionClass());
20848 J.set$SassList$x(self.exports, $.$get$listClass());
20849 J.set$SassMap$x(self.exports, $.$get$mapClass());
20850 J.set$SassNumber$x(self.exports, $.$get$numberClass());
20851 J.set$SassString$x(self.exports, $.$get$stringClass());
20852 J.set$sassNull$x(self.exports, B.C__SassNull0);
20853 J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
20854 J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20855 J.set$Exception$x(self.exports, $.$get$exceptionClass());
20856 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())}});
20857 J.set$info$x(self.exports, "dart-sass\t1.52.1\t(Sass Compiler)\t[Dart]\ndart2js\t2.17.1\t(Dart Compiler)\t[Dart]");
20858 A.updateSourceSpanPrototype();
20859 J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20860 J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
20861 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});
20862 J.set$NULL$x(self.exports, B.C__SassNull0);
20863 J.set$TRUE$x(self.exports, B.SassBoolean_true0);
20864 J.set$FALSE$x(self.exports, B.SassBoolean_false0);
20865 },
20866 main_closure0: function main_closure0() {
20867 },
20868 main_closure1: function main_closure1() {
20869 },
20870 NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
20871 this._node = t0;
20872 this._fallback = t1;
20873 this._ascii = t2;
20874 },
20875 NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
20876 var _ = this;
20877 _.$this = t0;
20878 _.message = t1;
20879 _.span = t2;
20880 _.trace = t3;
20881 _.deprecation = t4;
20882 },
20883 NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
20884 this.$this = t0;
20885 this.message = t1;
20886 this.span = t2;
20887 },
20888 NullExpression0: function NullExpression0(t0) {
20889 this.span = t0;
20890 },
20891 legacyNullClass_closure: function legacyNullClass_closure() {
20892 },
20893 legacyNullClass__closure: function legacyNullClass__closure() {
20894 },
20895 _SassNull0: function _SassNull0() {
20896 },
20897 NumberExpression0: function NumberExpression0(t0, t1, t2) {
20898 this.value = t0;
20899 this.unit = t1;
20900 this.span = t2;
20901 },
20902 _parseNumber(value, unit) {
20903 var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
20904 if (unit == null || unit.length === 0)
20905 return new A.UnitlessSassNumber0(value, null);
20906 if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
20907 return new A.SingleUnitSassNumber0(unit, value, null);
20908 invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
20909 operands = unit.split("/");
20910 t1 = operands.length;
20911 if (t1 > 2)
20912 throw A.wrapException(invalidUnit);
20913 numerator = operands[0];
20914 denominator = t1 === 1 ? null : operands[1];
20915 t1 = type$.JSArray_String;
20916 numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
20917 if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
20918 throw A.wrapException(invalidUnit);
20919 denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
20920 if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
20921 throw A.wrapException(invalidUnit);
20922 return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
20923 },
20924 _NodeSassNumber: function _NodeSassNumber() {
20925 },
20926 legacyNumberClass_closure: function legacyNumberClass_closure() {
20927 },
20928 legacyNumberClass_closure0: function legacyNumberClass_closure0() {
20929 },
20930 legacyNumberClass_closure1: function legacyNumberClass_closure1() {
20931 },
20932 legacyNumberClass_closure2: function legacyNumberClass_closure2() {
20933 },
20934 legacyNumberClass_closure3: function legacyNumberClass_closure3() {
20935 },
20936 _parseNumber_closure: function _parseNumber_closure() {
20937 },
20938 _parseNumber_closure0: function _parseNumber_closure0() {
20939 },
20940 numberClass_closure: function numberClass_closure() {
20941 },
20942 numberClass__closure: function numberClass__closure() {
20943 },
20944 numberClass__closure0: function numberClass__closure0() {
20945 },
20946 numberClass__closure1: function numberClass__closure1() {
20947 },
20948 numberClass__closure2: function numberClass__closure2() {
20949 },
20950 numberClass__closure3: function numberClass__closure3() {
20951 },
20952 numberClass__closure4: function numberClass__closure4() {
20953 },
20954 numberClass__closure5: function numberClass__closure5() {
20955 },
20956 numberClass__closure6: function numberClass__closure6() {
20957 },
20958 numberClass__closure7: function numberClass__closure7() {
20959 },
20960 numberClass__closure8: function numberClass__closure8() {
20961 },
20962 numberClass__closure9: function numberClass__closure9() {
20963 },
20964 numberClass__closure10: function numberClass__closure10() {
20965 },
20966 numberClass__closure11: function numberClass__closure11() {
20967 },
20968 numberClass__closure12: function numberClass__closure12() {
20969 },
20970 numberClass__closure13: function numberClass__closure13() {
20971 },
20972 numberClass__closure14: function numberClass__closure14() {
20973 },
20974 numberClass__closure15: function numberClass__closure15() {
20975 },
20976 numberClass__closure16: function numberClass__closure16() {
20977 },
20978 numberClass__closure17: function numberClass__closure17() {
20979 },
20980 numberClass__closure18: function numberClass__closure18() {
20981 },
20982 numberClass__closure19: function numberClass__closure19() {
20983 },
20984 _ConstructorOptions0: function _ConstructorOptions0() {
20985 },
20986 conversionFactor0(unit1, unit2) {
20987 var innerMap;
20988 if (unit1 === unit2)
20989 return 1;
20990 innerMap = B.Map_K2BWj.$index(0, unit1);
20991 if (innerMap == null)
20992 return null;
20993 return innerMap.$index(0, unit2);
20994 },
20995 SassNumber_SassNumber0(value, unit) {
20996 return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
20997 },
20998 SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
20999 var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, _i, denominator, simplifiedAway, i, factor, _null = null;
21000 if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
21001 if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
21002 return new A.UnitlessSassNumber0(value, _null);
21003 else {
21004 t1 = J.getInterceptor$asx(numeratorUnits);
21005 if (t1.get$length(numeratorUnits) === 1)
21006 return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
21007 else
21008 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
21009 }
21010 else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
21011 return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
21012 else {
21013 t1 = J.getInterceptor$ax(numeratorUnits);
21014 numerators = t1.toList$0(numeratorUnits);
21015 t2 = J.getInterceptor$ax(denominatorUnits);
21016 unsimplifiedDenominators = t2.toList$0(denominatorUnits);
21017 denominators = A._setArrayType([], type$.JSArray_String);
21018 for (t3 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
21019 denominator = unsimplifiedDenominators[_i];
21020 i = 0;
21021 while (true) {
21022 if (!(i < numerators.length)) {
21023 simplifiedAway = false;
21024 break;
21025 }
21026 c$0: {
21027 factor = A.conversionFactor0(denominator, numerators[i]);
21028 if (factor == null)
21029 break c$0;
21030 value *= factor;
21031 B.JSArray_methods.removeAt$1(numerators, i);
21032 simplifiedAway = true;
21033 break;
21034 }
21035 ++i;
21036 }
21037 if (!simplifiedAway)
21038 denominators.push(denominator);
21039 }
21040 if (t2.get$isEmpty(denominatorUnits))
21041 if (t1.get$isEmpty(numeratorUnits))
21042 return new A.UnitlessSassNumber0(value, _null);
21043 else if (t1.get$length(numeratorUnits) === 1)
21044 return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), value, _null);
21045 t1 = type$.String;
21046 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
21047 }
21048 },
21049 SassNumber0: function SassNumber0() {
21050 },
21051 SassNumber__coerceOrConvertValue__compatibilityException0: function SassNumber__coerceOrConvertValue__compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
21052 var _ = this;
21053 _.$this = t0;
21054 _.other = t1;
21055 _.otherName = t2;
21056 _.otherHasUnits = t3;
21057 _.name = t4;
21058 _.newNumerators = t5;
21059 _.newDenominators = t6;
21060 },
21061 SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
21062 this._box_0 = t0;
21063 this.newNumerator = t1;
21064 },
21065 SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
21066 this._compatibilityException = t0;
21067 },
21068 SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
21069 this._box_0 = t0;
21070 this.newDenominator = t1;
21071 },
21072 SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
21073 this._compatibilityException = t0;
21074 },
21075 SassNumber_plus_closure0: function SassNumber_plus_closure0() {
21076 },
21077 SassNumber_minus_closure0: function SassNumber_minus_closure0() {
21078 },
21079 SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
21080 this._box_0 = t0;
21081 this.numerator = t1;
21082 },
21083 SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
21084 this.newNumerators = t0;
21085 this.numerator = t1;
21086 },
21087 SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
21088 this._box_0 = t0;
21089 this.numerator = t1;
21090 },
21091 SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
21092 this.newNumerators = t0;
21093 this.numerator = t1;
21094 },
21095 SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
21096 this.units2 = t0;
21097 },
21098 SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
21099 },
21100 SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
21101 this.$this = t0;
21102 },
21103 SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
21104 var _ = this;
21105 _.left = t0;
21106 _.right = t1;
21107 _.operator = t2;
21108 _.span = t3;
21109 },
21110 ParentSelector0: function ParentSelector0(t0) {
21111 this.suffix = t0;
21112 },
21113 ParentStatement0: function ParentStatement0() {
21114 },
21115 ParentStatement_closure0: function ParentStatement_closure0() {
21116 },
21117 ParentStatement__closure0: function ParentStatement__closure0() {
21118 },
21119 ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
21120 this.expression = t0;
21121 this.span = t1;
21122 },
21123 Parser_isIdentifier0(text) {
21124 var t1, t2, exception, logger = null;
21125 try {
21126 t1 = logger;
21127 t2 = A.SpanScanner$(text, null);
21128 new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
21129 return true;
21130 } catch (exception) {
21131 if (A.unwrapException(exception) instanceof A.SassFormatException0)
21132 return false;
21133 else
21134 throw exception;
21135 }
21136 },
21137 Parser1: function Parser1(t0, t1) {
21138 this.scanner = t0;
21139 this.logger = t1;
21140 },
21141 Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
21142 this.$this = t0;
21143 },
21144 Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
21145 this.caseSensitive = t0;
21146 this.char = t1;
21147 },
21148 PlaceholderSelector0: function PlaceholderSelector0(t0) {
21149 this.name = t0;
21150 },
21151 PlainCssCallable0: function PlainCssCallable0(t0) {
21152 this.name = t0;
21153 },
21154 PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
21155 this._prefixed_map_view0$_map = t0;
21156 this._prefixed_map_view0$_prefix = t1;
21157 this.$ti = t2;
21158 },
21159 _PrefixedKeys0: function _PrefixedKeys0(t0) {
21160 this._prefixed_map_view0$_view = t0;
21161 },
21162 _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
21163 this.$this = t0;
21164 },
21165 PseudoSelector$0($name, argument, element, selector) {
21166 var t1 = !element,
21167 t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
21168 return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
21169 },
21170 PseudoSelector__isFakePseudoElement0($name) {
21171 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
21172 case 97:
21173 case 65:
21174 return A.equalsIgnoreCase0($name, "after");
21175 case 98:
21176 case 66:
21177 return A.equalsIgnoreCase0($name, "before");
21178 case 102:
21179 case 70:
21180 return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
21181 default:
21182 return false;
21183 }
21184 },
21185 PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
21186 var _ = this;
21187 _.name = t0;
21188 _.normalizedName = t1;
21189 _.isClass = t2;
21190 _.isSyntacticClass = t3;
21191 _.argument = t4;
21192 _.selector = t5;
21193 _._pseudo0$_maxSpecificity = _._pseudo0$_minSpecificity = null;
21194 },
21195 PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
21196 },
21197 PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
21198 this._public_member_map_view0$_inner = t0;
21199 this.$ti = t1;
21200 },
21201 QualifiedName0: function QualifiedName0(t0, t1) {
21202 this.name = t0;
21203 this.namespace = t1;
21204 },
21205 createJSClass($name, $constructor) {
21206 return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
21207 },
21208 JSClassExtension_injectSuperclass(_this, superclass) {
21209 var t1 = J.getInterceptor$x(superclass),
21210 t2 = J.getInterceptor$x(_this);
21211 self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
21212 self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
21213 },
21214 JSClassExtension_setCustomInspect(_this, inspect) {
21215 J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
21216 },
21217 JSClassExtension_get_defineMethod(_this) {
21218 return new A.JSClassExtension_get_defineMethod_closure(_this);
21219 },
21220 JSClassExtension_defineMethods(_this, methods) {
21221 methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
21222 },
21223 JSClassExtension_get_defineGetter(_this) {
21224 return new A.JSClassExtension_get_defineGetter_closure(_this);
21225 },
21226 JSClass0: function JSClass0() {
21227 },
21228 JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
21229 this.inspect = t0;
21230 },
21231 JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
21232 this._this = t0;
21233 },
21234 JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
21235 this._this = t0;
21236 },
21237 RenderContext0: function RenderContext0() {
21238 },
21239 RenderContextOptions0: function RenderContextOptions0() {
21240 },
21241 RenderContextResult0: function RenderContextResult0() {
21242 },
21243 RenderContextResultStats0: function RenderContextResultStats0() {
21244 },
21245 RenderOptions: function RenderOptions() {
21246 },
21247 RenderResult: function RenderResult() {
21248 },
21249 RenderResultStats: function RenderResultStats() {
21250 },
21251 ImporterResult$(contents, sourceMapUrl, syntax) {
21252 var t2,
21253 t1 = syntax == null;
21254 if (t1)
21255 t2 = B.Syntax_SCSS0;
21256 else
21257 t2 = syntax;
21258 if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
21259 A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
21260 else if (t1 && true)
21261 A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
21262 return new A.ImporterResult0(contents, sourceMapUrl, t2);
21263 },
21264 ImporterResult0: function ImporterResult0(t0, t1, t2) {
21265 this.contents = t0;
21266 this._result$_sourceMapUrl = t1;
21267 this.syntax = t2;
21268 },
21269 ReturnRule0: function ReturnRule0(t0, t1) {
21270 this.expression = t0;
21271 this.span = t1;
21272 },
21273 main0(args) {
21274 return A.main$body(args);
21275 },
21276 main$body(args) {
21277 var $async$goto = 0,
21278 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
21279 $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;
21280 var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21281 if ($async$errorCode === 1) {
21282 $async$currentError = $async$result;
21283 $async$goto = $async$handler;
21284 }
21285 while (true)
21286 switch ($async$goto) {
21287 case 0:
21288 // Function start
21289 _box_0 = {};
21290 _box_0.printedError = false;
21291 printError = new A.main_printError(_box_0);
21292 _box_0.options = null;
21293 $async$handler = 4;
21294 options = A.ExecutableOptions_ExecutableOptions$parse(args);
21295 _box_0.options = options;
21296 t1 = options._options;
21297 $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
21298 $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
21299 break;
21300 case 7:
21301 // then
21302 $async$temp1 = A;
21303 $async$goto = 9;
21304 return A._asyncAwait(A._loadVersion(), $async$main0);
21305 case 9:
21306 // returning from await.
21307 $async$temp1.print($async$result);
21308 J.set$exitCode$x(self.process, 0);
21309 // goto return
21310 $async$goto = 1;
21311 break;
21312 case 8:
21313 // join
21314 $async$goto = _box_0.options.get$interactive() ? 10 : 11;
21315 break;
21316 case 10:
21317 // then
21318 $async$goto = 12;
21319 return A._asyncAwait(A.repl(_box_0.options), $async$main0);
21320 case 12:
21321 // returning from await.
21322 // goto return
21323 $async$goto = 1;
21324 break;
21325 case 11:
21326 // join
21327 t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
21328 t2 = _box_0.options;
21329 t3 = type$.Uri;
21330 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));
21331 $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
21332 break;
21333 case 13:
21334 // then
21335 $async$goto = 15;
21336 return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
21337 case 15:
21338 // returning from await.
21339 // goto return
21340 $async$goto = 1;
21341 break;
21342 case 14:
21343 // join
21344 t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
21345 case 16:
21346 // for condition
21347 if (!t1.moveNext$0()) {
21348 // goto after for
21349 $async$goto = 17;
21350 break;
21351 }
21352 source = t1.get$current(t1);
21353 t2 = _box_0.options;
21354 t2._ensureSources$0();
21355 destination = t2._sourcesToDestinations.$index(0, source);
21356 $async$handler = 19;
21357 t2 = _box_0.options;
21358 $async$goto = 22;
21359 return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
21360 case 22:
21361 // returning from await.
21362 $async$handler = 4;
21363 // goto after finally
21364 $async$goto = 21;
21365 break;
21366 case 19:
21367 // catch
21368 $async$handler = 18;
21369 $async$exception = $async$currentError;
21370 t2 = A.unwrapException($async$exception);
21371 if (t2 instanceof A.SassException) {
21372 error = t2;
21373 stackTrace = A.getTraceFromException($async$exception);
21374 new A.main_closure(_box_0, destination).call$0();
21375 t2 = _box_0.options._options;
21376 if (!t2._parser.options._map.containsKey$1("color"))
21377 A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
21378 t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
21379 t2 = J.toString$1$color$(error, t2);
21380 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21381 t3 = error;
21382 t4 = typeof t3 == "string";
21383 if (t4 || typeof t3 == "number" || A._isBool(t3))
21384 t3 = null;
21385 else {
21386 t5 = $.$get$_traces();
21387 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21388 if (t4)
21389 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21390 t3 = t5._jsWeakMap.get(t3);
21391 }
21392 if (t3 == null)
21393 t3 = stackTrace;
21394 } else
21395 t3 = null;
21396 printError.call$2(t2, t3);
21397 if (J.get$exitCode$x(self.process) !== 66)
21398 J.set$exitCode$x(self.process, 65);
21399 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21400 // goto return
21401 $async$goto = 1;
21402 break;
21403 }
21404 } else if (t2 instanceof A.FileSystemException) {
21405 error0 = t2;
21406 stackTrace0 = A.getTraceFromException($async$exception);
21407 path = error0.path;
21408 t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
21409 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21410 t3 = error0;
21411 t4 = typeof t3 == "string";
21412 if (t4 || typeof t3 == "number" || A._isBool(t3))
21413 t3 = null;
21414 else {
21415 t5 = $.$get$_traces();
21416 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21417 if (t4)
21418 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21419 t3 = t5._jsWeakMap.get(t3);
21420 }
21421 if (t3 == null)
21422 t3 = stackTrace0;
21423 } else
21424 t3 = null;
21425 printError.call$2(t2, t3);
21426 J.set$exitCode$x(self.process, 66);
21427 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21428 // goto return
21429 $async$goto = 1;
21430 break;
21431 }
21432 } else
21433 throw $async$exception;
21434 // goto after finally
21435 $async$goto = 21;
21436 break;
21437 case 18:
21438 // uncaught
21439 // goto catch
21440 $async$goto = 4;
21441 break;
21442 case 21:
21443 // after finally
21444 // goto for condition
21445 $async$goto = 16;
21446 break;
21447 case 17:
21448 // after for
21449 $async$handler = 2;
21450 // goto after finally
21451 $async$goto = 6;
21452 break;
21453 case 4:
21454 // catch
21455 $async$handler = 3;
21456 $async$exception1 = $async$currentError;
21457 t1 = A.unwrapException($async$exception1);
21458 if (t1 instanceof A.UsageException) {
21459 error1 = t1;
21460 A.print(error1.message + "\n");
21461 A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
21462 t1 = $.$get$ExecutableOptions__parser();
21463 A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
21464 J.set$exitCode$x(self.process, 64);
21465 } else {
21466 error2 = t1;
21467 stackTrace1 = A.getTraceFromException($async$exception1);
21468 buffer = new A.StringBuffer("");
21469 t1 = _box_0.options;
21470 if (t1 != null && t1.get$color())
21471 buffer._contents += "\x1b[31m\x1b[1m";
21472 buffer._contents += "Unexpected exception:";
21473 t1 = _box_0.options;
21474 if (t1 != null && t1.get$color())
21475 buffer._contents += "\x1b[0m";
21476 buffer._contents += "\n";
21477 buffer._contents += A.S(error2) + "\n";
21478 t1 = buffer._contents;
21479 t2 = A.getTrace(error2);
21480 if (t2 == null)
21481 t2 = stackTrace1;
21482 printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
21483 J.set$exitCode$x(self.process, 255);
21484 }
21485 // goto after finally
21486 $async$goto = 6;
21487 break;
21488 case 3:
21489 // uncaught
21490 // goto rethrow
21491 $async$goto = 2;
21492 break;
21493 case 6:
21494 // after finally
21495 case 1:
21496 // return
21497 return A._asyncReturn($async$returnValue, $async$completer);
21498 case 2:
21499 // rethrow
21500 return A._asyncRethrow($async$currentError, $async$completer);
21501 }
21502 });
21503 return A._asyncStartSync($async$main0, $async$completer);
21504 },
21505 _loadVersion() {
21506 var $async$goto = 0,
21507 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
21508 $async$returnValue;
21509 var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21510 if ($async$errorCode === 1)
21511 return A._asyncRethrow($async$result, $async$completer);
21512 while (true)
21513 switch ($async$goto) {
21514 case 0:
21515 // Function start
21516 $async$returnValue = "1.52.1 compiled with dart2js 2.17.1";
21517 // goto return
21518 $async$goto = 1;
21519 break;
21520 case 1:
21521 // return
21522 return A._asyncReturn($async$returnValue, $async$completer);
21523 }
21524 });
21525 return A._asyncStartSync($async$_loadVersion, $async$completer);
21526 },
21527 main_printError: function main_printError(t0) {
21528 this._box_0 = t0;
21529 },
21530 main_closure: function main_closure(t0, t1) {
21531 this._box_0 = t0;
21532 this.destination = t1;
21533 },
21534 SassParser0: function SassParser0(t0, t1, t2) {
21535 var _ = this;
21536 _._sass0$_currentIndentation = 0;
21537 _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
21538 _._stylesheet0$_isUseAllowed = true;
21539 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21540 _._stylesheet0$_globalVariables = t0;
21541 _.lastSilentComment = null;
21542 _.scanner = t1;
21543 _.logger = t2;
21544 },
21545 SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
21546 this.$this = t0;
21547 this.child = t1;
21548 this.children = t2;
21549 },
21550 _translateReturnValue(val) {
21551 if (type$.Future_dynamic._is(val))
21552 return A.futureToPromise(val, type$.dynamic);
21553 else
21554 return val;
21555 },
21556 main1() {
21557 new Uint8Array(0);
21558 A.main();
21559 J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
21560 },
21561 _wrapMain(main) {
21562 if (type$.dynamic_Function._is(main))
21563 return A.allowInterop(new A._wrapMain_closure(main));
21564 else
21565 return A.allowInterop(new A._wrapMain_closure0(main));
21566 },
21567 _Exports: function _Exports() {
21568 },
21569 _wrapMain_closure: function _wrapMain_closure(t0) {
21570 this.main = t0;
21571 },
21572 _wrapMain_closure0: function _wrapMain_closure0(t0) {
21573 this.main = t0;
21574 },
21575 ScssParser$0(contents, logger, url) {
21576 var t1 = A.SpanScanner$(contents, url),
21577 t2 = logger == null ? B.StderrLogger_false0 : logger;
21578 return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
21579 },
21580 ScssParser0: function ScssParser0(t0, t1, t2) {
21581 var _ = this;
21582 _._stylesheet0$_isUseAllowed = true;
21583 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21584 _._stylesheet0$_globalVariables = t0;
21585 _.lastSilentComment = null;
21586 _.scanner = t1;
21587 _.logger = t2;
21588 },
21589 Selector0: function Selector0() {
21590 },
21591 SelectorExpression0: function SelectorExpression0(t0) {
21592 this.span = t0;
21593 },
21594 _prependParent0(compound) {
21595 var t2, _null = null,
21596 t1 = compound.components,
21597 first = B.JSArray_methods.get$first(t1);
21598 if (first instanceof A.UniversalSelector0)
21599 return _null;
21600 if (first instanceof A.TypeSelector0) {
21601 t2 = first.name;
21602 if (t2.namespace != null)
21603 return _null;
21604 t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
21605 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
21606 return A.CompoundSelector$0(t2);
21607 } else {
21608 t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
21609 B.JSArray_methods.addAll$1(t2, t1);
21610 return A.CompoundSelector$0(t2);
21611 }
21612 },
21613 _function7($name, $arguments, callback) {
21614 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
21615 },
21616 _nest_closure0: function _nest_closure0() {
21617 },
21618 _nest__closure1: function _nest__closure1(t0) {
21619 this._box_0 = t0;
21620 },
21621 _nest__closure2: function _nest__closure2() {
21622 },
21623 _append_closure1: function _append_closure1() {
21624 },
21625 _append__closure1: function _append__closure1() {
21626 },
21627 _append__closure2: function _append__closure2() {
21628 },
21629 _append___closure0: function _append___closure0(t0) {
21630 this.parent = t0;
21631 },
21632 _extend_closure0: function _extend_closure0() {
21633 },
21634 _replace_closure0: function _replace_closure0() {
21635 },
21636 _unify_closure0: function _unify_closure0() {
21637 },
21638 _isSuperselector_closure0: function _isSuperselector_closure0() {
21639 },
21640 _simpleSelectors_closure0: function _simpleSelectors_closure0() {
21641 },
21642 _simpleSelectors__closure0: function _simpleSelectors__closure0() {
21643 },
21644 _parse_closure0: function _parse_closure0() {
21645 },
21646 SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
21647 var t1 = A.SpanScanner$(contents, url);
21648 return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
21649 },
21650 SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
21651 var _ = this;
21652 _._selector$_allowParent = t0;
21653 _._selector$_allowPlaceholder = t1;
21654 _.scanner = t2;
21655 _.logger = t3;
21656 },
21657 SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
21658 this.$this = t0;
21659 },
21660 SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
21661 this.$this = t0;
21662 },
21663 serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
21664 var t1, css, t2, prefix,
21665 visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
21666 node.accept$1(visitor);
21667 t1 = visitor._serialize0$_buffer;
21668 css = t1.toString$0(0);
21669 if (charset) {
21670 t2 = new A.CodeUnits(css);
21671 t2 = t2.any$1(t2, new A.serialize_closure0());
21672 } else
21673 t2 = false;
21674 if (t2)
21675 prefix = style === B.OutputStyle_compressed0 ? "\ufeff" : '@charset "UTF-8";\n';
21676 else
21677 prefix = "";
21678 t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
21679 return new A.SerializeResult0(prefix + css, t1);
21680 },
21681 serializeValue0(value, inspect, quote) {
21682 var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
21683 value.accept$1(visitor);
21684 return visitor._serialize0$_buffer.toString$0(0);
21685 },
21686 serializeSelector0(selector, inspect) {
21687 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
21688 selector.accept$1(visitor);
21689 return visitor._serialize0$_buffer.toString$0(0);
21690 },
21691 _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
21692 var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
21693 t2 = style == null ? B.OutputStyle_expanded0 : style,
21694 t3 = useSpaces ? 32 : 9,
21695 t4 = indentWidth == null ? 2 : indentWidth,
21696 t5 = lineFeed == null ? B.LineFeed_D6m : lineFeed;
21697 A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
21698 return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
21699 },
21700 serialize_closure0: function serialize_closure0() {
21701 },
21702 _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
21703 var _ = this;
21704 _._serialize0$_buffer = t0;
21705 _._serialize0$_indentation = 0;
21706 _._serialize0$_style = t1;
21707 _._serialize0$_inspect = t2;
21708 _._serialize0$_quote = t3;
21709 _._serialize0$_indentCharacter = t4;
21710 _._serialize0$_indentWidth = t5;
21711 _._lineFeed = t6;
21712 },
21713 _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
21714 this.$this = t0;
21715 this.node = t1;
21716 },
21717 _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
21718 this.$this = t0;
21719 this.node = t1;
21720 },
21721 _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
21722 this.$this = t0;
21723 this.node = t1;
21724 },
21725 _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
21726 this.$this = t0;
21727 this.node = t1;
21728 },
21729 _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
21730 this.$this = t0;
21731 this.node = t1;
21732 },
21733 _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
21734 this.$this = t0;
21735 this.node = t1;
21736 },
21737 _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
21738 this.$this = t0;
21739 this.node = t1;
21740 },
21741 _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
21742 this.$this = t0;
21743 this.node = t1;
21744 },
21745 _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
21746 this.$this = t0;
21747 this.node = t1;
21748 },
21749 _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
21750 this.$this = t0;
21751 this.node = t1;
21752 },
21753 _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
21754 },
21755 _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
21756 this.$this = t0;
21757 this.value = t1;
21758 },
21759 _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
21760 this.$this = t0;
21761 },
21762 _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
21763 this.$this = t0;
21764 },
21765 _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
21766 },
21767 _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
21768 this.$this = t0;
21769 this.value = t1;
21770 },
21771 _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1, t2) {
21772 this._box_0 = t0;
21773 this.$this = t1;
21774 this.children = t2;
21775 },
21776 OutputStyle0: function OutputStyle0(t0) {
21777 this._serialize0$_name = t0;
21778 },
21779 LineFeed0: function LineFeed0(t0, t1) {
21780 this.name = t0;
21781 this.text = t1;
21782 },
21783 SerializeResult0: function SerializeResult0(t0, t1) {
21784 this.css = t0;
21785 this.sourceMap = t1;
21786 },
21787 ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
21788 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;
21789 },
21790 ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
21791 var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
21792 return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
21793 },
21794 ShadowedModuleView__needsBlocklist0(map, blocklist) {
21795 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
21796 return t1;
21797 },
21798 ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
21799 var _ = this;
21800 _._shadowed_view0$_inner = t0;
21801 _.variables = t1;
21802 _.variableNodes = t2;
21803 _.functions = t3;
21804 _.mixins = t4;
21805 _.$ti = t5;
21806 },
21807 SilentComment0: function SilentComment0(t0, t1) {
21808 this.text = t0;
21809 this.span = t1;
21810 },
21811 SimpleSelector0: function SimpleSelector0() {
21812 },
21813 SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
21814 var _ = this;
21815 _._single_unit$_unit = t0;
21816 _._number1$_value = t1;
21817 _.hashCache = null;
21818 _.asSlash = t2;
21819 },
21820 SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
21821 this.$this = t0;
21822 this.unit = t1;
21823 },
21824 SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
21825 this.$this = t0;
21826 },
21827 SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
21828 this._box_0 = t0;
21829 this.$this = t1;
21830 },
21831 SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
21832 this._box_0 = t0;
21833 this.$this = t1;
21834 },
21835 SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
21836 var _ = this;
21837 _._source_map_buffer0$_buffer = t0;
21838 _._source_map_buffer0$_entries = t1;
21839 _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
21840 _._source_map_buffer0$_inSpan = false;
21841 },
21842 SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
21843 this._box_0 = t0;
21844 this.prefixLength = t1;
21845 },
21846 updateSourceSpanPrototype() {
21847 var span = A.SourceFile$fromString("", null).span$1(0, 0),
21848 t1 = type$.JSClass,
21849 t2 = t1._as(span.constructor),
21850 t3 = type$.String,
21851 t4 = type$.Function;
21852 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));
21853 t1 = t1._as(A.FileLocation$_(span.file, span._file$_start).constructor);
21854 A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
21855 },
21856 updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
21857 },
21858 updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
21859 },
21860 updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
21861 },
21862 updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
21863 },
21864 updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
21865 },
21866 updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
21867 },
21868 updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
21869 },
21870 _IterableExtension__search0(_this, callback) {
21871 var t1, value;
21872 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
21873 value = callback.call$1(t1.get$current(t1));
21874 if (value != null)
21875 return value;
21876 }
21877 return null;
21878 },
21879 StatementSearchVisitor0: function StatementSearchVisitor0() {
21880 },
21881 StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
21882 this.$this = t0;
21883 },
21884 StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
21885 this.$this = t0;
21886 },
21887 StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
21888 this.$this = t0;
21889 },
21890 StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
21891 this.$this = t0;
21892 },
21893 StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
21894 this.$this = t0;
21895 },
21896 StaticImport0: function StaticImport0(t0, t1, t2) {
21897 this.url = t0;
21898 this.modifiers = t1;
21899 this.span = t2;
21900 },
21901 StderrLogger0: function StderrLogger0(t0) {
21902 this.color = t0;
21903 },
21904 StringExpression_quoteText0(text) {
21905 var t1,
21906 quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
21907 buffer = new A.StringBuffer("");
21908 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
21909 A.StringExpression__quoteInnerText0(text, quote, buffer, true);
21910 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
21911 return t1.charCodeAt(0) == 0 ? t1 : t1;
21912 },
21913 StringExpression__quoteInnerText0(text, quote, buffer, $static) {
21914 var t1, t2, i, codeUnit, next, t3;
21915 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
21916 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
21917 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
21918 buffer.writeCharCode$1(92);
21919 buffer.writeCharCode$1(97);
21920 if (i !== t2) {
21921 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
21922 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
21923 buffer.writeCharCode$1(32);
21924 }
21925 } else {
21926 if (codeUnit !== quote)
21927 if (codeUnit !== 92)
21928 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
21929 else
21930 t3 = true;
21931 else
21932 t3 = true;
21933 if (t3)
21934 buffer.writeCharCode$1(92);
21935 buffer.writeCharCode$1(codeUnit);
21936 }
21937 }
21938 },
21939 StringExpression__bestQuote0(strings) {
21940 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
21941 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
21942 t2 = t1.get$current(t1);
21943 for (t3 = t2.length, i = 0; i < t3; ++i) {
21944 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
21945 if (codeUnit === 39)
21946 return 34;
21947 if (codeUnit === 34)
21948 containsDoubleQuote = true;
21949 }
21950 }
21951 return containsDoubleQuote ? 39 : 34;
21952 },
21953 StringExpression0: function StringExpression0(t0, t1) {
21954 this.text = t0;
21955 this.hasQuotes = t1;
21956 },
21957 _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
21958 var result;
21959 if (index === 0)
21960 return 0;
21961 if (index > 0)
21962 return Math.min(index - 1, lengthInCodepoints);
21963 result = lengthInCodepoints + index;
21964 if (result < 0 && !allowNegative)
21965 return 0;
21966 return result;
21967 },
21968 _function6($name, $arguments, callback) {
21969 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
21970 },
21971 _unquote_closure0: function _unquote_closure0() {
21972 },
21973 _quote_closure0: function _quote_closure0() {
21974 },
21975 _length_closure1: function _length_closure1() {
21976 },
21977 _insert_closure0: function _insert_closure0() {
21978 },
21979 _index_closure1: function _index_closure1() {
21980 },
21981 _slice_closure0: function _slice_closure0() {
21982 },
21983 _toUpperCase_closure0: function _toUpperCase_closure0() {
21984 },
21985 _toLowerCase_closure0: function _toLowerCase_closure0() {
21986 },
21987 _uniqueId_closure0: function _uniqueId_closure0() {
21988 },
21989 _NodeSassString: function _NodeSassString() {
21990 },
21991 legacyStringClass_closure: function legacyStringClass_closure() {
21992 },
21993 legacyStringClass_closure0: function legacyStringClass_closure0() {
21994 },
21995 legacyStringClass_closure1: function legacyStringClass_closure1() {
21996 },
21997 stringClass_closure: function stringClass_closure() {
21998 },
21999 stringClass__closure: function stringClass__closure() {
22000 },
22001 stringClass__closure0: function stringClass__closure0() {
22002 },
22003 stringClass__closure1: function stringClass__closure1() {
22004 },
22005 stringClass__closure2: function stringClass__closure2() {
22006 },
22007 stringClass__closure3: function stringClass__closure3() {
22008 },
22009 _ConstructorOptions1: function _ConstructorOptions1() {
22010 },
22011 SassString$0(_text, quotes) {
22012 return new A.SassString0(_text, quotes);
22013 },
22014 SassString0: function SassString0(t0, t1) {
22015 var _ = this;
22016 _._string0$_text = t0;
22017 _._string0$_hasQuotes = t1;
22018 _._string0$__SassString__sassLength = $;
22019 _._string0$_hashCache = null;
22020 },
22021 ModifiableCssStyleRule$0(selector, span, originalSelector) {
22022 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22023 return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22024 },
22025 ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
22026 var _ = this;
22027 _.selector = t0;
22028 _.originalSelector = t1;
22029 _.span = t2;
22030 _.children = t3;
22031 _._node1$_children = t4;
22032 _._node1$_indexInParent = _._node1$_parent = null;
22033 _.isGroupEnd = false;
22034 },
22035 StyleRule$0(selector, children, span) {
22036 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22037 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22038 return new A.StyleRule0(selector, span, t1, t2);
22039 },
22040 StyleRule0: function StyleRule0(t0, t1, t2, t3) {
22041 var _ = this;
22042 _.selector = t0;
22043 _.span = t1;
22044 _.children = t2;
22045 _.hasDeclarations = t3;
22046 },
22047 CssStylesheet0: function CssStylesheet0(t0, t1) {
22048 this.children = t0;
22049 this.span = t1;
22050 },
22051 ModifiableCssStylesheet$0(span) {
22052 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22053 return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22054 },
22055 ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
22056 var _ = this;
22057 _.span = t0;
22058 _.children = t1;
22059 _._node1$_children = t2;
22060 _._node1$_indexInParent = _._node1$_parent = null;
22061 _.isGroupEnd = false;
22062 },
22063 StylesheetParser0: function StylesheetParser0() {
22064 },
22065 StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
22066 this.$this = t0;
22067 },
22068 StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
22069 this.$this = t0;
22070 },
22071 StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
22072 },
22073 StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
22074 this.$this = t0;
22075 },
22076 StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
22077 this.$this = t0;
22078 this.production = t1;
22079 this.T = t2;
22080 },
22081 StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
22082 this.$this = t0;
22083 this.requireParens = t1;
22084 },
22085 StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
22086 this.$this = t0;
22087 },
22088 StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
22089 this.$this = t0;
22090 this.start = t1;
22091 },
22092 StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
22093 this.declaration = t0;
22094 },
22095 StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
22096 this.name = t0;
22097 },
22098 StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
22099 this._box_0 = t0;
22100 this.name = t1;
22101 },
22102 StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
22103 var _ = this;
22104 _._box_0 = t0;
22105 _.$this = t1;
22106 _.wasInStyleRule = t2;
22107 _.start = t3;
22108 },
22109 StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
22110 this._box_0 = t0;
22111 },
22112 StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
22113 this._box_0 = t0;
22114 this.value = t1;
22115 },
22116 StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
22117 this.query = t0;
22118 },
22119 StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
22120 },
22121 StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
22122 var _ = this;
22123 _.$this = t0;
22124 _.wasInControlDirective = t1;
22125 _.variables = t2;
22126 _.list = t3;
22127 },
22128 StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
22129 this.name = t0;
22130 this.$arguments = t1;
22131 this.precedingComment = t2;
22132 },
22133 StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
22134 this._box_0 = t0;
22135 this.$this = t1;
22136 },
22137 StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
22138 var _ = this;
22139 _._box_0 = t0;
22140 _.$this = t1;
22141 _.wasInControlDirective = t2;
22142 _.variable = t3;
22143 _.from = t4;
22144 _.to = t5;
22145 },
22146 StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
22147 this.$this = t0;
22148 this.variables = t1;
22149 this.identifiers = t2;
22150 },
22151 StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
22152 this.contentArguments_ = t0;
22153 },
22154 StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
22155 this.query = t0;
22156 },
22157 StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
22158 var _ = this;
22159 _.$this = t0;
22160 _.name = t1;
22161 _.$arguments = t2;
22162 _.precedingComment = t3;
22163 },
22164 StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
22165 var _ = this;
22166 _._box_0 = t0;
22167 _.$this = t1;
22168 _.name = t2;
22169 _.value = t3;
22170 },
22171 StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
22172 this.condition = t0;
22173 },
22174 StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
22175 this.$this = t0;
22176 this.wasInControlDirective = t1;
22177 this.condition = t2;
22178 },
22179 StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
22180 this._box_0 = t0;
22181 this.name = t1;
22182 },
22183 StylesheetParser_expression_resetState0: function StylesheetParser_expression_resetState0(t0, t1, t2) {
22184 this._box_0 = t0;
22185 this.$this = t1;
22186 this.start = t2;
22187 },
22188 StylesheetParser_expression_resolveOneOperation0: function StylesheetParser_expression_resolveOneOperation0(t0, t1) {
22189 this._box_0 = t0;
22190 this.$this = t1;
22191 },
22192 StylesheetParser_expression_resolveOperations0: function StylesheetParser_expression_resolveOperations0(t0, t1) {
22193 this._box_0 = t0;
22194 this.resolveOneOperation = t1;
22195 },
22196 StylesheetParser_expression_addSingleExpression0: function StylesheetParser_expression_addSingleExpression0(t0, t1, t2, t3) {
22197 var _ = this;
22198 _._box_0 = t0;
22199 _.$this = t1;
22200 _.resetState = t2;
22201 _.resolveOperations = t3;
22202 },
22203 StylesheetParser_expression_addOperator0: function StylesheetParser_expression_addOperator0(t0, t1, t2) {
22204 this._box_0 = t0;
22205 this.$this = t1;
22206 this.resolveOneOperation = t2;
22207 },
22208 StylesheetParser_expression_resolveSpaceExpressions0: function StylesheetParser_expression_resolveSpaceExpressions0(t0, t1, t2) {
22209 this._box_0 = t0;
22210 this.$this = t1;
22211 this.resolveOperations = t2;
22212 },
22213 StylesheetParser__expressionUntilComma_closure0: function StylesheetParser__expressionUntilComma_closure0(t0) {
22214 this.$this = t0;
22215 },
22216 StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
22217 },
22218 StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
22219 },
22220 StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
22221 this.$this = t0;
22222 this.start = t1;
22223 },
22224 StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
22225 },
22226 StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
22227 this.$this = t0;
22228 },
22229 StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
22230 this.$this = t0;
22231 this.start = t1;
22232 },
22233 Stylesheet$internal0(children, span, plainCss) {
22234 var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
22235 t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
22236 t3 = A.List_List$unmodifiable(children, type$.Statement_2),
22237 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
22238 t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
22239 t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
22240 return t1;
22241 },
22242 Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
22243 var t1, t2;
22244 switch (syntax) {
22245 case B.Syntax_Sass0:
22246 t1 = A.SpanScanner$(contents, url);
22247 t2 = logger == null ? B.StderrLogger_false0 : logger;
22248 return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22249 case B.Syntax_SCSS0:
22250 return A.ScssParser$0(contents, logger, url).parse$0();
22251 case B.Syntax_CSS0:
22252 t1 = A.SpanScanner$(contents, url);
22253 t2 = logger == null ? B.StderrLogger_false0 : logger;
22254 return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22255 default:
22256 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
22257 }
22258 },
22259 Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
22260 var _ = this;
22261 _.span = t0;
22262 _.plainCss = t1;
22263 _._stylesheet1$_uses = t2;
22264 _._stylesheet1$_forwards = t3;
22265 _.children = t4;
22266 _.hasDeclarations = t5;
22267 },
22268 SupportsExpression0: function SupportsExpression0(t0) {
22269 this.condition = t0;
22270 },
22271 ModifiableCssSupportsRule$0(condition, span) {
22272 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22273 return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22274 },
22275 ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
22276 var _ = this;
22277 _.condition = t0;
22278 _.span = t1;
22279 _.children = t2;
22280 _._node1$_children = t3;
22281 _._node1$_indexInParent = _._node1$_parent = null;
22282 _.isGroupEnd = false;
22283 },
22284 SupportsRule$0(condition, children, span) {
22285 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22286 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22287 return new A.SupportsRule0(condition, span, t1, t2);
22288 },
22289 SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
22290 var _ = this;
22291 _.condition = t0;
22292 _.span = t1;
22293 _.children = t2;
22294 _.hasDeclarations = t3;
22295 },
22296 NodeToDartImporter: function NodeToDartImporter(t0, t1) {
22297 this._sync$_canonicalize = t0;
22298 this._sync$_load = t1;
22299 },
22300 Syntax_forPath0(path) {
22301 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
22302 case ".sass":
22303 return B.Syntax_Sass0;
22304 case ".css":
22305 return B.Syntax_CSS0;
22306 default:
22307 return B.Syntax_SCSS0;
22308 }
22309 },
22310 Syntax0: function Syntax0(t0) {
22311 this._syntax0$_name = t0;
22312 },
22313 TerseLogger0: function TerseLogger0(t0, t1) {
22314 this._terse$_warningCounts = t0;
22315 this._terse$_inner = t1;
22316 },
22317 TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
22318 },
22319 TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
22320 },
22321 TypeSelector0: function TypeSelector0(t0) {
22322 this.name = t0;
22323 },
22324 Types: function Types() {
22325 },
22326 UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
22327 this.operator = t0;
22328 this.operand = t1;
22329 this.span = t2;
22330 },
22331 UnaryOperator0: function UnaryOperator0(t0, t1) {
22332 this.name = t0;
22333 this.operator = t1;
22334 },
22335 UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
22336 this._number1$_value = t0;
22337 this.hashCache = null;
22338 this.asSlash = t1;
22339 },
22340 UniversalSelector0: function UniversalSelector0(t0) {
22341 this.namespace = t0;
22342 },
22343 UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
22344 this._unprefixed_map_view0$_map = t0;
22345 this._unprefixed_map_view0$_prefix = t1;
22346 this.$ti = t2;
22347 },
22348 _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
22349 this._unprefixed_map_view0$_view = t0;
22350 },
22351 _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
22352 this.$this = t0;
22353 },
22354 _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
22355 this.$this = t0;
22356 },
22357 JSUrl0: function JSUrl0() {
22358 },
22359 UseRule0: function UseRule0(t0, t1, t2, t3) {
22360 var _ = this;
22361 _.url = t0;
22362 _.namespace = t1;
22363 _.configuration = t2;
22364 _.span = t3;
22365 },
22366 UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
22367 var _ = this;
22368 _.declaration = t0;
22369 _.environment = t1;
22370 _.inDependency = t2;
22371 _.$ti = t3;
22372 },
22373 fromImport0() {
22374 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
22375 return t1 === true;
22376 },
22377 resolveImportPath0(path) {
22378 var t1,
22379 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
22380 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
22381 t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
22382 return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
22383 }
22384 t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
22385 if (t1 == null)
22386 t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
22387 return t1 == null ? A._tryPathAsDirectory0(path) : t1;
22388 },
22389 _tryPathWithExtensions0(path) {
22390 var result = A._tryPath0(path + ".sass");
22391 B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
22392 return result.length !== 0 ? result : A._tryPath0(path + ".css");
22393 },
22394 _tryPath0(path) {
22395 var t1 = $.$get$context(),
22396 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
22397 t1 = A._setArrayType([], type$.JSArray_String);
22398 if (A.fileExists0(partial))
22399 t1.push(partial);
22400 if (A.fileExists0(path))
22401 t1.push(path);
22402 return t1;
22403 },
22404 _tryPathAsDirectory0(path) {
22405 var t1;
22406 if (!A.dirExists0(path))
22407 return null;
22408 t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
22409 return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
22410 },
22411 _exactlyOne0(paths) {
22412 var t1 = paths.length;
22413 if (t1 === 0)
22414 return null;
22415 if (t1 === 1)
22416 return B.JSArray_methods.get$first(paths);
22417 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
22418 },
22419 resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
22420 this.path = t0;
22421 this.extension = t1;
22422 },
22423 resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
22424 this.path = t0;
22425 },
22426 _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
22427 this.path = t0;
22428 },
22429 _exactlyOne_closure0: function _exactlyOne_closure0() {
22430 },
22431 jsThrow(error) {
22432 return type$.Never._as($.$get$_jsThrow().call$1(error));
22433 },
22434 attachJsStack(error, trace) {
22435 var traceString = trace.toString$0(0),
22436 firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
22437 if (firstRealLine !== -1)
22438 traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
22439 error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
22440 },
22441 jsForEach(object, callback) {
22442 var t1, t2;
22443 for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
22444 t2 = t1.get$current(t1);
22445 callback.call$2(t2, object[t2]);
22446 }
22447 },
22448 defineGetter(object, $name, get, value) {
22449 self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
22450 },
22451 allowInteropNamed($name, $function) {
22452 $function = A.allowInterop($function);
22453 A.defineGetter($function, "name", null, $name);
22454 A._hideDartProperties($function);
22455 return $function;
22456 },
22457 allowInteropCaptureThisNamed($name, $function) {
22458 $function = A.allowInteropCaptureThis($function);
22459 A.defineGetter($function, "name", null, $name);
22460 A._hideDartProperties($function);
22461 return $function;
22462 },
22463 _hideDartProperties(object) {
22464 var t1, t2, t3, t4;
22465 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();) {
22466 t3 = t1.__internal$_current;
22467 if (t3 == null)
22468 t3 = t2._as(t3);
22469 if (B.JSString_methods.startsWith$1(t3, "_")) {
22470 t4 = {value: object[t3], enumerable: false};
22471 self.Object.defineProperty(object, t3, t4);
22472 }
22473 }
22474 },
22475 futureToPromise0(future) {
22476 return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
22477 },
22478 jsToDartUrl(url) {
22479 return A.Uri_parse(J.toString$0$(url));
22480 },
22481 dartToJSUrl(url) {
22482 return new self.URL(url.toString$0(0));
22483 },
22484 toJSArray(iterable) {
22485 var t1, t2,
22486 array = new self.Array();
22487 for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
22488 t2.push$1(array, t1.get$current(t1));
22489 return array;
22490 },
22491 objectToMap(object) {
22492 var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
22493 A.jsForEach(object, new A.objectToMap_closure(map));
22494 return map;
22495 },
22496 jsToDartSeparator(separator) {
22497 switch (separator) {
22498 case " ":
22499 return B.ListSeparator_woc0;
22500 case ",":
22501 return B.ListSeparator_kWM0;
22502 case "/":
22503 return B.ListSeparator_1gm0;
22504 case null:
22505 return B.ListSeparator_undecided_null0;
22506 default:
22507 A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
22508 }
22509 },
22510 parseSyntax(syntax) {
22511 if (syntax == null || syntax === "scss")
22512 return B.Syntax_SCSS0;
22513 if (syntax === "indented")
22514 return B.Syntax_Sass0;
22515 if (syntax === "css")
22516 return B.Syntax_CSS0;
22517 A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
22518 },
22519 _PropertyDescriptor0: function _PropertyDescriptor0() {
22520 },
22521 futureToPromise_closure0: function futureToPromise_closure0(t0) {
22522 this.future = t0;
22523 },
22524 futureToPromise__closure0: function futureToPromise__closure0(t0) {
22525 this.resolve = t0;
22526 },
22527 futureToPromise__closure1: function futureToPromise__closure1(t0) {
22528 this.reject = t0;
22529 },
22530 objectToMap_closure: function objectToMap_closure(t0) {
22531 this.map = t0;
22532 },
22533 toSentence0(iter, conjunction) {
22534 var t1 = iter.__internal$_iterable,
22535 t2 = J.getInterceptor$asx(t1);
22536 if (t2.get$length(t1) === 1)
22537 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
22538 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))));
22539 },
22540 indent0(string, indentation) {
22541 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");
22542 },
22543 pluralize0($name, number, plural) {
22544 if (number === 1)
22545 return $name;
22546 if (plural != null)
22547 return plural;
22548 return $name + "s";
22549 },
22550 trimAscii0(string, excludeEscape) {
22551 var t1,
22552 start = A._firstNonWhitespace0(string);
22553 if (start == null)
22554 t1 = "";
22555 else {
22556 t1 = A._lastNonWhitespace0(string, true);
22557 t1.toString;
22558 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
22559 }
22560 return t1;
22561 },
22562 trimAsciiRight0(string, excludeEscape) {
22563 var end = A._lastNonWhitespace0(string, excludeEscape);
22564 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
22565 },
22566 _firstNonWhitespace0(string) {
22567 var t1, i, t2;
22568 for (t1 = string.length, i = 0; i < t1; ++i) {
22569 t2 = B.JSString_methods._codeUnitAt$1(string, i);
22570 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
22571 return i;
22572 }
22573 return null;
22574 },
22575 _lastNonWhitespace0(string, excludeEscape) {
22576 var t1, i, codeUnit;
22577 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
22578 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
22579 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
22580 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
22581 return i + 1;
22582 else
22583 return i;
22584 }
22585 return null;
22586 },
22587 isPublic0(member) {
22588 var start = B.JSString_methods._codeUnitAt$1(member, 0);
22589 return start !== 45 && start !== 95;
22590 },
22591 flattenVertically0(iterable, $T) {
22592 var result,
22593 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
22594 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
22595 if (queues.length === 1)
22596 return B.JSArray_methods.get$first(queues);
22597 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
22598 for (; queues.length !== 0;) {
22599 if (!!queues.fixed$length)
22600 A.throwExpression(A.UnsupportedError$("removeWhere"));
22601 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
22602 }
22603 return result;
22604 },
22605 firstOrNull0(iterable) {
22606 var iterator = J.get$iterator$ax(iterable);
22607 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
22608 },
22609 codepointIndexToCodeUnitIndex0(string, codepointIndex) {
22610 var codeUnitIndex, i, codeUnitIndex0;
22611 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
22612 codeUnitIndex0 = codeUnitIndex + 1;
22613 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
22614 }
22615 return codeUnitIndex;
22616 },
22617 codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
22618 var codepointIndex, i;
22619 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
22620 ++codepointIndex;
22621 return codepointIndex;
22622 },
22623 frameForSpan0(span, member, url) {
22624 var t2, t3, t4,
22625 t1 = url == null ? span.file.url : url;
22626 if (t1 == null)
22627 t1 = $.$get$_noSourceUrl0();
22628 t2 = span.file;
22629 t3 = span._file$_start;
22630 t4 = A.FileLocation$_(t2, t3);
22631 t4 = t4.file.getLine$1(t4.offset);
22632 t3 = A.FileLocation$_(t2, t3);
22633 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
22634 },
22635 declarationName0(span) {
22636 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
22637 return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
22638 },
22639 unvendor0($name) {
22640 var i,
22641 t1 = $name.length;
22642 if (t1 < 2)
22643 return $name;
22644 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
22645 return $name;
22646 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
22647 return $name;
22648 for (i = 2; i < t1; ++i)
22649 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
22650 return B.JSString_methods.substring$1($name, i + 1);
22651 return $name;
22652 },
22653 equalsIgnoreCase0(string1, string2) {
22654 var t1, i;
22655 if (string1 === string2)
22656 return true;
22657 if (string1 == null || false)
22658 return false;
22659 t1 = string1.length;
22660 if (t1 !== string2.length)
22661 return false;
22662 for (i = 0; i < t1; ++i)
22663 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
22664 return false;
22665 return true;
22666 },
22667 startsWithIgnoreCase0(string, prefix) {
22668 var i,
22669 t1 = prefix.length;
22670 if (string.length < t1)
22671 return false;
22672 for (i = 0; i < t1; ++i)
22673 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
22674 return false;
22675 return true;
22676 },
22677 mapInPlace0(list, $function) {
22678 var i;
22679 for (i = 0; i < list.length; ++i)
22680 list[i] = $function.call$1(list[i]);
22681 },
22682 longestCommonSubsequence0(list1, list2, select, $T) {
22683 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
22684 if (select == null)
22685 select = new A.longestCommonSubsequence_closure0($T);
22686 t1 = J.getInterceptor$asx(list1);
22687 _length = t1.get$length(list1) + 1;
22688 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
22689 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
22690 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
22691 _length = t1.get$length(list1);
22692 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
22693 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
22694 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
22695 for (i = 0; i < t1.get$length(list1); i = i0)
22696 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
22697 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
22698 selections[i][j] = selection;
22699 t3 = lengths[i0];
22700 j0 = j + 1;
22701 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
22702 }
22703 return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
22704 },
22705 removeFirstWhere0(list, test, orElse) {
22706 var i;
22707 for (i = 0; i < list.length; ++i) {
22708 if (!test.call$1(list[i]))
22709 continue;
22710 B.JSArray_methods.removeAt$1(list, i);
22711 return;
22712 }
22713 orElse.call$0();
22714 },
22715 mapAddAll20(destination, source, K1, K2, $V) {
22716 source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
22717 },
22718 setAll0(map, keys, value) {
22719 var t1;
22720 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
22721 map.$indexSet(0, t1.get$current(t1), value);
22722 },
22723 rotateSlice0(list, start, end) {
22724 var i, next,
22725 element = list.$index(0, end - 1);
22726 for (i = start; i < end; ++i, element = next) {
22727 next = list.$index(0, i);
22728 list.$indexSet(0, i, element);
22729 }
22730 },
22731 mapAsync0(iterable, callback, $E, $F) {
22732 return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
22733 },
22734 mapAsync$body0(iterable, callback, $E, $F, $async$type) {
22735 var $async$goto = 0,
22736 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22737 $async$returnValue, t2, _i, t1, $async$temp1;
22738 var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22739 if ($async$errorCode === 1)
22740 return A._asyncRethrow($async$result, $async$completer);
22741 while (true)
22742 switch ($async$goto) {
22743 case 0:
22744 // Function start
22745 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
22746 t2 = iterable.length, _i = 0;
22747 case 3:
22748 // for condition
22749 if (!(_i < t2)) {
22750 // goto after for
22751 $async$goto = 5;
22752 break;
22753 }
22754 $async$temp1 = t1;
22755 $async$goto = 6;
22756 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
22757 case 6:
22758 // returning from await.
22759 $async$temp1.push($async$result);
22760 case 4:
22761 // for update
22762 ++_i;
22763 // goto for condition
22764 $async$goto = 3;
22765 break;
22766 case 5:
22767 // after for
22768 $async$returnValue = t1;
22769 // goto return
22770 $async$goto = 1;
22771 break;
22772 case 1:
22773 // return
22774 return A._asyncReturn($async$returnValue, $async$completer);
22775 }
22776 });
22777 return A._asyncStartSync($async$mapAsync0, $async$completer);
22778 },
22779 putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
22780 return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
22781 },
22782 putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
22783 var $async$goto = 0,
22784 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22785 $async$returnValue, t1, value;
22786 var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22787 if ($async$errorCode === 1)
22788 return A._asyncRethrow($async$result, $async$completer);
22789 while (true)
22790 switch ($async$goto) {
22791 case 0:
22792 // Function start
22793 if (map.containsKey$1(key)) {
22794 t1 = map.$index(0, key);
22795 $async$returnValue = t1 == null ? $V._as(t1) : t1;
22796 // goto return
22797 $async$goto = 1;
22798 break;
22799 }
22800 $async$goto = 3;
22801 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
22802 case 3:
22803 // returning from await.
22804 value = $async$result;
22805 map.$indexSet(0, key, value);
22806 $async$returnValue = value;
22807 // goto return
22808 $async$goto = 1;
22809 break;
22810 case 1:
22811 // return
22812 return A._asyncReturn($async$returnValue, $async$completer);
22813 }
22814 });
22815 return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
22816 },
22817 copyMapOfMap0(map, K1, K2, $V) {
22818 var t2, t3, t4, t5,
22819 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
22820 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22821 t3 = t2.get$current(t2);
22822 t4 = t3.key;
22823 t3 = t3.value;
22824 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
22825 t5.addAll$1(0, t3);
22826 t1.$indexSet(0, t4, t5);
22827 }
22828 return t1;
22829 },
22830 copyMapOfList0(map, $K, $E) {
22831 var t2, t3,
22832 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
22833 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22834 t3 = t2.get$current(t2);
22835 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
22836 }
22837 return t1;
22838 },
22839 consumeEscapedCharacter0(scanner) {
22840 var first, value, i, next, t1;
22841 scanner.expectChar$1(92);
22842 first = scanner.peekChar$0();
22843 if (first == null)
22844 return 65533;
22845 else if (first === 10 || first === 13 || first === 12)
22846 scanner.error$1(0, "Expected escape sequence.");
22847 else if (A.isHex0(first)) {
22848 for (value = 0, i = 0; i < 6; ++i) {
22849 next = scanner.peekChar$0();
22850 if (next == null || !A.isHex0(next))
22851 break;
22852 value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
22853 }
22854 t1 = scanner.peekChar$0();
22855 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
22856 scanner.readChar$0();
22857 if (value !== 0)
22858 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
22859 else
22860 t1 = true;
22861 if (t1)
22862 return 65533;
22863 else
22864 return value;
22865 } else
22866 return scanner.readChar$0();
22867 },
22868 throwWithTrace0(error, trace) {
22869 A.attachTrace0(error, trace);
22870 throw A.wrapException(error);
22871 },
22872 attachTrace0(error, trace) {
22873 var t1;
22874 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22875 return;
22876 if (trace.toString$0(0).length === 0)
22877 return;
22878 t1 = $.$get$_traces0();
22879 A.Expando__checkType(error);
22880 t1 = t1._jsWeakMap;
22881 if (t1.get(error) == null)
22882 t1.set(error, trace);
22883 },
22884 getTrace0(error) {
22885 var t1;
22886 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22887 t1 = null;
22888 else {
22889 t1 = $.$get$_traces0();
22890 A.Expando__checkType(error);
22891 t1 = t1._jsWeakMap.get(error);
22892 }
22893 return t1;
22894 },
22895 indent_closure0: function indent_closure0(t0) {
22896 this.indentation = t0;
22897 },
22898 flattenVertically_closure1: function flattenVertically_closure1(t0) {
22899 this.T = t0;
22900 },
22901 flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
22902 this.result = t0;
22903 this.T = t1;
22904 },
22905 longestCommonSubsequence_closure0: function longestCommonSubsequence_closure0(t0) {
22906 this.T = t0;
22907 },
22908 longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
22909 this.selections = t0;
22910 this.lengths = t1;
22911 this.T = t2;
22912 },
22913 mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
22914 var _ = this;
22915 _.destination = t0;
22916 _.K1 = t1;
22917 _.K2 = t2;
22918 _.V = t3;
22919 },
22920 CssValue0: function CssValue0(t0, t1, t2) {
22921 this.value = t0;
22922 this.span = t1;
22923 this.$ti = t2;
22924 },
22925 ValueExpression0: function ValueExpression0(t0, t1) {
22926 this.value = t0;
22927 this.span = t1;
22928 },
22929 ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
22930 this.value = t0;
22931 this.span = t1;
22932 this.$ti = t2;
22933 },
22934 valueClass_closure: function valueClass_closure() {
22935 },
22936 valueClass__closure: function valueClass__closure() {
22937 },
22938 valueClass__closure0: function valueClass__closure0() {
22939 },
22940 valueClass__closure1: function valueClass__closure1() {
22941 },
22942 valueClass__closure2: function valueClass__closure2() {
22943 },
22944 valueClass__closure3: function valueClass__closure3() {
22945 },
22946 valueClass__closure4: function valueClass__closure4() {
22947 },
22948 valueClass__closure5: function valueClass__closure5() {
22949 },
22950 valueClass__closure6: function valueClass__closure6() {
22951 },
22952 valueClass__closure7: function valueClass__closure7() {
22953 },
22954 valueClass__closure8: function valueClass__closure8() {
22955 },
22956 valueClass__closure9: function valueClass__closure9() {
22957 },
22958 valueClass__closure10: function valueClass__closure10() {
22959 },
22960 valueClass__closure11: function valueClass__closure11() {
22961 },
22962 valueClass__closure12: function valueClass__closure12() {
22963 },
22964 valueClass__closure13: function valueClass__closure13() {
22965 },
22966 valueClass__closure14: function valueClass__closure14() {
22967 },
22968 valueClass__closure15: function valueClass__closure15() {
22969 },
22970 valueClass__closure16: function valueClass__closure16() {
22971 },
22972 Value0: function Value0() {
22973 },
22974 VariableExpression0: function VariableExpression0(t0, t1, t2) {
22975 this.namespace = t0;
22976 this.name = t1;
22977 this.span = t2;
22978 },
22979 VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
22980 if (namespace != null && global)
22981 A.throwExpression(A.ArgumentError$(string$.Other_, null));
22982 return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
22983 },
22984 VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
22985 var _ = this;
22986 _.namespace = t0;
22987 _.name = t1;
22988 _.expression = t2;
22989 _.isGuarded = t3;
22990 _.isGlobal = t4;
22991 _.span = t5;
22992 },
22993 WarnRule0: function WarnRule0(t0, t1) {
22994 this.expression = t0;
22995 this.span = t1;
22996 },
22997 WhileRule$0(condition, children, span) {
22998 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22999 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
23000 return new A.WhileRule0(condition, span, t1, t2);
23001 },
23002 WhileRule0: function WhileRule0(t0, t1, t2, t3) {
23003 var _ = this;
23004 _.condition = t0;
23005 _.span = t1;
23006 _.children = t2;
23007 _.hasDeclarations = t3;
23008 },
23009 printString(string) {
23010 if (typeof dartPrint == "function") {
23011 dartPrint(string);
23012 return;
23013 }
23014 if (typeof console == "object" && typeof console.log != "undefined") {
23015 console.log(string);
23016 return;
23017 }
23018 if (typeof window == "object")
23019 return;
23020 if (typeof print == "function") {
23021 print(string);
23022 return;
23023 }
23024 throw "Unable to print message: " + String(string);
23025 },
23026 _convertDartFunctionFast(f) {
23027 var ret,
23028 existing = f.$dart_jsFunction;
23029 if (existing != null)
23030 return existing;
23031 ret = function(_call, f) {
23032 return function() {
23033 return _call(f, Array.prototype.slice.apply(arguments));
23034 };
23035 }(A._callDartFunctionFast, f);
23036 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23037 f.$dart_jsFunction = ret;
23038 return ret;
23039 },
23040 _convertDartFunctionFastCaptureThis(f) {
23041 var ret,
23042 existing = f._$dart_jsFunctionCaptureThis;
23043 if (existing != null)
23044 return existing;
23045 ret = function(_call, f) {
23046 return function() {
23047 return _call(f, this, Array.prototype.slice.apply(arguments));
23048 };
23049 }(A._callDartFunctionFastCaptureThis, f);
23050 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23051 f._$dart_jsFunctionCaptureThis = ret;
23052 return ret;
23053 },
23054 _callDartFunctionFast(callback, $arguments) {
23055 return A.Function_apply(callback, $arguments);
23056 },
23057 _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
23058 var t1 = [$self];
23059 B.JSArray_methods.addAll$1(t1, $arguments);
23060 return A.Function_apply(callback, t1);
23061 },
23062 allowInterop(f) {
23063 if (typeof f == "function")
23064 return f;
23065 else
23066 return A._convertDartFunctionFast(f);
23067 },
23068 allowInteropCaptureThis(f) {
23069 if (typeof f == "function")
23070 throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
23071 else
23072 return A._convertDartFunctionFastCaptureThis(f);
23073 },
23074 mergeMaps(map1, map2, $K, $V) {
23075 var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
23076 result.addAll$1(0, map2);
23077 return result;
23078 },
23079 groupBy(values, key, $S, $T) {
23080 var t1, t2, _i, element, t3, t4,
23081 map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
23082 for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
23083 element = values[_i];
23084 t3 = key.call$1(element);
23085 t4 = map.$index(0, t3);
23086 if (t4 == null) {
23087 t4 = A._setArrayType([], t2);
23088 map.$indexSet(0, t3, t4);
23089 t3 = t4;
23090 } else
23091 t3 = t4;
23092 J.add$1$ax(t3, element);
23093 }
23094 return map;
23095 },
23096 minBy(values, orderBy) {
23097 var t1, t2, minValue, minOrderBy, element, elementOrderBy;
23098 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();) {
23099 element = t1.__internal$_current;
23100 if (element == null)
23101 element = t2._as(element);
23102 elementOrderBy = orderBy.call$1(element);
23103 if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
23104 minOrderBy = elementOrderBy;
23105 minValue = element;
23106 }
23107 }
23108 return minValue;
23109 },
23110 IterableNullableExtension_whereNotNull(_this, $T) {
23111 return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
23112 },
23113 IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
23114 return A._makeSyncStarIterable(function() {
23115 var _this = $async$_this,
23116 $T = $async$$T;
23117 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
23118 return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
23119 if ($async$errorCode === 1) {
23120 $async$currentError = $async$result;
23121 $async$goto = $async$handler;
23122 }
23123 while (true)
23124 switch ($async$goto) {
23125 case 0:
23126 // Function start
23127 t1 = _this.get$iterator(_this);
23128 case 2:
23129 // for condition
23130 if (!t1.moveNext$0()) {
23131 // goto after for
23132 $async$goto = 3;
23133 break;
23134 }
23135 element = t1.get$current(t1);
23136 $async$goto = element != null ? 4 : 5;
23137 break;
23138 case 4:
23139 // then
23140 $async$goto = 6;
23141 return element;
23142 case 6:
23143 // after yield
23144 case 5:
23145 // join
23146 // goto for condition
23147 $async$goto = 2;
23148 break;
23149 case 3:
23150 // after for
23151 // implicit return
23152 return A._IterationMarker_endOfIteration();
23153 case 1:
23154 // rethrow
23155 return A._IterationMarker_uncaughtError($async$currentError);
23156 }
23157 };
23158 }, $async$type);
23159 },
23160 IterableIntegerExtension_get_sum(_this) {
23161 var t1, t2, result, t3;
23162 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();) {
23163 t3 = t1.__internal$_current;
23164 result += t3 == null ? t2._as(t3) : t3;
23165 }
23166 return result;
23167 },
23168 ListExtensions_mapIndexed(_this, convert, $E, $R) {
23169 return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
23170 },
23171 ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
23172 return A._makeSyncStarIterable(function() {
23173 var _this = $async$_this,
23174 convert = $async$convert,
23175 $E = $async$$E,
23176 $R = $async$$R;
23177 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
23178 return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
23179 if ($async$errorCode === 1) {
23180 $async$currentError = $async$result;
23181 $async$goto = $async$handler;
23182 }
23183 while (true)
23184 switch ($async$goto) {
23185 case 0:
23186 // Function start
23187 t1 = _this.length, index = 0;
23188 case 2:
23189 // for condition
23190 if (!(index < t1)) {
23191 // goto after for
23192 $async$goto = 4;
23193 break;
23194 }
23195 $async$goto = 5;
23196 return convert.call$2(index, _this[index]);
23197 case 5:
23198 // after yield
23199 case 3:
23200 // for update
23201 ++index;
23202 // goto for condition
23203 $async$goto = 2;
23204 break;
23205 case 4:
23206 // after for
23207 // implicit return
23208 return A._IterationMarker_endOfIteration();
23209 case 1:
23210 // rethrow
23211 return A._IterationMarker_uncaughtError($async$currentError);
23212 }
23213 };
23214 }, $async$type);
23215 },
23216 defaultCompare(value1, value2) {
23217 return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
23218 },
23219 current() {
23220 var exception, t1, path, lastIndex, uri = null;
23221 try {
23222 uri = A.Uri_base();
23223 } catch (exception) {
23224 if (type$.Exception._is(A.unwrapException(exception))) {
23225 t1 = $._current;
23226 if (t1 != null)
23227 return t1;
23228 throw exception;
23229 } else
23230 throw exception;
23231 }
23232 if (J.$eq$(uri, $._currentUriBase)) {
23233 t1 = $._current;
23234 t1.toString;
23235 return t1;
23236 }
23237 $._currentUriBase = uri;
23238 if ($.$get$Style_platform() == $.$get$Style_url())
23239 t1 = $._current = uri.resolve$1(".").toString$0(0);
23240 else {
23241 path = uri.toFilePath$0();
23242 lastIndex = path.length - 1;
23243 t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
23244 }
23245 return t1;
23246 },
23247 absolute(part1, part2, part3, part4, part5, part6, part7) {
23248 return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
23249 },
23250 join(part1, part2, part3) {
23251 var _null = null;
23252 return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
23253 },
23254 prettyUri(uri) {
23255 return $.$get$context().prettyUri$1(uri);
23256 },
23257 isAlphabetic(char) {
23258 var t1;
23259 if (!(char >= 65 && char <= 90))
23260 t1 = char >= 97 && char <= 122;
23261 else
23262 t1 = true;
23263 return t1;
23264 },
23265 isDriveLetter(path, index) {
23266 var t1 = path.length,
23267 t2 = index + 2;
23268 if (t1 < t2)
23269 return false;
23270 if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
23271 return false;
23272 if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
23273 return false;
23274 if (t1 === t2)
23275 return true;
23276 return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
23277 },
23278 _combine(hash, value) {
23279 hash = hash + value & 536870911;
23280 hash = hash + ((hash & 524287) << 10) & 536870911;
23281 return hash ^ hash >>> 6;
23282 },
23283 _finish(hash) {
23284 hash = hash + ((hash & 67108863) << 3) & 536870911;
23285 hash ^= hash >>> 11;
23286 return hash + ((hash & 16383) << 15) & 536870911;
23287 },
23288 EvaluationContext_current() {
23289 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23290 if (type$.EvaluationContext._is(context))
23291 return context;
23292 throw A.wrapException(A.StateError$(string$.No_Sass));
23293 },
23294 repl(options) {
23295 return A.repl$body(options);
23296 },
23297 repl$body(options) {
23298 var $async$goto = 0,
23299 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
23300 $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;
23301 var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
23302 if ($async$errorCode === 1) {
23303 $async$currentError = $async$result;
23304 $async$goto = $async$handler;
23305 }
23306 while (true)
23307 switch ($async$goto) {
23308 case 0:
23309 // Function start
23310 t1 = A._setArrayType([], type$.JSArray_String);
23311 t2 = B.JSString_methods.$mul(" ", 3);
23312 t3 = $.$get$alwaysValid();
23313 repl0 = new A.Repl(">> ", t2, t3, t1);
23314 repl0.__Repl__adapter = new A.ReplAdapter(repl0);
23315 repl = repl0;
23316 t1 = options._options;
23317 logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
23318 t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
23319 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));
23320 t2 = new A._StreamIterator(A.checkNotNullable(A._lateReadCheck(repl.__Repl__adapter, "_adapter").runAsync$0(), "stream", type$.Object));
23321 $async$handler = 2;
23322 t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
23323 case 5:
23324 // for condition
23325 $async$goto = 7;
23326 return A._asyncAwait(t2.moveNext$0(), $async$repl);
23327 case 7:
23328 // returning from await.
23329 if (!$async$result) {
23330 // goto after for
23331 $async$goto = 6;
23332 break;
23333 }
23334 line = t2.get$current(t2);
23335 if (J.trim$0$s(line).length === 0) {
23336 // goto for condition
23337 $async$goto = 5;
23338 break;
23339 }
23340 try {
23341 if (J.startsWith$1$s(line, "@")) {
23342 t5 = evaluator;
23343 t6 = logger;
23344 t7 = A.SpanScanner$(line, null);
23345 if (t6 == null)
23346 t6 = B.StderrLogger_false;
23347 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
23348 t5._visitor.runStatement$2(t5._importer, t6);
23349 // goto for condition
23350 $async$goto = 5;
23351 break;
23352 }
23353 t5 = A.SpanScanner$(line, null);
23354 if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
23355 t5 = logger;
23356 t6 = A.SpanScanner$(line, null);
23357 if (t5 == null)
23358 t5 = B.StderrLogger_false;
23359 declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
23360 t5 = evaluator;
23361 t5._visitor.runStatement$2(t5._importer, declaration);
23362 t5 = evaluator;
23363 t6 = declaration.name;
23364 t7 = declaration.span;
23365 t8 = declaration.namespace;
23366 line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
23367 toZone = $.printToZone;
23368 if (toZone == null)
23369 A.printString(line0);
23370 else
23371 toZone.call$1(line0);
23372 } else {
23373 t5 = evaluator;
23374 t6 = logger;
23375 t7 = A.SpanScanner$(line, null);
23376 if (t6 == null)
23377 t6 = B.StderrLogger_false;
23378 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
23379 t6 = t6._parseSingleProduction$1$1(t6.get$expression(), t1);
23380 line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
23381 toZone = $.printToZone;
23382 if (toZone == null)
23383 A.printString(line0);
23384 else
23385 toZone.call$1(line0);
23386 }
23387 } catch (exception) {
23388 t5 = A.unwrapException(exception);
23389 if (t5 instanceof A.SassException) {
23390 error = t5;
23391 stackTrace = A.getTraceFromException(exception);
23392 t5 = error;
23393 t6 = typeof t5 == "string";
23394 if (t6 || typeof t5 == "number" || A._isBool(t5))
23395 t5 = null;
23396 else {
23397 t7 = $.$get$_traces();
23398 t6 = A._isBool(t5) || typeof t5 == "number" || t6;
23399 if (t6)
23400 A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
23401 t5 = t7._jsWeakMap.get(t5);
23402 }
23403 if (t5 == null)
23404 t5 = stackTrace;
23405 A._logError(error, t5, line, repl, options, logger);
23406 } else
23407 throw exception;
23408 }
23409 // goto for condition
23410 $async$goto = 5;
23411 break;
23412 case 6:
23413 // after for
23414 $async$next.push(4);
23415 // goto finally
23416 $async$goto = 3;
23417 break;
23418 case 2:
23419 // uncaught
23420 $async$next = [1];
23421 case 3:
23422 // finally
23423 $async$handler = 1;
23424 $async$goto = 8;
23425 return A._asyncAwait(t2.cancel$0(), $async$repl);
23426 case 8:
23427 // returning from await.
23428 // goto the next finally handler
23429 $async$goto = $async$next.pop();
23430 break;
23431 case 4:
23432 // after finally
23433 // implicit return
23434 return A._asyncReturn(null, $async$completer);
23435 case 1:
23436 // rethrow
23437 return A._asyncRethrow($async$currentError, $async$completer);
23438 }
23439 });
23440 return A._asyncStartSync($async$repl, $async$completer);
23441 },
23442 _logError(error, stackTrace, line, repl, options, logger) {
23443 var t1, t2, spacesBeforeError, t3;
23444 if (A.SourceSpanException.prototype.get$span.call(error, error).file.url == null)
23445 if (!A._asBool(options._options.$index(0, "quiet")))
23446 t1 = logger._emittedDebug || logger._emittedWarning;
23447 else
23448 t1 = false;
23449 else
23450 t1 = true;
23451 if (t1) {
23452 A.print(error.toString$1$color(0, options.get$color()));
23453 return;
23454 }
23455 t1 = options.get$color() ? "" + "\x1b[31m" : "";
23456 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23457 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23458 spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
23459 if (options.get$color()) {
23460 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23461 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23462 t2 = t2.file.getColumn$1(t2.offset) < line.length;
23463 } else
23464 t2 = false;
23465 if (t2) {
23466 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23467 t2 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null) + "\n");
23468 t1 = t2;
23469 }
23470 t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
23471 t3 = A.SourceSpanException.prototype.get$span.call(error, error);
23472 t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3._end - t3._file$_start)) + "\n");
23473 t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
23474 t1 += "Error: " + error._span_exception$_message + "\n";
23475 if (A._asBool(options._options.$index(0, "trace")))
23476 t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
23477 A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
23478 },
23479 isWhitespace(character) {
23480 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23481 },
23482 isNewline(character) {
23483 return character === 10 || character === 13 || character === 12;
23484 },
23485 isAlphabetic0(character) {
23486 var t1;
23487 if (!(character >= 97 && character <= 122))
23488 t1 = character >= 65 && character <= 90;
23489 else
23490 t1 = true;
23491 return t1;
23492 },
23493 isDigit(character) {
23494 return character != null && character >= 48 && character <= 57;
23495 },
23496 isHex(character) {
23497 if (character == null)
23498 return false;
23499 if (A.isDigit(character))
23500 return true;
23501 if (character >= 97 && character <= 102)
23502 return true;
23503 if (character >= 65 && character <= 70)
23504 return true;
23505 return false;
23506 },
23507 asHex(character) {
23508 if (character <= 57)
23509 return character - 48;
23510 if (character <= 70)
23511 return 10 + character - 65;
23512 return 10 + character - 97;
23513 },
23514 hexCharFor(number) {
23515 return number < 10 ? 48 + number : 87 + number;
23516 },
23517 opposite(character) {
23518 switch (character) {
23519 case 40:
23520 return 41;
23521 case 123:
23522 return 125;
23523 case 91:
23524 return 93;
23525 default:
23526 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23527 }
23528 },
23529 characterEqualsIgnoreCase(character1, character2) {
23530 var upperCase1;
23531 if (character1 === character2)
23532 return true;
23533 if ((character1 ^ character2) >>> 0 !== 32)
23534 return false;
23535 upperCase1 = (character1 & 4294967263) >>> 0;
23536 return upperCase1 >= 65 && upperCase1 <= 90;
23537 },
23538 NullableExtension_andThen(_this, fn) {
23539 return _this == null ? null : fn.call$1(_this);
23540 },
23541 SetExtension_removeNull(_this, $T) {
23542 _this.remove$1(0, null);
23543 return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
23544 },
23545 fuzzyHashCode(number) {
23546 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()));
23547 },
23548 fuzzyLessThan(number1, number2) {
23549 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23550 },
23551 fuzzyLessThanOrEquals(number1, number2) {
23552 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23553 },
23554 fuzzyGreaterThan(number1, number2) {
23555 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23556 },
23557 fuzzyGreaterThanOrEquals(number1, number2) {
23558 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23559 },
23560 fuzzyIsInt(number) {
23561 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23562 return false;
23563 if (A._isInt(number))
23564 return true;
23565 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon();
23566 },
23567 fuzzyRound(number) {
23568 var t1;
23569 if (number > 0) {
23570 t1 = B.JSNumber_methods.$mod(number, 1);
23571 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23572 } else {
23573 t1 = B.JSNumber_methods.$mod(number, 1);
23574 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23575 }
23576 },
23577 fuzzyCheckRange(number, min, max) {
23578 var t1 = $.$get$epsilon();
23579 if (Math.abs(number - min) < t1)
23580 return min;
23581 if (Math.abs(number - max) < t1)
23582 return max;
23583 if (number > min && number < max)
23584 return number;
23585 return null;
23586 },
23587 fuzzyAssertRange(number, min, max, $name) {
23588 var result = A.fuzzyCheckRange(number, min, max);
23589 if (result != null)
23590 return result;
23591 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23592 },
23593 SpanExtensions_trimLeft(_this) {
23594 var t5,
23595 t1 = _this._file$_start,
23596 t2 = _this._end,
23597 t3 = _this.file._decodedChars,
23598 t4 = t3.length,
23599 start = 0;
23600 while (true) {
23601 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23602 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23603 break;
23604 ++start;
23605 }
23606 return A.FileSpanExtension_subspan(_this, start, null);
23607 },
23608 SpanExtensions_trimRight(_this) {
23609 var t5,
23610 t1 = _this._file$_start,
23611 t2 = _this._end,
23612 t3 = _this.file._decodedChars,
23613 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23614 t4 = t3.length;
23615 while (true) {
23616 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23617 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23618 break;
23619 --end;
23620 }
23621 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23622 },
23623 encodeVlq(value) {
23624 var res, signBit, digit, t1;
23625 if (value < $.$get$MIN_INT32() || value > $.$get$MAX_INT32())
23626 throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
23627 res = A._setArrayType([], type$.JSArray_String);
23628 if (value < 0) {
23629 value = -value;
23630 signBit = 1;
23631 } else
23632 signBit = 0;
23633 value = value << 1 | signBit;
23634 do {
23635 digit = value & 31;
23636 value = value >>> 5;
23637 t1 = value > 0;
23638 res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
23639 } while (t1);
23640 return res;
23641 },
23642 isAllTheSame(iter) {
23643 var firstValue, t1, t2, value;
23644 if (iter.get$length(iter) === 0)
23645 return true;
23646 firstValue = iter.get$first(iter);
23647 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();) {
23648 value = t1.__internal$_current;
23649 if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
23650 return false;
23651 }
23652 return true;
23653 },
23654 replaceFirstNull(list, element) {
23655 var index = B.JSArray_methods.indexOf$1(list, null);
23656 if (index < 0)
23657 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
23658 list[index] = element;
23659 },
23660 replaceWithNull(list, element) {
23661 var index = B.JSArray_methods.indexOf$1(list, element);
23662 if (index < 0)
23663 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
23664 list[index] = null;
23665 },
23666 countCodeUnits(string, codeUnit) {
23667 var t1, t2, count, t3;
23668 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();) {
23669 t3 = t1.__internal$_current;
23670 if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
23671 ++count;
23672 }
23673 return count;
23674 },
23675 findLineStart(context, text, column) {
23676 var beginningOfLine, index, lineStart;
23677 if (text.length === 0)
23678 for (beginningOfLine = 0; true;) {
23679 index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
23680 if (index === -1)
23681 return context.length - beginningOfLine >= column ? beginningOfLine : null;
23682 if (index - beginningOfLine >= column)
23683 return beginningOfLine;
23684 beginningOfLine = index + 1;
23685 }
23686 index = B.JSString_methods.indexOf$1(context, text);
23687 for (; index !== -1;) {
23688 lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
23689 if (column === index - lineStart)
23690 return lineStart;
23691 index = B.JSString_methods.indexOf$2(context, text, index + 1);
23692 }
23693 return null;
23694 },
23695 validateErrorArgs(string, match, position, $length) {
23696 var t2,
23697 t1 = position != null;
23698 if (t1)
23699 if (position < 0)
23700 throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
23701 else if (position > string.length)
23702 throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
23703 t2 = $length != null;
23704 if (t2 && $length < 0)
23705 throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
23706 if (t1 && t2 && position + $length > string.length)
23707 throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
23708 },
23709 isWhitespace0(character) {
23710 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23711 },
23712 isNewline0(character) {
23713 return character === 10 || character === 13 || character === 12;
23714 },
23715 isAlphabetic1(character) {
23716 var t1;
23717 if (!(character >= 97 && character <= 122))
23718 t1 = character >= 65 && character <= 90;
23719 else
23720 t1 = true;
23721 return t1;
23722 },
23723 isDigit0(character) {
23724 return character != null && character >= 48 && character <= 57;
23725 },
23726 isHex0(character) {
23727 if (character == null)
23728 return false;
23729 if (A.isDigit0(character))
23730 return true;
23731 if (character >= 97 && character <= 102)
23732 return true;
23733 if (character >= 65 && character <= 70)
23734 return true;
23735 return false;
23736 },
23737 asHex0(character) {
23738 if (character <= 57)
23739 return character - 48;
23740 if (character <= 70)
23741 return 10 + character - 65;
23742 return 10 + character - 97;
23743 },
23744 hexCharFor0(number) {
23745 return number < 10 ? 48 + number : 87 + number;
23746 },
23747 opposite0(character) {
23748 switch (character) {
23749 case 40:
23750 return 41;
23751 case 123:
23752 return 125;
23753 case 91:
23754 return 93;
23755 default:
23756 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23757 }
23758 },
23759 characterEqualsIgnoreCase0(character1, character2) {
23760 var upperCase1;
23761 if (character1 === character2)
23762 return true;
23763 if ((character1 ^ character2) >>> 0 !== 32)
23764 return false;
23765 upperCase1 = (character1 & 4294967263) >>> 0;
23766 return upperCase1 >= 65 && upperCase1 <= 90;
23767 },
23768 EvaluationContext_current0() {
23769 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23770 if (type$.EvaluationContext_2._is(context))
23771 return context;
23772 throw A.wrapException(A.StateError$(string$.No_Sass));
23773 },
23774 NullableExtension_andThen0(_this, fn) {
23775 return _this == null ? null : fn.call$1(_this);
23776 },
23777 fuzzyHashCode0(number) {
23778 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()));
23779 },
23780 fuzzyLessThan0(number1, number2) {
23781 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23782 },
23783 fuzzyLessThanOrEquals0(number1, number2) {
23784 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23785 },
23786 fuzzyGreaterThan0(number1, number2) {
23787 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23788 },
23789 fuzzyGreaterThanOrEquals0(number1, number2) {
23790 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23791 },
23792 fuzzyIsInt0(number) {
23793 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23794 return false;
23795 if (A._isInt(number))
23796 return true;
23797 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon0();
23798 },
23799 fuzzyRound0(number) {
23800 var t1;
23801 if (number > 0) {
23802 t1 = B.JSNumber_methods.$mod(number, 1);
23803 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon0()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23804 } else {
23805 t1 = B.JSNumber_methods.$mod(number, 1);
23806 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon0() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23807 }
23808 },
23809 fuzzyCheckRange0(number, min, max) {
23810 var t1 = $.$get$epsilon0();
23811 if (Math.abs(number - min) < t1)
23812 return min;
23813 if (Math.abs(number - max) < t1)
23814 return max;
23815 if (number > min && number < max)
23816 return number;
23817 return null;
23818 },
23819 fuzzyAssertRange0(number, min, max, $name) {
23820 var result = A.fuzzyCheckRange0(number, min, max);
23821 if (result != null)
23822 return result;
23823 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23824 },
23825 SpanExtensions_trimLeft0(_this) {
23826 var t5,
23827 t1 = _this._file$_start,
23828 t2 = _this._end,
23829 t3 = _this.file._decodedChars,
23830 t4 = t3.length,
23831 start = 0;
23832 while (true) {
23833 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23834 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23835 break;
23836 ++start;
23837 }
23838 return A.FileSpanExtension_subspan(_this, start, null);
23839 },
23840 SpanExtensions_trimRight0(_this) {
23841 var t5,
23842 t1 = _this._file$_start,
23843 t2 = _this._end,
23844 t3 = _this.file._decodedChars,
23845 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23846 t4 = t3.length;
23847 while (true) {
23848 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23849 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23850 break;
23851 --end;
23852 }
23853 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23854 },
23855 unwrapValue(object) {
23856 var value;
23857 if (object != null) {
23858 if (object instanceof A.Value0)
23859 return object;
23860 value = object.dartValue;
23861 if (value != null && value instanceof A.Value0)
23862 return value;
23863 if (object instanceof self.Error)
23864 throw A.wrapException(object);
23865 }
23866 throw A.wrapException(A.S(object) + " must be a Sass value type.");
23867 },
23868 wrapValue(value) {
23869 var t1;
23870 if (value instanceof A.SassColor0) {
23871 t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
23872 return t1;
23873 }
23874 if (value instanceof A.SassList0) {
23875 t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
23876 return t1;
23877 }
23878 if (value instanceof A.SassMap0) {
23879 t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
23880 return t1;
23881 }
23882 if (value instanceof A.SassNumber0) {
23883 t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
23884 return t1;
23885 }
23886 if (value instanceof A.SassString0) {
23887 t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
23888 return t1;
23889 }
23890 return value;
23891 }
23892 },
23893 J = {
23894 makeDispatchRecord(interceptor, proto, extension, indexability) {
23895 return {i: interceptor, p: proto, e: extension, x: indexability};
23896 },
23897 getNativeInterceptor(object) {
23898 var proto, objectProto, $constructor, interceptor, t1,
23899 record = object[init.dispatchPropertyName];
23900 if (record == null)
23901 if ($.initNativeDispatchFlag == null) {
23902 A.initNativeDispatch();
23903 record = object[init.dispatchPropertyName];
23904 }
23905 if (record != null) {
23906 proto = record.p;
23907 if (false === proto)
23908 return record.i;
23909 if (true === proto)
23910 return object;
23911 objectProto = Object.getPrototypeOf(object);
23912 if (proto === objectProto)
23913 return record.i;
23914 if (record.e === objectProto)
23915 throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
23916 }
23917 $constructor = object.constructor;
23918 if ($constructor == null)
23919 interceptor = null;
23920 else {
23921 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23922 if (t1 == null)
23923 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23924 interceptor = $constructor[t1];
23925 }
23926 if (interceptor != null)
23927 return interceptor;
23928 interceptor = A.lookupAndCacheInterceptor(object);
23929 if (interceptor != null)
23930 return interceptor;
23931 if (typeof object == "function")
23932 return B.JavaScriptFunction_methods;
23933 proto = Object.getPrototypeOf(object);
23934 if (proto == null)
23935 return B.PlainJavaScriptObject_methods;
23936 if (proto === Object.prototype)
23937 return B.PlainJavaScriptObject_methods;
23938 if (typeof $constructor == "function") {
23939 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23940 if (t1 == null)
23941 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23942 Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
23943 return B.UnknownJavaScriptObject_methods;
23944 }
23945 return B.UnknownJavaScriptObject_methods;
23946 },
23947 JSArray_JSArray$fixed($length, $E) {
23948 if ($length < 0 || $length > 4294967295)
23949 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23950 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23951 },
23952 JSArray_JSArray$allocateFixed($length, $E) {
23953 if ($length > 4294967295)
23954 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23955 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23956 },
23957 JSArray_JSArray$growable($length, $E) {
23958 if ($length < 0)
23959 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23960 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23961 },
23962 JSArray_JSArray$allocateGrowable($length, $E) {
23963 if ($length < 0)
23964 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23965 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23966 },
23967 JSArray_JSArray$markFixed(allocation, $E) {
23968 return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
23969 },
23970 JSArray_markFixedList(list) {
23971 list.fixed$length = Array;
23972 return list;
23973 },
23974 JSArray_markUnmodifiableList(list) {
23975 list.fixed$length = Array;
23976 list.immutable$list = Array;
23977 return list;
23978 },
23979 JSArray__compareAny(a, b) {
23980 return J.compareTo$1$ns(a, b);
23981 },
23982 JSString__isWhitespace(codeUnit) {
23983 if (codeUnit < 256)
23984 switch (codeUnit) {
23985 case 9:
23986 case 10:
23987 case 11:
23988 case 12:
23989 case 13:
23990 case 32:
23991 case 133:
23992 case 160:
23993 return true;
23994 default:
23995 return false;
23996 }
23997 switch (codeUnit) {
23998 case 5760:
23999 case 8192:
24000 case 8193:
24001 case 8194:
24002 case 8195:
24003 case 8196:
24004 case 8197:
24005 case 8198:
24006 case 8199:
24007 case 8200:
24008 case 8201:
24009 case 8202:
24010 case 8232:
24011 case 8233:
24012 case 8239:
24013 case 8287:
24014 case 12288:
24015 case 65279:
24016 return true;
24017 default:
24018 return false;
24019 }
24020 },
24021 JSString__skipLeadingWhitespace(string, index) {
24022 var t1, codeUnit;
24023 for (t1 = string.length; index < t1;) {
24024 codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
24025 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
24026 break;
24027 ++index;
24028 }
24029 return index;
24030 },
24031 JSString__skipTrailingWhitespace(string, index) {
24032 var index0, codeUnit;
24033 for (; index > 0; index = index0) {
24034 index0 = index - 1;
24035 codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
24036 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
24037 break;
24038 }
24039 return index;
24040 },
24041 getInterceptor$(receiver) {
24042 if (typeof receiver == "number") {
24043 if (Math.floor(receiver) == receiver)
24044 return J.JSInt.prototype;
24045 return J.JSNumNotInt.prototype;
24046 }
24047 if (typeof receiver == "string")
24048 return J.JSString.prototype;
24049 if (receiver == null)
24050 return J.JSNull.prototype;
24051 if (typeof receiver == "boolean")
24052 return J.JSBool.prototype;
24053 if (receiver.constructor == Array)
24054 return J.JSArray.prototype;
24055 if (typeof receiver != "object") {
24056 if (typeof receiver == "function")
24057 return J.JavaScriptFunction.prototype;
24058 return receiver;
24059 }
24060 if (receiver instanceof A.Object)
24061 return receiver;
24062 return J.getNativeInterceptor(receiver);
24063 },
24064 getInterceptor$ansx(receiver) {
24065 if (typeof receiver == "number")
24066 return J.JSNumber.prototype;
24067 if (typeof receiver == "string")
24068 return J.JSString.prototype;
24069 if (receiver == null)
24070 return receiver;
24071 if (receiver.constructor == Array)
24072 return J.JSArray.prototype;
24073 if (typeof receiver != "object") {
24074 if (typeof receiver == "function")
24075 return J.JavaScriptFunction.prototype;
24076 return receiver;
24077 }
24078 if (receiver instanceof A.Object)
24079 return receiver;
24080 return J.getNativeInterceptor(receiver);
24081 },
24082 getInterceptor$asx(receiver) {
24083 if (typeof receiver == "string")
24084 return J.JSString.prototype;
24085 if (receiver == null)
24086 return receiver;
24087 if (receiver.constructor == Array)
24088 return J.JSArray.prototype;
24089 if (typeof receiver != "object") {
24090 if (typeof receiver == "function")
24091 return J.JavaScriptFunction.prototype;
24092 return receiver;
24093 }
24094 if (receiver instanceof A.Object)
24095 return receiver;
24096 return J.getNativeInterceptor(receiver);
24097 },
24098 getInterceptor$ax(receiver) {
24099 if (receiver == null)
24100 return receiver;
24101 if (receiver.constructor == Array)
24102 return J.JSArray.prototype;
24103 if (typeof receiver != "object") {
24104 if (typeof receiver == "function")
24105 return J.JavaScriptFunction.prototype;
24106 return receiver;
24107 }
24108 if (receiver instanceof A.Object)
24109 return receiver;
24110 return J.getNativeInterceptor(receiver);
24111 },
24112 getInterceptor$n(receiver) {
24113 if (typeof receiver == "number")
24114 return J.JSNumber.prototype;
24115 if (receiver == null)
24116 return receiver;
24117 if (!(receiver instanceof A.Object))
24118 return J.UnknownJavaScriptObject.prototype;
24119 return receiver;
24120 },
24121 getInterceptor$ns(receiver) {
24122 if (typeof receiver == "number")
24123 return J.JSNumber.prototype;
24124 if (typeof receiver == "string")
24125 return J.JSString.prototype;
24126 if (receiver == null)
24127 return receiver;
24128 if (!(receiver instanceof A.Object))
24129 return J.UnknownJavaScriptObject.prototype;
24130 return receiver;
24131 },
24132 getInterceptor$s(receiver) {
24133 if (typeof receiver == "string")
24134 return J.JSString.prototype;
24135 if (receiver == null)
24136 return receiver;
24137 if (!(receiver instanceof A.Object))
24138 return J.UnknownJavaScriptObject.prototype;
24139 return receiver;
24140 },
24141 getInterceptor$u(receiver) {
24142 if (receiver == null)
24143 return J.JSNull.prototype;
24144 if (!(receiver instanceof A.Object))
24145 return J.UnknownJavaScriptObject.prototype;
24146 return receiver;
24147 },
24148 getInterceptor$x(receiver) {
24149 if (receiver == null)
24150 return receiver;
24151 if (typeof receiver != "object") {
24152 if (typeof receiver == "function")
24153 return J.JavaScriptFunction.prototype;
24154 return receiver;
24155 }
24156 if (receiver instanceof A.Object)
24157 return receiver;
24158 return J.getNativeInterceptor(receiver);
24159 },
24160 getInterceptor$z(receiver) {
24161 if (receiver == null)
24162 return receiver;
24163 if (!(receiver instanceof A.Object))
24164 return J.UnknownJavaScriptObject.prototype;
24165 return receiver;
24166 },
24167 set$Exception$x(receiver, value) {
24168 return J.getInterceptor$x(receiver).set$Exception(receiver, value);
24169 },
24170 set$FALSE$x(receiver, value) {
24171 return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
24172 },
24173 set$Logger$x(receiver, value) {
24174 return J.getInterceptor$x(receiver).set$Logger(receiver, value);
24175 },
24176 set$NULL$x(receiver, value) {
24177 return J.getInterceptor$x(receiver).set$NULL(receiver, value);
24178 },
24179 set$SassArgumentList$x(receiver, value) {
24180 return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
24181 },
24182 set$SassBoolean$x(receiver, value) {
24183 return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
24184 },
24185 set$SassColor$x(receiver, value) {
24186 return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
24187 },
24188 set$SassFunction$x(receiver, value) {
24189 return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
24190 },
24191 set$SassList$x(receiver, value) {
24192 return J.getInterceptor$x(receiver).set$SassList(receiver, value);
24193 },
24194 set$SassMap$x(receiver, value) {
24195 return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
24196 },
24197 set$SassNumber$x(receiver, value) {
24198 return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
24199 },
24200 set$SassString$x(receiver, value) {
24201 return J.getInterceptor$x(receiver).set$SassString(receiver, value);
24202 },
24203 set$TRUE$x(receiver, value) {
24204 return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
24205 },
24206 set$Value$x(receiver, value) {
24207 return J.getInterceptor$x(receiver).set$Value(receiver, value);
24208 },
24209 set$cli_pkg_main_0_$x(receiver, value) {
24210 return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
24211 },
24212 set$compile$x(receiver, value) {
24213 return J.getInterceptor$x(receiver).set$compile(receiver, value);
24214 },
24215 set$compileAsync$x(receiver, value) {
24216 return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
24217 },
24218 set$compileString$x(receiver, value) {
24219 return J.getInterceptor$x(receiver).set$compileString(receiver, value);
24220 },
24221 set$compileStringAsync$x(receiver, value) {
24222 return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
24223 },
24224 set$context$x(receiver, value) {
24225 return J.getInterceptor$x(receiver).set$context(receiver, value);
24226 },
24227 set$dartValue$x(receiver, value) {
24228 return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
24229 },
24230 set$exitCode$x(receiver, value) {
24231 return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
24232 },
24233 set$info$x(receiver, value) {
24234 return J.getInterceptor$x(receiver).set$info(receiver, value);
24235 },
24236 set$length$asx(receiver, value) {
24237 return J.getInterceptor$asx(receiver).set$length(receiver, value);
24238 },
24239 set$render$x(receiver, value) {
24240 return J.getInterceptor$x(receiver).set$render(receiver, value);
24241 },
24242 set$renderSync$x(receiver, value) {
24243 return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
24244 },
24245 set$sassFalse$x(receiver, value) {
24246 return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
24247 },
24248 set$sassNull$x(receiver, value) {
24249 return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
24250 },
24251 set$sassTrue$x(receiver, value) {
24252 return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
24253 },
24254 set$types$x(receiver, value) {
24255 return J.getInterceptor$x(receiver).set$types(receiver, value);
24256 },
24257 get$$prototype$x(receiver) {
24258 return J.getInterceptor$x(receiver).get$$prototype(receiver);
24259 },
24260 get$_dartException$x(receiver) {
24261 return J.getInterceptor$x(receiver).get$_dartException(receiver);
24262 },
24263 get$alertAscii$x(receiver) {
24264 return J.getInterceptor$x(receiver).get$alertAscii(receiver);
24265 },
24266 get$alertColor$x(receiver) {
24267 return J.getInterceptor$x(receiver).get$alertColor(receiver);
24268 },
24269 get$blue$x(receiver) {
24270 return J.getInterceptor$x(receiver).get$blue(receiver);
24271 },
24272 get$brackets$x(receiver) {
24273 return J.getInterceptor$x(receiver).get$brackets(receiver);
24274 },
24275 get$code$x(receiver) {
24276 return J.getInterceptor$x(receiver).get$code(receiver);
24277 },
24278 get$current$x(receiver) {
24279 return J.getInterceptor$x(receiver).get$current(receiver);
24280 },
24281 get$dartValue$x(receiver) {
24282 return J.getInterceptor$x(receiver).get$dartValue(receiver);
24283 },
24284 get$debug$x(receiver) {
24285 return J.getInterceptor$x(receiver).get$debug(receiver);
24286 },
24287 get$denominatorUnits$x(receiver) {
24288 return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
24289 },
24290 get$end$z(receiver) {
24291 return J.getInterceptor$z(receiver).get$end(receiver);
24292 },
24293 get$env$x(receiver) {
24294 return J.getInterceptor$x(receiver).get$env(receiver);
24295 },
24296 get$exitCode$x(receiver) {
24297 return J.getInterceptor$x(receiver).get$exitCode(receiver);
24298 },
24299 get$fiber$x(receiver) {
24300 return J.getInterceptor$x(receiver).get$fiber(receiver);
24301 },
24302 get$file$x(receiver) {
24303 return J.getInterceptor$x(receiver).get$file(receiver);
24304 },
24305 get$first$ax(receiver) {
24306 return J.getInterceptor$ax(receiver).get$first(receiver);
24307 },
24308 get$functions$x(receiver) {
24309 return J.getInterceptor$x(receiver).get$functions(receiver);
24310 },
24311 get$green$x(receiver) {
24312 return J.getInterceptor$x(receiver).get$green(receiver);
24313 },
24314 get$hashCode$(receiver) {
24315 return J.getInterceptor$(receiver).get$hashCode(receiver);
24316 },
24317 get$importer$x(receiver) {
24318 return J.getInterceptor$x(receiver).get$importer(receiver);
24319 },
24320 get$importers$x(receiver) {
24321 return J.getInterceptor$x(receiver).get$importers(receiver);
24322 },
24323 get$isEmpty$asx(receiver) {
24324 return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
24325 },
24326 get$isNotEmpty$asx(receiver) {
24327 return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
24328 },
24329 get$isTTY$x(receiver) {
24330 return J.getInterceptor$x(receiver).get$isTTY(receiver);
24331 },
24332 get$iterator$ax(receiver) {
24333 return J.getInterceptor$ax(receiver).get$iterator(receiver);
24334 },
24335 get$keys$z(receiver) {
24336 return J.getInterceptor$z(receiver).get$keys(receiver);
24337 },
24338 get$last$ax(receiver) {
24339 return J.getInterceptor$ax(receiver).get$last(receiver);
24340 },
24341 get$length$asx(receiver) {
24342 return J.getInterceptor$asx(receiver).get$length(receiver);
24343 },
24344 get$loadPaths$x(receiver) {
24345 return J.getInterceptor$x(receiver).get$loadPaths(receiver);
24346 },
24347 get$logger$x(receiver) {
24348 return J.getInterceptor$x(receiver).get$logger(receiver);
24349 },
24350 get$message$x(receiver) {
24351 return J.getInterceptor$x(receiver).get$message(receiver);
24352 },
24353 get$mtime$x(receiver) {
24354 return J.getInterceptor$x(receiver).get$mtime(receiver);
24355 },
24356 get$name$x(receiver) {
24357 return J.getInterceptor$x(receiver).get$name(receiver);
24358 },
24359 get$numeratorUnits$x(receiver) {
24360 return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
24361 },
24362 get$options$x(receiver) {
24363 return J.getInterceptor$x(receiver).get$options(receiver);
24364 },
24365 get$parent$z(receiver) {
24366 return J.getInterceptor$z(receiver).get$parent(receiver);
24367 },
24368 get$path$x(receiver) {
24369 return J.getInterceptor$x(receiver).get$path(receiver);
24370 },
24371 get$platform$x(receiver) {
24372 return J.getInterceptor$x(receiver).get$platform(receiver);
24373 },
24374 get$quietDeps$x(receiver) {
24375 return J.getInterceptor$x(receiver).get$quietDeps(receiver);
24376 },
24377 get$quotes$x(receiver) {
24378 return J.getInterceptor$x(receiver).get$quotes(receiver);
24379 },
24380 get$red$x(receiver) {
24381 return J.getInterceptor$x(receiver).get$red(receiver);
24382 },
24383 get$reversed$ax(receiver) {
24384 return J.getInterceptor$ax(receiver).get$reversed(receiver);
24385 },
24386 get$runtimeType$u(receiver) {
24387 return J.getInterceptor$u(receiver).get$runtimeType(receiver);
24388 },
24389 get$separator$x(receiver) {
24390 return J.getInterceptor$x(receiver).get$separator(receiver);
24391 },
24392 get$single$ax(receiver) {
24393 return J.getInterceptor$ax(receiver).get$single(receiver);
24394 },
24395 get$sourceMap$x(receiver) {
24396 return J.getInterceptor$x(receiver).get$sourceMap(receiver);
24397 },
24398 get$sourceMapIncludeSources$x(receiver) {
24399 return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
24400 },
24401 get$span$z(receiver) {
24402 return J.getInterceptor$z(receiver).get$span(receiver);
24403 },
24404 get$stderr$x(receiver) {
24405 return J.getInterceptor$x(receiver).get$stderr(receiver);
24406 },
24407 get$stdin$x(receiver) {
24408 return J.getInterceptor$x(receiver).get$stdin(receiver);
24409 },
24410 get$style$x(receiver) {
24411 return J.getInterceptor$x(receiver).get$style(receiver);
24412 },
24413 get$syntax$x(receiver) {
24414 return J.getInterceptor$x(receiver).get$syntax(receiver);
24415 },
24416 get$trace$z(receiver) {
24417 return J.getInterceptor$z(receiver).get$trace(receiver);
24418 },
24419 get$url$x(receiver) {
24420 return J.getInterceptor$x(receiver).get$url(receiver);
24421 },
24422 get$values$z(receiver) {
24423 return J.getInterceptor$z(receiver).get$values(receiver);
24424 },
24425 get$verbose$x(receiver) {
24426 return J.getInterceptor$x(receiver).get$verbose(receiver);
24427 },
24428 get$warn$x(receiver) {
24429 return J.getInterceptor$x(receiver).get$warn(receiver);
24430 },
24431 $add$ansx(receiver, a0) {
24432 if (typeof receiver == "number" && typeof a0 == "number")
24433 return receiver + a0;
24434 return J.getInterceptor$ansx(receiver).$add(receiver, a0);
24435 },
24436 $eq$(receiver, a0) {
24437 if (receiver == null)
24438 return a0 == null;
24439 if (typeof receiver != "object")
24440 return a0 != null && receiver === a0;
24441 return J.getInterceptor$(receiver).$eq(receiver, a0);
24442 },
24443 $index$asx(receiver, a0) {
24444 if (typeof a0 === "number")
24445 if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
24446 if (a0 >>> 0 === a0 && a0 < receiver.length)
24447 return receiver[a0];
24448 return J.getInterceptor$asx(receiver).$index(receiver, a0);
24449 },
24450 $indexSet$ax(receiver, a0, a1) {
24451 if (typeof a0 === "number")
24452 if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
24453 return receiver[a0] = a1;
24454 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
24455 },
24456 $set$2$x(receiver, a0, a1) {
24457 return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
24458 },
24459 add$1$ax(receiver, a0) {
24460 return J.getInterceptor$ax(receiver).add$1(receiver, a0);
24461 },
24462 addAll$1$ax(receiver, a0) {
24463 return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
24464 },
24465 allMatches$1$s(receiver, a0) {
24466 return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
24467 },
24468 allMatches$2$s(receiver, a0, a1) {
24469 return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
24470 },
24471 any$1$ax(receiver, a0) {
24472 return J.getInterceptor$ax(receiver).any$1(receiver, a0);
24473 },
24474 apply$2$x(receiver, a0, a1) {
24475 return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
24476 },
24477 asImmutable$0$x(receiver) {
24478 return J.getInterceptor$x(receiver).asImmutable$0(receiver);
24479 },
24480 asMutable$0$x(receiver) {
24481 return J.getInterceptor$x(receiver).asMutable$0(receiver);
24482 },
24483 canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
24484 return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
24485 },
24486 cast$1$0$ax(receiver, $T1) {
24487 return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
24488 },
24489 close$0$x(receiver) {
24490 return J.getInterceptor$x(receiver).close$0(receiver);
24491 },
24492 codeUnitAt$1$s(receiver, a0) {
24493 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
24494 },
24495 compareTo$1$ns(receiver, a0) {
24496 return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
24497 },
24498 contains$1$asx(receiver, a0) {
24499 return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
24500 },
24501 createInterface$1$x(receiver, a0) {
24502 return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
24503 },
24504 elementAt$1$ax(receiver, a0) {
24505 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
24506 },
24507 endsWith$1$s(receiver, a0) {
24508 return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
24509 },
24510 every$1$ax(receiver, a0) {
24511 return J.getInterceptor$ax(receiver).every$1(receiver, a0);
24512 },
24513 existsSync$1$x(receiver, a0) {
24514 return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
24515 },
24516 expand$1$1$ax(receiver, a0, $T1) {
24517 return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
24518 },
24519 fillRange$3$ax(receiver, a0, a1, a2) {
24520 return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
24521 },
24522 fold$2$ax(receiver, a0, a1) {
24523 return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
24524 },
24525 forEach$1$x(receiver, a0) {
24526 return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
24527 },
24528 getRange$2$ax(receiver, a0, a1) {
24529 return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
24530 },
24531 getTime$0$x(receiver) {
24532 return J.getInterceptor$x(receiver).getTime$0(receiver);
24533 },
24534 isDirectory$0$x(receiver) {
24535 return J.getInterceptor$x(receiver).isDirectory$0(receiver);
24536 },
24537 isFile$0$x(receiver) {
24538 return J.getInterceptor$x(receiver).isFile$0(receiver);
24539 },
24540 join$0$ax(receiver) {
24541 return J.getInterceptor$ax(receiver).join$0(receiver);
24542 },
24543 join$1$ax(receiver, a0) {
24544 return J.getInterceptor$ax(receiver).join$1(receiver, a0);
24545 },
24546 listen$1$z(receiver, a0) {
24547 return J.getInterceptor$z(receiver).listen$1(receiver, a0);
24548 },
24549 map$1$1$ax(receiver, a0, $T1) {
24550 return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
24551 },
24552 matchAsPrefix$2$s(receiver, a0, a1) {
24553 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
24554 },
24555 mkdirSync$1$x(receiver, a0) {
24556 return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
24557 },
24558 noSuchMethod$1$(receiver, a0) {
24559 return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
24560 },
24561 on$2$x(receiver, a0, a1) {
24562 return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
24563 },
24564 readFileSync$2$x(receiver, a0, a1) {
24565 return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
24566 },
24567 readdirSync$1$x(receiver, a0) {
24568 return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
24569 },
24570 remove$1$z(receiver, a0) {
24571 return J.getInterceptor$z(receiver).remove$1(receiver, a0);
24572 },
24573 run$0$x(receiver) {
24574 return J.getInterceptor$x(receiver).run$0(receiver);
24575 },
24576 run$1$x(receiver, a0) {
24577 return J.getInterceptor$x(receiver).run$1(receiver, a0);
24578 },
24579 setRange$4$ax(receiver, a0, a1, a2, a3) {
24580 return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
24581 },
24582 skip$1$ax(receiver, a0) {
24583 return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
24584 },
24585 sort$1$ax(receiver, a0) {
24586 return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
24587 },
24588 startsWith$1$s(receiver, a0) {
24589 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
24590 },
24591 statSync$1$x(receiver, a0) {
24592 return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
24593 },
24594 substring$1$s(receiver, a0) {
24595 return J.getInterceptor$s(receiver).substring$1(receiver, a0);
24596 },
24597 substring$2$s(receiver, a0, a1) {
24598 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
24599 },
24600 take$1$ax(receiver, a0) {
24601 return J.getInterceptor$ax(receiver).take$1(receiver, a0);
24602 },
24603 then$1$1$x(receiver, a0, $T1) {
24604 return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
24605 },
24606 then$1$2$onError$x(receiver, a0, a1, $T1) {
24607 return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
24608 },
24609 then$2$x(receiver, a0, a1) {
24610 return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
24611 },
24612 toArray$0$x(receiver) {
24613 return J.getInterceptor$x(receiver).toArray$0(receiver);
24614 },
24615 toList$0$ax(receiver) {
24616 return J.getInterceptor$ax(receiver).toList$0(receiver);
24617 },
24618 toList$1$growable$ax(receiver, a0) {
24619 return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
24620 },
24621 toRadixString$1$n(receiver, a0) {
24622 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
24623 },
24624 toSet$0$ax(receiver) {
24625 return J.getInterceptor$ax(receiver).toSet$0(receiver);
24626 },
24627 toString$0$(receiver) {
24628 return J.getInterceptor$(receiver).toString$0(receiver);
24629 },
24630 toString$1$color$(receiver, a0) {
24631 return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
24632 },
24633 trim$0$s(receiver) {
24634 return J.getInterceptor$s(receiver).trim$0(receiver);
24635 },
24636 unlinkSync$1$x(receiver, a0) {
24637 return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
24638 },
24639 watch$2$x(receiver, a0, a1) {
24640 return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
24641 },
24642 where$1$ax(receiver, a0) {
24643 return J.getInterceptor$ax(receiver).where$1(receiver, a0);
24644 },
24645 write$1$x(receiver, a0) {
24646 return J.getInterceptor$x(receiver).write$1(receiver, a0);
24647 },
24648 writeFileSync$2$x(receiver, a0, a1) {
24649 return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
24650 },
24651 yield$0$x(receiver) {
24652 return J.getInterceptor$x(receiver).yield$0(receiver);
24653 },
24654 Interceptor: function Interceptor() {
24655 },
24656 JSBool: function JSBool() {
24657 },
24658 JSNull: function JSNull() {
24659 },
24660 JavaScriptObject: function JavaScriptObject() {
24661 },
24662 LegacyJavaScriptObject: function LegacyJavaScriptObject() {
24663 },
24664 PlainJavaScriptObject: function PlainJavaScriptObject() {
24665 },
24666 UnknownJavaScriptObject: function UnknownJavaScriptObject() {
24667 },
24668 JavaScriptFunction: function JavaScriptFunction() {
24669 },
24670 JSArray: function JSArray(t0) {
24671 this.$ti = t0;
24672 },
24673 JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
24674 this.$ti = t0;
24675 },
24676 ArrayIterator: function ArrayIterator(t0, t1) {
24677 var _ = this;
24678 _._iterable = t0;
24679 _._length = t1;
24680 _._index = 0;
24681 _._current = null;
24682 },
24683 JSNumber: function JSNumber() {
24684 },
24685 JSInt: function JSInt() {
24686 },
24687 JSNumNotInt: function JSNumNotInt() {
24688 },
24689 JSString: function JSString() {
24690 }
24691 },
24692 B = {};
24693 var holders = [A, J, B];
24694 var $ = {};
24695 A.JS_CONST.prototype = {};
24696 J.Interceptor.prototype = {
24697 $eq(receiver, other) {
24698 return receiver === other;
24699 },
24700 get$hashCode(receiver) {
24701 return A.Primitives_objectHashCode(receiver);
24702 },
24703 toString$0(receiver) {
24704 return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
24705 },
24706 noSuchMethod$1(receiver, invocation) {
24707 throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
24708 }
24709 };
24710 J.JSBool.prototype = {
24711 toString$0(receiver) {
24712 return String(receiver);
24713 },
24714 get$hashCode(receiver) {
24715 return receiver ? 519018 : 218159;
24716 },
24717 $isbool: 1
24718 };
24719 J.JSNull.prototype = {
24720 $eq(receiver, other) {
24721 return null == other;
24722 },
24723 toString$0(receiver) {
24724 return "null";
24725 },
24726 get$hashCode(receiver) {
24727 return 0;
24728 },
24729 get$runtimeType(receiver) {
24730 return B.Type_Null_Yyn;
24731 },
24732 $isNull: 1
24733 };
24734 J.JavaScriptObject.prototype = {};
24735 J.LegacyJavaScriptObject.prototype = {
24736 get$hashCode(receiver) {
24737 return 0;
24738 },
24739 toString$0(receiver) {
24740 return String(receiver);
24741 },
24742 $isPromise: 1,
24743 $isJsSystemError: 1,
24744 $is_NodeSassColor: 1,
24745 $is_Channels: 1,
24746 $isCompileOptions: 1,
24747 $isCompileStringOptions: 1,
24748 $isNodeCompileResult: 1,
24749 $is_NodeException: 1,
24750 $isFiber: 1,
24751 $isJSFunction0: 1,
24752 $isImmutableList: 1,
24753 $isImmutableMap: 1,
24754 $isNodeImporter0: 1,
24755 $isNodeImporterResult0: 1,
24756 $isNodeImporterResult1: 1,
24757 $is_NodeSassList: 1,
24758 $is_ConstructorOptions: 1,
24759 $isWarnOptions: 1,
24760 $isDebugOptions: 1,
24761 $is_NodeSassMap: 1,
24762 $is_NodeSassNumber: 1,
24763 $is_ConstructorOptions0: 1,
24764 $isJSClass0: 1,
24765 $isRenderContextOptions0: 1,
24766 $isRenderOptions: 1,
24767 $isRenderResult: 1,
24768 $is_NodeSassString: 1,
24769 $is_ConstructorOptions1: 1,
24770 $isJSUrl0: 1,
24771 get$isTTY(obj) {
24772 return obj.isTTY;
24773 },
24774 get$write(obj) {
24775 return obj.write;
24776 },
24777 write$1(receiver, p0) {
24778 return receiver.write(p0);
24779 },
24780 createInterface$1(receiver, p0) {
24781 return receiver.createInterface(p0);
24782 },
24783 on$2(receiver, p0, p1) {
24784 return receiver.on(p0, p1);
24785 },
24786 get$close(obj) {
24787 return obj.close;
24788 },
24789 close$0(receiver) {
24790 return receiver.close();
24791 },
24792 setPrompt$1(receiver, p0) {
24793 return receiver.setPrompt(p0);
24794 },
24795 get$length(obj) {
24796 return obj.length;
24797 },
24798 toString$0(receiver) {
24799 return receiver.toString();
24800 },
24801 get$debug(obj) {
24802 return obj.debug;
24803 },
24804 debug$2(receiver, p0, p1) {
24805 return receiver.debug(p0, p1);
24806 },
24807 get$warn(obj) {
24808 return obj.warn;
24809 },
24810 warn$1(receiver, p0) {
24811 return receiver.warn(p0);
24812 },
24813 existsSync$1(receiver, p0) {
24814 return receiver.existsSync(p0);
24815 },
24816 mkdirSync$1(receiver, p0) {
24817 return receiver.mkdirSync(p0);
24818 },
24819 readdirSync$1(receiver, p0) {
24820 return receiver.readdirSync(p0);
24821 },
24822 readFileSync$2(receiver, p0, p1) {
24823 return receiver.readFileSync(p0, p1);
24824 },
24825 statSync$1(receiver, p0) {
24826 return receiver.statSync(p0);
24827 },
24828 unlinkSync$1(receiver, p0) {
24829 return receiver.unlinkSync(p0);
24830 },
24831 watch$2(receiver, p0, p1) {
24832 return receiver.watch(p0, p1);
24833 },
24834 writeFileSync$2(receiver, p0, p1) {
24835 return receiver.writeFileSync(p0, p1);
24836 },
24837 get$path(obj) {
24838 return obj.path;
24839 },
24840 isDirectory$0(receiver) {
24841 return receiver.isDirectory();
24842 },
24843 isFile$0(receiver) {
24844 return receiver.isFile();
24845 },
24846 get$mtime(obj) {
24847 return obj.mtime;
24848 },
24849 then$1$1(receiver, p0) {
24850 return receiver.then(p0);
24851 },
24852 then$2(receiver, p0, p1) {
24853 return receiver.then(p0, p1);
24854 },
24855 getTime$0(receiver) {
24856 return receiver.getTime();
24857 },
24858 get$message(obj) {
24859 return obj.message;
24860 },
24861 message$1(receiver, p0) {
24862 return receiver.message(p0);
24863 },
24864 get$code(obj) {
24865 return obj.code;
24866 },
24867 get$syscall(obj) {
24868 return obj.syscall;
24869 },
24870 get$env(obj) {
24871 return obj.env;
24872 },
24873 get$exitCode(obj) {
24874 return obj.exitCode;
24875 },
24876 set$exitCode(obj, v) {
24877 return obj.exitCode = v;
24878 },
24879 get$platform(obj) {
24880 return obj.platform;
24881 },
24882 get$stderr(obj) {
24883 return obj.stderr;
24884 },
24885 get$stdin(obj) {
24886 return obj.stdin;
24887 },
24888 get$name(obj) {
24889 return obj.name;
24890 },
24891 push$1(receiver, p0) {
24892 return receiver.push(p0);
24893 },
24894 call$0(receiver) {
24895 return receiver.call();
24896 },
24897 call$1(receiver, p0) {
24898 return receiver.call(p0);
24899 },
24900 call$2(receiver, p0, p1) {
24901 return receiver.call(p0, p1);
24902 },
24903 call$3$1(receiver, p0) {
24904 return receiver.call(p0);
24905 },
24906 call$2$1(receiver, p0) {
24907 return receiver.call(p0);
24908 },
24909 call$1$1(receiver, p0) {
24910 return receiver.call(p0);
24911 },
24912 call$3(receiver, p0, p1, p2) {
24913 return receiver.call(p0, p1, p2);
24914 },
24915 call$3$3(receiver, p0, p1, p2) {
24916 return receiver.call(p0, p1, p2);
24917 },
24918 call$2$2(receiver, p0, p1) {
24919 return receiver.call(p0, p1);
24920 },
24921 call$1$0(receiver) {
24922 return receiver.call();
24923 },
24924 call$2$0(receiver) {
24925 return receiver.call();
24926 },
24927 call$2$3(receiver, p0, p1, p2) {
24928 return receiver.call(p0, p1, p2);
24929 },
24930 call$1$2(receiver, p0, p1) {
24931 return receiver.call(p0, p1);
24932 },
24933 apply$2(receiver, p0, p1) {
24934 return receiver.apply(p0, p1);
24935 },
24936 get$file(obj) {
24937 return obj.file;
24938 },
24939 get$contents(obj) {
24940 return obj.contents;
24941 },
24942 get$options(obj) {
24943 return obj.options;
24944 },
24945 get$data(obj) {
24946 return obj.data;
24947 },
24948 get$includePaths(obj) {
24949 return obj.includePaths;
24950 },
24951 get$style(obj) {
24952 return obj.style;
24953 },
24954 get$indentType(obj) {
24955 return obj.indentType;
24956 },
24957 get$indentWidth(obj) {
24958 return obj.indentWidth;
24959 },
24960 get$linefeed(obj) {
24961 return obj.linefeed;
24962 },
24963 set$context(obj, v) {
24964 return obj.context = v;
24965 },
24966 get$$prototype(obj) {
24967 return obj.prototype;
24968 },
24969 get$dartValue(obj) {
24970 return obj.dartValue;
24971 },
24972 set$dartValue(obj, v) {
24973 return obj.dartValue = v;
24974 },
24975 get$red(obj) {
24976 return obj.red;
24977 },
24978 get$green(obj) {
24979 return obj.green;
24980 },
24981 get$blue(obj) {
24982 return obj.blue;
24983 },
24984 get$hue(obj) {
24985 return obj.hue;
24986 },
24987 get$saturation(obj) {
24988 return obj.saturation;
24989 },
24990 get$lightness(obj) {
24991 return obj.lightness;
24992 },
24993 get$whiteness(obj) {
24994 return obj.whiteness;
24995 },
24996 get$blackness(obj) {
24997 return obj.blackness;
24998 },
24999 get$alpha(obj) {
25000 return obj.alpha;
25001 },
25002 get$alertAscii(obj) {
25003 return obj.alertAscii;
25004 },
25005 get$alertColor(obj) {
25006 return obj.alertColor;
25007 },
25008 get$loadPaths(obj) {
25009 return obj.loadPaths;
25010 },
25011 get$quietDeps(obj) {
25012 return obj.quietDeps;
25013 },
25014 get$verbose(obj) {
25015 return obj.verbose;
25016 },
25017 get$sourceMap(obj) {
25018 return obj.sourceMap;
25019 },
25020 get$sourceMapIncludeSources(obj) {
25021 return obj.sourceMapIncludeSources;
25022 },
25023 get$logger(obj) {
25024 return obj.logger;
25025 },
25026 get$importers(obj) {
25027 return obj.importers;
25028 },
25029 get$functions(obj) {
25030 return obj.functions;
25031 },
25032 get$syntax(obj) {
25033 return obj.syntax;
25034 },
25035 get$url(obj) {
25036 return obj.url;
25037 },
25038 get$importer(obj) {
25039 return obj.importer;
25040 },
25041 get$_dartException(obj) {
25042 return obj._dartException;
25043 },
25044 set$renderSync(obj, v) {
25045 return obj.renderSync = v;
25046 },
25047 set$compileString(obj, v) {
25048 return obj.compileString = v;
25049 },
25050 set$compileStringAsync(obj, v) {
25051 return obj.compileStringAsync = v;
25052 },
25053 set$compile(obj, v) {
25054 return obj.compile = v;
25055 },
25056 set$compileAsync(obj, v) {
25057 return obj.compileAsync = v;
25058 },
25059 set$info(obj, v) {
25060 return obj.info = v;
25061 },
25062 set$Exception(obj, v) {
25063 return obj.Exception = v;
25064 },
25065 set$Logger(obj, v) {
25066 return obj.Logger = v;
25067 },
25068 set$Value(obj, v) {
25069 return obj.Value = v;
25070 },
25071 set$SassArgumentList(obj, v) {
25072 return obj.SassArgumentList = v;
25073 },
25074 set$SassBoolean(obj, v) {
25075 return obj.SassBoolean = v;
25076 },
25077 set$SassColor(obj, v) {
25078 return obj.SassColor = v;
25079 },
25080 set$SassFunction(obj, v) {
25081 return obj.SassFunction = v;
25082 },
25083 set$SassList(obj, v) {
25084 return obj.SassList = v;
25085 },
25086 set$SassMap(obj, v) {
25087 return obj.SassMap = v;
25088 },
25089 set$SassNumber(obj, v) {
25090 return obj.SassNumber = v;
25091 },
25092 set$SassString(obj, v) {
25093 return obj.SassString = v;
25094 },
25095 set$sassNull(obj, v) {
25096 return obj.sassNull = v;
25097 },
25098 set$sassTrue(obj, v) {
25099 return obj.sassTrue = v;
25100 },
25101 set$sassFalse(obj, v) {
25102 return obj.sassFalse = v;
25103 },
25104 set$render(obj, v) {
25105 return obj.render = v;
25106 },
25107 set$types(obj, v) {
25108 return obj.types = v;
25109 },
25110 set$NULL(obj, v) {
25111 return obj.NULL = v;
25112 },
25113 set$TRUE(obj, v) {
25114 return obj.TRUE = v;
25115 },
25116 set$FALSE(obj, v) {
25117 return obj.FALSE = v;
25118 },
25119 get$current(obj) {
25120 return obj.current;
25121 },
25122 yield$0(receiver) {
25123 return receiver.yield();
25124 },
25125 run$1$1(receiver, p0) {
25126 return receiver.run(p0);
25127 },
25128 run$1(receiver, p0) {
25129 return receiver.run(p0);
25130 },
25131 run$0(receiver) {
25132 return receiver.run();
25133 },
25134 toArray$0(receiver) {
25135 return receiver.toArray();
25136 },
25137 asMutable$0(receiver) {
25138 return receiver.asMutable();
25139 },
25140 asImmutable$0(receiver) {
25141 return receiver.asImmutable();
25142 },
25143 $set$2(receiver, p0, p1) {
25144 return receiver.set(p0, p1);
25145 },
25146 forEach$1(receiver, p0) {
25147 return receiver.forEach(p0);
25148 },
25149 get$canonicalize(obj) {
25150 return obj.canonicalize;
25151 },
25152 canonicalize$1(receiver, p0) {
25153 return receiver.canonicalize(p0);
25154 },
25155 get$load(obj) {
25156 return obj.load;
25157 },
25158 load$1(receiver, p0) {
25159 return receiver.load(p0);
25160 },
25161 get$findFileUrl(obj) {
25162 return obj.findFileUrl;
25163 },
25164 get$sourceMapUrl(obj) {
25165 return obj.sourceMapUrl;
25166 },
25167 get$separator(obj) {
25168 return obj.separator;
25169 },
25170 get$brackets(obj) {
25171 return obj.brackets;
25172 },
25173 get$numeratorUnits(obj) {
25174 return obj.numeratorUnits;
25175 },
25176 get$denominatorUnits(obj) {
25177 return obj.denominatorUnits;
25178 },
25179 get$indentedSyntax(obj) {
25180 return obj.indentedSyntax;
25181 },
25182 get$omitSourceMapUrl(obj) {
25183 return obj.omitSourceMapUrl;
25184 },
25185 get$outFile(obj) {
25186 return obj.outFile;
25187 },
25188 get$outputStyle(obj) {
25189 return obj.outputStyle;
25190 },
25191 get$fiber(obj) {
25192 return obj.fiber;
25193 },
25194 get$sourceMapContents(obj) {
25195 return obj.sourceMapContents;
25196 },
25197 get$sourceMapEmbed(obj) {
25198 return obj.sourceMapEmbed;
25199 },
25200 get$sourceMapRoot(obj) {
25201 return obj.sourceMapRoot;
25202 },
25203 get$charset(obj) {
25204 return obj.charset;
25205 },
25206 set$cli_pkg_main_0_(obj, v) {
25207 return obj.cli_pkg_main_0_ = v;
25208 },
25209 get$quotes(obj) {
25210 return obj.quotes;
25211 }
25212 };
25213 J.PlainJavaScriptObject.prototype = {};
25214 J.UnknownJavaScriptObject.prototype = {};
25215 J.JavaScriptFunction.prototype = {
25216 toString$0(receiver) {
25217 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
25218 if (dartClosure == null)
25219 return this.super$LegacyJavaScriptObject$toString(receiver);
25220 return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
25221 },
25222 $isFunction: 1
25223 };
25224 J.JSArray.prototype = {
25225 cast$1$0(receiver, $R) {
25226 return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25227 },
25228 add$1(receiver, value) {
25229 if (!!receiver.fixed$length)
25230 A.throwExpression(A.UnsupportedError$("add"));
25231 receiver.push(value);
25232 },
25233 removeAt$1(receiver, index) {
25234 var t1;
25235 if (!!receiver.fixed$length)
25236 A.throwExpression(A.UnsupportedError$("removeAt"));
25237 t1 = receiver.length;
25238 if (index >= t1)
25239 throw A.wrapException(A.RangeError$value(index, null, null));
25240 return receiver.splice(index, 1)[0];
25241 },
25242 insert$2(receiver, index, value) {
25243 var t1;
25244 if (!!receiver.fixed$length)
25245 A.throwExpression(A.UnsupportedError$("insert"));
25246 t1 = receiver.length;
25247 if (index > t1)
25248 throw A.wrapException(A.RangeError$value(index, null, null));
25249 receiver.splice(index, 0, value);
25250 },
25251 insertAll$2(receiver, index, iterable) {
25252 var insertionLength, end;
25253 if (!!receiver.fixed$length)
25254 A.throwExpression(A.UnsupportedError$("insertAll"));
25255 A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
25256 if (!type$.EfficientLengthIterable_dynamic._is(iterable))
25257 iterable = J.toList$0$ax(iterable);
25258 insertionLength = J.get$length$asx(iterable);
25259 receiver.length = receiver.length + insertionLength;
25260 end = index + insertionLength;
25261 this.setRange$4(receiver, end, receiver.length, receiver, index);
25262 this.setRange$3(receiver, index, end, iterable);
25263 },
25264 removeLast$0(receiver) {
25265 if (!!receiver.fixed$length)
25266 A.throwExpression(A.UnsupportedError$("removeLast"));
25267 if (receiver.length === 0)
25268 throw A.wrapException(A.diagnoseIndexError(receiver, -1));
25269 return receiver.pop();
25270 },
25271 _removeWhere$2(receiver, test, removeMatching) {
25272 var i, element, t1, retained = [],
25273 end = receiver.length;
25274 for (i = 0; i < end; ++i) {
25275 element = receiver[i];
25276 if (!test.call$1(element))
25277 retained.push(element);
25278 if (receiver.length !== end)
25279 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25280 }
25281 t1 = retained.length;
25282 if (t1 === end)
25283 return;
25284 this.set$length(receiver, t1);
25285 for (i = 0; i < retained.length; ++i)
25286 receiver[i] = retained[i];
25287 },
25288 where$1(receiver, f) {
25289 return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
25290 },
25291 expand$1$1(receiver, f, $T) {
25292 return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
25293 },
25294 addAll$1(receiver, collection) {
25295 var t1;
25296 if (!!receiver.fixed$length)
25297 A.throwExpression(A.UnsupportedError$("addAll"));
25298 if (Array.isArray(collection)) {
25299 this._addAllFromArray$1(receiver, collection);
25300 return;
25301 }
25302 for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
25303 receiver.push(t1.get$current(t1));
25304 },
25305 _addAllFromArray$1(receiver, array) {
25306 var i,
25307 len = array.length;
25308 if (len === 0)
25309 return;
25310 if (receiver === array)
25311 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25312 for (i = 0; i < len; ++i)
25313 receiver.push(array[i]);
25314 },
25315 map$1$1(receiver, f, $T) {
25316 return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
25317 },
25318 join$1(receiver, separator) {
25319 var i,
25320 list = A.List_List$filled(receiver.length, "", false, type$.String);
25321 for (i = 0; i < receiver.length; ++i)
25322 list[i] = A.S(receiver[i]);
25323 return list.join(separator);
25324 },
25325 join$0($receiver) {
25326 return this.join$1($receiver, "");
25327 },
25328 take$1(receiver, n) {
25329 return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
25330 },
25331 skip$1(receiver, n) {
25332 return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
25333 },
25334 fold$1$2(receiver, initialValue, combine) {
25335 var value, i,
25336 $length = receiver.length;
25337 for (value = initialValue, i = 0; i < $length; ++i) {
25338 value = combine.call$2(value, receiver[i]);
25339 if (receiver.length !== $length)
25340 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25341 }
25342 return value;
25343 },
25344 fold$2($receiver, initialValue, combine) {
25345 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
25346 },
25347 elementAt$1(receiver, index) {
25348 return receiver[index];
25349 },
25350 sublist$2(receiver, start, end) {
25351 var end0 = receiver.length;
25352 if (start > end0)
25353 throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
25354 if (end == null)
25355 end = end0;
25356 else if (end < start || end > end0)
25357 throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
25358 if (start === end)
25359 return A._setArrayType([], A._arrayInstanceType(receiver));
25360 return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
25361 },
25362 sublist$1($receiver, start) {
25363 return this.sublist$2($receiver, start, null);
25364 },
25365 getRange$2(receiver, start, end) {
25366 A.RangeError_checkValidRange(start, end, receiver.length);
25367 return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
25368 },
25369 get$first(receiver) {
25370 if (receiver.length > 0)
25371 return receiver[0];
25372 throw A.wrapException(A.IterableElementError_noElement());
25373 },
25374 get$last(receiver) {
25375 var t1 = receiver.length;
25376 if (t1 > 0)
25377 return receiver[t1 - 1];
25378 throw A.wrapException(A.IterableElementError_noElement());
25379 },
25380 get$single(receiver) {
25381 var t1 = receiver.length;
25382 if (t1 === 1)
25383 return receiver[0];
25384 if (t1 === 0)
25385 throw A.wrapException(A.IterableElementError_noElement());
25386 throw A.wrapException(A.IterableElementError_tooMany());
25387 },
25388 removeRange$2(receiver, start, end) {
25389 if (!!receiver.fixed$length)
25390 A.throwExpression(A.UnsupportedError$("removeRange"));
25391 A.RangeError_checkValidRange(start, end, receiver.length);
25392 receiver.splice(start, end - start);
25393 },
25394 setRange$4(receiver, start, end, iterable, skipCount) {
25395 var $length, otherList, otherStart, t1, i;
25396 if (!!receiver.immutable$list)
25397 A.throwExpression(A.UnsupportedError$("setRange"));
25398 A.RangeError_checkValidRange(start, end, receiver.length);
25399 $length = end - start;
25400 if ($length === 0)
25401 return;
25402 A.RangeError_checkNotNegative(skipCount, "skipCount");
25403 if (type$.List_dynamic._is(iterable)) {
25404 otherList = iterable;
25405 otherStart = skipCount;
25406 } else {
25407 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
25408 otherStart = 0;
25409 }
25410 t1 = J.getInterceptor$asx(otherList);
25411 if (otherStart + $length > t1.get$length(otherList))
25412 throw A.wrapException(A.IterableElementError_tooFew());
25413 if (otherStart < start)
25414 for (i = $length - 1; i >= 0; --i)
25415 receiver[start + i] = t1.$index(otherList, otherStart + i);
25416 else
25417 for (i = 0; i < $length; ++i)
25418 receiver[start + i] = t1.$index(otherList, otherStart + i);
25419 },
25420 setRange$3($receiver, start, end, iterable) {
25421 return this.setRange$4($receiver, start, end, iterable, 0);
25422 },
25423 fillRange$3(receiver, start, end, fillValue) {
25424 var i;
25425 if (!!receiver.immutable$list)
25426 A.throwExpression(A.UnsupportedError$("fill range"));
25427 A.RangeError_checkValidRange(start, end, receiver.length);
25428 A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
25429 for (i = start; i < end; ++i)
25430 receiver[i] = fillValue;
25431 },
25432 any$1(receiver, test) {
25433 var i,
25434 end = receiver.length;
25435 for (i = 0; i < end; ++i) {
25436 if (test.call$1(receiver[i]))
25437 return true;
25438 if (receiver.length !== end)
25439 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25440 }
25441 return false;
25442 },
25443 every$1(receiver, test) {
25444 var i,
25445 end = receiver.length;
25446 for (i = 0; i < end; ++i) {
25447 if (!test.call$1(receiver[i]))
25448 return false;
25449 if (receiver.length !== end)
25450 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25451 }
25452 return true;
25453 },
25454 get$reversed(receiver) {
25455 return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
25456 },
25457 sort$1(receiver, compare) {
25458 if (!!receiver.immutable$list)
25459 A.throwExpression(A.UnsupportedError$("sort"));
25460 A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
25461 },
25462 sort$0($receiver) {
25463 return this.sort$1($receiver, null);
25464 },
25465 indexOf$1(receiver, element) {
25466 var i,
25467 $length = receiver.length;
25468 if (0 >= $length)
25469 return -1;
25470 for (i = 0; i < $length; ++i)
25471 if (J.$eq$(receiver[i], element))
25472 return i;
25473 return -1;
25474 },
25475 contains$1(receiver, other) {
25476 var i;
25477 for (i = 0; i < receiver.length; ++i)
25478 if (J.$eq$(receiver[i], other))
25479 return true;
25480 return false;
25481 },
25482 get$isEmpty(receiver) {
25483 return receiver.length === 0;
25484 },
25485 get$isNotEmpty(receiver) {
25486 return receiver.length !== 0;
25487 },
25488 toString$0(receiver) {
25489 return A.IterableBase_iterableToFullString(receiver, "[", "]");
25490 },
25491 toList$1$growable(receiver, growable) {
25492 var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
25493 return t1;
25494 },
25495 toList$0($receiver) {
25496 return this.toList$1$growable($receiver, true);
25497 },
25498 toSet$0(receiver) {
25499 return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
25500 },
25501 get$iterator(receiver) {
25502 return new J.ArrayIterator(receiver, receiver.length);
25503 },
25504 get$hashCode(receiver) {
25505 return A.Primitives_objectHashCode(receiver);
25506 },
25507 get$length(receiver) {
25508 return receiver.length;
25509 },
25510 set$length(receiver, newLength) {
25511 if (!!receiver.fixed$length)
25512 A.throwExpression(A.UnsupportedError$("set length"));
25513 if (newLength < 0)
25514 throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
25515 if (newLength > receiver.length)
25516 A._arrayInstanceType(receiver)._precomputed1._as(null);
25517 receiver.length = newLength;
25518 },
25519 $index(receiver, index) {
25520 if (!(index >= 0 && index < receiver.length))
25521 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25522 return receiver[index];
25523 },
25524 $indexSet(receiver, index, value) {
25525 if (!!receiver.immutable$list)
25526 A.throwExpression(A.UnsupportedError$("indexed set"));
25527 if (!(index >= 0 && index < receiver.length))
25528 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25529 receiver[index] = value;
25530 },
25531 $add(receiver, other) {
25532 var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
25533 this.addAll$1(t1, other);
25534 return t1;
25535 },
25536 indexWhere$1(receiver, test) {
25537 var i;
25538 if (0 >= receiver.length)
25539 return -1;
25540 for (i = 0; i < receiver.length; ++i)
25541 if (test.call$1(receiver[i]))
25542 return i;
25543 return -1;
25544 },
25545 $isEfficientLengthIterable: 1,
25546 $isIterable: 1,
25547 $isList: 1
25548 };
25549 J.JSUnmodifiableArray.prototype = {};
25550 J.ArrayIterator.prototype = {
25551 get$current(_) {
25552 var t1 = this._current;
25553 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
25554 },
25555 moveNext$0() {
25556 var t2, _this = this,
25557 t1 = _this._iterable,
25558 $length = t1.length;
25559 if (_this._length !== $length)
25560 throw A.wrapException(A.throwConcurrentModificationError(t1));
25561 t2 = _this._index;
25562 if (t2 >= $length) {
25563 _this._current = null;
25564 return false;
25565 }
25566 _this._current = t1[t2];
25567 _this._index = t2 + 1;
25568 return true;
25569 }
25570 };
25571 J.JSNumber.prototype = {
25572 compareTo$1(receiver, b) {
25573 var bIsNegative;
25574 if (receiver < b)
25575 return -1;
25576 else if (receiver > b)
25577 return 1;
25578 else if (receiver === b) {
25579 if (receiver === 0) {
25580 bIsNegative = this.get$isNegative(b);
25581 if (this.get$isNegative(receiver) === bIsNegative)
25582 return 0;
25583 if (this.get$isNegative(receiver))
25584 return -1;
25585 return 1;
25586 }
25587 return 0;
25588 } else if (isNaN(receiver)) {
25589 if (isNaN(b))
25590 return 0;
25591 return 1;
25592 } else
25593 return -1;
25594 },
25595 get$isNegative(receiver) {
25596 return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
25597 },
25598 ceil$0(receiver) {
25599 var truncated, d;
25600 if (receiver >= 0) {
25601 if (receiver <= 2147483647) {
25602 truncated = receiver | 0;
25603 return receiver === truncated ? truncated : truncated + 1;
25604 }
25605 } else if (receiver >= -2147483648)
25606 return receiver | 0;
25607 d = Math.ceil(receiver);
25608 if (isFinite(d))
25609 return d;
25610 throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
25611 },
25612 floor$0(receiver) {
25613 var truncated, d;
25614 if (receiver >= 0) {
25615 if (receiver <= 2147483647)
25616 return receiver | 0;
25617 } else if (receiver >= -2147483648) {
25618 truncated = receiver | 0;
25619 return receiver === truncated ? truncated : truncated - 1;
25620 }
25621 d = Math.floor(receiver);
25622 if (isFinite(d))
25623 return d;
25624 throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
25625 },
25626 round$0(receiver) {
25627 if (receiver > 0) {
25628 if (receiver !== 1 / 0)
25629 return Math.round(receiver);
25630 } else if (receiver > -1 / 0)
25631 return 0 - Math.round(0 - receiver);
25632 throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
25633 },
25634 clamp$2(receiver, lowerLimit, upperLimit) {
25635 if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
25636 throw A.wrapException(A.argumentErrorValue(lowerLimit));
25637 if (this.compareTo$1(receiver, lowerLimit) < 0)
25638 return lowerLimit;
25639 if (this.compareTo$1(receiver, upperLimit) > 0)
25640 return upperLimit;
25641 return receiver;
25642 },
25643 toRadixString$1(receiver, radix) {
25644 var result, match, exponent, t1;
25645 if (radix < 2 || radix > 36)
25646 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
25647 result = receiver.toString(radix);
25648 if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
25649 return result;
25650 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
25651 if (match == null)
25652 A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
25653 result = match[1];
25654 exponent = +match[3];
25655 t1 = match[2];
25656 if (t1 != null) {
25657 result += t1;
25658 exponent -= t1.length;
25659 }
25660 return result + B.JSString_methods.$mul("0", exponent);
25661 },
25662 toString$0(receiver) {
25663 if (receiver === 0 && 1 / receiver < 0)
25664 return "-0.0";
25665 else
25666 return "" + receiver;
25667 },
25668 get$hashCode(receiver) {
25669 var absolute, floorLog2, factor, scaled,
25670 intValue = receiver | 0;
25671 if (receiver === intValue)
25672 return intValue & 536870911;
25673 absolute = Math.abs(receiver);
25674 floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
25675 factor = Math.pow(2, floorLog2);
25676 scaled = absolute < 1 ? absolute / factor : factor / absolute;
25677 return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
25678 },
25679 $add(receiver, other) {
25680 return receiver + other;
25681 },
25682 $mod(receiver, other) {
25683 var result = receiver % other;
25684 if (result === 0)
25685 return 0;
25686 if (result > 0)
25687 return result;
25688 if (other < 0)
25689 return result - other;
25690 else
25691 return result + other;
25692 },
25693 $tdiv(receiver, other) {
25694 if ((receiver | 0) === receiver)
25695 if (other >= 1 || other < -1)
25696 return receiver / other | 0;
25697 return this._tdivSlow$1(receiver, other);
25698 },
25699 _tdivFast$1(receiver, other) {
25700 return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
25701 },
25702 _tdivSlow$1(receiver, other) {
25703 var quotient = receiver / other;
25704 if (quotient >= -2147483648 && quotient <= 2147483647)
25705 return quotient | 0;
25706 if (quotient > 0) {
25707 if (quotient !== 1 / 0)
25708 return Math.floor(quotient);
25709 } else if (quotient > -1 / 0)
25710 return Math.ceil(quotient);
25711 throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
25712 },
25713 _shrOtherPositive$1(receiver, other) {
25714 var t1;
25715 if (receiver > 0)
25716 t1 = this._shrBothPositive$1(receiver, other);
25717 else {
25718 t1 = other > 31 ? 31 : other;
25719 t1 = receiver >> t1 >>> 0;
25720 }
25721 return t1;
25722 },
25723 _shrReceiverPositive$1(receiver, other) {
25724 if (0 > other)
25725 throw A.wrapException(A.argumentErrorValue(other));
25726 return this._shrBothPositive$1(receiver, other);
25727 },
25728 _shrBothPositive$1(receiver, other) {
25729 return other > 31 ? 0 : receiver >>> other;
25730 },
25731 $isComparable: 1,
25732 $isdouble: 1,
25733 $isnum: 1
25734 };
25735 J.JSInt.prototype = {$isint: 1};
25736 J.JSNumNotInt.prototype = {};
25737 J.JSString.prototype = {
25738 codeUnitAt$1(receiver, index) {
25739 if (index < 0)
25740 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25741 if (index >= receiver.length)
25742 A.throwExpression(A.diagnoseIndexError(receiver, index));
25743 return receiver.charCodeAt(index);
25744 },
25745 _codeUnitAt$1(receiver, index) {
25746 if (index >= receiver.length)
25747 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25748 return receiver.charCodeAt(index);
25749 },
25750 allMatches$2(receiver, string, start) {
25751 var t1 = string.length;
25752 if (start > t1)
25753 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
25754 return new A._StringAllMatchesIterable(string, receiver, start);
25755 },
25756 allMatches$1($receiver, string) {
25757 return this.allMatches$2($receiver, string, 0);
25758 },
25759 matchAsPrefix$2(receiver, string, start) {
25760 var t1, i, _null = null;
25761 if (start < 0 || start > string.length)
25762 throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
25763 t1 = receiver.length;
25764 if (start + t1 > string.length)
25765 return _null;
25766 for (i = 0; i < t1; ++i)
25767 if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
25768 return _null;
25769 return new A.StringMatch(start, receiver);
25770 },
25771 $add(receiver, other) {
25772 return receiver + other;
25773 },
25774 endsWith$1(receiver, other) {
25775 var otherLength = other.length,
25776 t1 = receiver.length;
25777 if (otherLength > t1)
25778 return false;
25779 return other === this.substring$1(receiver, t1 - otherLength);
25780 },
25781 replaceFirst$2(receiver, from, to) {
25782 A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
25783 return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
25784 },
25785 split$1(receiver, pattern) {
25786 if (typeof pattern == "string")
25787 return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
25788 else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
25789 return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
25790 else
25791 return this._defaultSplit$1(receiver, pattern);
25792 },
25793 replaceRange$3(receiver, start, end, replacement) {
25794 var e = A.RangeError_checkValidRange(start, end, receiver.length);
25795 return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
25796 },
25797 _defaultSplit$1(receiver, pattern) {
25798 var t1, start, $length, match, matchStart, matchEnd,
25799 result = A._setArrayType([], type$.JSArray_String);
25800 for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
25801 match = t1.get$current(t1);
25802 matchStart = match.get$start(match);
25803 matchEnd = match.get$end(match);
25804 $length = matchEnd - matchStart;
25805 if ($length === 0 && start === matchStart)
25806 continue;
25807 result.push(this.substring$2(receiver, start, matchStart));
25808 start = matchEnd;
25809 }
25810 if (start < receiver.length || $length > 0)
25811 result.push(this.substring$1(receiver, start));
25812 return result;
25813 },
25814 startsWith$2(receiver, pattern, index) {
25815 var endIndex;
25816 if (index < 0 || index > receiver.length)
25817 throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
25818 if (typeof pattern == "string") {
25819 endIndex = index + pattern.length;
25820 if (endIndex > receiver.length)
25821 return false;
25822 return pattern === receiver.substring(index, endIndex);
25823 }
25824 return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
25825 },
25826 startsWith$1($receiver, pattern) {
25827 return this.startsWith$2($receiver, pattern, 0);
25828 },
25829 substring$2(receiver, start, end) {
25830 return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
25831 },
25832 substring$1($receiver, start) {
25833 return this.substring$2($receiver, start, null);
25834 },
25835 trim$0(receiver) {
25836 var startIndex, t1, endIndex0,
25837 result = receiver.trim(),
25838 endIndex = result.length;
25839 if (endIndex === 0)
25840 return result;
25841 if (this._codeUnitAt$1(result, 0) === 133) {
25842 startIndex = J.JSString__skipLeadingWhitespace(result, 1);
25843 if (startIndex === endIndex)
25844 return "";
25845 } else
25846 startIndex = 0;
25847 t1 = endIndex - 1;
25848 endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
25849 if (startIndex === 0 && endIndex0 === endIndex)
25850 return result;
25851 return result.substring(startIndex, endIndex0);
25852 },
25853 trimRight$0(receiver) {
25854 var result, endIndex, t1;
25855 if (typeof receiver.trimRight != "undefined") {
25856 result = receiver.trimRight();
25857 endIndex = result.length;
25858 if (endIndex === 0)
25859 return result;
25860 t1 = endIndex - 1;
25861 if (this.codeUnitAt$1(result, t1) === 133)
25862 endIndex = J.JSString__skipTrailingWhitespace(result, t1);
25863 } else {
25864 endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
25865 result = receiver;
25866 }
25867 if (endIndex === result.length)
25868 return result;
25869 if (endIndex === 0)
25870 return "";
25871 return result.substring(0, endIndex);
25872 },
25873 $mul(receiver, times) {
25874 var s, result;
25875 if (0 >= times)
25876 return "";
25877 if (times === 1 || receiver.length === 0)
25878 return receiver;
25879 if (times !== times >>> 0)
25880 throw A.wrapException(B.C_OutOfMemoryError);
25881 for (s = receiver, result = ""; true;) {
25882 if ((times & 1) === 1)
25883 result = s + result;
25884 times = times >>> 1;
25885 if (times === 0)
25886 break;
25887 s += s;
25888 }
25889 return result;
25890 },
25891 padLeft$2(receiver, width, padding) {
25892 var delta = width - receiver.length;
25893 if (delta <= 0)
25894 return receiver;
25895 return this.$mul(padding, delta) + receiver;
25896 },
25897 padRight$1(receiver, width) {
25898 var delta = width - receiver.length;
25899 if (delta <= 0)
25900 return receiver;
25901 return receiver + this.$mul(" ", delta);
25902 },
25903 indexOf$2(receiver, pattern, start) {
25904 var t1;
25905 if (start < 0 || start > receiver.length)
25906 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25907 t1 = receiver.indexOf(pattern, start);
25908 return t1;
25909 },
25910 indexOf$1($receiver, pattern) {
25911 return this.indexOf$2($receiver, pattern, 0);
25912 },
25913 lastIndexOf$2(receiver, pattern, start) {
25914 var t1, t2, i;
25915 if (start == null)
25916 start = receiver.length;
25917 else if (start < 0 || start > receiver.length)
25918 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25919 if (typeof pattern == "string") {
25920 t1 = pattern.length;
25921 t2 = receiver.length;
25922 if (start + t1 > t2)
25923 start = t2 - t1;
25924 return receiver.lastIndexOf(pattern, start);
25925 }
25926 for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
25927 if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
25928 return i;
25929 return -1;
25930 },
25931 lastIndexOf$1($receiver, pattern) {
25932 return this.lastIndexOf$2($receiver, pattern, null);
25933 },
25934 contains$2(receiver, other, startIndex) {
25935 var t1 = receiver.length;
25936 if (startIndex > t1)
25937 throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
25938 return A.stringContainsUnchecked(receiver, other, startIndex);
25939 },
25940 contains$1($receiver, other) {
25941 return this.contains$2($receiver, other, 0);
25942 },
25943 get$isNotEmpty(receiver) {
25944 return receiver.length !== 0;
25945 },
25946 compareTo$1(receiver, other) {
25947 var t1;
25948 if (receiver === other)
25949 t1 = 0;
25950 else
25951 t1 = receiver < other ? -1 : 1;
25952 return t1;
25953 },
25954 toString$0(receiver) {
25955 return receiver;
25956 },
25957 get$hashCode(receiver) {
25958 var t1, hash, i;
25959 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
25960 hash = hash + receiver.charCodeAt(i) & 536870911;
25961 hash = hash + ((hash & 524287) << 10) & 536870911;
25962 hash ^= hash >> 6;
25963 }
25964 hash = hash + ((hash & 67108863) << 3) & 536870911;
25965 hash ^= hash >> 11;
25966 return hash + ((hash & 16383) << 15) & 536870911;
25967 },
25968 get$length(receiver) {
25969 return receiver.length;
25970 },
25971 $isComparable: 1,
25972 $isString: 1
25973 };
25974 A._CastIterableBase.prototype = {
25975 get$iterator(_) {
25976 var t1 = A._instanceType(this);
25977 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>"));
25978 },
25979 get$length(_) {
25980 return J.get$length$asx(this.get$_source());
25981 },
25982 get$isEmpty(_) {
25983 return J.get$isEmpty$asx(this.get$_source());
25984 },
25985 get$isNotEmpty(_) {
25986 return J.get$isNotEmpty$asx(this.get$_source());
25987 },
25988 skip$1(_, count) {
25989 var t1 = A._instanceType(this);
25990 return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25991 },
25992 take$1(_, count) {
25993 var t1 = A._instanceType(this);
25994 return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25995 },
25996 elementAt$1(_, index) {
25997 return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
25998 },
25999 get$first(_) {
26000 return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
26001 },
26002 get$last(_) {
26003 return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
26004 },
26005 get$single(_) {
26006 return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
26007 },
26008 contains$1(_, other) {
26009 return J.contains$1$asx(this.get$_source(), other);
26010 },
26011 toString$0(_) {
26012 return J.toString$0$(this.get$_source());
26013 }
26014 };
26015 A.CastIterator.prototype = {
26016 moveNext$0() {
26017 return this._source.moveNext$0();
26018 },
26019 get$current(_) {
26020 var t1 = this._source;
26021 return this.$ti._rest[1]._as(t1.get$current(t1));
26022 }
26023 };
26024 A.CastIterable.prototype = {
26025 get$_source() {
26026 return this._source;
26027 }
26028 };
26029 A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
26030 A._CastListBase.prototype = {
26031 $index(_, index) {
26032 return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
26033 },
26034 $indexSet(_, index, value) {
26035 J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
26036 },
26037 set$length(_, $length) {
26038 J.set$length$asx(this._source, $length);
26039 },
26040 add$1(_, value) {
26041 J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
26042 },
26043 sort$1(_, compare) {
26044 var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
26045 J.sort$1$ax(this._source, t1);
26046 },
26047 getRange$2(_, start, end) {
26048 var t1 = this.$ti;
26049 return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
26050 },
26051 setRange$4(_, start, end, iterable, skipCount) {
26052 var t1 = this.$ti;
26053 J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
26054 },
26055 fillRange$3(_, start, end, fillValue) {
26056 J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
26057 },
26058 $isEfficientLengthIterable: 1,
26059 $isList: 1
26060 };
26061 A._CastListBase_sort_closure.prototype = {
26062 call$2(v1, v2) {
26063 var t1 = this.$this.$ti._rest[1];
26064 return this.compare.call$2(t1._as(v1), t1._as(v2));
26065 },
26066 $signature() {
26067 return this.$this.$ti._eval$1("int(1,1)");
26068 }
26069 };
26070 A.CastList.prototype = {
26071 cast$1$0(_, $R) {
26072 return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
26073 },
26074 get$_source() {
26075 return this._source;
26076 }
26077 };
26078 A.CastSet.prototype = {
26079 add$1(_, value) {
26080 return this._source.add$1(0, this.$ti._precomputed1._as(value));
26081 },
26082 addAll$1(_, elements) {
26083 var t1 = this.$ti;
26084 this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
26085 },
26086 difference$1(other) {
26087 var t1, _this = this;
26088 if (_this._emptySet != null)
26089 return _this._conditionalAdd$2(other, false);
26090 t1 = _this.$ti;
26091 return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
26092 },
26093 _conditionalAdd$2(other, otherContains) {
26094 var t3, castElement,
26095 emptySet = this._emptySet,
26096 t1 = this.$ti,
26097 t2 = t1._rest[1],
26098 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
26099 for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
26100 castElement = t1._as(t2.get$current(t2));
26101 if (otherContains === t3.contains$1(0, castElement))
26102 result.add$1(0, castElement);
26103 }
26104 return result;
26105 },
26106 toSet$0(_) {
26107 var emptySet = this._emptySet,
26108 t1 = this.$ti._rest[1],
26109 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
26110 result.addAll$1(0, this);
26111 return result;
26112 },
26113 $isEfficientLengthIterable: 1,
26114 $isSet: 1,
26115 get$_source() {
26116 return this._source;
26117 }
26118 };
26119 A.CastMap.prototype = {
26120 cast$2$0(_, RK, RV) {
26121 var t1 = this.$ti;
26122 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>"));
26123 },
26124 containsKey$1(key) {
26125 return this._source.containsKey$1(key);
26126 },
26127 $index(_, key) {
26128 return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
26129 },
26130 $indexSet(_, key, value) {
26131 var t1 = this.$ti;
26132 this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
26133 },
26134 addAll$1(_, other) {
26135 var t1 = this.$ti;
26136 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>")));
26137 },
26138 remove$1(_, key) {
26139 return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
26140 },
26141 forEach$1(_, f) {
26142 this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
26143 },
26144 get$keys(_) {
26145 var t1 = this._source,
26146 t2 = this.$ti;
26147 return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
26148 },
26149 get$values(_) {
26150 var t1 = this._source,
26151 t2 = this.$ti;
26152 return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
26153 },
26154 get$length(_) {
26155 var t1 = this._source;
26156 return t1.get$length(t1);
26157 },
26158 get$isEmpty(_) {
26159 var t1 = this._source;
26160 return t1.get$isEmpty(t1);
26161 },
26162 get$isNotEmpty(_) {
26163 var t1 = this._source;
26164 return t1.get$isNotEmpty(t1);
26165 },
26166 get$entries(_) {
26167 var t1 = this._source;
26168 return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
26169 }
26170 };
26171 A.CastMap_forEach_closure.prototype = {
26172 call$2(key, value) {
26173 var t1 = this.$this.$ti;
26174 this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
26175 },
26176 $signature() {
26177 return this.$this.$ti._eval$1("~(1,2)");
26178 }
26179 };
26180 A.CastMap_entries_closure.prototype = {
26181 call$1(e) {
26182 var t1 = this.$this.$ti,
26183 t2 = t1._rest[3];
26184 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>"));
26185 },
26186 $signature() {
26187 return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
26188 }
26189 };
26190 A.LateError.prototype = {
26191 toString$0(_) {
26192 return "LateInitializationError: " + this._message;
26193 }
26194 };
26195 A.CodeUnits.prototype = {
26196 get$length(_) {
26197 return this.__internal$_string.length;
26198 },
26199 $index(_, i) {
26200 return B.JSString_methods.codeUnitAt$1(this.__internal$_string, i);
26201 }
26202 };
26203 A.nullFuture_closure.prototype = {
26204 call$0() {
26205 return A.Future_Future$value(null, type$.Null);
26206 },
26207 $signature: 2
26208 };
26209 A.SentinelValue.prototype = {};
26210 A.EfficientLengthIterable.prototype = {};
26211 A.ListIterable.prototype = {
26212 get$iterator(_) {
26213 return new A.ListIterator(this, this.get$length(this));
26214 },
26215 get$isEmpty(_) {
26216 return this.get$length(this) === 0;
26217 },
26218 get$first(_) {
26219 if (this.get$length(this) === 0)
26220 throw A.wrapException(A.IterableElementError_noElement());
26221 return this.elementAt$1(0, 0);
26222 },
26223 get$last(_) {
26224 var _this = this;
26225 if (_this.get$length(_this) === 0)
26226 throw A.wrapException(A.IterableElementError_noElement());
26227 return _this.elementAt$1(0, _this.get$length(_this) - 1);
26228 },
26229 get$single(_) {
26230 var _this = this;
26231 if (_this.get$length(_this) === 0)
26232 throw A.wrapException(A.IterableElementError_noElement());
26233 if (_this.get$length(_this) > 1)
26234 throw A.wrapException(A.IterableElementError_tooMany());
26235 return _this.elementAt$1(0, 0);
26236 },
26237 contains$1(_, element) {
26238 var i, _this = this,
26239 $length = _this.get$length(_this);
26240 for (i = 0; i < $length; ++i) {
26241 if (J.$eq$(_this.elementAt$1(0, i), element))
26242 return true;
26243 if ($length !== _this.get$length(_this))
26244 throw A.wrapException(A.ConcurrentModificationError$(_this));
26245 }
26246 return false;
26247 },
26248 any$1(_, test) {
26249 var i, _this = this,
26250 $length = _this.get$length(_this);
26251 for (i = 0; i < $length; ++i) {
26252 if (test.call$1(_this.elementAt$1(0, i)))
26253 return true;
26254 if ($length !== _this.get$length(_this))
26255 throw A.wrapException(A.ConcurrentModificationError$(_this));
26256 }
26257 return false;
26258 },
26259 join$1(_, separator) {
26260 var first, t1, i, _this = this,
26261 $length = _this.get$length(_this);
26262 if (separator.length !== 0) {
26263 if ($length === 0)
26264 return "";
26265 first = A.S(_this.elementAt$1(0, 0));
26266 if ($length !== _this.get$length(_this))
26267 throw A.wrapException(A.ConcurrentModificationError$(_this));
26268 for (t1 = first, i = 1; i < $length; ++i) {
26269 t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
26270 if ($length !== _this.get$length(_this))
26271 throw A.wrapException(A.ConcurrentModificationError$(_this));
26272 }
26273 return t1.charCodeAt(0) == 0 ? t1 : t1;
26274 } else {
26275 for (i = 0, t1 = ""; i < $length; ++i) {
26276 t1 += A.S(_this.elementAt$1(0, i));
26277 if ($length !== _this.get$length(_this))
26278 throw A.wrapException(A.ConcurrentModificationError$(_this));
26279 }
26280 return t1.charCodeAt(0) == 0 ? t1 : t1;
26281 }
26282 },
26283 join$0($receiver) {
26284 return this.join$1($receiver, "");
26285 },
26286 where$1(_, test) {
26287 return this.super$Iterable$where(0, test);
26288 },
26289 map$1$1(_, toElement, $T) {
26290 return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
26291 },
26292 reduce$1(_, combine) {
26293 var value, i, _this = this,
26294 $length = _this.get$length(_this);
26295 if ($length === 0)
26296 throw A.wrapException(A.IterableElementError_noElement());
26297 value = _this.elementAt$1(0, 0);
26298 for (i = 1; i < $length; ++i) {
26299 value = combine.call$2(value, _this.elementAt$1(0, i));
26300 if ($length !== _this.get$length(_this))
26301 throw A.wrapException(A.ConcurrentModificationError$(_this));
26302 }
26303 return value;
26304 },
26305 fold$1$2(_, initialValue, combine) {
26306 var value, i, _this = this,
26307 $length = _this.get$length(_this);
26308 for (value = initialValue, i = 0; i < $length; ++i) {
26309 value = combine.call$2(value, _this.elementAt$1(0, i));
26310 if ($length !== _this.get$length(_this))
26311 throw A.wrapException(A.ConcurrentModificationError$(_this));
26312 }
26313 return value;
26314 },
26315 fold$2($receiver, initialValue, combine) {
26316 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
26317 },
26318 skip$1(_, count) {
26319 return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
26320 },
26321 take$1(_, count) {
26322 return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
26323 },
26324 toList$1$growable(_, growable) {
26325 return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
26326 },
26327 toList$0($receiver) {
26328 return this.toList$1$growable($receiver, true);
26329 },
26330 toSet$0(_) {
26331 var i, _this = this,
26332 result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
26333 for (i = 0; i < _this.get$length(_this); ++i)
26334 result.add$1(0, _this.elementAt$1(0, i));
26335 return result;
26336 }
26337 };
26338 A.SubListIterable.prototype = {
26339 SubListIterable$3(_iterable, _start, _endOrLength, $E) {
26340 var endOrLength,
26341 t1 = this.__internal$_start;
26342 A.RangeError_checkNotNegative(t1, "start");
26343 endOrLength = this._endOrLength;
26344 if (endOrLength != null) {
26345 A.RangeError_checkNotNegative(endOrLength, "end");
26346 if (t1 > endOrLength)
26347 throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
26348 }
26349 },
26350 get$_endIndex() {
26351 var $length = J.get$length$asx(this.__internal$_iterable),
26352 endOrLength = this._endOrLength;
26353 if (endOrLength == null || endOrLength > $length)
26354 return $length;
26355 return endOrLength;
26356 },
26357 get$_startIndex() {
26358 var $length = J.get$length$asx(this.__internal$_iterable),
26359 t1 = this.__internal$_start;
26360 if (t1 > $length)
26361 return $length;
26362 return t1;
26363 },
26364 get$length(_) {
26365 var endOrLength,
26366 $length = J.get$length$asx(this.__internal$_iterable),
26367 t1 = this.__internal$_start;
26368 if (t1 >= $length)
26369 return 0;
26370 endOrLength = this._endOrLength;
26371 if (endOrLength == null || endOrLength >= $length)
26372 return $length - t1;
26373 return endOrLength - t1;
26374 },
26375 elementAt$1(_, index) {
26376 var _this = this,
26377 realIndex = _this.get$_startIndex() + index;
26378 if (index < 0 || realIndex >= _this.get$_endIndex())
26379 throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
26380 return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
26381 },
26382 skip$1(_, count) {
26383 var newStart, endOrLength, _this = this;
26384 A.RangeError_checkNotNegative(count, "count");
26385 newStart = _this.__internal$_start + count;
26386 endOrLength = _this._endOrLength;
26387 if (endOrLength != null && newStart >= endOrLength)
26388 return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
26389 return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
26390 },
26391 take$1(_, count) {
26392 var endOrLength, t1, newEnd, _this = this;
26393 A.RangeError_checkNotNegative(count, "count");
26394 endOrLength = _this._endOrLength;
26395 t1 = _this.__internal$_start;
26396 newEnd = t1 + count;
26397 if (endOrLength == null)
26398 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26399 else {
26400 if (endOrLength < newEnd)
26401 return _this;
26402 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26403 }
26404 },
26405 toList$1$growable(_, growable) {
26406 var $length, result, i, _this = this,
26407 start = _this.__internal$_start,
26408 t1 = _this.__internal$_iterable,
26409 t2 = J.getInterceptor$asx(t1),
26410 end = t2.get$length(t1),
26411 endOrLength = _this._endOrLength;
26412 if (endOrLength != null && endOrLength < end)
26413 end = endOrLength;
26414 $length = end - start;
26415 if ($length <= 0) {
26416 t1 = _this.$ti._precomputed1;
26417 return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
26418 }
26419 result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
26420 for (i = 1; i < $length; ++i) {
26421 result[i] = t2.elementAt$1(t1, start + i);
26422 if (t2.get$length(t1) < end)
26423 throw A.wrapException(A.ConcurrentModificationError$(_this));
26424 }
26425 return result;
26426 },
26427 toList$0($receiver) {
26428 return this.toList$1$growable($receiver, true);
26429 }
26430 };
26431 A.ListIterator.prototype = {
26432 get$current(_) {
26433 var t1 = this.__internal$_current;
26434 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
26435 },
26436 moveNext$0() {
26437 var t3, _this = this,
26438 t1 = _this.__internal$_iterable,
26439 t2 = J.getInterceptor$asx(t1),
26440 $length = t2.get$length(t1);
26441 if (_this.__internal$_length !== $length)
26442 throw A.wrapException(A.ConcurrentModificationError$(t1));
26443 t3 = _this.__internal$_index;
26444 if (t3 >= $length) {
26445 _this.__internal$_current = null;
26446 return false;
26447 }
26448 _this.__internal$_current = t2.elementAt$1(t1, t3);
26449 ++_this.__internal$_index;
26450 return true;
26451 }
26452 };
26453 A.MappedIterable.prototype = {
26454 get$iterator(_) {
26455 return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26456 },
26457 get$length(_) {
26458 return J.get$length$asx(this.__internal$_iterable);
26459 },
26460 get$isEmpty(_) {
26461 return J.get$isEmpty$asx(this.__internal$_iterable);
26462 },
26463 get$first(_) {
26464 return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
26465 },
26466 get$last(_) {
26467 return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
26468 },
26469 get$single(_) {
26470 return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
26471 },
26472 elementAt$1(_, index) {
26473 return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
26474 }
26475 };
26476 A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
26477 A.MappedIterator.prototype = {
26478 moveNext$0() {
26479 var _this = this,
26480 t1 = _this._iterator;
26481 if (t1.moveNext$0()) {
26482 _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
26483 return true;
26484 }
26485 _this.__internal$_current = null;
26486 return false;
26487 },
26488 get$current(_) {
26489 var t1 = this.__internal$_current;
26490 return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
26491 }
26492 };
26493 A.MappedListIterable.prototype = {
26494 get$length(_) {
26495 return J.get$length$asx(this._source);
26496 },
26497 elementAt$1(_, index) {
26498 return this._f.call$1(J.elementAt$1$ax(this._source, index));
26499 }
26500 };
26501 A.WhereIterable.prototype = {
26502 get$iterator(_) {
26503 return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26504 },
26505 map$1$1(_, toElement, $T) {
26506 return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
26507 }
26508 };
26509 A.WhereIterator.prototype = {
26510 moveNext$0() {
26511 var t1, t2;
26512 for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
26513 if (t2.call$1(t1.get$current(t1)))
26514 return true;
26515 return false;
26516 },
26517 get$current(_) {
26518 var t1 = this._iterator;
26519 return t1.get$current(t1);
26520 }
26521 };
26522 A.ExpandIterable.prototype = {
26523 get$iterator(_) {
26524 return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
26525 }
26526 };
26527 A.ExpandIterator.prototype = {
26528 get$current(_) {
26529 var t1 = this.__internal$_current;
26530 return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
26531 },
26532 moveNext$0() {
26533 var t2, t3, _this = this,
26534 t1 = _this._currentExpansion;
26535 if (t1 == null)
26536 return false;
26537 for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
26538 _this.__internal$_current = null;
26539 if (t2.moveNext$0()) {
26540 _this._currentExpansion = null;
26541 t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
26542 _this._currentExpansion = t1;
26543 } else
26544 return false;
26545 }
26546 t1 = _this._currentExpansion;
26547 _this.__internal$_current = t1.get$current(t1);
26548 return true;
26549 }
26550 };
26551 A.TakeIterable.prototype = {
26552 get$iterator(_) {
26553 return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
26554 }
26555 };
26556 A.EfficientLengthTakeIterable.prototype = {
26557 get$length(_) {
26558 var iterableLength = J.get$length$asx(this.__internal$_iterable),
26559 t1 = this._takeCount;
26560 if (iterableLength > t1)
26561 return t1;
26562 return iterableLength;
26563 },
26564 $isEfficientLengthIterable: 1
26565 };
26566 A.TakeIterator.prototype = {
26567 moveNext$0() {
26568 if (--this._remaining >= 0)
26569 return this._iterator.moveNext$0();
26570 this._remaining = -1;
26571 return false;
26572 },
26573 get$current(_) {
26574 var t1;
26575 if (this._remaining < 0) {
26576 A._instanceType(this)._precomputed1._as(null);
26577 return null;
26578 }
26579 t1 = this._iterator;
26580 return t1.get$current(t1);
26581 }
26582 };
26583 A.SkipIterable.prototype = {
26584 skip$1(_, count) {
26585 A.ArgumentError_checkNotNull(count, "count");
26586 A.RangeError_checkNotNegative(count, "count");
26587 return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
26588 },
26589 get$iterator(_) {
26590 return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
26591 }
26592 };
26593 A.EfficientLengthSkipIterable.prototype = {
26594 get$length(_) {
26595 var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
26596 if ($length >= 0)
26597 return $length;
26598 return 0;
26599 },
26600 skip$1(_, count) {
26601 A.ArgumentError_checkNotNull(count, "count");
26602 A.RangeError_checkNotNegative(count, "count");
26603 return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
26604 },
26605 $isEfficientLengthIterable: 1
26606 };
26607 A.SkipIterator.prototype = {
26608 moveNext$0() {
26609 var t1, i;
26610 for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
26611 t1.moveNext$0();
26612 this._skipCount = 0;
26613 return t1.moveNext$0();
26614 },
26615 get$current(_) {
26616 var t1 = this._iterator;
26617 return t1.get$current(t1);
26618 }
26619 };
26620 A.SkipWhileIterable.prototype = {
26621 get$iterator(_) {
26622 return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26623 }
26624 };
26625 A.SkipWhileIterator.prototype = {
26626 moveNext$0() {
26627 var t1, t2, _this = this;
26628 if (!_this._hasSkipped) {
26629 _this._hasSkipped = true;
26630 for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
26631 if (!t2.call$1(t1.get$current(t1)))
26632 return true;
26633 }
26634 return _this._iterator.moveNext$0();
26635 },
26636 get$current(_) {
26637 var t1 = this._iterator;
26638 return t1.get$current(t1);
26639 }
26640 };
26641 A.EmptyIterable.prototype = {
26642 get$iterator(_) {
26643 return B.C_EmptyIterator;
26644 },
26645 get$isEmpty(_) {
26646 return true;
26647 },
26648 get$length(_) {
26649 return 0;
26650 },
26651 get$first(_) {
26652 throw A.wrapException(A.IterableElementError_noElement());
26653 },
26654 get$last(_) {
26655 throw A.wrapException(A.IterableElementError_noElement());
26656 },
26657 get$single(_) {
26658 throw A.wrapException(A.IterableElementError_noElement());
26659 },
26660 elementAt$1(_, index) {
26661 throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
26662 },
26663 contains$1(_, element) {
26664 return false;
26665 },
26666 join$1(_, separator) {
26667 return "";
26668 },
26669 join$0($receiver) {
26670 return this.join$1($receiver, "");
26671 },
26672 where$1(_, test) {
26673 return this;
26674 },
26675 map$1$1(_, toElement, $T) {
26676 return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
26677 },
26678 skip$1(_, count) {
26679 A.RangeError_checkNotNegative(count, "count");
26680 return this;
26681 },
26682 take$1(_, count) {
26683 A.RangeError_checkNotNegative(count, "count");
26684 return this;
26685 },
26686 toList$1$growable(_, growable) {
26687 var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
26688 return t1;
26689 },
26690 toList$0($receiver) {
26691 return this.toList$1$growable($receiver, true);
26692 },
26693 toSet$0(_) {
26694 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
26695 }
26696 };
26697 A.EmptyIterator.prototype = {
26698 moveNext$0() {
26699 return false;
26700 },
26701 get$current(_) {
26702 throw A.wrapException(A.IterableElementError_noElement());
26703 }
26704 };
26705 A.FollowedByIterable.prototype = {
26706 get$iterator(_) {
26707 return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
26708 },
26709 get$length(_) {
26710 var t1 = this._second;
26711 return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
26712 },
26713 get$isEmpty(_) {
26714 var t1;
26715 if (J.get$isEmpty$asx(this.__internal$_first)) {
26716 t1 = this._second;
26717 t1 = t1.get$isEmpty(t1);
26718 } else
26719 t1 = false;
26720 return t1;
26721 },
26722 get$isNotEmpty(_) {
26723 var t1;
26724 if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
26725 t1 = this._second;
26726 t1 = t1.get$isNotEmpty(t1);
26727 } else
26728 t1 = true;
26729 return t1;
26730 },
26731 contains$1(_, value) {
26732 return J.contains$1$asx(this.__internal$_first, value) || this._second.contains$1(0, value);
26733 },
26734 get$first(_) {
26735 var t1,
26736 iterator = J.get$iterator$ax(this.__internal$_first);
26737 if (iterator.moveNext$0())
26738 return iterator.get$current(iterator);
26739 t1 = this._second;
26740 return t1.get$first(t1);
26741 },
26742 get$last(_) {
26743 var last,
26744 t1 = this._second,
26745 iterator = t1.get$iterator(t1);
26746 if (iterator.moveNext$0()) {
26747 last = iterator.get$current(iterator);
26748 for (; iterator.moveNext$0();)
26749 last = iterator.get$current(iterator);
26750 return last;
26751 }
26752 return J.get$last$ax(this.__internal$_first);
26753 }
26754 };
26755 A.EfficientLengthFollowedByIterable.prototype = {
26756 elementAt$1(_, index) {
26757 var t1 = this.__internal$_first,
26758 t2 = J.getInterceptor$asx(t1),
26759 firstLength = t2.get$length(t1);
26760 if (index < firstLength)
26761 return t2.elementAt$1(t1, index);
26762 return this._second.elementAt$1(0, index - firstLength);
26763 },
26764 get$first(_) {
26765 var t1 = this.__internal$_first,
26766 t2 = J.getInterceptor$asx(t1);
26767 if (t2.get$isNotEmpty(t1))
26768 return t2.get$first(t1);
26769 t1 = this._second;
26770 return t1.get$first(t1);
26771 },
26772 get$last(_) {
26773 var t1 = this._second;
26774 if (t1.get$isNotEmpty(t1))
26775 return t1.get$last(t1);
26776 return J.get$last$ax(this.__internal$_first);
26777 },
26778 $isEfficientLengthIterable: 1
26779 };
26780 A.FollowedByIterator.prototype = {
26781 moveNext$0() {
26782 var t1, _this = this;
26783 if (_this._currentIterator.moveNext$0())
26784 return true;
26785 t1 = _this._nextIterable;
26786 if (t1 != null) {
26787 t1 = t1.get$iterator(t1);
26788 _this._currentIterator = t1;
26789 _this._nextIterable = null;
26790 return t1.moveNext$0();
26791 }
26792 return false;
26793 },
26794 get$current(_) {
26795 var t1 = this._currentIterator;
26796 return t1.get$current(t1);
26797 }
26798 };
26799 A.WhereTypeIterable.prototype = {
26800 get$iterator(_) {
26801 return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
26802 }
26803 };
26804 A.WhereTypeIterator.prototype = {
26805 moveNext$0() {
26806 var t1, t2;
26807 for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
26808 if (t2._is(t1.get$current(t1)))
26809 return true;
26810 return false;
26811 },
26812 get$current(_) {
26813 var t1 = this._source;
26814 return this.$ti._precomputed1._as(t1.get$current(t1));
26815 }
26816 };
26817 A.FixedLengthListMixin.prototype = {
26818 set$length(receiver, newLength) {
26819 throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
26820 },
26821 add$1(receiver, value) {
26822 throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
26823 }
26824 };
26825 A.UnmodifiableListMixin.prototype = {
26826 $indexSet(_, index, value) {
26827 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26828 },
26829 set$length(_, newLength) {
26830 throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
26831 },
26832 add$1(_, value) {
26833 throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
26834 },
26835 sort$1(_, compare) {
26836 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26837 },
26838 setRange$4(_, start, end, iterable, skipCount) {
26839 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26840 },
26841 fillRange$3(_, start, end, fillValue) {
26842 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26843 }
26844 };
26845 A.UnmodifiableListBase.prototype = {};
26846 A.ReversedListIterable.prototype = {
26847 get$length(_) {
26848 return J.get$length$asx(this._source);
26849 },
26850 elementAt$1(_, index) {
26851 var t1 = this._source,
26852 t2 = J.getInterceptor$asx(t1);
26853 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
26854 }
26855 };
26856 A.Symbol.prototype = {
26857 get$hashCode(_) {
26858 var hash = this._hashCode;
26859 if (hash != null)
26860 return hash;
26861 hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
26862 this._hashCode = hash;
26863 return hash;
26864 },
26865 toString$0(_) {
26866 return 'Symbol("' + A.S(this.__internal$_name) + '")';
26867 },
26868 $eq(_, other) {
26869 if (other == null)
26870 return false;
26871 return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
26872 },
26873 $isSymbol0: 1
26874 };
26875 A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
26876 A.ConstantMapView.prototype = {};
26877 A.ConstantMap.prototype = {
26878 cast$2$0(_, RK, RV) {
26879 var t1 = A._instanceType(this);
26880 return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
26881 },
26882 get$isEmpty(_) {
26883 return this.get$length(this) === 0;
26884 },
26885 get$isNotEmpty(_) {
26886 return this.get$length(this) !== 0;
26887 },
26888 toString$0(_) {
26889 return A.MapBase_mapToString(this);
26890 },
26891 $indexSet(_, key, val) {
26892 A.ConstantMap__throwUnmodifiable();
26893 },
26894 remove$1(_, key) {
26895 A.ConstantMap__throwUnmodifiable();
26896 },
26897 addAll$1(_, other) {
26898 A.ConstantMap__throwUnmodifiable();
26899 },
26900 get$entries(_) {
26901 return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
26902 },
26903 entries$body$ConstantMap($async$_, $async$type) {
26904 var $async$self = this;
26905 return A._makeSyncStarIterable(function() {
26906 var _ = $async$_;
26907 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
26908 return function $async$get$entries($async$errorCode, $async$result) {
26909 if ($async$errorCode === 1) {
26910 $async$currentError = $async$result;
26911 $async$goto = $async$handler;
26912 }
26913 while (true)
26914 switch ($async$goto) {
26915 case 0:
26916 // Function start
26917 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>");
26918 case 2:
26919 // for condition
26920 if (!t1.moveNext$0()) {
26921 // goto after for
26922 $async$goto = 3;
26923 break;
26924 }
26925 key = t1.get$current(t1);
26926 $async$goto = 4;
26927 return new A.MapEntry(key, $async$self.$index(0, key), t2);
26928 case 4:
26929 // after yield
26930 // goto for condition
26931 $async$goto = 2;
26932 break;
26933 case 3:
26934 // after for
26935 // implicit return
26936 return A._IterationMarker_endOfIteration();
26937 case 1:
26938 // rethrow
26939 return A._IterationMarker_uncaughtError($async$currentError);
26940 }
26941 };
26942 }, $async$type);
26943 },
26944 $isMap: 1
26945 };
26946 A.ConstantStringMap.prototype = {
26947 get$length(_) {
26948 return this.__js_helper$_length;
26949 },
26950 containsKey$1(key) {
26951 if (typeof key != "string")
26952 return false;
26953 if ("__proto__" === key)
26954 return false;
26955 return this._jsObject.hasOwnProperty(key);
26956 },
26957 $index(_, key) {
26958 if (!this.containsKey$1(key))
26959 return null;
26960 return this._jsObject[key];
26961 },
26962 forEach$1(_, f) {
26963 var t1, t2, i, key,
26964 keys = this.__js_helper$_keys;
26965 for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
26966 key = keys[i];
26967 f.call$2(key, t2[key]);
26968 }
26969 },
26970 get$keys(_) {
26971 return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
26972 },
26973 get$values(_) {
26974 var t1 = this.$ti;
26975 return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
26976 }
26977 };
26978 A.ConstantStringMap_values_closure.prototype = {
26979 call$1(key) {
26980 return this.$this._jsObject[key];
26981 },
26982 $signature() {
26983 return this.$this.$ti._eval$1("2(1)");
26984 }
26985 };
26986 A._ConstantMapKeyIterable.prototype = {
26987 get$iterator(_) {
26988 var t1 = this.__js_helper$_map.__js_helper$_keys;
26989 return new J.ArrayIterator(t1, t1.length);
26990 },
26991 get$length(_) {
26992 return this.__js_helper$_map.__js_helper$_keys.length;
26993 }
26994 };
26995 A.Instantiation.prototype = {
26996 Instantiation$1(_genericClosure) {
26997 if (false)
26998 A.instantiatedGenericFunctionType(0, 0);
26999 },
27000 $eq(_, other) {
27001 if (other == null)
27002 return false;
27003 return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
27004 },
27005 get$hashCode(_) {
27006 return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue);
27007 },
27008 toString$0(_) {
27009 var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
27010 return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
27011 }
27012 };
27013 A.Instantiation1.prototype = {
27014 get$_types() {
27015 return [A.createRuntimeType(this.$ti._precomputed1)];
27016 },
27017 call$0() {
27018 return this._genericClosure.call$1$0(this.$ti._rest[0]);
27019 },
27020 call$2(a0, a1) {
27021 return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
27022 },
27023 call$3(a0, a1, a2) {
27024 return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
27025 },
27026 call$4(a0, a1, a2, a3) {
27027 return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
27028 },
27029 $signature() {
27030 return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
27031 }
27032 };
27033 A.JSInvocationMirror.prototype = {
27034 get$memberName() {
27035 var t1 = this.__js_helper$_memberName;
27036 return t1;
27037 },
27038 get$positionalArguments() {
27039 var t1, argumentCount, list, index, _this = this;
27040 if (_this.__js_helper$_kind === 1)
27041 return B.List_empty9;
27042 t1 = _this._arguments;
27043 argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
27044 if (argumentCount === 0)
27045 return B.List_empty9;
27046 list = [];
27047 for (index = 0; index < argumentCount; ++index)
27048 list.push(t1[index]);
27049 return J.JSArray_markUnmodifiableList(list);
27050 },
27051 get$namedArguments() {
27052 var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
27053 if (_this.__js_helper$_kind !== 0)
27054 return B.Map_empty4;
27055 t1 = _this._namedArgumentNames;
27056 namedArgumentCount = t1.length;
27057 t2 = _this._arguments;
27058 namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
27059 if (namedArgumentCount === 0)
27060 return B.Map_empty4;
27061 map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
27062 for (i = 0; i < namedArgumentCount; ++i)
27063 map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
27064 return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
27065 }
27066 };
27067 A.Primitives_functionNoSuchMethod_closure.prototype = {
27068 call$2($name, argument) {
27069 var t1 = this._box_0;
27070 t1.names = t1.names + "$" + $name;
27071 this.namedArgumentList.push($name);
27072 this.$arguments.push(argument);
27073 ++t1.argumentCount;
27074 },
27075 $signature: 255
27076 };
27077 A.TypeErrorDecoder.prototype = {
27078 matchTypeError$1(message) {
27079 var result, t1, _this = this,
27080 match = new RegExp(_this._pattern).exec(message);
27081 if (match == null)
27082 return null;
27083 result = Object.create(null);
27084 t1 = _this._arguments;
27085 if (t1 !== -1)
27086 result.arguments = match[t1 + 1];
27087 t1 = _this._argumentsExpr;
27088 if (t1 !== -1)
27089 result.argumentsExpr = match[t1 + 1];
27090 t1 = _this._expr;
27091 if (t1 !== -1)
27092 result.expr = match[t1 + 1];
27093 t1 = _this._method;
27094 if (t1 !== -1)
27095 result.method = match[t1 + 1];
27096 t1 = _this._receiver;
27097 if (t1 !== -1)
27098 result.receiver = match[t1 + 1];
27099 return result;
27100 }
27101 };
27102 A.NullError.prototype = {
27103 toString$0(_) {
27104 var t1 = this._method;
27105 if (t1 == null)
27106 return "NoSuchMethodError: " + this.__js_helper$_message;
27107 return "NoSuchMethodError: method not found: '" + t1 + "' on null";
27108 }
27109 };
27110 A.JsNoSuchMethodError.prototype = {
27111 toString$0(_) {
27112 var t2, _this = this,
27113 _s38_ = "NoSuchMethodError: method not found: '",
27114 t1 = _this._method;
27115 if (t1 == null)
27116 return "NoSuchMethodError: " + _this.__js_helper$_message;
27117 t2 = _this._receiver;
27118 if (t2 == null)
27119 return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
27120 return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
27121 }
27122 };
27123 A.UnknownJsTypeError.prototype = {
27124 toString$0(_) {
27125 var t1 = this.__js_helper$_message;
27126 return t1.length === 0 ? "Error" : "Error: " + t1;
27127 }
27128 };
27129 A.NullThrownFromJavaScriptException.prototype = {
27130 toString$0(_) {
27131 return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
27132 },
27133 $isException: 1
27134 };
27135 A.ExceptionAndStackTrace.prototype = {};
27136 A._StackTrace.prototype = {
27137 toString$0(_) {
27138 var trace,
27139 t1 = this._trace;
27140 if (t1 != null)
27141 return t1;
27142 t1 = this._exception;
27143 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
27144 return this._trace = trace == null ? "" : trace;
27145 },
27146 $isStackTrace: 1
27147 };
27148 A.Closure.prototype = {
27149 toString$0(_) {
27150 var $constructor = this.constructor,
27151 $name = $constructor == null ? null : $constructor.name;
27152 return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
27153 },
27154 $isFunction: 1,
27155 get$$call() {
27156 return this;
27157 },
27158 "call*": "call$1",
27159 $requiredArgCount: 1,
27160 $defaultValues: null
27161 };
27162 A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
27163 A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
27164 A.TearOffClosure.prototype = {};
27165 A.StaticClosure.prototype = {
27166 toString$0(_) {
27167 var $name = this.$static_name;
27168 if ($name == null)
27169 return "Closure of unknown static method";
27170 return "Closure '" + A.unminifyOrTag($name) + "'";
27171 }
27172 };
27173 A.BoundClosure.prototype = {
27174 $eq(_, other) {
27175 if (other == null)
27176 return false;
27177 if (this === other)
27178 return true;
27179 if (!(other instanceof A.BoundClosure))
27180 return false;
27181 return this.$_target === other.$_target && this._receiver === other._receiver;
27182 },
27183 get$hashCode(_) {
27184 return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
27185 },
27186 toString$0(_) {
27187 return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
27188 }
27189 };
27190 A.RuntimeError.prototype = {
27191 toString$0(_) {
27192 return "RuntimeError: " + this.message;
27193 },
27194 get$message(receiver) {
27195 return this.message;
27196 }
27197 };
27198 A._Required.prototype = {};
27199 A.JsLinkedHashMap.prototype = {
27200 get$length(_) {
27201 return this.__js_helper$_length;
27202 },
27203 get$isEmpty(_) {
27204 return this.__js_helper$_length === 0;
27205 },
27206 get$isNotEmpty(_) {
27207 return this.__js_helper$_length !== 0;
27208 },
27209 get$keys(_) {
27210 return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
27211 },
27212 get$values(_) {
27213 var t1 = A._instanceType(this);
27214 return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
27215 },
27216 containsKey$1(key) {
27217 var strings, nums;
27218 if (typeof key == "string") {
27219 strings = this._strings;
27220 if (strings == null)
27221 return false;
27222 return strings[key] != null;
27223 } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
27224 nums = this._nums;
27225 if (nums == null)
27226 return false;
27227 return nums[key] != null;
27228 } else
27229 return this.internalContainsKey$1(key);
27230 },
27231 internalContainsKey$1(key) {
27232 var rest = this.__js_helper$_rest;
27233 if (rest == null)
27234 return false;
27235 return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
27236 },
27237 addAll$1(_, other) {
27238 other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
27239 },
27240 $index(_, key) {
27241 var strings, cell, t1, nums, _null = null;
27242 if (typeof key == "string") {
27243 strings = this._strings;
27244 if (strings == null)
27245 return _null;
27246 cell = strings[key];
27247 t1 = cell == null ? _null : cell.hashMapCellValue;
27248 return t1;
27249 } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
27250 nums = this._nums;
27251 if (nums == null)
27252 return _null;
27253 cell = nums[key];
27254 t1 = cell == null ? _null : cell.hashMapCellValue;
27255 return t1;
27256 } else
27257 return this.internalGet$1(key);
27258 },
27259 internalGet$1(key) {
27260 var bucket, index,
27261 rest = this.__js_helper$_rest;
27262 if (rest == null)
27263 return null;
27264 bucket = rest[this.internalComputeHashCode$1(key)];
27265 index = this.internalFindBucketIndex$2(bucket, key);
27266 if (index < 0)
27267 return null;
27268 return bucket[index].hashMapCellValue;
27269 },
27270 $indexSet(_, key, value) {
27271 var strings, nums, _this = this;
27272 if (typeof key == "string") {
27273 strings = _this._strings;
27274 _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
27275 } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
27276 nums = _this._nums;
27277 _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
27278 } else
27279 _this.internalSet$2(key, value);
27280 },
27281 internalSet$2(key, value) {
27282 var hash, bucket, index, _this = this,
27283 rest = _this.__js_helper$_rest;
27284 if (rest == null)
27285 rest = _this.__js_helper$_rest = _this._newHashTable$0();
27286 hash = _this.internalComputeHashCode$1(key);
27287 bucket = rest[hash];
27288 if (bucket == null)
27289 rest[hash] = [_this._newLinkedCell$2(key, value)];
27290 else {
27291 index = _this.internalFindBucketIndex$2(bucket, key);
27292 if (index >= 0)
27293 bucket[index].hashMapCellValue = value;
27294 else
27295 bucket.push(_this._newLinkedCell$2(key, value));
27296 }
27297 },
27298 putIfAbsent$2(key, ifAbsent) {
27299 var t1, value, _this = this;
27300 if (_this.containsKey$1(key)) {
27301 t1 = _this.$index(0, key);
27302 return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
27303 }
27304 value = ifAbsent.call$0();
27305 _this.$indexSet(0, key, value);
27306 return value;
27307 },
27308 remove$1(_, key) {
27309 var _this = this;
27310 if (typeof key == "string")
27311 return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
27312 else if (typeof key == "number" && (key & 0x3fffffff) === key)
27313 return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
27314 else
27315 return _this.internalRemove$1(key);
27316 },
27317 internalRemove$1(key) {
27318 var hash, bucket, index, cell, _this = this,
27319 rest = _this.__js_helper$_rest;
27320 if (rest == null)
27321 return null;
27322 hash = _this.internalComputeHashCode$1(key);
27323 bucket = rest[hash];
27324 index = _this.internalFindBucketIndex$2(bucket, key);
27325 if (index < 0)
27326 return null;
27327 cell = bucket.splice(index, 1)[0];
27328 _this.__js_helper$_unlinkCell$1(cell);
27329 if (bucket.length === 0)
27330 delete rest[hash];
27331 return cell.hashMapCellValue;
27332 },
27333 clear$0(_) {
27334 var _this = this;
27335 if (_this.__js_helper$_length > 0) {
27336 _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
27337 _this.__js_helper$_length = 0;
27338 _this._modified$0();
27339 }
27340 },
27341 forEach$1(_, action) {
27342 var _this = this,
27343 cell = _this._first,
27344 modifications = _this._modifications;
27345 for (; cell != null;) {
27346 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
27347 if (modifications !== _this._modifications)
27348 throw A.wrapException(A.ConcurrentModificationError$(_this));
27349 cell = cell._next;
27350 }
27351 },
27352 _addHashTableEntry$3(table, key, value) {
27353 var cell = table[key];
27354 if (cell == null)
27355 table[key] = this._newLinkedCell$2(key, value);
27356 else
27357 cell.hashMapCellValue = value;
27358 },
27359 __js_helper$_removeHashTableEntry$2(table, key) {
27360 var cell;
27361 if (table == null)
27362 return null;
27363 cell = table[key];
27364 if (cell == null)
27365 return null;
27366 this.__js_helper$_unlinkCell$1(cell);
27367 delete table[key];
27368 return cell.hashMapCellValue;
27369 },
27370 _modified$0() {
27371 this._modifications = this._modifications + 1 & 1073741823;
27372 },
27373 _newLinkedCell$2(key, value) {
27374 var t1, _this = this,
27375 cell = new A.LinkedHashMapCell(key, value);
27376 if (_this._first == null)
27377 _this._first = _this._last = cell;
27378 else {
27379 t1 = _this._last;
27380 t1.toString;
27381 cell._previous = t1;
27382 _this._last = t1._next = cell;
27383 }
27384 ++_this.__js_helper$_length;
27385 _this._modified$0();
27386 return cell;
27387 },
27388 __js_helper$_unlinkCell$1(cell) {
27389 var _this = this,
27390 previous = cell._previous,
27391 next = cell._next;
27392 if (previous == null)
27393 _this._first = next;
27394 else
27395 previous._next = next;
27396 if (next == null)
27397 _this._last = previous;
27398 else
27399 next._previous = previous;
27400 --_this.__js_helper$_length;
27401 _this._modified$0();
27402 },
27403 internalComputeHashCode$1(key) {
27404 return J.get$hashCode$(key) & 0x3fffffff;
27405 },
27406 internalFindBucketIndex$2(bucket, key) {
27407 var $length, i;
27408 if (bucket == null)
27409 return -1;
27410 $length = bucket.length;
27411 for (i = 0; i < $length; ++i)
27412 if (J.$eq$(bucket[i].hashMapCellKey, key))
27413 return i;
27414 return -1;
27415 },
27416 toString$0(_) {
27417 return A.MapBase_mapToString(this);
27418 },
27419 _newHashTable$0() {
27420 var table = Object.create(null);
27421 table["<non-identifier-key>"] = table;
27422 delete table["<non-identifier-key>"];
27423 return table;
27424 }
27425 };
27426 A.JsLinkedHashMap_values_closure.prototype = {
27427 call$1(each) {
27428 var t1 = this.$this,
27429 t2 = t1.$index(0, each);
27430 return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
27431 },
27432 $signature() {
27433 return A._instanceType(this.$this)._eval$1("2(1)");
27434 }
27435 };
27436 A.JsLinkedHashMap_addAll_closure.prototype = {
27437 call$2(key, value) {
27438 this.$this.$indexSet(0, key, value);
27439 },
27440 $signature() {
27441 return A._instanceType(this.$this)._eval$1("~(1,2)");
27442 }
27443 };
27444 A.LinkedHashMapCell.prototype = {};
27445 A.LinkedHashMapKeyIterable.prototype = {
27446 get$length(_) {
27447 return this.__js_helper$_map.__js_helper$_length;
27448 },
27449 get$isEmpty(_) {
27450 return this.__js_helper$_map.__js_helper$_length === 0;
27451 },
27452 get$iterator(_) {
27453 var t1 = this.__js_helper$_map,
27454 t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
27455 t2._cell = t1._first;
27456 return t2;
27457 },
27458 contains$1(_, element) {
27459 return this.__js_helper$_map.containsKey$1(element);
27460 }
27461 };
27462 A.LinkedHashMapKeyIterator.prototype = {
27463 get$current(_) {
27464 return this.__js_helper$_current;
27465 },
27466 moveNext$0() {
27467 var cell, _this = this,
27468 t1 = _this.__js_helper$_map;
27469 if (_this._modifications !== t1._modifications)
27470 throw A.wrapException(A.ConcurrentModificationError$(t1));
27471 cell = _this._cell;
27472 if (cell == null) {
27473 _this.__js_helper$_current = null;
27474 return false;
27475 } else {
27476 _this.__js_helper$_current = cell.hashMapCellKey;
27477 _this._cell = cell._next;
27478 return true;
27479 }
27480 }
27481 };
27482 A.initHooks_closure.prototype = {
27483 call$1(o) {
27484 return this.getTag(o);
27485 },
27486 $signature: 82
27487 };
27488 A.initHooks_closure0.prototype = {
27489 call$2(o, tag) {
27490 return this.getUnknownTag(o, tag);
27491 },
27492 $signature: 538
27493 };
27494 A.initHooks_closure1.prototype = {
27495 call$1(tag) {
27496 return this.prototypeForTag(tag);
27497 },
27498 $signature: 342
27499 };
27500 A.JSSyntaxRegExp.prototype = {
27501 toString$0(_) {
27502 return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
27503 },
27504 get$_nativeGlobalVersion() {
27505 var _this = this,
27506 t1 = _this._nativeGlobalRegExp;
27507 if (t1 != null)
27508 return t1;
27509 t1 = _this._nativeRegExp;
27510 return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27511 },
27512 get$_nativeAnchoredVersion() {
27513 var _this = this,
27514 t1 = _this._nativeAnchoredRegExp;
27515 if (t1 != null)
27516 return t1;
27517 t1 = _this._nativeRegExp;
27518 return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27519 },
27520 firstMatch$1(string) {
27521 var m = this._nativeRegExp.exec(string);
27522 if (m == null)
27523 return null;
27524 return new A._MatchImplementation(m);
27525 },
27526 allMatches$2(_, string, start) {
27527 var t1 = string.length;
27528 if (start > t1)
27529 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
27530 return new A._AllMatchesIterable(this, string, start);
27531 },
27532 allMatches$1($receiver, string) {
27533 return this.allMatches$2($receiver, string, 0);
27534 },
27535 _execGlobal$2(string, start) {
27536 var match,
27537 regexp = this.get$_nativeGlobalVersion();
27538 regexp.lastIndex = start;
27539 match = regexp.exec(string);
27540 if (match == null)
27541 return null;
27542 return new A._MatchImplementation(match);
27543 },
27544 _execAnchored$2(string, start) {
27545 var match,
27546 regexp = this.get$_nativeAnchoredVersion();
27547 regexp.lastIndex = start;
27548 match = regexp.exec(string);
27549 if (match == null)
27550 return null;
27551 if (match.pop() != null)
27552 return null;
27553 return new A._MatchImplementation(match);
27554 },
27555 matchAsPrefix$2(_, string, start) {
27556 if (start < 0 || start > string.length)
27557 throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
27558 return this._execAnchored$2(string, start);
27559 }
27560 };
27561 A._MatchImplementation.prototype = {
27562 get$start(_) {
27563 return this._match.index;
27564 },
27565 get$end(_) {
27566 var t1 = this._match;
27567 return t1.index + t1[0].length;
27568 },
27569 $isMatch: 1,
27570 $isRegExpMatch: 1
27571 };
27572 A._AllMatchesIterable.prototype = {
27573 get$iterator(_) {
27574 return new A._AllMatchesIterator(this._re, this._string, this._start);
27575 }
27576 };
27577 A._AllMatchesIterator.prototype = {
27578 get$current(_) {
27579 var t1 = this.__js_helper$_current;
27580 return t1 == null ? type$.RegExpMatch._as(t1) : t1;
27581 },
27582 moveNext$0() {
27583 var t1, t2, t3, match, nextIndex, _this = this,
27584 string = _this._string;
27585 if (string == null)
27586 return false;
27587 t1 = _this._nextIndex;
27588 t2 = string.length;
27589 if (t1 <= t2) {
27590 t3 = _this._regExp;
27591 match = t3._execGlobal$2(string, t1);
27592 if (match != null) {
27593 _this.__js_helper$_current = match;
27594 nextIndex = match.get$end(match);
27595 if (match._match.index === nextIndex) {
27596 if (t3._nativeRegExp.unicode) {
27597 t1 = _this._nextIndex;
27598 t3 = t1 + 1;
27599 if (t3 < t2) {
27600 t1 = B.JSString_methods.codeUnitAt$1(string, t1);
27601 if (t1 >= 55296 && t1 <= 56319) {
27602 t1 = B.JSString_methods.codeUnitAt$1(string, t3);
27603 t1 = t1 >= 56320 && t1 <= 57343;
27604 } else
27605 t1 = false;
27606 } else
27607 t1 = false;
27608 } else
27609 t1 = false;
27610 nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
27611 }
27612 _this._nextIndex = nextIndex;
27613 return true;
27614 }
27615 }
27616 _this._string = _this.__js_helper$_current = null;
27617 return false;
27618 }
27619 };
27620 A.StringMatch.prototype = {
27621 get$end(_) {
27622 return this.start + this.pattern.length;
27623 },
27624 $isMatch: 1,
27625 get$start(receiver) {
27626 return this.start;
27627 }
27628 };
27629 A._StringAllMatchesIterable.prototype = {
27630 get$iterator(_) {
27631 return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
27632 },
27633 get$first(_) {
27634 var t1 = this._pattern,
27635 index = this._input.indexOf(t1, this.__js_helper$_index);
27636 if (index >= 0)
27637 return new A.StringMatch(index, t1);
27638 throw A.wrapException(A.IterableElementError_noElement());
27639 }
27640 };
27641 A._StringAllMatchesIterator.prototype = {
27642 moveNext$0() {
27643 var index, end, _this = this,
27644 t1 = _this.__js_helper$_index,
27645 t2 = _this._pattern,
27646 t3 = t2.length,
27647 t4 = _this._input,
27648 t5 = t4.length;
27649 if (t1 + t3 > t5) {
27650 _this.__js_helper$_current = null;
27651 return false;
27652 }
27653 index = t4.indexOf(t2, t1);
27654 if (index < 0) {
27655 _this.__js_helper$_index = t5 + 1;
27656 _this.__js_helper$_current = null;
27657 return false;
27658 }
27659 end = index + t3;
27660 _this.__js_helper$_current = new A.StringMatch(index, t2);
27661 _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
27662 return true;
27663 },
27664 get$current(_) {
27665 var t1 = this.__js_helper$_current;
27666 t1.toString;
27667 return t1;
27668 }
27669 };
27670 A._Cell.prototype = {
27671 _readLocal$0() {
27672 var t1 = this._value;
27673 if (t1 === this)
27674 throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
27675 return t1;
27676 }
27677 };
27678 A.NativeTypedData.prototype = {
27679 _invalidPosition$3(receiver, position, $length, $name) {
27680 var t1 = A.RangeError$range(position, 0, $length, $name, null);
27681 throw A.wrapException(t1);
27682 },
27683 _checkPosition$3(receiver, position, $length, $name) {
27684 if (position >>> 0 !== position || position > $length)
27685 this._invalidPosition$3(receiver, position, $length, $name);
27686 }
27687 };
27688 A.NativeTypedArray.prototype = {
27689 get$length(receiver) {
27690 return receiver.length;
27691 },
27692 _setRangeFast$4(receiver, start, end, source, skipCount) {
27693 var count, sourceLength,
27694 targetLength = receiver.length;
27695 this._checkPosition$3(receiver, start, targetLength, "start");
27696 this._checkPosition$3(receiver, end, targetLength, "end");
27697 if (start > end)
27698 throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
27699 count = end - start;
27700 if (skipCount < 0)
27701 throw A.wrapException(A.ArgumentError$(skipCount, null));
27702 sourceLength = source.length;
27703 if (sourceLength - skipCount < count)
27704 throw A.wrapException(A.StateError$("Not enough elements"));
27705 if (skipCount !== 0 || sourceLength !== count)
27706 source = source.subarray(skipCount, skipCount + count);
27707 receiver.set(source, start);
27708 },
27709 $isJavaScriptIndexingBehavior: 1
27710 };
27711 A.NativeTypedArrayOfDouble.prototype = {
27712 $index(receiver, index) {
27713 A._checkValidIndex(index, receiver, receiver.length);
27714 return receiver[index];
27715 },
27716 $indexSet(receiver, index, value) {
27717 A._checkValidIndex(index, receiver, receiver.length);
27718 receiver[index] = value;
27719 },
27720 setRange$4(receiver, start, end, iterable, skipCount) {
27721 if (type$.NativeTypedArrayOfDouble._is(iterable)) {
27722 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27723 return;
27724 }
27725 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27726 },
27727 $isEfficientLengthIterable: 1,
27728 $isIterable: 1,
27729 $isList: 1
27730 };
27731 A.NativeTypedArrayOfInt.prototype = {
27732 $indexSet(receiver, index, value) {
27733 A._checkValidIndex(index, receiver, receiver.length);
27734 receiver[index] = value;
27735 },
27736 setRange$4(receiver, start, end, iterable, skipCount) {
27737 if (type$.NativeTypedArrayOfInt._is(iterable)) {
27738 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27739 return;
27740 }
27741 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27742 },
27743 $isEfficientLengthIterable: 1,
27744 $isIterable: 1,
27745 $isList: 1
27746 };
27747 A.NativeFloat32List.prototype = {
27748 sublist$2(receiver, start, end) {
27749 return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27750 }
27751 };
27752 A.NativeFloat64List.prototype = {
27753 sublist$2(receiver, start, end) {
27754 return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27755 }
27756 };
27757 A.NativeInt16List.prototype = {
27758 $index(receiver, index) {
27759 A._checkValidIndex(index, receiver, receiver.length);
27760 return receiver[index];
27761 },
27762 sublist$2(receiver, start, end) {
27763 return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27764 }
27765 };
27766 A.NativeInt32List.prototype = {
27767 $index(receiver, index) {
27768 A._checkValidIndex(index, receiver, receiver.length);
27769 return receiver[index];
27770 },
27771 sublist$2(receiver, start, end) {
27772 return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27773 }
27774 };
27775 A.NativeInt8List.prototype = {
27776 $index(receiver, index) {
27777 A._checkValidIndex(index, receiver, receiver.length);
27778 return receiver[index];
27779 },
27780 sublist$2(receiver, start, end) {
27781 return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27782 }
27783 };
27784 A.NativeUint16List.prototype = {
27785 $index(receiver, index) {
27786 A._checkValidIndex(index, receiver, receiver.length);
27787 return receiver[index];
27788 },
27789 sublist$2(receiver, start, end) {
27790 return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27791 }
27792 };
27793 A.NativeUint32List.prototype = {
27794 $index(receiver, index) {
27795 A._checkValidIndex(index, receiver, receiver.length);
27796 return receiver[index];
27797 },
27798 sublist$2(receiver, start, end) {
27799 return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27800 }
27801 };
27802 A.NativeUint8ClampedList.prototype = {
27803 get$length(receiver) {
27804 return receiver.length;
27805 },
27806 $index(receiver, index) {
27807 A._checkValidIndex(index, receiver, receiver.length);
27808 return receiver[index];
27809 },
27810 sublist$2(receiver, start, end) {
27811 return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27812 }
27813 };
27814 A.NativeUint8List.prototype = {
27815 get$length(receiver) {
27816 return receiver.length;
27817 },
27818 $index(receiver, index) {
27819 A._checkValidIndex(index, receiver, receiver.length);
27820 return receiver[index];
27821 },
27822 sublist$2(receiver, start, end) {
27823 return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27824 },
27825 $isNativeUint8List: 1,
27826 $isUint8List: 1
27827 };
27828 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
27829 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27830 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
27831 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27832 A.Rti.prototype = {
27833 _eval$1(recipe) {
27834 return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
27835 },
27836 _bind$1(typeOrTuple) {
27837 return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
27838 }
27839 };
27840 A._FunctionParameters.prototype = {};
27841 A._Type.prototype = {
27842 toString$0(_) {
27843 return A._rtiToString(this._rti, null);
27844 }
27845 };
27846 A._Error.prototype = {
27847 toString$0(_) {
27848 return this.__rti$_message;
27849 }
27850 };
27851 A._TypeError.prototype = {
27852 get$message(_) {
27853 return this.__rti$_message;
27854 },
27855 $isTypeError: 1
27856 };
27857 A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
27858 call$1(_) {
27859 var t1 = this._box_0,
27860 f = t1.storedCallback;
27861 t1.storedCallback = null;
27862 f.call$0();
27863 },
27864 $signature: 67
27865 };
27866 A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
27867 call$1(callback) {
27868 var t1, t2;
27869 this._box_0.storedCallback = callback;
27870 t1 = this.div;
27871 t2 = this.span;
27872 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
27873 },
27874 $signature: 28
27875 };
27876 A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
27877 call$0() {
27878 this.callback.call$0();
27879 },
27880 $signature: 1
27881 };
27882 A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
27883 call$0() {
27884 this.callback.call$0();
27885 },
27886 $signature: 1
27887 };
27888 A._TimerImpl.prototype = {
27889 _TimerImpl$2(milliseconds, callback) {
27890 if (self.setTimeout != null)
27891 this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
27892 else
27893 throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
27894 },
27895 _TimerImpl$periodic$2(milliseconds, callback) {
27896 if (self.setTimeout != null)
27897 this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
27898 else
27899 throw A.wrapException(A.UnsupportedError$("Periodic timer."));
27900 },
27901 cancel$0() {
27902 if (self.setTimeout != null) {
27903 var t1 = this._handle;
27904 if (t1 == null)
27905 return;
27906 if (this._once)
27907 self.clearTimeout(t1);
27908 else
27909 self.clearInterval(t1);
27910 this._handle = null;
27911 } else
27912 throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
27913 }
27914 };
27915 A._TimerImpl_internalCallback.prototype = {
27916 call$0() {
27917 var t1 = this.$this;
27918 t1._handle = null;
27919 t1._tick = 1;
27920 this.callback.call$0();
27921 },
27922 $signature: 0
27923 };
27924 A._TimerImpl$periodic_closure.prototype = {
27925 call$0() {
27926 var duration, _this = this,
27927 t1 = _this.$this,
27928 tick = t1._tick + 1,
27929 t2 = _this.milliseconds;
27930 if (t2 > 0) {
27931 duration = Date.now() - _this.start;
27932 if (duration > (tick + 1) * t2)
27933 tick = B.JSInt_methods.$tdiv(duration, t2);
27934 }
27935 t1._tick = tick;
27936 _this.callback.call$1(t1);
27937 },
27938 $signature: 1
27939 };
27940 A._AsyncAwaitCompleter.prototype = {
27941 complete$1(value) {
27942 var t1, _this = this;
27943 if (value == null)
27944 _this.$ti._precomputed1._as(value);
27945 if (!_this.isSync)
27946 _this._future._asyncComplete$1(value);
27947 else {
27948 t1 = _this._future;
27949 if (_this.$ti._eval$1("Future<1>")._is(value))
27950 t1._chainFuture$1(value);
27951 else
27952 t1._completeWithValue$1(value);
27953 }
27954 },
27955 completeError$2(e, st) {
27956 var t1 = this._future;
27957 if (this.isSync)
27958 t1._completeError$2(e, st);
27959 else
27960 t1._asyncCompleteError$2(e, st);
27961 }
27962 };
27963 A._awaitOnObject_closure.prototype = {
27964 call$1(result) {
27965 return this.bodyFunction.call$2(0, result);
27966 },
27967 $signature: 114
27968 };
27969 A._awaitOnObject_closure0.prototype = {
27970 call$2(error, stackTrace) {
27971 this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
27972 },
27973 $signature: 566
27974 };
27975 A._wrapJsFunctionForAsync_closure.prototype = {
27976 call$2(errorCode, result) {
27977 this.$protected(errorCode, result);
27978 },
27979 $signature: 312
27980 };
27981 A._IterationMarker.prototype = {
27982 toString$0(_) {
27983 return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
27984 }
27985 };
27986 A._SyncStarIterator.prototype = {
27987 get$current(_) {
27988 var nested = this._nestedIterator;
27989 if (nested == null)
27990 return this._async$_current;
27991 return nested.get$current(nested);
27992 },
27993 moveNext$0() {
27994 var t1, value, state, suspendedBodies, inner, _this = this;
27995 for (; true;) {
27996 t1 = _this._nestedIterator;
27997 if (t1 != null)
27998 if (t1.moveNext$0())
27999 return true;
28000 else
28001 _this._nestedIterator = null;
28002 value = function(body, SUCCESS, ERROR) {
28003 var errorValue,
28004 errorCode = SUCCESS;
28005 while (true)
28006 try {
28007 return body(errorCode, errorValue);
28008 } catch (error) {
28009 errorValue = error;
28010 errorCode = ERROR;
28011 }
28012 }(_this._body, 0, 1);
28013 if (value instanceof A._IterationMarker) {
28014 state = value.state;
28015 if (state === 2) {
28016 suspendedBodies = _this._suspendedBodies;
28017 if (suspendedBodies == null || suspendedBodies.length === 0) {
28018 _this._async$_current = null;
28019 return false;
28020 }
28021 _this._body = suspendedBodies.pop();
28022 continue;
28023 } else {
28024 t1 = value.value;
28025 if (state === 3)
28026 throw t1;
28027 else {
28028 inner = J.get$iterator$ax(t1);
28029 if (inner instanceof A._SyncStarIterator) {
28030 t1 = _this._suspendedBodies;
28031 if (t1 == null)
28032 t1 = _this._suspendedBodies = [];
28033 t1.push(_this._body);
28034 _this._body = inner._body;
28035 continue;
28036 } else {
28037 _this._nestedIterator = inner;
28038 continue;
28039 }
28040 }
28041 }
28042 } else {
28043 _this._async$_current = value;
28044 return true;
28045 }
28046 }
28047 return false;
28048 }
28049 };
28050 A._SyncStarIterable.prototype = {
28051 get$iterator(_) {
28052 return new A._SyncStarIterator(this._outerHelper());
28053 }
28054 };
28055 A.AsyncError.prototype = {
28056 toString$0(_) {
28057 return A.S(this.error);
28058 },
28059 $isError: 1,
28060 get$stackTrace() {
28061 return this.stackTrace;
28062 }
28063 };
28064 A.Future_wait_handleError.prototype = {
28065 call$2(theError, theStackTrace) {
28066 var _this = this,
28067 t1 = _this._box_0,
28068 t2 = --t1.remaining;
28069 if (t1.values != null) {
28070 t1.values = null;
28071 if (t1.remaining === 0 || _this.eagerError)
28072 _this._future._completeError$2(theError, theStackTrace);
28073 else {
28074 _this.error._value = theError;
28075 _this.stackTrace._value = theStackTrace;
28076 }
28077 } else if (t2 === 0 && !_this.eagerError)
28078 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28079 },
28080 $signature: 61
28081 };
28082 A.Future_wait_closure.prototype = {
28083 call$1(value) {
28084 var valueList, _this = this,
28085 t1 = _this._box_0;
28086 --t1.remaining;
28087 valueList = t1.values;
28088 if (valueList != null) {
28089 J.$indexSet$ax(valueList, _this.pos, value);
28090 if (t1.remaining === 0)
28091 _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
28092 } else if (t1.remaining === 0 && !_this.eagerError)
28093 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28094 },
28095 $signature() {
28096 return this.T._eval$1("Null(0)");
28097 }
28098 };
28099 A._Completer.prototype = {
28100 completeError$2(error, stackTrace) {
28101 var replacement;
28102 A.checkNotNullable(error, "error", type$.Object);
28103 if ((this.future._state & 30) !== 0)
28104 throw A.wrapException(A.StateError$("Future already completed"));
28105 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28106 if (replacement != null) {
28107 error = replacement.error;
28108 stackTrace = replacement.stackTrace;
28109 } else if (stackTrace == null)
28110 stackTrace = A.AsyncError_defaultStackTrace(error);
28111 this._completeError$2(error, stackTrace);
28112 },
28113 completeError$1(error) {
28114 return this.completeError$2(error, null);
28115 }
28116 };
28117 A._AsyncCompleter.prototype = {
28118 complete$1(value) {
28119 var t1 = this.future;
28120 if ((t1._state & 30) !== 0)
28121 throw A.wrapException(A.StateError$("Future already completed"));
28122 t1._asyncComplete$1(value);
28123 },
28124 complete$0() {
28125 return this.complete$1(null);
28126 },
28127 _completeError$2(error, stackTrace) {
28128 this.future._asyncCompleteError$2(error, stackTrace);
28129 }
28130 };
28131 A._SyncCompleter.prototype = {
28132 complete$1(value) {
28133 var t1 = this.future;
28134 if ((t1._state & 30) !== 0)
28135 throw A.wrapException(A.StateError$("Future already completed"));
28136 t1._complete$1(value);
28137 },
28138 _completeError$2(error, stackTrace) {
28139 this.future._completeError$2(error, stackTrace);
28140 }
28141 };
28142 A._FutureListener.prototype = {
28143 matchesErrorTest$1(asyncError) {
28144 if ((this.state & 15) !== 6)
28145 return true;
28146 return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
28147 },
28148 handleError$1(asyncError) {
28149 var exception,
28150 errorCallback = this.errorCallback,
28151 result = null,
28152 t1 = type$.dynamic,
28153 t2 = type$.Object,
28154 t3 = asyncError.error,
28155 t4 = this.result._zone;
28156 if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
28157 result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
28158 else
28159 result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
28160 try {
28161 t1 = result;
28162 return t1;
28163 } catch (exception) {
28164 if (type$.TypeError._is(A.unwrapException(exception))) {
28165 if ((this.state & 1) !== 0)
28166 throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
28167 throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
28168 } else
28169 throw exception;
28170 }
28171 }
28172 };
28173 A._Future.prototype = {
28174 then$1$2$onError(_, f, onError, $R) {
28175 var result, t1,
28176 currentZone = $.Zone__current;
28177 if (currentZone === B.C__RootZone) {
28178 if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
28179 throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
28180 } else {
28181 f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
28182 if (onError != null)
28183 onError = A._registerErrorHandler(onError, currentZone);
28184 }
28185 result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
28186 t1 = onError == null ? 1 : 3;
28187 this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
28188 return result;
28189 },
28190 then$1$1($receiver, f, $R) {
28191 return this.then$1$2$onError($receiver, f, null, $R);
28192 },
28193 _thenAwait$1$2(f, onError, $E) {
28194 var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
28195 this._addListener$1(new A._FutureListener(result, 3, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
28196 return result;
28197 },
28198 whenComplete$1(action) {
28199 var t1 = this.$ti,
28200 t2 = $.Zone__current,
28201 result = new A._Future(t2, t1);
28202 if (t2 !== B.C__RootZone)
28203 action = t2.registerCallback$1$1(action, type$.dynamic);
28204 this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
28205 return result;
28206 },
28207 _setErrorObject$1(error) {
28208 this._state = this._state & 1 | 16;
28209 this._resultOrListeners = error;
28210 },
28211 _cloneResult$1(source) {
28212 this._state = source._state & 30 | this._state & 1;
28213 this._resultOrListeners = source._resultOrListeners;
28214 },
28215 _addListener$1(listener) {
28216 var _this = this,
28217 t1 = _this._state;
28218 if (t1 <= 3) {
28219 listener._nextListener = _this._resultOrListeners;
28220 _this._resultOrListeners = listener;
28221 } else {
28222 if ((t1 & 4) !== 0) {
28223 t1 = _this._resultOrListeners;
28224 if ((t1._state & 24) === 0) {
28225 t1._addListener$1(listener);
28226 return;
28227 }
28228 _this._cloneResult$1(t1);
28229 }
28230 _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
28231 }
28232 },
28233 _prependListeners$1(listeners) {
28234 var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
28235 _box_0.listeners = listeners;
28236 if (listeners == null)
28237 return;
28238 t1 = _this._state;
28239 if (t1 <= 3) {
28240 existingListeners = _this._resultOrListeners;
28241 _this._resultOrListeners = listeners;
28242 if (existingListeners != null) {
28243 next = listeners._nextListener;
28244 for (cursor = listeners; next != null; cursor = next, next = next0)
28245 next0 = next._nextListener;
28246 cursor._nextListener = existingListeners;
28247 }
28248 } else {
28249 if ((t1 & 4) !== 0) {
28250 t1 = _this._resultOrListeners;
28251 if ((t1._state & 24) === 0) {
28252 t1._prependListeners$1(listeners);
28253 return;
28254 }
28255 _this._cloneResult$1(t1);
28256 }
28257 _box_0.listeners = _this._reverseListeners$1(listeners);
28258 _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
28259 }
28260 },
28261 _removeListeners$0() {
28262 var current = this._resultOrListeners;
28263 this._resultOrListeners = null;
28264 return this._reverseListeners$1(current);
28265 },
28266 _reverseListeners$1(listeners) {
28267 var current, prev, next;
28268 for (current = listeners, prev = null; current != null; prev = current, current = next) {
28269 next = current._nextListener;
28270 current._nextListener = prev;
28271 }
28272 return prev;
28273 },
28274 _chainForeignFuture$1(source) {
28275 var e, s, exception, _this = this;
28276 _this._state ^= 2;
28277 try {
28278 source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
28279 } catch (exception) {
28280 e = A.unwrapException(exception);
28281 s = A.getTraceFromException(exception);
28282 A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
28283 }
28284 },
28285 _complete$1(value) {
28286 var listeners, _this = this,
28287 t1 = _this.$ti;
28288 if (t1._eval$1("Future<1>")._is(value))
28289 if (t1._is(value))
28290 A._Future__chainCoreFuture(value, _this);
28291 else
28292 _this._chainForeignFuture$1(value);
28293 else {
28294 listeners = _this._removeListeners$0();
28295 _this._state = 8;
28296 _this._resultOrListeners = value;
28297 A._Future__propagateToListeners(_this, listeners);
28298 }
28299 },
28300 _completeWithValue$1(value) {
28301 var _this = this,
28302 listeners = _this._removeListeners$0();
28303 _this._state = 8;
28304 _this._resultOrListeners = value;
28305 A._Future__propagateToListeners(_this, listeners);
28306 },
28307 _completeError$2(error, stackTrace) {
28308 var listeners = this._removeListeners$0();
28309 this._setErrorObject$1(A.AsyncError$(error, stackTrace));
28310 A._Future__propagateToListeners(this, listeners);
28311 },
28312 _asyncComplete$1(value) {
28313 if (this.$ti._eval$1("Future<1>")._is(value)) {
28314 this._chainFuture$1(value);
28315 return;
28316 }
28317 this._asyncCompleteWithValue$1(value);
28318 },
28319 _asyncCompleteWithValue$1(value) {
28320 this._state ^= 2;
28321 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
28322 },
28323 _chainFuture$1(value) {
28324 var _this = this;
28325 if (_this.$ti._is(value)) {
28326 if ((value._state & 16) !== 0) {
28327 _this._state ^= 2;
28328 _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
28329 } else
28330 A._Future__chainCoreFuture(value, _this);
28331 return;
28332 }
28333 _this._chainForeignFuture$1(value);
28334 },
28335 _asyncCompleteError$2(error, stackTrace) {
28336 this._state ^= 2;
28337 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
28338 },
28339 $isFuture: 1
28340 };
28341 A._Future__addListener_closure.prototype = {
28342 call$0() {
28343 A._Future__propagateToListeners(this.$this, this.listener);
28344 },
28345 $signature: 0
28346 };
28347 A._Future__prependListeners_closure.prototype = {
28348 call$0() {
28349 A._Future__propagateToListeners(this.$this, this._box_0.listeners);
28350 },
28351 $signature: 0
28352 };
28353 A._Future__chainForeignFuture_closure.prototype = {
28354 call$1(value) {
28355 var error, stackTrace, exception,
28356 t1 = this.$this;
28357 t1._state ^= 2;
28358 try {
28359 t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
28360 } catch (exception) {
28361 error = A.unwrapException(exception);
28362 stackTrace = A.getTraceFromException(exception);
28363 t1._completeError$2(error, stackTrace);
28364 }
28365 },
28366 $signature: 67
28367 };
28368 A._Future__chainForeignFuture_closure0.prototype = {
28369 call$2(error, stackTrace) {
28370 this.$this._completeError$2(error, stackTrace);
28371 },
28372 $signature: 63
28373 };
28374 A._Future__chainForeignFuture_closure1.prototype = {
28375 call$0() {
28376 this.$this._completeError$2(this.e, this.s);
28377 },
28378 $signature: 0
28379 };
28380 A._Future__asyncCompleteWithValue_closure.prototype = {
28381 call$0() {
28382 this.$this._completeWithValue$1(this.value);
28383 },
28384 $signature: 0
28385 };
28386 A._Future__chainFuture_closure.prototype = {
28387 call$0() {
28388 A._Future__chainCoreFuture(this.value, this.$this);
28389 },
28390 $signature: 0
28391 };
28392 A._Future__asyncCompleteError_closure.prototype = {
28393 call$0() {
28394 this.$this._completeError$2(this.error, this.stackTrace);
28395 },
28396 $signature: 0
28397 };
28398 A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
28399 call$0() {
28400 var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
28401 try {
28402 t1 = _this._box_0.listener;
28403 completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
28404 } catch (exception) {
28405 e = A.unwrapException(exception);
28406 s = A.getTraceFromException(exception);
28407 t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
28408 t2 = _this._box_0;
28409 if (t1)
28410 t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
28411 else
28412 t2.listenerValueOrError = A.AsyncError$(e, s);
28413 t2.listenerHasError = true;
28414 return;
28415 }
28416 if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
28417 if ((completeResult._state & 16) !== 0) {
28418 t1 = _this._box_0;
28419 t1.listenerValueOrError = completeResult._resultOrListeners;
28420 t1.listenerHasError = true;
28421 }
28422 return;
28423 }
28424 if (type$.Future_dynamic._is(completeResult)) {
28425 originalSource = _this._box_1.source;
28426 t1 = _this._box_0;
28427 t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
28428 t1.listenerHasError = false;
28429 }
28430 },
28431 $signature: 0
28432 };
28433 A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
28434 call$1(_) {
28435 return this.originalSource;
28436 },
28437 $signature: 581
28438 };
28439 A._Future__propagateToListeners_handleValueCallback.prototype = {
28440 call$0() {
28441 var e, s, t1, t2, t3, exception;
28442 try {
28443 t1 = this._box_0;
28444 t2 = t1.listener;
28445 t3 = t2.$ti;
28446 t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
28447 } catch (exception) {
28448 e = A.unwrapException(exception);
28449 s = A.getTraceFromException(exception);
28450 t1 = this._box_0;
28451 t1.listenerValueOrError = A.AsyncError$(e, s);
28452 t1.listenerHasError = true;
28453 }
28454 },
28455 $signature: 0
28456 };
28457 A._Future__propagateToListeners_handleError.prototype = {
28458 call$0() {
28459 var asyncError, e, s, t1, exception, t2, _this = this;
28460 try {
28461 asyncError = _this._box_1.source._resultOrListeners;
28462 t1 = _this._box_0;
28463 if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
28464 t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
28465 t1.listenerHasError = false;
28466 }
28467 } catch (exception) {
28468 e = A.unwrapException(exception);
28469 s = A.getTraceFromException(exception);
28470 t1 = _this._box_1.source._resultOrListeners;
28471 t2 = _this._box_0;
28472 if (t1.error === e)
28473 t2.listenerValueOrError = t1;
28474 else
28475 t2.listenerValueOrError = A.AsyncError$(e, s);
28476 t2.listenerHasError = true;
28477 }
28478 },
28479 $signature: 0
28480 };
28481 A._AsyncCallbackEntry.prototype = {};
28482 A.Stream.prototype = {
28483 get$isBroadcast() {
28484 return false;
28485 },
28486 get$length(_) {
28487 var t1 = {},
28488 future = new A._Future($.Zone__current, type$._Future_int);
28489 t1.count = 0;
28490 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());
28491 return future;
28492 }
28493 };
28494 A.Stream_Stream$fromFuture_closure.prototype = {
28495 call$1(value) {
28496 var t1 = this.controller;
28497 t1._async$_add$1(value);
28498 t1._closeUnchecked$0();
28499 },
28500 $signature() {
28501 return this.T._eval$1("Null(0)");
28502 }
28503 };
28504 A.Stream_Stream$fromFuture_closure0.prototype = {
28505 call$2(error, stackTrace) {
28506 var t1 = this.controller;
28507 t1._addError$2(error, stackTrace);
28508 t1._closeUnchecked$0();
28509 },
28510 $signature: 295
28511 };
28512 A.Stream_length_closure.prototype = {
28513 call$1(_) {
28514 ++this._box_0.count;
28515 },
28516 $signature() {
28517 return A._instanceType(this.$this)._eval$1("~(Stream.T)");
28518 }
28519 };
28520 A.Stream_length_closure0.prototype = {
28521 call$0() {
28522 this.future._complete$1(this._box_0.count);
28523 },
28524 $signature: 0
28525 };
28526 A.StreamTransformerBase.prototype = {};
28527 A._StreamController.prototype = {
28528 get$stream() {
28529 return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
28530 },
28531 get$_pendingEvents() {
28532 if ((this._state & 8) === 0)
28533 return this._varData;
28534 return this._varData.varData;
28535 },
28536 _ensurePendingEvents$0() {
28537 var events, state, _this = this;
28538 if ((_this._state & 8) === 0) {
28539 events = _this._varData;
28540 return events == null ? _this._varData = new A._StreamImplEvents() : events;
28541 }
28542 state = _this._varData;
28543 events = state.varData;
28544 return events == null ? state.varData = new A._StreamImplEvents() : events;
28545 },
28546 get$_subscription() {
28547 var varData = this._varData;
28548 return (this._state & 8) !== 0 ? varData.varData : varData;
28549 },
28550 _badEventState$0() {
28551 if ((this._state & 4) !== 0)
28552 return new A.StateError("Cannot add event after closing");
28553 return new A.StateError("Cannot add event while adding a stream");
28554 },
28555 addStream$2$cancelOnError(source, cancelOnError) {
28556 var t2, t3, t4, _this = this,
28557 t1 = _this._state;
28558 if (t1 >= 4)
28559 throw A.wrapException(_this._badEventState$0());
28560 if ((t1 & 2) !== 0) {
28561 t1 = new A._Future($.Zone__current, type$._Future_dynamic);
28562 t1._asyncComplete$1(null);
28563 return t1;
28564 }
28565 t1 = _this._varData;
28566 t2 = new A._Future($.Zone__current, type$._Future_dynamic);
28567 t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
28568 t4 = _this._state;
28569 if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
28570 t3.pause$0(0);
28571 _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
28572 _this._state |= 8;
28573 return t2;
28574 },
28575 _ensureDoneFuture$0() {
28576 var t1 = this._doneFuture;
28577 if (t1 == null)
28578 t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
28579 return t1;
28580 },
28581 add$1(_, value) {
28582 if (this._state >= 4)
28583 throw A.wrapException(this._badEventState$0());
28584 this._async$_add$1(value);
28585 },
28586 addError$2(error, stackTrace) {
28587 var replacement;
28588 A.checkNotNullable(error, "error", type$.Object);
28589 if (this._state >= 4)
28590 throw A.wrapException(this._badEventState$0());
28591 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28592 if (replacement != null) {
28593 error = replacement.error;
28594 stackTrace = replacement.stackTrace;
28595 } else if (stackTrace == null)
28596 stackTrace = A.AsyncError_defaultStackTrace(error);
28597 this._addError$2(error, stackTrace);
28598 },
28599 addError$1(error) {
28600 return this.addError$2(error, null);
28601 },
28602 close$0(_) {
28603 var _this = this,
28604 t1 = _this._state;
28605 if ((t1 & 4) !== 0)
28606 return _this._ensureDoneFuture$0();
28607 if (t1 >= 4)
28608 throw A.wrapException(_this._badEventState$0());
28609 _this._closeUnchecked$0();
28610 return _this._ensureDoneFuture$0();
28611 },
28612 _closeUnchecked$0() {
28613 var t1 = this._state |= 4;
28614 if ((t1 & 1) !== 0)
28615 this._sendDone$0();
28616 else if ((t1 & 3) === 0)
28617 this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
28618 },
28619 _async$_add$1(value) {
28620 var t1 = this._state;
28621 if ((t1 & 1) !== 0)
28622 this._sendData$1(value);
28623 else if ((t1 & 3) === 0)
28624 this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
28625 },
28626 _addError$2(error, stackTrace) {
28627 var t1 = this._state;
28628 if ((t1 & 1) !== 0)
28629 this._sendError$2(error, stackTrace);
28630 else if ((t1 & 3) === 0)
28631 this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
28632 },
28633 _close$0() {
28634 var addState = this._varData;
28635 this._varData = addState.varData;
28636 this._state &= 4294967287;
28637 addState.addStreamFuture._asyncComplete$1(null);
28638 },
28639 _subscribe$4(onData, onError, onDone, cancelOnError) {
28640 var subscription, pendingEvents, t1, addState, _this = this;
28641 if ((_this._state & 3) !== 0)
28642 throw A.wrapException(A.StateError$("Stream has already been listened to."));
28643 subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
28644 pendingEvents = _this.get$_pendingEvents();
28645 t1 = _this._state |= 1;
28646 if ((t1 & 8) !== 0) {
28647 addState = _this._varData;
28648 addState.varData = subscription;
28649 addState.addSubscription.resume$0(0);
28650 } else
28651 _this._varData = subscription;
28652 subscription._setPendingEvents$1(pendingEvents);
28653 subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
28654 return subscription;
28655 },
28656 _recordCancel$1(subscription) {
28657 var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
28658 if ((_this._state & 8) !== 0)
28659 result = _this._varData.cancel$0();
28660 _this._varData = null;
28661 _this._state = _this._state & 4294967286 | 2;
28662 onCancel = _this.onCancel;
28663 if (onCancel != null)
28664 if (result == null)
28665 try {
28666 cancelResult = onCancel.call$0();
28667 if (type$.Future_void._is(cancelResult))
28668 result = cancelResult;
28669 } catch (exception) {
28670 e = A.unwrapException(exception);
28671 s = A.getTraceFromException(exception);
28672 result0 = new A._Future($.Zone__current, type$._Future_void);
28673 result0._asyncCompleteError$2(e, s);
28674 result = result0;
28675 }
28676 else
28677 result = result.whenComplete$1(onCancel);
28678 t1 = new A._StreamController__recordCancel_complete(_this);
28679 if (result != null)
28680 result = result.whenComplete$1(t1);
28681 else
28682 t1.call$0();
28683 return result;
28684 },
28685 _recordPause$1(subscription) {
28686 if ((this._state & 8) !== 0)
28687 this._varData.addSubscription.pause$0(0);
28688 A._runGuarded(this.onPause);
28689 },
28690 _recordResume$1(subscription) {
28691 if ((this._state & 8) !== 0)
28692 this._varData.addSubscription.resume$0(0);
28693 A._runGuarded(this.onResume);
28694 },
28695 $isEventSink: 1,
28696 set$onPause(val) {
28697 return this.onPause = val;
28698 },
28699 set$onResume(val) {
28700 return this.onResume = val;
28701 },
28702 set$onCancel(val) {
28703 return this.onCancel = val;
28704 }
28705 };
28706 A._StreamController__subscribe_closure.prototype = {
28707 call$0() {
28708 A._runGuarded(this.$this.onListen);
28709 },
28710 $signature: 0
28711 };
28712 A._StreamController__recordCancel_complete.prototype = {
28713 call$0() {
28714 var doneFuture = this.$this._doneFuture;
28715 if (doneFuture != null && (doneFuture._state & 30) === 0)
28716 doneFuture._asyncComplete$1(null);
28717 },
28718 $signature: 0
28719 };
28720 A._SyncStreamControllerDispatch.prototype = {
28721 _sendData$1(data) {
28722 this.get$_subscription()._async$_add$1(data);
28723 },
28724 _sendError$2(error, stackTrace) {
28725 this.get$_subscription()._addError$2(error, stackTrace);
28726 },
28727 _sendDone$0() {
28728 this.get$_subscription()._close$0();
28729 }
28730 };
28731 A._AsyncStreamControllerDispatch.prototype = {
28732 _sendData$1(data) {
28733 this.get$_subscription()._addPending$1(new A._DelayedData(data));
28734 },
28735 _sendError$2(error, stackTrace) {
28736 this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
28737 },
28738 _sendDone$0() {
28739 this.get$_subscription()._addPending$1(B.C__DelayedDone);
28740 }
28741 };
28742 A._AsyncStreamController.prototype = {};
28743 A._SyncStreamController.prototype = {};
28744 A._ControllerStream.prototype = {
28745 get$hashCode(_) {
28746 return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
28747 },
28748 $eq(_, other) {
28749 if (other == null)
28750 return false;
28751 if (this === other)
28752 return true;
28753 return other instanceof A._ControllerStream && other._controller === this._controller;
28754 }
28755 };
28756 A._ControllerSubscription.prototype = {
28757 _async$_onCancel$0() {
28758 return this._controller._recordCancel$1(this);
28759 },
28760 _async$_onPause$0() {
28761 this._controller._recordPause$1(this);
28762 },
28763 _async$_onResume$0() {
28764 this._controller._recordResume$1(this);
28765 }
28766 };
28767 A._AddStreamState.prototype = {
28768 cancel$0() {
28769 var cancel = this.addSubscription.cancel$0();
28770 return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
28771 }
28772 };
28773 A._AddStreamState_cancel_closure.prototype = {
28774 call$0() {
28775 this.$this.addStreamFuture._asyncComplete$1(null);
28776 },
28777 $signature: 1
28778 };
28779 A._StreamControllerAddStreamState.prototype = {};
28780 A._BufferingStreamSubscription.prototype = {
28781 _setPendingEvents$1(pendingEvents) {
28782 var _this = this;
28783 if (pendingEvents == null)
28784 return;
28785 _this._pending = pendingEvents;
28786 if (pendingEvents.lastPendingEvent != null) {
28787 _this._state = (_this._state | 64) >>> 0;
28788 pendingEvents.schedule$1(_this);
28789 }
28790 },
28791 pause$1(_, resumeSignal) {
28792 var t2, t3, _this = this,
28793 t1 = _this._state;
28794 if ((t1 & 8) !== 0)
28795 return;
28796 t2 = (t1 + 128 | 4) >>> 0;
28797 _this._state = t2;
28798 if (t1 < 128) {
28799 t3 = _this._pending;
28800 if (t3 != null)
28801 if (t3._state === 1)
28802 t3._state = 3;
28803 }
28804 if ((t1 & 4) === 0 && (t2 & 32) === 0)
28805 _this._guardCallback$1(_this.get$_async$_onPause());
28806 },
28807 pause$0($receiver) {
28808 return this.pause$1($receiver, null);
28809 },
28810 resume$0(_) {
28811 var _this = this,
28812 t1 = _this._state;
28813 if ((t1 & 8) !== 0)
28814 return;
28815 if (t1 >= 128) {
28816 t1 = _this._state = t1 - 128;
28817 if (t1 < 128)
28818 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
28819 _this._pending.schedule$1(_this);
28820 else {
28821 t1 = (t1 & 4294967291) >>> 0;
28822 _this._state = t1;
28823 if ((t1 & 32) === 0)
28824 _this._guardCallback$1(_this.get$_async$_onResume());
28825 }
28826 }
28827 },
28828 cancel$0() {
28829 var _this = this,
28830 t1 = (_this._state & 4294967279) >>> 0;
28831 _this._state = t1;
28832 if ((t1 & 8) === 0)
28833 _this._cancel$0();
28834 t1 = _this._cancelFuture;
28835 return t1 == null ? $.$get$Future__nullFuture() : t1;
28836 },
28837 _cancel$0() {
28838 var t2, _this = this,
28839 t1 = _this._state = (_this._state | 8) >>> 0;
28840 if ((t1 & 64) !== 0) {
28841 t2 = _this._pending;
28842 if (t2._state === 1)
28843 t2._state = 3;
28844 }
28845 if ((t1 & 32) === 0)
28846 _this._pending = null;
28847 _this._cancelFuture = _this._async$_onCancel$0();
28848 },
28849 _async$_add$1(data) {
28850 var t1 = this._state;
28851 if ((t1 & 8) !== 0)
28852 return;
28853 if (t1 < 32)
28854 this._sendData$1(data);
28855 else
28856 this._addPending$1(new A._DelayedData(data));
28857 },
28858 _addError$2(error, stackTrace) {
28859 var t1 = this._state;
28860 if ((t1 & 8) !== 0)
28861 return;
28862 if (t1 < 32)
28863 this._sendError$2(error, stackTrace);
28864 else
28865 this._addPending$1(new A._DelayedError(error, stackTrace));
28866 },
28867 _close$0() {
28868 var _this = this,
28869 t1 = _this._state;
28870 if ((t1 & 8) !== 0)
28871 return;
28872 t1 = (t1 | 2) >>> 0;
28873 _this._state = t1;
28874 if (t1 < 32)
28875 _this._sendDone$0();
28876 else
28877 _this._addPending$1(B.C__DelayedDone);
28878 },
28879 _async$_onPause$0() {
28880 },
28881 _async$_onResume$0() {
28882 },
28883 _async$_onCancel$0() {
28884 return null;
28885 },
28886 _addPending$1($event) {
28887 var t1, _this = this,
28888 pending = _this._pending;
28889 if (pending == null)
28890 pending = new A._StreamImplEvents();
28891 _this._pending = pending;
28892 pending.add$1(0, $event);
28893 t1 = _this._state;
28894 if ((t1 & 64) === 0) {
28895 t1 = (t1 | 64) >>> 0;
28896 _this._state = t1;
28897 if (t1 < 128)
28898 pending.schedule$1(_this);
28899 }
28900 },
28901 _sendData$1(data) {
28902 var _this = this,
28903 t1 = _this._state;
28904 _this._state = (t1 | 32) >>> 0;
28905 _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
28906 _this._state = (_this._state & 4294967263) >>> 0;
28907 _this._checkState$1((t1 & 4) !== 0);
28908 },
28909 _sendError$2(error, stackTrace) {
28910 var cancelFuture, _this = this,
28911 t1 = _this._state,
28912 t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
28913 if ((t1 & 1) !== 0) {
28914 _this._state = (t1 | 16) >>> 0;
28915 _this._cancel$0();
28916 cancelFuture = _this._cancelFuture;
28917 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28918 cancelFuture.whenComplete$1(t2);
28919 else
28920 t2.call$0();
28921 } else {
28922 t2.call$0();
28923 _this._checkState$1((t1 & 4) !== 0);
28924 }
28925 },
28926 _sendDone$0() {
28927 var cancelFuture, _this = this,
28928 t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
28929 _this._cancel$0();
28930 _this._state = (_this._state | 16) >>> 0;
28931 cancelFuture = _this._cancelFuture;
28932 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28933 cancelFuture.whenComplete$1(t1);
28934 else
28935 t1.call$0();
28936 },
28937 _guardCallback$1(callback) {
28938 var _this = this,
28939 t1 = _this._state;
28940 _this._state = (t1 | 32) >>> 0;
28941 callback.call$0();
28942 _this._state = (_this._state & 4294967263) >>> 0;
28943 _this._checkState$1((t1 & 4) !== 0);
28944 },
28945 _checkState$1(wasInputPaused) {
28946 var t2, isInputPaused, _this = this,
28947 t1 = _this._state;
28948 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
28949 t1 = _this._state = (t1 & 4294967231) >>> 0;
28950 if ((t1 & 4) !== 0)
28951 if (t1 < 128) {
28952 t2 = _this._pending;
28953 t2 = t2 == null ? null : t2.lastPendingEvent == null;
28954 t2 = t2 !== false;
28955 } else
28956 t2 = false;
28957 else
28958 t2 = false;
28959 if (t2) {
28960 t1 = (t1 & 4294967291) >>> 0;
28961 _this._state = t1;
28962 }
28963 }
28964 for (; true; wasInputPaused = isInputPaused) {
28965 if ((t1 & 8) !== 0) {
28966 _this._pending = null;
28967 return;
28968 }
28969 isInputPaused = (t1 & 4) !== 0;
28970 if (wasInputPaused === isInputPaused)
28971 break;
28972 _this._state = (t1 ^ 32) >>> 0;
28973 if (isInputPaused)
28974 _this._async$_onPause$0();
28975 else
28976 _this._async$_onResume$0();
28977 t1 = (_this._state & 4294967263) >>> 0;
28978 _this._state = t1;
28979 }
28980 if ((t1 & 64) !== 0 && t1 < 128)
28981 _this._pending.schedule$1(_this);
28982 },
28983 $isStreamSubscription: 1
28984 };
28985 A._BufferingStreamSubscription__sendError_sendError.prototype = {
28986 call$0() {
28987 var onError, t3, t4,
28988 t1 = this.$this,
28989 t2 = t1._state;
28990 if ((t2 & 8) !== 0 && (t2 & 16) === 0)
28991 return;
28992 t1._state = (t2 | 32) >>> 0;
28993 onError = t1._onError;
28994 t2 = this.error;
28995 t3 = type$.Object;
28996 t4 = t1._zone;
28997 if (type$.void_Function_Object_StackTrace._is(onError))
28998 t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
28999 else
29000 t4.runUnaryGuarded$1$2(onError, t2, t3);
29001 t1._state = (t1._state & 4294967263) >>> 0;
29002 },
29003 $signature: 0
29004 };
29005 A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
29006 call$0() {
29007 var t1 = this.$this,
29008 t2 = t1._state;
29009 if ((t2 & 16) === 0)
29010 return;
29011 t1._state = (t2 | 42) >>> 0;
29012 t1._zone.runGuarded$1(t1._onDone);
29013 t1._state = (t1._state & 4294967263) >>> 0;
29014 },
29015 $signature: 0
29016 };
29017 A._StreamImpl.prototype = {
29018 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29019 return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
29020 },
29021 listen$1($receiver, onData) {
29022 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29023 },
29024 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29025 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29026 }
29027 };
29028 A._DelayedEvent.prototype = {
29029 get$next() {
29030 return this.next;
29031 },
29032 set$next(val) {
29033 return this.next = val;
29034 }
29035 };
29036 A._DelayedData.prototype = {
29037 perform$1(dispatch) {
29038 dispatch._sendData$1(this.value);
29039 }
29040 };
29041 A._DelayedError.prototype = {
29042 perform$1(dispatch) {
29043 dispatch._sendError$2(this.error, this.stackTrace);
29044 }
29045 };
29046 A._DelayedDone.prototype = {
29047 perform$1(dispatch) {
29048 dispatch._sendDone$0();
29049 },
29050 get$next() {
29051 return null;
29052 },
29053 set$next(_) {
29054 throw A.wrapException(A.StateError$("No events after a done."));
29055 }
29056 };
29057 A._PendingEvents.prototype = {
29058 schedule$1(dispatch) {
29059 var _this = this,
29060 t1 = _this._state;
29061 if (t1 === 1)
29062 return;
29063 if (t1 >= 1) {
29064 _this._state = 1;
29065 return;
29066 }
29067 A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
29068 _this._state = 1;
29069 }
29070 };
29071 A._PendingEvents_schedule_closure.prototype = {
29072 call$0() {
29073 var $event, nextEvent,
29074 t1 = this.$this,
29075 oldState = t1._state;
29076 t1._state = 0;
29077 if (oldState === 3)
29078 return;
29079 $event = t1.firstPendingEvent;
29080 nextEvent = $event.get$next();
29081 t1.firstPendingEvent = nextEvent;
29082 if (nextEvent == null)
29083 t1.lastPendingEvent = null;
29084 $event.perform$1(this.dispatch);
29085 },
29086 $signature: 0
29087 };
29088 A._StreamImplEvents.prototype = {
29089 add$1(_, $event) {
29090 var _this = this,
29091 lastEvent = _this.lastPendingEvent;
29092 if (lastEvent == null)
29093 _this.firstPendingEvent = _this.lastPendingEvent = $event;
29094 else {
29095 lastEvent.set$next($event);
29096 _this.lastPendingEvent = $event;
29097 }
29098 }
29099 };
29100 A._StreamIterator.prototype = {
29101 get$current(_) {
29102 if (this._async$_hasValue)
29103 return this._stateData;
29104 return null;
29105 },
29106 moveNext$0() {
29107 var future, _this = this,
29108 subscription = _this._subscription;
29109 if (subscription != null) {
29110 if (_this._async$_hasValue) {
29111 future = new A._Future($.Zone__current, type$._Future_bool);
29112 _this._stateData = future;
29113 _this._async$_hasValue = false;
29114 subscription.resume$0(0);
29115 return future;
29116 }
29117 throw A.wrapException(A.StateError$("Already waiting for next."));
29118 }
29119 return _this._initializeOrDone$0();
29120 },
29121 _initializeOrDone$0() {
29122 var future, subscription, _this = this,
29123 stateData = _this._stateData;
29124 if (stateData != null) {
29125 future = new A._Future($.Zone__current, type$._Future_bool);
29126 _this._stateData = future;
29127 subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
29128 if (_this._stateData != null)
29129 _this._subscription = subscription;
29130 return future;
29131 }
29132 return $.$get$Future__falseFuture();
29133 },
29134 cancel$0() {
29135 var _this = this,
29136 subscription = _this._subscription,
29137 stateData = _this._stateData;
29138 _this._stateData = null;
29139 if (subscription != null) {
29140 _this._subscription = null;
29141 if (!_this._async$_hasValue)
29142 stateData._asyncComplete$1(false);
29143 else
29144 _this._async$_hasValue = false;
29145 return subscription.cancel$0();
29146 }
29147 return $.$get$Future__nullFuture();
29148 },
29149 _onData$1(data) {
29150 var moveNextFuture, t1, _this = this;
29151 if (_this._subscription == null)
29152 return;
29153 moveNextFuture = _this._stateData;
29154 _this._stateData = data;
29155 _this._async$_hasValue = true;
29156 moveNextFuture._complete$1(true);
29157 if (_this._async$_hasValue) {
29158 t1 = _this._subscription;
29159 if (t1 != null)
29160 t1.pause$0(0);
29161 }
29162 },
29163 _onError$2(error, stackTrace) {
29164 var _this = this,
29165 subscription = _this._subscription,
29166 moveNextFuture = _this._stateData;
29167 _this._stateData = _this._subscription = null;
29168 if (subscription != null)
29169 moveNextFuture._completeError$2(error, stackTrace);
29170 else
29171 moveNextFuture._asyncCompleteError$2(error, stackTrace);
29172 },
29173 _onDone$0() {
29174 var _this = this,
29175 subscription = _this._subscription,
29176 moveNextFuture = _this._stateData;
29177 _this._stateData = _this._subscription = null;
29178 if (subscription != null)
29179 moveNextFuture._completeWithValue$1(false);
29180 else
29181 moveNextFuture._asyncCompleteWithValue$1(false);
29182 }
29183 };
29184 A._ForwardingStream.prototype = {
29185 get$isBroadcast() {
29186 return this._async$_source.get$isBroadcast();
29187 },
29188 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29189 var t1 = this.$ti,
29190 t2 = t1._rest[1],
29191 t3 = $.Zone__current,
29192 t4 = cancelOnError === true ? 1 : 0,
29193 t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
29194 t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
29195 t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
29196 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>"));
29197 t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
29198 return t2;
29199 },
29200 listen$1($receiver, onData) {
29201 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29202 },
29203 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29204 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29205 }
29206 };
29207 A._ForwardingStreamSubscription.prototype = {
29208 _async$_add$1(data) {
29209 if ((this._state & 2) !== 0)
29210 return;
29211 this.super$_BufferingStreamSubscription$_add(data);
29212 },
29213 _addError$2(error, stackTrace) {
29214 if ((this._state & 2) !== 0)
29215 return;
29216 this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
29217 },
29218 _async$_onPause$0() {
29219 var t1 = this._subscription;
29220 if (t1 != null)
29221 t1.pause$0(0);
29222 },
29223 _async$_onResume$0() {
29224 var t1 = this._subscription;
29225 if (t1 != null)
29226 t1.resume$0(0);
29227 },
29228 _async$_onCancel$0() {
29229 var subscription = this._subscription;
29230 if (subscription != null) {
29231 this._subscription = null;
29232 return subscription.cancel$0();
29233 }
29234 return null;
29235 },
29236 _handleData$1(data) {
29237 this._stream._handleData$2(data, this);
29238 },
29239 _handleError$2(error, stackTrace) {
29240 this._addError$2(error, stackTrace);
29241 },
29242 _handleDone$0() {
29243 this._close$0();
29244 }
29245 };
29246 A._ExpandStream.prototype = {
29247 _handleData$2(inputEvent, sink) {
29248 var value, e, s, t1, exception, error, stackTrace, replacement;
29249 try {
29250 for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
29251 value = t1.get$current(t1);
29252 sink._async$_add$1(value);
29253 }
29254 } catch (exception) {
29255 e = A.unwrapException(exception);
29256 s = A.getTraceFromException(exception);
29257 error = e;
29258 stackTrace = s;
29259 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
29260 if (replacement != null) {
29261 error = replacement.error;
29262 stackTrace = replacement.stackTrace;
29263 }
29264 sink._addError$2(error, stackTrace);
29265 }
29266 }
29267 };
29268 A._ZoneFunction.prototype = {};
29269 A._RunNullaryZoneFunction.prototype = {};
29270 A._RunUnaryZoneFunction.prototype = {};
29271 A._RunBinaryZoneFunction.prototype = {};
29272 A._RegisterNullaryZoneFunction.prototype = {};
29273 A._RegisterUnaryZoneFunction.prototype = {};
29274 A._RegisterBinaryZoneFunction.prototype = {};
29275 A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
29276 A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
29277 A._Zone.prototype = {
29278 _processUncaughtError$3(zone, error, stackTrace) {
29279 var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
29280 implementation = this.get$_handleUncaughtError(),
29281 implZone = implementation.zone;
29282 if (implZone === B.C__RootZone) {
29283 A._rootHandleError(error, stackTrace);
29284 return;
29285 }
29286 handler = implementation.$function;
29287 parentDelegate = implZone.get$_parentDelegate();
29288 t1 = J.get$parent$z(implZone);
29289 t1.toString;
29290 parentZone = t1;
29291 currentZone = $.Zone__current;
29292 try {
29293 $.Zone__current = parentZone;
29294 handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
29295 $.Zone__current = currentZone;
29296 } catch (exception) {
29297 e = A.unwrapException(exception);
29298 s = A.getTraceFromException(exception);
29299 $.Zone__current = currentZone;
29300 t1 = error === e ? stackTrace : s;
29301 parentZone._processUncaughtError$3(implZone, e, t1);
29302 }
29303 },
29304 $isZone: 1
29305 };
29306 A._CustomZone.prototype = {
29307 get$_delegate() {
29308 var t1 = this._delegateCache;
29309 return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
29310 },
29311 get$_parentDelegate() {
29312 return this.parent.get$_delegate();
29313 },
29314 get$errorZone() {
29315 return this._handleUncaughtError.zone;
29316 },
29317 runGuarded$1(f) {
29318 var e, s, exception;
29319 try {
29320 this.run$1$1(0, f, type$.void);
29321 } catch (exception) {
29322 e = A.unwrapException(exception);
29323 s = A.getTraceFromException(exception);
29324 this._processUncaughtError$3(this, e, s);
29325 }
29326 },
29327 runUnaryGuarded$1$2(f, arg, $T) {
29328 var e, s, exception;
29329 try {
29330 this.runUnary$2$2(f, arg, type$.void, $T);
29331 } catch (exception) {
29332 e = A.unwrapException(exception);
29333 s = A.getTraceFromException(exception);
29334 this._processUncaughtError$3(this, e, s);
29335 }
29336 },
29337 runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
29338 var e, s, exception;
29339 try {
29340 this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
29341 } catch (exception) {
29342 e = A.unwrapException(exception);
29343 s = A.getTraceFromException(exception);
29344 this._processUncaughtError$3(this, e, s);
29345 }
29346 },
29347 bindCallback$1$1(f, $R) {
29348 return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
29349 },
29350 bindUnaryCallback$2$1(f, $R, $T) {
29351 return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
29352 },
29353 bindCallbackGuarded$1(f) {
29354 return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
29355 },
29356 $index(_, key) {
29357 var value,
29358 t1 = this._async$_map,
29359 result = t1.$index(0, key);
29360 if (result != null || t1.containsKey$1(key))
29361 return result;
29362 value = this.parent.$index(0, key);
29363 if (value != null)
29364 t1.$indexSet(0, key, value);
29365 return value;
29366 },
29367 handleUncaughtError$2(error, stackTrace) {
29368 this._processUncaughtError$3(this, error, stackTrace);
29369 },
29370 fork$2$specification$zoneValues(specification, zoneValues) {
29371 var implementation = this._fork,
29372 t1 = implementation.zone;
29373 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
29374 },
29375 run$1$1(_, f) {
29376 var implementation = this._run,
29377 t1 = implementation.zone;
29378 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29379 },
29380 runUnary$2$2(f, arg) {
29381 var implementation = this._runUnary,
29382 t1 = implementation.zone;
29383 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
29384 },
29385 runBinary$3$3(f, arg1, arg2) {
29386 var implementation = this._runBinary,
29387 t1 = implementation.zone;
29388 return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
29389 },
29390 registerCallback$1$1(callback) {
29391 var implementation = this._registerCallback,
29392 t1 = implementation.zone;
29393 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29394 },
29395 registerUnaryCallback$2$1(callback) {
29396 var implementation = this._registerUnaryCallback,
29397 t1 = implementation.zone;
29398 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29399 },
29400 registerBinaryCallback$3$1(callback) {
29401 var implementation = this._registerBinaryCallback,
29402 t1 = implementation.zone;
29403 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29404 },
29405 errorCallback$2(error, stackTrace) {
29406 var implementation, implementationZone;
29407 A.checkNotNullable(error, "error", type$.Object);
29408 implementation = this._errorCallback;
29409 implementationZone = implementation.zone;
29410 if (implementationZone === B.C__RootZone)
29411 return null;
29412 return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
29413 },
29414 scheduleMicrotask$1(f) {
29415 var implementation = this._scheduleMicrotask,
29416 t1 = implementation.zone;
29417 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29418 },
29419 createTimer$2(duration, f) {
29420 var implementation = this._createTimer,
29421 t1 = implementation.zone;
29422 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
29423 },
29424 print$1(line) {
29425 var implementation = this._print,
29426 t1 = implementation.zone;
29427 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
29428 },
29429 get$_run() {
29430 return this._run;
29431 },
29432 get$_runUnary() {
29433 return this._runUnary;
29434 },
29435 get$_runBinary() {
29436 return this._runBinary;
29437 },
29438 get$_registerCallback() {
29439 return this._registerCallback;
29440 },
29441 get$_registerUnaryCallback() {
29442 return this._registerUnaryCallback;
29443 },
29444 get$_registerBinaryCallback() {
29445 return this._registerBinaryCallback;
29446 },
29447 get$_errorCallback() {
29448 return this._errorCallback;
29449 },
29450 get$_scheduleMicrotask() {
29451 return this._scheduleMicrotask;
29452 },
29453 get$_createTimer() {
29454 return this._createTimer;
29455 },
29456 get$_createPeriodicTimer() {
29457 return this._createPeriodicTimer;
29458 },
29459 get$_print() {
29460 return this._print;
29461 },
29462 get$_fork() {
29463 return this._fork;
29464 },
29465 get$_handleUncaughtError() {
29466 return this._handleUncaughtError;
29467 },
29468 get$parent(receiver) {
29469 return this.parent;
29470 },
29471 get$_async$_map() {
29472 return this._async$_map;
29473 }
29474 };
29475 A._CustomZone_bindCallback_closure.prototype = {
29476 call$0() {
29477 return this.$this.run$1$1(0, this.registered, this.R);
29478 },
29479 $signature() {
29480 return this.R._eval$1("0()");
29481 }
29482 };
29483 A._CustomZone_bindUnaryCallback_closure.prototype = {
29484 call$1(arg) {
29485 var _this = this;
29486 return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
29487 },
29488 $signature() {
29489 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29490 }
29491 };
29492 A._CustomZone_bindCallbackGuarded_closure.prototype = {
29493 call$0() {
29494 return this.$this.runGuarded$1(this.registered);
29495 },
29496 $signature: 0
29497 };
29498 A._rootHandleError_closure.prototype = {
29499 call$0() {
29500 var t1 = this.error,
29501 t2 = this.stackTrace;
29502 A.checkNotNullable(t1, "error", type$.Object);
29503 A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
29504 A.Error__throw(t1, t2);
29505 },
29506 $signature: 0
29507 };
29508 A._RootZone.prototype = {
29509 get$_run() {
29510 return B._RunNullaryZoneFunction__RootZone__rootRun;
29511 },
29512 get$_runUnary() {
29513 return B._RunUnaryZoneFunction__RootZone__rootRunUnary;
29514 },
29515 get$_runBinary() {
29516 return B._RunBinaryZoneFunction__RootZone__rootRunBinary;
29517 },
29518 get$_registerCallback() {
29519 return B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback;
29520 },
29521 get$_registerUnaryCallback() {
29522 return B._RegisterUnaryZoneFunction_Bqo;
29523 },
29524 get$_registerBinaryCallback() {
29525 return B._RegisterBinaryZoneFunction_kGu;
29526 },
29527 get$_errorCallback() {
29528 return B._ZoneFunction__RootZone__rootErrorCallback;
29529 },
29530 get$_scheduleMicrotask() {
29531 return B._ZoneFunction__RootZone__rootScheduleMicrotask;
29532 },
29533 get$_createTimer() {
29534 return B._ZoneFunction__RootZone__rootCreateTimer;
29535 },
29536 get$_createPeriodicTimer() {
29537 return B._ZoneFunction_3bB;
29538 },
29539 get$_print() {
29540 return B._ZoneFunction__RootZone__rootPrint;
29541 },
29542 get$_fork() {
29543 return B._ZoneFunction__RootZone__rootFork;
29544 },
29545 get$_handleUncaughtError() {
29546 return B._ZoneFunction_NMc;
29547 },
29548 get$parent(_) {
29549 return null;
29550 },
29551 get$_async$_map() {
29552 return $.$get$_RootZone__rootMap();
29553 },
29554 get$_delegate() {
29555 var t1 = $._RootZone__rootDelegate;
29556 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29557 },
29558 get$_parentDelegate() {
29559 var t1 = $._RootZone__rootDelegate;
29560 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29561 },
29562 get$errorZone() {
29563 return this;
29564 },
29565 runGuarded$1(f) {
29566 var e, s, exception;
29567 try {
29568 if (B.C__RootZone === $.Zone__current) {
29569 f.call$0();
29570 return;
29571 }
29572 A._rootRun(null, null, this, f);
29573 } catch (exception) {
29574 e = A.unwrapException(exception);
29575 s = A.getTraceFromException(exception);
29576 A._rootHandleError(e, s);
29577 }
29578 },
29579 runUnaryGuarded$1$2(f, arg) {
29580 var e, s, exception;
29581 try {
29582 if (B.C__RootZone === $.Zone__current) {
29583 f.call$1(arg);
29584 return;
29585 }
29586 A._rootRunUnary(null, null, this, f, arg);
29587 } catch (exception) {
29588 e = A.unwrapException(exception);
29589 s = A.getTraceFromException(exception);
29590 A._rootHandleError(e, s);
29591 }
29592 },
29593 runBinaryGuarded$2$3(f, arg1, arg2) {
29594 var e, s, exception;
29595 try {
29596 if (B.C__RootZone === $.Zone__current) {
29597 f.call$2(arg1, arg2);
29598 return;
29599 }
29600 A._rootRunBinary(null, null, this, f, arg1, arg2);
29601 } catch (exception) {
29602 e = A.unwrapException(exception);
29603 s = A.getTraceFromException(exception);
29604 A._rootHandleError(e, s);
29605 }
29606 },
29607 bindCallback$1$1(f, $R) {
29608 return new A._RootZone_bindCallback_closure(this, f, $R);
29609 },
29610 bindUnaryCallback$2$1(f, $R, $T) {
29611 return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
29612 },
29613 bindCallbackGuarded$1(f) {
29614 return new A._RootZone_bindCallbackGuarded_closure(this, f);
29615 },
29616 $index(_, key) {
29617 return null;
29618 },
29619 handleUncaughtError$2(error, stackTrace) {
29620 A._rootHandleError(error, stackTrace);
29621 },
29622 fork$2$specification$zoneValues(specification, zoneValues) {
29623 return A._rootFork(null, null, this, specification, zoneValues);
29624 },
29625 run$1$1(_, f) {
29626 if ($.Zone__current === B.C__RootZone)
29627 return f.call$0();
29628 return A._rootRun(null, null, this, f);
29629 },
29630 runUnary$2$2(f, arg) {
29631 if ($.Zone__current === B.C__RootZone)
29632 return f.call$1(arg);
29633 return A._rootRunUnary(null, null, this, f, arg);
29634 },
29635 runBinary$3$3(f, arg1, arg2) {
29636 if ($.Zone__current === B.C__RootZone)
29637 return f.call$2(arg1, arg2);
29638 return A._rootRunBinary(null, null, this, f, arg1, arg2);
29639 },
29640 registerCallback$1$1(f) {
29641 return f;
29642 },
29643 registerUnaryCallback$2$1(f) {
29644 return f;
29645 },
29646 registerBinaryCallback$3$1(f) {
29647 return f;
29648 },
29649 errorCallback$2(error, stackTrace) {
29650 return null;
29651 },
29652 scheduleMicrotask$1(f) {
29653 A._rootScheduleMicrotask(null, null, this, f);
29654 },
29655 createTimer$2(duration, f) {
29656 return A.Timer__createTimer(duration, f);
29657 },
29658 print$1(line) {
29659 A.printString(line);
29660 }
29661 };
29662 A._RootZone_bindCallback_closure.prototype = {
29663 call$0() {
29664 return this.$this.run$1$1(0, this.f, this.R);
29665 },
29666 $signature() {
29667 return this.R._eval$1("0()");
29668 }
29669 };
29670 A._RootZone_bindUnaryCallback_closure.prototype = {
29671 call$1(arg) {
29672 var _this = this;
29673 return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
29674 },
29675 $signature() {
29676 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29677 }
29678 };
29679 A._RootZone_bindCallbackGuarded_closure.prototype = {
29680 call$0() {
29681 return this.$this.runGuarded$1(this.f);
29682 },
29683 $signature: 0
29684 };
29685 A._HashMap.prototype = {
29686 get$length(_) {
29687 return this._collection$_length;
29688 },
29689 get$isEmpty(_) {
29690 return this._collection$_length === 0;
29691 },
29692 get$isNotEmpty(_) {
29693 return this._collection$_length !== 0;
29694 },
29695 get$keys(_) {
29696 return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
29697 },
29698 get$values(_) {
29699 var t1 = A._instanceType(this);
29700 return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
29701 },
29702 containsKey$1(key) {
29703 var strings, nums;
29704 if (typeof key == "string" && key !== "__proto__") {
29705 strings = this._collection$_strings;
29706 return strings == null ? false : strings[key] != null;
29707 } else if (typeof key == "number" && (key & 1073741823) === key) {
29708 nums = this._collection$_nums;
29709 return nums == null ? false : nums[key] != null;
29710 } else
29711 return this._containsKey$1(key);
29712 },
29713 _containsKey$1(key) {
29714 var rest = this._collection$_rest;
29715 if (rest == null)
29716 return false;
29717 return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
29718 },
29719 addAll$1(_, other) {
29720 other.forEach$1(0, new A._HashMap_addAll_closure(this));
29721 },
29722 $index(_, key) {
29723 var strings, t1, nums;
29724 if (typeof key == "string" && key !== "__proto__") {
29725 strings = this._collection$_strings;
29726 t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
29727 return t1;
29728 } else if (typeof key == "number" && (key & 1073741823) === key) {
29729 nums = this._collection$_nums;
29730 t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
29731 return t1;
29732 } else
29733 return this._get$1(key);
29734 },
29735 _get$1(key) {
29736 var bucket, index,
29737 rest = this._collection$_rest;
29738 if (rest == null)
29739 return null;
29740 bucket = this._getBucket$2(rest, key);
29741 index = this._findBucketIndex$2(bucket, key);
29742 return index < 0 ? null : bucket[index + 1];
29743 },
29744 $indexSet(_, key, value) {
29745 var strings, nums, _this = this;
29746 if (typeof key == "string" && key !== "__proto__") {
29747 strings = _this._collection$_strings;
29748 _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
29749 } else if (typeof key == "number" && (key & 1073741823) === key) {
29750 nums = _this._collection$_nums;
29751 _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
29752 } else
29753 _this._set$2(key, value);
29754 },
29755 _set$2(key, value) {
29756 var hash, bucket, index, _this = this,
29757 rest = _this._collection$_rest;
29758 if (rest == null)
29759 rest = _this._collection$_rest = A._HashMap__newHashTable();
29760 hash = _this._computeHashCode$1(key);
29761 bucket = rest[hash];
29762 if (bucket == null) {
29763 A._HashMap__setTableEntry(rest, hash, [key, value]);
29764 ++_this._collection$_length;
29765 _this._keys = null;
29766 } else {
29767 index = _this._findBucketIndex$2(bucket, key);
29768 if (index >= 0)
29769 bucket[index + 1] = value;
29770 else {
29771 bucket.push(key, value);
29772 ++_this._collection$_length;
29773 _this._keys = null;
29774 }
29775 }
29776 },
29777 remove$1(_, key) {
29778 var t1;
29779 if (typeof key == "string" && key !== "__proto__")
29780 return this._removeHashTableEntry$2(this._collection$_strings, key);
29781 else {
29782 t1 = this._remove$1(key);
29783 return t1;
29784 }
29785 },
29786 _remove$1(key) {
29787 var hash, bucket, index, result, _this = this,
29788 rest = _this._collection$_rest;
29789 if (rest == null)
29790 return null;
29791 hash = _this._computeHashCode$1(key);
29792 bucket = rest[hash];
29793 index = _this._findBucketIndex$2(bucket, key);
29794 if (index < 0)
29795 return null;
29796 --_this._collection$_length;
29797 _this._keys = null;
29798 result = bucket.splice(index, 2)[1];
29799 if (0 === bucket.length)
29800 delete rest[hash];
29801 return result;
29802 },
29803 forEach$1(_, action) {
29804 var $length, t1, i, key, t2, _this = this,
29805 keys = _this._computeKeys$0();
29806 for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
29807 key = keys[i];
29808 t2 = _this.$index(0, key);
29809 action.call$2(key, t2 == null ? t1._as(t2) : t2);
29810 if (keys !== _this._keys)
29811 throw A.wrapException(A.ConcurrentModificationError$(_this));
29812 }
29813 },
29814 _computeKeys$0() {
29815 var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
29816 result = _this._keys;
29817 if (result != null)
29818 return result;
29819 result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
29820 strings = _this._collection$_strings;
29821 if (strings != null) {
29822 names = Object.getOwnPropertyNames(strings);
29823 entries = names.length;
29824 for (index = 0, i = 0; i < entries; ++i) {
29825 result[index] = names[i];
29826 ++index;
29827 }
29828 } else
29829 index = 0;
29830 nums = _this._collection$_nums;
29831 if (nums != null) {
29832 names = Object.getOwnPropertyNames(nums);
29833 entries = names.length;
29834 for (i = 0; i < entries; ++i) {
29835 result[index] = +names[i];
29836 ++index;
29837 }
29838 }
29839 rest = _this._collection$_rest;
29840 if (rest != null) {
29841 names = Object.getOwnPropertyNames(rest);
29842 entries = names.length;
29843 for (i = 0; i < entries; ++i) {
29844 bucket = rest[names[i]];
29845 $length = bucket.length;
29846 for (i0 = 0; i0 < $length; i0 += 2) {
29847 result[index] = bucket[i0];
29848 ++index;
29849 }
29850 }
29851 }
29852 return _this._keys = result;
29853 },
29854 _collection$_addHashTableEntry$3(table, key, value) {
29855 if (table[key] == null) {
29856 ++this._collection$_length;
29857 this._keys = null;
29858 }
29859 A._HashMap__setTableEntry(table, key, value);
29860 },
29861 _removeHashTableEntry$2(table, key) {
29862 var value;
29863 if (table != null && table[key] != null) {
29864 value = A._HashMap__getTableEntry(table, key);
29865 delete table[key];
29866 --this._collection$_length;
29867 this._keys = null;
29868 return value;
29869 } else
29870 return null;
29871 },
29872 _computeHashCode$1(key) {
29873 return J.get$hashCode$(key) & 1073741823;
29874 },
29875 _getBucket$2(table, key) {
29876 return table[this._computeHashCode$1(key)];
29877 },
29878 _findBucketIndex$2(bucket, key) {
29879 var $length, i;
29880 if (bucket == null)
29881 return -1;
29882 $length = bucket.length;
29883 for (i = 0; i < $length; i += 2)
29884 if (J.$eq$(bucket[i], key))
29885 return i;
29886 return -1;
29887 }
29888 };
29889 A._HashMap_values_closure.prototype = {
29890 call$1(each) {
29891 var t1 = this.$this,
29892 t2 = t1.$index(0, each);
29893 return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
29894 },
29895 $signature() {
29896 return A._instanceType(this.$this)._eval$1("2(1)");
29897 }
29898 };
29899 A._HashMap_addAll_closure.prototype = {
29900 call$2(key, value) {
29901 this.$this.$indexSet(0, key, value);
29902 },
29903 $signature() {
29904 return A._instanceType(this.$this)._eval$1("~(1,2)");
29905 }
29906 };
29907 A._IdentityHashMap.prototype = {
29908 _computeHashCode$1(key) {
29909 return A.objectHashCode(key) & 1073741823;
29910 },
29911 _findBucketIndex$2(bucket, key) {
29912 var $length, i, t1;
29913 if (bucket == null)
29914 return -1;
29915 $length = bucket.length;
29916 for (i = 0; i < $length; i += 2) {
29917 t1 = bucket[i];
29918 if (t1 == null ? key == null : t1 === key)
29919 return i;
29920 }
29921 return -1;
29922 }
29923 };
29924 A._HashMapKeyIterable.prototype = {
29925 get$length(_) {
29926 return this._map._collection$_length;
29927 },
29928 get$isEmpty(_) {
29929 return this._map._collection$_length === 0;
29930 },
29931 get$iterator(_) {
29932 var t1 = this._map;
29933 return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
29934 },
29935 contains$1(_, element) {
29936 return this._map.containsKey$1(element);
29937 }
29938 };
29939 A._HashMapKeyIterator.prototype = {
29940 get$current(_) {
29941 var t1 = this._collection$_current;
29942 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
29943 },
29944 moveNext$0() {
29945 var _this = this,
29946 keys = _this._keys,
29947 offset = _this._offset,
29948 t1 = _this._map;
29949 if (keys !== t1._keys)
29950 throw A.wrapException(A.ConcurrentModificationError$(t1));
29951 else if (offset >= keys.length) {
29952 _this._collection$_current = null;
29953 return false;
29954 } else {
29955 _this._collection$_current = keys[offset];
29956 _this._offset = offset + 1;
29957 return true;
29958 }
29959 }
29960 };
29961 A._LinkedIdentityHashMap.prototype = {
29962 internalComputeHashCode$1(key) {
29963 return A.objectHashCode(key) & 1073741823;
29964 },
29965 internalFindBucketIndex$2(bucket, key) {
29966 var $length, i, t1;
29967 if (bucket == null)
29968 return -1;
29969 $length = bucket.length;
29970 for (i = 0; i < $length; ++i) {
29971 t1 = bucket[i].hashMapCellKey;
29972 if (t1 == null ? key == null : t1 === key)
29973 return i;
29974 }
29975 return -1;
29976 }
29977 };
29978 A._LinkedCustomHashMap.prototype = {
29979 $index(_, key) {
29980 if (!this._validKey.call$1(key))
29981 return null;
29982 return this.super$JsLinkedHashMap$internalGet(key);
29983 },
29984 $indexSet(_, key, value) {
29985 this.super$JsLinkedHashMap$internalSet(key, value);
29986 },
29987 containsKey$1(key) {
29988 if (!this._validKey.call$1(key))
29989 return false;
29990 return this.super$JsLinkedHashMap$internalContainsKey(key);
29991 },
29992 remove$1(_, key) {
29993 if (!this._validKey.call$1(key))
29994 return null;
29995 return this.super$JsLinkedHashMap$internalRemove(key);
29996 },
29997 internalComputeHashCode$1(key) {
29998 return this._hashCode.call$1(key) & 1073741823;
29999 },
30000 internalFindBucketIndex$2(bucket, key) {
30001 var $length, t1, i;
30002 if (bucket == null)
30003 return -1;
30004 $length = bucket.length;
30005 for (t1 = this._equals, i = 0; i < $length; ++i)
30006 if (t1.call$2(bucket[i].hashMapCellKey, key))
30007 return i;
30008 return -1;
30009 }
30010 };
30011 A._LinkedCustomHashMap_closure.prototype = {
30012 call$1(v) {
30013 return this.K._is(v);
30014 },
30015 $signature: 134
30016 };
30017 A._LinkedHashSet.prototype = {
30018 _newSet$0() {
30019 return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
30020 },
30021 _newSimilarSet$1$0($R) {
30022 return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
30023 },
30024 _newSimilarSet$0() {
30025 return this._newSimilarSet$1$0(type$.dynamic);
30026 },
30027 get$iterator(_) {
30028 var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
30029 t1._collection$_cell = this._collection$_first;
30030 return t1;
30031 },
30032 get$length(_) {
30033 return this._collection$_length;
30034 },
30035 get$isEmpty(_) {
30036 return this._collection$_length === 0;
30037 },
30038 get$isNotEmpty(_) {
30039 return this._collection$_length !== 0;
30040 },
30041 contains$1(_, object) {
30042 var strings, nums;
30043 if (typeof object == "string" && object !== "__proto__") {
30044 strings = this._collection$_strings;
30045 if (strings == null)
30046 return false;
30047 return strings[object] != null;
30048 } else if (typeof object == "number" && (object & 1073741823) === object) {
30049 nums = this._collection$_nums;
30050 if (nums == null)
30051 return false;
30052 return nums[object] != null;
30053 } else
30054 return this._contains$1(object);
30055 },
30056 _contains$1(object) {
30057 var rest = this._collection$_rest;
30058 if (rest == null)
30059 return false;
30060 return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
30061 },
30062 get$first(_) {
30063 var first = this._collection$_first;
30064 if (first == null)
30065 throw A.wrapException(A.StateError$("No elements"));
30066 return first._element;
30067 },
30068 get$last(_) {
30069 var last = this._collection$_last;
30070 if (last == null)
30071 throw A.wrapException(A.StateError$("No elements"));
30072 return last._element;
30073 },
30074 add$1(_, element) {
30075 var strings, nums, _this = this;
30076 if (typeof element == "string" && element !== "__proto__") {
30077 strings = _this._collection$_strings;
30078 return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
30079 } else if (typeof element == "number" && (element & 1073741823) === element) {
30080 nums = _this._collection$_nums;
30081 return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
30082 } else
30083 return _this._add$1(element);
30084 },
30085 _add$1(element) {
30086 var hash, bucket, _this = this,
30087 rest = _this._collection$_rest;
30088 if (rest == null)
30089 rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
30090 hash = _this._computeHashCode$1(element);
30091 bucket = rest[hash];
30092 if (bucket == null)
30093 rest[hash] = [_this._collection$_newLinkedCell$1(element)];
30094 else {
30095 if (_this._findBucketIndex$2(bucket, element) >= 0)
30096 return false;
30097 bucket.push(_this._collection$_newLinkedCell$1(element));
30098 }
30099 return true;
30100 },
30101 remove$1(_, object) {
30102 var _this = this;
30103 if (typeof object == "string" && object !== "__proto__")
30104 return _this._removeHashTableEntry$2(_this._collection$_strings, object);
30105 else if (typeof object == "number" && (object & 1073741823) === object)
30106 return _this._removeHashTableEntry$2(_this._collection$_nums, object);
30107 else
30108 return _this._remove$1(object);
30109 },
30110 _remove$1(object) {
30111 var hash, bucket, index, cell, _this = this,
30112 rest = _this._collection$_rest;
30113 if (rest == null)
30114 return false;
30115 hash = _this._computeHashCode$1(object);
30116 bucket = rest[hash];
30117 index = _this._findBucketIndex$2(bucket, object);
30118 if (index < 0)
30119 return false;
30120 cell = bucket.splice(index, 1)[0];
30121 if (0 === bucket.length)
30122 delete rest[hash];
30123 _this._unlinkCell$1(cell);
30124 return true;
30125 },
30126 _collection$_addHashTableEntry$2(table, element) {
30127 if (table[element] != null)
30128 return false;
30129 table[element] = this._collection$_newLinkedCell$1(element);
30130 return true;
30131 },
30132 _removeHashTableEntry$2(table, element) {
30133 var cell;
30134 if (table == null)
30135 return false;
30136 cell = table[element];
30137 if (cell == null)
30138 return false;
30139 this._unlinkCell$1(cell);
30140 delete table[element];
30141 return true;
30142 },
30143 _collection$_modified$0() {
30144 this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
30145 },
30146 _collection$_newLinkedCell$1(element) {
30147 var t1, _this = this,
30148 cell = new A._LinkedHashSetCell(element);
30149 if (_this._collection$_first == null)
30150 _this._collection$_first = _this._collection$_last = cell;
30151 else {
30152 t1 = _this._collection$_last;
30153 t1.toString;
30154 cell._collection$_previous = t1;
30155 _this._collection$_last = t1._collection$_next = cell;
30156 }
30157 ++_this._collection$_length;
30158 _this._collection$_modified$0();
30159 return cell;
30160 },
30161 _unlinkCell$1(cell) {
30162 var _this = this,
30163 previous = cell._collection$_previous,
30164 next = cell._collection$_next;
30165 if (previous == null)
30166 _this._collection$_first = next;
30167 else
30168 previous._collection$_next = next;
30169 if (next == null)
30170 _this._collection$_last = previous;
30171 else
30172 next._collection$_previous = previous;
30173 --_this._collection$_length;
30174 _this._collection$_modified$0();
30175 },
30176 _computeHashCode$1(element) {
30177 return J.get$hashCode$(element) & 1073741823;
30178 },
30179 _findBucketIndex$2(bucket, element) {
30180 var $length, i;
30181 if (bucket == null)
30182 return -1;
30183 $length = bucket.length;
30184 for (i = 0; i < $length; ++i)
30185 if (J.$eq$(bucket[i]._element, element))
30186 return i;
30187 return -1;
30188 }
30189 };
30190 A._LinkedIdentityHashSet.prototype = {
30191 _newSet$0() {
30192 return new A._LinkedIdentityHashSet(this.$ti);
30193 },
30194 _newSimilarSet$1$0($R) {
30195 return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
30196 },
30197 _newSimilarSet$0() {
30198 return this._newSimilarSet$1$0(type$.dynamic);
30199 },
30200 _computeHashCode$1(key) {
30201 return A.objectHashCode(key) & 1073741823;
30202 },
30203 _findBucketIndex$2(bucket, element) {
30204 var $length, i, t1;
30205 if (bucket == null)
30206 return -1;
30207 $length = bucket.length;
30208 for (i = 0; i < $length; ++i) {
30209 t1 = bucket[i]._element;
30210 if (t1 == null ? element == null : t1 === element)
30211 return i;
30212 }
30213 return -1;
30214 }
30215 };
30216 A._LinkedHashSetCell.prototype = {};
30217 A._LinkedHashSetIterator.prototype = {
30218 get$current(_) {
30219 var t1 = this._collection$_current;
30220 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
30221 },
30222 moveNext$0() {
30223 var _this = this,
30224 cell = _this._collection$_cell,
30225 t1 = _this._set;
30226 if (_this._collection$_modifications !== t1._collection$_modifications)
30227 throw A.wrapException(A.ConcurrentModificationError$(t1));
30228 else if (cell == null) {
30229 _this._collection$_current = null;
30230 return false;
30231 } else {
30232 _this._collection$_current = cell._element;
30233 _this._collection$_cell = cell._collection$_next;
30234 return true;
30235 }
30236 }
30237 };
30238 A.UnmodifiableListView.prototype = {
30239 cast$1$0(_, $R) {
30240 return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
30241 },
30242 get$length(_) {
30243 return J.get$length$asx(this._collection$_source);
30244 },
30245 $index(_, index) {
30246 return J.elementAt$1$ax(this._collection$_source, index);
30247 }
30248 };
30249 A.HashMap_HashMap$from_closure.prototype = {
30250 call$2(k, v) {
30251 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30252 },
30253 $signature: 231
30254 };
30255 A.IterableBase.prototype = {};
30256 A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
30257 call$2(k, v) {
30258 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30259 },
30260 $signature: 231
30261 };
30262 A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
30263 A.ListMixin.prototype = {
30264 get$iterator(receiver) {
30265 return new A.ListIterator(receiver, this.get$length(receiver));
30266 },
30267 elementAt$1(receiver, index) {
30268 return this.$index(receiver, index);
30269 },
30270 get$isEmpty(receiver) {
30271 return this.get$length(receiver) === 0;
30272 },
30273 get$isNotEmpty(receiver) {
30274 return !this.get$isEmpty(receiver);
30275 },
30276 get$first(receiver) {
30277 if (this.get$length(receiver) === 0)
30278 throw A.wrapException(A.IterableElementError_noElement());
30279 return this.$index(receiver, 0);
30280 },
30281 get$last(receiver) {
30282 if (this.get$length(receiver) === 0)
30283 throw A.wrapException(A.IterableElementError_noElement());
30284 return this.$index(receiver, this.get$length(receiver) - 1);
30285 },
30286 get$single(receiver) {
30287 if (this.get$length(receiver) === 0)
30288 throw A.wrapException(A.IterableElementError_noElement());
30289 if (this.get$length(receiver) > 1)
30290 throw A.wrapException(A.IterableElementError_tooMany());
30291 return this.$index(receiver, 0);
30292 },
30293 contains$1(receiver, element) {
30294 var i,
30295 $length = this.get$length(receiver);
30296 for (i = 0; i < $length; ++i) {
30297 if (J.$eq$(this.$index(receiver, i), element))
30298 return true;
30299 if ($length !== this.get$length(receiver))
30300 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30301 }
30302 return false;
30303 },
30304 every$1(receiver, test) {
30305 var i,
30306 $length = this.get$length(receiver);
30307 for (i = 0; i < $length; ++i) {
30308 if (!test.call$1(this.$index(receiver, i)))
30309 return false;
30310 if ($length !== this.get$length(receiver))
30311 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30312 }
30313 return true;
30314 },
30315 any$1(receiver, test) {
30316 var i,
30317 $length = this.get$length(receiver);
30318 for (i = 0; i < $length; ++i) {
30319 if (test.call$1(this.$index(receiver, i)))
30320 return true;
30321 if ($length !== this.get$length(receiver))
30322 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30323 }
30324 return false;
30325 },
30326 lastWhere$2$orElse(receiver, test, orElse) {
30327 var i, element,
30328 $length = this.get$length(receiver);
30329 for (i = $length - 1; i >= 0; --i) {
30330 element = this.$index(receiver, i);
30331 if (test.call$1(element))
30332 return element;
30333 if ($length !== this.get$length(receiver))
30334 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30335 }
30336 if (orElse != null)
30337 return orElse.call$0();
30338 throw A.wrapException(A.IterableElementError_noElement());
30339 },
30340 join$1(receiver, separator) {
30341 var t1;
30342 if (this.get$length(receiver) === 0)
30343 return "";
30344 t1 = A.StringBuffer__writeAll("", receiver, separator);
30345 return t1.charCodeAt(0) == 0 ? t1 : t1;
30346 },
30347 join$0($receiver) {
30348 return this.join$1($receiver, "");
30349 },
30350 where$1(receiver, test) {
30351 return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
30352 },
30353 map$1$1(receiver, f, $T) {
30354 return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
30355 },
30356 expand$1$1(receiver, f, $T) {
30357 return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
30358 },
30359 skip$1(receiver, count) {
30360 return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
30361 },
30362 take$1(receiver, count) {
30363 return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
30364 },
30365 toList$1$growable(receiver, growable) {
30366 var t1, first, result, i, _this = this;
30367 if (_this.get$isEmpty(receiver)) {
30368 t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
30369 return t1;
30370 }
30371 first = _this.$index(receiver, 0);
30372 result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30373 for (i = 1; i < _this.get$length(receiver); ++i)
30374 result[i] = _this.$index(receiver, i);
30375 return result;
30376 },
30377 toList$0($receiver) {
30378 return this.toList$1$growable($receiver, true);
30379 },
30380 toSet$0(receiver) {
30381 var i,
30382 result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
30383 for (i = 0; i < this.get$length(receiver); ++i)
30384 result.add$1(0, this.$index(receiver, i));
30385 return result;
30386 },
30387 add$1(receiver, element) {
30388 var t1 = this.get$length(receiver);
30389 this.set$length(receiver, t1 + 1);
30390 this.$indexSet(receiver, t1, element);
30391 },
30392 cast$1$0(receiver, $R) {
30393 return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
30394 },
30395 sort$1(receiver, compare) {
30396 A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
30397 },
30398 sublist$2(receiver, start, end) {
30399 var listLength = this.get$length(receiver);
30400 A.RangeError_checkValidRange(start, end, listLength);
30401 return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30402 },
30403 getRange$2(receiver, start, end) {
30404 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30405 return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
30406 },
30407 fillRange$3(receiver, start, end, fill) {
30408 var i,
30409 value = fill == null ? A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill) : fill;
30410 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30411 for (i = start; i < end; ++i)
30412 this.$indexSet(receiver, i, value);
30413 },
30414 setRange$4(receiver, start, end, iterable, skipCount) {
30415 var $length, otherStart, otherList, t1, i;
30416 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30417 $length = end - start;
30418 if ($length === 0)
30419 return;
30420 A.RangeError_checkNotNegative(skipCount, "skipCount");
30421 if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
30422 otherStart = skipCount;
30423 otherList = iterable;
30424 } else {
30425 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
30426 otherStart = 0;
30427 }
30428 t1 = J.getInterceptor$asx(otherList);
30429 if (otherStart + $length > t1.get$length(otherList))
30430 throw A.wrapException(A.IterableElementError_tooFew());
30431 if (otherStart < start)
30432 for (i = $length - 1; i >= 0; --i)
30433 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30434 else
30435 for (i = 0; i < $length; ++i)
30436 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30437 },
30438 get$reversed(receiver) {
30439 return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
30440 },
30441 toString$0(receiver) {
30442 return A.IterableBase_iterableToFullString(receiver, "[", "]");
30443 }
30444 };
30445 A.MapBase.prototype = {};
30446 A.MapBase_mapToString_closure.prototype = {
30447 call$2(k, v) {
30448 var t2,
30449 t1 = this._box_0;
30450 if (!t1.first)
30451 this.result._contents += ", ";
30452 t1.first = false;
30453 t1 = this.result;
30454 t2 = t1._contents += A.S(k);
30455 t1._contents = t2 + ": ";
30456 t1._contents += A.S(v);
30457 },
30458 $signature: 230
30459 };
30460 A.MapMixin.prototype = {
30461 cast$2$0(_, RK, RV) {
30462 var t1 = A._instanceType(this);
30463 return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
30464 },
30465 forEach$1(_, action) {
30466 var t1, t2, key, t3, _this = this;
30467 for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30468 key = t1.get$current(t1);
30469 t3 = _this.$index(0, key);
30470 action.call$2(key, t3 == null ? t2._as(t3) : t3);
30471 }
30472 },
30473 addAll$1(_, other) {
30474 other.forEach$1(0, new A.MapMixin_addAll_closure(this));
30475 },
30476 get$entries(_) {
30477 var _this = this;
30478 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>"));
30479 },
30480 containsKey$1(key) {
30481 return J.contains$1$asx(this.get$keys(this), key);
30482 },
30483 get$length(_) {
30484 return J.get$length$asx(this.get$keys(this));
30485 },
30486 get$isEmpty(_) {
30487 return J.get$isEmpty$asx(this.get$keys(this));
30488 },
30489 get$isNotEmpty(_) {
30490 return J.get$isNotEmpty$asx(this.get$keys(this));
30491 },
30492 get$values(_) {
30493 var t1 = A._instanceType(this);
30494 return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
30495 },
30496 toString$0(_) {
30497 return A.MapBase_mapToString(this);
30498 },
30499 $isMap: 1
30500 };
30501 A.MapMixin_addAll_closure.prototype = {
30502 call$2(key, value) {
30503 this.$this.$indexSet(0, key, value);
30504 },
30505 $signature() {
30506 return A._instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)");
30507 }
30508 };
30509 A.MapMixin_entries_closure.prototype = {
30510 call$1(key) {
30511 var t1 = this.$this,
30512 t2 = t1.$index(0, key);
30513 if (t2 == null)
30514 t2 = A._instanceType(t1)._eval$1("MapMixin.V")._as(t2);
30515 t1 = A._instanceType(t1);
30516 return new A.MapEntry(key, t2, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>"));
30517 },
30518 $signature() {
30519 return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
30520 }
30521 };
30522 A.UnmodifiableMapBase.prototype = {};
30523 A._MapBaseValueIterable.prototype = {
30524 get$length(_) {
30525 var t1 = this._map;
30526 return t1.get$length(t1);
30527 },
30528 get$isEmpty(_) {
30529 var t1 = this._map;
30530 return t1.get$isEmpty(t1);
30531 },
30532 get$isNotEmpty(_) {
30533 var t1 = this._map;
30534 return t1.get$isNotEmpty(t1);
30535 },
30536 get$first(_) {
30537 var t1 = this._map;
30538 t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
30539 return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
30540 },
30541 get$single(_) {
30542 var t1 = this._map;
30543 t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
30544 return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
30545 },
30546 get$last(_) {
30547 var t1 = this._map;
30548 t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
30549 return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
30550 },
30551 get$iterator(_) {
30552 var t1 = this._map;
30553 return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
30554 }
30555 };
30556 A._MapBaseValueIterator.prototype = {
30557 moveNext$0() {
30558 var _this = this,
30559 t1 = _this._keys;
30560 if (t1.moveNext$0()) {
30561 _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
30562 return true;
30563 }
30564 _this._collection$_current = null;
30565 return false;
30566 },
30567 get$current(_) {
30568 var t1 = this._collection$_current;
30569 return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
30570 }
30571 };
30572 A._UnmodifiableMapMixin.prototype = {
30573 $indexSet(_, key, value) {
30574 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30575 },
30576 addAll$1(_, other) {
30577 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30578 },
30579 remove$1(_, key) {
30580 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30581 }
30582 };
30583 A.MapView.prototype = {
30584 cast$2$0(_, RK, RV) {
30585 return this._map.cast$2$0(0, RK, RV);
30586 },
30587 $index(_, key) {
30588 return this._map.$index(0, key);
30589 },
30590 $indexSet(_, key, value) {
30591 this._map.$indexSet(0, key, value);
30592 },
30593 addAll$1(_, other) {
30594 this._map.addAll$1(0, other);
30595 },
30596 containsKey$1(key) {
30597 return this._map.containsKey$1(key);
30598 },
30599 forEach$1(_, action) {
30600 this._map.forEach$1(0, action);
30601 },
30602 get$isEmpty(_) {
30603 var t1 = this._map;
30604 return t1.get$isEmpty(t1);
30605 },
30606 get$isNotEmpty(_) {
30607 var t1 = this._map;
30608 return t1.get$isNotEmpty(t1);
30609 },
30610 get$length(_) {
30611 var t1 = this._map;
30612 return t1.get$length(t1);
30613 },
30614 get$keys(_) {
30615 var t1 = this._map;
30616 return t1.get$keys(t1);
30617 },
30618 remove$1(_, key) {
30619 return this._map.remove$1(0, key);
30620 },
30621 toString$0(_) {
30622 return this._map.toString$0(0);
30623 },
30624 get$values(_) {
30625 var t1 = this._map;
30626 return t1.get$values(t1);
30627 },
30628 get$entries(_) {
30629 var t1 = this._map;
30630 return t1.get$entries(t1);
30631 },
30632 $isMap: 1
30633 };
30634 A.UnmodifiableMapView.prototype = {
30635 cast$2$0(_, RK, RV) {
30636 return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
30637 }
30638 };
30639 A.ListQueue.prototype = {
30640 get$iterator(_) {
30641 var _this = this;
30642 return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
30643 },
30644 get$isEmpty(_) {
30645 return this._collection$_head === this._collection$_tail;
30646 },
30647 get$length(_) {
30648 return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
30649 },
30650 get$first(_) {
30651 var _this = this,
30652 t1 = _this._collection$_head;
30653 if (t1 === _this._collection$_tail)
30654 throw A.wrapException(A.IterableElementError_noElement());
30655 t1 = _this._collection$_table[t1];
30656 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30657 },
30658 get$last(_) {
30659 var _this = this,
30660 t1 = _this._collection$_head,
30661 t2 = _this._collection$_tail;
30662 if (t1 === t2)
30663 throw A.wrapException(A.IterableElementError_noElement());
30664 t1 = _this._collection$_table;
30665 t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
30666 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30667 },
30668 get$single(_) {
30669 var t1, _this = this;
30670 if (_this._collection$_head === _this._collection$_tail)
30671 throw A.wrapException(A.IterableElementError_noElement());
30672 if (_this.get$length(_this) > 1)
30673 throw A.wrapException(A.IterableElementError_tooMany());
30674 t1 = _this._collection$_table[_this._collection$_head];
30675 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30676 },
30677 elementAt$1(_, index) {
30678 var t1, _this = this;
30679 A.RangeError_checkValidIndex(index, _this, null);
30680 t1 = _this._collection$_table;
30681 t1 = t1[(_this._collection$_head + index & t1.length - 1) >>> 0];
30682 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30683 },
30684 toList$1$growable(_, growable) {
30685 var t1, list, t2, t3, i, t4, _this = this,
30686 mask = _this._collection$_table.length - 1,
30687 $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
30688 if ($length === 0) {
30689 t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
30690 return t1;
30691 }
30692 t1 = _this.$ti._precomputed1;
30693 list = A.List_List$filled($length, _this.get$first(_this), true, t1);
30694 for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i) {
30695 t4 = t2[(t3 + i & mask) >>> 0];
30696 list[i] = t4 == null ? t1._as(t4) : t4;
30697 }
30698 return list;
30699 },
30700 toList$0($receiver) {
30701 return this.toList$1$growable($receiver, true);
30702 },
30703 add$1(_, value) {
30704 this._add$1(value);
30705 },
30706 addAll$1(_, elements) {
30707 var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
30708 t1 = _this.$ti;
30709 if (t1._eval$1("List<1>")._is(elements)) {
30710 addCount = J.get$length$asx(elements);
30711 $length = _this.get$length(_this);
30712 t2 = $length + addCount;
30713 t3 = _this._collection$_table;
30714 t4 = t3.length;
30715 if (t2 >= t4) {
30716 newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
30717 _this._collection$_tail = _this._collection$_writeToList$1(newTable);
30718 _this._collection$_table = newTable;
30719 _this._collection$_head = 0;
30720 B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
30721 _this._collection$_tail += addCount;
30722 } else {
30723 t1 = _this._collection$_tail;
30724 endSpace = t4 - t1;
30725 if (addCount < endSpace) {
30726 B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
30727 _this._collection$_tail += addCount;
30728 } else {
30729 preSpace = addCount - endSpace;
30730 B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
30731 B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
30732 _this._collection$_tail = preSpace;
30733 }
30734 }
30735 ++_this._modificationCount;
30736 } else
30737 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30738 _this._add$1(t1.get$current(t1));
30739 },
30740 clear$0(_) {
30741 var t2, t3, _this = this,
30742 i = _this._collection$_head,
30743 t1 = _this._collection$_tail;
30744 if (i !== t1) {
30745 for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
30746 t2[i] = null;
30747 _this._collection$_head = _this._collection$_tail = 0;
30748 ++_this._modificationCount;
30749 }
30750 },
30751 toString$0(_) {
30752 return A.IterableBase_iterableToFullString(this, "{", "}");
30753 },
30754 addFirst$1(value) {
30755 var _this = this,
30756 t1 = _this._collection$_head,
30757 t2 = _this._collection$_table;
30758 t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
30759 t2[t1] = value;
30760 if (t1 === _this._collection$_tail)
30761 _this._collection$_grow$0();
30762 ++_this._modificationCount;
30763 },
30764 removeFirst$0() {
30765 var t2, result, _this = this,
30766 t1 = _this._collection$_head;
30767 if (t1 === _this._collection$_tail)
30768 throw A.wrapException(A.IterableElementError_noElement());
30769 ++_this._modificationCount;
30770 t2 = _this._collection$_table;
30771 result = t2[t1];
30772 if (result == null)
30773 result = _this.$ti._precomputed1._as(result);
30774 t2[t1] = null;
30775 _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
30776 return result;
30777 },
30778 removeLast$0(_) {
30779 var result, _this = this,
30780 t1 = _this._collection$_head,
30781 t2 = _this._collection$_tail;
30782 if (t1 === t2)
30783 throw A.wrapException(A.IterableElementError_noElement());
30784 ++_this._modificationCount;
30785 t1 = _this._collection$_table;
30786 t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
30787 result = t1[t2];
30788 if (result == null)
30789 result = _this.$ti._precomputed1._as(result);
30790 t1[t2] = null;
30791 return result;
30792 },
30793 _add$1(element) {
30794 var _this = this,
30795 t1 = _this._collection$_table,
30796 t2 = _this._collection$_tail;
30797 t1[t2] = element;
30798 t1 = (t2 + 1 & t1.length - 1) >>> 0;
30799 _this._collection$_tail = t1;
30800 if (_this._collection$_head === t1)
30801 _this._collection$_grow$0();
30802 ++_this._modificationCount;
30803 },
30804 _collection$_grow$0() {
30805 var _this = this,
30806 newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
30807 t1 = _this._collection$_table,
30808 t2 = _this._collection$_head,
30809 split = t1.length - t2;
30810 B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
30811 B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
30812 _this._collection$_head = 0;
30813 _this._collection$_tail = _this._collection$_table.length;
30814 _this._collection$_table = newTable;
30815 },
30816 _collection$_writeToList$1(target) {
30817 var $length, firstPartSize, _this = this,
30818 t1 = _this._collection$_head,
30819 t2 = _this._collection$_tail,
30820 t3 = _this._collection$_table;
30821 if (t1 <= t2) {
30822 $length = t2 - t1;
30823 B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
30824 return $length;
30825 } else {
30826 firstPartSize = t3.length - t1;
30827 B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
30828 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
30829 return _this._collection$_tail + firstPartSize;
30830 }
30831 },
30832 $isQueue: 1
30833 };
30834 A._ListQueueIterator.prototype = {
30835 get$current(_) {
30836 var t1 = this._collection$_current;
30837 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
30838 },
30839 moveNext$0() {
30840 var t2, _this = this,
30841 t1 = _this._queue;
30842 if (_this._modificationCount !== t1._modificationCount)
30843 A.throwExpression(A.ConcurrentModificationError$(t1));
30844 t2 = _this._collection$_position;
30845 if (t2 === _this._collection$_end) {
30846 _this._collection$_current = null;
30847 return false;
30848 }
30849 t1 = t1._collection$_table;
30850 _this._collection$_current = t1[t2];
30851 _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
30852 return true;
30853 }
30854 };
30855 A.SetMixin.prototype = {
30856 get$isEmpty(_) {
30857 return this.get$length(this) === 0;
30858 },
30859 get$isNotEmpty(_) {
30860 return this.get$length(this) !== 0;
30861 },
30862 addAll$1(_, elements) {
30863 var t1;
30864 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30865 this.add$1(0, t1.get$current(t1));
30866 },
30867 removeAll$1(elements) {
30868 var t1;
30869 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30870 this.remove$1(0, t1.get$current(t1));
30871 },
30872 toList$1$growable(_, growable) {
30873 return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
30874 },
30875 toList$0($receiver) {
30876 return this.toList$1$growable($receiver, true);
30877 },
30878 map$1$1(_, f, $T) {
30879 return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
30880 },
30881 get$single(_) {
30882 var it, _this = this;
30883 if (_this.get$length(_this) > 1)
30884 throw A.wrapException(A.IterableElementError_tooMany());
30885 it = _this.get$iterator(_this);
30886 if (!it.moveNext$0())
30887 throw A.wrapException(A.IterableElementError_noElement());
30888 return it.get$current(it);
30889 },
30890 toString$0(_) {
30891 return A.IterableBase_iterableToFullString(this, "{", "}");
30892 },
30893 where$1(_, f) {
30894 return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
30895 },
30896 join$1(_, separator) {
30897 var t1,
30898 iterator = this.get$iterator(this);
30899 if (!iterator.moveNext$0())
30900 return "";
30901 if (separator === "") {
30902 t1 = "";
30903 do
30904 t1 += A.S(iterator.get$current(iterator));
30905 while (iterator.moveNext$0());
30906 } else {
30907 t1 = "" + A.S(iterator.get$current(iterator));
30908 for (; iterator.moveNext$0();)
30909 t1 = t1 + separator + A.S(iterator.get$current(iterator));
30910 }
30911 return t1.charCodeAt(0) == 0 ? t1 : t1;
30912 },
30913 join$0($receiver) {
30914 return this.join$1($receiver, "");
30915 },
30916 any$1(_, test) {
30917 var t1;
30918 for (t1 = this.get$iterator(this); t1.moveNext$0();)
30919 if (test.call$1(t1.get$current(t1)))
30920 return true;
30921 return false;
30922 },
30923 take$1(_, n) {
30924 return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
30925 },
30926 skip$1(_, n) {
30927 return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
30928 },
30929 get$first(_) {
30930 var it = this.get$iterator(this);
30931 if (!it.moveNext$0())
30932 throw A.wrapException(A.IterableElementError_noElement());
30933 return it.get$current(it);
30934 },
30935 get$last(_) {
30936 var result,
30937 it = this.get$iterator(this);
30938 if (!it.moveNext$0())
30939 throw A.wrapException(A.IterableElementError_noElement());
30940 do
30941 result = it.get$current(it);
30942 while (it.moveNext$0());
30943 return result;
30944 },
30945 elementAt$1(_, index) {
30946 var t1, elementIndex, element, _s5_ = "index";
30947 A.checkNotNullable(index, _s5_, type$.int);
30948 A.RangeError_checkNotNegative(index, _s5_);
30949 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
30950 element = t1.get$current(t1);
30951 if (index === elementIndex)
30952 return element;
30953 ++elementIndex;
30954 }
30955 throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
30956 }
30957 };
30958 A._SetBase.prototype = {
30959 difference$1(other) {
30960 var t1, t2, element,
30961 result = this._newSet$0();
30962 for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
30963 element = t1.get$current(t1);
30964 if (!t2.contains$1(0, element))
30965 result.add$1(0, element);
30966 }
30967 return result;
30968 },
30969 intersection$1(other) {
30970 var t1, t2, element,
30971 result = this._newSet$0();
30972 for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
30973 element = t1.get$current(t1);
30974 if (t2.containsKey$1(element))
30975 result.add$1(0, element);
30976 }
30977 return result;
30978 },
30979 toSet$0(_) {
30980 var t1 = this._newSet$0();
30981 t1.addAll$1(0, this);
30982 return t1;
30983 },
30984 $isEfficientLengthIterable: 1,
30985 $isIterable: 1,
30986 $isSet: 1
30987 };
30988 A._UnmodifiableSetMixin.prototype = {
30989 add$1(_, value) {
30990 return A._UnmodifiableSetMixin__throwUnmodifiable();
30991 },
30992 addAll$1(_, elements) {
30993 return A._UnmodifiableSetMixin__throwUnmodifiable();
30994 },
30995 remove$1(_, value) {
30996 return A._UnmodifiableSetMixin__throwUnmodifiable();
30997 }
30998 };
30999 A._UnmodifiableSet.prototype = {
31000 _newSet$0() {
31001 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
31002 },
31003 contains$1(_, element) {
31004 return this._map.containsKey$1(element);
31005 },
31006 get$iterator(_) {
31007 var t1 = this._map;
31008 return J.get$iterator$ax(t1.get$keys(t1));
31009 },
31010 get$length(_) {
31011 var t1 = this._map;
31012 return t1.get$length(t1);
31013 }
31014 };
31015 A._ListBase_Object_ListMixin.prototype = {};
31016 A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
31017 A.__SetBase_Object_SetMixin.prototype = {};
31018 A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
31019 A.Utf8Decoder__decoder_closure.prototype = {
31020 call$0() {
31021 var t1, exception;
31022 try {
31023 t1 = new TextDecoder("utf-8", {fatal: true});
31024 return t1;
31025 } catch (exception) {
31026 }
31027 return null;
31028 },
31029 $signature: 94
31030 };
31031 A.Utf8Decoder__decoderNonfatal_closure.prototype = {
31032 call$0() {
31033 var t1, exception;
31034 try {
31035 t1 = new TextDecoder("utf-8", {fatal: false});
31036 return t1;
31037 } catch (exception) {
31038 }
31039 return null;
31040 },
31041 $signature: 94
31042 };
31043 A.AsciiCodec.prototype = {
31044 encode$1(source) {
31045 return B.AsciiEncoder_127.convert$1(source);
31046 },
31047 get$encoder() {
31048 return B.AsciiEncoder_127;
31049 }
31050 };
31051 A._UnicodeSubsetEncoder.prototype = {
31052 convert$1(string) {
31053 var t1, i, codeUnit,
31054 $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
31055 result = new Uint8Array($length);
31056 for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
31057 codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
31058 if ((codeUnit & t1) !== 0)
31059 throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
31060 result[i] = codeUnit;
31061 }
31062 return result;
31063 }
31064 };
31065 A.AsciiEncoder.prototype = {};
31066 A.Base64Codec.prototype = {
31067 get$encoder() {
31068 return B.C_Base64Encoder;
31069 },
31070 normalize$3(source, start, end) {
31071 var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
31072 _s31_ = "Invalid base64 encoding length ";
31073 end = A.RangeError_checkValidRange(start, end, source.length);
31074 inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
31075 for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
31076 i0 = i + 1;
31077 char = B.JSString_methods._codeUnitAt$1(source, i);
31078 if (char === 37) {
31079 i1 = i0 + 2;
31080 if (i1 <= end) {
31081 digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
31082 digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
31083 char0 = digit1 * 16 + digit2 - (digit2 & 256);
31084 if (char0 === 37)
31085 char0 = -1;
31086 i0 = i1;
31087 } else
31088 char0 = -1;
31089 } else
31090 char0 = char;
31091 if (0 <= char0 && char0 <= 127) {
31092 value = inverseAlphabet[char0];
31093 if (value >= 0) {
31094 char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
31095 if (char0 === char)
31096 continue;
31097 char = char0;
31098 } else {
31099 if (value === -1) {
31100 if (firstPadding < 0) {
31101 t1 = buffer == null ? null : buffer._contents.length;
31102 if (t1 == null)
31103 t1 = 0;
31104 firstPadding = t1 + (i - sliceStart);
31105 firstPaddingSourceIndex = i;
31106 }
31107 ++paddingCount;
31108 if (char === 61)
31109 continue;
31110 }
31111 char = char0;
31112 }
31113 if (value !== -2) {
31114 if (buffer == null) {
31115 buffer = new A.StringBuffer("");
31116 t1 = buffer;
31117 } else
31118 t1 = buffer;
31119 t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
31120 t1._contents = t2 + A.Primitives_stringFromCharCode(char);
31121 sliceStart = i0;
31122 continue;
31123 }
31124 }
31125 throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
31126 }
31127 if (buffer != null) {
31128 t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
31129 t2 = t1.length;
31130 if (firstPadding >= 0)
31131 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
31132 else {
31133 endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
31134 if (endLength === 1)
31135 throw A.wrapException(A.FormatException$(_s31_, source, end));
31136 for (; endLength < 4;) {
31137 t1 += "=";
31138 buffer._contents = t1;
31139 ++endLength;
31140 }
31141 }
31142 t1 = buffer._contents;
31143 return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
31144 }
31145 $length = end - start;
31146 if (firstPadding >= 0)
31147 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
31148 else {
31149 endLength = B.JSInt_methods.$mod($length, 4);
31150 if (endLength === 1)
31151 throw A.wrapException(A.FormatException$(_s31_, source, end));
31152 if (endLength > 1)
31153 source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
31154 }
31155 return source;
31156 }
31157 };
31158 A.Base64Encoder.prototype = {
31159 convert$1(input) {
31160 var t1 = J.getInterceptor$asx(input);
31161 if (t1.get$isEmpty(input))
31162 return "";
31163 t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
31164 t1.toString;
31165 return A.String_String$fromCharCodes(t1, 0, null);
31166 },
31167 startChunkedConversion$1(sink) {
31168 return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
31169 }
31170 };
31171 A._Base64Encoder.prototype = {
31172 createBuffer$1(bufferLength) {
31173 return new Uint8Array(bufferLength);
31174 },
31175 encode$4(bytes, start, end, isLast) {
31176 var output, _this = this,
31177 byteCount = (_this._convert$_state & 3) + (end - start),
31178 fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
31179 bufferLength = fullChunks * 4;
31180 if (isLast && byteCount - fullChunks * 3 > 0)
31181 bufferLength += 4;
31182 output = _this.createBuffer$1(bufferLength);
31183 _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
31184 if (bufferLength > 0)
31185 return output;
31186 return null;
31187 }
31188 };
31189 A._Base64EncoderSink.prototype = {
31190 add$1(_, source) {
31191 this._convert$_add$4(source, 0, source.get$length(source), false);
31192 }
31193 };
31194 A._Utf8Base64EncoderSink.prototype = {
31195 _convert$_add$4(source, start, end, isLast) {
31196 var buffer = this._encoder.encode$4(source, start, end, isLast);
31197 if (buffer != null)
31198 this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
31199 }
31200 };
31201 A.ByteConversionSink.prototype = {};
31202 A.ByteConversionSinkBase.prototype = {};
31203 A.ChunkedConversionSink.prototype = {};
31204 A.Codec.prototype = {
31205 encode$1(input) {
31206 return this.get$encoder().convert$1(input);
31207 }
31208 };
31209 A.Converter.prototype = {};
31210 A.Encoding.prototype = {};
31211 A.JsonUnsupportedObjectError.prototype = {
31212 toString$0(_) {
31213 var safeString = A.Error_safeToString(this.unsupportedObject);
31214 return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
31215 }
31216 };
31217 A.JsonCyclicError.prototype = {
31218 toString$0(_) {
31219 return "Cyclic error in JSON stringify";
31220 }
31221 };
31222 A.JsonCodec.prototype = {
31223 encode$2$toEncodable(value, toEncodable) {
31224 var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
31225 return t1;
31226 },
31227 get$encoder() {
31228 return B.JsonEncoder_null;
31229 }
31230 };
31231 A.JsonEncoder.prototype = {
31232 convert$1(object) {
31233 var t1,
31234 output = new A.StringBuffer(""),
31235 stringifier = A._JsonStringStringifier$(output, this._toEncodable);
31236 stringifier.writeObject$1(object);
31237 t1 = output._contents;
31238 return t1.charCodeAt(0) == 0 ? t1 : t1;
31239 }
31240 };
31241 A._JsonStringifier.prototype = {
31242 writeStringContent$1(s) {
31243 var offset, i, charCode, t1, t2, _this = this,
31244 $length = s.length;
31245 for (offset = 0, i = 0; i < $length; ++i) {
31246 charCode = B.JSString_methods._codeUnitAt$1(s, i);
31247 if (charCode > 92) {
31248 if (charCode >= 55296) {
31249 t1 = charCode & 64512;
31250 if (t1 === 55296) {
31251 t2 = i + 1;
31252 t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
31253 } else
31254 t2 = false;
31255 if (!t2)
31256 if (t1 === 56320) {
31257 t1 = i - 1;
31258 t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
31259 } else
31260 t1 = false;
31261 else
31262 t1 = true;
31263 if (t1) {
31264 if (i > offset)
31265 _this.writeStringSlice$3(s, offset, i);
31266 offset = i + 1;
31267 _this.writeCharCode$1(92);
31268 _this.writeCharCode$1(117);
31269 _this.writeCharCode$1(100);
31270 t1 = charCode >>> 8 & 15;
31271 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31272 t1 = charCode >>> 4 & 15;
31273 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31274 t1 = charCode & 15;
31275 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31276 }
31277 }
31278 continue;
31279 }
31280 if (charCode < 32) {
31281 if (i > offset)
31282 _this.writeStringSlice$3(s, offset, i);
31283 offset = i + 1;
31284 _this.writeCharCode$1(92);
31285 switch (charCode) {
31286 case 8:
31287 _this.writeCharCode$1(98);
31288 break;
31289 case 9:
31290 _this.writeCharCode$1(116);
31291 break;
31292 case 10:
31293 _this.writeCharCode$1(110);
31294 break;
31295 case 12:
31296 _this.writeCharCode$1(102);
31297 break;
31298 case 13:
31299 _this.writeCharCode$1(114);
31300 break;
31301 default:
31302 _this.writeCharCode$1(117);
31303 _this.writeCharCode$1(48);
31304 _this.writeCharCode$1(48);
31305 t1 = charCode >>> 4 & 15;
31306 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31307 t1 = charCode & 15;
31308 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31309 break;
31310 }
31311 } else if (charCode === 34 || charCode === 92) {
31312 if (i > offset)
31313 _this.writeStringSlice$3(s, offset, i);
31314 offset = i + 1;
31315 _this.writeCharCode$1(92);
31316 _this.writeCharCode$1(charCode);
31317 }
31318 }
31319 if (offset === 0)
31320 _this.writeString$1(s);
31321 else if (offset < $length)
31322 _this.writeStringSlice$3(s, offset, $length);
31323 },
31324 _checkCycle$1(object) {
31325 var t1, t2, i, t3;
31326 for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
31327 t3 = t1[i];
31328 if (object == null ? t3 == null : object === t3)
31329 throw A.wrapException(new A.JsonCyclicError(object, null));
31330 }
31331 t1.push(object);
31332 },
31333 writeObject$1(object) {
31334 var customJson, e, t1, exception, _this = this;
31335 if (_this.writeJsonValue$1(object))
31336 return;
31337 _this._checkCycle$1(object);
31338 try {
31339 customJson = _this._toEncodable.call$1(object);
31340 if (!_this.writeJsonValue$1(customJson)) {
31341 t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
31342 throw A.wrapException(t1);
31343 }
31344 _this._seen.pop();
31345 } catch (exception) {
31346 e = A.unwrapException(exception);
31347 t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
31348 throw A.wrapException(t1);
31349 }
31350 },
31351 writeJsonValue$1(object) {
31352 var success, _this = this;
31353 if (typeof object == "number") {
31354 if (!isFinite(object))
31355 return false;
31356 _this.writeNumber$1(object);
31357 return true;
31358 } else if (object === true) {
31359 _this.writeString$1("true");
31360 return true;
31361 } else if (object === false) {
31362 _this.writeString$1("false");
31363 return true;
31364 } else if (object == null) {
31365 _this.writeString$1("null");
31366 return true;
31367 } else if (typeof object == "string") {
31368 _this.writeString$1('"');
31369 _this.writeStringContent$1(object);
31370 _this.writeString$1('"');
31371 return true;
31372 } else if (type$.List_dynamic._is(object)) {
31373 _this._checkCycle$1(object);
31374 _this.writeList$1(object);
31375 _this._seen.pop();
31376 return true;
31377 } else if (type$.Map_dynamic_dynamic._is(object)) {
31378 _this._checkCycle$1(object);
31379 success = _this.writeMap$1(object);
31380 _this._seen.pop();
31381 return success;
31382 } else
31383 return false;
31384 },
31385 writeList$1(list) {
31386 var t1, i, _this = this;
31387 _this.writeString$1("[");
31388 t1 = J.getInterceptor$asx(list);
31389 if (t1.get$isNotEmpty(list)) {
31390 _this.writeObject$1(t1.$index(list, 0));
31391 for (i = 1; i < t1.get$length(list); ++i) {
31392 _this.writeString$1(",");
31393 _this.writeObject$1(t1.$index(list, i));
31394 }
31395 }
31396 _this.writeString$1("]");
31397 },
31398 writeMap$1(map) {
31399 var t1, keyValueList, i, separator, _this = this, _box_0 = {};
31400 if (map.get$isEmpty(map)) {
31401 _this.writeString$1("{}");
31402 return true;
31403 }
31404 t1 = map.get$length(map) * 2;
31405 keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
31406 i = _box_0.i = 0;
31407 _box_0.allStringKeys = true;
31408 map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
31409 if (!_box_0.allStringKeys)
31410 return false;
31411 _this.writeString$1("{");
31412 for (separator = '"'; i < t1; i += 2, separator = ',"') {
31413 _this.writeString$1(separator);
31414 _this.writeStringContent$1(A._asString(keyValueList[i]));
31415 _this.writeString$1('":');
31416 _this.writeObject$1(keyValueList[i + 1]);
31417 }
31418 _this.writeString$1("}");
31419 return true;
31420 }
31421 };
31422 A._JsonStringifier_writeMap_closure.prototype = {
31423 call$2(key, value) {
31424 var t1, t2, t3, i;
31425 if (typeof key != "string")
31426 this._box_0.allStringKeys = false;
31427 t1 = this.keyValueList;
31428 t2 = this._box_0;
31429 t3 = t2.i;
31430 i = t2.i = t3 + 1;
31431 t1[t3] = key;
31432 t2.i = i + 1;
31433 t1[i] = value;
31434 },
31435 $signature: 230
31436 };
31437 A._JsonStringStringifier.prototype = {
31438 get$_partialResult() {
31439 var t1 = this._sink._contents;
31440 return t1.charCodeAt(0) == 0 ? t1 : t1;
31441 },
31442 writeNumber$1(number) {
31443 this._sink._contents += B.JSNumber_methods.toString$0(number);
31444 },
31445 writeString$1(string) {
31446 this._sink._contents += string;
31447 },
31448 writeStringSlice$3(string, start, end) {
31449 this._sink._contents += B.JSString_methods.substring$2(string, start, end);
31450 },
31451 writeCharCode$1(charCode) {
31452 this._sink._contents += A.Primitives_stringFromCharCode(charCode);
31453 }
31454 };
31455 A.StringConversionSinkBase.prototype = {};
31456 A.StringConversionSinkMixin.prototype = {
31457 add$1(_, str) {
31458 this.addSlice$4(str, 0, str.length, false);
31459 }
31460 };
31461 A._StringSinkConversionSink.prototype = {
31462 close$0(_) {
31463 },
31464 addSlice$4(str, start, end, isLast) {
31465 var t1, i;
31466 if (start !== 0 || end !== str.length)
31467 for (t1 = this._stringSink, i = start; i < end; ++i)
31468 t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
31469 else
31470 this._stringSink._contents += str;
31471 if (isLast)
31472 this.close$0(0);
31473 },
31474 add$1(_, str) {
31475 this._stringSink._contents += str;
31476 }
31477 };
31478 A._StringCallbackSink.prototype = {
31479 close$0(_) {
31480 var t1 = this._stringSink,
31481 t2 = t1._contents;
31482 t1._contents = "";
31483 this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
31484 },
31485 asUtf8Sink$1(allowMalformed) {
31486 return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
31487 }
31488 };
31489 A._Utf8StringSinkAdapter.prototype = {
31490 close$0(_) {
31491 this._decoder.flush$1(this._stringSink);
31492 this._sink.close$0(0);
31493 },
31494 add$1(_, chunk) {
31495 this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
31496 },
31497 addSlice$4(codeUnits, startIndex, endIndex, isLast) {
31498 this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
31499 if (isLast)
31500 this.close$0(0);
31501 }
31502 };
31503 A.Utf8Codec.prototype = {
31504 get$encoder() {
31505 return B.C_Utf8Encoder;
31506 }
31507 };
31508 A.Utf8Encoder.prototype = {
31509 convert$1(string) {
31510 var t1, encoder,
31511 end = A.RangeError_checkValidRange(0, null, string.length),
31512 $length = end - 0;
31513 if ($length === 0)
31514 return new Uint8Array(0);
31515 t1 = new Uint8Array($length * 3);
31516 encoder = new A._Utf8Encoder(t1);
31517 if (encoder._fillBuffer$3(string, 0, end) !== end) {
31518 B.JSString_methods.codeUnitAt$1(string, end - 1);
31519 encoder._writeReplacementCharacter$0();
31520 }
31521 return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
31522 }
31523 };
31524 A._Utf8Encoder.prototype = {
31525 _writeReplacementCharacter$0() {
31526 var _this = this,
31527 t1 = _this._convert$_buffer,
31528 t2 = _this._bufferIndex,
31529 t3 = _this._bufferIndex = t2 + 1;
31530 t1[t2] = 239;
31531 t2 = _this._bufferIndex = t3 + 1;
31532 t1[t3] = 191;
31533 _this._bufferIndex = t2 + 1;
31534 t1[t2] = 189;
31535 },
31536 _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
31537 var rune, t1, t2, t3, _this = this;
31538 if ((nextCodeUnit & 64512) === 56320) {
31539 rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
31540 t1 = _this._convert$_buffer;
31541 t2 = _this._bufferIndex;
31542 t3 = _this._bufferIndex = t2 + 1;
31543 t1[t2] = rune >>> 18 | 240;
31544 t2 = _this._bufferIndex = t3 + 1;
31545 t1[t3] = rune >>> 12 & 63 | 128;
31546 t3 = _this._bufferIndex = t2 + 1;
31547 t1[t2] = rune >>> 6 & 63 | 128;
31548 _this._bufferIndex = t3 + 1;
31549 t1[t3] = rune & 63 | 128;
31550 return true;
31551 } else {
31552 _this._writeReplacementCharacter$0();
31553 return false;
31554 }
31555 },
31556 _fillBuffer$3(str, start, end) {
31557 var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
31558 if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
31559 --end;
31560 for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
31561 codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
31562 if (codeUnit <= 127) {
31563 t3 = _this._bufferIndex;
31564 if (t3 >= t2)
31565 break;
31566 _this._bufferIndex = t3 + 1;
31567 t1[t3] = codeUnit;
31568 } else {
31569 t3 = codeUnit & 64512;
31570 if (t3 === 55296) {
31571 if (_this._bufferIndex + 4 > t2)
31572 break;
31573 stringIndex0 = stringIndex + 1;
31574 if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
31575 stringIndex = stringIndex0;
31576 } else if (t3 === 56320) {
31577 if (_this._bufferIndex + 3 > t2)
31578 break;
31579 _this._writeReplacementCharacter$0();
31580 } else if (codeUnit <= 2047) {
31581 t3 = _this._bufferIndex;
31582 t4 = t3 + 1;
31583 if (t4 >= t2)
31584 break;
31585 _this._bufferIndex = t4;
31586 t1[t3] = codeUnit >>> 6 | 192;
31587 _this._bufferIndex = t4 + 1;
31588 t1[t4] = codeUnit & 63 | 128;
31589 } else {
31590 t3 = _this._bufferIndex;
31591 if (t3 + 2 >= t2)
31592 break;
31593 t4 = _this._bufferIndex = t3 + 1;
31594 t1[t3] = codeUnit >>> 12 | 224;
31595 t3 = _this._bufferIndex = t4 + 1;
31596 t1[t4] = codeUnit >>> 6 & 63 | 128;
31597 _this._bufferIndex = t3 + 1;
31598 t1[t3] = codeUnit & 63 | 128;
31599 }
31600 }
31601 }
31602 return stringIndex;
31603 }
31604 };
31605 A.Utf8Decoder.prototype = {
31606 convert$1(codeUnits) {
31607 var t1 = this._allowMalformed,
31608 result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
31609 if (result != null)
31610 return result;
31611 return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
31612 }
31613 };
31614 A._Utf8Decoder.prototype = {
31615 convertGeneral$4(codeUnits, start, maybeEnd, single) {
31616 var bytes, errorOffset, result, t1, message, _this = this,
31617 end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
31618 if (start === end)
31619 return "";
31620 if (type$.Uint8List._is(codeUnits)) {
31621 bytes = codeUnits;
31622 errorOffset = 0;
31623 } else {
31624 bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
31625 end -= start;
31626 errorOffset = start;
31627 start = 0;
31628 }
31629 result = _this._convertRecursive$4(bytes, start, end, single);
31630 t1 = _this._convert$_state;
31631 if ((t1 & 1) !== 0) {
31632 message = A._Utf8Decoder_errorDescription(t1);
31633 _this._convert$_state = 0;
31634 throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
31635 }
31636 return result;
31637 },
31638 _convertRecursive$4(bytes, start, end, single) {
31639 var mid, s1, _this = this;
31640 if (end - start > 1000) {
31641 mid = B.JSInt_methods._tdivFast$1(start + end, 2);
31642 s1 = _this._convertRecursive$4(bytes, start, mid, false);
31643 if ((_this._convert$_state & 1) !== 0)
31644 return s1;
31645 return s1 + _this._convertRecursive$4(bytes, mid, end, single);
31646 }
31647 return _this.decodeGeneral$4(bytes, start, end, single);
31648 },
31649 flush$1(sink) {
31650 var state = this._convert$_state;
31651 this._convert$_state = 0;
31652 if (state <= 32)
31653 return;
31654 if (this.allowMalformed)
31655 sink._contents += A.Primitives_stringFromCharCode(65533);
31656 else
31657 throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
31658 },
31659 decodeGeneral$4(bytes, start, end, single) {
31660 var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
31661 state = _this._convert$_state,
31662 char = _this._charOrIndex,
31663 buffer = new A.StringBuffer(""),
31664 i = start + 1,
31665 byte = bytes[start];
31666 $label0$0:
31667 for (t1 = _this.allowMalformed; true;) {
31668 for (; true; i = i0) {
31669 type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
31670 char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
31671 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);
31672 if (state === 0) {
31673 buffer._contents += A.Primitives_stringFromCharCode(char);
31674 if (i === end)
31675 break $label0$0;
31676 break;
31677 } else if ((state & 1) !== 0) {
31678 if (t1)
31679 switch (state) {
31680 case 69:
31681 case 67:
31682 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31683 break;
31684 case 65:
31685 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31686 --i;
31687 break;
31688 default:
31689 t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
31690 buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
31691 break;
31692 }
31693 else {
31694 _this._convert$_state = state;
31695 _this._charOrIndex = i - 1;
31696 return "";
31697 }
31698 state = 0;
31699 }
31700 if (i === end)
31701 break $label0$0;
31702 i0 = i + 1;
31703 byte = bytes[i];
31704 }
31705 i0 = i + 1;
31706 byte = bytes[i];
31707 if (byte < 128) {
31708 while (true) {
31709 if (!(i0 < end)) {
31710 markEnd = end;
31711 break;
31712 }
31713 i1 = i0 + 1;
31714 byte = bytes[i0];
31715 if (byte >= 128) {
31716 markEnd = i1 - 1;
31717 i0 = i1;
31718 break;
31719 }
31720 i0 = i1;
31721 }
31722 if (markEnd - i < 20)
31723 for (m = i; m < markEnd; ++m)
31724 buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
31725 else
31726 buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
31727 if (markEnd === end)
31728 break $label0$0;
31729 i = i0;
31730 } else
31731 i = i0;
31732 }
31733 if (single && state > 32)
31734 if (t1)
31735 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31736 else {
31737 _this._convert$_state = 77;
31738 _this._charOrIndex = end;
31739 return "";
31740 }
31741 _this._convert$_state = state;
31742 _this._charOrIndex = char;
31743 t1 = buffer._contents;
31744 return t1.charCodeAt(0) == 0 ? t1 : t1;
31745 }
31746 };
31747 A.NoSuchMethodError_toString_closure.prototype = {
31748 call$2(key, value) {
31749 var t1 = this.sb,
31750 t2 = this._box_0,
31751 t3 = t1._contents += t2.comma;
31752 t3 += key.__internal$_name;
31753 t1._contents = t3;
31754 t1._contents = t3 + ": ";
31755 t1._contents += A.Error_safeToString(value);
31756 t2.comma = ", ";
31757 },
31758 $signature: 323
31759 };
31760 A.DateTime.prototype = {
31761 add$1(_, duration) {
31762 return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
31763 },
31764 $eq(_, other) {
31765 if (other == null)
31766 return false;
31767 return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
31768 },
31769 compareTo$1(_, other) {
31770 return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
31771 },
31772 get$hashCode(_) {
31773 var t1 = this._core$_value;
31774 return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
31775 },
31776 toString$0(_) {
31777 var _this = this,
31778 y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
31779 m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
31780 d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
31781 h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
31782 min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
31783 sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
31784 ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
31785 return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
31786 },
31787 $isComparable: 1
31788 };
31789 A.Duration.prototype = {
31790 $eq(_, other) {
31791 if (other == null)
31792 return false;
31793 return other instanceof A.Duration && this._duration === other._duration;
31794 },
31795 get$hashCode(_) {
31796 return B.JSInt_methods.get$hashCode(this._duration);
31797 },
31798 compareTo$1(_, other) {
31799 return B.JSInt_methods.compareTo$1(this._duration, other._duration);
31800 },
31801 toString$0(_) {
31802 var minutes, minutesPadding, seconds, secondsPadding,
31803 microseconds = this._duration,
31804 hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
31805 microseconds %= 3600000000;
31806 if (microseconds < 0)
31807 microseconds = -microseconds;
31808 minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
31809 microseconds %= 60000000;
31810 minutesPadding = minutes < 10 ? "0" : "";
31811 seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
31812 secondsPadding = seconds < 10 ? "0" : "";
31813 return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
31814 },
31815 $isComparable: 1
31816 };
31817 A.Error.prototype = {
31818 get$stackTrace() {
31819 return A.getTraceFromException(this.$thrownJsError);
31820 }
31821 };
31822 A.AssertionError.prototype = {
31823 toString$0(_) {
31824 var t1 = this.message;
31825 if (t1 != null)
31826 return "Assertion failed: " + A.Error_safeToString(t1);
31827 return "Assertion failed";
31828 },
31829 get$message(receiver) {
31830 return this.message;
31831 }
31832 };
31833 A.TypeError.prototype = {};
31834 A.NullThrownError.prototype = {
31835 toString$0(_) {
31836 return "Throw of null.";
31837 }
31838 };
31839 A.ArgumentError.prototype = {
31840 get$_errorName() {
31841 return "Invalid argument" + (!this._hasValue ? "(s)" : "");
31842 },
31843 get$_errorExplanation() {
31844 return "";
31845 },
31846 toString$0(_) {
31847 var _this = this,
31848 $name = _this.name,
31849 nameString = $name == null ? "" : " (" + $name + ")",
31850 message = _this.message,
31851 messageString = message == null ? "" : ": " + A.S(message),
31852 prefix = _this.get$_errorName() + nameString + messageString;
31853 if (!_this._hasValue)
31854 return prefix;
31855 return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.invalidValue);
31856 },
31857 get$message(receiver) {
31858 return this.message;
31859 }
31860 };
31861 A.RangeError.prototype = {
31862 get$_errorName() {
31863 return "RangeError";
31864 },
31865 get$_errorExplanation() {
31866 var explanation,
31867 start = this.start,
31868 end = this.end;
31869 if (start == null)
31870 explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
31871 else if (end == null)
31872 explanation = ": Not greater than or equal to " + A.S(start);
31873 else if (end > start)
31874 explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
31875 else
31876 explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
31877 return explanation;
31878 }
31879 };
31880 A.IndexError.prototype = {
31881 get$_errorName() {
31882 return "RangeError";
31883 },
31884 get$_errorExplanation() {
31885 if (this.invalidValue < 0)
31886 return ": index must not be negative";
31887 var t1 = this.length;
31888 if (t1 === 0)
31889 return ": no indices are valid";
31890 return ": index should be less than " + t1;
31891 },
31892 $isRangeError: 1,
31893 get$length(receiver) {
31894 return this.length;
31895 }
31896 };
31897 A.NoSuchMethodError.prototype = {
31898 toString$0(_) {
31899 var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
31900 sb = new A.StringBuffer("");
31901 _box_0.comma = "";
31902 $arguments = _this._core$_arguments;
31903 for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
31904 argument = $arguments[_i];
31905 sb._contents = t2 + t3;
31906 t2 = sb._contents += A.Error_safeToString(argument);
31907 _box_0.comma = ", ";
31908 }
31909 _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
31910 receiverText = A.Error_safeToString(_this._core$_receiver);
31911 actualParameters = sb.toString$0(0);
31912 return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
31913 }
31914 };
31915 A.UnsupportedError.prototype = {
31916 toString$0(_) {
31917 return "Unsupported operation: " + this.message;
31918 },
31919 get$message(receiver) {
31920 return this.message;
31921 }
31922 };
31923 A.UnimplementedError.prototype = {
31924 toString$0(_) {
31925 return "UnimplementedError: " + this.message;
31926 },
31927 get$message(receiver) {
31928 return this.message;
31929 }
31930 };
31931 A.StateError.prototype = {
31932 toString$0(_) {
31933 return "Bad state: " + this.message;
31934 },
31935 get$message(receiver) {
31936 return this.message;
31937 }
31938 };
31939 A.ConcurrentModificationError.prototype = {
31940 toString$0(_) {
31941 var t1 = this.modifiedObject;
31942 if (t1 == null)
31943 return "Concurrent modification during iteration.";
31944 return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
31945 }
31946 };
31947 A.OutOfMemoryError.prototype = {
31948 toString$0(_) {
31949 return "Out of Memory";
31950 },
31951 get$stackTrace() {
31952 return null;
31953 },
31954 $isError: 1
31955 };
31956 A.StackOverflowError.prototype = {
31957 toString$0(_) {
31958 return "Stack Overflow";
31959 },
31960 get$stackTrace() {
31961 return null;
31962 },
31963 $isError: 1
31964 };
31965 A.CyclicInitializationError.prototype = {
31966 toString$0(_) {
31967 return "Reading static variable '" + this.variableName + "' during its initialization";
31968 }
31969 };
31970 A._Exception.prototype = {
31971 toString$0(_) {
31972 return "Exception: " + this.message;
31973 },
31974 $isException: 1,
31975 get$message(receiver) {
31976 return this.message;
31977 }
31978 };
31979 A.FormatException.prototype = {
31980 toString$0(_) {
31981 var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
31982 message = this.message,
31983 report = "" !== message ? "FormatException: " + message : "FormatException",
31984 offset = this.offset,
31985 source = this.source;
31986 if (typeof source == "string") {
31987 if (offset != null)
31988 t1 = offset < 0 || offset > source.length;
31989 else
31990 t1 = false;
31991 if (t1)
31992 offset = null;
31993 if (offset == null) {
31994 if (source.length > 78)
31995 source = B.JSString_methods.substring$2(source, 0, 75) + "...";
31996 return report + "\n" + source;
31997 }
31998 for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
31999 char = B.JSString_methods._codeUnitAt$1(source, i);
32000 if (char === 10) {
32001 if (lineStart !== i || !previousCharWasCR)
32002 ++lineNum;
32003 lineStart = i + 1;
32004 previousCharWasCR = false;
32005 } else if (char === 13) {
32006 ++lineNum;
32007 lineStart = i + 1;
32008 previousCharWasCR = true;
32009 }
32010 }
32011 report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
32012 lineEnd = source.length;
32013 for (i = offset; i < lineEnd; ++i) {
32014 char = B.JSString_methods.codeUnitAt$1(source, i);
32015 if (char === 10 || char === 13) {
32016 lineEnd = i;
32017 break;
32018 }
32019 }
32020 if (lineEnd - lineStart > 78)
32021 if (offset - lineStart < 75) {
32022 end = lineStart + 75;
32023 start = lineStart;
32024 prefix = "";
32025 postfix = "...";
32026 } else {
32027 if (lineEnd - offset < 75) {
32028 start = lineEnd - 75;
32029 end = lineEnd;
32030 postfix = "";
32031 } else {
32032 start = offset - 36;
32033 end = offset + 36;
32034 postfix = "...";
32035 }
32036 prefix = "...";
32037 }
32038 else {
32039 end = lineEnd;
32040 start = lineStart;
32041 prefix = "";
32042 postfix = "";
32043 }
32044 return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
32045 } else
32046 return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
32047 },
32048 $isException: 1,
32049 get$message(receiver) {
32050 return this.message;
32051 }
32052 };
32053 A.Iterable.prototype = {
32054 cast$1$0(_, $R) {
32055 return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
32056 },
32057 followedBy$1(_, other) {
32058 var _this = this,
32059 t1 = A._instanceType(_this);
32060 if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
32061 return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
32062 return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
32063 },
32064 map$1$1(_, toElement, $T) {
32065 return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
32066 },
32067 where$1(_, test) {
32068 return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
32069 },
32070 expand$1$1(_, toElements, $T) {
32071 return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
32072 },
32073 contains$1(_, element) {
32074 var t1;
32075 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32076 if (J.$eq$(t1.get$current(t1), element))
32077 return true;
32078 return false;
32079 },
32080 fold$1$2(_, initialValue, combine) {
32081 var t1, value;
32082 for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
32083 value = combine.call$2(value, t1.get$current(t1));
32084 return value;
32085 },
32086 fold$2($receiver, initialValue, combine) {
32087 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
32088 },
32089 join$1(_, separator) {
32090 var t1,
32091 iterator = this.get$iterator(this);
32092 if (!iterator.moveNext$0())
32093 return "";
32094 if (separator === "") {
32095 t1 = "";
32096 do
32097 t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
32098 while (iterator.moveNext$0());
32099 } else {
32100 t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
32101 for (; iterator.moveNext$0();)
32102 t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
32103 }
32104 return t1.charCodeAt(0) == 0 ? t1 : t1;
32105 },
32106 join$0($receiver) {
32107 return this.join$1($receiver, "");
32108 },
32109 any$1(_, test) {
32110 var t1;
32111 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32112 if (test.call$1(t1.get$current(t1)))
32113 return true;
32114 return false;
32115 },
32116 toList$1$growable(_, growable) {
32117 return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
32118 },
32119 toList$0($receiver) {
32120 return this.toList$1$growable($receiver, true);
32121 },
32122 toSet$0(_) {
32123 return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
32124 },
32125 get$length(_) {
32126 var count,
32127 it = this.get$iterator(this);
32128 for (count = 0; it.moveNext$0();)
32129 ++count;
32130 return count;
32131 },
32132 get$isEmpty(_) {
32133 return !this.get$iterator(this).moveNext$0();
32134 },
32135 get$isNotEmpty(_) {
32136 return !this.get$isEmpty(this);
32137 },
32138 take$1(_, count) {
32139 return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32140 },
32141 skip$1(_, count) {
32142 return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32143 },
32144 skipWhile$1(_, test) {
32145 return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
32146 },
32147 get$first(_) {
32148 var it = this.get$iterator(this);
32149 if (!it.moveNext$0())
32150 throw A.wrapException(A.IterableElementError_noElement());
32151 return it.get$current(it);
32152 },
32153 get$last(_) {
32154 var result,
32155 it = this.get$iterator(this);
32156 if (!it.moveNext$0())
32157 throw A.wrapException(A.IterableElementError_noElement());
32158 do
32159 result = it.get$current(it);
32160 while (it.moveNext$0());
32161 return result;
32162 },
32163 get$single(_) {
32164 var result,
32165 it = this.get$iterator(this);
32166 if (!it.moveNext$0())
32167 throw A.wrapException(A.IterableElementError_noElement());
32168 result = it.get$current(it);
32169 if (it.moveNext$0())
32170 throw A.wrapException(A.IterableElementError_tooMany());
32171 return result;
32172 },
32173 elementAt$1(_, index) {
32174 var t1, elementIndex, element;
32175 A.RangeError_checkNotNegative(index, "index");
32176 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
32177 element = t1.get$current(t1);
32178 if (index === elementIndex)
32179 return element;
32180 ++elementIndex;
32181 }
32182 throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
32183 },
32184 toString$0(_) {
32185 return A.IterableBase_iterableToShortString(this, "(", ")");
32186 }
32187 };
32188 A._GeneratorIterable.prototype = {
32189 elementAt$1(_, index) {
32190 A.RangeError_checkValidIndex(index, this, null);
32191 return this._generator.call$1(index);
32192 },
32193 get$length(receiver) {
32194 return this.length;
32195 }
32196 };
32197 A.Iterator.prototype = {};
32198 A.MapEntry.prototype = {
32199 toString$0(_) {
32200 return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
32201 }
32202 };
32203 A.Null.prototype = {
32204 get$hashCode(_) {
32205 return A.Object.prototype.get$hashCode.call(this, this);
32206 },
32207 toString$0(_) {
32208 return "null";
32209 }
32210 };
32211 A.Object.prototype = {$isObject: 1,
32212 $eq(_, other) {
32213 return this === other;
32214 },
32215 get$hashCode(_) {
32216 return A.Primitives_objectHashCode(this);
32217 },
32218 toString$0(_) {
32219 return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
32220 },
32221 noSuchMethod$1(_, invocation) {
32222 throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
32223 },
32224 get$runtimeType(_) {
32225 var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
32226 return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
32227 },
32228 toString() {
32229 return this.toString$0(this);
32230 }
32231 };
32232 A._StringStackTrace.prototype = {
32233 toString$0(_) {
32234 return this._stackTrace;
32235 },
32236 $isStackTrace: 1
32237 };
32238 A.Runes.prototype = {
32239 get$iterator(_) {
32240 return new A.RuneIterator(this.string);
32241 },
32242 get$last(_) {
32243 var code, previousCode,
32244 t1 = this.string,
32245 t2 = t1.length;
32246 if (t2 === 0)
32247 throw A.wrapException(A.StateError$("No elements."));
32248 code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
32249 if ((code & 64512) === 56320 && t2 > 1) {
32250 previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
32251 if ((previousCode & 64512) === 55296)
32252 return A._combineSurrogatePair(previousCode, code);
32253 }
32254 return code;
32255 }
32256 };
32257 A.RuneIterator.prototype = {
32258 get$current(_) {
32259 return this._currentCodePoint;
32260 },
32261 moveNext$0() {
32262 var codeUnit, nextPosition, nextCodeUnit, _this = this,
32263 t1 = _this._position = _this._nextPosition,
32264 t2 = _this.string,
32265 t3 = t2.length;
32266 if (t1 === t3) {
32267 _this._currentCodePoint = -1;
32268 return false;
32269 }
32270 codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
32271 nextPosition = t1 + 1;
32272 if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
32273 nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
32274 if ((nextCodeUnit & 64512) === 56320) {
32275 _this._nextPosition = nextPosition + 1;
32276 _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
32277 return true;
32278 }
32279 }
32280 _this._nextPosition = nextPosition;
32281 _this._currentCodePoint = codeUnit;
32282 return true;
32283 }
32284 };
32285 A.StringBuffer.prototype = {
32286 get$length(_) {
32287 return this._contents.length;
32288 },
32289 write$1(_, obj) {
32290 this._contents += A.S(obj);
32291 },
32292 writeCharCode$1(charCode) {
32293 this._contents += A.Primitives_stringFromCharCode(charCode);
32294 },
32295 toString$0(_) {
32296 var t1 = this._contents;
32297 return t1.charCodeAt(0) == 0 ? t1 : t1;
32298 }
32299 };
32300 A.Uri__parseIPv4Address_error.prototype = {
32301 call$2(msg, position) {
32302 throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
32303 },
32304 $signature: 330
32305 };
32306 A.Uri_parseIPv6Address_error.prototype = {
32307 call$2(msg, position) {
32308 throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
32309 },
32310 $signature: 334
32311 };
32312 A.Uri_parseIPv6Address_parseHex.prototype = {
32313 call$2(start, end) {
32314 var value;
32315 if (end - start > 4)
32316 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
32317 value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
32318 if (value < 0 || value > 65535)
32319 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
32320 return value;
32321 },
32322 $signature: 339
32323 };
32324 A._Uri.prototype = {
32325 get$_text() {
32326 var t1, t2, t3, t4, _this = this,
32327 value = _this.___Uri__text;
32328 if (value === $) {
32329 t1 = _this.scheme;
32330 t2 = t1.length !== 0 ? "" + t1 + ":" : "";
32331 t3 = _this._host;
32332 t4 = t3 == null;
32333 if (!t4 || t1 === "file") {
32334 t1 = t2 + "//";
32335 t2 = _this._userInfo;
32336 if (t2.length !== 0)
32337 t1 = t1 + t2 + "@";
32338 if (!t4)
32339 t1 += t3;
32340 t2 = _this._port;
32341 if (t2 != null)
32342 t1 = t1 + ":" + A.S(t2);
32343 } else
32344 t1 = t2;
32345 t1 += _this.path;
32346 t2 = _this._query;
32347 if (t2 != null)
32348 t1 = t1 + "?" + t2;
32349 t2 = _this._fragment;
32350 if (t2 != null)
32351 t1 = t1 + "#" + t2;
32352 A._lateInitializeOnceCheck(value, "_text");
32353 value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1;
32354 }
32355 return value;
32356 },
32357 get$pathSegments() {
32358 var pathToSplit, result, _this = this,
32359 value = _this.___Uri_pathSegments;
32360 if (value === $) {
32361 pathToSplit = _this.path;
32362 if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
32363 pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
32364 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);
32365 A._lateInitializeOnceCheck(_this.___Uri_pathSegments, "pathSegments");
32366 value = _this.___Uri_pathSegments = result;
32367 }
32368 return value;
32369 },
32370 get$hashCode(_) {
32371 var result, _this = this,
32372 value = _this.___Uri_hashCode;
32373 if (value === $) {
32374 result = B.JSString_methods.get$hashCode(_this.get$_text());
32375 A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode");
32376 _this.___Uri_hashCode = result;
32377 value = result;
32378 }
32379 return value;
32380 },
32381 get$userInfo() {
32382 return this._userInfo;
32383 },
32384 get$host() {
32385 var host = this._host;
32386 if (host == null)
32387 return "";
32388 if (B.JSString_methods.startsWith$1(host, "["))
32389 return B.JSString_methods.substring$2(host, 1, host.length - 1);
32390 return host;
32391 },
32392 get$port(_) {
32393 var t1 = this._port;
32394 return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
32395 },
32396 get$query() {
32397 var t1 = this._query;
32398 return t1 == null ? "" : t1;
32399 },
32400 get$fragment() {
32401 var t1 = this._fragment;
32402 return t1 == null ? "" : t1;
32403 },
32404 isScheme$1(scheme) {
32405 var thisScheme = this.scheme;
32406 if (scheme.length !== thisScheme.length)
32407 return false;
32408 return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
32409 },
32410 _mergePaths$2(base, reference) {
32411 var backCount, refStart, baseEnd, newEnd, delta, t1;
32412 for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
32413 refStart += 3;
32414 ++backCount;
32415 }
32416 baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
32417 while (true) {
32418 if (!(baseEnd > 0 && backCount > 0))
32419 break;
32420 newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
32421 if (newEnd < 0)
32422 break;
32423 delta = baseEnd - newEnd;
32424 t1 = delta !== 2;
32425 if (!t1 || delta === 3)
32426 if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
32427 t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
32428 else
32429 t1 = false;
32430 else
32431 t1 = false;
32432 if (t1)
32433 break;
32434 --backCount;
32435 baseEnd = newEnd;
32436 }
32437 return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
32438 },
32439 resolve$1(reference) {
32440 return this.resolveUri$1(A.Uri_parse(reference));
32441 },
32442 resolveUri$1(reference) {
32443 var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
32444 if (reference.get$scheme().length !== 0) {
32445 targetScheme = reference.get$scheme();
32446 if (reference.get$hasAuthority()) {
32447 targetUserInfo = reference.get$userInfo();
32448 targetHost = reference.get$host();
32449 targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
32450 } else {
32451 targetPort = _null;
32452 targetHost = targetPort;
32453 targetUserInfo = "";
32454 }
32455 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32456 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32457 } else {
32458 targetScheme = _this.scheme;
32459 if (reference.get$hasAuthority()) {
32460 targetUserInfo = reference.get$userInfo();
32461 targetHost = reference.get$host();
32462 targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
32463 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32464 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32465 } else {
32466 targetUserInfo = _this._userInfo;
32467 targetHost = _this._host;
32468 targetPort = _this._port;
32469 targetPath = _this.path;
32470 if (reference.get$path(reference) === "")
32471 targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
32472 else {
32473 packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
32474 if (packageNameEnd > 0) {
32475 packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
32476 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)));
32477 } else if (reference.get$hasAbsolutePath())
32478 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32479 else if (targetPath.length === 0)
32480 if (targetHost == null)
32481 targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
32482 else
32483 targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
32484 else {
32485 mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
32486 t1 = targetScheme.length === 0;
32487 if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
32488 targetPath = A._Uri__removeDotSegments(mergedPath);
32489 else
32490 targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
32491 }
32492 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32493 }
32494 }
32495 }
32496 return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
32497 },
32498 get$hasAuthority() {
32499 return this._host != null;
32500 },
32501 get$hasPort() {
32502 return this._port != null;
32503 },
32504 get$hasQuery() {
32505 return this._query != null;
32506 },
32507 get$hasFragment() {
32508 return this._fragment != null;
32509 },
32510 get$hasAbsolutePath() {
32511 return B.JSString_methods.startsWith$1(this.path, "/");
32512 },
32513 toFilePath$0() {
32514 var pathSegments, _this = this,
32515 t1 = _this.scheme;
32516 if (t1 !== "" && t1 !== "file")
32517 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
32518 t1 = _this._query;
32519 if ((t1 == null ? "" : t1) !== "")
32520 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32521 t1 = _this._fragment;
32522 if ((t1 == null ? "" : t1) !== "")
32523 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32524 t1 = $.$get$_Uri__isWindowsCached();
32525 if (t1)
32526 t1 = A._Uri__toWindowsFilePath(_this);
32527 else {
32528 if (_this._host != null && _this.get$host() !== "")
32529 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32530 pathSegments = _this.get$pathSegments();
32531 A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
32532 t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
32533 t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
32534 }
32535 return t1;
32536 },
32537 toString$0(_) {
32538 return this.get$_text();
32539 },
32540 $eq(_, other) {
32541 var t1, t2, _this = this;
32542 if (other == null)
32543 return false;
32544 if (_this === other)
32545 return true;
32546 if (type$.Uri._is(other))
32547 if (_this.scheme === other.get$scheme())
32548 if (_this._host != null === other.get$hasAuthority())
32549 if (_this._userInfo === other.get$userInfo())
32550 if (_this.get$host() === other.get$host())
32551 if (_this.get$port(_this) === other.get$port(other))
32552 if (_this.path === other.get$path(other)) {
32553 t1 = _this._query;
32554 t2 = t1 == null;
32555 if (!t2 === other.get$hasQuery()) {
32556 if (t2)
32557 t1 = "";
32558 if (t1 === other.get$query()) {
32559 t1 = _this._fragment;
32560 t2 = t1 == null;
32561 if (!t2 === other.get$hasFragment()) {
32562 if (t2)
32563 t1 = "";
32564 t1 = t1 === other.get$fragment();
32565 } else
32566 t1 = false;
32567 } else
32568 t1 = false;
32569 } else
32570 t1 = false;
32571 } else
32572 t1 = false;
32573 else
32574 t1 = false;
32575 else
32576 t1 = false;
32577 else
32578 t1 = false;
32579 else
32580 t1 = false;
32581 else
32582 t1 = false;
32583 else
32584 t1 = false;
32585 return t1;
32586 },
32587 $isUri: 1,
32588 get$scheme() {
32589 return this.scheme;
32590 },
32591 get$path(receiver) {
32592 return this.path;
32593 }
32594 };
32595 A._Uri__makePath_closure.prototype = {
32596 call$1(s) {
32597 return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
32598 },
32599 $signature: 5
32600 };
32601 A.UriData.prototype = {
32602 get$uri() {
32603 var t2, queryIndex, end, query, _this = this, _null = null,
32604 t1 = _this._uriCache;
32605 if (t1 == null) {
32606 t1 = _this._text;
32607 t2 = _this._separatorIndices[0] + 1;
32608 queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
32609 end = t1.length;
32610 if (queryIndex >= 0) {
32611 query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false);
32612 end = queryIndex;
32613 } else
32614 query = _null;
32615 t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false), query, _null);
32616 }
32617 return t1;
32618 },
32619 toString$0(_) {
32620 var t1 = this._text;
32621 return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
32622 }
32623 };
32624 A._createTables_build.prototype = {
32625 call$2(state, defaultTransition) {
32626 var t1 = this.tables[state];
32627 B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
32628 return t1;
32629 },
32630 $signature: 351
32631 };
32632 A._createTables_setChars.prototype = {
32633 call$3(target, chars, transition) {
32634 var t1, i;
32635 for (t1 = chars.length, i = 0; i < t1; ++i)
32636 target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
32637 },
32638 $signature: 226
32639 };
32640 A._createTables_setRange.prototype = {
32641 call$3(target, range, transition) {
32642 var i, n;
32643 for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
32644 target[(i ^ 96) >>> 0] = transition;
32645 },
32646 $signature: 226
32647 };
32648 A._SimpleUri.prototype = {
32649 get$hasAuthority() {
32650 return this._hostStart > 0;
32651 },
32652 get$hasPort() {
32653 return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
32654 },
32655 get$hasQuery() {
32656 return this._queryStart < this._fragmentStart;
32657 },
32658 get$hasFragment() {
32659 return this._fragmentStart < this._uri.length;
32660 },
32661 get$hasAbsolutePath() {
32662 return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
32663 },
32664 get$scheme() {
32665 var t1 = this._schemeCache;
32666 return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
32667 },
32668 _computeScheme$0() {
32669 var t2, _this = this,
32670 t1 = _this._schemeEnd;
32671 if (t1 <= 0)
32672 return "";
32673 t2 = t1 === 4;
32674 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32675 return "http";
32676 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32677 return "https";
32678 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
32679 return "file";
32680 if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
32681 return "package";
32682 return B.JSString_methods.substring$2(_this._uri, 0, t1);
32683 },
32684 get$userInfo() {
32685 var t1 = this._hostStart,
32686 t2 = this._schemeEnd + 3;
32687 return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
32688 },
32689 get$host() {
32690 var t1 = this._hostStart;
32691 return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
32692 },
32693 get$port(_) {
32694 var t1, _this = this;
32695 if (_this.get$hasPort())
32696 return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
32697 t1 = _this._schemeEnd;
32698 if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32699 return 80;
32700 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32701 return 443;
32702 return 0;
32703 },
32704 get$path(_) {
32705 return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
32706 },
32707 get$query() {
32708 var t1 = this._queryStart,
32709 t2 = this._fragmentStart;
32710 return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
32711 },
32712 get$fragment() {
32713 var t1 = this._fragmentStart,
32714 t2 = this._uri;
32715 return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
32716 },
32717 get$pathSegments() {
32718 var parts, i,
32719 start = this._pathStart,
32720 end = this._queryStart,
32721 t1 = this._uri;
32722 if (B.JSString_methods.startsWith$2(t1, "/", start))
32723 ++start;
32724 if (start === end)
32725 return B.List_empty;
32726 parts = A._setArrayType([], type$.JSArray_String);
32727 for (i = start; i < end; ++i)
32728 if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
32729 parts.push(B.JSString_methods.substring$2(t1, start, i));
32730 start = i + 1;
32731 }
32732 parts.push(B.JSString_methods.substring$2(t1, start, end));
32733 return A.List_List$unmodifiable(parts, type$.String);
32734 },
32735 _isPort$1(port) {
32736 var portDigitStart = this._portStart + 1;
32737 return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
32738 },
32739 removeFragment$0() {
32740 var _this = this,
32741 t1 = _this._fragmentStart,
32742 t2 = _this._uri;
32743 if (t1 >= t2.length)
32744 return _this;
32745 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);
32746 },
32747 resolve$1(reference) {
32748 return this.resolveUri$1(A.Uri_parse(reference));
32749 },
32750 resolveUri$1(reference) {
32751 if (reference instanceof A._SimpleUri)
32752 return this._simpleMerge$2(this, reference);
32753 return this._toNonSimple$0().resolveUri$1(reference);
32754 },
32755 _simpleMerge$2(base, ref) {
32756 var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
32757 t1 = ref._schemeEnd;
32758 if (t1 > 0)
32759 return ref;
32760 t2 = ref._hostStart;
32761 if (t2 > 0) {
32762 t3 = base._schemeEnd;
32763 if (t3 <= 0)
32764 return ref;
32765 t4 = t3 === 4;
32766 if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
32767 isSimple = ref._pathStart !== ref._queryStart;
32768 else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
32769 isSimple = !ref._isPort$1("80");
32770 else
32771 isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
32772 if (isSimple) {
32773 delta = t3 + 1;
32774 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);
32775 } else
32776 return this._toNonSimple$0().resolveUri$1(ref);
32777 }
32778 refStart = ref._pathStart;
32779 t1 = ref._queryStart;
32780 if (refStart === t1) {
32781 t2 = ref._fragmentStart;
32782 if (t1 < t2) {
32783 t3 = base._queryStart;
32784 delta = t3 - t1;
32785 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);
32786 }
32787 t1 = ref._uri;
32788 if (t2 < t1.length) {
32789 t3 = base._fragmentStart;
32790 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);
32791 }
32792 return base.removeFragment$0();
32793 }
32794 t2 = ref._uri;
32795 if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
32796 basePathStart = base._pathStart;
32797 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32798 basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
32799 delta = basePathStart0 - refStart;
32800 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);
32801 }
32802 baseStart = base._pathStart;
32803 baseEnd = base._queryStart;
32804 if (baseStart === baseEnd && base._hostStart > 0) {
32805 for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
32806 refStart += 3;
32807 delta = baseStart - refStart + 1;
32808 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);
32809 }
32810 baseUri = base._uri;
32811 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32812 if (packageNameEnd >= 0)
32813 baseStart0 = packageNameEnd;
32814 else
32815 for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
32816 baseStart0 += 3;
32817 backCount = 0;
32818 while (true) {
32819 refStart0 = refStart + 3;
32820 if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
32821 break;
32822 ++backCount;
32823 refStart = refStart0;
32824 }
32825 for (insert = ""; baseEnd > baseStart0;) {
32826 --baseEnd;
32827 if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
32828 if (backCount === 0) {
32829 insert = "/";
32830 break;
32831 }
32832 --backCount;
32833 insert = "/";
32834 }
32835 }
32836 if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
32837 refStart -= backCount * 3;
32838 insert = "";
32839 }
32840 delta = baseEnd - refStart + insert.length;
32841 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);
32842 },
32843 toFilePath$0() {
32844 var t2, t3, _this = this,
32845 t1 = _this._schemeEnd;
32846 if (t1 >= 0) {
32847 t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
32848 t1 = t2;
32849 } else
32850 t1 = false;
32851 if (t1)
32852 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
32853 t1 = _this._queryStart;
32854 t2 = _this._uri;
32855 if (t1 < t2.length) {
32856 if (t1 < _this._fragmentStart)
32857 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32858 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32859 }
32860 t3 = $.$get$_Uri__isWindowsCached();
32861 if (t3)
32862 t1 = A._Uri__toWindowsFilePath(_this);
32863 else {
32864 if (_this._hostStart < _this._portStart)
32865 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32866 t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
32867 }
32868 return t1;
32869 },
32870 get$hashCode(_) {
32871 var t1 = this._hashCodeCache;
32872 return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
32873 },
32874 $eq(_, other) {
32875 if (other == null)
32876 return false;
32877 if (this === other)
32878 return true;
32879 return type$.Uri._is(other) && this._uri === other.toString$0(0);
32880 },
32881 _toNonSimple$0() {
32882 var _this = this, _null = null,
32883 t1 = _this.get$scheme(),
32884 t2 = _this.get$userInfo(),
32885 t3 = _this._hostStart > 0 ? _this.get$host() : _null,
32886 t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
32887 t5 = _this._uri,
32888 t6 = _this._queryStart,
32889 t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
32890 t8 = _this._fragmentStart;
32891 t6 = t6 < t8 ? _this.get$query() : _null;
32892 return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
32893 },
32894 toString$0(_) {
32895 return this._uri;
32896 },
32897 $isUri: 1
32898 };
32899 A._DataUri.prototype = {};
32900 A.Expando.prototype = {
32901 toString$0(_) {
32902 return "Expando:null";
32903 }
32904 };
32905 A._convertDataTree__convert.prototype = {
32906 call$1(o) {
32907 var convertedMap, key, convertedList,
32908 t1 = this._convertedObjects;
32909 if (t1.containsKey$1(o))
32910 return t1.$index(0, o);
32911 if (type$.Map_dynamic_dynamic._is(o)) {
32912 convertedMap = {};
32913 t1.$indexSet(0, o, convertedMap);
32914 for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
32915 key = t1.get$current(t1);
32916 convertedMap[key] = this.call$1(o.$index(0, key));
32917 }
32918 return convertedMap;
32919 } else if (type$.Iterable_dynamic._is(o)) {
32920 convertedList = [];
32921 t1.$indexSet(0, o, convertedList);
32922 B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
32923 return convertedList;
32924 } else
32925 return o;
32926 },
32927 $signature: 497
32928 };
32929 A._JSRandom.prototype = {
32930 nextInt$1(max) {
32931 if (max <= 0 || max > 4294967296)
32932 throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
32933 return Math.random() * max >>> 0;
32934 },
32935 nextDouble$0() {
32936 return Math.random();
32937 }
32938 };
32939 A.ArgParser.prototype = {
32940 addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
32941 var _null = null;
32942 this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
32943 },
32944 addFlag$2$hide($name, hide) {
32945 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
32946 },
32947 addFlag$2$help($name, help) {
32948 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
32949 },
32950 addFlag$3$defaultsTo$help($name, defaultsTo, help) {
32951 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
32952 },
32953 addFlag$3$help$negatable($name, help, negatable) {
32954 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
32955 },
32956 addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
32957 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
32958 },
32959 addFlag$3$abbr$help($name, abbr, help) {
32960 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
32961 },
32962 addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
32963 this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
32964 },
32965 addOption$2$hide($name, hide) {
32966 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
32967 },
32968 addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
32969 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
32970 },
32971 addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
32972 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
32973 },
32974 addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
32975 var t1 = A._setArrayType([], type$.JSArray_String);
32976 this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
32977 },
32978 _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
32979 var existing, t2, option, _i, _this = this, _null = null,
32980 t1 = A._setArrayType([$name], type$.JSArray_String);
32981 B.JSArray_methods.addAll$1(t1, aliases);
32982 if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
32983 throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
32984 t1 = abbr != null;
32985 if (t1) {
32986 existing = _this.findByAbbreviation$1(abbr);
32987 if (existing != null)
32988 throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
32989 }
32990 t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
32991 option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
32992 if ($name.length === 0)
32993 A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
32994 else if (B.JSString_methods.startsWith$1($name, "-"))
32995 A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
32996 t2 = $.$get$Option__invalidChars()._nativeRegExp;
32997 if (t2.test($name))
32998 A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
32999 if (t1) {
33000 if (abbr.length !== 1)
33001 A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
33002 else if (abbr === "-")
33003 A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
33004 if (t2.test(abbr))
33005 A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
33006 }
33007 _this._arg_parser$_options.$indexSet(0, $name, option);
33008 _this._optionsAndSeparators.push(option);
33009 for (t1 = _this._aliases, _i = 0; false; ++_i)
33010 t1.$indexSet(0, aliases[_i], $name);
33011 },
33012 _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
33013 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
33014 },
33015 _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
33016 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
33017 },
33018 _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
33019 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
33020 },
33021 findByAbbreviation$1(abbr) {
33022 var t1, t2;
33023 for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
33024 t2 = t1.get$current(t1);
33025 if (t2.abbr === abbr)
33026 return t2;
33027 }
33028 return null;
33029 },
33030 findByNameOrAlias$1($name) {
33031 var t1 = this._aliases.$index(0, $name);
33032 if (t1 == null)
33033 t1 = $name;
33034 return this.options._map.$index(0, t1);
33035 }
33036 };
33037 A.ArgParser__addOption_closure.prototype = {
33038 call$1($name) {
33039 return this.$this.findByNameOrAlias$1($name) != null;
33040 },
33041 $signature: 6
33042 };
33043 A.ArgParserException.prototype = {};
33044 A.ArgResults.prototype = {
33045 $index(_, $name) {
33046 var t1 = this._parser.options._map;
33047 if (!t1.containsKey$1($name))
33048 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33049 t1 = t1.$index(0, $name);
33050 t1.toString;
33051 return t1.valueOrDefault$1(this._parsed.$index(0, $name));
33052 },
33053 wasParsed$1($name) {
33054 if (!this._parser.options._map.containsKey$1($name))
33055 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33056 return this._parsed.containsKey$1($name);
33057 }
33058 };
33059 A.Option.prototype = {
33060 valueOrDefault$1(value) {
33061 var t1;
33062 if (value != null)
33063 return value;
33064 if (this.type === B.OptionType_qyr) {
33065 t1 = this.defaultsTo;
33066 return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
33067 }
33068 return this.defaultsTo;
33069 }
33070 };
33071 A.OptionType.prototype = {};
33072 A.Parser0.prototype = {
33073 parse$0() {
33074 var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
33075 t2 = _this._args;
33076 t2.toList$0(0);
33077 commandResults = null;
33078 for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(t2);) {
33079 t7 = t2._collection$_head;
33080 if (t7 === t2._collection$_tail)
33081 A.throwExpression(A.IterableElementError_noElement());
33082 t7 = t2._collection$_table[t7];
33083 t8 = t7 == null;
33084 if ((t8 ? t6._as(t7) : t7) === "--") {
33085 t2.removeFirst$0();
33086 break;
33087 }
33088 if (t8)
33089 t7 = t6._as(t7);
33090 command = t5._map.$index(0, t7);
33091 if (command != null) {
33092 if (t3.length !== 0)
33093 A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
33094 commandName = t2.removeFirst$0();
33095 t5 = type$.JSArray_String;
33096 t6 = A._setArrayType([], t5);
33097 B.JSArray_methods.addAll$1(t6, t3);
33098 commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
33099 try {
33100 commandResults = commandParser.parse$0();
33101 } catch (exception) {
33102 t2 = A.unwrapException(exception);
33103 if (t2 instanceof A.ArgParserException) {
33104 error = t2;
33105 t2 = error.message;
33106 t1 = A._setArrayType([commandName], t5);
33107 J.addAll$1$ax(t1, error.commands);
33108 throw A.wrapException(A.ArgParserException$(t2, t1));
33109 } else
33110 throw exception;
33111 }
33112 B.JSArray_methods.set$length(t3, 0);
33113 break;
33114 }
33115 if (_this._parseSoloOption$0())
33116 continue;
33117 if (_this._parseAbbreviation$1(_this))
33118 continue;
33119 if (_this._parseLongOption$0())
33120 continue;
33121 t3.push(t2.removeFirst$0());
33122 }
33123 t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
33124 B.JSArray_methods.addAll$1(t3, t2);
33125 t2.clear$0(0);
33126 return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
33127 },
33128 _readNextArgAsValue$1(option) {
33129 var t1 = this._args;
33130 if (t1.get$isEmpty(t1))
33131 A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
33132 this._setOption$3(this._results, option, t1.get$first(t1));
33133 t1.removeFirst$0();
33134 },
33135 _parseSoloOption$0() {
33136 var opt,
33137 t1 = this._args;
33138 if (t1.get$first(t1).length !== 2)
33139 return false;
33140 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33141 return false;
33142 opt = t1.get$first(t1)[1];
33143 if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
33144 return false;
33145 this._handleSoloOption$1(opt);
33146 return true;
33147 },
33148 _handleSoloOption$1(opt) {
33149 var t1, _this = this,
33150 option = _this._grammar.findByAbbreviation$1(opt);
33151 if (option == null) {
33152 t1 = _this._parser$_parent;
33153 if (t1 == null)
33154 A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
33155 t1._handleSoloOption$1(opt);
33156 return true;
33157 }
33158 _this._args.removeFirst$0();
33159 if (option.type === B.OptionType_nMZ)
33160 _this._results.$indexSet(0, option.name, true);
33161 else
33162 _this._readNextArgAsValue$1(option);
33163 return true;
33164 },
33165 _parseAbbreviation$1(innermostCommand) {
33166 var t2, index, t3, t4, lettersAndDigits, rest,
33167 t1 = this._args;
33168 if (t1.get$first(t1).length < 2)
33169 return false;
33170 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33171 return false;
33172 t2 = t1.$ti._precomputed1;
33173 index = 1;
33174 while (true) {
33175 t3 = t1._collection$_head;
33176 if (t3 === t1._collection$_tail)
33177 A.throwExpression(A.IterableElementError_noElement());
33178 t3 = t1._collection$_table[t3];
33179 t4 = t3 == null;
33180 if (index < (t4 ? t2._as(t3) : t3).length) {
33181 t3 = B.JSString_methods._codeUnitAt$1(t4 ? t2._as(t3) : t3, index);
33182 if (!(t3 >= 65 && t3 <= 90))
33183 if (!(t3 >= 97 && t3 <= 122))
33184 t3 = t3 >= 48 && t3 <= 57;
33185 else
33186 t3 = true;
33187 else
33188 t3 = true;
33189 } else
33190 t3 = false;
33191 if (!t3)
33192 break;
33193 ++index;
33194 }
33195 if (index === 1)
33196 return false;
33197 lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
33198 rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
33199 if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
33200 return false;
33201 this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33202 return true;
33203 },
33204 _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
33205 var t1, i, i0, _this = this,
33206 c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
33207 first = _this._grammar.findByAbbreviation$1(c);
33208 if (first == null) {
33209 t1 = _this._parser$_parent;
33210 if (t1 == null)
33211 A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
33212 t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33213 return true;
33214 } else if (first.type !== B.OptionType_nMZ)
33215 _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
33216 else {
33217 t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
33218 if (rest !== "")
33219 A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
33220 for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
33221 i0 = i + 1;
33222 innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
33223 }
33224 }
33225 _this._args.removeFirst$0();
33226 return true;
33227 },
33228 _parseShortFlag$1(c) {
33229 var t1,
33230 option = this._grammar.findByAbbreviation$1(c);
33231 if (option == null) {
33232 t1 = this._parser$_parent;
33233 if (t1 == null)
33234 A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
33235 t1._parseShortFlag$1(c);
33236 return;
33237 }
33238 if (option.type !== B.OptionType_nMZ)
33239 A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
33240 this._results.$indexSet(0, option.name, true);
33241 },
33242 _parseLongOption$0() {
33243 var index, t2, $name, t3, i, t4, t5, value,
33244 t1 = this._args;
33245 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
33246 return false;
33247 index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
33248 t2 = index === -1;
33249 $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
33250 for (t3 = $name.length, i = 0; i !== t3; ++i) {
33251 t4 = B.JSString_methods._codeUnitAt$1($name, i);
33252 if (!(t4 >= 65 && t4 <= 90))
33253 if (!(t4 >= 97 && t4 <= 122))
33254 t5 = t4 >= 48 && t4 <= 57;
33255 else
33256 t5 = true;
33257 else
33258 t5 = true;
33259 if (!(t5 || t4 === 45 || t4 === 95))
33260 return false;
33261 }
33262 value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
33263 if (value != null)
33264 t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
33265 else
33266 t1 = false;
33267 if (t1)
33268 return false;
33269 this._handleLongOption$2($name, value);
33270 return true;
33271 },
33272 _handleLongOption$2($name, value) {
33273 var _this = this, _null = null,
33274 _s32_ = 'Could not find an option named "',
33275 t1 = _this._grammar,
33276 option = t1.findByNameOrAlias$1($name);
33277 if (option != null) {
33278 _this._args.removeFirst$0();
33279 if (option.type === B.OptionType_nMZ) {
33280 if (value != null)
33281 A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
33282 _this._results.$indexSet(0, option.name, true);
33283 } else if (value != null)
33284 _this._setOption$3(_this._results, option, value);
33285 else
33286 _this._readNextArgAsValue$1(option);
33287 } else if (B.JSString_methods.startsWith$1($name, "no-")) {
33288 option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
33289 if (option == null) {
33290 t1 = _this._parser$_parent;
33291 if (t1 == null)
33292 A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
33293 t1._handleLongOption$2($name, value);
33294 return true;
33295 }
33296 _this._args.removeFirst$0();
33297 if (option.type !== B.OptionType_nMZ)
33298 A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
33299 if (!option.negatable)
33300 A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
33301 _this._results.$indexSet(0, option.name, false);
33302 } else {
33303 t1 = _this._parser$_parent;
33304 if (t1 == null)
33305 A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
33306 t1._handleLongOption$2($name, value);
33307 return true;
33308 }
33309 return true;
33310 },
33311 _setOption$3(results, option, value) {
33312 var list, t1, t2, t3, _i, element;
33313 if (option.type !== B.OptionType_qyr) {
33314 this._validateAllowed$2(option, value);
33315 results.$indexSet(0, option.name, value);
33316 return;
33317 }
33318 list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
33319 if (option.splitCommas)
33320 for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
33321 element = t1[_i];
33322 this._validateAllowed$2(option, element);
33323 t3.add$1(list, element);
33324 }
33325 else {
33326 this._validateAllowed$2(option, value);
33327 J.add$1$ax(list, value);
33328 }
33329 },
33330 _validateAllowed$2(option, value) {
33331 var t1 = option.allowed;
33332 if (t1 == null)
33333 return;
33334 if (!B.JSArray_methods.contains$1(t1, value))
33335 A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
33336 }
33337 };
33338 A.Parser_parse_closure.prototype = {
33339 call$2($name, option) {
33340 var parsedOption = this.$this._results.$index(0, $name),
33341 callback = option.callback;
33342 if (callback == null)
33343 return;
33344 callback.call$1(option.valueOrDefault$1(parsedOption));
33345 },
33346 $signature: 518
33347 };
33348 A.Parser__setOption_closure.prototype = {
33349 call$0() {
33350 return A._setArrayType([], type$.JSArray_String);
33351 },
33352 $signature: 46
33353 };
33354 A._Usage.prototype = {
33355 get$_columnWidths() {
33356 var result, _this = this,
33357 value = _this.___Usage__columnWidths;
33358 if (value === $) {
33359 result = _this._calculateColumnWidths$0();
33360 A._lateInitializeOnceCheck(_this.___Usage__columnWidths, "_columnWidths");
33361 _this.___Usage__columnWidths = result;
33362 value = result;
33363 }
33364 return value;
33365 },
33366 generate$0() {
33367 var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
33368 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) {
33369 optionOrSeparator = t1[_i];
33370 if (typeof optionOrSeparator == "string") {
33371 t5 = t4._contents;
33372 t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
33373 _this._newlinesNeeded = 1;
33374 continue;
33375 }
33376 t3._as(optionOrSeparator);
33377 if (optionOrSeparator.hide)
33378 continue;
33379 _this._writeOption$1(optionOrSeparator);
33380 }
33381 t1 = t4._contents;
33382 return t1.charCodeAt(0) == 0 ? t1 : t1;
33383 },
33384 _writeOption$1(option) {
33385 var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
33386 t1 = option.abbr;
33387 _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
33388 t1 = _this._longOption$1(option);
33389 _this._write$2(1, t1);
33390 t1 = option.help;
33391 if (t1 != null)
33392 _this._write$2(2, t1);
33393 t1 = option.allowedHelp;
33394 if (t1 != null) {
33395 allowedNames = J.toList$0$ax(t1.get$keys(t1));
33396 B.JSArray_methods.sort$0(allowedNames);
33397 _this._newline$0();
33398 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) {
33399 $name = allowedNames[_i];
33400 t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
33401 _this._write$2(1, " [" + $name + "]" + t5);
33402 t5 = t1.$index(0, $name);
33403 t5.toString;
33404 _this._write$2(2, t5);
33405 }
33406 _this._newline$0();
33407 } else if (option.allowed != null)
33408 _this._write$2(2, _this._buildAllowedList$1(option));
33409 else {
33410 t1 = option.type;
33411 if (t1 === B.OptionType_nMZ) {
33412 if (option.defaultsTo === true)
33413 _this._write$2(2, "(defaults to on)");
33414 } else if (t1 === B.OptionType_qyr) {
33415 t1 = option.defaultsTo;
33416 if (t1 != null && J.get$isNotEmpty$asx(t1)) {
33417 type$.List_dynamic._as(t1);
33418 _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, ", ") + ")");
33419 }
33420 } else {
33421 t1 = option.defaultsTo;
33422 if (t1 != null)
33423 _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
33424 }
33425 }
33426 },
33427 _longOption$1(option) {
33428 var t1 = option.name,
33429 result = option.negatable ? "--[no-]" + t1 : "--" + t1;
33430 t1 = option.valueHelp;
33431 return t1 != null ? result + ("=<" + t1 + ">") : result;
33432 },
33433 _calculateColumnWidths$0() {
33434 var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
33435 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) {
33436 option = t1[_i];
33437 if (!(option instanceof A.Option))
33438 continue;
33439 if (option.hide)
33440 continue;
33441 t4 = option.abbr;
33442 abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
33443 t4 = this._longOption$1(option);
33444 title = Math.max(title, t4.length);
33445 t4 = option.allowedHelp;
33446 if (t4 != null)
33447 for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
33448 t7 = t4.get$current(t4);
33449 t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
33450 title = Math.max(title, (" [" + t7 + "]" + t8).length);
33451 }
33452 }
33453 return A._setArrayType([abbr, title + 4], type$.JSArray_int);
33454 },
33455 _newline$0() {
33456 ++this._newlinesNeeded;
33457 this._currentColumn = 0;
33458 },
33459 _write$2(column, text) {
33460 var t1, _i,
33461 lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
33462 this.get$_columnWidths();
33463 while (true) {
33464 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
33465 break;
33466 B.JSArray_methods.removeAt$1(lines, 0);
33467 }
33468 while (true) {
33469 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
33470 break;
33471 lines.pop();
33472 }
33473 for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
33474 this._writeLine$2(column, lines[_i]);
33475 },
33476 _writeLine$2(column, text) {
33477 var t1, t2, _this = this;
33478 for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
33479 t1._contents += "\n";
33480 _this._newlinesNeeded = t2 - 1;
33481 }
33482 for (; t2 = _this._currentColumn, t2 !== column;) {
33483 if (t2 < 2)
33484 t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
33485 else
33486 t1._contents += "\n";
33487 _this._currentColumn = (_this._currentColumn + 1) % 3;
33488 }
33489 _this.get$_columnWidths();
33490 if (column < 2)
33491 t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
33492 else
33493 t1._contents += text;
33494 _this._currentColumn = (_this._currentColumn + 1) % 3;
33495 if (column === 2)
33496 ++_this._newlinesNeeded;
33497 },
33498 _buildAllowedList$1(option) {
33499 var t2, t3, first, _i, allowed,
33500 t1 = option.defaultsTo,
33501 isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
33502 t1 = "" + "[";
33503 for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
33504 allowed = t2[_i];
33505 if (!first)
33506 t1 += ", ";
33507 t1 += A.S(allowed);
33508 if (isDefault.call$1(allowed))
33509 t1 += " (default)";
33510 }
33511 t1 += "]";
33512 return t1.charCodeAt(0) == 0 ? t1 : t1;
33513 }
33514 };
33515 A._Usage__writeOption_closure.prototype = {
33516 call$1(value) {
33517 return '"' + A.S(value) + '"';
33518 },
33519 $signature: 91
33520 };
33521 A._Usage__buildAllowedList_closure.prototype = {
33522 call$1(value) {
33523 return value === this.option.defaultsTo;
33524 },
33525 $signature: 134
33526 };
33527 A.ErrorResult.prototype = {
33528 complete$1(completer) {
33529 completer.completeError$2(this.error, this.stackTrace);
33530 },
33531 get$hashCode(_) {
33532 return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
33533 },
33534 $eq(_, other) {
33535 if (other == null)
33536 return false;
33537 return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
33538 },
33539 $isResult: 1
33540 };
33541 A.ValueResult.prototype = {
33542 complete$1(completer) {
33543 completer.complete$1(this.value);
33544 },
33545 get$hashCode(_) {
33546 return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
33547 },
33548 $eq(_, other) {
33549 if (other == null)
33550 return false;
33551 return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
33552 },
33553 $isResult: 1
33554 };
33555 A.StreamCompleter.prototype = {
33556 setSourceStream$1(sourceStream) {
33557 var t1 = this._stream_completer$_stream;
33558 if (t1._sourceStream != null)
33559 throw A.wrapException(A.StateError$("Source stream already set"));
33560 t1._sourceStream = sourceStream;
33561 if (t1._stream_completer$_controller != null)
33562 t1._linkStreamToController$0();
33563 },
33564 setError$2(error, stackTrace) {
33565 var t1 = this.$ti._precomputed1;
33566 this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
33567 },
33568 setError$1(error) {
33569 return this.setError$2(error, null);
33570 }
33571 };
33572 A._CompleterStream.prototype = {
33573 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
33574 var sourceStream, t1, _this = this, _null = null;
33575 if (_this._stream_completer$_controller == null) {
33576 sourceStream = _this._sourceStream;
33577 if (sourceStream != null && !sourceStream.get$isBroadcast())
33578 return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33579 if (_this._stream_completer$_controller == null)
33580 _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
33581 if (_this._sourceStream != null)
33582 _this._linkStreamToController$0();
33583 }
33584 t1 = _this._stream_completer$_controller;
33585 t1.toString;
33586 return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33587 },
33588 listen$1($receiver, onData) {
33589 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
33590 },
33591 listen$3$onDone$onError($receiver, onData, onDone, onError) {
33592 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
33593 },
33594 _linkStreamToController$0() {
33595 var t2,
33596 t1 = this._stream_completer$_controller;
33597 t1.toString;
33598 t2 = this._sourceStream;
33599 t2.toString;
33600 t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
33601 }
33602 };
33603 A.StreamGroup.prototype = {
33604 add$1(_, stream) {
33605 var t1, _this = this;
33606 if (_this._closed)
33607 throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
33608 t1 = _this._stream_group$_state;
33609 if (t1 === B._StreamGroupState_dormant)
33610 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
33611 else if (t1 === B._StreamGroupState_canceled)
33612 return stream.listen$1(0, null).cancel$0();
33613 else
33614 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
33615 return null;
33616 },
33617 remove$1(_, stream) {
33618 var t1 = this._subscriptions,
33619 subscription = t1.remove$1(0, stream),
33620 future = subscription == null ? null : subscription.cancel$0();
33621 if (t1.__js_helper$_length === 0)
33622 if (this._closed) {
33623 t1 = A._lateReadCheck(this.__StreamGroup__controller, "_controller");
33624 A.scheduleMicrotask(t1.get$close(t1));
33625 }
33626 return future;
33627 },
33628 _onListen$0() {
33629 var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
33630 _this._stream_group$_state = B._StreamGroupState_listening;
33631 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) {
33632 entry = t2[_i];
33633 if (entry.value != null)
33634 continue;
33635 stream = entry.key;
33636 try {
33637 t1.$indexSet(0, stream, _this._listenToStream$1(stream));
33638 } catch (exception) {
33639 t1 = _this._onCancel$0();
33640 if (t1 != null) {
33641 onError = new A.StreamGroup__onListen_closure();
33642 t2 = t1.$ti;
33643 t3 = $.Zone__current;
33644 if (t3 !== B.C__RootZone)
33645 onError = A._registerErrorHandler(onError, t3);
33646 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>")));
33647 }
33648 throw exception;
33649 }
33650 }
33651 },
33652 _onPause$0() {
33653 var t1, t2, t3;
33654 this._stream_group$_state = B._StreamGroupState_paused;
33655 for (t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
33656 t3 = t1.__internal$_current;
33657 (t3 == null ? t2._as(t3) : t3).pause$0(0);
33658 }
33659 },
33660 _onResume$0() {
33661 var t1, t2, t3;
33662 this._stream_group$_state = B._StreamGroupState_listening;
33663 for (t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
33664 t3 = t1.__internal$_current;
33665 (t3 == null ? t2._as(t3) : t3).resume$0(0);
33666 }
33667 },
33668 _onCancel$0() {
33669 var t1, t2, futures;
33670 this._stream_group$_state = B._StreamGroupState_canceled;
33671 t1 = this._subscriptions;
33672 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);
33673 futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
33674 t1.clear$0(0);
33675 return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
33676 },
33677 _listenToStream$1(stream) {
33678 var _this = this,
33679 _s11_ = "_controller",
33680 t1 = A._lateReadCheck(_this.__StreamGroup__controller, _s11_),
33681 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());
33682 if (_this._stream_group$_state === B._StreamGroupState_paused)
33683 subscription.pause$0(0);
33684 return subscription;
33685 }
33686 };
33687 A.StreamGroup_add_closure.prototype = {
33688 call$0() {
33689 return null;
33690 },
33691 $signature: 1
33692 };
33693 A.StreamGroup_add_closure0.prototype = {
33694 call$0() {
33695 return this.$this._listenToStream$1(this.stream);
33696 },
33697 $signature() {
33698 return this.$this.$ti._eval$1("StreamSubscription<1>()");
33699 }
33700 };
33701 A.StreamGroup__onListen_closure.prototype = {
33702 call$1(_) {
33703 },
33704 $signature: 67
33705 };
33706 A.StreamGroup__onCancel_closure.prototype = {
33707 call$1(entry) {
33708 var t1, exception,
33709 subscription = entry.value;
33710 try {
33711 if (subscription != null) {
33712 t1 = subscription.cancel$0();
33713 return t1;
33714 }
33715 t1 = J.listen$1$z(entry.key, null).cancel$0();
33716 return t1;
33717 } catch (exception) {
33718 return null;
33719 }
33720 },
33721 $signature() {
33722 return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
33723 }
33724 };
33725 A.StreamGroup__listenToStream_closure.prototype = {
33726 call$0() {
33727 return this.$this.remove$1(0, this.stream);
33728 },
33729 $signature: 0
33730 };
33731 A._StreamGroupState.prototype = {
33732 toString$0(_) {
33733 return this.name;
33734 }
33735 };
33736 A.StreamQueue.prototype = {
33737 _updateRequests$0() {
33738 var t1, t2, t3, t4, _this = this;
33739 for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) {
33740 t4 = t1._collection$_head;
33741 if (t4 === t1._collection$_tail)
33742 A.throwExpression(A.IterableElementError_noElement());
33743 t4 = t1._collection$_table[t4];
33744 if (t4 == null)
33745 t4 = t3._as(t4);
33746 if (t4.update$2(t2, _this._isDone))
33747 t1.removeFirst$0();
33748 else
33749 return;
33750 }
33751 if (!_this._isDone)
33752 _this._stream_queue$_subscription.pause$0(0);
33753 },
33754 _ensureListening$0() {
33755 var t1, _this = this;
33756 if (_this._isDone)
33757 return;
33758 t1 = _this._stream_queue$_subscription;
33759 if (t1 == null)
33760 _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));
33761 else
33762 t1.resume$0(0);
33763 },
33764 _addResult$1(result) {
33765 ++this._eventsReceived;
33766 this._eventQueue._queue_list$_add$1(result);
33767 this._updateRequests$0();
33768 },
33769 _addRequest$1(request) {
33770 var _this = this,
33771 t1 = _this._requestQueue;
33772 if (t1._collection$_head === t1._collection$_tail) {
33773 if (request.update$2(_this._eventQueue, _this._isDone))
33774 return;
33775 _this._ensureListening$0();
33776 }
33777 t1._add$1(request);
33778 }
33779 };
33780 A.StreamQueue__ensureListening_closure.prototype = {
33781 call$1(data) {
33782 var t1 = this.$this;
33783 t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
33784 },
33785 $signature() {
33786 return this.$this.$ti._eval$1("~(1)");
33787 }
33788 };
33789 A.StreamQueue__ensureListening_closure1.prototype = {
33790 call$2(error, stackTrace) {
33791 this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
33792 },
33793 $signature: 63
33794 };
33795 A.StreamQueue__ensureListening_closure0.prototype = {
33796 call$0() {
33797 var t1 = this.$this;
33798 t1._stream_queue$_subscription = null;
33799 t1._isDone = true;
33800 t1._updateRequests$0();
33801 },
33802 $signature: 0
33803 };
33804 A._NextRequest.prototype = {
33805 update$2(events, isDone) {
33806 if (!events.get$isEmpty(events)) {
33807 events.removeFirst$0().complete$1(this._completer);
33808 return true;
33809 }
33810 if (isDone) {
33811 this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
33812 return true;
33813 }
33814 return false;
33815 },
33816 $is_EventRequest: 1
33817 };
33818 A.Repl.prototype = {};
33819 A.alwaysValid_closure.prototype = {
33820 call$1(text) {
33821 return true;
33822 },
33823 $signature: 6
33824 };
33825 A.ReplAdapter.prototype = {
33826 runAsync$0() {
33827 var rl, runController, _this = this, t1 = {},
33828 t2 = J.get$isTTY$x(self.process.stdin),
33829 output = (t2 == null ? false : t2) ? self.process.stdout : null;
33830 t2 = _this.repl.prompt;
33831 rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
33832 _this.rl = rl;
33833 t1.statement = "";
33834 t1.prompt = t2;
33835 runController = A._Cell$();
33836 runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
33837 return runController._readLocal$0().get$stream();
33838 },
33839 exit$0(_) {
33840 var t1 = this.rl;
33841 if (t1 != null)
33842 J.close$0$x(t1);
33843 this.rl = null;
33844 }
33845 };
33846 A.ReplAdapter_runAsync_closure.prototype = {
33847 call$0() {
33848 var $async$goto = 0,
33849 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
33850 $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;
33851 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
33852 if ($async$errorCode === 1) {
33853 $async$currentError = $async$result;
33854 $async$goto = $async$handler;
33855 }
33856 while (true)
33857 switch ($async$goto) {
33858 case 0:
33859 // Function start
33860 $async$handler = 3;
33861 lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
33862 t1 = lineController;
33863 t2 = A.QueueList$(null, type$.Result_String);
33864 t3 = A.ListQueue$(type$._EventRequest_dynamic);
33865 lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
33866 t1 = $async$self.rl;
33867 t2 = J.getInterceptor$x(t1);
33868 t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
33869 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;
33870 case 6:
33871 // for condition
33872 // trivial condition
33873 t7 = J.get$isTTY$x(self.process.stdin);
33874 if (t7 == null ? false : t7)
33875 J.write$1$x(self.process.stdout, t3.prompt);
33876 t7 = lineQueue;
33877 t8 = A.instanceType(t7);
33878 t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
33879 t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
33880 $async$goto = 8;
33881 return A._asyncAwait(t9, $async$call$0);
33882 case 8:
33883 // returning from await.
33884 line = $async$result;
33885 t7 = J.get$isTTY$x(self.process.stdin);
33886 if (!(t7 == null ? false : t7)) {
33887 line0 = t3.prompt + A.S(line);
33888 toZone = $.printToZone;
33889 if (toZone == null)
33890 A.printString(line0);
33891 else
33892 toZone.call$1(line0);
33893 }
33894 statement = B.JSString_methods.$add(t3.statement, line);
33895 t3.statement = statement;
33896 if (t4.validator.call$1(statement)) {
33897 t7 = t5._value;
33898 if (t7 === t5)
33899 A.throwExpression(A.LateError$localNI(t6));
33900 J.add$1$ax(t7, t3.statement);
33901 t3.statement = "";
33902 t3.prompt = prompt0;
33903 t2.setPrompt$1(t1, prompt0);
33904 } else {
33905 t3.statement += "\n";
33906 t3.prompt = $prompt;
33907 t2.setPrompt$1(t1, $prompt);
33908 }
33909 // goto for condition
33910 $async$goto = 6;
33911 break;
33912 case 7:
33913 // after for
33914 $async$handler = 1;
33915 // goto after finally
33916 $async$goto = 5;
33917 break;
33918 case 3:
33919 // catch
33920 $async$handler = 2;
33921 $async$exception = $async$currentError;
33922 error = A.unwrapException($async$exception);
33923 stackTrace = A.getTraceFromException($async$exception);
33924 t1 = $async$self.runController;
33925 t1._readLocal$0().addError$2(error, stackTrace);
33926 $async$goto = 9;
33927 return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
33928 case 9:
33929 // returning from await.
33930 J.close$0$x(t1._readLocal$0());
33931 // goto after finally
33932 $async$goto = 5;
33933 break;
33934 case 2:
33935 // uncaught
33936 // goto rethrow
33937 $async$goto = 1;
33938 break;
33939 case 5:
33940 // after finally
33941 // implicit return
33942 return A._asyncReturn(null, $async$completer);
33943 case 1:
33944 // rethrow
33945 return A._asyncRethrow($async$currentError, $async$completer);
33946 }
33947 });
33948 return A._asyncStartSync($async$call$0, $async$completer);
33949 },
33950 $signature: 34
33951 };
33952 A.ReplAdapter_runAsync__closure.prototype = {
33953 call$1(value) {
33954 return this.lineController.add$1(0, A._asString(value));
33955 },
33956 $signature: 114
33957 };
33958 A.Stdin.prototype = {};
33959 A.Stdout.prototype = {};
33960 A.ReadlineModule.prototype = {};
33961 A.ReadlineOptions.prototype = {};
33962 A.ReadlineInterface.prototype = {};
33963 A.EmptyUnmodifiableSet.prototype = {
33964 get$iterator(_) {
33965 return B.C_EmptyIterator;
33966 },
33967 get$length(_) {
33968 return 0;
33969 },
33970 contains$1(_, element) {
33971 return false;
33972 },
33973 toSet$0(_) {
33974 return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
33975 },
33976 $isEfficientLengthIterable: 1,
33977 $isSet: 1
33978 };
33979 A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
33980 A.DefaultEquality.prototype = {};
33981 A.IterableEquality.prototype = {
33982 equals$2(_, elements1, elements2) {
33983 var it1, it2, hasNext;
33984 if (elements1 === elements2)
33985 return true;
33986 it1 = J.get$iterator$ax(elements1);
33987 it2 = J.get$iterator$ax(elements2);
33988 for (; true;) {
33989 hasNext = it1.moveNext$0();
33990 if (hasNext !== it2.moveNext$0())
33991 return false;
33992 if (!hasNext)
33993 return true;
33994 if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
33995 return false;
33996 }
33997 }
33998 };
33999 A.ListEquality.prototype = {
34000 equals$2(_, list1, list2) {
34001 var t1, $length, t2, i;
34002 if (list1 == null ? list2 == null : list1 === list2)
34003 return true;
34004 if (list1 == null || list2 == null)
34005 return false;
34006 t1 = J.getInterceptor$asx(list1);
34007 $length = t1.get$length(list1);
34008 t2 = J.getInterceptor$asx(list2);
34009 if ($length !== t2.get$length(list2))
34010 return false;
34011 for (i = 0; i < $length; ++i)
34012 if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
34013 return false;
34014 return true;
34015 },
34016 hash$1(list) {
34017 var hash, i;
34018 for (hash = 0, i = 0; i < list.length; ++i) {
34019 hash = hash + J.get$hashCode$(list[i]) & 2147483647;
34020 hash = hash + (hash << 10 >>> 0) & 2147483647;
34021 hash ^= hash >>> 6;
34022 }
34023 hash = hash + (hash << 3 >>> 0) & 2147483647;
34024 hash ^= hash >>> 11;
34025 return hash + (hash << 15 >>> 0) & 2147483647;
34026 }
34027 };
34028 A._MapEntry.prototype = {
34029 get$hashCode(_) {
34030 return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
34031 },
34032 $eq(_, other) {
34033 if (other == null)
34034 return false;
34035 return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
34036 }
34037 };
34038 A.MapEquality.prototype = {
34039 equals$2(_, map1, map2) {
34040 var equalElementCounts, t1, key, entry, count;
34041 if (map1 === map2)
34042 return true;
34043 if (map1.get$length(map1) !== map2.get$length(map2))
34044 return false;
34045 equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
34046 for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
34047 key = t1.get$current(t1);
34048 entry = new A._MapEntry(this, key, map1.$index(0, key));
34049 count = equalElementCounts.$index(0, entry);
34050 equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
34051 }
34052 for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
34053 key = t1.get$current(t1);
34054 entry = new A._MapEntry(this, key, map2.$index(0, key));
34055 count = equalElementCounts.$index(0, entry);
34056 if (count == null || count === 0)
34057 return false;
34058 equalElementCounts.$indexSet(0, entry, count - 1);
34059 }
34060 return true;
34061 },
34062 hash$1(map) {
34063 var t1, t2, hash, key, keyHash, t3;
34064 for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
34065 key = t1.get$current(t1);
34066 keyHash = J.get$hashCode$(key);
34067 t3 = map.$index(0, key);
34068 hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
34069 }
34070 hash = hash + (hash << 3 >>> 0) & 2147483647;
34071 hash ^= hash >>> 11;
34072 return hash + (hash << 15 >>> 0) & 2147483647;
34073 }
34074 };
34075 A.QueueList.prototype = {
34076 add$1(_, element) {
34077 this._queue_list$_add$1(element);
34078 },
34079 addAll$1(_, iterable) {
34080 var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
34081 if (type$.List_dynamic._is(iterable)) {
34082 addCount = J.get$length$asx(iterable);
34083 $length = _this.get$length(_this);
34084 t1 = $length + addCount;
34085 if (t1 >= J.get$length$asx(_this._table)) {
34086 _this._preGrow$1(t1);
34087 J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
34088 _this.set$_tail(_this.get$_tail() + addCount);
34089 } else {
34090 endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
34091 t1 = _this._table;
34092 t2 = J.getInterceptor$ax(t1);
34093 if (addCount < endSpace) {
34094 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
34095 _this.set$_tail(_this.get$_tail() + addCount);
34096 } else {
34097 preSpace = addCount - endSpace;
34098 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
34099 J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
34100 _this.set$_tail(preSpace);
34101 }
34102 }
34103 } else
34104 for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
34105 _this._queue_list$_add$1(t1.get$current(t1));
34106 },
34107 cast$1$0(_, $T) {
34108 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>"));
34109 },
34110 toString$0(_) {
34111 return A.IterableBase_iterableToFullString(this, "{", "}");
34112 },
34113 addFirst$1(element) {
34114 var _this = this;
34115 _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34116 J.$indexSet$ax(_this._table, _this.get$_head(), element);
34117 if (_this.get$_head() === _this.get$_tail())
34118 _this._grow$0();
34119 },
34120 removeFirst$0() {
34121 var result, _this = this;
34122 if (_this.get$_head() === _this.get$_tail())
34123 throw A.wrapException(A.StateError$("No element"));
34124 result = J.$index$asx(_this._table, _this.get$_head());
34125 if (result == null)
34126 result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
34127 J.$indexSet$ax(_this._table, _this.get$_head(), null);
34128 _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34129 return result;
34130 },
34131 get$length(_) {
34132 return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
34133 },
34134 set$length(_, value) {
34135 var delta, newTail, t1, t2, _this = this;
34136 if (value < 0)
34137 throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
34138 if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
34139 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) + "`."));
34140 delta = value - _this.get$length(_this);
34141 if (delta >= 0) {
34142 if (J.get$length$asx(_this._table) <= value)
34143 _this._preGrow$1(value);
34144 _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
34145 return;
34146 }
34147 newTail = _this.get$_tail() + delta;
34148 t1 = _this._table;
34149 if (newTail >= 0)
34150 J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
34151 else {
34152 newTail += J.get$length$asx(t1);
34153 J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
34154 t1 = _this._table;
34155 t2 = J.getInterceptor$asx(t1);
34156 t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
34157 }
34158 _this.set$_tail(newTail);
34159 },
34160 $index(_, index) {
34161 var t1, _this = this;
34162 if (index < 0 || index >= _this.get$length(_this))
34163 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34164 t1 = J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0);
34165 return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
34166 },
34167 $indexSet(_, index, value) {
34168 var _this = this;
34169 if (index < 0 || index >= _this.get$length(_this))
34170 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34171 J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
34172 },
34173 _queue_list$_add$1(element) {
34174 var _this = this;
34175 J.$indexSet$ax(_this._table, _this.get$_tail(), element);
34176 _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34177 if (_this.get$_head() === _this.get$_tail())
34178 _this._grow$0();
34179 },
34180 _grow$0() {
34181 var _this = this,
34182 newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
34183 split = J.get$length$asx(_this._table) - _this.get$_head();
34184 B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
34185 B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
34186 _this.set$_head(0);
34187 _this.set$_tail(J.get$length$asx(_this._table));
34188 _this._table = newTable;
34189 },
34190 _writeToList$1(target) {
34191 var $length, firstPartSize, _this = this;
34192 if (_this.get$_head() <= _this.get$_tail()) {
34193 $length = _this.get$_tail() - _this.get$_head();
34194 B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
34195 return $length;
34196 } else {
34197 firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
34198 B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
34199 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
34200 return _this.get$_tail() + firstPartSize;
34201 }
34202 },
34203 _preGrow$1(newElementCount) {
34204 var _this = this,
34205 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?"));
34206 _this.set$_tail(_this._writeToList$1(newTable));
34207 _this._table = newTable;
34208 _this.set$_head(0);
34209 },
34210 $isEfficientLengthIterable: 1,
34211 $isQueue: 1,
34212 $isIterable: 1,
34213 $isList: 1,
34214 get$_head() {
34215 return this._head;
34216 },
34217 get$_tail() {
34218 return this._tail;
34219 },
34220 set$_head(val) {
34221 return this._head = val;
34222 },
34223 set$_tail(val) {
34224 return this._tail = val;
34225 }
34226 };
34227 A._CastQueueList.prototype = {
34228 get$_head() {
34229 return this._queue_list$_delegate.get$_head();
34230 },
34231 set$_head(value) {
34232 this._queue_list$_delegate.set$_head(value);
34233 },
34234 get$_tail() {
34235 return this._queue_list$_delegate.get$_tail();
34236 },
34237 set$_tail(value) {
34238 this._queue_list$_delegate.set$_tail(value);
34239 }
34240 };
34241 A._QueueList_Object_ListMixin.prototype = {};
34242 A.UnmodifiableSetView.prototype = {};
34243 A.UnmodifiableSetMixin.prototype = {
34244 add$1(_, value) {
34245 return A.UnmodifiableSetMixin__throw();
34246 },
34247 addAll$1(_, elements) {
34248 return A.UnmodifiableSetMixin__throw();
34249 }
34250 };
34251 A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
34252 A._DelegatingIterableBase.prototype = {
34253 contains$1(_, element) {
34254 return J.contains$1$asx(this.get$_base(), element);
34255 },
34256 elementAt$1(_, index) {
34257 return J.elementAt$1$ax(this.get$_base(), index);
34258 },
34259 get$first(_) {
34260 return J.get$first$ax(this.get$_base());
34261 },
34262 get$isEmpty(_) {
34263 return J.get$isEmpty$asx(this.get$_base());
34264 },
34265 get$isNotEmpty(_) {
34266 return J.get$isNotEmpty$asx(this.get$_base());
34267 },
34268 get$iterator(_) {
34269 return J.get$iterator$ax(this.get$_base());
34270 },
34271 join$1(_, separator) {
34272 return J.join$1$ax(this.get$_base(), separator);
34273 },
34274 join$0($receiver) {
34275 return this.join$1($receiver, "");
34276 },
34277 get$last(_) {
34278 return J.get$last$ax(this.get$_base());
34279 },
34280 get$length(_) {
34281 return J.get$length$asx(this.get$_base());
34282 },
34283 map$1$1(_, f, $T) {
34284 return J.map$1$1$ax(this.get$_base(), f, $T);
34285 },
34286 get$single(_) {
34287 return J.get$single$ax(this.get$_base());
34288 },
34289 skip$1(_, n) {
34290 return J.skip$1$ax(this.get$_base(), n);
34291 },
34292 take$1(_, n) {
34293 return J.take$1$ax(this.get$_base(), n);
34294 },
34295 toList$1$growable(_, growable) {
34296 return J.toList$1$growable$ax(this.get$_base(), true);
34297 },
34298 toList$0($receiver) {
34299 return this.toList$1$growable($receiver, true);
34300 },
34301 toSet$0(_) {
34302 return J.toSet$0$ax(this.get$_base());
34303 },
34304 where$1(_, test) {
34305 return J.where$1$ax(this.get$_base(), test);
34306 },
34307 toString$0(_) {
34308 return J.toString$0$(this.get$_base());
34309 },
34310 $isIterable: 1
34311 };
34312 A.DelegatingSet.prototype = {
34313 add$1(_, value) {
34314 return this._base.add$1(0, value);
34315 },
34316 addAll$1(_, elements) {
34317 this._base.addAll$1(0, elements);
34318 },
34319 toSet$0(_) {
34320 return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
34321 },
34322 $isEfficientLengthIterable: 1,
34323 $isSet: 1,
34324 get$_base() {
34325 return this._base;
34326 }
34327 };
34328 A.MapKeySet.prototype = {
34329 get$_base() {
34330 var t1 = this._baseMap;
34331 return t1.get$keys(t1);
34332 },
34333 contains$1(_, element) {
34334 return this._baseMap.containsKey$1(element);
34335 },
34336 get$isEmpty(_) {
34337 var t1 = this._baseMap;
34338 return t1.get$isEmpty(t1);
34339 },
34340 get$isNotEmpty(_) {
34341 var t1 = this._baseMap;
34342 return t1.get$isNotEmpty(t1);
34343 },
34344 get$length(_) {
34345 var t1 = this._baseMap;
34346 return t1.get$length(t1);
34347 },
34348 toString$0(_) {
34349 return A.IterableBase_iterableToFullString(this, "{", "}");
34350 },
34351 difference$1(other) {
34352 return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
34353 },
34354 $isEfficientLengthIterable: 1,
34355 $isSet: 1
34356 };
34357 A.MapKeySet_difference_closure.prototype = {
34358 call$1(element) {
34359 return !this.other._source.contains$1(0, element);
34360 },
34361 $signature() {
34362 return this.$this.$ti._eval$1("bool(1)");
34363 }
34364 };
34365 A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
34366 A.BufferModule.prototype = {};
34367 A.BufferConstants.prototype = {};
34368 A.Buffer.prototype = {};
34369 A.ConsoleModule.prototype = {};
34370 A.Console.prototype = {};
34371 A.EventEmitter.prototype = {};
34372 A.FS.prototype = {};
34373 A.FSConstants.prototype = {};
34374 A.FSWatcher.prototype = {};
34375 A.ReadStream.prototype = {};
34376 A.ReadStreamOptions.prototype = {};
34377 A.WriteStream.prototype = {};
34378 A.WriteStreamOptions.prototype = {};
34379 A.FileOptions.prototype = {};
34380 A.StatOptions.prototype = {};
34381 A.MkdirOptions.prototype = {};
34382 A.RmdirOptions.prototype = {};
34383 A.WatchOptions.prototype = {};
34384 A.WatchFileOptions.prototype = {};
34385 A.Stats.prototype = {};
34386 A.Promise.prototype = {};
34387 A.Date.prototype = {};
34388 A.JsError.prototype = {};
34389 A.Atomics.prototype = {};
34390 A.Modules.prototype = {};
34391 A.Module1.prototype = {};
34392 A.Net.prototype = {};
34393 A.Socket.prototype = {};
34394 A.NetAddress.prototype = {};
34395 A.NetServer.prototype = {};
34396 A.NodeJsError.prototype = {};
34397 A.JsAssertionError.prototype = {};
34398 A.JsRangeError.prototype = {};
34399 A.JsReferenceError.prototype = {};
34400 A.JsSyntaxError.prototype = {};
34401 A.JsTypeError.prototype = {};
34402 A.JsSystemError.prototype = {};
34403 A.Process.prototype = {};
34404 A.CPUUsage.prototype = {};
34405 A.Release.prototype = {};
34406 A.StreamModule.prototype = {};
34407 A.Readable.prototype = {};
34408 A.Writable.prototype = {};
34409 A.Duplex.prototype = {};
34410 A.Transform.prototype = {};
34411 A.WritableOptions.prototype = {};
34412 A.ReadableOptions.prototype = {};
34413 A.Immediate.prototype = {};
34414 A.Timeout.prototype = {};
34415 A.TTY.prototype = {};
34416 A.TTYReadStream.prototype = {};
34417 A.TTYWriteStream.prototype = {};
34418 A.Util.prototype = {};
34419 A.promiseToFuture_closure.prototype = {
34420 call$1(value) {
34421 this.completer.complete$1(value);
34422 },
34423 $signature: 67
34424 };
34425 A.promiseToFuture_closure0.prototype = {
34426 call$1(error) {
34427 this.completer.completeError$1(error);
34428 },
34429 $signature: 67
34430 };
34431 A.futureToPromise_closure.prototype = {
34432 call$2(resolve, reject) {
34433 this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
34434 },
34435 $signature: 288
34436 };
34437 A.futureToPromise__closure.prototype = {
34438 call$1(result) {
34439 return this.resolve.call$1(result);
34440 },
34441 $signature() {
34442 return this.T._eval$1("@(0)");
34443 }
34444 };
34445 A.Context.prototype = {
34446 absolute$7(part1, part2, part3, part4, part5, part6, part7) {
34447 var t1;
34448 A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
34449 if (part2 == null) {
34450 t1 = this.style;
34451 t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
34452 } else
34453 t1 = false;
34454 if (t1)
34455 return part1;
34456 t1 = this._context$_current;
34457 return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
34458 },
34459 absolute$1(part1) {
34460 return this.absolute$7(part1, null, null, null, null, null, null);
34461 },
34462 dirname$1(path) {
34463 var t1, t2,
34464 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34465 parsed.removeTrailingSeparators$0();
34466 t1 = parsed.parts;
34467 t2 = t1.length;
34468 if (t2 === 0) {
34469 t1 = parsed.root;
34470 return t1 == null ? "." : t1;
34471 }
34472 if (t2 === 1) {
34473 t1 = parsed.root;
34474 return t1 == null ? "." : t1;
34475 }
34476 B.JSArray_methods.removeLast$0(t1);
34477 parsed.separators.pop();
34478 parsed.removeTrailingSeparators$0();
34479 return parsed.toString$0(0);
34480 },
34481 join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
34482 var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
34483 A._validateArgList("join", parts);
34484 return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
34485 },
34486 join$2($receiver, part1, part2) {
34487 return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
34488 },
34489 joinAll$1(parts) {
34490 var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
34491 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();) {
34492 t5 = t1.get$current(t1);
34493 if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
34494 parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
34495 path = t4.charCodeAt(0) == 0 ? t4 : t4;
34496 t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
34497 parsed.root = t4;
34498 if (t3.needsSeparator$1(t4))
34499 parsed.separators[0] = t3.get$separator(t3);
34500 t4 = "" + parsed.toString$0(0);
34501 } else if (t3.rootLength$1(t5) > 0) {
34502 isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
34503 t4 = "" + t5;
34504 } else {
34505 if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
34506 if (needsSeparator)
34507 t4 += t3.get$separator(t3);
34508 t4 += t5;
34509 }
34510 needsSeparator = t3.needsSeparator$1(t5);
34511 }
34512 return t4.charCodeAt(0) == 0 ? t4 : t4;
34513 },
34514 split$1(_, path) {
34515 var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
34516 t1 = parsed.parts,
34517 t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
34518 t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
34519 parsed.parts = t2;
34520 t1 = parsed.root;
34521 if (t1 != null)
34522 B.JSArray_methods.insert$2(t2, 0, t1);
34523 return parsed.parts;
34524 },
34525 canonicalize$1(_, path) {
34526 var t1, parsed;
34527 path = this.absolute$1(path);
34528 t1 = this.style;
34529 if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
34530 return path;
34531 parsed = A.ParsedPath_ParsedPath$parse(path, t1);
34532 parsed.normalize$1$canonicalize(true);
34533 return parsed.toString$0(0);
34534 },
34535 normalize$1(path) {
34536 var parsed;
34537 if (!this._needsNormalization$1(path))
34538 return path;
34539 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34540 parsed.normalize$0();
34541 return parsed.toString$0(0);
34542 },
34543 _needsNormalization$1(path) {
34544 var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
34545 t1 = this.style,
34546 root = t1.rootLength$1(path);
34547 if (root !== 0) {
34548 if (t1 === $.$get$Style_windows())
34549 for (i = 0; i < root; ++i)
34550 if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
34551 return true;
34552 start = root;
34553 previous = 47;
34554 } else {
34555 start = 0;
34556 previous = null;
34557 }
34558 for (t2 = new A.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
34559 codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
34560 if (t1.isSeparator$1(codeUnit)) {
34561 if (t1 === $.$get$Style_windows() && codeUnit === 47)
34562 return true;
34563 if (previous != null && t1.isSeparator$1(previous))
34564 return true;
34565 if (previous === 46)
34566 t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
34567 else
34568 t4 = false;
34569 if (t4)
34570 return true;
34571 }
34572 }
34573 if (previous == null)
34574 return true;
34575 if (t1.isSeparator$1(previous))
34576 return true;
34577 if (previous === 46)
34578 t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
34579 else
34580 t1 = false;
34581 if (t1)
34582 return true;
34583 return false;
34584 },
34585 relative$2$from(path, from) {
34586 var fromParsed, pathParsed, t2, t3, _this = this,
34587 _s26_ = 'Unable to find a path to "',
34588 t1 = from == null;
34589 if (t1 && _this.style.rootLength$1(path) <= 0)
34590 return _this.normalize$1(path);
34591 if (t1) {
34592 t1 = _this._context$_current;
34593 from = t1 == null ? A.current() : t1;
34594 } else
34595 from = _this.absolute$1(from);
34596 t1 = _this.style;
34597 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
34598 return _this.normalize$1(path);
34599 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
34600 path = _this.absolute$1(path);
34601 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
34602 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34603 fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
34604 fromParsed.normalize$0();
34605 pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
34606 pathParsed.normalize$0();
34607 t2 = fromParsed.parts;
34608 if (t2.length !== 0 && J.$eq$(t2[0], "."))
34609 return pathParsed.toString$0(0);
34610 t2 = fromParsed.root;
34611 t3 = pathParsed.root;
34612 if (t2 != t3)
34613 t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
34614 else
34615 t2 = false;
34616 if (t2)
34617 return pathParsed.toString$0(0);
34618 while (true) {
34619 t2 = fromParsed.parts;
34620 if (t2.length !== 0) {
34621 t3 = pathParsed.parts;
34622 t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
34623 } else
34624 t2 = false;
34625 if (!t2)
34626 break;
34627 B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
34628 B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
34629 B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
34630 B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
34631 }
34632 t2 = fromParsed.parts;
34633 if (t2.length !== 0 && J.$eq$(t2[0], ".."))
34634 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34635 t2 = type$.String;
34636 B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
34637 t3 = pathParsed.separators;
34638 t3[0] = "";
34639 B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
34640 t1 = pathParsed.parts;
34641 t2 = t1.length;
34642 if (t2 === 0)
34643 return ".";
34644 if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
34645 B.JSArray_methods.removeLast$0(pathParsed.parts);
34646 t1 = pathParsed.separators;
34647 t1.pop();
34648 t1.pop();
34649 t1.push("");
34650 }
34651 pathParsed.root = "";
34652 pathParsed.removeTrailingSeparators$0();
34653 return pathParsed.toString$0(0);
34654 },
34655 relative$1(path) {
34656 return this.relative$2$from(path, null);
34657 },
34658 _isWithinOrEquals$2($parent, child) {
34659 var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
34660 $parent = $parent;
34661 child = child;
34662 t1 = _this.style;
34663 parentIsAbsolute = t1.rootLength$1($parent) > 0;
34664 childIsAbsolute = t1.rootLength$1(child) > 0;
34665 if (parentIsAbsolute && !childIsAbsolute) {
34666 child = _this.absolute$1(child);
34667 if (t1.isRootRelative$1($parent))
34668 $parent = _this.absolute$1($parent);
34669 } else if (childIsAbsolute && !parentIsAbsolute) {
34670 $parent = _this.absolute$1($parent);
34671 if (t1.isRootRelative$1(child))
34672 child = _this.absolute$1(child);
34673 } else if (childIsAbsolute && parentIsAbsolute) {
34674 childIsRootRelative = t1.isRootRelative$1(child);
34675 parentIsRootRelative = t1.isRootRelative$1($parent);
34676 if (childIsRootRelative && !parentIsRootRelative)
34677 child = _this.absolute$1(child);
34678 else if (parentIsRootRelative && !childIsRootRelative)
34679 $parent = _this.absolute$1($parent);
34680 }
34681 result = _this._isWithinOrEqualsFast$2($parent, child);
34682 if (result !== B._PathRelation_inconclusive)
34683 return result;
34684 relative = null;
34685 try {
34686 relative = _this.relative$2$from(child, $parent);
34687 } catch (exception) {
34688 if (A.unwrapException(exception) instanceof A.PathException)
34689 return B._PathRelation_different;
34690 else
34691 throw exception;
34692 }
34693 if (t1.rootLength$1(relative) > 0)
34694 return B._PathRelation_different;
34695 if (J.$eq$(relative, "."))
34696 return B._PathRelation_equal;
34697 if (J.$eq$(relative, ".."))
34698 return B._PathRelation_different;
34699 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;
34700 },
34701 _isWithinOrEqualsFast$2($parent, child) {
34702 var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
34703 if ($parent === ".")
34704 $parent = "";
34705 t1 = _this.style;
34706 parentRootLength = t1.rootLength$1($parent);
34707 childRootLength = t1.rootLength$1(child);
34708 if (parentRootLength !== childRootLength)
34709 return B._PathRelation_different;
34710 for (i = 0; i < parentRootLength; ++i)
34711 if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
34712 return B._PathRelation_different;
34713 t2 = child.length;
34714 t3 = $parent.length;
34715 childIndex = childRootLength;
34716 parentIndex = parentRootLength;
34717 lastCodeUnit = 47;
34718 lastParentSeparator = null;
34719 while (true) {
34720 if (!(parentIndex < t3 && childIndex < t2))
34721 break;
34722 c$0: {
34723 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34724 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34725 if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
34726 if (t1.isSeparator$1(parentCodeUnit))
34727 lastParentSeparator = parentIndex;
34728 ++parentIndex;
34729 ++childIndex;
34730 lastCodeUnit = parentCodeUnit;
34731 break c$0;
34732 }
34733 if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34734 parentIndex0 = parentIndex + 1;
34735 lastParentSeparator = parentIndex;
34736 parentIndex = parentIndex0;
34737 break c$0;
34738 } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34739 ++childIndex;
34740 break c$0;
34741 }
34742 if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34743 ++parentIndex;
34744 if (parentIndex === t3)
34745 break;
34746 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34747 if (t1.isSeparator$1(parentCodeUnit)) {
34748 parentIndex0 = parentIndex + 1;
34749 lastParentSeparator = parentIndex;
34750 parentIndex = parentIndex0;
34751 break c$0;
34752 }
34753 if (parentCodeUnit === 46) {
34754 ++parentIndex;
34755 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34756 return B._PathRelation_inconclusive;
34757 }
34758 }
34759 if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34760 ++childIndex;
34761 if (childIndex === t2)
34762 break;
34763 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34764 if (t1.isSeparator$1(childCodeUnit)) {
34765 ++childIndex;
34766 break c$0;
34767 }
34768 if (childCodeUnit === 46) {
34769 ++childIndex;
34770 if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
34771 return B._PathRelation_inconclusive;
34772 }
34773 }
34774 if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
34775 return B._PathRelation_inconclusive;
34776 if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
34777 return B._PathRelation_inconclusive;
34778 return B._PathRelation_different;
34779 }
34780 }
34781 if (childIndex === t2) {
34782 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34783 lastParentSeparator = parentIndex;
34784 else if (lastParentSeparator == null)
34785 lastParentSeparator = Math.max(0, parentRootLength - 1);
34786 direction = _this._pathDirection$2($parent, lastParentSeparator);
34787 if (direction === B._PathDirection_8Gl)
34788 return B._PathRelation_equal;
34789 return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
34790 }
34791 direction = _this._pathDirection$2(child, childIndex);
34792 if (direction === B._PathDirection_8Gl)
34793 return B._PathRelation_equal;
34794 if (direction === B._PathDirection_ZGD)
34795 return B._PathRelation_inconclusive;
34796 return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
34797 },
34798 _pathDirection$2(path, index) {
34799 var t1, t2, i, depth, reachedRoot, i0, t3;
34800 for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
34801 while (true) {
34802 if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
34803 break;
34804 ++i;
34805 }
34806 if (i === t1)
34807 break;
34808 i0 = i;
34809 while (true) {
34810 if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
34811 break;
34812 ++i0;
34813 }
34814 t3 = i0 - i;
34815 if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
34816 if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
34817 --depth;
34818 if (depth < 0)
34819 break;
34820 if (depth === 0)
34821 reachedRoot = true;
34822 } else
34823 ++depth;
34824 if (i0 === t1)
34825 break;
34826 i = i0 + 1;
34827 }
34828 if (depth < 0)
34829 return B._PathDirection_ZGD;
34830 if (depth === 0)
34831 return B._PathDirection_8Gl;
34832 if (reachedRoot)
34833 return B._PathDirection_FIw;
34834 return B._PathDirection_988;
34835 },
34836 hash$1(path) {
34837 var result, parsed, t1, _this = this;
34838 path = _this.absolute$1(path);
34839 result = _this._hashFast$1(path);
34840 if (result != null)
34841 return result;
34842 parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
34843 parsed.normalize$0();
34844 t1 = _this._hashFast$1(parsed.toString$0(0));
34845 t1.toString;
34846 return t1;
34847 },
34848 _hashFast$1(path) {
34849 var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
34850 for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
34851 codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
34852 if (t2.isSeparator$1(codeUnit)) {
34853 wasSeparator = true;
34854 continue;
34855 }
34856 if (codeUnit === 46 && wasSeparator) {
34857 t3 = i + 1;
34858 if (t3 === t1)
34859 break;
34860 next = B.JSString_methods._codeUnitAt$1(path, t3);
34861 if (t2.isSeparator$1(next))
34862 continue;
34863 if (!beginning)
34864 if (next === 46) {
34865 t3 = i + 2;
34866 t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
34867 } else
34868 t3 = false;
34869 else
34870 t3 = false;
34871 if (t3)
34872 return null;
34873 }
34874 hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
34875 beginning = false;
34876 wasSeparator = false;
34877 }
34878 return hash;
34879 },
34880 withoutExtension$1(path) {
34881 var i,
34882 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34883 for (i = parsed.parts.length - 1; i >= 0; --i)
34884 if (J.get$length$asx(parsed.parts[i]) !== 0) {
34885 parsed.parts[i] = parsed._splitExtension$0()[0];
34886 break;
34887 }
34888 return parsed.toString$0(0);
34889 },
34890 toUri$1(path) {
34891 var t2,
34892 t1 = this.style;
34893 if (t1.rootLength$1(path) <= 0)
34894 return t1.relativePathToUri$1(path);
34895 else {
34896 t2 = this._context$_current;
34897 return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
34898 }
34899 },
34900 prettyUri$1(uri) {
34901 var path, rel, _this = this,
34902 typedUri = A._parseUri(uri);
34903 if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
34904 return typedUri.toString$0(0);
34905 else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
34906 return typedUri.toString$0(0);
34907 path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
34908 rel = _this.relative$1(path);
34909 return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
34910 }
34911 };
34912 A.Context_joinAll_closure.prototype = {
34913 call$1(part) {
34914 return part !== "";
34915 },
34916 $signature: 6
34917 };
34918 A.Context_split_closure.prototype = {
34919 call$1(part) {
34920 return part.length !== 0;
34921 },
34922 $signature: 6
34923 };
34924 A._validateArgList_closure.prototype = {
34925 call$1(arg) {
34926 return arg == null ? "null" : '"' + arg + '"';
34927 },
34928 $signature: 290
34929 };
34930 A._PathDirection.prototype = {
34931 toString$0(_) {
34932 return this.name;
34933 }
34934 };
34935 A._PathRelation.prototype = {
34936 toString$0(_) {
34937 return this.name;
34938 }
34939 };
34940 A.InternalStyle.prototype = {
34941 getRoot$1(path) {
34942 var $length = this.rootLength$1(path);
34943 if ($length > 0)
34944 return B.JSString_methods.substring$2(path, 0, $length);
34945 return this.isRootRelative$1(path) ? path[0] : null;
34946 },
34947 relativePathToUri$1(path) {
34948 var segments, _null = null,
34949 t1 = path.length;
34950 if (t1 === 0)
34951 return A._Uri__Uri(_null, _null, _null, _null);
34952 segments = A.Context_Context(this).split$1(0, path);
34953 if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
34954 B.JSArray_methods.add$1(segments, "");
34955 return A._Uri__Uri(_null, _null, segments, _null);
34956 },
34957 codeUnitsEqual$2(codeUnit1, codeUnit2) {
34958 return codeUnit1 === codeUnit2;
34959 },
34960 pathsEqual$2(path1, path2) {
34961 return path1 === path2;
34962 },
34963 canonicalizeCodeUnit$1(codeUnit) {
34964 return codeUnit;
34965 },
34966 canonicalizePart$1(part) {
34967 return part;
34968 }
34969 };
34970 A.ParsedPath.prototype = {
34971 get$basename() {
34972 var _this = this,
34973 t1 = type$.String,
34974 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));
34975 copy.removeTrailingSeparators$0();
34976 t1 = copy.parts;
34977 if (t1.length === 0) {
34978 t1 = _this.root;
34979 return t1 == null ? "" : t1;
34980 }
34981 return B.JSArray_methods.get$last(t1);
34982 },
34983 get$hasTrailingSeparator() {
34984 var t1 = this.parts;
34985 if (t1.length !== 0)
34986 t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
34987 else
34988 t1 = false;
34989 return t1;
34990 },
34991 removeTrailingSeparators$0() {
34992 var t1, t2, _this = this;
34993 while (true) {
34994 t1 = _this.parts;
34995 if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
34996 break;
34997 B.JSArray_methods.removeLast$0(_this.parts);
34998 _this.separators.pop();
34999 }
35000 t1 = _this.separators;
35001 t2 = t1.length;
35002 if (t2 !== 0)
35003 t1[t2 - 1] = "";
35004 },
35005 normalize$1$canonicalize(canonicalize) {
35006 var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
35007 newParts = A._setArrayType([], type$.JSArray_String);
35008 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) {
35009 part = t1[_i];
35010 t4 = J.getInterceptor$(part);
35011 if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
35012 if (t4.$eq(part, ".."))
35013 if (newParts.length !== 0)
35014 newParts.pop();
35015 else
35016 ++leadingDoubles;
35017 else
35018 newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
35019 }
35020 if (_this.root == null)
35021 B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
35022 if (newParts.length === 0 && _this.root == null)
35023 newParts.push(".");
35024 _this.parts = newParts;
35025 _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
35026 t1 = _this.root;
35027 if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
35028 _this.separators[0] = "";
35029 t1 = _this.root;
35030 if (t1 != null && t3 === $.$get$Style_windows()) {
35031 if (canonicalize)
35032 t1 = _this.root = t1.toLowerCase();
35033 t1.toString;
35034 _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
35035 }
35036 _this.removeTrailingSeparators$0();
35037 },
35038 normalize$0() {
35039 return this.normalize$1$canonicalize(false);
35040 },
35041 toString$0(_) {
35042 var i, _this = this,
35043 t1 = _this.root;
35044 t1 = t1 != null ? "" + t1 : "";
35045 for (i = 0; i < _this.parts.length; ++i)
35046 t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
35047 t1 += A.S(B.JSArray_methods.get$last(_this.separators));
35048 return t1.charCodeAt(0) == 0 ? t1 : t1;
35049 },
35050 _kthLastIndexOf$3(path, character, k) {
35051 var index, count, leftMostIndexedCharacter;
35052 for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
35053 if (path[index] === character) {
35054 ++count;
35055 if (count === k)
35056 return index;
35057 leftMostIndexedCharacter = index;
35058 }
35059 return leftMostIndexedCharacter;
35060 },
35061 _splitExtension$1(level) {
35062 var t1, file, lastDot;
35063 if (level <= 0)
35064 throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
35065 t1 = this.parts;
35066 t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
35067 file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
35068 if (file == null)
35069 return A._setArrayType(["", ""], type$.JSArray_String);
35070 if (file === "..")
35071 return A._setArrayType(["..", ""], type$.JSArray_String);
35072 lastDot = this._kthLastIndexOf$3(file, ".", level);
35073 if (lastDot <= 0)
35074 return A._setArrayType([file, ""], type$.JSArray_String);
35075 return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
35076 },
35077 _splitExtension$0() {
35078 return this._splitExtension$1(1);
35079 }
35080 };
35081 A.ParsedPath__splitExtension_closure.prototype = {
35082 call$1(p) {
35083 return p !== "";
35084 },
35085 $signature: 223
35086 };
35087 A.ParsedPath__splitExtension_closure0.prototype = {
35088 call$0() {
35089 return null;
35090 },
35091 $signature: 1
35092 };
35093 A.PathException.prototype = {
35094 toString$0(_) {
35095 return "PathException: " + this.message;
35096 },
35097 $isException: 1,
35098 get$message(receiver) {
35099 return this.message;
35100 }
35101 };
35102 A.PathMap.prototype = {};
35103 A.PathMap__create_closure.prototype = {
35104 call$2(path1, path2) {
35105 if (path1 == null)
35106 return path2 == null;
35107 if (path2 == null)
35108 return false;
35109 return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
35110 },
35111 $signature: 298
35112 };
35113 A.PathMap__create_closure0.prototype = {
35114 call$1(path) {
35115 return path == null ? 0 : this._box_0.context.hash$1(path);
35116 },
35117 $signature: 311
35118 };
35119 A.PathMap__create_closure1.prototype = {
35120 call$1(path) {
35121 return typeof path == "string" || path == null;
35122 },
35123 $signature: 134
35124 };
35125 A.Style.prototype = {
35126 toString$0(_) {
35127 return this.get$name(this);
35128 }
35129 };
35130 A.PosixStyle.prototype = {
35131 containsSeparator$1(path) {
35132 return B.JSString_methods.contains$1(path, "/");
35133 },
35134 isSeparator$1(codeUnit) {
35135 return codeUnit === 47;
35136 },
35137 needsSeparator$1(path) {
35138 var t1 = path.length;
35139 return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
35140 },
35141 rootLength$2$withDrive(path, withDrive) {
35142 if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35143 return 1;
35144 return 0;
35145 },
35146 rootLength$1(path) {
35147 return this.rootLength$2$withDrive(path, false);
35148 },
35149 isRootRelative$1(path) {
35150 return false;
35151 },
35152 pathFromUri$1(uri) {
35153 var t1;
35154 if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
35155 t1 = uri.get$path(uri);
35156 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35157 }
35158 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35159 },
35160 absolutePathToUri$1(path) {
35161 var parsed = A.ParsedPath_ParsedPath$parse(path, this),
35162 t1 = parsed.parts;
35163 if (t1.length === 0)
35164 B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
35165 else if (parsed.get$hasTrailingSeparator())
35166 B.JSArray_methods.add$1(parsed.parts, "");
35167 return A._Uri__Uri(null, null, parsed.parts, "file");
35168 },
35169 get$name() {
35170 return "posix";
35171 },
35172 get$separator() {
35173 return "/";
35174 }
35175 };
35176 A.UrlStyle.prototype = {
35177 containsSeparator$1(path) {
35178 return B.JSString_methods.contains$1(path, "/");
35179 },
35180 isSeparator$1(codeUnit) {
35181 return codeUnit === 47;
35182 },
35183 needsSeparator$1(path) {
35184 var t1 = path.length;
35185 if (t1 === 0)
35186 return false;
35187 if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
35188 return true;
35189 return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
35190 },
35191 rootLength$2$withDrive(path, withDrive) {
35192 var i, codeUnit, index, t2,
35193 t1 = path.length;
35194 if (t1 === 0)
35195 return 0;
35196 if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35197 return 1;
35198 for (i = 0; i < t1; ++i) {
35199 codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
35200 if (codeUnit === 47)
35201 return 0;
35202 if (codeUnit === 58) {
35203 if (i === 0)
35204 return 0;
35205 index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
35206 if (index <= 0)
35207 return t1;
35208 if (!withDrive || t1 < index + 3)
35209 return index;
35210 if (!B.JSString_methods.startsWith$1(path, "file://"))
35211 return index;
35212 if (!A.isDriveLetter(path, index + 1))
35213 return index;
35214 t2 = index + 3;
35215 return t1 === t2 ? t2 : index + 4;
35216 }
35217 }
35218 return 0;
35219 },
35220 rootLength$1(path) {
35221 return this.rootLength$2$withDrive(path, false);
35222 },
35223 isRootRelative$1(path) {
35224 return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
35225 },
35226 pathFromUri$1(uri) {
35227 return uri.toString$0(0);
35228 },
35229 relativePathToUri$1(path) {
35230 return A.Uri_parse(path);
35231 },
35232 absolutePathToUri$1(path) {
35233 return A.Uri_parse(path);
35234 },
35235 get$name() {
35236 return "url";
35237 },
35238 get$separator() {
35239 return "/";
35240 }
35241 };
35242 A.WindowsStyle.prototype = {
35243 containsSeparator$1(path) {
35244 return B.JSString_methods.contains$1(path, "/");
35245 },
35246 isSeparator$1(codeUnit) {
35247 return codeUnit === 47 || codeUnit === 92;
35248 },
35249 needsSeparator$1(path) {
35250 var t1 = path.length;
35251 if (t1 === 0)
35252 return false;
35253 t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
35254 return !(t1 === 47 || t1 === 92);
35255 },
35256 rootLength$2$withDrive(path, withDrive) {
35257 var t2, index,
35258 t1 = path.length;
35259 if (t1 === 0)
35260 return 0;
35261 t2 = B.JSString_methods._codeUnitAt$1(path, 0);
35262 if (t2 === 47)
35263 return 1;
35264 if (t2 === 92) {
35265 if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
35266 return 1;
35267 index = B.JSString_methods.indexOf$2(path, "\\", 2);
35268 if (index > 0) {
35269 index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
35270 if (index > 0)
35271 return index;
35272 }
35273 return t1;
35274 }
35275 if (t1 < 3)
35276 return 0;
35277 if (!A.isAlphabetic(t2))
35278 return 0;
35279 if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
35280 return 0;
35281 t1 = B.JSString_methods._codeUnitAt$1(path, 2);
35282 if (!(t1 === 47 || t1 === 92))
35283 return 0;
35284 return 3;
35285 },
35286 rootLength$1(path) {
35287 return this.rootLength$2$withDrive(path, false);
35288 },
35289 isRootRelative$1(path) {
35290 return this.rootLength$1(path) === 1;
35291 },
35292 pathFromUri$1(uri) {
35293 var path, t1;
35294 if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
35295 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35296 path = uri.get$path(uri);
35297 if (uri.get$host() === "") {
35298 if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
35299 path = B.JSString_methods.replaceFirst$2(path, "/", "");
35300 } else
35301 path = "\\\\" + uri.get$host() + path;
35302 t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
35303 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35304 },
35305 absolutePathToUri$1(path) {
35306 var rootParts, t2,
35307 parsed = A.ParsedPath_ParsedPath$parse(path, this),
35308 t1 = parsed.root;
35309 t1.toString;
35310 if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
35311 rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
35312 B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
35313 if (parsed.get$hasTrailingSeparator())
35314 B.JSArray_methods.add$1(parsed.parts, "");
35315 return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
35316 } else {
35317 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
35318 B.JSArray_methods.add$1(parsed.parts, "");
35319 t1 = parsed.parts;
35320 t2 = parsed.root;
35321 t2.toString;
35322 t2 = A.stringReplaceAllUnchecked(t2, "/", "");
35323 B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
35324 return A._Uri__Uri(null, null, parsed.parts, "file");
35325 }
35326 },
35327 codeUnitsEqual$2(codeUnit1, codeUnit2) {
35328 var upperCase1;
35329 if (codeUnit1 === codeUnit2)
35330 return true;
35331 if (codeUnit1 === 47)
35332 return codeUnit2 === 92;
35333 if (codeUnit1 === 92)
35334 return codeUnit2 === 47;
35335 if ((codeUnit1 ^ codeUnit2) !== 32)
35336 return false;
35337 upperCase1 = codeUnit1 | 32;
35338 return upperCase1 >= 97 && upperCase1 <= 122;
35339 },
35340 pathsEqual$2(path1, path2) {
35341 var t1, i;
35342 if (path1 === path2)
35343 return true;
35344 t1 = path1.length;
35345 if (t1 !== path2.length)
35346 return false;
35347 for (i = 0; i < t1; ++i)
35348 if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
35349 return false;
35350 return true;
35351 },
35352 canonicalizeCodeUnit$1(codeUnit) {
35353 if (codeUnit === 47)
35354 return 92;
35355 if (codeUnit < 65)
35356 return codeUnit;
35357 if (codeUnit > 90)
35358 return codeUnit;
35359 return codeUnit | 32;
35360 },
35361 canonicalizePart$1(part) {
35362 return part.toLowerCase();
35363 },
35364 get$name() {
35365 return "windows";
35366 },
35367 get$separator() {
35368 return "\\";
35369 }
35370 };
35371 A.WindowsStyle_absolutePathToUri_closure.prototype = {
35372 call$1(part) {
35373 return part !== "";
35374 },
35375 $signature: 6
35376 };
35377 A.CssMediaQuery.prototype = {
35378 merge$1(other) {
35379 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
35380 t1 = _this.modifier,
35381 ourModifier = t1 == null ? _null : t1.toLowerCase(),
35382 t2 = _this.type,
35383 t3 = t2 == null,
35384 ourType = t3 ? _null : t2.toLowerCase(),
35385 t4 = other.modifier,
35386 theirModifier = t4 == null ? _null : t4.toLowerCase(),
35387 t5 = other.type,
35388 t6 = t5 == null,
35389 theirType = t6 ? _null : t5.toLowerCase(),
35390 t7 = ourType == null;
35391 if (t7 && theirType == null) {
35392 t1 = type$.String;
35393 t2 = A.List_List$of(_this.features, true, t1);
35394 B.JSArray_methods.addAll$1(t2, other.features);
35395 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(t2, t1)));
35396 }
35397 t8 = ourModifier === "not";
35398 if (t8 !== (theirModifier === "not")) {
35399 if (ourType == theirType) {
35400 negativeFeatures = t8 ? _this.features : other.features;
35401 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
35402 return B._SingletonCssMediaQueryMergeResult_empty;
35403 else
35404 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35405 } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
35406 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35407 if (t8) {
35408 features = other.features;
35409 type = theirType;
35410 modifier = theirModifier;
35411 } else {
35412 features = _this.features;
35413 type = ourType;
35414 modifier = ourModifier;
35415 }
35416 } else if (t8) {
35417 if (ourType != theirType)
35418 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35419 fewerFeatures = _this.features;
35420 fewerFeatures0 = other.features;
35421 t3 = fewerFeatures.length > fewerFeatures0.length;
35422 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
35423 if (t3)
35424 fewerFeatures = fewerFeatures0;
35425 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
35426 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35427 features = moreFeatures;
35428 type = ourType;
35429 modifier = ourModifier;
35430 } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
35431 type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
35432 t3 = A.List_List$of(_this.features, true, type$.String);
35433 B.JSArray_methods.addAll$1(t3, other.features);
35434 features = t3;
35435 modifier = theirModifier;
35436 } else {
35437 if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
35438 t3 = A.List_List$of(_this.features, true, type$.String);
35439 B.JSArray_methods.addAll$1(t3, other.features);
35440 features = t3;
35441 modifier = ourModifier;
35442 } else {
35443 if (ourType != theirType)
35444 return B._SingletonCssMediaQueryMergeResult_empty;
35445 else {
35446 modifier = ourModifier == null ? theirModifier : ourModifier;
35447 t3 = A.List_List$of(_this.features, true, type$.String);
35448 B.JSArray_methods.addAll$1(t3, other.features);
35449 }
35450 features = t3;
35451 }
35452 type = ourType;
35453 }
35454 t2 = type == ourType ? t2 : t5;
35455 t1 = modifier == ourModifier ? t1 : t4;
35456 t3 = A.List_List$unmodifiable(features, type$.String);
35457 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(t1, t2, t3));
35458 },
35459 $eq(_, other) {
35460 if (other == null)
35461 return false;
35462 return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
35463 },
35464 get$hashCode(_) {
35465 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
35466 },
35467 toString$0(_) {
35468 var t2, _this = this,
35469 t1 = _this.modifier;
35470 t1 = t1 != null ? "" + (t1 + " ") : "";
35471 t2 = _this.type;
35472 if (t2 != null) {
35473 t1 += t2;
35474 if (_this.features.length !== 0)
35475 t1 += " and ";
35476 }
35477 t1 += B.JSArray_methods.join$1(_this.features, " and ");
35478 return t1.charCodeAt(0) == 0 ? t1 : t1;
35479 }
35480 };
35481 A._SingletonCssMediaQueryMergeResult.prototype = {
35482 toString$0(_) {
35483 return this._media_query$_name;
35484 }
35485 };
35486 A.MediaQuerySuccessfulMergeResult.prototype = {};
35487 A.ModifiableCssAtRule.prototype = {
35488 accept$1$1(visitor) {
35489 return visitor.visitCssAtRule$1(this);
35490 },
35491 accept$1(visitor) {
35492 return this.accept$1$1(visitor, type$.dynamic);
35493 },
35494 copyWithoutChildren$0() {
35495 var _this = this;
35496 return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
35497 },
35498 addChild$1(child) {
35499 this.super$ModifiableCssParentNode$addChild(child);
35500 },
35501 $isCssAtRule: 1,
35502 get$isChildless() {
35503 return this.isChildless;
35504 },
35505 get$span(receiver) {
35506 return this.span;
35507 }
35508 };
35509 A.ModifiableCssComment.prototype = {
35510 accept$1$1(visitor) {
35511 return visitor.visitCssComment$1(this);
35512 },
35513 accept$1(visitor) {
35514 return this.accept$1$1(visitor, type$.dynamic);
35515 },
35516 $isCssComment: 1,
35517 get$span(receiver) {
35518 return this.span;
35519 }
35520 };
35521 A.ModifiableCssDeclaration.prototype = {
35522 accept$1$1(visitor) {
35523 return visitor.visitCssDeclaration$1(this);
35524 },
35525 accept$1(visitor) {
35526 return this.accept$1$1(visitor, type$.dynamic);
35527 },
35528 toString$0(_) {
35529 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
35530 },
35531 get$span(receiver) {
35532 return this.span;
35533 }
35534 };
35535 A.ModifiableCssImport.prototype = {
35536 accept$1$1(visitor) {
35537 return visitor.visitCssImport$1(this);
35538 },
35539 accept$1(visitor) {
35540 return this.accept$1$1(visitor, type$.dynamic);
35541 },
35542 $isCssImport: 1,
35543 get$span(receiver) {
35544 return this.span;
35545 }
35546 };
35547 A.ModifiableCssKeyframeBlock.prototype = {
35548 accept$1$1(visitor) {
35549 return visitor.visitCssKeyframeBlock$1(this);
35550 },
35551 accept$1(visitor) {
35552 return this.accept$1$1(visitor, type$.dynamic);
35553 },
35554 copyWithoutChildren$0() {
35555 return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
35556 },
35557 get$span(receiver) {
35558 return this.span;
35559 }
35560 };
35561 A.ModifiableCssMediaRule.prototype = {
35562 accept$1$1(visitor) {
35563 return visitor.visitCssMediaRule$1(this);
35564 },
35565 accept$1(visitor) {
35566 return this.accept$1$1(visitor, type$.dynamic);
35567 },
35568 copyWithoutChildren$0() {
35569 return A.ModifiableCssMediaRule$(this.queries, this.span);
35570 },
35571 $isCssMediaRule: 1,
35572 get$span(receiver) {
35573 return this.span;
35574 }
35575 };
35576 A.ModifiableCssNode.prototype = {
35577 get$hasFollowingSibling() {
35578 var siblings, t1, i, t2,
35579 $parent = this._parent;
35580 if ($parent == null)
35581 return false;
35582 siblings = $parent.children;
35583 t1 = this._indexInParent;
35584 t1.toString;
35585 i = t1 + 1;
35586 t1 = siblings._collection$_source;
35587 t2 = J.getInterceptor$asx(t1);
35588 for (; i < t2.get$length(t1); ++i)
35589 if (!this._node$_isInvisible$1(t2.elementAt$1(t1, i)))
35590 return true;
35591 return false;
35592 },
35593 _node$_isInvisible$1(node) {
35594 if (type$.CssParentNode._is(node)) {
35595 if (type$.CssAtRule._is(node))
35596 return false;
35597 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
35598 return true;
35599 return J.every$1$ax(node.get$children(node), this.get$_node$_isInvisible());
35600 } else
35601 return false;
35602 },
35603 get$isGroupEnd() {
35604 return this.isGroupEnd;
35605 }
35606 };
35607 A.ModifiableCssParentNode.prototype = {
35608 get$isChildless() {
35609 return false;
35610 },
35611 addChild$1(child) {
35612 var t1;
35613 child._parent = this;
35614 t1 = this._children;
35615 child._indexInParent = t1.length;
35616 t1.push(child);
35617 },
35618 $isCssParentNode: 1,
35619 get$children(receiver) {
35620 return this.children;
35621 }
35622 };
35623 A.ModifiableCssStyleRule.prototype = {
35624 accept$1$1(visitor) {
35625 return visitor.visitCssStyleRule$1(this);
35626 },
35627 accept$1(visitor) {
35628 return this.accept$1$1(visitor, type$.dynamic);
35629 },
35630 copyWithoutChildren$0() {
35631 return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
35632 },
35633 $isCssStyleRule: 1,
35634 get$span(receiver) {
35635 return this.span;
35636 }
35637 };
35638 A.ModifiableCssStylesheet.prototype = {
35639 accept$1$1(visitor) {
35640 return visitor.visitCssStylesheet$1(this);
35641 },
35642 accept$1(visitor) {
35643 return this.accept$1$1(visitor, type$.dynamic);
35644 },
35645 copyWithoutChildren$0() {
35646 return A.ModifiableCssStylesheet$(this.span);
35647 },
35648 $isCssStylesheet: 1,
35649 get$span(receiver) {
35650 return this.span;
35651 }
35652 };
35653 A.ModifiableCssSupportsRule.prototype = {
35654 accept$1$1(visitor) {
35655 return visitor.visitCssSupportsRule$1(this);
35656 },
35657 accept$1(visitor) {
35658 return this.accept$1$1(visitor, type$.dynamic);
35659 },
35660 copyWithoutChildren$0() {
35661 return A.ModifiableCssSupportsRule$(this.condition, this.span);
35662 },
35663 $isCssSupportsRule: 1,
35664 get$span(receiver) {
35665 return this.span;
35666 }
35667 };
35668 A.ModifiableCssValue.prototype = {
35669 toString$0(_) {
35670 return A.serializeSelector(this.value, true);
35671 },
35672 $isCssValue: 1,
35673 $isAstNode: 1,
35674 get$value(receiver) {
35675 return this.value;
35676 },
35677 get$span(receiver) {
35678 return this.span;
35679 }
35680 };
35681 A.CssNode.prototype = {
35682 toString$0(_) {
35683 return A.serialize(this, true, null, true, null, false, null, true).css;
35684 }
35685 };
35686 A.CssParentNode.prototype = {};
35687 A.CssStylesheet.prototype = {
35688 get$isGroupEnd() {
35689 return false;
35690 },
35691 get$isChildless() {
35692 return false;
35693 },
35694 accept$1$1(visitor) {
35695 return visitor.visitCssStylesheet$1(this);
35696 },
35697 accept$1(visitor) {
35698 return this.accept$1$1(visitor, type$.dynamic);
35699 },
35700 get$children(receiver) {
35701 return this.children;
35702 },
35703 get$span(receiver) {
35704 return this.span;
35705 }
35706 };
35707 A.CssValue.prototype = {
35708 toString$0(_) {
35709 return J.toString$0$(this.value);
35710 },
35711 $isAstNode: 1,
35712 get$value(receiver) {
35713 return this.value;
35714 },
35715 get$span(receiver) {
35716 return this.span;
35717 }
35718 };
35719 A.AstNode.prototype = {};
35720 A._FakeAstNode.prototype = {
35721 get$span(_) {
35722 return this._callback.call$0();
35723 },
35724 $isAstNode: 1
35725 };
35726 A.Argument.prototype = {
35727 toString$0(_) {
35728 var t1 = this.defaultValue,
35729 t2 = this.name;
35730 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
35731 },
35732 $isAstNode: 1,
35733 get$span(receiver) {
35734 return this.span;
35735 }
35736 };
35737 A.ArgumentDeclaration.prototype = {
35738 get$spanWithName() {
35739 var t3, t4,
35740 t1 = this.span,
35741 t2 = t1.file,
35742 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
35743 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
35744 while (true) {
35745 if (i > 0) {
35746 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35747 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
35748 } else
35749 t3 = false;
35750 if (!t3)
35751 break;
35752 --i;
35753 }
35754 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35755 if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
35756 return t1;
35757 --i;
35758 while (true) {
35759 if (i >= 0) {
35760 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35761 if (t3 !== 95) {
35762 if (!(t3 >= 97 && t3 <= 122))
35763 t4 = t3 >= 65 && t3 <= 90;
35764 else
35765 t4 = true;
35766 t4 = t4 || t3 >= 128;
35767 } else
35768 t4 = true;
35769 if (!t4) {
35770 t4 = t3 >= 48 && t3 <= 57;
35771 t3 = t4 || t3 === 45;
35772 } else
35773 t3 = true;
35774 } else
35775 t3 = false;
35776 if (!t3)
35777 break;
35778 --i;
35779 }
35780 t3 = i + 1;
35781 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
35782 if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
35783 return t1;
35784 return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
35785 },
35786 verify$2(positional, names) {
35787 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
35788 _s10_ = "invocation",
35789 _s8_ = "argument";
35790 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35791 argument = t1[i];
35792 if (i < positional) {
35793 t4 = argument.name;
35794 if (t3.containsKey$1(t4))
35795 throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p));
35796 } else {
35797 t4 = argument.name;
35798 if (t3.containsKey$1(t4))
35799 ++namedUsed;
35800 else if (argument.defaultValue == null)
35801 throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
35802 }
35803 }
35804 if (_this.restArgument != null)
35805 return;
35806 if (positional > t2) {
35807 t1 = names.get$isEmpty(names) ? "" : "positional ";
35808 throw A.wrapException(A.MultiSpanSassScriptException$("Only " + t2 + " " + t1 + 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)));
35809 }
35810 if (namedUsed < t3.get$length(t3)) {
35811 t2 = type$.String;
35812 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
35813 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
35814 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)));
35815 }
35816 },
35817 _originalArgumentName$1($name) {
35818 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
35819 if ($name === this.restArgument) {
35820 t1 = this.span;
35821 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
35822 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, "."));
35823 }
35824 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
35825 argument = t1[_i];
35826 if (argument.name === $name) {
35827 t1 = argument.defaultValue;
35828 t2 = argument.span;
35829 t3 = t2.file;
35830 t4 = t2._file$_start;
35831 t2 = t2._end;
35832 if (t1 == null) {
35833 t1 = t3._decodedChars;
35834 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35835 } else {
35836 t1 = t3._decodedChars;
35837 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35838 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
35839 end = A._lastNonWhitespace(t1, false);
35840 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
35841 }
35842 return t1;
35843 }
35844 }
35845 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
35846 },
35847 matches$2(positional, names) {
35848 var t1, t2, t3, namedUsed, i, argument;
35849 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35850 argument = t1[i];
35851 if (i < positional) {
35852 if (t3.containsKey$1(argument.name))
35853 return false;
35854 } else if (t3.containsKey$1(argument.name))
35855 ++namedUsed;
35856 else if (argument.defaultValue == null)
35857 return false;
35858 }
35859 if (this.restArgument != null)
35860 return true;
35861 if (positional > t2)
35862 return false;
35863 if (namedUsed < t3.get$length(t3))
35864 return false;
35865 return true;
35866 },
35867 toString$0(_) {
35868 var t2, t3, _i,
35869 t1 = A._setArrayType([], type$.JSArray_String);
35870 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
35871 t1.push("$" + A.S(t2[_i]));
35872 t2 = this.restArgument;
35873 if (t2 != null)
35874 t1.push("$" + t2 + "...");
35875 return B.JSArray_methods.join$1(t1, ", ");
35876 },
35877 $isAstNode: 1,
35878 get$span(receiver) {
35879 return this.span;
35880 }
35881 };
35882 A.ArgumentDeclaration_verify_closure.prototype = {
35883 call$1(argument) {
35884 return argument.name;
35885 },
35886 $signature: 313
35887 };
35888 A.ArgumentDeclaration_verify_closure0.prototype = {
35889 call$1($name) {
35890 return "$" + $name;
35891 },
35892 $signature: 5
35893 };
35894 A.ArgumentInvocation.prototype = {
35895 get$isEmpty(_) {
35896 var t1;
35897 if (this.positional.length === 0) {
35898 t1 = this.named;
35899 t1 = t1.get$isEmpty(t1) && this.rest == null;
35900 } else
35901 t1 = false;
35902 return t1;
35903 },
35904 toString$0(_) {
35905 var t2, t3, t4, _this = this,
35906 t1 = A.List_List$of(_this.positional, true, type$.Object);
35907 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
35908 t4 = t3.get$current(t3);
35909 t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
35910 }
35911 t2 = _this.rest;
35912 if (t2 != null)
35913 t1.push(t2.toString$0(0) + "...");
35914 t2 = _this.keywordRest;
35915 if (t2 != null)
35916 t1.push(t2.toString$0(0) + "...");
35917 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
35918 },
35919 $isAstNode: 1,
35920 get$span(receiver) {
35921 return this.span;
35922 }
35923 };
35924 A.AtRootQuery.prototype = {
35925 excludes$1(node) {
35926 var t1, _this = this;
35927 if (_this._all)
35928 return !_this.include;
35929 if (type$.CssStyleRule._is(node))
35930 return _this._at_root_query$_rule !== _this.include;
35931 if (type$.CssMediaRule._is(node))
35932 return _this.excludesName$1("media");
35933 if (type$.CssSupportsRule._is(node))
35934 return _this.excludesName$1("supports");
35935 if (type$.CssAtRule._is(node)) {
35936 t1 = node.name;
35937 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
35938 }
35939 return false;
35940 },
35941 excludesName$1($name) {
35942 var t1 = this._all || this.names.contains$1(0, $name);
35943 return t1 !== this.include;
35944 }
35945 };
35946 A.ConfiguredVariable.prototype = {
35947 toString$0(_) {
35948 var t1 = this.expression.toString$0(0),
35949 t2 = this.isGuarded ? " !default" : "";
35950 return "$" + this.name + ": " + t1 + t2;
35951 },
35952 $isAstNode: 1,
35953 get$span(receiver) {
35954 return this.span;
35955 }
35956 };
35957 A.BinaryOperationExpression.prototype = {
35958 get$span(_) {
35959 var right,
35960 left = this.left;
35961 for (; left instanceof A.BinaryOperationExpression;)
35962 left = left.left;
35963 right = this.right;
35964 for (; right instanceof A.BinaryOperationExpression;)
35965 right = right.right;
35966 return left.get$span(left).expand$1(0, right.get$span(right));
35967 },
35968 accept$1$1(visitor) {
35969 return visitor.visitBinaryOperationExpression$1(this);
35970 },
35971 accept$1(visitor) {
35972 return this.accept$1$1(visitor, type$.dynamic);
35973 },
35974 toString$0(_) {
35975 var t2, right, rightNeedsParens, _this = this,
35976 left = _this.left,
35977 leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
35978 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
35979 t1 += left.toString$0(0);
35980 if (leftNeedsParens)
35981 t1 += A.Primitives_stringFromCharCode(41);
35982 t2 = _this.operator;
35983 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
35984 right = _this.right;
35985 rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
35986 if (rightNeedsParens)
35987 t1 += A.Primitives_stringFromCharCode(40);
35988 t1 += right.toString$0(0);
35989 if (rightNeedsParens)
35990 t1 += A.Primitives_stringFromCharCode(41);
35991 return t1.charCodeAt(0) == 0 ? t1 : t1;
35992 },
35993 $isAstNode: 1,
35994 $isExpression: 1
35995 };
35996 A.BinaryOperator.prototype = {
35997 toString$0(_) {
35998 return this.name;
35999 }
36000 };
36001 A.BooleanExpression.prototype = {
36002 accept$1$1(visitor) {
36003 return visitor.visitBooleanExpression$1(this);
36004 },
36005 accept$1(visitor) {
36006 return this.accept$1$1(visitor, type$.dynamic);
36007 },
36008 toString$0(_) {
36009 return String(this.value);
36010 },
36011 $isAstNode: 1,
36012 $isExpression: 1,
36013 get$span(receiver) {
36014 return this.span;
36015 }
36016 };
36017 A.CalculationExpression.prototype = {
36018 accept$1$1(visitor) {
36019 return visitor.visitCalculationExpression$1(this);
36020 },
36021 accept$1(visitor) {
36022 return this.accept$1$1(visitor, type$.dynamic);
36023 },
36024 toString$0(_) {
36025 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
36026 },
36027 $isAstNode: 1,
36028 $isExpression: 1,
36029 get$span(receiver) {
36030 return this.span;
36031 }
36032 };
36033 A.CalculationExpression__verifyArguments_closure.prototype = {
36034 call$1(arg) {
36035 A.CalculationExpression__verify(arg);
36036 return arg;
36037 },
36038 $signature: 319
36039 };
36040 A.ColorExpression.prototype = {
36041 accept$1$1(visitor) {
36042 return visitor.visitColorExpression$1(this);
36043 },
36044 accept$1(visitor) {
36045 return this.accept$1$1(visitor, type$.dynamic);
36046 },
36047 toString$0(_) {
36048 return A.serializeValue(this.value, true, true);
36049 },
36050 $isAstNode: 1,
36051 $isExpression: 1,
36052 get$span(receiver) {
36053 return this.span;
36054 }
36055 };
36056 A.FunctionExpression.prototype = {
36057 accept$1$1(visitor) {
36058 return visitor.visitFunctionExpression$1(this);
36059 },
36060 accept$1(visitor) {
36061 return this.accept$1$1(visitor, type$.dynamic);
36062 },
36063 toString$0(_) {
36064 var t1 = this.namespace;
36065 t1 = t1 != null ? "" + (t1 + ".") : "";
36066 t1 += this.originalName + this.$arguments.toString$0(0);
36067 return t1.charCodeAt(0) == 0 ? t1 : t1;
36068 },
36069 $isAstNode: 1,
36070 $isExpression: 1,
36071 get$span(receiver) {
36072 return this.span;
36073 }
36074 };
36075 A.IfExpression.prototype = {
36076 accept$1$1(visitor) {
36077 return visitor.visitIfExpression$1(this);
36078 },
36079 accept$1(visitor) {
36080 return this.accept$1$1(visitor, type$.dynamic);
36081 },
36082 toString$0(_) {
36083 return "if" + this.$arguments.toString$0(0);
36084 },
36085 $isAstNode: 1,
36086 $isExpression: 1,
36087 get$span(receiver) {
36088 return this.span;
36089 }
36090 };
36091 A.InterpolatedFunctionExpression.prototype = {
36092 accept$1$1(visitor) {
36093 return visitor.visitInterpolatedFunctionExpression$1(this);
36094 },
36095 accept$1(visitor) {
36096 return this.accept$1$1(visitor, type$.dynamic);
36097 },
36098 toString$0(_) {
36099 return this.name.toString$0(0) + this.$arguments.toString$0(0);
36100 },
36101 $isAstNode: 1,
36102 $isExpression: 1,
36103 get$span(receiver) {
36104 return this.span;
36105 }
36106 };
36107 A.ListExpression.prototype = {
36108 accept$1$1(visitor) {
36109 return visitor.visitListExpression$1(this);
36110 },
36111 accept$1(visitor) {
36112 return this.accept$1$1(visitor, type$.dynamic);
36113 },
36114 toString$0(_) {
36115 var _this = this,
36116 t1 = _this.hasBrackets,
36117 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
36118 t3 = _this.contents,
36119 t4 = _this.separator === B.ListSeparator_kWM ? ", " : " ";
36120 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
36121 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
36122 return t1.charCodeAt(0) == 0 ? t1 : t1;
36123 },
36124 _list0$_elementNeedsParens$1(expression) {
36125 var t1;
36126 if (expression instanceof A.ListExpression) {
36127 if (expression.contents.length < 2)
36128 return false;
36129 if (expression.hasBrackets)
36130 return false;
36131 t1 = expression.separator;
36132 return this.separator === B.ListSeparator_kWM ? t1 === B.ListSeparator_kWM : t1 !== B.ListSeparator_undecided_null;
36133 }
36134 if (this.separator !== B.ListSeparator_woc)
36135 return false;
36136 if (expression instanceof A.UnaryOperationExpression) {
36137 t1 = expression.operator;
36138 return t1 === B.UnaryOperator_j2w || t1 === B.UnaryOperator_U4G;
36139 }
36140 return false;
36141 },
36142 $isAstNode: 1,
36143 $isExpression: 1,
36144 get$span(receiver) {
36145 return this.span;
36146 }
36147 };
36148 A.ListExpression_toString_closure.prototype = {
36149 call$1(element) {
36150 return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
36151 },
36152 $signature: 135
36153 };
36154 A.MapExpression.prototype = {
36155 accept$1$1(visitor) {
36156 return visitor.visitMapExpression$1(this);
36157 },
36158 accept$1(visitor) {
36159 return this.accept$1$1(visitor, type$.dynamic);
36160 },
36161 toString$0(_) {
36162 var t1 = this.pairs;
36163 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
36164 },
36165 $isAstNode: 1,
36166 $isExpression: 1,
36167 get$span(receiver) {
36168 return this.span;
36169 }
36170 };
36171 A.MapExpression_toString_closure.prototype = {
36172 call$1(pair) {
36173 return A.S(pair.item1) + ": " + A.S(pair.item2);
36174 },
36175 $signature: 324
36176 };
36177 A.NullExpression.prototype = {
36178 accept$1$1(visitor) {
36179 return visitor.visitNullExpression$1(this);
36180 },
36181 accept$1(visitor) {
36182 return this.accept$1$1(visitor, type$.dynamic);
36183 },
36184 toString$0(_) {
36185 return "null";
36186 },
36187 $isAstNode: 1,
36188 $isExpression: 1,
36189 get$span(receiver) {
36190 return this.span;
36191 }
36192 };
36193 A.NumberExpression.prototype = {
36194 accept$1$1(visitor) {
36195 return visitor.visitNumberExpression$1(this);
36196 },
36197 accept$1(visitor) {
36198 return this.accept$1$1(visitor, type$.dynamic);
36199 },
36200 toString$0(_) {
36201 var t1 = this.unit;
36202 if (t1 == null)
36203 t1 = "";
36204 return A.S(this.value) + t1;
36205 },
36206 $isAstNode: 1,
36207 $isExpression: 1,
36208 get$span(receiver) {
36209 return this.span;
36210 }
36211 };
36212 A.ParenthesizedExpression.prototype = {
36213 accept$1$1(visitor) {
36214 return visitor.visitParenthesizedExpression$1(this);
36215 },
36216 accept$1(visitor) {
36217 return this.accept$1$1(visitor, type$.dynamic);
36218 },
36219 toString$0(_) {
36220 return "(" + this.expression.toString$0(0) + ")";
36221 },
36222 $isAstNode: 1,
36223 $isExpression: 1,
36224 get$span(receiver) {
36225 return this.span;
36226 }
36227 };
36228 A.SelectorExpression.prototype = {
36229 accept$1$1(visitor) {
36230 return visitor.visitSelectorExpression$1(this);
36231 },
36232 accept$1(visitor) {
36233 return this.accept$1$1(visitor, type$.dynamic);
36234 },
36235 toString$0(_) {
36236 return "&";
36237 },
36238 $isAstNode: 1,
36239 $isExpression: 1,
36240 get$span(receiver) {
36241 return this.span;
36242 }
36243 };
36244 A.StringExpression.prototype = {
36245 get$span(_) {
36246 return this.text.span;
36247 },
36248 accept$1$1(visitor) {
36249 return visitor.visitStringExpression$1(this);
36250 },
36251 accept$1(visitor) {
36252 return this.accept$1$1(visitor, type$.dynamic);
36253 },
36254 asInterpolation$1$static($static) {
36255 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
36256 if (!this.hasQuotes)
36257 return this.text;
36258 t1 = this.text;
36259 t2 = t1.contents;
36260 quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
36261 t3 = new A.StringBuffer("");
36262 t4 = A._setArrayType([], type$.JSArray_Object);
36263 buffer = new A.InterpolationBuffer(t3, t4);
36264 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
36265 for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
36266 value = t2[_i];
36267 if (t6._is(value)) {
36268 buffer._flushText$0();
36269 t4.push(value);
36270 } else if (typeof value == "string")
36271 A.StringExpression__quoteInnerText(value, quote, buffer, $static);
36272 }
36273 t3._contents += A.Primitives_stringFromCharCode(quote);
36274 return buffer.interpolation$1(t1.span);
36275 },
36276 asInterpolation$0() {
36277 return this.asInterpolation$1$static(false);
36278 },
36279 toString$0(_) {
36280 return this.asInterpolation$0().toString$0(0);
36281 },
36282 $isAstNode: 1,
36283 $isExpression: 1
36284 };
36285 A.SupportsExpression.prototype = {
36286 get$span(_) {
36287 var t1 = this.condition;
36288 return t1.get$span(t1);
36289 },
36290 accept$1$1(visitor) {
36291 return visitor.visitSupportsExpression$1(this);
36292 },
36293 accept$1(visitor) {
36294 return this.accept$1$1(visitor, type$.dynamic);
36295 },
36296 toString$0(_) {
36297 return this.condition.toString$0(0);
36298 },
36299 $isAstNode: 1,
36300 $isExpression: 1
36301 };
36302 A.UnaryOperationExpression.prototype = {
36303 accept$1$1(visitor) {
36304 return visitor.visitUnaryOperationExpression$1(this);
36305 },
36306 accept$1(visitor) {
36307 return this.accept$1$1(visitor, type$.dynamic);
36308 },
36309 toString$0(_) {
36310 var t1 = this.operator,
36311 t2 = t1.operator;
36312 t1 = t1 === B.UnaryOperator_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
36313 t1 += this.operand.toString$0(0);
36314 return t1.charCodeAt(0) == 0 ? t1 : t1;
36315 },
36316 $isAstNode: 1,
36317 $isExpression: 1,
36318 get$span(receiver) {
36319 return this.span;
36320 }
36321 };
36322 A.UnaryOperator.prototype = {
36323 toString$0(_) {
36324 return this.name;
36325 }
36326 };
36327 A.ValueExpression.prototype = {
36328 accept$1$1(visitor) {
36329 return visitor.visitValueExpression$1(this);
36330 },
36331 accept$1(visitor) {
36332 return this.accept$1$1(visitor, type$.dynamic);
36333 },
36334 toString$0(_) {
36335 return A.serializeValue(this.value, true, true);
36336 },
36337 $isAstNode: 1,
36338 $isExpression: 1,
36339 get$span(receiver) {
36340 return this.span;
36341 }
36342 };
36343 A.VariableExpression.prototype = {
36344 accept$1$1(visitor) {
36345 return visitor.visitVariableExpression$1(this);
36346 },
36347 accept$1(visitor) {
36348 return this.accept$1$1(visitor, type$.dynamic);
36349 },
36350 toString$0(_) {
36351 var t1 = this.namespace,
36352 t2 = this.name;
36353 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
36354 },
36355 $isAstNode: 1,
36356 $isExpression: 1,
36357 get$span(receiver) {
36358 return this.span;
36359 }
36360 };
36361 A.DynamicImport.prototype = {
36362 toString$0(_) {
36363 return A.StringExpression_quoteText(this.urlString);
36364 },
36365 $isAstNode: 1,
36366 $isImport: 1,
36367 get$span(receiver) {
36368 return this.span;
36369 }
36370 };
36371 A.StaticImport.prototype = {
36372 toString$0(_) {
36373 var t1 = this.url.toString$0(0),
36374 t2 = this.modifiers;
36375 return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
36376 },
36377 $isAstNode: 1,
36378 $isImport: 1,
36379 get$span(receiver) {
36380 return this.span;
36381 }
36382 };
36383 A.Interpolation.prototype = {
36384 get$asPlain() {
36385 var first,
36386 t1 = this.contents,
36387 t2 = t1.length;
36388 if (t2 === 0)
36389 return "";
36390 if (t2 > 1)
36391 return null;
36392 first = B.JSArray_methods.get$first(t1);
36393 return typeof first == "string" ? first : null;
36394 },
36395 get$initialPlain() {
36396 var first = B.JSArray_methods.get$first(this.contents);
36397 return typeof first == "string" ? first : "";
36398 },
36399 Interpolation$2(contents, span) {
36400 var t1, t2, t3, i, t4, t5,
36401 _s8_ = "contents";
36402 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
36403 t4 = t1[i];
36404 t5 = typeof t4 == "string";
36405 if (!t5 && !t3._is(t4))
36406 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
36407 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
36408 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
36409 }
36410 },
36411 toString$0(_) {
36412 var t1 = this.contents;
36413 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
36414 },
36415 $isAstNode: 1,
36416 get$span(receiver) {
36417 return this.span;
36418 }
36419 };
36420 A.Interpolation_toString_closure.prototype = {
36421 call$1(value) {
36422 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
36423 },
36424 $signature: 48
36425 };
36426 A.AtRootRule.prototype = {
36427 accept$1$1(visitor) {
36428 return visitor.visitAtRootRule$1(this);
36429 },
36430 accept$1(visitor) {
36431 return this.accept$1$1(visitor, type$.dynamic);
36432 },
36433 toString$0(_) {
36434 var buffer = new A.StringBuffer("@at-root "),
36435 t1 = this.query;
36436 if (t1 != null)
36437 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
36438 t1 = this.children;
36439 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36440 },
36441 get$span(receiver) {
36442 return this.span;
36443 }
36444 };
36445 A.AtRule.prototype = {
36446 accept$1$1(visitor) {
36447 return visitor.visitAtRule$1(this);
36448 },
36449 accept$1(visitor) {
36450 return this.accept$1$1(visitor, type$.dynamic);
36451 },
36452 toString$0(_) {
36453 var children,
36454 t1 = "@" + this.name.toString$0(0),
36455 buffer = new A.StringBuffer(t1),
36456 t2 = this.value;
36457 if (t2 != null)
36458 buffer._contents = t1 + (" " + t2.toString$0(0));
36459 children = this.children;
36460 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36461 },
36462 get$span(receiver) {
36463 return this.span;
36464 }
36465 };
36466 A.CallableDeclaration.prototype = {
36467 get$span(receiver) {
36468 return this.span;
36469 }
36470 };
36471 A.ContentBlock.prototype = {
36472 accept$1$1(visitor) {
36473 return visitor.visitContentBlock$1(this);
36474 },
36475 accept$1(visitor) {
36476 return this.accept$1$1(visitor, type$.dynamic);
36477 },
36478 toString$0(_) {
36479 var t2,
36480 t1 = this.$arguments;
36481 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
36482 t2 = this.children;
36483 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36484 }
36485 };
36486 A.ContentRule.prototype = {
36487 accept$1$1(visitor) {
36488 return visitor.visitContentRule$1(this);
36489 },
36490 accept$1(visitor) {
36491 return this.accept$1$1(visitor, type$.dynamic);
36492 },
36493 toString$0(_) {
36494 var t1 = this.$arguments;
36495 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
36496 },
36497 $isAstNode: 1,
36498 $isStatement: 1,
36499 get$span(receiver) {
36500 return this.span;
36501 }
36502 };
36503 A.DebugRule.prototype = {
36504 accept$1$1(visitor) {
36505 return visitor.visitDebugRule$1(this);
36506 },
36507 accept$1(visitor) {
36508 return this.accept$1$1(visitor, type$.dynamic);
36509 },
36510 toString$0(_) {
36511 return "@debug " + this.expression.toString$0(0) + ";";
36512 },
36513 $isAstNode: 1,
36514 $isStatement: 1,
36515 get$span(receiver) {
36516 return this.span;
36517 }
36518 };
36519 A.Declaration.prototype = {
36520 accept$1$1(visitor) {
36521 return visitor.visitDeclaration$1(this);
36522 },
36523 accept$1(visitor) {
36524 return this.accept$1$1(visitor, type$.dynamic);
36525 },
36526 toString$0(_) {
36527 var t3, children,
36528 buffer = new A.StringBuffer(""),
36529 t1 = this.name,
36530 t2 = "" + t1.toString$0(0);
36531 buffer._contents = t2;
36532 t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
36533 t3 = this.value;
36534 if (t3 != null) {
36535 t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
36536 buffer._contents = t1 + t3.toString$0(0);
36537 }
36538 children = this.children;
36539 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36540 },
36541 get$span(receiver) {
36542 return this.span;
36543 }
36544 };
36545 A.EachRule.prototype = {
36546 accept$1$1(visitor) {
36547 return visitor.visitEachRule$1(this);
36548 },
36549 accept$1(visitor) {
36550 return this.accept$1$1(visitor, type$.dynamic);
36551 },
36552 toString$0(_) {
36553 var t1 = this.variables,
36554 t2 = this.children;
36555 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, " ") + "}";
36556 },
36557 get$span(receiver) {
36558 return this.span;
36559 }
36560 };
36561 A.EachRule_toString_closure.prototype = {
36562 call$1(variable) {
36563 return "$" + variable;
36564 },
36565 $signature: 5
36566 };
36567 A.ErrorRule.prototype = {
36568 accept$1$1(visitor) {
36569 return visitor.visitErrorRule$1(this);
36570 },
36571 accept$1(visitor) {
36572 return this.accept$1$1(visitor, type$.dynamic);
36573 },
36574 toString$0(_) {
36575 return "@error " + this.expression.toString$0(0) + ";";
36576 },
36577 $isAstNode: 1,
36578 $isStatement: 1,
36579 get$span(receiver) {
36580 return this.span;
36581 }
36582 };
36583 A.ExtendRule.prototype = {
36584 accept$1$1(visitor) {
36585 return visitor.visitExtendRule$1(this);
36586 },
36587 accept$1(visitor) {
36588 return this.accept$1$1(visitor, type$.dynamic);
36589 },
36590 toString$0(_) {
36591 var t1 = this.selector.toString$0(0),
36592 t2 = this.isOptional ? " !optional" : "";
36593 return "@extend " + t1 + t2 + ";";
36594 },
36595 $isAstNode: 1,
36596 $isStatement: 1,
36597 get$span(receiver) {
36598 return this.span;
36599 }
36600 };
36601 A.ForRule.prototype = {
36602 accept$1$1(visitor) {
36603 return visitor.visitForRule$1(this);
36604 },
36605 accept$1(visitor) {
36606 return this.accept$1$1(visitor, type$.dynamic);
36607 },
36608 toString$0(_) {
36609 var _this = this,
36610 t1 = _this.from.toString$0(0),
36611 t2 = _this.isExclusive ? "to" : "through",
36612 t3 = _this.children;
36613 return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
36614 },
36615 get$span(receiver) {
36616 return this.span;
36617 }
36618 };
36619 A.ForwardRule.prototype = {
36620 accept$1$1(visitor) {
36621 return visitor.visitForwardRule$1(this);
36622 },
36623 accept$1(visitor) {
36624 return this.accept$1$1(visitor, type$.dynamic);
36625 },
36626 toString$0(_) {
36627 var t2, prefix, _this = this,
36628 t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
36629 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
36630 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
36631 if (shownMixinsAndFunctions != null) {
36632 t2 = _this.shownVariables;
36633 t2.toString;
36634 t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
36635 t1 = t2;
36636 } else {
36637 if (hiddenMixinsAndFunctions != null) {
36638 t2 = hiddenMixinsAndFunctions._base;
36639 t2 = t2.get$isNotEmpty(t2);
36640 } else
36641 t2 = false;
36642 if (t2) {
36643 t2 = _this.hiddenVariables;
36644 t2.toString;
36645 t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
36646 t1 = t2;
36647 }
36648 }
36649 prefix = _this.prefix;
36650 if (prefix != null)
36651 t1 += " as " + prefix + "*";
36652 t2 = _this.configuration;
36653 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36654 return t1.charCodeAt(0) == 0 ? t1 : t1;
36655 },
36656 _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
36657 var t2,
36658 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
36659 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
36660 t1.push("$" + t2.get$current(t2));
36661 return B.JSArray_methods.join$1(t1, ", ");
36662 },
36663 $isAstNode: 1,
36664 $isStatement: 1,
36665 get$span(receiver) {
36666 return this.span;
36667 }
36668 };
36669 A.FunctionRule.prototype = {
36670 accept$1$1(visitor) {
36671 return visitor.visitFunctionRule$1(this);
36672 },
36673 accept$1(visitor) {
36674 return this.accept$1$1(visitor, type$.dynamic);
36675 },
36676 toString$0(_) {
36677 var t1 = this.children;
36678 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36679 }
36680 };
36681 A.IfRule.prototype = {
36682 accept$1$1(visitor) {
36683 return visitor.visitIfRule$1(this);
36684 },
36685 accept$1(visitor) {
36686 return this.accept$1$1(visitor, type$.dynamic);
36687 },
36688 toString$0(_) {
36689 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
36690 lastClause = this.lastClause;
36691 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
36692 },
36693 $isAstNode: 1,
36694 $isStatement: 1,
36695 get$span(receiver) {
36696 return this.span;
36697 }
36698 };
36699 A.IfRule_toString_closure.prototype = {
36700 call$2(index, clause) {
36701 var t1 = index === 0 ? "if" : "else if";
36702 return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
36703 },
36704 $signature: 332
36705 };
36706 A.IfRuleClause.prototype = {};
36707 A.IfRuleClause$__closure.prototype = {
36708 call$1(child) {
36709 var t1;
36710 if (!(child instanceof A.VariableDeclaration))
36711 if (!(child instanceof A.FunctionRule))
36712 if (!(child instanceof A.MixinRule))
36713 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
36714 else
36715 t1 = true;
36716 else
36717 t1 = true;
36718 else
36719 t1 = true;
36720 return t1;
36721 },
36722 $signature: 222
36723 };
36724 A.IfRuleClause$___closure.prototype = {
36725 call$1($import) {
36726 return $import instanceof A.DynamicImport;
36727 },
36728 $signature: 258
36729 };
36730 A.IfClause.prototype = {
36731 toString$0(_) {
36732 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36733 }
36734 };
36735 A.ElseClause.prototype = {
36736 toString$0(_) {
36737 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36738 }
36739 };
36740 A.ImportRule.prototype = {
36741 accept$1$1(visitor) {
36742 return visitor.visitImportRule$1(this);
36743 },
36744 accept$1(visitor) {
36745 return this.accept$1$1(visitor, type$.dynamic);
36746 },
36747 toString$0(_) {
36748 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
36749 },
36750 $isAstNode: 1,
36751 $isStatement: 1,
36752 get$span(receiver) {
36753 return this.span;
36754 }
36755 };
36756 A.IncludeRule.prototype = {
36757 get$spanWithoutContent() {
36758 var t2, t3,
36759 t1 = this.span;
36760 if (!(this.content == null)) {
36761 t2 = t1.file;
36762 t3 = this.$arguments.span;
36763 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)));
36764 t1 = t3;
36765 }
36766 return t1;
36767 },
36768 accept$1$1(visitor) {
36769 return visitor.visitIncludeRule$1(this);
36770 },
36771 accept$1(visitor) {
36772 return this.accept$1$1(visitor, type$.dynamic);
36773 },
36774 toString$0(_) {
36775 var t2, _this = this,
36776 t1 = _this.namespace;
36777 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
36778 t1 += _this.name;
36779 t2 = _this.$arguments;
36780 if (!t2.get$isEmpty(t2))
36781 t1 += "(" + t2.toString$0(0) + ")";
36782 t2 = _this.content;
36783 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
36784 return t1.charCodeAt(0) == 0 ? t1 : t1;
36785 },
36786 $isAstNode: 1,
36787 $isStatement: 1,
36788 get$span(receiver) {
36789 return this.span;
36790 }
36791 };
36792 A.LoudComment.prototype = {
36793 get$span(_) {
36794 return this.text.span;
36795 },
36796 accept$1$1(visitor) {
36797 return visitor.visitLoudComment$1(this);
36798 },
36799 accept$1(visitor) {
36800 return this.accept$1$1(visitor, type$.dynamic);
36801 },
36802 toString$0(_) {
36803 return this.text.toString$0(0);
36804 },
36805 $isAstNode: 1,
36806 $isStatement: 1
36807 };
36808 A.MediaRule.prototype = {
36809 accept$1$1(visitor) {
36810 return visitor.visitMediaRule$1(this);
36811 },
36812 accept$1(visitor) {
36813 return this.accept$1$1(visitor, type$.dynamic);
36814 },
36815 toString$0(_) {
36816 var t1 = this.children;
36817 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36818 },
36819 get$span(receiver) {
36820 return this.span;
36821 }
36822 };
36823 A.MixinRule.prototype = {
36824 get$hasContent() {
36825 var result, _this = this,
36826 value = _this.__MixinRule_hasContent;
36827 if (value === $) {
36828 result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
36829 A._lateInitializeOnceCheck(_this.__MixinRule_hasContent, "hasContent");
36830 _this.__MixinRule_hasContent = result;
36831 value = result;
36832 }
36833 return value;
36834 },
36835 accept$1$1(visitor) {
36836 return visitor.visitMixinRule$1(this);
36837 },
36838 accept$1(visitor) {
36839 return this.accept$1$1(visitor, type$.dynamic);
36840 },
36841 toString$0(_) {
36842 var t1 = "@mixin " + this.name,
36843 t2 = this.$arguments;
36844 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
36845 t1 += "(" + t2.toString$0(0) + ")";
36846 t2 = this.children;
36847 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36848 return t2.charCodeAt(0) == 0 ? t2 : t2;
36849 }
36850 };
36851 A._HasContentVisitor.prototype = {
36852 visitContentRule$1(_) {
36853 return true;
36854 }
36855 };
36856 A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
36857 A.ParentStatement_closure.prototype = {
36858 call$1(child) {
36859 var t1;
36860 if (!(child instanceof A.VariableDeclaration))
36861 if (!(child instanceof A.FunctionRule))
36862 if (!(child instanceof A.MixinRule))
36863 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
36864 else
36865 t1 = true;
36866 else
36867 t1 = true;
36868 else
36869 t1 = true;
36870 return t1;
36871 },
36872 $signature: 222
36873 };
36874 A.ParentStatement__closure.prototype = {
36875 call$1($import) {
36876 return $import instanceof A.DynamicImport;
36877 },
36878 $signature: 258
36879 };
36880 A.ReturnRule.prototype = {
36881 accept$1$1(visitor) {
36882 return visitor.visitReturnRule$1(this);
36883 },
36884 accept$1(visitor) {
36885 return this.accept$1$1(visitor, type$.dynamic);
36886 },
36887 toString$0(_) {
36888 return "@return " + this.expression.toString$0(0) + ";";
36889 },
36890 $isAstNode: 1,
36891 $isStatement: 1,
36892 get$span(receiver) {
36893 return this.span;
36894 }
36895 };
36896 A.SilentComment.prototype = {
36897 accept$1$1(visitor) {
36898 return visitor.visitSilentComment$1(this);
36899 },
36900 accept$1(visitor) {
36901 return this.accept$1$1(visitor, type$.dynamic);
36902 },
36903 toString$0(_) {
36904 return this.text;
36905 },
36906 $isAstNode: 1,
36907 $isStatement: 1,
36908 get$span(receiver) {
36909 return this.span;
36910 }
36911 };
36912 A.StyleRule.prototype = {
36913 accept$1$1(visitor) {
36914 return visitor.visitStyleRule$1(this);
36915 },
36916 accept$1(visitor) {
36917 return this.accept$1$1(visitor, type$.dynamic);
36918 },
36919 toString$0(_) {
36920 var t1 = this.children;
36921 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36922 },
36923 get$span(receiver) {
36924 return this.span;
36925 }
36926 };
36927 A.Stylesheet.prototype = {
36928 Stylesheet$internal$3$plainCss(children, span, plainCss) {
36929 var t1, t2, t3, t4, _i, child;
36930 for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
36931 child = t1[_i];
36932 if (child instanceof A.UseRule)
36933 t4.push(child);
36934 else if (child instanceof A.ForwardRule)
36935 t3.push(child);
36936 else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
36937 break;
36938 }
36939 },
36940 accept$1$1(visitor) {
36941 return visitor.visitStylesheet$1(this);
36942 },
36943 accept$1(visitor) {
36944 return this.accept$1$1(visitor, type$.dynamic);
36945 },
36946 toString$0(_) {
36947 var t1 = this.children;
36948 return (t1 && B.JSArray_methods).join$1(t1, " ");
36949 },
36950 get$span(receiver) {
36951 return this.span;
36952 }
36953 };
36954 A.SupportsRule.prototype = {
36955 accept$1$1(visitor) {
36956 return visitor.visitSupportsRule$1(this);
36957 },
36958 accept$1(visitor) {
36959 return this.accept$1$1(visitor, type$.dynamic);
36960 },
36961 toString$0(_) {
36962 var t1 = this.children;
36963 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36964 },
36965 get$span(receiver) {
36966 return this.span;
36967 }
36968 };
36969 A.UseRule.prototype = {
36970 UseRule$4$configuration(url, namespace, span, configuration) {
36971 var t1, t2, _i, variable;
36972 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
36973 variable = t1[_i];
36974 if (variable.isGuarded)
36975 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
36976 }
36977 },
36978 accept$1$1(visitor) {
36979 return visitor.visitUseRule$1(this);
36980 },
36981 accept$1(visitor) {
36982 return this.accept$1$1(visitor, type$.dynamic);
36983 },
36984 toString$0(_) {
36985 var t1 = this.url,
36986 t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
36987 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
36988 dot = B.JSString_methods.indexOf$1(basename, ".");
36989 t1 = this.namespace;
36990 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
36991 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
36992 else
36993 t1 = t2;
36994 t2 = this.configuration;
36995 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36996 return t1.charCodeAt(0) == 0 ? t1 : t1;
36997 },
36998 $isAstNode: 1,
36999 $isStatement: 1,
37000 get$span(receiver) {
37001 return this.span;
37002 }
37003 };
37004 A.VariableDeclaration.prototype = {
37005 accept$1$1(visitor) {
37006 return visitor.visitVariableDeclaration$1(this);
37007 },
37008 accept$1(visitor) {
37009 return this.accept$1$1(visitor, type$.dynamic);
37010 },
37011 toString$0(_) {
37012 var t1 = this.namespace;
37013 t1 = t1 != null ? "" + (t1 + ".") : "";
37014 t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
37015 return t1.charCodeAt(0) == 0 ? t1 : t1;
37016 },
37017 $isAstNode: 1,
37018 $isStatement: 1,
37019 get$span(receiver) {
37020 return this.span;
37021 }
37022 };
37023 A.WarnRule.prototype = {
37024 accept$1$1(visitor) {
37025 return visitor.visitWarnRule$1(this);
37026 },
37027 accept$1(visitor) {
37028 return this.accept$1$1(visitor, type$.dynamic);
37029 },
37030 toString$0(_) {
37031 return "@warn " + this.expression.toString$0(0) + ";";
37032 },
37033 $isAstNode: 1,
37034 $isStatement: 1,
37035 get$span(receiver) {
37036 return this.span;
37037 }
37038 };
37039 A.WhileRule.prototype = {
37040 accept$1$1(visitor) {
37041 return visitor.visitWhileRule$1(this);
37042 },
37043 accept$1(visitor) {
37044 return this.accept$1$1(visitor, type$.dynamic);
37045 },
37046 toString$0(_) {
37047 var t1 = this.children;
37048 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
37049 },
37050 get$span(receiver) {
37051 return this.span;
37052 }
37053 };
37054 A.SupportsAnything.prototype = {
37055 toString$0(_) {
37056 return "(" + this.contents.toString$0(0) + ")";
37057 },
37058 $isAstNode: 1,
37059 get$span(receiver) {
37060 return this.span;
37061 }
37062 };
37063 A.SupportsDeclaration.prototype = {
37064 get$isCustomProperty() {
37065 var $name = this.name;
37066 return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
37067 },
37068 toString$0(_) {
37069 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
37070 },
37071 $isAstNode: 1,
37072 get$span(receiver) {
37073 return this.span;
37074 }
37075 };
37076 A.SupportsFunction.prototype = {
37077 toString$0(_) {
37078 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
37079 },
37080 $isAstNode: 1,
37081 get$span(receiver) {
37082 return this.span;
37083 }
37084 };
37085 A.SupportsInterpolation.prototype = {
37086 toString$0(_) {
37087 return "#{" + this.expression.toString$0(0) + "}";
37088 },
37089 $isAstNode: 1,
37090 get$span(receiver) {
37091 return this.span;
37092 }
37093 };
37094 A.SupportsNegation.prototype = {
37095 toString$0(_) {
37096 var t1 = this.condition;
37097 if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
37098 return "not (" + t1.toString$0(0) + ")";
37099 else
37100 return "not " + t1.toString$0(0);
37101 },
37102 $isAstNode: 1,
37103 get$span(receiver) {
37104 return this.span;
37105 }
37106 };
37107 A.SupportsOperation.prototype = {
37108 toString$0(_) {
37109 var _this = this;
37110 return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
37111 },
37112 _operation$_parenthesize$1(condition) {
37113 var t1;
37114 if (!(condition instanceof A.SupportsNegation))
37115 t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
37116 else
37117 t1 = true;
37118 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
37119 },
37120 $isAstNode: 1,
37121 get$span(receiver) {
37122 return this.span;
37123 }
37124 };
37125 A.Selector.prototype = {
37126 get$isInvisible() {
37127 return false;
37128 },
37129 toString$0(_) {
37130 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
37131 this.accept$1(visitor);
37132 return visitor._serialize$_buffer.toString$0(0);
37133 }
37134 };
37135 A.AttributeSelector.prototype = {
37136 accept$1$1(visitor) {
37137 var value, t2, _this = this,
37138 t1 = visitor._serialize$_buffer;
37139 t1.writeCharCode$1(91);
37140 t1.write$1(0, _this.name);
37141 value = _this.value;
37142 if (value != null) {
37143 t1.write$1(0, _this.op);
37144 if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
37145 t1.write$1(0, value);
37146 t2 = _this.modifier;
37147 if (t2 != null)
37148 t1.writeCharCode$1(32);
37149 } else {
37150 visitor._visitQuotedString$1(value);
37151 t2 = _this.modifier;
37152 if (t2 != null)
37153 if (visitor._style !== B.OutputStyle_compressed)
37154 t1.writeCharCode$1(32);
37155 }
37156 if (t2 != null)
37157 t1.write$1(0, t2);
37158 }
37159 t1.writeCharCode$1(93);
37160 return null;
37161 },
37162 accept$1(visitor) {
37163 return this.accept$1$1(visitor, type$.dynamic);
37164 },
37165 $eq(_, other) {
37166 var _this = this;
37167 if (other == null)
37168 return false;
37169 return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
37170 },
37171 get$hashCode(_) {
37172 var _this = this,
37173 t1 = _this.name;
37174 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;
37175 }
37176 };
37177 A.AttributeOperator.prototype = {
37178 toString$0(_) {
37179 return this._attribute$_text;
37180 }
37181 };
37182 A.ClassSelector.prototype = {
37183 $eq(_, other) {
37184 if (other == null)
37185 return false;
37186 return other instanceof A.ClassSelector && other.name === this.name;
37187 },
37188 accept$1$1(visitor) {
37189 var t1 = visitor._serialize$_buffer;
37190 t1.writeCharCode$1(46);
37191 t1.write$1(0, this.name);
37192 return null;
37193 },
37194 accept$1(visitor) {
37195 return this.accept$1$1(visitor, type$.dynamic);
37196 },
37197 addSuffix$1(suffix) {
37198 return new A.ClassSelector(this.name + suffix);
37199 },
37200 get$hashCode(_) {
37201 return B.JSString_methods.get$hashCode(this.name);
37202 }
37203 };
37204 A.ComplexSelector.prototype = {
37205 get$minSpecificity() {
37206 if (this._minSpecificity == null)
37207 this._computeSpecificity$0();
37208 var t1 = this._minSpecificity;
37209 t1.toString;
37210 return t1;
37211 },
37212 get$maxSpecificity() {
37213 if (this._complex$_maxSpecificity == null)
37214 this._computeSpecificity$0();
37215 var t1 = this._complex$_maxSpecificity;
37216 t1.toString;
37217 return t1;
37218 },
37219 get$isInvisible() {
37220 var result, _this = this,
37221 value = _this.__ComplexSelector_isInvisible;
37222 if (value === $) {
37223 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure());
37224 A._lateInitializeOnceCheck(_this.__ComplexSelector_isInvisible, "isInvisible");
37225 _this.__ComplexSelector_isInvisible = result;
37226 value = result;
37227 }
37228 return value;
37229 },
37230 accept$1$1(visitor) {
37231 return visitor.visitComplexSelector$1(this);
37232 },
37233 accept$1(visitor) {
37234 return this.accept$1$1(visitor, type$.dynamic);
37235 },
37236 _computeSpecificity$0() {
37237 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
37238 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37239 component = t1[_i];
37240 if (component instanceof A.CompoundSelector) {
37241 if (component._compound$_minSpecificity == null)
37242 component._compound$_computeSpecificity$0();
37243 t3 = component._compound$_minSpecificity;
37244 t3.toString;
37245 minSpecificity += t3;
37246 if (component._maxSpecificity == null)
37247 component._compound$_computeSpecificity$0();
37248 t3 = component._maxSpecificity;
37249 t3.toString;
37250 maxSpecificity += t3;
37251 }
37252 }
37253 this._minSpecificity = minSpecificity;
37254 this._complex$_maxSpecificity = maxSpecificity;
37255 },
37256 get$hashCode(_) {
37257 return B.C_ListEquality0.hash$1(this.components);
37258 },
37259 $eq(_, other) {
37260 if (other == null)
37261 return false;
37262 return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37263 }
37264 };
37265 A.ComplexSelector_isInvisible_closure.prototype = {
37266 call$1(component) {
37267 return component instanceof A.CompoundSelector && component.get$isInvisible();
37268 },
37269 $signature: 137
37270 };
37271 A.Combinator.prototype = {
37272 toString$0(_) {
37273 return this._complex$_text;
37274 },
37275 $isComplexSelectorComponent: 1
37276 };
37277 A.CompoundSelector.prototype = {
37278 get$isInvisible() {
37279 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure());
37280 },
37281 accept$1$1(visitor) {
37282 return visitor.visitCompoundSelector$1(this);
37283 },
37284 accept$1(visitor) {
37285 return this.accept$1$1(visitor, type$.dynamic);
37286 },
37287 _compound$_computeSpecificity$0() {
37288 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
37289 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37290 simple = t1[_i];
37291 minSpecificity += simple.get$minSpecificity();
37292 maxSpecificity += simple.get$maxSpecificity();
37293 }
37294 this._compound$_minSpecificity = minSpecificity;
37295 this._maxSpecificity = maxSpecificity;
37296 },
37297 get$hashCode(_) {
37298 return B.C_ListEquality0.hash$1(this.components);
37299 },
37300 $eq(_, other) {
37301 if (other == null)
37302 return false;
37303 return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37304 },
37305 $isComplexSelectorComponent: 1
37306 };
37307 A.CompoundSelector_isInvisible_closure.prototype = {
37308 call$1(component) {
37309 return component.get$isInvisible();
37310 },
37311 $signature: 16
37312 };
37313 A.IDSelector.prototype = {
37314 get$minSpecificity() {
37315 return A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(this), 2));
37316 },
37317 accept$1$1(visitor) {
37318 var t1 = visitor._serialize$_buffer;
37319 t1.writeCharCode$1(35);
37320 t1.write$1(0, this.name);
37321 return null;
37322 },
37323 accept$1(visitor) {
37324 return this.accept$1$1(visitor, type$.dynamic);
37325 },
37326 addSuffix$1(suffix) {
37327 return new A.IDSelector(this.name + suffix);
37328 },
37329 unify$1(compound) {
37330 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
37331 return null;
37332 return this.super$SimpleSelector$unify(compound);
37333 },
37334 $eq(_, other) {
37335 if (other == null)
37336 return false;
37337 return other instanceof A.IDSelector && other.name === this.name;
37338 },
37339 get$hashCode(_) {
37340 return B.JSString_methods.get$hashCode(this.name);
37341 }
37342 };
37343 A.IDSelector_unify_closure.prototype = {
37344 call$1(simple) {
37345 var t1;
37346 if (simple instanceof A.IDSelector) {
37347 t1 = simple.name;
37348 t1 = this.$this.name !== t1;
37349 } else
37350 t1 = false;
37351 return t1;
37352 },
37353 $signature: 16
37354 };
37355 A.SelectorList.prototype = {
37356 get$isInvisible() {
37357 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure());
37358 },
37359 get$asSassList() {
37360 var t1 = this.components;
37361 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
37362 },
37363 accept$1$1(visitor) {
37364 return visitor.visitSelectorList$1(this);
37365 },
37366 accept$1(visitor) {
37367 return this.accept$1$1(visitor, type$.dynamic);
37368 },
37369 unify$1(other) {
37370 var t1 = this.components,
37371 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"),
37372 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure(other), t2), true, t2._eval$1("Iterable.E"));
37373 return contents.length === 0 ? null : A.SelectorList$(contents);
37374 },
37375 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
37376 var t1, _this = this;
37377 if ($parent == null) {
37378 if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
37379 return _this;
37380 throw A.wrapException(A.SassScriptException$(string$.Top_le));
37381 }
37382 t1 = _this.components;
37383 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));
37384 },
37385 resolveParentSelectors$1($parent) {
37386 return this.resolveParentSelectors$2$implicitParent($parent, true);
37387 },
37388 _complexContainsParentSelector$1(complex) {
37389 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
37390 },
37391 _resolveParentSelectorsCompound$2(compound, $parent) {
37392 var resolvedMembers0, parentSelector, t1,
37393 resolvedMembers = compound.components,
37394 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure());
37395 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector))
37396 return null;
37397 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector>")) : resolvedMembers;
37398 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
37399 if (parentSelector instanceof A.ParentSelector) {
37400 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
37401 return $parent.components;
37402 } else
37403 return A._setArrayType([A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
37404 t1 = $parent.components;
37405 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37406 },
37407 get$hashCode(_) {
37408 return B.C_ListEquality0.hash$1(this.components);
37409 },
37410 $eq(_, other) {
37411 if (other == null)
37412 return false;
37413 return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
37414 }
37415 };
37416 A.SelectorList_isInvisible_closure.prototype = {
37417 call$1(complex) {
37418 return complex.get$isInvisible();
37419 },
37420 $signature: 19
37421 };
37422 A.SelectorList_asSassList_closure.prototype = {
37423 call$1(complex) {
37424 var t1 = complex.components;
37425 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_woc, false);
37426 },
37427 $signature: 465
37428 };
37429 A.SelectorList_asSassList__closure.prototype = {
37430 call$1(component) {
37431 return new A.SassString(component.toString$0(0), false);
37432 },
37433 $signature: 495
37434 };
37435 A.SelectorList_unify_closure.prototype = {
37436 call$1(complex1) {
37437 var t1 = this.other.components;
37438 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"));
37439 },
37440 $signature: 127
37441 };
37442 A.SelectorList_unify__closure.prototype = {
37443 call$1(complex2) {
37444 var unified = A.unifyComplex(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent));
37445 if (unified == null)
37446 return B.List_empty4;
37447 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure(), type$.ComplexSelector);
37448 },
37449 $signature: 127
37450 };
37451 A.SelectorList_unify___closure.prototype = {
37452 call$1(complex) {
37453 return A.ComplexSelector$(complex, false);
37454 },
37455 $signature: 75
37456 };
37457 A.SelectorList_resolveParentSelectors_closure.prototype = {
37458 call$1(complex) {
37459 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 = {},
37460 t1 = _this.$this;
37461 if (!t1._complexContainsParentSelector$1(complex)) {
37462 if (!_this.implicitParent)
37463 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
37464 t1 = _this.parent.components;
37465 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37466 }
37467 t2 = type$.JSArray_List_ComplexSelectorComponent;
37468 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent)], t2);
37469 t3 = type$.JSArray_bool;
37470 _box_0.lineBreaks = A._setArrayType([false], t3);
37471 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
37472 component = t4[_i];
37473 if (component instanceof A.CompoundSelector) {
37474 resolved = t1._resolveParentSelectorsCompound$2(component, t7);
37475 if (resolved == null) {
37476 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37477 newComplexes[_i0].push(component);
37478 continue;
37479 }
37480 previousLineBreaks = _box_0.lineBreaks;
37481 newComplexes0 = A._setArrayType([], t2);
37482 _box_0.lineBreaks = A._setArrayType([], t3);
37483 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) {
37484 newComplex = newComplexes[_i0];
37485 i0 = i + 1;
37486 lineBreak = previousLineBreaks[i];
37487 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
37488 t12 = t10.get$current(t10);
37489 t13 = A.List_List$of(newComplex, true, t6);
37490 B.JSArray_methods.addAll$1(t13, t12.components);
37491 newComplexes0.push(t13);
37492 t13 = _box_0.lineBreaks;
37493 t13.push(!t11 || t12.lineBreak);
37494 }
37495 }
37496 newComplexes = newComplexes0;
37497 } else
37498 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37499 newComplexes[_i0].push(component);
37500 }
37501 _box_0.i = 0;
37502 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure0(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector>"));
37503 },
37504 $signature: 127
37505 };
37506 A.SelectorList_resolveParentSelectors__closure.prototype = {
37507 call$1(parentComplex) {
37508 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent),
37509 t2 = this.complex;
37510 B.JSArray_methods.addAll$1(t1, t2.components);
37511 return A.ComplexSelector$(t1, t2.lineBreak || parentComplex.lineBreak);
37512 },
37513 $signature: 126
37514 };
37515 A.SelectorList_resolveParentSelectors__closure0.prototype = {
37516 call$1(newComplex) {
37517 var t1 = this._box_0;
37518 return A.ComplexSelector$(newComplex, t1.lineBreaks[t1.i++]);
37519 },
37520 $signature: 75
37521 };
37522 A.SelectorList__complexContainsParentSelector_closure.prototype = {
37523 call$1(component) {
37524 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure());
37525 },
37526 $signature: 137
37527 };
37528 A.SelectorList__complexContainsParentSelector__closure.prototype = {
37529 call$1(simple) {
37530 var selector;
37531 if (simple instanceof A.ParentSelector)
37532 return true;
37533 if (!(simple instanceof A.PseudoSelector))
37534 return false;
37535 selector = simple.selector;
37536 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37537 },
37538 $signature: 16
37539 };
37540 A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
37541 call$1(simple) {
37542 var selector;
37543 if (!(simple instanceof A.PseudoSelector))
37544 return false;
37545 selector = simple.selector;
37546 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37547 },
37548 $signature: 16
37549 };
37550 A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
37551 call$1(simple) {
37552 var selector, t1, t2, t3;
37553 if (!(simple instanceof A.PseudoSelector))
37554 return simple;
37555 selector = simple.selector;
37556 if (selector == null)
37557 return simple;
37558 if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
37559 return simple;
37560 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
37561 t2 = simple.name;
37562 t3 = simple.isClass;
37563 return A.PseudoSelector$(t2, simple.argument, !t3, t1);
37564 },
37565 $signature: 520
37566 };
37567 A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
37568 call$1(complex) {
37569 var suffix, t2, t3, t4, t5, last,
37570 t1 = complex.components,
37571 lastComponent = B.JSArray_methods.get$last(t1);
37572 if (!(lastComponent instanceof A.CompoundSelector))
37573 throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
37574 suffix = type$.ParentSelector._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
37575 t2 = type$.SimpleSelector;
37576 t3 = this.resolvedMembers;
37577 t4 = lastComponent.components;
37578 t5 = J.getInterceptor$ax(t3);
37579 if (suffix != null) {
37580 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
37581 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
37582 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37583 last = A.CompoundSelector$(t2);
37584 } else {
37585 t2 = A.List_List$of(t4, true, t2);
37586 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37587 last = A.CompoundSelector$(t2);
37588 }
37589 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent);
37590 t1.push(last);
37591 return A.ComplexSelector$(t1, complex.lineBreak);
37592 },
37593 $signature: 126
37594 };
37595 A.ParentSelector.prototype = {
37596 accept$1$1(visitor) {
37597 var t2,
37598 t1 = visitor._serialize$_buffer;
37599 t1.writeCharCode$1(38);
37600 t2 = this.suffix;
37601 if (t2 != null)
37602 t1.write$1(0, t2);
37603 return null;
37604 },
37605 accept$1(visitor) {
37606 return this.accept$1$1(visitor, type$.dynamic);
37607 },
37608 unify$1(compound) {
37609 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
37610 }
37611 };
37612 A.PlaceholderSelector.prototype = {
37613 get$isInvisible() {
37614 return true;
37615 },
37616 accept$1$1(visitor) {
37617 var t1 = visitor._serialize$_buffer;
37618 t1.writeCharCode$1(37);
37619 t1.write$1(0, this.name);
37620 return null;
37621 },
37622 accept$1(visitor) {
37623 return this.accept$1$1(visitor, type$.dynamic);
37624 },
37625 addSuffix$1(suffix) {
37626 return new A.PlaceholderSelector(this.name + suffix);
37627 },
37628 $eq(_, other) {
37629 if (other == null)
37630 return false;
37631 return other instanceof A.PlaceholderSelector && other.name === this.name;
37632 },
37633 get$hashCode(_) {
37634 return B.JSString_methods.get$hashCode(this.name);
37635 }
37636 };
37637 A.PseudoSelector.prototype = {
37638 get$isHostContext() {
37639 return this.isClass && this.name === "host-context" && this.selector != null;
37640 },
37641 get$minSpecificity() {
37642 if (this._pseudo$_minSpecificity == null)
37643 this._pseudo$_computeSpecificity$0();
37644 var t1 = this._pseudo$_minSpecificity;
37645 t1.toString;
37646 return t1;
37647 },
37648 get$maxSpecificity() {
37649 if (this._pseudo$_maxSpecificity == null)
37650 this._pseudo$_computeSpecificity$0();
37651 var t1 = this._pseudo$_maxSpecificity;
37652 t1.toString;
37653 return t1;
37654 },
37655 get$isInvisible() {
37656 var selector = this.selector;
37657 if (selector == null)
37658 return false;
37659 return this.name !== "not" && selector.get$isInvisible();
37660 },
37661 addSuffix$1(suffix) {
37662 var _this = this;
37663 if (_this.argument != null || _this.selector != null)
37664 _this.super$SimpleSelector$addSuffix(suffix);
37665 return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
37666 },
37667 unify$1(compound) {
37668 var other, result, t2, addedThis, _i, simple, _this = this,
37669 t1 = _this.name;
37670 if (t1 === "host" || t1 === "host-context") {
37671 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
37672 return null;
37673 } else if (compound.length === 1) {
37674 other = B.JSArray_methods.get$first(compound);
37675 if (!(other instanceof A.UniversalSelector))
37676 if (other instanceof A.PseudoSelector)
37677 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37678 else
37679 t1 = false;
37680 else
37681 t1 = true;
37682 if (t1)
37683 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37684 }
37685 if (B.JSArray_methods.contains$1(compound, _this))
37686 return compound;
37687 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37688 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37689 simple = compound[_i];
37690 if (simple instanceof A.PseudoSelector && !simple.isClass) {
37691 if (t2)
37692 return null;
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 _pseudo$_computeSpecificity$0() {
37703 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
37704 if (!_this.isClass) {
37705 _this._pseudo$_maxSpecificity = _this._pseudo$_minSpecificity = 1;
37706 return;
37707 }
37708 selector = _this.selector;
37709 if (selector == null) {
37710 _this._pseudo$_minSpecificity = A.SimpleSelector.prototype.get$minSpecificity.call(_this);
37711 _this._pseudo$_maxSpecificity = A.SimpleSelector.prototype.get$maxSpecificity.call(_this);
37712 return;
37713 }
37714 if (_this.name === "not") {
37715 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37716 complex = t1[_i];
37717 if (complex._minSpecificity == null)
37718 complex._computeSpecificity$0();
37719 t3 = complex._minSpecificity;
37720 t3.toString;
37721 minSpecificity = Math.max(minSpecificity, t3);
37722 if (complex._complex$_maxSpecificity == null)
37723 complex._computeSpecificity$0();
37724 t3 = complex._complex$_maxSpecificity;
37725 t3.toString;
37726 maxSpecificity = Math.max(maxSpecificity, t3);
37727 }
37728 _this._pseudo$_minSpecificity = minSpecificity;
37729 _this._pseudo$_maxSpecificity = maxSpecificity;
37730 } else {
37731 minSpecificity = A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(_this), 3));
37732 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37733 complex = t1[_i];
37734 if (complex._minSpecificity == null)
37735 complex._computeSpecificity$0();
37736 t3 = complex._minSpecificity;
37737 t3.toString;
37738 minSpecificity = Math.min(minSpecificity, t3);
37739 if (complex._complex$_maxSpecificity == null)
37740 complex._computeSpecificity$0();
37741 t3 = complex._complex$_maxSpecificity;
37742 t3.toString;
37743 maxSpecificity = Math.max(maxSpecificity, t3);
37744 }
37745 _this._pseudo$_minSpecificity = minSpecificity;
37746 _this._pseudo$_maxSpecificity = maxSpecificity;
37747 }
37748 },
37749 accept$1$1(visitor) {
37750 return visitor.visitPseudoSelector$1(this);
37751 },
37752 accept$1(visitor) {
37753 return this.accept$1$1(visitor, type$.dynamic);
37754 },
37755 $eq(_, other) {
37756 var _this = this;
37757 if (other == null)
37758 return false;
37759 return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
37760 },
37761 get$hashCode(_) {
37762 var _this = this,
37763 t1 = B.JSString_methods.get$hashCode(_this.name),
37764 t2 = !_this.isClass ? 519018 : 218159;
37765 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
37766 }
37767 };
37768 A.PseudoSelector_unify_closure.prototype = {
37769 call$1(simple) {
37770 var t1;
37771 if (simple instanceof A.PseudoSelector)
37772 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
37773 else
37774 t1 = false;
37775 return t1;
37776 },
37777 $signature: 16
37778 };
37779 A.QualifiedName.prototype = {
37780 $eq(_, other) {
37781 if (other == null)
37782 return false;
37783 return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
37784 },
37785 get$hashCode(_) {
37786 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
37787 },
37788 toString$0(_) {
37789 var t1 = this.namespace,
37790 t2 = this.name;
37791 return t1 == null ? t2 : t1 + "|" + t2;
37792 }
37793 };
37794 A.SimpleSelector.prototype = {
37795 get$minSpecificity() {
37796 return 1000;
37797 },
37798 get$maxSpecificity() {
37799 return this.get$minSpecificity();
37800 },
37801 addSuffix$1(suffix) {
37802 return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"'));
37803 },
37804 unify$1(compound) {
37805 var other, t1, result, addedThis, _i, simple, _this = this;
37806 if (compound.length === 1) {
37807 other = B.JSArray_methods.get$first(compound);
37808 if (!(other instanceof A.UniversalSelector))
37809 if (other instanceof A.PseudoSelector)
37810 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37811 else
37812 t1 = false;
37813 else
37814 t1 = true;
37815 if (t1)
37816 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37817 }
37818 if (B.JSArray_methods.contains$1(compound, _this))
37819 return compound;
37820 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37821 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37822 simple = compound[_i];
37823 if (!addedThis && simple instanceof A.PseudoSelector) {
37824 result.push(_this);
37825 addedThis = true;
37826 }
37827 result.push(simple);
37828 }
37829 if (!addedThis)
37830 result.push(_this);
37831 return result;
37832 }
37833 };
37834 A.TypeSelector.prototype = {
37835 get$minSpecificity() {
37836 return 1;
37837 },
37838 accept$1$1(visitor) {
37839 visitor._serialize$_buffer.write$1(0, this.name);
37840 return null;
37841 },
37842 accept$1(visitor) {
37843 return this.accept$1$1(visitor, type$.dynamic);
37844 },
37845 addSuffix$1(suffix) {
37846 var t1 = this.name;
37847 return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
37848 },
37849 unify$1(compound) {
37850 var unified, t1;
37851 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
37852 unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
37853 if (unified == null)
37854 return null;
37855 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37856 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37857 return t1;
37858 } else {
37859 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
37860 B.JSArray_methods.addAll$1(t1, compound);
37861 return t1;
37862 }
37863 },
37864 $eq(_, other) {
37865 if (other == null)
37866 return false;
37867 return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
37868 },
37869 get$hashCode(_) {
37870 var t1 = this.name;
37871 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
37872 }
37873 };
37874 A.UniversalSelector.prototype = {
37875 get$minSpecificity() {
37876 return 0;
37877 },
37878 accept$1$1(visitor) {
37879 var t2,
37880 t1 = this.namespace;
37881 if (t1 != null) {
37882 t2 = visitor._serialize$_buffer;
37883 t2.write$1(0, t1);
37884 t2.writeCharCode$1(124);
37885 }
37886 visitor._serialize$_buffer.writeCharCode$1(42);
37887 return null;
37888 },
37889 accept$1(visitor) {
37890 return this.accept$1$1(visitor, type$.dynamic);
37891 },
37892 unify$1(compound) {
37893 var unified, t1, _this = this,
37894 first = B.JSArray_methods.get$first(compound);
37895 if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
37896 unified = A.unifyUniversalAndElement(_this, first);
37897 if (unified == null)
37898 return null;
37899 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37900 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37901 return t1;
37902 } else {
37903 if (compound.length === 1)
37904 if (first instanceof A.PseudoSelector)
37905 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
37906 else
37907 t1 = false;
37908 else
37909 t1 = false;
37910 if (t1)
37911 return null;
37912 }
37913 t1 = _this.namespace;
37914 if (t1 != null && t1 !== "*") {
37915 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
37916 B.JSArray_methods.addAll$1(t1, compound);
37917 return t1;
37918 }
37919 if (compound.length !== 0)
37920 return compound;
37921 return A._setArrayType([_this], type$.JSArray_SimpleSelector);
37922 },
37923 $eq(_, other) {
37924 if (other == null)
37925 return false;
37926 return other instanceof A.UniversalSelector && other.namespace == this.namespace;
37927 },
37928 get$hashCode(_) {
37929 return J.get$hashCode$(this.namespace);
37930 }
37931 };
37932 A._compileStylesheet_closure0.prototype = {
37933 call$1(url) {
37934 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);
37935 },
37936 $signature: 5
37937 };
37938 A.AsyncEnvironment.prototype = {
37939 closure$0() {
37940 var t4, t5, t6, _this = this,
37941 t1 = _this._async_environment$_forwardedModules,
37942 t2 = _this._async_environment$_nestedForwardedModules,
37943 t3 = _this._async_environment$_variables;
37944 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
37945 t4 = _this._async_environment$_variableNodes;
37946 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
37947 t5 = _this._async_environment$_functions;
37948 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
37949 t6 = _this._async_environment$_mixins;
37950 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
37951 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);
37952 },
37953 addModule$3$namespace(module, nodeWithSpan, namespace) {
37954 var t1, t2, span, _this = this;
37955 if (namespace == null) {
37956 _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
37957 _this._async_environment$_allModules.push(module);
37958 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
37959 t2 = t1.get$current(t1);
37960 if (module.get$variables().containsKey$1(t2))
37961 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
37962 }
37963 } else {
37964 t1 = _this._async_environment$_modules;
37965 if (t1.containsKey$1(namespace)) {
37966 t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
37967 span = t1 == null ? null : t1.span;
37968 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37969 if (span != null)
37970 t1.$indexSet(0, span, "original @use");
37971 throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
37972 }
37973 t1.$indexSet(0, namespace, module);
37974 _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
37975 _this._async_environment$_allModules.push(module);
37976 }
37977 },
37978 forwardModule$2(module, rule) {
37979 var view, t1, t2, _this = this,
37980 forwardedModules = _this._async_environment$_forwardedModules;
37981 if (forwardedModules == null)
37982 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37983 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
37984 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
37985 t2 = t1.__js_helper$_current;
37986 _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
37987 _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
37988 _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
37989 }
37990 _this._async_environment$_allModules.push(module);
37991 forwardedModules.$indexSet(0, view, rule);
37992 },
37993 _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
37994 var larger, smaller, t1, t2, $name, span;
37995 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
37996 larger = oldMembers;
37997 smaller = newMembers;
37998 } else {
37999 larger = newMembers;
38000 smaller = oldMembers;
38001 }
38002 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
38003 $name = t1.get$current(t1);
38004 if (!larger.containsKey$1($name))
38005 continue;
38006 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
38007 continue;
38008 if (t2)
38009 $name = "$" + $name;
38010 t1 = this._async_environment$_forwardedModules;
38011 if (t1 == null)
38012 span = null;
38013 else {
38014 t1 = t1.$index(0, oldModule);
38015 span = t1 == null ? null : J.get$span$z(t1);
38016 }
38017 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38018 if (span != null)
38019 t1.$indexSet(0, span, "original @forward");
38020 throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
38021 }
38022 },
38023 importForwards$1(module) {
38024 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
38025 forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
38026 if (forwarded == null)
38027 return;
38028 forwardedModules = _this._async_environment$_forwardedModules;
38029 if (forwardedModules != null) {
38030 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
38031 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
38032 t4 = t2.get$current(t2);
38033 t5 = t4.key;
38034 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
38035 t1.$indexSet(0, t5, t4.value);
38036 }
38037 forwarded = t1;
38038 } else
38039 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
38040 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
38041 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
38042 t3 = t2._eval$1("Iterable.E");
38043 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure(), t2), t3);
38044 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure0(), t2), t3);
38045 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure1(), t2), t3);
38046 t2 = _this._async_environment$_variables;
38047 t3 = t2.length;
38048 if (t3 === 1) {
38049 for (t1 = _this._async_environment$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
38050 entry = t3[_i];
38051 module = entry.key;
38052 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38053 if (shadowed != null) {
38054 t1.remove$1(0, module);
38055 t6 = shadowed.variables;
38056 if (t6.get$isEmpty(t6)) {
38057 t6 = shadowed.functions;
38058 if (t6.get$isEmpty(t6)) {
38059 t6 = shadowed.mixins;
38060 if (t6.get$isEmpty(t6)) {
38061 t6 = shadowed._shadowed_view$_inner;
38062 t6 = t6.get$css(t6);
38063 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38064 } else
38065 t6 = false;
38066 } else
38067 t6 = false;
38068 } else
38069 t6 = false;
38070 if (!t6)
38071 t1.$indexSet(0, shadowed, entry.value);
38072 }
38073 }
38074 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) {
38075 entry = t3[_i];
38076 module = entry.key;
38077 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38078 if (shadowed != null) {
38079 forwardedModules.remove$1(0, module);
38080 t6 = shadowed.variables;
38081 if (t6.get$isEmpty(t6)) {
38082 t6 = shadowed.functions;
38083 if (t6.get$isEmpty(t6)) {
38084 t6 = shadowed.mixins;
38085 if (t6.get$isEmpty(t6)) {
38086 t6 = shadowed._shadowed_view$_inner;
38087 t6 = t6.get$css(t6);
38088 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38089 } else
38090 t6 = false;
38091 } else
38092 t6 = false;
38093 } else
38094 t6 = false;
38095 if (!t6)
38096 forwardedModules.$indexSet(0, shadowed, entry.value);
38097 }
38098 }
38099 t1.addAll$1(0, forwarded);
38100 forwardedModules.addAll$1(0, forwarded);
38101 } else {
38102 t4 = _this._async_environment$_nestedForwardedModules;
38103 if (t4 == null) {
38104 _length = t3 - 1;
38105 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
38106 for (t3 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
38107 _list[_i] = A._setArrayType([], t3);
38108 _this._async_environment$_nestedForwardedModules = _list;
38109 t3 = _list;
38110 } else
38111 t3 = t4;
38112 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
38113 }
38114 for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._async_environment$_variableIndices, t4 = _this._async_environment$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
38115 t6 = t1._collection$_current;
38116 if (t6 == null)
38117 t6 = t5._as(t6);
38118 t3.remove$1(0, t6);
38119 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
38120 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
38121 }
38122 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._async_environment$_functionIndices, t3 = _this._async_environment$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
38123 t5 = t1._collection$_current;
38124 if (t5 == null)
38125 t5 = t4._as(t5);
38126 t2.remove$1(0, t5);
38127 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
38128 }
38129 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
38130 t5 = t1._collection$_current;
38131 if (t5 == null)
38132 t5 = t4._as(t5);
38133 t2.remove$1(0, t5);
38134 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
38135 }
38136 },
38137 getVariable$2$namespace($name, namespace) {
38138 var t1, index, _this = this;
38139 if (namespace != null)
38140 return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
38141 if (_this._async_environment$_lastVariableName === $name) {
38142 t1 = _this._async_environment$_lastVariableIndex;
38143 t1.toString;
38144 t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
38145 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38146 }
38147 t1 = _this._async_environment$_variableIndices;
38148 index = t1.$index(0, $name);
38149 if (index != null) {
38150 _this._async_environment$_lastVariableName = $name;
38151 _this._async_environment$_lastVariableIndex = index;
38152 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38153 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38154 }
38155 index = _this._async_environment$_variableIndex$1($name);
38156 if (index == null)
38157 return _this._async_environment$_getVariableFromGlobalModule$1($name);
38158 _this._async_environment$_lastVariableName = $name;
38159 _this._async_environment$_lastVariableIndex = index;
38160 t1.$indexSet(0, $name, index);
38161 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38162 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38163 },
38164 getVariable$1($name) {
38165 return this.getVariable$2$namespace($name, null);
38166 },
38167 _async_environment$_getVariableFromGlobalModule$1($name) {
38168 return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
38169 },
38170 getVariableNode$2$namespace($name, namespace) {
38171 var t1, index, _this = this;
38172 if (namespace != null)
38173 return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
38174 if (_this._async_environment$_lastVariableName === $name) {
38175 t1 = _this._async_environment$_lastVariableIndex;
38176 t1.toString;
38177 t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
38178 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38179 }
38180 t1 = _this._async_environment$_variableIndices;
38181 index = t1.$index(0, $name);
38182 if (index != null) {
38183 _this._async_environment$_lastVariableName = $name;
38184 _this._async_environment$_lastVariableIndex = index;
38185 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38186 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38187 }
38188 index = _this._async_environment$_variableIndex$1($name);
38189 if (index == null)
38190 return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
38191 _this._async_environment$_lastVariableName = $name;
38192 _this._async_environment$_lastVariableIndex = index;
38193 t1.$indexSet(0, $name, index);
38194 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38195 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38196 },
38197 _async_environment$_getVariableNodeFromGlobalModule$1($name) {
38198 var t1, t2, value;
38199 for (t1 = this._async_environment$_importedModules, t2 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
38200 t1 = t2._currentIterator;
38201 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
38202 if (value != null)
38203 return value;
38204 }
38205 return null;
38206 },
38207 globalVariableExists$2$namespace($name, namespace) {
38208 if (namespace != null)
38209 return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
38210 if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
38211 return true;
38212 return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
38213 },
38214 globalVariableExists$1($name) {
38215 return this.globalVariableExists$2$namespace($name, null);
38216 },
38217 _async_environment$_variableIndex$1($name) {
38218 var t1, i;
38219 for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
38220 if (t1[i].containsKey$1($name))
38221 return i;
38222 return null;
38223 },
38224 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
38225 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
38226 if (namespace != null) {
38227 _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
38228 return;
38229 }
38230 if (global || _this._async_environment$_variables.length === 1) {
38231 _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
38232 t1 = _this._async_environment$_variables;
38233 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
38234 moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
38235 if (moduleWithName != null) {
38236 moduleWithName.setVariable$3($name, value, nodeWithSpan);
38237 return;
38238 }
38239 }
38240 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
38241 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
38242 return;
38243 }
38244 nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
38245 if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
38246 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();) {
38247 t3 = t1.__internal$_current;
38248 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
38249 t5 = t3.__internal$_current;
38250 if (t5 == null)
38251 t5 = t4._as(t5);
38252 if (t5.get$variables().containsKey$1($name)) {
38253 t5.setVariable$3($name, value, nodeWithSpan);
38254 return;
38255 }
38256 }
38257 }
38258 if (_this._async_environment$_lastVariableName === $name) {
38259 t1 = _this._async_environment$_lastVariableIndex;
38260 t1.toString;
38261 index = t1;
38262 } else
38263 index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
38264 if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
38265 index = _this._async_environment$_variables.length - 1;
38266 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38267 }
38268 _this._async_environment$_lastVariableName = $name;
38269 _this._async_environment$_lastVariableIndex = index;
38270 J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
38271 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38272 },
38273 setVariable$4$global($name, value, nodeWithSpan, global) {
38274 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
38275 },
38276 setLocalVariable$3($name, value, nodeWithSpan) {
38277 var index, _this = this,
38278 t1 = _this._async_environment$_variables,
38279 t2 = t1.length;
38280 _this._async_environment$_lastVariableName = $name;
38281 index = _this._async_environment$_lastVariableIndex = t2 - 1;
38282 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38283 J.$indexSet$ax(t1[index], $name, value);
38284 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38285 },
38286 getFunction$2$namespace($name, namespace) {
38287 var t1, index, _this = this;
38288 if (namespace != null) {
38289 t1 = _this._async_environment$_getModule$1(namespace);
38290 return t1.get$functions(t1).$index(0, $name);
38291 }
38292 t1 = _this._async_environment$_functionIndices;
38293 index = t1.$index(0, $name);
38294 if (index != null) {
38295 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38296 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38297 }
38298 index = _this._async_environment$_functionIndex$1($name);
38299 if (index == null)
38300 return _this._async_environment$_getFunctionFromGlobalModule$1($name);
38301 t1.$indexSet(0, $name, index);
38302 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38303 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38304 },
38305 _async_environment$_getFunctionFromGlobalModule$1($name) {
38306 return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
38307 },
38308 _async_environment$_functionIndex$1($name) {
38309 var t1, i;
38310 for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
38311 if (t1[i].containsKey$1($name))
38312 return i;
38313 return null;
38314 },
38315 getMixin$2$namespace($name, namespace) {
38316 var t1, index, _this = this;
38317 if (namespace != null)
38318 return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
38319 t1 = _this._async_environment$_mixinIndices;
38320 index = t1.$index(0, $name);
38321 if (index != null) {
38322 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38323 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38324 }
38325 index = _this._async_environment$_mixinIndex$1($name);
38326 if (index == null)
38327 return _this._async_environment$_getMixinFromGlobalModule$1($name);
38328 t1.$indexSet(0, $name, index);
38329 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38330 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38331 },
38332 _async_environment$_getMixinFromGlobalModule$1($name) {
38333 return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
38334 },
38335 _async_environment$_mixinIndex$1($name) {
38336 var t1, i;
38337 for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
38338 if (t1[i].containsKey$1($name))
38339 return i;
38340 return null;
38341 },
38342 withContent$2($content, callback) {
38343 return this.withContent$body$AsyncEnvironment($content, callback);
38344 },
38345 withContent$body$AsyncEnvironment($content, callback) {
38346 var $async$goto = 0,
38347 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38348 $async$self = this, oldContent;
38349 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38350 if ($async$errorCode === 1)
38351 return A._asyncRethrow($async$result, $async$completer);
38352 while (true)
38353 switch ($async$goto) {
38354 case 0:
38355 // Function start
38356 oldContent = $async$self._async_environment$_content;
38357 $async$self._async_environment$_content = $content;
38358 $async$goto = 2;
38359 return A._asyncAwait(callback.call$0(), $async$withContent$2);
38360 case 2:
38361 // returning from await.
38362 $async$self._async_environment$_content = oldContent;
38363 // implicit return
38364 return A._asyncReturn(null, $async$completer);
38365 }
38366 });
38367 return A._asyncStartSync($async$withContent$2, $async$completer);
38368 },
38369 asMixin$1(callback) {
38370 var $async$goto = 0,
38371 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38372 $async$self = this, oldInMixin;
38373 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38374 if ($async$errorCode === 1)
38375 return A._asyncRethrow($async$result, $async$completer);
38376 while (true)
38377 switch ($async$goto) {
38378 case 0:
38379 // Function start
38380 oldInMixin = $async$self._async_environment$_inMixin;
38381 $async$self._async_environment$_inMixin = true;
38382 $async$goto = 2;
38383 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
38384 case 2:
38385 // returning from await.
38386 $async$self._async_environment$_inMixin = oldInMixin;
38387 // implicit return
38388 return A._asyncReturn(null, $async$completer);
38389 }
38390 });
38391 return A._asyncStartSync($async$asMixin$1, $async$completer);
38392 },
38393 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
38394 return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
38395 },
38396 scope$1$1(callback, $T) {
38397 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
38398 },
38399 scope$1$2$when(callback, when, $T) {
38400 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
38401 },
38402 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
38403 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
38404 },
38405 scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
38406 var $async$goto = 0,
38407 $async$completer = A._makeAsyncAwaitCompleter($async$type),
38408 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
38409 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38410 if ($async$errorCode === 1) {
38411 $async$currentError = $async$result;
38412 $async$goto = $async$handler;
38413 }
38414 while (true)
38415 switch ($async$goto) {
38416 case 0:
38417 // Function start
38418 semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
38419 wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
38420 $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
38421 $async$goto = !when ? 3 : 4;
38422 break;
38423 case 3:
38424 // then
38425 $async$handler = 5;
38426 $async$goto = 8;
38427 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38428 case 8:
38429 // returning from await.
38430 t1 = $async$result;
38431 $async$returnValue = t1;
38432 $async$next = [1];
38433 // goto finally
38434 $async$goto = 6;
38435 break;
38436 $async$next.push(7);
38437 // goto finally
38438 $async$goto = 6;
38439 break;
38440 case 5:
38441 // uncaught
38442 $async$next = [2];
38443 case 6:
38444 // finally
38445 $async$handler = 2;
38446 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38447 // goto the next finally handler
38448 $async$goto = $async$next.pop();
38449 break;
38450 case 7:
38451 // after finally
38452 case 4:
38453 // join
38454 t1 = $async$self._async_environment$_variables;
38455 t2 = type$.String;
38456 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
38457 t3 = $async$self._async_environment$_variableNodes;
38458 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
38459 t4 = $async$self._async_environment$_functions;
38460 t5 = type$.AsyncCallable;
38461 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
38462 t6 = $async$self._async_environment$_mixins;
38463 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
38464 t5 = $async$self._async_environment$_nestedForwardedModules;
38465 if (t5 != null)
38466 t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
38467 $async$handler = 9;
38468 $async$goto = 12;
38469 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38470 case 12:
38471 // returning from await.
38472 t2 = $async$result;
38473 $async$returnValue = t2;
38474 $async$next = [1];
38475 // goto finally
38476 $async$goto = 10;
38477 break;
38478 $async$next.push(11);
38479 // goto finally
38480 $async$goto = 10;
38481 break;
38482 case 9:
38483 // uncaught
38484 $async$next = [2];
38485 case 10:
38486 // finally
38487 $async$handler = 2;
38488 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38489 $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
38490 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();) {
38491 $name = t1.get$current(t1);
38492 t2.remove$1(0, $name);
38493 }
38494 B.JSArray_methods.removeLast$0(t3);
38495 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
38496 name0 = t1.get$current(t1);
38497 t2.remove$1(0, name0);
38498 }
38499 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
38500 name1 = t1.get$current(t1);
38501 t2.remove$1(0, name1);
38502 }
38503 t1 = $async$self._async_environment$_nestedForwardedModules;
38504 if (t1 != null)
38505 t1.pop();
38506 // goto the next finally handler
38507 $async$goto = $async$next.pop();
38508 break;
38509 case 11:
38510 // after finally
38511 case 1:
38512 // return
38513 return A._asyncReturn($async$returnValue, $async$completer);
38514 case 2:
38515 // rethrow
38516 return A._asyncRethrow($async$currentError, $async$completer);
38517 }
38518 });
38519 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
38520 },
38521 toImplicitConfiguration$0() {
38522 var t1, t2, i, values, nodes, t3, t4, t5, t6,
38523 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
38524 for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
38525 values = t1[i];
38526 nodes = t2[i];
38527 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
38528 t4 = t3.get$current(t3);
38529 t5 = t4.key;
38530 t4 = t4.value;
38531 t6 = nodes.$index(0, t5);
38532 t6.toString;
38533 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
38534 }
38535 }
38536 return new A.Configuration(configuration);
38537 },
38538 toModule$2(css, extensionStore) {
38539 return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
38540 },
38541 toDummyModule$0() {
38542 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()));
38543 },
38544 _async_environment$_getModule$1(namespace) {
38545 var module = this._async_environment$_modules.$index(0, namespace);
38546 if (module != null)
38547 return module;
38548 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
38549 },
38550 _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
38551 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
38552 nestedForwardedModules = this._async_environment$_nestedForwardedModules;
38553 if (nestedForwardedModules != null)
38554 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();) {
38555 t3 = t1.__internal$_current;
38556 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
38557 t5 = t3.__internal$_current;
38558 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
38559 if (value != null)
38560 return value;
38561 }
38562 }
38563 for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
38564 value = callback.call$1(t1.__js_helper$_current);
38565 if (value != null)
38566 return value;
38567 }
38568 for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
38569 t4 = t2.__js_helper$_current;
38570 valueInModule = callback.call$1(t4);
38571 if (valueInModule == null)
38572 continue;
38573 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
38574 if (identityFromModule.$eq(0, identity))
38575 continue;
38576 if (value != null) {
38577 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
38578 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38579 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
38580 t4 = t1.get$current(t1);
38581 if (t4 != null)
38582 t2.$indexSet(0, t4, t3);
38583 }
38584 throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
38585 }
38586 identity = identityFromModule;
38587 value = valueInModule;
38588 }
38589 return value;
38590 }
38591 };
38592 A.AsyncEnvironment_importForwards_closure.prototype = {
38593 call$1(module) {
38594 var t1 = module.get$variables();
38595 return t1.get$keys(t1);
38596 },
38597 $signature: 120
38598 };
38599 A.AsyncEnvironment_importForwards_closure0.prototype = {
38600 call$1(module) {
38601 var t1 = module.get$functions(module);
38602 return t1.get$keys(t1);
38603 },
38604 $signature: 120
38605 };
38606 A.AsyncEnvironment_importForwards_closure1.prototype = {
38607 call$1(module) {
38608 var t1 = module.get$mixins();
38609 return t1.get$keys(t1);
38610 },
38611 $signature: 120
38612 };
38613 A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
38614 call$1(module) {
38615 return module.get$variables().$index(0, this.name);
38616 },
38617 $signature: 531
38618 };
38619 A.AsyncEnvironment_setVariable_closure.prototype = {
38620 call$0() {
38621 var t1 = this.$this;
38622 t1._async_environment$_lastVariableName = this.name;
38623 return t1._async_environment$_lastVariableIndex = 0;
38624 },
38625 $signature: 12
38626 };
38627 A.AsyncEnvironment_setVariable_closure0.prototype = {
38628 call$1(module) {
38629 return module.get$variables().containsKey$1(this.name) ? module : null;
38630 },
38631 $signature: 540
38632 };
38633 A.AsyncEnvironment_setVariable_closure1.prototype = {
38634 call$0() {
38635 var t1 = this.$this,
38636 t2 = t1._async_environment$_variableIndex$1(this.name);
38637 return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
38638 },
38639 $signature: 12
38640 };
38641 A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
38642 call$1(module) {
38643 return module.get$functions(module).$index(0, this.name);
38644 },
38645 $signature: 217
38646 };
38647 A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
38648 call$1(module) {
38649 return module.get$mixins().$index(0, this.name);
38650 },
38651 $signature: 217
38652 };
38653 A.AsyncEnvironment_toModule_closure.prototype = {
38654 call$1(modules) {
38655 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38656 },
38657 $signature: 216
38658 };
38659 A.AsyncEnvironment_toDummyModule_closure.prototype = {
38660 call$1(modules) {
38661 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38662 },
38663 $signature: 216
38664 };
38665 A.AsyncEnvironment__fromOneModule_closure.prototype = {
38666 call$1(entry) {
38667 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
38668 },
38669 $signature: 265
38670 };
38671 A.AsyncEnvironment__fromOneModule__closure.prototype = {
38672 call$1(_) {
38673 return J.get$span$z(this.entry.value);
38674 },
38675 $signature() {
38676 return this.T._eval$1("FileSpan(0)");
38677 }
38678 };
38679 A._EnvironmentModule0.prototype = {
38680 get$url(_) {
38681 var t1 = this.css;
38682 return t1.get$span(t1).file.url;
38683 },
38684 setVariable$3($name, value, nodeWithSpan) {
38685 var t1, t2,
38686 module = this._async_environment$_modulesByVariable.$index(0, $name);
38687 if (module != null) {
38688 module.setVariable$3($name, value, nodeWithSpan);
38689 return;
38690 }
38691 t1 = this._async_environment$_environment;
38692 t2 = t1._async_environment$_variables;
38693 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
38694 throw A.wrapException(A.SassScriptException$("Undefined variable."));
38695 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
38696 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
38697 return;
38698 },
38699 variableIdentity$1($name) {
38700 var module = this._async_environment$_modulesByVariable.$index(0, $name);
38701 return module == null ? this : module.variableIdentity$1($name);
38702 },
38703 cloneCss$0() {
38704 var newCssAndExtensionStore, _this = this,
38705 t1 = _this.css;
38706 if (J.get$isEmpty$asx(t1.get$children(t1)))
38707 return _this;
38708 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
38709 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);
38710 },
38711 toString$0(_) {
38712 var t1 = this.css;
38713 if (t1.get$span(t1).file.url == null)
38714 t1 = "<unknown url>";
38715 else {
38716 t1 = t1.get$span(t1);
38717 t1 = $.$get$context().prettyUri$1(t1.file.url);
38718 }
38719 return t1;
38720 },
38721 $isModule: 1,
38722 get$upstream() {
38723 return this.upstream;
38724 },
38725 get$variables() {
38726 return this.variables;
38727 },
38728 get$variableNodes() {
38729 return this.variableNodes;
38730 },
38731 get$functions(receiver) {
38732 return this.functions;
38733 },
38734 get$mixins() {
38735 return this.mixins;
38736 },
38737 get$extensionStore() {
38738 return this.extensionStore;
38739 },
38740 get$css(receiver) {
38741 return this.css;
38742 },
38743 get$transitivelyContainsCss() {
38744 return this.transitivelyContainsCss;
38745 },
38746 get$transitivelyContainsExtensions() {
38747 return this.transitivelyContainsExtensions;
38748 }
38749 };
38750 A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
38751 call$1(module) {
38752 return module.get$variables();
38753 },
38754 $signature: 275
38755 };
38756 A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
38757 call$1(module) {
38758 return module.get$variableNodes();
38759 },
38760 $signature: 287
38761 };
38762 A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
38763 call$1(module) {
38764 return module.get$functions(module);
38765 },
38766 $signature: 215
38767 };
38768 A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
38769 call$1(module) {
38770 return module.get$mixins();
38771 },
38772 $signature: 215
38773 };
38774 A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
38775 call$1(module) {
38776 return module.get$transitivelyContainsCss();
38777 },
38778 $signature: 143
38779 };
38780 A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
38781 call$1(module) {
38782 return module.get$transitivelyContainsExtensions();
38783 },
38784 $signature: 143
38785 };
38786 A.AsyncImportCache.prototype = {
38787 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
38788 return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
38789 },
38790 canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
38791 var $async$goto = 0,
38792 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38793 $async$returnValue, $async$self = this, t1, relativeResult;
38794 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38795 if ($async$errorCode === 1)
38796 return A._asyncRethrow($async$result, $async$completer);
38797 while (true)
38798 switch ($async$goto) {
38799 case 0:
38800 // Function start
38801 $async$goto = baseImporter != null ? 3 : 4;
38802 break;
38803 case 3:
38804 // then
38805 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
38806 $async$goto = 5;
38807 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);
38808 case 5:
38809 // returning from await.
38810 relativeResult = $async$result;
38811 if (relativeResult != null) {
38812 $async$returnValue = relativeResult;
38813 // goto return
38814 $async$goto = 1;
38815 break;
38816 }
38817 case 4:
38818 // join
38819 t1 = type$.Tuple2_Uri_bool;
38820 $async$goto = 6;
38821 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);
38822 case 6:
38823 // returning from await.
38824 $async$returnValue = $async$result;
38825 // goto return
38826 $async$goto = 1;
38827 break;
38828 case 1:
38829 // return
38830 return A._asyncReturn($async$returnValue, $async$completer);
38831 }
38832 });
38833 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
38834 },
38835 _async_import_cache$_canonicalize$3(importer, url, forImport) {
38836 return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
38837 },
38838 _canonicalize$body$AsyncImportCache(importer, url, forImport) {
38839 var $async$goto = 0,
38840 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
38841 $async$returnValue, $async$self = this, t1, result;
38842 var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38843 if ($async$errorCode === 1)
38844 return A._asyncRethrow($async$result, $async$completer);
38845 while (true)
38846 switch ($async$goto) {
38847 case 0:
38848 // Function start
38849 if (forImport) {
38850 t1 = type$.nullable_Object;
38851 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
38852 } else
38853 t1 = importer.canonicalize$1(0, url);
38854 $async$goto = 3;
38855 return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
38856 case 3:
38857 // returning from await.
38858 result = $async$result;
38859 if ((result == null ? null : result.get$scheme()) === "")
38860 $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);
38861 $async$returnValue = result;
38862 // goto return
38863 $async$goto = 1;
38864 break;
38865 case 1:
38866 // return
38867 return A._asyncReturn($async$returnValue, $async$completer);
38868 }
38869 });
38870 return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
38871 },
38872 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
38873 return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
38874 },
38875 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
38876 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
38877 },
38878 importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
38879 var $async$goto = 0,
38880 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38881 $async$returnValue, $async$self = this;
38882 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38883 if ($async$errorCode === 1)
38884 return A._asyncRethrow($async$result, $async$completer);
38885 while (true)
38886 switch ($async$goto) {
38887 case 0:
38888 // Function start
38889 $async$goto = 3;
38890 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);
38891 case 3:
38892 // returning from await.
38893 $async$returnValue = $async$result;
38894 // goto return
38895 $async$goto = 1;
38896 break;
38897 case 1:
38898 // return
38899 return A._asyncReturn($async$returnValue, $async$completer);
38900 }
38901 });
38902 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
38903 },
38904 humanize$1(canonicalUrl) {
38905 var t2, url,
38906 t1 = this._async_import_cache$_canonicalizeCache;
38907 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
38908 t2 = t1.$ti;
38909 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());
38910 if (url == null)
38911 return canonicalUrl;
38912 t1 = $.$get$url();
38913 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
38914 },
38915 sourceMapUrl$1(_, canonicalUrl) {
38916 var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
38917 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
38918 return t1 == null ? canonicalUrl : t1;
38919 }
38920 };
38921 A.AsyncImportCache_canonicalize_closure.prototype = {
38922 call$0() {
38923 var $async$goto = 0,
38924 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38925 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
38926 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38927 if ($async$errorCode === 1)
38928 return A._asyncRethrow($async$result, $async$completer);
38929 while (true)
38930 switch ($async$goto) {
38931 case 0:
38932 // Function start
38933 t1 = $async$self.baseUrl;
38934 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
38935 if (resolvedUrl == null)
38936 resolvedUrl = $async$self.url;
38937 t1 = $async$self.baseImporter;
38938 $async$goto = 3;
38939 return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
38940 case 3:
38941 // returning from await.
38942 canonicalUrl = $async$result;
38943 if (canonicalUrl == null) {
38944 $async$returnValue = null;
38945 // goto return
38946 $async$goto = 1;
38947 break;
38948 }
38949 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
38950 // goto return
38951 $async$goto = 1;
38952 break;
38953 case 1:
38954 // return
38955 return A._asyncReturn($async$returnValue, $async$completer);
38956 }
38957 });
38958 return A._asyncStartSync($async$call$0, $async$completer);
38959 },
38960 $signature: 214
38961 };
38962 A.AsyncImportCache_canonicalize_closure0.prototype = {
38963 call$0() {
38964 var $async$goto = 0,
38965 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38966 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
38967 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38968 if ($async$errorCode === 1)
38969 return A._asyncRethrow($async$result, $async$completer);
38970 while (true)
38971 switch ($async$goto) {
38972 case 0:
38973 // Function start
38974 t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
38975 case 3:
38976 // for condition
38977 if (!(_i < t2.length)) {
38978 // goto after for
38979 $async$goto = 5;
38980 break;
38981 }
38982 importer = t2[_i];
38983 $async$goto = 6;
38984 return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
38985 case 6:
38986 // returning from await.
38987 canonicalUrl = $async$result;
38988 if (canonicalUrl != null) {
38989 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
38990 // goto return
38991 $async$goto = 1;
38992 break;
38993 }
38994 case 4:
38995 // for update
38996 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
38997 // goto for condition
38998 $async$goto = 3;
38999 break;
39000 case 5:
39001 // after for
39002 $async$returnValue = null;
39003 // goto return
39004 $async$goto = 1;
39005 break;
39006 case 1:
39007 // return
39008 return A._asyncReturn($async$returnValue, $async$completer);
39009 }
39010 });
39011 return A._asyncStartSync($async$call$0, $async$completer);
39012 },
39013 $signature: 214
39014 };
39015 A.AsyncImportCache__canonicalize_closure.prototype = {
39016 call$0() {
39017 return this.importer.canonicalize$1(0, this.url);
39018 },
39019 $signature: 210
39020 };
39021 A.AsyncImportCache_importCanonical_closure.prototype = {
39022 call$0() {
39023 var $async$goto = 0,
39024 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
39025 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
39026 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39027 if ($async$errorCode === 1)
39028 return A._asyncRethrow($async$result, $async$completer);
39029 while (true)
39030 switch ($async$goto) {
39031 case 0:
39032 // Function start
39033 t1 = $async$self.canonicalUrl;
39034 $async$goto = 3;
39035 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
39036 case 3:
39037 // returning from await.
39038 result = $async$result;
39039 if (result == null) {
39040 $async$returnValue = null;
39041 // goto return
39042 $async$goto = 1;
39043 break;
39044 }
39045 t2 = $async$self.$this;
39046 t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
39047 t3 = result.contents;
39048 t4 = result.syntax;
39049 t1 = $async$self.originalUrl.resolveUri$1(t1);
39050 $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
39051 // goto return
39052 $async$goto = 1;
39053 break;
39054 case 1:
39055 // return
39056 return A._asyncReturn($async$returnValue, $async$completer);
39057 }
39058 });
39059 return A._asyncStartSync($async$call$0, $async$completer);
39060 },
39061 $signature: 299
39062 };
39063 A.AsyncImportCache_humanize_closure.prototype = {
39064 call$1(tuple) {
39065 return tuple.item2.$eq(0, this.canonicalUrl);
39066 },
39067 $signature: 307
39068 };
39069 A.AsyncImportCache_humanize_closure0.prototype = {
39070 call$1(tuple) {
39071 return tuple.item3;
39072 },
39073 $signature: 308
39074 };
39075 A.AsyncImportCache_humanize_closure1.prototype = {
39076 call$1(url) {
39077 return url.get$path(url).length;
39078 },
39079 $signature: 96
39080 };
39081 A.AsyncBuiltInCallable.prototype = {
39082 callbackFor$2(positional, names) {
39083 return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
39084 },
39085 $isAsyncCallable: 1,
39086 get$name(receiver) {
39087 return this.name;
39088 }
39089 };
39090 A.AsyncBuiltInCallable$mixin_closure.prototype = {
39091 call$1($arguments) {
39092 return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
39093 },
39094 $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
39095 var $async$goto = 0,
39096 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
39097 $async$returnValue, $async$self = this;
39098 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39099 if ($async$errorCode === 1)
39100 return A._asyncRethrow($async$result, $async$completer);
39101 while (true)
39102 switch ($async$goto) {
39103 case 0:
39104 // Function start
39105 $async$goto = 3;
39106 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
39107 case 3:
39108 // returning from await.
39109 $async$returnValue = B.C__SassNull;
39110 // goto return
39111 $async$goto = 1;
39112 break;
39113 case 1:
39114 // return
39115 return A._asyncReturn($async$returnValue, $async$completer);
39116 }
39117 });
39118 return A._asyncStartSync($async$call$1, $async$completer);
39119 },
39120 $signature: 208
39121 };
39122 A.BuiltInCallable.prototype = {
39123 callbackFor$2(positional, names) {
39124 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
39125 for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
39126 overload = t1[_i];
39127 t3 = overload.item1;
39128 if (t3.matches$2(positional, names))
39129 return overload;
39130 mismatchDistance = t3.$arguments.length - positional;
39131 if (minMismatchDistance != null) {
39132 t3 = Math.abs(mismatchDistance);
39133 t4 = Math.abs(minMismatchDistance);
39134 if (t3 > t4)
39135 continue;
39136 if (t3 === t4 && mismatchDistance < 0)
39137 continue;
39138 }
39139 minMismatchDistance = mismatchDistance;
39140 fuzzyMatch = overload;
39141 }
39142 if (fuzzyMatch != null)
39143 return fuzzyMatch;
39144 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
39145 },
39146 withName$1($name) {
39147 return new A.BuiltInCallable($name, this._overloads);
39148 },
39149 $isCallable: 1,
39150 $isAsyncCallable: 1,
39151 $isAsyncBuiltInCallable: 1,
39152 get$name(receiver) {
39153 return this.name;
39154 }
39155 };
39156 A.BuiltInCallable$mixin_closure.prototype = {
39157 call$1($arguments) {
39158 this.callback.call$1($arguments);
39159 return B.C__SassNull;
39160 },
39161 $signature: 4
39162 };
39163 A.PlainCssCallable.prototype = {
39164 $eq(_, other) {
39165 if (other == null)
39166 return false;
39167 return other instanceof A.PlainCssCallable && this.name === other.name;
39168 },
39169 get$hashCode(_) {
39170 return B.JSString_methods.get$hashCode(this.name);
39171 },
39172 $isCallable: 1,
39173 $isAsyncCallable: 1,
39174 get$name(receiver) {
39175 return this.name;
39176 }
39177 };
39178 A.UserDefinedCallable.prototype = {
39179 get$name(_) {
39180 return this.declaration.name;
39181 },
39182 $isCallable: 1,
39183 $isAsyncCallable: 1
39184 };
39185 A._compileStylesheet_closure.prototype = {
39186 call$1(url) {
39187 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);
39188 },
39189 $signature: 5
39190 };
39191 A.CompileResult.prototype = {};
39192 A.Configuration.prototype = {
39193 throughForward$1($forward) {
39194 var prefix, shownVariables, hiddenVariables, t1,
39195 newValues = this._values;
39196 if (newValues.get$isEmpty(newValues))
39197 return B.Configuration_Map_empty;
39198 prefix = $forward.prefix;
39199 if (prefix != null)
39200 newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
39201 shownVariables = $forward.shownVariables;
39202 hiddenVariables = $forward.hiddenVariables;
39203 if (shownVariables != null)
39204 newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
39205 else {
39206 if (hiddenVariables != null) {
39207 t1 = hiddenVariables._base;
39208 t1 = t1.get$isNotEmpty(t1);
39209 } else
39210 t1 = false;
39211 if (t1)
39212 newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
39213 }
39214 return this._withValues$1(newValues);
39215 },
39216 _withValues$1(values) {
39217 return new A.Configuration(values);
39218 },
39219 toString$0(_) {
39220 var t1 = this._values;
39221 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
39222 }
39223 };
39224 A.Configuration_toString_closure.prototype = {
39225 call$1(entry) {
39226 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
39227 },
39228 $signature: 317
39229 };
39230 A.ExplicitConfiguration.prototype = {
39231 _withValues$1(values) {
39232 return new A.ExplicitConfiguration(this.nodeWithSpan, values);
39233 }
39234 };
39235 A.ConfiguredValue.prototype = {
39236 toString$0(_) {
39237 return A.serializeValue(this.value, true, true);
39238 }
39239 };
39240 A.Environment.prototype = {
39241 closure$0() {
39242 var t4, t5, t6, _this = this,
39243 t1 = _this._forwardedModules,
39244 t2 = _this._nestedForwardedModules,
39245 t3 = _this._variables;
39246 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
39247 t4 = _this._variableNodes;
39248 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
39249 t5 = _this._functions;
39250 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
39251 t6 = _this._mixins;
39252 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
39253 return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
39254 },
39255 addModule$3$namespace(module, nodeWithSpan, namespace) {
39256 var t1, t2, span, _this = this;
39257 if (namespace == null) {
39258 _this._globalModules.$indexSet(0, module, nodeWithSpan);
39259 _this._allModules.push(module);
39260 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
39261 t2 = t1.get$current(t1);
39262 if (module.get$variables().containsKey$1(t2))
39263 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
39264 }
39265 } else {
39266 t1 = _this._environment$_modules;
39267 if (t1.containsKey$1(namespace)) {
39268 t1 = _this._namespaceNodes.$index(0, namespace);
39269 span = t1 == null ? null : t1.span;
39270 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39271 if (span != null)
39272 t1.$indexSet(0, span, "original @use");
39273 throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
39274 }
39275 t1.$indexSet(0, namespace, module);
39276 _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
39277 _this._allModules.push(module);
39278 }
39279 },
39280 forwardModule$2(module, rule) {
39281 var view, t1, t2, _this = this,
39282 forwardedModules = _this._forwardedModules;
39283 if (forwardedModules == null)
39284 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39285 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
39286 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
39287 t2 = t1.__js_helper$_current;
39288 _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
39289 _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
39290 _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
39291 }
39292 _this._allModules.push(module);
39293 forwardedModules.$indexSet(0, view, rule);
39294 },
39295 _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
39296 var larger, smaller, t1, t2, $name, span;
39297 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
39298 larger = oldMembers;
39299 smaller = newMembers;
39300 } else {
39301 larger = newMembers;
39302 smaller = oldMembers;
39303 }
39304 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
39305 $name = t1.get$current(t1);
39306 if (!larger.containsKey$1($name))
39307 continue;
39308 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
39309 continue;
39310 if (t2)
39311 $name = "$" + $name;
39312 t1 = this._forwardedModules;
39313 if (t1 == null)
39314 span = null;
39315 else {
39316 t1 = t1.$index(0, oldModule);
39317 span = t1 == null ? null : J.get$span$z(t1);
39318 }
39319 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39320 if (span != null)
39321 t1.$indexSet(0, span, "original @forward");
39322 throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
39323 }
39324 },
39325 importForwards$1(module) {
39326 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
39327 forwarded = module._environment$_environment._forwardedModules;
39328 if (forwarded == null)
39329 return;
39330 forwardedModules = _this._forwardedModules;
39331 if (forwardedModules != null) {
39332 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39333 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
39334 t4 = t2.get$current(t2);
39335 t5 = t4.key;
39336 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
39337 t1.$indexSet(0, t5, t4.value);
39338 }
39339 forwarded = t1;
39340 } else
39341 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39342 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
39343 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
39344 t3 = t2._eval$1("Iterable.E");
39345 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure(), t2), t3);
39346 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure0(), t2), t3);
39347 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure1(), t2), t3);
39348 t2 = _this._variables;
39349 t3 = t2.length;
39350 if (t3 === 1) {
39351 for (t1 = _this._importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.Callable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
39352 entry = t3[_i];
39353 module = entry.key;
39354 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39355 if (shadowed != null) {
39356 t1.remove$1(0, module);
39357 t6 = shadowed.variables;
39358 if (t6.get$isEmpty(t6)) {
39359 t6 = shadowed.functions;
39360 if (t6.get$isEmpty(t6)) {
39361 t6 = shadowed.mixins;
39362 if (t6.get$isEmpty(t6)) {
39363 t6 = shadowed._shadowed_view$_inner;
39364 t6 = t6.get$css(t6);
39365 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39366 } else
39367 t6 = false;
39368 } else
39369 t6 = false;
39370 } else
39371 t6 = false;
39372 if (!t6)
39373 t1.$indexSet(0, shadowed, entry.value);
39374 }
39375 }
39376 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) {
39377 entry = t3[_i];
39378 module = entry.key;
39379 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39380 if (shadowed != null) {
39381 forwardedModules.remove$1(0, module);
39382 t6 = shadowed.variables;
39383 if (t6.get$isEmpty(t6)) {
39384 t6 = shadowed.functions;
39385 if (t6.get$isEmpty(t6)) {
39386 t6 = shadowed.mixins;
39387 if (t6.get$isEmpty(t6)) {
39388 t6 = shadowed._shadowed_view$_inner;
39389 t6 = t6.get$css(t6);
39390 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39391 } else
39392 t6 = false;
39393 } else
39394 t6 = false;
39395 } else
39396 t6 = false;
39397 if (!t6)
39398 forwardedModules.$indexSet(0, shadowed, entry.value);
39399 }
39400 }
39401 t1.addAll$1(0, forwarded);
39402 forwardedModules.addAll$1(0, forwarded);
39403 } else {
39404 t4 = _this._nestedForwardedModules;
39405 if (t4 == null) {
39406 _length = t3 - 1;
39407 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
39408 for (t3 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
39409 _list[_i] = A._setArrayType([], t3);
39410 _this._nestedForwardedModules = _list;
39411 t3 = _list;
39412 } else
39413 t3 = t4;
39414 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
39415 }
39416 for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._variableIndices, t4 = _this._variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
39417 t6 = t1._collection$_current;
39418 if (t6 == null)
39419 t6 = t5._as(t6);
39420 t3.remove$1(0, t6);
39421 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
39422 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
39423 }
39424 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._functionIndices, t3 = _this._functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
39425 t5 = t1._collection$_current;
39426 if (t5 == null)
39427 t5 = t4._as(t5);
39428 t2.remove$1(0, t5);
39429 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
39430 }
39431 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
39432 t5 = t1._collection$_current;
39433 if (t5 == null)
39434 t5 = t4._as(t5);
39435 t2.remove$1(0, t5);
39436 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
39437 }
39438 },
39439 getVariable$2$namespace($name, namespace) {
39440 var t1, index, _this = this;
39441 if (namespace != null)
39442 return _this._getModule$1(namespace).get$variables().$index(0, $name);
39443 if (_this._lastVariableName === $name) {
39444 t1 = _this._lastVariableIndex;
39445 t1.toString;
39446 t1 = J.$index$asx(_this._variables[t1], $name);
39447 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39448 }
39449 t1 = _this._variableIndices;
39450 index = t1.$index(0, $name);
39451 if (index != null) {
39452 _this._lastVariableName = $name;
39453 _this._lastVariableIndex = index;
39454 t1 = J.$index$asx(_this._variables[index], $name);
39455 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39456 }
39457 index = _this._variableIndex$1($name);
39458 if (index == null)
39459 return _this._getVariableFromGlobalModule$1($name);
39460 _this._lastVariableName = $name;
39461 _this._lastVariableIndex = index;
39462 t1.$indexSet(0, $name, index);
39463 t1 = J.$index$asx(_this._variables[index], $name);
39464 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39465 },
39466 getVariable$1($name) {
39467 return this.getVariable$2$namespace($name, null);
39468 },
39469 _getVariableFromGlobalModule$1($name) {
39470 return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
39471 },
39472 getVariableNode$2$namespace($name, namespace) {
39473 var t1, index, _this = this;
39474 if (namespace != null)
39475 return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
39476 if (_this._lastVariableName === $name) {
39477 t1 = _this._lastVariableIndex;
39478 t1.toString;
39479 t1 = J.$index$asx(_this._variableNodes[t1], $name);
39480 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39481 }
39482 t1 = _this._variableIndices;
39483 index = t1.$index(0, $name);
39484 if (index != null) {
39485 _this._lastVariableName = $name;
39486 _this._lastVariableIndex = index;
39487 t1 = J.$index$asx(_this._variableNodes[index], $name);
39488 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39489 }
39490 index = _this._variableIndex$1($name);
39491 if (index == null)
39492 return _this._getVariableNodeFromGlobalModule$1($name);
39493 _this._lastVariableName = $name;
39494 _this._lastVariableIndex = index;
39495 t1.$indexSet(0, $name, index);
39496 t1 = J.$index$asx(_this._variableNodes[index], $name);
39497 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39498 },
39499 _getVariableNodeFromGlobalModule$1($name) {
39500 var t1, t2, value;
39501 for (t1 = this._importedModules, t2 = this._globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
39502 t1 = t2._currentIterator;
39503 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
39504 if (value != null)
39505 return value;
39506 }
39507 return null;
39508 },
39509 globalVariableExists$2$namespace($name, namespace) {
39510 if (namespace != null)
39511 return this._getModule$1(namespace).get$variables().containsKey$1($name);
39512 if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
39513 return true;
39514 return this._getVariableFromGlobalModule$1($name) != null;
39515 },
39516 globalVariableExists$1($name) {
39517 return this.globalVariableExists$2$namespace($name, null);
39518 },
39519 _variableIndex$1($name) {
39520 var t1, i;
39521 for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
39522 if (t1[i].containsKey$1($name))
39523 return i;
39524 return null;
39525 },
39526 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
39527 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
39528 if (namespace != null) {
39529 _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
39530 return;
39531 }
39532 if (global || _this._variables.length === 1) {
39533 _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
39534 t1 = _this._variables;
39535 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
39536 moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
39537 if (moduleWithName != null) {
39538 moduleWithName.setVariable$3($name, value, nodeWithSpan);
39539 return;
39540 }
39541 }
39542 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
39543 J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
39544 return;
39545 }
39546 nestedForwardedModules = _this._nestedForwardedModules;
39547 if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
39548 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();) {
39549 t3 = t1.__internal$_current;
39550 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
39551 t5 = t3.__internal$_current;
39552 if (t5 == null)
39553 t5 = t4._as(t5);
39554 if (t5.get$variables().containsKey$1($name)) {
39555 t5.setVariable$3($name, value, nodeWithSpan);
39556 return;
39557 }
39558 }
39559 }
39560 if (_this._lastVariableName === $name) {
39561 t1 = _this._lastVariableIndex;
39562 t1.toString;
39563 index = t1;
39564 } else
39565 index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
39566 if (!_this._inSemiGlobalScope && index === 0) {
39567 index = _this._variables.length - 1;
39568 _this._variableIndices.$indexSet(0, $name, index);
39569 }
39570 _this._lastVariableName = $name;
39571 _this._lastVariableIndex = index;
39572 J.$indexSet$ax(_this._variables[index], $name, value);
39573 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39574 },
39575 setVariable$4$global($name, value, nodeWithSpan, global) {
39576 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
39577 },
39578 setLocalVariable$3($name, value, nodeWithSpan) {
39579 var index, _this = this,
39580 t1 = _this._variables,
39581 t2 = t1.length;
39582 _this._lastVariableName = $name;
39583 index = _this._lastVariableIndex = t2 - 1;
39584 _this._variableIndices.$indexSet(0, $name, index);
39585 J.$indexSet$ax(t1[index], $name, value);
39586 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39587 },
39588 getFunction$2$namespace($name, namespace) {
39589 var t1, index, _this = this;
39590 if (namespace != null) {
39591 t1 = _this._getModule$1(namespace);
39592 return t1.get$functions(t1).$index(0, $name);
39593 }
39594 t1 = _this._functionIndices;
39595 index = t1.$index(0, $name);
39596 if (index != null) {
39597 t1 = J.$index$asx(_this._functions[index], $name);
39598 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39599 }
39600 index = _this._functionIndex$1($name);
39601 if (index == null)
39602 return _this._getFunctionFromGlobalModule$1($name);
39603 t1.$indexSet(0, $name, index);
39604 t1 = J.$index$asx(_this._functions[index], $name);
39605 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39606 },
39607 _getFunctionFromGlobalModule$1($name) {
39608 return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
39609 },
39610 _functionIndex$1($name) {
39611 var t1, i;
39612 for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
39613 if (t1[i].containsKey$1($name))
39614 return i;
39615 return null;
39616 },
39617 getMixin$2$namespace($name, namespace) {
39618 var t1, index, _this = this;
39619 if (namespace != null)
39620 return _this._getModule$1(namespace).get$mixins().$index(0, $name);
39621 t1 = _this._mixinIndices;
39622 index = t1.$index(0, $name);
39623 if (index != null) {
39624 t1 = J.$index$asx(_this._mixins[index], $name);
39625 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39626 }
39627 index = _this._mixinIndex$1($name);
39628 if (index == null)
39629 return _this._getMixinFromGlobalModule$1($name);
39630 t1.$indexSet(0, $name, index);
39631 t1 = J.$index$asx(_this._mixins[index], $name);
39632 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39633 },
39634 _getMixinFromGlobalModule$1($name) {
39635 return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
39636 },
39637 _mixinIndex$1($name) {
39638 var t1, i;
39639 for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
39640 if (t1[i].containsKey$1($name))
39641 return i;
39642 return null;
39643 },
39644 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
39645 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
39646 semiGlobal = semiGlobal && _this._inSemiGlobalScope;
39647 wasInSemiGlobalScope = _this._inSemiGlobalScope;
39648 _this._inSemiGlobalScope = semiGlobal;
39649 if (!when)
39650 try {
39651 t1 = callback.call$0();
39652 return t1;
39653 } finally {
39654 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39655 }
39656 t1 = _this._variables;
39657 t2 = type$.String;
39658 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
39659 t3 = _this._variableNodes;
39660 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
39661 t4 = _this._functions;
39662 t5 = type$.Callable;
39663 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
39664 t6 = _this._mixins;
39665 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
39666 t5 = _this._nestedForwardedModules;
39667 if (t5 != null)
39668 t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
39669 try {
39670 t2 = callback.call$0();
39671 return t2;
39672 } finally {
39673 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39674 _this._lastVariableIndex = _this._lastVariableName = null;
39675 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
39676 $name = t1.get$current(t1);
39677 t2.remove$1(0, $name);
39678 }
39679 B.JSArray_methods.removeLast$0(t3);
39680 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
39681 name0 = t1.get$current(t1);
39682 t2.remove$1(0, name0);
39683 }
39684 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
39685 name1 = t1.get$current(t1);
39686 t2.remove$1(0, name1);
39687 }
39688 t1 = _this._nestedForwardedModules;
39689 if (t1 != null)
39690 t1.pop();
39691 }
39692 },
39693 scope$1$1(callback, $T) {
39694 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
39695 },
39696 scope$1$2$when(callback, when, $T) {
39697 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
39698 },
39699 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
39700 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
39701 },
39702 toImplicitConfiguration$0() {
39703 var t1, t2, i, values, nodes, t3, t4, t5, t6,
39704 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
39705 for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
39706 values = t1[i];
39707 nodes = t2[i];
39708 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
39709 t4 = t3.get$current(t3);
39710 t5 = t4.key;
39711 t4 = t4.value;
39712 t6 = nodes.$index(0, t5);
39713 t6.toString;
39714 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
39715 }
39716 }
39717 return new A.Configuration(configuration);
39718 },
39719 toModule$2(css, extensionStore) {
39720 return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
39721 },
39722 toDummyModule$0() {
39723 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()));
39724 },
39725 _getModule$1(namespace) {
39726 var module = this._environment$_modules.$index(0, namespace);
39727 if (module != null)
39728 return module;
39729 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
39730 },
39731 _fromOneModule$1$3($name, type, callback, $T) {
39732 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
39733 nestedForwardedModules = this._nestedForwardedModules;
39734 if (nestedForwardedModules != null)
39735 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();) {
39736 t3 = t1.__internal$_current;
39737 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
39738 t5 = t3.__internal$_current;
39739 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
39740 if (value != null)
39741 return value;
39742 }
39743 }
39744 for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
39745 value = callback.call$1(t1.__js_helper$_current);
39746 if (value != null)
39747 return value;
39748 }
39749 for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
39750 t4 = t2.__js_helper$_current;
39751 valueInModule = callback.call$1(t4);
39752 if (valueInModule == null)
39753 continue;
39754 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
39755 if (identityFromModule.$eq(0, identity))
39756 continue;
39757 if (value != null) {
39758 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
39759 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39760 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
39761 t4 = t1.get$current(t1);
39762 if (t4 != null)
39763 t2.$indexSet(0, t4, t3);
39764 }
39765 throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
39766 }
39767 identity = identityFromModule;
39768 value = valueInModule;
39769 }
39770 return value;
39771 }
39772 };
39773 A.Environment_importForwards_closure.prototype = {
39774 call$1(module) {
39775 var t1 = module.get$variables();
39776 return t1.get$keys(t1);
39777 },
39778 $signature: 110
39779 };
39780 A.Environment_importForwards_closure0.prototype = {
39781 call$1(module) {
39782 var t1 = module.get$functions(module);
39783 return t1.get$keys(t1);
39784 },
39785 $signature: 110
39786 };
39787 A.Environment_importForwards_closure1.prototype = {
39788 call$1(module) {
39789 var t1 = module.get$mixins();
39790 return t1.get$keys(t1);
39791 },
39792 $signature: 110
39793 };
39794 A.Environment__getVariableFromGlobalModule_closure.prototype = {
39795 call$1(module) {
39796 return module.get$variables().$index(0, this.name);
39797 },
39798 $signature: 320
39799 };
39800 A.Environment_setVariable_closure.prototype = {
39801 call$0() {
39802 var t1 = this.$this;
39803 t1._lastVariableName = this.name;
39804 return t1._lastVariableIndex = 0;
39805 },
39806 $signature: 12
39807 };
39808 A.Environment_setVariable_closure0.prototype = {
39809 call$1(module) {
39810 return module.get$variables().containsKey$1(this.name) ? module : null;
39811 },
39812 $signature: 322
39813 };
39814 A.Environment_setVariable_closure1.prototype = {
39815 call$0() {
39816 var t1 = this.$this,
39817 t2 = t1._variableIndex$1(this.name);
39818 return t2 == null ? t1._variables.length - 1 : t2;
39819 },
39820 $signature: 12
39821 };
39822 A.Environment__getFunctionFromGlobalModule_closure.prototype = {
39823 call$1(module) {
39824 return module.get$functions(module).$index(0, this.name);
39825 },
39826 $signature: 207
39827 };
39828 A.Environment__getMixinFromGlobalModule_closure.prototype = {
39829 call$1(module) {
39830 return module.get$mixins().$index(0, this.name);
39831 },
39832 $signature: 207
39833 };
39834 A.Environment_toModule_closure.prototype = {
39835 call$1(modules) {
39836 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39837 },
39838 $signature: 204
39839 };
39840 A.Environment_toDummyModule_closure.prototype = {
39841 call$1(modules) {
39842 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39843 },
39844 $signature: 204
39845 };
39846 A.Environment__fromOneModule_closure.prototype = {
39847 call$1(entry) {
39848 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
39849 },
39850 $signature: 326
39851 };
39852 A.Environment__fromOneModule__closure.prototype = {
39853 call$1(_) {
39854 return J.get$span$z(this.entry.value);
39855 },
39856 $signature() {
39857 return this.T._eval$1("FileSpan(0)");
39858 }
39859 };
39860 A._EnvironmentModule.prototype = {
39861 get$url(_) {
39862 var t1 = this.css;
39863 return t1.get$span(t1).file.url;
39864 },
39865 setVariable$3($name, value, nodeWithSpan) {
39866 var t1, t2,
39867 module = this._modulesByVariable.$index(0, $name);
39868 if (module != null) {
39869 module.setVariable$3($name, value, nodeWithSpan);
39870 return;
39871 }
39872 t1 = this._environment$_environment;
39873 t2 = t1._variables;
39874 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
39875 throw A.wrapException(A.SassScriptException$("Undefined variable."));
39876 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
39877 J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
39878 return;
39879 },
39880 variableIdentity$1($name) {
39881 var module = this._modulesByVariable.$index(0, $name);
39882 return module == null ? this : module.variableIdentity$1($name);
39883 },
39884 cloneCss$0() {
39885 var newCssAndExtensionStore, _this = this,
39886 t1 = _this.css;
39887 if (J.get$isEmpty$asx(t1.get$children(t1)))
39888 return _this;
39889 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
39890 return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
39891 },
39892 toString$0(_) {
39893 var t1 = this.css;
39894 if (t1.get$span(t1).file.url == null)
39895 t1 = "<unknown url>";
39896 else {
39897 t1 = t1.get$span(t1);
39898 t1 = $.$get$context().prettyUri$1(t1.file.url);
39899 }
39900 return t1;
39901 },
39902 $isModule: 1,
39903 get$upstream() {
39904 return this.upstream;
39905 },
39906 get$variables() {
39907 return this.variables;
39908 },
39909 get$variableNodes() {
39910 return this.variableNodes;
39911 },
39912 get$functions(receiver) {
39913 return this.functions;
39914 },
39915 get$mixins() {
39916 return this.mixins;
39917 },
39918 get$extensionStore() {
39919 return this.extensionStore;
39920 },
39921 get$css(receiver) {
39922 return this.css;
39923 },
39924 get$transitivelyContainsCss() {
39925 return this.transitivelyContainsCss;
39926 },
39927 get$transitivelyContainsExtensions() {
39928 return this.transitivelyContainsExtensions;
39929 }
39930 };
39931 A._EnvironmentModule__EnvironmentModule_closure.prototype = {
39932 call$1(module) {
39933 return module.get$variables();
39934 },
39935 $signature: 327
39936 };
39937 A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
39938 call$1(module) {
39939 return module.get$variableNodes();
39940 },
39941 $signature: 329
39942 };
39943 A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
39944 call$1(module) {
39945 return module.get$functions(module);
39946 },
39947 $signature: 203
39948 };
39949 A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
39950 call$1(module) {
39951 return module.get$mixins();
39952 },
39953 $signature: 203
39954 };
39955 A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
39956 call$1(module) {
39957 return module.get$transitivelyContainsCss();
39958 },
39959 $signature: 118
39960 };
39961 A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
39962 call$1(module) {
39963 return module.get$transitivelyContainsExtensions();
39964 },
39965 $signature: 118
39966 };
39967 A.SassException.prototype = {
39968 get$trace(_) {
39969 return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
39970 },
39971 get$span(_) {
39972 return A.SourceSpanException.prototype.get$span.call(this, this);
39973 },
39974 toString$1$color(_, color) {
39975 var t2, _i, frame, t3, _this = this,
39976 buffer = new A.StringBuffer(""),
39977 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
39978 buffer._contents = t1;
39979 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
39980 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39981 frame = t1[_i];
39982 if (J.get$length$asx(frame) === 0)
39983 continue;
39984 t3 = buffer._contents += "\n";
39985 buffer._contents = t3 + (" " + A.S(frame));
39986 }
39987 t1 = buffer._contents;
39988 return t1.charCodeAt(0) == 0 ? t1 : t1;
39989 },
39990 toString$0($receiver) {
39991 return this.toString$1$color($receiver, null);
39992 },
39993 toCssString$0() {
39994 var commentMessage, stringMessage, rune,
39995 t1 = $._glyphs,
39996 t2 = $._glyphs = B.C_AsciiGlyphSet,
39997 t3 = this.toString$1$color(0, false);
39998 t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
39999 commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
40000 $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
40001 stringMessage = new A.StringBuffer("");
40002 for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
40003 rune = t1._currentCodePoint;
40004 t2 = stringMessage._contents;
40005 if (rune > 255) {
40006 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
40007 t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
40008 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
40009 } else
40010 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
40011 }
40012 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}";
40013 }
40014 };
40015 A.MultiSpanSassException.prototype = {
40016 toString$1$color(_, color) {
40017 var t1, t2, _i, frame, _this = this,
40018 useColor = color === true && true,
40019 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
40020 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));
40021 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
40022 frame = t1[_i];
40023 if (J.get$length$asx(frame) === 0)
40024 continue;
40025 buffer._contents += "\n";
40026 buffer._contents += " " + A.S(frame);
40027 }
40028 t1 = buffer._contents;
40029 return t1.charCodeAt(0) == 0 ? t1 : t1;
40030 },
40031 toString$0($receiver) {
40032 return this.toString$1$color($receiver, null);
40033 }
40034 };
40035 A.SassRuntimeException.prototype = {
40036 get$trace(receiver) {
40037 return this.trace;
40038 }
40039 };
40040 A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
40041 get$trace(receiver) {
40042 return this.trace;
40043 }
40044 };
40045 A.SassFormatException.prototype = {
40046 get$source() {
40047 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
40048 },
40049 $isFormatException: 1,
40050 $isSourceSpanFormatException: 1
40051 };
40052 A.SassScriptException.prototype = {
40053 toString$0(_) {
40054 return this.message + string$.x0a_BUG_;
40055 },
40056 get$message(receiver) {
40057 return this.message;
40058 }
40059 };
40060 A.MultiSpanSassScriptException.prototype = {};
40061 A._writeSourceMap_closure.prototype = {
40062 call$1(url) {
40063 return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
40064 },
40065 $signature: 5
40066 };
40067 A.ExecutableOptions.prototype = {
40068 get$interactive() {
40069 var result, _this = this,
40070 value = _this.__ExecutableOptions_interactive;
40071 if (value === $) {
40072 result = new A.ExecutableOptions_interactive_closure(_this).call$0();
40073 A._lateInitializeOnceCheck(_this.__ExecutableOptions_interactive, "interactive");
40074 _this.__ExecutableOptions_interactive = result;
40075 value = result;
40076 }
40077 return value;
40078 },
40079 get$color() {
40080 var t1 = this._options;
40081 return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
40082 },
40083 get$emitErrorCss() {
40084 var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
40085 if (t1 == null) {
40086 this._ensureSources$0();
40087 t1 = this._sourcesToDestinations;
40088 t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
40089 }
40090 return t1;
40091 },
40092 _ensureSources$0() {
40093 var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
40094 _s32_ = "_sourceDirectoriesToDestinations",
40095 _s18_ = 'Duplicate source "';
40096 if (_this._sourcesToDestinations != null)
40097 return;
40098 t1 = _this._options;
40099 stdin = A._asBool(t1.$index(0, "stdin"));
40100 t2 = t1.rest;
40101 if (t2.get$length(t2) === 0 && !stdin)
40102 A.ExecutableOptions__fail("Compile Sass to CSS.");
40103 t3 = type$.String;
40104 $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40105 for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
40106 t6 = t4.__internal$_current;
40107 if (t6 == null)
40108 t6 = t5._as(t6);
40109 t7 = t6.length;
40110 if (t7 === 0)
40111 A.ExecutableOptions__fail('Invalid argument "".');
40112 if (A.stringContainsUnchecked(t6, ":", 0)) {
40113 if (t7 > 2) {
40114 t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
40115 if (!(t8 >= 97 && t8 <= 122))
40116 t8 = t8 >= 65 && t8 <= 90;
40117 else
40118 t8 = true;
40119 t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
40120 } else
40121 t8 = false;
40122 if (t8) {
40123 if (2 > t7)
40124 A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
40125 t7 = A.stringContainsUnchecked(t6, ":", 2);
40126 } else
40127 t7 = true;
40128 } else
40129 t7 = false;
40130 if (t7)
40131 colonArgs = true;
40132 else if (A.dirExists(t6))
40133 $directories.add$1(0, t6);
40134 else
40135 positionalArgs = true;
40136 }
40137 if (positionalArgs || t2.get$length(t2) === 0) {
40138 if (colonArgs)
40139 A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
40140 else if (stdin) {
40141 if (J.get$length$asx(t2._collection$_source) > 1)
40142 A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
40143 else if (A._asBool(t1.$index(0, "update")))
40144 A.ExecutableOptions__fail("--update is not allowed with --stdin.");
40145 else if (A._asBool(t1.$index(0, "watch")))
40146 A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
40147 t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
40148 t2 = type$.dynamic;
40149 t3 = type$.nullable_String;
40150 _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
40151 } else {
40152 t3 = t2._collection$_source;
40153 t4 = J.getInterceptor$asx(t3);
40154 if (t4.get$length(t3) > 2)
40155 A.ExecutableOptions__fail("Only two positional args may be passed.");
40156 else if ($directories._collection$_length !== 0) {
40157 message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
40158 target = t2.get$last(t2);
40159 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);
40160 } else {
40161 source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
40162 destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
40163 if (destination == null)
40164 if (A._asBool(t1.$index(0, "update")))
40165 A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
40166 else if (A._asBool(t1.$index(0, "watch")))
40167 A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
40168 t1 = A.PathMap__create(_null, type$.nullable_String);
40169 t1.$indexSet(0, source, destination);
40170 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40171 }
40172 }
40173 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40174 _this.__ExecutableOptions__sourceDirectoriesToDestinations = B.Map_empty5;
40175 return;
40176 }
40177 if (stdin)
40178 A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
40179 seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40180 t1 = A.PathMap__create(_null, t3);
40181 t4 = type$.PathMap_String;
40182 t3 = A.PathMap__create(_null, t3);
40183 for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
40184 t6 = t2.__internal$_current;
40185 if (t6 == null)
40186 t6 = t5._as(t6);
40187 if ($directories.contains$1(0, t6)) {
40188 if (!seen.add$1(0, t6))
40189 A.ExecutableOptions__fail(_s18_ + t6 + '".');
40190 t3.$indexSet(0, t6, t6);
40191 t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
40192 continue;
40193 }
40194 sourceAndDestination = _this._splitSourceAndDestination$1(t6);
40195 source = sourceAndDestination.item1;
40196 destination = sourceAndDestination.item2;
40197 if (!seen.add$1(0, source))
40198 A.ExecutableOptions__fail(_s18_ + source + '".');
40199 if (source === "-")
40200 t1.$indexSet(0, _null, destination);
40201 else if (A.dirExists(source)) {
40202 t3.$indexSet(0, source, destination);
40203 t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
40204 } else
40205 t1.$indexSet(0, source, destination);
40206 }
40207 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40208 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40209 _this.__ExecutableOptions__sourceDirectoriesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
40210 },
40211 _splitSourceAndDestination$1(argument) {
40212 var t1, i, t2, t3, nextColon;
40213 for (t1 = argument.length, i = 0; i < t1; ++i) {
40214 if (i === 1) {
40215 t2 = i - 1;
40216 if (t1 > t2 + 2) {
40217 t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
40218 if (!(t3 >= 97 && t3 <= 122))
40219 t3 = t3 >= 65 && t3 <= 90;
40220 else
40221 t3 = true;
40222 t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
40223 } else
40224 t2 = false;
40225 } else
40226 t2 = false;
40227 if (t2)
40228 continue;
40229 if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
40230 t2 = i + 1;
40231 nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
40232 if (nextColon === i + 2)
40233 if (t1 > t2 + 2) {
40234 t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
40235 if (!(t1 >= 97 && t1 <= 122))
40236 t1 = t1 >= 65 && t1 <= 90;
40237 else
40238 t1 = true;
40239 t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
40240 } else
40241 t1 = false;
40242 else
40243 t1 = false;
40244 if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
40245 A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
40246 return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
40247 }
40248 }
40249 throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
40250 },
40251 _listSourceDirectory$2(source, destination) {
40252 var t2, t3, t4, t5, t6, t7, parts,
40253 t1 = type$.String;
40254 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
40255 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();) {
40256 t6 = t2.get$current(t2);
40257 if (this._isEntrypoint$1(t6))
40258 t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
40259 else
40260 t7 = false;
40261 if (t7) {
40262 t7 = $.$get$context();
40263 parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
40264 A._validateArgList("join", parts);
40265 t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
40266 }
40267 }
40268 return t1;
40269 },
40270 _isEntrypoint$1(path) {
40271 var extension,
40272 t1 = $.$get$context().style;
40273 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
40274 return false;
40275 extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
40276 return extension === ".scss" || extension === ".sass" || extension === ".css";
40277 },
40278 get$_writeToStdout() {
40279 var t1, _this = this;
40280 _this._ensureSources$0();
40281 t1 = _this._sourcesToDestinations;
40282 if (t1.get$length(t1) === 1) {
40283 _this._ensureSources$0();
40284 t1 = _this._sourcesToDestinations;
40285 t1 = t1.get$values(t1);
40286 t1 = t1.get$single(t1) == null;
40287 } else
40288 t1 = false;
40289 return t1;
40290 },
40291 get$emitSourceMap() {
40292 var _this = this,
40293 _s10_ = "source-map",
40294 _s15_ = "source-map-urls",
40295 _s13_ = "embed-sources",
40296 _s16_ = "embed-source-map",
40297 t1 = _this._options;
40298 if (!A._asBool(t1.$index(0, _s10_)))
40299 if (t1.wasParsed$1(_s15_))
40300 A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
40301 else if (t1.wasParsed$1(_s13_))
40302 A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
40303 else if (t1.wasParsed$1(_s16_))
40304 A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
40305 if (!_this.get$_writeToStdout())
40306 return A._asBool(t1.$index(0, _s10_));
40307 if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
40308 A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
40309 if (A._asBool(t1.$index(0, _s16_)))
40310 return A._asBool(t1.$index(0, _s10_));
40311 else if (J.$eq$(_this._ifParsed$1(_s10_), true))
40312 A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
40313 else if (t1.wasParsed$1(_s15_))
40314 A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
40315 else if (A._asBool(t1.$index(0, _s13_)))
40316 A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
40317 else
40318 return false;
40319 },
40320 sourceMapUrl$2(_, url, destination) {
40321 var t1, path, t2, _null = null;
40322 if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
40323 return url;
40324 t1 = $.$get$context();
40325 path = t1.style.pathFromUri$1(A._parseUri(url));
40326 if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
40327 destination.toString;
40328 t2 = t1.relative$2$from(path, t1.dirname$1(destination));
40329 } else
40330 t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
40331 return t1.toUri$1(t2);
40332 },
40333 _ifParsed$1($name) {
40334 var t1 = this._options;
40335 return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
40336 }
40337 };
40338 A.ExecutableOptions__parser_closure.prototype = {
40339 call$0() {
40340 var t1 = type$.String,
40341 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
40342 t3 = [],
40343 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);
40344 parser.addOption$2$hide("precision", true);
40345 parser.addFlag$2$hide("async", true);
40346 t3.push(A.ExecutableOptions__separator("Input and Output"));
40347 parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
40348 parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
40349 parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
40350 t1 = type$.JSArray_String;
40351 parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
40352 parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
40353 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.");
40354 parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
40355 t3.push(A.ExecutableOptions__separator("Source Maps"));
40356 parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
40357 parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
40358 parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
40359 parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
40360 t3.push(A.ExecutableOptions__separator("Other"));
40361 parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
40362 parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
40363 parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
40364 parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
40365 parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
40366 parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
40367 parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
40368 parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
40369 parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
40370 parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
40371 parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
40372 parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
40373 return parser;
40374 },
40375 $signature: 333
40376 };
40377 A.ExecutableOptions_interactive_closure.prototype = {
40378 call$0() {
40379 var invalidOptions, _i, option,
40380 t1 = this.$this._options;
40381 if (!A._asBool(t1.$index(0, "interactive")))
40382 return false;
40383 invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
40384 for (_i = 0; _i < 9; ++_i) {
40385 option = invalidOptions[_i];
40386 if (!t1._parser.options._map.containsKey$1(option))
40387 A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
40388 if (t1._parsed.containsKey$1(option))
40389 throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
40390 }
40391 return true;
40392 },
40393 $signature: 26
40394 };
40395 A.ExecutableOptions_emitErrorCss_closure.prototype = {
40396 call$1(destination) {
40397 return destination != null;
40398 },
40399 $signature: 223
40400 };
40401 A.UsageException.prototype = {$isException: 1,
40402 get$message(receiver) {
40403 return this.message;
40404 }
40405 };
40406 A.watch_closure.prototype = {
40407 call$1(dir) {
40408 for (; !A.dirExists(dir);)
40409 dir = $.$get$context().dirname$1(dir);
40410 return this.dirWatcher.watch$1(0, dir);
40411 },
40412 $signature: 335
40413 };
40414 A._Watcher.prototype = {
40415 compile$3$ifModified(_, source, destination, ifModified) {
40416 return this.compile$body$_Watcher(0, source, destination, ifModified);
40417 },
40418 compile$2($receiver, source, destination) {
40419 return this.compile$3$ifModified($receiver, source, destination, false);
40420 },
40421 compile$body$_Watcher(_, source, destination, ifModified) {
40422 var $async$goto = 0,
40423 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40424 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
40425 var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40426 if ($async$errorCode === 1) {
40427 $async$currentError = $async$result;
40428 $async$goto = $async$handler;
40429 }
40430 while (true)
40431 switch ($async$goto) {
40432 case 0:
40433 // Function start
40434 $async$handler = 4;
40435 $async$goto = 7;
40436 return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
40437 case 7:
40438 // returning from await.
40439 $async$returnValue = true;
40440 // goto return
40441 $async$goto = 1;
40442 break;
40443 $async$handler = 2;
40444 // goto after finally
40445 $async$goto = 6;
40446 break;
40447 case 4:
40448 // catch
40449 $async$handler = 3;
40450 $async$exception = $async$currentError;
40451 t1 = A.unwrapException($async$exception);
40452 if (t1 instanceof A.SassException) {
40453 error = t1;
40454 stackTrace = A.getTraceFromException($async$exception);
40455 t1 = $async$self._watch$_options;
40456 if (!t1.get$emitErrorCss())
40457 $async$self._delete$1(destination);
40458 t1 = J.toString$1$color$(error, t1.get$color());
40459 t2 = A.getTrace(error);
40460 $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
40461 J.set$exitCode$x(self.process, 65);
40462 $async$returnValue = false;
40463 // goto return
40464 $async$goto = 1;
40465 break;
40466 } else if (t1 instanceof A.FileSystemException) {
40467 error0 = t1;
40468 stackTrace0 = A.getTraceFromException($async$exception);
40469 path = error0.path;
40470 t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
40471 t2 = A.getTrace(error0);
40472 $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
40473 J.set$exitCode$x(self.process, 66);
40474 $async$returnValue = false;
40475 // goto return
40476 $async$goto = 1;
40477 break;
40478 } else
40479 throw $async$exception;
40480 // goto after finally
40481 $async$goto = 6;
40482 break;
40483 case 3:
40484 // uncaught
40485 // goto rethrow
40486 $async$goto = 2;
40487 break;
40488 case 6:
40489 // after finally
40490 case 1:
40491 // return
40492 return A._asyncReturn($async$returnValue, $async$completer);
40493 case 2:
40494 // rethrow
40495 return A._asyncRethrow($async$currentError, $async$completer);
40496 }
40497 });
40498 return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
40499 },
40500 _delete$1(path) {
40501 var buffer, t1, exception;
40502 try {
40503 A.deleteFile(path);
40504 buffer = new A.StringBuffer("");
40505 t1 = this._watch$_options;
40506 if (t1.get$color())
40507 buffer._contents += "\x1b[33m";
40508 buffer._contents += "Deleted " + path + ".";
40509 if (t1.get$color())
40510 buffer._contents += "\x1b[0m";
40511 A.print(buffer);
40512 } catch (exception) {
40513 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
40514 throw exception;
40515 }
40516 },
40517 _printError$2(message, stackTrace) {
40518 var t2,
40519 t1 = $.$get$stderr();
40520 t1.writeln$1(message);
40521 t2 = this._watch$_options._options;
40522 if (A._asBool(t2.$index(0, "trace"))) {
40523 t1.writeln$0();
40524 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
40525 }
40526 if (!A._asBool(t2.$index(0, "stop-on-error")))
40527 t1.writeln$0();
40528 },
40529 watch$1(_, watcher) {
40530 return this.watch$body$_Watcher(0, watcher);
40531 },
40532 watch$body$_Watcher(_, watcher) {
40533 var $async$goto = 0,
40534 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
40535 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
40536 var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40537 if ($async$errorCode === 1) {
40538 $async$currentError = $async$result;
40539 $async$goto = $async$handler;
40540 }
40541 while (true)
40542 switch ($async$goto) {
40543 case 0:
40544 // Function start
40545 t1 = A._lateReadCheck(watcher._group.__StreamGroup__controller, "_controller");
40546 t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
40547 $async$handler = 3;
40548 t2 = $async$self._watch$_options._options;
40549 case 6:
40550 // for condition
40551 $async$goto = 8;
40552 return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
40553 case 8:
40554 // returning from await.
40555 if (!$async$result) {
40556 // goto after for
40557 $async$goto = 7;
40558 break;
40559 }
40560 $event = t1.get$current(t1);
40561 extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
40562 if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
40563 // goto for condition
40564 $async$goto = 6;
40565 break;
40566 }
40567 case 9:
40568 // switch
40569 switch ($event.type) {
40570 case B.ChangeType_modify:
40571 // goto case
40572 $async$goto = 11;
40573 break;
40574 case B.ChangeType_add:
40575 // goto case
40576 $async$goto = 12;
40577 break;
40578 case B.ChangeType_remove:
40579 // goto case
40580 $async$goto = 13;
40581 break;
40582 default:
40583 // goto after switch
40584 $async$goto = 10;
40585 break;
40586 }
40587 break;
40588 case 11:
40589 // case
40590 $async$goto = 14;
40591 return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
40592 case 14:
40593 // returning from await.
40594 success = $async$result;
40595 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40596 $async$next = [1];
40597 // goto finally
40598 $async$goto = 4;
40599 break;
40600 }
40601 // goto after switch
40602 $async$goto = 10;
40603 break;
40604 case 12:
40605 // case
40606 $async$goto = 15;
40607 return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
40608 case 15:
40609 // returning from await.
40610 success0 = $async$result;
40611 if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
40612 $async$next = [1];
40613 // goto finally
40614 $async$goto = 4;
40615 break;
40616 }
40617 // goto after switch
40618 $async$goto = 10;
40619 break;
40620 case 13:
40621 // case
40622 $async$goto = 16;
40623 return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
40624 case 16:
40625 // returning from await.
40626 success1 = $async$result;
40627 if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
40628 $async$next = [1];
40629 // goto finally
40630 $async$goto = 4;
40631 break;
40632 }
40633 // goto after switch
40634 $async$goto = 10;
40635 break;
40636 case 10:
40637 // after switch
40638 // goto for condition
40639 $async$goto = 6;
40640 break;
40641 case 7:
40642 // after for
40643 $async$next.push(5);
40644 // goto finally
40645 $async$goto = 4;
40646 break;
40647 case 3:
40648 // uncaught
40649 $async$next = [2];
40650 case 4:
40651 // finally
40652 $async$handler = 2;
40653 $async$goto = 17;
40654 return A._asyncAwait(t1.cancel$0(), $async$watch$1);
40655 case 17:
40656 // returning from await.
40657 // goto the next finally handler
40658 $async$goto = $async$next.pop();
40659 break;
40660 case 5:
40661 // after finally
40662 case 1:
40663 // return
40664 return A._asyncReturn($async$returnValue, $async$completer);
40665 case 2:
40666 // rethrow
40667 return A._asyncRethrow($async$currentError, $async$completer);
40668 }
40669 });
40670 return A._asyncStartSync($async$watch$1, $async$completer);
40671 },
40672 _handleModify$1(path) {
40673 return this._handleModify$body$_Watcher(path);
40674 },
40675 _handleModify$body$_Watcher(path) {
40676 var $async$goto = 0,
40677 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40678 $async$returnValue, $async$self = this, t1, t2, t0, url, node;
40679 var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40680 if ($async$errorCode === 1)
40681 return A._asyncRethrow($async$result, $async$completer);
40682 while (true)
40683 switch ($async$goto) {
40684 case 0:
40685 // Function start
40686 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40687 t1 = $.$get$context();
40688 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40689 t0 = t2;
40690 t2 = t1;
40691 t1 = t0;
40692 } else {
40693 t1 = $.$get$context();
40694 t2 = t1.canonicalize$1(0, path);
40695 t0 = t2;
40696 t2 = t1;
40697 t1 = t0;
40698 }
40699 url = t2.toUri$1(t1);
40700 t1 = $async$self._graph;
40701 node = t1._nodes.$index(0, url);
40702 if (node == null) {
40703 $async$returnValue = $async$self._handleAdd$1(path);
40704 // goto return
40705 $async$goto = 1;
40706 break;
40707 }
40708 t1.reload$1(url);
40709 $async$goto = 3;
40710 return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
40711 case 3:
40712 // returning from await.
40713 $async$returnValue = $async$result;
40714 // goto return
40715 $async$goto = 1;
40716 break;
40717 case 1:
40718 // return
40719 return A._asyncReturn($async$returnValue, $async$completer);
40720 }
40721 });
40722 return A._asyncStartSync($async$_handleModify$1, $async$completer);
40723 },
40724 _handleAdd$1(path) {
40725 return this._handleAdd$body$_Watcher(path);
40726 },
40727 _handleAdd$body$_Watcher(path) {
40728 var $async$goto = 0,
40729 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40730 $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
40731 var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40732 if ($async$errorCode === 1)
40733 return A._asyncRethrow($async$result, $async$completer);
40734 while (true)
40735 switch ($async$goto) {
40736 case 0:
40737 // Function start
40738 destination = $async$self._destinationFor$1(path);
40739 $async$temp1 = destination == null;
40740 if ($async$temp1)
40741 $async$result = $async$temp1;
40742 else {
40743 // goto then
40744 $async$goto = 3;
40745 break;
40746 }
40747 // goto join
40748 $async$goto = 4;
40749 break;
40750 case 3:
40751 // then
40752 $async$goto = 5;
40753 return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
40754 case 5:
40755 // returning from await.
40756 case 4:
40757 // join
40758 success = $async$result;
40759 t1 = $.$get$context();
40760 t2 = t1.absolute$7(".", null, null, null, null, null, null);
40761 $async$goto = 6;
40762 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);
40763 case 6:
40764 // returning from await.
40765 $async$returnValue = $async$result && success;
40766 // goto return
40767 $async$goto = 1;
40768 break;
40769 case 1:
40770 // return
40771 return A._asyncReturn($async$returnValue, $async$completer);
40772 }
40773 });
40774 return A._asyncStartSync($async$_handleAdd$1, $async$completer);
40775 },
40776 _handleRemove$1(path) {
40777 return this._handleRemove$body$_Watcher(path);
40778 },
40779 _handleRemove$body$_Watcher(path) {
40780 var $async$goto = 0,
40781 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40782 $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
40783 var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40784 if ($async$errorCode === 1)
40785 return A._asyncRethrow($async$result, $async$completer);
40786 while (true)
40787 switch ($async$goto) {
40788 case 0:
40789 // Function start
40790 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40791 t1 = $.$get$context();
40792 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40793 t0 = t2;
40794 t2 = t1;
40795 t1 = t0;
40796 } else {
40797 t1 = $.$get$context();
40798 t2 = t1.canonicalize$1(0, path);
40799 t0 = t2;
40800 t2 = t1;
40801 t1 = t0;
40802 }
40803 url = t2.toUri$1(t1);
40804 t1 = $async$self._graph;
40805 t3 = t1._nodes;
40806 if (t3.containsKey$1(url)) {
40807 destination = $async$self._destinationFor$1(path);
40808 if (destination != null)
40809 $async$self._delete$1(destination);
40810 }
40811 t2 = t2.absolute$7(".", null, null, null, null, null, null);
40812 node = t3.remove$1(0, url);
40813 t3 = node != null;
40814 if (t3) {
40815 t1._transitiveModificationTimes.clear$0(0);
40816 t1.importCache.clearImport$1(url);
40817 node._stylesheet_graph$_remove$0();
40818 }
40819 toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
40820 if (t3)
40821 toRecompile.addAll$1(0, node._downstream);
40822 $async$goto = 3;
40823 return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
40824 case 3:
40825 // returning from await.
40826 $async$returnValue = $async$result;
40827 // goto return
40828 $async$goto = 1;
40829 break;
40830 case 1:
40831 // return
40832 return A._asyncReturn($async$returnValue, $async$completer);
40833 }
40834 });
40835 return A._asyncStartSync($async$_handleRemove$1, $async$completer);
40836 },
40837 _debounceEvents$1(events) {
40838 var t1 = type$.WatchEvent;
40839 t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
40840 return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
40841 },
40842 _recompileDownstream$1(nodes) {
40843 return this._recompileDownstream$body$_Watcher(nodes);
40844 },
40845 _recompileDownstream$body$_Watcher(nodes) {
40846 var $async$goto = 0,
40847 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40848 $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
40849 var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40850 if ($async$errorCode === 1)
40851 return A._asyncRethrow($async$result, $async$completer);
40852 while (true)
40853 switch ($async$goto) {
40854 case 0:
40855 // Function start
40856 t1 = type$.StylesheetNode;
40857 seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
40858 toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
40859 t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
40860 case 3:
40861 // for condition
40862 if (!!toRecompile.get$isEmpty(toRecompile)) {
40863 // goto after for
40864 $async$goto = 4;
40865 break;
40866 }
40867 node = toRecompile.removeFirst$0();
40868 if (!seen.add$1(0, node)) {
40869 // goto for condition
40870 $async$goto = 3;
40871 break;
40872 }
40873 $async$goto = 5;
40874 return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
40875 case 5:
40876 // returning from await.
40877 success = $async$result;
40878 allSucceeded = allSucceeded && success;
40879 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40880 $async$returnValue = false;
40881 // goto return
40882 $async$goto = 1;
40883 break;
40884 }
40885 toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
40886 // goto for condition
40887 $async$goto = 3;
40888 break;
40889 case 4:
40890 // after for
40891 $async$returnValue = allSucceeded;
40892 // goto return
40893 $async$goto = 1;
40894 break;
40895 case 1:
40896 // return
40897 return A._asyncReturn($async$returnValue, $async$completer);
40898 }
40899 });
40900 return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
40901 },
40902 _compileIfEntrypoint$1(url) {
40903 return this._compileIfEntrypoint$body$_Watcher(url);
40904 },
40905 _compileIfEntrypoint$body$_Watcher(url) {
40906 var $async$goto = 0,
40907 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40908 $async$returnValue, $async$self = this, source, destination;
40909 var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40910 if ($async$errorCode === 1)
40911 return A._asyncRethrow($async$result, $async$completer);
40912 while (true)
40913 switch ($async$goto) {
40914 case 0:
40915 // Function start
40916 if (url.get$scheme() !== "file") {
40917 $async$returnValue = true;
40918 // goto return
40919 $async$goto = 1;
40920 break;
40921 }
40922 source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
40923 destination = $async$self._destinationFor$1(source);
40924 if (destination == null) {
40925 $async$returnValue = true;
40926 // goto return
40927 $async$goto = 1;
40928 break;
40929 }
40930 $async$goto = 3;
40931 return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
40932 case 3:
40933 // returning from await.
40934 $async$returnValue = $async$result;
40935 // goto return
40936 $async$goto = 1;
40937 break;
40938 case 1:
40939 // return
40940 return A._asyncReturn($async$returnValue, $async$completer);
40941 }
40942 });
40943 return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
40944 },
40945 _destinationFor$1(source) {
40946 var t2, destination, t3, t4, t5, t6, parts,
40947 t1 = this._watch$_options;
40948 t1._ensureSources$0();
40949 t2 = type$.String;
40950 destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
40951 if (destination != null)
40952 return destination;
40953 t3 = $.$get$context();
40954 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
40955 return null;
40956 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();) {
40957 t5 = t1.get$current(t1);
40958 t6 = t5.key;
40959 if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
40960 continue;
40961 parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t2);
40962 A._validateArgList("join", parts);
40963 destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
40964 if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
40965 return destination;
40966 }
40967 return null;
40968 }
40969 };
40970 A._Watcher__debounceEvents_closure.prototype = {
40971 call$1(buffer) {
40972 var t2, t3, t4, oldType,
40973 t1 = A.PathMap__create(null, type$.ChangeType);
40974 for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
40975 t3 = t2.get$current(t2);
40976 t4 = t3.path;
40977 oldType = t1.$index(0, t4);
40978 if (oldType == null)
40979 t1.$indexSet(0, t4, t3.type);
40980 else if (t3.type === B.ChangeType_remove)
40981 t1.$indexSet(0, t4, B.ChangeType_remove);
40982 else if (oldType !== B.ChangeType_add)
40983 t1.$indexSet(0, t4, B.ChangeType_modify);
40984 }
40985 t2 = A._setArrayType([], type$.JSArray_WatchEvent);
40986 for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
40987 t3 = t1.get$current(t1);
40988 t4 = t3.value;
40989 t3 = t3.key;
40990 t3.toString;
40991 t2.push(new A.WatchEvent(t4, t3));
40992 }
40993 return t2;
40994 },
40995 $signature: 338
40996 };
40997 A.EmptyExtensionStore.prototype = {
40998 get$isEmpty(_) {
40999 return true;
41000 },
41001 get$simpleSelectors() {
41002 return B.C_EmptyUnmodifiableSet;
41003 },
41004 extensionsWhereTarget$1(callback) {
41005 return B.List_empty2;
41006 },
41007 addSelector$3(selector, span, mediaContext) {
41008 throw A.wrapException(A.UnsupportedError$(string$.addSel));
41009 },
41010 addExtension$4(extender, target, extend, mediaContext) {
41011 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
41012 },
41013 addExtensions$1(extenders) {
41014 throw A.wrapException(A.UnsupportedError$(string$.addExts));
41015 },
41016 clone$0() {
41017 return B.Tuple2_EmptyExtensionStore_Map_empty;
41018 },
41019 $isExtensionStore: 1
41020 };
41021 A.Extension.prototype = {
41022 toString$0(_) {
41023 var t1 = this.extender.toString$0(0),
41024 t2 = this.target.toString$0(0),
41025 t3 = this.isOptional ? " !optional" : "";
41026 return t1 + " {@extend " + t2 + t3 + "}";
41027 }
41028 };
41029 A.Extender.prototype = {
41030 assertCompatibleMediaContext$1(mediaContext) {
41031 var expectedMediaContext,
41032 extension = this._extension;
41033 if (extension == null)
41034 return;
41035 expectedMediaContext = extension.mediaContext;
41036 if (expectedMediaContext == null)
41037 return;
41038 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
41039 return;
41040 throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
41041 },
41042 toString$0(_) {
41043 return A.serializeSelector(this.selector, true);
41044 }
41045 };
41046 A.ExtensionStore.prototype = {
41047 get$isEmpty(_) {
41048 return this._extensions.__js_helper$_length === 0;
41049 },
41050 get$simpleSelectors() {
41051 return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
41052 },
41053 extensionsWhereTarget$1($async$callback) {
41054 var $async$self = this;
41055 return A._makeSyncStarIterable(function() {
41056 var callback = $async$callback;
41057 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
41058 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
41059 if ($async$errorCode === 1) {
41060 $async$currentError = $async$result;
41061 $async$goto = $async$handler;
41062 }
41063 while (true)
41064 switch ($async$goto) {
41065 case 0:
41066 // Function start
41067 t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
41068 case 2:
41069 // for condition
41070 if (!t1.moveNext$0()) {
41071 // goto after for
41072 $async$goto = 3;
41073 break;
41074 }
41075 t2 = t1.get$current(t1);
41076 if (!callback.call$1(t2.key)) {
41077 // goto for condition
41078 $async$goto = 2;
41079 break;
41080 }
41081 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
41082 case 4:
41083 // for condition
41084 if (!t2.moveNext$0()) {
41085 // goto after for
41086 $async$goto = 5;
41087 break;
41088 }
41089 t3 = t2.get$current(t2);
41090 $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
41091 break;
41092 case 6:
41093 // then
41094 t3 = t3.unmerge$0();
41095 $async$goto = 9;
41096 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
41097 case 9:
41098 // after yield
41099 // goto join
41100 $async$goto = 7;
41101 break;
41102 case 8:
41103 // else
41104 $async$goto = !t3.isOptional ? 10 : 11;
41105 break;
41106 case 10:
41107 // then
41108 $async$goto = 12;
41109 return t3;
41110 case 12:
41111 // after yield
41112 case 11:
41113 // join
41114 case 7:
41115 // join
41116 // goto for condition
41117 $async$goto = 4;
41118 break;
41119 case 5:
41120 // after for
41121 // goto for condition
41122 $async$goto = 2;
41123 break;
41124 case 3:
41125 // after for
41126 // implicit return
41127 return A._IterationMarker_endOfIteration();
41128 case 1:
41129 // rethrow
41130 return A._IterationMarker_uncaughtError($async$currentError);
41131 }
41132 };
41133 }, type$.Extension);
41134 },
41135 addSelector$3(selector, selectorSpan, mediaContext) {
41136 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
41137 selector = selector;
41138 originalSelector = selector;
41139 if (!originalSelector.get$isInvisible())
41140 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
41141 t3.add$1(0, t1[_i]);
41142 t1 = _this._extensions;
41143 if (t1.__js_helper$_length !== 0)
41144 try {
41145 selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
41146 } catch (exception) {
41147 t1 = A.unwrapException(exception);
41148 if (t1 instanceof A.SassException) {
41149 error = t1;
41150 stackTrace = A.getTraceFromException(exception);
41151 t1 = error;
41152 t2 = J.getInterceptor$z(t1);
41153 t3 = error;
41154 t4 = J.getInterceptor$z(t3);
41155 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);
41156 } else
41157 throw exception;
41158 }
41159 modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
41160 if (mediaContext != null)
41161 _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
41162 _this._registerSelector$2(selector, modifiableSelector);
41163 return modifiableSelector;
41164 },
41165 _registerSelector$2(list, selector) {
41166 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
41167 for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
41168 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
41169 component = t4[_i0];
41170 if (!(component instanceof A.CompoundSelector))
41171 continue;
41172 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
41173 simple = t6[_i1];
41174 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
41175 if (!(simple instanceof A.PseudoSelector))
41176 continue;
41177 selectorInPseudo = simple.selector;
41178 if (selectorInPseudo != null)
41179 this._registerSelector$2(selectorInPseudo, selector);
41180 }
41181 }
41182 },
41183 addExtension$4(extender, target, extend, mediaContext) {
41184 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
41185 selectors = _this._selectors.$index(0, target),
41186 t1 = _this._extensionsByExtender,
41187 existingExtensions = t1.$index(0, target),
41188 sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
41189 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) {
41190 complex = t2[_i];
41191 if (complex._complex$_maxSpecificity == null)
41192 complex._computeSpecificity$0();
41193 complex._complex$_maxSpecificity.toString;
41194 t12 = new A.Extender(complex, false, t6);
41195 extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
41196 existingExtension = sources.$index(0, complex);
41197 if (existingExtension != null) {
41198 sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
41199 continue;
41200 }
41201 sources.$indexSet(0, complex, extension);
41202 for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
41203 t13 = t12.get$current(t12);
41204 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
41205 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
41206 }
41207 if (!t4 || t9) {
41208 if (newExtensions == null)
41209 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
41210 newExtensions.$indexSet(0, complex, extension);
41211 }
41212 }
41213 if (newExtensions == null)
41214 return;
41215 t1 = type$.SimpleSelector;
41216 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
41217 if (t9) {
41218 additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
41219 if (additionalExtensions != null)
41220 A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
41221 }
41222 if (!t4)
41223 _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
41224 },
41225 _simpleSelectors$1(complex) {
41226 return this._simpleSelectors$body$ExtensionStore(complex);
41227 },
41228 _simpleSelectors$body$ExtensionStore($async$complex) {
41229 var $async$self = this;
41230 return A._makeSyncStarIterable(function() {
41231 var complex = $async$complex;
41232 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
41233 return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
41234 if ($async$errorCode === 1) {
41235 $async$currentError = $async$result;
41236 $async$goto = $async$handler;
41237 }
41238 while (true)
41239 switch ($async$goto) {
41240 case 0:
41241 // Function start
41242 t1 = complex.components, t2 = t1.length, _i = 0;
41243 case 2:
41244 // for condition
41245 if (!(_i < t2)) {
41246 // goto after for
41247 $async$goto = 4;
41248 break;
41249 }
41250 component = t1[_i];
41251 $async$goto = component instanceof A.CompoundSelector ? 5 : 6;
41252 break;
41253 case 5:
41254 // then
41255 t3 = component.components, t4 = t3.length, _i0 = 0;
41256 case 7:
41257 // for condition
41258 if (!(_i0 < t4)) {
41259 // goto after for
41260 $async$goto = 9;
41261 break;
41262 }
41263 simple = t3[_i0];
41264 $async$goto = 10;
41265 return simple;
41266 case 10:
41267 // after yield
41268 if (!(simple instanceof A.PseudoSelector)) {
41269 // goto for update
41270 $async$goto = 8;
41271 break;
41272 }
41273 selector = simple.selector;
41274 if (selector == null) {
41275 // goto for update
41276 $async$goto = 8;
41277 break;
41278 }
41279 t5 = selector.components, t6 = t5.length, _i1 = 0;
41280 case 11:
41281 // for condition
41282 if (!(_i1 < t6)) {
41283 // goto after for
41284 $async$goto = 13;
41285 break;
41286 }
41287 $async$goto = 14;
41288 return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
41289 case 14:
41290 // after yield
41291 case 12:
41292 // for update
41293 ++_i1;
41294 // goto for condition
41295 $async$goto = 11;
41296 break;
41297 case 13:
41298 // after for
41299 case 8:
41300 // for update
41301 ++_i0;
41302 // goto for condition
41303 $async$goto = 7;
41304 break;
41305 case 9:
41306 // after for
41307 case 6:
41308 // join
41309 case 3:
41310 // for update
41311 ++_i;
41312 // goto for condition
41313 $async$goto = 2;
41314 break;
41315 case 4:
41316 // after for
41317 // implicit return
41318 return A._IterationMarker_endOfIteration();
41319 case 1:
41320 // rethrow
41321 return A._IterationMarker_uncaughtError($async$currentError);
41322 }
41323 };
41324 }, type$.SimpleSelector);
41325 },
41326 _extendExistingExtensions$2(extensions, newExtensions) {
41327 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;
41328 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) {
41329 extension = t1[_i];
41330 t7 = t6.$index(0, extension.target);
41331 t7.toString;
41332 selectors = null;
41333 try {
41334 selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
41335 if (selectors == null)
41336 continue;
41337 } catch (exception) {
41338 t8 = A.unwrapException(exception);
41339 if (t8 instanceof A.SassException) {
41340 error = t8;
41341 stackTrace = A.getTraceFromException(exception);
41342 t8 = error;
41343 t9 = J.getInterceptor$z(t8);
41344 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);
41345 } else
41346 throw exception;
41347 }
41348 t8 = J.get$first$ax(selectors);
41349 t9 = extension.extender;
41350 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
41351 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
41352 complex = t8[_i0];
41353 if (containsExtension && first) {
41354 first = false;
41355 continue;
41356 }
41357 t10 = extension;
41358 t11 = t10.extender;
41359 t12 = t10.target;
41360 t13 = t10.span;
41361 t14 = t10.mediaContext;
41362 t10 = t10.isOptional;
41363 if (complex._complex$_maxSpecificity == null)
41364 complex._computeSpecificity$0();
41365 complex._complex$_maxSpecificity.toString;
41366 t11 = new A.Extender(complex, false, t11.span);
41367 withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
41368 existingExtension = t7.$index(0, complex);
41369 if (existingExtension != null)
41370 t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
41371 else {
41372 t7.$indexSet(0, complex, withExtender);
41373 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
41374 component = t10[_i1];
41375 if (component instanceof A.CompoundSelector)
41376 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
41377 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
41378 }
41379 if (newExtensions.containsKey$1(extension.target)) {
41380 if (additionalExtensions == null)
41381 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
41382 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
41383 }
41384 }
41385 }
41386 if (!containsExtension)
41387 t7.remove$1(0, extension.extender);
41388 }
41389 return additionalExtensions;
41390 },
41391 _extendExistingSelectors$2(selectors, newExtensions) {
41392 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
41393 for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
41394 selector = t1.get$current(t1);
41395 oldValue = selector.value;
41396 try {
41397 selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
41398 } catch (exception) {
41399 t3 = A.unwrapException(exception);
41400 if (t3 instanceof A.SassException) {
41401 error = t3;
41402 stackTrace = A.getTraceFromException(exception);
41403 t3 = error;
41404 t4 = J.getInterceptor$z(t3);
41405 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);
41406 } else
41407 throw exception;
41408 }
41409 if (oldValue === selector.value)
41410 continue;
41411 this._registerSelector$2(selector.value, selector);
41412 }
41413 },
41414 addExtensions$1(extensionStores) {
41415 var t1, t2, t3, _box_0 = {};
41416 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
41417 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
41418 t3 = t1.get$current(t1);
41419 if (t3.get$isEmpty(t3))
41420 continue;
41421 t2.addAll$1(0, t3.get$_sourceSpecificity());
41422 t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
41423 }
41424 A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
41425 },
41426 _extendList$4(list, listSpan, extensions, mediaQueryContext) {
41427 var t1, t2, t3, extended, i, complex, result, t4;
41428 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
41429 complex = t1[i];
41430 result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
41431 if (result == null) {
41432 if (extended != null)
41433 extended.push(complex);
41434 } else {
41435 if (extended == null)
41436 if (i === 0)
41437 extended = A._setArrayType([], t3);
41438 else {
41439 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
41440 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
41441 }
41442 B.JSArray_methods.addAll$1(extended, result);
41443 }
41444 }
41445 if (extended == null)
41446 return list;
41447 t1 = this._originals;
41448 return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
41449 },
41450 _extendList$3(list, listSpan, extensions) {
41451 return this._extendList$4(list, listSpan, extensions, null);
41452 },
41453 _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
41454 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
41455 _s28_ = "components may not be empty.",
41456 _box_0 = {},
41457 isOriginal = this._originals.contains$1(0, complex);
41458 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) {
41459 component = t1[i];
41460 if (component instanceof A.CompoundSelector) {
41461 extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
41462 if (extended == null) {
41463 if (extendedNotExpanded != null) {
41464 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41465 result.fixed$length = Array;
41466 result.immutable$list = Array;
41467 t6 = result;
41468 if (t6.length === 0)
41469 A.throwExpression(A.ArgumentError$(_s28_, _null));
41470 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41471 }
41472 } else {
41473 if (extendedNotExpanded == null) {
41474 t6 = A._arrayInstanceType(t1);
41475 t7 = t6._eval$1("SubListIterable<1>");
41476 t8 = new A.SubListIterable(t1, 0, i, t7);
41477 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
41478 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector>>");
41479 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure(complex), t7), true, t7._eval$1("ListIterable.E"));
41480 }
41481 B.JSArray_methods.add$1(extendedNotExpanded, extended);
41482 }
41483 } else if (extendedNotExpanded != null) {
41484 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41485 result.fixed$length = Array;
41486 result.immutable$list = Array;
41487 t6 = result;
41488 if (t6.length === 0)
41489 A.throwExpression(A.ArgumentError$(_s28_, _null));
41490 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41491 }
41492 }
41493 if (extendedNotExpanded == null)
41494 return _null;
41495 _box_0.first = true;
41496 t1 = type$.ComplexSelector;
41497 t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
41498 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41499 },
41500 _extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
41501 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
41502 _s28_ = "components may not be empty.",
41503 _box_1 = {},
41504 t1 = _this._mode,
41505 targetsUsed = t1 === B.ExtendMode_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
41506 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) {
41507 simple = t2[i];
41508 extended = _this._extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
41509 if (extended == null) {
41510 if (options != null) {
41511 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
41512 result.fixed$length = Array;
41513 result.immutable$list = Array;
41514 t11 = result;
41515 if (t11.length === 0)
41516 A.throwExpression(A.ArgumentError$(_s28_, _null));
41517 result = A.List_List$from(A._setArrayType([new A.CompoundSelector(t11)], t6), false, t7);
41518 result.fixed$length = Array;
41519 result.immutable$list = Array;
41520 t11 = result;
41521 if (t11.length === 0)
41522 A.throwExpression(A.ArgumentError$(_s28_, _null));
41523 t9.$index(0, simple);
41524 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41525 }
41526 } else {
41527 if (options == null) {
41528 options = A._setArrayType([], t4);
41529 if (i !== 0) {
41530 t11 = A._arrayInstanceType(t2);
41531 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
41532 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
41533 result = A.List_List$from(t12, false, t8);
41534 result.fixed$length = Array;
41535 result.immutable$list = Array;
41536 t12 = result;
41537 compound = new A.CompoundSelector(t12);
41538 if (t12.length === 0)
41539 A.throwExpression(A.ArgumentError$(_s28_, _null));
41540 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
41541 result.fixed$length = Array;
41542 result.immutable$list = Array;
41543 t11 = result;
41544 if (t11.length === 0)
41545 A.throwExpression(A.ArgumentError$(_s28_, _null));
41546 _this._sourceSpecificityFor$1(compound);
41547 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41548 }
41549 }
41550 B.JSArray_methods.addAll$1(options, extended);
41551 }
41552 }
41553 if (options == null)
41554 return _null;
41555 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
41556 return _null;
41557 if (options.length === 1)
41558 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure(mediaQueryContext), type$.ComplexSelector).toList$0(0);
41559 t1 = _box_1.first = t1 !== B.ExtendMode_replace;
41560 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);
41561 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector>");
41562 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure1(), t3), true, t3._eval$1("Iterable.E"));
41563 isOriginal = new A.ExtensionStore__extendCompound_closure2();
41564 return _this._trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure3(B.JSArray_methods.get$first(result)) : isOriginal);
41565 },
41566 _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
41567 var extended,
41568 t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
41569 if (simple instanceof A.PseudoSelector && simple.selector != null) {
41570 extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
41571 if (extended != null)
41572 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
41573 }
41574 return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
41575 },
41576 _extenderForSimple$2(simple, span) {
41577 var t1 = A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector))], type$.JSArray_ComplexSelectorComponent), false);
41578 this._sourceSpecificity.$index(0, simple);
41579 return new A.Extender(t1, true, span);
41580 },
41581 _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
41582 var extended, complexes, t1, result,
41583 selector = pseudo.selector;
41584 if (selector == null)
41585 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
41586 extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
41587 if (extended === selector)
41588 return null;
41589 complexes = extended.components;
41590 t1 = pseudo.normalizedName === "not";
41591 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()))
41592 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
41593 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
41594 if (t1 && selector.components.length === 1) {
41595 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
41596 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
41597 return result.length === 0 ? null : result;
41598 } else
41599 return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
41600 },
41601 _trim$2(selectors, isOriginal) {
41602 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
41603 if (selectors.length > 100)
41604 return selectors;
41605 result = A.QueueList$(null, type$.ComplexSelector);
41606 $label0$0:
41607 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
41608 _box_0 = {};
41609 complex1 = selectors[i];
41610 if (isOriginal.call$1(complex1)) {
41611 for (j = 0; j < numOriginals; ++j)
41612 if (J.$eq$(result.$index(0, j), complex1)) {
41613 A.rotateSlice(result, 0, j + 1);
41614 continue $label0$0;
41615 }
41616 ++numOriginals;
41617 result.addFirst$1(complex1);
41618 continue $label0$0;
41619 }
41620 _box_0.maxSpecificity = 0;
41621 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
41622 component = t3[_i];
41623 if (component instanceof A.CompoundSelector)
41624 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._sourceSpecificityFor$1(component));
41625 }
41626 if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
41627 continue $label0$0;
41628 t3 = new A.SubListIterable(selectors, 0, i, t1);
41629 t3.SubListIterable$3(selectors, 0, i, t2);
41630 if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
41631 continue $label0$0;
41632 result.addFirst$1(complex1);
41633 }
41634 return result;
41635 },
41636 _sourceSpecificityFor$1(compound) {
41637 var t1, t2, t3, specificity, _i, t4;
41638 for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
41639 t4 = t3.$index(0, t1[_i]);
41640 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
41641 }
41642 return specificity;
41643 },
41644 clone$0() {
41645 var t3, t4, _this = this,
41646 t1 = type$.SimpleSelector,
41647 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
41648 t2 = type$.ModifiableCssValue_SelectorList,
41649 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
41650 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
41651 _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
41652 t2 = type$.Extension;
41653 t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
41654 t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
41655 t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int);
41656 t1.addAll$1(0, _this._sourceSpecificity);
41657 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
41658 t4.addAll$1(0, _this._originals);
41659 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);
41660 },
41661 get$_extensions() {
41662 return this._extensions;
41663 },
41664 get$_sourceSpecificity() {
41665 return this._sourceSpecificity;
41666 }
41667 };
41668 A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
41669 call$1(extension) {
41670 return !extension.isOptional;
41671 },
41672 $signature: 600
41673 };
41674 A.ExtensionStore__registerSelector_closure.prototype = {
41675 call$0() {
41676 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
41677 },
41678 $signature: 349
41679 };
41680 A.ExtensionStore_addExtension_closure.prototype = {
41681 call$0() {
41682 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41683 },
41684 $signature: 130
41685 };
41686 A.ExtensionStore_addExtension_closure0.prototype = {
41687 call$0() {
41688 return A._setArrayType([], type$.JSArray_Extension);
41689 },
41690 $signature: 200
41691 };
41692 A.ExtensionStore_addExtension_closure1.prototype = {
41693 call$0() {
41694 return this.complex.get$maxSpecificity();
41695 },
41696 $signature: 12
41697 };
41698 A.ExtensionStore__extendExistingExtensions_closure.prototype = {
41699 call$0() {
41700 return A._setArrayType([], type$.JSArray_Extension);
41701 },
41702 $signature: 200
41703 };
41704 A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
41705 call$0() {
41706 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41707 },
41708 $signature: 130
41709 };
41710 A.ExtensionStore_addExtensions_closure.prototype = {
41711 call$2(target, newSources) {
41712 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
41713 if (target instanceof A.PlaceholderSelector) {
41714 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
41715 t1 = first === 45 || first === 95;
41716 } else
41717 t1 = false;
41718 if (t1)
41719 return;
41720 t1 = _this.$this;
41721 extensionsForTarget = t1._extensionsByExtender.$index(0, target);
41722 t2 = extensionsForTarget == null;
41723 if (!t2) {
41724 t3 = _this._box_0;
41725 t4 = t3.extensionsToExtend;
41726 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
41727 }
41728 selectorsForTarget = t1._selectors.$index(0, target);
41729 t3 = selectorsForTarget != null;
41730 if (t3) {
41731 t4 = _this._box_0;
41732 t5 = t4.selectorsToExtend;
41733 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
41734 }
41735 t1 = t1._extensions;
41736 existingSources = t1.$index(0, target);
41737 if (existingSources == null) {
41738 t4 = type$.ComplexSelector;
41739 t5 = type$.Extension;
41740 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41741 if (!t2 || t3) {
41742 t1 = _this._box_0;
41743 t2 = t1.newExtensions;
41744 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41745 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41746 }
41747 } else
41748 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
41749 },
41750 $signature: 359
41751 };
41752 A.ExtensionStore_addExtensions__closure1.prototype = {
41753 call$2(extender, extension) {
41754 var t2, _this = this,
41755 t1 = _this.existingSources;
41756 if (t1.containsKey$1(extender)) {
41757 t2 = t1.$index(0, extender);
41758 t2.toString;
41759 extension = A.MergedExtension_merge(t2, extension);
41760 t1.$indexSet(0, extender, extension);
41761 } else
41762 t1.$indexSet(0, extender, extension);
41763 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
41764 t1 = _this._box_0;
41765 t2 = t1.newExtensions;
41766 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41767 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
41768 }
41769 },
41770 $signature: 365
41771 };
41772 A.ExtensionStore_addExtensions___closure.prototype = {
41773 call$0() {
41774 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41775 },
41776 $signature: 130
41777 };
41778 A.ExtensionStore_addExtensions_closure0.prototype = {
41779 call$1(newExtensions) {
41780 var t1 = this._box_0,
41781 t2 = this.$this;
41782 A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
41783 A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
41784 },
41785 $signature: 369
41786 };
41787 A.ExtensionStore_addExtensions__closure.prototype = {
41788 call$1(extensionsToExtend) {
41789 return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
41790 },
41791 $signature: 378
41792 };
41793 A.ExtensionStore_addExtensions__closure0.prototype = {
41794 call$1(selectorsToExtend) {
41795 return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
41796 },
41797 $signature: 386
41798 };
41799 A.ExtensionStore__extendComplex_closure.prototype = {
41800 call$1(component) {
41801 return A._setArrayType([A.ComplexSelector$(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent), this.complex.lineBreak)], type$.JSArray_ComplexSelector);
41802 },
41803 $signature: 387
41804 };
41805 A.ExtensionStore__extendComplex_closure0.prototype = {
41806 call$1(path) {
41807 var t1 = A.weave(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure(), type$.List_ComplexSelectorComponent).toList$0(0));
41808 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>"));
41809 },
41810 $signature: 391
41811 };
41812 A.ExtensionStore__extendComplex__closure.prototype = {
41813 call$1(complex) {
41814 return complex.components;
41815 },
41816 $signature: 394
41817 };
41818 A.ExtensionStore__extendComplex__closure0.prototype = {
41819 call$1(components) {
41820 var _this = this,
41821 t1 = _this.complex,
41822 outputComplex = A.ComplexSelector$(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure())),
41823 t2 = _this._box_0;
41824 if (t2.first && _this.$this._originals.contains$1(0, t1))
41825 _this.$this._originals.add$1(0, outputComplex);
41826 t2.first = false;
41827 return outputComplex;
41828 },
41829 $signature: 75
41830 };
41831 A.ExtensionStore__extendComplex___closure.prototype = {
41832 call$1(inputComplex) {
41833 return inputComplex.lineBreak;
41834 },
41835 $signature: 19
41836 };
41837 A.ExtensionStore__extendCompound_closure.prototype = {
41838 call$1(extender) {
41839 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
41840 return extender.selector;
41841 },
41842 $signature: 403
41843 };
41844 A.ExtensionStore__extendCompound_closure0.prototype = {
41845 call$1(path) {
41846 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
41847 t1 = this._box_1;
41848 if (t1.first) {
41849 t1.first = false;
41850 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);
41851 } else {
41852 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent);
41853 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector, t3 = type$.JSArray_SimpleSelector, originals = null; t1.moveNext$0();) {
41854 t4 = t1.get$current(t1);
41855 if (t4.isOriginal) {
41856 if (originals == null)
41857 originals = A._setArrayType([], t3);
41858 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
41859 } else
41860 toUnify._queue_list$_add$1(t4.selector.components);
41861 }
41862 if (originals != null)
41863 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$(originals)], type$.JSArray_ComplexSelectorComponent));
41864 complexes = A.unifyComplex(toUnify);
41865 if (complexes == null)
41866 return null;
41867 }
41868 _box_0.lineBreak = false;
41869 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
41870 t3 = t1.get$current(t1);
41871 t3.assertCompatibleMediaContext$1(t2);
41872 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
41873 }
41874 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure0(_box_0), type$.ComplexSelector);
41875 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
41876 },
41877 $signature: 406
41878 };
41879 A.ExtensionStore__extendCompound__closure.prototype = {
41880 call$1(extender) {
41881 return type$.CompoundSelector._as(B.JSArray_methods.get$last(extender.selector.components)).components;
41882 },
41883 $signature: 410
41884 };
41885 A.ExtensionStore__extendCompound__closure0.prototype = {
41886 call$1(components) {
41887 return A.ComplexSelector$(components, this._box_0.lineBreak);
41888 },
41889 $signature: 75
41890 };
41891 A.ExtensionStore__extendCompound_closure1.prototype = {
41892 call$1(l) {
41893 return l;
41894 },
41895 $signature: 420
41896 };
41897 A.ExtensionStore__extendCompound_closure2.prototype = {
41898 call$1(_) {
41899 return false;
41900 },
41901 $signature: 19
41902 };
41903 A.ExtensionStore__extendCompound_closure3.prototype = {
41904 call$1(complex) {
41905 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
41906 return t1;
41907 },
41908 $signature: 19
41909 };
41910 A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
41911 call$1(simple) {
41912 var t1, t2, _this = this,
41913 extensionsForSimple = _this.extensions.$index(0, simple);
41914 if (extensionsForSimple == null)
41915 return null;
41916 t1 = _this.targetsUsed;
41917 if (t1 != null)
41918 t1.add$1(0, simple);
41919 t1 = A._setArrayType([], type$.JSArray_Extender);
41920 t2 = _this.$this;
41921 if (t2._mode !== B.ExtendMode_replace)
41922 t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
41923 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
41924 t1.push(t2.get$current(t2).extender);
41925 return t1;
41926 },
41927 $signature: 433
41928 };
41929 A.ExtensionStore__extendSimple_closure.prototype = {
41930 call$1(pseudo) {
41931 var t1 = this.withoutPseudo.call$1(pseudo);
41932 return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
41933 },
41934 $signature: 440
41935 };
41936 A.ExtensionStore__extendSimple_closure0.prototype = {
41937 call$1(result) {
41938 return A._setArrayType([result], type$.JSArray_List_Extender);
41939 },
41940 $signature: 444
41941 };
41942 A.ExtensionStore__extendPseudo_closure.prototype = {
41943 call$1(complex) {
41944 return complex.components.length > 1;
41945 },
41946 $signature: 19
41947 };
41948 A.ExtensionStore__extendPseudo_closure0.prototype = {
41949 call$1(complex) {
41950 return complex.components.length === 1;
41951 },
41952 $signature: 19
41953 };
41954 A.ExtensionStore__extendPseudo_closure1.prototype = {
41955 call$1(complex) {
41956 return complex.components.length <= 1;
41957 },
41958 $signature: 19
41959 };
41960 A.ExtensionStore__extendPseudo_closure2.prototype = {
41961 call$1(complex) {
41962 var innerPseudo, innerSelector,
41963 t1 = complex.components;
41964 if (t1.length !== 1)
41965 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41966 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector))
41967 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41968 t1 = type$.CompoundSelector._as(B.JSArray_methods.get$first(t1)).components;
41969 if (t1.length !== 1)
41970 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41971 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector))
41972 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41973 innerPseudo = type$.PseudoSelector._as(B.JSArray_methods.get$first(t1));
41974 innerSelector = innerPseudo.selector;
41975 if (innerSelector == null)
41976 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41977 t1 = this.pseudo;
41978 switch (t1.normalizedName) {
41979 case "not":
41980 if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
41981 return A._setArrayType([], type$.JSArray_ComplexSelector);
41982 return innerSelector.components;
41983 case "is":
41984 case "matches":
41985 case "where":
41986 case "any":
41987 case "current":
41988 case "nth-child":
41989 case "nth-last-child":
41990 if (innerPseudo.name !== t1.name)
41991 return A._setArrayType([], type$.JSArray_ComplexSelector);
41992 if (innerPseudo.argument != t1.argument)
41993 return A._setArrayType([], type$.JSArray_ComplexSelector);
41994 return innerSelector.components;
41995 case "has":
41996 case "host":
41997 case "host-context":
41998 case "slotted":
41999 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42000 default:
42001 return A._setArrayType([], type$.JSArray_ComplexSelector);
42002 }
42003 },
42004 $signature: 445
42005 };
42006 A.ExtensionStore__extendPseudo_closure3.prototype = {
42007 call$1(complex) {
42008 var t1 = this.pseudo;
42009 return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
42010 },
42011 $signature: 456
42012 };
42013 A.ExtensionStore__trim_closure.prototype = {
42014 call$1(complex2) {
42015 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
42016 },
42017 $signature: 19
42018 };
42019 A.ExtensionStore__trim_closure0.prototype = {
42020 call$1(complex2) {
42021 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
42022 },
42023 $signature: 19
42024 };
42025 A.ExtensionStore_clone_closure.prototype = {
42026 call$2(simple, selectors) {
42027 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
42028 t1 = type$.ModifiableCssValue_SelectorList,
42029 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
42030 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
42031 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
42032 t6 = t2.get$current(t2);
42033 newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
42034 newSelectorSet.add$1(0, newSelector);
42035 t3.$indexSet(0, t6, newSelector);
42036 mediaContext = t4.$index(0, t6);
42037 if (mediaContext != null)
42038 t5.$indexSet(0, newSelector, mediaContext);
42039 }
42040 },
42041 $signature: 461
42042 };
42043 A.unifyComplex_closure.prototype = {
42044 call$1(complex) {
42045 var t1 = J.getInterceptor$asx(complex);
42046 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
42047 },
42048 $signature: 133
42049 };
42050 A._weaveParents_closure.prototype = {
42051 call$2(group1, group2) {
42052 var unified, t1, _null = null;
42053 if (B.C_ListEquality.equals$2(0, group1, group2))
42054 return group1;
42055 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector) || !(J.get$first$ax(group2) instanceof A.CompoundSelector))
42056 return _null;
42057 if (A.complexIsParentSuperselector(group1, group2))
42058 return group2;
42059 if (A.complexIsParentSuperselector(group2, group1))
42060 return group1;
42061 if (!A._mustUnify(group1, group2))
42062 return _null;
42063 unified = A.unifyComplex(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent));
42064 if (unified == null)
42065 return _null;
42066 t1 = J.getInterceptor$asx(unified);
42067 if (t1.get$length(unified) > 1)
42068 return _null;
42069 return t1.get$first(unified);
42070 },
42071 $signature: 478
42072 };
42073 A._weaveParents_closure0.prototype = {
42074 call$1(sequence) {
42075 return A.complexIsParentSuperselector(sequence.get$first(sequence), this.group);
42076 },
42077 $signature: 480
42078 };
42079 A._weaveParents_closure1.prototype = {
42080 call$1(chunk) {
42081 return J.expand$1$1$ax(chunk, new A._weaveParents__closure1(), type$.ComplexSelectorComponent);
42082 },
42083 $signature: 198
42084 };
42085 A._weaveParents__closure1.prototype = {
42086 call$1(group) {
42087 return group;
42088 },
42089 $signature: 133
42090 };
42091 A._weaveParents_closure2.prototype = {
42092 call$1(sequence) {
42093 return sequence.get$length(sequence) === 0;
42094 },
42095 $signature: 197
42096 };
42097 A._weaveParents_closure3.prototype = {
42098 call$1(chunk) {
42099 return J.expand$1$1$ax(chunk, new A._weaveParents__closure0(), type$.ComplexSelectorComponent);
42100 },
42101 $signature: 198
42102 };
42103 A._weaveParents__closure0.prototype = {
42104 call$1(group) {
42105 return group;
42106 },
42107 $signature: 133
42108 };
42109 A._weaveParents_closure4.prototype = {
42110 call$1(choice) {
42111 return J.get$isNotEmpty$asx(choice);
42112 },
42113 $signature: 503
42114 };
42115 A._weaveParents_closure5.prototype = {
42116 call$1(path) {
42117 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure(), type$.ComplexSelectorComponent);
42118 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42119 },
42120 $signature: 504
42121 };
42122 A._weaveParents__closure.prototype = {
42123 call$1(group) {
42124 return group;
42125 },
42126 $signature: 505
42127 };
42128 A._mustUnify_closure.prototype = {
42129 call$1(component) {
42130 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure(this.uniqueSelectors));
42131 },
42132 $signature: 137
42133 };
42134 A._mustUnify__closure.prototype = {
42135 call$1(simple) {
42136 var t1;
42137 if (!(simple instanceof A.IDSelector))
42138 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
42139 else
42140 t1 = true;
42141 return t1 && this.uniqueSelectors.contains$1(0, simple);
42142 },
42143 $signature: 16
42144 };
42145 A.paths_closure.prototype = {
42146 call$2(paths, choice) {
42147 var t1 = this.T;
42148 t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
42149 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42150 },
42151 $signature() {
42152 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
42153 }
42154 };
42155 A.paths__closure.prototype = {
42156 call$1(option) {
42157 var t1 = this.T;
42158 return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
42159 },
42160 $signature() {
42161 return this.T._eval$1("Iterable<List<0>>(0)");
42162 }
42163 };
42164 A.paths___closure.prototype = {
42165 call$1(path) {
42166 var t1 = A.List_List$of(path, true, this.T);
42167 t1.push(this.option);
42168 return t1;
42169 },
42170 $signature() {
42171 return this.T._eval$1("List<0>(List<0>)");
42172 }
42173 };
42174 A._hasRoot_closure.prototype = {
42175 call$1(simple) {
42176 return simple instanceof A.PseudoSelector && simple.isClass && simple.normalizedName === "root";
42177 },
42178 $signature: 16
42179 };
42180 A.listIsSuperselector_closure.prototype = {
42181 call$1(complex1) {
42182 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
42183 },
42184 $signature: 19
42185 };
42186 A.listIsSuperselector__closure.prototype = {
42187 call$1(complex2) {
42188 return A.complexIsSuperselector(complex2.components, this.complex1.components);
42189 },
42190 $signature: 19
42191 };
42192 A._simpleIsSuperselectorOfCompound_closure.prototype = {
42193 call$1(theirSimple) {
42194 var selector,
42195 t1 = this.simple;
42196 if (t1.$eq(0, theirSimple))
42197 return true;
42198 if (!(theirSimple instanceof A.PseudoSelector))
42199 return false;
42200 selector = theirSimple.selector;
42201 if (selector == null)
42202 return false;
42203 if (!$._subselectorPseudos.contains$1(0, theirSimple.normalizedName))
42204 return false;
42205 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure(t1));
42206 },
42207 $signature: 16
42208 };
42209 A._simpleIsSuperselectorOfCompound__closure.prototype = {
42210 call$1(complex) {
42211 var t1 = complex.components;
42212 if (t1.length !== 1)
42213 return false;
42214 return B.JSArray_methods.contains$1(type$.CompoundSelector._as(B.JSArray_methods.get$single(t1)).components, this.simple);
42215 },
42216 $signature: 19
42217 };
42218 A._selectorPseudoIsSuperselector_closure.prototype = {
42219 call$1(selector2) {
42220 return A.listIsSuperselector(this.selector1.components, selector2.components);
42221 },
42222 $signature: 78
42223 };
42224 A._selectorPseudoIsSuperselector_closure0.prototype = {
42225 call$1(complex1) {
42226 var t1 = complex1.components,
42227 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent),
42228 t3 = this.parents;
42229 if (t3 != null)
42230 B.JSArray_methods.addAll$1(t2, t3);
42231 t2.push(this.compound2);
42232 return A.complexIsSuperselector(t1, t2);
42233 },
42234 $signature: 19
42235 };
42236 A._selectorPseudoIsSuperselector_closure1.prototype = {
42237 call$1(selector2) {
42238 return A.listIsSuperselector(this.selector1.components, selector2.components);
42239 },
42240 $signature: 78
42241 };
42242 A._selectorPseudoIsSuperselector_closure2.prototype = {
42243 call$1(selector2) {
42244 return A.listIsSuperselector(this.selector1.components, selector2.components);
42245 },
42246 $signature: 78
42247 };
42248 A._selectorPseudoIsSuperselector_closure3.prototype = {
42249 call$1(complex) {
42250 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
42251 },
42252 $signature: 19
42253 };
42254 A._selectorPseudoIsSuperselector__closure.prototype = {
42255 call$1(simple2) {
42256 var compound1, selector2, _this = this;
42257 if (simple2 instanceof A.TypeSelector) {
42258 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42259 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure(simple2));
42260 } else if (simple2 instanceof A.IDSelector) {
42261 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42262 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
42263 } else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
42264 selector2 = simple2.selector;
42265 if (selector2 == null)
42266 return false;
42267 return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
42268 } else
42269 return false;
42270 },
42271 $signature: 16
42272 };
42273 A._selectorPseudoIsSuperselector___closure.prototype = {
42274 call$1(simple1) {
42275 var t1;
42276 if (simple1 instanceof A.TypeSelector) {
42277 t1 = this.simple2.name.$eq(0, simple1.name);
42278 t1 = !t1;
42279 } else
42280 t1 = false;
42281 return t1;
42282 },
42283 $signature: 16
42284 };
42285 A._selectorPseudoIsSuperselector___closure0.prototype = {
42286 call$1(simple1) {
42287 var t1;
42288 if (simple1 instanceof A.IDSelector) {
42289 t1 = simple1.name;
42290 t1 = this.simple2.name !== t1;
42291 } else
42292 t1 = false;
42293 return t1;
42294 },
42295 $signature: 16
42296 };
42297 A._selectorPseudoIsSuperselector_closure4.prototype = {
42298 call$1(selector2) {
42299 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
42300 return t1;
42301 },
42302 $signature: 78
42303 };
42304 A._selectorPseudoIsSuperselector_closure5.prototype = {
42305 call$1(pseudo2) {
42306 var t1, selector2;
42307 if (!(pseudo2 instanceof A.PseudoSelector))
42308 return false;
42309 t1 = this.pseudo1;
42310 if (pseudo2.name !== t1.name)
42311 return false;
42312 if (pseudo2.argument != t1.argument)
42313 return false;
42314 selector2 = pseudo2.selector;
42315 if (selector2 == null)
42316 return false;
42317 return A.listIsSuperselector(this.selector1.components, selector2.components);
42318 },
42319 $signature: 16
42320 };
42321 A._selectorPseudoArgs_closure.prototype = {
42322 call$1(pseudo) {
42323 return pseudo.isClass === this.isClass && pseudo.name === this.name;
42324 },
42325 $signature: 509
42326 };
42327 A._selectorPseudoArgs_closure0.prototype = {
42328 call$1(pseudo) {
42329 return pseudo.selector;
42330 },
42331 $signature: 512
42332 };
42333 A.MergedExtension.prototype = {
42334 unmerge$0() {
42335 var $async$self = this;
42336 return A._makeSyncStarIterable(function() {
42337 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
42338 return function $async$unmerge$0($async$errorCode, $async$result) {
42339 if ($async$errorCode === 1) {
42340 $async$currentError = $async$result;
42341 $async$goto = $async$handler;
42342 }
42343 while (true)
42344 switch ($async$goto) {
42345 case 0:
42346 // Function start
42347 left = $async$self.left;
42348 $async$goto = left instanceof A.MergedExtension ? 2 : 4;
42349 break;
42350 case 2:
42351 // then
42352 $async$goto = 5;
42353 return A._IterationMarker_yieldStar(left.unmerge$0());
42354 case 5:
42355 // after yield
42356 // goto join
42357 $async$goto = 3;
42358 break;
42359 case 4:
42360 // else
42361 $async$goto = 6;
42362 return left;
42363 case 6:
42364 // after yield
42365 case 3:
42366 // join
42367 right = $async$self.right;
42368 $async$goto = right instanceof A.MergedExtension ? 7 : 9;
42369 break;
42370 case 7:
42371 // then
42372 $async$goto = 10;
42373 return A._IterationMarker_yieldStar(right.unmerge$0());
42374 case 10:
42375 // after yield
42376 // goto join
42377 $async$goto = 8;
42378 break;
42379 case 9:
42380 // else
42381 $async$goto = 11;
42382 return right;
42383 case 11:
42384 // after yield
42385 case 8:
42386 // join
42387 // implicit return
42388 return A._IterationMarker_endOfIteration();
42389 case 1:
42390 // rethrow
42391 return A._IterationMarker_uncaughtError($async$currentError);
42392 }
42393 };
42394 }, type$.Extension);
42395 }
42396 };
42397 A.ExtendMode.prototype = {
42398 toString$0(_) {
42399 return this.name;
42400 }
42401 };
42402 A.globalFunctions_closure.prototype = {
42403 call$1($arguments) {
42404 var t1 = J.getInterceptor$asx($arguments);
42405 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
42406 },
42407 $signature: 4
42408 };
42409 A.global_closure.prototype = {
42410 call$1($arguments) {
42411 return A._rgb("rgb", $arguments);
42412 },
42413 $signature: 4
42414 };
42415 A.global_closure0.prototype = {
42416 call$1($arguments) {
42417 return A._rgb("rgb", $arguments);
42418 },
42419 $signature: 4
42420 };
42421 A.global_closure1.prototype = {
42422 call$1($arguments) {
42423 return A._rgbTwoArg("rgb", $arguments);
42424 },
42425 $signature: 4
42426 };
42427 A.global_closure2.prototype = {
42428 call$1($arguments) {
42429 var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42430 return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
42431 },
42432 $signature: 4
42433 };
42434 A.global_closure3.prototype = {
42435 call$1($arguments) {
42436 return A._rgb("rgba", $arguments);
42437 },
42438 $signature: 4
42439 };
42440 A.global_closure4.prototype = {
42441 call$1($arguments) {
42442 return A._rgb("rgba", $arguments);
42443 },
42444 $signature: 4
42445 };
42446 A.global_closure5.prototype = {
42447 call$1($arguments) {
42448 return A._rgbTwoArg("rgba", $arguments);
42449 },
42450 $signature: 4
42451 };
42452 A.global_closure6.prototype = {
42453 call$1($arguments) {
42454 var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42455 return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
42456 },
42457 $signature: 4
42458 };
42459 A.global_closure7.prototype = {
42460 call$1($arguments) {
42461 var color, t2,
42462 t1 = J.getInterceptor$asx($arguments),
42463 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42464 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42465 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42466 throw A.wrapException(string$.Only_oa);
42467 return A._functionString("invert", t1.take$1($arguments, 1));
42468 }
42469 color = t1.$index($arguments, 0).assertColor$1("color");
42470 t1 = color.get$red(color);
42471 t2 = color.get$green(color);
42472 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42473 },
42474 $signature: 4
42475 };
42476 A.global_closure8.prototype = {
42477 call$1($arguments) {
42478 return A._hsl("hsl", $arguments);
42479 },
42480 $signature: 4
42481 };
42482 A.global_closure9.prototype = {
42483 call$1($arguments) {
42484 return A._hsl("hsl", $arguments);
42485 },
42486 $signature: 4
42487 };
42488 A.global_closure10.prototype = {
42489 call$1($arguments) {
42490 var t1 = J.getInterceptor$asx($arguments);
42491 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42492 return A._functionString("hsl", $arguments);
42493 else
42494 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42495 },
42496 $signature: 14
42497 };
42498 A.global_closure11.prototype = {
42499 call$1($arguments) {
42500 var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42501 return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
42502 },
42503 $signature: 4
42504 };
42505 A.global_closure12.prototype = {
42506 call$1($arguments) {
42507 return A._hsl("hsla", $arguments);
42508 },
42509 $signature: 4
42510 };
42511 A.global_closure13.prototype = {
42512 call$1($arguments) {
42513 return A._hsl("hsla", $arguments);
42514 },
42515 $signature: 4
42516 };
42517 A.global_closure14.prototype = {
42518 call$1($arguments) {
42519 var t1 = J.getInterceptor$asx($arguments);
42520 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42521 return A._functionString("hsla", $arguments);
42522 else
42523 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42524 },
42525 $signature: 14
42526 };
42527 A.global_closure15.prototype = {
42528 call$1($arguments) {
42529 var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42530 return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
42531 },
42532 $signature: 4
42533 };
42534 A.global_closure16.prototype = {
42535 call$1($arguments) {
42536 var t1 = J.getInterceptor$asx($arguments);
42537 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42538 return A._functionString("grayscale", $arguments);
42539 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42540 },
42541 $signature: 4
42542 };
42543 A.global_closure17.prototype = {
42544 call$1($arguments) {
42545 var t1 = J.getInterceptor$asx($arguments),
42546 color = t1.$index($arguments, 0).assertColor$1("color"),
42547 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
42548 A._checkAngle(degrees, null);
42549 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number$_value);
42550 },
42551 $signature: 24
42552 };
42553 A.global_closure18.prototype = {
42554 call$1($arguments) {
42555 var t1 = J.getInterceptor$asx($arguments),
42556 color = t1.$index($arguments, 0).assertColor$1("color"),
42557 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42558 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42559 },
42560 $signature: 24
42561 };
42562 A.global_closure19.prototype = {
42563 call$1($arguments) {
42564 var t1 = J.getInterceptor$asx($arguments),
42565 color = t1.$index($arguments, 0).assertColor$1("color"),
42566 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42567 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42568 },
42569 $signature: 24
42570 };
42571 A.global_closure20.prototype = {
42572 call$1($arguments) {
42573 return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
42574 },
42575 $signature: 14
42576 };
42577 A.global_closure21.prototype = {
42578 call$1($arguments) {
42579 var t1 = J.getInterceptor$asx($arguments),
42580 color = t1.$index($arguments, 0).assertColor$1("color"),
42581 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42582 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42583 },
42584 $signature: 24
42585 };
42586 A.global_closure22.prototype = {
42587 call$1($arguments) {
42588 var t1 = J.getInterceptor$asx($arguments),
42589 color = t1.$index($arguments, 0).assertColor$1("color"),
42590 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42591 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42592 },
42593 $signature: 24
42594 };
42595 A.global_closure23.prototype = {
42596 call$1($arguments) {
42597 var color,
42598 argument = J.$index$asx($arguments, 0);
42599 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
42600 return A._functionString("alpha", $arguments);
42601 color = argument.assertColor$1("color");
42602 return new A.UnitlessSassNumber(color._alpha, null);
42603 },
42604 $signature: 4
42605 };
42606 A.global_closure24.prototype = {
42607 call$1($arguments) {
42608 var t1,
42609 argList = J.$index$asx($arguments, 0).get$asList();
42610 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
42611 return A._functionString("alpha", $arguments);
42612 t1 = argList.length;
42613 if (t1 === 0)
42614 throw A.wrapException(A.SassScriptException$("Missing argument $color."));
42615 else
42616 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed."));
42617 },
42618 $signature: 14
42619 };
42620 A.global__closure.prototype = {
42621 call$1(argument) {
42622 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42623 },
42624 $signature: 62
42625 };
42626 A.global_closure25.prototype = {
42627 call$1($arguments) {
42628 var color,
42629 t1 = J.getInterceptor$asx($arguments);
42630 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42631 return A._functionString("opacity", $arguments);
42632 color = t1.$index($arguments, 0).assertColor$1("color");
42633 return new A.UnitlessSassNumber(color._alpha, null);
42634 },
42635 $signature: 4
42636 };
42637 A.module_closure.prototype = {
42638 call$1($arguments) {
42639 var result, t2, color,
42640 t1 = J.getInterceptor$asx($arguments),
42641 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42642 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42643 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42644 throw A.wrapException(string$.Only_oa);
42645 result = A._functionString("invert", t1.take$1($arguments, 1));
42646 t1 = A.S(t1.$index($arguments, 0));
42647 t2 = result.toString$0(0);
42648 A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
42649 return result;
42650 }
42651 color = t1.$index($arguments, 0).assertColor$1("color");
42652 t1 = color.get$red(color);
42653 t2 = color.get$green(color);
42654 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42655 },
42656 $signature: 4
42657 };
42658 A.module_closure0.prototype = {
42659 call$1($arguments) {
42660 var result, t2,
42661 t1 = J.getInterceptor$asx($arguments);
42662 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42663 result = A._functionString("grayscale", t1.take$1($arguments, 1));
42664 t1 = A.S(t1.$index($arguments, 0));
42665 t2 = result.toString$0(0);
42666 A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
42667 return result;
42668 }
42669 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42670 },
42671 $signature: 4
42672 };
42673 A.module_closure1.prototype = {
42674 call$1($arguments) {
42675 return A._hwb($arguments);
42676 },
42677 $signature: 4
42678 };
42679 A.module_closure2.prototype = {
42680 call$1($arguments) {
42681 var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
42682 if (parsed instanceof A.SassString)
42683 throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
42684 else
42685 return A._hwb(type$.List_Value._as(parsed));
42686 },
42687 $signature: 4
42688 };
42689 A.module_closure3.prototype = {
42690 call$1($arguments) {
42691 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42692 t1 = t1.get$whiteness(t1);
42693 return new A.SingleUnitSassNumber("%", t1, null);
42694 },
42695 $signature: 9
42696 };
42697 A.module_closure4.prototype = {
42698 call$1($arguments) {
42699 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42700 t1 = t1.get$blackness(t1);
42701 return new A.SingleUnitSassNumber("%", t1, null);
42702 },
42703 $signature: 9
42704 };
42705 A.module_closure5.prototype = {
42706 call$1($arguments) {
42707 var result, t1, color,
42708 argument = J.$index$asx($arguments, 0);
42709 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
42710 result = A._functionString("alpha", $arguments);
42711 t1 = result.toString$0(0);
42712 A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
42713 return result;
42714 }
42715 color = argument.assertColor$1("color");
42716 return new A.UnitlessSassNumber(color._alpha, null);
42717 },
42718 $signature: 4
42719 };
42720 A.module_closure6.prototype = {
42721 call$1($arguments) {
42722 var result,
42723 t1 = J.getInterceptor$asx($arguments);
42724 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
42725 result = A._functionString("alpha", $arguments);
42726 t1 = result.toString$0(0);
42727 A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
42728 return result;
42729 }
42730 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
42731 },
42732 $signature: 14
42733 };
42734 A.module__closure.prototype = {
42735 call$1(argument) {
42736 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42737 },
42738 $signature: 62
42739 };
42740 A.module_closure7.prototype = {
42741 call$1($arguments) {
42742 var result, t2, color,
42743 t1 = J.getInterceptor$asx($arguments);
42744 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42745 result = A._functionString("opacity", $arguments);
42746 t1 = A.S(t1.$index($arguments, 0));
42747 t2 = result.toString$0(0);
42748 A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
42749 return result;
42750 }
42751 color = t1.$index($arguments, 0).assertColor$1("color");
42752 return new A.UnitlessSassNumber(color._alpha, null);
42753 },
42754 $signature: 4
42755 };
42756 A._red_closure.prototype = {
42757 call$1($arguments) {
42758 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42759 t1 = t1.get$red(t1);
42760 return new A.UnitlessSassNumber(t1, null);
42761 },
42762 $signature: 9
42763 };
42764 A._green_closure.prototype = {
42765 call$1($arguments) {
42766 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42767 t1 = t1.get$green(t1);
42768 return new A.UnitlessSassNumber(t1, null);
42769 },
42770 $signature: 9
42771 };
42772 A._blue_closure.prototype = {
42773 call$1($arguments) {
42774 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42775 t1 = t1.get$blue(t1);
42776 return new A.UnitlessSassNumber(t1, null);
42777 },
42778 $signature: 9
42779 };
42780 A._mix_closure.prototype = {
42781 call$1($arguments) {
42782 var t1 = J.getInterceptor$asx($arguments);
42783 return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
42784 },
42785 $signature: 24
42786 };
42787 A._hue_closure.prototype = {
42788 call$1($arguments) {
42789 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42790 t1 = t1.get$hue(t1);
42791 return new A.SingleUnitSassNumber("deg", t1, null);
42792 },
42793 $signature: 9
42794 };
42795 A._saturation_closure.prototype = {
42796 call$1($arguments) {
42797 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42798 t1 = t1.get$saturation(t1);
42799 return new A.SingleUnitSassNumber("%", t1, null);
42800 },
42801 $signature: 9
42802 };
42803 A._lightness_closure.prototype = {
42804 call$1($arguments) {
42805 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42806 t1 = t1.get$lightness(t1);
42807 return new A.SingleUnitSassNumber("%", t1, null);
42808 },
42809 $signature: 9
42810 };
42811 A._complement_closure.prototype = {
42812 call$1($arguments) {
42813 var color = J.$index$asx($arguments, 0).assertColor$1("color");
42814 return color.changeHsl$1$hue(color.get$hue(color) + 180);
42815 },
42816 $signature: 24
42817 };
42818 A._adjust_closure.prototype = {
42819 call$1($arguments) {
42820 return A._updateComponents($arguments, true, false, false);
42821 },
42822 $signature: 24
42823 };
42824 A._scale_closure.prototype = {
42825 call$1($arguments) {
42826 return A._updateComponents($arguments, false, false, true);
42827 },
42828 $signature: 24
42829 };
42830 A._change_closure.prototype = {
42831 call$1($arguments) {
42832 return A._updateComponents($arguments, false, true, false);
42833 },
42834 $signature: 24
42835 };
42836 A._ieHexStr_closure.prototype = {
42837 call$1($arguments) {
42838 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
42839 t1 = new A._ieHexStr_closure_hexString();
42840 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);
42841 },
42842 $signature: 14
42843 };
42844 A._ieHexStr_closure_hexString.prototype = {
42845 call$1(component) {
42846 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
42847 },
42848 $signature: 196
42849 };
42850 A._updateComponents_getParam.prototype = {
42851 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
42852 var t2,
42853 t1 = this.keywords.remove$1(0, $name),
42854 number = t1 == null ? null : t1.assertNumber$1($name);
42855 if (number == null)
42856 return null;
42857 t1 = this.scale;
42858 t2 = !t1;
42859 if (t2 && checkPercent)
42860 A._checkPercent(number, $name);
42861 if (!t2 || assertPercent)
42862 number.assertUnit$2("%", $name);
42863 if (t1)
42864 max = 100;
42865 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
42866 },
42867 call$2($name, max) {
42868 return this.call$4$assertPercent$checkPercent($name, max, false, false);
42869 },
42870 call$3$checkPercent($name, max, checkPercent) {
42871 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
42872 },
42873 call$3$assertPercent($name, max, assertPercent) {
42874 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
42875 },
42876 $signature: 195
42877 };
42878 A._updateComponents_closure.prototype = {
42879 call$1($name) {
42880 return "$" + $name;
42881 },
42882 $signature: 5
42883 };
42884 A._updateComponents_updateValue.prototype = {
42885 call$3(current, param, max) {
42886 var t1;
42887 if (param == null)
42888 return current;
42889 if (this.change)
42890 return param;
42891 if (this.adjust)
42892 return B.JSNumber_methods.clamp$2(current + param, 0, max);
42893 t1 = param > 0 ? max - current : current;
42894 return current + t1 * (param / 100);
42895 },
42896 $signature: 194
42897 };
42898 A._updateComponents_updateRgb.prototype = {
42899 call$2(current, param) {
42900 return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
42901 },
42902 $signature: 188
42903 };
42904 A._functionString_closure.prototype = {
42905 call$1(argument) {
42906 return A.serializeValue(argument, false, true);
42907 },
42908 $signature: 261
42909 };
42910 A._removedColorFunction_closure.prototype = {
42911 call$1($arguments) {
42912 var t1 = this.name,
42913 t2 = J.getInterceptor$asx($arguments),
42914 t3 = A.S(t2.$index($arguments, 0)),
42915 t4 = this.negative ? "-" : "";
42916 throw A.wrapException(A.SassScriptException$("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
42917 },
42918 $signature: 263
42919 };
42920 A._rgb_closure.prototype = {
42921 call$1(alpha) {
42922 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42923 },
42924 $signature: 140
42925 };
42926 A._hsl_closure.prototype = {
42927 call$1(alpha) {
42928 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42929 },
42930 $signature: 140
42931 };
42932 A._removeUnits_closure.prototype = {
42933 call$1(unit) {
42934 return " * 1" + unit;
42935 },
42936 $signature: 5
42937 };
42938 A._removeUnits_closure0.prototype = {
42939 call$1(unit) {
42940 return " / 1" + unit;
42941 },
42942 $signature: 5
42943 };
42944 A._hwb_closure.prototype = {
42945 call$1(alpha) {
42946 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42947 },
42948 $signature: 140
42949 };
42950 A._parseChannels_closure.prototype = {
42951 call$1(value) {
42952 return value.get$isVar();
42953 },
42954 $signature: 62
42955 };
42956 A._length_closure0.prototype = {
42957 call$1($arguments) {
42958 var t1 = J.$index$asx($arguments, 0).get$asList().length;
42959 return new A.UnitlessSassNumber(t1, null);
42960 },
42961 $signature: 9
42962 };
42963 A._nth_closure.prototype = {
42964 call$1($arguments) {
42965 var t1 = J.getInterceptor$asx($arguments),
42966 list = t1.$index($arguments, 0),
42967 index = t1.$index($arguments, 1);
42968 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
42969 },
42970 $signature: 4
42971 };
42972 A._setNth_closure.prototype = {
42973 call$1($arguments) {
42974 var t1 = J.getInterceptor$asx($arguments),
42975 list = t1.$index($arguments, 0),
42976 index = t1.$index($arguments, 1),
42977 value = t1.$index($arguments, 2),
42978 t2 = list.get$asList(),
42979 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
42980 newList[list.sassIndexToListIndex$2(index, "n")] = value;
42981 return t1.$index($arguments, 0).withListContents$1(newList);
42982 },
42983 $signature: 21
42984 };
42985 A._join_closure.prototype = {
42986 call$1($arguments) {
42987 var separator, bracketed,
42988 t1 = J.getInterceptor$asx($arguments),
42989 list1 = t1.$index($arguments, 0),
42990 list2 = t1.$index($arguments, 1),
42991 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
42992 bracketedParam = t1.$index($arguments, 3);
42993 t1 = separatorParam._string$_text;
42994 if (t1 === "auto")
42995 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null)
42996 separator = list1.get$separator(list1);
42997 else
42998 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null ? list2.get$separator(list2) : B.ListSeparator_woc;
42999 else if (t1 === "space")
43000 separator = B.ListSeparator_woc;
43001 else if (t1 === "comma")
43002 separator = B.ListSeparator_kWM;
43003 else {
43004 if (t1 !== "slash")
43005 throw A.wrapException(A.SassScriptException$(string$.x24separ));
43006 separator = B.ListSeparator_1gm;
43007 }
43008 bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
43009 t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
43010 B.JSArray_methods.addAll$1(t1, list2.get$asList());
43011 return A.SassList$(t1, separator, bracketed);
43012 },
43013 $signature: 21
43014 };
43015 A._append_closure0.prototype = {
43016 call$1($arguments) {
43017 var separator,
43018 t1 = J.getInterceptor$asx($arguments),
43019 list = t1.$index($arguments, 0),
43020 value = t1.$index($arguments, 1);
43021 t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
43022 if (t1 === "auto")
43023 separator = list.get$separator(list) === B.ListSeparator_undecided_null ? B.ListSeparator_woc : list.get$separator(list);
43024 else if (t1 === "space")
43025 separator = B.ListSeparator_woc;
43026 else if (t1 === "comma")
43027 separator = B.ListSeparator_kWM;
43028 else {
43029 if (t1 !== "slash")
43030 throw A.wrapException(A.SassScriptException$(string$.x24separ));
43031 separator = B.ListSeparator_1gm;
43032 }
43033 t1 = A.List_List$of(list.get$asList(), true, type$.Value);
43034 t1.push(value);
43035 return list.withListContents$2$separator(t1, separator);
43036 },
43037 $signature: 21
43038 };
43039 A._zip_closure.prototype = {
43040 call$1($arguments) {
43041 var results, result, _box_0 = {},
43042 t1 = J.$index$asx($arguments, 0).get$asList(),
43043 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
43044 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
43045 if (lists.length === 0)
43046 return B.SassList_yfz;
43047 _box_0.i = 0;
43048 results = A._setArrayType([], type$.JSArray_SassList);
43049 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));) {
43050 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
43051 result.fixed$length = Array;
43052 result.immutable$list = Array;
43053 results.push(new A.SassList(result, B.ListSeparator_woc, false));
43054 ++_box_0.i;
43055 }
43056 return A.SassList$(results, B.ListSeparator_kWM, false);
43057 },
43058 $signature: 21
43059 };
43060 A._zip__closure.prototype = {
43061 call$1(list) {
43062 return list.get$asList();
43063 },
43064 $signature: 282
43065 };
43066 A._zip__closure0.prototype = {
43067 call$1(list) {
43068 return this._box_0.i !== J.get$length$asx(list);
43069 },
43070 $signature: 285
43071 };
43072 A._zip__closure1.prototype = {
43073 call$1(list) {
43074 return J.$index$asx(list, this._box_0.i);
43075 },
43076 $signature: 4
43077 };
43078 A._index_closure0.prototype = {
43079 call$1($arguments) {
43080 var t1 = J.getInterceptor$asx($arguments),
43081 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
43082 if (index === -1)
43083 t1 = B.C__SassNull;
43084 else
43085 t1 = new A.UnitlessSassNumber(index + 1, null);
43086 return t1;
43087 },
43088 $signature: 4
43089 };
43090 A._separator_closure.prototype = {
43091 call$1($arguments) {
43092 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
43093 case B.ListSeparator_kWM:
43094 return new A.SassString("comma", false);
43095 case B.ListSeparator_1gm:
43096 return new A.SassString("slash", false);
43097 default:
43098 return new A.SassString("space", false);
43099 }
43100 },
43101 $signature: 14
43102 };
43103 A._isBracketed_closure.prototype = {
43104 call$1($arguments) {
43105 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
43106 },
43107 $signature: 17
43108 };
43109 A._slash_closure.prototype = {
43110 call$1($arguments) {
43111 var list = J.$index$asx($arguments, 0).get$asList();
43112 if (list.length < 2)
43113 throw A.wrapException(A.SassScriptException$("At least two elements are required."));
43114 return A.SassList$(list, B.ListSeparator_1gm, false);
43115 },
43116 $signature: 21
43117 };
43118 A._get_closure.prototype = {
43119 call$1($arguments) {
43120 var t3, t4, value,
43121 t1 = J.getInterceptor$asx($arguments),
43122 map = t1.$index($arguments, 0).assertMap$1("map"),
43123 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43124 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43125 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) {
43126 t4 = t1.__internal$_current;
43127 if (t4 == null)
43128 t4 = t3._as(t4);
43129 value = map._map$_contents.$index(0, t4);
43130 if (!(value instanceof A.SassMap))
43131 return B.C__SassNull;
43132 }
43133 t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
43134 return t1 == null ? B.C__SassNull : t1;
43135 },
43136 $signature: 4
43137 };
43138 A._set_closure.prototype = {
43139 call$1($arguments) {
43140 var t1 = J.getInterceptor$asx($arguments);
43141 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);
43142 },
43143 $signature: 4
43144 };
43145 A._set__closure0.prototype = {
43146 call$1(_) {
43147 return J.$index$asx(this.$arguments, 2);
43148 },
43149 $signature: 36
43150 };
43151 A._set_closure0.prototype = {
43152 call$1($arguments) {
43153 var t1 = J.getInterceptor$asx($arguments),
43154 map = t1.$index($arguments, 0).assertMap$1("map"),
43155 args = t1.$index($arguments, 1).get$asList();
43156 t1 = args.length;
43157 if (t1 === 0)
43158 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43159 else if (t1 === 1)
43160 throw A.wrapException(A.SassScriptException$("Expected $args to contain a value."));
43161 return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
43162 },
43163 $signature: 4
43164 };
43165 A._set__closure.prototype = {
43166 call$1(_) {
43167 return B.JSArray_methods.get$last(this.args);
43168 },
43169 $signature: 36
43170 };
43171 A._merge_closure.prototype = {
43172 call$1($arguments) {
43173 var t2, t3, t4,
43174 t1 = J.getInterceptor$asx($arguments),
43175 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43176 map2 = t1.$index($arguments, 1).assertMap$1("map2");
43177 t1 = type$.Value;
43178 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43179 for (t3 = map1._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43180 t4 = t3.get$current(t3);
43181 t2.$indexSet(0, t4.key, t4.value);
43182 }
43183 for (t3 = map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43184 t4 = t3.get$current(t3);
43185 t2.$indexSet(0, t4.key, t4.value);
43186 }
43187 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43188 },
43189 $signature: 37
43190 };
43191 A._merge_closure0.prototype = {
43192 call$1($arguments) {
43193 var map2,
43194 t1 = J.getInterceptor$asx($arguments),
43195 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43196 args = t1.$index($arguments, 1).get$asList();
43197 t1 = args.length;
43198 if (t1 === 0)
43199 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43200 else if (t1 === 1)
43201 throw A.wrapException(A.SassScriptException$("Expected $args to contain a map."));
43202 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
43203 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);
43204 },
43205 $signature: 4
43206 };
43207 A._merge__closure.prototype = {
43208 call$1(oldValue) {
43209 var t1, t2, t3, t4,
43210 nestedMap = oldValue.tryMap$0();
43211 if (nestedMap == null)
43212 return this.map2;
43213 t1 = type$.Value;
43214 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43215 for (t3 = nestedMap._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43216 t4 = t3.get$current(t3);
43217 t2.$indexSet(0, t4.key, t4.value);
43218 }
43219 for (t3 = this.map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43220 t4 = t3.get$current(t3);
43221 t2.$indexSet(0, t4.key, t4.value);
43222 }
43223 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43224 },
43225 $signature: 291
43226 };
43227 A._deepMerge_closure.prototype = {
43228 call$1($arguments) {
43229 var t1 = J.getInterceptor$asx($arguments);
43230 return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
43231 },
43232 $signature: 37
43233 };
43234 A._deepRemove_closure.prototype = {
43235 call$1($arguments) {
43236 var t1 = J.getInterceptor$asx($arguments),
43237 map = t1.$index($arguments, 0).assertMap$1("map"),
43238 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43239 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43240 return A._modify(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), new A._deepRemove__closure(t2), false);
43241 },
43242 $signature: 4
43243 };
43244 A._deepRemove__closure.prototype = {
43245 call$1(value) {
43246 var t1, t2,
43247 nestedMap = value.tryMap$0();
43248 if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
43249 t1 = type$.Value;
43250 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
43251 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
43252 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43253 }
43254 return value;
43255 },
43256 $signature: 36
43257 };
43258 A._remove_closure.prototype = {
43259 call$1($arguments) {
43260 return J.$index$asx($arguments, 0).assertMap$1("map");
43261 },
43262 $signature: 37
43263 };
43264 A._remove_closure0.prototype = {
43265 call$1($arguments) {
43266 var mutableMap, t3, _i,
43267 t1 = J.getInterceptor$asx($arguments),
43268 map = t1.$index($arguments, 0).assertMap$1("map"),
43269 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43270 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43271 t1 = type$.Value;
43272 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
43273 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43274 mutableMap.remove$1(0, t2[_i]);
43275 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43276 },
43277 $signature: 37
43278 };
43279 A._keys_closure.prototype = {
43280 call$1($arguments) {
43281 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43282 return A.SassList$(t1.get$keys(t1), B.ListSeparator_kWM, false);
43283 },
43284 $signature: 21
43285 };
43286 A._values_closure.prototype = {
43287 call$1($arguments) {
43288 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43289 return A.SassList$(t1.get$values(t1), B.ListSeparator_kWM, false);
43290 },
43291 $signature: 21
43292 };
43293 A._hasKey_closure.prototype = {
43294 call$1($arguments) {
43295 var t3, t4, value,
43296 t1 = J.getInterceptor$asx($arguments),
43297 map = t1.$index($arguments, 0).assertMap$1("map"),
43298 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43299 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43300 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) {
43301 t4 = t1.__internal$_current;
43302 if (t4 == null)
43303 t4 = t3._as(t4);
43304 value = map._map$_contents.$index(0, t4);
43305 if (!(value instanceof A.SassMap))
43306 return B.SassBoolean_false;
43307 }
43308 return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
43309 },
43310 $signature: 17
43311 };
43312 A._modify__modifyNestedMap.prototype = {
43313 call$1(map) {
43314 var nestedMap, _this = this,
43315 t1 = type$.Value,
43316 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
43317 t2 = _this.keyIterator,
43318 key = t2.get$current(t2);
43319 if (!t2.moveNext$0()) {
43320 t2 = mutableMap.$index(0, key);
43321 if (t2 == null)
43322 t2 = B.C__SassNull;
43323 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
43324 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43325 }
43326 t2 = mutableMap.$index(0, key);
43327 nestedMap = t2 == null ? null : t2.tryMap$0();
43328 t2 = nestedMap == null;
43329 if (t2 && !_this.addNesting)
43330 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43331 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
43332 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43333 },
43334 $signature: 292
43335 };
43336 A._deepMergeImpl_closure.prototype = {
43337 call$2(key, value) {
43338 var valueMap, merged,
43339 t1 = this.result,
43340 t2 = t1.$index(0, key),
43341 resultMap = t2 == null ? null : t2.tryMap$0();
43342 if (resultMap == null)
43343 t1.$indexSet(0, key, value);
43344 else {
43345 valueMap = value.tryMap$0();
43346 if (valueMap != null) {
43347 merged = A._deepMergeImpl(resultMap, valueMap);
43348 if (merged === resultMap)
43349 return;
43350 t1.$indexSet(0, key, merged);
43351 } else
43352 t1.$indexSet(0, key, value);
43353 }
43354 },
43355 $signature: 52
43356 };
43357 A._ceil_closure.prototype = {
43358 call$1(value) {
43359 return B.JSNumber_methods.ceil$0(value);
43360 },
43361 $signature: 42
43362 };
43363 A._clamp_closure.prototype = {
43364 call$1($arguments) {
43365 var t1 = J.getInterceptor$asx($arguments),
43366 min = t1.$index($arguments, 0).assertNumber$1("min"),
43367 number = t1.$index($arguments, 1).assertNumber$1("number"),
43368 max = t1.$index($arguments, 2).assertNumber$1("max");
43369 number.convertValueToMatch$3(min, "number", "min");
43370 max.convertValueToMatch$3(min, "max", "min");
43371 if (min.greaterThanOrEquals$1(max).value)
43372 return min;
43373 if (min.greaterThanOrEquals$1(number).value)
43374 return min;
43375 if (number.greaterThanOrEquals$1(max).value)
43376 return max;
43377 return number;
43378 },
43379 $signature: 9
43380 };
43381 A._floor_closure.prototype = {
43382 call$1(value) {
43383 return B.JSNumber_methods.floor$0(value);
43384 },
43385 $signature: 42
43386 };
43387 A._max_closure.prototype = {
43388 call$1($arguments) {
43389 var t1, t2, max, _i, number;
43390 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) {
43391 number = t1[_i].assertNumber$0();
43392 if (max == null || max.lessThan$1(number).value)
43393 max = number;
43394 }
43395 if (max != null)
43396 return max;
43397 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43398 },
43399 $signature: 9
43400 };
43401 A._min_closure.prototype = {
43402 call$1($arguments) {
43403 var t1, t2, min, _i, number;
43404 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) {
43405 number = t1[_i].assertNumber$0();
43406 if (min == null || min.greaterThan$1(number).value)
43407 min = number;
43408 }
43409 if (min != null)
43410 return min;
43411 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43412 },
43413 $signature: 9
43414 };
43415 A._abs_closure.prototype = {
43416 call$1(value) {
43417 return Math.abs(value);
43418 },
43419 $signature: 73
43420 };
43421 A._hypot_closure.prototype = {
43422 call$1($arguments) {
43423 var subtotal, i, i0, t3, t4,
43424 t1 = J.$index$asx($arguments, 0).get$asList(),
43425 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
43426 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
43427 t1 = numbers.length;
43428 if (t1 === 0)
43429 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43430 for (subtotal = 0, i = 0; i < t1; i = i0) {
43431 i0 = i + 1;
43432 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
43433 }
43434 t1 = Math.sqrt(subtotal);
43435 t2 = numbers[0];
43436 t3 = J.getInterceptor$x(t2);
43437 t4 = t3.get$numeratorUnits(t2);
43438 return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
43439 },
43440 $signature: 9
43441 };
43442 A._hypot__closure.prototype = {
43443 call$1(argument) {
43444 return argument.assertNumber$0();
43445 },
43446 $signature: 302
43447 };
43448 A._log_closure.prototype = {
43449 call$1($arguments) {
43450 var numberValue, base, baseValue, t2,
43451 _s18_ = " to have no units.",
43452 t1 = J.getInterceptor$asx($arguments),
43453 number = t1.$index($arguments, 0).assertNumber$1("number");
43454 if (number.get$hasUnits())
43455 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_));
43456 numberValue = A._fuzzyRoundIfZero(number._number$_value);
43457 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull)) {
43458 t1 = Math.log(numberValue);
43459 return new A.UnitlessSassNumber(t1, null);
43460 }
43461 base = t1.$index($arguments, 1).assertNumber$1("base");
43462 if (base.get$hasUnits())
43463 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43464 t1 = base._number$_value;
43465 baseValue = Math.abs(t1 - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43466 t1 = Math.log(numberValue);
43467 t2 = Math.log(baseValue);
43468 return new A.UnitlessSassNumber(t1 / t2, null);
43469 },
43470 $signature: 9
43471 };
43472 A._pow_closure.prototype = {
43473 call$1($arguments) {
43474 var baseValue, exponentValue, t2, intExponent, t3,
43475 _s18_ = " to have no units.",
43476 _null = null,
43477 t1 = J.getInterceptor$asx($arguments),
43478 base = t1.$index($arguments, 0).assertNumber$1("base"),
43479 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
43480 if (base.get$hasUnits())
43481 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43482 else if (exponent.get$hasUnits())
43483 throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_));
43484 baseValue = A._fuzzyRoundIfZero(base._number$_value);
43485 exponentValue = A._fuzzyRoundIfZero(exponent._number$_value);
43486 t1 = $.$get$epsilon();
43487 if (Math.abs(Math.abs(baseValue) - 1) < t1)
43488 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
43489 else
43490 t2 = false;
43491 if (t2)
43492 return new A.UnitlessSassNumber(0 / 0, _null);
43493 else {
43494 t2 = Math.abs(baseValue - 0);
43495 if (t2 < t1) {
43496 if (isFinite(exponentValue)) {
43497 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43498 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43499 exponentValue = A.fuzzyRound(exponentValue);
43500 }
43501 } else {
43502 if (isFinite(baseValue))
43503 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt(exponentValue);
43504 else
43505 t3 = false;
43506 if (t3)
43507 exponentValue = A.fuzzyRound(exponentValue);
43508 else {
43509 if (baseValue == 1 / 0 || baseValue == -1 / 0)
43510 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
43511 else
43512 t1 = false;
43513 if (t1) {
43514 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43515 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43516 exponentValue = A.fuzzyRound(exponentValue);
43517 }
43518 }
43519 }
43520 }
43521 t1 = Math.pow(baseValue, exponentValue);
43522 return new A.UnitlessSassNumber(t1, _null);
43523 },
43524 $signature: 9
43525 };
43526 A._sqrt_closure.prototype = {
43527 call$1($arguments) {
43528 var t1,
43529 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43530 if (number.get$hasUnits())
43531 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43532 t1 = Math.sqrt(A._fuzzyRoundIfZero(number._number$_value));
43533 return new A.UnitlessSassNumber(t1, null);
43534 },
43535 $signature: 9
43536 };
43537 A._acos_closure.prototype = {
43538 call$1($arguments) {
43539 var numberValue,
43540 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43541 if (number.get$hasUnits())
43542 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43543 numberValue = number._number$_value;
43544 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon())
43545 numberValue = A.fuzzyRound(numberValue);
43546 return A.SassNumber_SassNumber$withUnits(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43547 },
43548 $signature: 9
43549 };
43550 A._asin_closure.prototype = {
43551 call$1($arguments) {
43552 var t1, numberValue,
43553 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43554 if (number.get$hasUnits())
43555 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43556 t1 = number._number$_value;
43557 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43558 return A.SassNumber_SassNumber$withUnits(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43559 },
43560 $signature: 9
43561 };
43562 A._atan_closure.prototype = {
43563 call$1($arguments) {
43564 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43565 if (number.get$hasUnits())
43566 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43567 return A.SassNumber_SassNumber$withUnits(Math.atan(A._fuzzyRoundIfZero(number._number$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43568 },
43569 $signature: 9
43570 };
43571 A._atan2_closure.prototype = {
43572 call$1($arguments) {
43573 var t1 = J.getInterceptor$asx($arguments),
43574 y = t1.$index($arguments, 0).assertNumber$1("y"),
43575 xValue = A._fuzzyRoundIfZero(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
43576 return A.SassNumber_SassNumber$withUnits(Math.atan2(A._fuzzyRoundIfZero(y._number$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43577 },
43578 $signature: 9
43579 };
43580 A._cos_closure.prototype = {
43581 call$1($arguments) {
43582 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
43583 return new A.UnitlessSassNumber(t1, null);
43584 },
43585 $signature: 9
43586 };
43587 A._sin_closure.prototype = {
43588 call$1($arguments) {
43589 var t1 = Math.sin(A._fuzzyRoundIfZero(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
43590 return new A.UnitlessSassNumber(t1, null);
43591 },
43592 $signature: 9
43593 };
43594 A._tan_closure.prototype = {
43595 call$1($arguments) {
43596 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
43597 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
43598 t2 = $.$get$epsilon();
43599 if (Math.abs(t1 - 0) < t2)
43600 return new A.UnitlessSassNumber(1 / 0, null);
43601 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
43602 return new A.UnitlessSassNumber(-1 / 0, null);
43603 else {
43604 t1 = Math.tan(A._fuzzyRoundIfZero(value));
43605 return new A.UnitlessSassNumber(t1, null);
43606 }
43607 },
43608 $signature: 9
43609 };
43610 A._compatible_closure.prototype = {
43611 call$1($arguments) {
43612 var t1 = J.getInterceptor$asx($arguments);
43613 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
43614 },
43615 $signature: 17
43616 };
43617 A._isUnitless_closure.prototype = {
43618 call$1($arguments) {
43619 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
43620 },
43621 $signature: 17
43622 };
43623 A._unit_closure.prototype = {
43624 call$1($arguments) {
43625 return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
43626 },
43627 $signature: 14
43628 };
43629 A._percentage_closure.prototype = {
43630 call$1($arguments) {
43631 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43632 number.assertNoUnits$1("number");
43633 return new A.SingleUnitSassNumber("%", number._number$_value * 100, null);
43634 },
43635 $signature: 9
43636 };
43637 A._randomFunction_closure.prototype = {
43638 call$1($arguments) {
43639 var limit,
43640 t1 = J.getInterceptor$asx($arguments);
43641 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull)) {
43642 t1 = $.$get$_random0().nextDouble$0();
43643 return new A.UnitlessSassNumber(t1, null);
43644 }
43645 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
43646 if (limit < 1)
43647 throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit + "."));
43648 t1 = $.$get$_random0().nextInt$1(limit);
43649 return new A.UnitlessSassNumber(t1 + 1, null);
43650 },
43651 $signature: 9
43652 };
43653 A._div_closure.prototype = {
43654 call$1($arguments) {
43655 var t1 = J.getInterceptor$asx($arguments),
43656 number1 = t1.$index($arguments, 0),
43657 number2 = t1.$index($arguments, 1);
43658 if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
43659 A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
43660 return number1.dividedBy$1(number2);
43661 },
43662 $signature: 4
43663 };
43664 A._numberFunction_closure.prototype = {
43665 call$1($arguments) {
43666 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
43667 t1 = this.transform.call$1(number._number$_value),
43668 t2 = number.get$numeratorUnits(number);
43669 return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
43670 },
43671 $signature: 9
43672 };
43673 A.global_closure26.prototype = {
43674 call$1($arguments) {
43675 return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
43676 },
43677 $signature: 17
43678 };
43679 A.global_closure27.prototype = {
43680 call$1($arguments) {
43681 return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
43682 },
43683 $signature: 14
43684 };
43685 A.global_closure28.prototype = {
43686 call$1($arguments) {
43687 var value = J.$index$asx($arguments, 0);
43688 if (value instanceof A.SassArgumentList)
43689 return new A.SassString("arglist", false);
43690 if (value instanceof A.SassBoolean)
43691 return new A.SassString("bool", false);
43692 if (value instanceof A.SassColor)
43693 return new A.SassString("color", false);
43694 if (value instanceof A.SassList)
43695 return new A.SassString("list", false);
43696 if (value instanceof A.SassMap)
43697 return new A.SassString("map", false);
43698 if (value.$eq(0, B.C__SassNull))
43699 return new A.SassString("null", false);
43700 if (value instanceof A.SassNumber)
43701 return new A.SassString("number", false);
43702 if (value instanceof A.SassFunction)
43703 return new A.SassString("function", false);
43704 if (value instanceof A.SassCalculation)
43705 return new A.SassString("calculation", false);
43706 return new A.SassString("string", false);
43707 },
43708 $signature: 14
43709 };
43710 A.global_closure29.prototype = {
43711 call$1($arguments) {
43712 var t1, t2, t3, t4,
43713 argumentList = J.$index$asx($arguments, 0);
43714 if (argumentList instanceof A.SassArgumentList) {
43715 t1 = type$.Value;
43716 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43717 for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43718 t4 = t3.get$current(t3);
43719 t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
43720 }
43721 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43722 } else
43723 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
43724 },
43725 $signature: 37
43726 };
43727 A.local_closure.prototype = {
43728 call$1($arguments) {
43729 return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
43730 },
43731 $signature: 14
43732 };
43733 A.local_closure0.prototype = {
43734 call$1($arguments) {
43735 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
43736 return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43737 },
43738 $signature: 21
43739 };
43740 A.local__closure.prototype = {
43741 call$1(argument) {
43742 if (argument instanceof A.Value)
43743 return argument;
43744 return new A.SassString(J.toString$0$(argument), false);
43745 },
43746 $signature: 303
43747 };
43748 A._nest_closure.prototype = {
43749 call$1($arguments) {
43750 var t1 = {},
43751 selectors = J.$index$asx($arguments, 0).get$asList();
43752 if (selectors.length === 0)
43753 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43754 t1.first = true;
43755 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();
43756 },
43757 $signature: 21
43758 };
43759 A._nest__closure.prototype = {
43760 call$1(selector) {
43761 var t1 = this._box_0,
43762 result = selector.assertSelector$1$allowParent(!t1.first);
43763 t1.first = false;
43764 return result;
43765 },
43766 $signature: 187
43767 };
43768 A._nest__closure0.prototype = {
43769 call$2($parent, child) {
43770 return child.resolveParentSelectors$1($parent);
43771 },
43772 $signature: 186
43773 };
43774 A._append_closure.prototype = {
43775 call$1($arguments) {
43776 var selectors = J.$index$asx($arguments, 0).get$asList();
43777 if (selectors.length === 0)
43778 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43779 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();
43780 },
43781 $signature: 21
43782 };
43783 A._append__closure.prototype = {
43784 call$1(selector) {
43785 return selector.assertSelector$0();
43786 },
43787 $signature: 187
43788 };
43789 A._append__closure0.prototype = {
43790 call$2($parent, child) {
43791 var t1 = child.components;
43792 return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
43793 },
43794 $signature: 186
43795 };
43796 A._append___closure.prototype = {
43797 call$1(complex) {
43798 var newCompound, t2,
43799 t1 = complex.components,
43800 compound = B.JSArray_methods.get$first(t1);
43801 if (compound instanceof A.CompoundSelector) {
43802 newCompound = A._prependParent(compound);
43803 if (newCompound == null)
43804 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43805 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent);
43806 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
43807 return A.ComplexSelector$(t2, false);
43808 } else
43809 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43810 },
43811 $signature: 126
43812 };
43813 A._extend_closure.prototype = {
43814 call$1($arguments) {
43815 var t1 = J.getInterceptor$asx($arguments),
43816 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43817 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
43818 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43819 },
43820 $signature: 21
43821 };
43822 A._replace_closure.prototype = {
43823 call$1($arguments) {
43824 var t1 = J.getInterceptor$asx($arguments),
43825 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43826 target = t1.$index($arguments, 1).assertSelector$1$name("original");
43827 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43828 },
43829 $signature: 21
43830 };
43831 A._unify_closure.prototype = {
43832 call$1($arguments) {
43833 var t1 = J.getInterceptor$asx($arguments),
43834 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
43835 return result == null ? B.C__SassNull : result.get$asSassList();
43836 },
43837 $signature: 4
43838 };
43839 A._isSuperselector_closure.prototype = {
43840 call$1($arguments) {
43841 var t1 = J.getInterceptor$asx($arguments),
43842 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
43843 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
43844 return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
43845 },
43846 $signature: 17
43847 };
43848 A._simpleSelectors_closure.prototype = {
43849 call$1($arguments) {
43850 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
43851 return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43852 },
43853 $signature: 21
43854 };
43855 A._simpleSelectors__closure.prototype = {
43856 call$1(simple) {
43857 return new A.SassString(A.serializeSelector(simple, true), false);
43858 },
43859 $signature: 310
43860 };
43861 A._parse_closure.prototype = {
43862 call$1($arguments) {
43863 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
43864 },
43865 $signature: 21
43866 };
43867 A._unquote_closure.prototype = {
43868 call$1($arguments) {
43869 var string = J.$index$asx($arguments, 0).assertString$1("string");
43870 if (!string._hasQuotes)
43871 return string;
43872 return new A.SassString(string._string$_text, false);
43873 },
43874 $signature: 14
43875 };
43876 A._quote_closure.prototype = {
43877 call$1($arguments) {
43878 var string = J.$index$asx($arguments, 0).assertString$1("string");
43879 if (string._hasQuotes)
43880 return string;
43881 return new A.SassString(string._string$_text, true);
43882 },
43883 $signature: 14
43884 };
43885 A._length_closure.prototype = {
43886 call$1($arguments) {
43887 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength();
43888 return new A.UnitlessSassNumber(t1, null);
43889 },
43890 $signature: 9
43891 };
43892 A._insert_closure.prototype = {
43893 call$1($arguments) {
43894 var indexInt, codeUnitIndex, _s5_ = "index",
43895 t1 = J.getInterceptor$asx($arguments),
43896 string = t1.$index($arguments, 0).assertString$1("string"),
43897 insert = t1.$index($arguments, 1).assertString$1("insert"),
43898 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
43899 index.assertNoUnits$1(_s5_);
43900 indexInt = index.assertInt$1(_s5_);
43901 if (indexInt < 0)
43902 indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
43903 t1 = string._string$_text;
43904 codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
43905 return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
43906 },
43907 $signature: 14
43908 };
43909 A._index_closure.prototype = {
43910 call$1($arguments) {
43911 var codepointIndex,
43912 t1 = J.getInterceptor$asx($arguments),
43913 t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
43914 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
43915 if (codeUnitIndex === -1)
43916 return B.C__SassNull;
43917 codepointIndex = A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex);
43918 return new A.UnitlessSassNumber(codepointIndex + 1, null);
43919 },
43920 $signature: 4
43921 };
43922 A._slice_closure.prototype = {
43923 call$1($arguments) {
43924 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
43925 _s8_ = "start-at",
43926 t1 = J.getInterceptor$asx($arguments),
43927 string = t1.$index($arguments, 0).assertString$1("string"),
43928 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
43929 end = t1.$index($arguments, 2).assertNumber$1("end-at");
43930 start.assertNoUnits$1(_s8_);
43931 end.assertNoUnits$1("end-at");
43932 lengthInCodepoints = string.get$_sassLength();
43933 endInt = end.assertInt$0();
43934 if (endInt === 0)
43935 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43936 startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
43937 endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
43938 if (endCodepoint === lengthInCodepoints)
43939 --endCodepoint;
43940 if (endCodepoint < startCodepoint)
43941 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43942 t1 = string._string$_text;
43943 return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
43944 },
43945 $signature: 14
43946 };
43947 A._toUpperCase_closure.prototype = {
43948 call$1($arguments) {
43949 var t1, t2, i, t3, t4,
43950 string = J.$index$asx($arguments, 0).assertString$1("string");
43951 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43952 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43953 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
43954 }
43955 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43956 },
43957 $signature: 14
43958 };
43959 A._toLowerCase_closure.prototype = {
43960 call$1($arguments) {
43961 var t1, t2, i, t3, t4,
43962 string = J.$index$asx($arguments, 0).assertString$1("string");
43963 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43964 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43965 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
43966 }
43967 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43968 },
43969 $signature: 14
43970 };
43971 A._uniqueId_closure.prototype = {
43972 call$1($arguments) {
43973 var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
43974 $._previousUniqueId = t1;
43975 if (t1 > Math.pow(36, 6))
43976 $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
43977 return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
43978 },
43979 $signature: 14
43980 };
43981 A.ImportCache.prototype = {
43982 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
43983 var relativeResult, _this = this;
43984 if (baseImporter != null) {
43985 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));
43986 if (relativeResult != null)
43987 return relativeResult;
43988 }
43989 return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
43990 },
43991 canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
43992 return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
43993 },
43994 _canonicalize$3(importer, url, forImport) {
43995 var t1, result;
43996 if (forImport) {
43997 t1 = type$.nullable_Object;
43998 result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
43999 } else
44000 result = importer.canonicalize$1(0, url);
44001 if ((result == null ? null : result.get$scheme()) === "")
44002 this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
44003 return result;
44004 },
44005 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
44006 return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
44007 },
44008 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
44009 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
44010 },
44011 importCanonical$2(importer, canonicalUrl) {
44012 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
44013 },
44014 humanize$1(canonicalUrl) {
44015 var t2, url,
44016 t1 = this._canonicalizeCache;
44017 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
44018 t2 = t1.$ti;
44019 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());
44020 if (url == null)
44021 return canonicalUrl;
44022 t1 = $.$get$url();
44023 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
44024 },
44025 sourceMapUrl$1(_, canonicalUrl) {
44026 var t1 = this._resultsCache.$index(0, canonicalUrl);
44027 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
44028 return t1 == null ? canonicalUrl : t1;
44029 },
44030 clearCanonicalize$1(url) {
44031 var t3, t4, _i,
44032 t1 = this._canonicalizeCache,
44033 t2 = type$.Tuple2_Uri_bool;
44034 t1.remove$1(0, new A.Tuple2(url, false, t2));
44035 t1.remove$1(0, new A.Tuple2(url, true, t2));
44036 t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
44037 for (t1 = this._relativeCanonicalizeCache, t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t3.moveNext$0();) {
44038 t4 = t3.__js_helper$_current;
44039 if (t4.item1.$eq(0, url))
44040 t2.push(t4);
44041 }
44042 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
44043 t1.remove$1(0, t2[_i]);
44044 },
44045 clearImport$1(canonicalUrl) {
44046 this._resultsCache.remove$1(0, canonicalUrl);
44047 this._importCache.remove$1(0, canonicalUrl);
44048 }
44049 };
44050 A.ImportCache_canonicalize_closure.prototype = {
44051 call$0() {
44052 var canonicalUrl, _this = this,
44053 t1 = _this.baseUrl,
44054 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
44055 if (resolvedUrl == null)
44056 resolvedUrl = _this.url;
44057 t1 = _this.baseImporter;
44058 canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
44059 if (canonicalUrl == null)
44060 return null;
44061 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
44062 },
44063 $signature: 76
44064 };
44065 A.ImportCache_canonicalize_closure0.prototype = {
44066 call$0() {
44067 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
44068 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) {
44069 importer = t2[_i];
44070 canonicalUrl = t1._canonicalize$3(importer, t4, t5);
44071 if (canonicalUrl != null)
44072 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
44073 }
44074 return null;
44075 },
44076 $signature: 76
44077 };
44078 A.ImportCache__canonicalize_closure.prototype = {
44079 call$0() {
44080 return this.importer.canonicalize$1(0, this.url);
44081 },
44082 $signature: 185
44083 };
44084 A.ImportCache_importCanonical_closure.prototype = {
44085 call$0() {
44086 var t3, _this = this,
44087 t1 = _this.canonicalUrl,
44088 result = _this.importer.load$1(0, t1),
44089 t2 = _this.$this;
44090 t2._resultsCache.$indexSet(0, t1, result);
44091 t3 = _this.originalUrl;
44092 t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
44093 t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
44094 return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
44095 },
44096 $signature: 77
44097 };
44098 A.ImportCache_humanize_closure.prototype = {
44099 call$1(tuple) {
44100 return tuple.item2.$eq(0, this.canonicalUrl);
44101 },
44102 $signature: 314
44103 };
44104 A.ImportCache_humanize_closure0.prototype = {
44105 call$1(tuple) {
44106 return tuple.item3;
44107 },
44108 $signature: 316
44109 };
44110 A.ImportCache_humanize_closure1.prototype = {
44111 call$1(url) {
44112 return url.get$path(url).length;
44113 },
44114 $signature: 96
44115 };
44116 A.Importer.prototype = {
44117 modificationTime$1(url) {
44118 return new A.DateTime(Date.now(), false);
44119 },
44120 couldCanonicalize$2(url, canonicalUrl) {
44121 return true;
44122 }
44123 };
44124 A.AsyncImporter.prototype = {};
44125 A.FilesystemImporter.prototype = {
44126 canonicalize$1(_, url) {
44127 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44128 return null;
44129 return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
44130 },
44131 load$1(_, url) {
44132 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
44133 t1 = A.readFile(path),
44134 t2 = A.Syntax_forPath(path),
44135 t3 = url.get$scheme();
44136 if (t3 === "")
44137 A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
44138 return new A.ImporterResult(t1, url, t2);
44139 },
44140 modificationTime$1(url) {
44141 return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
44142 },
44143 couldCanonicalize$2(url, canonicalUrl) {
44144 var t1, t2, t3, basename, canonicalBasename;
44145 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44146 return false;
44147 if (canonicalUrl.get$scheme() !== "file")
44148 return false;
44149 t1 = $.$get$url();
44150 t2 = url.get$path(url);
44151 t3 = t1.style;
44152 basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
44153 canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
44154 if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
44155 canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
44156 return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
44157 },
44158 toString$0(_) {
44159 return this._loadPath;
44160 }
44161 };
44162 A.FilesystemImporter_canonicalize_closure.prototype = {
44163 call$1(resolved) {
44164 var t1, t2, t0, _null = null;
44165 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
44166 t1 = $.$get$context();
44167 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
44168 t0 = t2;
44169 t2 = t1;
44170 t1 = t0;
44171 } else {
44172 t1 = $.$get$context();
44173 t2 = t1.canonicalize$1(0, resolved);
44174 t0 = t2;
44175 t2 = t1;
44176 t1 = t0;
44177 }
44178 return t2.toUri$1(t1);
44179 },
44180 $signature: 184
44181 };
44182 A.ImporterResult.prototype = {
44183 get$sourceMapUrl(_) {
44184 return this._sourceMapUrl;
44185 }
44186 };
44187 A.resolveImportPath_closure.prototype = {
44188 call$0() {
44189 return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
44190 },
44191 $signature: 41
44192 };
44193 A.resolveImportPath_closure0.prototype = {
44194 call$0() {
44195 return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
44196 },
44197 $signature: 41
44198 };
44199 A._tryPathAsDirectory_closure.prototype = {
44200 call$0() {
44201 return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
44202 },
44203 $signature: 41
44204 };
44205 A._exactlyOne_closure.prototype = {
44206 call$1(path) {
44207 var t1 = $.$get$context();
44208 return " " + t1.prettyUri$1(t1.toUri$1(path));
44209 },
44210 $signature: 5
44211 };
44212 A.InterpolationBuffer.prototype = {
44213 writeCharCode$1(character) {
44214 this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
44215 return null;
44216 },
44217 add$1(_, expression) {
44218 this._flushText$0();
44219 this._interpolation_buffer$_contents.push(expression);
44220 },
44221 addInterpolation$1(interpolation) {
44222 var first, t1, _this = this,
44223 toAdd = interpolation.contents;
44224 if (toAdd.length === 0)
44225 return;
44226 first = B.JSArray_methods.get$first(toAdd);
44227 if (typeof first == "string") {
44228 _this._interpolation_buffer$_text._contents += first;
44229 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
44230 }
44231 _this._flushText$0();
44232 t1 = _this._interpolation_buffer$_contents;
44233 B.JSArray_methods.addAll$1(t1, toAdd);
44234 if (typeof B.JSArray_methods.get$last(t1) == "string")
44235 _this._interpolation_buffer$_text._contents += A.S(t1.pop());
44236 },
44237 _flushText$0() {
44238 var t1 = this._interpolation_buffer$_text,
44239 t2 = t1._contents;
44240 if (t2.length === 0)
44241 return;
44242 this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44243 t1._contents = "";
44244 },
44245 interpolation$1(span) {
44246 var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
44247 t2 = this._interpolation_buffer$_text._contents;
44248 if (t2.length !== 0)
44249 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44250 return A.Interpolation$(t1, span);
44251 },
44252 toString$0(_) {
44253 var t1, t2, _i, t3, element;
44254 for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
44255 element = t1[_i];
44256 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
44257 }
44258 t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
44259 return t1.charCodeAt(0) == 0 ? t1 : t1;
44260 }
44261 };
44262 A._realCasePath_helper.prototype = {
44263 call$1(path) {
44264 var dirname = $.$get$context().dirname$1(path);
44265 if (dirname === path)
44266 return path;
44267 return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
44268 },
44269 $signature: 5
44270 };
44271 A._realCasePath_helper_closure.prototype = {
44272 call$0() {
44273 var matches, t2, exception,
44274 realDirname = this.helper.call$1(this.dirname),
44275 t1 = this.path,
44276 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
44277 try {
44278 matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
44279 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
44280 return t2;
44281 } catch (exception) {
44282 if (A.unwrapException(exception) instanceof A.FileSystemException)
44283 return t1;
44284 else
44285 throw exception;
44286 }
44287 },
44288 $signature: 29
44289 };
44290 A._realCasePath_helper__closure.prototype = {
44291 call$1(realPath) {
44292 return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
44293 },
44294 $signature: 6
44295 };
44296 A.FileSystemException.prototype = {
44297 toString$0(_) {
44298 var t1 = $.$get$context();
44299 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
44300 },
44301 get$message(receiver) {
44302 return this.message;
44303 }
44304 };
44305 A.Stderr.prototype = {
44306 writeln$1(object) {
44307 J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
44308 },
44309 writeln$0() {
44310 return this.writeln$1(null);
44311 }
44312 };
44313 A._readFile_closure.prototype = {
44314 call$0() {
44315 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
44316 },
44317 $signature: 94
44318 };
44319 A.writeFile_closure.prototype = {
44320 call$0() {
44321 return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
44322 },
44323 $signature: 0
44324 };
44325 A.deleteFile_closure.prototype = {
44326 call$0() {
44327 return J.unlinkSync$1$x(A.fs(), this.path);
44328 },
44329 $signature: 0
44330 };
44331 A.readStdin_closure.prototype = {
44332 call$1(result) {
44333 this._box_0.contents = result;
44334 this.completer.complete$1(result);
44335 },
44336 $signature: 116
44337 };
44338 A.readStdin_closure0.prototype = {
44339 call$1(chunk) {
44340 this.sink.add$1(0, type$.List_int._as(chunk));
44341 },
44342 call$0() {
44343 return this.call$1(null);
44344 },
44345 "call*": "call$1",
44346 $requiredArgCount: 0,
44347 $defaultValues() {
44348 return [null];
44349 },
44350 $signature: 71
44351 };
44352 A.readStdin_closure1.prototype = {
44353 call$1(_) {
44354 this.sink.close$0(0);
44355 },
44356 call$0() {
44357 return this.call$1(null);
44358 },
44359 "call*": "call$1",
44360 $requiredArgCount: 0,
44361 $defaultValues() {
44362 return [null];
44363 },
44364 $signature: 71
44365 };
44366 A.readStdin_closure2.prototype = {
44367 call$1(e) {
44368 var t1 = $.$get$stderr();
44369 t1.writeln$1("Failed to read from stdin");
44370 t1.writeln$1(e);
44371 e.toString;
44372 this.completer.completeError$1(e);
44373 },
44374 call$0() {
44375 return this.call$1(null);
44376 },
44377 "call*": "call$1",
44378 $requiredArgCount: 0,
44379 $defaultValues() {
44380 return [null];
44381 },
44382 $signature: 71
44383 };
44384 A.fileExists_closure.prototype = {
44385 call$0() {
44386 var error, systemError, exception,
44387 t1 = this.path;
44388 if (!J.existsSync$1$x(A.fs(), t1))
44389 return false;
44390 try {
44391 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
44392 return t1;
44393 } catch (exception) {
44394 error = A.unwrapException(exception);
44395 systemError = type$.JsSystemError._as(error);
44396 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44397 return false;
44398 throw exception;
44399 }
44400 },
44401 $signature: 26
44402 };
44403 A.dirExists_closure.prototype = {
44404 call$0() {
44405 var error, systemError, exception,
44406 t1 = this.path;
44407 if (!J.existsSync$1$x(A.fs(), t1))
44408 return false;
44409 try {
44410 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
44411 return t1;
44412 } catch (exception) {
44413 error = A.unwrapException(exception);
44414 systemError = type$.JsSystemError._as(error);
44415 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44416 return false;
44417 throw exception;
44418 }
44419 },
44420 $signature: 26
44421 };
44422 A.ensureDir_closure.prototype = {
44423 call$0() {
44424 var error, systemError, exception, t1;
44425 try {
44426 J.mkdirSync$1$x(A.fs(), this.path);
44427 } catch (exception) {
44428 error = A.unwrapException(exception);
44429 systemError = type$.JsSystemError._as(error);
44430 if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
44431 return;
44432 if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
44433 throw exception;
44434 t1 = this.path;
44435 A.ensureDir($.$get$context().dirname$1(t1));
44436 J.mkdirSync$1$x(A.fs(), t1);
44437 }
44438 },
44439 $signature: 0
44440 };
44441 A.listDir_closure.prototype = {
44442 call$0() {
44443 var t1 = this.path;
44444 if (!this.recursive)
44445 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());
44446 else
44447 return new A.listDir_closure_list().call$1(t1);
44448 },
44449 $signature: 183
44450 };
44451 A.listDir__closure.prototype = {
44452 call$1(child) {
44453 return A.join(this.path, A._asString(child), null);
44454 },
44455 $signature: 91
44456 };
44457 A.listDir__closure0.prototype = {
44458 call$1(child) {
44459 return !A.dirExists(child);
44460 },
44461 $signature: 6
44462 };
44463 A.listDir_closure_list.prototype = {
44464 call$1($parent) {
44465 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
44466 },
44467 $signature: 144
44468 };
44469 A.listDir__list_closure.prototype = {
44470 call$1(child) {
44471 var path = A.join(this.parent, A._asString(child), null);
44472 return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
44473 },
44474 $signature: 181
44475 };
44476 A.modificationTime_closure.prototype = {
44477 call$0() {
44478 var t2,
44479 t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
44480 if (Math.abs(t1) <= 864e13)
44481 t2 = false;
44482 else
44483 t2 = true;
44484 if (t2)
44485 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
44486 A.checkNotNullable(false, "isUtc", type$.bool);
44487 return new A.DateTime(t1, false);
44488 },
44489 $signature: 180
44490 };
44491 A.watchDir_closure.prototype = {
44492 call$2(path, _) {
44493 var t1 = this._box_0.controller;
44494 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
44495 },
44496 call$1(path) {
44497 return this.call$2(path, null);
44498 },
44499 "call*": "call$2",
44500 $requiredArgCount: 1,
44501 $defaultValues() {
44502 return [null];
44503 },
44504 $signature: 177
44505 };
44506 A.watchDir_closure0.prototype = {
44507 call$2(path, _) {
44508 var t1 = this._box_0.controller;
44509 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
44510 },
44511 call$1(path) {
44512 return this.call$2(path, null);
44513 },
44514 "call*": "call$2",
44515 $requiredArgCount: 1,
44516 $defaultValues() {
44517 return [null];
44518 },
44519 $signature: 177
44520 };
44521 A.watchDir_closure1.prototype = {
44522 call$1(path) {
44523 var t1 = this._box_0.controller;
44524 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
44525 },
44526 $signature: 116
44527 };
44528 A.watchDir_closure2.prototype = {
44529 call$1(error) {
44530 var t1 = this._box_0.controller;
44531 return t1 == null ? null : t1.addError$1(error);
44532 },
44533 $signature: 107
44534 };
44535 A.watchDir_closure3.prototype = {
44536 call$0() {
44537 var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
44538 this._box_0.controller = controller;
44539 this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
44540 },
44541 $signature: 1
44542 };
44543 A.watchDir__closure.prototype = {
44544 call$0() {
44545 J.close$0$x(this.watcher);
44546 },
44547 $signature: 1
44548 };
44549 A._QuietLogger.prototype = {
44550 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44551 },
44552 warn$1($receiver, message) {
44553 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44554 },
44555 warn$2$span($receiver, message, span) {
44556 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44557 },
44558 warn$2$deprecation($receiver, message, deprecation) {
44559 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44560 },
44561 warn$3$deprecation$span($receiver, message, deprecation, span) {
44562 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44563 },
44564 warn$2$trace($receiver, message, trace) {
44565 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44566 },
44567 debug$2(_, message, span) {
44568 }
44569 };
44570 A.StderrLogger.prototype = {
44571 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44572 var t2, t3, t4,
44573 t1 = this.color;
44574 if (t1) {
44575 t2 = $.$get$stderr();
44576 t3 = t2._stderr;
44577 t4 = J.getInterceptor$x(t3);
44578 t4.write$1(t3, "\x1b[33m\x1b[1m");
44579 if (deprecation)
44580 t4.write$1(t3, "Deprecation ");
44581 t4.write$1(t3, "Warning\x1b[0m");
44582 } else {
44583 if (deprecation)
44584 J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
44585 t2 = $.$get$stderr();
44586 J.write$1$x(t2._stderr, "WARNING");
44587 }
44588 if (span == null)
44589 t2.writeln$1(": " + message);
44590 else if (trace != null)
44591 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
44592 else
44593 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
44594 if (trace != null)
44595 t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
44596 t2.writeln$0();
44597 },
44598 warn$1($receiver, message) {
44599 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44600 },
44601 warn$2$span($receiver, message, span) {
44602 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44603 },
44604 warn$2$deprecation($receiver, message, deprecation) {
44605 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44606 },
44607 warn$3$deprecation$span($receiver, message, deprecation, span) {
44608 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44609 },
44610 warn$2$trace($receiver, message, trace) {
44611 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44612 },
44613 debug$2(_, message, span) {
44614 var url, t3, t4,
44615 t1 = span.file,
44616 t2 = span._file$_start;
44617 if (A.FileLocation$_(t1, t2).file.url == null)
44618 url = "-";
44619 else {
44620 t3 = A.FileLocation$_(t1, t2);
44621 url = $.$get$context().prettyUri$1(t3.file.url);
44622 }
44623 t3 = $.$get$stderr();
44624 t2 = A.FileLocation$_(t1, t2);
44625 t2 = t2.file.getLine$1(t2.offset);
44626 t1 = t3._stderr;
44627 t4 = J.getInterceptor$x(t1);
44628 t4.write$1(t1, url + ":" + (t2 + 1) + " ");
44629 t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
44630 t3.writeln$1(": " + message);
44631 }
44632 };
44633 A.TerseLogger.prototype = {
44634 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44635 var firstParagraph, t1, t2, count;
44636 if (deprecation) {
44637 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
44638 t1 = this._warningCounts;
44639 t2 = t1.$index(0, firstParagraph);
44640 count = (t2 == null ? 0 : t2) + 1;
44641 t1.$indexSet(0, firstParagraph, count);
44642 if (count > 5)
44643 return;
44644 }
44645 this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44646 },
44647 warn$2$span($receiver, message, span) {
44648 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44649 },
44650 warn$2$deprecation($receiver, message, deprecation) {
44651 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44652 },
44653 warn$3$deprecation$span($receiver, message, deprecation, span) {
44654 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44655 },
44656 warn$2$trace($receiver, message, trace) {
44657 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44658 },
44659 debug$2(_, message, span) {
44660 return this._inner.debug$2(0, message, span);
44661 },
44662 summarize$1$node(node) {
44663 var t2, total,
44664 t1 = this._warningCounts;
44665 t1 = t1.get$values(t1);
44666 t2 = A._instanceType(t1);
44667 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>")));
44668 if (total > 0) {
44669 t1 = node ? "" : string$.x0aRun_i;
44670 this._inner.warn$1(0, "" + total + string$.x20repet + t1);
44671 }
44672 }
44673 };
44674 A.TerseLogger_summarize_closure.prototype = {
44675 call$1(count) {
44676 return count > 5;
44677 },
44678 $signature: 57
44679 };
44680 A.TerseLogger_summarize_closure0.prototype = {
44681 call$1(count) {
44682 return count - 5;
44683 },
44684 $signature: 175
44685 };
44686 A.TrackingLogger.prototype = {
44687 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44688 this._emittedWarning = true;
44689 this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44690 },
44691 warn$2$span($receiver, message, span) {
44692 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44693 },
44694 warn$2$deprecation($receiver, message, deprecation) {
44695 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44696 },
44697 warn$3$deprecation$span($receiver, message, deprecation, span) {
44698 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44699 },
44700 warn$2$trace($receiver, message, trace) {
44701 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44702 },
44703 debug$2(_, message, span) {
44704 this._emittedDebug = true;
44705 this._tracking$_logger.debug$2(0, message, span);
44706 }
44707 };
44708 A.BuiltInModule.prototype = {
44709 get$upstream() {
44710 return B.List_empty3;
44711 },
44712 get$variableNodes() {
44713 return B.Map_empty0;
44714 },
44715 get$extensionStore() {
44716 return B.C_EmptyExtensionStore;
44717 },
44718 get$css(_) {
44719 return new A.CssStylesheet(B.List_empty0, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
44720 },
44721 get$transitivelyContainsCss() {
44722 return false;
44723 },
44724 get$transitivelyContainsExtensions() {
44725 return false;
44726 },
44727 setVariable$3($name, value, nodeWithSpan) {
44728 if (!this.variables.containsKey$1($name))
44729 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44730 throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable."));
44731 },
44732 variableIdentity$1($name) {
44733 return this;
44734 },
44735 cloneCss$0() {
44736 return this;
44737 },
44738 $isModule: 1,
44739 get$url(receiver) {
44740 return this.url;
44741 },
44742 get$functions(receiver) {
44743 return this.functions;
44744 },
44745 get$mixins() {
44746 return this.mixins;
44747 },
44748 get$variables() {
44749 return this.variables;
44750 }
44751 };
44752 A.ForwardedModuleView.prototype = {
44753 get$url(_) {
44754 var t1 = this._forwarded_view$_inner;
44755 return t1.get$url(t1);
44756 },
44757 get$upstream() {
44758 return this._forwarded_view$_inner.get$upstream();
44759 },
44760 get$extensionStore() {
44761 return this._forwarded_view$_inner.get$extensionStore();
44762 },
44763 get$css(_) {
44764 var t1 = this._forwarded_view$_inner;
44765 return t1.get$css(t1);
44766 },
44767 get$transitivelyContainsCss() {
44768 return this._forwarded_view$_inner.get$transitivelyContainsCss();
44769 },
44770 get$transitivelyContainsExtensions() {
44771 return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
44772 },
44773 setVariable$3($name, value, nodeWithSpan) {
44774 var prefix,
44775 _s19_ = "Undefined variable.",
44776 t1 = this._rule,
44777 shownVariables = t1.shownVariables,
44778 hiddenVariables = t1.hiddenVariables;
44779 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
44780 throw A.wrapException(A.SassScriptException$(_s19_));
44781 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
44782 throw A.wrapException(A.SassScriptException$(_s19_));
44783 prefix = t1.prefix;
44784 if (prefix != null) {
44785 if (!B.JSString_methods.startsWith$1($name, prefix))
44786 throw A.wrapException(A.SassScriptException$(_s19_));
44787 $name = B.JSString_methods.substring$1($name, prefix.length);
44788 }
44789 return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
44790 },
44791 variableIdentity$1($name) {
44792 var prefix = this._rule.prefix;
44793 if (prefix != null)
44794 $name = B.JSString_methods.substring$1($name, prefix.length);
44795 return this._forwarded_view$_inner.variableIdentity$1($name);
44796 },
44797 $eq(_, other) {
44798 if (other == null)
44799 return false;
44800 return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
44801 },
44802 get$hashCode(_) {
44803 var t1 = this._forwarded_view$_inner;
44804 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
44805 },
44806 cloneCss$0() {
44807 return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
44808 },
44809 toString$0(_) {
44810 return "forwarded " + this._forwarded_view$_inner.toString$0(0);
44811 },
44812 $isModule: 1,
44813 get$variables() {
44814 return this.variables;
44815 },
44816 get$variableNodes() {
44817 return this.variableNodes;
44818 },
44819 get$functions(receiver) {
44820 return this.functions;
44821 },
44822 get$mixins() {
44823 return this.mixins;
44824 }
44825 };
44826 A.ShadowedModuleView.prototype = {
44827 get$url(_) {
44828 var t1 = this._shadowed_view$_inner;
44829 return t1.get$url(t1);
44830 },
44831 get$upstream() {
44832 return this._shadowed_view$_inner.get$upstream();
44833 },
44834 get$extensionStore() {
44835 return this._shadowed_view$_inner.get$extensionStore();
44836 },
44837 get$css(_) {
44838 var t1 = this._shadowed_view$_inner;
44839 return t1.get$css(t1);
44840 },
44841 get$transitivelyContainsCss() {
44842 return this._shadowed_view$_inner.get$transitivelyContainsCss();
44843 },
44844 get$transitivelyContainsExtensions() {
44845 return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
44846 },
44847 setVariable$3($name, value, nodeWithSpan) {
44848 if (!this.variables.containsKey$1($name))
44849 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44850 else
44851 return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
44852 },
44853 variableIdentity$1($name) {
44854 return this._shadowed_view$_inner.variableIdentity$1($name);
44855 },
44856 $eq(_, other) {
44857 var t1, t2, _this = this;
44858 if (other == null)
44859 return false;
44860 if (other instanceof A.ShadowedModuleView)
44861 if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
44862 t1 = _this.variables;
44863 t1 = t1.get$keys(t1);
44864 t2 = other.variables;
44865 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44866 t1 = _this.functions;
44867 t1 = t1.get$keys(t1);
44868 t2 = other.functions;
44869 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44870 t1 = _this.mixins;
44871 t1 = t1.get$keys(t1);
44872 t2 = other.mixins;
44873 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
44874 t1 = t2;
44875 } else
44876 t1 = false;
44877 } else
44878 t1 = false;
44879 } else
44880 t1 = false;
44881 else
44882 t1 = false;
44883 return t1;
44884 },
44885 get$hashCode(_) {
44886 var t1 = this._shadowed_view$_inner;
44887 return t1.get$hashCode(t1);
44888 },
44889 cloneCss$0() {
44890 var _this = this;
44891 return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
44892 },
44893 toString$0(_) {
44894 return "shadowed " + this._shadowed_view$_inner.toString$0(0);
44895 },
44896 $isModule: 1,
44897 get$variables() {
44898 return this.variables;
44899 },
44900 get$variableNodes() {
44901 return this.variableNodes;
44902 },
44903 get$functions(receiver) {
44904 return this.functions;
44905 },
44906 get$mixins() {
44907 return this.mixins;
44908 }
44909 };
44910 A.JSArray0.prototype = {};
44911 A.Chokidar.prototype = {};
44912 A.ChokidarOptions.prototype = {};
44913 A.ChokidarWatcher.prototype = {};
44914 A.JSFunction.prototype = {};
44915 A.NodeImporterResult.prototype = {};
44916 A.RenderContext.prototype = {};
44917 A.RenderContextOptions.prototype = {};
44918 A.RenderContextResult.prototype = {};
44919 A.RenderContextResultStats.prototype = {};
44920 A.JSClass.prototype = {};
44921 A.JSUrl.prototype = {};
44922 A._PropertyDescriptor.prototype = {};
44923 A.AtRootQueryParser.prototype = {
44924 parse$0() {
44925 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
44926 }
44927 };
44928 A.AtRootQueryParser_parse_closure.prototype = {
44929 call$0() {
44930 var include, atRules,
44931 t1 = this.$this,
44932 t2 = t1.scanner;
44933 t2.expectChar$1(40);
44934 t1.whitespace$0();
44935 include = t1.scanIdentifier$1("with");
44936 if (!include)
44937 t1.expectIdentifier$2$name("without", '"with" or "without"');
44938 t1.whitespace$0();
44939 t2.expectChar$1(58);
44940 t1.whitespace$0();
44941 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
44942 do {
44943 atRules.add$1(0, t1.identifier$0().toLowerCase());
44944 t1.whitespace$0();
44945 } while (t1.lookingAtIdentifier$0());
44946 t2.expectChar$1(41);
44947 t2.expectDone$0();
44948 return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
44949 },
44950 $signature: 104
44951 };
44952 A._disallowedFunctionNames_closure.prototype = {
44953 call$1($function) {
44954 return $function.name;
44955 },
44956 $signature: 336
44957 };
44958 A.CssParser.prototype = {
44959 get$plainCss() {
44960 return true;
44961 },
44962 silentComment$0() {
44963 var t1 = this.scanner,
44964 t2 = t1._string_scanner$_position;
44965 this.super$Parser$silentComment();
44966 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
44967 },
44968 atRule$2$root(child, root) {
44969 var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
44970 t1 = _this.scanner,
44971 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
44972 t1.expectChar$1(64);
44973 $name = _this.interpolatedIdentifier$0();
44974 _this.whitespace$0();
44975 switch ($name.get$asPlain()) {
44976 case "at-root":
44977 case "content":
44978 case "debug":
44979 case "each":
44980 case "error":
44981 case "extend":
44982 case "for":
44983 case "function":
44984 case "if":
44985 case "include":
44986 case "mixin":
44987 case "return":
44988 case "warn":
44989 case "while":
44990 _this.almostAnyValue$0();
44991 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
44992 break;
44993 case "import":
44994 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
44995 next = t1.peekChar$0();
44996 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
44997 urlSpan = t1.spanFrom$1(urlStart);
44998 _this.whitespace$0();
44999 modifiers = _this.tryImportModifiers$0();
45000 _this.expectStatementSeparator$1("@import rule");
45001 t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
45002 t1 = t1.spanFrom$1(start);
45003 return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
45004 case "media":
45005 return _this.mediaRule$1(start);
45006 case "-moz-document":
45007 return _this.mozDocumentRule$2(start, $name);
45008 case "supports":
45009 return _this.supportsRule$1(start);
45010 default:
45011 return _this.unknownAtRule$2(start, $name);
45012 }
45013 },
45014 identifierLike$0() {
45015 var t2, $arguments, t3, t4, _this = this,
45016 t1 = _this.scanner,
45017 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
45018 identifier = _this.interpolatedIdentifier$0(),
45019 plain = identifier.get$asPlain(),
45020 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
45021 if (specialFunction != null)
45022 return specialFunction;
45023 t2 = t1._string_scanner$_position;
45024 if (!t1.scanChar$1(40))
45025 return new A.StringExpression(identifier, false);
45026 $arguments = A._setArrayType([], type$.JSArray_Expression);
45027 if (!t1.scanChar$1(41)) {
45028 do {
45029 _this.whitespace$0();
45030 $arguments.push(_this.expression$1$singleEquals(true));
45031 _this.whitespace$0();
45032 } while (t1.scanChar$1(44));
45033 t1.expectChar$1(41);
45034 }
45035 if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
45036 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
45037 t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
45038 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
45039 t4 = type$.Expression;
45040 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));
45041 },
45042 namespacedExpression$2(namespace, start) {
45043 var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
45044 this.error$2(0, string$.Modulen, expression.get$span(expression));
45045 }
45046 };
45047 A.KeyframeSelectorParser.prototype = {
45048 parse$0() {
45049 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
45050 },
45051 _percentage$0() {
45052 var t3, next,
45053 t1 = this.scanner,
45054 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
45055 second = t1.peekChar$0();
45056 if (!A.isDigit(second) && second !== 46)
45057 t1.error$1(0, "Expected number.");
45058 while (true) {
45059 t3 = t1.peekChar$0();
45060 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45061 break;
45062 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45063 }
45064 if (t1.peekChar$0() === 46) {
45065 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45066 while (true) {
45067 t3 = t1.peekChar$0();
45068 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45069 break;
45070 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45071 }
45072 }
45073 if (this.scanIdentChar$1(101)) {
45074 t2 += A.Primitives_stringFromCharCode(101);
45075 next = t1.peekChar$0();
45076 if (next === 43 || next === 45)
45077 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45078 if (!A.isDigit(t1.peekChar$0()))
45079 t1.error$1(0, "Expected digit.");
45080 while (true) {
45081 t3 = t1.peekChar$0();
45082 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45083 break;
45084 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45085 }
45086 }
45087 t1.expectChar$1(37);
45088 t2 += A.Primitives_stringFromCharCode(37);
45089 return t2.charCodeAt(0) == 0 ? t2 : t2;
45090 }
45091 };
45092 A.KeyframeSelectorParser_parse_closure.prototype = {
45093 call$0() {
45094 var selectors = A._setArrayType([], type$.JSArray_String),
45095 t1 = this.$this,
45096 t2 = t1.scanner;
45097 do {
45098 t1.whitespace$0();
45099 if (t1.lookingAtIdentifier$0())
45100 if (t1.scanIdentifier$1("from"))
45101 selectors.push("from");
45102 else {
45103 t1.expectIdentifier$2$name("to", '"to" or "from"');
45104 selectors.push("to");
45105 }
45106 else
45107 selectors.push(t1._percentage$0());
45108 t1.whitespace$0();
45109 } while (t2.scanChar$1(44));
45110 t2.expectDone$0();
45111 return selectors;
45112 },
45113 $signature: 46
45114 };
45115 A.MediaQueryParser.prototype = {
45116 parse$0() {
45117 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
45118 },
45119 _mediaQuery$0() {
45120 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
45121 t1 = _this.scanner;
45122 if (t1.peekChar$0() !== 40) {
45123 identifier1 = _this.identifier$0();
45124 _this.whitespace$0();
45125 if (!_this.lookingAtIdentifier$0())
45126 return new A.CssMediaQuery(_null, identifier1, B.List_empty);
45127 identifier2 = _this.identifier$0();
45128 _this.whitespace$0();
45129 if (A.equalsIgnoreCase(identifier2, "and")) {
45130 type = identifier1;
45131 modifier = _null;
45132 } else {
45133 if (_this.scanIdentifier$1("and"))
45134 _this.whitespace$0();
45135 else
45136 return new A.CssMediaQuery(identifier1, identifier2, B.List_empty);
45137 type = identifier2;
45138 modifier = identifier1;
45139 }
45140 } else {
45141 type = _null;
45142 modifier = type;
45143 }
45144 features = A._setArrayType([], type$.JSArray_String);
45145 do {
45146 _this.whitespace$0();
45147 t1.expectChar$1(40);
45148 features.push("(" + _this.declarationValue$0() + ")");
45149 t1.expectChar$1(41);
45150 _this.whitespace$0();
45151 } while (_this.scanIdentifier$1("and"));
45152 if (type == null)
45153 return new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(features, type$.String));
45154 else {
45155 t1 = A.List_List$unmodifiable(features, type$.String);
45156 return new A.CssMediaQuery(modifier, type, t1);
45157 }
45158 }
45159 };
45160 A.MediaQueryParser_parse_closure.prototype = {
45161 call$0() {
45162 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
45163 t1 = this.$this,
45164 t2 = t1.scanner;
45165 do {
45166 t1.whitespace$0();
45167 queries.push(t1._mediaQuery$0());
45168 } while (t2.scanChar$1(44));
45169 t2.expectDone$0();
45170 return queries;
45171 },
45172 $signature: 103
45173 };
45174 A.Parser.prototype = {
45175 _parseIdentifier$0() {
45176 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
45177 },
45178 _isVariableDeclarationLike$0() {
45179 var _this = this,
45180 t1 = _this.scanner;
45181 if (!t1.scanChar$1(36))
45182 return false;
45183 if (!_this.lookingAtIdentifier$0())
45184 return false;
45185 _this.identifier$0();
45186 _this.whitespace$0();
45187 return t1.scanChar$1(58);
45188 },
45189 whitespace$0() {
45190 do
45191 this.whitespaceWithoutComments$0();
45192 while (this.scanComment$0());
45193 },
45194 whitespaceWithoutComments$0() {
45195 var t3,
45196 t1 = this.scanner,
45197 t2 = t1.string.length;
45198 while (true) {
45199 if (t1._string_scanner$_position !== t2) {
45200 t3 = t1.peekChar$0();
45201 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
45202 } else
45203 t3 = false;
45204 if (!t3)
45205 break;
45206 t1.readChar$0();
45207 }
45208 },
45209 spaces$0() {
45210 var t3,
45211 t1 = this.scanner,
45212 t2 = t1.string.length;
45213 while (true) {
45214 if (t1._string_scanner$_position !== t2) {
45215 t3 = t1.peekChar$0();
45216 t3 = t3 === 32 || t3 === 9;
45217 } else
45218 t3 = false;
45219 if (!t3)
45220 break;
45221 t1.readChar$0();
45222 }
45223 },
45224 scanComment$0() {
45225 var next,
45226 t1 = this.scanner;
45227 if (t1.peekChar$0() !== 47)
45228 return false;
45229 next = t1.peekChar$1(1);
45230 if (next === 47) {
45231 this.silentComment$0();
45232 return true;
45233 } else if (next === 42) {
45234 this.loudComment$0();
45235 return true;
45236 } else
45237 return false;
45238 },
45239 silentComment$0() {
45240 var t2, t3,
45241 t1 = this.scanner;
45242 t1.expect$1("//");
45243 t2 = t1.string.length;
45244 while (true) {
45245 if (t1._string_scanner$_position !== t2) {
45246 t3 = t1.peekChar$0();
45247 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
45248 } else
45249 t3 = false;
45250 if (!t3)
45251 break;
45252 t1.readChar$0();
45253 }
45254 },
45255 loudComment$0() {
45256 var next,
45257 t1 = this.scanner;
45258 t1.expect$1("/*");
45259 for (; true;) {
45260 if (t1.readChar$0() !== 42)
45261 continue;
45262 do
45263 next = t1.readChar$0();
45264 while (next === 42);
45265 if (next === 47)
45266 break;
45267 }
45268 },
45269 identifier$2$normalize$unit(normalize, unit) {
45270 var t2, first, _this = this,
45271 _s20_ = "Expected identifier.",
45272 text = new A.StringBuffer(""),
45273 t1 = _this.scanner;
45274 if (t1.scanChar$1(45)) {
45275 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
45276 if (t1.scanChar$1(45)) {
45277 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45278 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45279 t1 = text._contents;
45280 return t1.charCodeAt(0) == 0 ? t1 : t1;
45281 }
45282 } else
45283 t2 = "";
45284 first = t1.peekChar$0();
45285 if (first == null)
45286 t1.error$1(0, _s20_);
45287 else if (normalize && first === 95) {
45288 t1.readChar$0();
45289 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45290 } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
45291 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
45292 else if (first === 92)
45293 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
45294 else
45295 t1.error$1(0, _s20_);
45296 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45297 t1 = text._contents;
45298 return t1.charCodeAt(0) == 0 ? t1 : t1;
45299 },
45300 identifier$0() {
45301 return this.identifier$2$normalize$unit(false, false);
45302 },
45303 identifier$1$normalize(normalize) {
45304 return this.identifier$2$normalize$unit(normalize, false);
45305 },
45306 identifier$1$unit(unit) {
45307 return this.identifier$2$normalize$unit(false, unit);
45308 },
45309 _identifierBody$3$normalize$unit(text, normalize, unit) {
45310 var t1, next, second, t2;
45311 for (t1 = this.scanner; true;) {
45312 next = t1.peekChar$0();
45313 if (next == null)
45314 break;
45315 else if (unit && next === 45) {
45316 second = t1.peekChar$1(1);
45317 if (second != null)
45318 if (second !== 46)
45319 t2 = second >= 48 && second <= 57;
45320 else
45321 t2 = true;
45322 else
45323 t2 = false;
45324 if (t2)
45325 break;
45326 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45327 } else if (normalize && next === 95) {
45328 t1.readChar$0();
45329 text._contents += A.Primitives_stringFromCharCode(45);
45330 } else {
45331 if (next !== 95) {
45332 if (!(next >= 97 && next <= 122))
45333 t2 = next >= 65 && next <= 90;
45334 else
45335 t2 = true;
45336 t2 = t2 || next >= 128;
45337 } else
45338 t2 = true;
45339 if (!t2) {
45340 t2 = next >= 48 && next <= 57;
45341 t2 = t2 || next === 45;
45342 } else
45343 t2 = true;
45344 if (t2)
45345 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45346 else if (next === 92)
45347 text._contents += A.S(this.escape$0());
45348 else
45349 break;
45350 }
45351 }
45352 },
45353 _identifierBody$1(text) {
45354 return this._identifierBody$3$normalize$unit(text, false, false);
45355 },
45356 string$0() {
45357 var buffer, next, t2,
45358 t1 = this.scanner,
45359 quote = t1.readChar$0();
45360 if (quote !== 39 && quote !== 34)
45361 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
45362 buffer = new A.StringBuffer("");
45363 for (; true;) {
45364 next = t1.peekChar$0();
45365 if (next === quote) {
45366 t1.readChar$0();
45367 break;
45368 } else if (next == null || next === 10 || next === 13 || next === 12)
45369 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
45370 else if (next === 92) {
45371 t2 = t1.peekChar$1(1);
45372 if (t2 === 10 || t2 === 13 || t2 === 12) {
45373 t1.readChar$0();
45374 t1.readChar$0();
45375 } else
45376 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
45377 } else
45378 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45379 }
45380 t1 = buffer._contents;
45381 return t1.charCodeAt(0) == 0 ? t1 : t1;
45382 },
45383 naturalNumber$0() {
45384 var number, t2,
45385 t1 = this.scanner,
45386 first = t1.readChar$0();
45387 if (!A.isDigit(first))
45388 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
45389 number = first - 48;
45390 while (true) {
45391 t2 = t1.peekChar$0();
45392 if (!(t2 != null && t2 >= 48 && t2 <= 57))
45393 break;
45394 number = number * 10 + (t1.readChar$0() - 48);
45395 }
45396 return number;
45397 },
45398 declarationValue$1$allowEmpty(allowEmpty) {
45399 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
45400 buffer = new A.StringBuffer(""),
45401 brackets = A._setArrayType([], type$.JSArray_int);
45402 $label0$1:
45403 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
45404 next = t1.peekChar$0();
45405 switch (next) {
45406 case 92:
45407 buffer._contents += A.S(_this.escape$1$identifierStart(true));
45408 wroteNewline = false;
45409 break;
45410 case 34:
45411 case 39:
45412 start = t1._string_scanner$_position;
45413 t2.call$0();
45414 end = t1._string_scanner$_position;
45415 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45416 wroteNewline = false;
45417 break;
45418 case 47:
45419 if (t1.peekChar$1(1) === 42) {
45420 t3 = _this.get$loudComment();
45421 start = t1._string_scanner$_position;
45422 t3.call$0();
45423 end = t1._string_scanner$_position;
45424 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45425 } else
45426 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45427 wroteNewline = false;
45428 break;
45429 case 32:
45430 case 9:
45431 if (!wroteNewline) {
45432 t3 = t1.peekChar$1(1);
45433 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
45434 } else
45435 t3 = true;
45436 if (t3)
45437 buffer._contents += A.Primitives_stringFromCharCode(32);
45438 t1.readChar$0();
45439 break;
45440 case 10:
45441 case 13:
45442 case 12:
45443 t3 = t1.peekChar$1(-1);
45444 if (!(t3 === 10 || t3 === 13 || t3 === 12))
45445 buffer._contents += "\n";
45446 t1.readChar$0();
45447 wroteNewline = true;
45448 break;
45449 case 40:
45450 case 123:
45451 case 91:
45452 next.toString;
45453 buffer._contents += A.Primitives_stringFromCharCode(next);
45454 brackets.push(A.opposite(t1.readChar$0()));
45455 wroteNewline = false;
45456 break;
45457 case 41:
45458 case 125:
45459 case 93:
45460 if (brackets.length === 0)
45461 break $label0$1;
45462 next.toString;
45463 buffer._contents += A.Primitives_stringFromCharCode(next);
45464 t1.expectChar$1(brackets.pop());
45465 wroteNewline = false;
45466 break;
45467 case 59:
45468 if (brackets.length === 0)
45469 break $label0$1;
45470 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45471 break;
45472 case 117:
45473 case 85:
45474 url = _this.tryUrl$0();
45475 if (url != null)
45476 buffer._contents += url;
45477 else
45478 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45479 wroteNewline = false;
45480 break;
45481 default:
45482 if (next == null)
45483 break $label0$1;
45484 if (_this.lookingAtIdentifier$0())
45485 buffer._contents += _this.identifier$0();
45486 else
45487 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45488 wroteNewline = false;
45489 break;
45490 }
45491 }
45492 if (brackets.length !== 0)
45493 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
45494 if (!allowEmpty && buffer._contents.length === 0)
45495 t1.error$1(0, "Expected token.");
45496 t1 = buffer._contents;
45497 return t1.charCodeAt(0) == 0 ? t1 : t1;
45498 },
45499 declarationValue$0() {
45500 return this.declarationValue$1$allowEmpty(false);
45501 },
45502 tryUrl$0() {
45503 var buffer, next, t2, _this = this,
45504 t1 = _this.scanner,
45505 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45506 if (!_this.scanIdentifier$1("url"))
45507 return null;
45508 if (!t1.scanChar$1(40)) {
45509 t1.set$state(start);
45510 return null;
45511 }
45512 _this.whitespace$0();
45513 buffer = new A.StringBuffer("");
45514 buffer._contents = "" + "url(";
45515 for (; true;) {
45516 next = t1.peekChar$0();
45517 if (next == null)
45518 break;
45519 else if (next === 92)
45520 buffer._contents += A.S(_this.escape$0());
45521 else {
45522 if (next !== 37)
45523 if (next !== 38)
45524 if (next !== 35)
45525 t2 = next >= 42 && next <= 126 || next >= 128;
45526 else
45527 t2 = true;
45528 else
45529 t2 = true;
45530 else
45531 t2 = true;
45532 if (t2)
45533 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45534 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
45535 _this.whitespace$0();
45536 if (t1.peekChar$0() !== 41)
45537 break;
45538 } else if (next === 41) {
45539 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45540 return t2.charCodeAt(0) == 0 ? t2 : t2;
45541 } else
45542 break;
45543 }
45544 }
45545 t1.set$state(start);
45546 return null;
45547 },
45548 variableName$0() {
45549 this.scanner.expectChar$1(36);
45550 return this.identifier$1$normalize(true);
45551 },
45552 escape$1$identifierStart(identifierStart) {
45553 var value, first, i, next, t2, exception,
45554 _s25_ = "Expected escape sequence.",
45555 t1 = this.scanner,
45556 start = t1._string_scanner$_position;
45557 t1.expectChar$1(92);
45558 value = 0;
45559 first = t1.peekChar$0();
45560 if (first == null)
45561 t1.error$1(0, _s25_);
45562 else if (first === 10 || first === 13 || first === 12)
45563 t1.error$1(0, _s25_);
45564 else if (A.isHex(first)) {
45565 for (i = 0; i < 6; ++i) {
45566 next = t1.peekChar$0();
45567 if (next == null || !A.isHex(next))
45568 break;
45569 value *= 16;
45570 value += A.asHex(t1.readChar$0());
45571 }
45572 this.scanCharIf$1(A.character__isWhitespace$closure());
45573 } else
45574 value = t1.readChar$0();
45575 if (identifierStart) {
45576 t2 = value;
45577 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
45578 } else {
45579 t2 = value;
45580 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
45581 }
45582 if (t2)
45583 try {
45584 t2 = A.Primitives_stringFromCharCode(value);
45585 return t2;
45586 } catch (exception) {
45587 if (type$.RangeError._is(A.unwrapException(exception)))
45588 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
45589 else
45590 throw exception;
45591 }
45592 else {
45593 if (!(value <= 31))
45594 if (!J.$eq$(value, 127))
45595 t1 = identifierStart && A.isDigit(value);
45596 else
45597 t1 = true;
45598 else
45599 t1 = true;
45600 if (t1) {
45601 t1 = "" + A.Primitives_stringFromCharCode(92);
45602 if (value > 15)
45603 t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
45604 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
45605 return t1.charCodeAt(0) == 0 ? t1 : t1;
45606 } else
45607 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
45608 }
45609 },
45610 escape$0() {
45611 return this.escape$1$identifierStart(false);
45612 },
45613 scanCharIf$1(condition) {
45614 var t1 = this.scanner;
45615 if (!condition.call$1(t1.peekChar$0()))
45616 return false;
45617 t1.readChar$0();
45618 return true;
45619 },
45620 scanIdentChar$2$caseSensitive(char, caseSensitive) {
45621 var t3,
45622 t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
45623 t2 = this.scanner,
45624 next = t2.peekChar$0();
45625 if (next != null && t1.call$1(next)) {
45626 t2.readChar$0();
45627 return true;
45628 } else if (next === 92) {
45629 t3 = t2._string_scanner$_position;
45630 if (t1.call$1(A.consumeEscapedCharacter(t2)))
45631 return true;
45632 t2.set$state(new A._SpanScannerState(t2, t3));
45633 }
45634 return false;
45635 },
45636 scanIdentChar$1(char) {
45637 return this.scanIdentChar$2$caseSensitive(char, false);
45638 },
45639 expectIdentChar$1(letter) {
45640 var t1;
45641 if (this.scanIdentChar$2$caseSensitive(letter, false))
45642 return;
45643 t1 = this.scanner;
45644 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
45645 },
45646 lookingAtIdentifier$1($forward) {
45647 var t1, first, second;
45648 if ($forward == null)
45649 $forward = 0;
45650 t1 = this.scanner;
45651 first = t1.peekChar$1($forward);
45652 if (first == null)
45653 return false;
45654 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
45655 return true;
45656 if (first !== 45)
45657 return false;
45658 second = t1.peekChar$1($forward + 1);
45659 if (second == null)
45660 return false;
45661 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
45662 },
45663 lookingAtIdentifier$0() {
45664 return this.lookingAtIdentifier$1(null);
45665 },
45666 lookingAtIdentifierBody$0() {
45667 var t1,
45668 next = this.scanner.peekChar$0();
45669 if (next != null)
45670 t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
45671 else
45672 t1 = false;
45673 return t1;
45674 },
45675 scanIdentifier$2$caseSensitive(text, caseSensitive) {
45676 var t1, start, t2, t3, t4, _this = this;
45677 if (!_this.lookingAtIdentifier$0())
45678 return false;
45679 t1 = _this.scanner;
45680 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45681 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45682 t4 = t2.__internal$_current;
45683 if (_this.scanIdentChar$2$caseSensitive(t4 == null ? t3._as(t4) : t4, caseSensitive))
45684 continue;
45685 if (start._scanner !== t1)
45686 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
45687 t2 = start.position;
45688 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
45689 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
45690 t1._string_scanner$_position = t2;
45691 t1._lastMatch = null;
45692 return false;
45693 }
45694 if (!_this.lookingAtIdentifierBody$0())
45695 return true;
45696 t1.set$state(start);
45697 return false;
45698 },
45699 scanIdentifier$1(text) {
45700 return this.scanIdentifier$2$caseSensitive(text, false);
45701 },
45702 expectIdentifier$2$name(text, $name) {
45703 var t1, start, t2, t3, t4, t5, t6;
45704 if ($name == null)
45705 $name = '"' + text + '"';
45706 t1 = this.scanner;
45707 start = t1._string_scanner$_position;
45708 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = "Expected " + $name, t4 = t3 + ".", t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45709 t6 = t2.__internal$_current;
45710 if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
45711 continue;
45712 t1.error$2$position(0, t4, start);
45713 }
45714 if (!this.lookingAtIdentifierBody$0())
45715 return;
45716 t1.error$2$position(0, t3, start);
45717 },
45718 expectIdentifier$1(text) {
45719 return this.expectIdentifier$2$name(text, null);
45720 },
45721 rawText$1(consumer) {
45722 var t1 = this.scanner,
45723 start = t1._string_scanner$_position;
45724 consumer.call$0();
45725 return t1.substring$1(0, start);
45726 },
45727 error$3(_, message, span, trace) {
45728 var exception = new A.StringScannerException(this.scanner.string, message, span);
45729 if (trace == null)
45730 throw A.wrapException(exception);
45731 else
45732 A.throwWithTrace(exception, trace);
45733 },
45734 error$2($receiver, message, span) {
45735 return this.error$3($receiver, message, span, null);
45736 },
45737 withErrorMessage$1$2(message, callback) {
45738 var error, stackTrace, t1, exception;
45739 try {
45740 t1 = callback.call$0();
45741 return t1;
45742 } catch (exception) {
45743 t1 = A.unwrapException(exception);
45744 if (type$.SourceSpanFormatException._is(t1)) {
45745 error = t1;
45746 stackTrace = A.getTraceFromException(exception);
45747 t1 = J.get$span$z(error);
45748 A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
45749 } else
45750 throw exception;
45751 }
45752 },
45753 withErrorMessage$2(message, callback) {
45754 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
45755 },
45756 wrapSpanFormatException$1$1(callback) {
45757 var error, stackTrace, span, startPosition, t1, exception;
45758 try {
45759 t1 = callback.call$0();
45760 return t1;
45761 } catch (exception) {
45762 t1 = A.unwrapException(exception);
45763 if (type$.SourceSpanFormatException._is(t1)) {
45764 error = t1;
45765 stackTrace = A.getTraceFromException(exception);
45766 span = J.get$span$z(error);
45767 if (A.startsWithIgnoreCase(error._span_exception$_message, "expected")) {
45768 t1 = span;
45769 t1 = t1._end - t1._file$_start === 0;
45770 } else
45771 t1 = false;
45772 if (t1) {
45773 t1 = span;
45774 startPosition = this._firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
45775 t1 = span;
45776 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
45777 span = span.file.span$2(0, startPosition, startPosition);
45778 }
45779 A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
45780 } else
45781 throw exception;
45782 }
45783 },
45784 wrapSpanFormatException$1(callback) {
45785 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
45786 },
45787 _firstNewlineBefore$1(position) {
45788 var t1, lastNewline, codeUnit,
45789 index = position - 1;
45790 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
45791 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
45792 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
45793 return lastNewline == null ? position : lastNewline;
45794 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
45795 lastNewline = index;
45796 --index;
45797 }
45798 return position;
45799 }
45800 };
45801 A.Parser__parseIdentifier_closure.prototype = {
45802 call$0() {
45803 var t1 = this.$this,
45804 result = t1.identifier$0();
45805 t1.scanner.expectDone$0();
45806 return result;
45807 },
45808 $signature: 29
45809 };
45810 A.Parser_scanIdentChar_matches.prototype = {
45811 call$1(actual) {
45812 var t1 = this.char;
45813 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
45814 },
45815 $signature: 57
45816 };
45817 A.SassParser.prototype = {
45818 get$currentIndentation() {
45819 return this._currentIndentation;
45820 },
45821 get$indented() {
45822 return true;
45823 },
45824 styleRuleSelector$0() {
45825 var t4,
45826 t1 = this.scanner,
45827 t2 = t1._string_scanner$_position,
45828 t3 = new A.StringBuffer(""),
45829 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
45830 do {
45831 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
45832 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
45833 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
45834 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45835 },
45836 expectStatementSeparator$1($name) {
45837 var t1, _this = this;
45838 if (!_this.atEndOfStatement$0())
45839 _this._expectNewline$0();
45840 if (_this._peekIndentation$0() <= _this._currentIndentation)
45841 return;
45842 t1 = $name == null ? "here" : "beneath a " + $name;
45843 _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
45844 },
45845 expectStatementSeparator$0() {
45846 return this.expectStatementSeparator$1(null);
45847 },
45848 atEndOfStatement$0() {
45849 var next = this.scanner.peekChar$0();
45850 return next == null || next === 10 || next === 13 || next === 12;
45851 },
45852 lookingAtChildren$0() {
45853 return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
45854 },
45855 importArgument$0() {
45856 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
45857 t1 = _this.scanner;
45858 switch (t1.peekChar$0()) {
45859 case 117:
45860 case 85:
45861 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45862 if (_this.scanIdentifier$1("url"))
45863 if (t1.scanChar$1(40)) {
45864 t1.set$state(start);
45865 return _this.super$StylesheetParser$importArgument();
45866 } else
45867 t1.set$state(start);
45868 break;
45869 case 39:
45870 case 34:
45871 return _this.super$StylesheetParser$importArgument();
45872 }
45873 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45874 next = t1.peekChar$0();
45875 while (true) {
45876 if (next != null)
45877 if (next !== 44)
45878 if (next !== 59)
45879 t2 = !(next === 10 || next === 13 || next === 12);
45880 else
45881 t2 = false;
45882 else
45883 t2 = false;
45884 else
45885 t2 = false;
45886 if (!t2)
45887 break;
45888 t1.readChar$0();
45889 next = t1.peekChar$0();
45890 }
45891 url = t1.substring$1(0, start.position);
45892 span = t1.spanFrom$1(start);
45893 if (_this.isPlainImportUrl$1(url))
45894 return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
45895 else
45896 try {
45897 t1 = _this.parseImportUrl$1(url);
45898 return new A.DynamicImport(t1, span);
45899 } catch (exception) {
45900 t1 = A.unwrapException(exception);
45901 if (type$.FormatException._is(t1)) {
45902 innerError = t1;
45903 stackTrace = A.getTraceFromException(exception);
45904 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
45905 } else
45906 throw exception;
45907 }
45908 },
45909 scanElse$1(ifIndentation) {
45910 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
45911 if (_this._peekIndentation$0() !== ifIndentation)
45912 return false;
45913 t1 = _this.scanner;
45914 t2 = t1._string_scanner$_position;
45915 startIndentation = _this._currentIndentation;
45916 startNextIndentation = _this._nextIndentation;
45917 startNextIndentationEnd = _this._nextIndentationEnd;
45918 _this._readIndentation$0();
45919 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
45920 return true;
45921 t1.set$state(new A._SpanScannerState(t1, t2));
45922 _this._currentIndentation = startIndentation;
45923 _this._nextIndentation = startNextIndentation;
45924 _this._nextIndentationEnd = startNextIndentationEnd;
45925 return false;
45926 },
45927 children$1(_, child) {
45928 var children = A._setArrayType([], type$.JSArray_Statement);
45929 this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
45930 return children;
45931 },
45932 statements$1(statement) {
45933 var statements, t2, child,
45934 t1 = this.scanner,
45935 first = t1.peekChar$0();
45936 if (first === 9 || first === 32)
45937 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
45938 statements = A._setArrayType([], type$.JSArray_Statement);
45939 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
45940 child = this._child$1(statement);
45941 if (child != null)
45942 statements.push(child);
45943 this._readIndentation$0();
45944 }
45945 return statements;
45946 },
45947 _child$1(child) {
45948 var _this = this,
45949 t1 = _this.scanner;
45950 switch (t1.peekChar$0()) {
45951 case 13:
45952 case 10:
45953 case 12:
45954 return null;
45955 case 36:
45956 return _this.variableDeclarationWithoutNamespace$0();
45957 case 47:
45958 switch (t1.peekChar$1(1)) {
45959 case 47:
45960 return _this._silentComment$0();
45961 case 42:
45962 return _this._loudComment$0();
45963 default:
45964 return child.call$0();
45965 }
45966 default:
45967 return child.call$0();
45968 }
45969 },
45970 _silentComment$0() {
45971 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
45972 t1 = _this.scanner,
45973 t2 = t1._string_scanner$_position;
45974 t1.expect$1("//");
45975 buffer = new A.StringBuffer("");
45976 parentIndentation = _this._currentIndentation;
45977 t3 = t1.string.length;
45978 t4 = 1 + parentIndentation;
45979 t5 = 2 + parentIndentation;
45980 $label0$0:
45981 do {
45982 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
45983 for (i = commentPrefix.length; true;) {
45984 t6 = buffer._contents += commentPrefix;
45985 for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
45986 t6 += A.Primitives_stringFromCharCode(32);
45987 buffer._contents = t6;
45988 }
45989 while (true) {
45990 if (t1._string_scanner$_position !== t3) {
45991 t7 = t1.peekChar$0();
45992 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
45993 } else
45994 t7 = false;
45995 if (!t7)
45996 break;
45997 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
45998 buffer._contents = t6;
45999 }
46000 buffer._contents = t6 + "\n";
46001 if (_this._peekIndentation$0() < parentIndentation)
46002 break $label0$0;
46003 if (_this._peekIndentation$0() === parentIndentation) {
46004 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
46005 _this._readIndentation$0();
46006 break;
46007 }
46008 _this._readIndentation$0();
46009 }
46010 } while (t1.scan$1("//"));
46011 t3 = buffer._contents;
46012 return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
46013 },
46014 _loudComment$0() {
46015 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
46016 t1 = _this.scanner,
46017 t2 = t1._string_scanner$_position;
46018 t1.expect$1("/*");
46019 t3 = new A.StringBuffer("");
46020 t4 = A._setArrayType([], type$.JSArray_Object);
46021 buffer = new A.InterpolationBuffer(t3, t4);
46022 t3._contents = "" + "/*";
46023 parentIndentation = _this._currentIndentation;
46024 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
46025 if (first) {
46026 beginningOfComment = t1._string_scanner$_position;
46027 _this.spaces$0();
46028 t7 = t1.peekChar$0();
46029 if (t7 === 10 || t7 === 13 || t7 === 12) {
46030 _this._readIndentation$0();
46031 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
46032 } else {
46033 end = t1._string_scanner$_position;
46034 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
46035 }
46036 } else {
46037 t7 = t3._contents += "\n";
46038 t7 += " * ";
46039 t3._contents = t7;
46040 }
46041 for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
46042 t7 += A.Primitives_stringFromCharCode(32);
46043 t3._contents = t7;
46044 }
46045 $label0$1:
46046 for (; t1._string_scanner$_position !== t6;)
46047 switch (t1.peekChar$0()) {
46048 case 10:
46049 case 13:
46050 case 12:
46051 break $label0$1;
46052 case 35:
46053 if (t1.peekChar$1(1) === 123) {
46054 t7 = _this.singleInterpolation$0();
46055 buffer._flushText$0();
46056 t4.push(t7);
46057 } else
46058 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46059 break;
46060 default:
46061 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46062 break;
46063 }
46064 if (_this._peekIndentation$0() <= parentIndentation)
46065 break;
46066 for (; _this._lookingAtDoubleNewline$0();) {
46067 _this._expectNewline$0();
46068 t7 = t3._contents += "\n";
46069 t3._contents = t7 + " *";
46070 }
46071 _this._readIndentation$0();
46072 }
46073 t4 = t3._contents;
46074 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
46075 t3._contents += " */";
46076 return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
46077 },
46078 whitespaceWithoutComments$0() {
46079 var t1, t2, next;
46080 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
46081 next = t1.peekChar$0();
46082 if (next !== 9 && next !== 32)
46083 break;
46084 t1.readChar$0();
46085 }
46086 },
46087 loudComment$0() {
46088 var next,
46089 t1 = this.scanner;
46090 t1.expect$1("/*");
46091 for (; true;) {
46092 next = t1.readChar$0();
46093 if (next === 10 || next === 13 || next === 12)
46094 t1.error$1(0, "expected */.");
46095 if (next !== 42)
46096 continue;
46097 do
46098 next = t1.readChar$0();
46099 while (next === 42);
46100 if (next === 47)
46101 break;
46102 }
46103 },
46104 _expectNewline$0() {
46105 var t1 = this.scanner;
46106 switch (t1.peekChar$0()) {
46107 case 59:
46108 t1.error$1(0, string$.semico);
46109 break;
46110 case 13:
46111 t1.readChar$0();
46112 if (t1.peekChar$0() === 10)
46113 t1.readChar$0();
46114 return;
46115 case 10:
46116 case 12:
46117 t1.readChar$0();
46118 return;
46119 default:
46120 t1.error$1(0, "expected newline.");
46121 }
46122 },
46123 _lookingAtDoubleNewline$0() {
46124 var nextChar,
46125 t1 = this.scanner;
46126 switch (t1.peekChar$0()) {
46127 case 13:
46128 nextChar = t1.peekChar$1(1);
46129 if (nextChar === 10) {
46130 t1 = t1.peekChar$1(2);
46131 return t1 === 10 || t1 === 13 || t1 === 12;
46132 }
46133 return nextChar === 13 || nextChar === 12;
46134 case 10:
46135 case 12:
46136 t1 = t1.peekChar$1(1);
46137 return t1 === 10 || t1 === 13 || t1 === 12;
46138 default:
46139 return false;
46140 }
46141 },
46142 _whileIndentedLower$1(body) {
46143 var t1, t2, childIndentation, indentation, t3, t4, _this = this,
46144 parentIndentation = _this._currentIndentation;
46145 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
46146 indentation = _this._readIndentation$0();
46147 if (childIndentation == null)
46148 childIndentation = indentation;
46149 if (childIndentation !== indentation) {
46150 t3 = t1._string_scanner$_position;
46151 t4 = t2.getColumn$1(t3);
46152 t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
46153 }
46154 body.call$0();
46155 }
46156 },
46157 _readIndentation$0() {
46158 var t1, _this = this,
46159 currentIndentation = _this._nextIndentation;
46160 if (currentIndentation == null)
46161 currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
46162 _this._currentIndentation = currentIndentation;
46163 t1 = _this._nextIndentationEnd;
46164 t1.toString;
46165 _this.scanner.set$state(t1);
46166 _this._nextIndentationEnd = _this._nextIndentation = null;
46167 return currentIndentation;
46168 },
46169 _peekIndentation$0() {
46170 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
46171 cached = _this._nextIndentation;
46172 if (cached != null)
46173 return cached;
46174 t1 = _this.scanner;
46175 t2 = t1._string_scanner$_position;
46176 t3 = t1.string.length;
46177 if (t2 === t3) {
46178 _this._nextIndentation = 0;
46179 _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
46180 return 0;
46181 }
46182 start = new A._SpanScannerState(t1, t2);
46183 if (!_this.scanCharIf$1(A.character__isNewline$closure()))
46184 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
46185 containsTab = A._Cell$();
46186 containsSpace = A._Cell$();
46187 nextIndentation = A._Cell$();
46188 t2 = nextIndentation.__late_helper$_name;
46189 do {
46190 containsSpace._value = containsTab._value = false;
46191 nextIndentation._value = 0;
46192 for (; true;) {
46193 next = t1.peekChar$0();
46194 if (next === 32)
46195 containsSpace._value = true;
46196 else if (next === 9)
46197 containsTab._value = true;
46198 else
46199 break;
46200 t4 = nextIndentation._value;
46201 if (t4 === nextIndentation)
46202 A.throwExpression(A.LateError$localNI(t2));
46203 nextIndentation._value = t4 + 1;
46204 t1.readChar$0();
46205 }
46206 t4 = t1._string_scanner$_position;
46207 if (t4 === t3) {
46208 _this._nextIndentation = 0;
46209 _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
46210 t1.set$state(start);
46211 return 0;
46212 }
46213 } while (_this.scanCharIf$1(A.character__isNewline$closure()));
46214 t2 = containsTab._readLocal$0();
46215 t3 = containsSpace._readLocal$0();
46216 if (t2) {
46217 if (t3) {
46218 t2 = t1._string_scanner$_position;
46219 t3 = t1._sourceFile;
46220 t4 = t3.getColumn$1(t2);
46221 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46222 } else if (_this._spaces === true) {
46223 t2 = t1._string_scanner$_position;
46224 t3 = t1._sourceFile;
46225 t4 = t3.getColumn$1(t2);
46226 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46227 }
46228 } else if (t3 && _this._spaces === false) {
46229 t2 = t1._string_scanner$_position;
46230 t3 = t1._sourceFile;
46231 t4 = t3.getColumn$1(t2);
46232 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46233 }
46234 _this._nextIndentation = nextIndentation._readLocal$0();
46235 if (nextIndentation._readLocal$0() > 0)
46236 if (_this._spaces == null)
46237 _this._spaces = containsSpace._readLocal$0();
46238 _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
46239 t1.set$state(start);
46240 return nextIndentation._readLocal$0();
46241 }
46242 };
46243 A.SassParser_children_closure.prototype = {
46244 call$0() {
46245 var parsedChild = this.$this._child$1(this.child);
46246 if (parsedChild != null)
46247 this.children.push(parsedChild);
46248 },
46249 $signature: 0
46250 };
46251 A.ScssParser.prototype = {
46252 get$indented() {
46253 return false;
46254 },
46255 get$currentIndentation() {
46256 return 0;
46257 },
46258 styleRuleSelector$0() {
46259 return this.almostAnyValue$0();
46260 },
46261 expectStatementSeparator$1($name) {
46262 var t1, next;
46263 this.whitespaceWithoutComments$0();
46264 t1 = this.scanner;
46265 if (t1._string_scanner$_position === t1.string.length)
46266 return;
46267 next = t1.peekChar$0();
46268 if (next === 59 || next === 125)
46269 return;
46270 t1.expectChar$1(59);
46271 },
46272 expectStatementSeparator$0() {
46273 return this.expectStatementSeparator$1(null);
46274 },
46275 atEndOfStatement$0() {
46276 var next = this.scanner.peekChar$0();
46277 return next == null || next === 59 || next === 125 || next === 123;
46278 },
46279 lookingAtChildren$0() {
46280 return this.scanner.peekChar$0() === 123;
46281 },
46282 scanElse$1(ifIndentation) {
46283 var t3, _this = this,
46284 t1 = _this.scanner,
46285 t2 = t1._string_scanner$_position;
46286 _this.whitespace$0();
46287 t3 = t1._string_scanner$_position;
46288 if (t1.scanChar$1(64)) {
46289 if (_this.scanIdentifier$2$caseSensitive("else", true))
46290 return true;
46291 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
46292 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
46293 t1.set$position(t1._string_scanner$_position - 2);
46294 return true;
46295 }
46296 }
46297 t1.set$state(new A._SpanScannerState(t1, t2));
46298 return false;
46299 },
46300 children$1(_, child) {
46301 var children, _this = this,
46302 t1 = _this.scanner;
46303 t1.expectChar$1(123);
46304 _this.whitespaceWithoutComments$0();
46305 children = A._setArrayType([], type$.JSArray_Statement);
46306 for (; true;)
46307 switch (t1.peekChar$0()) {
46308 case 36:
46309 children.push(_this.variableDeclarationWithoutNamespace$0());
46310 break;
46311 case 47:
46312 switch (t1.peekChar$1(1)) {
46313 case 47:
46314 children.push(_this._scss$_silentComment$0());
46315 _this.whitespaceWithoutComments$0();
46316 break;
46317 case 42:
46318 children.push(_this._scss$_loudComment$0());
46319 _this.whitespaceWithoutComments$0();
46320 break;
46321 default:
46322 children.push(child.call$0());
46323 break;
46324 }
46325 break;
46326 case 59:
46327 t1.readChar$0();
46328 _this.whitespaceWithoutComments$0();
46329 break;
46330 case 125:
46331 t1.expectChar$1(125);
46332 return children;
46333 default:
46334 children.push(child.call$0());
46335 break;
46336 }
46337 },
46338 statements$1(statement) {
46339 var t1, t2, child, _this = this,
46340 statements = A._setArrayType([], type$.JSArray_Statement);
46341 _this.whitespaceWithoutComments$0();
46342 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
46343 switch (t1.peekChar$0()) {
46344 case 36:
46345 statements.push(_this.variableDeclarationWithoutNamespace$0());
46346 break;
46347 case 47:
46348 switch (t1.peekChar$1(1)) {
46349 case 47:
46350 statements.push(_this._scss$_silentComment$0());
46351 _this.whitespaceWithoutComments$0();
46352 break;
46353 case 42:
46354 statements.push(_this._scss$_loudComment$0());
46355 _this.whitespaceWithoutComments$0();
46356 break;
46357 default:
46358 child = statement.call$0();
46359 if (child != null)
46360 statements.push(child);
46361 break;
46362 }
46363 break;
46364 case 59:
46365 t1.readChar$0();
46366 _this.whitespaceWithoutComments$0();
46367 break;
46368 default:
46369 child = statement.call$0();
46370 if (child != null)
46371 statements.push(child);
46372 break;
46373 }
46374 return statements;
46375 },
46376 _scss$_silentComment$0() {
46377 var t2, t3, _this = this,
46378 t1 = _this.scanner,
46379 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46380 t1.expect$1("//");
46381 t2 = t1.string.length;
46382 do {
46383 while (true) {
46384 if (t1._string_scanner$_position !== t2) {
46385 t3 = t1.readChar$0();
46386 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
46387 } else
46388 t3 = false;
46389 if (!t3)
46390 break;
46391 }
46392 if (t1._string_scanner$_position === t2)
46393 break;
46394 _this.whitespaceWithoutComments$0();
46395 } while (t1.scan$1("//"));
46396 if (_this.get$plainCss())
46397 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
46398 return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
46399 },
46400 _scss$_loudComment$0() {
46401 var t3, t4, buffer, t5, endPosition, t6, result,
46402 t1 = this.scanner,
46403 t2 = t1._string_scanner$_position;
46404 t1.expect$1("/*");
46405 t3 = new A.StringBuffer("");
46406 t4 = A._setArrayType([], type$.JSArray_Object);
46407 buffer = new A.InterpolationBuffer(t3, t4);
46408 t3._contents = "" + "/*";
46409 for (; true;)
46410 switch (t1.peekChar$0()) {
46411 case 35:
46412 if (t1.peekChar$1(1) === 123) {
46413 t5 = this.singleInterpolation$0();
46414 buffer._flushText$0();
46415 t4.push(t5);
46416 } else
46417 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46418 break;
46419 case 42:
46420 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46421 if (t1.peekChar$0() !== 47)
46422 break;
46423 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46424 endPosition = t1._string_scanner$_position;
46425 t5 = t1._sourceFile;
46426 t6 = new A._SpanScannerState(t1, t2).position;
46427 t1 = new A._FileSpan(t5, t6, endPosition);
46428 t1._FileSpan$3(t5, t6, endPosition);
46429 t6 = type$.Object;
46430 t5 = A.List_List$of(t4, true, t6);
46431 t2 = t3._contents;
46432 if (t2.length !== 0)
46433 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
46434 result = A.List_List$from(t5, false, t6);
46435 result.fixed$length = Array;
46436 result.immutable$list = Array;
46437 t2 = new A.Interpolation(result, t1);
46438 t2.Interpolation$2(t5, t1);
46439 return new A.LoudComment(t2);
46440 case 13:
46441 t1.readChar$0();
46442 if (t1.peekChar$0() !== 10)
46443 t3._contents += A.Primitives_stringFromCharCode(10);
46444 break;
46445 case 12:
46446 t1.readChar$0();
46447 t3._contents += A.Primitives_stringFromCharCode(10);
46448 break;
46449 default:
46450 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46451 break;
46452 }
46453 }
46454 };
46455 A.SelectorParser.prototype = {
46456 parse$0() {
46457 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
46458 },
46459 parseCompoundSelector$0() {
46460 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
46461 },
46462 _selectorList$0() {
46463 var t3, t4, lineBreak, _this = this,
46464 t1 = _this.scanner,
46465 t2 = t1._sourceFile,
46466 previousLine = t2.getLine$1(t1._string_scanner$_position),
46467 components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
46468 _this.whitespace$0();
46469 for (t3 = t1.string.length; t1.scanChar$1(44);) {
46470 _this.whitespace$0();
46471 if (t1.peekChar$0() === 44)
46472 continue;
46473 t4 = t1._string_scanner$_position;
46474 if (t4 === t3)
46475 break;
46476 lineBreak = t2.getLine$1(t4) !== previousLine;
46477 if (lineBreak)
46478 previousLine = t2.getLine$1(t1._string_scanner$_position);
46479 components.push(_this._complexSelector$1$lineBreak(lineBreak));
46480 }
46481 return A.SelectorList$(components);
46482 },
46483 _complexSelector$1$lineBreak(lineBreak) {
46484 var t1, next, _this = this,
46485 _s58_ = string$.x22x26__ma,
46486 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
46487 $label0$1:
46488 for (t1 = _this.scanner; true;) {
46489 _this.whitespace$0();
46490 next = t1.peekChar$0();
46491 switch (next) {
46492 case 43:
46493 t1.readChar$0();
46494 components.push(B.Combinator_uzg);
46495 break;
46496 case 62:
46497 t1.readChar$0();
46498 components.push(B.Combinator_sgq);
46499 break;
46500 case 126:
46501 t1.readChar$0();
46502 components.push(B.Combinator_CzM);
46503 break;
46504 case 91:
46505 case 46:
46506 case 35:
46507 case 37:
46508 case 58:
46509 case 38:
46510 case 42:
46511 case 124:
46512 components.push(_this._compoundSelector$0());
46513 if (t1.peekChar$0() === 38)
46514 t1.error$1(0, _s58_);
46515 break;
46516 default:
46517 if (next == null || !_this.lookingAtIdentifier$0())
46518 break $label0$1;
46519 components.push(_this._compoundSelector$0());
46520 if (t1.peekChar$0() === 38)
46521 t1.error$1(0, _s58_);
46522 break;
46523 }
46524 }
46525 if (components.length === 0)
46526 t1.error$1(0, "expected selector.");
46527 return A.ComplexSelector$(components, lineBreak);
46528 },
46529 _complexSelector$0() {
46530 return this._complexSelector$1$lineBreak(false);
46531 },
46532 _compoundSelector$0() {
46533 var t2,
46534 components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
46535 t1 = this.scanner;
46536 while (true) {
46537 t2 = t1.peekChar$0();
46538 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
46539 break;
46540 components.push(this._simpleSelector$1$allowParent(false));
46541 }
46542 return A.CompoundSelector$(components);
46543 },
46544 _simpleSelector$1$allowParent(allowParent) {
46545 var $name, text, t2, suffix, _this = this,
46546 t1 = _this.scanner,
46547 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46548 if (allowParent == null)
46549 allowParent = _this._allowParent;
46550 switch (t1.peekChar$0()) {
46551 case 91:
46552 return _this._attributeSelector$0();
46553 case 46:
46554 t1.expectChar$1(46);
46555 return new A.ClassSelector(_this.identifier$0());
46556 case 35:
46557 t1.expectChar$1(35);
46558 return new A.IDSelector(_this.identifier$0());
46559 case 37:
46560 t1.expectChar$1(37);
46561 $name = _this.identifier$0();
46562 if (!_this._allowPlaceholder)
46563 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
46564 return new A.PlaceholderSelector($name);
46565 case 58:
46566 return _this._pseudoSelector$0();
46567 case 38:
46568 t1.expectChar$1(38);
46569 if (_this.lookingAtIdentifierBody$0()) {
46570 text = new A.StringBuffer("");
46571 _this._identifierBody$1(text);
46572 if (text._contents.length === 0)
46573 t1.error$1(0, "Expected identifier body.");
46574 t2 = text._contents;
46575 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
46576 } else
46577 suffix = null;
46578 if (!allowParent)
46579 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
46580 return new A.ParentSelector(suffix);
46581 default:
46582 return _this._typeOrUniversalSelector$0();
46583 }
46584 },
46585 _simpleSelector$0() {
46586 return this._simpleSelector$1$allowParent(null);
46587 },
46588 _attributeSelector$0() {
46589 var $name, operator, next, value, modifier, _this = this, _null = null,
46590 t1 = _this.scanner;
46591 t1.expectChar$1(91);
46592 _this.whitespace$0();
46593 $name = _this._attributeName$0();
46594 _this.whitespace$0();
46595 if (t1.scanChar$1(93))
46596 return new A.AttributeSelector($name, _null, _null, _null);
46597 operator = _this._attributeOperator$0();
46598 _this.whitespace$0();
46599 next = t1.peekChar$0();
46600 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
46601 _this.whitespace$0();
46602 next = t1.peekChar$0();
46603 modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
46604 t1.expectChar$1(93);
46605 return new A.AttributeSelector($name, operator, value, modifier);
46606 },
46607 _attributeName$0() {
46608 var nameOrNamespace, _this = this,
46609 t1 = _this.scanner;
46610 if (t1.scanChar$1(42)) {
46611 t1.expectChar$1(124);
46612 return new A.QualifiedName(_this.identifier$0(), "*");
46613 }
46614 if (t1.scanChar$1(124))
46615 return new A.QualifiedName(_this.identifier$0(), "");
46616 nameOrNamespace = _this.identifier$0();
46617 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
46618 return new A.QualifiedName(nameOrNamespace, null);
46619 t1.readChar$0();
46620 return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
46621 },
46622 _attributeOperator$0() {
46623 var t1 = this.scanner,
46624 t2 = t1._string_scanner$_position;
46625 switch (t1.readChar$0()) {
46626 case 61:
46627 return B.AttributeOperator_sEs;
46628 case 126:
46629 t1.expectChar$1(61);
46630 return B.AttributeOperator_fz1;
46631 case 124:
46632 t1.expectChar$1(61);
46633 return B.AttributeOperator_AuK;
46634 case 94:
46635 t1.expectChar$1(61);
46636 return B.AttributeOperator_4L5;
46637 case 36:
46638 t1.expectChar$1(61);
46639 return B.AttributeOperator_mOX;
46640 case 42:
46641 t1.expectChar$1(61);
46642 return B.AttributeOperator_gqZ;
46643 default:
46644 t1.error$2$position(0, 'Expected "]".', t2);
46645 }
46646 },
46647 _pseudoSelector$0() {
46648 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
46649 t1 = _this.scanner;
46650 t1.expectChar$1(58);
46651 element = t1.scanChar$1(58);
46652 $name = _this.identifier$0();
46653 if (!t1.scanChar$1(40))
46654 return A.PseudoSelector$($name, _null, element, _null);
46655 _this.whitespace$0();
46656 unvendored = A.unvendor($name);
46657 if (element)
46658 if ($._selectorPseudoElements.contains$1(0, unvendored)) {
46659 selector = _this._selectorList$0();
46660 argument = _null;
46661 } else {
46662 argument = _this.declarationValue$1$allowEmpty(true);
46663 selector = _null;
46664 }
46665 else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
46666 selector = _this._selectorList$0();
46667 argument = _null;
46668 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
46669 argument = _this._aNPlusB$0();
46670 _this.whitespace$0();
46671 t2 = t1.peekChar$1(-1);
46672 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
46673 _this.expectIdentifier$1("of");
46674 argument += " of";
46675 _this.whitespace$0();
46676 selector = _this._selectorList$0();
46677 } else
46678 selector = _null;
46679 } else {
46680 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
46681 selector = _null;
46682 }
46683 t1.expectChar$1(41);
46684 return A.PseudoSelector$($name, argument, element, selector);
46685 },
46686 _aNPlusB$0() {
46687 var t2, first, t3, next, last, _this = this,
46688 t1 = _this.scanner;
46689 switch (t1.peekChar$0()) {
46690 case 101:
46691 case 69:
46692 _this.expectIdentifier$1("even");
46693 return "even";
46694 case 111:
46695 case 79:
46696 _this.expectIdentifier$1("odd");
46697 return "odd";
46698 case 43:
46699 case 45:
46700 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
46701 break;
46702 default:
46703 t2 = "";
46704 }
46705 first = t1.peekChar$0();
46706 if (first != null && A.isDigit(first)) {
46707 while (true) {
46708 t3 = t1.peekChar$0();
46709 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46710 break;
46711 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46712 }
46713 _this.whitespace$0();
46714 if (!_this.scanIdentChar$1(110))
46715 return t2.charCodeAt(0) == 0 ? t2 : t2;
46716 } else
46717 _this.expectIdentChar$1(110);
46718 t2 += A.Primitives_stringFromCharCode(110);
46719 _this.whitespace$0();
46720 next = t1.peekChar$0();
46721 if (next !== 43 && next !== 45)
46722 return t2.charCodeAt(0) == 0 ? t2 : t2;
46723 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46724 _this.whitespace$0();
46725 last = t1.peekChar$0();
46726 if (last == null || !A.isDigit(last))
46727 t1.error$1(0, "Expected a number.");
46728 while (true) {
46729 t3 = t1.peekChar$0();
46730 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46731 break;
46732 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46733 }
46734 return t2.charCodeAt(0) == 0 ? t2 : t2;
46735 },
46736 _typeOrUniversalSelector$0() {
46737 var nameOrNamespace, _this = this,
46738 t1 = _this.scanner,
46739 first = t1.peekChar$0();
46740 if (first === 42) {
46741 t1.readChar$0();
46742 if (!t1.scanChar$1(124))
46743 return new A.UniversalSelector(null);
46744 if (t1.scanChar$1(42))
46745 return new A.UniversalSelector("*");
46746 else
46747 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
46748 } else if (first === 124) {
46749 t1.readChar$0();
46750 if (t1.scanChar$1(42))
46751 return new A.UniversalSelector("");
46752 else
46753 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
46754 }
46755 nameOrNamespace = _this.identifier$0();
46756 if (!t1.scanChar$1(124))
46757 return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
46758 else if (t1.scanChar$1(42))
46759 return new A.UniversalSelector(nameOrNamespace);
46760 else
46761 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
46762 }
46763 };
46764 A.SelectorParser_parse_closure.prototype = {
46765 call$0() {
46766 var t1 = this.$this,
46767 selector = t1._selectorList$0();
46768 t1 = t1.scanner;
46769 if (t1._string_scanner$_position !== t1.string.length)
46770 t1.error$1(0, "expected selector.");
46771 return selector;
46772 },
46773 $signature: 44
46774 };
46775 A.SelectorParser_parseCompoundSelector_closure.prototype = {
46776 call$0() {
46777 var t1 = this.$this,
46778 compound = t1._compoundSelector$0();
46779 t1 = t1.scanner;
46780 if (t1._string_scanner$_position !== t1.string.length)
46781 t1.error$1(0, "expected selector.");
46782 return compound;
46783 },
46784 $signature: 340
46785 };
46786 A.StylesheetParser.prototype = {
46787 parse$0() {
46788 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
46789 },
46790 parseArgumentDeclaration$0() {
46791 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
46792 },
46793 parseVariableDeclaration$0() {
46794 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
46795 },
46796 parseUseRule$0() {
46797 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
46798 },
46799 _parseSingleProduction$1$1(production, $T) {
46800 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
46801 },
46802 _statement$1$root(root) {
46803 var t2, _this = this,
46804 t1 = _this.scanner;
46805 switch (t1.peekChar$0()) {
46806 case 64:
46807 return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
46808 case 43:
46809 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
46810 return _this._styleRule$0();
46811 _this._isUseAllowed = false;
46812 t2 = t1._string_scanner$_position;
46813 t1.readChar$0();
46814 return _this._includeRule$1(new A._SpanScannerState(t1, t2));
46815 case 61:
46816 if (!_this.get$indented())
46817 return _this._styleRule$0();
46818 _this._isUseAllowed = false;
46819 t2 = t1._string_scanner$_position;
46820 t1.readChar$0();
46821 _this.whitespace$0();
46822 return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
46823 case 125:
46824 t1.error$2$length(0, 'unmatched "}".', 1);
46825 break;
46826 default:
46827 return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
46828 }
46829 },
46830 _statement$0() {
46831 return this._statement$1$root(false);
46832 },
46833 _variableDeclarationWithNamespace$0() {
46834 var t1 = this.scanner,
46835 t2 = t1._string_scanner$_position,
46836 namespace = this.identifier$0();
46837 t1.expectChar$1(46);
46838 return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
46839 },
46840 variableDeclarationWithoutNamespace$2(namespace, start_) {
46841 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
46842 precedingComment = _this.lastSilentComment;
46843 _this.lastSilentComment = null;
46844 if (start_ == null) {
46845 t1 = _this.scanner;
46846 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46847 } else
46848 start = start_;
46849 $name = _this.variableName$0();
46850 t1 = namespace != null;
46851 if (t1)
46852 _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
46853 if (_this.get$plainCss())
46854 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
46855 _this.whitespace$0();
46856 t2 = _this.scanner;
46857 t2.expectChar$1(58);
46858 _this.whitespace$0();
46859 value = _this.expression$0();
46860 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46861 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
46862 flag = _this.identifier$0();
46863 if (flag === "default")
46864 guarded = true;
46865 else if (flag === "global") {
46866 if (t1) {
46867 endPosition = t2._string_scanner$_position;
46868 t4 = t2._sourceFile;
46869 t5 = flagStart.position;
46870 t6 = new A._FileSpan(t4, t5, endPosition);
46871 t6._FileSpan$3(t4, t5, endPosition);
46872 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
46873 }
46874 global = true;
46875 } else {
46876 endPosition = t2._string_scanner$_position;
46877 t4 = t2._sourceFile;
46878 t5 = flagStart.position;
46879 t6 = new A._FileSpan(t4, t5, endPosition);
46880 t6._FileSpan$3(t4, t5, endPosition);
46881 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
46882 }
46883 _this.whitespace$0();
46884 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46885 }
46886 _this.expectStatementSeparator$1("variable declaration");
46887 declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
46888 if (global)
46889 _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
46890 return declaration;
46891 },
46892 variableDeclarationWithoutNamespace$0() {
46893 return this.variableDeclarationWithoutNamespace$2(null, null);
46894 },
46895 _variableDeclarationOrStyleRule$0() {
46896 var t1, t2, variableOrInterpolation, t3, _this = this;
46897 if (_this.get$plainCss())
46898 return _this._styleRule$0();
46899 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46900 return _this._styleRule$0();
46901 if (!_this.lookingAtIdentifier$0())
46902 return _this._styleRule$0();
46903 t1 = _this.scanner;
46904 t2 = t1._string_scanner$_position;
46905 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
46906 if (variableOrInterpolation instanceof A.VariableDeclaration)
46907 return variableOrInterpolation;
46908 else {
46909 t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
46910 t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46911 return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
46912 }
46913 },
46914 _declarationOrStyleRule$0() {
46915 var t1, t2, declarationOrBuffer, _this = this;
46916 if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
46917 return _this._propertyOrVariableDeclaration$0();
46918 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46919 return _this._styleRule$0();
46920 t1 = _this.scanner;
46921 t2 = t1._string_scanner$_position;
46922 declarationOrBuffer = _this._declarationOrBuffer$0();
46923 return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
46924 },
46925 _declarationOrBuffer$0() {
46926 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
46927 t2 = _this.scanner,
46928 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
46929 nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
46930 first = t2.peekChar$0();
46931 if (first !== 58)
46932 if (first !== 42)
46933 if (first !== 46)
46934 t3 = first === 35 && t2.peekChar$1(1) !== 123;
46935 else
46936 t3 = true;
46937 else
46938 t3 = true;
46939 else
46940 t3 = true;
46941 if (t3) {
46942 t3 = t2.readChar$0();
46943 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
46944 t3 = _this.rawText$1(_this.get$whitespace());
46945 nameBuffer._interpolation_buffer$_text._contents += t3;
46946 startsWithPunctuation = true;
46947 } else
46948 startsWithPunctuation = false;
46949 if (!_this._lookingAtInterpolatedIdentifier$0())
46950 return nameBuffer;
46951 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
46952 if (variableOrInterpolation instanceof A.VariableDeclaration)
46953 return variableOrInterpolation;
46954 else
46955 nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46956 _this._isUseAllowed = false;
46957 if (t2.matches$1("/*")) {
46958 t3 = _this.rawText$1(_this.get$loudComment());
46959 nameBuffer._interpolation_buffer$_text._contents += t3;
46960 }
46961 midBuffer = new A.StringBuffer("");
46962 t3 = _this.get$whitespace();
46963 midBuffer._contents += _this.rawText$1(t3);
46964 t4 = t2._string_scanner$_position;
46965 if (!t2.scanChar$1(58)) {
46966 if (midBuffer._contents.length !== 0)
46967 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
46968 return nameBuffer;
46969 }
46970 midBuffer._contents += A.Primitives_stringFromCharCode(58);
46971 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
46972 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
46973 t1 = _this._interpolatedDeclarationValue$0();
46974 _this.expectStatementSeparator$1("custom property");
46975 return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
46976 }
46977 if (t2.scanChar$1(58)) {
46978 t1 = nameBuffer;
46979 t2 = t1._interpolation_buffer$_text;
46980 t3 = t2._contents += A.S(midBuffer);
46981 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
46982 return t1;
46983 } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
46984 t1 = nameBuffer;
46985 t1._interpolation_buffer$_text._contents += A.S(midBuffer);
46986 return t1;
46987 }
46988 postColonWhitespace = _this.rawText$1(t3);
46989 if (_this.lookingAtChildren$0())
46990 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
46991 midBuffer._contents += postColonWhitespace;
46992 couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
46993 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
46994 t3 = t1.value = null;
46995 try {
46996 t3 = t1.value = _this.expression$0();
46997 if (_this.lookingAtChildren$0()) {
46998 if (couldBeSelector)
46999 _this.expectStatementSeparator$0();
47000 } else if (!_this.atEndOfStatement$0())
47001 _this.expectStatementSeparator$0();
47002 } catch (exception) {
47003 if (type$.FormatException._is(A.unwrapException(exception))) {
47004 if (!couldBeSelector)
47005 throw exception;
47006 t2.set$state(beforeDeclaration);
47007 additional = _this.almostAnyValue$0();
47008 if (!_this.get$indented() && t2.peekChar$0() === 59)
47009 throw exception;
47010 nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
47011 nameBuffer.addInterpolation$1(additional);
47012 return nameBuffer;
47013 } else
47014 throw exception;
47015 }
47016 if (_this.lookingAtChildren$0())
47017 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
47018 else {
47019 _this.expectStatementSeparator$0();
47020 return A.Declaration$($name, t3, t2.spanFrom$1(start));
47021 }
47022 },
47023 _variableDeclarationOrInterpolation$0() {
47024 var t1, start, identifier, t2, buffer, _this = this;
47025 if (!_this.lookingAtIdentifier$0())
47026 return _this.interpolatedIdentifier$0();
47027 t1 = _this.scanner;
47028 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47029 identifier = _this.identifier$0();
47030 if (t1.matches$1(".$")) {
47031 t1.readChar$0();
47032 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
47033 } else {
47034 t2 = new A.StringBuffer("");
47035 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
47036 t2._contents = "" + identifier;
47037 if (_this._lookingAtInterpolatedIdentifierBody$0())
47038 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
47039 return buffer.interpolation$1(t1.spanFrom$1(start));
47040 }
47041 },
47042 _styleRule$2(buffer, start_) {
47043 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
47044 _this._isUseAllowed = false;
47045 if (start_ == null) {
47046 t2 = _this.scanner;
47047 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47048 } else
47049 start = start_;
47050 interpolation = t1.interpolation = _this.styleRuleSelector$0();
47051 if (buffer != null) {
47052 buffer.addInterpolation$1(interpolation);
47053 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
47054 } else
47055 t2 = interpolation;
47056 if (t2.contents.length === 0)
47057 _this.scanner.error$1(0, 'expected "}".');
47058 wasInStyleRule = _this._inStyleRule;
47059 _this._inStyleRule = true;
47060 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
47061 },
47062 _styleRule$0() {
47063 return this._styleRule$2(null, null);
47064 },
47065 _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
47066 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
47067 _s48_ = string$.Nested,
47068 t1 = {},
47069 t2 = _this.scanner,
47070 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47071 t1.name = null;
47072 first = t2.peekChar$0();
47073 if (first !== 58)
47074 if (first !== 42)
47075 if (first !== 46)
47076 t3 = first === 35 && t2.peekChar$1(1) !== 123;
47077 else
47078 t3 = true;
47079 else
47080 t3 = true;
47081 else
47082 t3 = true;
47083 if (t3) {
47084 t3 = new A.StringBuffer("");
47085 nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
47086 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
47087 t3._contents += _this.rawText$1(_this.get$whitespace());
47088 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
47089 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
47090 } else if (!_this.get$plainCss()) {
47091 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
47092 if (variableOrInterpolation instanceof A.VariableDeclaration)
47093 return variableOrInterpolation;
47094 else {
47095 type$.Interpolation._as(variableOrInterpolation);
47096 t1.name = variableOrInterpolation;
47097 }
47098 t3 = variableOrInterpolation;
47099 } else {
47100 $name = _this.interpolatedIdentifier$0();
47101 t1.name = $name;
47102 t3 = $name;
47103 }
47104 _this.whitespace$0();
47105 t2.expectChar$1(58);
47106 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
47107 t1 = _this._interpolatedDeclarationValue$0();
47108 _this.expectStatementSeparator$1("custom property");
47109 return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
47110 }
47111 _this.whitespace$0();
47112 if (_this.lookingAtChildren$0()) {
47113 if (_this.get$plainCss())
47114 t2.error$1(0, _s48_);
47115 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
47116 }
47117 value = _this.expression$0();
47118 if (_this.lookingAtChildren$0()) {
47119 if (_this.get$plainCss())
47120 t2.error$1(0, _s48_);
47121 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
47122 } else {
47123 _this.expectStatementSeparator$0();
47124 return A.Declaration$(t3, value, t2.spanFrom$1(start));
47125 }
47126 },
47127 _propertyOrVariableDeclaration$0() {
47128 return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
47129 },
47130 _declarationChild$0() {
47131 if (this.scanner.peekChar$0() === 64)
47132 return this._declarationAtRule$0();
47133 return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
47134 },
47135 atRule$2$root(child, root) {
47136 var $name, wasUseAllowed, value, optional, _this = this,
47137 t1 = _this.scanner,
47138 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47139 t1.expectChar$2$name(64, "@-rule");
47140 $name = _this.interpolatedIdentifier$0();
47141 _this.whitespace$0();
47142 wasUseAllowed = _this._isUseAllowed;
47143 _this._isUseAllowed = false;
47144 switch ($name.get$asPlain()) {
47145 case "at-root":
47146 return _this._atRootRule$1(start);
47147 case "content":
47148 return _this._contentRule$1(start);
47149 case "debug":
47150 return _this._debugRule$1(start);
47151 case "each":
47152 return _this._eachRule$2(start, child);
47153 case "else":
47154 return _this._disallowedAtRule$1(start);
47155 case "error":
47156 return _this._errorRule$1(start);
47157 case "extend":
47158 if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
47159 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
47160 value = _this.almostAnyValue$0();
47161 optional = t1.scanChar$1(33);
47162 if (optional)
47163 _this.expectIdentifier$1("optional");
47164 _this.expectStatementSeparator$1("@extend rule");
47165 return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
47166 case "for":
47167 return _this._forRule$2(start, child);
47168 case "forward":
47169 _this._isUseAllowed = wasUseAllowed;
47170 if (!root)
47171 _this._disallowedAtRule$1(start);
47172 return _this._forwardRule$1(start);
47173 case "function":
47174 return _this._functionRule$1(start);
47175 case "if":
47176 return _this._ifRule$2(start, child);
47177 case "import":
47178 return _this._importRule$1(start);
47179 case "include":
47180 return _this._includeRule$1(start);
47181 case "media":
47182 return _this.mediaRule$1(start);
47183 case "mixin":
47184 return _this._mixinRule$1(start);
47185 case "-moz-document":
47186 return _this.mozDocumentRule$2(start, $name);
47187 case "return":
47188 return _this._disallowedAtRule$1(start);
47189 case "supports":
47190 return _this.supportsRule$1(start);
47191 case "use":
47192 _this._isUseAllowed = wasUseAllowed;
47193 if (!root)
47194 _this._disallowedAtRule$1(start);
47195 return _this._useRule$1(start);
47196 case "warn":
47197 return _this._warnRule$1(start);
47198 case "while":
47199 return _this._whileRule$2(start, child);
47200 default:
47201 return _this.unknownAtRule$2(start, $name);
47202 }
47203 },
47204 _declarationAtRule$0() {
47205 var _this = this,
47206 t1 = _this.scanner,
47207 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47208 switch (_this._plainAtRuleName$0()) {
47209 case "content":
47210 return _this._contentRule$1(start);
47211 case "debug":
47212 return _this._debugRule$1(start);
47213 case "each":
47214 return _this._eachRule$2(start, _this.get$_declarationChild());
47215 case "else":
47216 return _this._disallowedAtRule$1(start);
47217 case "error":
47218 return _this._errorRule$1(start);
47219 case "for":
47220 return _this._forRule$2(start, _this.get$_declarationChild());
47221 case "if":
47222 return _this._ifRule$2(start, _this.get$_declarationChild());
47223 case "include":
47224 return _this._includeRule$1(start);
47225 case "warn":
47226 return _this._warnRule$1(start);
47227 case "while":
47228 return _this._whileRule$2(start, _this.get$_declarationChild());
47229 default:
47230 return _this._disallowedAtRule$1(start);
47231 }
47232 },
47233 _functionChild$0() {
47234 var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
47235 t1 = _this.scanner;
47236 if (t1.peekChar$0() !== 64) {
47237 state = new A._SpanScannerState(t1, t1._string_scanner$_position);
47238 try {
47239 t2 = _this._variableDeclarationWithNamespace$0();
47240 return t2;
47241 } catch (exception) {
47242 t2 = A.unwrapException(exception);
47243 t3 = type$.SourceSpanFormatException;
47244 if (t3._is(t2)) {
47245 variableDeclarationError = t2;
47246 stackTrace = A.getTraceFromException(exception);
47247 t1.set$state(state);
47248 statement = null;
47249 try {
47250 statement = _this._declarationOrStyleRule$0();
47251 } catch (exception) {
47252 if (t3._is(A.unwrapException(exception)))
47253 throw A.wrapException(variableDeclarationError);
47254 else
47255 throw exception;
47256 }
47257 t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
47258 _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
47259 } else
47260 throw exception;
47261 }
47262 }
47263 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47264 switch (_this._plainAtRuleName$0()) {
47265 case "debug":
47266 return _this._debugRule$1(start);
47267 case "each":
47268 return _this._eachRule$2(start, _this.get$_functionChild());
47269 case "else":
47270 return _this._disallowedAtRule$1(start);
47271 case "error":
47272 return _this._errorRule$1(start);
47273 case "for":
47274 return _this._forRule$2(start, _this.get$_functionChild());
47275 case "if":
47276 return _this._ifRule$2(start, _this.get$_functionChild());
47277 case "return":
47278 value = _this.expression$0();
47279 _this.expectStatementSeparator$1("@return rule");
47280 return new A.ReturnRule(value, t1.spanFrom$1(start));
47281 case "warn":
47282 return _this._warnRule$1(start);
47283 case "while":
47284 return _this._whileRule$2(start, _this.get$_functionChild());
47285 default:
47286 return _this._disallowedAtRule$1(start);
47287 }
47288 },
47289 _plainAtRuleName$0() {
47290 this.scanner.expectChar$2$name(64, "@-rule");
47291 var $name = this.identifier$0();
47292 this.whitespace$0();
47293 return $name;
47294 },
47295 _atRootRule$1(start) {
47296 var query, _this = this,
47297 t1 = _this.scanner;
47298 if (t1.peekChar$0() === 40) {
47299 query = _this._atRootQuery$0();
47300 _this.whitespace$0();
47301 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
47302 } else if (_this.lookingAtChildren$0())
47303 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
47304 else
47305 return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
47306 },
47307 _atRootQuery$0() {
47308 var interpolation, t2, t3, t4, buffer, t5, _this = this,
47309 t1 = _this.scanner;
47310 if (t1.peekChar$0() === 35) {
47311 interpolation = _this.singleInterpolation$0();
47312 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
47313 }
47314 t2 = t1._string_scanner$_position;
47315 t3 = new A.StringBuffer("");
47316 t4 = A._setArrayType([], type$.JSArray_Object);
47317 buffer = new A.InterpolationBuffer(t3, t4);
47318 t1.expectChar$1(40);
47319 t3._contents += A.Primitives_stringFromCharCode(40);
47320 _this.whitespace$0();
47321 t5 = _this.expression$0();
47322 buffer._flushText$0();
47323 t4.push(t5);
47324 if (t1.scanChar$1(58)) {
47325 _this.whitespace$0();
47326 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
47327 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
47328 t5 = _this.expression$0();
47329 buffer._flushText$0();
47330 t4.push(t5);
47331 }
47332 t1.expectChar$1(41);
47333 _this.whitespace$0();
47334 t3._contents += A.Primitives_stringFromCharCode(41);
47335 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47336 },
47337 _contentRule$1(start) {
47338 var t1, $arguments, t2, t3, _this = this;
47339 if (!_this._stylesheet$_inMixin)
47340 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
47341 _this.whitespace$0();
47342 t1 = _this.scanner;
47343 if (t1.peekChar$0() === 40)
47344 $arguments = _this._argumentInvocation$1$mixin(true);
47345 else {
47346 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47347 t3 = t2.offset;
47348 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47349 }
47350 _this.expectStatementSeparator$1("@content rule");
47351 return new A.ContentRule($arguments, t1.spanFrom$1(start));
47352 },
47353 _debugRule$1(start) {
47354 var value = this.expression$0();
47355 this.expectStatementSeparator$1("@debug rule");
47356 return new A.DebugRule(value, this.scanner.spanFrom$1(start));
47357 },
47358 _eachRule$2(start, child) {
47359 var variables, t1, _this = this,
47360 wasInControlDirective = _this._inControlDirective;
47361 _this._inControlDirective = true;
47362 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
47363 _this.whitespace$0();
47364 for (t1 = _this.scanner; t1.scanChar$1(44);) {
47365 _this.whitespace$0();
47366 t1.expectChar$1(36);
47367 variables.push(_this.identifier$1$normalize(true));
47368 _this.whitespace$0();
47369 }
47370 _this.expectIdentifier$1("in");
47371 _this.whitespace$0();
47372 return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this.expression$0()));
47373 },
47374 _errorRule$1(start) {
47375 var value = this.expression$0();
47376 this.expectStatementSeparator$1("@error rule");
47377 return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
47378 },
47379 _functionRule$1(start) {
47380 var $name, $arguments, _this = this,
47381 precedingComment = _this.lastSilentComment;
47382 _this.lastSilentComment = null;
47383 $name = _this.identifier$1$normalize(true);
47384 _this.whitespace$0();
47385 $arguments = _this._argumentDeclaration$0();
47386 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47387 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
47388 else if (_this._inControlDirective)
47389 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
47390 switch (A.unvendor($name)) {
47391 case "calc":
47392 case "element":
47393 case "expression":
47394 case "url":
47395 case "and":
47396 case "or":
47397 case "not":
47398 case "clamp":
47399 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
47400 break;
47401 }
47402 _this.whitespace$0();
47403 return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
47404 },
47405 _forRule$2(start, child) {
47406 var variable, from, _this = this, t1 = {},
47407 wasInControlDirective = _this._inControlDirective;
47408 _this._inControlDirective = true;
47409 variable = _this.variableName$0();
47410 _this.whitespace$0();
47411 _this.expectIdentifier$1("from");
47412 _this.whitespace$0();
47413 t1.exclusive = null;
47414 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
47415 if (t1.exclusive == null)
47416 _this.scanner.error$1(0, 'Expected "to" or "through".');
47417 _this.whitespace$0();
47418 return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
47419 },
47420 _forwardRule$1(start) {
47421 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
47422 url = _this._urlString$0();
47423 _this.whitespace$0();
47424 if (_this.scanIdentifier$1("as")) {
47425 _this.whitespace$0();
47426 prefix = _this.identifier$1$normalize(true);
47427 _this.scanner.expectChar$1(42);
47428 _this.whitespace$0();
47429 } else
47430 prefix = _null;
47431 if (_this.scanIdentifier$1("show")) {
47432 members = _this._memberList$0();
47433 shownMixinsAndFunctions = members.item1;
47434 shownVariables = members.item2;
47435 hiddenVariables = _null;
47436 hiddenMixinsAndFunctions = hiddenVariables;
47437 } else {
47438 if (_this.scanIdentifier$1("hide")) {
47439 members = _this._memberList$0();
47440 hiddenMixinsAndFunctions = members.item1;
47441 hiddenVariables = members.item2;
47442 } else {
47443 hiddenVariables = _null;
47444 hiddenMixinsAndFunctions = hiddenVariables;
47445 }
47446 shownVariables = _null;
47447 shownMixinsAndFunctions = shownVariables;
47448 }
47449 configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
47450 _this.expectStatementSeparator$1("@forward rule");
47451 span = _this.scanner.spanFrom$1(start);
47452 if (!_this._isUseAllowed)
47453 _this.error$2(0, string$.x40forwa, span);
47454 if (shownMixinsAndFunctions != null) {
47455 shownVariables.toString;
47456 t1 = type$.String;
47457 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
47458 t3 = type$.UnmodifiableSetView_String;
47459 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
47460 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47461 return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
47462 } else if (hiddenMixinsAndFunctions != null) {
47463 hiddenVariables.toString;
47464 t1 = type$.String;
47465 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
47466 t3 = type$.UnmodifiableSetView_String;
47467 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
47468 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47469 return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
47470 } else
47471 return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47472 },
47473 _memberList$0() {
47474 var _this = this,
47475 t1 = type$.String,
47476 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
47477 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
47478 t1 = _this.scanner;
47479 do {
47480 _this.whitespace$0();
47481 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
47482 _this.whitespace$0();
47483 } while (t1.scanChar$1(44));
47484 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
47485 },
47486 _ifRule$2(start, child) {
47487 var condition, children, clauses, lastClause, span, _this = this,
47488 ifIndentation = _this.get$currentIndentation(),
47489 wasInControlDirective = _this._inControlDirective;
47490 _this._inControlDirective = true;
47491 condition = _this.expression$0();
47492 children = _this.children$1(0, child);
47493 _this.whitespaceWithoutComments$0();
47494 clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
47495 while (true) {
47496 if (!_this.scanElse$1(ifIndentation)) {
47497 lastClause = null;
47498 break;
47499 }
47500 _this.whitespace$0();
47501 if (_this.scanIdentifier$1("if")) {
47502 _this.whitespace$0();
47503 clauses.push(A.IfClause$(_this.expression$0(), _this.children$1(0, child)));
47504 } else {
47505 lastClause = A.ElseClause$(_this.children$1(0, child));
47506 break;
47507 }
47508 }
47509 _this._inControlDirective = wasInControlDirective;
47510 span = _this.scanner.spanFrom$1(start);
47511 _this.whitespaceWithoutComments$0();
47512 return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
47513 },
47514 _importRule$1(start) {
47515 var argument, _this = this,
47516 imports = A._setArrayType([], type$.JSArray_Import),
47517 t1 = _this.scanner;
47518 do {
47519 _this.whitespace$0();
47520 argument = _this.importArgument$0();
47521 if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
47522 _this._disallowedAtRule$1(start);
47523 imports.push(argument);
47524 _this.whitespace$0();
47525 } while (t1.scanChar$1(44));
47526 _this.expectStatementSeparator$1("@import rule");
47527 t1 = t1.spanFrom$1(start);
47528 return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
47529 },
47530 importArgument$0() {
47531 var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
47532 t1 = _this.scanner,
47533 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
47534 next = t1.peekChar$0();
47535 if (next === 117 || next === 85) {
47536 url = _this.dynamicUrl$0();
47537 _this.whitespace$0();
47538 modifiers = _this.tryImportModifiers$0();
47539 return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
47540 }
47541 url = _this.string$0();
47542 urlSpan = t1.spanFrom$1(start);
47543 _this.whitespace$0();
47544 modifiers = _this.tryImportModifiers$0();
47545 if (_this.isPlainImportUrl$1(url) || modifiers != null) {
47546 t2 = urlSpan;
47547 return new A.StaticImport(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), modifiers, t1.spanFrom$1(start));
47548 } else
47549 try {
47550 t1 = _this.parseImportUrl$1(url);
47551 return new A.DynamicImport(t1, urlSpan);
47552 } catch (exception) {
47553 t1 = A.unwrapException(exception);
47554 if (type$.FormatException._is(t1)) {
47555 innerError = t1;
47556 stackTrace = A.getTraceFromException(exception);
47557 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
47558 } else
47559 throw exception;
47560 }
47561 },
47562 parseImportUrl$1(url) {
47563 var t1 = $.$get$windows();
47564 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
47565 return t1.toUri$1(url).toString$0(0);
47566 A.Uri_parse(url);
47567 return url;
47568 },
47569 isPlainImportUrl$1(url) {
47570 var first;
47571 if (url.length < 5)
47572 return false;
47573 if (B.JSString_methods.endsWith$1(url, ".css"))
47574 return true;
47575 first = B.JSString_methods._codeUnitAt$1(url, 0);
47576 if (first === 47)
47577 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
47578 if (first !== 104)
47579 return false;
47580 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
47581 },
47582 tryImportModifiers$0() {
47583 var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
47584 if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
47585 return null;
47586 t1 = _this.scanner;
47587 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47588 t2 = new A.StringBuffer("");
47589 t3 = A._setArrayType([], type$.JSArray_Object);
47590 buffer = new A.InterpolationBuffer(t2, t3);
47591 for (; true;)
47592 if (_this._lookingAtInterpolatedIdentifier$0()) {
47593 if (!(t3.length === 0 && t2._contents.length === 0))
47594 t2._contents += A.Primitives_stringFromCharCode(32);
47595 identifier = _this.interpolatedIdentifier$0();
47596 buffer.addInterpolation$1(identifier);
47597 t4 = identifier.get$asPlain();
47598 $name = t4 == null ? null : t4.toLowerCase();
47599 if ($name !== "and" && t1.scanChar$1(40)) {
47600 if ($name === "supports") {
47601 query = _this._importSupportsQuery$0();
47602 t4 = !(query instanceof A.SupportsDeclaration);
47603 if (t4)
47604 t2._contents += A.Primitives_stringFromCharCode(40);
47605 buffer._flushText$0();
47606 t3.push(new A.SupportsExpression(query));
47607 if (t4)
47608 t2._contents += A.Primitives_stringFromCharCode(41);
47609 } else {
47610 t2._contents += A.Primitives_stringFromCharCode(40);
47611 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
47612 t2._contents += A.Primitives_stringFromCharCode(41);
47613 }
47614 t1.expectChar$1(41);
47615 _this.whitespace$0();
47616 } else {
47617 _this.whitespace$0();
47618 if (t1.scanChar$1(44)) {
47619 t2._contents += ", ";
47620 buffer.addInterpolation$1(_this._mediaQueryList$0());
47621 endPosition = t1._string_scanner$_position;
47622 t4 = t1._sourceFile;
47623 t5 = start.position;
47624 t1 = new A._FileSpan(t4, t5, endPosition);
47625 t1._FileSpan$3(t4, t5, endPosition);
47626 t5 = type$.Object;
47627 t4 = A.List_List$of(t3, true, t5);
47628 t3 = t2._contents;
47629 if (t3.length !== 0)
47630 t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
47631 result = A.List_List$from(t4, false, t5);
47632 result.fixed$length = Array;
47633 result.immutable$list = Array;
47634 t2 = new A.Interpolation(result, t1);
47635 t2.Interpolation$2(t4, t1);
47636 return t2;
47637 }
47638 }
47639 } else if (t1.peekChar$0() === 40) {
47640 if (!(t3.length === 0 && t2._contents.length === 0))
47641 t2._contents += A.Primitives_stringFromCharCode(32);
47642 buffer.addInterpolation$1(_this._mediaQueryList$0());
47643 endPosition = t1._string_scanner$_position;
47644 t1 = t1._sourceFile;
47645 t4 = start.position;
47646 t5 = new A._FileSpan(t1, t4, endPosition);
47647 t5._FileSpan$3(t1, t4, endPosition);
47648 t4 = type$.Object;
47649 t3 = A.List_List$of(t3, true, t4);
47650 t1 = t2._contents;
47651 if (t1.length !== 0)
47652 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
47653 result = A.List_List$from(t3, false, t4);
47654 result.fixed$length = Array;
47655 result.immutable$list = Array;
47656 t1 = new A.Interpolation(result, t5);
47657 t1.Interpolation$2(t3, t5);
47658 return t1;
47659 } else {
47660 endPosition = t1._string_scanner$_position;
47661 t1 = t1._sourceFile;
47662 t4 = start.position;
47663 t5 = new A._FileSpan(t1, t4, endPosition);
47664 t5._FileSpan$3(t1, t4, endPosition);
47665 t4 = type$.Object;
47666 t3 = A.List_List$of(t3, true, t4);
47667 t1 = t2._contents;
47668 if (t1.length !== 0)
47669 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
47670 result = A.List_List$from(t3, false, t4);
47671 result.fixed$length = Array;
47672 result.immutable$list = Array;
47673 t1 = new A.Interpolation(result, t5);
47674 t1.Interpolation$2(t3, t5);
47675 return t1;
47676 }
47677 },
47678 _importSupportsQuery$0() {
47679 var t1, t2, $function, $name, _this = this;
47680 if (_this.scanIdentifier$1("not")) {
47681 _this.whitespace$0();
47682 t1 = _this.scanner;
47683 t2 = t1._string_scanner$_position;
47684 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47685 } else {
47686 t1 = _this.scanner;
47687 if (t1.peekChar$0() === 40)
47688 return _this._supportsCondition$0();
47689 else {
47690 $function = _this._tryImportSupportsFunction$0();
47691 if ($function != null)
47692 return $function;
47693 t2 = t1._string_scanner$_position;
47694 $name = _this.expression$0();
47695 t1.expectChar$1(58);
47696 return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
47697 }
47698 }
47699 },
47700 _tryImportSupportsFunction$0() {
47701 var t1, start, $name, value, _this = this;
47702 if (!_this._lookingAtInterpolatedIdentifier$0())
47703 return null;
47704 t1 = _this.scanner;
47705 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47706 $name = _this.interpolatedIdentifier$0();
47707 if (!t1.scanChar$1(40)) {
47708 t1.set$state(start);
47709 return null;
47710 }
47711 value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
47712 t1.expectChar$1(41);
47713 return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
47714 },
47715 _includeRule$1(start) {
47716 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
47717 $name = _this.identifier$0(),
47718 t1 = _this.scanner;
47719 if (t1.scanChar$1(46)) {
47720 name0 = _this._publicIdentifier$0();
47721 namespace = $name;
47722 $name = name0;
47723 } else {
47724 $name = A.stringReplaceAllUnchecked($name, "_", "-");
47725 namespace = _null;
47726 }
47727 _this.whitespace$0();
47728 if (t1.peekChar$0() === 40)
47729 $arguments = _this._argumentInvocation$1$mixin(true);
47730 else {
47731 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47732 t3 = t2.offset;
47733 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47734 }
47735 _this.whitespace$0();
47736 if (_this.scanIdentifier$1("using")) {
47737 _this.whitespace$0();
47738 contentArguments = _this._argumentDeclaration$0();
47739 _this.whitespace$0();
47740 } else
47741 contentArguments = _null;
47742 t2 = contentArguments == null;
47743 if (!t2 || _this.lookingAtChildren$0()) {
47744 if (t2) {
47745 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47746 t3 = t2.offset;
47747 contentArguments_ = new A.ArgumentDeclaration(B.List_empty8, _null, A._FileSpan$(t2.file, t3, t3));
47748 } else
47749 contentArguments_ = contentArguments;
47750 wasInContentBlock = _this._inContentBlock;
47751 _this._inContentBlock = true;
47752 $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
47753 _this._inContentBlock = wasInContentBlock;
47754 } else {
47755 _this.expectStatementSeparator$0();
47756 $content = _null;
47757 }
47758 t1 = t1.spanFrom$2(start, start);
47759 t2 = $content == null ? $arguments : $content;
47760 return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
47761 },
47762 mediaRule$1(start) {
47763 return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
47764 },
47765 _mixinRule$1(start) {
47766 var $name, t1, $arguments, t2, t3, _this = this,
47767 precedingComment = _this.lastSilentComment;
47768 _this.lastSilentComment = null;
47769 $name = _this.identifier$1$normalize(true);
47770 _this.whitespace$0();
47771 t1 = _this.scanner;
47772 if (t1.peekChar$0() === 40)
47773 $arguments = _this._argumentDeclaration$0();
47774 else {
47775 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47776 t3 = t2.offset;
47777 $arguments = new A.ArgumentDeclaration(B.List_empty8, null, A._FileSpan$(t2.file, t3, t3));
47778 }
47779 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47780 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
47781 else if (_this._inControlDirective)
47782 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
47783 _this.whitespace$0();
47784 _this._stylesheet$_inMixin = true;
47785 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
47786 },
47787 mozDocumentRule$2(start, $name) {
47788 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
47789 t1 = _this.scanner,
47790 t2 = t1._string_scanner$_position,
47791 t3 = new A.StringBuffer(""),
47792 t4 = A._setArrayType([], type$.JSArray_Object),
47793 buffer = new A.InterpolationBuffer(t3, t4);
47794 _box_0.needsDeprecationWarning = false;
47795 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
47796 if (t1.peekChar$0() === 35) {
47797 t7 = _this.singleInterpolation$0();
47798 buffer._flushText$0();
47799 t4.push(t7);
47800 _box_0.needsDeprecationWarning = true;
47801 } else {
47802 t7 = t1._string_scanner$_position;
47803 identifier = _this.identifier$0();
47804 switch (identifier) {
47805 case "url":
47806 case "url-prefix":
47807 case "domain":
47808 contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
47809 if (contents != null)
47810 buffer.addInterpolation$1(contents);
47811 else {
47812 t1.expectChar$1(40);
47813 _this.whitespace$0();
47814 argument = _this.interpolatedString$0();
47815 t1.expectChar$1(41);
47816 t7 = t3._contents += identifier;
47817 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
47818 buffer.addInterpolation$1(argument.asInterpolation$0());
47819 t3._contents += A.Primitives_stringFromCharCode(41);
47820 }
47821 t7 = t3._contents;
47822 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
47823 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("")'))
47824 _box_0.needsDeprecationWarning = true;
47825 break;
47826 case "regexp":
47827 t3._contents += "regexp(";
47828 t1.expectChar$1(40);
47829 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
47830 t1.expectChar$1(41);
47831 t3._contents += A.Primitives_stringFromCharCode(41);
47832 _box_0.needsDeprecationWarning = true;
47833 break;
47834 default:
47835 endPosition = t1._string_scanner$_position;
47836 t8 = t1._sourceFile;
47837 t9 = new A._FileSpan(t8, t7, endPosition);
47838 t9._FileSpan$3(t8, t7, endPosition);
47839 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
47840 }
47841 }
47842 _this.whitespace$0();
47843 if (!t1.scanChar$1(44))
47844 break;
47845 t3._contents += A.Primitives_stringFromCharCode(44);
47846 start0 = t1._string_scanner$_position;
47847 t5.call$0();
47848 end = t1._string_scanner$_position;
47849 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
47850 }
47851 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)))));
47852 },
47853 supportsRule$1(start) {
47854 var _this = this,
47855 condition = _this._supportsCondition$0();
47856 _this.whitespace$0();
47857 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
47858 },
47859 _useRule$1(start) {
47860 var namespace, configuration, span, t1, _this = this,
47861 _s9_ = "@use rule",
47862 url = _this._urlString$0();
47863 _this.whitespace$0();
47864 namespace = _this._useNamespace$2(url, start);
47865 _this.whitespace$0();
47866 configuration = _this._stylesheet$_configuration$0();
47867 _this.expectStatementSeparator$1(_s9_);
47868 span = _this.scanner.spanFrom$1(start);
47869 if (!_this._isUseAllowed)
47870 _this.error$2(0, string$.x40use_r, span);
47871 _this.expectStatementSeparator$1(_s9_);
47872 t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47873 t1.UseRule$4$configuration(url, namespace, span, configuration);
47874 return t1;
47875 },
47876 _useNamespace$2(url, start) {
47877 var namespace, basename, dot, t1, exception, _this = this;
47878 if (_this.scanIdentifier$1("as")) {
47879 _this.whitespace$0();
47880 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
47881 }
47882 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
47883 dot = B.JSString_methods.indexOf$1(basename, ".");
47884 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
47885 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
47886 try {
47887 t1 = A.SpanScanner$(namespace, null);
47888 t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
47889 return t1;
47890 } catch (exception) {
47891 if (A.unwrapException(exception) instanceof A.SassFormatException)
47892 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
47893 else
47894 throw exception;
47895 }
47896 },
47897 _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
47898 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
47899 if (!_this.scanIdentifier$1("with"))
47900 return null;
47901 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47902 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
47903 _this.whitespace$0();
47904 t1 = _this.scanner;
47905 t1.expectChar$1(40);
47906 for (t2 = t1.string; true;) {
47907 _this.whitespace$0();
47908 t3 = t1._string_scanner$_position;
47909 t1.expectChar$1(36);
47910 $name = _this.identifier$1$normalize(true);
47911 _this.whitespace$0();
47912 t1.expectChar$1(58);
47913 _this.whitespace$0();
47914 expression = _this._expressionUntilComma$0();
47915 t4 = t1._string_scanner$_position;
47916 if (allowGuarded && t1.scanChar$1(33))
47917 if (_this.identifier$0() === "default") {
47918 _this.whitespace$0();
47919 guarded = true;
47920 } else {
47921 endPosition = t1._string_scanner$_position;
47922 t5 = t1._sourceFile;
47923 t6 = new A._FileSpan(t5, t4, endPosition);
47924 t6._FileSpan$3(t5, t4, endPosition);
47925 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
47926 guarded = false;
47927 }
47928 else
47929 guarded = false;
47930 endPosition = t1._string_scanner$_position;
47931 t4 = t1._sourceFile;
47932 span = new A._FileSpan(t4, t3, endPosition);
47933 span._FileSpan$3(t4, t3, endPosition);
47934 if (variableNames.contains$1(0, $name))
47935 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
47936 variableNames.add$1(0, $name);
47937 configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
47938 if (!t1.scanChar$1(44))
47939 break;
47940 _this.whitespace$0();
47941 if (!_this._lookingAtExpression$0())
47942 break;
47943 }
47944 t1.expectChar$1(41);
47945 return configuration;
47946 },
47947 _stylesheet$_configuration$0() {
47948 return this._stylesheet$_configuration$1$allowGuarded(false);
47949 },
47950 _warnRule$1(start) {
47951 var value = this.expression$0();
47952 this.expectStatementSeparator$1("@warn rule");
47953 return new A.WarnRule(value, this.scanner.spanFrom$1(start));
47954 },
47955 _whileRule$2(start, child) {
47956 var _this = this,
47957 wasInControlDirective = _this._inControlDirective;
47958 _this._inControlDirective = true;
47959 return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this.expression$0()));
47960 },
47961 unknownAtRule$2(start, $name) {
47962 var t2, t3, rule, _this = this, t1 = {},
47963 wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
47964 _this._stylesheet$_inUnknownAtRule = true;
47965 t1.value = null;
47966 t2 = _this.scanner;
47967 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
47968 if (_this.lookingAtChildren$0())
47969 rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
47970 else {
47971 _this.expectStatementSeparator$0();
47972 rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
47973 }
47974 _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
47975 return rule;
47976 },
47977 _disallowedAtRule$1(start) {
47978 this.almostAnyValue$0();
47979 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
47980 },
47981 _argumentDeclaration$0() {
47982 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
47983 t1 = _this.scanner,
47984 t2 = t1._string_scanner$_position;
47985 t1.expectChar$1(40);
47986 _this.whitespace$0();
47987 $arguments = A._setArrayType([], type$.JSArray_Argument);
47988 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47989 t3 = t1.string;
47990 while (true) {
47991 if (!(t1.peekChar$0() === 36)) {
47992 restArgument = null;
47993 break;
47994 }
47995 t4 = t1._string_scanner$_position;
47996 t1.expectChar$1(36);
47997 $name = _this.identifier$1$normalize(true);
47998 _this.whitespace$0();
47999 if (t1.scanChar$1(58)) {
48000 _this.whitespace$0();
48001 defaultValue = _this._expressionUntilComma$0();
48002 } else {
48003 if (t1.scanChar$1(46)) {
48004 t1.expectChar$1(46);
48005 t1.expectChar$1(46);
48006 _this.whitespace$0();
48007 restArgument = $name;
48008 break;
48009 }
48010 defaultValue = null;
48011 }
48012 endPosition = t1._string_scanner$_position;
48013 t5 = t1._sourceFile;
48014 t6 = new A._FileSpan(t5, t4, endPosition);
48015 t6._FileSpan$3(t5, t4, endPosition);
48016 $arguments.push(new A.Argument($name, defaultValue, t6));
48017 if (!named.add$1(0, $name))
48018 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
48019 if (!t1.scanChar$1(44)) {
48020 restArgument = null;
48021 break;
48022 }
48023 _this.whitespace$0();
48024 }
48025 t1.expectChar$1(41);
48026 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48027 return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
48028 },
48029 _argumentInvocation$1$mixin(mixin) {
48030 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
48031 t1 = _this.scanner,
48032 t2 = t1._string_scanner$_position;
48033 t1.expectChar$1(40);
48034 _this.whitespace$0();
48035 positional = A._setArrayType([], type$.JSArray_Expression);
48036 t3 = type$.String;
48037 t4 = type$.Expression;
48038 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
48039 t5 = !mixin;
48040 t6 = t1.string;
48041 rest = null;
48042 while (true) {
48043 if (!_this._lookingAtExpression$0()) {
48044 keywordRest = null;
48045 break;
48046 }
48047 expression = _this._expressionUntilComma$1$singleEquals(t5);
48048 _this.whitespace$0();
48049 if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
48050 _this.whitespace$0();
48051 t7 = expression.name;
48052 if (named.containsKey$1(t7))
48053 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
48054 named.$indexSet(0, t7, _this._expressionUntilComma$1$singleEquals(t5));
48055 } else if (t1.scanChar$1(46)) {
48056 t1.expectChar$1(46);
48057 t1.expectChar$1(46);
48058 if (rest != null) {
48059 _this.whitespace$0();
48060 keywordRest = expression;
48061 break;
48062 }
48063 rest = expression;
48064 } else if (named.__js_helper$_length !== 0)
48065 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
48066 else
48067 positional.push(expression);
48068 _this.whitespace$0();
48069 if (!t1.scanChar$1(44)) {
48070 keywordRest = null;
48071 break;
48072 }
48073 _this.whitespace$0();
48074 }
48075 t1.expectChar$1(41);
48076 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48077 return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
48078 },
48079 _argumentInvocation$0() {
48080 return this._argumentInvocation$1$mixin(false);
48081 },
48082 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
48083 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
48084 _s20_ = "Expected expression.",
48085 _box_0 = {},
48086 t1 = until != null;
48087 if (t1 && until.call$0())
48088 _this.scanner.error$1(0, _s20_);
48089 if (bracketList) {
48090 t2 = _this.scanner;
48091 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
48092 t2.expectChar$1(91);
48093 _this.whitespace$0();
48094 if (t2.scanChar$1(93)) {
48095 t1 = A._setArrayType([], type$.JSArray_Expression);
48096 t2 = t2.spanFrom$1(beforeBracket);
48097 return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48098 }
48099 } else
48100 beforeBracket = null;
48101 t2 = _this.scanner;
48102 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
48103 wasInParentheses = _this._inParentheses;
48104 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
48105 _box_0.allowSlash = true;
48106 _box_0.singleExpression_ = _this._singleExpression$0();
48107 resetState = new A.StylesheetParser_expression_resetState(_box_0, _this, start);
48108 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation(_box_0, _this);
48109 resolveOperations = new A.StylesheetParser_expression_resolveOperations(_box_0, resolveOneOperation);
48110 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
48111 addOperator = new A.StylesheetParser_expression_addOperator(_box_0, _this, resolveOneOperation);
48112 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
48113 $label0$0:
48114 for (t3 = type$.JSArray_Expression; true;) {
48115 _this.whitespace$0();
48116 if (t1 && until.call$0())
48117 break $label0$0;
48118 first = t2.peekChar$0();
48119 switch (first) {
48120 case 40:
48121 addSingleExpression.call$1(_this._parentheses$0());
48122 break;
48123 case 91:
48124 addSingleExpression.call$1(_this.expression$1$bracketList(true));
48125 break;
48126 case 36:
48127 addSingleExpression.call$1(_this._variable$0());
48128 break;
48129 case 38:
48130 addSingleExpression.call$1(_this._selector$0());
48131 break;
48132 case 39:
48133 case 34:
48134 addSingleExpression.call$1(_this.interpolatedString$0());
48135 break;
48136 case 35:
48137 addSingleExpression.call$1(_this._hashExpression$0());
48138 break;
48139 case 61:
48140 t2.readChar$0();
48141 if (singleEquals && t2.peekChar$0() !== 61)
48142 addOperator.call$1(B.BinaryOperator_kjl);
48143 else {
48144 t2.expectChar$1(61);
48145 addOperator.call$1(B.BinaryOperator_YlX);
48146 }
48147 break;
48148 case 33:
48149 next = t2.peekChar$1(1);
48150 if (next === 61) {
48151 t2.readChar$0();
48152 t2.readChar$0();
48153 addOperator.call$1(B.BinaryOperator_i5H);
48154 } else {
48155 if (next != null)
48156 if ((next | 32) >>> 0 !== 105)
48157 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
48158 else
48159 t4 = true;
48160 else
48161 t4 = true;
48162 if (t4)
48163 addSingleExpression.call$1(_this._importantExpression$0());
48164 else
48165 break $label0$0;
48166 }
48167 break;
48168 case 60:
48169 t2.readChar$0();
48170 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h : B.BinaryOperator_8qt);
48171 break;
48172 case 62:
48173 t2.readChar$0();
48174 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da : B.BinaryOperator_AcR);
48175 break;
48176 case 42:
48177 t2.readChar$0();
48178 addOperator.call$1(B.BinaryOperator_O1M);
48179 break;
48180 case 43:
48181 if (_box_0.singleExpression_ == null)
48182 addSingleExpression.call$1(_this._unaryOperation$0());
48183 else {
48184 t2.readChar$0();
48185 addOperator.call$1(B.BinaryOperator_AcR0);
48186 }
48187 break;
48188 case 45:
48189 next = t2.peekChar$1(1);
48190 if (next != null && next >= 48 && next <= 57 || next === 46)
48191 if (_box_0.singleExpression_ != null) {
48192 t4 = t2.peekChar$1(-1);
48193 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
48194 } else
48195 t4 = true;
48196 else
48197 t4 = false;
48198 if (t4)
48199 addSingleExpression.call$1(_this._number$0());
48200 else if (_this._lookingAtInterpolatedIdentifier$0())
48201 addSingleExpression.call$1(_this.identifierLike$0());
48202 else if (_box_0.singleExpression_ == null)
48203 addSingleExpression.call$1(_this._unaryOperation$0());
48204 else {
48205 t2.readChar$0();
48206 addOperator.call$1(B.BinaryOperator_iyO);
48207 }
48208 break;
48209 case 47:
48210 if (_box_0.singleExpression_ == null)
48211 addSingleExpression.call$1(_this._unaryOperation$0());
48212 else {
48213 t2.readChar$0();
48214 addOperator.call$1(B.BinaryOperator_RTB);
48215 }
48216 break;
48217 case 37:
48218 t2.readChar$0();
48219 addOperator.call$1(B.BinaryOperator_2ad);
48220 break;
48221 case 48:
48222 case 49:
48223 case 50:
48224 case 51:
48225 case 52:
48226 case 53:
48227 case 54:
48228 case 55:
48229 case 56:
48230 case 57:
48231 addSingleExpression.call$1(_this._number$0());
48232 break;
48233 case 46:
48234 if (t2.peekChar$1(1) === 46)
48235 break $label0$0;
48236 addSingleExpression.call$1(_this._number$0());
48237 break;
48238 case 97:
48239 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
48240 addOperator.call$1(B.BinaryOperator_and_and_2);
48241 else
48242 addSingleExpression.call$1(_this.identifierLike$0());
48243 break;
48244 case 111:
48245 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
48246 addOperator.call$1(B.BinaryOperator_or_or_1);
48247 else
48248 addSingleExpression.call$1(_this.identifierLike$0());
48249 break;
48250 case 117:
48251 case 85:
48252 if (t2.peekChar$1(1) === 43)
48253 addSingleExpression.call$1(_this._unicodeRange$0());
48254 else
48255 addSingleExpression.call$1(_this.identifierLike$0());
48256 break;
48257 case 98:
48258 case 99:
48259 case 100:
48260 case 101:
48261 case 102:
48262 case 103:
48263 case 104:
48264 case 105:
48265 case 106:
48266 case 107:
48267 case 108:
48268 case 109:
48269 case 110:
48270 case 112:
48271 case 113:
48272 case 114:
48273 case 115:
48274 case 116:
48275 case 118:
48276 case 119:
48277 case 120:
48278 case 121:
48279 case 122:
48280 case 65:
48281 case 66:
48282 case 67:
48283 case 68:
48284 case 69:
48285 case 70:
48286 case 71:
48287 case 72:
48288 case 73:
48289 case 74:
48290 case 75:
48291 case 76:
48292 case 77:
48293 case 78:
48294 case 79:
48295 case 80:
48296 case 81:
48297 case 82:
48298 case 83:
48299 case 84:
48300 case 86:
48301 case 87:
48302 case 88:
48303 case 89:
48304 case 90:
48305 case 95:
48306 case 92:
48307 addSingleExpression.call$1(_this.identifierLike$0());
48308 break;
48309 case 44:
48310 if (_this._inParentheses) {
48311 _this._inParentheses = false;
48312 if (_box_0.allowSlash) {
48313 resetState.call$0();
48314 break;
48315 }
48316 }
48317 commaExpressions = _box_0.commaExpressions_;
48318 if (commaExpressions == null)
48319 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
48320 if (_box_0.singleExpression_ == null)
48321 t2.error$1(0, _s20_);
48322 resolveSpaceExpressions.call$0();
48323 t4 = _box_0.singleExpression_;
48324 t4.toString;
48325 commaExpressions.push(t4);
48326 t2.readChar$0();
48327 _box_0.allowSlash = true;
48328 _box_0.singleExpression_ = null;
48329 break;
48330 default:
48331 if (first != null && first >= 128) {
48332 addSingleExpression.call$1(_this.identifierLike$0());
48333 break;
48334 } else
48335 break $label0$0;
48336 }
48337 }
48338 if (bracketList)
48339 t2.expectChar$1(93);
48340 commaExpressions = _box_0.commaExpressions_;
48341 spaceExpressions = _box_0.spaceExpressions_;
48342 if (commaExpressions != null) {
48343 resolveSpaceExpressions.call$0();
48344 _this._inParentheses = wasInParentheses;
48345 singleExpression = _box_0.singleExpression_;
48346 if (singleExpression != null)
48347 commaExpressions.push(singleExpression);
48348 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
48349 return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_kWM, bracketList, t1);
48350 } else if (bracketList && spaceExpressions != null) {
48351 resolveOperations.call$0();
48352 t1 = _box_0.singleExpression_;
48353 t1.toString;
48354 spaceExpressions.push(t1);
48355 beforeBracket.toString;
48356 t2 = t2.spanFrom$1(beforeBracket);
48357 return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, true, t2);
48358 } else {
48359 resolveSpaceExpressions.call$0();
48360 if (bracketList) {
48361 t1 = _box_0.singleExpression_;
48362 t1.toString;
48363 t3 = A._setArrayType([t1], t3);
48364 beforeBracket.toString;
48365 t2 = t2.spanFrom$1(beforeBracket);
48366 _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48367 }
48368 t1 = _box_0.singleExpression_;
48369 t1.toString;
48370 return t1;
48371 }
48372 },
48373 expression$0() {
48374 return this.expression$3$bracketList$singleEquals$until(false, false, null);
48375 },
48376 expression$2$singleEquals$until(singleEquals, until) {
48377 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
48378 },
48379 expression$1$bracketList(bracketList) {
48380 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
48381 },
48382 expression$1$singleEquals(singleEquals) {
48383 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
48384 },
48385 expression$1$until(until) {
48386 return this.expression$3$bracketList$singleEquals$until(false, false, until);
48387 },
48388 _expressionUntilComma$1$singleEquals(singleEquals) {
48389 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure(this));
48390 },
48391 _expressionUntilComma$0() {
48392 return this._expressionUntilComma$1$singleEquals(false);
48393 },
48394 _isSlashOperand$1(expression) {
48395 var t1;
48396 if (!(expression instanceof A.NumberExpression))
48397 if (!(expression instanceof A.CalculationExpression))
48398 t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
48399 else
48400 t1 = true;
48401 else
48402 t1 = true;
48403 return t1;
48404 },
48405 _singleExpression$0() {
48406 var next, _this = this,
48407 t1 = _this.scanner,
48408 first = t1.peekChar$0();
48409 switch (first) {
48410 case 40:
48411 return _this._parentheses$0();
48412 case 47:
48413 return _this._unaryOperation$0();
48414 case 46:
48415 return _this._number$0();
48416 case 91:
48417 return _this.expression$1$bracketList(true);
48418 case 36:
48419 return _this._variable$0();
48420 case 38:
48421 return _this._selector$0();
48422 case 39:
48423 case 34:
48424 return _this.interpolatedString$0();
48425 case 35:
48426 return _this._hashExpression$0();
48427 case 43:
48428 next = t1.peekChar$1(1);
48429 return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
48430 case 45:
48431 return _this._minusExpression$0();
48432 case 33:
48433 return _this._importantExpression$0();
48434 case 117:
48435 case 85:
48436 if (t1.peekChar$1(1) === 43)
48437 return _this._unicodeRange$0();
48438 else
48439 return _this.identifierLike$0();
48440 case 48:
48441 case 49:
48442 case 50:
48443 case 51:
48444 case 52:
48445 case 53:
48446 case 54:
48447 case 55:
48448 case 56:
48449 case 57:
48450 return _this._number$0();
48451 case 97:
48452 case 98:
48453 case 99:
48454 case 100:
48455 case 101:
48456 case 102:
48457 case 103:
48458 case 104:
48459 case 105:
48460 case 106:
48461 case 107:
48462 case 108:
48463 case 109:
48464 case 110:
48465 case 111:
48466 case 112:
48467 case 113:
48468 case 114:
48469 case 115:
48470 case 116:
48471 case 118:
48472 case 119:
48473 case 120:
48474 case 121:
48475 case 122:
48476 case 65:
48477 case 66:
48478 case 67:
48479 case 68:
48480 case 69:
48481 case 70:
48482 case 71:
48483 case 72:
48484 case 73:
48485 case 74:
48486 case 75:
48487 case 76:
48488 case 77:
48489 case 78:
48490 case 79:
48491 case 80:
48492 case 81:
48493 case 82:
48494 case 83:
48495 case 84:
48496 case 86:
48497 case 87:
48498 case 88:
48499 case 89:
48500 case 90:
48501 case 95:
48502 case 92:
48503 return _this.identifierLike$0();
48504 default:
48505 if (first != null && first >= 128)
48506 return _this.identifierLike$0();
48507 t1.error$1(0, "Expected expression.");
48508 }
48509 },
48510 _parentheses$0() {
48511 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
48512 if (_this.get$plainCss())
48513 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
48514 wasInParentheses = _this._inParentheses;
48515 _this._inParentheses = true;
48516 try {
48517 t1 = _this.scanner;
48518 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48519 t1.expectChar$1(40);
48520 _this.whitespace$0();
48521 if (!_this._lookingAtExpression$0()) {
48522 t1.expectChar$1(41);
48523 t2 = A._setArrayType([], type$.JSArray_Expression);
48524 t1 = t1.spanFrom$1(start);
48525 t2 = A.List_List$unmodifiable(t2, type$.Expression);
48526 return new A.ListExpression(t2, B.ListSeparator_undecided_null, false, t1);
48527 }
48528 first = _this._expressionUntilComma$0();
48529 if (t1.scanChar$1(58)) {
48530 _this.whitespace$0();
48531 t1 = _this._stylesheet$_map$2(first, start);
48532 return t1;
48533 }
48534 if (!t1.scanChar$1(44)) {
48535 t1.expectChar$1(41);
48536 t1 = t1.spanFrom$1(start);
48537 return new A.ParenthesizedExpression(first, t1);
48538 }
48539 _this.whitespace$0();
48540 expressions = A._setArrayType([first], type$.JSArray_Expression);
48541 for (; true;) {
48542 if (!_this._lookingAtExpression$0())
48543 break;
48544 J.add$1$ax(expressions, _this._expressionUntilComma$0());
48545 if (!t1.scanChar$1(44))
48546 break;
48547 _this.whitespace$0();
48548 }
48549 t1.expectChar$1(41);
48550 t1 = t1.spanFrom$1(start);
48551 t2 = A.List_List$unmodifiable(expressions, type$.Expression);
48552 return new A.ListExpression(t2, B.ListSeparator_kWM, false, t1);
48553 } finally {
48554 _this._inParentheses = wasInParentheses;
48555 }
48556 },
48557 _stylesheet$_map$2(first, start) {
48558 var t2, key, _this = this,
48559 t1 = type$.Tuple2_Expression_Expression,
48560 pairs = A._setArrayType([new A.Tuple2(first, _this._expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
48561 for (t2 = _this.scanner; t2.scanChar$1(44);) {
48562 _this.whitespace$0();
48563 if (!_this._lookingAtExpression$0())
48564 break;
48565 key = _this._expressionUntilComma$0();
48566 t2.expectChar$1(58);
48567 _this.whitespace$0();
48568 pairs.push(new A.Tuple2(key, _this._expressionUntilComma$0(), t1));
48569 }
48570 t2.expectChar$1(41);
48571 t2 = t2.spanFrom$1(start);
48572 return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
48573 },
48574 _hashExpression$0() {
48575 var start, first, t2, identifier, buffer, _this = this,
48576 t1 = _this.scanner;
48577 if (t1.peekChar$1(1) === 123)
48578 return _this.identifierLike$0();
48579 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48580 t1.expectChar$1(35);
48581 first = t1.peekChar$0();
48582 if (first != null && A.isDigit(first))
48583 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48584 t2 = t1._string_scanner$_position;
48585 identifier = _this.interpolatedIdentifier$0();
48586 if (_this._isHexColor$1(identifier)) {
48587 t1.set$state(new A._SpanScannerState(t1, t2));
48588 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48589 }
48590 t2 = new A.StringBuffer("");
48591 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48592 t2._contents = "" + A.Primitives_stringFromCharCode(35);
48593 buffer.addInterpolation$1(identifier);
48594 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48595 },
48596 _hexColorContents$1(start) {
48597 var red, green, blue, alpha, digit4, t2, t3, _this = this,
48598 digit1 = _this._hexDigit$0(),
48599 digit2 = _this._hexDigit$0(),
48600 digit3 = _this._hexDigit$0(),
48601 t1 = _this.scanner;
48602 if (!A.isHex(t1.peekChar$0())) {
48603 red = (digit1 << 4 >>> 0) + digit1;
48604 green = (digit2 << 4 >>> 0) + digit2;
48605 blue = (digit3 << 4 >>> 0) + digit3;
48606 alpha = null;
48607 } else {
48608 digit4 = _this._hexDigit$0();
48609 t2 = digit1 << 4 >>> 0;
48610 t3 = digit3 << 4 >>> 0;
48611 if (!A.isHex(t1.peekChar$0())) {
48612 red = t2 + digit1;
48613 green = (digit2 << 4 >>> 0) + digit2;
48614 blue = t3 + digit3;
48615 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
48616 } else {
48617 red = t2 + digit2;
48618 green = t3 + digit4;
48619 blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
48620 alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
48621 }
48622 }
48623 return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
48624 },
48625 _isHexColor$1(interpolation) {
48626 var t1,
48627 plain = interpolation.get$asPlain();
48628 if (plain == null)
48629 return false;
48630 t1 = plain.length;
48631 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
48632 return false;
48633 t1 = new A.CodeUnits(plain);
48634 return t1.every$1(t1, A.character__isHex$closure());
48635 },
48636 _hexDigit$0() {
48637 var t1 = this.scanner,
48638 char = t1.peekChar$0();
48639 if (char == null || !A.isHex(char))
48640 t1.error$1(0, "Expected hex digit.");
48641 return A.asHex(t1.readChar$0());
48642 },
48643 _minusExpression$0() {
48644 var _this = this,
48645 next = _this.scanner.peekChar$1(1);
48646 if (A.isDigit(next) || next === 46)
48647 return _this._number$0();
48648 if (_this._lookingAtInterpolatedIdentifier$0())
48649 return _this.identifierLike$0();
48650 return _this._unaryOperation$0();
48651 },
48652 _importantExpression$0() {
48653 var t1 = this.scanner,
48654 t2 = t1._string_scanner$_position;
48655 t1.readChar$0();
48656 this.whitespace$0();
48657 this.expectIdentifier$1("important");
48658 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48659 return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
48660 },
48661 _unaryOperation$0() {
48662 var _this = this,
48663 t1 = _this.scanner,
48664 t2 = t1._string_scanner$_position,
48665 operator = _this._unaryOperatorFor$1(t1.readChar$0());
48666 if (operator == null)
48667 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
48668 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx)
48669 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
48670 _this.whitespace$0();
48671 return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48672 },
48673 _unaryOperatorFor$1(character) {
48674 switch (character) {
48675 case 43:
48676 return B.UnaryOperator_j2w;
48677 case 45:
48678 return B.UnaryOperator_U4G;
48679 case 47:
48680 return B.UnaryOperator_zDx;
48681 default:
48682 return null;
48683 }
48684 },
48685 _number$0() {
48686 var number, t4, unit, t5, _this = this,
48687 t1 = _this.scanner,
48688 t2 = t1._string_scanner$_position,
48689 first = t1.peekChar$0(),
48690 t3 = first === 45,
48691 sign = t3 ? -1 : 1;
48692 if (first === 43 || t3)
48693 t1.readChar$0();
48694 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
48695 t3 = _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
48696 t4 = _this._tryExponent$0();
48697 if (t1.scanChar$1(37))
48698 unit = "%";
48699 else {
48700 if (_this.lookingAtIdentifier$0())
48701 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
48702 else
48703 t5 = false;
48704 unit = t5 ? _this.identifier$1$unit(true) : null;
48705 }
48706 return new A.NumberExpression(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48707 },
48708 _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
48709 var t2,
48710 t1 = this.scanner,
48711 start = t1._string_scanner$_position;
48712 if (t1.peekChar$0() !== 46)
48713 return 0;
48714 if (!A.isDigit(t1.peekChar$1(1))) {
48715 if (allowTrailingDot)
48716 return 0;
48717 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
48718 }
48719 t1.readChar$0();
48720 while (true) {
48721 t2 = t1.peekChar$0();
48722 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48723 break;
48724 t1.readChar$0();
48725 }
48726 return A.double_parse(t1.substring$1(0, start));
48727 },
48728 _tryExponent$0() {
48729 var next, t2, exponentSign, exponent,
48730 t1 = this.scanner,
48731 first = t1.peekChar$0();
48732 if (first !== 101 && first !== 69)
48733 return 1;
48734 next = t1.peekChar$1(1);
48735 if (!A.isDigit(next) && next !== 45 && next !== 43)
48736 return 1;
48737 t1.readChar$0();
48738 t2 = next === 45;
48739 exponentSign = t2 ? -1 : 1;
48740 if (next === 43 || t2)
48741 t1.readChar$0();
48742 if (!A.isDigit(t1.peekChar$0()))
48743 t1.error$1(0, "Expected digit.");
48744 exponent = 0;
48745 while (true) {
48746 t2 = t1.peekChar$0();
48747 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48748 break;
48749 exponent = exponent * 10 + (t1.readChar$0() - 48);
48750 }
48751 return Math.pow(10, exponentSign * exponent);
48752 },
48753 _unicodeRange$0() {
48754 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
48755 _s26_ = "Expected at most 6 digits.",
48756 t1 = _this.scanner,
48757 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48758 _this.expectIdentChar$1(117);
48759 t1.expectChar$1(43);
48760 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
48761 ++firstRangeLength;
48762 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
48763 ++firstRangeLength;
48764 if (firstRangeLength === 0)
48765 t1.error$1(0, 'Expected hex digit or "?".');
48766 else if (firstRangeLength > 6)
48767 _this.error$2(0, _s26_, t1.spanFrom$1(start));
48768 else if (hasQuestionMark) {
48769 t2 = t1.substring$1(0, start.position);
48770 t1 = t1.spanFrom$1(start);
48771 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48772 }
48773 if (t1.scanChar$1(45)) {
48774 t2 = t1._string_scanner$_position;
48775 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
48776 ++secondRangeLength;
48777 if (secondRangeLength === 0)
48778 t1.error$1(0, "Expected hex digit.");
48779 else if (secondRangeLength > 6)
48780 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48781 }
48782 if (_this._lookingAtInterpolatedIdentifierBody$0())
48783 t1.error$1(0, "Expected end of identifier.");
48784 t2 = t1.substring$1(0, start.position);
48785 t1 = t1.spanFrom$1(start);
48786 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48787 },
48788 _variable$0() {
48789 var _this = this,
48790 t1 = _this.scanner,
48791 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48792 $name = _this.variableName$0();
48793 if (_this.get$plainCss())
48794 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
48795 return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
48796 },
48797 _selector$0() {
48798 var t1, start, _this = this;
48799 if (_this.get$plainCss())
48800 _this.scanner.error$2$length(0, string$.The_pa, 1);
48801 t1 = _this.scanner;
48802 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48803 t1.expectChar$1(38);
48804 if (t1.scanChar$1(38)) {
48805 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
48806 t1.set$position(t1._string_scanner$_position - 1);
48807 }
48808 return new A.SelectorExpression(t1.spanFrom$1(start));
48809 },
48810 interpolatedString$0() {
48811 var t3, t4, buffer, next, second, t5,
48812 t1 = this.scanner,
48813 t2 = t1._string_scanner$_position,
48814 quote = t1.readChar$0();
48815 if (quote !== 39 && quote !== 34)
48816 t1.error$2$position(0, "Expected string.", t2);
48817 t3 = new A.StringBuffer("");
48818 t4 = A._setArrayType([], type$.JSArray_Object);
48819 buffer = new A.InterpolationBuffer(t3, t4);
48820 for (; true;) {
48821 next = t1.peekChar$0();
48822 if (next === quote) {
48823 t1.readChar$0();
48824 break;
48825 } else if (next == null || next === 10 || next === 13 || next === 12)
48826 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
48827 else if (next === 92) {
48828 second = t1.peekChar$1(1);
48829 if (second === 10 || second === 13 || second === 12) {
48830 t1.readChar$0();
48831 t1.readChar$0();
48832 if (second === 13)
48833 t1.scanChar$1(10);
48834 } else
48835 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
48836 } else if (next === 35)
48837 if (t1.peekChar$1(1) === 123) {
48838 t5 = this.singleInterpolation$0();
48839 buffer._flushText$0();
48840 t4.push(t5);
48841 } else
48842 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48843 else
48844 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48845 }
48846 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
48847 },
48848 identifierLike$0() {
48849 var invocation, lower, color, specialFunction, _this = this,
48850 t1 = _this.scanner,
48851 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48852 identifier = _this.interpolatedIdentifier$0(),
48853 plain = identifier.get$asPlain(),
48854 t2 = plain == null,
48855 t3 = !t2;
48856 if (t3) {
48857 if (plain === "if" && t1.peekChar$0() === 40) {
48858 invocation = _this._argumentInvocation$0();
48859 return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
48860 } else if (plain === "not") {
48861 _this.whitespace$0();
48862 return new A.UnaryOperationExpression(B.UnaryOperator_not_not, _this._singleExpression$0(), identifier.span);
48863 }
48864 lower = plain.toLowerCase();
48865 if (t1.peekChar$0() !== 40) {
48866 switch (plain) {
48867 case "false":
48868 return new A.BooleanExpression(false, identifier.span);
48869 case "null":
48870 return new A.NullExpression(identifier.span);
48871 case "true":
48872 return new A.BooleanExpression(true, identifier.span);
48873 }
48874 color = $.$get$colorsByName().$index(0, lower);
48875 if (color != null) {
48876 t1 = identifier.span;
48877 return new A.ColorExpression(A.SassColor$rgbInternal(color.get$red(color), color.get$green(color), color.get$blue(color), color._alpha, new A.SpanColorFormat(t1)), t1);
48878 }
48879 }
48880 specialFunction = _this.trySpecialFunction$2(lower, start);
48881 if (specialFunction != null)
48882 return specialFunction;
48883 }
48884 switch (t1.peekChar$0()) {
48885 case 46:
48886 if (t1.peekChar$1(1) === 46)
48887 return new A.StringExpression(identifier, false);
48888 t1.readChar$0();
48889 if (t3)
48890 return _this.namespacedExpression$2(plain, start);
48891 _this.error$2(0, string$.Interpn, identifier.span);
48892 break;
48893 case 40:
48894 if (t2)
48895 return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48896 else
48897 return new A.FunctionExpression(null, plain, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48898 default:
48899 return new A.StringExpression(identifier, false);
48900 }
48901 },
48902 namespacedExpression$2(namespace, start) {
48903 var $name, _this = this,
48904 t1 = _this.scanner;
48905 if (t1.peekChar$0() === 36) {
48906 $name = _this.variableName$0();
48907 _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
48908 return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
48909 }
48910 return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
48911 },
48912 trySpecialFunction$2($name, start) {
48913 var t2, buffer, t3, next, _this = this, _null = null,
48914 t1 = _this.scanner,
48915 calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
48916 if (calculation != null)
48917 return calculation;
48918 switch (A.unvendor($name)) {
48919 case "calc":
48920 case "element":
48921 case "expression":
48922 if (!t1.scanChar$1(40))
48923 return _null;
48924 t2 = new A.StringBuffer("");
48925 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48926 t3 = "" + $name;
48927 t2._contents = t3;
48928 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
48929 break;
48930 case "progid":
48931 if (!t1.scanChar$1(58))
48932 return _null;
48933 t2 = new A.StringBuffer("");
48934 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48935 t3 = "" + $name;
48936 t2._contents = t3;
48937 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
48938 next = t1.peekChar$0();
48939 while (true) {
48940 if (next != null) {
48941 if (!(next >= 97 && next <= 122))
48942 t3 = next >= 65 && next <= 90;
48943 else
48944 t3 = true;
48945 t3 = t3 || next === 46;
48946 } else
48947 t3 = false;
48948 if (!t3)
48949 break;
48950 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48951 next = t1.peekChar$0();
48952 }
48953 t1.expectChar$1(40);
48954 t2._contents += A.Primitives_stringFromCharCode(40);
48955 break;
48956 case "url":
48957 return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
48958 default:
48959 return _null;
48960 }
48961 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
48962 t1.expectChar$1(41);
48963 buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
48964 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48965 },
48966 _tryCalculation$2($name, start) {
48967 var beforeArguments, $arguments, t1, exception, t2, _this = this;
48968 switch ($name) {
48969 case "calc":
48970 $arguments = _this._calculationArguments$1(1);
48971 t1 = _this.scanner.spanFrom$1(start);
48972 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48973 case "min":
48974 case "max":
48975 t1 = _this.scanner;
48976 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
48977 $arguments = null;
48978 try {
48979 $arguments = _this._calculationArguments$0();
48980 } catch (exception) {
48981 if (type$.FormatException._is(A.unwrapException(exception))) {
48982 t1.set$state(beforeArguments);
48983 return null;
48984 } else
48985 throw exception;
48986 }
48987 t2 = $arguments;
48988 t1 = t1.spanFrom$1(start);
48989 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
48990 case "clamp":
48991 $arguments = _this._calculationArguments$1(3);
48992 t1 = _this.scanner.spanFrom$1(start);
48993 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48994 default:
48995 return null;
48996 }
48997 },
48998 _calculationArguments$1(maxArgs) {
48999 var interpolation, $arguments, t2, _this = this,
49000 t1 = _this.scanner;
49001 t1.expectChar$1(40);
49002 interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
49003 if (interpolation != null) {
49004 t1.expectChar$1(41);
49005 return A._setArrayType([interpolation], type$.JSArray_Expression);
49006 }
49007 _this.whitespace$0();
49008 $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
49009 t2 = maxArgs != null;
49010 while (true) {
49011 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
49012 break;
49013 _this.whitespace$0();
49014 $arguments.push(_this._calculationSum$0());
49015 }
49016 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
49017 return $arguments;
49018 },
49019 _calculationArguments$0() {
49020 return this._calculationArguments$1(null);
49021 },
49022 _calculationSum$0() {
49023 var t1, next, t2, t3, _this = this,
49024 sum = _this._calculationProduct$0();
49025 for (t1 = _this.scanner; true;) {
49026 next = t1.peekChar$0();
49027 t2 = next === 43;
49028 if (t2 || next === 45) {
49029 t3 = t1.peekChar$1(-1);
49030 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
49031 t3 = t1.peekChar$1(1);
49032 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
49033 } else
49034 t3 = true;
49035 if (t3)
49036 t1.error$1(0, string$.x22x2b__an);
49037 t1.readChar$0();
49038 _this.whitespace$0();
49039 t2 = t2 ? B.BinaryOperator_AcR0 : B.BinaryOperator_iyO;
49040 sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
49041 } else
49042 return sum;
49043 }
49044 },
49045 _calculationProduct$0() {
49046 var t1, next, t2, _this = this,
49047 product = _this._calculationValue$0();
49048 for (t1 = _this.scanner; true;) {
49049 _this.whitespace$0();
49050 next = t1.peekChar$0();
49051 t2 = next === 42;
49052 if (t2 || next === 47) {
49053 t1.readChar$0();
49054 _this.whitespace$0();
49055 t2 = t2 ? B.BinaryOperator_O1M : B.BinaryOperator_RTB;
49056 product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
49057 } else
49058 return product;
49059 }
49060 },
49061 _calculationValue$0() {
49062 var t2, value, start, ident, lowerCase, calculation, _this = this,
49063 t1 = _this.scanner,
49064 next = t1.peekChar$0();
49065 if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
49066 return _this._number$0();
49067 else if (next === 36)
49068 return _this._variable$0();
49069 else if (next === 40) {
49070 t2 = t1._string_scanner$_position;
49071 t1.readChar$0();
49072 value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
49073 if (value == null) {
49074 _this.whitespace$0();
49075 value = _this._calculationSum$0();
49076 }
49077 _this.whitespace$0();
49078 t1.expectChar$1(41);
49079 return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49080 } else if (!_this.lookingAtIdentifier$0())
49081 t1.error$1(0, string$.Expectn);
49082 else {
49083 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49084 ident = _this.identifier$0();
49085 if (t1.scanChar$1(46))
49086 return _this.namespacedExpression$2(ident, start);
49087 if (t1.peekChar$0() !== 40)
49088 t1.error$1(0, 'Expected "(" or ".".');
49089 lowerCase = ident.toLowerCase();
49090 calculation = _this._tryCalculation$2(lowerCase, start);
49091 if (calculation != null)
49092 return calculation;
49093 else if (lowerCase === "if")
49094 return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
49095 else
49096 return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
49097 }
49098 },
49099 _containsCalculationInterpolation$0() {
49100 var t2, parens, next, target, t3, _null = null,
49101 _s64_ = string$.The_gi,
49102 _s17_ = "Invalid position ",
49103 brackets = A._setArrayType([], type$.JSArray_int),
49104 t1 = this.scanner,
49105 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49106 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
49107 next = t1.peekChar$0();
49108 switch (next) {
49109 case 92:
49110 target = 1;
49111 break;
49112 case 47:
49113 target = 2;
49114 break;
49115 case 39:
49116 case 34:
49117 target = 3;
49118 break;
49119 case 35:
49120 target = 4;
49121 break;
49122 case 40:
49123 target = 5;
49124 break;
49125 case 123:
49126 case 91:
49127 target = 6;
49128 break;
49129 case 41:
49130 target = 7;
49131 break;
49132 case 125:
49133 case 93:
49134 target = 8;
49135 break;
49136 default:
49137 target = 9;
49138 break;
49139 }
49140 c$0:
49141 for (; true;)
49142 switch (target) {
49143 case 1:
49144 t1.readChar$0();
49145 t1.readChar$0();
49146 break c$0;
49147 case 2:
49148 if (!this.scanComment$0())
49149 t1.readChar$0();
49150 break c$0;
49151 case 3:
49152 this.interpolatedString$0();
49153 break c$0;
49154 case 4:
49155 if (parens === 0 && t1.peekChar$1(1) === 123) {
49156 if (start._scanner !== t1)
49157 A.throwExpression(A.ArgumentError$(_s64_, _null));
49158 t3 = start.position;
49159 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
49160 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49161 t1._string_scanner$_position = t3;
49162 t1._lastMatch = null;
49163 return true;
49164 }
49165 t1.readChar$0();
49166 break c$0;
49167 case 5:
49168 ++parens;
49169 target = 6;
49170 continue c$0;
49171 case 6:
49172 next.toString;
49173 brackets.push(A.opposite(next));
49174 t1.readChar$0();
49175 break c$0;
49176 case 7:
49177 --parens;
49178 target = 8;
49179 continue c$0;
49180 case 8:
49181 if (brackets.length === 0 || brackets.pop() !== next) {
49182 if (start._scanner !== t1)
49183 A.throwExpression(A.ArgumentError$(_s64_, _null));
49184 t3 = start.position;
49185 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
49186 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49187 t1._string_scanner$_position = t3;
49188 t1._lastMatch = null;
49189 return false;
49190 }
49191 t1.readChar$0();
49192 break c$0;
49193 case 9:
49194 t1.readChar$0();
49195 break c$0;
49196 }
49197 }
49198 t1.set$state(start);
49199 return false;
49200 },
49201 _tryUrlContents$2$name(start, $name) {
49202 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
49203 t1 = _this.scanner,
49204 t2 = t1._string_scanner$_position;
49205 if (!t1.scanChar$1(40))
49206 return null;
49207 _this.whitespaceWithoutComments$0();
49208 t3 = new A.StringBuffer("");
49209 t4 = A._setArrayType([], type$.JSArray_Object);
49210 buffer = new A.InterpolationBuffer(t3, t4);
49211 t5 = "" + ($name == null ? "url" : $name);
49212 t3._contents = t5;
49213 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
49214 for (; true;) {
49215 next = t1.peekChar$0();
49216 if (next == null)
49217 break;
49218 else if (next === 92)
49219 t3._contents += A.S(_this.escape$0());
49220 else {
49221 if (next !== 33)
49222 if (next !== 37)
49223 if (next !== 38)
49224 t5 = next >= 42 && next <= 126 || next >= 128;
49225 else
49226 t5 = true;
49227 else
49228 t5 = true;
49229 else
49230 t5 = true;
49231 if (t5)
49232 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49233 else if (next === 35)
49234 if (t1.peekChar$1(1) === 123) {
49235 t5 = _this.singleInterpolation$0();
49236 buffer._flushText$0();
49237 t4.push(t5);
49238 } else
49239 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49240 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
49241 _this.whitespaceWithoutComments$0();
49242 if (t1.peekChar$0() !== 41)
49243 break;
49244 } else if (next === 41) {
49245 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49246 endPosition = t1._string_scanner$_position;
49247 t2 = t1._sourceFile;
49248 t5 = start.position;
49249 t1 = new A._FileSpan(t2, t5, endPosition);
49250 t1._FileSpan$3(t2, t5, endPosition);
49251 t5 = type$.Object;
49252 t2 = A.List_List$of(t4, true, t5);
49253 t4 = t3._contents;
49254 if (t4.length !== 0)
49255 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
49256 result = A.List_List$from(t2, false, t5);
49257 result.fixed$length = Array;
49258 result.immutable$list = Array;
49259 t3 = new A.Interpolation(result, t1);
49260 t3.Interpolation$2(t2, t1);
49261 return t3;
49262 } else
49263 break;
49264 }
49265 }
49266 t1.set$state(new A._SpanScannerState(t1, t2));
49267 return null;
49268 },
49269 _tryUrlContents$1(start) {
49270 return this._tryUrlContents$2$name(start, null);
49271 },
49272 dynamicUrl$0() {
49273 var contents, _this = this,
49274 t1 = _this.scanner,
49275 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49276 _this.expectIdentifier$1("url");
49277 contents = _this._tryUrlContents$1(start);
49278 if (contents != null)
49279 return new A.StringExpression(contents, false);
49280 return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
49281 },
49282 almostAnyValue$1$omitComments(omitComments) {
49283 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
49284 t1 = _this.scanner,
49285 t2 = t1._string_scanner$_position,
49286 t3 = new A.StringBuffer(""),
49287 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49288 $label0$1:
49289 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
49290 next = t1.peekChar$0();
49291 switch (next) {
49292 case 92:
49293 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49294 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49295 break;
49296 case 34:
49297 case 39:
49298 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49299 break;
49300 case 47:
49301 commentStart = t1._string_scanner$_position;
49302 if (_this.scanComment$0()) {
49303 if (t6) {
49304 end = t1._string_scanner$_position;
49305 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
49306 }
49307 } else
49308 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49309 break;
49310 case 35:
49311 if (t1.peekChar$1(1) === 123)
49312 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49313 else
49314 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49315 break;
49316 case 13:
49317 case 10:
49318 case 12:
49319 if (_this.get$indented())
49320 break $label0$1;
49321 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49322 break;
49323 case 33:
49324 case 59:
49325 case 123:
49326 case 125:
49327 break $label0$1;
49328 case 117:
49329 case 85:
49330 t7 = t1._string_scanner$_position;
49331 if (!_this.scanIdentifier$1("url")) {
49332 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49333 break;
49334 }
49335 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
49336 if (contents == null) {
49337 if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
49338 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
49339 t1._string_scanner$_position = t7;
49340 t1._lastMatch = null;
49341 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49342 } else
49343 buffer.addInterpolation$1(contents);
49344 break;
49345 default:
49346 if (next == null)
49347 break $label0$1;
49348 if (_this.lookingAtIdentifier$0())
49349 t3._contents += _this.identifier$0();
49350 else
49351 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49352 break;
49353 }
49354 }
49355 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49356 },
49357 almostAnyValue$0() {
49358 return this.almostAnyValue$1$omitComments(false);
49359 },
49360 _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
49361 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
49362 t1 = _this.scanner,
49363 t2 = t1._string_scanner$_position,
49364 t3 = new A.StringBuffer(""),
49365 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
49366 brackets = A._setArrayType([], type$.JSArray_int);
49367 $label0$1:
49368 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
49369 next = t1.peekChar$0();
49370 switch (next) {
49371 case 92:
49372 t3._contents += A.S(_this.escape$1$identifierStart(true));
49373 wroteNewline = false;
49374 break;
49375 case 34:
49376 case 39:
49377 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49378 wroteNewline = false;
49379 break;
49380 case 47:
49381 if (t1.peekChar$1(1) === 42) {
49382 t8 = _this.get$loudComment();
49383 start = t1._string_scanner$_position;
49384 t8.call$0();
49385 end = t1._string_scanner$_position;
49386 t3._contents += B.JSString_methods.substring$2(t4, start, end);
49387 } else
49388 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49389 wroteNewline = false;
49390 break;
49391 case 35:
49392 if (t1.peekChar$1(1) === 123)
49393 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49394 else
49395 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49396 wroteNewline = false;
49397 break;
49398 case 32:
49399 case 9:
49400 if (!wroteNewline) {
49401 t8 = t1.peekChar$1(1);
49402 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
49403 } else
49404 t8 = true;
49405 if (t8)
49406 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49407 else
49408 t1.readChar$0();
49409 break;
49410 case 10:
49411 case 13:
49412 case 12:
49413 if (_this.get$indented())
49414 break $label0$1;
49415 t8 = t1.peekChar$1(-1);
49416 if (!(t8 === 10 || t8 === 13 || t8 === 12))
49417 t3._contents += "\n";
49418 t1.readChar$0();
49419 wroteNewline = true;
49420 break;
49421 case 40:
49422 case 123:
49423 case 91:
49424 next.toString;
49425 t3._contents += A.Primitives_stringFromCharCode(next);
49426 brackets.push(A.opposite(t1.readChar$0()));
49427 wroteNewline = false;
49428 break;
49429 case 41:
49430 case 125:
49431 case 93:
49432 if (brackets.length === 0)
49433 break $label0$1;
49434 next.toString;
49435 t3._contents += A.Primitives_stringFromCharCode(next);
49436 t1.expectChar$1(brackets.pop());
49437 wroteNewline = false;
49438 break;
49439 case 59:
49440 if (t7 && brackets.length === 0)
49441 break $label0$1;
49442 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49443 wroteNewline = false;
49444 break;
49445 case 58:
49446 if (t6 && brackets.length === 0)
49447 break $label0$1;
49448 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49449 wroteNewline = false;
49450 break;
49451 case 117:
49452 case 85:
49453 t8 = t1._string_scanner$_position;
49454 if (!_this.scanIdentifier$1("url")) {
49455 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49456 wroteNewline = false;
49457 break;
49458 }
49459 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
49460 if (contents == null) {
49461 if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
49462 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
49463 t1._string_scanner$_position = t8;
49464 t1._lastMatch = null;
49465 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49466 } else
49467 buffer.addInterpolation$1(contents);
49468 wroteNewline = false;
49469 break;
49470 default:
49471 if (next == null)
49472 break $label0$1;
49473 if (_this.lookingAtIdentifier$0())
49474 t3._contents += _this.identifier$0();
49475 else
49476 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49477 wroteNewline = false;
49478 break;
49479 }
49480 }
49481 if (brackets.length !== 0)
49482 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
49483 if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
49484 t1.error$1(0, "Expected token.");
49485 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49486 },
49487 _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
49488 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
49489 },
49490 _interpolatedDeclarationValue$0() {
49491 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
49492 },
49493 _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
49494 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
49495 },
49496 interpolatedIdentifier$0() {
49497 var first, _this = this,
49498 _s20_ = "Expected identifier.",
49499 t1 = _this.scanner,
49500 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49501 t2 = new A.StringBuffer(""),
49502 t3 = A._setArrayType([], type$.JSArray_Object),
49503 buffer = new A.InterpolationBuffer(t2, t3);
49504 if (t1.scanChar$1(45)) {
49505 t2._contents += A.Primitives_stringFromCharCode(45);
49506 if (t1.scanChar$1(45)) {
49507 t2._contents += A.Primitives_stringFromCharCode(45);
49508 _this._interpolatedIdentifierBody$1(buffer);
49509 return buffer.interpolation$1(t1.spanFrom$1(start));
49510 }
49511 }
49512 first = t1.peekChar$0();
49513 if (first == null)
49514 t1.error$1(0, _s20_);
49515 else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
49516 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49517 else if (first === 92)
49518 t2._contents += A.S(_this.escape$1$identifierStart(true));
49519 else if (first === 35 && t1.peekChar$1(1) === 123) {
49520 t2 = _this.singleInterpolation$0();
49521 buffer._flushText$0();
49522 t3.push(t2);
49523 } else
49524 t1.error$1(0, _s20_);
49525 _this._interpolatedIdentifierBody$1(buffer);
49526 return buffer.interpolation$1(t1.spanFrom$1(start));
49527 },
49528 _interpolatedIdentifierBody$1(buffer) {
49529 var t1, t2, t3, next, t4;
49530 for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
49531 next = t2.peekChar$0();
49532 if (next == null)
49533 break;
49534 else {
49535 if (next !== 95)
49536 if (next !== 45) {
49537 if (!(next >= 97 && next <= 122))
49538 t4 = next >= 65 && next <= 90;
49539 else
49540 t4 = true;
49541 if (!t4)
49542 t4 = next >= 48 && next <= 57;
49543 else
49544 t4 = true;
49545 t4 = t4 || next >= 128;
49546 } else
49547 t4 = true;
49548 else
49549 t4 = true;
49550 if (t4)
49551 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
49552 else if (next === 92)
49553 t3._contents += A.S(this.escape$0());
49554 else if (next === 35 && t2.peekChar$1(1) === 123) {
49555 t4 = this.singleInterpolation$0();
49556 buffer._flushText$0();
49557 t1.push(t4);
49558 } else
49559 break;
49560 }
49561 }
49562 },
49563 singleInterpolation$0() {
49564 var contents, _this = this,
49565 t1 = _this.scanner,
49566 t2 = t1._string_scanner$_position;
49567 t1.expect$1("#{");
49568 _this.whitespace$0();
49569 contents = _this.expression$0();
49570 t1.expectChar$1(125);
49571 if (_this.get$plainCss())
49572 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49573 return contents;
49574 },
49575 _mediaQueryList$0() {
49576 var t4,
49577 t1 = this.scanner,
49578 t2 = t1._string_scanner$_position,
49579 t3 = new A.StringBuffer(""),
49580 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49581 for (; true;) {
49582 this.whitespace$0();
49583 this._stylesheet$_mediaQuery$1(buffer);
49584 if (!t1.scanChar$1(44))
49585 break;
49586 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
49587 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
49588 }
49589 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49590 },
49591 _stylesheet$_mediaQuery$1(buffer) {
49592 var t1, identifier, _this = this;
49593 if (_this.scanner.peekChar$0() !== 40) {
49594 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49595 _this.whitespace$0();
49596 if (!_this._lookingAtInterpolatedIdentifier$0())
49597 return;
49598 t1 = buffer._interpolation_buffer$_text;
49599 t1._contents += A.Primitives_stringFromCharCode(32);
49600 identifier = _this.interpolatedIdentifier$0();
49601 _this.whitespace$0();
49602 if (A.equalsIgnoreCase(identifier.get$asPlain(), "and"))
49603 t1._contents += " and ";
49604 else {
49605 buffer.addInterpolation$1(identifier);
49606 if (_this.scanIdentifier$1("and")) {
49607 _this.whitespace$0();
49608 t1._contents += " and ";
49609 } else
49610 return;
49611 }
49612 }
49613 for (t1 = buffer._interpolation_buffer$_text; true;) {
49614 _this.whitespace$0();
49615 buffer.addInterpolation$1(_this._mediaFeature$0());
49616 _this.whitespace$0();
49617 if (!_this.scanIdentifier$1("and"))
49618 break;
49619 t1._contents += " and ";
49620 }
49621 },
49622 _mediaFeature$0() {
49623 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
49624 t1 = _this.scanner;
49625 if (t1.peekChar$0() === 35) {
49626 interpolation = _this.singleInterpolation$0();
49627 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
49628 }
49629 t2 = t1._string_scanner$_position;
49630 t3 = new A.StringBuffer("");
49631 t4 = A._setArrayType([], type$.JSArray_Object);
49632 buffer = new A.InterpolationBuffer(t3, t4);
49633 t1.expectChar$1(40);
49634 t3._contents += A.Primitives_stringFromCharCode(40);
49635 _this.whitespace$0();
49636 t5 = _this._expressionUntilComparison$0();
49637 buffer._flushText$0();
49638 t4.push(t5);
49639 if (t1.scanChar$1(58)) {
49640 _this.whitespace$0();
49641 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
49642 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
49643 t5 = _this.expression$0();
49644 buffer._flushText$0();
49645 t4.push(t5);
49646 } else {
49647 next = t1.peekChar$0();
49648 t5 = next !== 60;
49649 if (!t5 || next === 62 || next === 61) {
49650 t3._contents += A.Primitives_stringFromCharCode(32);
49651 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49652 if ((!t5 || next === 62) && t1.scanChar$1(61))
49653 t3._contents += A.Primitives_stringFromCharCode(61);
49654 t3._contents += A.Primitives_stringFromCharCode(32);
49655 _this.whitespace$0();
49656 t6 = _this._expressionUntilComparison$0();
49657 buffer._flushText$0();
49658 t4.push(t6);
49659 if (!t5 || next === 62) {
49660 next.toString;
49661 t5 = t1.scanChar$1(next);
49662 } else
49663 t5 = false;
49664 if (t5) {
49665 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
49666 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
49667 if (t1.scanChar$1(61))
49668 t3._contents += A.Primitives_stringFromCharCode(61);
49669 t3._contents += A.Primitives_stringFromCharCode(32);
49670 _this.whitespace$0();
49671 t5 = _this._expressionUntilComparison$0();
49672 buffer._flushText$0();
49673 t4.push(t5);
49674 }
49675 }
49676 }
49677 t1.expectChar$1(41);
49678 _this.whitespace$0();
49679 t3._contents += A.Primitives_stringFromCharCode(41);
49680 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49681 },
49682 _expressionUntilComparison$0() {
49683 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
49684 },
49685 _supportsCondition$0() {
49686 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
49687 t1 = _this.scanner,
49688 t2 = t1._string_scanner$_position;
49689 if (_this.scanIdentifier$1("not")) {
49690 _this.whitespace$0();
49691 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49692 }
49693 condition = _this._supportsConditionInParens$0();
49694 _this.whitespace$0();
49695 for (operator = null; _this.lookingAtIdentifier$0();) {
49696 if (operator != null)
49697 _this.expectIdentifier$1(operator);
49698 else if (_this.scanIdentifier$1("or"))
49699 operator = "or";
49700 else {
49701 _this.expectIdentifier$1("and");
49702 operator = "and";
49703 }
49704 _this.whitespace$0();
49705 right = _this._supportsConditionInParens$0();
49706 endPosition = t1._string_scanner$_position;
49707 t3 = t1._sourceFile;
49708 t4 = new A._FileSpan(t3, t2, endPosition);
49709 t4._FileSpan$3(t3, t2, endPosition);
49710 condition = new A.SupportsOperation(condition, right, operator, t4);
49711 lowerOperator = operator.toLowerCase();
49712 if (lowerOperator !== "and" && lowerOperator !== "or")
49713 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49714 _this.whitespace$0();
49715 }
49716 return condition;
49717 },
49718 _supportsConditionInParens$0() {
49719 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
49720 t1 = _this.scanner,
49721 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49722 if (_this._lookingAtInterpolatedIdentifier$0()) {
49723 identifier0 = _this.interpolatedIdentifier$0();
49724 t2 = identifier0.get$asPlain();
49725 if ((t2 == null ? null : t2.toLowerCase()) === "not")
49726 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
49727 if (t1.scanChar$1(40)) {
49728 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
49729 t1.expectChar$1(41);
49730 return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
49731 } else {
49732 t2 = identifier0.contents;
49733 if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
49734 _this.error$2(0, "Expected @supports condition.", identifier0.span);
49735 else
49736 return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
49737 }
49738 }
49739 t1.expectChar$1(40);
49740 _this.whitespace$0();
49741 if (_this.scanIdentifier$1("not")) {
49742 _this.whitespace$0();
49743 condition = _this._supportsConditionInParens$0();
49744 t1.expectChar$1(41);
49745 return new A.SupportsNegation(condition, t1.spanFrom$1(start));
49746 } else if (t1.peekChar$0() === 40) {
49747 condition = _this._supportsCondition$0();
49748 t1.expectChar$1(41);
49749 return condition;
49750 }
49751 $name = null;
49752 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
49753 wasInParentheses = _this._inParentheses;
49754 try {
49755 $name = _this.expression$0();
49756 t1.expectChar$1(58);
49757 } catch (exception) {
49758 if (type$.FormatException._is(A.unwrapException(exception))) {
49759 t1.set$state(nameStart);
49760 _this._inParentheses = wasInParentheses;
49761 identifier = _this.interpolatedIdentifier$0();
49762 operation = _this._trySupportsOperation$2(identifier, nameStart);
49763 if (operation != null) {
49764 t1.expectChar$1(41);
49765 return operation;
49766 }
49767 t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
49768 t2.addInterpolation$1(identifier);
49769 t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
49770 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
49771 if (t1.peekChar$0() === 58)
49772 throw exception;
49773 t1.expectChar$1(41);
49774 return new A.SupportsAnything(contents, t1.spanFrom$1(start));
49775 } else
49776 throw exception;
49777 }
49778 declaration = _this._supportsDeclarationValue$2($name, start);
49779 t1.expectChar$1(41);
49780 return declaration;
49781 },
49782 _supportsDeclarationValue$2($name, start) {
49783 var value, _this = this;
49784 if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
49785 value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
49786 else {
49787 _this.whitespace$0();
49788 value = _this.expression$0();
49789 }
49790 return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
49791 },
49792 _trySupportsOperation$2(interpolation, start) {
49793 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
49794 t1 = interpolation.contents;
49795 if (t1.length !== 1)
49796 return _null;
49797 expression = B.JSArray_methods.get$first(t1);
49798 if (!type$.Expression._is(expression))
49799 return _null;
49800 t1 = _this.scanner;
49801 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
49802 _this.whitespace$0();
49803 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
49804 if (operator != null)
49805 _this.expectIdentifier$1(operator);
49806 else if (_this.scanIdentifier$1("and"))
49807 operator = "and";
49808 else {
49809 if (!_this.scanIdentifier$1("or")) {
49810 if (beforeWhitespace._scanner !== t1)
49811 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
49812 t2 = beforeWhitespace.position;
49813 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
49814 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
49815 t1._string_scanner$_position = t2;
49816 return t1._lastMatch = null;
49817 }
49818 operator = "or";
49819 }
49820 _this.whitespace$0();
49821 right = _this._supportsConditionInParens$0();
49822 t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
49823 endPosition = t1._string_scanner$_position;
49824 t5 = t1._sourceFile;
49825 t6 = new A._FileSpan(t5, t2, endPosition);
49826 t6._FileSpan$3(t5, t2, endPosition);
49827 operation = new A.SupportsOperation(t4, right, operator, t6);
49828 lowerOperator = operator.toLowerCase();
49829 if (lowerOperator !== "and" && lowerOperator !== "or")
49830 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49831 _this.whitespace$0();
49832 }
49833 return operation;
49834 },
49835 _lookingAtInterpolatedIdentifier$0() {
49836 var second,
49837 t1 = this.scanner,
49838 first = t1.peekChar$0();
49839 if (first == null)
49840 return false;
49841 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
49842 return true;
49843 if (first === 35)
49844 return t1.peekChar$1(1) === 123;
49845 if (first !== 45)
49846 return false;
49847 second = t1.peekChar$1(1);
49848 if (second == null)
49849 return false;
49850 if (second === 35)
49851 return t1.peekChar$1(2) === 123;
49852 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
49853 },
49854 _lookingAtInterpolatedIdentifierBody$0() {
49855 var t1 = this.scanner,
49856 first = t1.peekChar$0();
49857 if (first == null)
49858 return false;
49859 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
49860 return true;
49861 return first === 35 && t1.peekChar$1(1) === 123;
49862 },
49863 _lookingAtExpression$0() {
49864 var next,
49865 t1 = this.scanner,
49866 character = t1.peekChar$0();
49867 if (character == null)
49868 return false;
49869 if (character === 46)
49870 return t1.peekChar$1(1) !== 46;
49871 if (character === 33) {
49872 next = t1.peekChar$1(1);
49873 if (next != null)
49874 if ((next | 32) >>> 0 !== 105)
49875 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
49876 else
49877 t1 = true;
49878 else
49879 t1 = true;
49880 return t1;
49881 }
49882 if (character !== 40)
49883 if (character !== 47)
49884 if (character !== 91)
49885 if (character !== 39)
49886 if (character !== 34)
49887 if (character !== 35)
49888 if (character !== 43)
49889 if (character !== 45)
49890 if (character !== 92)
49891 if (character !== 36)
49892 if (character !== 38)
49893 t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
49894 else
49895 t1 = true;
49896 else
49897 t1 = true;
49898 else
49899 t1 = true;
49900 else
49901 t1 = true;
49902 else
49903 t1 = true;
49904 else
49905 t1 = true;
49906 else
49907 t1 = true;
49908 else
49909 t1 = true;
49910 else
49911 t1 = true;
49912 else
49913 t1 = true;
49914 else
49915 t1 = true;
49916 return t1;
49917 },
49918 _withChildren$1$3(child, start, create) {
49919 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
49920 this.whitespaceWithoutComments$0();
49921 return result;
49922 },
49923 _withChildren$3(child, start, create) {
49924 return this._withChildren$1$3(child, start, create, type$.dynamic);
49925 },
49926 _urlString$0() {
49927 var innerError, stackTrace, t2, exception,
49928 t1 = this.scanner,
49929 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49930 url = this.string$0();
49931 try {
49932 t2 = A.Uri_parse(url);
49933 return t2;
49934 } catch (exception) {
49935 t2 = A.unwrapException(exception);
49936 if (type$.FormatException._is(t2)) {
49937 innerError = t2;
49938 stackTrace = A.getTraceFromException(exception);
49939 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
49940 } else
49941 throw exception;
49942 }
49943 },
49944 _publicIdentifier$0() {
49945 var _this = this,
49946 t1 = _this.scanner,
49947 t2 = t1._string_scanner$_position,
49948 result = _this.identifier$1$normalize(true);
49949 _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
49950 return result;
49951 },
49952 _assertPublic$2(identifier, span) {
49953 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
49954 if (!(first === 45 || first === 95))
49955 return;
49956 this.error$2(0, string$.Privat, span.call$0());
49957 },
49958 get$plainCss() {
49959 return false;
49960 }
49961 };
49962 A.StylesheetParser_parse_closure.prototype = {
49963 call$0() {
49964 var statements, t4,
49965 t1 = this.$this,
49966 t2 = t1.scanner,
49967 t3 = t2._string_scanner$_position;
49968 t2.scanChar$1(65279);
49969 statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
49970 t2.expectDone$0();
49971 t4 = t1._globalVariables;
49972 t4 = t4.get$values(t4);
49973 B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
49974 return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
49975 },
49976 $signature: 345
49977 };
49978 A.StylesheetParser_parse__closure.prototype = {
49979 call$0() {
49980 var t1 = this.$this;
49981 if (t1.scanner.scan$1("@charset")) {
49982 t1.whitespace$0();
49983 t1.string$0();
49984 return null;
49985 }
49986 return t1._statement$1$root(true);
49987 },
49988 $signature: 346
49989 };
49990 A.StylesheetParser_parse__closure0.prototype = {
49991 call$1(declaration) {
49992 var t1 = declaration.name,
49993 t2 = declaration.expression;
49994 return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
49995 },
49996 $signature: 347
49997 };
49998 A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
49999 call$0() {
50000 var $arguments,
50001 t1 = this.$this,
50002 t2 = t1.scanner;
50003 t2.expectChar$2$name(64, "@-rule");
50004 t1.identifier$0();
50005 t1.whitespace$0();
50006 t1.identifier$0();
50007 $arguments = t1._argumentDeclaration$0();
50008 t1.whitespace$0();
50009 t2.expectChar$1(123);
50010 return $arguments;
50011 },
50012 $signature: 348
50013 };
50014 A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
50015 call$0() {
50016 var t1 = this.$this;
50017 return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
50018 },
50019 $signature: 174
50020 };
50021 A.StylesheetParser_parseUseRule_closure.prototype = {
50022 call$0() {
50023 var t1 = this.$this,
50024 t2 = t1.scanner,
50025 t3 = t2._string_scanner$_position;
50026 t2.expectChar$2$name(64, "@-rule");
50027 t1.expectIdentifier$1("use");
50028 t1.whitespace$0();
50029 return t1._useRule$1(new A._SpanScannerState(t2, t3));
50030 },
50031 $signature: 350
50032 };
50033 A.StylesheetParser__parseSingleProduction_closure.prototype = {
50034 call$0() {
50035 var result = this.production.call$0();
50036 this.$this.scanner.expectDone$0();
50037 return result;
50038 },
50039 $signature() {
50040 return this.T._eval$1("0()");
50041 }
50042 };
50043 A.StylesheetParser__statement_closure.prototype = {
50044 call$0() {
50045 return this.$this._statement$0();
50046 },
50047 $signature: 100
50048 };
50049 A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
50050 call$0() {
50051 return this.$this.scanner.spanFrom$1(this.start);
50052 },
50053 $signature: 30
50054 };
50055 A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
50056 call$0() {
50057 return this.declaration;
50058 },
50059 $signature: 174
50060 };
50061 A.StylesheetParser__declarationOrBuffer_closure.prototype = {
50062 call$2(children, span) {
50063 return A.Declaration$nested(this.name, children, span, null);
50064 },
50065 $signature: 98
50066 };
50067 A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
50068 call$2(children, span) {
50069 return A.Declaration$nested(this.name, children, span, this._box_0.value);
50070 },
50071 $signature: 98
50072 };
50073 A.StylesheetParser__styleRule_closure.prototype = {
50074 call$2(children, span) {
50075 var _this = this,
50076 t1 = _this.$this;
50077 if (t1.get$indented() && children.length === 0)
50078 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
50079 t1._inStyleRule = _this.wasInStyleRule;
50080 return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
50081 },
50082 $signature: 357
50083 };
50084 A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
50085 call$2(children, span) {
50086 return A.Declaration$nested(this._box_0.name, children, span, null);
50087 },
50088 $signature: 98
50089 };
50090 A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
50091 call$2(children, span) {
50092 return A.Declaration$nested(this._box_0.name, children, span, this.value);
50093 },
50094 $signature: 98
50095 };
50096 A.StylesheetParser__atRootRule_closure.prototype = {
50097 call$2(children, span) {
50098 return A.AtRootRule$(children, span, this.query);
50099 },
50100 $signature: 173
50101 };
50102 A.StylesheetParser__atRootRule_closure0.prototype = {
50103 call$2(children, span) {
50104 return A.AtRootRule$(children, span, null);
50105 },
50106 $signature: 173
50107 };
50108 A.StylesheetParser__eachRule_closure.prototype = {
50109 call$2(children, span) {
50110 var _this = this;
50111 _this.$this._inControlDirective = _this.wasInControlDirective;
50112 return A.EachRule$(_this.variables, _this.list, children, span);
50113 },
50114 $signature: 360
50115 };
50116 A.StylesheetParser__functionRule_closure.prototype = {
50117 call$2(children, span) {
50118 return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
50119 },
50120 $signature: 361
50121 };
50122 A.StylesheetParser__forRule_closure.prototype = {
50123 call$0() {
50124 var t1 = this.$this;
50125 if (!t1.lookingAtIdentifier$0())
50126 return false;
50127 if (t1.scanIdentifier$1("to"))
50128 return this._box_0.exclusive = true;
50129 else if (t1.scanIdentifier$1("through")) {
50130 this._box_0.exclusive = false;
50131 return true;
50132 } else
50133 return false;
50134 },
50135 $signature: 26
50136 };
50137 A.StylesheetParser__forRule_closure0.prototype = {
50138 call$2(children, span) {
50139 var t1, _this = this;
50140 _this.$this._inControlDirective = _this.wasInControlDirective;
50141 t1 = _this._box_0.exclusive;
50142 t1.toString;
50143 return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
50144 },
50145 $signature: 362
50146 };
50147 A.StylesheetParser__memberList_closure.prototype = {
50148 call$0() {
50149 var t1 = this.$this;
50150 if (t1.scanner.peekChar$0() === 36)
50151 this.variables.add$1(0, t1.variableName$0());
50152 else
50153 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
50154 },
50155 $signature: 1
50156 };
50157 A.StylesheetParser__includeRule_closure.prototype = {
50158 call$2(children, span) {
50159 return A.ContentBlock$(this.contentArguments_, children, span);
50160 },
50161 $signature: 363
50162 };
50163 A.StylesheetParser_mediaRule_closure.prototype = {
50164 call$2(children, span) {
50165 return A.MediaRule$(this.query, children, span);
50166 },
50167 $signature: 259
50168 };
50169 A.StylesheetParser__mixinRule_closure.prototype = {
50170 call$2(children, span) {
50171 var _this = this;
50172 _this.$this._stylesheet$_inMixin = false;
50173 return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
50174 },
50175 $signature: 367
50176 };
50177 A.StylesheetParser_mozDocumentRule_closure.prototype = {
50178 call$2(children, span) {
50179 var _this = this;
50180 if (_this._box_0.needsDeprecationWarning)
50181 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
50182 return A.AtRule$(_this.name, span, children, _this.value);
50183 },
50184 $signature: 171
50185 };
50186 A.StylesheetParser_supportsRule_closure.prototype = {
50187 call$2(children, span) {
50188 return A.SupportsRule$(this.condition, children, span);
50189 },
50190 $signature: 372
50191 };
50192 A.StylesheetParser__whileRule_closure.prototype = {
50193 call$2(children, span) {
50194 this.$this._inControlDirective = this.wasInControlDirective;
50195 return A.WhileRule$(this.condition, children, span);
50196 },
50197 $signature: 373
50198 };
50199 A.StylesheetParser_unknownAtRule_closure.prototype = {
50200 call$2(children, span) {
50201 return A.AtRule$(this.name, span, children, this._box_0.value);
50202 },
50203 $signature: 171
50204 };
50205 A.StylesheetParser_expression_resetState.prototype = {
50206 call$0() {
50207 var t2,
50208 t1 = this._box_0;
50209 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
50210 t2 = this.$this;
50211 t2.scanner.set$state(this.start);
50212 t1.allowSlash = true;
50213 t1.singleExpression_ = t2._singleExpression$0();
50214 },
50215 $signature: 0
50216 };
50217 A.StylesheetParser_expression_resolveOneOperation.prototype = {
50218 call$0() {
50219 var t2, t3,
50220 t1 = this._box_0,
50221 operator = t1.operators_.pop(),
50222 left = t1.operands_.pop(),
50223 right = t1.singleExpression_;
50224 if (right == null) {
50225 t2 = this.$this.scanner;
50226 t3 = operator.operator.length;
50227 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
50228 }
50229 if (t1.allowSlash) {
50230 t2 = this.$this;
50231 t2 = !t2._inParentheses && operator === B.BinaryOperator_RTB && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
50232 } else
50233 t2 = false;
50234 if (t2)
50235 t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_RTB, left, right, true);
50236 else {
50237 t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
50238 t1.allowSlash = false;
50239 }
50240 },
50241 $signature: 0
50242 };
50243 A.StylesheetParser_expression_resolveOperations.prototype = {
50244 call$0() {
50245 var t1,
50246 operators = this._box_0.operators_;
50247 if (operators == null)
50248 return;
50249 for (t1 = this.resolveOneOperation; operators.length !== 0;)
50250 t1.call$0();
50251 },
50252 $signature: 0
50253 };
50254 A.StylesheetParser_expression_addSingleExpression.prototype = {
50255 call$1(expression) {
50256 var t2, spaceExpressions, _this = this,
50257 t1 = _this._box_0;
50258 if (t1.singleExpression_ != null) {
50259 t2 = _this.$this;
50260 if (t2._inParentheses) {
50261 t2._inParentheses = false;
50262 if (t1.allowSlash) {
50263 _this.resetState.call$0();
50264 return;
50265 }
50266 }
50267 spaceExpressions = t1.spaceExpressions_;
50268 if (spaceExpressions == null)
50269 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
50270 _this.resolveOperations.call$0();
50271 t2 = t1.singleExpression_;
50272 t2.toString;
50273 spaceExpressions.push(t2);
50274 t1.allowSlash = true;
50275 }
50276 t1.singleExpression_ = expression;
50277 },
50278 $signature: 374
50279 };
50280 A.StylesheetParser_expression_addOperator.prototype = {
50281 call$1(operator) {
50282 var t2, t3, operators, operands, t4, singleExpression,
50283 t1 = this.$this;
50284 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB && operator !== B.BinaryOperator_kjl) {
50285 t2 = t1.scanner;
50286 t3 = operator.operator.length;
50287 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
50288 }
50289 t2 = this._box_0;
50290 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB;
50291 operators = t2.operators_;
50292 if (operators == null)
50293 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
50294 operands = t2.operands_;
50295 if (operands == null)
50296 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
50297 t3 = this.resolveOneOperation;
50298 t4 = operator.precedence;
50299 while (true) {
50300 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
50301 break;
50302 t3.call$0();
50303 }
50304 operators.push(operator);
50305 singleExpression = t2.singleExpression_;
50306 if (singleExpression == null) {
50307 t3 = t1.scanner;
50308 t4 = operator.operator.length;
50309 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
50310 }
50311 operands.push(singleExpression);
50312 t1.whitespace$0();
50313 t2.singleExpression_ = t1._singleExpression$0();
50314 },
50315 $signature: 375
50316 };
50317 A.StylesheetParser_expression_resolveSpaceExpressions.prototype = {
50318 call$0() {
50319 var t1, spaceExpressions, singleExpression, t2;
50320 this.resolveOperations.call$0();
50321 t1 = this._box_0;
50322 spaceExpressions = t1.spaceExpressions_;
50323 if (spaceExpressions != null) {
50324 singleExpression = t1.singleExpression_;
50325 if (singleExpression == null)
50326 this.$this.scanner.error$1(0, "Expected expression.");
50327 spaceExpressions.push(singleExpression);
50328 t2 = B.JSArray_methods.get$first(spaceExpressions);
50329 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
50330 t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, false, t2);
50331 t1.spaceExpressions_ = null;
50332 }
50333 },
50334 $signature: 0
50335 };
50336 A.StylesheetParser__expressionUntilComma_closure.prototype = {
50337 call$0() {
50338 return this.$this.scanner.peekChar$0() === 44;
50339 },
50340 $signature: 26
50341 };
50342 A.StylesheetParser__unicodeRange_closure.prototype = {
50343 call$1(char) {
50344 return char != null && A.isHex(char);
50345 },
50346 $signature: 31
50347 };
50348 A.StylesheetParser__unicodeRange_closure0.prototype = {
50349 call$1(char) {
50350 return char != null && A.isHex(char);
50351 },
50352 $signature: 31
50353 };
50354 A.StylesheetParser_namespacedExpression_closure.prototype = {
50355 call$0() {
50356 return this.$this.scanner.spanFrom$1(this.start);
50357 },
50358 $signature: 30
50359 };
50360 A.StylesheetParser_trySpecialFunction_closure.prototype = {
50361 call$1(contents) {
50362 return new A.StringExpression(contents, false);
50363 },
50364 $signature: 379
50365 };
50366 A.StylesheetParser__expressionUntilComparison_closure.prototype = {
50367 call$0() {
50368 var t1 = this.$this.scanner,
50369 next = t1.peekChar$0();
50370 if (next === 61)
50371 return t1.peekChar$1(1) !== 61;
50372 return next === 60 || next === 62;
50373 },
50374 $signature: 26
50375 };
50376 A.StylesheetParser__publicIdentifier_closure.prototype = {
50377 call$0() {
50378 return this.$this.scanner.spanFrom$1(this.start);
50379 },
50380 $signature: 30
50381 };
50382 A.StylesheetGraph.prototype = {
50383 modifiedSince$3(url, since, baseImporter) {
50384 var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
50385 if (node == null)
50386 return true;
50387 return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
50388 },
50389 _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
50390 var t1, t2, _this = this,
50391 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
50392 if (tuple == null)
50393 return null;
50394 t1 = tuple.item1;
50395 t2 = tuple.item2;
50396 _this.addCanonical$3(t1, t2, tuple.item3);
50397 return _this._nodes.$index(0, t2);
50398 },
50399 addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
50400 var stylesheet, _this = this,
50401 t1 = _this._nodes;
50402 if (t1.$index(0, canonicalUrl) != null)
50403 return B.Set_empty1;
50404 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
50405 if (stylesheet == null)
50406 return B.Set_empty1;
50407 t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
50408 return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty1;
50409 },
50410 addCanonical$3(importer, canonicalUrl, originalUrl) {
50411 return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
50412 },
50413 _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
50414 var t4, t5, t6, t7,
50415 t1 = type$.Uri,
50416 active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
50417 t2 = type$.JSArray_Uri,
50418 t3 = A._setArrayType([], t2);
50419 t2 = A._setArrayType([], t2);
50420 new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
50421 t4 = type$.nullable_StylesheetNode;
50422 t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50423 for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
50424 t7 = t6.get$current(t6);
50425 t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
50426 }
50427 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50428 for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
50429 t3 = t2.get$current(t2);
50430 t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
50431 }
50432 return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
50433 },
50434 reload$1(canonicalUrl) {
50435 var stylesheet, upstream, _this = this,
50436 node = _this._nodes.$index(0, canonicalUrl);
50437 if (node == null)
50438 throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
50439 _this._transitiveModificationTimes.clear$0(0);
50440 _this.importCache.clearImport$1(canonicalUrl);
50441 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
50442 if (stylesheet == null)
50443 return false;
50444 node._stylesheet = stylesheet;
50445 upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
50446 node._replaceUpstream$2(upstream.item1, upstream.item2);
50447 return true;
50448 },
50449 _recanonicalizeImports$2(importer, canonicalUrl) {
50450 var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
50451 changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
50452 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();) {
50453 t5 = t1.get$current(t1);
50454 newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
50455 newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
50456 if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
50457 changed.add$1(0, t5);
50458 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));
50459 }
50460 }
50461 if (changed._collection$_length !== 0)
50462 _this._transitiveModificationTimes.clear$0(0);
50463 return changed;
50464 },
50465 _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
50466 var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
50467 map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
50468 newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
50469 map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
50470 return newMap;
50471 },
50472 _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
50473 var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
50474 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
50475 if (tuple == null)
50476 return null;
50477 importer = tuple.item1;
50478 canonicalUrl = tuple.item2;
50479 resolvedUrl = tuple.item3;
50480 t1 = _this._nodes;
50481 if (t1.containsKey$1(canonicalUrl))
50482 return t1.$index(0, canonicalUrl);
50483 if (active.contains$1(0, canonicalUrl))
50484 return null;
50485 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
50486 if (stylesheet == null)
50487 return null;
50488 active.add$1(0, canonicalUrl);
50489 node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
50490 active.remove$1(0, canonicalUrl);
50491 t1.$indexSet(0, canonicalUrl, node);
50492 return node;
50493 },
50494 _nodeFor$4(url, baseImporter, baseUrl, active) {
50495 return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
50496 },
50497 _ignoreErrors$1$1(callback) {
50498 var t1, exception;
50499 try {
50500 t1 = callback.call$0();
50501 return t1;
50502 } catch (exception) {
50503 return null;
50504 }
50505 },
50506 _ignoreErrors$1(callback) {
50507 return this._ignoreErrors$1$1(callback, type$.dynamic);
50508 }
50509 };
50510 A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
50511 call$1(node) {
50512 return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
50513 },
50514 $signature: 382
50515 };
50516 A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
50517 call$0() {
50518 var t2, t3, upstreamTime,
50519 t1 = this.node,
50520 latest = t1.importer.modificationTime$1(t1.canonicalUrl);
50521 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();) {
50522 t3 = t1._currentIterator;
50523 t3 = t3.get$current(t3);
50524 upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
50525 if (upstreamTime._core$_value > latest._core$_value)
50526 latest = upstreamTime;
50527 }
50528 return latest;
50529 },
50530 $signature: 180
50531 };
50532 A.StylesheetGraph__add_closure.prototype = {
50533 call$0() {
50534 var _this = this;
50535 return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
50536 },
50537 $signature: 76
50538 };
50539 A.StylesheetGraph_addCanonical_closure.prototype = {
50540 call$0() {
50541 var _this = this;
50542 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
50543 },
50544 $signature: 77
50545 };
50546 A.StylesheetGraph_reload_closure.prototype = {
50547 call$0() {
50548 return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
50549 },
50550 $signature: 77
50551 };
50552 A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
50553 call$2(url, upstream) {
50554 var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
50555 if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
50556 return;
50557 t1 = _this.$this;
50558 t2 = t1.importCache;
50559 t2.clearCanonicalize$1(url);
50560 result = null;
50561 try {
50562 t3 = _this.node;
50563 result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
50564 } catch (exception) {
50565 }
50566 t2 = result;
50567 newCanonicalUrl = t2 == null ? null : t2.item2;
50568 if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
50569 return;
50570 t1 = result == null ? null : t1._nodes.$index(0, result.item2);
50571 _this.newMap.$indexSet(0, url, t1);
50572 },
50573 $signature: 383
50574 };
50575 A.StylesheetGraph__nodeFor_closure.prototype = {
50576 call$0() {
50577 var _this = this;
50578 return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
50579 },
50580 $signature: 76
50581 };
50582 A.StylesheetGraph__nodeFor_closure0.prototype = {
50583 call$0() {
50584 var _this = this;
50585 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
50586 },
50587 $signature: 77
50588 };
50589 A.StylesheetNode.prototype = {
50590 StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
50591 var t1, t2;
50592 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();) {
50593 t1 = t2._currentIterator;
50594 t1 = t1.get$current(t1);
50595 if (t1 != null)
50596 t1._downstream.add$1(0, this);
50597 }
50598 },
50599 _replaceUpstream$2(newUpstream, newUpstreamImports) {
50600 var t3, oldUpstream, newUpstreamSet, _this = this,
50601 t1 = type$.nullable_StylesheetNode,
50602 t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50603 for (t3 = _this._upstream, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50604 t2.add$1(0, t3.get$current(t3));
50605 for (t3 = _this._upstreamImports, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50606 t2.add$1(0, t3.get$current(t3));
50607 t3 = type$.StylesheetNode;
50608 oldUpstream = A.SetExtension_removeNull(t2, t3);
50609 t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50610 for (t2 = newUpstream.get$values(newUpstream), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50611 t1.add$1(0, t2.get$current(t2));
50612 for (t2 = newUpstreamImports.get$values(newUpstreamImports), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50613 t1.add$1(0, t2.get$current(t2));
50614 newUpstreamSet = A.SetExtension_removeNull(t1, t3);
50615 for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50616 t1.get$current(t1)._downstream.remove$1(0, _this);
50617 for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50618 t1.get$current(t1)._downstream.add$1(0, _this);
50619 _this._upstream = newUpstream;
50620 _this._upstreamImports = newUpstreamImports;
50621 },
50622 _stylesheet_graph$_remove$0() {
50623 var t2, t3, t4, _i, url, _this = this,
50624 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_StylesheetNode);
50625 for (t2 = _this._upstream, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50626 t1.add$1(0, t2.get$current(t2));
50627 for (t2 = _this._upstreamImports, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50628 t1.add$1(0, t2.get$current(t2));
50629 t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
50630 t2 = A._instanceType(t1)._precomputed1;
50631 for (; t1.moveNext$0();) {
50632 t3 = t1._collection$_current;
50633 if (t3 == null)
50634 t3 = t2._as(t3);
50635 if (t3 == null)
50636 continue;
50637 t3._downstream.remove$1(0, _this);
50638 }
50639 for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
50640 t2 = t1.get$current(t1);
50641 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) {
50642 url = t3[_i];
50643 if (J.$eq$(t2._upstream.$index(0, url), _this)) {
50644 t2._upstream.$indexSet(0, url, null);
50645 break;
50646 }
50647 }
50648 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) {
50649 url = t3[_i];
50650 if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
50651 t2._upstreamImports.$indexSet(0, url, null);
50652 break;
50653 }
50654 }
50655 }
50656 },
50657 toString$0(_) {
50658 var t1 = A.NullableExtension_andThen(this._stylesheet.span.file.url, A.path__prettyUri$closure());
50659 return t1 == null ? "<unknown>" : t1;
50660 }
50661 };
50662 A.Syntax.prototype = {
50663 toString$0(_) {
50664 return this._syntax$_name;
50665 }
50666 };
50667 A.LimitedMapView.prototype = {
50668 get$keys(_) {
50669 return this._limited_map_view$_keys;
50670 },
50671 get$length(_) {
50672 return this._limited_map_view$_keys._collection$_length;
50673 },
50674 get$isEmpty(_) {
50675 return this._limited_map_view$_keys._collection$_length === 0;
50676 },
50677 get$isNotEmpty(_) {
50678 return this._limited_map_view$_keys._collection$_length !== 0;
50679 },
50680 $index(_, key) {
50681 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
50682 },
50683 containsKey$1(key) {
50684 return this._limited_map_view$_keys.contains$1(0, key);
50685 },
50686 remove$1(_, key) {
50687 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
50688 }
50689 };
50690 A.MergedMapView.prototype = {
50691 get$keys(_) {
50692 var t1 = this._mapsByKey;
50693 return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
50694 },
50695 get$length(_) {
50696 return this._mapsByKey.__js_helper$_length;
50697 },
50698 get$isEmpty(_) {
50699 return this._mapsByKey.__js_helper$_length === 0;
50700 },
50701 get$isNotEmpty(_) {
50702 return this._mapsByKey.__js_helper$_length !== 0;
50703 },
50704 MergedMapView$1(maps, $K, $V) {
50705 var t1, t2, t3, _i, map, t4, t5, t6;
50706 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) {
50707 map = maps[_i];
50708 if (t3._is(map))
50709 for (t4 = map._mapsByKey, t4 = t4.get$values(t4), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f), t5 = A._instanceType(t4)._rest[1]; t4.moveNext$0();) {
50710 t6 = t4.__internal$_current;
50711 if (t6 == null)
50712 t6 = t5._as(t6);
50713 A.setAll(t2, t6.get$keys(t6), t6);
50714 }
50715 else
50716 A.setAll(t2, map.get$keys(map), map);
50717 }
50718 },
50719 $index(_, key) {
50720 var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
50721 return t1 == null ? null : t1.$index(0, key);
50722 },
50723 $indexSet(_, key, value) {
50724 var child = this._mapsByKey.$index(0, key);
50725 if (child == null)
50726 throw A.wrapException(A.UnsupportedError$(string$.New_en));
50727 child.$indexSet(0, key, value);
50728 },
50729 remove$1(_, key) {
50730 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
50731 },
50732 containsKey$1(key) {
50733 return this._mapsByKey.containsKey$1(key);
50734 }
50735 };
50736 A.MultiDirWatcher.prototype = {
50737 watch$1(_, directory) {
50738 var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
50739 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) {
50740 entry = t2[_i];
50741 t5 = entry.key;
50742 t5.toString;
50743 existingWatcher = entry.value;
50744 if (!isParentOfExistingDir) {
50745 t6 = $.$get$context();
50746 t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
50747 } else
50748 t6 = false;
50749 if (t6) {
50750 t1 = new A._Future($.Zone__current, type$._Future_void);
50751 t1._asyncComplete$1(null);
50752 return t1;
50753 }
50754 if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
50755 t1.remove$1(0, t5);
50756 t4.remove$1(0, existingWatcher);
50757 isParentOfExistingDir = true;
50758 }
50759 }
50760 future = A.watchDir(directory, this._poll);
50761 t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
50762 completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
50763 future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
50764 t1.$indexSet(0, directory, t2);
50765 t4.add$1(0, t2);
50766 return future;
50767 }
50768 };
50769 A.NoSourceMapBuffer.prototype = {
50770 get$length(_) {
50771 return this._no_source_map_buffer$_buffer._contents.length;
50772 },
50773 forSpan$1$2(span, callback) {
50774 return callback.call$0();
50775 },
50776 forSpan$2(span, callback) {
50777 return this.forSpan$1$2(span, callback, type$.dynamic);
50778 },
50779 write$1(_, object) {
50780 this._no_source_map_buffer$_buffer._contents += A.S(object);
50781 return null;
50782 },
50783 writeCharCode$1(charCode) {
50784 this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50785 return null;
50786 },
50787 toString$0(_) {
50788 var t1 = this._no_source_map_buffer$_buffer._contents;
50789 return t1.charCodeAt(0) == 0 ? t1 : t1;
50790 },
50791 buildSourceMap$1$prefix(prefix) {
50792 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
50793 }
50794 };
50795 A.PrefixedMapView.prototype = {
50796 get$keys(_) {
50797 return new A._PrefixedKeys(this);
50798 },
50799 get$length(_) {
50800 var t1 = this._prefixed_map_view$_map;
50801 return t1.get$length(t1);
50802 },
50803 get$isEmpty(_) {
50804 var t1 = this._prefixed_map_view$_map;
50805 return t1.get$isEmpty(t1);
50806 },
50807 get$isNotEmpty(_) {
50808 var t1 = this._prefixed_map_view$_map;
50809 return t1.get$isNotEmpty(t1);
50810 },
50811 $index(_, key) {
50812 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;
50813 },
50814 containsKey$1(key) {
50815 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));
50816 }
50817 };
50818 A._PrefixedKeys.prototype = {
50819 get$length(_) {
50820 var t1 = this._view._prefixed_map_view$_map;
50821 return t1.get$length(t1);
50822 },
50823 get$iterator(_) {
50824 var t1 = this._view._prefixed_map_view$_map;
50825 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
50826 return t1.get$iterator(t1);
50827 },
50828 contains$1(_, key) {
50829 return this._view.containsKey$1(key);
50830 }
50831 };
50832 A._PrefixedKeys_iterator_closure.prototype = {
50833 call$1(key) {
50834 return this.$this._view._prefix + key;
50835 },
50836 $signature: 5
50837 };
50838 A.PublicMemberMapView.prototype = {
50839 get$keys(_) {
50840 var t1 = this._public_member_map_view$_inner;
50841 return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
50842 },
50843 containsKey$1(key) {
50844 return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
50845 },
50846 $index(_, key) {
50847 if (typeof key == "string" && A.isPublic(key))
50848 return this._public_member_map_view$_inner.$index(0, key);
50849 return null;
50850 }
50851 };
50852 A.SourceMapBuffer.prototype = {
50853 get$_targetLocation() {
50854 var t1 = this._source_map_buffer$_buffer._contents,
50855 t2 = this._line;
50856 return A.SourceLocation$(t1.length, this._column, t2, null);
50857 },
50858 get$length(_) {
50859 return this._source_map_buffer$_buffer._contents.length;
50860 },
50861 forSpan$1$2(span, callback) {
50862 var t1, _this = this,
50863 wasInSpan = _this._inSpan;
50864 _this._inSpan = true;
50865 _this._addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_targetLocation());
50866 try {
50867 t1 = callback.call$0();
50868 return t1;
50869 } finally {
50870 _this._inSpan = wasInSpan;
50871 }
50872 },
50873 forSpan$2(span, callback) {
50874 return this.forSpan$1$2(span, callback, type$.dynamic);
50875 },
50876 _addEntry$2(source, target) {
50877 var entry, t2,
50878 t1 = this._entries;
50879 if (t1.length !== 0) {
50880 entry = B.JSArray_methods.get$last(t1);
50881 t2 = entry.source;
50882 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
50883 return;
50884 if (entry.target.offset === target.offset)
50885 return;
50886 }
50887 t1.push(new A.Entry(source, target, null));
50888 },
50889 write$1(_, object) {
50890 var t1, i,
50891 string = J.toString$0$(object);
50892 this._source_map_buffer$_buffer._contents += string;
50893 for (t1 = string.length, i = 0; i < t1; ++i)
50894 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
50895 this._source_map_buffer$_writeLine$0();
50896 else
50897 ++this._column;
50898 },
50899 writeCharCode$1(charCode) {
50900 this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50901 if (charCode === 10)
50902 this._source_map_buffer$_writeLine$0();
50903 else
50904 ++this._column;
50905 },
50906 _source_map_buffer$_writeLine$0() {
50907 var _this = this,
50908 t1 = _this._entries;
50909 if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
50910 t1.pop();
50911 ++_this._line;
50912 _this._column = 0;
50913 if (_this._inSpan)
50914 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
50915 },
50916 toString$0(_) {
50917 var t1 = this._source_map_buffer$_buffer._contents;
50918 return t1.charCodeAt(0) == 0 ? t1 : t1;
50919 },
50920 buildSourceMap$1$prefix(prefix) {
50921 var i, t2, prefixColumn, _box_0 = {},
50922 t1 = prefix.length;
50923 if (t1 === 0)
50924 return A.SingleMapping_SingleMapping$fromEntries(this._entries);
50925 _box_0.prefixColumn = _box_0.prefixLines = 0;
50926 for (i = 0, t2 = 0; i < t1; ++i)
50927 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
50928 ++_box_0.prefixLines;
50929 _box_0.prefixColumn = 0;
50930 t2 = 0;
50931 } else {
50932 prefixColumn = t2 + 1;
50933 _box_0.prefixColumn = prefixColumn;
50934 t2 = prefixColumn;
50935 }
50936 t2 = this._entries;
50937 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>")));
50938 }
50939 };
50940 A.SourceMapBuffer_buildSourceMap_closure.prototype = {
50941 call$1(entry) {
50942 var t1 = entry.source,
50943 t2 = entry.target,
50944 t3 = t2.line,
50945 t4 = this._box_0,
50946 t5 = t4.prefixLines;
50947 t4 = t3 === 0 ? t4.prefixColumn : 0;
50948 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
50949 },
50950 $signature: 169
50951 };
50952 A.UnprefixedMapView.prototype = {
50953 get$keys(_) {
50954 return new A._UnprefixedKeys(this);
50955 },
50956 $index(_, key) {
50957 return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
50958 },
50959 containsKey$1(key) {
50960 return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
50961 },
50962 remove$1(_, key) {
50963 return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
50964 }
50965 };
50966 A._UnprefixedKeys.prototype = {
50967 get$iterator(_) {
50968 var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
50969 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);
50970 return t1.get$iterator(t1);
50971 },
50972 contains$1(_, key) {
50973 return this._unprefixed_map_view$_view.containsKey$1(key);
50974 }
50975 };
50976 A._UnprefixedKeys_iterator_closure.prototype = {
50977 call$1(key) {
50978 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
50979 },
50980 $signature: 6
50981 };
50982 A._UnprefixedKeys_iterator_closure0.prototype = {
50983 call$1(key) {
50984 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
50985 },
50986 $signature: 5
50987 };
50988 A.indent_closure.prototype = {
50989 call$1(line) {
50990 return B.JSString_methods.$mul(" ", this.indentation) + line;
50991 },
50992 $signature: 5
50993 };
50994 A.flattenVertically_closure.prototype = {
50995 call$1(inner) {
50996 return A.QueueList_QueueList$from(inner, this.T);
50997 },
50998 $signature() {
50999 return this.T._eval$1("QueueList<0>(Iterable<0>)");
51000 }
51001 };
51002 A.flattenVertically_closure0.prototype = {
51003 call$1(queue) {
51004 this.result.push(queue.removeFirst$0());
51005 return queue.get$length(queue) === 0;
51006 },
51007 $signature() {
51008 return this.T._eval$1("bool(QueueList<0>)");
51009 }
51010 };
51011 A.longestCommonSubsequence_closure.prototype = {
51012 call$2(element1, element2) {
51013 return J.$eq$(element1, element2) ? element1 : null;
51014 },
51015 $signature() {
51016 return this.T._eval$1("0?(0,0)");
51017 }
51018 };
51019 A.longestCommonSubsequence_backtrack.prototype = {
51020 call$2(i, j) {
51021 var selection, t1, _this = this;
51022 if (i === -1 || j === -1)
51023 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
51024 selection = _this.selections[i][j];
51025 if (selection != null) {
51026 t1 = _this.call$2(i - 1, j - 1);
51027 J.add$1$ax(t1, selection);
51028 return t1;
51029 }
51030 t1 = _this.lengths;
51031 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
51032 },
51033 $signature() {
51034 return this.T._eval$1("List<0>(int,int)");
51035 }
51036 };
51037 A.mapAddAll2_closure.prototype = {
51038 call$2(key, inner) {
51039 var t1 = this.destination,
51040 innerDestination = t1.$index(0, key);
51041 if (innerDestination != null)
51042 innerDestination.addAll$1(0, inner);
51043 else
51044 t1.$indexSet(0, key, inner);
51045 },
51046 $signature() {
51047 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
51048 }
51049 };
51050 A.Value.prototype = {
51051 get$isTruthy() {
51052 return true;
51053 },
51054 get$separator(_) {
51055 return B.ListSeparator_undecided_null;
51056 },
51057 get$hasBrackets() {
51058 return false;
51059 },
51060 get$asList() {
51061 return A._setArrayType([this], type$.JSArray_Value);
51062 },
51063 get$lengthAsList() {
51064 return 1;
51065 },
51066 get$isBlank() {
51067 return false;
51068 },
51069 get$isSpecialNumber() {
51070 return false;
51071 },
51072 get$isVar() {
51073 return false;
51074 },
51075 get$realNull() {
51076 return this;
51077 },
51078 sassIndexToListIndex$2(sassIndex, $name) {
51079 var _this = this,
51080 index = sassIndex.assertNumber$1($name).assertInt$1($name);
51081 if (index === 0)
51082 throw A.wrapException(_this._value$_exception$2("List index may not be 0.", $name));
51083 if (Math.abs(index) > _this.get$lengthAsList())
51084 throw A.wrapException(_this._value$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
51085 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
51086 },
51087 assertCalculation$1($name) {
51088 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
51089 },
51090 assertColor$1($name) {
51091 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a color.", $name));
51092 },
51093 assertFunction$1($name) {
51094 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
51095 },
51096 assertMap$1($name) {
51097 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a map.", $name));
51098 },
51099 tryMap$0() {
51100 return null;
51101 },
51102 assertNumber$1($name) {
51103 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a number.", $name));
51104 },
51105 assertNumber$0() {
51106 return this.assertNumber$1(null);
51107 },
51108 assertString$1($name) {
51109 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a string.", $name));
51110 },
51111 assertSelector$2$allowParent$name(allowParent, $name) {
51112 var error, stackTrace, t1, exception,
51113 string = this._selectorString$1($name);
51114 try {
51115 t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
51116 return t1;
51117 } catch (exception) {
51118 t1 = A.unwrapException(exception);
51119 if (t1 instanceof A.SassFormatException) {
51120 error = t1;
51121 stackTrace = A.getTraceFromException(exception);
51122 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
51123 A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
51124 } else
51125 throw exception;
51126 }
51127 },
51128 assertSelector$1$name($name) {
51129 return this.assertSelector$2$allowParent$name(false, $name);
51130 },
51131 assertSelector$0() {
51132 return this.assertSelector$2$allowParent$name(false, null);
51133 },
51134 assertSelector$1$allowParent(allowParent) {
51135 return this.assertSelector$2$allowParent$name(allowParent, null);
51136 },
51137 assertCompoundSelector$1$name($name) {
51138 var error, stackTrace, t1, exception,
51139 allowParent = false,
51140 string = this._selectorString$1($name);
51141 try {
51142 t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
51143 return t1;
51144 } catch (exception) {
51145 t1 = A.unwrapException(exception);
51146 if (t1 instanceof A.SassFormatException) {
51147 error = t1;
51148 stackTrace = A.getTraceFromException(exception);
51149 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
51150 A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), stackTrace);
51151 } else
51152 throw exception;
51153 }
51154 },
51155 _selectorString$1($name) {
51156 var string = this._selectorStringOrNull$0();
51157 if (string != null)
51158 return string;
51159 throw A.wrapException(this._value$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
51160 },
51161 _selectorStringOrNull$0() {
51162 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
51163 if (_this instanceof A.SassString)
51164 return _this._string$_text;
51165 if (!(_this instanceof A.SassList))
51166 return _null;
51167 t1 = _this._list$_contents;
51168 t2 = t1.length;
51169 if (t2 === 0)
51170 return _null;
51171 result = A._setArrayType([], type$.JSArray_String);
51172 t3 = _this._separator;
51173 switch (t3) {
51174 case B.ListSeparator_kWM:
51175 for (_i = 0; _i < t2; ++_i) {
51176 complex = t1[_i];
51177 if (complex instanceof A.SassString)
51178 result.push(complex._string$_text);
51179 else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_woc) {
51180 string = complex._selectorStringOrNull$0();
51181 if (string == null)
51182 return _null;
51183 result.push(string);
51184 } else
51185 return _null;
51186 }
51187 break;
51188 case B.ListSeparator_1gm:
51189 return _null;
51190 default:
51191 for (_i = 0; _i < t2; ++_i) {
51192 compound = t1[_i];
51193 if (compound instanceof A.SassString)
51194 result.push(compound._string$_text);
51195 else
51196 return _null;
51197 }
51198 break;
51199 }
51200 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM ? ", " : " ");
51201 },
51202 withListContents$2$separator(contents, separator) {
51203 var t1 = separator == null ? this.get$separator(this) : separator,
51204 t2 = this.get$hasBrackets();
51205 return A.SassList$(contents, t1, t2);
51206 },
51207 withListContents$1(contents) {
51208 return this.withListContents$2$separator(contents, null);
51209 },
51210 greaterThan$1(other) {
51211 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51212 },
51213 greaterThanOrEquals$1(other) {
51214 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51215 },
51216 lessThan$1(other) {
51217 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51218 },
51219 lessThanOrEquals$1(other) {
51220 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51221 },
51222 times$1(other) {
51223 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51224 },
51225 modulo$1(other) {
51226 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51227 },
51228 plus$1(other) {
51229 if (other instanceof A.SassString)
51230 return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
51231 else if (other instanceof A.SassCalculation)
51232 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51233 else
51234 return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
51235 },
51236 minus$1(other) {
51237 if (other instanceof A.SassCalculation)
51238 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51239 else
51240 return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
51241 },
51242 dividedBy$1(other) {
51243 return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
51244 },
51245 unaryPlus$0() {
51246 return new A.SassString("+" + A.serializeValue(this, false, true), false);
51247 },
51248 unaryMinus$0() {
51249 return new A.SassString("-" + A.serializeValue(this, false, true), false);
51250 },
51251 unaryNot$0() {
51252 return B.SassBoolean_false;
51253 },
51254 withoutSlash$0() {
51255 return this;
51256 },
51257 toString$0(_) {
51258 return A.serializeValue(this, true, true);
51259 },
51260 _value$_exception$2(message, $name) {
51261 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51262 }
51263 };
51264 A.SassArgumentList.prototype = {};
51265 A.SassBoolean.prototype = {
51266 get$isTruthy() {
51267 return this.value;
51268 },
51269 accept$1$1(visitor) {
51270 return visitor._serialize$_buffer.write$1(0, String(this.value));
51271 },
51272 accept$1(visitor) {
51273 return this.accept$1$1(visitor, type$.dynamic);
51274 },
51275 unaryNot$0() {
51276 return this.value ? B.SassBoolean_false : B.SassBoolean_true;
51277 }
51278 };
51279 A.SassCalculation.prototype = {
51280 get$isSpecialNumber() {
51281 return true;
51282 },
51283 accept$1$1(visitor) {
51284 var t2,
51285 t1 = visitor._serialize$_buffer;
51286 t1.write$1(0, this.name);
51287 t1.writeCharCode$1(40);
51288 t2 = visitor._style === B.OutputStyle_compressed ? "," : ", ";
51289 visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
51290 t1.writeCharCode$1(41);
51291 return null;
51292 },
51293 accept$1(visitor) {
51294 return this.accept$1$1(visitor, type$.dynamic);
51295 },
51296 assertCalculation$1($name) {
51297 return this;
51298 },
51299 plus$1(other) {
51300 if (other instanceof A.SassString)
51301 return this.super$Value$plus(other);
51302 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51303 },
51304 minus$1(other) {
51305 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51306 },
51307 unaryPlus$0() {
51308 return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".'));
51309 },
51310 unaryMinus$0() {
51311 return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".'));
51312 },
51313 $eq(_, other) {
51314 if (other == null)
51315 return false;
51316 return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
51317 },
51318 get$hashCode(_) {
51319 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
51320 }
51321 };
51322 A.SassCalculation__verifyLength_closure.prototype = {
51323 call$1(arg) {
51324 return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
51325 },
51326 $signature: 109
51327 };
51328 A.CalculationOperation.prototype = {
51329 $eq(_, other) {
51330 if (other == null)
51331 return false;
51332 return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
51333 },
51334 get$hashCode(_) {
51335 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
51336 },
51337 toString$0(_) {
51338 var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
51339 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
51340 }
51341 };
51342 A.CalculationOperator.prototype = {
51343 toString$0(_) {
51344 return this.name;
51345 }
51346 };
51347 A.CalculationInterpolation.prototype = {
51348 $eq(_, other) {
51349 if (other == null)
51350 return false;
51351 return other instanceof A.CalculationInterpolation && this.value === other.value;
51352 },
51353 get$hashCode(_) {
51354 return B.JSString_methods.get$hashCode(this.value);
51355 },
51356 toString$0(_) {
51357 return this.value;
51358 }
51359 };
51360 A.SassColor.prototype = {
51361 get$red(_) {
51362 var t1;
51363 if (this._red == null)
51364 this._hslToRgb$0();
51365 t1 = this._red;
51366 t1.toString;
51367 return t1;
51368 },
51369 get$green(_) {
51370 var t1;
51371 if (this._green == null)
51372 this._hslToRgb$0();
51373 t1 = this._green;
51374 t1.toString;
51375 return t1;
51376 },
51377 get$blue(_) {
51378 var t1;
51379 if (this._blue == null)
51380 this._hslToRgb$0();
51381 t1 = this._blue;
51382 t1.toString;
51383 return t1;
51384 },
51385 get$hue(_) {
51386 var t1;
51387 if (this._hue == null)
51388 this._rgbToHsl$0();
51389 t1 = this._hue;
51390 t1.toString;
51391 return t1;
51392 },
51393 get$saturation(_) {
51394 var t1;
51395 if (this._saturation == null)
51396 this._rgbToHsl$0();
51397 t1 = this._saturation;
51398 t1.toString;
51399 return t1;
51400 },
51401 get$lightness(_) {
51402 var t1;
51403 if (this._lightness == null)
51404 this._rgbToHsl$0();
51405 t1 = this._lightness;
51406 t1.toString;
51407 return t1;
51408 },
51409 get$whiteness(_) {
51410 var _this = this;
51411 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51412 },
51413 get$blackness(_) {
51414 var _this = this;
51415 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51416 },
51417 accept$1$1(visitor) {
51418 var $name, hexLength, t1, format, t2, opaque, _this = this;
51419 if (visitor._style === B.OutputStyle_compressed)
51420 if (!(Math.abs(_this._alpha - 1) < $.$get$epsilon()))
51421 visitor._writeRgb$1(_this);
51422 else {
51423 $name = $.$get$namesByColor().$index(0, _this);
51424 hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
51425 if ($name != null && $name.length <= hexLength)
51426 visitor._serialize$_buffer.write$1(0, $name);
51427 else {
51428 t1 = visitor._serialize$_buffer;
51429 if (visitor._canUseShortHex$1(_this)) {
51430 t1.writeCharCode$1(35);
51431 t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
51432 t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
51433 t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
51434 } else {
51435 t1.writeCharCode$1(35);
51436 visitor._writeHexComponent$1(_this.get$red(_this));
51437 visitor._writeHexComponent$1(_this.get$green(_this));
51438 visitor._writeHexComponent$1(_this.get$blue(_this));
51439 }
51440 }
51441 }
51442 else {
51443 format = _this.format;
51444 if (format != null)
51445 if (format === B._ColorFormatEnum_rgbFunction)
51446 visitor._writeRgb$1(_this);
51447 else {
51448 t1 = visitor._serialize$_buffer;
51449 if (format === B._ColorFormatEnum_hslFunction) {
51450 t2 = _this._alpha;
51451 opaque = Math.abs(t2 - 1) < $.$get$epsilon();
51452 t1.write$1(0, opaque ? "hsl(" : "hsla(");
51453 visitor._writeNumber$1(_this.get$hue(_this));
51454 t1.write$1(0, "deg");
51455 t1.write$1(0, ", ");
51456 visitor._writeNumber$1(_this.get$saturation(_this));
51457 t1.writeCharCode$1(37);
51458 t1.write$1(0, ", ");
51459 visitor._writeNumber$1(_this.get$lightness(_this));
51460 t1.writeCharCode$1(37);
51461 if (!opaque) {
51462 t1.write$1(0, ", ");
51463 visitor._writeNumber$1(t2);
51464 }
51465 t1.writeCharCode$1(41);
51466 } else {
51467 t2 = type$.SpanColorFormat._as(format)._color$_span;
51468 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
51469 }
51470 }
51471 else {
51472 t1 = $.$get$namesByColor();
51473 if (t1.containsKey$1(_this) && !(Math.abs(_this._alpha - 0) < $.$get$epsilon()))
51474 visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
51475 else if (Math.abs(_this._alpha - 1) < $.$get$epsilon()) {
51476 visitor._serialize$_buffer.writeCharCode$1(35);
51477 visitor._writeHexComponent$1(_this.get$red(_this));
51478 visitor._writeHexComponent$1(_this.get$green(_this));
51479 visitor._writeHexComponent$1(_this.get$blue(_this));
51480 } else
51481 visitor._writeRgb$1(_this);
51482 }
51483 }
51484 return null;
51485 },
51486 accept$1(visitor) {
51487 return this.accept$1$1(visitor, type$.dynamic);
51488 },
51489 assertColor$1($name) {
51490 return this;
51491 },
51492 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
51493 return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
51494 },
51495 changeRgb$3$blue$green$red(blue, green, red) {
51496 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
51497 },
51498 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
51499 var _this = this, _null = null,
51500 t1 = hue == null ? _this.get$hue(_this) : hue,
51501 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
51502 t3 = lightness == null ? _this.get$lightness(_this) : lightness,
51503 t4 = alpha == null ? _this._alpha : alpha;
51504 t1 = B.JSNumber_methods.$mod(t1, 360);
51505 t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
51506 t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
51507 t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
51508 return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
51509 },
51510 changeHsl$1$saturation(saturation) {
51511 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
51512 },
51513 changeHsl$1$lightness(lightness) {
51514 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
51515 },
51516 changeHsl$1$hue(hue) {
51517 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
51518 },
51519 changeAlpha$1(alpha) {
51520 var _this = this;
51521 return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
51522 },
51523 plus$1(other) {
51524 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51525 return this.super$Value$plus(other);
51526 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51527 },
51528 minus$1(other) {
51529 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51530 return this.super$Value$minus(other);
51531 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51532 },
51533 dividedBy$1(other) {
51534 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51535 return this.super$Value$dividedBy(other);
51536 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
51537 },
51538 $eq(_, other) {
51539 var _this = this;
51540 if (other == null)
51541 return false;
51542 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;
51543 },
51544 get$hashCode(_) {
51545 var _this = this;
51546 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);
51547 },
51548 _rgbToHsl$0() {
51549 var t2, lightness, _this = this,
51550 scaledRed = _this.get$red(_this) / 255,
51551 scaledGreen = _this.get$green(_this) / 255,
51552 scaledBlue = _this.get$blue(_this) / 255,
51553 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
51554 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
51555 delta = max - min,
51556 t1 = max === min;
51557 if (t1)
51558 _this._hue = 0;
51559 else if (max === scaledRed)
51560 _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
51561 else if (max === scaledGreen)
51562 _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
51563 else if (max === scaledBlue)
51564 _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
51565 t2 = max + min;
51566 lightness = 50 * t2;
51567 _this._lightness = lightness;
51568 if (t1)
51569 _this._saturation = 0;
51570 else {
51571 t1 = 100 * delta;
51572 if (lightness < 50)
51573 _this._saturation = t1 / t2;
51574 else
51575 _this._saturation = t1 / (2 - max - min);
51576 }
51577 },
51578 _hslToRgb$0() {
51579 var _this = this,
51580 scaledHue = _this.get$hue(_this) / 360,
51581 scaledSaturation = _this.get$saturation(_this) / 100,
51582 scaledLightness = _this.get$lightness(_this) / 100,
51583 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
51584 m1 = scaledLightness * 2 - m2;
51585 _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
51586 _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
51587 _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
51588 }
51589 };
51590 A.SassColor_SassColor$hwb_toRgb.prototype = {
51591 call$1(hue) {
51592 return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
51593 },
51594 $signature: 42
51595 };
51596 A._ColorFormatEnum.prototype = {
51597 toString$0(_) {
51598 return this._color$_name;
51599 }
51600 };
51601 A.SpanColorFormat.prototype = {};
51602 A.SassFunction.prototype = {
51603 accept$1$1(visitor) {
51604 var t1, t2;
51605 if (!visitor._inspect)
51606 A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value."));
51607 t1 = visitor._serialize$_buffer;
51608 t1.write$1(0, "get-function(");
51609 t2 = this.callable;
51610 visitor._visitQuotedString$1(t2.get$name(t2));
51611 t1.writeCharCode$1(41);
51612 return null;
51613 },
51614 accept$1(visitor) {
51615 return this.accept$1$1(visitor, type$.dynamic);
51616 },
51617 assertFunction$1($name) {
51618 return this;
51619 },
51620 $eq(_, other) {
51621 if (other == null)
51622 return false;
51623 return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
51624 },
51625 get$hashCode(_) {
51626 var t1 = this.callable;
51627 return t1.get$hashCode(t1);
51628 }
51629 };
51630 A.SassList.prototype = {
51631 get$separator(_) {
51632 return this._separator;
51633 },
51634 get$hasBrackets() {
51635 return this._hasBrackets;
51636 },
51637 get$isBlank() {
51638 return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
51639 },
51640 get$asList() {
51641 return this._list$_contents;
51642 },
51643 get$lengthAsList() {
51644 return this._list$_contents.length;
51645 },
51646 SassList$3$brackets(contents, _separator, brackets) {
51647 if (this._separator === B.ListSeparator_undecided_null && this._list$_contents.length > 1)
51648 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
51649 },
51650 accept$1$1(visitor) {
51651 return visitor.visitList$1(this);
51652 },
51653 accept$1(visitor) {
51654 return this.accept$1$1(visitor, type$.dynamic);
51655 },
51656 assertMap$1($name) {
51657 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
51658 },
51659 tryMap$0() {
51660 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
51661 },
51662 $eq(_, other) {
51663 var t1, _this = this;
51664 if (other == null)
51665 return false;
51666 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)))
51667 t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
51668 else
51669 t1 = true;
51670 return t1;
51671 },
51672 get$hashCode(_) {
51673 return B.C_ListEquality0.hash$1(this._list$_contents);
51674 }
51675 };
51676 A.SassList_isBlank_closure.prototype = {
51677 call$1(element) {
51678 return element.get$isBlank();
51679 },
51680 $signature: 62
51681 };
51682 A.ListSeparator.prototype = {
51683 toString$0(_) {
51684 return this._list$_name;
51685 }
51686 };
51687 A.SassMap.prototype = {
51688 get$separator(_) {
51689 var t1 = this._map$_contents;
51690 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null : B.ListSeparator_kWM;
51691 },
51692 get$asList() {
51693 var result = A._setArrayType([], type$.JSArray_Value);
51694 this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
51695 return result;
51696 },
51697 get$lengthAsList() {
51698 var t1 = this._map$_contents;
51699 return t1.get$length(t1);
51700 },
51701 accept$1$1(visitor) {
51702 return visitor.visitMap$1(this);
51703 },
51704 accept$1(visitor) {
51705 return this.accept$1$1(visitor, type$.dynamic);
51706 },
51707 assertMap$1($name) {
51708 return this;
51709 },
51710 tryMap$0() {
51711 return this;
51712 },
51713 $eq(_, other) {
51714 var t1;
51715 if (other == null)
51716 return false;
51717 if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
51718 t1 = this._map$_contents;
51719 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
51720 } else
51721 t1 = true;
51722 return t1;
51723 },
51724 get$hashCode(_) {
51725 var t1 = this._map$_contents;
51726 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty5) : B.C_MapEquality.hash$1(t1);
51727 }
51728 };
51729 A.SassMap_asList_closure.prototype = {
51730 call$2(key, value) {
51731 this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_woc, false));
51732 },
51733 $signature: 52
51734 };
51735 A._SassNull.prototype = {
51736 get$isTruthy() {
51737 return false;
51738 },
51739 get$isBlank() {
51740 return true;
51741 },
51742 get$realNull() {
51743 return null;
51744 },
51745 accept$1$1(visitor) {
51746 if (visitor._inspect)
51747 visitor._serialize$_buffer.write$1(0, "null");
51748 return null;
51749 },
51750 accept$1(visitor) {
51751 return this.accept$1$1(visitor, type$.dynamic);
51752 },
51753 unaryNot$0() {
51754 return B.SassBoolean_true;
51755 }
51756 };
51757 A.SassNumber.prototype = {
51758 get$unitString() {
51759 var _this = this;
51760 return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
51761 },
51762 accept$1$1(visitor) {
51763 return visitor.visitNumber$1(this);
51764 },
51765 accept$1(visitor) {
51766 return this.accept$1$1(visitor, type$.dynamic);
51767 },
51768 withoutSlash$0() {
51769 var _this = this;
51770 return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
51771 },
51772 assertNumber$1($name) {
51773 return this;
51774 },
51775 assertNumber$0() {
51776 return this.assertNumber$1(null);
51777 },
51778 assertInt$1($name) {
51779 var t1 = this._number$_value,
51780 integer = A.fuzzyIsInt(t1) ? B.JSNumber_methods.round$0(t1) : null;
51781 if (integer != null)
51782 return integer;
51783 throw A.wrapException(this._number$_exception$2(this.toString$0(0) + " is not an int.", $name));
51784 },
51785 assertInt$0() {
51786 return this.assertInt$1(null);
51787 },
51788 valueInRange$3(min, max, $name) {
51789 var _this = this,
51790 result = A.fuzzyCheckRange(_this._number$_value, min, max);
51791 if (result != null)
51792 return result;
51793 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));
51794 },
51795 hasCompatibleUnits$1(other) {
51796 var _this = this;
51797 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
51798 return false;
51799 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51800 return false;
51801 return _this.isComparableTo$1(other);
51802 },
51803 assertUnit$2(unit, $name) {
51804 if (this.hasUnit$1(unit))
51805 return;
51806 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
51807 },
51808 assertNoUnits$1($name) {
51809 if (!this.get$hasUnits())
51810 return;
51811 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
51812 },
51813 convertValueToMatch$3(other, $name, otherName) {
51814 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
51815 },
51816 coerce$3(newNumerators, newDenominators, $name) {
51817 return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
51818 },
51819 coerce$2(newNumerators, newDenominators) {
51820 return this.coerce$3(newNumerators, newDenominators, null);
51821 },
51822 coerceValue$3(newNumerators, newDenominators, $name) {
51823 return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
51824 },
51825 coerceValueToUnit$2(unit, $name) {
51826 var t1 = type$.JSArray_String;
51827 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
51828 },
51829 coerceValueToMatch$3(other, $name, otherName) {
51830 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
51831 },
51832 coerceValueToMatch$1(other) {
51833 return this.coerceValueToMatch$3(other, null, null);
51834 },
51835 _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
51836 var otherHasUnits, t1, _compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
51837 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
51838 return _this._number$_value;
51839 otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
51840 if (coerceUnitless)
51841 t1 = !_this.get$hasUnits() || !otherHasUnits;
51842 else
51843 t1 = false;
51844 if (t1)
51845 return _this._number$_value;
51846 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
51847 _box_0.value = _this._number$_value;
51848 t1 = _this.get$numeratorUnits(_this);
51849 oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51850 for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
51851 A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(_compatibilityException));
51852 t1 = _this.get$denominatorUnits(_this);
51853 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51854 for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
51855 A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(_compatibilityException));
51856 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
51857 throw A.wrapException(_compatibilityException.call$0());
51858 return _box_0.value;
51859 },
51860 _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
51861 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
51862 },
51863 isComparableTo$1(other) {
51864 var exception;
51865 if (!this.get$hasUnits() || !other.get$hasUnits())
51866 return true;
51867 try {
51868 this.greaterThan$1(other);
51869 return true;
51870 } catch (exception) {
51871 if (A.unwrapException(exception) instanceof A.SassScriptException)
51872 return false;
51873 else
51874 throw exception;
51875 }
51876 },
51877 greaterThan$1(other) {
51878 if (other instanceof A.SassNumber)
51879 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51880 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51881 },
51882 greaterThanOrEquals$1(other) {
51883 if (other instanceof A.SassNumber)
51884 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51885 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51886 },
51887 lessThan$1(other) {
51888 if (other instanceof A.SassNumber)
51889 return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51890 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51891 },
51892 lessThanOrEquals$1(other) {
51893 if (other instanceof A.SassNumber)
51894 return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51895 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51896 },
51897 modulo$1(other) {
51898 var _this = this;
51899 if (other instanceof A.SassNumber)
51900 return _this.withValue$1(_this._coerceUnits$2(other, _this.get$moduloLikeSass()));
51901 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51902 },
51903 moduloLikeSass$2(num1, num2) {
51904 var result;
51905 if (num2 > 0)
51906 return B.JSNumber_methods.$mod(num1, num2);
51907 if (num2 === 0)
51908 return 0 / 0;
51909 result = B.JSNumber_methods.$mod(num1, num2);
51910 return result === 0 ? 0 : result + num2;
51911 },
51912 plus$1(other) {
51913 var _this = this;
51914 if (other instanceof A.SassNumber)
51915 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
51916 if (!(other instanceof A.SassColor))
51917 return _this.super$Value$plus(other);
51918 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51919 },
51920 minus$1(other) {
51921 var _this = this;
51922 if (other instanceof A.SassNumber)
51923 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
51924 if (!(other instanceof A.SassColor))
51925 return _this.super$Value$minus(other);
51926 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51927 },
51928 times$1(other) {
51929 var _this = this;
51930 if (other instanceof A.SassNumber) {
51931 if (!other.get$hasUnits())
51932 return _this.withValue$1(_this._number$_value * other._number$_value);
51933 return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
51934 }
51935 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51936 },
51937 dividedBy$1(other) {
51938 var _this = this;
51939 if (other instanceof A.SassNumber) {
51940 if (!other.get$hasUnits())
51941 return _this.withValue$1(_this._number$_value / other._number$_value);
51942 return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
51943 }
51944 return _this.super$Value$dividedBy(other);
51945 },
51946 unaryPlus$0() {
51947 return this;
51948 },
51949 _coerceUnits$1$2(other, operation) {
51950 var t1, exception;
51951 try {
51952 t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
51953 return t1;
51954 } catch (exception) {
51955 if (A.unwrapException(exception) instanceof A.SassScriptException) {
51956 this.coerceValueToMatch$1(other);
51957 throw exception;
51958 } else
51959 throw exception;
51960 }
51961 },
51962 _coerceUnits$2(other, operation) {
51963 return this._coerceUnits$1$2(other, operation, type$.dynamic);
51964 },
51965 multiplyUnits$3(value, otherNumerators, otherDenominators) {
51966 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
51967 _box_0.value = value;
51968 if (_this.get$numeratorUnits(_this).length === 0) {
51969 if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
51970 return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
51971 else if (_this.get$denominatorUnits(_this).length === 0)
51972 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
51973 } else if (otherNumerators.length === 0)
51974 if (otherDenominators.length === 0)
51975 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51976 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
51977 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51978 newNumerators = A._setArrayType([], type$.JSArray_String);
51979 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
51980 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
51981 numerator = t1[_i];
51982 A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
51983 }
51984 t1 = _this.get$denominatorUnits(_this);
51985 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51986 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
51987 numerator = otherNumerators[_i];
51988 A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
51989 }
51990 t1 = _box_0.value;
51991 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
51992 return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
51993 },
51994 _areAnyConvertible$2(units1, units2) {
51995 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
51996 },
51997 _unitString$2(numerators, denominators) {
51998 var t1;
51999 if (numerators.length === 0) {
52000 t1 = denominators.length;
52001 if (t1 === 0)
52002 return "no units";
52003 if (t1 === 1)
52004 return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
52005 return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
52006 }
52007 if (denominators.length === 0)
52008 return B.JSArray_methods.join$1(numerators, "*");
52009 return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
52010 },
52011 $eq(_, other) {
52012 var _this = this;
52013 if (other == null)
52014 return false;
52015 if (other instanceof A.SassNumber) {
52016 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
52017 return false;
52018 if (!_this.get$hasUnits())
52019 return Math.abs(_this._number$_value - other._number$_value) < $.$get$epsilon();
52020 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))))
52021 return false;
52022 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();
52023 } else
52024 return false;
52025 },
52026 get$hashCode(_) {
52027 var _this = this,
52028 t1 = _this.hashCache;
52029 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;
52030 },
52031 _canonicalizeUnitList$1(units) {
52032 var type,
52033 t1 = units.length;
52034 if (t1 === 0)
52035 return units;
52036 if (t1 === 1) {
52037 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
52038 if (type == null)
52039 t1 = units;
52040 else {
52041 t1 = B.Map_U8AHF.$index(0, type);
52042 t1.toString;
52043 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
52044 }
52045 return t1;
52046 }
52047 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
52048 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
52049 B.JSArray_methods.sort$0(t1);
52050 return t1;
52051 },
52052 _canonicalMultiplier$1(units) {
52053 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
52054 },
52055 canonicalMultiplierForUnit$1(unit) {
52056 var t1,
52057 innerMap = B.Map_K2BWj.$index(0, unit);
52058 if (innerMap == null)
52059 t1 = 1;
52060 else {
52061 t1 = innerMap.get$values(innerMap);
52062 t1 = 1 / t1.get$first(t1);
52063 }
52064 return t1;
52065 },
52066 _number$_exception$2(message, $name) {
52067 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
52068 }
52069 };
52070 A.SassNumber__coerceOrConvertValue__compatibilityException.prototype = {
52071 call$0() {
52072 var t2, t3, message, t4, type, unit, _this = this,
52073 t1 = _this.other;
52074 if (t1 != null) {
52075 t2 = _this.$this;
52076 t3 = t2.toString$0(0) + " and";
52077 message = new A.StringBuffer(t3);
52078 t4 = _this.otherName;
52079 if (t4 != null)
52080 t3 = message._contents = t3 + (" $" + t4 + ":");
52081 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
52082 message._contents = t1;
52083 if (!t2.get$hasUnits() || !_this.otherHasUnits)
52084 message._contents = t1 + " (one has units and the other doesn't)";
52085 t1 = message.toString$0(0) + ".";
52086 t2 = _this.name;
52087 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
52088 } else if (!_this.otherHasUnits) {
52089 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
52090 t2 = _this.name;
52091 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
52092 } else {
52093 t1 = _this.newNumerators;
52094 if (t1.length === 1 && _this.newDenominators.length === 0) {
52095 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
52096 if (type != null) {
52097 t1 = _this.$this.toString$0(0);
52098 t2 = 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;
52099 t3 = B.Map_U8AHF.$index(0, type);
52100 t3.toString;
52101 t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
52102 t2 = _this.name;
52103 return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
52104 }
52105 }
52106 t2 = _this.newDenominators;
52107 unit = A.pluralize("unit", t1.length + t2.length, null);
52108 t3 = _this.$this;
52109 t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
52110 t1 = _this.name;
52111 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
52112 }
52113 },
52114 $signature: 392
52115 };
52116 A.SassNumber__coerceOrConvertValue_closure.prototype = {
52117 call$1(oldNumerator) {
52118 var factor = A.conversionFactor(this.newNumerator, oldNumerator);
52119 if (factor == null)
52120 return false;
52121 this._box_0.value *= factor;
52122 return true;
52123 },
52124 $signature: 6
52125 };
52126 A.SassNumber__coerceOrConvertValue_closure0.prototype = {
52127 call$0() {
52128 return A.throwExpression(this._compatibilityException.call$0());
52129 },
52130 $signature: 0
52131 };
52132 A.SassNumber__coerceOrConvertValue_closure1.prototype = {
52133 call$1(oldDenominator) {
52134 var factor = A.conversionFactor(this.newDenominator, oldDenominator);
52135 if (factor == null)
52136 return false;
52137 this._box_0.value /= factor;
52138 return true;
52139 },
52140 $signature: 6
52141 };
52142 A.SassNumber__coerceOrConvertValue_closure2.prototype = {
52143 call$0() {
52144 return A.throwExpression(this._compatibilityException.call$0());
52145 },
52146 $signature: 0
52147 };
52148 A.SassNumber_plus_closure.prototype = {
52149 call$2(num1, num2) {
52150 return num1 + num2;
52151 },
52152 $signature: 54
52153 };
52154 A.SassNumber_minus_closure.prototype = {
52155 call$2(num1, num2) {
52156 return num1 - num2;
52157 },
52158 $signature: 54
52159 };
52160 A.SassNumber_multiplyUnits_closure.prototype = {
52161 call$1(denominator) {
52162 var factor = A.conversionFactor(this.numerator, denominator);
52163 if (factor == null)
52164 return false;
52165 this._box_0.value /= factor;
52166 return true;
52167 },
52168 $signature: 6
52169 };
52170 A.SassNumber_multiplyUnits_closure0.prototype = {
52171 call$0() {
52172 return this.newNumerators.push(this.numerator);
52173 },
52174 $signature: 0
52175 };
52176 A.SassNumber_multiplyUnits_closure1.prototype = {
52177 call$1(denominator) {
52178 var factor = A.conversionFactor(this.numerator, denominator);
52179 if (factor == null)
52180 return false;
52181 this._box_0.value /= factor;
52182 return true;
52183 },
52184 $signature: 6
52185 };
52186 A.SassNumber_multiplyUnits_closure2.prototype = {
52187 call$0() {
52188 return this.newNumerators.push(this.numerator);
52189 },
52190 $signature: 0
52191 };
52192 A.SassNumber__areAnyConvertible_closure.prototype = {
52193 call$1(unit1) {
52194 var innerMap = B.Map_K2BWj.$index(0, unit1);
52195 if (innerMap == null)
52196 return B.JSArray_methods.contains$1(this.units2, unit1);
52197 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
52198 },
52199 $signature: 6
52200 };
52201 A.SassNumber__canonicalizeUnitList_closure.prototype = {
52202 call$1(unit) {
52203 var t1,
52204 type = $.$get$_typesByUnit().$index(0, unit);
52205 if (type == null)
52206 t1 = unit;
52207 else {
52208 t1 = B.Map_U8AHF.$index(0, type);
52209 t1.toString;
52210 t1 = B.JSArray_methods.get$first(t1);
52211 }
52212 return t1;
52213 },
52214 $signature: 5
52215 };
52216 A.SassNumber__canonicalMultiplier_closure.prototype = {
52217 call$2(multiplier, unit) {
52218 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
52219 },
52220 $signature: 167
52221 };
52222 A.ComplexSassNumber.prototype = {
52223 get$numeratorUnits(_) {
52224 return this._numeratorUnits;
52225 },
52226 get$denominatorUnits(_) {
52227 return this._denominatorUnits;
52228 },
52229 get$hasUnits() {
52230 return true;
52231 },
52232 hasUnit$1(unit) {
52233 return false;
52234 },
52235 compatibleWithUnit$1(unit) {
52236 return false;
52237 },
52238 hasPossiblyCompatibleUnits$1(other) {
52239 throw A.wrapException(A.UnimplementedError$(string$.Comple));
52240 },
52241 withValue$1(value) {
52242 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
52243 },
52244 withSlash$2(numerator, denominator) {
52245 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52246 }
52247 };
52248 A.SingleUnitSassNumber.prototype = {
52249 get$numeratorUnits(_) {
52250 return A.List_List$unmodifiable([this._unit], type$.String);
52251 },
52252 get$denominatorUnits(_) {
52253 return B.List_empty;
52254 },
52255 get$hasUnits() {
52256 return true;
52257 },
52258 withValue$1(value) {
52259 return new A.SingleUnitSassNumber(this._unit, value, null);
52260 },
52261 withSlash$2(numerator, denominator) {
52262 return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52263 },
52264 hasUnit$1(unit) {
52265 return unit === this._unit;
52266 },
52267 hasCompatibleUnits$1(other) {
52268 return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
52269 },
52270 hasPossiblyCompatibleUnits$1(other) {
52271 var t1, knownCompatibilities, otherUnit;
52272 if (!(other instanceof A.SingleUnitSassNumber))
52273 return false;
52274 t1 = $.$get$_knownCompatibilitiesByUnit();
52275 knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
52276 if (knownCompatibilities == null)
52277 return true;
52278 otherUnit = other._unit.toLowerCase();
52279 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
52280 },
52281 compatibleWithUnit$1(unit) {
52282 return A.conversionFactor(this._unit, unit) != null;
52283 },
52284 coerceValueToMatch$1(other) {
52285 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52286 return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
52287 },
52288 convertValueToMatch$3(other, $name, otherName) {
52289 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52290 return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
52291 },
52292 coerce$2(newNumerators, newDenominators) {
52293 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
52294 return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
52295 },
52296 coerceValue$3(newNumerators, newDenominators, $name) {
52297 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
52298 return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
52299 },
52300 coerceValueToUnit$2(unit, $name) {
52301 var t1 = this._coerceValueToUnit$1(unit);
52302 return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
52303 },
52304 _coerceToUnit$1(unit) {
52305 var t1 = this._unit;
52306 if (t1 === unit)
52307 return this;
52308 return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
52309 },
52310 _coerceValueToUnit$1(unit) {
52311 return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
52312 },
52313 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52314 var mutableOtherDenominators, t1 = {};
52315 t1.value = value;
52316 t1.newNumerators = otherNumerators;
52317 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52318 A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
52319 return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
52320 },
52321 unaryMinus$0() {
52322 return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
52323 },
52324 $eq(_, other) {
52325 var factor;
52326 if (other == null)
52327 return false;
52328 if (other instanceof A.SingleUnitSassNumber) {
52329 factor = A.conversionFactor(other._unit, this._unit);
52330 return factor != null && Math.abs(this._number$_value * factor - other._number$_value) < $.$get$epsilon();
52331 } else
52332 return false;
52333 },
52334 get$hashCode(_) {
52335 var _this = this,
52336 t1 = _this.hashCache;
52337 return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
52338 }
52339 };
52340 A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
52341 call$1(factor) {
52342 return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
52343 },
52344 $signature: 396
52345 };
52346 A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
52347 call$1(factor) {
52348 return this.$this._number$_value * factor;
52349 },
52350 $signature: 73
52351 };
52352 A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
52353 call$1(denominator) {
52354 var factor = A.conversionFactor(denominator, this.$this._unit);
52355 if (factor == null)
52356 return false;
52357 this._box_0.value *= factor;
52358 return true;
52359 },
52360 $signature: 6
52361 };
52362 A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
52363 call$0() {
52364 var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
52365 t2 = this._box_0;
52366 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
52367 t2.newNumerators = t1;
52368 },
52369 $signature: 0
52370 };
52371 A.UnitlessSassNumber.prototype = {
52372 get$numeratorUnits(_) {
52373 return B.List_empty;
52374 },
52375 get$denominatorUnits(_) {
52376 return B.List_empty;
52377 },
52378 get$hasUnits() {
52379 return false;
52380 },
52381 withValue$1(value) {
52382 return new A.UnitlessSassNumber(value, null);
52383 },
52384 withSlash$2(numerator, denominator) {
52385 return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52386 },
52387 hasUnit$1(unit) {
52388 return false;
52389 },
52390 hasCompatibleUnits$1(other) {
52391 return other instanceof A.UnitlessSassNumber;
52392 },
52393 hasPossiblyCompatibleUnits$1(other) {
52394 return other instanceof A.UnitlessSassNumber;
52395 },
52396 compatibleWithUnit$1(unit) {
52397 return true;
52398 },
52399 coerceValueToMatch$1(other) {
52400 return this._number$_value;
52401 },
52402 convertValueToMatch$3(other, $name, otherName) {
52403 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
52404 },
52405 coerce$2(newNumerators, newDenominators) {
52406 return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
52407 },
52408 coerceValue$3(newNumerators, newDenominators, $name) {
52409 return this._number$_value;
52410 },
52411 coerceValueToUnit$2(unit, $name) {
52412 return this._number$_value;
52413 },
52414 greaterThan$1(other) {
52415 var t1, t2;
52416 if (other instanceof A.SassNumber) {
52417 t1 = this._number$_value;
52418 t2 = other._number$_value;
52419 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52420 }
52421 return this.super$SassNumber$greaterThan(other);
52422 },
52423 greaterThanOrEquals$1(other) {
52424 var t1, t2;
52425 if (other instanceof A.SassNumber) {
52426 t1 = this._number$_value;
52427 t2 = other._number$_value;
52428 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52429 }
52430 return this.super$SassNumber$greaterThanOrEquals(other);
52431 },
52432 lessThan$1(other) {
52433 var t1, t2;
52434 if (other instanceof A.SassNumber) {
52435 t1 = this._number$_value;
52436 t2 = other._number$_value;
52437 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52438 }
52439 return this.super$SassNumber$lessThan(other);
52440 },
52441 lessThanOrEquals$1(other) {
52442 var t1, t2;
52443 if (other instanceof A.SassNumber) {
52444 t1 = this._number$_value;
52445 t2 = other._number$_value;
52446 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52447 }
52448 return this.super$SassNumber$lessThanOrEquals(other);
52449 },
52450 modulo$1(other) {
52451 if (other instanceof A.SassNumber)
52452 return other.withValue$1(this.moduloLikeSass$2(this._number$_value, other._number$_value));
52453 return this.super$SassNumber$modulo(other);
52454 },
52455 plus$1(other) {
52456 if (other instanceof A.SassNumber)
52457 return other.withValue$1(this._number$_value + other._number$_value);
52458 return this.super$SassNumber$plus(other);
52459 },
52460 minus$1(other) {
52461 if (other instanceof A.SassNumber)
52462 return other.withValue$1(this._number$_value - other._number$_value);
52463 return this.super$SassNumber$minus(other);
52464 },
52465 times$1(other) {
52466 if (other instanceof A.SassNumber)
52467 return other.withValue$1(this._number$_value * other._number$_value);
52468 return this.super$SassNumber$times(other);
52469 },
52470 dividedBy$1(other) {
52471 var t1, t2;
52472 if (other instanceof A.SassNumber) {
52473 t1 = this._number$_value / other._number$_value;
52474 if (other.get$hasUnits()) {
52475 t2 = other.get$denominatorUnits(other);
52476 t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
52477 t1 = t2;
52478 } else
52479 t1 = new A.UnitlessSassNumber(t1, null);
52480 return t1;
52481 }
52482 return this.super$SassNumber$dividedBy(other);
52483 },
52484 unaryMinus$0() {
52485 return new A.UnitlessSassNumber(-this._number$_value, null);
52486 },
52487 $eq(_, other) {
52488 if (other == null)
52489 return false;
52490 return other instanceof A.UnitlessSassNumber && Math.abs(this._number$_value - other._number$_value) < $.$get$epsilon();
52491 },
52492 get$hashCode(_) {
52493 var t1 = this.hashCache;
52494 return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
52495 }
52496 };
52497 A.SassString.prototype = {
52498 get$_sassLength() {
52499 var t1, result, _this = this,
52500 value = _this.__SassString__sassLength;
52501 if (value === $) {
52502 t1 = new A.Runes(_this._string$_text);
52503 result = t1.get$length(t1);
52504 A._lateInitializeOnceCheck(_this.__SassString__sassLength, "_sassLength");
52505 _this.__SassString__sassLength = result;
52506 value = result;
52507 }
52508 return value;
52509 },
52510 get$isSpecialNumber() {
52511 var t1, t2;
52512 if (this._hasQuotes)
52513 return false;
52514 t1 = this._string$_text;
52515 if (t1.length < 6)
52516 return false;
52517 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
52518 if (t2 === 99) {
52519 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52520 if (t2 === 108) {
52521 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
52522 return false;
52523 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
52524 return false;
52525 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
52526 return false;
52527 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
52528 } else if (t2 === 97) {
52529 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
52530 return false;
52531 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
52532 return false;
52533 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
52534 } else
52535 return false;
52536 } else if (t2 === 118) {
52537 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
52538 return false;
52539 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
52540 return false;
52541 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52542 } else if (t2 === 101) {
52543 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
52544 return false;
52545 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
52546 return false;
52547 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52548 } else if (t2 === 109) {
52549 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52550 if (t2 === 97) {
52551 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
52552 return false;
52553 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52554 } else if (t2 === 105) {
52555 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
52556 return false;
52557 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52558 } else
52559 return false;
52560 } else
52561 return false;
52562 },
52563 get$isVar() {
52564 if (this._hasQuotes)
52565 return false;
52566 var t1 = this._string$_text;
52567 if (t1.length < 8)
52568 return false;
52569 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;
52570 },
52571 get$isBlank() {
52572 return !this._hasQuotes && this._string$_text.length === 0;
52573 },
52574 accept$1$1(visitor) {
52575 var t1 = visitor._quote && this._hasQuotes,
52576 t2 = this._string$_text;
52577 if (t1)
52578 visitor._visitQuotedString$1(t2);
52579 else
52580 visitor._visitUnquotedString$1(t2);
52581 return null;
52582 },
52583 accept$1(visitor) {
52584 return this.accept$1$1(visitor, type$.dynamic);
52585 },
52586 assertString$1($name) {
52587 return this;
52588 },
52589 plus$1(other) {
52590 var t1 = this._string$_text,
52591 t2 = this._hasQuotes;
52592 if (other instanceof A.SassString)
52593 return new A.SassString(t1 + other._string$_text, t2);
52594 else
52595 return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
52596 },
52597 $eq(_, other) {
52598 if (other == null)
52599 return false;
52600 return other instanceof A.SassString && this._string$_text === other._string$_text;
52601 },
52602 get$hashCode(_) {
52603 var t1 = this._hashCache;
52604 return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
52605 }
52606 };
52607 A._EvaluateVisitor0.prototype = {
52608 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
52609 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
52610 _s20_ = "$name, $module: null",
52611 _s9_ = "sass:meta",
52612 t1 = type$.JSArray_AsyncBuiltInCallable,
52613 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),
52614 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
52615 t1 = type$.AsyncBuiltInCallable;
52616 t2 = A.List_List$of($.$get$global(), true, t1);
52617 B.JSArray_methods.addAll$1(t2, $.$get$local());
52618 B.JSArray_methods.addAll$1(t2, metaFunctions);
52619 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
52620 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) {
52621 module = t1[_i];
52622 t3.$indexSet(0, module.url, module);
52623 }
52624 t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
52625 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
52626 B.JSArray_methods.addAll$1(t1, metaFunctions);
52627 for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52628 $function = t1[_i];
52629 t4 = J.get$name$x($function);
52630 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
52631 }
52632 },
52633 run$2(_, importer, node) {
52634 return this.run$body$_EvaluateVisitor(0, importer, node);
52635 },
52636 run$body$_EvaluateVisitor(_, importer, node) {
52637 var $async$goto = 0,
52638 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
52639 $async$returnValue, $async$self = this, t1;
52640 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52641 if ($async$errorCode === 1)
52642 return A._asyncRethrow($async$result, $async$completer);
52643 while (true)
52644 switch ($async$goto) {
52645 case 0:
52646 // Function start
52647 t1 = type$.nullable_Object;
52648 $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);
52649 // goto return
52650 $async$goto = 1;
52651 break;
52652 case 1:
52653 // return
52654 return A._asyncReturn($async$returnValue, $async$completer);
52655 }
52656 });
52657 return A._asyncStartSync($async$run$2, $async$completer);
52658 },
52659 _async_evaluate$_assertInModule$1$2(value, $name) {
52660 if (value != null)
52661 return value;
52662 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
52663 },
52664 _async_evaluate$_assertInModule$2(value, $name) {
52665 return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
52666 },
52667 _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52668 return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
52669 },
52670 _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
52671 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
52672 },
52673 _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
52674 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
52675 },
52676 _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52677 var $async$goto = 0,
52678 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
52679 $async$returnValue, $async$self = this, t1, t2, builtInModule;
52680 var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52681 if ($async$errorCode === 1)
52682 return A._asyncRethrow($async$result, $async$completer);
52683 while (true)
52684 switch ($async$goto) {
52685 case 0:
52686 // Function start
52687 builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
52688 $async$goto = builtInModule != null ? 3 : 4;
52689 break;
52690 case 3:
52691 // then
52692 if (configuration instanceof A.ExplicitConfiguration) {
52693 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
52694 t2 = configuration.nodeWithSpan;
52695 throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
52696 }
52697 $async$goto = 5;
52698 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);
52699 case 5:
52700 // returning from await.
52701 // goto return
52702 $async$goto = 1;
52703 break;
52704 case 4:
52705 // join
52706 $async$goto = 6;
52707 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);
52708 case 6:
52709 // returning from await.
52710 case 1:
52711 // return
52712 return A._asyncReturn($async$returnValue, $async$completer);
52713 }
52714 });
52715 return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
52716 },
52717 _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52718 return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
52719 },
52720 _async_evaluate$_execute$2(importer, stylesheet) {
52721 return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
52722 },
52723 _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52724 var $async$goto = 0,
52725 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
52726 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
52727 var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52728 if ($async$errorCode === 1)
52729 return A._asyncRethrow($async$result, $async$completer);
52730 while (true)
52731 switch ($async$goto) {
52732 case 0:
52733 // Function start
52734 url = stylesheet.span.file.url;
52735 t1 = $async$self._async_evaluate$_modules;
52736 alreadyLoaded = t1.$index(0, url);
52737 if (alreadyLoaded != null) {
52738 t1 = configuration == null;
52739 currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
52740 if (currentConfiguration instanceof A.ExplicitConfiguration) {
52741 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
52742 t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
52743 existingSpan = t2 == null ? null : J.get$span$z(t2);
52744 if (t1) {
52745 t1 = currentConfiguration.nodeWithSpan;
52746 configurationSpan = t1.get$span(t1);
52747 } else
52748 configurationSpan = null;
52749 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
52750 if (existingSpan != null)
52751 t1.$indexSet(0, existingSpan, "original load");
52752 if (configurationSpan != null)
52753 t1.$indexSet(0, configurationSpan, "configuration");
52754 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
52755 }
52756 $async$returnValue = alreadyLoaded;
52757 // goto return
52758 $async$goto = 1;
52759 break;
52760 }
52761 environment = A.AsyncEnvironment$();
52762 css = A._Cell$();
52763 extensionStore = A.ExtensionStore$();
52764 $async$goto = 3;
52765 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);
52766 case 3:
52767 // returning from await.
52768 module = environment.toModule$2(css._readLocal$0(), extensionStore);
52769 if (url != null) {
52770 t1.$indexSet(0, url, module);
52771 if (nodeWithSpan != null)
52772 $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
52773 }
52774 $async$returnValue = module;
52775 // goto return
52776 $async$goto = 1;
52777 break;
52778 case 1:
52779 // return
52780 return A._asyncReturn($async$returnValue, $async$completer);
52781 }
52782 });
52783 return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
52784 },
52785 _async_evaluate$_addOutOfOrderImports$0() {
52786 var t1, t2, _this = this, _s5_ = "_root",
52787 _s13_ = "_endOfImports",
52788 outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
52789 if (outOfOrderImports == null)
52790 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52791 t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52792 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);
52793 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
52794 t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52795 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")));
52796 return t1;
52797 },
52798 _async_evaluate$_combineCss$2$clone(root, clone) {
52799 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
52800 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
52801 selectors = root.get$extensionStore().get$simpleSelectors();
52802 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
52803 if (unsatisfiedExtension != null)
52804 _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
52805 return root.get$css(root);
52806 }
52807 sortedModules = _this._async_evaluate$_topologicalModules$1(root);
52808 if (clone) {
52809 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
52810 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
52811 }
52812 _this._async_evaluate$_extendModules$1(sortedModules);
52813 t1 = type$.JSArray_CssNode;
52814 imports = A._setArrayType([], t1);
52815 css = A._setArrayType([], t1);
52816 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
52817 t3 = t1.__internal$_current;
52818 if (t3 == null)
52819 t3 = t2._as(t3);
52820 t3 = t3.get$css(t3);
52821 statements = t3.get$children(t3);
52822 index = _this._async_evaluate$_indexAfterImports$1(statements);
52823 t3 = J.getInterceptor$ax(statements);
52824 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
52825 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
52826 }
52827 t1 = B.JSArray_methods.$add(imports, css);
52828 t2 = root.get$css(root);
52829 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
52830 },
52831 _async_evaluate$_combineCss$1(root) {
52832 return this._async_evaluate$_combineCss$2$clone(root, false);
52833 },
52834 _async_evaluate$_extendModules$1(sortedModules) {
52835 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
52836 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
52837 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
52838 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
52839 t2 = t1.get$current(t1);
52840 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
52841 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
52842 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
52843 t3 = t2.get$extensionStore().get$addExtensions();
52844 if ($self != null)
52845 t3.call$1($self);
52846 t3 = t2.get$extensionStore();
52847 if (t3.get$isEmpty(t3))
52848 continue;
52849 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
52850 upstream = t3[_i];
52851 url = upstream.get$url(upstream);
52852 if (url == null)
52853 continue;
52854 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
52855 }
52856 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
52857 }
52858 if (unsatisfiedExtensions._collection$_length !== 0)
52859 this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
52860 },
52861 _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
52862 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
52863 },
52864 _async_evaluate$_topologicalModules$1(root) {
52865 var t1 = type$.Module_AsyncCallable,
52866 sorted = A.QueueList$(null, t1);
52867 new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
52868 return sorted;
52869 },
52870 _async_evaluate$_indexAfterImports$1(statements) {
52871 var t1, t2, t3, lastImport, i, statement;
52872 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
52873 statement = t1.$index(statements, i);
52874 if (t3._is(statement))
52875 lastImport = i;
52876 else if (!t2._is(statement))
52877 break;
52878 }
52879 return lastImport + 1;
52880 },
52881 visitStylesheet$1(node) {
52882 return this.visitStylesheet$body$_EvaluateVisitor(node);
52883 },
52884 visitStylesheet$body$_EvaluateVisitor(node) {
52885 var $async$goto = 0,
52886 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52887 $async$returnValue, $async$self = this, t1, t2, _i;
52888 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52889 if ($async$errorCode === 1)
52890 return A._asyncRethrow($async$result, $async$completer);
52891 while (true)
52892 switch ($async$goto) {
52893 case 0:
52894 // Function start
52895 t1 = node.children, t2 = t1.length, _i = 0;
52896 case 3:
52897 // for condition
52898 if (!(_i < t2)) {
52899 // goto after for
52900 $async$goto = 5;
52901 break;
52902 }
52903 $async$goto = 6;
52904 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
52905 case 6:
52906 // returning from await.
52907 case 4:
52908 // for update
52909 ++_i;
52910 // goto for condition
52911 $async$goto = 3;
52912 break;
52913 case 5:
52914 // after for
52915 $async$returnValue = null;
52916 // goto return
52917 $async$goto = 1;
52918 break;
52919 case 1:
52920 // return
52921 return A._asyncReturn($async$returnValue, $async$completer);
52922 }
52923 });
52924 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
52925 },
52926 visitAtRootRule$1(node) {
52927 return this.visitAtRootRule$body$_EvaluateVisitor(node);
52928 },
52929 visitAtRootRule$body$_EvaluateVisitor(node) {
52930 var $async$goto = 0,
52931 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52932 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
52933 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52934 if ($async$errorCode === 1)
52935 return A._asyncRethrow($async$result, $async$completer);
52936 while (true)
52937 switch ($async$goto) {
52938 case 0:
52939 // Function start
52940 unparsedQuery = node.query;
52941 $async$goto = unparsedQuery != null ? 3 : 5;
52942 break;
52943 case 3:
52944 // then
52945 $async$temp1 = unparsedQuery;
52946 $async$temp2 = A;
52947 $async$goto = 6;
52948 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
52949 case 6:
52950 // returning from await.
52951 $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
52952 // goto join
52953 $async$goto = 4;
52954 break;
52955 case 5:
52956 // else
52957 $async$result = B.AtRootQuery_UsS;
52958 case 4:
52959 // join
52960 query = $async$result;
52961 $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
52962 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
52963 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
52964 if (!query.excludes$1($parent))
52965 included.push($parent);
52966 grandparent = $parent._parent;
52967 if (grandparent == null)
52968 throw A.wrapException(A.StateError$(string$.CssNod));
52969 }
52970 root = $async$self._async_evaluate$_trimIncluded$1(included);
52971 $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
52972 break;
52973 case 7:
52974 // then
52975 $async$goto = 9;
52976 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);
52977 case 9:
52978 // returning from await.
52979 $async$returnValue = null;
52980 // goto return
52981 $async$goto = 1;
52982 break;
52983 case 8:
52984 // join
52985 if (included.length !== 0) {
52986 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
52987 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) {
52988 t3 = t1.__internal$_current;
52989 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
52990 copy.addChild$1(outerCopy);
52991 }
52992 root.addChild$1(outerCopy);
52993 } else
52994 innerCopy = root;
52995 $async$goto = 10;
52996 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);
52997 case 10:
52998 // returning from await.
52999 $async$returnValue = null;
53000 // goto return
53001 $async$goto = 1;
53002 break;
53003 case 1:
53004 // return
53005 return A._asyncReturn($async$returnValue, $async$completer);
53006 }
53007 });
53008 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
53009 },
53010 _async_evaluate$_trimIncluded$1(nodes) {
53011 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
53012 _s22_ = " to be an ancestor of ";
53013 if (nodes.length === 0)
53014 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
53015 $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
53016 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
53017 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
53018 grandparent = $parent._parent;
53019 if (grandparent == null)
53020 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
53021 }
53022 if (innermostContiguous == null)
53023 innermostContiguous = i;
53024 grandparent = $parent._parent;
53025 if (grandparent == null)
53026 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
53027 }
53028 if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
53029 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
53030 innermostContiguous.toString;
53031 root = nodes[innermostContiguous];
53032 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
53033 return root;
53034 },
53035 _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
53036 var _this = this,
53037 scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
53038 t1 = query._all || query._at_root_query$_rule;
53039 if (t1 !== query.include)
53040 scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
53041 if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
53042 scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
53043 if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
53044 scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
53045 return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
53046 },
53047 visitContentBlock$1(node) {
53048 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
53049 },
53050 visitContentRule$1(node) {
53051 return this.visitContentRule$body$_EvaluateVisitor(node);
53052 },
53053 visitContentRule$body$_EvaluateVisitor(node) {
53054 var $async$goto = 0,
53055 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53056 $async$returnValue, $async$self = this, $content;
53057 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53058 if ($async$errorCode === 1)
53059 return A._asyncRethrow($async$result, $async$completer);
53060 while (true)
53061 switch ($async$goto) {
53062 case 0:
53063 // Function start
53064 $content = $async$self._async_evaluate$_environment._async_environment$_content;
53065 if ($content == null) {
53066 $async$returnValue = null;
53067 // goto return
53068 $async$goto = 1;
53069 break;
53070 }
53071 $async$goto = 3;
53072 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);
53073 case 3:
53074 // returning from await.
53075 $async$returnValue = null;
53076 // goto return
53077 $async$goto = 1;
53078 break;
53079 case 1:
53080 // return
53081 return A._asyncReturn($async$returnValue, $async$completer);
53082 }
53083 });
53084 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
53085 },
53086 visitDebugRule$1(node) {
53087 return this.visitDebugRule$body$_EvaluateVisitor(node);
53088 },
53089 visitDebugRule$body$_EvaluateVisitor(node) {
53090 var $async$goto = 0,
53091 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53092 $async$returnValue, $async$self = this, value, t1;
53093 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53094 if ($async$errorCode === 1)
53095 return A._asyncRethrow($async$result, $async$completer);
53096 while (true)
53097 switch ($async$goto) {
53098 case 0:
53099 // Function start
53100 $async$goto = 3;
53101 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
53102 case 3:
53103 // returning from await.
53104 value = $async$result;
53105 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
53106 $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
53107 $async$returnValue = null;
53108 // goto return
53109 $async$goto = 1;
53110 break;
53111 case 1:
53112 // return
53113 return A._asyncReturn($async$returnValue, $async$completer);
53114 }
53115 });
53116 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
53117 },
53118 visitDeclaration$1(node) {
53119 return this.visitDeclaration$body$_EvaluateVisitor(node);
53120 },
53121 visitDeclaration$body$_EvaluateVisitor(node) {
53122 var $async$goto = 0,
53123 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53124 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
53125 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53126 if ($async$errorCode === 1)
53127 return A._asyncRethrow($async$result, $async$completer);
53128 while (true)
53129 switch ($async$goto) {
53130 case 0:
53131 // Function start
53132 if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
53133 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
53134 t1 = node.name;
53135 $async$goto = 3;
53136 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
53137 case 3:
53138 // returning from await.
53139 $name = $async$result;
53140 t2 = $async$self._async_evaluate$_declarationName;
53141 if (t2 != null)
53142 $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
53143 t2 = node.value;
53144 $async$goto = 4;
53145 return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
53146 case 4:
53147 // returning from await.
53148 cssValue = $async$result;
53149 t3 = cssValue != null;
53150 if (t3)
53151 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
53152 else
53153 t4 = false;
53154 if (t4) {
53155 t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53156 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
53157 if ($async$self._async_evaluate$_sourceMap) {
53158 t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
53159 t2 = t2 == null ? null : J.get$span$z(t2);
53160 } else
53161 t2 = null;
53162 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
53163 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
53164 throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
53165 children = node.children;
53166 $async$goto = children != null ? 5 : 6;
53167 break;
53168 case 5:
53169 // then
53170 oldDeclarationName = $async$self._async_evaluate$_declarationName;
53171 $async$self._async_evaluate$_declarationName = $name.get$value($name);
53172 $async$goto = 7;
53173 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);
53174 case 7:
53175 // returning from await.
53176 $async$self._async_evaluate$_declarationName = oldDeclarationName;
53177 case 6:
53178 // join
53179 $async$returnValue = null;
53180 // goto return
53181 $async$goto = 1;
53182 break;
53183 case 1:
53184 // return
53185 return A._asyncReturn($async$returnValue, $async$completer);
53186 }
53187 });
53188 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
53189 },
53190 visitEachRule$1(node) {
53191 return this.visitEachRule$body$_EvaluateVisitor(node);
53192 },
53193 visitEachRule$body$_EvaluateVisitor(node) {
53194 var $async$goto = 0,
53195 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53196 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
53197 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53198 if ($async$errorCode === 1)
53199 return A._asyncRethrow($async$result, $async$completer);
53200 while (true)
53201 switch ($async$goto) {
53202 case 0:
53203 // Function start
53204 t1 = node.list;
53205 $async$goto = 3;
53206 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
53207 case 3:
53208 // returning from await.
53209 list = $async$result;
53210 nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
53211 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
53212 $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);
53213 // goto return
53214 $async$goto = 1;
53215 break;
53216 case 1:
53217 // return
53218 return A._asyncReturn($async$returnValue, $async$completer);
53219 }
53220 });
53221 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
53222 },
53223 _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
53224 var i,
53225 list = value.get$asList(),
53226 t1 = variables.length,
53227 minLength = Math.min(t1, list.length);
53228 for (i = 0; i < minLength; ++i)
53229 this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
53230 for (i = minLength; i < t1; ++i)
53231 this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
53232 },
53233 visitErrorRule$1(node) {
53234 return this.visitErrorRule$body$_EvaluateVisitor(node);
53235 },
53236 visitErrorRule$body$_EvaluateVisitor(node) {
53237 var $async$goto = 0,
53238 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
53239 $async$self = this, $async$temp1, $async$temp2;
53240 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53241 if ($async$errorCode === 1)
53242 return A._asyncRethrow($async$result, $async$completer);
53243 while (true)
53244 switch ($async$goto) {
53245 case 0:
53246 // Function start
53247 $async$temp1 = A;
53248 $async$temp2 = J;
53249 $async$goto = 2;
53250 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
53251 case 2:
53252 // returning from await.
53253 throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
53254 // implicit return
53255 return A._asyncReturn(null, $async$completer);
53256 }
53257 });
53258 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
53259 },
53260 visitExtendRule$1(node) {
53261 return this.visitExtendRule$body$_EvaluateVisitor(node);
53262 },
53263 visitExtendRule$body$_EvaluateVisitor(node) {
53264 var $async$goto = 0,
53265 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53266 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
53267 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53268 if ($async$errorCode === 1)
53269 return A._asyncRethrow($async$result, $async$completer);
53270 while (true)
53271 switch ($async$goto) {
53272 case 0:
53273 // Function start
53274 styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
53275 if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
53276 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
53277 $async$goto = 3;
53278 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
53279 case 3:
53280 // returning from await.
53281 targetText = $async$result;
53282 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) {
53283 t4 = t1[_i].components;
53284 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
53285 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
53286 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
53287 if (t4.length !== 1)
53288 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
53289 $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);
53290 }
53291 $async$returnValue = null;
53292 // goto return
53293 $async$goto = 1;
53294 break;
53295 case 1:
53296 // return
53297 return A._asyncReturn($async$returnValue, $async$completer);
53298 }
53299 });
53300 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
53301 },
53302 visitAtRule$1(node) {
53303 return this.visitAtRule$body$_EvaluateVisitor(node);
53304 },
53305 visitAtRule$body$_EvaluateVisitor(node) {
53306 var $async$goto = 0,
53307 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53308 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
53309 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53310 if ($async$errorCode === 1)
53311 return A._asyncRethrow($async$result, $async$completer);
53312 while (true)
53313 switch ($async$goto) {
53314 case 0:
53315 // Function start
53316 if ($async$self._async_evaluate$_declarationName != null)
53317 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
53318 $async$goto = 3;
53319 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
53320 case 3:
53321 // returning from await.
53322 $name = $async$result;
53323 $async$goto = 4;
53324 return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
53325 case 4:
53326 // returning from await.
53327 value = $async$result;
53328 children = node.children;
53329 if (children == null) {
53330 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
53331 $async$returnValue = null;
53332 // goto return
53333 $async$goto = 1;
53334 break;
53335 }
53336 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
53337 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
53338 if (A.unvendor($name.get$value($name)) === "keyframes")
53339 $async$self._async_evaluate$_inKeyframes = true;
53340 else
53341 $async$self._async_evaluate$_inUnknownAtRule = true;
53342 $async$goto = 5;
53343 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);
53344 case 5:
53345 // returning from await.
53346 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
53347 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
53348 $async$returnValue = null;
53349 // goto return
53350 $async$goto = 1;
53351 break;
53352 case 1:
53353 // return
53354 return A._asyncReturn($async$returnValue, $async$completer);
53355 }
53356 });
53357 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
53358 },
53359 visitForRule$1(node) {
53360 return this.visitForRule$body$_EvaluateVisitor(node);
53361 },
53362 visitForRule$body$_EvaluateVisitor(node) {
53363 var $async$goto = 0,
53364 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53365 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
53366 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53367 if ($async$errorCode === 1)
53368 return A._asyncRethrow($async$result, $async$completer);
53369 while (true)
53370 switch ($async$goto) {
53371 case 0:
53372 // Function start
53373 t1 = {};
53374 t2 = node.from;
53375 t3 = type$.SassNumber;
53376 $async$goto = 3;
53377 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
53378 case 3:
53379 // returning from await.
53380 fromNumber = $async$result;
53381 t4 = node.to;
53382 $async$goto = 4;
53383 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
53384 case 4:
53385 // returning from await.
53386 toNumber = $async$result;
53387 from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
53388 to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
53389 direction = from > to ? -1 : 1;
53390 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
53391 $async$returnValue = null;
53392 // goto return
53393 $async$goto = 1;
53394 break;
53395 }
53396 $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);
53397 // goto return
53398 $async$goto = 1;
53399 break;
53400 case 1:
53401 // return
53402 return A._asyncReturn($async$returnValue, $async$completer);
53403 }
53404 });
53405 return A._asyncStartSync($async$visitForRule$1, $async$completer);
53406 },
53407 visitForwardRule$1(node) {
53408 return this.visitForwardRule$body$_EvaluateVisitor(node);
53409 },
53410 visitForwardRule$body$_EvaluateVisitor(node) {
53411 var $async$goto = 0,
53412 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53413 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
53414 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53415 if ($async$errorCode === 1)
53416 return A._asyncRethrow($async$result, $async$completer);
53417 while (true)
53418 switch ($async$goto) {
53419 case 0:
53420 // Function start
53421 oldConfiguration = $async$self._async_evaluate$_configuration;
53422 adjustedConfiguration = oldConfiguration.throughForward$1(node);
53423 t1 = node.configuration;
53424 t2 = t1.length;
53425 t3 = node.url;
53426 $async$goto = t2 !== 0 ? 3 : 5;
53427 break;
53428 case 3:
53429 // then
53430 $async$goto = 6;
53431 return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
53432 case 6:
53433 // returning from await.
53434 newConfiguration = $async$result;
53435 $async$goto = 7;
53436 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);
53437 case 7:
53438 // returning from await.
53439 t3 = type$.String;
53440 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53441 for (_i = 0; _i < t2; ++_i) {
53442 variable = t1[_i];
53443 if (!variable.isGuarded)
53444 t4.add$1(0, variable.name);
53445 }
53446 $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
53447 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53448 for (_i = 0; _i < t2; ++_i)
53449 t3.add$1(0, t1[_i].name);
53450 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) {
53451 $name = t2[_i];
53452 if (!t3.contains$1(0, $name))
53453 if (!t1.get$isEmpty(t1))
53454 t1.remove$1(0, $name);
53455 }
53456 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
53457 // goto join
53458 $async$goto = 4;
53459 break;
53460 case 5:
53461 // else
53462 $async$self._async_evaluate$_configuration = adjustedConfiguration;
53463 $async$goto = 8;
53464 return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
53465 case 8:
53466 // returning from await.
53467 $async$self._async_evaluate$_configuration = oldConfiguration;
53468 case 4:
53469 // join
53470 $async$returnValue = null;
53471 // goto return
53472 $async$goto = 1;
53473 break;
53474 case 1:
53475 // return
53476 return A._asyncReturn($async$returnValue, $async$completer);
53477 }
53478 });
53479 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
53480 },
53481 _async_evaluate$_addForwardConfiguration$2(configuration, node) {
53482 return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
53483 },
53484 _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
53485 var $async$goto = 0,
53486 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
53487 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
53488 var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53489 if ($async$errorCode === 1)
53490 return A._asyncRethrow($async$result, $async$completer);
53491 while (true)
53492 switch ($async$goto) {
53493 case 0:
53494 // Function start
53495 t1 = configuration._values;
53496 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
53497 t2 = node.configuration, t3 = t2.length, _i = 0;
53498 case 3:
53499 // for condition
53500 if (!(_i < t3)) {
53501 // goto after for
53502 $async$goto = 5;
53503 break;
53504 }
53505 variable = t2[_i];
53506 if (variable.isGuarded) {
53507 t4 = variable.name;
53508 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
53509 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
53510 newValues.$indexSet(0, t4, t5);
53511 // goto for update
53512 $async$goto = 4;
53513 break;
53514 }
53515 }
53516 t4 = variable.expression;
53517 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
53518 $async$temp1 = newValues;
53519 $async$temp2 = variable.name;
53520 $async$temp3 = A;
53521 $async$goto = 6;
53522 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
53523 case 6:
53524 // returning from await.
53525 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
53526 case 4:
53527 // for update
53528 ++_i;
53529 // goto for condition
53530 $async$goto = 3;
53531 break;
53532 case 5:
53533 // after for
53534 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
53535 $async$returnValue = new A.ExplicitConfiguration(node, newValues);
53536 // goto return
53537 $async$goto = 1;
53538 break;
53539 } else {
53540 $async$returnValue = new A.Configuration(newValues);
53541 // goto return
53542 $async$goto = 1;
53543 break;
53544 }
53545 case 1:
53546 // return
53547 return A._asyncReturn($async$returnValue, $async$completer);
53548 }
53549 });
53550 return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
53551 },
53552 _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
53553 var t1, t2, t3, t4, _i, $name;
53554 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) {
53555 $name = t2[_i];
53556 if (except.contains$1(0, $name))
53557 continue;
53558 if (!t4.containsKey$1($name))
53559 if (!t1.get$isEmpty(t1))
53560 t1.remove$1(0, $name);
53561 }
53562 },
53563 _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
53564 var t1, entry;
53565 if (!(configuration instanceof A.ExplicitConfiguration))
53566 return;
53567 t1 = configuration._values;
53568 if (t1.get$isEmpty(t1))
53569 return;
53570 t1 = t1.get$entries(t1);
53571 entry = t1.get$first(t1);
53572 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
53573 throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
53574 },
53575 _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
53576 return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
53577 },
53578 visitFunctionRule$1(node) {
53579 return this.visitFunctionRule$body$_EvaluateVisitor(node);
53580 },
53581 visitFunctionRule$body$_EvaluateVisitor(node) {
53582 var $async$goto = 0,
53583 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53584 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
53585 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53586 if ($async$errorCode === 1)
53587 return A._asyncRethrow($async$result, $async$completer);
53588 while (true)
53589 switch ($async$goto) {
53590 case 0:
53591 // Function start
53592 t1 = $async$self._async_evaluate$_environment;
53593 t2 = t1.closure$0();
53594 t3 = $async$self._async_evaluate$_inDependency;
53595 t4 = t1._async_environment$_functions;
53596 index = t4.length - 1;
53597 t5 = node.name;
53598 t1._async_environment$_functionIndices.$indexSet(0, t5, index);
53599 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
53600 $async$returnValue = null;
53601 // goto return
53602 $async$goto = 1;
53603 break;
53604 case 1:
53605 // return
53606 return A._asyncReturn($async$returnValue, $async$completer);
53607 }
53608 });
53609 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
53610 },
53611 visitIfRule$1(node) {
53612 return this.visitIfRule$body$_EvaluateVisitor(node);
53613 },
53614 visitIfRule$body$_EvaluateVisitor(node) {
53615 var $async$goto = 0,
53616 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53617 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
53618 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53619 if ($async$errorCode === 1)
53620 return A._asyncRethrow($async$result, $async$completer);
53621 while (true)
53622 switch ($async$goto) {
53623 case 0:
53624 // Function start
53625 _box_0 = {};
53626 _box_0.clause = node.lastClause;
53627 t1 = node.clauses, t2 = t1.length, _i = 0;
53628 case 3:
53629 // for condition
53630 if (!(_i < t2)) {
53631 // goto after for
53632 $async$goto = 5;
53633 break;
53634 }
53635 clauseToCheck = t1[_i];
53636 $async$goto = 6;
53637 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
53638 case 6:
53639 // returning from await.
53640 if ($async$result.get$isTruthy()) {
53641 _box_0.clause = clauseToCheck;
53642 // goto after for
53643 $async$goto = 5;
53644 break;
53645 }
53646 case 4:
53647 // for update
53648 ++_i;
53649 // goto for condition
53650 $async$goto = 3;
53651 break;
53652 case 5:
53653 // after for
53654 t1 = _box_0.clause;
53655 if (t1 == null) {
53656 $async$returnValue = null;
53657 // goto return
53658 $async$goto = 1;
53659 break;
53660 }
53661 $async$goto = 7;
53662 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);
53663 case 7:
53664 // returning from await.
53665 $async$returnValue = $async$result;
53666 // goto return
53667 $async$goto = 1;
53668 break;
53669 case 1:
53670 // return
53671 return A._asyncReturn($async$returnValue, $async$completer);
53672 }
53673 });
53674 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
53675 },
53676 visitImportRule$1(node) {
53677 return this.visitImportRule$body$_EvaluateVisitor(node);
53678 },
53679 visitImportRule$body$_EvaluateVisitor(node) {
53680 var $async$goto = 0,
53681 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53682 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
53683 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53684 if ($async$errorCode === 1)
53685 return A._asyncRethrow($async$result, $async$completer);
53686 while (true)
53687 switch ($async$goto) {
53688 case 0:
53689 // Function start
53690 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
53691 case 3:
53692 // for condition
53693 if (!(_i < t2)) {
53694 // goto after for
53695 $async$goto = 5;
53696 break;
53697 }
53698 $import = t1[_i];
53699 $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
53700 break;
53701 case 6:
53702 // then
53703 $async$goto = 9;
53704 return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
53705 case 9:
53706 // returning from await.
53707 // goto join
53708 $async$goto = 7;
53709 break;
53710 case 8:
53711 // else
53712 $async$goto = 10;
53713 return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
53714 case 10:
53715 // returning from await.
53716 case 7:
53717 // join
53718 case 4:
53719 // for update
53720 ++_i;
53721 // goto for condition
53722 $async$goto = 3;
53723 break;
53724 case 5:
53725 // after for
53726 $async$returnValue = null;
53727 // goto return
53728 $async$goto = 1;
53729 break;
53730 case 1:
53731 // return
53732 return A._asyncReturn($async$returnValue, $async$completer);
53733 }
53734 });
53735 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
53736 },
53737 _async_evaluate$_visitDynamicImport$1($import) {
53738 return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
53739 },
53740 _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
53741 return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
53742 },
53743 _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
53744 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
53745 },
53746 _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
53747 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
53748 },
53749 _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
53750 var $async$goto = 0,
53751 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
53752 $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;
53753 var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53754 if ($async$errorCode === 1) {
53755 $async$currentError = $async$result;
53756 $async$goto = $async$handler;
53757 }
53758 while (true)
53759 switch ($async$goto) {
53760 case 0:
53761 // Function start
53762 baseUrl = baseUrl;
53763 $async$handler = 4;
53764 $async$self._async_evaluate$_importSpan = span;
53765 importCache = $async$self._async_evaluate$_importCache;
53766 $async$goto = importCache != null ? 7 : 9;
53767 break;
53768 case 7:
53769 // then
53770 if (baseUrl == null)
53771 baseUrl = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url;
53772 $async$goto = 10;
53773 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);
53774 case 10:
53775 // returning from await.
53776 tuple = $async$result;
53777 $async$goto = tuple != null ? 11 : 12;
53778 break;
53779 case 11:
53780 // then
53781 isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
53782 t1 = tuple.item1;
53783 t2 = tuple.item2;
53784 t3 = tuple.item3;
53785 t4 = $async$self._async_evaluate$_quietDeps && isDependency;
53786 $async$goto = 13;
53787 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53788 case 13:
53789 // returning from await.
53790 stylesheet = $async$result;
53791 if (stylesheet != null) {
53792 $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
53793 t1 = tuple.item1;
53794 $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
53795 $async$next = [1];
53796 // goto finally
53797 $async$goto = 5;
53798 break;
53799 }
53800 case 12:
53801 // join
53802 // goto join
53803 $async$goto = 8;
53804 break;
53805 case 9:
53806 // else
53807 $async$goto = 14;
53808 return A._asyncAwait($async$self._async_evaluate$_importLikeNode$2(url, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53809 case 14:
53810 // returning from await.
53811 result = $async$result;
53812 if (result != null) {
53813 t1 = $async$self._async_evaluate$_loadedUrls;
53814 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
53815 $async$returnValue = result;
53816 $async$next = [1];
53817 // goto finally
53818 $async$goto = 5;
53819 break;
53820 }
53821 case 8:
53822 // join
53823 if (B.JSString_methods.startsWith$1(url, "package:") && true)
53824 throw A.wrapException(string$.x22packa);
53825 else
53826 throw A.wrapException("Can't find stylesheet to import.");
53827 $async$next.push(6);
53828 // goto finally
53829 $async$goto = 5;
53830 break;
53831 case 4:
53832 // catch
53833 $async$handler = 3;
53834 $async$exception = $async$currentError;
53835 t1 = A.unwrapException($async$exception);
53836 if (t1 instanceof A.SassException) {
53837 error = t1;
53838 stackTrace = A.getTraceFromException($async$exception);
53839 t1 = error;
53840 t2 = J.getInterceptor$z(t1);
53841 A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
53842 } else {
53843 error0 = t1;
53844 stackTrace0 = A.getTraceFromException($async$exception);
53845 message = null;
53846 try {
53847 message = A._asString(J.get$message$x(error0));
53848 } catch (exception) {
53849 message0 = J.toString$0$(error0);
53850 message = message0;
53851 }
53852 A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
53853 }
53854 $async$next.push(6);
53855 // goto finally
53856 $async$goto = 5;
53857 break;
53858 case 3:
53859 // uncaught
53860 $async$next = [2];
53861 case 5:
53862 // finally
53863 $async$handler = 2;
53864 $async$self._async_evaluate$_importSpan = null;
53865 // goto the next finally handler
53866 $async$goto = $async$next.pop();
53867 break;
53868 case 6:
53869 // after finally
53870 case 1:
53871 // return
53872 return A._asyncReturn($async$returnValue, $async$completer);
53873 case 2:
53874 // rethrow
53875 return A._asyncRethrow($async$currentError, $async$completer);
53876 }
53877 });
53878 return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
53879 },
53880 _async_evaluate$_importLikeNode$2(originalUrl, forImport) {
53881 return this._importLikeNode$body$_EvaluateVisitor(originalUrl, forImport);
53882 },
53883 _importLikeNode$body$_EvaluateVisitor(originalUrl, forImport) {
53884 var $async$goto = 0,
53885 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
53886 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
53887 var $async$_async_evaluate$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53888 if ($async$errorCode === 1)
53889 return A._asyncRethrow($async$result, $async$completer);
53890 while (true)
53891 switch ($async$goto) {
53892 case 0:
53893 // Function start
53894 t1 = $async$self._async_evaluate$_nodeImporter;
53895 t1.toString;
53896 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url, forImport);
53897 isDependency = $async$self._async_evaluate$_inDependency;
53898 url = result.item2;
53899 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
53900 t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
53901 $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
53902 // goto return
53903 $async$goto = 1;
53904 break;
53905 case 1:
53906 // return
53907 return A._asyncReturn($async$returnValue, $async$completer);
53908 }
53909 });
53910 return A._asyncStartSync($async$_async_evaluate$_importLikeNode$2, $async$completer);
53911 },
53912 _visitStaticImport$1($import) {
53913 return this._visitStaticImport$body$_EvaluateVisitor($import);
53914 },
53915 _visitStaticImport$body$_EvaluateVisitor($import) {
53916 var $async$goto = 0,
53917 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
53918 $async$self = this, t1, node, $async$temp1, $async$temp2;
53919 var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53920 if ($async$errorCode === 1)
53921 return A._asyncRethrow($async$result, $async$completer);
53922 while (true)
53923 switch ($async$goto) {
53924 case 0:
53925 // Function start
53926 $async$temp1 = A;
53927 $async$goto = 2;
53928 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
53929 case 2:
53930 // returning from await.
53931 $async$temp2 = $async$result;
53932 $async$goto = 3;
53933 return A._asyncAwait(A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue()), $async$_visitStaticImport$1);
53934 case 3:
53935 // returning from await.
53936 node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
53937 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"))
53938 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
53939 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)) {
53940 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
53941 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53942 } else {
53943 t1 = $async$self._async_evaluate$_outOfOrderImports;
53944 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
53945 }
53946 // implicit return
53947 return A._asyncReturn(null, $async$completer);
53948 }
53949 });
53950 return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
53951 },
53952 visitIncludeRule$1(node) {
53953 return this.visitIncludeRule$body$_EvaluateVisitor(node);
53954 },
53955 visitIncludeRule$body$_EvaluateVisitor(node) {
53956 var $async$goto = 0,
53957 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53958 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
53959 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53960 if ($async$errorCode === 1)
53961 return A._asyncRethrow($async$result, $async$completer);
53962 while (true)
53963 switch ($async$goto) {
53964 case 0:
53965 // Function start
53966 mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
53967 if (mixin == null)
53968 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
53969 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
53970 $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
53971 break;
53972 case 3:
53973 // then
53974 if (node.content != null)
53975 throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
53976 $async$goto = 6;
53977 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
53978 case 6:
53979 // returning from await.
53980 // goto join
53981 $async$goto = 4;
53982 break;
53983 case 5:
53984 // else
53985 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
53986 break;
53987 case 7:
53988 // then
53989 t1 = node.content;
53990 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
53991 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())));
53992 $async$goto = 10;
53993 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);
53994 case 10:
53995 // returning from await.
53996 // goto join
53997 $async$goto = 8;
53998 break;
53999 case 9:
54000 // else
54001 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
54002 case 8:
54003 // join
54004 case 4:
54005 // join
54006 $async$returnValue = null;
54007 // goto return
54008 $async$goto = 1;
54009 break;
54010 case 1:
54011 // return
54012 return A._asyncReturn($async$returnValue, $async$completer);
54013 }
54014 });
54015 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
54016 },
54017 visitMixinRule$1(node) {
54018 return this.visitMixinRule$body$_EvaluateVisitor(node);
54019 },
54020 visitMixinRule$body$_EvaluateVisitor(node) {
54021 var $async$goto = 0,
54022 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54023 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
54024 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54025 if ($async$errorCode === 1)
54026 return A._asyncRethrow($async$result, $async$completer);
54027 while (true)
54028 switch ($async$goto) {
54029 case 0:
54030 // Function start
54031 t1 = $async$self._async_evaluate$_environment;
54032 t2 = t1.closure$0();
54033 t3 = $async$self._async_evaluate$_inDependency;
54034 t4 = t1._async_environment$_mixins;
54035 index = t4.length - 1;
54036 t5 = node.name;
54037 t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
54038 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
54039 $async$returnValue = null;
54040 // goto return
54041 $async$goto = 1;
54042 break;
54043 case 1:
54044 // return
54045 return A._asyncReturn($async$returnValue, $async$completer);
54046 }
54047 });
54048 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
54049 },
54050 visitLoudComment$1(node) {
54051 return this.visitLoudComment$body$_EvaluateVisitor(node);
54052 },
54053 visitLoudComment$body$_EvaluateVisitor(node) {
54054 var $async$goto = 0,
54055 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54056 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54057 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54058 if ($async$errorCode === 1)
54059 return A._asyncRethrow($async$result, $async$completer);
54060 while (true)
54061 switch ($async$goto) {
54062 case 0:
54063 // Function start
54064 if ($async$self._async_evaluate$_inFunction) {
54065 $async$returnValue = null;
54066 // goto return
54067 $async$goto = 1;
54068 break;
54069 }
54070 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))
54071 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
54072 t1 = node.text;
54073 $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
54074 $async$temp2 = A;
54075 $async$goto = 3;
54076 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
54077 case 3:
54078 // returning from await.
54079 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
54080 $async$returnValue = null;
54081 // goto return
54082 $async$goto = 1;
54083 break;
54084 case 1:
54085 // return
54086 return A._asyncReturn($async$returnValue, $async$completer);
54087 }
54088 });
54089 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
54090 },
54091 visitMediaRule$1(node) {
54092 return this.visitMediaRule$body$_EvaluateVisitor(node);
54093 },
54094 visitMediaRule$body$_EvaluateVisitor(node) {
54095 var $async$goto = 0,
54096 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54097 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
54098 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54099 if ($async$errorCode === 1)
54100 return A._asyncRethrow($async$result, $async$completer);
54101 while (true)
54102 switch ($async$goto) {
54103 case 0:
54104 // Function start
54105 if ($async$self._async_evaluate$_declarationName != null)
54106 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
54107 $async$goto = 3;
54108 return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
54109 case 3:
54110 // returning from await.
54111 queries = $async$result;
54112 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
54113 t1 = mergedQueries == null;
54114 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
54115 $async$returnValue = null;
54116 // goto return
54117 $async$goto = 1;
54118 break;
54119 }
54120 t1 = t1 ? queries : mergedQueries;
54121 $async$goto = 4;
54122 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);
54123 case 4:
54124 // returning from await.
54125 $async$returnValue = null;
54126 // goto return
54127 $async$goto = 1;
54128 break;
54129 case 1:
54130 // return
54131 return A._asyncReturn($async$returnValue, $async$completer);
54132 }
54133 });
54134 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
54135 },
54136 _async_evaluate$_visitMediaQueries$1(interpolation) {
54137 return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
54138 },
54139 _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
54140 var $async$goto = 0,
54141 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
54142 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
54143 var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54144 if ($async$errorCode === 1)
54145 return A._asyncRethrow($async$result, $async$completer);
54146 while (true)
54147 switch ($async$goto) {
54148 case 0:
54149 // Function start
54150 $async$temp1 = interpolation;
54151 $async$temp2 = A;
54152 $async$goto = 3;
54153 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
54154 case 3:
54155 // returning from await.
54156 $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
54157 // goto return
54158 $async$goto = 1;
54159 break;
54160 case 1:
54161 // return
54162 return A._asyncReturn($async$returnValue, $async$completer);
54163 }
54164 });
54165 return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
54166 },
54167 _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
54168 var t1, t2, t3, t4, t5, result,
54169 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
54170 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
54171 t4 = t1.get$current(t1);
54172 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
54173 result = t4.merge$1(t5.get$current(t5));
54174 if (result === B._SingletonCssMediaQueryMergeResult_empty)
54175 continue;
54176 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
54177 return null;
54178 queries.push(t3._as(result).query);
54179 }
54180 }
54181 return queries;
54182 },
54183 visitReturnRule$1(node) {
54184 return this.visitReturnRule$body$_EvaluateVisitor(node);
54185 },
54186 visitReturnRule$body$_EvaluateVisitor(node) {
54187 var $async$goto = 0,
54188 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54189 $async$returnValue, $async$self = this, t1;
54190 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54191 if ($async$errorCode === 1)
54192 return A._asyncRethrow($async$result, $async$completer);
54193 while (true)
54194 switch ($async$goto) {
54195 case 0:
54196 // Function start
54197 t1 = node.expression;
54198 $async$goto = 3;
54199 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
54200 case 3:
54201 // returning from await.
54202 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
54203 // goto return
54204 $async$goto = 1;
54205 break;
54206 case 1:
54207 // return
54208 return A._asyncReturn($async$returnValue, $async$completer);
54209 }
54210 });
54211 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
54212 },
54213 visitSilentComment$1(node) {
54214 return this.visitSilentComment$body$_EvaluateVisitor(node);
54215 },
54216 visitSilentComment$body$_EvaluateVisitor(node) {
54217 var $async$goto = 0,
54218 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54219 $async$returnValue;
54220 var $async$visitSilentComment$1 = 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 $async$returnValue = null;
54228 // goto return
54229 $async$goto = 1;
54230 break;
54231 case 1:
54232 // return
54233 return A._asyncReturn($async$returnValue, $async$completer);
54234 }
54235 });
54236 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
54237 },
54238 visitStyleRule$1(node) {
54239 return this.visitStyleRule$body$_EvaluateVisitor(node);
54240 },
54241 visitStyleRule$body$_EvaluateVisitor(node) {
54242 var $async$goto = 0,
54243 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54244 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
54245 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54246 if ($async$errorCode === 1)
54247 return A._asyncRethrow($async$result, $async$completer);
54248 while (true)
54249 switch ($async$goto) {
54250 case 0:
54251 // Function start
54252 t1 = {};
54253 if ($async$self._async_evaluate$_declarationName != null)
54254 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
54255 t2 = node.selector;
54256 $async$goto = 3;
54257 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
54258 case 3:
54259 // returning from await.
54260 selectorText = $async$result;
54261 $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
54262 break;
54263 case 4:
54264 // then
54265 $async$goto = 6;
54266 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);
54267 case 6:
54268 // returning from await.
54269 $async$returnValue = null;
54270 // goto return
54271 $async$goto = 1;
54272 break;
54273 case 5:
54274 // join
54275 t1.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure9($async$self, selectorText));
54276 t1.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure10(t1, $async$self));
54277 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);
54278 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
54279 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
54280 $async$goto = 7;
54281 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);
54282 case 7:
54283 // returning from await.
54284 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
54285 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
54286 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54287 t1 = !t1.get$isEmpty(t1);
54288 }
54289 if (t1) {
54290 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54291 t1.get$last(t1).isGroupEnd = true;
54292 }
54293 $async$returnValue = null;
54294 // goto return
54295 $async$goto = 1;
54296 break;
54297 case 1:
54298 // return
54299 return A._asyncReturn($async$returnValue, $async$completer);
54300 }
54301 });
54302 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
54303 },
54304 visitSupportsRule$1(node) {
54305 return this.visitSupportsRule$body$_EvaluateVisitor(node);
54306 },
54307 visitSupportsRule$body$_EvaluateVisitor(node) {
54308 var $async$goto = 0,
54309 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54310 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54311 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54312 if ($async$errorCode === 1)
54313 return A._asyncRethrow($async$result, $async$completer);
54314 while (true)
54315 switch ($async$goto) {
54316 case 0:
54317 // Function start
54318 if ($async$self._async_evaluate$_declarationName != null)
54319 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
54320 t1 = node.condition;
54321 $async$temp1 = A;
54322 $async$temp2 = A;
54323 $async$goto = 4;
54324 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
54325 case 4:
54326 // returning from await.
54327 $async$goto = 3;
54328 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);
54329 case 3:
54330 // returning from await.
54331 $async$returnValue = null;
54332 // goto return
54333 $async$goto = 1;
54334 break;
54335 case 1:
54336 // return
54337 return A._asyncReturn($async$returnValue, $async$completer);
54338 }
54339 });
54340 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
54341 },
54342 _async_evaluate$_visitSupportsCondition$1(condition) {
54343 return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
54344 },
54345 _visitSupportsCondition$body$_EvaluateVisitor(condition) {
54346 var $async$goto = 0,
54347 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54348 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
54349 var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54350 if ($async$errorCode === 1)
54351 return A._asyncRethrow($async$result, $async$completer);
54352 while (true)
54353 switch ($async$goto) {
54354 case 0:
54355 // Function start
54356 $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
54357 break;
54358 case 3:
54359 // then
54360 t1 = condition.operator;
54361 $async$temp1 = A;
54362 $async$goto = 6;
54363 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54364 case 6:
54365 // returning from await.
54366 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
54367 $async$temp2 = A;
54368 $async$goto = 7;
54369 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54370 case 7:
54371 // returning from await.
54372 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
54373 // goto return
54374 $async$goto = 1;
54375 break;
54376 // goto join
54377 $async$goto = 4;
54378 break;
54379 case 5:
54380 // else
54381 $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
54382 break;
54383 case 8:
54384 // then
54385 $async$temp1 = A;
54386 $async$goto = 11;
54387 return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
54388 case 11:
54389 // returning from await.
54390 $async$returnValue = "not " + $async$temp1.S($async$result);
54391 // goto return
54392 $async$goto = 1;
54393 break;
54394 // goto join
54395 $async$goto = 9;
54396 break;
54397 case 10:
54398 // else
54399 $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
54400 break;
54401 case 12:
54402 // then
54403 $async$goto = 15;
54404 return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
54405 case 15:
54406 // returning from await.
54407 $async$returnValue = $async$result;
54408 // goto return
54409 $async$goto = 1;
54410 break;
54411 // goto join
54412 $async$goto = 13;
54413 break;
54414 case 14:
54415 // else
54416 $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
54417 break;
54418 case 16:
54419 // then
54420 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
54421 $async$self._async_evaluate$_inSupportsDeclaration = true;
54422 $async$temp1 = A;
54423 $async$goto = 19;
54424 return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54425 case 19:
54426 // returning from await.
54427 t1 = $async$temp1.S($async$result);
54428 t2 = condition.get$isCustomProperty() ? "" : " ";
54429 $async$temp1 = A;
54430 $async$goto = 20;
54431 return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
54432 case 20:
54433 // returning from await.
54434 t3 = $async$temp1.S($async$result);
54435 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
54436 $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
54437 // goto return
54438 $async$goto = 1;
54439 break;
54440 // goto join
54441 $async$goto = 17;
54442 break;
54443 case 18:
54444 // else
54445 $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
54446 break;
54447 case 21:
54448 // then
54449 $async$temp1 = A;
54450 $async$goto = 24;
54451 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54452 case 24:
54453 // returning from await.
54454 $async$temp1 = $async$temp1.S($async$result) + "(";
54455 $async$temp2 = A;
54456 $async$goto = 25;
54457 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
54458 case 25:
54459 // returning from await.
54460 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54461 // goto return
54462 $async$goto = 1;
54463 break;
54464 // goto join
54465 $async$goto = 22;
54466 break;
54467 case 23:
54468 // else
54469 $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
54470 break;
54471 case 26:
54472 // then
54473 $async$temp1 = A;
54474 $async$goto = 29;
54475 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
54476 case 29:
54477 // returning from await.
54478 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54479 // goto return
54480 $async$goto = 1;
54481 break;
54482 // goto join
54483 $async$goto = 27;
54484 break;
54485 case 28:
54486 // else
54487 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
54488 case 27:
54489 // join
54490 case 22:
54491 // join
54492 case 17:
54493 // join
54494 case 13:
54495 // join
54496 case 9:
54497 // join
54498 case 4:
54499 // join
54500 case 1:
54501 // return
54502 return A._asyncReturn($async$returnValue, $async$completer);
54503 }
54504 });
54505 return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
54506 },
54507 _async_evaluate$_parenthesize$2(condition, operator) {
54508 return this._parenthesize$body$_EvaluateVisitor(condition, operator);
54509 },
54510 _async_evaluate$_parenthesize$1(condition) {
54511 return this._async_evaluate$_parenthesize$2(condition, null);
54512 },
54513 _parenthesize$body$_EvaluateVisitor(condition, operator) {
54514 var $async$goto = 0,
54515 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54516 $async$returnValue, $async$self = this, t1, $async$temp1;
54517 var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54518 if ($async$errorCode === 1)
54519 return A._asyncRethrow($async$result, $async$completer);
54520 while (true)
54521 switch ($async$goto) {
54522 case 0:
54523 // Function start
54524 if (!(condition instanceof A.SupportsNegation))
54525 if (condition instanceof A.SupportsOperation)
54526 t1 = operator == null || operator !== condition.operator;
54527 else
54528 t1 = false;
54529 else
54530 t1 = true;
54531 $async$goto = t1 ? 3 : 5;
54532 break;
54533 case 3:
54534 // then
54535 $async$temp1 = A;
54536 $async$goto = 6;
54537 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54538 case 6:
54539 // returning from await.
54540 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54541 // goto return
54542 $async$goto = 1;
54543 break;
54544 // goto join
54545 $async$goto = 4;
54546 break;
54547 case 5:
54548 // else
54549 $async$goto = 7;
54550 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54551 case 7:
54552 // returning from await.
54553 $async$returnValue = $async$result;
54554 // goto return
54555 $async$goto = 1;
54556 break;
54557 case 4:
54558 // join
54559 case 1:
54560 // return
54561 return A._asyncReturn($async$returnValue, $async$completer);
54562 }
54563 });
54564 return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
54565 },
54566 visitVariableDeclaration$1(node) {
54567 return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
54568 },
54569 visitVariableDeclaration$body$_EvaluateVisitor(node) {
54570 var $async$goto = 0,
54571 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54572 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
54573 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54574 if ($async$errorCode === 1)
54575 return A._asyncRethrow($async$result, $async$completer);
54576 while (true)
54577 switch ($async$goto) {
54578 case 0:
54579 // Function start
54580 if (node.isGuarded) {
54581 if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
54582 t1 = $async$self._async_evaluate$_configuration._values;
54583 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
54584 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
54585 $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
54586 $async$returnValue = null;
54587 // goto return
54588 $async$goto = 1;
54589 break;
54590 }
54591 }
54592 value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
54593 if (value != null && !value.$eq(0, B.C__SassNull)) {
54594 $async$returnValue = null;
54595 // goto return
54596 $async$goto = 1;
54597 break;
54598 }
54599 }
54600 if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
54601 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.";
54602 $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
54603 }
54604 t1 = node.expression;
54605 $async$temp1 = node;
54606 $async$temp2 = A;
54607 $async$temp3 = node;
54608 $async$goto = 3;
54609 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
54610 case 3:
54611 // returning from await.
54612 $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)));
54613 $async$returnValue = null;
54614 // goto return
54615 $async$goto = 1;
54616 break;
54617 case 1:
54618 // return
54619 return A._asyncReturn($async$returnValue, $async$completer);
54620 }
54621 });
54622 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
54623 },
54624 visitUseRule$1(node) {
54625 return this.visitUseRule$body$_EvaluateVisitor(node);
54626 },
54627 visitUseRule$body$_EvaluateVisitor(node) {
54628 var $async$goto = 0,
54629 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54630 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
54631 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54632 if ($async$errorCode === 1)
54633 return A._asyncRethrow($async$result, $async$completer);
54634 while (true)
54635 switch ($async$goto) {
54636 case 0:
54637 // Function start
54638 t1 = node.configuration;
54639 t2 = t1.length;
54640 $async$goto = t2 !== 0 ? 3 : 5;
54641 break;
54642 case 3:
54643 // then
54644 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
54645 _i = 0;
54646 case 6:
54647 // for condition
54648 if (!(_i < t2)) {
54649 // goto after for
54650 $async$goto = 8;
54651 break;
54652 }
54653 variable = t1[_i];
54654 t3 = variable.expression;
54655 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
54656 $async$temp1 = values;
54657 $async$temp2 = variable.name;
54658 $async$temp3 = A;
54659 $async$goto = 9;
54660 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
54661 case 9:
54662 // returning from await.
54663 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
54664 case 7:
54665 // for update
54666 ++_i;
54667 // goto for condition
54668 $async$goto = 6;
54669 break;
54670 case 8:
54671 // after for
54672 configuration = new A.ExplicitConfiguration(node, values);
54673 // goto join
54674 $async$goto = 4;
54675 break;
54676 case 5:
54677 // else
54678 configuration = B.Configuration_Map_empty;
54679 case 4:
54680 // join
54681 $async$goto = 10;
54682 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);
54683 case 10:
54684 // returning from await.
54685 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
54686 $async$returnValue = null;
54687 // goto return
54688 $async$goto = 1;
54689 break;
54690 case 1:
54691 // return
54692 return A._asyncReturn($async$returnValue, $async$completer);
54693 }
54694 });
54695 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
54696 },
54697 visitWarnRule$1(node) {
54698 return this.visitWarnRule$body$_EvaluateVisitor(node);
54699 },
54700 visitWarnRule$body$_EvaluateVisitor(node) {
54701 var $async$goto = 0,
54702 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54703 $async$returnValue, $async$self = this, value, t1;
54704 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54705 if ($async$errorCode === 1)
54706 return A._asyncRethrow($async$result, $async$completer);
54707 while (true)
54708 switch ($async$goto) {
54709 case 0:
54710 // Function start
54711 $async$goto = 3;
54712 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
54713 case 3:
54714 // returning from await.
54715 value = $async$result;
54716 t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
54717 $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
54718 $async$returnValue = null;
54719 // goto return
54720 $async$goto = 1;
54721 break;
54722 case 1:
54723 // return
54724 return A._asyncReturn($async$returnValue, $async$completer);
54725 }
54726 });
54727 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
54728 },
54729 visitWhileRule$1(node) {
54730 return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
54731 },
54732 visitBinaryOperationExpression$1(node) {
54733 return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
54734 },
54735 visitValueExpression$1(node) {
54736 return this.visitValueExpression$body$_EvaluateVisitor(node);
54737 },
54738 visitValueExpression$body$_EvaluateVisitor(node) {
54739 var $async$goto = 0,
54740 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54741 $async$returnValue;
54742 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54743 if ($async$errorCode === 1)
54744 return A._asyncRethrow($async$result, $async$completer);
54745 while (true)
54746 switch ($async$goto) {
54747 case 0:
54748 // Function start
54749 $async$returnValue = node.value;
54750 // goto return
54751 $async$goto = 1;
54752 break;
54753 case 1:
54754 // return
54755 return A._asyncReturn($async$returnValue, $async$completer);
54756 }
54757 });
54758 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
54759 },
54760 visitVariableExpression$1(node) {
54761 return this.visitVariableExpression$body$_EvaluateVisitor(node);
54762 },
54763 visitVariableExpression$body$_EvaluateVisitor(node) {
54764 var $async$goto = 0,
54765 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54766 $async$returnValue, $async$self = this, result;
54767 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54768 if ($async$errorCode === 1)
54769 return A._asyncRethrow($async$result, $async$completer);
54770 while (true)
54771 switch ($async$goto) {
54772 case 0:
54773 // Function start
54774 result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
54775 if (result != null) {
54776 $async$returnValue = result;
54777 // goto return
54778 $async$goto = 1;
54779 break;
54780 }
54781 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
54782 case 1:
54783 // return
54784 return A._asyncReturn($async$returnValue, $async$completer);
54785 }
54786 });
54787 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
54788 },
54789 visitUnaryOperationExpression$1(node) {
54790 return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
54791 },
54792 visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
54793 var $async$goto = 0,
54794 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54795 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
54796 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54797 if ($async$errorCode === 1)
54798 return A._asyncRethrow($async$result, $async$completer);
54799 while (true)
54800 switch ($async$goto) {
54801 case 0:
54802 // Function start
54803 $async$temp1 = node;
54804 $async$temp2 = A;
54805 $async$temp3 = node;
54806 $async$goto = 3;
54807 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
54808 case 3:
54809 // returning from await.
54810 $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
54811 // goto return
54812 $async$goto = 1;
54813 break;
54814 case 1:
54815 // return
54816 return A._asyncReturn($async$returnValue, $async$completer);
54817 }
54818 });
54819 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
54820 },
54821 visitBooleanExpression$1(node) {
54822 return this.visitBooleanExpression$body$_EvaluateVisitor(node);
54823 },
54824 visitBooleanExpression$body$_EvaluateVisitor(node) {
54825 var $async$goto = 0,
54826 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
54827 $async$returnValue;
54828 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54829 if ($async$errorCode === 1)
54830 return A._asyncRethrow($async$result, $async$completer);
54831 while (true)
54832 switch ($async$goto) {
54833 case 0:
54834 // Function start
54835 $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
54836 // goto return
54837 $async$goto = 1;
54838 break;
54839 case 1:
54840 // return
54841 return A._asyncReturn($async$returnValue, $async$completer);
54842 }
54843 });
54844 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
54845 },
54846 visitIfExpression$1(node) {
54847 return this.visitIfExpression$body$_EvaluateVisitor(node);
54848 },
54849 visitIfExpression$body$_EvaluateVisitor(node) {
54850 var $async$goto = 0,
54851 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54852 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
54853 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54854 if ($async$errorCode === 1)
54855 return A._asyncRethrow($async$result, $async$completer);
54856 while (true)
54857 switch ($async$goto) {
54858 case 0:
54859 // Function start
54860 $async$goto = 3;
54861 return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
54862 case 3:
54863 // returning from await.
54864 pair = $async$result;
54865 positional = pair.item1;
54866 named = pair.item2;
54867 t1 = J.getInterceptor$asx(positional);
54868 $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
54869 if (t1.get$length(positional) > 0)
54870 condition = t1.$index(positional, 0);
54871 else {
54872 t2 = named.$index(0, "condition");
54873 t2.toString;
54874 condition = t2;
54875 }
54876 if (t1.get$length(positional) > 1)
54877 ifTrue = t1.$index(positional, 1);
54878 else {
54879 t2 = named.$index(0, "if-true");
54880 t2.toString;
54881 ifTrue = t2;
54882 }
54883 if (t1.get$length(positional) > 2)
54884 ifFalse = t1.$index(positional, 2);
54885 else {
54886 t1 = named.$index(0, "if-false");
54887 t1.toString;
54888 ifFalse = t1;
54889 }
54890 $async$goto = 4;
54891 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
54892 case 4:
54893 // returning from await.
54894 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
54895 $async$goto = 5;
54896 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
54897 case 5:
54898 // returning from await.
54899 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
54900 // goto return
54901 $async$goto = 1;
54902 break;
54903 case 1:
54904 // return
54905 return A._asyncReturn($async$returnValue, $async$completer);
54906 }
54907 });
54908 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
54909 },
54910 visitNullExpression$1(node) {
54911 return this.visitNullExpression$body$_EvaluateVisitor(node);
54912 },
54913 visitNullExpression$body$_EvaluateVisitor(node) {
54914 var $async$goto = 0,
54915 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54916 $async$returnValue;
54917 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54918 if ($async$errorCode === 1)
54919 return A._asyncRethrow($async$result, $async$completer);
54920 while (true)
54921 switch ($async$goto) {
54922 case 0:
54923 // Function start
54924 $async$returnValue = B.C__SassNull;
54925 // goto return
54926 $async$goto = 1;
54927 break;
54928 case 1:
54929 // return
54930 return A._asyncReturn($async$returnValue, $async$completer);
54931 }
54932 });
54933 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
54934 },
54935 visitNumberExpression$1(node) {
54936 return this.visitNumberExpression$body$_EvaluateVisitor(node);
54937 },
54938 visitNumberExpression$body$_EvaluateVisitor(node) {
54939 var $async$goto = 0,
54940 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
54941 $async$returnValue, t1, t2;
54942 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54943 if ($async$errorCode === 1)
54944 return A._asyncRethrow($async$result, $async$completer);
54945 while (true)
54946 switch ($async$goto) {
54947 case 0:
54948 // Function start
54949 t1 = node.value;
54950 t2 = node.unit;
54951 $async$returnValue = t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
54952 // goto return
54953 $async$goto = 1;
54954 break;
54955 case 1:
54956 // return
54957 return A._asyncReturn($async$returnValue, $async$completer);
54958 }
54959 });
54960 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
54961 },
54962 visitParenthesizedExpression$1(node) {
54963 return node.expression.accept$1(this);
54964 },
54965 visitCalculationExpression$1(node) {
54966 return this.visitCalculationExpression$body$_EvaluateVisitor(node);
54967 },
54968 visitCalculationExpression$body$_EvaluateVisitor(node) {
54969 var $async$goto = 0,
54970 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54971 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
54972 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54973 if ($async$errorCode === 1)
54974 return A._asyncRethrow($async$result, $async$completer);
54975 while (true)
54976 $async$outer:
54977 switch ($async$goto) {
54978 case 0:
54979 // Function start
54980 t1 = A._setArrayType([], type$.JSArray_Object);
54981 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
54982 case 3:
54983 // for condition
54984 if (!(_i < t3)) {
54985 // goto after for
54986 $async$goto = 5;
54987 break;
54988 }
54989 argument = t2[_i];
54990 $async$temp1 = t1;
54991 $async$goto = 6;
54992 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
54993 case 6:
54994 // returning from await.
54995 $async$temp1.push($async$result);
54996 case 4:
54997 // for update
54998 ++_i;
54999 // goto for condition
55000 $async$goto = 3;
55001 break;
55002 case 5:
55003 // after for
55004 $arguments = t1;
55005 if ($async$self._async_evaluate$_inSupportsDeclaration) {
55006 $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
55007 // goto return
55008 $async$goto = 1;
55009 break;
55010 }
55011 try {
55012 switch (t4) {
55013 case "calc":
55014 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
55015 $async$returnValue = t1;
55016 // goto return
55017 $async$goto = 1;
55018 break $async$outer;
55019 case "min":
55020 t1 = A.SassCalculation_min($arguments);
55021 $async$returnValue = t1;
55022 // goto return
55023 $async$goto = 1;
55024 break $async$outer;
55025 case "max":
55026 t1 = A.SassCalculation_max($arguments);
55027 $async$returnValue = t1;
55028 // goto return
55029 $async$goto = 1;
55030 break $async$outer;
55031 case "clamp":
55032 t1 = J.$index$asx($arguments, 0);
55033 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
55034 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
55035 $async$returnValue = t1;
55036 // goto return
55037 $async$goto = 1;
55038 break $async$outer;
55039 default:
55040 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
55041 throw A.wrapException(t1);
55042 }
55043 } catch (exception) {
55044 t1 = A.unwrapException(exception);
55045 if (t1 instanceof A.SassScriptException) {
55046 error = t1;
55047 stackTrace = A.getTraceFromException(exception);
55048 $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
55049 A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
55050 } else
55051 throw exception;
55052 }
55053 case 1:
55054 // return
55055 return A._asyncReturn($async$returnValue, $async$completer);
55056 }
55057 });
55058 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
55059 },
55060 _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
55061 var i, t1, arg, number1, j, number2;
55062 for (i = 0; t1 = args.length, i < t1; ++i) {
55063 arg = args[i];
55064 if (!(arg instanceof A.SassNumber))
55065 continue;
55066 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
55067 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])));
55068 }
55069 for (i = 0; i < t1 - 1; ++i) {
55070 number1 = args[i];
55071 if (!(number1 instanceof A.SassNumber))
55072 continue;
55073 for (j = i + 1; t1 = args.length, j < t1; ++j) {
55074 number2 = args[j];
55075 if (!(number2 instanceof A.SassNumber))
55076 continue;
55077 if (number1.hasPossiblyCompatibleUnits$1(number2))
55078 continue;
55079 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]))));
55080 }
55081 }
55082 },
55083 _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
55084 return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
55085 },
55086 _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
55087 var $async$goto = 0,
55088 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
55089 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
55090 var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55091 if ($async$errorCode === 1)
55092 return A._asyncRethrow($async$result, $async$completer);
55093 while (true)
55094 switch ($async$goto) {
55095 case 0:
55096 // Function start
55097 $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
55098 break;
55099 case 3:
55100 // then
55101 inner = node.expression;
55102 $async$goto = 6;
55103 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55104 case 6:
55105 // returning from await.
55106 result = $async$result;
55107 if (inner instanceof A.FunctionExpression)
55108 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
55109 else
55110 t1 = false;
55111 $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
55112 // goto return
55113 $async$goto = 1;
55114 break;
55115 // goto join
55116 $async$goto = 4;
55117 break;
55118 case 5:
55119 // else
55120 $async$goto = node instanceof A.StringExpression ? 7 : 9;
55121 break;
55122 case 7:
55123 // then
55124 $async$temp1 = A;
55125 $async$goto = 10;
55126 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55127 case 10:
55128 // returning from await.
55129 $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
55130 // goto return
55131 $async$goto = 1;
55132 break;
55133 // goto join
55134 $async$goto = 8;
55135 break;
55136 case 9:
55137 // else
55138 $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
55139 break;
55140 case 11:
55141 // then
55142 $async$goto = 14;
55143 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);
55144 case 14:
55145 // returning from await.
55146 $async$returnValue = $async$result;
55147 // goto return
55148 $async$goto = 1;
55149 break;
55150 // goto join
55151 $async$goto = 12;
55152 break;
55153 case 13:
55154 // else
55155 $async$goto = 15;
55156 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55157 case 15:
55158 // returning from await.
55159 result = $async$result;
55160 if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
55161 $async$returnValue = result;
55162 // goto return
55163 $async$goto = 1;
55164 break;
55165 }
55166 if (result instanceof A.SassString && !result._hasQuotes) {
55167 $async$returnValue = result;
55168 // goto return
55169 $async$goto = 1;
55170 break;
55171 }
55172 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)));
55173 case 12:
55174 // join
55175 case 8:
55176 // join
55177 case 4:
55178 // join
55179 case 1:
55180 // return
55181 return A._asyncReturn($async$returnValue, $async$completer);
55182 }
55183 });
55184 return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
55185 },
55186 _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
55187 switch (operator) {
55188 case B.BinaryOperator_AcR0:
55189 return B.CalculationOperator_Iem;
55190 case B.BinaryOperator_iyO:
55191 return B.CalculationOperator_uti;
55192 case B.BinaryOperator_O1M:
55193 return B.CalculationOperator_Dih;
55194 case B.BinaryOperator_RTB:
55195 return B.CalculationOperator_jB6;
55196 default:
55197 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
55198 }
55199 },
55200 visitColorExpression$1(node) {
55201 return this.visitColorExpression$body$_EvaluateVisitor(node);
55202 },
55203 visitColorExpression$body$_EvaluateVisitor(node) {
55204 var $async$goto = 0,
55205 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
55206 $async$returnValue;
55207 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55208 if ($async$errorCode === 1)
55209 return A._asyncRethrow($async$result, $async$completer);
55210 while (true)
55211 switch ($async$goto) {
55212 case 0:
55213 // Function start
55214 $async$returnValue = node.value;
55215 // goto return
55216 $async$goto = 1;
55217 break;
55218 case 1:
55219 // return
55220 return A._asyncReturn($async$returnValue, $async$completer);
55221 }
55222 });
55223 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
55224 },
55225 visitListExpression$1(node) {
55226 return this.visitListExpression$body$_EvaluateVisitor(node);
55227 },
55228 visitListExpression$body$_EvaluateVisitor(node) {
55229 var $async$goto = 0,
55230 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
55231 $async$returnValue, $async$self = this, $async$temp1;
55232 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55233 if ($async$errorCode === 1)
55234 return A._asyncRethrow($async$result, $async$completer);
55235 while (true)
55236 switch ($async$goto) {
55237 case 0:
55238 // Function start
55239 $async$temp1 = A;
55240 $async$goto = 3;
55241 return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
55242 case 3:
55243 // returning from await.
55244 $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
55245 // goto return
55246 $async$goto = 1;
55247 break;
55248 case 1:
55249 // return
55250 return A._asyncReturn($async$returnValue, $async$completer);
55251 }
55252 });
55253 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
55254 },
55255 visitMapExpression$1(node) {
55256 return this.visitMapExpression$body$_EvaluateVisitor(node);
55257 },
55258 visitMapExpression$body$_EvaluateVisitor(node) {
55259 var $async$goto = 0,
55260 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
55261 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
55262 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55263 if ($async$errorCode === 1)
55264 return A._asyncRethrow($async$result, $async$completer);
55265 while (true)
55266 switch ($async$goto) {
55267 case 0:
55268 // Function start
55269 t1 = type$.Value;
55270 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
55271 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
55272 t2 = node.pairs, t3 = t2.length, _i = 0;
55273 case 3:
55274 // for condition
55275 if (!(_i < t3)) {
55276 // goto after for
55277 $async$goto = 5;
55278 break;
55279 }
55280 pair = t2[_i];
55281 t4 = pair.item1;
55282 $async$goto = 6;
55283 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
55284 case 6:
55285 // returning from await.
55286 keyValue = $async$result;
55287 $async$goto = 7;
55288 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
55289 case 7:
55290 // returning from await.
55291 valueValue = $async$result;
55292 if (map.$index(0, keyValue) != null) {
55293 t1 = keyNodes.$index(0, keyValue);
55294 oldValueSpan = t1 == null ? null : t1.get$span(t1);
55295 t1 = J.getInterceptor$z(t4);
55296 t2 = t1.get$span(t4);
55297 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
55298 if (oldValueSpan != null)
55299 t3.$indexSet(0, oldValueSpan, "first key");
55300 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
55301 }
55302 map.$indexSet(0, keyValue, valueValue);
55303 keyNodes.$indexSet(0, keyValue, t4);
55304 case 4:
55305 // for update
55306 ++_i;
55307 // goto for condition
55308 $async$goto = 3;
55309 break;
55310 case 5:
55311 // after for
55312 $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
55313 // goto return
55314 $async$goto = 1;
55315 break;
55316 case 1:
55317 // return
55318 return A._asyncReturn($async$returnValue, $async$completer);
55319 }
55320 });
55321 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
55322 },
55323 visitFunctionExpression$1(node) {
55324 return this.visitFunctionExpression$body$_EvaluateVisitor(node);
55325 },
55326 visitFunctionExpression$body$_EvaluateVisitor(node) {
55327 var $async$goto = 0,
55328 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55329 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
55330 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55331 if ($async$errorCode === 1)
55332 return A._asyncRethrow($async$result, $async$completer);
55333 while (true)
55334 switch ($async$goto) {
55335 case 0:
55336 // Function start
55337 t1 = {};
55338 $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
55339 t1.$function = $function;
55340 if ($function == null) {
55341 if (node.namespace != null)
55342 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
55343 t1.$function = new A.PlainCssCallable(node.originalName);
55344 }
55345 oldInFunction = $async$self._async_evaluate$_inFunction;
55346 $async$self._async_evaluate$_inFunction = true;
55347 $async$goto = 3;
55348 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);
55349 case 3:
55350 // returning from await.
55351 result = $async$result;
55352 $async$self._async_evaluate$_inFunction = oldInFunction;
55353 $async$returnValue = result;
55354 // goto return
55355 $async$goto = 1;
55356 break;
55357 case 1:
55358 // return
55359 return A._asyncReturn($async$returnValue, $async$completer);
55360 }
55361 });
55362 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
55363 },
55364 visitInterpolatedFunctionExpression$1(node) {
55365 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
55366 },
55367 visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
55368 var $async$goto = 0,
55369 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55370 $async$returnValue, $async$self = this, result, t1, oldInFunction;
55371 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55372 if ($async$errorCode === 1)
55373 return A._asyncRethrow($async$result, $async$completer);
55374 while (true)
55375 switch ($async$goto) {
55376 case 0:
55377 // Function start
55378 $async$goto = 3;
55379 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
55380 case 3:
55381 // returning from await.
55382 t1 = $async$result;
55383 oldInFunction = $async$self._async_evaluate$_inFunction;
55384 $async$self._async_evaluate$_inFunction = true;
55385 $async$goto = 4;
55386 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);
55387 case 4:
55388 // returning from await.
55389 result = $async$result;
55390 $async$self._async_evaluate$_inFunction = oldInFunction;
55391 $async$returnValue = result;
55392 // goto return
55393 $async$goto = 1;
55394 break;
55395 case 1:
55396 // return
55397 return A._asyncReturn($async$returnValue, $async$completer);
55398 }
55399 });
55400 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
55401 },
55402 _async_evaluate$_getFunction$2$namespace($name, namespace) {
55403 var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
55404 if (local != null || namespace != null)
55405 return local;
55406 return this._async_evaluate$_builtInFunctions.$index(0, $name);
55407 },
55408 _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
55409 return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
55410 },
55411 _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
55412 var $async$goto = 0,
55413 $async$completer = A._makeAsyncAwaitCompleter($async$type),
55414 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
55415 var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55416 if ($async$errorCode === 1)
55417 return A._asyncRethrow($async$result, $async$completer);
55418 while (true)
55419 switch ($async$goto) {
55420 case 0:
55421 // Function start
55422 $async$goto = 3;
55423 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
55424 case 3:
55425 // returning from await.
55426 evaluated = $async$result;
55427 $name = callable.declaration.name;
55428 if ($name !== "@content")
55429 $name += "()";
55430 oldCallable = $async$self._async_evaluate$_currentCallable;
55431 $async$self._async_evaluate$_currentCallable = callable;
55432 $async$goto = 4;
55433 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);
55434 case 4:
55435 // returning from await.
55436 result = $async$result;
55437 $async$self._async_evaluate$_currentCallable = oldCallable;
55438 $async$returnValue = result;
55439 // goto return
55440 $async$goto = 1;
55441 break;
55442 case 1:
55443 // return
55444 return A._asyncReturn($async$returnValue, $async$completer);
55445 }
55446 });
55447 return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
55448 },
55449 _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
55450 return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55451 },
55452 _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55453 var $async$goto = 0,
55454 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55455 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
55456 var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55457 if ($async$errorCode === 1)
55458 return A._asyncRethrow($async$result, $async$completer);
55459 while (true)
55460 switch ($async$goto) {
55461 case 0:
55462 // Function start
55463 $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
55464 break;
55465 case 3:
55466 // then
55467 $async$goto = 6;
55468 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
55469 case 6:
55470 // returning from await.
55471 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
55472 // goto return
55473 $async$goto = 1;
55474 break;
55475 // goto join
55476 $async$goto = 4;
55477 break;
55478 case 5:
55479 // else
55480 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
55481 break;
55482 case 7:
55483 // then
55484 $async$goto = 10;
55485 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);
55486 case 10:
55487 // returning from await.
55488 $async$returnValue = $async$result;
55489 // goto return
55490 $async$goto = 1;
55491 break;
55492 // goto join
55493 $async$goto = 8;
55494 break;
55495 case 9:
55496 // else
55497 $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
55498 break;
55499 case 11:
55500 // then
55501 t1 = $arguments.named;
55502 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
55503 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
55504 t1 = callable.name + "(";
55505 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
55506 case 14:
55507 // for condition
55508 if (!(_i < t3)) {
55509 // goto after for
55510 $async$goto = 16;
55511 break;
55512 }
55513 argument = t2[_i];
55514 if (first)
55515 first = false;
55516 else
55517 t1 += ", ";
55518 $async$temp1 = A;
55519 $async$goto = 17;
55520 return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
55521 case 17:
55522 // returning from await.
55523 t1 += $async$temp1.S($async$result);
55524 case 15:
55525 // for update
55526 ++_i;
55527 // goto for condition
55528 $async$goto = 14;
55529 break;
55530 case 16:
55531 // after for
55532 restArg = $arguments.rest;
55533 $async$goto = restArg != null ? 18 : 19;
55534 break;
55535 case 18:
55536 // then
55537 $async$goto = 20;
55538 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
55539 case 20:
55540 // returning from await.
55541 rest = $async$result;
55542 if (!first)
55543 t1 += ", ";
55544 t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
55545 case 19:
55546 // join
55547 t1 += A.Primitives_stringFromCharCode(41);
55548 $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
55549 // goto return
55550 $async$goto = 1;
55551 break;
55552 // goto join
55553 $async$goto = 12;
55554 break;
55555 case 13:
55556 // else
55557 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
55558 case 12:
55559 // join
55560 case 8:
55561 // join
55562 case 4:
55563 // join
55564 case 1:
55565 // return
55566 return A._asyncReturn($async$returnValue, $async$completer);
55567 }
55568 });
55569 return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
55570 },
55571 _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
55572 return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55573 },
55574 _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55575 var $async$goto = 0,
55576 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55577 $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;
55578 var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55579 if ($async$errorCode === 1) {
55580 $async$currentError = $async$result;
55581 $async$goto = $async$handler;
55582 }
55583 while (true)
55584 switch ($async$goto) {
55585 case 0:
55586 // Function start
55587 $async$goto = 3;
55588 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
55589 case 3:
55590 // returning from await.
55591 evaluated = $async$result;
55592 oldCallableNode = $async$self._async_evaluate$_callableNode;
55593 $async$self._async_evaluate$_callableNode = nodeWithSpan;
55594 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
55595 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
55596 overload = tuple.item1;
55597 callback = tuple.item2;
55598 $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
55599 declaredArguments = overload.$arguments;
55600 i = evaluated.positional.length, t1 = declaredArguments.length;
55601 case 4:
55602 // for condition
55603 if (!(i < t1)) {
55604 // goto after for
55605 $async$goto = 6;
55606 break;
55607 }
55608 argument = declaredArguments[i];
55609 t2 = evaluated.positional;
55610 t3 = evaluated.named.remove$1(0, argument.name);
55611 $async$goto = t3 == null ? 7 : 8;
55612 break;
55613 case 7:
55614 // then
55615 t3 = argument.defaultValue;
55616 $async$goto = 9;
55617 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
55618 case 9:
55619 // returning from await.
55620 t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
55621 case 8:
55622 // join
55623 t2.push(t3);
55624 case 5:
55625 // for update
55626 ++i;
55627 // goto for condition
55628 $async$goto = 4;
55629 break;
55630 case 6:
55631 // after for
55632 if (overload.restArgument != null) {
55633 if (evaluated.positional.length > t1) {
55634 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
55635 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
55636 } else
55637 rest = B.List_empty5;
55638 t1 = evaluated.named;
55639 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
55640 evaluated.positional.push(argumentList);
55641 } else
55642 argumentList = null;
55643 result = null;
55644 $async$handler = 11;
55645 $async$goto = 14;
55646 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
55647 case 14:
55648 // returning from await.
55649 result = $async$result;
55650 $async$handler = 2;
55651 // goto after finally
55652 $async$goto = 13;
55653 break;
55654 case 11:
55655 // catch
55656 $async$handler = 10;
55657 $async$exception = $async$currentError;
55658 t1 = A.unwrapException($async$exception);
55659 if (type$.SassRuntimeException._is(t1))
55660 throw $async$exception;
55661 else if (t1 instanceof A.MultiSpanSassScriptException) {
55662 error = t1;
55663 stackTrace = A.getTraceFromException($async$exception);
55664 t1 = error.message;
55665 t2 = nodeWithSpan.get$span(nodeWithSpan);
55666 t3 = error.primaryLabel;
55667 t4 = error.secondarySpans;
55668 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);
55669 } else if (t1 instanceof A.MultiSpanSassException) {
55670 error0 = t1;
55671 stackTrace0 = A.getTraceFromException($async$exception);
55672 t1 = error0._span_exception$_message;
55673 t2 = error0;
55674 t3 = J.getInterceptor$z(t2);
55675 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
55676 t3 = error0.primaryLabel;
55677 t4 = error0.secondarySpans;
55678 t5 = error0;
55679 t6 = J.getInterceptor$z(t5);
55680 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);
55681 } else {
55682 error1 = t1;
55683 stackTrace1 = A.getTraceFromException($async$exception);
55684 message = null;
55685 try {
55686 message = A._asString(J.get$message$x(error1));
55687 } catch (exception) {
55688 message0 = J.toString$0$(error1);
55689 message = message0;
55690 }
55691 A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
55692 }
55693 // goto after finally
55694 $async$goto = 13;
55695 break;
55696 case 10:
55697 // uncaught
55698 // goto rethrow
55699 $async$goto = 2;
55700 break;
55701 case 13:
55702 // after finally
55703 $async$self._async_evaluate$_callableNode = oldCallableNode;
55704 if (argumentList == null) {
55705 $async$returnValue = result;
55706 // goto return
55707 $async$goto = 1;
55708 break;
55709 }
55710 if (evaluated.named.__js_helper$_length === 0) {
55711 $async$returnValue = result;
55712 // goto return
55713 $async$goto = 1;
55714 break;
55715 }
55716 if (argumentList._wereKeywordsAccessed) {
55717 $async$returnValue = result;
55718 // goto return
55719 $async$goto = 1;
55720 break;
55721 }
55722 t1 = evaluated.named;
55723 t1 = t1.get$keys(t1);
55724 t1 = A.pluralize("argument", t1.get$length(t1), null);
55725 t2 = evaluated.named;
55726 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + 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))));
55727 case 1:
55728 // return
55729 return A._asyncReturn($async$returnValue, $async$completer);
55730 case 2:
55731 // rethrow
55732 return A._asyncRethrow($async$currentError, $async$completer);
55733 }
55734 });
55735 return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
55736 },
55737 _async_evaluate$_evaluateArguments$1($arguments) {
55738 return this._evaluateArguments$body$_EvaluateVisitor($arguments);
55739 },
55740 _evaluateArguments$body$_EvaluateVisitor($arguments) {
55741 var $async$goto = 0,
55742 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
55743 $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;
55744 var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55745 if ($async$errorCode === 1)
55746 return A._asyncRethrow($async$result, $async$completer);
55747 while (true)
55748 switch ($async$goto) {
55749 case 0:
55750 // Function start
55751 positional = A._setArrayType([], type$.JSArray_Value);
55752 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
55753 t1 = $arguments.positional, t2 = t1.length, _i = 0;
55754 case 3:
55755 // for condition
55756 if (!(_i < t2)) {
55757 // goto after for
55758 $async$goto = 5;
55759 break;
55760 }
55761 expression = t1[_i];
55762 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
55763 $async$temp1 = positional;
55764 $async$goto = 6;
55765 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55766 case 6:
55767 // returning from await.
55768 $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55769 positionalNodes.push(nodeForSpan);
55770 case 4:
55771 // for update
55772 ++_i;
55773 // goto for condition
55774 $async$goto = 3;
55775 break;
55776 case 5:
55777 // after for
55778 t1 = type$.String;
55779 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
55780 t2 = type$.AstNode;
55781 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55782 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
55783 case 7:
55784 // for condition
55785 if (!t3.moveNext$0()) {
55786 // goto after for
55787 $async$goto = 8;
55788 break;
55789 }
55790 t4 = t3.get$current(t3);
55791 t5 = t4.value;
55792 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
55793 t4 = t4.key;
55794 $async$temp1 = named;
55795 $async$temp2 = t4;
55796 $async$goto = 9;
55797 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55798 case 9:
55799 // returning from await.
55800 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55801 namedNodes.$indexSet(0, t4, nodeForSpan);
55802 // goto for condition
55803 $async$goto = 7;
55804 break;
55805 case 8:
55806 // after for
55807 restArgs = $arguments.rest;
55808 if (restArgs == null) {
55809 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
55810 // goto return
55811 $async$goto = 1;
55812 break;
55813 }
55814 $async$goto = 10;
55815 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55816 case 10:
55817 // returning from await.
55818 rest = $async$result;
55819 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
55820 if (rest instanceof A.SassMap) {
55821 $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
55822 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55823 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
55824 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
55825 namedNodes.addAll$1(0, t3);
55826 separator = B.ListSeparator_undecided_null;
55827 } else if (rest instanceof A.SassList) {
55828 t3 = rest._list$_contents;
55829 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>")));
55830 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
55831 separator = rest._separator;
55832 if (rest instanceof A.SassArgumentList) {
55833 rest._wereKeywordsAccessed = true;
55834 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
55835 }
55836 } else {
55837 positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
55838 positionalNodes.push(restNodeForSpan);
55839 separator = B.ListSeparator_undecided_null;
55840 }
55841 keywordRestArgs = $arguments.keywordRest;
55842 if (keywordRestArgs == null) {
55843 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55844 // goto return
55845 $async$goto = 1;
55846 break;
55847 }
55848 $async$goto = 11;
55849 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55850 case 11:
55851 // returning from await.
55852 keywordRest = $async$result;
55853 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
55854 if (keywordRest instanceof A.SassMap) {
55855 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
55856 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55857 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
55858 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
55859 namedNodes.addAll$1(0, t1);
55860 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55861 // goto return
55862 $async$goto = 1;
55863 break;
55864 } else
55865 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
55866 case 1:
55867 // return
55868 return A._asyncReturn($async$returnValue, $async$completer);
55869 }
55870 });
55871 return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
55872 },
55873 _async_evaluate$_evaluateMacroArguments$1(invocation) {
55874 return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
55875 },
55876 _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
55877 var $async$goto = 0,
55878 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
55879 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
55880 var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55881 if ($async$errorCode === 1)
55882 return A._asyncRethrow($async$result, $async$completer);
55883 while (true)
55884 switch ($async$goto) {
55885 case 0:
55886 // Function start
55887 t1 = invocation.$arguments;
55888 restArgs_ = t1.rest;
55889 if (restArgs_ == null) {
55890 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55891 // goto return
55892 $async$goto = 1;
55893 break;
55894 }
55895 t2 = t1.positional;
55896 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
55897 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
55898 $async$goto = 3;
55899 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55900 case 3:
55901 // returning from await.
55902 rest = $async$result;
55903 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
55904 if (rest instanceof A.SassMap)
55905 $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
55906 else if (rest instanceof A.SassList) {
55907 t2 = rest._list$_contents;
55908 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>")));
55909 if (rest instanceof A.SassArgumentList) {
55910 rest._wereKeywordsAccessed = true;
55911 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
55912 }
55913 } else
55914 positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
55915 keywordRestArgs_ = t1.keywordRest;
55916 if (keywordRestArgs_ == null) {
55917 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55918 // goto return
55919 $async$goto = 1;
55920 break;
55921 }
55922 $async$goto = 4;
55923 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55924 case 4:
55925 // returning from await.
55926 keywordRest = $async$result;
55927 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
55928 if (keywordRest instanceof A.SassMap) {
55929 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
55930 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55931 // goto return
55932 $async$goto = 1;
55933 break;
55934 } else
55935 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
55936 case 1:
55937 // return
55938 return A._asyncReturn($async$returnValue, $async$completer);
55939 }
55940 });
55941 return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
55942 },
55943 _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
55944 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
55945 },
55946 _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
55947 return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
55948 },
55949 _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
55950 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
55951 },
55952 visitSelectorExpression$1(node) {
55953 return this.visitSelectorExpression$body$_EvaluateVisitor(node);
55954 },
55955 visitSelectorExpression$body$_EvaluateVisitor(node) {
55956 var $async$goto = 0,
55957 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55958 $async$returnValue, $async$self = this, t1;
55959 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55960 if ($async$errorCode === 1)
55961 return A._asyncRethrow($async$result, $async$completer);
55962 while (true)
55963 switch ($async$goto) {
55964 case 0:
55965 // Function start
55966 t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
55967 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
55968 $async$returnValue = t1 == null ? B.C__SassNull : t1;
55969 // goto return
55970 $async$goto = 1;
55971 break;
55972 case 1:
55973 // return
55974 return A._asyncReturn($async$returnValue, $async$completer);
55975 }
55976 });
55977 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
55978 },
55979 visitStringExpression$1(node) {
55980 return this.visitStringExpression$body$_EvaluateVisitor(node);
55981 },
55982 visitStringExpression$body$_EvaluateVisitor(node) {
55983 var $async$goto = 0,
55984 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
55985 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
55986 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55987 if ($async$errorCode === 1)
55988 return A._asyncRethrow($async$result, $async$completer);
55989 while (true)
55990 switch ($async$goto) {
55991 case 0:
55992 // Function start
55993 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
55994 $async$self._async_evaluate$_inSupportsDeclaration = false;
55995 $async$temp1 = J;
55996 $async$goto = 3;
55997 return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
55998 case 3:
55999 // returning from await.
56000 t1 = $async$temp1.join$0$ax($async$result);
56001 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
56002 $async$returnValue = new A.SassString(t1, node.hasQuotes);
56003 // goto return
56004 $async$goto = 1;
56005 break;
56006 case 1:
56007 // return
56008 return A._asyncReturn($async$returnValue, $async$completer);
56009 }
56010 });
56011 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
56012 },
56013 visitSupportsExpression$1(expression) {
56014 return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
56015 },
56016 visitSupportsExpression$body$_EvaluateVisitor(expression) {
56017 var $async$goto = 0,
56018 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
56019 $async$returnValue, $async$self = this, $async$temp1;
56020 var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56021 if ($async$errorCode === 1)
56022 return A._asyncRethrow($async$result, $async$completer);
56023 while (true)
56024 switch ($async$goto) {
56025 case 0:
56026 // Function start
56027 $async$temp1 = A;
56028 $async$goto = 3;
56029 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
56030 case 3:
56031 // returning from await.
56032 $async$returnValue = new $async$temp1.SassString($async$result, false);
56033 // goto return
56034 $async$goto = 1;
56035 break;
56036 case 1:
56037 // return
56038 return A._asyncReturn($async$returnValue, $async$completer);
56039 }
56040 });
56041 return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
56042 },
56043 visitCssAtRule$1(node) {
56044 return this.visitCssAtRule$body$_EvaluateVisitor(node);
56045 },
56046 visitCssAtRule$body$_EvaluateVisitor(node) {
56047 var $async$goto = 0,
56048 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56049 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
56050 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56051 if ($async$errorCode === 1)
56052 return A._asyncRethrow($async$result, $async$completer);
56053 while (true)
56054 switch ($async$goto) {
56055 case 0:
56056 // Function start
56057 if ($async$self._async_evaluate$_declarationName != null)
56058 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
56059 if (node.isChildless) {
56060 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
56061 // goto return
56062 $async$goto = 1;
56063 break;
56064 }
56065 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
56066 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
56067 t1 = node.name;
56068 if (A.unvendor(t1.get$value(t1)) === "keyframes")
56069 $async$self._async_evaluate$_inKeyframes = true;
56070 else
56071 $async$self._async_evaluate$_inUnknownAtRule = true;
56072 $async$goto = 3;
56073 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);
56074 case 3:
56075 // returning from await.
56076 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
56077 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
56078 case 1:
56079 // return
56080 return A._asyncReturn($async$returnValue, $async$completer);
56081 }
56082 });
56083 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
56084 },
56085 visitCssComment$1(node) {
56086 return this.visitCssComment$body$_EvaluateVisitor(node);
56087 },
56088 visitCssComment$body$_EvaluateVisitor(node) {
56089 var $async$goto = 0,
56090 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56091 $async$self = this;
56092 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56093 if ($async$errorCode === 1)
56094 return A._asyncRethrow($async$result, $async$completer);
56095 while (true)
56096 switch ($async$goto) {
56097 case 0:
56098 // Function start
56099 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))
56100 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
56101 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
56102 // implicit return
56103 return A._asyncReturn(null, $async$completer);
56104 }
56105 });
56106 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
56107 },
56108 visitCssDeclaration$1(node) {
56109 return this.visitCssDeclaration$body$_EvaluateVisitor(node);
56110 },
56111 visitCssDeclaration$body$_EvaluateVisitor(node) {
56112 var $async$goto = 0,
56113 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56114 $async$self = this, t1;
56115 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56116 if ($async$errorCode === 1)
56117 return A._asyncRethrow($async$result, $async$completer);
56118 while (true)
56119 switch ($async$goto) {
56120 case 0:
56121 // Function start
56122 t1 = node.name;
56123 $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));
56124 // implicit return
56125 return A._asyncReturn(null, $async$completer);
56126 }
56127 });
56128 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
56129 },
56130 visitCssImport$1(node) {
56131 return this.visitCssImport$body$_EvaluateVisitor(node);
56132 },
56133 visitCssImport$body$_EvaluateVisitor(node) {
56134 var $async$goto = 0,
56135 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56136 $async$self = this, t1, modifiableNode;
56137 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56138 if ($async$errorCode === 1)
56139 return A._asyncRethrow($async$result, $async$completer);
56140 while (true)
56141 switch ($async$goto) {
56142 case 0:
56143 // Function start
56144 modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
56145 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"))
56146 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
56147 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)) {
56148 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
56149 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
56150 } else {
56151 t1 = $async$self._async_evaluate$_outOfOrderImports;
56152 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
56153 }
56154 // implicit return
56155 return A._asyncReturn(null, $async$completer);
56156 }
56157 });
56158 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
56159 },
56160 visitCssKeyframeBlock$1(node) {
56161 return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
56162 },
56163 visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
56164 var $async$goto = 0,
56165 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56166 $async$self = this;
56167 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56168 if ($async$errorCode === 1)
56169 return A._asyncRethrow($async$result, $async$completer);
56170 while (true)
56171 switch ($async$goto) {
56172 case 0:
56173 // Function start
56174 $async$goto = 2;
56175 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);
56176 case 2:
56177 // returning from await.
56178 // implicit return
56179 return A._asyncReturn(null, $async$completer);
56180 }
56181 });
56182 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
56183 },
56184 visitCssMediaRule$1(node) {
56185 return this.visitCssMediaRule$body$_EvaluateVisitor(node);
56186 },
56187 visitCssMediaRule$body$_EvaluateVisitor(node) {
56188 var $async$goto = 0,
56189 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56190 $async$returnValue, $async$self = this, mergedQueries, t1;
56191 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56192 if ($async$errorCode === 1)
56193 return A._asyncRethrow($async$result, $async$completer);
56194 while (true)
56195 switch ($async$goto) {
56196 case 0:
56197 // Function start
56198 if ($async$self._async_evaluate$_declarationName != null)
56199 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
56200 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
56201 t1 = mergedQueries == null;
56202 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
56203 // goto return
56204 $async$goto = 1;
56205 break;
56206 }
56207 t1 = t1 ? node.queries : mergedQueries;
56208 $async$goto = 3;
56209 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);
56210 case 3:
56211 // returning from await.
56212 case 1:
56213 // return
56214 return A._asyncReturn($async$returnValue, $async$completer);
56215 }
56216 });
56217 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
56218 },
56219 visitCssStyleRule$1(node) {
56220 return this.visitCssStyleRule$body$_EvaluateVisitor(node);
56221 },
56222 visitCssStyleRule$body$_EvaluateVisitor(node) {
56223 var $async$goto = 0,
56224 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56225 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
56226 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56227 if ($async$errorCode === 1)
56228 return A._asyncRethrow($async$result, $async$completer);
56229 while (true)
56230 switch ($async$goto) {
56231 case 0:
56232 // Function start
56233 if ($async$self._async_evaluate$_declarationName != null)
56234 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
56235 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
56236 styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56237 t2 = node.selector;
56238 t3 = t2.value;
56239 t4 = styleRule == null;
56240 t5 = t4 ? null : styleRule.originalSelector;
56241 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
56242 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);
56243 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
56244 $async$self._async_evaluate$_atRootExcludingStyleRule = false;
56245 $async$goto = 2;
56246 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);
56247 case 2:
56248 // returning from await.
56249 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
56250 if (t4) {
56251 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56252 t1 = !t1.get$isEmpty(t1);
56253 } else
56254 t1 = false;
56255 if (t1) {
56256 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56257 t1.get$last(t1).isGroupEnd = true;
56258 }
56259 // implicit return
56260 return A._asyncReturn(null, $async$completer);
56261 }
56262 });
56263 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
56264 },
56265 visitCssStylesheet$1(node) {
56266 return this.visitCssStylesheet$body$_EvaluateVisitor(node);
56267 },
56268 visitCssStylesheet$body$_EvaluateVisitor(node) {
56269 var $async$goto = 0,
56270 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56271 $async$self = this, t1;
56272 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56273 if ($async$errorCode === 1)
56274 return A._asyncRethrow($async$result, $async$completer);
56275 while (true)
56276 switch ($async$goto) {
56277 case 0:
56278 // Function start
56279 t1 = J.get$iterator$ax(node.get$children(node));
56280 case 2:
56281 // for condition
56282 if (!t1.moveNext$0()) {
56283 // goto after for
56284 $async$goto = 3;
56285 break;
56286 }
56287 $async$goto = 4;
56288 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
56289 case 4:
56290 // returning from await.
56291 // goto for condition
56292 $async$goto = 2;
56293 break;
56294 case 3:
56295 // after for
56296 // implicit return
56297 return A._asyncReturn(null, $async$completer);
56298 }
56299 });
56300 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
56301 },
56302 visitCssSupportsRule$1(node) {
56303 return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
56304 },
56305 visitCssSupportsRule$body$_EvaluateVisitor(node) {
56306 var $async$goto = 0,
56307 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56308 $async$self = this;
56309 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56310 if ($async$errorCode === 1)
56311 return A._asyncRethrow($async$result, $async$completer);
56312 while (true)
56313 switch ($async$goto) {
56314 case 0:
56315 // Function start
56316 if ($async$self._async_evaluate$_declarationName != null)
56317 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
56318 $async$goto = 2;
56319 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);
56320 case 2:
56321 // returning from await.
56322 // implicit return
56323 return A._asyncReturn(null, $async$completer);
56324 }
56325 });
56326 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
56327 },
56328 _async_evaluate$_handleReturn$1$2(list, callback) {
56329 return this._handleReturn$body$_EvaluateVisitor(list, callback);
56330 },
56331 _async_evaluate$_handleReturn$2(list, callback) {
56332 return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
56333 },
56334 _handleReturn$body$_EvaluateVisitor(list, callback) {
56335 var $async$goto = 0,
56336 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
56337 $async$returnValue, t1, _i, result;
56338 var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56339 if ($async$errorCode === 1)
56340 return A._asyncRethrow($async$result, $async$completer);
56341 while (true)
56342 switch ($async$goto) {
56343 case 0:
56344 // Function start
56345 t1 = list.length, _i = 0;
56346 case 3:
56347 // for condition
56348 if (!(_i < list.length)) {
56349 // goto after for
56350 $async$goto = 5;
56351 break;
56352 }
56353 $async$goto = 6;
56354 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
56355 case 6:
56356 // returning from await.
56357 result = $async$result;
56358 if (result != null) {
56359 $async$returnValue = result;
56360 // goto return
56361 $async$goto = 1;
56362 break;
56363 }
56364 case 4:
56365 // for update
56366 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
56367 // goto for condition
56368 $async$goto = 3;
56369 break;
56370 case 5:
56371 // after for
56372 $async$returnValue = null;
56373 // goto return
56374 $async$goto = 1;
56375 break;
56376 case 1:
56377 // return
56378 return A._asyncReturn($async$returnValue, $async$completer);
56379 }
56380 });
56381 return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
56382 },
56383 _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
56384 return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
56385 },
56386 _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
56387 var $async$goto = 0,
56388 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56389 $async$returnValue, $async$self = this, result, oldEnvironment;
56390 var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56391 if ($async$errorCode === 1)
56392 return A._asyncRethrow($async$result, $async$completer);
56393 while (true)
56394 switch ($async$goto) {
56395 case 0:
56396 // Function start
56397 oldEnvironment = $async$self._async_evaluate$_environment;
56398 $async$self._async_evaluate$_environment = environment;
56399 $async$goto = 3;
56400 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
56401 case 3:
56402 // returning from await.
56403 result = $async$result;
56404 $async$self._async_evaluate$_environment = oldEnvironment;
56405 $async$returnValue = result;
56406 // goto return
56407 $async$goto = 1;
56408 break;
56409 case 1:
56410 // return
56411 return A._asyncReturn($async$returnValue, $async$completer);
56412 }
56413 });
56414 return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
56415 },
56416 _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
56417 return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
56418 },
56419 _async_evaluate$_interpolationToValue$1(interpolation) {
56420 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
56421 },
56422 _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
56423 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
56424 },
56425 _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
56426 var $async$goto = 0,
56427 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
56428 $async$returnValue, $async$self = this, result, t1;
56429 var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56430 if ($async$errorCode === 1)
56431 return A._asyncRethrow($async$result, $async$completer);
56432 while (true)
56433 switch ($async$goto) {
56434 case 0:
56435 // Function start
56436 $async$goto = 3;
56437 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
56438 case 3:
56439 // returning from await.
56440 result = $async$result;
56441 t1 = trim ? A.trimAscii(result, true) : result;
56442 $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
56443 // goto return
56444 $async$goto = 1;
56445 break;
56446 case 1:
56447 // return
56448 return A._asyncReturn($async$returnValue, $async$completer);
56449 }
56450 });
56451 return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
56452 },
56453 _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
56454 return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
56455 },
56456 _async_evaluate$_performInterpolation$1(interpolation) {
56457 return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
56458 },
56459 _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
56460 var $async$goto = 0,
56461 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56462 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
56463 var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56464 if ($async$errorCode === 1)
56465 return A._asyncRethrow($async$result, $async$completer);
56466 while (true)
56467 switch ($async$goto) {
56468 case 0:
56469 // Function start
56470 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
56471 $async$self._async_evaluate$_inSupportsDeclaration = false;
56472 $async$temp1 = J;
56473 $async$goto = 3;
56474 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);
56475 case 3:
56476 // returning from await.
56477 result = $async$temp1.join$0$ax($async$result);
56478 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
56479 $async$returnValue = result;
56480 // goto return
56481 $async$goto = 1;
56482 break;
56483 case 1:
56484 // return
56485 return A._asyncReturn($async$returnValue, $async$completer);
56486 }
56487 });
56488 return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
56489 },
56490 _evaluateToCss$2$quote(expression, quote) {
56491 return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
56492 },
56493 _evaluateToCss$1(expression) {
56494 return this._evaluateToCss$2$quote(expression, true);
56495 },
56496 _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
56497 var $async$goto = 0,
56498 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56499 $async$returnValue, $async$self = this;
56500 var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56501 if ($async$errorCode === 1)
56502 return A._asyncRethrow($async$result, $async$completer);
56503 while (true)
56504 switch ($async$goto) {
56505 case 0:
56506 // Function start
56507 $async$goto = 3;
56508 return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
56509 case 3:
56510 // returning from await.
56511 $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
56512 // goto return
56513 $async$goto = 1;
56514 break;
56515 case 1:
56516 // return
56517 return A._asyncReturn($async$returnValue, $async$completer);
56518 }
56519 });
56520 return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
56521 },
56522 _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
56523 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
56524 },
56525 _async_evaluate$_serialize$2(value, nodeWithSpan) {
56526 return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
56527 },
56528 _async_evaluate$_expressionNode$1(expression) {
56529 var t1;
56530 if (expression instanceof A.VariableExpression) {
56531 t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
56532 return t1 == null ? expression : t1;
56533 } else
56534 return expression;
56535 },
56536 _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
56537 return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
56538 },
56539 _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
56540 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
56541 },
56542 _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
56543 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
56544 },
56545 _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
56546 var $async$goto = 0,
56547 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56548 $async$returnValue, $async$self = this, t1, result;
56549 var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56550 if ($async$errorCode === 1)
56551 return A._asyncRethrow($async$result, $async$completer);
56552 while (true)
56553 switch ($async$goto) {
56554 case 0:
56555 // Function start
56556 $async$self._async_evaluate$_addChild$2$through(node, through);
56557 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
56558 $async$self._async_evaluate$__parent = node;
56559 $async$goto = 3;
56560 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
56561 case 3:
56562 // returning from await.
56563 result = $async$result;
56564 $async$self._async_evaluate$__parent = t1;
56565 $async$returnValue = result;
56566 // goto return
56567 $async$goto = 1;
56568 break;
56569 case 1:
56570 // return
56571 return A._asyncReturn($async$returnValue, $async$completer);
56572 }
56573 });
56574 return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
56575 },
56576 _async_evaluate$_addChild$2$through(node, through) {
56577 var grandparent, t1,
56578 $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
56579 if (through != null) {
56580 for (; through.call$1($parent); $parent = grandparent) {
56581 grandparent = $parent._parent;
56582 if (grandparent == null)
56583 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
56584 }
56585 if ($parent.get$hasFollowingSibling()) {
56586 t1 = $parent._parent;
56587 t1.toString;
56588 $parent = $parent.copyWithoutChildren$0();
56589 t1.addChild$1($parent);
56590 }
56591 }
56592 $parent.addChild$1(node);
56593 },
56594 _async_evaluate$_addChild$1(node) {
56595 return this._async_evaluate$_addChild$2$through(node, null);
56596 },
56597 _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
56598 return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
56599 },
56600 _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
56601 var $async$goto = 0,
56602 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56603 $async$returnValue, $async$self = this, result, oldRule;
56604 var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56605 if ($async$errorCode === 1)
56606 return A._asyncRethrow($async$result, $async$completer);
56607 while (true)
56608 switch ($async$goto) {
56609 case 0:
56610 // Function start
56611 oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56612 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
56613 $async$goto = 3;
56614 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
56615 case 3:
56616 // returning from await.
56617 result = $async$result;
56618 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
56619 $async$returnValue = result;
56620 // goto return
56621 $async$goto = 1;
56622 break;
56623 case 1:
56624 // return
56625 return A._asyncReturn($async$returnValue, $async$completer);
56626 }
56627 });
56628 return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
56629 },
56630 _async_evaluate$_withMediaQueries$1$2(queries, callback, $T) {
56631 return this._withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $T);
56632 },
56633 _withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $async$type) {
56634 var $async$goto = 0,
56635 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56636 $async$returnValue, $async$self = this, result, oldMediaQueries;
56637 var $async$_async_evaluate$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56638 if ($async$errorCode === 1)
56639 return A._asyncRethrow($async$result, $async$completer);
56640 while (true)
56641 switch ($async$goto) {
56642 case 0:
56643 // Function start
56644 oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
56645 $async$self._async_evaluate$_mediaQueries = queries;
56646 $async$goto = 3;
56647 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$2);
56648 case 3:
56649 // returning from await.
56650 result = $async$result;
56651 $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
56652 $async$returnValue = result;
56653 // goto return
56654 $async$goto = 1;
56655 break;
56656 case 1:
56657 // return
56658 return A._asyncReturn($async$returnValue, $async$completer);
56659 }
56660 });
56661 return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$2, $async$completer);
56662 },
56663 _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
56664 return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
56665 },
56666 _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
56667 var $async$goto = 0,
56668 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56669 $async$returnValue, $async$self = this, oldMember, result, t1;
56670 var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56671 if ($async$errorCode === 1)
56672 return A._asyncRethrow($async$result, $async$completer);
56673 while (true)
56674 switch ($async$goto) {
56675 case 0:
56676 // Function start
56677 t1 = $async$self._async_evaluate$_stack;
56678 t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
56679 oldMember = $async$self._async_evaluate$_member;
56680 $async$self._async_evaluate$_member = member;
56681 $async$goto = 3;
56682 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
56683 case 3:
56684 // returning from await.
56685 result = $async$result;
56686 $async$self._async_evaluate$_member = oldMember;
56687 t1.pop();
56688 $async$returnValue = result;
56689 // goto return
56690 $async$goto = 1;
56691 break;
56692 case 1:
56693 // return
56694 return A._asyncReturn($async$returnValue, $async$completer);
56695 }
56696 });
56697 return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
56698 },
56699 _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
56700 if (value instanceof A.SassNumber && value.asSlash != null)
56701 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);
56702 return value.withoutSlash$0();
56703 },
56704 _async_evaluate$_stackFrame$2(member, span) {
56705 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure0(this)));
56706 },
56707 _async_evaluate$_stackTrace$1(span) {
56708 var _this = this,
56709 t1 = _this._async_evaluate$_stack;
56710 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);
56711 if (span != null)
56712 t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
56713 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
56714 },
56715 _async_evaluate$_stackTrace$0() {
56716 return this._async_evaluate$_stackTrace$1(null);
56717 },
56718 _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
56719 var t1, _this = this;
56720 if (_this._async_evaluate$_quietDeps)
56721 if (!_this._async_evaluate$_inDependency) {
56722 t1 = _this._async_evaluate$_currentCallable;
56723 t1 = t1 == null ? null : t1.inDependency;
56724 t1 = t1 === true;
56725 } else
56726 t1 = true;
56727 else
56728 t1 = false;
56729 if (t1)
56730 return;
56731 if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
56732 return;
56733 _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
56734 },
56735 _async_evaluate$_warn$2(message, span) {
56736 return this._async_evaluate$_warn$3$deprecation(message, span, false);
56737 },
56738 _async_evaluate$_exception$2(message, span) {
56739 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
56740 return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
56741 },
56742 _async_evaluate$_exception$1(message) {
56743 return this._async_evaluate$_exception$2(message, null);
56744 },
56745 _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
56746 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
56747 return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
56748 },
56749 _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
56750 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
56751 try {
56752 t1 = callback.call$0();
56753 return t1;
56754 } catch (exception) {
56755 t1 = A.unwrapException(exception);
56756 if (t1 instanceof A.SassFormatException) {
56757 error = t1;
56758 stackTrace = A.getTraceFromException(exception);
56759 t1 = error;
56760 t2 = J.getInterceptor$z(t1);
56761 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
56762 span = nodeWithSpan.get$span(nodeWithSpan);
56763 t1 = span;
56764 t2 = span;
56765 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);
56766 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
56767 t1 = span;
56768 t1 = A.FileLocation$_(t1.file, t1._file$_start);
56769 t3 = error;
56770 t4 = J.getInterceptor$z(t3);
56771 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
56772 t3 = A.FileLocation$_(t3.file, t3._file$_start);
56773 t4 = span;
56774 t4 = A.FileLocation$_(t4.file, t4._file$_start);
56775 t5 = error;
56776 t6 = J.getInterceptor$z(t5);
56777 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
56778 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
56779 A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
56780 } else
56781 throw exception;
56782 }
56783 },
56784 _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
56785 return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
56786 },
56787 _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
56788 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
56789 try {
56790 t1 = callback.call$0();
56791 return t1;
56792 } catch (exception) {
56793 t1 = A.unwrapException(exception);
56794 if (t1 instanceof A.MultiSpanSassScriptException) {
56795 error = t1;
56796 stackTrace = A.getTraceFromException(exception);
56797 t1 = error.message;
56798 t2 = nodeWithSpan.get$span(nodeWithSpan);
56799 t3 = error.primaryLabel;
56800 t4 = error.secondarySpans;
56801 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);
56802 } else if (t1 instanceof A.SassScriptException) {
56803 error0 = t1;
56804 stackTrace0 = A.getTraceFromException(exception);
56805 A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56806 } else
56807 throw exception;
56808 }
56809 },
56810 _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
56811 return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
56812 },
56813 _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
56814 return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56815 },
56816 _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56817 var $async$goto = 0,
56818 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56819 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
56820 var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56821 if ($async$errorCode === 1) {
56822 $async$currentError = $async$result;
56823 $async$goto = $async$handler;
56824 }
56825 while (true)
56826 switch ($async$goto) {
56827 case 0:
56828 // Function start
56829 $async$handler = 4;
56830 $async$goto = 7;
56831 return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
56832 case 7:
56833 // returning from await.
56834 t1 = $async$result;
56835 $async$returnValue = t1;
56836 // goto return
56837 $async$goto = 1;
56838 break;
56839 $async$handler = 2;
56840 // goto after finally
56841 $async$goto = 6;
56842 break;
56843 case 4:
56844 // catch
56845 $async$handler = 3;
56846 $async$exception = $async$currentError;
56847 t1 = A.unwrapException($async$exception);
56848 if (t1 instanceof A.MultiSpanSassScriptException) {
56849 error = t1;
56850 stackTrace = A.getTraceFromException($async$exception);
56851 t1 = error.message;
56852 t2 = nodeWithSpan.get$span(nodeWithSpan);
56853 t3 = error.primaryLabel;
56854 t4 = error.secondarySpans;
56855 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);
56856 } else if (t1 instanceof A.SassScriptException) {
56857 error0 = t1;
56858 stackTrace0 = A.getTraceFromException($async$exception);
56859 A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56860 } else
56861 throw $async$exception;
56862 // goto after finally
56863 $async$goto = 6;
56864 break;
56865 case 3:
56866 // uncaught
56867 // goto rethrow
56868 $async$goto = 2;
56869 break;
56870 case 6:
56871 // after finally
56872 case 1:
56873 // return
56874 return A._asyncReturn($async$returnValue, $async$completer);
56875 case 2:
56876 // rethrow
56877 return A._asyncRethrow($async$currentError, $async$completer);
56878 }
56879 });
56880 return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
56881 },
56882 _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
56883 return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56884 },
56885 _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56886 var $async$goto = 0,
56887 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56888 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
56889 var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56890 if ($async$errorCode === 1) {
56891 $async$currentError = $async$result;
56892 $async$goto = $async$handler;
56893 }
56894 while (true)
56895 switch ($async$goto) {
56896 case 0:
56897 // Function start
56898 $async$handler = 4;
56899 $async$goto = 7;
56900 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
56901 case 7:
56902 // returning from await.
56903 t1 = $async$result;
56904 $async$returnValue = t1;
56905 // goto return
56906 $async$goto = 1;
56907 break;
56908 $async$handler = 2;
56909 // goto after finally
56910 $async$goto = 6;
56911 break;
56912 case 4:
56913 // catch
56914 $async$handler = 3;
56915 $async$exception = $async$currentError;
56916 t1 = A.unwrapException($async$exception);
56917 if (type$.SassRuntimeException._is(t1)) {
56918 error = t1;
56919 stackTrace = A.getTraceFromException($async$exception);
56920 t1 = J.get$span$z(error);
56921 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"))
56922 throw $async$exception;
56923 t1 = error._span_exception$_message;
56924 t2 = nodeWithSpan.get$span(nodeWithSpan);
56925 A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
56926 } else
56927 throw $async$exception;
56928 // goto after finally
56929 $async$goto = 6;
56930 break;
56931 case 3:
56932 // uncaught
56933 // goto rethrow
56934 $async$goto = 2;
56935 break;
56936 case 6:
56937 // after finally
56938 case 1:
56939 // return
56940 return A._asyncReturn($async$returnValue, $async$completer);
56941 case 2:
56942 // rethrow
56943 return A._asyncRethrow($async$currentError, $async$completer);
56944 }
56945 });
56946 return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
56947 }
56948 };
56949 A._EvaluateVisitor_closure9.prototype = {
56950 call$1($arguments) {
56951 var module, t2,
56952 t1 = J.getInterceptor$asx($arguments),
56953 variable = t1.$index($arguments, 0).assertString$1("name");
56954 t1 = t1.$index($arguments, 1).get$realNull();
56955 module = t1 == null ? null : t1.assertString$1("module");
56956 t1 = this.$this._async_evaluate$_environment;
56957 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56958 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
56959 },
56960 $signature: 17
56961 };
56962 A._EvaluateVisitor_closure10.prototype = {
56963 call$1($arguments) {
56964 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
56965 t1 = this.$this._async_evaluate$_environment;
56966 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
56967 },
56968 $signature: 17
56969 };
56970 A._EvaluateVisitor_closure11.prototype = {
56971 call$1($arguments) {
56972 var module, t2, t3, t4,
56973 t1 = J.getInterceptor$asx($arguments),
56974 variable = t1.$index($arguments, 0).assertString$1("name");
56975 t1 = t1.$index($arguments, 1).get$realNull();
56976 module = t1 == null ? null : t1.assertString$1("module");
56977 t1 = this.$this;
56978 t2 = t1._async_evaluate$_environment;
56979 t3 = variable._string$_text;
56980 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
56981 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;
56982 },
56983 $signature: 17
56984 };
56985 A._EvaluateVisitor_closure12.prototype = {
56986 call$1($arguments) {
56987 var module, t2,
56988 t1 = J.getInterceptor$asx($arguments),
56989 variable = t1.$index($arguments, 0).assertString$1("name");
56990 t1 = t1.$index($arguments, 1).get$realNull();
56991 module = t1 == null ? null : t1.assertString$1("module");
56992 t1 = this.$this._async_evaluate$_environment;
56993 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56994 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
56995 },
56996 $signature: 17
56997 };
56998 A._EvaluateVisitor_closure13.prototype = {
56999 call$1($arguments) {
57000 var t1 = this.$this._async_evaluate$_environment;
57001 if (!t1._async_environment$_inMixin)
57002 throw A.wrapException(A.SassScriptException$(string$.conten));
57003 return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
57004 },
57005 $signature: 17
57006 };
57007 A._EvaluateVisitor_closure14.prototype = {
57008 call$1($arguments) {
57009 var t2, t3, t4,
57010 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
57011 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
57012 if (module == null)
57013 throw A.wrapException('There is no module with namespace "' + t1 + '".');
57014 t1 = type$.Value;
57015 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
57016 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
57017 t4 = t3.get$current(t3);
57018 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
57019 }
57020 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
57021 },
57022 $signature: 37
57023 };
57024 A._EvaluateVisitor_closure15.prototype = {
57025 call$1($arguments) {
57026 var t2, t3, t4,
57027 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
57028 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
57029 if (module == null)
57030 throw A.wrapException('There is no module with namespace "' + t1 + '".');
57031 t1 = type$.Value;
57032 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
57033 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
57034 t4 = t3.get$current(t3);
57035 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
57036 }
57037 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
57038 },
57039 $signature: 37
57040 };
57041 A._EvaluateVisitor_closure16.prototype = {
57042 call$1($arguments) {
57043 var module, callable, t2,
57044 t1 = J.getInterceptor$asx($arguments),
57045 $name = t1.$index($arguments, 0).assertString$1("name"),
57046 css = t1.$index($arguments, 1).get$isTruthy();
57047 t1 = t1.$index($arguments, 2).get$realNull();
57048 module = t1 == null ? null : t1.assertString$1("module");
57049 if (css && module != null)
57050 throw A.wrapException(string$.x24css_a);
57051 if (css)
57052 callable = new A.PlainCssCallable($name._string$_text);
57053 else {
57054 t1 = this.$this;
57055 t2 = t1._async_evaluate$_callableNode;
57056 t2.toString;
57057 callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
57058 }
57059 if (callable != null)
57060 return new A.SassFunction(callable);
57061 throw A.wrapException("Function not found: " + $name.toString$0(0));
57062 },
57063 $signature: 164
57064 };
57065 A._EvaluateVisitor__closure4.prototype = {
57066 call$0() {
57067 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
57068 t2 = this.module;
57069 t2 = t2 == null ? null : t2._string$_text;
57070 return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
57071 },
57072 $signature: 129
57073 };
57074 A._EvaluateVisitor_closure17.prototype = {
57075 call$1($arguments) {
57076 return this.$call$body$_EvaluateVisitor_closure0($arguments);
57077 },
57078 $call$body$_EvaluateVisitor_closure0($arguments) {
57079 var $async$goto = 0,
57080 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
57081 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
57082 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57083 if ($async$errorCode === 1)
57084 return A._asyncRethrow($async$result, $async$completer);
57085 while (true)
57086 switch ($async$goto) {
57087 case 0:
57088 // Function start
57089 t1 = J.getInterceptor$asx($arguments);
57090 $function = t1.$index($arguments, 0);
57091 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
57092 t1 = $async$self.$this;
57093 t2 = t1._async_evaluate$_callableNode;
57094 t2.toString;
57095 t3 = A._setArrayType([], type$.JSArray_Expression);
57096 t4 = type$.String;
57097 t5 = type$.Expression;
57098 t6 = t2.get$span(t2);
57099 t7 = t2.get$span(t2);
57100 args._wereKeywordsAccessed = true;
57101 t8 = args._keywords;
57102 if (t8.get$isEmpty(t8))
57103 t2 = null;
57104 else {
57105 t9 = type$.Value;
57106 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
57107 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
57108 t11 = t8.get$current(t8);
57109 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
57110 }
57111 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
57112 }
57113 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);
57114 $async$goto = $function instanceof A.SassString ? 3 : 4;
57115 break;
57116 case 3:
57117 // then
57118 t2 = $function.toString$0(0);
57119 A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
57120 callableNode = t1._async_evaluate$_callableNode;
57121 $async$goto = 5;
57122 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
57123 case 5:
57124 // returning from await.
57125 $async$returnValue = $async$result;
57126 // goto return
57127 $async$goto = 1;
57128 break;
57129 case 4:
57130 // join
57131 t2 = $function.assertFunction$1("function");
57132 t3 = t1._async_evaluate$_callableNode;
57133 t3.toString;
57134 $async$goto = 6;
57135 return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
57136 case 6:
57137 // returning from await.
57138 t3 = $async$result;
57139 $async$returnValue = t3;
57140 // goto return
57141 $async$goto = 1;
57142 break;
57143 case 1:
57144 // return
57145 return A._asyncReturn($async$returnValue, $async$completer);
57146 }
57147 });
57148 return A._asyncStartSync($async$call$1, $async$completer);
57149 },
57150 $signature: 208
57151 };
57152 A._EvaluateVisitor_closure18.prototype = {
57153 call$1($arguments) {
57154 return this.$call$body$_EvaluateVisitor_closure($arguments);
57155 },
57156 $call$body$_EvaluateVisitor_closure($arguments) {
57157 var $async$goto = 0,
57158 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57159 $async$self = this, withMap, t2, values, configuration, t1, url;
57160 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57161 if ($async$errorCode === 1)
57162 return A._asyncRethrow($async$result, $async$completer);
57163 while (true)
57164 switch ($async$goto) {
57165 case 0:
57166 // Function start
57167 t1 = J.getInterceptor$asx($arguments);
57168 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
57169 t1 = t1.$index($arguments, 1).get$realNull();
57170 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
57171 t1 = $async$self.$this;
57172 t2 = t1._async_evaluate$_callableNode;
57173 t2.toString;
57174 if (withMap != null) {
57175 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
57176 withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
57177 configuration = new A.ExplicitConfiguration(t2, values);
57178 } else
57179 configuration = B.Configuration_Map_empty;
57180 $async$goto = 2;
57181 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);
57182 case 2:
57183 // returning from await.
57184 t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
57185 // implicit return
57186 return A._asyncReturn(null, $async$completer);
57187 }
57188 });
57189 return A._asyncStartSync($async$call$1, $async$completer);
57190 },
57191 $signature: 411
57192 };
57193 A._EvaluateVisitor__closure2.prototype = {
57194 call$2(variable, value) {
57195 var t1 = variable.assertString$1("with key"),
57196 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
57197 t1 = this.values;
57198 if (t1.containsKey$1($name))
57199 throw A.wrapException("The variable $" + $name + " was configured twice.");
57200 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
57201 },
57202 $signature: 52
57203 };
57204 A._EvaluateVisitor__closure3.prototype = {
57205 call$1(module) {
57206 var t1 = this.$this;
57207 return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
57208 },
57209 $signature: 163
57210 };
57211 A._EvaluateVisitor_run_closure0.prototype = {
57212 call$0() {
57213 var $async$goto = 0,
57214 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
57215 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
57216 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57217 if ($async$errorCode === 1)
57218 return A._asyncRethrow($async$result, $async$completer);
57219 while (true)
57220 switch ($async$goto) {
57221 case 0:
57222 // Function start
57223 t1 = $async$self.node;
57224 url = t1.span.file.url;
57225 if (url != null) {
57226 t2 = $async$self.$this;
57227 t2._async_evaluate$_activeModules.$indexSet(0, url, null);
57228 t2._async_evaluate$_loadedUrls.add$1(0, url);
57229 }
57230 t2 = $async$self.$this;
57231 $async$temp1 = A;
57232 $async$temp2 = t2;
57233 $async$goto = 3;
57234 return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
57235 case 3:
57236 // returning from await.
57237 $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
57238 // goto return
57239 $async$goto = 1;
57240 break;
57241 case 1:
57242 // return
57243 return A._asyncReturn($async$returnValue, $async$completer);
57244 }
57245 });
57246 return A._asyncStartSync($async$call$0, $async$completer);
57247 },
57248 $signature: 421
57249 };
57250 A._EvaluateVisitor__loadModule_closure1.prototype = {
57251 call$0() {
57252 return this.callback.call$1(this.builtInModule);
57253 },
57254 $signature: 0
57255 };
57256 A._EvaluateVisitor__loadModule_closure2.prototype = {
57257 call$0() {
57258 var $async$goto = 0,
57259 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57260 $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;
57261 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57262 if ($async$errorCode === 1) {
57263 $async$currentError = $async$result;
57264 $async$goto = $async$handler;
57265 }
57266 while (true)
57267 switch ($async$goto) {
57268 case 0:
57269 // Function start
57270 t1 = $async$self.$this;
57271 t2 = $async$self.nodeWithSpan;
57272 $async$goto = 2;
57273 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);
57274 case 2:
57275 // returning from await.
57276 result = $async$result;
57277 stylesheet = result.stylesheet;
57278 canonicalUrl = stylesheet.span.file.url;
57279 if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
57280 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
57281 t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
57282 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
57283 }
57284 if (canonicalUrl != null)
57285 t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
57286 oldInDependency = t1._async_evaluate$_inDependency;
57287 t1._async_evaluate$_inDependency = result.isDependency;
57288 module = null;
57289 $async$handler = 3;
57290 $async$goto = 6;
57291 return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
57292 case 6:
57293 // returning from await.
57294 module = $async$result;
57295 $async$next.push(5);
57296 // goto finally
57297 $async$goto = 4;
57298 break;
57299 case 3:
57300 // uncaught
57301 $async$next = [1];
57302 case 4:
57303 // finally
57304 $async$handler = 1;
57305 t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
57306 t1._async_evaluate$_inDependency = oldInDependency;
57307 // goto the next finally handler
57308 $async$goto = $async$next.pop();
57309 break;
57310 case 5:
57311 // after finally
57312 $async$handler = 8;
57313 $async$goto = 11;
57314 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
57315 case 11:
57316 // returning from await.
57317 $async$handler = 1;
57318 // goto after finally
57319 $async$goto = 10;
57320 break;
57321 case 8:
57322 // catch
57323 $async$handler = 7;
57324 $async$exception = $async$currentError;
57325 t2 = A.unwrapException($async$exception);
57326 if (type$.SassRuntimeException._is(t2))
57327 throw $async$exception;
57328 else if (t2 instanceof A.MultiSpanSassException) {
57329 error = t2;
57330 stackTrace = A.getTraceFromException($async$exception);
57331 t2 = error._span_exception$_message;
57332 t3 = error;
57333 t4 = J.getInterceptor$z(t3);
57334 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
57335 t4 = error.primaryLabel;
57336 t5 = error.secondarySpans;
57337 t6 = error;
57338 t7 = J.getInterceptor$z(t6);
57339 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);
57340 } else if (t2 instanceof A.SassException) {
57341 error0 = t2;
57342 stackTrace0 = A.getTraceFromException($async$exception);
57343 t2 = error0;
57344 t3 = J.getInterceptor$z(t2);
57345 A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
57346 } else if (t2 instanceof A.MultiSpanSassScriptException) {
57347 error1 = t2;
57348 stackTrace1 = A.getTraceFromException($async$exception);
57349 A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
57350 } else if (t2 instanceof A.SassScriptException) {
57351 error2 = t2;
57352 stackTrace2 = A.getTraceFromException($async$exception);
57353 A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
57354 } else
57355 throw $async$exception;
57356 // goto after finally
57357 $async$goto = 10;
57358 break;
57359 case 7:
57360 // uncaught
57361 // goto rethrow
57362 $async$goto = 1;
57363 break;
57364 case 10:
57365 // after finally
57366 // implicit return
57367 return A._asyncReturn(null, $async$completer);
57368 case 1:
57369 // rethrow
57370 return A._asyncRethrow($async$currentError, $async$completer);
57371 }
57372 });
57373 return A._asyncStartSync($async$call$0, $async$completer);
57374 },
57375 $signature: 2
57376 };
57377 A._EvaluateVisitor__loadModule__closure0.prototype = {
57378 call$1(previousLoad) {
57379 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));
57380 },
57381 $signature: 87
57382 };
57383 A._EvaluateVisitor__execute_closure0.prototype = {
57384 call$0() {
57385 var $async$goto = 0,
57386 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57387 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
57388 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57389 if ($async$errorCode === 1)
57390 return A._asyncRethrow($async$result, $async$completer);
57391 while (true)
57392 switch ($async$goto) {
57393 case 0:
57394 // Function start
57395 t1 = $async$self.$this;
57396 oldImporter = t1._async_evaluate$_importer;
57397 oldStylesheet = t1._async_evaluate$__stylesheet;
57398 oldRoot = t1._async_evaluate$__root;
57399 oldParent = t1._async_evaluate$__parent;
57400 oldEndOfImports = t1._async_evaluate$__endOfImports;
57401 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57402 oldExtensionStore = t1._async_evaluate$__extensionStore;
57403 t2 = t1._async_evaluate$_atRootExcludingStyleRule;
57404 oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57405 oldMediaQueries = t1._async_evaluate$_mediaQueries;
57406 oldDeclarationName = t1._async_evaluate$_declarationName;
57407 oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57408 oldInKeyframes = t1._async_evaluate$_inKeyframes;
57409 oldConfiguration = t1._async_evaluate$_configuration;
57410 t1._async_evaluate$_importer = $async$self.importer;
57411 t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57412 t4 = t3.span;
57413 t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
57414 t1._async_evaluate$__endOfImports = 0;
57415 t1._async_evaluate$_outOfOrderImports = null;
57416 t1._async_evaluate$__extensionStore = $async$self.extensionStore;
57417 t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
57418 t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
57419 t6 = $async$self.configuration;
57420 if (t6 != null)
57421 t1._async_evaluate$_configuration = t6;
57422 $async$goto = 2;
57423 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
57424 case 2:
57425 // returning from await.
57426 t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
57427 $async$self.css._value = t3;
57428 t1._async_evaluate$_importer = oldImporter;
57429 t1._async_evaluate$__stylesheet = oldStylesheet;
57430 t1._async_evaluate$__root = oldRoot;
57431 t1._async_evaluate$__parent = oldParent;
57432 t1._async_evaluate$__endOfImports = oldEndOfImports;
57433 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
57434 t1._async_evaluate$__extensionStore = oldExtensionStore;
57435 t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
57436 t1._async_evaluate$_mediaQueries = oldMediaQueries;
57437 t1._async_evaluate$_declarationName = oldDeclarationName;
57438 t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
57439 t1._async_evaluate$_atRootExcludingStyleRule = t2;
57440 t1._async_evaluate$_inKeyframes = oldInKeyframes;
57441 t1._async_evaluate$_configuration = oldConfiguration;
57442 // implicit return
57443 return A._asyncReturn(null, $async$completer);
57444 }
57445 });
57446 return A._asyncStartSync($async$call$0, $async$completer);
57447 },
57448 $signature: 2
57449 };
57450 A._EvaluateVisitor__combineCss_closure2.prototype = {
57451 call$1(module) {
57452 return module.get$transitivelyContainsCss();
57453 },
57454 $signature: 143
57455 };
57456 A._EvaluateVisitor__combineCss_closure3.prototype = {
57457 call$1(target) {
57458 return !this.selectors.contains$1(0, target);
57459 },
57460 $signature: 16
57461 };
57462 A._EvaluateVisitor__combineCss_closure4.prototype = {
57463 call$1(module) {
57464 return module.cloneCss$0();
57465 },
57466 $signature: 436
57467 };
57468 A._EvaluateVisitor__extendModules_closure1.prototype = {
57469 call$1(target) {
57470 return !this.originalSelectors.contains$1(0, target);
57471 },
57472 $signature: 16
57473 };
57474 A._EvaluateVisitor__extendModules_closure2.prototype = {
57475 call$0() {
57476 return A._setArrayType([], type$.JSArray_ExtensionStore);
57477 },
57478 $signature: 161
57479 };
57480 A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
57481 call$1(module) {
57482 var t1, t2, t3, _i, upstream;
57483 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
57484 upstream = t1[_i];
57485 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
57486 this.call$1(upstream);
57487 }
57488 this.sorted.addFirst$1(module);
57489 },
57490 $signature: 163
57491 };
57492 A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
57493 call$0() {
57494 var t1 = A.SpanScanner$(this.resolved, null);
57495 return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
57496 },
57497 $signature: 104
57498 };
57499 A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
57500 call$0() {
57501 var $async$goto = 0,
57502 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57503 $async$self = this, t1, t2, t3, _i;
57504 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57505 if ($async$errorCode === 1)
57506 return A._asyncRethrow($async$result, $async$completer);
57507 while (true)
57508 switch ($async$goto) {
57509 case 0:
57510 // Function start
57511 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57512 case 2:
57513 // for condition
57514 if (!(_i < t2)) {
57515 // goto after for
57516 $async$goto = 4;
57517 break;
57518 }
57519 $async$goto = 5;
57520 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57521 case 5:
57522 // returning from await.
57523 case 3:
57524 // for update
57525 ++_i;
57526 // goto for condition
57527 $async$goto = 2;
57528 break;
57529 case 4:
57530 // after for
57531 // implicit return
57532 return A._asyncReturn(null, $async$completer);
57533 }
57534 });
57535 return A._asyncStartSync($async$call$0, $async$completer);
57536 },
57537 $signature: 2
57538 };
57539 A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
57540 call$0() {
57541 var $async$goto = 0,
57542 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57543 $async$self = this, t1, t2, t3, _i;
57544 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57545 if ($async$errorCode === 1)
57546 return A._asyncRethrow($async$result, $async$completer);
57547 while (true)
57548 switch ($async$goto) {
57549 case 0:
57550 // Function start
57551 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57552 case 2:
57553 // for condition
57554 if (!(_i < t2)) {
57555 // goto after for
57556 $async$goto = 4;
57557 break;
57558 }
57559 $async$goto = 5;
57560 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57561 case 5:
57562 // returning from await.
57563 case 3:
57564 // for update
57565 ++_i;
57566 // goto for condition
57567 $async$goto = 2;
57568 break;
57569 case 4:
57570 // after for
57571 // implicit return
57572 return A._asyncReturn(null, $async$completer);
57573 }
57574 });
57575 return A._asyncStartSync($async$call$0, $async$completer);
57576 },
57577 $signature: 34
57578 };
57579 A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
57580 call$1(callback) {
57581 var $async$goto = 0,
57582 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57583 $async$self = this, t1, t2;
57584 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57585 if ($async$errorCode === 1)
57586 return A._asyncRethrow($async$result, $async$completer);
57587 while (true)
57588 switch ($async$goto) {
57589 case 0:
57590 // Function start
57591 t1 = $async$self.$this;
57592 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57593 t1._async_evaluate$__parent = $async$self.newParent;
57594 $async$goto = 2;
57595 return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
57596 case 2:
57597 // returning from await.
57598 t1._async_evaluate$__parent = t2;
57599 // implicit return
57600 return A._asyncReturn(null, $async$completer);
57601 }
57602 });
57603 return A._asyncStartSync($async$call$1, $async$completer);
57604 },
57605 $signature: 32
57606 };
57607 A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
57608 call$1(callback) {
57609 var $async$goto = 0,
57610 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57611 $async$self = this, t1, oldAtRootExcludingStyleRule;
57612 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57613 if ($async$errorCode === 1)
57614 return A._asyncRethrow($async$result, $async$completer);
57615 while (true)
57616 switch ($async$goto) {
57617 case 0:
57618 // Function start
57619 t1 = $async$self.$this;
57620 oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
57621 t1._async_evaluate$_atRootExcludingStyleRule = true;
57622 $async$goto = 2;
57623 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57624 case 2:
57625 // returning from await.
57626 t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
57627 // implicit return
57628 return A._asyncReturn(null, $async$completer);
57629 }
57630 });
57631 return A._asyncStartSync($async$call$1, $async$completer);
57632 },
57633 $signature: 32
57634 };
57635 A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
57636 call$1(callback) {
57637 return this.$this._async_evaluate$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
57638 },
57639 $signature: 32
57640 };
57641 A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
57642 call$0() {
57643 return this.innerScope.call$1(this.callback);
57644 },
57645 $signature: 2
57646 };
57647 A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
57648 call$1(callback) {
57649 var $async$goto = 0,
57650 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57651 $async$self = this, t1, wasInKeyframes;
57652 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57653 if ($async$errorCode === 1)
57654 return A._asyncRethrow($async$result, $async$completer);
57655 while (true)
57656 switch ($async$goto) {
57657 case 0:
57658 // Function start
57659 t1 = $async$self.$this;
57660 wasInKeyframes = t1._async_evaluate$_inKeyframes;
57661 t1._async_evaluate$_inKeyframes = false;
57662 $async$goto = 2;
57663 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57664 case 2:
57665 // returning from await.
57666 t1._async_evaluate$_inKeyframes = wasInKeyframes;
57667 // implicit return
57668 return A._asyncReturn(null, $async$completer);
57669 }
57670 });
57671 return A._asyncStartSync($async$call$1, $async$completer);
57672 },
57673 $signature: 32
57674 };
57675 A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
57676 call$1($parent) {
57677 return type$.CssAtRule._is($parent);
57678 },
57679 $signature: 160
57680 };
57681 A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
57682 call$1(callback) {
57683 var $async$goto = 0,
57684 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57685 $async$self = this, t1, wasInUnknownAtRule;
57686 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57687 if ($async$errorCode === 1)
57688 return A._asyncRethrow($async$result, $async$completer);
57689 while (true)
57690 switch ($async$goto) {
57691 case 0:
57692 // Function start
57693 t1 = $async$self.$this;
57694 wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57695 t1._async_evaluate$_inUnknownAtRule = false;
57696 $async$goto = 2;
57697 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57698 case 2:
57699 // returning from await.
57700 t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
57701 // implicit return
57702 return A._asyncReturn(null, $async$completer);
57703 }
57704 });
57705 return A._asyncStartSync($async$call$1, $async$completer);
57706 },
57707 $signature: 32
57708 };
57709 A._EvaluateVisitor_visitContentRule_closure0.prototype = {
57710 call$0() {
57711 var $async$goto = 0,
57712 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57713 $async$returnValue, $async$self = this, t1, t2, t3, _i;
57714 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57715 if ($async$errorCode === 1)
57716 return A._asyncRethrow($async$result, $async$completer);
57717 while (true)
57718 switch ($async$goto) {
57719 case 0:
57720 // Function start
57721 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57722 case 3:
57723 // for condition
57724 if (!(_i < t2)) {
57725 // goto after for
57726 $async$goto = 5;
57727 break;
57728 }
57729 $async$goto = 6;
57730 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57731 case 6:
57732 // returning from await.
57733 case 4:
57734 // for update
57735 ++_i;
57736 // goto for condition
57737 $async$goto = 3;
57738 break;
57739 case 5:
57740 // after for
57741 $async$returnValue = null;
57742 // goto return
57743 $async$goto = 1;
57744 break;
57745 case 1:
57746 // return
57747 return A._asyncReturn($async$returnValue, $async$completer);
57748 }
57749 });
57750 return A._asyncStartSync($async$call$0, $async$completer);
57751 },
57752 $signature: 2
57753 };
57754 A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
57755 call$1(value) {
57756 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
57757 },
57758 $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
57759 var $async$goto = 0,
57760 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
57761 $async$returnValue, $async$self = this, $async$temp1;
57762 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57763 if ($async$errorCode === 1)
57764 return A._asyncRethrow($async$result, $async$completer);
57765 while (true)
57766 switch ($async$goto) {
57767 case 0:
57768 // Function start
57769 $async$temp1 = A;
57770 $async$goto = 3;
57771 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
57772 case 3:
57773 // returning from await.
57774 $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
57775 // goto return
57776 $async$goto = 1;
57777 break;
57778 case 1:
57779 // return
57780 return A._asyncReturn($async$returnValue, $async$completer);
57781 }
57782 });
57783 return A._asyncStartSync($async$call$1, $async$completer);
57784 },
57785 $signature: 448
57786 };
57787 A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
57788 call$0() {
57789 var $async$goto = 0,
57790 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57791 $async$self = this, t1, t2, t3, _i;
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.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57800 case 2:
57801 // for condition
57802 if (!(_i < t2)) {
57803 // goto after for
57804 $async$goto = 4;
57805 break;
57806 }
57807 $async$goto = 5;
57808 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57809 case 5:
57810 // returning from await.
57811 case 3:
57812 // for update
57813 ++_i;
57814 // goto for condition
57815 $async$goto = 2;
57816 break;
57817 case 4:
57818 // after for
57819 // implicit return
57820 return A._asyncReturn(null, $async$completer);
57821 }
57822 });
57823 return A._asyncStartSync($async$call$0, $async$completer);
57824 },
57825 $signature: 2
57826 };
57827 A._EvaluateVisitor_visitEachRule_closure2.prototype = {
57828 call$1(value) {
57829 var t1 = this.$this,
57830 t2 = this.nodeWithSpan;
57831 return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
57832 },
57833 $signature: 56
57834 };
57835 A._EvaluateVisitor_visitEachRule_closure3.prototype = {
57836 call$1(value) {
57837 return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
57838 },
57839 $signature: 56
57840 };
57841 A._EvaluateVisitor_visitEachRule_closure4.prototype = {
57842 call$0() {
57843 var _this = this,
57844 t1 = _this.$this;
57845 return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
57846 },
57847 $signature: 68
57848 };
57849 A._EvaluateVisitor_visitEachRule__closure0.prototype = {
57850 call$1(element) {
57851 var t1;
57852 this.setVariables.call$1(element);
57853 t1 = this.$this;
57854 return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
57855 },
57856 $signature: 462
57857 };
57858 A._EvaluateVisitor_visitEachRule___closure0.prototype = {
57859 call$1(child) {
57860 return child.accept$1(this.$this);
57861 },
57862 $signature: 84
57863 };
57864 A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
57865 call$0() {
57866 var t1 = this.targetText;
57867 return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
57868 },
57869 $signature: 44
57870 };
57871 A._EvaluateVisitor_visitAtRule_closure2.prototype = {
57872 call$1(value) {
57873 return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
57874 },
57875 $signature: 472
57876 };
57877 A._EvaluateVisitor_visitAtRule_closure3.prototype = {
57878 call$0() {
57879 var $async$goto = 0,
57880 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57881 $async$self = this, t2, t3, _i, t1, styleRule;
57882 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57883 if ($async$errorCode === 1)
57884 return A._asyncRethrow($async$result, $async$completer);
57885 while (true)
57886 switch ($async$goto) {
57887 case 0:
57888 // Function start
57889 t1 = $async$self.$this;
57890 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57891 $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
57892 break;
57893 case 2:
57894 // then
57895 t2 = $async$self.children, t3 = t2.length, _i = 0;
57896 case 5:
57897 // for condition
57898 if (!(_i < t3)) {
57899 // goto after for
57900 $async$goto = 7;
57901 break;
57902 }
57903 $async$goto = 8;
57904 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
57905 case 8:
57906 // returning from await.
57907 case 6:
57908 // for update
57909 ++_i;
57910 // goto for condition
57911 $async$goto = 5;
57912 break;
57913 case 7:
57914 // after for
57915 // goto join
57916 $async$goto = 3;
57917 break;
57918 case 4:
57919 // else
57920 $async$goto = 9;
57921 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);
57922 case 9:
57923 // returning from await.
57924 case 3:
57925 // join
57926 // implicit return
57927 return A._asyncReturn(null, $async$completer);
57928 }
57929 });
57930 return A._asyncStartSync($async$call$0, $async$completer);
57931 },
57932 $signature: 2
57933 };
57934 A._EvaluateVisitor_visitAtRule__closure0.prototype = {
57935 call$0() {
57936 var $async$goto = 0,
57937 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57938 $async$self = this, t1, t2, t3, _i;
57939 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57940 if ($async$errorCode === 1)
57941 return A._asyncRethrow($async$result, $async$completer);
57942 while (true)
57943 switch ($async$goto) {
57944 case 0:
57945 // Function start
57946 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57947 case 2:
57948 // for condition
57949 if (!(_i < t2)) {
57950 // goto after for
57951 $async$goto = 4;
57952 break;
57953 }
57954 $async$goto = 5;
57955 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57956 case 5:
57957 // returning from await.
57958 case 3:
57959 // for update
57960 ++_i;
57961 // goto for condition
57962 $async$goto = 2;
57963 break;
57964 case 4:
57965 // after for
57966 // implicit return
57967 return A._asyncReturn(null, $async$completer);
57968 }
57969 });
57970 return A._asyncStartSync($async$call$0, $async$completer);
57971 },
57972 $signature: 2
57973 };
57974 A._EvaluateVisitor_visitAtRule_closure4.prototype = {
57975 call$1(node) {
57976 return type$.CssStyleRule._is(node);
57977 },
57978 $signature: 8
57979 };
57980 A._EvaluateVisitor_visitForRule_closure4.prototype = {
57981 call$0() {
57982 var $async$goto = 0,
57983 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
57984 $async$returnValue, $async$self = this;
57985 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57986 if ($async$errorCode === 1)
57987 return A._asyncRethrow($async$result, $async$completer);
57988 while (true)
57989 switch ($async$goto) {
57990 case 0:
57991 // Function start
57992 $async$goto = 3;
57993 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
57994 case 3:
57995 // returning from await.
57996 $async$returnValue = $async$result.assertNumber$0();
57997 // goto return
57998 $async$goto = 1;
57999 break;
58000 case 1:
58001 // return
58002 return A._asyncReturn($async$returnValue, $async$completer);
58003 }
58004 });
58005 return A._asyncStartSync($async$call$0, $async$completer);
58006 },
58007 $signature: 158
58008 };
58009 A._EvaluateVisitor_visitForRule_closure5.prototype = {
58010 call$0() {
58011 var $async$goto = 0,
58012 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
58013 $async$returnValue, $async$self = this;
58014 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58015 if ($async$errorCode === 1)
58016 return A._asyncRethrow($async$result, $async$completer);
58017 while (true)
58018 switch ($async$goto) {
58019 case 0:
58020 // Function start
58021 $async$goto = 3;
58022 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
58023 case 3:
58024 // returning from await.
58025 $async$returnValue = $async$result.assertNumber$0();
58026 // goto return
58027 $async$goto = 1;
58028 break;
58029 case 1:
58030 // return
58031 return A._asyncReturn($async$returnValue, $async$completer);
58032 }
58033 });
58034 return A._asyncStartSync($async$call$0, $async$completer);
58035 },
58036 $signature: 158
58037 };
58038 A._EvaluateVisitor_visitForRule_closure6.prototype = {
58039 call$0() {
58040 return this.fromNumber.assertInt$0();
58041 },
58042 $signature: 12
58043 };
58044 A._EvaluateVisitor_visitForRule_closure7.prototype = {
58045 call$0() {
58046 var t1 = this.fromNumber;
58047 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
58048 },
58049 $signature: 12
58050 };
58051 A._EvaluateVisitor_visitForRule_closure8.prototype = {
58052 call$0() {
58053 var $async$goto = 0,
58054 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58055 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
58056 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58057 if ($async$errorCode === 1)
58058 return A._asyncRethrow($async$result, $async$completer);
58059 while (true)
58060 switch ($async$goto) {
58061 case 0:
58062 // Function start
58063 t1 = $async$self.$this;
58064 t2 = $async$self.node;
58065 nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
58066 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
58067 case 3:
58068 // for condition
58069 if (!(i !== t3.to)) {
58070 // goto after for
58071 $async$goto = 5;
58072 break;
58073 }
58074 t7 = t1._async_evaluate$_environment;
58075 t8 = t6.get$numeratorUnits(t6);
58076 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
58077 $async$goto = 6;
58078 return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
58079 case 6:
58080 // returning from await.
58081 result = $async$result;
58082 if (result != null) {
58083 $async$returnValue = result;
58084 // goto return
58085 $async$goto = 1;
58086 break;
58087 }
58088 case 4:
58089 // for update
58090 i += t4;
58091 // goto for condition
58092 $async$goto = 3;
58093 break;
58094 case 5:
58095 // after for
58096 $async$returnValue = null;
58097 // goto return
58098 $async$goto = 1;
58099 break;
58100 case 1:
58101 // return
58102 return A._asyncReturn($async$returnValue, $async$completer);
58103 }
58104 });
58105 return A._asyncStartSync($async$call$0, $async$completer);
58106 },
58107 $signature: 68
58108 };
58109 A._EvaluateVisitor_visitForRule__closure0.prototype = {
58110 call$1(child) {
58111 return child.accept$1(this.$this);
58112 },
58113 $signature: 84
58114 };
58115 A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
58116 call$1(module) {
58117 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
58118 },
58119 $signature: 124
58120 };
58121 A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
58122 call$1(module) {
58123 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
58124 },
58125 $signature: 124
58126 };
58127 A._EvaluateVisitor_visitIfRule_closure0.prototype = {
58128 call$0() {
58129 var t1 = this.$this;
58130 return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
58131 },
58132 $signature: 68
58133 };
58134 A._EvaluateVisitor_visitIfRule__closure0.prototype = {
58135 call$1(child) {
58136 return child.accept$1(this.$this);
58137 },
58138 $signature: 84
58139 };
58140 A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
58141 call$0() {
58142 var $async$goto = 0,
58143 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58144 $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;
58145 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58146 if ($async$errorCode === 1)
58147 return A._asyncRethrow($async$result, $async$completer);
58148 while (true)
58149 switch ($async$goto) {
58150 case 0:
58151 // Function start
58152 t1 = $async$self.$this;
58153 t2 = $async$self.$import;
58154 $async$goto = 3;
58155 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
58156 case 3:
58157 // returning from await.
58158 result = $async$result;
58159 stylesheet = result.stylesheet;
58160 url = stylesheet.span.file.url;
58161 if (url != null) {
58162 t3 = t1._async_evaluate$_activeModules;
58163 if (t3.containsKey$1(url)) {
58164 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
58165 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
58166 }
58167 t3.$indexSet(0, url, t2);
58168 }
58169 t2 = stylesheet._uses;
58170 t3 = type$.UnmodifiableListView_UseRule;
58171 t4 = new A.UnmodifiableListView(t2, t3);
58172 if (t4.get$length(t4) === 0) {
58173 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
58174 t4 = t4.get$length(t4) === 0;
58175 } else
58176 t4 = false;
58177 $async$goto = t4 ? 4 : 5;
58178 break;
58179 case 4:
58180 // then
58181 oldImporter = t1._async_evaluate$_importer;
58182 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58183 oldInDependency = t1._async_evaluate$_inDependency;
58184 t1._async_evaluate$_importer = result.importer;
58185 t1._async_evaluate$__stylesheet = stylesheet;
58186 t1._async_evaluate$_inDependency = result.isDependency;
58187 $async$goto = 6;
58188 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
58189 case 6:
58190 // returning from await.
58191 t1._async_evaluate$_importer = oldImporter;
58192 t1._async_evaluate$__stylesheet = t2;
58193 t1._async_evaluate$_inDependency = oldInDependency;
58194 t1._async_evaluate$_activeModules.remove$1(0, url);
58195 // goto return
58196 $async$goto = 1;
58197 break;
58198 case 5:
58199 // join
58200 t2 = new A.UnmodifiableListView(t2, t3);
58201 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
58202 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
58203 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
58204 } else
58205 loadsUserDefinedModules = true;
58206 children = A._Cell$();
58207 t2 = t1._async_evaluate$_environment;
58208 t3 = type$.String;
58209 t4 = type$.Module_AsyncCallable;
58210 t5 = type$.AstNode;
58211 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
58212 t7 = t2._async_environment$_variables;
58213 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
58214 t8 = t2._async_environment$_variableNodes;
58215 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
58216 t9 = t2._async_environment$_functions;
58217 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
58218 t10 = t2._async_environment$_mixins;
58219 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
58220 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);
58221 $async$goto = 7;
58222 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);
58223 case 7:
58224 // returning from await.
58225 module = environment.toDummyModule$0();
58226 t1._async_evaluate$_environment.importForwards$1(module);
58227 $async$goto = loadsUserDefinedModules ? 8 : 9;
58228 break;
58229 case 8:
58230 // then
58231 $async$goto = module.transitivelyContainsCss ? 10 : 11;
58232 break;
58233 case 10:
58234 // then
58235 $async$goto = 12;
58236 return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
58237 case 12:
58238 // returning from await.
58239 case 11:
58240 // join
58241 visitor = new A._ImportedCssVisitor0(t1);
58242 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
58243 t2.get$current(t2).accept$1(visitor);
58244 case 9:
58245 // join
58246 t1._async_evaluate$_activeModules.remove$1(0, url);
58247 case 1:
58248 // return
58249 return A._asyncReturn($async$returnValue, $async$completer);
58250 }
58251 });
58252 return A._asyncStartSync($async$call$0, $async$completer);
58253 },
58254 $signature: 34
58255 };
58256 A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
58257 call$1(previousLoad) {
58258 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));
58259 },
58260 $signature: 87
58261 };
58262 A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
58263 call$1(rule) {
58264 return rule.url.get$scheme() !== "sass";
58265 },
58266 $signature: 154
58267 };
58268 A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
58269 call$1(rule) {
58270 return rule.url.get$scheme() !== "sass";
58271 },
58272 $signature: 153
58273 };
58274 A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
58275 call$0() {
58276 var $async$goto = 0,
58277 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58278 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
58279 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58280 if ($async$errorCode === 1)
58281 return A._asyncRethrow($async$result, $async$completer);
58282 while (true)
58283 switch ($async$goto) {
58284 case 0:
58285 // Function start
58286 t1 = $async$self.$this;
58287 oldImporter = t1._async_evaluate$_importer;
58288 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58289 t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
58290 t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
58291 t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
58292 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
58293 oldConfiguration = t1._async_evaluate$_configuration;
58294 oldInDependency = t1._async_evaluate$_inDependency;
58295 t6 = $async$self.result;
58296 t1._async_evaluate$_importer = t6.importer;
58297 t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
58298 t8 = $async$self.loadsUserDefinedModules;
58299 if (t8) {
58300 t9 = A.ModifiableCssStylesheet$(t7.span);
58301 t1._async_evaluate$__root = t9;
58302 t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
58303 t1._async_evaluate$__endOfImports = 0;
58304 t1._async_evaluate$_outOfOrderImports = null;
58305 }
58306 t1._async_evaluate$_inDependency = t6.isDependency;
58307 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
58308 if (!t6.get$isEmpty(t6))
58309 t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
58310 $async$goto = 2;
58311 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
58312 case 2:
58313 // returning from await.
58314 t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
58315 $async$self.children._value = t6;
58316 t1._async_evaluate$_importer = oldImporter;
58317 t1._async_evaluate$__stylesheet = t2;
58318 if (t8) {
58319 t1._async_evaluate$__root = t3;
58320 t1._async_evaluate$__parent = t4;
58321 t1._async_evaluate$__endOfImports = t5;
58322 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
58323 }
58324 t1._async_evaluate$_configuration = oldConfiguration;
58325 t1._async_evaluate$_inDependency = oldInDependency;
58326 // implicit return
58327 return A._asyncReturn(null, $async$completer);
58328 }
58329 });
58330 return A._asyncStartSync($async$call$0, $async$completer);
58331 },
58332 $signature: 2
58333 };
58334 A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
58335 call$0() {
58336 var t1 = this.node;
58337 return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
58338 },
58339 $signature: 129
58340 };
58341 A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
58342 call$0() {
58343 return this.node.get$spanWithoutContent();
58344 },
58345 $signature: 30
58346 };
58347 A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
58348 call$1($content) {
58349 var t1 = this.$this;
58350 return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
58351 },
58352 $signature: 502
58353 };
58354 A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
58355 call$0() {
58356 var $async$goto = 0,
58357 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58358 $async$self = this, t1;
58359 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58360 if ($async$errorCode === 1)
58361 return A._asyncRethrow($async$result, $async$completer);
58362 while (true)
58363 switch ($async$goto) {
58364 case 0:
58365 // Function start
58366 t1 = $async$self.$this;
58367 $async$goto = 2;
58368 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);
58369 case 2:
58370 // returning from await.
58371 // implicit return
58372 return A._asyncReturn(null, $async$completer);
58373 }
58374 });
58375 return A._asyncStartSync($async$call$0, $async$completer);
58376 },
58377 $signature: 2
58378 };
58379 A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
58380 call$0() {
58381 var $async$goto = 0,
58382 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58383 $async$self = this, t1;
58384 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58385 if ($async$errorCode === 1)
58386 return A._asyncRethrow($async$result, $async$completer);
58387 while (true)
58388 switch ($async$goto) {
58389 case 0:
58390 // Function start
58391 t1 = $async$self.$this;
58392 $async$goto = 2;
58393 return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58394 case 2:
58395 // returning from await.
58396 // implicit return
58397 return A._asyncReturn(null, $async$completer);
58398 }
58399 });
58400 return A._asyncStartSync($async$call$0, $async$completer);
58401 },
58402 $signature: 34
58403 };
58404 A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
58405 call$0() {
58406 var $async$goto = 0,
58407 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58408 $async$self = this, t1, t2, t3, t4, t5, _i;
58409 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58410 if ($async$errorCode === 1)
58411 return A._asyncRethrow($async$result, $async$completer);
58412 while (true)
58413 switch ($async$goto) {
58414 case 0:
58415 // Function start
58416 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
58417 case 2:
58418 // for condition
58419 if (!(_i < t2)) {
58420 // goto after for
58421 $async$goto = 4;
58422 break;
58423 }
58424 $async$goto = 5;
58425 return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
58426 case 5:
58427 // returning from await.
58428 case 3:
58429 // for update
58430 ++_i;
58431 // goto for condition
58432 $async$goto = 2;
58433 break;
58434 case 4:
58435 // after for
58436 // implicit return
58437 return A._asyncReturn(null, $async$completer);
58438 }
58439 });
58440 return A._asyncStartSync($async$call$0, $async$completer);
58441 },
58442 $signature: 34
58443 };
58444 A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
58445 call$0() {
58446 return this.statement.accept$1(this.$this);
58447 },
58448 $signature: 68
58449 };
58450 A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
58451 call$1(mediaQueries) {
58452 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
58453 },
58454 $signature: 83
58455 };
58456 A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
58457 call$0() {
58458 var $async$goto = 0,
58459 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58460 $async$self = this, t1, t2;
58461 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58462 if ($async$errorCode === 1)
58463 return A._asyncRethrow($async$result, $async$completer);
58464 while (true)
58465 switch ($async$goto) {
58466 case 0:
58467 // Function start
58468 t1 = $async$self.$this;
58469 t2 = $async$self.mergedQueries;
58470 if (t2 == null)
58471 t2 = $async$self.queries;
58472 $async$goto = 2;
58473 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
58474 case 2:
58475 // returning from await.
58476 // implicit return
58477 return A._asyncReturn(null, $async$completer);
58478 }
58479 });
58480 return A._asyncStartSync($async$call$0, $async$completer);
58481 },
58482 $signature: 2
58483 };
58484 A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
58485 call$0() {
58486 var $async$goto = 0,
58487 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58488 $async$self = this, t2, t3, _i, t1, styleRule;
58489 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58490 if ($async$errorCode === 1)
58491 return A._asyncRethrow($async$result, $async$completer);
58492 while (true)
58493 switch ($async$goto) {
58494 case 0:
58495 // Function start
58496 t1 = $async$self.$this;
58497 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58498 $async$goto = styleRule == null ? 2 : 4;
58499 break;
58500 case 2:
58501 // then
58502 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58503 case 5:
58504 // for condition
58505 if (!(_i < t3)) {
58506 // goto after for
58507 $async$goto = 7;
58508 break;
58509 }
58510 $async$goto = 8;
58511 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58512 case 8:
58513 // returning from await.
58514 case 6:
58515 // for update
58516 ++_i;
58517 // goto for condition
58518 $async$goto = 5;
58519 break;
58520 case 7:
58521 // after for
58522 // goto join
58523 $async$goto = 3;
58524 break;
58525 case 4:
58526 // else
58527 $async$goto = 9;
58528 return A._asyncAwait(t1._async_evaluate$_withParent$2$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);
58529 case 9:
58530 // returning from await.
58531 case 3:
58532 // join
58533 // implicit return
58534 return A._asyncReturn(null, $async$completer);
58535 }
58536 });
58537 return A._asyncStartSync($async$call$0, $async$completer);
58538 },
58539 $signature: 2
58540 };
58541 A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
58542 call$0() {
58543 var $async$goto = 0,
58544 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58545 $async$self = this, t1, t2, t3, _i;
58546 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58547 if ($async$errorCode === 1)
58548 return A._asyncRethrow($async$result, $async$completer);
58549 while (true)
58550 switch ($async$goto) {
58551 case 0:
58552 // Function start
58553 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58554 case 2:
58555 // for condition
58556 if (!(_i < t2)) {
58557 // goto after for
58558 $async$goto = 4;
58559 break;
58560 }
58561 $async$goto = 5;
58562 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58563 case 5:
58564 // returning from await.
58565 case 3:
58566 // for update
58567 ++_i;
58568 // goto for condition
58569 $async$goto = 2;
58570 break;
58571 case 4:
58572 // after for
58573 // implicit return
58574 return A._asyncReturn(null, $async$completer);
58575 }
58576 });
58577 return A._asyncStartSync($async$call$0, $async$completer);
58578 },
58579 $signature: 2
58580 };
58581 A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
58582 call$1(node) {
58583 var t1;
58584 if (!type$.CssStyleRule._is(node))
58585 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
58586 else
58587 t1 = true;
58588 return t1;
58589 },
58590 $signature: 8
58591 };
58592 A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
58593 call$0() {
58594 var t1 = A.SpanScanner$(this.resolved, null);
58595 return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
58596 },
58597 $signature: 103
58598 };
58599 A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
58600 call$0() {
58601 var t1 = this.selectorText;
58602 return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
58603 },
58604 $signature: 46
58605 };
58606 A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
58607 call$0() {
58608 var $async$goto = 0,
58609 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58610 $async$self = this, t1, t2, t3, _i;
58611 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58612 if ($async$errorCode === 1)
58613 return A._asyncRethrow($async$result, $async$completer);
58614 while (true)
58615 switch ($async$goto) {
58616 case 0:
58617 // Function start
58618 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58619 case 2:
58620 // for condition
58621 if (!(_i < t2)) {
58622 // goto after for
58623 $async$goto = 4;
58624 break;
58625 }
58626 $async$goto = 5;
58627 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58628 case 5:
58629 // returning from await.
58630 case 3:
58631 // for update
58632 ++_i;
58633 // goto for condition
58634 $async$goto = 2;
58635 break;
58636 case 4:
58637 // after for
58638 // implicit return
58639 return A._asyncReturn(null, $async$completer);
58640 }
58641 });
58642 return A._asyncStartSync($async$call$0, $async$completer);
58643 },
58644 $signature: 2
58645 };
58646 A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
58647 call$1(node) {
58648 return type$.CssStyleRule._is(node);
58649 },
58650 $signature: 8
58651 };
58652 A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
58653 call$0() {
58654 var _s11_ = "_stylesheet",
58655 t1 = this.selectorText,
58656 t2 = this.$this;
58657 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);
58658 },
58659 $signature: 44
58660 };
58661 A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
58662 call$0() {
58663 var t1 = this._box_0.parsedSelector,
58664 t2 = this.$this,
58665 t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
58666 t3 = t3 == null ? null : t3.originalSelector;
58667 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
58668 },
58669 $signature: 44
58670 };
58671 A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
58672 call$0() {
58673 var $async$goto = 0,
58674 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58675 $async$self = this, t1;
58676 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58677 if ($async$errorCode === 1)
58678 return A._asyncRethrow($async$result, $async$completer);
58679 while (true)
58680 switch ($async$goto) {
58681 case 0:
58682 // Function start
58683 t1 = $async$self.$this;
58684 $async$goto = 2;
58685 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);
58686 case 2:
58687 // returning from await.
58688 // implicit return
58689 return A._asyncReturn(null, $async$completer);
58690 }
58691 });
58692 return A._asyncStartSync($async$call$0, $async$completer);
58693 },
58694 $signature: 2
58695 };
58696 A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
58697 call$0() {
58698 var $async$goto = 0,
58699 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58700 $async$self = this, t1, t2, t3, _i;
58701 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58702 if ($async$errorCode === 1)
58703 return A._asyncRethrow($async$result, $async$completer);
58704 while (true)
58705 switch ($async$goto) {
58706 case 0:
58707 // Function start
58708 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58709 case 2:
58710 // for condition
58711 if (!(_i < t2)) {
58712 // goto after for
58713 $async$goto = 4;
58714 break;
58715 }
58716 $async$goto = 5;
58717 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58718 case 5:
58719 // returning from await.
58720 case 3:
58721 // for update
58722 ++_i;
58723 // goto for condition
58724 $async$goto = 2;
58725 break;
58726 case 4:
58727 // after for
58728 // implicit return
58729 return A._asyncReturn(null, $async$completer);
58730 }
58731 });
58732 return A._asyncStartSync($async$call$0, $async$completer);
58733 },
58734 $signature: 2
58735 };
58736 A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
58737 call$1(node) {
58738 return type$.CssStyleRule._is(node);
58739 },
58740 $signature: 8
58741 };
58742 A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
58743 call$0() {
58744 var $async$goto = 0,
58745 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58746 $async$self = this, t2, t3, _i, t1, styleRule;
58747 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58748 if ($async$errorCode === 1)
58749 return A._asyncRethrow($async$result, $async$completer);
58750 while (true)
58751 switch ($async$goto) {
58752 case 0:
58753 // Function start
58754 t1 = $async$self.$this;
58755 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58756 $async$goto = styleRule == null ? 2 : 4;
58757 break;
58758 case 2:
58759 // then
58760 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58761 case 5:
58762 // for condition
58763 if (!(_i < t3)) {
58764 // goto after for
58765 $async$goto = 7;
58766 break;
58767 }
58768 $async$goto = 8;
58769 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58770 case 8:
58771 // returning from await.
58772 case 6:
58773 // for update
58774 ++_i;
58775 // goto for condition
58776 $async$goto = 5;
58777 break;
58778 case 7:
58779 // after for
58780 // goto join
58781 $async$goto = 3;
58782 break;
58783 case 4:
58784 // else
58785 $async$goto = 9;
58786 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);
58787 case 9:
58788 // returning from await.
58789 case 3:
58790 // join
58791 // implicit return
58792 return A._asyncReturn(null, $async$completer);
58793 }
58794 });
58795 return A._asyncStartSync($async$call$0, $async$completer);
58796 },
58797 $signature: 2
58798 };
58799 A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
58800 call$0() {
58801 var $async$goto = 0,
58802 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58803 $async$self = this, t1, t2, t3, _i;
58804 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58805 if ($async$errorCode === 1)
58806 return A._asyncRethrow($async$result, $async$completer);
58807 while (true)
58808 switch ($async$goto) {
58809 case 0:
58810 // Function start
58811 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58812 case 2:
58813 // for condition
58814 if (!(_i < t2)) {
58815 // goto after for
58816 $async$goto = 4;
58817 break;
58818 }
58819 $async$goto = 5;
58820 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58821 case 5:
58822 // returning from await.
58823 case 3:
58824 // for update
58825 ++_i;
58826 // goto for condition
58827 $async$goto = 2;
58828 break;
58829 case 4:
58830 // after for
58831 // implicit return
58832 return A._asyncReturn(null, $async$completer);
58833 }
58834 });
58835 return A._asyncStartSync($async$call$0, $async$completer);
58836 },
58837 $signature: 2
58838 };
58839 A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
58840 call$1(node) {
58841 return type$.CssStyleRule._is(node);
58842 },
58843 $signature: 8
58844 };
58845 A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
58846 call$0() {
58847 var t1 = this.override;
58848 this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
58849 },
58850 $signature: 1
58851 };
58852 A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
58853 call$0() {
58854 var t1 = this.node;
58855 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
58856 },
58857 $signature: 35
58858 };
58859 A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
58860 call$0() {
58861 var t1 = this.$this,
58862 t2 = this.node;
58863 t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
58864 },
58865 $signature: 1
58866 };
58867 A._EvaluateVisitor_visitUseRule_closure0.prototype = {
58868 call$1(module) {
58869 var t1 = this.node;
58870 this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
58871 },
58872 $signature: 124
58873 };
58874 A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
58875 call$0() {
58876 return this.node.expression.accept$1(this.$this);
58877 },
58878 $signature: 59
58879 };
58880 A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
58881 call$0() {
58882 var $async$goto = 0,
58883 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58884 $async$returnValue, $async$self = this, t1, t2, t3, result;
58885 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58886 if ($async$errorCode === 1)
58887 return A._asyncRethrow($async$result, $async$completer);
58888 while (true)
58889 switch ($async$goto) {
58890 case 0:
58891 // Function start
58892 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
58893 case 3:
58894 // for condition
58895 $async$goto = 5;
58896 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
58897 case 5:
58898 // returning from await.
58899 if (!$async$result.get$isTruthy()) {
58900 // goto after for
58901 $async$goto = 4;
58902 break;
58903 }
58904 $async$goto = 6;
58905 return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
58906 case 6:
58907 // returning from await.
58908 result = $async$result;
58909 if (result != null) {
58910 $async$returnValue = result;
58911 // goto return
58912 $async$goto = 1;
58913 break;
58914 }
58915 // goto for condition
58916 $async$goto = 3;
58917 break;
58918 case 4:
58919 // after for
58920 $async$returnValue = null;
58921 // goto return
58922 $async$goto = 1;
58923 break;
58924 case 1:
58925 // return
58926 return A._asyncReturn($async$returnValue, $async$completer);
58927 }
58928 });
58929 return A._asyncStartSync($async$call$0, $async$completer);
58930 },
58931 $signature: 68
58932 };
58933 A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
58934 call$1(child) {
58935 return child.accept$1(this.$this);
58936 },
58937 $signature: 84
58938 };
58939 A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
58940 call$0() {
58941 var $async$goto = 0,
58942 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
58943 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
58944 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58945 if ($async$errorCode === 1)
58946 return A._asyncRethrow($async$result, $async$completer);
58947 while (true)
58948 switch ($async$goto) {
58949 case 0:
58950 // Function start
58951 t1 = $async$self.node;
58952 t2 = $async$self.$this;
58953 $async$goto = 3;
58954 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
58955 case 3:
58956 // returning from await.
58957 left = $async$result;
58958 t3 = t1.operator;
58959 case 4:
58960 // switch
58961 switch (t3) {
58962 case B.BinaryOperator_kjl:
58963 // goto case
58964 $async$goto = 6;
58965 break;
58966 case B.BinaryOperator_or_or_1:
58967 // goto case
58968 $async$goto = 7;
58969 break;
58970 case B.BinaryOperator_and_and_2:
58971 // goto case
58972 $async$goto = 8;
58973 break;
58974 case B.BinaryOperator_YlX:
58975 // goto case
58976 $async$goto = 9;
58977 break;
58978 case B.BinaryOperator_i5H:
58979 // goto case
58980 $async$goto = 10;
58981 break;
58982 case B.BinaryOperator_AcR:
58983 // goto case
58984 $async$goto = 11;
58985 break;
58986 case B.BinaryOperator_1da:
58987 // goto case
58988 $async$goto = 12;
58989 break;
58990 case B.BinaryOperator_8qt:
58991 // goto case
58992 $async$goto = 13;
58993 break;
58994 case B.BinaryOperator_33h:
58995 // goto case
58996 $async$goto = 14;
58997 break;
58998 case B.BinaryOperator_AcR0:
58999 // goto case
59000 $async$goto = 15;
59001 break;
59002 case B.BinaryOperator_iyO:
59003 // goto case
59004 $async$goto = 16;
59005 break;
59006 case B.BinaryOperator_O1M:
59007 // goto case
59008 $async$goto = 17;
59009 break;
59010 case B.BinaryOperator_RTB:
59011 // goto case
59012 $async$goto = 18;
59013 break;
59014 case B.BinaryOperator_2ad:
59015 // goto case
59016 $async$goto = 19;
59017 break;
59018 default:
59019 // goto default
59020 $async$goto = 20;
59021 break;
59022 }
59023 break;
59024 case 6:
59025 // case
59026 $async$goto = 21;
59027 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59028 case 21:
59029 // returning from await.
59030 right = $async$result;
59031 $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
59032 // goto return
59033 $async$goto = 1;
59034 break;
59035 case 7:
59036 // case
59037 $async$goto = left.get$isTruthy() ? 22 : 24;
59038 break;
59039 case 22:
59040 // then
59041 $async$result = left;
59042 // goto join
59043 $async$goto = 23;
59044 break;
59045 case 24:
59046 // else
59047 $async$goto = 25;
59048 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59049 case 25:
59050 // returning from await.
59051 case 23:
59052 // join
59053 $async$returnValue = $async$result;
59054 // goto return
59055 $async$goto = 1;
59056 break;
59057 case 8:
59058 // case
59059 $async$goto = left.get$isTruthy() ? 26 : 28;
59060 break;
59061 case 26:
59062 // then
59063 $async$goto = 29;
59064 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59065 case 29:
59066 // returning from await.
59067 // goto join
59068 $async$goto = 27;
59069 break;
59070 case 28:
59071 // else
59072 $async$result = left;
59073 case 27:
59074 // join
59075 $async$returnValue = $async$result;
59076 // goto return
59077 $async$goto = 1;
59078 break;
59079 case 9:
59080 // case
59081 $async$temp1 = left;
59082 $async$goto = 30;
59083 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59084 case 30:
59085 // returning from await.
59086 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
59087 // goto return
59088 $async$goto = 1;
59089 break;
59090 case 10:
59091 // case
59092 $async$temp1 = left;
59093 $async$goto = 31;
59094 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59095 case 31:
59096 // returning from await.
59097 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
59098 // goto return
59099 $async$goto = 1;
59100 break;
59101 case 11:
59102 // case
59103 $async$temp1 = left;
59104 $async$goto = 32;
59105 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59106 case 32:
59107 // returning from await.
59108 $async$returnValue = $async$temp1.greaterThan$1($async$result);
59109 // goto return
59110 $async$goto = 1;
59111 break;
59112 case 12:
59113 // case
59114 $async$temp1 = left;
59115 $async$goto = 33;
59116 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59117 case 33:
59118 // returning from await.
59119 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
59120 // goto return
59121 $async$goto = 1;
59122 break;
59123 case 13:
59124 // case
59125 $async$temp1 = left;
59126 $async$goto = 34;
59127 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59128 case 34:
59129 // returning from await.
59130 $async$returnValue = $async$temp1.lessThan$1($async$result);
59131 // goto return
59132 $async$goto = 1;
59133 break;
59134 case 14:
59135 // case
59136 $async$temp1 = left;
59137 $async$goto = 35;
59138 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59139 case 35:
59140 // returning from await.
59141 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
59142 // goto return
59143 $async$goto = 1;
59144 break;
59145 case 15:
59146 // case
59147 $async$temp1 = left;
59148 $async$goto = 36;
59149 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59150 case 36:
59151 // returning from await.
59152 $async$returnValue = $async$temp1.plus$1($async$result);
59153 // goto return
59154 $async$goto = 1;
59155 break;
59156 case 16:
59157 // case
59158 $async$temp1 = left;
59159 $async$goto = 37;
59160 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59161 case 37:
59162 // returning from await.
59163 $async$returnValue = $async$temp1.minus$1($async$result);
59164 // goto return
59165 $async$goto = 1;
59166 break;
59167 case 17:
59168 // case
59169 $async$temp1 = left;
59170 $async$goto = 38;
59171 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59172 case 38:
59173 // returning from await.
59174 $async$returnValue = $async$temp1.times$1($async$result);
59175 // goto return
59176 $async$goto = 1;
59177 break;
59178 case 18:
59179 // case
59180 $async$goto = 39;
59181 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59182 case 39:
59183 // returning from await.
59184 right = $async$result;
59185 result = left.dividedBy$1(right);
59186 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
59187 $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
59188 // goto return
59189 $async$goto = 1;
59190 break;
59191 } else {
59192 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
59193 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);
59194 $async$returnValue = result;
59195 // goto return
59196 $async$goto = 1;
59197 break;
59198 }
59199 case 19:
59200 // case
59201 $async$temp1 = left;
59202 $async$goto = 40;
59203 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59204 case 40:
59205 // returning from await.
59206 $async$returnValue = $async$temp1.modulo$1($async$result);
59207 // goto return
59208 $async$goto = 1;
59209 break;
59210 case 20:
59211 // default
59212 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
59213 case 5:
59214 // after switch
59215 case 1:
59216 // return
59217 return A._asyncReturn($async$returnValue, $async$completer);
59218 }
59219 });
59220 return A._asyncStartSync($async$call$0, $async$completer);
59221 },
59222 $signature: 59
59223 };
59224 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
59225 call$1(expression) {
59226 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
59227 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
59228 else if (expression instanceof A.ParenthesizedExpression)
59229 return expression.expression.toString$0(0);
59230 else
59231 return expression.toString$0(0);
59232 },
59233 $signature: 135
59234 };
59235 A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
59236 call$0() {
59237 var t1 = this.node;
59238 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
59239 },
59240 $signature: 35
59241 };
59242 A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
59243 call$0() {
59244 var _this = this,
59245 t1 = _this.node.operator;
59246 switch (t1) {
59247 case B.UnaryOperator_j2w:
59248 return _this.operand.unaryPlus$0();
59249 case B.UnaryOperator_U4G:
59250 return _this.operand.unaryMinus$0();
59251 case B.UnaryOperator_zDx:
59252 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
59253 case B.UnaryOperator_not_not:
59254 return _this.operand.unaryNot$0();
59255 default:
59256 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
59257 }
59258 },
59259 $signature: 33
59260 };
59261 A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
59262 call$0() {
59263 var $async$goto = 0,
59264 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
59265 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
59266 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59267 if ($async$errorCode === 1)
59268 return A._asyncRethrow($async$result, $async$completer);
59269 while (true)
59270 switch ($async$goto) {
59271 case 0:
59272 // Function start
59273 t1 = $async$self.$this;
59274 t2 = $async$self.node;
59275 t3 = $async$self.inMinMax;
59276 $async$temp1 = A;
59277 $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
59278 $async$goto = 3;
59279 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
59280 case 3:
59281 // returning from await.
59282 $async$temp3 = $async$result;
59283 $async$goto = 4;
59284 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
59285 case 4:
59286 // returning from await.
59287 $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
59288 // goto return
59289 $async$goto = 1;
59290 break;
59291 case 1:
59292 // return
59293 return A._asyncReturn($async$returnValue, $async$completer);
59294 }
59295 });
59296 return A._asyncStartSync($async$call$0, $async$completer);
59297 },
59298 $signature: 152
59299 };
59300 A._EvaluateVisitor_visitListExpression_closure0.prototype = {
59301 call$1(expression) {
59302 return expression.accept$1(this.$this);
59303 },
59304 $signature: 511
59305 };
59306 A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
59307 call$0() {
59308 var t1 = this.node;
59309 return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
59310 },
59311 $signature: 129
59312 };
59313 A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
59314 call$0() {
59315 var t1 = this.node;
59316 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
59317 },
59318 $signature: 59
59319 };
59320 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
59321 call$0() {
59322 var t1 = this.node;
59323 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
59324 },
59325 $signature: 59
59326 };
59327 A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
59328 call$0() {
59329 var _this = this,
59330 t1 = _this.$this,
59331 t2 = _this.callable,
59332 t3 = _this.V;
59333 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);
59334 },
59335 $signature() {
59336 return this.V._eval$1("Future<0>()");
59337 }
59338 };
59339 A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
59340 call$0() {
59341 var _this = this,
59342 t1 = _this.$this,
59343 t2 = _this.V;
59344 return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
59345 },
59346 $signature() {
59347 return this.V._eval$1("Future<0>()");
59348 }
59349 };
59350 A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
59351 call$0() {
59352 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
59353 },
59354 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
59355 var $async$goto = 0,
59356 $async$completer = A._makeAsyncAwaitCompleter($async$type),
59357 $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, t1, t2, t3, t4, t5, t6, $async$temp1;
59358 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59359 if ($async$errorCode === 1)
59360 return A._asyncRethrow($async$result, $async$completer);
59361 while (true)
59362 switch ($async$goto) {
59363 case 0:
59364 // Function start
59365 t1 = $async$self.$this;
59366 t2 = $async$self.evaluated;
59367 t3 = t2.positional;
59368 t4 = t2.named;
59369 t5 = $async$self.callable.declaration.$arguments;
59370 t6 = $async$self.nodeWithSpan;
59371 t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
59372 declaredArguments = t5.$arguments;
59373 t7 = declaredArguments.length;
59374 minLength = Math.min(t3.length, t7);
59375 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
59376 t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
59377 i = t3.length, t8 = t2.namedNodes;
59378 case 3:
59379 // for condition
59380 if (!(i < t7)) {
59381 // goto after for
59382 $async$goto = 5;
59383 break;
59384 }
59385 argument = declaredArguments[i];
59386 t9 = argument.name;
59387 value = t4.remove$1(0, t9);
59388 $async$goto = value == null ? 6 : 7;
59389 break;
59390 case 6:
59391 // then
59392 t10 = argument.defaultValue;
59393 $async$temp1 = t1;
59394 $async$goto = 8;
59395 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
59396 case 8:
59397 // returning from await.
59398 value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
59399 case 7:
59400 // join
59401 t10 = t1._async_evaluate$_environment;
59402 t11 = t8.$index(0, t9);
59403 if (t11 == null) {
59404 t11 = argument.defaultValue;
59405 t11.toString;
59406 t11 = t1._async_evaluate$_expressionNode$1(t11);
59407 }
59408 t10.setLocalVariable$3(t9, value, t11);
59409 case 4:
59410 // for update
59411 ++i;
59412 // goto for condition
59413 $async$goto = 3;
59414 break;
59415 case 5:
59416 // after for
59417 restArgument = t5.restArgument;
59418 if (restArgument != null) {
59419 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
59420 t2 = t2.separator;
59421 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
59422 t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
59423 } else
59424 argumentList = null;
59425 $async$goto = 9;
59426 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
59427 case 9:
59428 // returning from await.
59429 result = $async$result;
59430 if (argumentList == null) {
59431 $async$returnValue = result;
59432 // goto return
59433 $async$goto = 1;
59434 break;
59435 }
59436 t2 = t4.__js_helper$_length;
59437 if (t2 === 0) {
59438 $async$returnValue = result;
59439 // goto return
59440 $async$goto = 1;
59441 break;
59442 }
59443 if (argumentList._wereKeywordsAccessed) {
59444 $async$returnValue = result;
59445 // goto return
59446 $async$goto = 1;
59447 break;
59448 }
59449 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
59450 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", t2, null) + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure0(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", 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))));
59451 case 1:
59452 // return
59453 return A._asyncReturn($async$returnValue, $async$completer);
59454 }
59455 });
59456 return A._asyncStartSync($async$call$0, $async$completer);
59457 },
59458 $signature() {
59459 return this.V._eval$1("Future<0>()");
59460 }
59461 };
59462 A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
59463 call$1($name) {
59464 return "$" + $name;
59465 },
59466 $signature: 5
59467 };
59468 A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
59469 call$0() {
59470 var $async$goto = 0,
59471 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
59472 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
59473 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59474 if ($async$errorCode === 1)
59475 return A._asyncRethrow($async$result, $async$completer);
59476 while (true)
59477 switch ($async$goto) {
59478 case 0:
59479 // Function start
59480 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
59481 case 3:
59482 // for condition
59483 if (!(_i < t3)) {
59484 // goto after for
59485 $async$goto = 5;
59486 break;
59487 }
59488 $async$goto = 6;
59489 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
59490 case 6:
59491 // returning from await.
59492 $returnValue = $async$result;
59493 if ($returnValue instanceof A.Value) {
59494 $async$returnValue = $returnValue;
59495 // goto return
59496 $async$goto = 1;
59497 break;
59498 }
59499 case 4:
59500 // for update
59501 ++_i;
59502 // goto for condition
59503 $async$goto = 3;
59504 break;
59505 case 5:
59506 // after for
59507 throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
59508 case 1:
59509 // return
59510 return A._asyncReturn($async$returnValue, $async$completer);
59511 }
59512 });
59513 return A._asyncStartSync($async$call$0, $async$completer);
59514 },
59515 $signature: 59
59516 };
59517 A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
59518 call$0() {
59519 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
59520 },
59521 $signature: 0
59522 };
59523 A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
59524 call$1($name) {
59525 return "$" + $name;
59526 },
59527 $signature: 5
59528 };
59529 A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
59530 call$1(value) {
59531 return value;
59532 },
59533 $signature: 36
59534 };
59535 A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
59536 call$1(value) {
59537 return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
59538 },
59539 $signature: 36
59540 };
59541 A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
59542 call$2(key, value) {
59543 var _this = this,
59544 t1 = _this.restNodeForSpan;
59545 _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
59546 _this.namedNodes.$indexSet(0, key, t1);
59547 },
59548 $signature: 95
59549 };
59550 A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
59551 call$1(value) {
59552 return value;
59553 },
59554 $signature: 36
59555 };
59556 A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
59557 call$1(value) {
59558 var t1 = this.restArgs;
59559 return new A.ValueExpression(value, t1.get$span(t1));
59560 },
59561 $signature: 51
59562 };
59563 A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
59564 call$1(value) {
59565 var t1 = this.restArgs;
59566 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
59567 },
59568 $signature: 51
59569 };
59570 A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
59571 call$2(key, value) {
59572 var _this = this,
59573 t1 = _this.restArgs;
59574 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
59575 },
59576 $signature: 95
59577 };
59578 A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
59579 call$1(value) {
59580 var t1 = this.keywordRestArgs;
59581 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
59582 },
59583 $signature: 51
59584 };
59585 A._EvaluateVisitor__addRestMap_closure0.prototype = {
59586 call$2(key, value) {
59587 var t2, _this = this,
59588 t1 = _this.$this;
59589 if (key instanceof A.SassString)
59590 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
59591 else {
59592 t2 = _this.nodeWithSpan;
59593 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)));
59594 }
59595 },
59596 $signature: 52
59597 };
59598 A._EvaluateVisitor__verifyArguments_closure0.prototype = {
59599 call$0() {
59600 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
59601 },
59602 $signature: 0
59603 };
59604 A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
59605 call$1(value) {
59606 var $async$goto = 0,
59607 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59608 $async$returnValue, $async$self = this, t1, result;
59609 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59610 if ($async$errorCode === 1)
59611 return A._asyncRethrow($async$result, $async$completer);
59612 while (true)
59613 switch ($async$goto) {
59614 case 0:
59615 // Function start
59616 if (typeof value == "string") {
59617 $async$returnValue = value;
59618 // goto return
59619 $async$goto = 1;
59620 break;
59621 }
59622 type$.Expression._as(value);
59623 t1 = $async$self.$this;
59624 $async$goto = 3;
59625 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59626 case 3:
59627 // returning from await.
59628 result = $async$result;
59629 $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
59630 // goto return
59631 $async$goto = 1;
59632 break;
59633 case 1:
59634 // return
59635 return A._asyncReturn($async$returnValue, $async$completer);
59636 }
59637 });
59638 return A._asyncStartSync($async$call$1, $async$completer);
59639 },
59640 $signature: 92
59641 };
59642 A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
59643 call$0() {
59644 var $async$goto = 0,
59645 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59646 $async$self = this, t1, t2, t3, t4;
59647 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59648 if ($async$errorCode === 1)
59649 return A._asyncRethrow($async$result, $async$completer);
59650 while (true)
59651 switch ($async$goto) {
59652 case 0:
59653 // Function start
59654 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59655 case 2:
59656 // for condition
59657 if (!t1.moveNext$0()) {
59658 // goto after for
59659 $async$goto = 3;
59660 break;
59661 }
59662 t4 = t1.__internal$_current;
59663 $async$goto = 4;
59664 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59665 case 4:
59666 // returning from await.
59667 // goto for condition
59668 $async$goto = 2;
59669 break;
59670 case 3:
59671 // after for
59672 // implicit return
59673 return A._asyncReturn(null, $async$completer);
59674 }
59675 });
59676 return A._asyncStartSync($async$call$0, $async$completer);
59677 },
59678 $signature: 2
59679 };
59680 A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
59681 call$1(node) {
59682 return type$.CssStyleRule._is(node);
59683 },
59684 $signature: 8
59685 };
59686 A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
59687 call$0() {
59688 var $async$goto = 0,
59689 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59690 $async$self = this, t1, t2, t3, t4;
59691 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59692 if ($async$errorCode === 1)
59693 return A._asyncRethrow($async$result, $async$completer);
59694 while (true)
59695 switch ($async$goto) {
59696 case 0:
59697 // Function start
59698 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59699 case 2:
59700 // for condition
59701 if (!t1.moveNext$0()) {
59702 // goto after for
59703 $async$goto = 3;
59704 break;
59705 }
59706 t4 = t1.__internal$_current;
59707 $async$goto = 4;
59708 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59709 case 4:
59710 // returning from await.
59711 // goto for condition
59712 $async$goto = 2;
59713 break;
59714 case 3:
59715 // after for
59716 // implicit return
59717 return A._asyncReturn(null, $async$completer);
59718 }
59719 });
59720 return A._asyncStartSync($async$call$0, $async$completer);
59721 },
59722 $signature: 2
59723 };
59724 A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
59725 call$1(node) {
59726 return type$.CssStyleRule._is(node);
59727 },
59728 $signature: 8
59729 };
59730 A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
59731 call$1(mediaQueries) {
59732 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
59733 },
59734 $signature: 83
59735 };
59736 A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
59737 call$0() {
59738 var $async$goto = 0,
59739 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59740 $async$self = this, t1, t2;
59741 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59742 if ($async$errorCode === 1)
59743 return A._asyncRethrow($async$result, $async$completer);
59744 while (true)
59745 switch ($async$goto) {
59746 case 0:
59747 // Function start
59748 t1 = $async$self.$this;
59749 t2 = $async$self.mergedQueries;
59750 if (t2 == null)
59751 t2 = $async$self.node.queries;
59752 $async$goto = 2;
59753 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
59754 case 2:
59755 // returning from await.
59756 // implicit return
59757 return A._asyncReturn(null, $async$completer);
59758 }
59759 });
59760 return A._asyncStartSync($async$call$0, $async$completer);
59761 },
59762 $signature: 2
59763 };
59764 A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
59765 call$0() {
59766 var $async$goto = 0,
59767 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59768 $async$self = this, t2, t3, t4, t1, styleRule;
59769 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59770 if ($async$errorCode === 1)
59771 return A._asyncRethrow($async$result, $async$completer);
59772 while (true)
59773 switch ($async$goto) {
59774 case 0:
59775 // Function start
59776 t1 = $async$self.$this;
59777 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59778 $async$goto = styleRule == null ? 2 : 4;
59779 break;
59780 case 2:
59781 // then
59782 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59783 case 5:
59784 // for condition
59785 if (!t2.moveNext$0()) {
59786 // goto after for
59787 $async$goto = 6;
59788 break;
59789 }
59790 t4 = t2.__internal$_current;
59791 $async$goto = 7;
59792 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
59793 case 7:
59794 // returning from await.
59795 // goto for condition
59796 $async$goto = 5;
59797 break;
59798 case 6:
59799 // after for
59800 // goto join
59801 $async$goto = 3;
59802 break;
59803 case 4:
59804 // else
59805 $async$goto = 8;
59806 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);
59807 case 8:
59808 // returning from await.
59809 case 3:
59810 // join
59811 // implicit return
59812 return A._asyncReturn(null, $async$completer);
59813 }
59814 });
59815 return A._asyncStartSync($async$call$0, $async$completer);
59816 },
59817 $signature: 2
59818 };
59819 A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
59820 call$0() {
59821 var $async$goto = 0,
59822 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59823 $async$self = this, t1, t2, t3, t4;
59824 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59825 if ($async$errorCode === 1)
59826 return A._asyncRethrow($async$result, $async$completer);
59827 while (true)
59828 switch ($async$goto) {
59829 case 0:
59830 // Function start
59831 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59832 case 2:
59833 // for condition
59834 if (!t1.moveNext$0()) {
59835 // goto after for
59836 $async$goto = 3;
59837 break;
59838 }
59839 t4 = t1.__internal$_current;
59840 $async$goto = 4;
59841 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59842 case 4:
59843 // returning from await.
59844 // goto for condition
59845 $async$goto = 2;
59846 break;
59847 case 3:
59848 // after for
59849 // implicit return
59850 return A._asyncReturn(null, $async$completer);
59851 }
59852 });
59853 return A._asyncStartSync($async$call$0, $async$completer);
59854 },
59855 $signature: 2
59856 };
59857 A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
59858 call$1(node) {
59859 var t1;
59860 if (!type$.CssStyleRule._is(node))
59861 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
59862 else
59863 t1 = true;
59864 return t1;
59865 },
59866 $signature: 8
59867 };
59868 A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
59869 call$0() {
59870 var $async$goto = 0,
59871 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59872 $async$self = this, t1;
59873 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59874 if ($async$errorCode === 1)
59875 return A._asyncRethrow($async$result, $async$completer);
59876 while (true)
59877 switch ($async$goto) {
59878 case 0:
59879 // Function start
59880 t1 = $async$self.$this;
59881 $async$goto = 2;
59882 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);
59883 case 2:
59884 // returning from await.
59885 // implicit return
59886 return A._asyncReturn(null, $async$completer);
59887 }
59888 });
59889 return A._asyncStartSync($async$call$0, $async$completer);
59890 },
59891 $signature: 2
59892 };
59893 A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
59894 call$0() {
59895 var $async$goto = 0,
59896 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59897 $async$self = this, t1, t2, t3, t4;
59898 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59899 if ($async$errorCode === 1)
59900 return A._asyncRethrow($async$result, $async$completer);
59901 while (true)
59902 switch ($async$goto) {
59903 case 0:
59904 // Function start
59905 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59906 case 2:
59907 // for condition
59908 if (!t1.moveNext$0()) {
59909 // goto after for
59910 $async$goto = 3;
59911 break;
59912 }
59913 t4 = t1.__internal$_current;
59914 $async$goto = 4;
59915 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59916 case 4:
59917 // returning from await.
59918 // goto for condition
59919 $async$goto = 2;
59920 break;
59921 case 3:
59922 // after for
59923 // implicit return
59924 return A._asyncReturn(null, $async$completer);
59925 }
59926 });
59927 return A._asyncStartSync($async$call$0, $async$completer);
59928 },
59929 $signature: 2
59930 };
59931 A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
59932 call$1(node) {
59933 return type$.CssStyleRule._is(node);
59934 },
59935 $signature: 8
59936 };
59937 A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
59938 call$0() {
59939 var $async$goto = 0,
59940 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59941 $async$self = this, t2, t3, t4, t1, styleRule;
59942 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59943 if ($async$errorCode === 1)
59944 return A._asyncRethrow($async$result, $async$completer);
59945 while (true)
59946 switch ($async$goto) {
59947 case 0:
59948 // Function start
59949 t1 = $async$self.$this;
59950 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59951 $async$goto = styleRule == null ? 2 : 4;
59952 break;
59953 case 2:
59954 // then
59955 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59956 case 5:
59957 // for condition
59958 if (!t2.moveNext$0()) {
59959 // goto after for
59960 $async$goto = 6;
59961 break;
59962 }
59963 t4 = t2.__internal$_current;
59964 $async$goto = 7;
59965 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
59966 case 7:
59967 // returning from await.
59968 // goto for condition
59969 $async$goto = 5;
59970 break;
59971 case 6:
59972 // after for
59973 // goto join
59974 $async$goto = 3;
59975 break;
59976 case 4:
59977 // else
59978 $async$goto = 8;
59979 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);
59980 case 8:
59981 // returning from await.
59982 case 3:
59983 // join
59984 // implicit return
59985 return A._asyncReturn(null, $async$completer);
59986 }
59987 });
59988 return A._asyncStartSync($async$call$0, $async$completer);
59989 },
59990 $signature: 2
59991 };
59992 A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
59993 call$0() {
59994 var $async$goto = 0,
59995 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59996 $async$self = this, t1, t2, t3, t4;
59997 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59998 if ($async$errorCode === 1)
59999 return A._asyncRethrow($async$result, $async$completer);
60000 while (true)
60001 switch ($async$goto) {
60002 case 0:
60003 // Function start
60004 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
60005 case 2:
60006 // for condition
60007 if (!t1.moveNext$0()) {
60008 // goto after for
60009 $async$goto = 3;
60010 break;
60011 }
60012 t4 = t1.__internal$_current;
60013 $async$goto = 4;
60014 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
60015 case 4:
60016 // returning from await.
60017 // goto for condition
60018 $async$goto = 2;
60019 break;
60020 case 3:
60021 // after for
60022 // implicit return
60023 return A._asyncReturn(null, $async$completer);
60024 }
60025 });
60026 return A._asyncStartSync($async$call$0, $async$completer);
60027 },
60028 $signature: 2
60029 };
60030 A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
60031 call$1(node) {
60032 return type$.CssStyleRule._is(node);
60033 },
60034 $signature: 8
60035 };
60036 A._EvaluateVisitor__performInterpolation_closure0.prototype = {
60037 call$1(value) {
60038 var $async$goto = 0,
60039 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
60040 $async$returnValue, $async$self = this, t1, result, t2, t3;
60041 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60042 if ($async$errorCode === 1)
60043 return A._asyncRethrow($async$result, $async$completer);
60044 while (true)
60045 switch ($async$goto) {
60046 case 0:
60047 // Function start
60048 if (typeof value == "string") {
60049 $async$returnValue = value;
60050 // goto return
60051 $async$goto = 1;
60052 break;
60053 }
60054 type$.Expression._as(value);
60055 t1 = $async$self.$this;
60056 $async$goto = 3;
60057 return A._asyncAwait(value.accept$1(t1), $async$call$1);
60058 case 3:
60059 // returning from await.
60060 result = $async$result;
60061 if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
60062 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
60063 t3 = $.$get$namesByColor();
60064 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));
60065 }
60066 $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
60067 // goto return
60068 $async$goto = 1;
60069 break;
60070 case 1:
60071 // return
60072 return A._asyncReturn($async$returnValue, $async$completer);
60073 }
60074 });
60075 return A._asyncStartSync($async$call$1, $async$completer);
60076 },
60077 $signature: 92
60078 };
60079 A._EvaluateVisitor__serialize_closure0.prototype = {
60080 call$0() {
60081 return A.serializeValue(this.value, false, this.quote);
60082 },
60083 $signature: 29
60084 };
60085 A._EvaluateVisitor__expressionNode_closure0.prototype = {
60086 call$0() {
60087 var t1 = this.expression;
60088 return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
60089 },
60090 $signature: 150
60091 };
60092 A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
60093 call$1(number) {
60094 var asSlash = number.asSlash;
60095 if (asSlash != null)
60096 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
60097 else
60098 return A.serializeValue(number, true, true);
60099 },
60100 $signature: 148
60101 };
60102 A._EvaluateVisitor__stackFrame_closure0.prototype = {
60103 call$1(url) {
60104 var t1 = this.$this._async_evaluate$_importCache;
60105 t1 = t1 == null ? null : t1.humanize$1(url);
60106 return t1 == null ? url : t1;
60107 },
60108 $signature: 90
60109 };
60110 A._EvaluateVisitor__stackTrace_closure0.prototype = {
60111 call$1(tuple) {
60112 return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
60113 },
60114 $signature: 182
60115 };
60116 A._ImportedCssVisitor0.prototype = {
60117 visitCssAtRule$1(node) {
60118 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
60119 this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
60120 },
60121 visitCssComment$1(node) {
60122 return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
60123 },
60124 visitCssDeclaration$1(node) {
60125 },
60126 visitCssImport$1(node) {
60127 var t2,
60128 _s13_ = "_endOfImports",
60129 t1 = this._async_evaluate$_visitor;
60130 if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
60131 t1._async_evaluate$_addChild$1(node);
60132 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)) {
60133 t1._async_evaluate$_addChild$1(node);
60134 t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
60135 } else {
60136 t2 = t1._async_evaluate$_outOfOrderImports;
60137 (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
60138 }
60139 },
60140 visitCssKeyframeBlock$1(node) {
60141 },
60142 visitCssMediaRule$1(node) {
60143 var t1 = this._async_evaluate$_visitor,
60144 mediaQueries = t1._async_evaluate$_mediaQueries;
60145 t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
60146 },
60147 visitCssStyleRule$1(node) {
60148 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
60149 },
60150 visitCssStylesheet$1(node) {
60151 var t1, t2, t3;
60152 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60153 t3 = t1.__internal$_current;
60154 (t3 == null ? t2._as(t3) : t3).accept$1(this);
60155 }
60156 },
60157 visitCssSupportsRule$1(node) {
60158 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
60159 }
60160 };
60161 A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
60162 call$1(node) {
60163 return type$.CssStyleRule._is(node);
60164 },
60165 $signature: 8
60166 };
60167 A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
60168 call$1(node) {
60169 var t1;
60170 if (!type$.CssStyleRule._is(node))
60171 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
60172 else
60173 t1 = true;
60174 return t1;
60175 },
60176 $signature: 8
60177 };
60178 A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
60179 call$1(node) {
60180 return type$.CssStyleRule._is(node);
60181 },
60182 $signature: 8
60183 };
60184 A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
60185 call$1(node) {
60186 return type$.CssStyleRule._is(node);
60187 },
60188 $signature: 8
60189 };
60190 A.EvaluateResult.prototype = {};
60191 A._EvaluationContext0.prototype = {
60192 get$currentCallableSpan() {
60193 var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
60194 if (callableNode != null)
60195 return callableNode.get$span(callableNode);
60196 throw A.wrapException(A.StateError$(string$.No_Sasc));
60197 },
60198 warn$2$deprecation(_, message, deprecation) {
60199 var t1 = this._async_evaluate$_visitor,
60200 t2 = t1._async_evaluate$_importSpan;
60201 if (t2 == null) {
60202 t2 = t1._async_evaluate$_callableNode;
60203 t2 = t2 == null ? null : t2.get$span(t2);
60204 }
60205 t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
60206 },
60207 $isEvaluationContext: 1
60208 };
60209 A._ArgumentResults0.prototype = {};
60210 A._LoadedStylesheet0.prototype = {};
60211 A._CloneCssVisitor.prototype = {
60212 visitCssAtRule$1(node) {
60213 var t1 = node.isChildless,
60214 rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
60215 return t1 ? rule : this._visitChildren$2(rule, node);
60216 },
60217 visitCssComment$1(node) {
60218 return new A.ModifiableCssComment(node.text, node.span);
60219 },
60220 visitCssDeclaration$1(node) {
60221 return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
60222 },
60223 visitCssImport$1(node) {
60224 return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
60225 },
60226 visitCssKeyframeBlock$1(node) {
60227 return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
60228 },
60229 visitCssMediaRule$1(node) {
60230 return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
60231 },
60232 visitCssStyleRule$1(node) {
60233 var newSelector = this._oldToNewSelectors.$index(0, node.selector);
60234 if (newSelector == null)
60235 throw A.wrapException(A.StateError$(string$.The_Ex));
60236 return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
60237 },
60238 visitCssStylesheet$1(node) {
60239 return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
60240 },
60241 visitCssSupportsRule$1(node) {
60242 return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
60243 },
60244 _visitChildren$1$2(newParent, oldParent) {
60245 var t1, t2, newChild;
60246 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
60247 t2 = t1.get$current(t1);
60248 newChild = t2.accept$1(this);
60249 newChild.isGroupEnd = t2.get$isGroupEnd();
60250 newParent.addChild$1(newChild);
60251 }
60252 return newParent;
60253 },
60254 _visitChildren$2(newParent, oldParent) {
60255 return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
60256 }
60257 };
60258 A.Evaluator.prototype = {};
60259 A._EvaluateVisitor.prototype = {
60260 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
60261 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
60262 _s20_ = "$name, $module: null",
60263 _s9_ = "sass:meta",
60264 t1 = type$.JSArray_BuiltInCallable,
60265 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),
60266 metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
60267 t1 = type$.BuiltInCallable;
60268 t2 = A.List_List$of($.$get$global(), true, t1);
60269 B.JSArray_methods.addAll$1(t2, $.$get$local());
60270 B.JSArray_methods.addAll$1(t2, metaFunctions);
60271 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
60272 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) {
60273 module = t1[_i];
60274 t3.$indexSet(0, module.url, module);
60275 }
60276 t1 = A._setArrayType([], type$.JSArray_Callable);
60277 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
60278 B.JSArray_methods.addAll$1(t1, metaFunctions);
60279 for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
60280 $function = t1[_i];
60281 t4 = J.get$name$x($function);
60282 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
60283 }
60284 },
60285 run$2(_, importer, node) {
60286 var t1 = type$.nullable_Object;
60287 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);
60288 },
60289 runExpression$2(importer, expression) {
60290 var t1 = type$.nullable_Object;
60291 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);
60292 },
60293 runStatement$2(importer, statement) {
60294 var t1 = type$.nullable_Object;
60295 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);
60296 },
60297 _assertInModule$1$2(value, $name) {
60298 if (value != null)
60299 return value;
60300 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
60301 },
60302 _assertInModule$2(value, $name) {
60303 return this._assertInModule$1$2(value, $name, type$.dynamic);
60304 },
60305 _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
60306 var t1, _this = this,
60307 oldImporter = _this._importer;
60308 _this._importer = importer;
60309 _this.__stylesheet = A.Stylesheet$(B.List_empty10, nodeWithSpan.get$span(nodeWithSpan));
60310 try {
60311 t1 = callback.call$0();
60312 return t1;
60313 } finally {
60314 _this._importer = oldImporter;
60315 _this.__stylesheet = null;
60316 }
60317 },
60318 _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
60319 return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
60320 },
60321 _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
60322 var t1, t2, _this = this,
60323 builtInModule = _this._builtInModules.$index(0, url);
60324 if (builtInModule != null) {
60325 if (configuration instanceof A.ExplicitConfiguration) {
60326 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
60327 t2 = configuration.nodeWithSpan;
60328 throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
60329 }
60330 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
60331 return;
60332 }
60333 _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
60334 },
60335 _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
60336 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
60337 },
60338 _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
60339 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
60340 },
60341 _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
60342 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
60343 url = stylesheet.span.file.url,
60344 t1 = _this._modules,
60345 alreadyLoaded = t1.$index(0, url);
60346 if (alreadyLoaded != null) {
60347 t1 = configuration == null;
60348 currentConfiguration = t1 ? _this._configuration : configuration;
60349 if (currentConfiguration instanceof A.ExplicitConfiguration) {
60350 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
60351 t2 = _this._moduleNodes.$index(0, url);
60352 existingSpan = t2 == null ? null : J.get$span$z(t2);
60353 if (t1) {
60354 t1 = currentConfiguration.nodeWithSpan;
60355 configurationSpan = t1.get$span(t1);
60356 } else
60357 configurationSpan = null;
60358 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
60359 if (existingSpan != null)
60360 t1.$indexSet(0, existingSpan, "original load");
60361 if (configurationSpan != null)
60362 t1.$indexSet(0, configurationSpan, "configuration");
60363 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
60364 }
60365 return alreadyLoaded;
60366 }
60367 environment = A.Environment$();
60368 css = A._Cell$();
60369 extensionStore = A.ExtensionStore$();
60370 _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
60371 module = environment.toModule$2(css._readLocal$0(), extensionStore);
60372 if (url != null) {
60373 t1.$indexSet(0, url, module);
60374 if (nodeWithSpan != null)
60375 _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
60376 }
60377 return module;
60378 },
60379 _execute$2(importer, stylesheet) {
60380 return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
60381 },
60382 _addOutOfOrderImports$0() {
60383 var t1, t2, _this = this, _s5_ = "_root",
60384 _s13_ = "_endOfImports",
60385 outOfOrderImports = _this._outOfOrderImports;
60386 if (outOfOrderImports == null)
60387 return _this._assertInModule$2(_this.__root, _s5_).children;
60388 t1 = _this._assertInModule$2(_this.__root, _s5_).children;
60389 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);
60390 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
60391 t2 = _this._assertInModule$2(_this.__root, _s5_).children;
60392 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
60393 return t1;
60394 },
60395 _combineCss$2$clone(root, clone) {
60396 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
60397 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
60398 selectors = root.get$extensionStore().get$simpleSelectors();
60399 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
60400 if (unsatisfiedExtension != null)
60401 _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
60402 return root.get$css(root);
60403 }
60404 sortedModules = _this._topologicalModules$1(root);
60405 if (clone) {
60406 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
60407 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
60408 }
60409 _this._extendModules$1(sortedModules);
60410 t1 = type$.JSArray_CssNode;
60411 imports = A._setArrayType([], t1);
60412 css = A._setArrayType([], t1);
60413 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60414 t3 = t1.__internal$_current;
60415 if (t3 == null)
60416 t3 = t2._as(t3);
60417 t3 = t3.get$css(t3);
60418 statements = t3.get$children(t3);
60419 index = _this._indexAfterImports$1(statements);
60420 t3 = J.getInterceptor$ax(statements);
60421 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
60422 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
60423 }
60424 t1 = B.JSArray_methods.$add(imports, css);
60425 t2 = root.get$css(root);
60426 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
60427 },
60428 _combineCss$1(root) {
60429 return this._combineCss$2$clone(root, false);
60430 },
60431 _extendModules$1(sortedModules) {
60432 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
60433 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
60434 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
60435 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
60436 t2 = t1.get$current(t1);
60437 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
60438 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
60439 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
60440 t3 = t2.get$extensionStore().get$addExtensions();
60441 if ($self != null)
60442 t3.call$1($self);
60443 t3 = t2.get$extensionStore();
60444 if (t3.get$isEmpty(t3))
60445 continue;
60446 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
60447 upstream = t3[_i];
60448 url = upstream.get$url(upstream);
60449 if (url == null)
60450 continue;
60451 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
60452 }
60453 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
60454 }
60455 if (unsatisfiedExtensions._collection$_length !== 0)
60456 this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
60457 },
60458 _throwForUnsatisfiedExtension$1(extension) {
60459 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
60460 },
60461 _topologicalModules$1(root) {
60462 var t1 = type$.Module_Callable,
60463 sorted = A.QueueList$(null, t1);
60464 new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
60465 return sorted;
60466 },
60467 _indexAfterImports$1(statements) {
60468 var t1, t2, t3, lastImport, i, statement;
60469 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
60470 statement = t1.$index(statements, i);
60471 if (t3._is(statement))
60472 lastImport = i;
60473 else if (!t2._is(statement))
60474 break;
60475 }
60476 return lastImport + 1;
60477 },
60478 visitStylesheet$1(node) {
60479 var t1, t2, _i;
60480 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
60481 t1[_i].accept$1(this);
60482 return null;
60483 },
60484 visitAtRootRule$1(node) {
60485 var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
60486 _s8_ = "__parent",
60487 unparsedQuery = node.query,
60488 query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
60489 $parent = _this._assertInModule$2(_this.__parent, _s8_),
60490 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
60491 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
60492 if (!query.excludes$1($parent))
60493 included.push($parent);
60494 grandparent = $parent._parent;
60495 if (grandparent == null)
60496 throw A.wrapException(A.StateError$(string$.CssNod));
60497 }
60498 root = _this._trimIncluded$1(included);
60499 if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
60500 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
60501 return null;
60502 }
60503 if (included.length !== 0) {
60504 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
60505 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) {
60506 t3 = t1.__internal$_current;
60507 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
60508 copy.addChild$1(outerCopy);
60509 }
60510 root.addChild$1(outerCopy);
60511 } else
60512 innerCopy = root;
60513 _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
60514 return null;
60515 },
60516 _trimIncluded$1(nodes) {
60517 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
60518 _s22_ = " to be an ancestor of ";
60519 if (nodes.length === 0)
60520 return _this._assertInModule$2(_this.__root, _s5_);
60521 $parent = _this._assertInModule$2(_this.__parent, "__parent");
60522 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
60523 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
60524 grandparent = $parent._parent;
60525 if (grandparent == null)
60526 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60527 }
60528 if (innermostContiguous == null)
60529 innermostContiguous = i;
60530 grandparent = $parent._parent;
60531 if (grandparent == null)
60532 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60533 }
60534 if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
60535 return _this._assertInModule$2(_this.__root, _s5_);
60536 innermostContiguous.toString;
60537 root = nodes[innermostContiguous];
60538 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
60539 return root;
60540 },
60541 _scopeForAtRoot$4(node, newParent, query, included) {
60542 var _this = this,
60543 scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
60544 t1 = query._all || query._at_root_query$_rule;
60545 if (t1 !== query.include)
60546 scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
60547 if (_this._mediaQueries != null && query.excludesName$1("media"))
60548 scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
60549 if (_this._inKeyframes && query.excludesName$1("keyframes"))
60550 scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
60551 return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
60552 },
60553 visitContentBlock$1(node) {
60554 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
60555 },
60556 visitContentRule$1(node) {
60557 var $content = this._environment._content;
60558 if ($content == null)
60559 return null;
60560 this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
60561 return null;
60562 },
60563 visitDebugRule$1(node) {
60564 var value = node.expression.accept$1(this),
60565 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
60566 this._evaluate$_logger.debug$2(0, t1, node.span);
60567 return null;
60568 },
60569 visitDeclaration$1(node) {
60570 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
60571 if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
60572 throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
60573 t1 = node.name;
60574 $name = _this._interpolationToValue$2$warnForColor(t1, true);
60575 t2 = _this._declarationName;
60576 if (t2 != null)
60577 $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
60578 t2 = node.value;
60579 cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
60580 t3 = cssValue != null;
60581 if (t3)
60582 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
60583 else
60584 t4 = false;
60585 if (t4) {
60586 t3 = _this._assertInModule$2(_this.__parent, "__parent");
60587 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
60588 if (_this._sourceMap) {
60589 t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
60590 t2 = t2 == null ? _null : J.get$span$z(t2);
60591 } else
60592 t2 = _null;
60593 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
60594 } else if (J.startsWith$1$s($name.value, "--") && t3)
60595 throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
60596 children = node.children;
60597 if (children != null) {
60598 oldDeclarationName = _this._declarationName;
60599 _this._declarationName = $name.value;
60600 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
60601 _this._declarationName = oldDeclarationName;
60602 }
60603 return _null;
60604 },
60605 visitEachRule$1(node) {
60606 var _this = this,
60607 t1 = node.list,
60608 list = t1.accept$1(_this),
60609 nodeWithSpan = _this._expressionNode$1(t1),
60610 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
60611 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
60612 },
60613 _setMultipleVariables$3(variables, value, nodeWithSpan) {
60614 var i,
60615 list = value.get$asList(),
60616 t1 = variables.length,
60617 minLength = Math.min(t1, list.length);
60618 for (i = 0; i < minLength; ++i)
60619 this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
60620 for (i = minLength; i < t1; ++i)
60621 this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
60622 },
60623 visitErrorRule$1(node) {
60624 throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
60625 },
60626 visitExtendRule$1(node) {
60627 var targetText, t1, t2, t3, _i, t4, _this = this,
60628 styleRule = _this._atRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot;
60629 if (styleRule == null || _this._declarationName != null)
60630 throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
60631 targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
60632 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) {
60633 t4 = t1[_i].components;
60634 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
60635 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
60636 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
60637 if (t4.length !== 1)
60638 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
60639 _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._mediaQueries);
60640 }
60641 return null;
60642 },
60643 visitAtRule$1(node) {
60644 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
60645 if (_this._declarationName != null)
60646 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
60647 $name = _this._interpolationToValue$1(node.name);
60648 value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
60649 children = node.children;
60650 if (children == null) {
60651 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
60652 return null;
60653 }
60654 wasInKeyframes = _this._inKeyframes;
60655 wasInUnknownAtRule = _this._inUnknownAtRule;
60656 if (A.unvendor($name.value) === "keyframes")
60657 _this._inKeyframes = true;
60658 else
60659 _this._inUnknownAtRule = true;
60660 _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);
60661 _this._inUnknownAtRule = wasInUnknownAtRule;
60662 _this._inKeyframes = wasInKeyframes;
60663 return null;
60664 },
60665 visitForRule$1(node) {
60666 var _this = this, t1 = {},
60667 t2 = node.from,
60668 fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
60669 t3 = node.to,
60670 toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
60671 from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
60672 to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
60673 direction = from > to ? -1 : 1;
60674 if (from === (!node.isExclusive ? t1.to = to + direction : to))
60675 return null;
60676 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
60677 },
60678 visitForwardRule$1(node) {
60679 var newConfiguration, t4, _i, variable, $name, _this = this,
60680 _s8_ = "@forward",
60681 oldConfiguration = _this._configuration,
60682 adjustedConfiguration = oldConfiguration.throughForward$1(node),
60683 t1 = node.configuration,
60684 t2 = t1.length,
60685 t3 = node.url;
60686 if (t2 !== 0) {
60687 newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
60688 _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
60689 t3 = type$.String;
60690 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60691 for (_i = 0; _i < t2; ++_i) {
60692 variable = t1[_i];
60693 if (!variable.isGuarded)
60694 t4.add$1(0, variable.name);
60695 }
60696 _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
60697 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60698 for (_i = 0; _i < t2; ++_i)
60699 t3.add$1(0, t1[_i].name);
60700 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) {
60701 $name = t2[_i];
60702 if (!t3.contains$1(0, $name))
60703 if (!t1.get$isEmpty(t1))
60704 t1.remove$1(0, $name);
60705 }
60706 _this._assertConfigurationIsEmpty$1(newConfiguration);
60707 } else {
60708 _this._configuration = adjustedConfiguration;
60709 _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
60710 _this._configuration = oldConfiguration;
60711 }
60712 return null;
60713 },
60714 _addForwardConfiguration$2(configuration, node) {
60715 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
60716 t1 = configuration._values,
60717 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
60718 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
60719 variable = t2[_i];
60720 if (variable.isGuarded) {
60721 t4 = variable.name;
60722 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
60723 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
60724 newValues.$indexSet(0, t4, t5);
60725 continue;
60726 }
60727 }
60728 t4 = variable.expression;
60729 variableNodeWithSpan = this._expressionNode$1(t4);
60730 newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60731 }
60732 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
60733 return new A.ExplicitConfiguration(node, newValues);
60734 else
60735 return new A.Configuration(newValues);
60736 },
60737 _removeUsedConfiguration$3$except(upstream, downstream, except) {
60738 var t1, t2, t3, t4, _i, $name;
60739 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) {
60740 $name = t2[_i];
60741 if (except.contains$1(0, $name))
60742 continue;
60743 if (!t4.containsKey$1($name))
60744 if (!t1.get$isEmpty(t1))
60745 t1.remove$1(0, $name);
60746 }
60747 },
60748 _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
60749 var t1, entry;
60750 if (!(configuration instanceof A.ExplicitConfiguration))
60751 return;
60752 t1 = configuration._values;
60753 if (t1.get$isEmpty(t1))
60754 return;
60755 t1 = t1.get$entries(t1);
60756 entry = t1.get$first(t1);
60757 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
60758 throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
60759 },
60760 _assertConfigurationIsEmpty$1(configuration) {
60761 return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
60762 },
60763 visitFunctionRule$1(node) {
60764 var t1 = this._environment,
60765 t2 = t1.closure$0(),
60766 t3 = this._inDependency,
60767 t4 = t1._functions,
60768 index = t4.length - 1,
60769 t5 = node.name;
60770 t1._functionIndices.$indexSet(0, t5, index);
60771 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
60772 return null;
60773 },
60774 visitIfRule$1(node) {
60775 var t1, t2, _i, clauseToCheck, _box_0 = {};
60776 _box_0.clause = node.lastClause;
60777 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
60778 clauseToCheck = t1[_i];
60779 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
60780 _box_0.clause = clauseToCheck;
60781 break;
60782 }
60783 }
60784 t1 = _box_0.clause;
60785 if (t1 == null)
60786 return null;
60787 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
60788 },
60789 visitImportRule$1(node) {
60790 var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
60791 _s8_ = "__parent",
60792 _s5_ = "_root",
60793 _s13_ = "_endOfImports";
60794 for (t1 = node.imports, t2 = t1.length, t3 = type$.CssValue_String, t4 = _this.get$_interpolationToValue(), t5 = type$.StaticImport, t6 = type$.JSArray_ModifiableCssImport, _i = 0; _i < t2; ++_i) {
60795 $import = t1[_i];
60796 if ($import instanceof A.DynamicImport)
60797 _this._visitDynamicImport$1($import);
60798 else {
60799 t5._as($import);
60800 t7 = $import.url;
60801 result = _this._performInterpolation$2$warnForColor(t7, false);
60802 $self = $import.modifiers;
60803 t8 = $self == null ? null : t4.call$1($self);
60804 node = new A.ModifiableCssImport(new A.CssValue(result, t7.span, t3), t8, $import.span);
60805 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
60806 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
60807 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
60808 t7 = _this._assertInModule$2(_this.__root, _s5_);
60809 node._parent = t7;
60810 t7 = t7._children;
60811 node._indexInParent = t7.length;
60812 t7.push(node);
60813 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60814 } else {
60815 t7 = _this._outOfOrderImports;
60816 (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
60817 }
60818 }
60819 }
60820 return null;
60821 },
60822 _visitDynamicImport$1($import) {
60823 return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
60824 },
60825 _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
60826 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
60827 baseUrl = baseUrl;
60828 try {
60829 _this._importSpan = span;
60830 importCache = _this._evaluate$_importCache;
60831 if (importCache != null) {
60832 if (baseUrl == null)
60833 baseUrl = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url;
60834 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
60835 if (tuple != null) {
60836 isDependency = _this._inDependency || tuple.item1 !== _this._importer;
60837 t1 = tuple.item1;
60838 t2 = tuple.item2;
60839 t3 = tuple.item3;
60840 t4 = _this._quietDeps && isDependency;
60841 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
60842 if (stylesheet != null) {
60843 _this._loadedUrls.add$1(0, tuple.item2);
60844 t1 = tuple.item1;
60845 return new A._LoadedStylesheet(stylesheet, t1, isDependency);
60846 }
60847 }
60848 } else {
60849 result = _this._importLikeNode$2(url, forImport);
60850 if (result != null) {
60851 t1 = _this._loadedUrls;
60852 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
60853 return result;
60854 }
60855 }
60856 if (B.JSString_methods.startsWith$1(url, "package:") && true)
60857 throw A.wrapException(string$.x22packa);
60858 else
60859 throw A.wrapException("Can't find stylesheet to import.");
60860 } catch (exception) {
60861 t1 = A.unwrapException(exception);
60862 if (t1 instanceof A.SassException) {
60863 error = t1;
60864 stackTrace = A.getTraceFromException(exception);
60865 t1 = error;
60866 t2 = J.getInterceptor$z(t1);
60867 A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
60868 } else {
60869 error0 = t1;
60870 stackTrace0 = A.getTraceFromException(exception);
60871 message = null;
60872 try {
60873 message = A._asString(J.get$message$x(error0));
60874 } catch (exception) {
60875 message0 = J.toString$0$(error0);
60876 message = message0;
60877 }
60878 A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
60879 }
60880 } finally {
60881 _this._importSpan = null;
60882 }
60883 },
60884 _loadStylesheet$3$baseUrl(url, span, baseUrl) {
60885 return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
60886 },
60887 _loadStylesheet$3$forImport(url, span, forImport) {
60888 return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
60889 },
60890 _importLikeNode$2(originalUrl, forImport) {
60891 var result, isDependency, contents, url, _this = this,
60892 t1 = _this._nodeImporter;
60893 t1.toString;
60894 result = t1.loadRelative$3(originalUrl, _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url, forImport);
60895 isDependency = _this._inDependency;
60896 contents = result.get$item1();
60897 url = result.get$item2();
60898 t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
60899 return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
60900 },
60901 visitIncludeRule$1(node) {
60902 var nodeWithSpan, t1, _this = this,
60903 _s37_ = "Mixin doesn't accept a content block.",
60904 mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
60905 if (mixin == null)
60906 throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
60907 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
60908 if (mixin instanceof A.BuiltInCallable) {
60909 if (node.content != null)
60910 throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
60911 _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
60912 } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
60913 t1 = node.content;
60914 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
60915 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())));
60916 _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);
60917 } else
60918 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
60919 return null;
60920 },
60921 visitMixinRule$1(node) {
60922 var t1 = this._environment,
60923 t2 = t1.closure$0(),
60924 t3 = this._inDependency,
60925 t4 = t1._mixins,
60926 index = t4.length - 1,
60927 t5 = node.name;
60928 t1._mixinIndices.$indexSet(0, t5, index);
60929 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
60930 return null;
60931 },
60932 visitLoudComment$1(node) {
60933 var t1, _this = this,
60934 _s8_ = "__parent",
60935 _s13_ = "_endOfImports";
60936 if (_this._inFunction)
60937 return null;
60938 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))
60939 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60940 t1 = node.text;
60941 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
60942 return null;
60943 },
60944 visitMediaRule$1(node) {
60945 var queries, mergedQueries, t1, _this = this;
60946 if (_this._declarationName != null)
60947 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
60948 queries = _this._visitMediaQueries$1(node.query);
60949 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
60950 t1 = mergedQueries == null;
60951 if (!t1 && J.get$isEmpty$asx(mergedQueries))
60952 return null;
60953 t1 = t1 ? queries : mergedQueries;
60954 _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);
60955 return null;
60956 },
60957 _visitMediaQueries$1(interpolation) {
60958 return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
60959 },
60960 _mergeMediaQueries$2(queries1, queries2) {
60961 var t1, t2, t3, t4, t5, result,
60962 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
60963 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
60964 t4 = t1.get$current(t1);
60965 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
60966 result = t4.merge$1(t5.get$current(t5));
60967 if (result === B._SingletonCssMediaQueryMergeResult_empty)
60968 continue;
60969 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
60970 return null;
60971 queries.push(t3._as(result).query);
60972 }
60973 }
60974 return queries;
60975 },
60976 visitReturnRule$1(node) {
60977 var t1 = node.expression;
60978 return this._withoutSlash$2(t1.accept$1(this), t1);
60979 },
60980 visitSilentComment$1(node) {
60981 return null;
60982 },
60983 visitStyleRule$1(node) {
60984 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
60985 _s8_ = "__parent",
60986 t1 = {};
60987 if (_this._declarationName != null)
60988 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
60989 t2 = node.selector;
60990 selectorText = _this._interpolationToValue$3$trim$warnForColor(t2, true, true);
60991 if (_this._inKeyframes) {
60992 _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);
60993 return null;
60994 }
60995 t1.parsedSelector = _this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
60996 t1.parsedSelector = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure3(t1, _this));
60997 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._mediaQueries), node.span, t1.parsedSelector);
60998 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
60999 t1 = _this._atRootExcludingStyleRule = false;
61000 _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);
61001 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61002 if ((oldAtRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot) == null) {
61003 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61004 t1 = !t1.get$isEmpty(t1);
61005 }
61006 if (t1) {
61007 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61008 t1.get$last(t1).isGroupEnd = true;
61009 }
61010 return null;
61011 },
61012 visitSupportsRule$1(node) {
61013 var t1, _this = this;
61014 if (_this._declarationName != null)
61015 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61016 t1 = node.condition;
61017 _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);
61018 return null;
61019 },
61020 _visitSupportsCondition$1(condition) {
61021 var t1, oldInSupportsDeclaration, t2, t3, _this = this;
61022 if (condition instanceof A.SupportsOperation) {
61023 t1 = condition.operator;
61024 return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
61025 } else if (condition instanceof A.SupportsNegation)
61026 return "not " + _this._parenthesize$1(condition.condition);
61027 else if (condition instanceof A.SupportsInterpolation) {
61028 t1 = condition.expression;
61029 return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
61030 } else if (condition instanceof A.SupportsDeclaration) {
61031 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61032 _this._inSupportsDeclaration = true;
61033 t1 = condition.name;
61034 t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true);
61035 t2 = condition.get$isCustomProperty() ? "" : " ";
61036 t3 = condition.value;
61037 t3 = _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
61038 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61039 return "(" + t1 + ":" + t2 + t3 + ")";
61040 } else if (condition instanceof A.SupportsFunction)
61041 return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
61042 else if (condition instanceof A.SupportsAnything)
61043 return "(" + _this._performInterpolation$1(condition.contents) + ")";
61044 else
61045 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
61046 },
61047 _parenthesize$2(condition, operator) {
61048 var t1;
61049 if (!(condition instanceof A.SupportsNegation))
61050 if (condition instanceof A.SupportsOperation)
61051 t1 = operator == null || operator !== condition.operator;
61052 else
61053 t1 = false;
61054 else
61055 t1 = true;
61056 if (t1)
61057 return "(" + this._visitSupportsCondition$1(condition) + ")";
61058 else
61059 return this._visitSupportsCondition$1(condition);
61060 },
61061 _parenthesize$1(condition) {
61062 return this._parenthesize$2(condition, null);
61063 },
61064 visitVariableDeclaration$1(node) {
61065 var t1, value, _this = this, _null = null;
61066 if (node.isGuarded) {
61067 if (node.namespace == null && _this._environment._variables.length === 1) {
61068 t1 = _this._configuration._values;
61069 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
61070 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
61071 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
61072 return _null;
61073 }
61074 }
61075 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
61076 if (value != null && !value.$eq(0, B.C__SassNull))
61077 return _null;
61078 }
61079 if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
61080 t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
61081 _this._warn$3$deprecation(t1, node.span, true);
61082 }
61083 t1 = node.expression;
61084 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
61085 return _null;
61086 },
61087 visitUseRule$1(node) {
61088 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
61089 t1 = node.configuration,
61090 t2 = t1.length;
61091 if (t2 !== 0) {
61092 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
61093 for (_i = 0; _i < t2; ++_i) {
61094 variable = t1[_i];
61095 t3 = variable.expression;
61096 variableNodeWithSpan = _this._expressionNode$1(t3);
61097 values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
61098 }
61099 configuration = new A.ExplicitConfiguration(node, values);
61100 } else
61101 configuration = B.Configuration_Map_empty;
61102 _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
61103 _this._assertConfigurationIsEmpty$1(configuration);
61104 return null;
61105 },
61106 visitWarnRule$1(node) {
61107 var _this = this,
61108 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
61109 t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
61110 _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
61111 return null;
61112 },
61113 visitWhileRule$1(node) {
61114 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
61115 },
61116 visitBinaryOperationExpression$1(node) {
61117 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
61118 },
61119 visitValueExpression$1(node) {
61120 return node.value;
61121 },
61122 visitVariableExpression$1(node) {
61123 var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
61124 if (result != null)
61125 return result;
61126 throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
61127 },
61128 visitUnaryOperationExpression$1(node) {
61129 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
61130 },
61131 visitBooleanExpression$1(node) {
61132 return node.value ? B.SassBoolean_true : B.SassBoolean_false;
61133 },
61134 visitIfExpression$1(node) {
61135 var condition, t2, ifTrue, ifFalse, result, _this = this,
61136 pair = _this._evaluateMacroArguments$1(node),
61137 positional = pair.item1,
61138 named = pair.item2,
61139 t1 = J.getInterceptor$asx(positional);
61140 _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
61141 if (t1.get$length(positional) > 0)
61142 condition = t1.$index(positional, 0);
61143 else {
61144 t2 = named.$index(0, "condition");
61145 t2.toString;
61146 condition = t2;
61147 }
61148 if (t1.get$length(positional) > 1)
61149 ifTrue = t1.$index(positional, 1);
61150 else {
61151 t2 = named.$index(0, "if-true");
61152 t2.toString;
61153 ifTrue = t2;
61154 }
61155 if (t1.get$length(positional) > 2)
61156 ifFalse = t1.$index(positional, 2);
61157 else {
61158 t1 = named.$index(0, "if-false");
61159 t1.toString;
61160 ifFalse = t1;
61161 }
61162 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
61163 return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
61164 },
61165 visitNullExpression$1(node) {
61166 return B.C__SassNull;
61167 },
61168 visitNumberExpression$1(node) {
61169 var t1 = node.value,
61170 t2 = node.unit;
61171 return t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
61172 },
61173 visitParenthesizedExpression$1(node) {
61174 return node.expression.accept$1(this);
61175 },
61176 visitCalculationExpression$1(node) {
61177 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
61178 t1 = A._setArrayType([], type$.JSArray_Object);
61179 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
61180 argument = t2[_i];
61181 t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
61182 }
61183 $arguments = t1;
61184 if (_this._inSupportsDeclaration)
61185 return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
61186 try {
61187 switch (t4) {
61188 case "calc":
61189 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
61190 return t1;
61191 case "min":
61192 t1 = A.SassCalculation_min($arguments);
61193 return t1;
61194 case "max":
61195 t1 = A.SassCalculation_max($arguments);
61196 return t1;
61197 case "clamp":
61198 t1 = J.$index$asx($arguments, 0);
61199 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
61200 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
61201 return t1;
61202 default:
61203 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
61204 throw A.wrapException(t1);
61205 }
61206 } catch (exception) {
61207 t1 = A.unwrapException(exception);
61208 if (t1 instanceof A.SassScriptException) {
61209 error = t1;
61210 stackTrace = A.getTraceFromException(exception);
61211 _this._verifyCompatibleNumbers$2($arguments, t2);
61212 A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
61213 } else
61214 throw exception;
61215 }
61216 },
61217 _verifyCompatibleNumbers$2(args, nodesWithSpans) {
61218 var i, t1, arg, number1, j, number2;
61219 for (i = 0; t1 = args.length, i < t1; ++i) {
61220 arg = args[i];
61221 if (!(arg instanceof A.SassNumber))
61222 continue;
61223 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
61224 throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
61225 }
61226 for (i = 0; i < t1 - 1; ++i) {
61227 number1 = args[i];
61228 if (!(number1 instanceof A.SassNumber))
61229 continue;
61230 for (j = i + 1; t1 = args.length, j < t1; ++j) {
61231 number2 = args[j];
61232 if (!(number2 instanceof A.SassNumber))
61233 continue;
61234 if (number1.hasPossiblyCompatibleUnits$1(number2))
61235 continue;
61236 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]))));
61237 }
61238 }
61239 },
61240 _visitCalculationValue$2$inMinMax(node, inMinMax) {
61241 var inner, result, t1, _this = this;
61242 if (node instanceof A.ParenthesizedExpression) {
61243 inner = node.expression;
61244 result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
61245 if (inner instanceof A.FunctionExpression)
61246 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
61247 else
61248 t1 = false;
61249 return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
61250 } else if (node instanceof A.StringExpression)
61251 return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
61252 else if (node instanceof A.BinaryOperationExpression)
61253 return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
61254 else {
61255 result = node.accept$1(_this);
61256 if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
61257 return result;
61258 if (result instanceof A.SassString && !result._hasQuotes)
61259 return result;
61260 throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
61261 }
61262 },
61263 _binaryOperatorToCalculationOperator$1(operator) {
61264 switch (operator) {
61265 case B.BinaryOperator_AcR0:
61266 return B.CalculationOperator_Iem;
61267 case B.BinaryOperator_iyO:
61268 return B.CalculationOperator_uti;
61269 case B.BinaryOperator_O1M:
61270 return B.CalculationOperator_Dih;
61271 case B.BinaryOperator_RTB:
61272 return B.CalculationOperator_jB6;
61273 default:
61274 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
61275 }
61276 },
61277 visitColorExpression$1(node) {
61278 return node.value;
61279 },
61280 visitListExpression$1(node) {
61281 var t1 = node.contents;
61282 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);
61283 },
61284 visitMapExpression$1(node) {
61285 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
61286 t1 = type$.Value,
61287 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
61288 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
61289 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
61290 pair = t2[_i];
61291 t4 = pair.item1;
61292 keyValue = t4.accept$1(this);
61293 valueValue = pair.item2.accept$1(this);
61294 if (map.$index(0, keyValue) != null) {
61295 t1 = keyNodes.$index(0, keyValue);
61296 oldValueSpan = t1 == null ? null : t1.get$span(t1);
61297 t1 = J.getInterceptor$z(t4);
61298 t2 = t1.get$span(t4);
61299 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
61300 if (oldValueSpan != null)
61301 t3.$indexSet(0, oldValueSpan, "first key");
61302 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
61303 }
61304 map.$indexSet(0, keyValue, valueValue);
61305 keyNodes.$indexSet(0, keyValue, t4);
61306 }
61307 return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
61308 },
61309 visitFunctionExpression$1(node) {
61310 var oldInFunction, result, _this = this, t1 = {},
61311 $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
61312 t1.$function = $function;
61313 if ($function == null) {
61314 if (node.namespace != null)
61315 throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
61316 t1.$function = new A.PlainCssCallable(node.originalName);
61317 }
61318 oldInFunction = _this._inFunction;
61319 _this._inFunction = true;
61320 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
61321 _this._inFunction = oldInFunction;
61322 return result;
61323 },
61324 visitInterpolatedFunctionExpression$1(node) {
61325 var result, _this = this,
61326 t1 = _this._performInterpolation$1(node.name),
61327 oldInFunction = _this._inFunction;
61328 _this._inFunction = true;
61329 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
61330 _this._inFunction = oldInFunction;
61331 return result;
61332 },
61333 _getFunction$2$namespace($name, namespace) {
61334 var local = this._environment.getFunction$2$namespace($name, namespace);
61335 if (local != null || namespace != null)
61336 return local;
61337 return this._builtInFunctions.$index(0, $name);
61338 },
61339 _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
61340 var oldCallable, result, _this = this,
61341 evaluated = _this._evaluateArguments$1($arguments),
61342 $name = callable.declaration.name;
61343 if ($name !== "@content")
61344 $name += "()";
61345 oldCallable = _this._currentCallable;
61346 _this._currentCallable = callable;
61347 result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
61348 _this._currentCallable = oldCallable;
61349 return result;
61350 },
61351 _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
61352 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
61353 if (callable instanceof A.BuiltInCallable)
61354 return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
61355 else if (type$.UserDefinedCallable_Environment._is(callable))
61356 return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
61357 else if (callable instanceof A.PlainCssCallable) {
61358 t1 = $arguments.named;
61359 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
61360 throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
61361 t1 = callable.name + "(";
61362 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
61363 argument = t2[_i];
61364 if (first)
61365 first = false;
61366 else
61367 t1 += ", ";
61368 t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
61369 }
61370 restArg = $arguments.rest;
61371 if (restArg != null) {
61372 rest = restArg.accept$1(_this);
61373 if (!first)
61374 t1 += ", ";
61375 t1 += _this._evaluate$_serialize$2(rest, restArg);
61376 }
61377 t1 += A.Primitives_stringFromCharCode(41);
61378 return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
61379 } else
61380 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
61381 },
61382 _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
61383 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,
61384 evaluated = _this._evaluateArguments$1($arguments),
61385 oldCallableNode = _this._callableNode;
61386 _this._callableNode = nodeWithSpan;
61387 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
61388 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
61389 overload = tuple.item1;
61390 callback = tuple.item2;
61391 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
61392 declaredArguments = overload.$arguments;
61393 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
61394 argument = declaredArguments[i];
61395 t2 = evaluated.positional;
61396 t3 = evaluated.named.remove$1(0, argument.name);
61397 if (t3 == null) {
61398 t3 = argument.defaultValue;
61399 t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
61400 }
61401 t2.push(t3);
61402 }
61403 if (overload.restArgument != null) {
61404 if (evaluated.positional.length > t1) {
61405 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
61406 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
61407 } else
61408 rest = B.List_empty5;
61409 t1 = evaluated.named;
61410 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
61411 evaluated.positional.push(argumentList);
61412 } else
61413 argumentList = null;
61414 result = null;
61415 try {
61416 result = callback.call$1(evaluated.positional);
61417 } catch (exception) {
61418 t1 = A.unwrapException(exception);
61419 if (type$.SassRuntimeException._is(t1))
61420 throw exception;
61421 else if (t1 instanceof A.MultiSpanSassScriptException) {
61422 error = t1;
61423 stackTrace = A.getTraceFromException(exception);
61424 t1 = error.message;
61425 t2 = nodeWithSpan.get$span(nodeWithSpan);
61426 t3 = error.primaryLabel;
61427 t4 = error.secondarySpans;
61428 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);
61429 } else if (t1 instanceof A.MultiSpanSassException) {
61430 error0 = t1;
61431 stackTrace0 = A.getTraceFromException(exception);
61432 t1 = error0._span_exception$_message;
61433 t2 = error0;
61434 t3 = J.getInterceptor$z(t2);
61435 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
61436 t3 = error0.primaryLabel;
61437 t4 = error0.secondarySpans;
61438 t5 = error0;
61439 t6 = J.getInterceptor$z(t5);
61440 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);
61441 } else {
61442 error1 = t1;
61443 stackTrace1 = A.getTraceFromException(exception);
61444 message = null;
61445 try {
61446 message = A._asString(J.get$message$x(error1));
61447 } catch (exception) {
61448 message0 = J.toString$0$(error1);
61449 message = message0;
61450 }
61451 A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
61452 }
61453 }
61454 _this._callableNode = oldCallableNode;
61455 if (argumentList == null)
61456 return result;
61457 if (evaluated.named.__js_helper$_length === 0)
61458 return result;
61459 if (argumentList._wereKeywordsAccessed)
61460 return result;
61461 t1 = evaluated.named;
61462 t1 = t1.get$keys(t1);
61463 t1 = A.pluralize("argument", t1.get$length(t1), null);
61464 t2 = evaluated.named;
61465 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + 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))));
61466 },
61467 _evaluateArguments$1($arguments) {
61468 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
61469 positional = A._setArrayType([], type$.JSArray_Value),
61470 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
61471 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
61472 expression = t1[_i];
61473 nodeForSpan = _this._expressionNode$1(expression);
61474 positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
61475 positionalNodes.push(nodeForSpan);
61476 }
61477 t1 = type$.String;
61478 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
61479 t2 = type$.AstNode;
61480 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61481 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61482 t4 = t3.get$current(t3);
61483 t5 = t4.value;
61484 nodeForSpan = _this._expressionNode$1(t5);
61485 t4 = t4.key;
61486 named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
61487 namedNodes.$indexSet(0, t4, nodeForSpan);
61488 }
61489 restArgs = $arguments.rest;
61490 if (restArgs == null)
61491 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
61492 rest = restArgs.accept$1(_this);
61493 restNodeForSpan = _this._expressionNode$1(restArgs);
61494 if (rest instanceof A.SassMap) {
61495 _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
61496 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61497 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
61498 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
61499 namedNodes.addAll$1(0, t3);
61500 separator = B.ListSeparator_undecided_null;
61501 } else if (rest instanceof A.SassList) {
61502 t3 = rest._list$_contents;
61503 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>")));
61504 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
61505 separator = rest._separator;
61506 if (rest instanceof A.SassArgumentList) {
61507 rest._wereKeywordsAccessed = true;
61508 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
61509 }
61510 } else {
61511 positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
61512 positionalNodes.push(restNodeForSpan);
61513 separator = B.ListSeparator_undecided_null;
61514 }
61515 keywordRestArgs = $arguments.keywordRest;
61516 if (keywordRestArgs == null)
61517 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61518 keywordRest = keywordRestArgs.accept$1(_this);
61519 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
61520 if (keywordRest instanceof A.SassMap) {
61521 _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
61522 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61523 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
61524 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
61525 namedNodes.addAll$1(0, t1);
61526 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61527 } else
61528 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
61529 },
61530 _evaluateMacroArguments$1(invocation) {
61531 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
61532 t1 = invocation.$arguments,
61533 restArgs_ = t1.rest;
61534 if (restArgs_ == null)
61535 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61536 t2 = t1.positional;
61537 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
61538 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
61539 rest = restArgs_.accept$1(_this);
61540 restNodeForSpan = _this._expressionNode$1(restArgs_);
61541 if (rest instanceof A.SassMap)
61542 _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
61543 else if (rest instanceof A.SassList) {
61544 t2 = rest._list$_contents;
61545 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>")));
61546 if (rest instanceof A.SassArgumentList) {
61547 rest._wereKeywordsAccessed = true;
61548 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
61549 }
61550 } else
61551 positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
61552 keywordRestArgs_ = t1.keywordRest;
61553 if (keywordRestArgs_ == null)
61554 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61555 keywordRest = keywordRestArgs_.accept$1(_this);
61556 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
61557 if (keywordRest instanceof A.SassMap) {
61558 _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
61559 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61560 } else
61561 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
61562 },
61563 _addRestMap$1$4(values, map, nodeWithSpan, convert) {
61564 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
61565 },
61566 _addRestMap$4(values, map, nodeWithSpan, convert) {
61567 return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
61568 },
61569 _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
61570 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
61571 },
61572 visitSelectorExpression$1(node) {
61573 var t1 = this._styleRuleIgnoringAtRoot;
61574 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
61575 return t1 == null ? B.C__SassNull : t1;
61576 },
61577 visitStringExpression$1(node) {
61578 var t1, _this = this,
61579 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61580 _this._inSupportsDeclaration = false;
61581 t1 = node.text.contents;
61582 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61583 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61584 return new A.SassString(t1, node.hasQuotes);
61585 },
61586 visitSupportsExpression$1(expression) {
61587 return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
61588 },
61589 visitCssAtRule$1(node) {
61590 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
61591 if (_this._declarationName != null)
61592 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
61593 if (node.isChildless) {
61594 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
61595 return;
61596 }
61597 wasInKeyframes = _this._inKeyframes;
61598 wasInUnknownAtRule = _this._inUnknownAtRule;
61599 t1 = node.name;
61600 if (A.unvendor(t1.get$value(t1)) === "keyframes")
61601 _this._inKeyframes = true;
61602 else
61603 _this._inUnknownAtRule = true;
61604 _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);
61605 _this._inUnknownAtRule = wasInUnknownAtRule;
61606 _this._inKeyframes = wasInKeyframes;
61607 },
61608 visitCssComment$1(node) {
61609 var _this = this,
61610 _s8_ = "__parent",
61611 _s13_ = "_endOfImports";
61612 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))
61613 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61614 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
61615 },
61616 visitCssDeclaration$1(node) {
61617 var t1 = node.name;
61618 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));
61619 },
61620 visitCssImport$1(node) {
61621 var t1, _this = this,
61622 _s8_ = "__parent",
61623 _s5_ = "_root",
61624 _s13_ = "_endOfImports",
61625 modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
61626 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
61627 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
61628 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
61629 _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
61630 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61631 } else {
61632 t1 = _this._outOfOrderImports;
61633 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
61634 }
61635 },
61636 visitCssKeyframeBlock$1(node) {
61637 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);
61638 },
61639 visitCssMediaRule$1(node) {
61640 var mergedQueries, t1, _this = this;
61641 if (_this._declarationName != null)
61642 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
61643 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
61644 t1 = mergedQueries == null;
61645 if (!t1 && J.get$isEmpty$asx(mergedQueries))
61646 return;
61647 t1 = t1 ? node.queries : mergedQueries;
61648 _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);
61649 },
61650 visitCssStyleRule$1(node) {
61651 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
61652 _s8_ = "__parent";
61653 if (_this._declarationName != null)
61654 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
61655 t1 = _this._atRootExcludingStyleRule;
61656 styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
61657 t2 = node.selector;
61658 t3 = t2.value;
61659 t4 = styleRule == null;
61660 t5 = t4 ? null : styleRule.originalSelector;
61661 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
61662 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
61663 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
61664 _this._atRootExcludingStyleRule = false;
61665 _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);
61666 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61667 if (t4) {
61668 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61669 t1 = !t1.get$isEmpty(t1);
61670 } else
61671 t1 = false;
61672 if (t1) {
61673 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61674 t1.get$last(t1).isGroupEnd = true;
61675 }
61676 },
61677 visitCssStylesheet$1(node) {
61678 var t1;
61679 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
61680 t1.get$current(t1).accept$1(this);
61681 },
61682 visitCssSupportsRule$1(node) {
61683 var _this = this;
61684 if (_this._declarationName != null)
61685 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61686 _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);
61687 },
61688 _handleReturn$1$2(list, callback) {
61689 var t1, _i, result;
61690 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
61691 result = callback.call$1(list[_i]);
61692 if (result != null)
61693 return result;
61694 }
61695 return null;
61696 },
61697 _handleReturn$2(list, callback) {
61698 return this._handleReturn$1$2(list, callback, type$.dynamic);
61699 },
61700 _withEnvironment$1$2(environment, callback) {
61701 var result,
61702 oldEnvironment = this._environment;
61703 this._environment = environment;
61704 result = callback.call$0();
61705 this._environment = oldEnvironment;
61706 return result;
61707 },
61708 _withEnvironment$2(environment, callback) {
61709 return this._withEnvironment$1$2(environment, callback, type$.dynamic);
61710 },
61711 _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
61712 var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
61713 t1 = trim ? A.trimAscii(result, true) : result;
61714 return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
61715 },
61716 _interpolationToValue$1(interpolation) {
61717 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
61718 },
61719 _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
61720 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
61721 },
61722 _performInterpolation$2$warnForColor(interpolation, warnForColor) {
61723 var t1, result, _this = this,
61724 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61725 _this._inSupportsDeclaration = false;
61726 t1 = interpolation.contents;
61727 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61728 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61729 return result;
61730 },
61731 _performInterpolation$1(interpolation) {
61732 return this._performInterpolation$2$warnForColor(interpolation, false);
61733 },
61734 _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
61735 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
61736 },
61737 _evaluate$_serialize$2(value, nodeWithSpan) {
61738 return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
61739 },
61740 _expressionNode$1(expression) {
61741 var t1;
61742 if (expression instanceof A.VariableExpression) {
61743 t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
61744 return t1 == null ? expression : t1;
61745 } else
61746 return expression;
61747 },
61748 _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
61749 var t1, result, _this = this;
61750 _this._addChild$2$through(node, through);
61751 t1 = _this._assertInModule$2(_this.__parent, "__parent");
61752 _this.__parent = node;
61753 result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
61754 _this.__parent = t1;
61755 return result;
61756 },
61757 _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
61758 return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
61759 },
61760 _withParent$2$2(node, callback, $S, $T) {
61761 return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
61762 },
61763 _addChild$2$through(node, through) {
61764 var grandparent, t1,
61765 $parent = this._assertInModule$2(this.__parent, "__parent");
61766 if (through != null) {
61767 for (; through.call$1($parent); $parent = grandparent) {
61768 grandparent = $parent._parent;
61769 if (grandparent == null)
61770 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
61771 }
61772 if ($parent.get$hasFollowingSibling()) {
61773 t1 = $parent._parent;
61774 t1.toString;
61775 $parent = $parent.copyWithoutChildren$0();
61776 t1.addChild$1($parent);
61777 }
61778 }
61779 $parent.addChild$1(node);
61780 },
61781 _addChild$1(node) {
61782 return this._addChild$2$through(node, null);
61783 },
61784 _withStyleRule$1$2(rule, callback) {
61785 var result,
61786 oldRule = this._styleRuleIgnoringAtRoot;
61787 this._styleRuleIgnoringAtRoot = rule;
61788 result = callback.call$0();
61789 this._styleRuleIgnoringAtRoot = oldRule;
61790 return result;
61791 },
61792 _withStyleRule$2(rule, callback) {
61793 return this._withStyleRule$1$2(rule, callback, type$.dynamic);
61794 },
61795 _withMediaQueries$1$2(queries, callback) {
61796 var result,
61797 oldMediaQueries = this._mediaQueries;
61798 this._mediaQueries = queries;
61799 result = callback.call$0();
61800 this._mediaQueries = oldMediaQueries;
61801 return result;
61802 },
61803 _withMediaQueries$2(queries, callback) {
61804 return this._withMediaQueries$1$2(queries, callback, type$.dynamic);
61805 },
61806 _withStackFrame$1$3(member, nodeWithSpan, callback) {
61807 var oldMember, result, _this = this,
61808 t1 = _this._stack;
61809 t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
61810 oldMember = _this._member;
61811 _this._member = member;
61812 result = callback.call$0();
61813 _this._member = oldMember;
61814 t1.pop();
61815 return result;
61816 },
61817 _withStackFrame$3(member, nodeWithSpan, callback) {
61818 return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
61819 },
61820 _withoutSlash$2(value, nodeForSpan) {
61821 if (value instanceof A.SassNumber && value.asSlash != null)
61822 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);
61823 return value.withoutSlash$0();
61824 },
61825 _stackFrame$2(member, span) {
61826 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure(this)));
61827 },
61828 _evaluate$_stackTrace$1(span) {
61829 var _this = this,
61830 t1 = _this._stack;
61831 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);
61832 if (span != null)
61833 t1.push(_this._stackFrame$2(_this._member, span));
61834 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
61835 },
61836 _evaluate$_stackTrace$0() {
61837 return this._evaluate$_stackTrace$1(null);
61838 },
61839 _warn$3$deprecation(message, span, deprecation) {
61840 var t1, _this = this;
61841 if (_this._quietDeps)
61842 if (!_this._inDependency) {
61843 t1 = _this._currentCallable;
61844 t1 = t1 == null ? null : t1.inDependency;
61845 t1 = t1 === true;
61846 } else
61847 t1 = true;
61848 else
61849 t1 = false;
61850 if (t1)
61851 return;
61852 if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
61853 return;
61854 _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
61855 },
61856 _warn$2(message, span) {
61857 return this._warn$3$deprecation(message, span, false);
61858 },
61859 _evaluate$_exception$2(message, span) {
61860 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
61861 return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
61862 },
61863 _evaluate$_exception$1(message) {
61864 return this._evaluate$_exception$2(message, null);
61865 },
61866 _multiSpanException$3(message, primaryLabel, secondaryLabels) {
61867 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
61868 return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
61869 },
61870 _adjustParseError$1$2(nodeWithSpan, callback) {
61871 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
61872 try {
61873 t1 = callback.call$0();
61874 return t1;
61875 } catch (exception) {
61876 t1 = A.unwrapException(exception);
61877 if (t1 instanceof A.SassFormatException) {
61878 error = t1;
61879 stackTrace = A.getTraceFromException(exception);
61880 t1 = error;
61881 t2 = J.getInterceptor$z(t1);
61882 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
61883 span = nodeWithSpan.get$span(nodeWithSpan);
61884 t1 = span;
61885 t2 = span;
61886 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);
61887 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
61888 t1 = span;
61889 t1 = A.FileLocation$_(t1.file, t1._file$_start);
61890 t3 = error;
61891 t4 = J.getInterceptor$z(t3);
61892 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
61893 t3 = A.FileLocation$_(t3.file, t3._file$_start);
61894 t4 = span;
61895 t4 = A.FileLocation$_(t4.file, t4._file$_start);
61896 t5 = error;
61897 t6 = J.getInterceptor$z(t5);
61898 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
61899 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
61900 A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
61901 } else
61902 throw exception;
61903 }
61904 },
61905 _adjustParseError$2(nodeWithSpan, callback) {
61906 return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
61907 },
61908 _addExceptionSpan$1$2(nodeWithSpan, callback) {
61909 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
61910 try {
61911 t1 = callback.call$0();
61912 return t1;
61913 } catch (exception) {
61914 t1 = A.unwrapException(exception);
61915 if (t1 instanceof A.MultiSpanSassScriptException) {
61916 error = t1;
61917 stackTrace = A.getTraceFromException(exception);
61918 t1 = error.message;
61919 t2 = nodeWithSpan.get$span(nodeWithSpan);
61920 t3 = error.primaryLabel;
61921 t4 = error.secondarySpans;
61922 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);
61923 } else if (t1 instanceof A.SassScriptException) {
61924 error0 = t1;
61925 stackTrace0 = A.getTraceFromException(exception);
61926 A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
61927 } else
61928 throw exception;
61929 }
61930 },
61931 _addExceptionSpan$2(nodeWithSpan, callback) {
61932 return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61933 },
61934 _addErrorSpan$1$2(nodeWithSpan, callback) {
61935 var error, stackTrace, t1, exception, t2;
61936 try {
61937 t1 = callback.call$0();
61938 return t1;
61939 } catch (exception) {
61940 t1 = A.unwrapException(exception);
61941 if (type$.SassRuntimeException._is(t1)) {
61942 error = t1;
61943 stackTrace = A.getTraceFromException(exception);
61944 t1 = J.get$span$z(error);
61945 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"))
61946 throw exception;
61947 t1 = error._span_exception$_message;
61948 t2 = nodeWithSpan.get$span(nodeWithSpan);
61949 A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
61950 } else
61951 throw exception;
61952 }
61953 },
61954 _addErrorSpan$2(nodeWithSpan, callback) {
61955 return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61956 }
61957 };
61958 A._EvaluateVisitor_closure.prototype = {
61959 call$1($arguments) {
61960 var module, t2,
61961 t1 = J.getInterceptor$asx($arguments),
61962 variable = t1.$index($arguments, 0).assertString$1("name");
61963 t1 = t1.$index($arguments, 1).get$realNull();
61964 module = t1 == null ? null : t1.assertString$1("module");
61965 t1 = this.$this._environment;
61966 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
61967 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
61968 },
61969 $signature: 17
61970 };
61971 A._EvaluateVisitor_closure0.prototype = {
61972 call$1($arguments) {
61973 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
61974 t1 = this.$this._environment;
61975 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
61976 },
61977 $signature: 17
61978 };
61979 A._EvaluateVisitor_closure1.prototype = {
61980 call$1($arguments) {
61981 var module, t2, t3, t4,
61982 t1 = J.getInterceptor$asx($arguments),
61983 variable = t1.$index($arguments, 0).assertString$1("name");
61984 t1 = t1.$index($arguments, 1).get$realNull();
61985 module = t1 == null ? null : t1.assertString$1("module");
61986 t1 = this.$this;
61987 t2 = t1._environment;
61988 t3 = variable._string$_text;
61989 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
61990 return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
61991 },
61992 $signature: 17
61993 };
61994 A._EvaluateVisitor_closure2.prototype = {
61995 call$1($arguments) {
61996 var module, t2,
61997 t1 = J.getInterceptor$asx($arguments),
61998 variable = t1.$index($arguments, 0).assertString$1("name");
61999 t1 = t1.$index($arguments, 1).get$realNull();
62000 module = t1 == null ? null : t1.assertString$1("module");
62001 t1 = this.$this._environment;
62002 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
62003 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
62004 },
62005 $signature: 17
62006 };
62007 A._EvaluateVisitor_closure3.prototype = {
62008 call$1($arguments) {
62009 var t1 = this.$this._environment;
62010 if (!t1._inMixin)
62011 throw A.wrapException(A.SassScriptException$(string$.conten));
62012 return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
62013 },
62014 $signature: 17
62015 };
62016 A._EvaluateVisitor_closure4.prototype = {
62017 call$1($arguments) {
62018 var t2, t3, t4,
62019 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
62020 module = this.$this._environment._environment$_modules.$index(0, t1);
62021 if (module == null)
62022 throw A.wrapException('There is no module with namespace "' + t1 + '".');
62023 t1 = type$.Value;
62024 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
62025 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
62026 t4 = t3.get$current(t3);
62027 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
62028 }
62029 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
62030 },
62031 $signature: 37
62032 };
62033 A._EvaluateVisitor_closure5.prototype = {
62034 call$1($arguments) {
62035 var t2, t3, t4,
62036 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
62037 module = this.$this._environment._environment$_modules.$index(0, t1);
62038 if (module == null)
62039 throw A.wrapException('There is no module with namespace "' + t1 + '".');
62040 t1 = type$.Value;
62041 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
62042 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
62043 t4 = t3.get$current(t3);
62044 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
62045 }
62046 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
62047 },
62048 $signature: 37
62049 };
62050 A._EvaluateVisitor_closure6.prototype = {
62051 call$1($arguments) {
62052 var module, callable, t2,
62053 t1 = J.getInterceptor$asx($arguments),
62054 $name = t1.$index($arguments, 0).assertString$1("name"),
62055 css = t1.$index($arguments, 1).get$isTruthy();
62056 t1 = t1.$index($arguments, 2).get$realNull();
62057 module = t1 == null ? null : t1.assertString$1("module");
62058 if (css && module != null)
62059 throw A.wrapException(string$.x24css_a);
62060 if (css)
62061 callable = new A.PlainCssCallable($name._string$_text);
62062 else {
62063 t1 = this.$this;
62064 t2 = t1._callableNode;
62065 t2.toString;
62066 callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
62067 }
62068 if (callable != null)
62069 return new A.SassFunction(callable);
62070 throw A.wrapException("Function not found: " + $name.toString$0(0));
62071 },
62072 $signature: 164
62073 };
62074 A._EvaluateVisitor__closure1.prototype = {
62075 call$0() {
62076 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
62077 t2 = this.module;
62078 t2 = t2 == null ? null : t2._string$_text;
62079 return this.$this._getFunction$2$namespace(t1, t2);
62080 },
62081 $signature: 139
62082 };
62083 A._EvaluateVisitor_closure7.prototype = {
62084 call$1($arguments) {
62085 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
62086 t1 = J.getInterceptor$asx($arguments),
62087 $function = t1.$index($arguments, 0),
62088 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
62089 t1 = this.$this;
62090 t2 = t1._callableNode;
62091 t2.toString;
62092 t3 = A._setArrayType([], type$.JSArray_Expression);
62093 t4 = type$.String;
62094 t5 = type$.Expression;
62095 t6 = t2.get$span(t2);
62096 t7 = t2.get$span(t2);
62097 args._wereKeywordsAccessed = true;
62098 t8 = args._keywords;
62099 if (t8.get$isEmpty(t8))
62100 t2 = null;
62101 else {
62102 t9 = type$.Value;
62103 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
62104 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
62105 t11 = t8.get$current(t8);
62106 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
62107 }
62108 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
62109 }
62110 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);
62111 if ($function instanceof A.SassString) {
62112 t2 = $function.toString$0(0);
62113 A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
62114 callableNode = t1._callableNode;
62115 return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
62116 }
62117 callable = $function.assertFunction$1("function").callable;
62118 if (type$.Callable._is(callable)) {
62119 t2 = t1._callableNode;
62120 t2.toString;
62121 return t1._runFunctionCallable$3(invocation, callable, t2);
62122 } else
62123 throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as));
62124 },
62125 $signature: 4
62126 };
62127 A._EvaluateVisitor_closure8.prototype = {
62128 call$1($arguments) {
62129 var withMap, t2, values, configuration,
62130 t1 = J.getInterceptor$asx($arguments),
62131 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
62132 t1 = t1.$index($arguments, 1).get$realNull();
62133 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
62134 t1 = this.$this;
62135 t2 = t1._callableNode;
62136 t2.toString;
62137 if (withMap != null) {
62138 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
62139 withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
62140 configuration = new A.ExplicitConfiguration(t2, values);
62141 } else
62142 configuration = B.Configuration_Map_empty;
62143 t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t2.get$span(t2).file.url, configuration, true);
62144 t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
62145 },
62146 $signature: 567
62147 };
62148 A._EvaluateVisitor__closure.prototype = {
62149 call$2(variable, value) {
62150 var t1 = variable.assertString$1("with key"),
62151 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
62152 t1 = this.values;
62153 if (t1.containsKey$1($name))
62154 throw A.wrapException("The variable $" + $name + " was configured twice.");
62155 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
62156 },
62157 $signature: 52
62158 };
62159 A._EvaluateVisitor__closure0.prototype = {
62160 call$1(module) {
62161 var t1 = this.$this;
62162 return t1._combineCss$2$clone(module, true).accept$1(t1);
62163 },
62164 $signature: 60
62165 };
62166 A._EvaluateVisitor_run_closure.prototype = {
62167 call$0() {
62168 var t2, _this = this,
62169 t1 = _this.node,
62170 url = t1.span.file.url;
62171 if (url != null) {
62172 t2 = _this.$this;
62173 t2._activeModules.$indexSet(0, url, null);
62174 t2._loadedUrls.add$1(0, url);
62175 }
62176 t2 = _this.$this;
62177 return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
62178 },
62179 $signature: 582
62180 };
62181 A._EvaluateVisitor_runExpression_closure.prototype = {
62182 call$0() {
62183 var t1 = this.$this,
62184 t2 = this.expression;
62185 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
62186 },
62187 $signature: 33
62188 };
62189 A._EvaluateVisitor_runExpression__closure.prototype = {
62190 call$0() {
62191 return this.expression.accept$1(this.$this);
62192 },
62193 $signature: 33
62194 };
62195 A._EvaluateVisitor_runStatement_closure.prototype = {
62196 call$0() {
62197 var t1 = this.$this,
62198 t2 = this.statement;
62199 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
62200 },
62201 $signature: 0
62202 };
62203 A._EvaluateVisitor_runStatement__closure.prototype = {
62204 call$0() {
62205 return this.statement.accept$1(this.$this);
62206 },
62207 $signature: 0
62208 };
62209 A._EvaluateVisitor__loadModule_closure.prototype = {
62210 call$0() {
62211 return this.callback.call$1(this.builtInModule);
62212 },
62213 $signature: 0
62214 };
62215 A._EvaluateVisitor__loadModule_closure0.prototype = {
62216 call$0() {
62217 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
62218 t1 = _this.$this,
62219 t2 = _this.nodeWithSpan,
62220 result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
62221 stylesheet = result.stylesheet,
62222 canonicalUrl = stylesheet.span.file.url;
62223 if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
62224 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
62225 t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
62226 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
62227 }
62228 if (canonicalUrl != null)
62229 t1._activeModules.$indexSet(0, canonicalUrl, t2);
62230 oldInDependency = t1._inDependency;
62231 t1._inDependency = result.isDependency;
62232 module = null;
62233 try {
62234 module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
62235 } finally {
62236 t1._activeModules.remove$1(0, canonicalUrl);
62237 t1._inDependency = oldInDependency;
62238 }
62239 try {
62240 _this.callback.call$1(module);
62241 } catch (exception) {
62242 t2 = A.unwrapException(exception);
62243 if (type$.SassRuntimeException._is(t2))
62244 throw exception;
62245 else if (t2 instanceof A.MultiSpanSassException) {
62246 error = t2;
62247 stackTrace = A.getTraceFromException(exception);
62248 t2 = error._span_exception$_message;
62249 t3 = error;
62250 t4 = J.getInterceptor$z(t3);
62251 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
62252 t4 = error.primaryLabel;
62253 t5 = error.secondarySpans;
62254 t6 = error;
62255 t7 = J.getInterceptor$z(t6);
62256 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);
62257 } else if (t2 instanceof A.SassException) {
62258 error0 = t2;
62259 stackTrace0 = A.getTraceFromException(exception);
62260 t2 = error0;
62261 t3 = J.getInterceptor$z(t2);
62262 A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
62263 } else if (t2 instanceof A.MultiSpanSassScriptException) {
62264 error1 = t2;
62265 stackTrace1 = A.getTraceFromException(exception);
62266 A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
62267 } else if (t2 instanceof A.SassScriptException) {
62268 error2 = t2;
62269 stackTrace2 = A.getTraceFromException(exception);
62270 A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
62271 } else
62272 throw exception;
62273 }
62274 },
62275 $signature: 1
62276 };
62277 A._EvaluateVisitor__loadModule__closure.prototype = {
62278 call$1(previousLoad) {
62279 return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
62280 },
62281 $signature: 87
62282 };
62283 A._EvaluateVisitor__execute_closure.prototype = {
62284 call$0() {
62285 var t3, t4, t5, t6, _this = this,
62286 t1 = _this.$this,
62287 oldImporter = t1._importer,
62288 oldStylesheet = t1.__stylesheet,
62289 oldRoot = t1.__root,
62290 oldParent = t1.__parent,
62291 oldEndOfImports = t1.__endOfImports,
62292 oldOutOfOrderImports = t1._outOfOrderImports,
62293 oldExtensionStore = t1.__extensionStore,
62294 t2 = t1._atRootExcludingStyleRule,
62295 oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
62296 oldMediaQueries = t1._mediaQueries,
62297 oldDeclarationName = t1._declarationName,
62298 oldInUnknownAtRule = t1._inUnknownAtRule,
62299 oldInKeyframes = t1._inKeyframes,
62300 oldConfiguration = t1._configuration;
62301 t1._importer = _this.importer;
62302 t3 = t1.__stylesheet = _this.stylesheet;
62303 t4 = t3.span;
62304 t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
62305 t1.__endOfImports = 0;
62306 t1._outOfOrderImports = null;
62307 t1.__extensionStore = _this.extensionStore;
62308 t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
62309 t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
62310 t6 = _this.configuration;
62311 if (t6 != null)
62312 t1._configuration = t6;
62313 t1.visitStylesheet$1(t3);
62314 t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
62315 _this.css._value = t3;
62316 t1._importer = oldImporter;
62317 t1.__stylesheet = oldStylesheet;
62318 t1.__root = oldRoot;
62319 t1.__parent = oldParent;
62320 t1.__endOfImports = oldEndOfImports;
62321 t1._outOfOrderImports = oldOutOfOrderImports;
62322 t1.__extensionStore = oldExtensionStore;
62323 t1._styleRuleIgnoringAtRoot = oldStyleRule;
62324 t1._mediaQueries = oldMediaQueries;
62325 t1._declarationName = oldDeclarationName;
62326 t1._inUnknownAtRule = oldInUnknownAtRule;
62327 t1._atRootExcludingStyleRule = t2;
62328 t1._inKeyframes = oldInKeyframes;
62329 t1._configuration = oldConfiguration;
62330 },
62331 $signature: 1
62332 };
62333 A._EvaluateVisitor__combineCss_closure.prototype = {
62334 call$1(module) {
62335 return module.get$transitivelyContainsCss();
62336 },
62337 $signature: 118
62338 };
62339 A._EvaluateVisitor__combineCss_closure0.prototype = {
62340 call$1(target) {
62341 return !this.selectors.contains$1(0, target);
62342 },
62343 $signature: 16
62344 };
62345 A._EvaluateVisitor__combineCss_closure1.prototype = {
62346 call$1(module) {
62347 return module.cloneCss$0();
62348 },
62349 $signature: 584
62350 };
62351 A._EvaluateVisitor__extendModules_closure.prototype = {
62352 call$1(target) {
62353 return !this.originalSelectors.contains$1(0, target);
62354 },
62355 $signature: 16
62356 };
62357 A._EvaluateVisitor__extendModules_closure0.prototype = {
62358 call$0() {
62359 return A._setArrayType([], type$.JSArray_ExtensionStore);
62360 },
62361 $signature: 161
62362 };
62363 A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
62364 call$1(module) {
62365 var t1, t2, t3, _i, upstream;
62366 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
62367 upstream = t1[_i];
62368 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
62369 this.call$1(upstream);
62370 }
62371 this.sorted.addFirst$1(module);
62372 },
62373 $signature: 60
62374 };
62375 A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
62376 call$0() {
62377 var t1 = A.SpanScanner$(this.resolved, null);
62378 return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62379 },
62380 $signature: 104
62381 };
62382 A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
62383 call$0() {
62384 var t1, t2, t3, _i;
62385 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62386 t1[_i].accept$1(t3);
62387 },
62388 $signature: 1
62389 };
62390 A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
62391 call$0() {
62392 var t1, t2, t3, _i;
62393 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62394 t1[_i].accept$1(t3);
62395 },
62396 $signature: 0
62397 };
62398 A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
62399 call$1(callback) {
62400 var t1 = this.$this,
62401 t2 = t1._assertInModule$2(t1.__parent, "__parent");
62402 t1.__parent = this.newParent;
62403 t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
62404 t1.__parent = t2;
62405 },
62406 $signature: 28
62407 };
62408 A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
62409 call$1(callback) {
62410 var t1 = this.$this,
62411 oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
62412 t1._atRootExcludingStyleRule = true;
62413 this.innerScope.call$1(callback);
62414 t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
62415 },
62416 $signature: 28
62417 };
62418 A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
62419 call$1(callback) {
62420 return this.$this._withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
62421 },
62422 $signature: 28
62423 };
62424 A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
62425 call$0() {
62426 return this.innerScope.call$1(this.callback);
62427 },
62428 $signature: 1
62429 };
62430 A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
62431 call$1(callback) {
62432 var t1 = this.$this,
62433 wasInKeyframes = t1._inKeyframes;
62434 t1._inKeyframes = false;
62435 this.innerScope.call$1(callback);
62436 t1._inKeyframes = wasInKeyframes;
62437 },
62438 $signature: 28
62439 };
62440 A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
62441 call$1($parent) {
62442 return type$.CssAtRule._is($parent);
62443 },
62444 $signature: 160
62445 };
62446 A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
62447 call$1(callback) {
62448 var t1 = this.$this,
62449 wasInUnknownAtRule = t1._inUnknownAtRule;
62450 t1._inUnknownAtRule = false;
62451 this.innerScope.call$1(callback);
62452 t1._inUnknownAtRule = wasInUnknownAtRule;
62453 },
62454 $signature: 28
62455 };
62456 A._EvaluateVisitor_visitContentRule_closure.prototype = {
62457 call$0() {
62458 var t1, t2, t3, _i;
62459 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62460 t1[_i].accept$1(t3);
62461 return null;
62462 },
62463 $signature: 1
62464 };
62465 A._EvaluateVisitor_visitDeclaration_closure.prototype = {
62466 call$1(value) {
62467 return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
62468 },
62469 $signature: 599
62470 };
62471 A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
62472 call$0() {
62473 var t1, t2, t3, _i;
62474 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62475 t1[_i].accept$1(t3);
62476 },
62477 $signature: 1
62478 };
62479 A._EvaluateVisitor_visitEachRule_closure.prototype = {
62480 call$1(value) {
62481 var t1 = this.$this,
62482 t2 = this.nodeWithSpan;
62483 return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
62484 },
62485 $signature: 56
62486 };
62487 A._EvaluateVisitor_visitEachRule_closure0.prototype = {
62488 call$1(value) {
62489 return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
62490 },
62491 $signature: 56
62492 };
62493 A._EvaluateVisitor_visitEachRule_closure1.prototype = {
62494 call$0() {
62495 var _this = this,
62496 t1 = _this.$this;
62497 return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
62498 },
62499 $signature: 35
62500 };
62501 A._EvaluateVisitor_visitEachRule__closure.prototype = {
62502 call$1(element) {
62503 var t1;
62504 this.setVariables.call$1(element);
62505 t1 = this.$this;
62506 return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
62507 },
62508 $signature: 260
62509 };
62510 A._EvaluateVisitor_visitEachRule___closure.prototype = {
62511 call$1(child) {
62512 return child.accept$1(this.$this);
62513 },
62514 $signature: 89
62515 };
62516 A._EvaluateVisitor_visitExtendRule_closure.prototype = {
62517 call$0() {
62518 return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
62519 },
62520 $signature: 44
62521 };
62522 A._EvaluateVisitor_visitAtRule_closure.prototype = {
62523 call$1(value) {
62524 return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
62525 },
62526 $signature: 262
62527 };
62528 A._EvaluateVisitor_visitAtRule_closure0.prototype = {
62529 call$0() {
62530 var t2, t3, _i,
62531 t1 = this.$this,
62532 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62533 if (styleRule == null || t1._inKeyframes)
62534 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62535 t2[_i].accept$1(t1);
62536 else
62537 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);
62538 },
62539 $signature: 1
62540 };
62541 A._EvaluateVisitor_visitAtRule__closure.prototype = {
62542 call$0() {
62543 var t1, t2, t3, _i;
62544 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62545 t1[_i].accept$1(t3);
62546 },
62547 $signature: 1
62548 };
62549 A._EvaluateVisitor_visitAtRule_closure1.prototype = {
62550 call$1(node) {
62551 return type$.CssStyleRule._is(node);
62552 },
62553 $signature: 8
62554 };
62555 A._EvaluateVisitor_visitForRule_closure.prototype = {
62556 call$0() {
62557 return this.node.from.accept$1(this.$this).assertNumber$0();
62558 },
62559 $signature: 220
62560 };
62561 A._EvaluateVisitor_visitForRule_closure0.prototype = {
62562 call$0() {
62563 return this.node.to.accept$1(this.$this).assertNumber$0();
62564 },
62565 $signature: 220
62566 };
62567 A._EvaluateVisitor_visitForRule_closure1.prototype = {
62568 call$0() {
62569 return this.fromNumber.assertInt$0();
62570 },
62571 $signature: 12
62572 };
62573 A._EvaluateVisitor_visitForRule_closure2.prototype = {
62574 call$0() {
62575 var t1 = this.fromNumber;
62576 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
62577 },
62578 $signature: 12
62579 };
62580 A._EvaluateVisitor_visitForRule_closure3.prototype = {
62581 call$0() {
62582 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
62583 t1 = _this.$this,
62584 t2 = _this.node,
62585 nodeWithSpan = t1._expressionNode$1(t2.from);
62586 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) {
62587 t7 = t1._environment;
62588 t8 = t6.get$numeratorUnits(t6);
62589 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
62590 result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
62591 if (result != null)
62592 return result;
62593 }
62594 return null;
62595 },
62596 $signature: 35
62597 };
62598 A._EvaluateVisitor_visitForRule__closure.prototype = {
62599 call$1(child) {
62600 return child.accept$1(this.$this);
62601 },
62602 $signature: 89
62603 };
62604 A._EvaluateVisitor_visitForwardRule_closure.prototype = {
62605 call$1(module) {
62606 this.$this._environment.forwardModule$2(module, this.node);
62607 },
62608 $signature: 60
62609 };
62610 A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
62611 call$1(module) {
62612 this.$this._environment.forwardModule$2(module, this.node);
62613 },
62614 $signature: 60
62615 };
62616 A._EvaluateVisitor_visitIfRule_closure.prototype = {
62617 call$0() {
62618 var t1 = this.$this;
62619 return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
62620 },
62621 $signature: 35
62622 };
62623 A._EvaluateVisitor_visitIfRule__closure.prototype = {
62624 call$1(child) {
62625 return child.accept$1(this.$this);
62626 },
62627 $signature: 89
62628 };
62629 A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
62630 call$0() {
62631 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
62632 t1 = this.$this,
62633 t2 = this.$import,
62634 result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
62635 stylesheet = result.stylesheet,
62636 url = stylesheet.span.file.url;
62637 if (url != null) {
62638 t3 = t1._activeModules;
62639 if (t3.containsKey$1(url)) {
62640 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
62641 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
62642 }
62643 t3.$indexSet(0, url, t2);
62644 }
62645 t2 = stylesheet._uses;
62646 t3 = type$.UnmodifiableListView_UseRule;
62647 t4 = new A.UnmodifiableListView(t2, t3);
62648 if (t4.get$length(t4) === 0) {
62649 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62650 t4 = t4.get$length(t4) === 0;
62651 } else
62652 t4 = false;
62653 if (t4) {
62654 oldImporter = t1._importer;
62655 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
62656 oldInDependency = t1._inDependency;
62657 t1._importer = result.importer;
62658 t1.__stylesheet = stylesheet;
62659 t1._inDependency = result.isDependency;
62660 t1.visitStylesheet$1(stylesheet);
62661 t1._importer = oldImporter;
62662 t1.__stylesheet = t2;
62663 t1._inDependency = oldInDependency;
62664 t1._activeModules.remove$1(0, url);
62665 return;
62666 }
62667 t2 = new A.UnmodifiableListView(t2, t3);
62668 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
62669 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62670 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
62671 } else
62672 loadsUserDefinedModules = true;
62673 children = A._Cell$();
62674 t2 = t1._environment;
62675 t3 = type$.String;
62676 t4 = type$.Module_Callable;
62677 t5 = type$.AstNode;
62678 t6 = A._setArrayType([], type$.JSArray_Module_Callable);
62679 t7 = t2._variables;
62680 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
62681 t8 = t2._variableNodes;
62682 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
62683 t9 = t2._functions;
62684 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
62685 t10 = t2._mixins;
62686 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
62687 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);
62688 t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
62689 module = environment.toDummyModule$0();
62690 t1._environment.importForwards$1(module);
62691 if (loadsUserDefinedModules) {
62692 if (module.transitivelyContainsCss)
62693 t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
62694 visitor = new A._ImportedCssVisitor(t1);
62695 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
62696 t2.get$current(t2).accept$1(visitor);
62697 }
62698 t1._activeModules.remove$1(0, url);
62699 },
62700 $signature: 0
62701 };
62702 A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
62703 call$1(previousLoad) {
62704 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));
62705 },
62706 $signature: 87
62707 };
62708 A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
62709 call$1(rule) {
62710 return rule.url.get$scheme() !== "sass";
62711 },
62712 $signature: 154
62713 };
62714 A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
62715 call$1(rule) {
62716 return rule.url.get$scheme() !== "sass";
62717 },
62718 $signature: 153
62719 };
62720 A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
62721 call$0() {
62722 var t7, t8, t9, _this = this,
62723 t1 = _this.$this,
62724 oldImporter = t1._importer,
62725 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
62726 t3 = t1._assertInModule$2(t1.__root, "_root"),
62727 t4 = t1._assertInModule$2(t1.__parent, "__parent"),
62728 t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
62729 oldOutOfOrderImports = t1._outOfOrderImports,
62730 oldConfiguration = t1._configuration,
62731 oldInDependency = t1._inDependency,
62732 t6 = _this.result;
62733 t1._importer = t6.importer;
62734 t7 = t1.__stylesheet = _this.stylesheet;
62735 t8 = _this.loadsUserDefinedModules;
62736 if (t8) {
62737 t9 = A.ModifiableCssStylesheet$(t7.span);
62738 t1.__root = t9;
62739 t1.__parent = t1._assertInModule$2(t9, "_root");
62740 t1.__endOfImports = 0;
62741 t1._outOfOrderImports = null;
62742 }
62743 t1._inDependency = t6.isDependency;
62744 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
62745 if (!t6.get$isEmpty(t6))
62746 t1._configuration = _this.environment.toImplicitConfiguration$0();
62747 t1.visitStylesheet$1(t7);
62748 t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
62749 _this.children._value = t6;
62750 t1._importer = oldImporter;
62751 t1.__stylesheet = t2;
62752 if (t8) {
62753 t1.__root = t3;
62754 t1.__parent = t4;
62755 t1.__endOfImports = t5;
62756 t1._outOfOrderImports = oldOutOfOrderImports;
62757 }
62758 t1._configuration = oldConfiguration;
62759 t1._inDependency = oldInDependency;
62760 },
62761 $signature: 1
62762 };
62763 A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
62764 call$0() {
62765 var t1 = this.node;
62766 return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
62767 },
62768 $signature: 139
62769 };
62770 A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
62771 call$0() {
62772 return this.node.get$spanWithoutContent();
62773 },
62774 $signature: 30
62775 };
62776 A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
62777 call$1($content) {
62778 var t1 = this.$this;
62779 return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
62780 },
62781 $signature: 264
62782 };
62783 A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
62784 call$0() {
62785 var _this = this,
62786 t1 = _this.$this,
62787 t2 = t1._environment,
62788 oldContent = t2._content;
62789 t2._content = _this.contentCallable;
62790 new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
62791 t2._content = oldContent;
62792 },
62793 $signature: 1
62794 };
62795 A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
62796 call$0() {
62797 var t1 = this.$this,
62798 t2 = t1._environment,
62799 oldInMixin = t2._inMixin;
62800 t2._inMixin = true;
62801 new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
62802 t2._inMixin = oldInMixin;
62803 },
62804 $signature: 0
62805 };
62806 A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
62807 call$0() {
62808 var t1, t2, t3, t4, _i;
62809 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
62810 t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
62811 },
62812 $signature: 0
62813 };
62814 A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
62815 call$0() {
62816 return this.statement.accept$1(this.$this);
62817 },
62818 $signature: 35
62819 };
62820 A._EvaluateVisitor_visitMediaRule_closure.prototype = {
62821 call$1(mediaQueries) {
62822 return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
62823 },
62824 $signature: 83
62825 };
62826 A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
62827 call$0() {
62828 var _this = this,
62829 t1 = _this.$this,
62830 t2 = _this.mergedQueries;
62831 if (t2 == null)
62832 t2 = _this.queries;
62833 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
62834 },
62835 $signature: 1
62836 };
62837 A._EvaluateVisitor_visitMediaRule__closure.prototype = {
62838 call$0() {
62839 var t2, t3, _i,
62840 t1 = this.$this,
62841 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62842 if (styleRule == null)
62843 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62844 t2[_i].accept$1(t1);
62845 else
62846 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);
62847 },
62848 $signature: 1
62849 };
62850 A._EvaluateVisitor_visitMediaRule___closure.prototype = {
62851 call$0() {
62852 var t1, t2, t3, _i;
62853 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62854 t1[_i].accept$1(t3);
62855 },
62856 $signature: 1
62857 };
62858 A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
62859 call$1(node) {
62860 var t1;
62861 if (!type$.CssStyleRule._is(node))
62862 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
62863 else
62864 t1 = true;
62865 return t1;
62866 },
62867 $signature: 8
62868 };
62869 A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
62870 call$0() {
62871 var t1 = A.SpanScanner$(this.resolved, null);
62872 return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62873 },
62874 $signature: 103
62875 };
62876 A._EvaluateVisitor_visitStyleRule_closure.prototype = {
62877 call$0() {
62878 return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
62879 },
62880 $signature: 46
62881 };
62882 A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
62883 call$0() {
62884 var t1, t2, t3, _i;
62885 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62886 t1[_i].accept$1(t3);
62887 },
62888 $signature: 1
62889 };
62890 A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
62891 call$1(node) {
62892 return type$.CssStyleRule._is(node);
62893 },
62894 $signature: 8
62895 };
62896 A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
62897 call$0() {
62898 var _s11_ = "_stylesheet",
62899 t1 = this.$this;
62900 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);
62901 },
62902 $signature: 44
62903 };
62904 A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
62905 call$0() {
62906 var t1 = this._box_0.parsedSelector,
62907 t2 = this.$this,
62908 t3 = t2._styleRuleIgnoringAtRoot;
62909 t3 = t3 == null ? null : t3.originalSelector;
62910 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
62911 },
62912 $signature: 44
62913 };
62914 A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
62915 call$0() {
62916 var t1 = this.$this;
62917 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
62918 },
62919 $signature: 1
62920 };
62921 A._EvaluateVisitor_visitStyleRule__closure.prototype = {
62922 call$0() {
62923 var t1, t2, t3, _i;
62924 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62925 t1[_i].accept$1(t3);
62926 },
62927 $signature: 1
62928 };
62929 A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
62930 call$1(node) {
62931 return type$.CssStyleRule._is(node);
62932 },
62933 $signature: 8
62934 };
62935 A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
62936 call$0() {
62937 var t2, t3, _i,
62938 t1 = this.$this,
62939 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62940 if (styleRule == null)
62941 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62942 t2[_i].accept$1(t1);
62943 else
62944 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
62945 },
62946 $signature: 1
62947 };
62948 A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
62949 call$0() {
62950 var t1, t2, t3, _i;
62951 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62952 t1[_i].accept$1(t3);
62953 },
62954 $signature: 1
62955 };
62956 A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
62957 call$1(node) {
62958 return type$.CssStyleRule._is(node);
62959 },
62960 $signature: 8
62961 };
62962 A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
62963 call$0() {
62964 var t1 = this.override;
62965 this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
62966 },
62967 $signature: 1
62968 };
62969 A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
62970 call$0() {
62971 var t1 = this.node;
62972 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
62973 },
62974 $signature: 35
62975 };
62976 A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
62977 call$0() {
62978 var t1 = this.$this,
62979 t2 = this.node;
62980 t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
62981 },
62982 $signature: 1
62983 };
62984 A._EvaluateVisitor_visitUseRule_closure.prototype = {
62985 call$1(module) {
62986 var t1 = this.node;
62987 this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
62988 },
62989 $signature: 60
62990 };
62991 A._EvaluateVisitor_visitWarnRule_closure.prototype = {
62992 call$0() {
62993 return this.node.expression.accept$1(this.$this);
62994 },
62995 $signature: 33
62996 };
62997 A._EvaluateVisitor_visitWhileRule_closure.prototype = {
62998 call$0() {
62999 var t1, t2, t3, result;
63000 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
63001 result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
63002 if (result != null)
63003 return result;
63004 }
63005 return null;
63006 },
63007 $signature: 35
63008 };
63009 A._EvaluateVisitor_visitWhileRule__closure.prototype = {
63010 call$1(child) {
63011 return child.accept$1(this.$this);
63012 },
63013 $signature: 89
63014 };
63015 A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
63016 call$0() {
63017 var right, result,
63018 t1 = this.node,
63019 t2 = this.$this,
63020 left = t1.left.accept$1(t2),
63021 t3 = t1.operator;
63022 switch (t3) {
63023 case B.BinaryOperator_kjl:
63024 right = t1.right.accept$1(t2);
63025 return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
63026 case B.BinaryOperator_or_or_1:
63027 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
63028 case B.BinaryOperator_and_and_2:
63029 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
63030 case B.BinaryOperator_YlX:
63031 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
63032 case B.BinaryOperator_i5H:
63033 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
63034 case B.BinaryOperator_AcR:
63035 return left.greaterThan$1(t1.right.accept$1(t2));
63036 case B.BinaryOperator_1da:
63037 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
63038 case B.BinaryOperator_8qt:
63039 return left.lessThan$1(t1.right.accept$1(t2));
63040 case B.BinaryOperator_33h:
63041 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
63042 case B.BinaryOperator_AcR0:
63043 return left.plus$1(t1.right.accept$1(t2));
63044 case B.BinaryOperator_iyO:
63045 return left.minus$1(t1.right.accept$1(t2));
63046 case B.BinaryOperator_O1M:
63047 return left.times$1(t1.right.accept$1(t2));
63048 case B.BinaryOperator_RTB:
63049 right = t1.right.accept$1(t2);
63050 result = left.dividedBy$1(right);
63051 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
63052 return type$.SassNumber._as(result).withSlash$2(left, right);
63053 else {
63054 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
63055 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);
63056 return result;
63057 }
63058 case B.BinaryOperator_2ad:
63059 return left.modulo$1(t1.right.accept$1(t2));
63060 default:
63061 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
63062 }
63063 },
63064 $signature: 33
63065 };
63066 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
63067 call$1(expression) {
63068 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
63069 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
63070 else if (expression instanceof A.ParenthesizedExpression)
63071 return expression.expression.toString$0(0);
63072 else
63073 return expression.toString$0(0);
63074 },
63075 $signature: 135
63076 };
63077 A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
63078 call$0() {
63079 var t1 = this.node;
63080 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
63081 },
63082 $signature: 35
63083 };
63084 A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
63085 call$0() {
63086 var _this = this,
63087 t1 = _this.node.operator;
63088 switch (t1) {
63089 case B.UnaryOperator_j2w:
63090 return _this.operand.unaryPlus$0();
63091 case B.UnaryOperator_U4G:
63092 return _this.operand.unaryMinus$0();
63093 case B.UnaryOperator_zDx:
63094 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
63095 case B.UnaryOperator_not_not:
63096 return _this.operand.unaryNot$0();
63097 default:
63098 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
63099 }
63100 },
63101 $signature: 33
63102 };
63103 A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
63104 call$0() {
63105 var t1 = this.$this,
63106 t2 = this.node,
63107 t3 = this.inMinMax;
63108 return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$1(t2.operator), t1._visitCalculationValue$2$inMinMax(t2.left, t3), t1._visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._inSupportsDeclaration);
63109 },
63110 $signature: 88
63111 };
63112 A._EvaluateVisitor_visitListExpression_closure.prototype = {
63113 call$1(expression) {
63114 return expression.accept$1(this.$this);
63115 },
63116 $signature: 266
63117 };
63118 A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
63119 call$0() {
63120 var t1 = this.node;
63121 return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
63122 },
63123 $signature: 139
63124 };
63125 A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
63126 call$0() {
63127 var t1 = this.node;
63128 return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
63129 },
63130 $signature: 33
63131 };
63132 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
63133 call$0() {
63134 var t1 = this.node;
63135 return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
63136 },
63137 $signature: 33
63138 };
63139 A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
63140 call$0() {
63141 var _this = this,
63142 t1 = _this.$this,
63143 t2 = _this.callable;
63144 return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
63145 },
63146 $signature() {
63147 return this.V._eval$1("0()");
63148 }
63149 };
63150 A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
63151 call$0() {
63152 var _this = this,
63153 t1 = _this.$this,
63154 t2 = _this.V;
63155 return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
63156 },
63157 $signature() {
63158 return this.V._eval$1("0()");
63159 }
63160 };
63161 A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
63162 call$0() {
63163 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
63164 t1 = _this.$this,
63165 t2 = _this.evaluated,
63166 t3 = t2.positional,
63167 t4 = t2.named,
63168 t5 = _this.callable.declaration.$arguments,
63169 t6 = _this.nodeWithSpan;
63170 t1._verifyArguments$4(t3.length, t4, t5, t6);
63171 declaredArguments = t5.$arguments;
63172 t7 = declaredArguments.length;
63173 minLength = Math.min(t3.length, t7);
63174 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
63175 t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
63176 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
63177 argument = declaredArguments[i];
63178 t9 = argument.name;
63179 value = t4.remove$1(0, t9);
63180 if (value == null) {
63181 t10 = argument.defaultValue;
63182 value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
63183 }
63184 t10 = t1._environment;
63185 t11 = t8.$index(0, t9);
63186 if (t11 == null) {
63187 t11 = argument.defaultValue;
63188 t11.toString;
63189 t11 = t1._expressionNode$1(t11);
63190 }
63191 t10.setLocalVariable$3(t9, value, t11);
63192 }
63193 restArgument = t5.restArgument;
63194 if (restArgument != null) {
63195 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
63196 t2 = t2.separator;
63197 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
63198 t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
63199 } else
63200 argumentList = null;
63201 result = _this.run.call$0();
63202 if (argumentList == null)
63203 return result;
63204 t2 = t4.__js_helper$_length;
63205 if (t2 === 0)
63206 return result;
63207 if (argumentList._wereKeywordsAccessed)
63208 return result;
63209 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
63210 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", t2, null) + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", 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))));
63211 },
63212 $signature() {
63213 return this.V._eval$1("0()");
63214 }
63215 };
63216 A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
63217 call$1($name) {
63218 return "$" + $name;
63219 },
63220 $signature: 5
63221 };
63222 A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
63223 call$0() {
63224 var t1, t2, t3, t4, _i, $returnValue;
63225 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
63226 $returnValue = t2[_i].accept$1(t4);
63227 if ($returnValue instanceof A.Value)
63228 return $returnValue;
63229 }
63230 throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
63231 },
63232 $signature: 33
63233 };
63234 A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
63235 call$0() {
63236 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
63237 },
63238 $signature: 0
63239 };
63240 A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
63241 call$1($name) {
63242 return "$" + $name;
63243 },
63244 $signature: 5
63245 };
63246 A._EvaluateVisitor__evaluateArguments_closure.prototype = {
63247 call$1(value) {
63248 return value;
63249 },
63250 $signature: 36
63251 };
63252 A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
63253 call$1(value) {
63254 return this.$this._withoutSlash$2(value, this.restNodeForSpan);
63255 },
63256 $signature: 36
63257 };
63258 A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
63259 call$2(key, value) {
63260 var _this = this,
63261 t1 = _this.restNodeForSpan;
63262 _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
63263 _this.namedNodes.$indexSet(0, key, t1);
63264 },
63265 $signature: 95
63266 };
63267 A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
63268 call$1(value) {
63269 return value;
63270 },
63271 $signature: 36
63272 };
63273 A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
63274 call$1(value) {
63275 var t1 = this.restArgs;
63276 return new A.ValueExpression(value, t1.get$span(t1));
63277 },
63278 $signature: 51
63279 };
63280 A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
63281 call$1(value) {
63282 var t1 = this.restArgs;
63283 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
63284 },
63285 $signature: 51
63286 };
63287 A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
63288 call$2(key, value) {
63289 var _this = this,
63290 t1 = _this.restArgs;
63291 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
63292 },
63293 $signature: 95
63294 };
63295 A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
63296 call$1(value) {
63297 var t1 = this.keywordRestArgs;
63298 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
63299 },
63300 $signature: 51
63301 };
63302 A._EvaluateVisitor__addRestMap_closure.prototype = {
63303 call$2(key, value) {
63304 var t2, _this = this,
63305 t1 = _this.$this;
63306 if (key instanceof A.SassString)
63307 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
63308 else {
63309 t2 = _this.nodeWithSpan;
63310 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)));
63311 }
63312 },
63313 $signature: 52
63314 };
63315 A._EvaluateVisitor__verifyArguments_closure.prototype = {
63316 call$0() {
63317 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
63318 },
63319 $signature: 0
63320 };
63321 A._EvaluateVisitor_visitStringExpression_closure.prototype = {
63322 call$1(value) {
63323 var t1, result;
63324 if (typeof value == "string")
63325 return value;
63326 type$.Expression._as(value);
63327 t1 = this.$this;
63328 result = value.accept$1(t1);
63329 return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
63330 },
63331 $signature: 48
63332 };
63333 A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
63334 call$0() {
63335 var t1, t2, t3, t4;
63336 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
63337 t4 = t1.__internal$_current;
63338 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63339 }
63340 },
63341 $signature: 1
63342 };
63343 A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
63344 call$1(node) {
63345 return type$.CssStyleRule._is(node);
63346 },
63347 $signature: 8
63348 };
63349 A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
63350 call$0() {
63351 var t1, t2, t3, t4;
63352 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
63353 t4 = t1.__internal$_current;
63354 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63355 }
63356 },
63357 $signature: 1
63358 };
63359 A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
63360 call$1(node) {
63361 return type$.CssStyleRule._is(node);
63362 },
63363 $signature: 8
63364 };
63365 A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
63366 call$1(mediaQueries) {
63367 return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
63368 },
63369 $signature: 83
63370 };
63371 A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
63372 call$0() {
63373 var _this = this,
63374 t1 = _this.$this,
63375 t2 = _this.mergedQueries;
63376 if (t2 == null)
63377 t2 = _this.node.queries;
63378 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
63379 },
63380 $signature: 1
63381 };
63382 A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
63383 call$0() {
63384 var t2, t3, t4,
63385 t1 = this.$this,
63386 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63387 if (styleRule == null)
63388 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
63389 t4 = t2.__internal$_current;
63390 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
63391 }
63392 else
63393 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);
63394 },
63395 $signature: 1
63396 };
63397 A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
63398 call$0() {
63399 var t1, t2, t3, t4;
63400 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
63401 t4 = t1.__internal$_current;
63402 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63403 }
63404 },
63405 $signature: 1
63406 };
63407 A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
63408 call$1(node) {
63409 var t1;
63410 if (!type$.CssStyleRule._is(node))
63411 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
63412 else
63413 t1 = true;
63414 return t1;
63415 },
63416 $signature: 8
63417 };
63418 A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
63419 call$0() {
63420 var t1 = this.$this;
63421 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
63422 },
63423 $signature: 1
63424 };
63425 A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
63426 call$0() {
63427 var t1, t2, t3, t4;
63428 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
63429 t4 = t1.__internal$_current;
63430 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63431 }
63432 },
63433 $signature: 1
63434 };
63435 A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
63436 call$1(node) {
63437 return type$.CssStyleRule._is(node);
63438 },
63439 $signature: 8
63440 };
63441 A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
63442 call$0() {
63443 var t2, t3, t4,
63444 t1 = this.$this,
63445 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63446 if (styleRule == null)
63447 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
63448 t4 = t2.__internal$_current;
63449 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
63450 }
63451 else
63452 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
63453 },
63454 $signature: 1
63455 };
63456 A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
63457 call$0() {
63458 var t1, t2, t3, t4;
63459 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
63460 t4 = t1.__internal$_current;
63461 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63462 }
63463 },
63464 $signature: 1
63465 };
63466 A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
63467 call$1(node) {
63468 return type$.CssStyleRule._is(node);
63469 },
63470 $signature: 8
63471 };
63472 A._EvaluateVisitor__performInterpolation_closure.prototype = {
63473 call$1(value) {
63474 var t1, result, t2, t3;
63475 if (typeof value == "string")
63476 return value;
63477 type$.Expression._as(value);
63478 t1 = this.$this;
63479 result = value.accept$1(t1);
63480 if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
63481 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
63482 t3 = $.$get$namesByColor();
63483 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));
63484 }
63485 return t1._evaluate$_serialize$3$quote(result, value, false);
63486 },
63487 $signature: 48
63488 };
63489 A._EvaluateVisitor__serialize_closure.prototype = {
63490 call$0() {
63491 return A.serializeValue(this.value, false, this.quote);
63492 },
63493 $signature: 29
63494 };
63495 A._EvaluateVisitor__expressionNode_closure.prototype = {
63496 call$0() {
63497 var t1 = this.expression;
63498 return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
63499 },
63500 $signature: 150
63501 };
63502 A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
63503 call$1(number) {
63504 var asSlash = number.asSlash;
63505 if (asSlash != null)
63506 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
63507 else
63508 return A.serializeValue(number, true, true);
63509 },
63510 $signature: 148
63511 };
63512 A._EvaluateVisitor__stackFrame_closure.prototype = {
63513 call$1(url) {
63514 var t1 = this.$this._evaluate$_importCache;
63515 t1 = t1 == null ? null : t1.humanize$1(url);
63516 return t1 == null ? url : t1;
63517 },
63518 $signature: 90
63519 };
63520 A._EvaluateVisitor__stackTrace_closure.prototype = {
63521 call$1(tuple) {
63522 return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
63523 },
63524 $signature: 182
63525 };
63526 A._ImportedCssVisitor.prototype = {
63527 visitCssAtRule$1(node) {
63528 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
63529 this._visitor._addChild$2$through(node, t1);
63530 },
63531 visitCssComment$1(node) {
63532 return this._visitor._addChild$1(node);
63533 },
63534 visitCssDeclaration$1(node) {
63535 },
63536 visitCssImport$1(node) {
63537 var t2,
63538 _s13_ = "_endOfImports",
63539 t1 = this._visitor;
63540 if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
63541 t1._addChild$1(node);
63542 else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
63543 t1._addChild$1(node);
63544 t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
63545 } else {
63546 t2 = t1._outOfOrderImports;
63547 (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
63548 }
63549 },
63550 visitCssKeyframeBlock$1(node) {
63551 },
63552 visitCssMediaRule$1(node) {
63553 var t1 = this._visitor,
63554 mediaQueries = t1._mediaQueries;
63555 t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
63556 },
63557 visitCssStyleRule$1(node) {
63558 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
63559 },
63560 visitCssStylesheet$1(node) {
63561 var t1, t2, t3;
63562 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
63563 t3 = t1.__internal$_current;
63564 (t3 == null ? t2._as(t3) : t3).accept$1(this);
63565 }
63566 },
63567 visitCssSupportsRule$1(node) {
63568 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
63569 }
63570 };
63571 A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
63572 call$1(node) {
63573 return type$.CssStyleRule._is(node);
63574 },
63575 $signature: 8
63576 };
63577 A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
63578 call$1(node) {
63579 var t1;
63580 if (!type$.CssStyleRule._is(node))
63581 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
63582 else
63583 t1 = true;
63584 return t1;
63585 },
63586 $signature: 8
63587 };
63588 A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
63589 call$1(node) {
63590 return type$.CssStyleRule._is(node);
63591 },
63592 $signature: 8
63593 };
63594 A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
63595 call$1(node) {
63596 return type$.CssStyleRule._is(node);
63597 },
63598 $signature: 8
63599 };
63600 A._EvaluationContext.prototype = {
63601 get$currentCallableSpan() {
63602 var callableNode = this._visitor._callableNode;
63603 if (callableNode != null)
63604 return callableNode.get$span(callableNode);
63605 throw A.wrapException(A.StateError$(string$.No_Sasc));
63606 },
63607 warn$2$deprecation(_, message, deprecation) {
63608 var t1 = this._visitor,
63609 t2 = t1._importSpan;
63610 if (t2 == null) {
63611 t2 = t1._callableNode;
63612 t2 = t2 == null ? null : t2.get$span(t2);
63613 }
63614 if (t2 == null) {
63615 t2 = this._defaultWarnNodeWithSpan;
63616 t2 = t2.get$span(t2);
63617 }
63618 t1._warn$3$deprecation(message, t2, deprecation);
63619 },
63620 $isEvaluationContext: 1
63621 };
63622 A._ArgumentResults.prototype = {};
63623 A._LoadedStylesheet.prototype = {};
63624 A._FindDependenciesVisitor.prototype = {
63625 visitEachRule$1(node) {
63626 },
63627 visitForRule$1(node) {
63628 },
63629 visitIfRule$1(node) {
63630 },
63631 visitWhileRule$1(node) {
63632 },
63633 visitUseRule$1(node) {
63634 var t1 = node.url;
63635 if (t1.get$scheme() !== "sass")
63636 this._usesAndForwards.push(t1);
63637 },
63638 visitForwardRule$1(node) {
63639 var t1 = node.url;
63640 if (t1.get$scheme() !== "sass")
63641 this._usesAndForwards.push(t1);
63642 },
63643 visitImportRule$1(node) {
63644 var t1, t2, t3, _i, $import;
63645 for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
63646 $import = t1[_i];
63647 if ($import instanceof A.DynamicImport)
63648 t3.push(A.Uri_parse($import.urlString));
63649 }
63650 }
63651 };
63652 A.RecursiveStatementVisitor.prototype = {
63653 visitAtRootRule$1(node) {
63654 this.visitChildren$1(node.children);
63655 },
63656 visitAtRule$1(node) {
63657 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63658 },
63659 visitContentBlock$1(node) {
63660 return null;
63661 },
63662 visitContentRule$1(node) {
63663 },
63664 visitDebugRule$1(node) {
63665 },
63666 visitDeclaration$1(node) {
63667 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63668 },
63669 visitErrorRule$1(node) {
63670 },
63671 visitExtendRule$1(node) {
63672 },
63673 visitFunctionRule$1(node) {
63674 return null;
63675 },
63676 visitIncludeRule$1(node) {
63677 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
63678 },
63679 visitLoudComment$1(node) {
63680 },
63681 visitMediaRule$1(node) {
63682 return this.visitChildren$1(node.children);
63683 },
63684 visitMixinRule$1(node) {
63685 return null;
63686 },
63687 visitReturnRule$1(node) {
63688 },
63689 visitSilentComment$1(node) {
63690 },
63691 visitStyleRule$1(node) {
63692 return this.visitChildren$1(node.children);
63693 },
63694 visitStylesheet$1(node) {
63695 return this.visitChildren$1(node.children);
63696 },
63697 visitSupportsRule$1(node) {
63698 return this.visitChildren$1(node.children);
63699 },
63700 visitVariableDeclaration$1(node) {
63701 },
63702 visitWarnRule$1(node) {
63703 },
63704 visitChildren$1(children) {
63705 var t1;
63706 for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
63707 t1.get$current(t1).accept$1(this);
63708 }
63709 };
63710 A.serialize_closure.prototype = {
63711 call$1(codeUnit) {
63712 return codeUnit > 127;
63713 },
63714 $signature: 57
63715 };
63716 A._SerializeVisitor.prototype = {
63717 visitCssStylesheet$1(node) {
63718 var t1, t2, t3, t4, previous, i, child, _this = this;
63719 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) {
63720 child = J.$index$asx(node.get$children(node), i);
63721 if (_this._isInvisible$1(child))
63722 continue;
63723 if (previous != null) {
63724 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
63725 t4.writeCharCode$1(59);
63726 if (t1)
63727 t4.write$1(0, "\n");
63728 if (previous.get$isGroupEnd())
63729 if (t1)
63730 t4.write$1(0, "\n");
63731 }
63732 child.accept$1(_this);
63733 previous = child;
63734 }
63735 if (previous != null)
63736 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
63737 else
63738 t1 = false;
63739 if (t1)
63740 t4.writeCharCode$1(59);
63741 },
63742 visitCssComment$1(node) {
63743 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
63744 },
63745 visitCssAtRule$1(node) {
63746 var t1, _this = this;
63747 _this._writeIndentation$0();
63748 t1 = _this._serialize$_buffer;
63749 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
63750 if (!node.isChildless) {
63751 if (_this._style !== B.OutputStyle_compressed)
63752 t1.writeCharCode$1(32);
63753 _this._serialize$_visitChildren$1(node.children);
63754 }
63755 },
63756 visitCssMediaRule$1(node) {
63757 var t1, _this = this;
63758 _this._writeIndentation$0();
63759 t1 = _this._serialize$_buffer;
63760 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
63761 if (_this._style !== B.OutputStyle_compressed)
63762 t1.writeCharCode$1(32);
63763 _this._serialize$_visitChildren$1(node.children);
63764 },
63765 visitCssImport$1(node) {
63766 this._writeIndentation$0();
63767 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
63768 },
63769 _writeImportUrl$1(url) {
63770 var urlContents, maybeQuote, _this = this;
63771 if (_this._style !== B.OutputStyle_compressed || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
63772 _this._serialize$_buffer.write$1(0, url);
63773 return;
63774 }
63775 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
63776 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
63777 if (maybeQuote === 39 || maybeQuote === 34)
63778 _this._serialize$_buffer.write$1(0, urlContents);
63779 else
63780 _this._visitQuotedString$1(urlContents);
63781 },
63782 visitCssKeyframeBlock$1(node) {
63783 var t1, _this = this;
63784 _this._writeIndentation$0();
63785 t1 = _this._serialize$_buffer;
63786 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
63787 if (_this._style !== B.OutputStyle_compressed)
63788 t1.writeCharCode$1(32);
63789 _this._serialize$_visitChildren$1(node.children);
63790 },
63791 _visitMediaQuery$1(query) {
63792 var t2, t3, _this = this,
63793 t1 = query.modifier;
63794 if (t1 != null) {
63795 t2 = _this._serialize$_buffer;
63796 t2.write$1(0, t1);
63797 t2.writeCharCode$1(32);
63798 }
63799 t1 = query.type;
63800 if (t1 != null) {
63801 t2 = _this._serialize$_buffer;
63802 t2.write$1(0, t1);
63803 if (query.features.length !== 0)
63804 t2.write$1(0, " and ");
63805 }
63806 t1 = query.features;
63807 t2 = _this._style === B.OutputStyle_compressed ? "and " : " and ";
63808 t3 = _this._serialize$_buffer;
63809 _this._writeBetween$3(t1, t2, t3.get$write(t3));
63810 },
63811 visitCssStyleRule$1(node) {
63812 var t1, _this = this;
63813 _this._writeIndentation$0();
63814 t1 = _this._serialize$_buffer;
63815 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
63816 if (_this._style !== B.OutputStyle_compressed)
63817 t1.writeCharCode$1(32);
63818 _this._serialize$_visitChildren$1(node.children);
63819 },
63820 visitCssSupportsRule$1(node) {
63821 var t1, _this = this;
63822 _this._writeIndentation$0();
63823 t1 = _this._serialize$_buffer;
63824 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
63825 if (_this._style !== B.OutputStyle_compressed)
63826 t1.writeCharCode$1(32);
63827 _this._serialize$_visitChildren$1(node.children);
63828 },
63829 visitCssDeclaration$1(node) {
63830 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
63831 _this._writeIndentation$0();
63832 t1 = node.name;
63833 _this._serialize$_write$1(t1);
63834 t2 = _this._serialize$_buffer;
63835 t2.writeCharCode$1(58);
63836 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
63837 t1 = node.value;
63838 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
63839 } else {
63840 if (_this._style !== B.OutputStyle_compressed)
63841 t2.writeCharCode$1(32);
63842 try {
63843 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
63844 } catch (exception) {
63845 t1 = A.unwrapException(exception);
63846 if (t1 instanceof A.MultiSpanSassScriptException) {
63847 error = t1;
63848 stackTrace = A.getTraceFromException(exception);
63849 t1 = error.message;
63850 t2 = node.value;
63851 t2 = t2.get$span(t2);
63852 A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
63853 } else if (t1 instanceof A.SassScriptException) {
63854 error0 = t1;
63855 stackTrace0 = A.getTraceFromException(exception);
63856 t1 = node.value;
63857 A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
63858 } else
63859 throw exception;
63860 }
63861 }
63862 },
63863 _writeFoldedValue$1(node) {
63864 var t2, next, t3,
63865 t1 = node.value,
63866 scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
63867 for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
63868 next = scanner.readChar$0();
63869 if (next !== 10) {
63870 t2.writeCharCode$1(next);
63871 continue;
63872 }
63873 t2.writeCharCode$1(32);
63874 while (true) {
63875 t3 = scanner.peekChar$0();
63876 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
63877 break;
63878 scanner.readChar$0();
63879 }
63880 }
63881 },
63882 _writeReindentedValue$1(node) {
63883 var _this = this,
63884 t1 = node.value,
63885 value = type$.SassString._as(t1.get$value(t1))._string$_text,
63886 minimumIndentation = _this._minimumIndentation$1(value);
63887 if (minimumIndentation == null) {
63888 _this._serialize$_buffer.write$1(0, value);
63889 return;
63890 } else if (minimumIndentation === -1) {
63891 t1 = _this._serialize$_buffer;
63892 t1.write$1(0, A.trimAsciiRight(value, true));
63893 t1.writeCharCode$1(32);
63894 return;
63895 }
63896 t1 = node.name;
63897 t1 = t1.get$span(t1);
63898 t1 = A.FileLocation$_(t1.file, t1._file$_start);
63899 _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
63900 },
63901 _minimumIndentation$1(text) {
63902 var character, t2, min, next, min0,
63903 scanner = A.LineScanner$(text),
63904 t1 = scanner.string.length;
63905 while (true) {
63906 if (scanner._string_scanner$_position !== t1) {
63907 character = scanner.super$StringScanner$readChar();
63908 scanner._adjustLineAndColumn$1(character);
63909 t2 = character !== 10;
63910 } else
63911 t2 = false;
63912 if (!t2)
63913 break;
63914 }
63915 if (scanner._string_scanner$_position === t1)
63916 return scanner.peekChar$1(-1) === 10 ? -1 : null;
63917 for (min = null; scanner._string_scanner$_position !== t1;) {
63918 for (; scanner._string_scanner$_position !== t1;) {
63919 next = scanner.peekChar$0();
63920 if (next !== 32 && next !== 9)
63921 break;
63922 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
63923 }
63924 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
63925 continue;
63926 min0 = scanner._line_scanner$_column;
63927 min = min == null ? min0 : Math.min(min, min0);
63928 while (true) {
63929 if (scanner._string_scanner$_position !== t1) {
63930 character = scanner.super$StringScanner$readChar();
63931 scanner._adjustLineAndColumn$1(character);
63932 t2 = character !== 10;
63933 } else
63934 t2 = false;
63935 if (!t2)
63936 break;
63937 }
63938 }
63939 return min == null ? -1 : min;
63940 },
63941 _writeWithIndent$2(text, minimumIndentation) {
63942 var t1, t2, t3, character, lineStart, newlines, end,
63943 scanner = A.LineScanner$(text);
63944 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
63945 character = scanner.super$StringScanner$readChar();
63946 scanner._adjustLineAndColumn$1(character);
63947 if (character === 10)
63948 break;
63949 t3.writeCharCode$1(character);
63950 }
63951 for (; true;) {
63952 lineStart = scanner._string_scanner$_position;
63953 for (newlines = 1; true;) {
63954 if (scanner._string_scanner$_position === t2) {
63955 t3.writeCharCode$1(32);
63956 return;
63957 }
63958 character = scanner.super$StringScanner$readChar();
63959 scanner._adjustLineAndColumn$1(character);
63960 if (character === 32 || character === 9)
63961 continue;
63962 if (character !== 10)
63963 break;
63964 lineStart = scanner._string_scanner$_position;
63965 ++newlines;
63966 }
63967 this._writeTimes$2(10, newlines);
63968 this._writeIndentation$0();
63969 end = scanner._string_scanner$_position;
63970 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
63971 for (; true;) {
63972 if (scanner._string_scanner$_position === t2)
63973 return;
63974 character = scanner.super$StringScanner$readChar();
63975 scanner._adjustLineAndColumn$1(character);
63976 if (character === 10)
63977 break;
63978 t3.writeCharCode$1(character);
63979 }
63980 }
63981 },
63982 _writeCalculationValue$1(value) {
63983 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
63984 if (value instanceof A.Value)
63985 value.accept$1(_this);
63986 else if (value instanceof A.CalculationInterpolation)
63987 _this._serialize$_buffer.write$1(0, value.value);
63988 else if (value instanceof A.CalculationOperation) {
63989 left = value.left;
63990 if (!(left instanceof A.CalculationInterpolation))
63991 parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
63992 else
63993 parenthesizeLeft = true;
63994 if (parenthesizeLeft)
63995 _this._serialize$_buffer.writeCharCode$1(40);
63996 _this._writeCalculationValue$1(left);
63997 if (parenthesizeLeft)
63998 _this._serialize$_buffer.writeCharCode$1(41);
63999 operatorWhitespace = _this._style !== B.OutputStyle_compressed || value.operator.precedence === 1;
64000 if (operatorWhitespace)
64001 _this._serialize$_buffer.writeCharCode$1(32);
64002 t1 = _this._serialize$_buffer;
64003 t2 = value.operator;
64004 t1.write$1(0, t2.operator);
64005 if (operatorWhitespace)
64006 t1.writeCharCode$1(32);
64007 right = value.right;
64008 if (!(right instanceof A.CalculationInterpolation))
64009 parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
64010 else
64011 parenthesizeRight = true;
64012 if (parenthesizeRight)
64013 t1.writeCharCode$1(40);
64014 _this._writeCalculationValue$1(right);
64015 if (parenthesizeRight)
64016 t1.writeCharCode$1(41);
64017 }
64018 },
64019 _parenthesizeCalculationRhs$2(outer, right) {
64020 if (outer === B.CalculationOperator_jB6)
64021 return true;
64022 if (outer === B.CalculationOperator_Iem)
64023 return false;
64024 return right === B.CalculationOperator_Iem || right === B.CalculationOperator_uti;
64025 },
64026 _writeRgb$1(value) {
64027 var t3,
64028 t1 = value._alpha,
64029 opaque = Math.abs(t1 - 1) < $.$get$epsilon(),
64030 t2 = this._serialize$_buffer;
64031 t2.write$1(0, opaque ? "rgb(" : "rgba(");
64032 t2.write$1(0, value.get$red(value));
64033 t3 = this._style === B.OutputStyle_compressed;
64034 t2.write$1(0, t3 ? "," : ", ");
64035 t2.write$1(0, value.get$green(value));
64036 t2.write$1(0, t3 ? "," : ", ");
64037 t2.write$1(0, value.get$blue(value));
64038 if (!opaque) {
64039 t2.write$1(0, t3 ? "," : ", ");
64040 this._writeNumber$1(t1);
64041 }
64042 t2.writeCharCode$1(41);
64043 },
64044 _canUseShortHex$1(color) {
64045 var t1 = color.get$red(color);
64046 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
64047 t1 = color.get$green(color);
64048 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
64049 t1 = color.get$blue(color);
64050 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
64051 } else
64052 t1 = false;
64053 } else
64054 t1 = false;
64055 return t1;
64056 },
64057 _writeHexComponent$1(color) {
64058 var t1 = this._serialize$_buffer;
64059 t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
64060 t1.writeCharCode$1(A.hexCharFor(color & 15));
64061 },
64062 visitList$1(value) {
64063 var t2, t3, singleton, t4, t5, _this = this,
64064 t1 = value._hasBrackets;
64065 if (t1)
64066 _this._serialize$_buffer.writeCharCode$1(91);
64067 else if (value._list$_contents.length === 0) {
64068 if (!_this._inspect)
64069 throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value."));
64070 _this._serialize$_buffer.write$1(0, "()");
64071 return;
64072 }
64073 t2 = _this._inspect;
64074 if (t2)
64075 if (value._list$_contents.length === 1) {
64076 t3 = value._separator;
64077 t3 = t3 === B.ListSeparator_kWM || t3 === B.ListSeparator_1gm;
64078 singleton = t3;
64079 } else
64080 singleton = false;
64081 else
64082 singleton = false;
64083 if (singleton && !t1)
64084 _this._serialize$_buffer.writeCharCode$1(40);
64085 t3 = value._list$_contents;
64086 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
64087 t4 = value._separator;
64088 t5 = _this._separatorString$1(t4);
64089 _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
64090 if (singleton) {
64091 t2 = _this._serialize$_buffer;
64092 t2.write$1(0, t4.separator);
64093 if (!t1)
64094 t2.writeCharCode$1(41);
64095 }
64096 if (t1)
64097 _this._serialize$_buffer.writeCharCode$1(93);
64098 },
64099 _separatorString$1(separator) {
64100 switch (separator) {
64101 case B.ListSeparator_kWM:
64102 return this._style === B.OutputStyle_compressed ? "," : ", ";
64103 case B.ListSeparator_1gm:
64104 return this._style === B.OutputStyle_compressed ? "/" : " / ";
64105 case B.ListSeparator_woc:
64106 return " ";
64107 default:
64108 return "";
64109 }
64110 },
64111 _elementNeedsParens$2(separator, value) {
64112 var t1;
64113 if (value instanceof A.SassList) {
64114 if (value._list$_contents.length < 2)
64115 return false;
64116 if (value._hasBrackets)
64117 return false;
64118 switch (separator) {
64119 case B.ListSeparator_kWM:
64120 return value._separator === B.ListSeparator_kWM;
64121 case B.ListSeparator_1gm:
64122 t1 = value._separator;
64123 return t1 === B.ListSeparator_kWM || t1 === B.ListSeparator_1gm;
64124 default:
64125 return value._separator !== B.ListSeparator_undecided_null;
64126 }
64127 }
64128 return false;
64129 },
64130 visitMap$1(map) {
64131 var t1, t2, _this = this;
64132 if (!_this._inspect)
64133 throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value."));
64134 t1 = _this._serialize$_buffer;
64135 t1.writeCharCode$1(40);
64136 t2 = map._map$_contents;
64137 _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
64138 t1.writeCharCode$1(41);
64139 },
64140 _writeMapElement$1(value) {
64141 var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_kWM && !value._hasBrackets;
64142 if (needsParens)
64143 this._serialize$_buffer.writeCharCode$1(40);
64144 value.accept$1(this);
64145 if (needsParens)
64146 this._serialize$_buffer.writeCharCode$1(41);
64147 },
64148 visitNumber$1(value) {
64149 var _this = this,
64150 asSlash = value.asSlash;
64151 if (asSlash != null) {
64152 _this.visitNumber$1(asSlash.item1);
64153 _this._serialize$_buffer.writeCharCode$1(47);
64154 _this.visitNumber$1(asSlash.item2);
64155 return;
64156 }
64157 _this._writeNumber$1(value._number$_value);
64158 if (!_this._inspect) {
64159 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
64160 throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value."));
64161 if (value.get$numeratorUnits(value).length !== 0)
64162 _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
64163 } else
64164 _this._serialize$_buffer.write$1(0, value.get$unitString());
64165 },
64166 _writeNumber$1(number) {
64167 var text, _this = this,
64168 integer = A.fuzzyIsInt(number) ? B.JSNumber_methods.round$0(number) : null;
64169 if (integer != null) {
64170 _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
64171 return;
64172 }
64173 text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
64174 if (text.length < 12) {
64175 if (_this._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
64176 text = B.JSString_methods.substring$1(text, 1);
64177 _this._serialize$_buffer.write$1(0, text);
64178 return;
64179 }
64180 _this._writeRounded$1(text);
64181 },
64182 _removeExponent$1(text) {
64183 var buffer, t3, additionalZeroes,
64184 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
64185 negative = t1 === 45,
64186 exponent = A._Cell$(),
64187 t2 = text.length,
64188 i = 0;
64189 while (true) {
64190 if (!(i < t2)) {
64191 buffer = null;
64192 break;
64193 }
64194 c$0: {
64195 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
64196 break c$0;
64197 buffer = new A.StringBuffer("");
64198 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
64199 if (negative) {
64200 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
64201 buffer._contents = t1;
64202 if (i > 3)
64203 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
64204 } else if (i > 2)
64205 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
64206 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
64207 break;
64208 }
64209 ++i;
64210 }
64211 if (buffer == null)
64212 return text;
64213 if (exponent._readLocal$0() > 0) {
64214 t1 = exponent._readLocal$0();
64215 t2 = buffer._contents;
64216 t3 = negative ? 1 : 0;
64217 additionalZeroes = t1 - (t2.length - 1 - t3);
64218 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
64219 t1 += A.Primitives_stringFromCharCode(48);
64220 buffer._contents = t1;
64221 }
64222 return t1.charCodeAt(0) == 0 ? t1 : t1;
64223 } else {
64224 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
64225 t2 = exponent.__late_helper$_name;
64226 i = -1;
64227 while (true) {
64228 t3 = exponent._value;
64229 if (t3 === exponent)
64230 A.throwExpression(A.LateError$localNI(t2));
64231 if (!(i > t3))
64232 break;
64233 t1 += A.Primitives_stringFromCharCode(48);
64234 --i;
64235 }
64236 if (negative) {
64237 t2 = buffer._contents;
64238 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
64239 } else
64240 t2 = buffer;
64241 t2 = t1 + A.S(t2);
64242 return t2.charCodeAt(0) == 0 ? t2 : t2;
64243 }
64244 },
64245 _writeRounded$1(text) {
64246 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
64247 if (B.JSString_methods.endsWith$1(text, ".0")) {
64248 _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
64249 return;
64250 }
64251 t1 = text.length;
64252 digits = new Uint8Array(t1 + 1);
64253 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
64254 textIndex = negative ? 1 : 0;
64255 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
64256 if (textIndex === t1) {
64257 _this._serialize$_buffer.write$1(0, text);
64258 return;
64259 }
64260 textIndex0 = textIndex + 1;
64261 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
64262 if (codeUnit === 46) {
64263 textIndex = textIndex0;
64264 break;
64265 }
64266 digitsIndex0 = digitsIndex + 1;
64267 digits[digitsIndex] = codeUnit - 48;
64268 }
64269 indexAfterPrecision = textIndex + 10;
64270 if (indexAfterPrecision >= t1) {
64271 _this._serialize$_buffer.write$1(0, text);
64272 return;
64273 }
64274 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
64275 digitsIndex1 = digitsIndex0 + 1;
64276 textIndex0 = textIndex + 1;
64277 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
64278 }
64279 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
64280 for (; true; digitsIndex0 = digitsIndex1) {
64281 digitsIndex1 = digitsIndex0 - 1;
64282 newDigit = digits[digitsIndex1] + 1;
64283 digits[digitsIndex1] = newDigit;
64284 if (newDigit !== 10)
64285 break;
64286 }
64287 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
64288 digits[digitsIndex0] = 0;
64289 while (true) {
64290 t1 = digitsIndex0 > digitsIndex;
64291 if (!(t1 && digits[digitsIndex0 - 1] === 0))
64292 break;
64293 --digitsIndex0;
64294 }
64295 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
64296 _this._serialize$_buffer.writeCharCode$1(48);
64297 return;
64298 }
64299 if (negative)
64300 _this._serialize$_buffer.writeCharCode$1(45);
64301 if (digits[0] === 0)
64302 writtenIndex = _this._style === B.OutputStyle_compressed && digits[1] === 0 ? 2 : 1;
64303 else
64304 writtenIndex = 0;
64305 for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
64306 t2.writeCharCode$1(48 + digits[writtenIndex]);
64307 if (t1) {
64308 t2.writeCharCode$1(46);
64309 for (; writtenIndex < digitsIndex0; ++writtenIndex)
64310 t2.writeCharCode$1(48 + digits[writtenIndex]);
64311 }
64312 },
64313 _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
64314 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
64315 buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
64316 if (forceDoubleQuote)
64317 buffer.writeCharCode$1(34);
64318 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
64319 char = B.JSString_methods._codeUnitAt$1(string, i);
64320 switch (char) {
64321 case 39:
64322 if (forceDoubleQuote)
64323 buffer.writeCharCode$1(39);
64324 else {
64325 if (includesDoubleQuote) {
64326 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64327 return;
64328 } else
64329 buffer.writeCharCode$1(39);
64330 includesSingleQuote = true;
64331 }
64332 break;
64333 case 34:
64334 if (forceDoubleQuote) {
64335 buffer.writeCharCode$1(92);
64336 buffer.writeCharCode$1(34);
64337 } else {
64338 if (includesSingleQuote) {
64339 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64340 return;
64341 } else
64342 buffer.writeCharCode$1(34);
64343 includesDoubleQuote = true;
64344 }
64345 break;
64346 case 0:
64347 case 1:
64348 case 2:
64349 case 3:
64350 case 4:
64351 case 5:
64352 case 6:
64353 case 7:
64354 case 8:
64355 case 10:
64356 case 11:
64357 case 12:
64358 case 13:
64359 case 14:
64360 case 15:
64361 case 16:
64362 case 17:
64363 case 18:
64364 case 19:
64365 case 20:
64366 case 21:
64367 case 22:
64368 case 23:
64369 case 24:
64370 case 25:
64371 case 26:
64372 case 27:
64373 case 28:
64374 case 29:
64375 case 30:
64376 case 31:
64377 _this._writeEscape$4(buffer, char, string, i);
64378 break;
64379 case 92:
64380 buffer.writeCharCode$1(92);
64381 buffer.writeCharCode$1(92);
64382 break;
64383 default:
64384 newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
64385 if (newIndex != null) {
64386 i = newIndex;
64387 break;
64388 }
64389 buffer.writeCharCode$1(char);
64390 break;
64391 }
64392 }
64393 if (forceDoubleQuote)
64394 buffer.writeCharCode$1(34);
64395 else {
64396 quote = includesDoubleQuote ? 39 : 34;
64397 t1 = _this._serialize$_buffer;
64398 t1.writeCharCode$1(quote);
64399 t1.write$1(0, buffer);
64400 t1.writeCharCode$1(quote);
64401 }
64402 },
64403 _visitQuotedString$1(string) {
64404 return this._visitQuotedString$2$forceDoubleQuote(string, false);
64405 },
64406 _visitUnquotedString$1(string) {
64407 var t1, t2, afterNewline, i, char, newIndex;
64408 for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
64409 char = B.JSString_methods._codeUnitAt$1(string, i);
64410 switch (char) {
64411 case 10:
64412 t2.writeCharCode$1(32);
64413 afterNewline = true;
64414 break;
64415 case 32:
64416 if (!afterNewline)
64417 t2.writeCharCode$1(32);
64418 break;
64419 default:
64420 newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
64421 if (newIndex != null) {
64422 i = newIndex;
64423 afterNewline = false;
64424 break;
64425 }
64426 t2.writeCharCode$1(char);
64427 afterNewline = false;
64428 break;
64429 }
64430 }
64431 },
64432 _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
64433 var t1;
64434 if (this._style === B.OutputStyle_compressed)
64435 return null;
64436 if (codeUnit >= 57344 && codeUnit <= 63743) {
64437 this._writeEscape$4(buffer, codeUnit, string, i);
64438 return i;
64439 }
64440 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
64441 t1 = i + 1;
64442 this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
64443 return t1;
64444 }
64445 return null;
64446 },
64447 _writeEscape$4(buffer, character, string, i) {
64448 var t1, next;
64449 buffer.writeCharCode$1(92);
64450 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
64451 t1 = i + 1;
64452 if (string.length === t1)
64453 return;
64454 next = B.JSString_methods._codeUnitAt$1(string, t1);
64455 if (A.isHex(next) || next === 32 || next === 9)
64456 buffer.writeCharCode$1(32);
64457 },
64458 visitComplexSelector$1(complex) {
64459 var t1, t2, t3, t4, lastComponent, _i, component, t5;
64460 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) {
64461 component = t1[_i];
64462 if (lastComponent != null)
64463 if (!(t4 && lastComponent instanceof A.Combinator))
64464 t5 = !(t4 && component instanceof A.Combinator);
64465 else
64466 t5 = false;
64467 else
64468 t5 = false;
64469 if (t5)
64470 t3.write$1(0, " ");
64471 if (component instanceof A.CompoundSelector)
64472 this.visitCompoundSelector$1(component);
64473 else
64474 t3.write$1(0, component);
64475 }
64476 },
64477 visitCompoundSelector$1(compound) {
64478 var t2, t3, _i,
64479 t1 = this._serialize$_buffer,
64480 start = t1.get$length(t1);
64481 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
64482 t2[_i].accept$1(this);
64483 if (t1.get$length(t1) === start)
64484 t1.writeCharCode$1(42);
64485 },
64486 visitSelectorList$1(list) {
64487 var t1, t2, t3, first, t4, _this = this,
64488 complexes = list.components;
64489 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();) {
64490 t4 = t1.get$current(t1);
64491 if (first)
64492 first = false;
64493 else {
64494 t3.writeCharCode$1(44);
64495 if (t4.lineBreak) {
64496 if (t2)
64497 t3.write$1(0, "\n");
64498 } else if (t2)
64499 t3.writeCharCode$1(32);
64500 }
64501 _this.visitComplexSelector$1(t4);
64502 }
64503 },
64504 visitPseudoSelector$1(pseudo) {
64505 var t3, t4, t5,
64506 innerSelector = pseudo.selector,
64507 t1 = innerSelector == null,
64508 t2 = !t1;
64509 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
64510 return;
64511 t3 = this._serialize$_buffer;
64512 t3.writeCharCode$1(58);
64513 if (!pseudo.isSyntacticClass)
64514 t3.writeCharCode$1(58);
64515 t3.write$1(0, pseudo.name);
64516 t4 = pseudo.argument;
64517 t5 = t4 == null;
64518 if (t5 && t1)
64519 return;
64520 t3.writeCharCode$1(40);
64521 if (!t5) {
64522 t3.write$1(0, t4);
64523 if (t2)
64524 t3.writeCharCode$1(32);
64525 }
64526 if (t2)
64527 this.visitSelectorList$1(innerSelector);
64528 t3.writeCharCode$1(41);
64529 },
64530 _serialize$_write$1(value) {
64531 return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
64532 },
64533 _serialize$_visitChildren$1(children) {
64534 var _this = this, t1 = {},
64535 t2 = _this._serialize$_buffer;
64536 t2.writeCharCode$1(123);
64537 if (children.every$1(children, _this.get$_isInvisible())) {
64538 t2.writeCharCode$1(125);
64539 return;
64540 }
64541 _this._writeLineFeed$0();
64542 t1.previous_ = null;
64543 ++_this._indentation;
64544 new A._SerializeVisitor__visitChildren_closure(t1, _this, children).call$0();
64545 --_this._indentation;
64546 t1 = t1.previous_;
64547 t1.toString;
64548 if ((type$.CssParentNode._is(t1) ? t1.get$isChildless() : !type$.CssComment._is(t1)) && _this._style !== B.OutputStyle_compressed)
64549 t2.writeCharCode$1(59);
64550 _this._writeLineFeed$0();
64551 _this._writeIndentation$0();
64552 t2.writeCharCode$1(125);
64553 },
64554 _writeLineFeed$0() {
64555 if (this._style !== B.OutputStyle_compressed)
64556 this._serialize$_buffer.write$1(0, "\n");
64557 },
64558 _writeIndentation$0() {
64559 var _this = this;
64560 if (_this._style === B.OutputStyle_compressed)
64561 return;
64562 _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
64563 },
64564 _writeTimes$2(char, times) {
64565 var t1, i;
64566 for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
64567 t1.writeCharCode$1(char);
64568 },
64569 _writeBetween$1$3(iterable, text, callback) {
64570 var t1, t2, first, value;
64571 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
64572 value = t1.get$current(t1);
64573 if (first)
64574 first = false;
64575 else
64576 t2.write$1(0, text);
64577 callback.call$1(value);
64578 }
64579 },
64580 _writeBetween$3(iterable, text, callback) {
64581 return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
64582 },
64583 _isInvisible$1(node) {
64584 if (this._inspect)
64585 return false;
64586 if (this._style === B.OutputStyle_compressed && type$.CssComment._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
64587 return true;
64588 if (type$.CssParentNode._is(node)) {
64589 if (type$.CssAtRule._is(node))
64590 return false;
64591 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
64592 return true;
64593 return J.every$1$ax(node.get$children(node), this.get$_isInvisible());
64594 } else
64595 return false;
64596 }
64597 };
64598 A._SerializeVisitor_visitCssComment_closure.prototype = {
64599 call$0() {
64600 var t2, t3, minimumIndentation,
64601 t1 = this.$this;
64602 if (t1._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
64603 return;
64604 t2 = this.node;
64605 t3 = t2.text;
64606 minimumIndentation = t1._minimumIndentation$1(t3);
64607 if (minimumIndentation == null) {
64608 t1._writeIndentation$0();
64609 t1._serialize$_buffer.write$1(0, t3);
64610 return;
64611 }
64612 t2 = t2.span;
64613 t2 = A.FileLocation$_(t2.file, t2._file$_start);
64614 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
64615 t1._writeIndentation$0();
64616 t1._writeWithIndent$2(t3, minimumIndentation);
64617 },
64618 $signature: 1
64619 };
64620 A._SerializeVisitor_visitCssAtRule_closure.prototype = {
64621 call$0() {
64622 var t3, value,
64623 t1 = this.$this,
64624 t2 = t1._serialize$_buffer;
64625 t2.writeCharCode$1(64);
64626 t3 = this.node;
64627 t1._serialize$_write$1(t3.name);
64628 value = t3.value;
64629 if (value != null) {
64630 t2.writeCharCode$1(32);
64631 t1._serialize$_write$1(value);
64632 }
64633 },
64634 $signature: 1
64635 };
64636 A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
64637 call$0() {
64638 var t3, t4,
64639 t1 = this.$this,
64640 t2 = t1._serialize$_buffer;
64641 t2.write$1(0, "@media");
64642 t3 = t1._style === B.OutputStyle_compressed;
64643 if (t3) {
64644 t4 = B.JSArray_methods.get$first(this.node.queries);
64645 t4 = !(t4.modifier == null && t4.type == null);
64646 } else
64647 t4 = true;
64648 if (t4)
64649 t2.writeCharCode$1(32);
64650 t2 = t3 ? "," : ", ";
64651 t1._writeBetween$3(this.node.queries, t2, t1.get$_visitMediaQuery());
64652 },
64653 $signature: 1
64654 };
64655 A._SerializeVisitor_visitCssImport_closure.prototype = {
64656 call$0() {
64657 var t3, t4, t5, modifiers,
64658 t1 = this.$this,
64659 t2 = t1._serialize$_buffer;
64660 t2.write$1(0, "@import");
64661 t3 = t1._style !== B.OutputStyle_compressed;
64662 if (t3)
64663 t2.writeCharCode$1(32);
64664 t4 = this.node;
64665 t5 = t4.url;
64666 t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure(t1, t4));
64667 modifiers = t4.modifiers;
64668 if (modifiers != null) {
64669 if (t3)
64670 t2.writeCharCode$1(32);
64671 t2.write$1(0, modifiers);
64672 }
64673 },
64674 $signature: 1
64675 };
64676 A._SerializeVisitor_visitCssImport__closure.prototype = {
64677 call$0() {
64678 var t1 = this.node.url;
64679 return this.$this._writeImportUrl$1(t1.get$value(t1));
64680 },
64681 $signature: 0
64682 };
64683 A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
64684 call$0() {
64685 var t1 = this.$this,
64686 t2 = t1._style === B.OutputStyle_compressed ? "," : ", ",
64687 t3 = t1._serialize$_buffer;
64688 return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
64689 },
64690 $signature: 0
64691 };
64692 A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
64693 call$0() {
64694 return this.$this.visitSelectorList$1(this.node.selector.value);
64695 },
64696 $signature: 0
64697 };
64698 A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
64699 call$0() {
64700 var t1 = this.$this,
64701 t2 = t1._serialize$_buffer;
64702 t2.write$1(0, "@supports");
64703 if (!(t1._style === B.OutputStyle_compressed && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
64704 t2.writeCharCode$1(32);
64705 t1._serialize$_write$1(this.node.condition);
64706 },
64707 $signature: 1
64708 };
64709 A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
64710 call$0() {
64711 var t1 = this.$this,
64712 t2 = this.node;
64713 if (t1._style === B.OutputStyle_compressed)
64714 t1._writeFoldedValue$1(t2);
64715 else
64716 t1._writeReindentedValue$1(t2);
64717 },
64718 $signature: 1
64719 };
64720 A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
64721 call$0() {
64722 var t1 = this.node.value;
64723 return t1.get$value(t1).accept$1(this.$this);
64724 },
64725 $signature: 0
64726 };
64727 A._SerializeVisitor_visitList_closure.prototype = {
64728 call$1(element) {
64729 return !element.get$isBlank();
64730 },
64731 $signature: 62
64732 };
64733 A._SerializeVisitor_visitList_closure0.prototype = {
64734 call$1(element) {
64735 var t1 = this.$this,
64736 needsParens = t1._elementNeedsParens$2(this.value._separator, element);
64737 if (needsParens)
64738 t1._serialize$_buffer.writeCharCode$1(40);
64739 element.accept$1(t1);
64740 if (needsParens)
64741 t1._serialize$_buffer.writeCharCode$1(41);
64742 },
64743 $signature: 56
64744 };
64745 A._SerializeVisitor_visitList_closure1.prototype = {
64746 call$1(element) {
64747 element.accept$1(this.$this);
64748 },
64749 $signature: 56
64750 };
64751 A._SerializeVisitor_visitMap_closure.prototype = {
64752 call$1(entry) {
64753 var t1 = this.$this;
64754 t1._writeMapElement$1(entry.key);
64755 t1._serialize$_buffer.write$1(0, ": ");
64756 t1._writeMapElement$1(entry.value);
64757 },
64758 $signature: 270
64759 };
64760 A._SerializeVisitor_visitSelectorList_closure.prototype = {
64761 call$1(complex) {
64762 return !complex.get$isInvisible();
64763 },
64764 $signature: 19
64765 };
64766 A._SerializeVisitor__write_closure.prototype = {
64767 call$0() {
64768 var t1 = this.value;
64769 return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
64770 },
64771 $signature: 0
64772 };
64773 A._SerializeVisitor__visitChildren_closure.prototype = {
64774 call$0() {
64775 var t1, t2, t3, t4, t5, t6, t7, i, child, previous, t8;
64776 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) {
64777 child = t2.elementAt$1(t1, i);
64778 if (t4._isInvisible$1(child))
64779 continue;
64780 previous = t3.previous_;
64781 if (previous != null) {
64782 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
64783 t7.writeCharCode$1(59);
64784 t8 = t4._style !== B.OutputStyle_compressed;
64785 if (t8)
64786 t7.write$1(0, "\n");
64787 if (previous.get$isGroupEnd())
64788 if (t8)
64789 t7.write$1(0, "\n");
64790 }
64791 t3.previous_ = child;
64792 child.accept$1(t4);
64793 }
64794 },
64795 $signature: 0
64796 };
64797 A.OutputStyle.prototype = {
64798 toString$0(_) {
64799 return this._name;
64800 }
64801 };
64802 A.LineFeed.prototype = {
64803 toString$0(_) {
64804 return "lf";
64805 }
64806 };
64807 A.SerializeResult.prototype = {};
64808 A.StatementSearchVisitor.prototype = {
64809 visitAtRootRule$1(node) {
64810 return this.visitChildren$1(node.children);
64811 },
64812 visitAtRule$1(node) {
64813 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64814 },
64815 visitContentBlock$1(node) {
64816 return this.visitChildren$1(node.children);
64817 },
64818 visitDebugRule$1(node) {
64819 return null;
64820 },
64821 visitDeclaration$1(node) {
64822 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64823 },
64824 visitEachRule$1(node) {
64825 return this.visitChildren$1(node.children);
64826 },
64827 visitErrorRule$1(node) {
64828 return null;
64829 },
64830 visitExtendRule$1(node) {
64831 return null;
64832 },
64833 visitForRule$1(node) {
64834 return this.visitChildren$1(node.children);
64835 },
64836 visitForwardRule$1(node) {
64837 return null;
64838 },
64839 visitFunctionRule$1(node) {
64840 return this.visitChildren$1(node.children);
64841 },
64842 visitIfRule$1(node) {
64843 var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
64844 return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
64845 },
64846 visitImportRule$1(node) {
64847 return null;
64848 },
64849 visitIncludeRule$1(node) {
64850 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
64851 },
64852 visitLoudComment$1(node) {
64853 return null;
64854 },
64855 visitMediaRule$1(node) {
64856 return this.visitChildren$1(node.children);
64857 },
64858 visitMixinRule$1(node) {
64859 return this.visitChildren$1(node.children);
64860 },
64861 visitReturnRule$1(node) {
64862 return null;
64863 },
64864 visitSilentComment$1(node) {
64865 return null;
64866 },
64867 visitStyleRule$1(node) {
64868 return this.visitChildren$1(node.children);
64869 },
64870 visitStylesheet$1(node) {
64871 return this.visitChildren$1(node.children);
64872 },
64873 visitSupportsRule$1(node) {
64874 return this.visitChildren$1(node.children);
64875 },
64876 visitUseRule$1(node) {
64877 return null;
64878 },
64879 visitVariableDeclaration$1(node) {
64880 return null;
64881 },
64882 visitWarnRule$1(node) {
64883 return null;
64884 },
64885 visitWhileRule$1(node) {
64886 return this.visitChildren$1(node.children);
64887 },
64888 visitChildren$1(children) {
64889 return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
64890 }
64891 };
64892 A.StatementSearchVisitor_visitIfRule_closure.prototype = {
64893 call$1(clause) {
64894 return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
64895 },
64896 $signature() {
64897 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
64898 }
64899 };
64900 A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
64901 call$1(child) {
64902 return child.accept$1(this.$this);
64903 },
64904 $signature() {
64905 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64906 }
64907 };
64908 A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
64909 call$1(lastClause) {
64910 return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
64911 },
64912 $signature() {
64913 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
64914 }
64915 };
64916 A.StatementSearchVisitor_visitIfRule__closure.prototype = {
64917 call$1(child) {
64918 return child.accept$1(this.$this);
64919 },
64920 $signature() {
64921 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64922 }
64923 };
64924 A.StatementSearchVisitor_visitChildren_closure.prototype = {
64925 call$1(child) {
64926 return child.accept$1(this.$this);
64927 },
64928 $signature() {
64929 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64930 }
64931 };
64932 A.Entry.prototype = {
64933 compareTo$1(_, other) {
64934 var t1, t2,
64935 res = this.target.compareTo$1(0, other.target);
64936 if (res !== 0)
64937 return res;
64938 t1 = this.source;
64939 t2 = other.source;
64940 res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
64941 if (res !== 0)
64942 return res;
64943 return t1.compareTo$1(0, t2);
64944 },
64945 $isComparable: 1
64946 };
64947 A.Mapping.prototype = {};
64948 A.SingleMapping.prototype = {
64949 toJson$1$includeSourceContents(includeSourceContents) {
64950 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,
64951 buff = new A.StringBuffer("");
64952 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) {
64953 entry = t1[_i];
64954 nextLine = entry.line;
64955 if (nextLine > line) {
64956 for (i = line; i < nextLine; ++i)
64957 buff._contents += ";";
64958 line = nextLine;
64959 column = 0;
64960 first = true;
64961 }
64962 for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
64963 t4 = t3.get$current(t3);
64964 if (!first)
64965 buff._contents += ",";
64966 column0 = t4.column;
64967 t5 = A.encodeVlq(column0 - column);
64968 t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
64969 buff._contents = t5;
64970 newUrlId = t4.sourceUrlId;
64971 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
64972 buff._contents = t5;
64973 srcLine0 = t4.sourceLine;
64974 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
64975 buff._contents = t5;
64976 srcColumn0 = t4.sourceColumn;
64977 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
64978 buff._contents = t5;
64979 srcNameId0 = t4.sourceNameId;
64980 if (srcNameId0 == null) {
64981 srcUrlId = newUrlId;
64982 srcColumn = srcColumn0;
64983 srcLine = srcLine0;
64984 continue;
64985 }
64986 buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
64987 srcNameId = srcNameId0;
64988 srcUrlId = newUrlId;
64989 srcColumn = srcColumn0;
64990 srcLine = srcLine0;
64991 }
64992 }
64993 t1 = _this.sourceRoot;
64994 if (t1 == null)
64995 t1 = "";
64996 t2 = buff._contents;
64997 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);
64998 t1 = _this.targetUrl;
64999 if (t1 != null)
65000 result.$indexSet(0, "file", t1);
65001 if (includeSourceContents) {
65002 t1 = _this.files;
65003 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
65004 result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
65005 }
65006 _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
65007 return result;
65008 },
65009 toJson$0() {
65010 return this.toJson$1$includeSourceContents(false);
65011 },
65012 toString$0(_) {
65013 var _this = this,
65014 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) + "]";
65015 return t1.charCodeAt(0) == 0 ? t1 : t1;
65016 }
65017 };
65018 A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
65019 call$0() {
65020 return this.urls.__js_helper$_length;
65021 },
65022 $signature: 12
65023 };
65024 A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
65025 call$0() {
65026 return this.sourceEntry.source.file;
65027 },
65028 $signature: 271
65029 };
65030 A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
65031 call$1(i) {
65032 return this.files.$index(0, i);
65033 },
65034 $signature: 272
65035 };
65036 A.SingleMapping_toJson_closure.prototype = {
65037 call$1(file) {
65038 return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
65039 },
65040 $signature: 273
65041 };
65042 A.SingleMapping_toJson_closure0.prototype = {
65043 call$2($name, value) {
65044 this.result.$indexSet(0, $name, value);
65045 return value;
65046 },
65047 $signature: 255
65048 };
65049 A.TargetLineEntry.prototype = {
65050 toString$0(_) {
65051 return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
65052 }
65053 };
65054 A.TargetEntry.prototype = {
65055 toString$0(_) {
65056 var _this = this;
65057 return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
65058 }
65059 };
65060 A.SourceFile.prototype = {
65061 get$length(_) {
65062 return this._decodedChars.length;
65063 },
65064 get$lines() {
65065 return this._lineStarts.length;
65066 },
65067 SourceFile$decoded$2$url(decodedChars, url) {
65068 var t1, t2, t3, i, c, j;
65069 for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
65070 c = t1[i];
65071 if (c === 13) {
65072 j = i + 1;
65073 if (j >= t2 || t1[j] !== 10)
65074 c = 10;
65075 }
65076 if (c === 10)
65077 t3.push(i + 1);
65078 }
65079 },
65080 span$2(_, start, end) {
65081 return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
65082 },
65083 span$1($receiver, start) {
65084 return this.span$2($receiver, start, null);
65085 },
65086 getLine$1(offset) {
65087 var t1, _this = this;
65088 if (offset < 0)
65089 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
65090 else if (offset > _this._decodedChars.length)
65091 throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
65092 t1 = _this._lineStarts;
65093 if (offset < B.JSArray_methods.get$first(t1))
65094 return -1;
65095 if (offset >= B.JSArray_methods.get$last(t1))
65096 return t1.length - 1;
65097 if (_this._isNearCachedLine$1(offset)) {
65098 t1 = _this._cachedLine;
65099 t1.toString;
65100 return t1;
65101 }
65102 return _this._cachedLine = _this._binarySearch$1(offset) - 1;
65103 },
65104 _isNearCachedLine$1(offset) {
65105 var t2, t3,
65106 t1 = this._cachedLine;
65107 if (t1 == null)
65108 return false;
65109 t2 = this._lineStarts;
65110 if (offset < t2[t1])
65111 return false;
65112 t3 = t2.length;
65113 if (t1 >= t3 - 1 || offset < t2[t1 + 1])
65114 return true;
65115 if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
65116 this._cachedLine = t1 + 1;
65117 return true;
65118 }
65119 return false;
65120 },
65121 _binarySearch$1(offset) {
65122 var min, half,
65123 t1 = this._lineStarts,
65124 max = t1.length - 1;
65125 for (min = 0; min < max;) {
65126 half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
65127 if (t1[half] > offset)
65128 max = half;
65129 else
65130 min = half + 1;
65131 }
65132 return max;
65133 },
65134 getColumn$1(offset) {
65135 var line, lineStart, _this = this;
65136 if (offset < 0)
65137 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
65138 else if (offset > _this._decodedChars.length)
65139 throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
65140 line = _this.getLine$1(offset);
65141 lineStart = _this._lineStarts[line];
65142 if (lineStart > offset)
65143 throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
65144 return offset - lineStart;
65145 },
65146 getOffset$1(line) {
65147 var t1, t2, result, t3;
65148 if (line < 0)
65149 throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
65150 else {
65151 t1 = this._lineStarts;
65152 t2 = t1.length;
65153 if (line >= t2)
65154 throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
65155 }
65156 result = t1[line];
65157 if (result <= this._decodedChars.length) {
65158 t3 = line + 1;
65159 t1 = t3 < t2 && result >= t1[t3];
65160 } else
65161 t1 = true;
65162 if (t1)
65163 throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
65164 return result;
65165 }
65166 };
65167 A.FileLocation.prototype = {
65168 get$sourceUrl(_) {
65169 return this.file.url;
65170 },
65171 get$line() {
65172 return this.file.getLine$1(this.offset);
65173 },
65174 get$column() {
65175 return this.file.getColumn$1(this.offset);
65176 },
65177 pointSpan$0() {
65178 var t1 = this.offset;
65179 return A._FileSpan$(this.file, t1, t1);
65180 },
65181 get$offset() {
65182 return this.offset;
65183 }
65184 };
65185 A._FileSpan.prototype = {
65186 get$sourceUrl(_) {
65187 return this.file.url;
65188 },
65189 get$length(_) {
65190 return this._end - this._file$_start;
65191 },
65192 get$start(_) {
65193 return A.FileLocation$_(this.file, this._file$_start);
65194 },
65195 get$end(_) {
65196 return A.FileLocation$_(this.file, this._end);
65197 },
65198 get$text() {
65199 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
65200 },
65201 get$context(_) {
65202 var _this = this,
65203 t1 = _this.file,
65204 endOffset = _this._end,
65205 endLine = t1.getLine$1(endOffset);
65206 if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
65207 if (endOffset - _this._file$_start === 0)
65208 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);
65209 } else
65210 endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
65211 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
65212 },
65213 _FileSpan$3(file, _start, _end) {
65214 var t3,
65215 t1 = this._end,
65216 t2 = this._file$_start;
65217 if (t1 < t2)
65218 throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
65219 else {
65220 t3 = this.file;
65221 if (t1 > t3._decodedChars.length)
65222 throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
65223 else if (t2 < 0)
65224 throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
65225 }
65226 },
65227 compareTo$1(_, other) {
65228 var result;
65229 if (!(other instanceof A._FileSpan))
65230 return this.super$SourceSpanMixin$compareTo(0, other);
65231 result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
65232 return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
65233 },
65234 $eq(_, other) {
65235 var _this = this;
65236 if (other == null)
65237 return false;
65238 if (!type$.FileSpan._is(other))
65239 return _this.super$SourceSpanMixin$$eq(0, other);
65240 return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
65241 },
65242 get$hashCode(_) {
65243 return A.Object_hash(this._file$_start, this._end, this.file.url);
65244 },
65245 expand$1(_, other) {
65246 var start, _this = this,
65247 t1 = _this.file;
65248 if (!J.$eq$(t1.url, other.file.url))
65249 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65250 start = Math.min(_this._file$_start, other._file$_start);
65251 return A._FileSpan$(t1, start, Math.max(_this._end, other._end));
65252 },
65253 $isFileSpan: 1,
65254 $isSourceSpanWithContext: 1
65255 };
65256 A.Highlighter.prototype = {
65257 highlight$0() {
65258 var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
65259 t1 = _this._lines;
65260 _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
65261 t2 = _this._maxMultilineSpans;
65262 highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
65263 for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
65264 line = t1[i];
65265 if (i > 0) {
65266 lastLine = t1[i - 1];
65267 t5 = lastLine.url;
65268 t6 = line.url;
65269 if (!J.$eq$(t5, t6)) {
65270 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65271 t3._contents += "\n";
65272 _this._writeFileStart$1(t6);
65273 } else if (lastLine.number + 1 !== line.number) {
65274 _this._writeSidebar$1$text("...");
65275 t3._contents += "\n";
65276 }
65277 }
65278 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();) {
65279 t10 = t6.__internal$_current;
65280 if (t10 == null)
65281 t10 = t7._as(t10);
65282 t11 = t10.span;
65283 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()))) {
65284 index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
65285 if (index < 0)
65286 A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
65287 highlightsByColumn[index] = t10;
65288 }
65289 }
65290 _this._writeSidebar$1$line(t8);
65291 t3._contents += " ";
65292 _this._writeMultilineHighlights$2(line, highlightsByColumn);
65293 if (t2)
65294 t3._contents += " ";
65295 primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
65296 primary = primaryIdx === -1 ? _null : t5[primaryIdx];
65297 t6 = primary != null;
65298 if (t6) {
65299 t7 = primary.span;
65300 t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
65301 _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
65302 } else
65303 _this._writeText$1(t9);
65304 t3._contents += "\n";
65305 if (t6)
65306 _this._writeIndicator$3(line, primary, highlightsByColumn);
65307 for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
65308 highlight = t5[_i];
65309 if (highlight.isPrimary)
65310 continue;
65311 _this._writeIndicator$3(line, highlight, highlightsByColumn);
65312 }
65313 }
65314 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65315 t1 = t3._contents;
65316 return t1.charCodeAt(0) == 0 ? t1 : t1;
65317 },
65318 _writeFileStart$1(url) {
65319 var _this = this,
65320 t1 = !_this._multipleFiles || !type$.Uri._is(url),
65321 t2 = $._glyphs;
65322 if (t1)
65323 _this._writeSidebar$1$end(t2.get$downEnd());
65324 else {
65325 _this._writeSidebar$1$end(t2.get$topLeftCorner());
65326 _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
65327 _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
65328 }
65329 _this._highlighter$_buffer._contents += "\n";
65330 },
65331 _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
65332 var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
65333 _box_0.openedOnThisLine = false;
65334 _box_0.openedOnThisLineColor = null;
65335 t1 = current == null;
65336 if (t1)
65337 currentColor = null;
65338 else
65339 currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
65340 for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
65341 highlight = highlightsByColumn[_i];
65342 t6 = highlight == null;
65343 if (t6)
65344 startLine = null;
65345 else {
65346 t7 = highlight.span;
65347 startLine = t7.get$start(t7).get$line();
65348 }
65349 if (t6)
65350 endLine = null;
65351 else {
65352 t7 = highlight.span;
65353 endLine = t7.get$end(t7).get$line();
65354 }
65355 if (t1 && highlight === current) {
65356 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
65357 foundCurrent = true;
65358 } else if (foundCurrent)
65359 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
65360 else if (t6)
65361 if (_box_0.openedOnThisLine)
65362 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
65363 else
65364 t5._contents += " ";
65365 else {
65366 t6 = highlight.isPrimary ? t4 : t3;
65367 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
65368 }
65369 }
65370 },
65371 _writeMultilineHighlights$2(line, highlightsByColumn) {
65372 return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
65373 },
65374 _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
65375 var _this = this;
65376 _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
65377 _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
65378 _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
65379 },
65380 _writeIndicator$3(line, highlight, highlightsByColumn) {
65381 var t2, coversWholeLine, _this = this,
65382 color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
65383 t1 = highlight.span;
65384 if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
65385 _this._writeSidebar$0();
65386 t1 = _this._highlighter$_buffer;
65387 t1._contents += " ";
65388 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65389 if (highlightsByColumn.length !== 0)
65390 t1._contents += " ";
65391 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color);
65392 t1._contents += "\n";
65393 } else {
65394 t2 = line.number;
65395 if (t1.get$start(t1).get$line() === t2) {
65396 if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
65397 return;
65398 A.replaceFirstNull(highlightsByColumn, highlight);
65399 _this._writeSidebar$0();
65400 t1 = _this._highlighter$_buffer;
65401 t1._contents += " ";
65402 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65403 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
65404 t1._contents += "\n";
65405 } else if (t1.get$end(t1).get$line() === t2) {
65406 coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
65407 if (coversWholeLine && highlight.label == null) {
65408 A.replaceWithNull(highlightsByColumn, highlight);
65409 return;
65410 }
65411 _this._writeSidebar$0();
65412 t1 = _this._highlighter$_buffer;
65413 t1._contents += " ";
65414 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65415 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color);
65416 t1._contents += "\n";
65417 A.replaceWithNull(highlightsByColumn, highlight);
65418 }
65419 }
65420 },
65421 _writeArrow$3$beginning(line, column, beginning) {
65422 var t2,
65423 t1 = beginning ? 0 : 1,
65424 tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
65425 t1 = this._highlighter$_buffer;
65426 t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
65427 t1._contents = t2 + "^";
65428 },
65429 _writeArrow$2(line, column) {
65430 return this._writeArrow$3$beginning(line, column, true);
65431 },
65432 _writeText$1(text) {
65433 var t1, t2, t3, t4;
65434 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();) {
65435 t4 = t1.__internal$_current;
65436 if (t4 == null)
65437 t4 = t3._as(t4);
65438 if (t4 === 9)
65439 t2._contents += B.JSString_methods.$mul(" ", 4);
65440 else
65441 t2._contents += A.Primitives_stringFromCharCode(t4);
65442 }
65443 },
65444 _writeSidebar$3$end$line$text(end, line, text) {
65445 var t1 = {};
65446 t1.text = text;
65447 if (line != null)
65448 t1.text = B.JSInt_methods.toString$0(line + 1);
65449 this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
65450 },
65451 _writeSidebar$1$end(end) {
65452 return this._writeSidebar$3$end$line$text(end, null, null);
65453 },
65454 _writeSidebar$1$text(text) {
65455 return this._writeSidebar$3$end$line$text(null, null, text);
65456 },
65457 _writeSidebar$1$line(line) {
65458 return this._writeSidebar$3$end$line$text(null, line, null);
65459 },
65460 _writeSidebar$0() {
65461 return this._writeSidebar$3$end$line$text(null, null, null);
65462 },
65463 _countTabs$1(text) {
65464 var t1, t2, count, t3;
65465 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();) {
65466 t3 = t1.__internal$_current;
65467 if ((t3 == null ? t2._as(t3) : t3) === 9)
65468 ++count;
65469 }
65470 return count;
65471 },
65472 _isOnlyWhitespace$1(text) {
65473 var t1, t2, t3;
65474 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65475 t3 = t1.__internal$_current;
65476 if (t3 == null)
65477 t3 = t2._as(t3);
65478 if (t3 !== 32 && t3 !== 9)
65479 return false;
65480 }
65481 return true;
65482 },
65483 _colorize$2$color(callback, color) {
65484 var t1 = this._primaryColor != null;
65485 if (t1 && color != null)
65486 this._highlighter$_buffer._contents += color;
65487 callback.call$0();
65488 if (t1 && color != null)
65489 this._highlighter$_buffer._contents += "\x1b[0m";
65490 }
65491 };
65492 A.Highlighter_closure.prototype = {
65493 call$0() {
65494 var t1 = this.color,
65495 t2 = J.getInterceptor$(t1);
65496 if (t2.$eq(t1, true))
65497 return "\x1b[31m";
65498 if (t2.$eq(t1, false))
65499 return null;
65500 return A._asStringQ(t1);
65501 },
65502 $signature: 41
65503 };
65504 A.Highlighter$__closure.prototype = {
65505 call$1(line) {
65506 var t1 = line.highlights;
65507 t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
65508 return t1.get$length(t1);
65509 },
65510 $signature: 274
65511 };
65512 A.Highlighter$___closure.prototype = {
65513 call$1(highlight) {
65514 var t1 = highlight.span;
65515 return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
65516 },
65517 $signature: 138
65518 };
65519 A.Highlighter$__closure0.prototype = {
65520 call$1(line) {
65521 return line.url;
65522 },
65523 $signature: 276
65524 };
65525 A.Highlighter__collateLines_closure.prototype = {
65526 call$1(highlight) {
65527 var t1 = highlight.span;
65528 t1 = t1.get$sourceUrl(t1);
65529 return t1 == null ? new A.Object() : t1;
65530 },
65531 $signature: 277
65532 };
65533 A.Highlighter__collateLines_closure0.prototype = {
65534 call$2(highlight1, highlight2) {
65535 return highlight1.span.compareTo$1(0, highlight2.span);
65536 },
65537 $signature: 278
65538 };
65539 A.Highlighter__collateLines_closure1.prototype = {
65540 call$1(entry) {
65541 var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65542 url = entry.key,
65543 highlightsForFile = entry.value,
65544 lines = A._setArrayType([], type$.JSArray__Line);
65545 for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
65546 t4 = t2.get$current(t2).span;
65547 context = t4.get$context(t4);
65548 t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
65549 t5.toString;
65550 t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
65551 linesBeforeSpan = t5.get$length(t5);
65552 lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
65553 for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
65554 line = t4[_i];
65555 if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
65556 lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
65557 ++lineNumber;
65558 }
65559 }
65560 activeHighlights = A._setArrayType([], t3);
65561 for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
65562 line = lines[_i];
65563 if (!!activeHighlights.fixed$length)
65564 A.throwExpression(A.UnsupportedError$("removeWhere"));
65565 B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
65566 oldHighlightLength = activeHighlights.length;
65567 for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
65568 t4 = t3.get$current(t3);
65569 t5 = t4.span;
65570 if (t5.get$start(t5).get$line() > line.number)
65571 break;
65572 activeHighlights.push(t4);
65573 }
65574 highlightIndex += activeHighlights.length - oldHighlightLength;
65575 B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
65576 }
65577 return lines;
65578 },
65579 $signature: 279
65580 };
65581 A.Highlighter__collateLines__closure.prototype = {
65582 call$1(highlight) {
65583 var t1 = highlight.span;
65584 return t1.get$end(t1).get$line() < this.line.number;
65585 },
65586 $signature: 138
65587 };
65588 A.Highlighter_highlight_closure.prototype = {
65589 call$1(highlight) {
65590 return highlight.isPrimary;
65591 },
65592 $signature: 138
65593 };
65594 A.Highlighter__writeFileStart_closure.prototype = {
65595 call$0() {
65596 this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
65597 return null;
65598 },
65599 $signature: 0
65600 };
65601 A.Highlighter__writeMultilineHighlights_closure.prototype = {
65602 call$0() {
65603 var t1 = $._glyphs;
65604 t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
65605 this.$this._highlighter$_buffer._contents += t1;
65606 },
65607 $signature: 0
65608 };
65609 A.Highlighter__writeMultilineHighlights_closure0.prototype = {
65610 call$0() {
65611 var t1 = $._glyphs;
65612 t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
65613 this.$this._highlighter$_buffer._contents += t1;
65614 },
65615 $signature: 0
65616 };
65617 A.Highlighter__writeMultilineHighlights_closure1.prototype = {
65618 call$0() {
65619 this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
65620 return null;
65621 },
65622 $signature: 0
65623 };
65624 A.Highlighter__writeMultilineHighlights_closure2.prototype = {
65625 call$0() {
65626 var _this = this,
65627 t1 = _this._box_0,
65628 t2 = t1.openedOnThisLine,
65629 t3 = $._glyphs,
65630 vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
65631 if (_this.current != null)
65632 _this.$this._highlighter$_buffer._contents += vertical;
65633 else {
65634 t2 = _this.line;
65635 t3 = t2.number;
65636 if (_this.startLine === t3) {
65637 t2 = _this.$this;
65638 t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
65639 t1.openedOnThisLine = true;
65640 if (t1.openedOnThisLineColor == null)
65641 t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
65642 } else {
65643 if (_this.endLine === t3) {
65644 t3 = _this.highlight.span;
65645 t2 = t3.get$end(t3).get$column() === t2.text.length;
65646 } else
65647 t2 = false;
65648 t3 = _this.$this;
65649 if (t2) {
65650 t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
65651 t3._highlighter$_buffer._contents += t1;
65652 } else
65653 t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
65654 }
65655 }
65656 },
65657 $signature: 0
65658 };
65659 A.Highlighter__writeMultilineHighlights__closure.prototype = {
65660 call$0() {
65661 var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
65662 this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
65663 },
65664 $signature: 0
65665 };
65666 A.Highlighter__writeMultilineHighlights__closure0.prototype = {
65667 call$0() {
65668 this.$this._highlighter$_buffer._contents += this.vertical;
65669 },
65670 $signature: 0
65671 };
65672 A.Highlighter__writeHighlightedText_closure.prototype = {
65673 call$0() {
65674 var _this = this;
65675 return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
65676 },
65677 $signature: 0
65678 };
65679 A.Highlighter__writeIndicator_closure.prototype = {
65680 call$0() {
65681 var tabsBefore, tabsInside,
65682 t1 = this.$this,
65683 t2 = this.highlight,
65684 t3 = t2.span,
65685 t4 = t2.isPrimary ? "^" : $._glyphs.get$horizontalLineBold(),
65686 startColumn = t3.get$start(t3).get$column(),
65687 endColumn = t3.get$end(t3).get$column();
65688 t3 = this.line.text;
65689 tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t3, 0, startColumn));
65690 tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t3, startColumn, endColumn));
65691 startColumn += tabsBefore * 3;
65692 t1 = t1._highlighter$_buffer;
65693 t1._contents += B.JSString_methods.$mul(" ", startColumn);
65694 t4 = t1._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
65695 t2 = t2.label;
65696 if (t2 != null)
65697 t1._contents = t4 + (" " + t2);
65698 },
65699 $signature: 0
65700 };
65701 A.Highlighter__writeIndicator_closure0.prototype = {
65702 call$0() {
65703 var t1 = this.highlight.span;
65704 return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
65705 },
65706 $signature: 0
65707 };
65708 A.Highlighter__writeIndicator_closure1.prototype = {
65709 call$0() {
65710 var t2, _this = this,
65711 t1 = _this.$this;
65712 if (_this.coversWholeLine)
65713 t1._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
65714 else {
65715 t2 = _this.highlight.span;
65716 t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false);
65717 }
65718 t2 = _this.highlight.label;
65719 if (t2 != null)
65720 t1._highlighter$_buffer._contents += " " + t2;
65721 },
65722 $signature: 0
65723 };
65724 A.Highlighter__writeSidebar_closure.prototype = {
65725 call$0() {
65726 var t1 = this.$this,
65727 t2 = t1._highlighter$_buffer,
65728 t3 = this._box_0.text;
65729 if (t3 == null)
65730 t3 = "";
65731 t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
65732 t1 = this.end;
65733 t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
65734 },
65735 $signature: 0
65736 };
65737 A._Highlight.prototype = {
65738 toString$0(_) {
65739 var t1 = this.isPrimary ? "" + "primary " : "",
65740 t2 = this.span;
65741 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());
65742 t1 = this.label;
65743 t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
65744 return t1.charCodeAt(0) == 0 ? t1 : t1;
65745 }
65746 };
65747 A._Highlight_closure.prototype = {
65748 call$0() {
65749 var t2, t3, t4, t5,
65750 t1 = this.span;
65751 if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
65752 t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
65753 t3 = t1.get$end(t1).get$offset();
65754 t4 = t1.get$sourceUrl(t1);
65755 t5 = A.countCodeUnits(t1.get$text(), 10);
65756 t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
65757 }
65758 return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
65759 },
65760 $signature: 280
65761 };
65762 A._Line.prototype = {
65763 toString$0(_) {
65764 return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
65765 }
65766 };
65767 A.SourceLocation.prototype = {
65768 distance$1(other) {
65769 var t1 = this.sourceUrl;
65770 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65771 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65772 return Math.abs(this.offset - other.get$offset());
65773 },
65774 compareTo$1(_, other) {
65775 var t1 = this.sourceUrl;
65776 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65777 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65778 return this.offset - other.get$offset();
65779 },
65780 $eq(_, other) {
65781 if (other == null)
65782 return false;
65783 return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65784 },
65785 get$hashCode(_) {
65786 var t1 = this.sourceUrl;
65787 t1 = t1 == null ? null : t1.get$hashCode(t1);
65788 if (t1 == null)
65789 t1 = 0;
65790 return t1 + this.offset;
65791 },
65792 toString$0(_) {
65793 var _this = this,
65794 t1 = A.getRuntimeType(_this).toString$0(0),
65795 source = _this.sourceUrl;
65796 return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
65797 },
65798 $isComparable: 1,
65799 get$sourceUrl(receiver) {
65800 return this.sourceUrl;
65801 },
65802 get$offset() {
65803 return this.offset;
65804 },
65805 get$line() {
65806 return this.line;
65807 },
65808 get$column() {
65809 return this.column;
65810 }
65811 };
65812 A.SourceLocationMixin.prototype = {
65813 distance$1(other) {
65814 var _this = this;
65815 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65816 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65817 return Math.abs(_this.offset - other.get$offset());
65818 },
65819 compareTo$1(_, other) {
65820 var _this = this;
65821 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65822 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65823 return _this.offset - other.get$offset();
65824 },
65825 $eq(_, other) {
65826 if (other == null)
65827 return false;
65828 return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65829 },
65830 get$hashCode(_) {
65831 var t1 = this.file.url;
65832 t1 = t1 == null ? null : t1.get$hashCode(t1);
65833 if (t1 == null)
65834 t1 = 0;
65835 return t1 + this.offset;
65836 },
65837 toString$0(_) {
65838 var t1 = A.getRuntimeType(this).toString$0(0),
65839 t2 = this.offset,
65840 t3 = this.file,
65841 source = t3.url;
65842 return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
65843 },
65844 $isComparable: 1,
65845 $isSourceLocation: 1
65846 };
65847 A.SourceSpanBase.prototype = {
65848 SourceSpanBase$3(start, end, text) {
65849 var t3,
65850 t1 = this.end,
65851 t2 = this.start;
65852 if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
65853 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
65854 else if (t1.get$offset() < t2.get$offset())
65855 throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
65856 else {
65857 t3 = this.text;
65858 if (t3.length !== t2.distance$1(t1))
65859 throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
65860 }
65861 },
65862 get$start(receiver) {
65863 return this.start;
65864 },
65865 get$end(receiver) {
65866 return this.end;
65867 },
65868 get$text() {
65869 return this.text;
65870 }
65871 };
65872 A.SourceSpanException.prototype = {
65873 get$message(_) {
65874 return this._span_exception$_message;
65875 },
65876 get$span(_) {
65877 return this._span;
65878 },
65879 toString$1$color(_, color) {
65880 var _this = this;
65881 _this.get$span(_this);
65882 return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
65883 },
65884 toString$0($receiver) {
65885 return this.toString$1$color($receiver, null);
65886 },
65887 $isException: 1
65888 };
65889 A.SourceSpanFormatException.prototype = {$isFormatException: 1,
65890 get$source() {
65891 return this.source;
65892 }
65893 };
65894 A.SourceSpanMixin.prototype = {
65895 get$sourceUrl(_) {
65896 var t1 = this.get$start(this);
65897 return t1.get$sourceUrl(t1);
65898 },
65899 get$length(_) {
65900 var _this = this;
65901 return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
65902 },
65903 compareTo$1(_, other) {
65904 var _this = this,
65905 result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
65906 return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
65907 },
65908 message$2$color(_, message, color) {
65909 var t2, highlight, _this = this,
65910 t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
65911 if (_this.get$sourceUrl(_this) != null) {
65912 t2 = _this.get$sourceUrl(_this);
65913 t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
65914 t1 = t2;
65915 }
65916 t1 += ": " + message;
65917 highlight = _this.highlight$1$color(color);
65918 if (highlight.length !== 0)
65919 t1 = t1 + "\n" + highlight;
65920 return t1.charCodeAt(0) == 0 ? t1 : t1;
65921 },
65922 message$1($receiver, message) {
65923 return this.message$2$color($receiver, message, null);
65924 },
65925 highlight$1$color(color) {
65926 var _this = this;
65927 if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
65928 return "";
65929 return A.Highlighter$(_this, color).highlight$0();
65930 },
65931 $eq(_, other) {
65932 var _this = this;
65933 if (other == null)
65934 return false;
65935 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));
65936 },
65937 get$hashCode(_) {
65938 var _this = this;
65939 return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue);
65940 },
65941 toString$0(_) {
65942 var _this = this;
65943 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() + '">';
65944 },
65945 $isComparable: 1,
65946 $isSourceSpan: 1
65947 };
65948 A.SourceSpanWithContext.prototype = {
65949 get$context(_) {
65950 return this._context;
65951 }
65952 };
65953 A.Chain.prototype = {
65954 toTrace$0() {
65955 var t1 = this.traces;
65956 return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
65957 },
65958 toString$0(_) {
65959 var t1 = this.traces,
65960 t2 = A._arrayInstanceType(t1);
65961 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_____);
65962 },
65963 $isStackTrace: 1
65964 };
65965 A.Chain_Chain$parse_closure.prototype = {
65966 call$1(line) {
65967 return line.length !== 0;
65968 },
65969 $signature: 6
65970 };
65971 A.Chain_Chain$parse_closure0.prototype = {
65972 call$1(trace) {
65973 return A.Trace$parseVM(trace);
65974 },
65975 $signature: 145
65976 };
65977 A.Chain_Chain$parse_closure1.prototype = {
65978 call$1(trace) {
65979 return A.Trace$parseFriendly(trace);
65980 },
65981 $signature: 145
65982 };
65983 A.Chain_toTrace_closure.prototype = {
65984 call$1(trace) {
65985 return trace.get$frames();
65986 },
65987 $signature: 283
65988 };
65989 A.Chain_toString_closure0.prototype = {
65990 call$1(trace) {
65991 var t1 = trace.get$frames();
65992 return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
65993 },
65994 $signature: 284
65995 };
65996 A.Chain_toString__closure0.prototype = {
65997 call$1(frame) {
65998 return frame.get$location().length;
65999 },
66000 $signature: 146
66001 };
66002 A.Chain_toString_closure.prototype = {
66003 call$1(trace) {
66004 var t1 = trace.get$frames();
66005 return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
66006 },
66007 $signature: 286
66008 };
66009 A.Chain_toString__closure.prototype = {
66010 call$1(frame) {
66011 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66012 },
66013 $signature: 147
66014 };
66015 A.Frame.prototype = {
66016 get$isCore() {
66017 return this.uri.get$scheme() === "dart";
66018 },
66019 get$library() {
66020 var t1 = this.uri;
66021 if (t1.get$scheme() === "data")
66022 return "data:...";
66023 return $.$get$context().prettyUri$1(t1);
66024 },
66025 get$$package() {
66026 var t1 = this.uri;
66027 if (t1.get$scheme() !== "package")
66028 return null;
66029 return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
66030 },
66031 get$location() {
66032 var t2, _this = this,
66033 t1 = _this.line;
66034 if (t1 == null)
66035 return _this.get$library();
66036 t2 = _this.column;
66037 if (t2 == null)
66038 return _this.get$library() + " " + A.S(t1);
66039 return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
66040 },
66041 toString$0(_) {
66042 return this.get$location() + " in " + A.S(this.member);
66043 },
66044 get$uri() {
66045 return this.uri;
66046 },
66047 get$line() {
66048 return this.line;
66049 },
66050 get$column() {
66051 return this.column;
66052 },
66053 get$member() {
66054 return this.member;
66055 }
66056 };
66057 A.Frame_Frame$parseVM_closure.prototype = {
66058 call$0() {
66059 var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
66060 t1 = this.frame;
66061 if (t1 === "...")
66062 return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
66063 match = $.$get$_vmFrame().firstMatch$1(t1);
66064 if (match == null)
66065 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66066 t1 = match._match;
66067 t2 = t1[1];
66068 t2.toString;
66069 t3 = $.$get$_asyncBody();
66070 t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
66071 member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
66072 t2 = t1[2];
66073 t3 = t2;
66074 t3.toString;
66075 if (B.JSString_methods.startsWith$1(t3, "<data:"))
66076 uri = A.Uri_Uri$dataFromString("", _null, _null);
66077 else {
66078 t2 = t2;
66079 t2.toString;
66080 uri = A.Uri_parse(t2);
66081 }
66082 lineAndColumn = t1[3].split(":");
66083 t1 = lineAndColumn.length;
66084 line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
66085 return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
66086 },
66087 $signature: 70
66088 };
66089 A.Frame_Frame$parseV8_closure.prototype = {
66090 call$0() {
66091 var t2, t3, _s4_ = "<fn>",
66092 t1 = this.frame,
66093 match = $.$get$_v8Frame().firstMatch$1(t1);
66094 if (match == null)
66095 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
66096 t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
66097 t2 = match._match;
66098 t3 = t2[2];
66099 if (t3 != null) {
66100 t3 = t3;
66101 t3.toString;
66102 t2 = t2[1];
66103 t2.toString;
66104 t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
66105 t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
66106 return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
66107 } else {
66108 t2 = t2[3];
66109 t2.toString;
66110 return t1.call$2(t2, _s4_);
66111 }
66112 },
66113 $signature: 70
66114 };
66115 A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
66116 call$2($location, member) {
66117 var t2, urlMatch, uri, line, columnMatch, _null = null,
66118 t1 = $.$get$_v8EvalLocation(),
66119 evalMatch = t1.firstMatch$1($location);
66120 for (; evalMatch != null; $location = t2) {
66121 t2 = evalMatch._match[1];
66122 t2.toString;
66123 evalMatch = t1.firstMatch$1(t2);
66124 }
66125 if ($location === "native")
66126 return new A.Frame(A.Uri_parse("native"), _null, _null, member);
66127 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
66128 if (urlMatch == null)
66129 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
66130 t1 = urlMatch._match;
66131 t2 = t1[1];
66132 t2.toString;
66133 uri = A.Frame__uriOrPathToUri(t2);
66134 t2 = t1[2];
66135 t2.toString;
66136 line = A.int_parse(t2, _null);
66137 columnMatch = t1[3];
66138 return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
66139 },
66140 $signature: 289
66141 };
66142 A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
66143 call$0() {
66144 var t2, member, uri, line, _null = null,
66145 t1 = this.frame,
66146 match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
66147 if (match == null)
66148 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66149 t1 = match._match;
66150 t2 = t1[1];
66151 t2.toString;
66152 member = A.stringReplaceAllUnchecked(t2, "/<", "");
66153 t2 = t1[2];
66154 t2.toString;
66155 uri = A.Frame__uriOrPathToUri(t2);
66156 t1 = t1[3];
66157 t1.toString;
66158 line = A.int_parse(t1, _null);
66159 return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
66160 },
66161 $signature: 70
66162 };
66163 A.Frame_Frame$parseFirefox_closure.prototype = {
66164 call$0() {
66165 var t2, t3, t4, uri, member, line, column, _null = null,
66166 t1 = this.frame,
66167 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
66168 if (match == null)
66169 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66170 t2 = match._match;
66171 t3 = t2[3];
66172 t4 = t3;
66173 t4.toString;
66174 if (B.JSString_methods.contains$1(t4, " line "))
66175 return A.Frame_Frame$_parseFirefoxEval(t1);
66176 t1 = t3;
66177 t1.toString;
66178 uri = A.Frame__uriOrPathToUri(t1);
66179 member = t2[1];
66180 if (member != null) {
66181 t1 = t2[2];
66182 t1.toString;
66183 t1 = B.JSString_methods.allMatches$1("/", t1);
66184 member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
66185 if (member === "")
66186 member = "<fn>";
66187 member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
66188 } else
66189 member = "<fn>";
66190 t1 = t2[4];
66191 if (t1 === "")
66192 line = _null;
66193 else {
66194 t1 = t1;
66195 t1.toString;
66196 line = A.int_parse(t1, _null);
66197 }
66198 t1 = t2[5];
66199 if (t1 == null || t1 === "")
66200 column = _null;
66201 else {
66202 t1 = t1;
66203 t1.toString;
66204 column = A.int_parse(t1, _null);
66205 }
66206 return new A.Frame(uri, line, column, member);
66207 },
66208 $signature: 70
66209 };
66210 A.Frame_Frame$parseFriendly_closure.prototype = {
66211 call$0() {
66212 var t2, uri, line, column, _null = null,
66213 t1 = this.frame,
66214 match = $.$get$_friendlyFrame().firstMatch$1(t1);
66215 if (match == null)
66216 throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
66217 t1 = match._match;
66218 t2 = t1[1];
66219 if (t2 === "data:...")
66220 uri = A.Uri_Uri$dataFromString("", _null, _null);
66221 else {
66222 t2 = t2;
66223 t2.toString;
66224 uri = A.Uri_parse(t2);
66225 }
66226 if (uri.get$scheme() === "") {
66227 t2 = $.$get$context();
66228 uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
66229 }
66230 t2 = t1[2];
66231 if (t2 == null)
66232 line = _null;
66233 else {
66234 t2 = t2;
66235 t2.toString;
66236 line = A.int_parse(t2, _null);
66237 }
66238 t2 = t1[3];
66239 if (t2 == null)
66240 column = _null;
66241 else {
66242 t2 = t2;
66243 t2.toString;
66244 column = A.int_parse(t2, _null);
66245 }
66246 return new A.Frame(uri, line, column, t1[4]);
66247 },
66248 $signature: 70
66249 };
66250 A.LazyTrace.prototype = {
66251 get$_lazy_trace$_trace() {
66252 var result, _this = this,
66253 value = _this.__LazyTrace__trace;
66254 if (value === $) {
66255 result = _this._thunk.call$0();
66256 A._lateInitializeOnceCheck(_this.__LazyTrace__trace, "_trace");
66257 _this.__LazyTrace__trace = result;
66258 value = result;
66259 }
66260 return value;
66261 },
66262 get$frames() {
66263 return this.get$_lazy_trace$_trace().get$frames();
66264 },
66265 get$terse() {
66266 return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
66267 },
66268 toString$0(_) {
66269 return this.get$_lazy_trace$_trace().toString$0(0);
66270 },
66271 $isStackTrace: 1,
66272 $isTrace: 1
66273 };
66274 A.LazyTrace_terse_closure.prototype = {
66275 call$0() {
66276 return this.$this.get$_lazy_trace$_trace().get$terse();
66277 },
66278 $signature: 149
66279 };
66280 A.Trace.prototype = {
66281 get$terse() {
66282 return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
66283 },
66284 foldFrames$2$terse(predicate, terse) {
66285 var newFrames, t1, t2, t3, _box_0 = {};
66286 _box_0.predicate = predicate;
66287 _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
66288 newFrames = A._setArrayType([], type$.JSArray_Frame);
66289 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();) {
66290 t3 = t1.__internal$_current;
66291 if (t3 == null)
66292 t3 = t2._as(t3);
66293 if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
66294 newFrames.push(t3);
66295 else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
66296 newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
66297 }
66298 t1 = type$.MappedListIterable_Frame_Frame;
66299 newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
66300 if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
66301 B.JSArray_methods.removeAt$1(newFrames, 0);
66302 return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
66303 },
66304 toString$0(_) {
66305 var t1 = this.frames,
66306 t2 = A._arrayInstanceType(t1);
66307 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);
66308 },
66309 $isStackTrace: 1,
66310 get$frames() {
66311 return this.frames;
66312 }
66313 };
66314 A.Trace_Trace$from_closure.prototype = {
66315 call$0() {
66316 return A.Trace_Trace$parse(this.trace.toString$0(0));
66317 },
66318 $signature: 149
66319 };
66320 A.Trace__parseVM_closure.prototype = {
66321 call$1(line) {
66322 return line.length !== 0;
66323 },
66324 $signature: 6
66325 };
66326 A.Trace__parseVM_closure0.prototype = {
66327 call$1(line) {
66328 return A.Frame_Frame$parseVM(line);
66329 },
66330 $signature: 69
66331 };
66332 A.Trace$parseV8_closure.prototype = {
66333 call$1(line) {
66334 return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
66335 },
66336 $signature: 6
66337 };
66338 A.Trace$parseV8_closure0.prototype = {
66339 call$1(line) {
66340 return A.Frame_Frame$parseV8(line);
66341 },
66342 $signature: 69
66343 };
66344 A.Trace$parseJSCore_closure.prototype = {
66345 call$1(line) {
66346 return line !== "\tat ";
66347 },
66348 $signature: 6
66349 };
66350 A.Trace$parseJSCore_closure0.prototype = {
66351 call$1(line) {
66352 return A.Frame_Frame$parseV8(line);
66353 },
66354 $signature: 69
66355 };
66356 A.Trace$parseFirefox_closure.prototype = {
66357 call$1(line) {
66358 return line.length !== 0 && line !== "[native code]";
66359 },
66360 $signature: 6
66361 };
66362 A.Trace$parseFirefox_closure0.prototype = {
66363 call$1(line) {
66364 return A.Frame_Frame$parseFirefox(line);
66365 },
66366 $signature: 69
66367 };
66368 A.Trace$parseFriendly_closure.prototype = {
66369 call$1(line) {
66370 return !B.JSString_methods.startsWith$1(line, "=====");
66371 },
66372 $signature: 6
66373 };
66374 A.Trace$parseFriendly_closure0.prototype = {
66375 call$1(line) {
66376 return A.Frame_Frame$parseFriendly(line);
66377 },
66378 $signature: 69
66379 };
66380 A.Trace_terse_closure.prototype = {
66381 call$1(_) {
66382 return false;
66383 },
66384 $signature: 151
66385 };
66386 A.Trace_foldFrames_closure.prototype = {
66387 call$1(frame) {
66388 var t1;
66389 if (this.oldPredicate.call$1(frame))
66390 return true;
66391 if (frame.get$isCore())
66392 return true;
66393 if (frame.get$$package() === "stack_trace")
66394 return true;
66395 t1 = frame.get$member();
66396 t1.toString;
66397 if (!B.JSString_methods.contains$1(t1, "<async>"))
66398 return false;
66399 return frame.get$line() == null;
66400 },
66401 $signature: 151
66402 };
66403 A.Trace_foldFrames_closure0.prototype = {
66404 call$1(frame) {
66405 var t1, t2;
66406 if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
66407 return frame;
66408 t1 = frame.get$library();
66409 t2 = $.$get$_terseRegExp();
66410 return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
66411 },
66412 $signature: 293
66413 };
66414 A.Trace_toString_closure0.prototype = {
66415 call$1(frame) {
66416 return frame.get$location().length;
66417 },
66418 $signature: 146
66419 };
66420 A.Trace_toString_closure.prototype = {
66421 call$1(frame) {
66422 if (frame instanceof A.UnparsedFrame)
66423 return frame.toString$0(0) + "\n";
66424 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66425 },
66426 $signature: 147
66427 };
66428 A.UnparsedFrame.prototype = {
66429 toString$0(_) {
66430 return this.member;
66431 },
66432 $isFrame: 1,
66433 get$uri() {
66434 return this.uri;
66435 },
66436 get$line() {
66437 return null;
66438 },
66439 get$column() {
66440 return null;
66441 },
66442 get$isCore() {
66443 return false;
66444 },
66445 get$library() {
66446 return "unparsed";
66447 },
66448 get$$package() {
66449 return null;
66450 },
66451 get$location() {
66452 return "unparsed";
66453 },
66454 get$member() {
66455 return this.member;
66456 }
66457 };
66458 A.TransformByHandlers_transformByHandlers_closure.prototype = {
66459 call$0() {
66460 var t2, subscription, t3, t4, _this = this, t1 = {};
66461 t1.valuesDone = false;
66462 t2 = _this.controller;
66463 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));
66464 t3 = _this._box_1;
66465 t3.subscription = subscription;
66466 t2.set$onPause(subscription.get$pause(subscription));
66467 t4 = t3.subscription;
66468 t2.set$onResume(t4.get$resume(t4));
66469 t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
66470 },
66471 $signature: 0
66472 };
66473 A.TransformByHandlers_transformByHandlers__closure.prototype = {
66474 call$1(value) {
66475 return this.handleData.call$2(value, this.controller);
66476 },
66477 $signature() {
66478 return this.S._eval$1("~(0)");
66479 }
66480 };
66481 A.TransformByHandlers_transformByHandlers__closure1.prototype = {
66482 call$2(error, stackTrace) {
66483 this.handleError.call$3(error, stackTrace, this.controller);
66484 },
66485 $signature: 63
66486 };
66487 A.TransformByHandlers_transformByHandlers__closure0.prototype = {
66488 call$0() {
66489 this._box_0.valuesDone = true;
66490 this.handleDone.call$1(this.controller);
66491 },
66492 $signature: 0
66493 };
66494 A.TransformByHandlers_transformByHandlers__closure2.prototype = {
66495 call$0() {
66496 var t1 = this._box_1,
66497 toCancel = t1.subscription;
66498 t1.subscription = null;
66499 if (!this._box_0.valuesDone)
66500 return toCancel.cancel$0();
66501 return null;
66502 },
66503 $signature: 224
66504 };
66505 A.RateLimit__debounceAggregate_closure.prototype = {
66506 call$2(value, sink) {
66507 var _this = this,
66508 t1 = _this._box_0,
66509 t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
66510 t3 = t1.timer;
66511 if (t3 != null)
66512 t3.cancel$0();
66513 t1.soFar = _this.collect.call$2(value, t1.soFar);
66514 t1.hasPending = true;
66515 if (t1.timer == null && _this.leading) {
66516 t1.emittedLatestAsLeading = true;
66517 t2.call$0();
66518 } else
66519 t1.emittedLatestAsLeading = false;
66520 t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
66521 },
66522 $signature() {
66523 return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
66524 }
66525 };
66526 A.RateLimit__debounceAggregate_closure_emit.prototype = {
66527 call$0() {
66528 var t1 = this._box_0,
66529 t2 = t1.soFar;
66530 if (t2 == null)
66531 t2 = this.S._as(t2);
66532 this.sink.add$1(0, t2);
66533 t1.soFar = null;
66534 t1.hasPending = false;
66535 },
66536 $signature: 0
66537 };
66538 A.RateLimit__debounceAggregate__closure.prototype = {
66539 call$0() {
66540 var t1 = this._box_0,
66541 t2 = t1.emittedLatestAsLeading;
66542 if (!t2)
66543 this.emit.call$0();
66544 if (t1.shouldClose)
66545 this.sink.close$0(0);
66546 t1.timer = null;
66547 },
66548 $signature: 0
66549 };
66550 A.RateLimit__debounceAggregate_closure0.prototype = {
66551 call$1(sink) {
66552 var t1 = this._box_0;
66553 if (t1.hasPending && this.trailing)
66554 t1.shouldClose = true;
66555 else {
66556 t1 = t1.timer;
66557 if (t1 != null)
66558 t1.cancel$0();
66559 sink.close$0(0);
66560 }
66561 },
66562 $signature() {
66563 return this.S._eval$1("~(EventSink<0>)");
66564 }
66565 };
66566 A.StringScannerException.prototype = {
66567 get$source() {
66568 return A._asString(this.source);
66569 }
66570 };
66571 A.LineScanner.prototype = {
66572 scanChar$1(character) {
66573 if (!this.super$StringScanner$scanChar(character))
66574 return false;
66575 this._adjustLineAndColumn$1(character);
66576 return true;
66577 },
66578 _adjustLineAndColumn$1(character) {
66579 var t1, _this = this;
66580 if (character !== 10)
66581 t1 = character === 13 && _this.peekChar$0() !== 10;
66582 else
66583 t1 = true;
66584 if (t1) {
66585 ++_this._line_scanner$_line;
66586 _this._line_scanner$_column = 0;
66587 } else
66588 ++_this._line_scanner$_column;
66589 },
66590 scan$1(pattern) {
66591 var t1, newlines, t2, _this = this;
66592 if (!_this.super$StringScanner$scan(pattern))
66593 return false;
66594 t1 = _this.get$lastMatch();
66595 newlines = _this._newlinesIn$1(t1.pattern);
66596 t1 = _this._line_scanner$_line;
66597 t2 = newlines.length;
66598 _this._line_scanner$_line = t1 + t2;
66599 if (t2 === 0) {
66600 t1 = _this._line_scanner$_column;
66601 t2 = _this.get$lastMatch();
66602 _this._line_scanner$_column = t1 + t2.pattern.length;
66603 } else {
66604 t1 = _this.get$lastMatch();
66605 _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
66606 }
66607 return true;
66608 },
66609 _newlinesIn$1(text) {
66610 var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
66611 newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
66612 if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
66613 B.JSArray_methods.removeLast$0(newlines);
66614 return newlines;
66615 }
66616 };
66617 A.SpanScanner.prototype = {
66618 set$state(state) {
66619 if (state._scanner !== this)
66620 throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
66621 this.set$position(state.position);
66622 },
66623 spanFrom$2(startState, endState) {
66624 var endPosition = endState == null ? this._string_scanner$_position : endState.position;
66625 return this._sourceFile.span$2(0, startState.position, endPosition);
66626 },
66627 spanFrom$1(startState) {
66628 return this.spanFrom$2(startState, null);
66629 },
66630 matches$1(pattern) {
66631 var t1, t2, _this = this;
66632 if (!_this.super$StringScanner$matches(pattern))
66633 return false;
66634 t1 = _this._string_scanner$_position;
66635 t2 = _this.get$lastMatch();
66636 _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
66637 return true;
66638 },
66639 error$3$length$position(_, message, $length, position) {
66640 var t2, match, _this = this,
66641 t1 = _this.string;
66642 A.validateErrorArgs(t1, null, position, $length);
66643 t2 = position == null && $length == null;
66644 match = t2 ? _this.get$lastMatch() : null;
66645 if (position == null)
66646 position = match == null ? _this._string_scanner$_position : match.start;
66647 if ($length == null)
66648 if (match == null)
66649 $length = 0;
66650 else {
66651 t2 = match.start;
66652 $length = t2 + match.pattern.length - t2;
66653 }
66654 throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
66655 },
66656 error$1($receiver, message) {
66657 return this.error$3$length$position($receiver, message, null, null);
66658 },
66659 error$2$position($receiver, message, position) {
66660 return this.error$3$length$position($receiver, message, null, position);
66661 },
66662 error$2$length($receiver, message, $length) {
66663 return this.error$3$length$position($receiver, message, $length, null);
66664 }
66665 };
66666 A._SpanScannerState.prototype = {};
66667 A.StringScanner.prototype = {
66668 set$position(position) {
66669 if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
66670 throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
66671 this._string_scanner$_position = position;
66672 this._lastMatch = null;
66673 },
66674 get$lastMatch() {
66675 var _this = this;
66676 if (_this._string_scanner$_position !== _this._lastMatchPosition)
66677 _this._lastMatch = null;
66678 return _this._lastMatch;
66679 },
66680 readChar$0() {
66681 var _this = this,
66682 t1 = _this._string_scanner$_position,
66683 t2 = _this.string;
66684 if (t1 === t2.length)
66685 _this.error$3$length$position(0, "expected more input.", 0, t1);
66686 return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
66687 },
66688 peekChar$1(offset) {
66689 var index;
66690 if (offset == null)
66691 offset = 0;
66692 index = this._string_scanner$_position + offset;
66693 if (index < 0 || index >= this.string.length)
66694 return null;
66695 return B.JSString_methods.codeUnitAt$1(this.string, index);
66696 },
66697 peekChar$0() {
66698 return this.peekChar$1(null);
66699 },
66700 scanChar$1(character) {
66701 var t1 = this._string_scanner$_position,
66702 t2 = this.string;
66703 if (t1 === t2.length)
66704 return false;
66705 if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
66706 return false;
66707 this._string_scanner$_position = t1 + 1;
66708 return true;
66709 },
66710 expectChar$2$name(character, $name) {
66711 if (this.scanChar$1(character))
66712 return;
66713 if ($name == null)
66714 if (character === 92)
66715 $name = '"\\"';
66716 else
66717 $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
66718 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66719 },
66720 expectChar$1(character) {
66721 return this.expectChar$2$name(character, null);
66722 },
66723 scan$1(pattern) {
66724 var t1, _this = this,
66725 success = _this.matches$1(pattern);
66726 if (success) {
66727 t1 = _this._lastMatch;
66728 _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
66729 }
66730 return success;
66731 },
66732 expect$1(pattern) {
66733 var t1, $name;
66734 if (this.scan$1(pattern))
66735 return;
66736 t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
66737 $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
66738 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66739 },
66740 expectDone$0() {
66741 var t1 = this._string_scanner$_position;
66742 if (t1 === this.string.length)
66743 return;
66744 this.error$3$length$position(0, "expected no more input.", 0, t1);
66745 },
66746 matches$1(pattern) {
66747 var _this = this,
66748 t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
66749 _this._lastMatch = t1;
66750 _this._lastMatchPosition = _this._string_scanner$_position;
66751 return t1 != null;
66752 },
66753 substring$1(_, start) {
66754 var end = this._string_scanner$_position;
66755 return B.JSString_methods.substring$2(this.string, start, end);
66756 },
66757 error$3$length$position(_, message, $length, position) {
66758 var t1 = this.string;
66759 A.validateErrorArgs(t1, null, position, $length);
66760 throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
66761 }
66762 };
66763 A.AsciiGlyphSet.prototype = {
66764 glyphOrAscii$2(glyph, alternative) {
66765 return alternative;
66766 },
66767 get$horizontalLine() {
66768 return "-";
66769 },
66770 get$verticalLine() {
66771 return "|";
66772 },
66773 get$topLeftCorner() {
66774 return ",";
66775 },
66776 get$bottomLeftCorner() {
66777 return "'";
66778 },
66779 get$cross() {
66780 return "+";
66781 },
66782 get$upEnd() {
66783 return "'";
66784 },
66785 get$downEnd() {
66786 return ",";
66787 },
66788 get$horizontalLineBold() {
66789 return "=";
66790 }
66791 };
66792 A.UnicodeGlyphSet.prototype = {
66793 glyphOrAscii$2(glyph, alternative) {
66794 return glyph;
66795 },
66796 get$horizontalLine() {
66797 return "\u2500";
66798 },
66799 get$verticalLine() {
66800 return "\u2502";
66801 },
66802 get$topLeftCorner() {
66803 return "\u250c";
66804 },
66805 get$bottomLeftCorner() {
66806 return "\u2514";
66807 },
66808 get$cross() {
66809 return "\u253c";
66810 },
66811 get$upEnd() {
66812 return "\u2575";
66813 },
66814 get$downEnd() {
66815 return "\u2577";
66816 },
66817 get$horizontalLineBold() {
66818 return "\u2501";
66819 }
66820 };
66821 A.Tuple2.prototype = {
66822 toString$0(_) {
66823 return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
66824 },
66825 $eq(_, other) {
66826 if (other == null)
66827 return false;
66828 return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
66829 },
66830 get$hashCode(_) {
66831 var t1 = J.get$hashCode$(this.item1),
66832 t2 = J.get$hashCode$(this.item2);
66833 return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)));
66834 }
66835 };
66836 A.Tuple3.prototype = {
66837 toString$0(_) {
66838 return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
66839 },
66840 $eq(_, other) {
66841 if (other == null)
66842 return false;
66843 return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
66844 },
66845 get$hashCode(_) {
66846 var t3,
66847 t1 = A.Primitives_objectHashCode(this.item1),
66848 t2 = this.item2;
66849 t2 = t2.get$hashCode(t2);
66850 t3 = this.item3;
66851 t3 = t3.get$hashCode(t3);
66852 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)));
66853 }
66854 };
66855 A.Tuple4.prototype = {
66856 toString$0(_) {
66857 var _this = this;
66858 return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
66859 },
66860 $eq(_, other) {
66861 var _this = this;
66862 if (other == null)
66863 return false;
66864 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);
66865 },
66866 get$hashCode(_) {
66867 var t2, t3, t4, _this = this,
66868 t1 = _this.item1;
66869 t1 = t1.get$hashCode(t1);
66870 t2 = B.JSBool_methods.get$hashCode(_this.item2);
66871 t3 = A.Primitives_objectHashCode(_this.item3);
66872 t4 = J.get$hashCode$(_this.item4);
66873 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)));
66874 }
66875 };
66876 A.WatchEvent.prototype = {
66877 toString$0(_) {
66878 return this.type.toString$0(0) + " " + this.path;
66879 }
66880 };
66881 A.ChangeType.prototype = {
66882 toString$0(_) {
66883 return this._watch_event$_name;
66884 }
66885 };
66886 A.SupportsAnything0.prototype = {
66887 toString$0(_) {
66888 return "(" + this.contents.toString$0(0) + ")";
66889 },
66890 $isAstNode0: 1,
66891 get$span(receiver) {
66892 return this.span;
66893 }
66894 };
66895 A.Argument0.prototype = {
66896 toString$0(_) {
66897 var t1 = this.defaultValue,
66898 t2 = this.name;
66899 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
66900 },
66901 $isAstNode0: 1,
66902 get$span(receiver) {
66903 return this.span;
66904 }
66905 };
66906 A.ArgumentDeclaration0.prototype = {
66907 get$spanWithName() {
66908 var t3, t4,
66909 t1 = this.span,
66910 t2 = t1.file,
66911 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
66912 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
66913 while (true) {
66914 if (i > 0) {
66915 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66916 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
66917 } else
66918 t3 = false;
66919 if (!t3)
66920 break;
66921 --i;
66922 }
66923 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66924 if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
66925 return t1;
66926 --i;
66927 while (true) {
66928 if (i >= 0) {
66929 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66930 if (t3 !== 95) {
66931 if (!(t3 >= 97 && t3 <= 122))
66932 t4 = t3 >= 65 && t3 <= 90;
66933 else
66934 t4 = true;
66935 t4 = t4 || t3 >= 128;
66936 } else
66937 t4 = true;
66938 if (!t4) {
66939 t4 = t3 >= 48 && t3 <= 57;
66940 t3 = t4 || t3 === 45;
66941 } else
66942 t3 = true;
66943 } else
66944 t3 = false;
66945 if (!t3)
66946 break;
66947 --i;
66948 }
66949 t3 = i + 1;
66950 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
66951 if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
66952 return t1;
66953 return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
66954 },
66955 verify$2(positional, names) {
66956 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
66957 _s10_ = "invocation",
66958 _s8_ = "argument";
66959 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
66960 argument = t1[i];
66961 if (i < positional) {
66962 t4 = argument.name;
66963 if (t3.containsKey$1(t4))
66964 throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p));
66965 } else {
66966 t4 = argument.name;
66967 if (t3.containsKey$1(t4))
66968 ++namedUsed;
66969 else if (argument.defaultValue == null)
66970 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)));
66971 }
66972 }
66973 if (_this.restArgument != null)
66974 return;
66975 if (positional > t2) {
66976 t1 = names.get$isEmpty(names) ? "" : "positional ";
66977 throw A.wrapException(A.MultiSpanSassScriptException$0("Only " + t2 + " " + t1 + 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)));
66978 }
66979 if (namedUsed < t3.get$length(t3)) {
66980 t2 = type$.String;
66981 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
66982 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
66983 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)));
66984 }
66985 },
66986 _argument_declaration$_originalArgumentName$1($name) {
66987 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
66988 if ($name === this.restArgument) {
66989 t1 = this.span;
66990 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
66991 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, "."));
66992 }
66993 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
66994 argument = t1[_i];
66995 if (argument.name === $name) {
66996 t1 = argument.defaultValue;
66997 t2 = argument.span;
66998 t3 = t2.file;
66999 t4 = t2._file$_start;
67000 t2 = t2._end;
67001 if (t1 == null) {
67002 t1 = t3._decodedChars;
67003 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
67004 } else {
67005 t1 = t3._decodedChars;
67006 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
67007 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
67008 end = A._lastNonWhitespace0(t1, false);
67009 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
67010 }
67011 return t1;
67012 }
67013 }
67014 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
67015 },
67016 matches$2(positional, names) {
67017 var t1, t2, t3, namedUsed, i, argument;
67018 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
67019 argument = t1[i];
67020 if (i < positional) {
67021 if (t3.containsKey$1(argument.name))
67022 return false;
67023 } else if (t3.containsKey$1(argument.name))
67024 ++namedUsed;
67025 else if (argument.defaultValue == null)
67026 return false;
67027 }
67028 if (this.restArgument != null)
67029 return true;
67030 if (positional > t2)
67031 return false;
67032 if (namedUsed < t3.get$length(t3))
67033 return false;
67034 return true;
67035 },
67036 toString$0(_) {
67037 var t2, t3, _i,
67038 t1 = A._setArrayType([], type$.JSArray_String);
67039 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
67040 t1.push("$" + A.S(t2[_i]));
67041 t2 = this.restArgument;
67042 if (t2 != null)
67043 t1.push("$" + t2 + "...");
67044 return B.JSArray_methods.join$1(t1, ", ");
67045 },
67046 $isAstNode0: 1,
67047 get$span(receiver) {
67048 return this.span;
67049 }
67050 };
67051 A.ArgumentDeclaration_verify_closure1.prototype = {
67052 call$1(argument) {
67053 return argument.name;
67054 },
67055 $signature: 294
67056 };
67057 A.ArgumentDeclaration_verify_closure2.prototype = {
67058 call$1($name) {
67059 return "$" + $name;
67060 },
67061 $signature: 5
67062 };
67063 A.ArgumentInvocation0.prototype = {
67064 get$isEmpty(_) {
67065 var t1;
67066 if (this.positional.length === 0) {
67067 t1 = this.named;
67068 t1 = t1.get$isEmpty(t1) && this.rest == null;
67069 } else
67070 t1 = false;
67071 return t1;
67072 },
67073 toString$0(_) {
67074 var t2, t3, t4, _this = this,
67075 t1 = A.List_List$of(_this.positional, true, type$.Object);
67076 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
67077 t4 = t3.get$current(t3);
67078 t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
67079 }
67080 t2 = _this.rest;
67081 if (t2 != null)
67082 t1.push(t2.toString$0(0) + "...");
67083 t2 = _this.keywordRest;
67084 if (t2 != null)
67085 t1.push(t2.toString$0(0) + "...");
67086 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
67087 },
67088 $isAstNode0: 1,
67089 get$span(receiver) {
67090 return this.span;
67091 }
67092 };
67093 A.argumentListClass_closure.prototype = {
67094 call$0() {
67095 var t1 = type$.JSClass,
67096 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
67097 A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
67098 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);
67099 return jsClass;
67100 },
67101 $signature: 23
67102 };
67103 A.argumentListClass__closure.prototype = {
67104 call$4($self, contents, keywords, separator) {
67105 var t3,
67106 t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
67107 t2 = type$.Value_2;
67108 t1 = J.cast$1$0$ax(t1, t2);
67109 t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
67110 return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
67111 },
67112 call$3($self, contents, keywords) {
67113 return this.call$4($self, contents, keywords, ",");
67114 },
67115 "call*": "call$4",
67116 $requiredArgCount: 3,
67117 $defaultValues() {
67118 return [","];
67119 },
67120 $signature: 296
67121 };
67122 A.argumentListClass__closure0.prototype = {
67123 call$1($self) {
67124 $self._argument_list$_wereKeywordsAccessed = true;
67125 return A.dartMapToImmutableMap($self._argument_list$_keywords);
67126 },
67127 $signature: 297
67128 };
67129 A.SassArgumentList0.prototype = {};
67130 A.JSArray1.prototype = {};
67131 A.AsyncImporter0.prototype = {};
67132 A.NodeToDartAsyncImporter.prototype = {
67133 canonicalize$1(_, url) {
67134 return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
67135 },
67136 canonicalize$body$NodeToDartAsyncImporter(_, url) {
67137 var $async$goto = 0,
67138 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
67139 $async$returnValue, $async$self = this, t1, result;
67140 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67141 if ($async$errorCode === 1)
67142 return A._asyncRethrow($async$result, $async$completer);
67143 while (true)
67144 switch ($async$goto) {
67145 case 0:
67146 // Function start
67147 result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
67148 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67149 break;
67150 case 3:
67151 // then
67152 $async$goto = 5;
67153 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
67154 case 5:
67155 // returning from await.
67156 result = $async$result;
67157 case 4:
67158 // join
67159 if (result == null) {
67160 $async$returnValue = null;
67161 // goto return
67162 $async$goto = 1;
67163 break;
67164 }
67165 t1 = self.URL;
67166 if (result instanceof t1) {
67167 $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
67168 // goto return
67169 $async$goto = 1;
67170 break;
67171 }
67172 A.jsThrow(new self.Error(string$.The_ca));
67173 case 1:
67174 // return
67175 return A._asyncReturn($async$returnValue, $async$completer);
67176 }
67177 });
67178 return A._asyncStartSync($async$canonicalize$1, $async$completer);
67179 },
67180 load$1(_, url) {
67181 return this.load$body$NodeToDartAsyncImporter(0, url);
67182 },
67183 load$body$NodeToDartAsyncImporter(_, url) {
67184 var $async$goto = 0,
67185 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
67186 $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
67187 var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67188 if ($async$errorCode === 1)
67189 return A._asyncRethrow($async$result, $async$completer);
67190 while (true)
67191 switch ($async$goto) {
67192 case 0:
67193 // Function start
67194 result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
67195 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67196 break;
67197 case 3:
67198 // then
67199 $async$goto = 5;
67200 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
67201 case 5:
67202 // returning from await.
67203 result = $async$result;
67204 case 4:
67205 // join
67206 if (result == null) {
67207 $async$returnValue = null;
67208 // goto return
67209 $async$goto = 1;
67210 break;
67211 }
67212 type$.NodeImporterResult._as(result);
67213 t1 = J.getInterceptor$x(result);
67214 contents = t1.get$contents(result);
67215 syntax = t1.get$syntax(result);
67216 if (contents == null || syntax == null)
67217 A.jsThrow(new self.Error(string$.The_lo));
67218 t2 = A.parseSyntax(syntax);
67219 $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
67220 // goto return
67221 $async$goto = 1;
67222 break;
67223 case 1:
67224 // return
67225 return A._asyncReturn($async$returnValue, $async$completer);
67226 }
67227 });
67228 return A._asyncStartSync($async$load$1, $async$completer);
67229 }
67230 };
67231 A.AsyncBuiltInCallable0.prototype = {
67232 callbackFor$2(positional, names) {
67233 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);
67234 },
67235 $isAsyncCallable0: 1,
67236 get$name(receiver) {
67237 return this.name;
67238 }
67239 };
67240 A.AsyncBuiltInCallable$mixin_closure0.prototype = {
67241 call$1($arguments) {
67242 return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
67243 },
67244 $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
67245 var $async$goto = 0,
67246 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
67247 $async$returnValue, $async$self = this;
67248 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67249 if ($async$errorCode === 1)
67250 return A._asyncRethrow($async$result, $async$completer);
67251 while (true)
67252 switch ($async$goto) {
67253 case 0:
67254 // Function start
67255 $async$goto = 3;
67256 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
67257 case 3:
67258 // returning from await.
67259 $async$returnValue = B.C__SassNull0;
67260 // goto return
67261 $async$goto = 1;
67262 break;
67263 case 1:
67264 // return
67265 return A._asyncReturn($async$returnValue, $async$completer);
67266 }
67267 });
67268 return A._asyncStartSync($async$call$1, $async$completer);
67269 },
67270 $signature: 99
67271 };
67272 A._compileStylesheet_closure2.prototype = {
67273 call$1(url) {
67274 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);
67275 },
67276 $signature: 5
67277 };
67278 A.AsyncEnvironment0.prototype = {
67279 closure$0() {
67280 var t4, t5, t6, _this = this,
67281 t1 = _this._async_environment0$_forwardedModules,
67282 t2 = _this._async_environment0$_nestedForwardedModules,
67283 t3 = _this._async_environment0$_variables;
67284 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
67285 t4 = _this._async_environment0$_variableNodes;
67286 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
67287 t5 = _this._async_environment0$_functions;
67288 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
67289 t6 = _this._async_environment0$_mixins;
67290 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
67291 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);
67292 },
67293 addModule$3$namespace(module, nodeWithSpan, namespace) {
67294 var t1, t2, span, _this = this;
67295 if (namespace == null) {
67296 _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
67297 _this._async_environment0$_allModules.push(module);
67298 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
67299 t2 = t1.get$current(t1);
67300 if (module.get$variables().containsKey$1(t2))
67301 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
67302 }
67303 } else {
67304 t1 = _this._async_environment0$_modules;
67305 if (t1.containsKey$1(namespace)) {
67306 t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
67307 span = t1 == null ? null : t1.span;
67308 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67309 if (span != null)
67310 t1.$indexSet(0, span, "original @use");
67311 throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
67312 }
67313 t1.$indexSet(0, namespace, module);
67314 _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
67315 _this._async_environment0$_allModules.push(module);
67316 }
67317 },
67318 forwardModule$2(module, rule) {
67319 var view, t1, t2, _this = this,
67320 forwardedModules = _this._async_environment0$_forwardedModules;
67321 if (forwardedModules == null)
67322 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67323 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
67324 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
67325 t2 = t1.__js_helper$_current;
67326 _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
67327 _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
67328 _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
67329 }
67330 _this._async_environment0$_allModules.push(module);
67331 forwardedModules.$indexSet(0, view, rule);
67332 },
67333 _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
67334 var larger, smaller, t1, t2, $name, span;
67335 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
67336 larger = oldMembers;
67337 smaller = newMembers;
67338 } else {
67339 larger = newMembers;
67340 smaller = oldMembers;
67341 }
67342 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
67343 $name = t1.get$current(t1);
67344 if (!larger.containsKey$1($name))
67345 continue;
67346 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
67347 continue;
67348 if (t2)
67349 $name = "$" + $name;
67350 t1 = this._async_environment0$_forwardedModules;
67351 if (t1 == null)
67352 span = null;
67353 else {
67354 t1 = t1.$index(0, oldModule);
67355 span = t1 == null ? null : J.get$span$z(t1);
67356 }
67357 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67358 if (span != null)
67359 t1.$indexSet(0, span, "original @forward");
67360 throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
67361 }
67362 },
67363 importForwards$1(module) {
67364 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
67365 forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
67366 if (forwarded == null)
67367 return;
67368 forwardedModules = _this._async_environment0$_forwardedModules;
67369 if (forwardedModules != null) {
67370 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67371 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
67372 t4 = t2.get$current(t2);
67373 t5 = t4.key;
67374 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
67375 t1.$indexSet(0, t5, t4.value);
67376 }
67377 forwarded = t1;
67378 } else
67379 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67380 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
67381 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
67382 t3 = t2._eval$1("Iterable.E");
67383 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure2(), t2), t3);
67384 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure3(), t2), t3);
67385 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure4(), t2), t3);
67386 t2 = _this._async_environment0$_variables;
67387 t3 = t2.length;
67388 if (t3 === 1) {
67389 for (t1 = _this._async_environment0$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
67390 entry = t3[_i];
67391 module = entry.key;
67392 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67393 if (shadowed != null) {
67394 t1.remove$1(0, module);
67395 t6 = shadowed.variables;
67396 if (t6.get$isEmpty(t6)) {
67397 t6 = shadowed.functions;
67398 if (t6.get$isEmpty(t6)) {
67399 t6 = shadowed.mixins;
67400 if (t6.get$isEmpty(t6)) {
67401 t6 = shadowed._shadowed_view0$_inner;
67402 t6 = t6.get$css(t6);
67403 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67404 } else
67405 t6 = false;
67406 } else
67407 t6 = false;
67408 } else
67409 t6 = false;
67410 if (!t6)
67411 t1.$indexSet(0, shadowed, entry.value);
67412 }
67413 }
67414 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) {
67415 entry = t3[_i];
67416 module = entry.key;
67417 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67418 if (shadowed != null) {
67419 forwardedModules.remove$1(0, module);
67420 t6 = shadowed.variables;
67421 if (t6.get$isEmpty(t6)) {
67422 t6 = shadowed.functions;
67423 if (t6.get$isEmpty(t6)) {
67424 t6 = shadowed.mixins;
67425 if (t6.get$isEmpty(t6)) {
67426 t6 = shadowed._shadowed_view0$_inner;
67427 t6 = t6.get$css(t6);
67428 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67429 } else
67430 t6 = false;
67431 } else
67432 t6 = false;
67433 } else
67434 t6 = false;
67435 if (!t6)
67436 forwardedModules.$indexSet(0, shadowed, entry.value);
67437 }
67438 }
67439 t1.addAll$1(0, forwarded);
67440 forwardedModules.addAll$1(0, forwarded);
67441 } else {
67442 t4 = _this._async_environment0$_nestedForwardedModules;
67443 if (t4 == null) {
67444 _length = t3 - 1;
67445 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
67446 for (t3 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
67447 _list[_i] = A._setArrayType([], t3);
67448 _this._async_environment0$_nestedForwardedModules = _list;
67449 t3 = _list;
67450 } else
67451 t3 = t4;
67452 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
67453 }
67454 for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._async_environment0$_variableIndices, t4 = _this._async_environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
67455 t6 = t1._collection$_current;
67456 if (t6 == null)
67457 t6 = t5._as(t6);
67458 t3.remove$1(0, t6);
67459 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
67460 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
67461 }
67462 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._async_environment0$_functionIndices, t3 = _this._async_environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
67463 t5 = t1._collection$_current;
67464 if (t5 == null)
67465 t5 = t4._as(t5);
67466 t2.remove$1(0, t5);
67467 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
67468 }
67469 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
67470 t5 = t1._collection$_current;
67471 if (t5 == null)
67472 t5 = t4._as(t5);
67473 t2.remove$1(0, t5);
67474 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
67475 }
67476 },
67477 getVariable$2$namespace($name, namespace) {
67478 var t1, index, _this = this;
67479 if (namespace != null)
67480 return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
67481 if (_this._async_environment0$_lastVariableName === $name) {
67482 t1 = _this._async_environment0$_lastVariableIndex;
67483 t1.toString;
67484 t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
67485 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67486 }
67487 t1 = _this._async_environment0$_variableIndices;
67488 index = t1.$index(0, $name);
67489 if (index != null) {
67490 _this._async_environment0$_lastVariableName = $name;
67491 _this._async_environment0$_lastVariableIndex = index;
67492 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67493 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67494 }
67495 index = _this._async_environment0$_variableIndex$1($name);
67496 if (index == null)
67497 return _this._async_environment0$_getVariableFromGlobalModule$1($name);
67498 _this._async_environment0$_lastVariableName = $name;
67499 _this._async_environment0$_lastVariableIndex = index;
67500 t1.$indexSet(0, $name, index);
67501 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67502 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67503 },
67504 getVariable$1($name) {
67505 return this.getVariable$2$namespace($name, null);
67506 },
67507 _async_environment0$_getVariableFromGlobalModule$1($name) {
67508 return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
67509 },
67510 getVariableNode$2$namespace($name, namespace) {
67511 var t1, index, _this = this;
67512 if (namespace != null)
67513 return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
67514 if (_this._async_environment0$_lastVariableName === $name) {
67515 t1 = _this._async_environment0$_lastVariableIndex;
67516 t1.toString;
67517 t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
67518 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67519 }
67520 t1 = _this._async_environment0$_variableIndices;
67521 index = t1.$index(0, $name);
67522 if (index != null) {
67523 _this._async_environment0$_lastVariableName = $name;
67524 _this._async_environment0$_lastVariableIndex = index;
67525 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67526 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67527 }
67528 index = _this._async_environment0$_variableIndex$1($name);
67529 if (index == null)
67530 return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
67531 _this._async_environment0$_lastVariableName = $name;
67532 _this._async_environment0$_lastVariableIndex = index;
67533 t1.$indexSet(0, $name, index);
67534 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67535 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67536 },
67537 _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
67538 var t1, t2, value;
67539 for (t1 = this._async_environment0$_importedModules, t2 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
67540 t1 = t2._currentIterator;
67541 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
67542 if (value != null)
67543 return value;
67544 }
67545 return null;
67546 },
67547 globalVariableExists$2$namespace($name, namespace) {
67548 if (namespace != null)
67549 return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
67550 if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
67551 return true;
67552 return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
67553 },
67554 globalVariableExists$1($name) {
67555 return this.globalVariableExists$2$namespace($name, null);
67556 },
67557 _async_environment0$_variableIndex$1($name) {
67558 var t1, i;
67559 for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
67560 if (t1[i].containsKey$1($name))
67561 return i;
67562 return null;
67563 },
67564 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
67565 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
67566 if (namespace != null) {
67567 _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
67568 return;
67569 }
67570 if (global || _this._async_environment0$_variables.length === 1) {
67571 _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
67572 t1 = _this._async_environment0$_variables;
67573 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
67574 moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
67575 if (moduleWithName != null) {
67576 moduleWithName.setVariable$3($name, value, nodeWithSpan);
67577 return;
67578 }
67579 }
67580 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
67581 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
67582 return;
67583 }
67584 nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
67585 if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
67586 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();) {
67587 t3 = t1.__internal$_current;
67588 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
67589 t5 = t3.__internal$_current;
67590 if (t5 == null)
67591 t5 = t4._as(t5);
67592 if (t5.get$variables().containsKey$1($name)) {
67593 t5.setVariable$3($name, value, nodeWithSpan);
67594 return;
67595 }
67596 }
67597 }
67598 if (_this._async_environment0$_lastVariableName === $name) {
67599 t1 = _this._async_environment0$_lastVariableIndex;
67600 t1.toString;
67601 index = t1;
67602 } else
67603 index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
67604 if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
67605 index = _this._async_environment0$_variables.length - 1;
67606 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67607 }
67608 _this._async_environment0$_lastVariableName = $name;
67609 _this._async_environment0$_lastVariableIndex = index;
67610 J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
67611 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67612 },
67613 setVariable$4$global($name, value, nodeWithSpan, global) {
67614 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
67615 },
67616 setLocalVariable$3($name, value, nodeWithSpan) {
67617 var index, _this = this,
67618 t1 = _this._async_environment0$_variables,
67619 t2 = t1.length;
67620 _this._async_environment0$_lastVariableName = $name;
67621 index = _this._async_environment0$_lastVariableIndex = t2 - 1;
67622 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67623 J.$indexSet$ax(t1[index], $name, value);
67624 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67625 },
67626 getFunction$2$namespace($name, namespace) {
67627 var t1, index, _this = this;
67628 if (namespace != null) {
67629 t1 = _this._async_environment0$_getModule$1(namespace);
67630 return t1.get$functions(t1).$index(0, $name);
67631 }
67632 t1 = _this._async_environment0$_functionIndices;
67633 index = t1.$index(0, $name);
67634 if (index != null) {
67635 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67636 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67637 }
67638 index = _this._async_environment0$_functionIndex$1($name);
67639 if (index == null)
67640 return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
67641 t1.$indexSet(0, $name, index);
67642 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67643 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67644 },
67645 _async_environment0$_getFunctionFromGlobalModule$1($name) {
67646 return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67647 },
67648 _async_environment0$_functionIndex$1($name) {
67649 var t1, i;
67650 for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
67651 if (t1[i].containsKey$1($name))
67652 return i;
67653 return null;
67654 },
67655 getMixin$2$namespace($name, namespace) {
67656 var t1, index, _this = this;
67657 if (namespace != null)
67658 return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
67659 t1 = _this._async_environment0$_mixinIndices;
67660 index = t1.$index(0, $name);
67661 if (index != null) {
67662 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67663 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67664 }
67665 index = _this._async_environment0$_mixinIndex$1($name);
67666 if (index == null)
67667 return _this._async_environment0$_getMixinFromGlobalModule$1($name);
67668 t1.$indexSet(0, $name, index);
67669 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67670 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67671 },
67672 _async_environment0$_getMixinFromGlobalModule$1($name) {
67673 return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67674 },
67675 _async_environment0$_mixinIndex$1($name) {
67676 var t1, i;
67677 for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
67678 if (t1[i].containsKey$1($name))
67679 return i;
67680 return null;
67681 },
67682 withContent$2($content, callback) {
67683 return this.withContent$body$AsyncEnvironment0($content, callback);
67684 },
67685 withContent$body$AsyncEnvironment0($content, callback) {
67686 var $async$goto = 0,
67687 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67688 $async$self = this, oldContent;
67689 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67690 if ($async$errorCode === 1)
67691 return A._asyncRethrow($async$result, $async$completer);
67692 while (true)
67693 switch ($async$goto) {
67694 case 0:
67695 // Function start
67696 oldContent = $async$self._async_environment0$_content;
67697 $async$self._async_environment0$_content = $content;
67698 $async$goto = 2;
67699 return A._asyncAwait(callback.call$0(), $async$withContent$2);
67700 case 2:
67701 // returning from await.
67702 $async$self._async_environment0$_content = oldContent;
67703 // implicit return
67704 return A._asyncReturn(null, $async$completer);
67705 }
67706 });
67707 return A._asyncStartSync($async$withContent$2, $async$completer);
67708 },
67709 asMixin$1(callback) {
67710 var $async$goto = 0,
67711 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67712 $async$self = this, oldInMixin;
67713 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67714 if ($async$errorCode === 1)
67715 return A._asyncRethrow($async$result, $async$completer);
67716 while (true)
67717 switch ($async$goto) {
67718 case 0:
67719 // Function start
67720 oldInMixin = $async$self._async_environment0$_inMixin;
67721 $async$self._async_environment0$_inMixin = true;
67722 $async$goto = 2;
67723 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
67724 case 2:
67725 // returning from await.
67726 $async$self._async_environment0$_inMixin = oldInMixin;
67727 // implicit return
67728 return A._asyncReturn(null, $async$completer);
67729 }
67730 });
67731 return A._asyncStartSync($async$asMixin$1, $async$completer);
67732 },
67733 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
67734 return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
67735 },
67736 scope$1$1(callback, $T) {
67737 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
67738 },
67739 scope$1$2$when(callback, when, $T) {
67740 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
67741 },
67742 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
67743 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
67744 },
67745 scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
67746 var $async$goto = 0,
67747 $async$completer = A._makeAsyncAwaitCompleter($async$type),
67748 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
67749 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67750 if ($async$errorCode === 1) {
67751 $async$currentError = $async$result;
67752 $async$goto = $async$handler;
67753 }
67754 while (true)
67755 switch ($async$goto) {
67756 case 0:
67757 // Function start
67758 semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
67759 wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
67760 $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
67761 $async$goto = !when ? 3 : 4;
67762 break;
67763 case 3:
67764 // then
67765 $async$handler = 5;
67766 $async$goto = 8;
67767 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67768 case 8:
67769 // returning from await.
67770 t1 = $async$result;
67771 $async$returnValue = t1;
67772 $async$next = [1];
67773 // goto finally
67774 $async$goto = 6;
67775 break;
67776 $async$next.push(7);
67777 // goto finally
67778 $async$goto = 6;
67779 break;
67780 case 5:
67781 // uncaught
67782 $async$next = [2];
67783 case 6:
67784 // finally
67785 $async$handler = 2;
67786 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67787 // goto the next finally handler
67788 $async$goto = $async$next.pop();
67789 break;
67790 case 7:
67791 // after finally
67792 case 4:
67793 // join
67794 t1 = $async$self._async_environment0$_variables;
67795 t2 = type$.String;
67796 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
67797 t3 = $async$self._async_environment0$_variableNodes;
67798 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
67799 t4 = $async$self._async_environment0$_functions;
67800 t5 = type$.AsyncCallable_2;
67801 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
67802 t6 = $async$self._async_environment0$_mixins;
67803 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
67804 t5 = $async$self._async_environment0$_nestedForwardedModules;
67805 if (t5 != null)
67806 t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
67807 $async$handler = 9;
67808 $async$goto = 12;
67809 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67810 case 12:
67811 // returning from await.
67812 t2 = $async$result;
67813 $async$returnValue = t2;
67814 $async$next = [1];
67815 // goto finally
67816 $async$goto = 10;
67817 break;
67818 $async$next.push(11);
67819 // goto finally
67820 $async$goto = 10;
67821 break;
67822 case 9:
67823 // uncaught
67824 $async$next = [2];
67825 case 10:
67826 // finally
67827 $async$handler = 2;
67828 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67829 $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
67830 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();) {
67831 $name = t1.get$current(t1);
67832 t2.remove$1(0, $name);
67833 }
67834 B.JSArray_methods.removeLast$0(t3);
67835 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
67836 name0 = t1.get$current(t1);
67837 t2.remove$1(0, name0);
67838 }
67839 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
67840 name1 = t1.get$current(t1);
67841 t2.remove$1(0, name1);
67842 }
67843 t1 = $async$self._async_environment0$_nestedForwardedModules;
67844 if (t1 != null)
67845 t1.pop();
67846 // goto the next finally handler
67847 $async$goto = $async$next.pop();
67848 break;
67849 case 11:
67850 // after finally
67851 case 1:
67852 // return
67853 return A._asyncReturn($async$returnValue, $async$completer);
67854 case 2:
67855 // rethrow
67856 return A._asyncRethrow($async$currentError, $async$completer);
67857 }
67858 });
67859 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
67860 },
67861 toImplicitConfiguration$0() {
67862 var t1, t2, i, values, nodes, t3, t4, t5, t6,
67863 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
67864 for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
67865 values = t1[i];
67866 nodes = t2[i];
67867 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
67868 t4 = t3.get$current(t3);
67869 t5 = t4.key;
67870 t4 = t4.value;
67871 t6 = nodes.$index(0, t5);
67872 t6.toString;
67873 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
67874 }
67875 }
67876 return new A.Configuration0(configuration);
67877 },
67878 toModule$2(css, extensionStore) {
67879 return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
67880 },
67881 toDummyModule$0() {
67882 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()));
67883 },
67884 _async_environment0$_getModule$1(namespace) {
67885 var module = this._async_environment0$_modules.$index(0, namespace);
67886 if (module != null)
67887 return module;
67888 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
67889 },
67890 _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
67891 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
67892 nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
67893 if (nestedForwardedModules != null)
67894 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();) {
67895 t3 = t1.__internal$_current;
67896 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
67897 t5 = t3.__internal$_current;
67898 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
67899 if (value != null)
67900 return value;
67901 }
67902 }
67903 for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
67904 value = callback.call$1(t1.__js_helper$_current);
67905 if (value != null)
67906 return value;
67907 }
67908 for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
67909 t4 = t2.__js_helper$_current;
67910 valueInModule = callback.call$1(t4);
67911 if (valueInModule == null)
67912 continue;
67913 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
67914 if (identityFromModule.$eq(0, identity))
67915 continue;
67916 if (value != null) {
67917 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
67918 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67919 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
67920 t4 = t1.get$current(t1);
67921 if (t4 != null)
67922 t2.$indexSet(0, t4, t3);
67923 }
67924 throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
67925 }
67926 identity = identityFromModule;
67927 value = valueInModule;
67928 }
67929 return value;
67930 }
67931 };
67932 A.AsyncEnvironment_importForwards_closure2.prototype = {
67933 call$1(module) {
67934 var t1 = module.get$variables();
67935 return t1.get$keys(t1);
67936 },
67937 $signature: 125
67938 };
67939 A.AsyncEnvironment_importForwards_closure3.prototype = {
67940 call$1(module) {
67941 var t1 = module.get$functions(module);
67942 return t1.get$keys(t1);
67943 },
67944 $signature: 125
67945 };
67946 A.AsyncEnvironment_importForwards_closure4.prototype = {
67947 call$1(module) {
67948 var t1 = module.get$mixins();
67949 return t1.get$keys(t1);
67950 },
67951 $signature: 125
67952 };
67953 A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
67954 call$1(module) {
67955 return module.get$variables().$index(0, this.name);
67956 },
67957 $signature: 300
67958 };
67959 A.AsyncEnvironment_setVariable_closure2.prototype = {
67960 call$0() {
67961 var t1 = this.$this;
67962 t1._async_environment0$_lastVariableName = this.name;
67963 return t1._async_environment0$_lastVariableIndex = 0;
67964 },
67965 $signature: 12
67966 };
67967 A.AsyncEnvironment_setVariable_closure3.prototype = {
67968 call$1(module) {
67969 return module.get$variables().containsKey$1(this.name) ? module : null;
67970 },
67971 $signature: 301
67972 };
67973 A.AsyncEnvironment_setVariable_closure4.prototype = {
67974 call$0() {
67975 var t1 = this.$this,
67976 t2 = t1._async_environment0$_variableIndex$1(this.name);
67977 return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
67978 },
67979 $signature: 12
67980 };
67981 A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
67982 call$1(module) {
67983 return module.get$functions(module).$index(0, this.name);
67984 },
67985 $signature: 155
67986 };
67987 A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
67988 call$1(module) {
67989 return module.get$mixins().$index(0, this.name);
67990 },
67991 $signature: 155
67992 };
67993 A.AsyncEnvironment_toModule_closure0.prototype = {
67994 call$1(modules) {
67995 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
67996 },
67997 $signature: 156
67998 };
67999 A.AsyncEnvironment_toDummyModule_closure0.prototype = {
68000 call$1(modules) {
68001 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
68002 },
68003 $signature: 156
68004 };
68005 A.AsyncEnvironment__fromOneModule_closure0.prototype = {
68006 call$1(entry) {
68007 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
68008 },
68009 $signature: 304
68010 };
68011 A.AsyncEnvironment__fromOneModule__closure0.prototype = {
68012 call$1(_) {
68013 return J.get$span$z(this.entry.value);
68014 },
68015 $signature() {
68016 return this.T._eval$1("FileSpan(0)");
68017 }
68018 };
68019 A._EnvironmentModule2.prototype = {
68020 get$url(_) {
68021 var t1 = this.css;
68022 return t1.get$span(t1).file.url;
68023 },
68024 setVariable$3($name, value, nodeWithSpan) {
68025 var t1, t2,
68026 module = this._async_environment0$_modulesByVariable.$index(0, $name);
68027 if (module != null) {
68028 module.setVariable$3($name, value, nodeWithSpan);
68029 return;
68030 }
68031 t1 = this._async_environment0$_environment;
68032 t2 = t1._async_environment0$_variables;
68033 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
68034 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
68035 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
68036 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
68037 return;
68038 },
68039 variableIdentity$1($name) {
68040 var module = this._async_environment0$_modulesByVariable.$index(0, $name);
68041 return module == null ? this : module.variableIdentity$1($name);
68042 },
68043 cloneCss$0() {
68044 var newCssAndExtensionStore, _this = this,
68045 t1 = _this.css;
68046 if (J.get$isEmpty$asx(t1.get$children(t1)))
68047 return _this;
68048 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
68049 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);
68050 },
68051 toString$0(_) {
68052 var t1 = this.css;
68053 if (t1.get$span(t1).file.url == null)
68054 t1 = "<unknown url>";
68055 else {
68056 t1 = t1.get$span(t1);
68057 t1 = $.$get$context().prettyUri$1(t1.file.url);
68058 }
68059 return t1;
68060 },
68061 $isModule0: 1,
68062 get$upstream() {
68063 return this.upstream;
68064 },
68065 get$variables() {
68066 return this.variables;
68067 },
68068 get$variableNodes() {
68069 return this.variableNodes;
68070 },
68071 get$functions(receiver) {
68072 return this.functions;
68073 },
68074 get$mixins() {
68075 return this.mixins;
68076 },
68077 get$extensionStore() {
68078 return this.extensionStore;
68079 },
68080 get$css(receiver) {
68081 return this.css;
68082 },
68083 get$transitivelyContainsCss() {
68084 return this.transitivelyContainsCss;
68085 },
68086 get$transitivelyContainsExtensions() {
68087 return this.transitivelyContainsExtensions;
68088 }
68089 };
68090 A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
68091 call$1(module) {
68092 return module.get$variables();
68093 },
68094 $signature: 305
68095 };
68096 A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
68097 call$1(module) {
68098 return module.get$variableNodes();
68099 },
68100 $signature: 306
68101 };
68102 A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
68103 call$1(module) {
68104 return module.get$functions(module);
68105 },
68106 $signature: 157
68107 };
68108 A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
68109 call$1(module) {
68110 return module.get$mixins();
68111 },
68112 $signature: 157
68113 };
68114 A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
68115 call$1(module) {
68116 return module.get$transitivelyContainsCss();
68117 },
68118 $signature: 123
68119 };
68120 A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
68121 call$1(module) {
68122 return module.get$transitivelyContainsExtensions();
68123 },
68124 $signature: 123
68125 };
68126 A._EvaluateVisitor2.prototype = {
68127 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
68128 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
68129 _s20_ = "$name, $module: null",
68130 _s9_ = "sass:meta",
68131 t1 = type$.JSArray_AsyncBuiltInCallable_2,
68132 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),
68133 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
68134 t1 = type$.AsyncBuiltInCallable_2;
68135 t2 = A.List_List$of($.$get$global6(), true, t1);
68136 B.JSArray_methods.addAll$1(t2, $.$get$local0());
68137 B.JSArray_methods.addAll$1(t2, metaFunctions);
68138 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
68139 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) {
68140 module = t1[_i];
68141 t3.$indexSet(0, module.url, module);
68142 }
68143 t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
68144 B.JSArray_methods.addAll$1(t1, functions);
68145 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
68146 B.JSArray_methods.addAll$1(t1, metaFunctions);
68147 for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
68148 $function = t1[_i];
68149 t4 = J.get$name$x($function);
68150 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
68151 }
68152 },
68153 run$2(_, importer, node) {
68154 return this.run$body$_EvaluateVisitor0(0, importer, node);
68155 },
68156 run$body$_EvaluateVisitor0(_, importer, node) {
68157 var $async$goto = 0,
68158 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
68159 $async$returnValue, $async$self = this, t1;
68160 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68161 if ($async$errorCode === 1)
68162 return A._asyncRethrow($async$result, $async$completer);
68163 while (true)
68164 switch ($async$goto) {
68165 case 0:
68166 // Function start
68167 t1 = type$.nullable_Object;
68168 $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);
68169 // goto return
68170 $async$goto = 1;
68171 break;
68172 case 1:
68173 // return
68174 return A._asyncReturn($async$returnValue, $async$completer);
68175 }
68176 });
68177 return A._asyncStartSync($async$run$2, $async$completer);
68178 },
68179 _async_evaluate0$_assertInModule$1$2(value, $name) {
68180 if (value != null)
68181 return value;
68182 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
68183 },
68184 _async_evaluate0$_assertInModule$2(value, $name) {
68185 return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
68186 },
68187 _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68188 return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
68189 },
68190 _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
68191 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
68192 },
68193 _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
68194 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
68195 },
68196 _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68197 var $async$goto = 0,
68198 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
68199 $async$returnValue, $async$self = this, t1, t2, builtInModule;
68200 var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68201 if ($async$errorCode === 1)
68202 return A._asyncRethrow($async$result, $async$completer);
68203 while (true)
68204 switch ($async$goto) {
68205 case 0:
68206 // Function start
68207 builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
68208 $async$goto = builtInModule != null ? 3 : 4;
68209 break;
68210 case 3:
68211 // then
68212 if (configuration instanceof A.ExplicitConfiguration0) {
68213 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
68214 t2 = configuration.nodeWithSpan;
68215 throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
68216 }
68217 $async$goto = 5;
68218 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);
68219 case 5:
68220 // returning from await.
68221 // goto return
68222 $async$goto = 1;
68223 break;
68224 case 4:
68225 // join
68226 $async$goto = 6;
68227 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);
68228 case 6:
68229 // returning from await.
68230 case 1:
68231 // return
68232 return A._asyncReturn($async$returnValue, $async$completer);
68233 }
68234 });
68235 return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
68236 },
68237 _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68238 return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
68239 },
68240 _async_evaluate0$_execute$2(importer, stylesheet) {
68241 return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
68242 },
68243 _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68244 var $async$goto = 0,
68245 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
68246 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
68247 var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68248 if ($async$errorCode === 1)
68249 return A._asyncRethrow($async$result, $async$completer);
68250 while (true)
68251 switch ($async$goto) {
68252 case 0:
68253 // Function start
68254 url = stylesheet.span.file.url;
68255 t1 = $async$self._async_evaluate0$_modules;
68256 alreadyLoaded = t1.$index(0, url);
68257 if (alreadyLoaded != null) {
68258 t1 = configuration == null;
68259 currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
68260 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
68261 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
68262 t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
68263 existingSpan = t2 == null ? null : J.get$span$z(t2);
68264 if (t1) {
68265 t1 = currentConfiguration.nodeWithSpan;
68266 configurationSpan = t1.get$span(t1);
68267 } else
68268 configurationSpan = null;
68269 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
68270 if (existingSpan != null)
68271 t1.$indexSet(0, existingSpan, "original load");
68272 if (configurationSpan != null)
68273 t1.$indexSet(0, configurationSpan, "configuration");
68274 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
68275 }
68276 $async$returnValue = alreadyLoaded;
68277 // goto return
68278 $async$goto = 1;
68279 break;
68280 }
68281 environment = A.AsyncEnvironment$0();
68282 css = A._Cell$();
68283 extensionStore = A.ExtensionStore$0();
68284 $async$goto = 3;
68285 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);
68286 case 3:
68287 // returning from await.
68288 module = environment.toModule$2(css._readLocal$0(), extensionStore);
68289 if (url != null) {
68290 t1.$indexSet(0, url, module);
68291 if (nodeWithSpan != null)
68292 $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
68293 }
68294 $async$returnValue = module;
68295 // goto return
68296 $async$goto = 1;
68297 break;
68298 case 1:
68299 // return
68300 return A._asyncReturn($async$returnValue, $async$completer);
68301 }
68302 });
68303 return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
68304 },
68305 _async_evaluate0$_addOutOfOrderImports$0() {
68306 var t1, t2, _this = this, _s5_ = "_root",
68307 _s13_ = "_endOfImports",
68308 outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
68309 if (outOfOrderImports == null)
68310 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68311 t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68312 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);
68313 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
68314 t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68315 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")));
68316 return t1;
68317 },
68318 _async_evaluate0$_combineCss$2$clone(root, clone) {
68319 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
68320 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
68321 selectors = root.get$extensionStore().get$simpleSelectors();
68322 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
68323 if (unsatisfiedExtension != null)
68324 _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
68325 return root.get$css(root);
68326 }
68327 sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
68328 if (clone) {
68329 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
68330 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
68331 }
68332 _this._async_evaluate0$_extendModules$1(sortedModules);
68333 t1 = type$.JSArray_CssNode_2;
68334 imports = A._setArrayType([], t1);
68335 css = A._setArrayType([], t1);
68336 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
68337 t3 = t1.__internal$_current;
68338 if (t3 == null)
68339 t3 = t2._as(t3);
68340 t3 = t3.get$css(t3);
68341 statements = t3.get$children(t3);
68342 index = _this._async_evaluate0$_indexAfterImports$1(statements);
68343 t3 = J.getInterceptor$ax(statements);
68344 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
68345 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
68346 }
68347 t1 = B.JSArray_methods.$add(imports, css);
68348 t2 = root.get$css(root);
68349 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
68350 },
68351 _async_evaluate0$_combineCss$1(root) {
68352 return this._async_evaluate0$_combineCss$2$clone(root, false);
68353 },
68354 _async_evaluate0$_extendModules$1(sortedModules) {
68355 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
68356 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
68357 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
68358 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
68359 t2 = t1.get$current(t1);
68360 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
68361 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
68362 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
68363 t3 = t2.get$extensionStore().get$addExtensions();
68364 if ($self != null)
68365 t3.call$1($self);
68366 t3 = t2.get$extensionStore();
68367 if (t3.get$isEmpty(t3))
68368 continue;
68369 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
68370 upstream = t3[_i];
68371 url = upstream.get$url(upstream);
68372 if (url == null)
68373 continue;
68374 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
68375 }
68376 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
68377 }
68378 if (unsatisfiedExtensions._collection$_length !== 0)
68379 this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
68380 },
68381 _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
68382 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
68383 },
68384 _async_evaluate0$_topologicalModules$1(root) {
68385 var t1 = type$.Module_AsyncCallable_2,
68386 sorted = A.QueueList$(null, t1);
68387 new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
68388 return sorted;
68389 },
68390 _async_evaluate0$_indexAfterImports$1(statements) {
68391 var t1, t2, t3, lastImport, i, statement;
68392 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
68393 statement = t1.$index(statements, i);
68394 if (t3._is(statement))
68395 lastImport = i;
68396 else if (!t2._is(statement))
68397 break;
68398 }
68399 return lastImport + 1;
68400 },
68401 visitStylesheet$1(node) {
68402 return this.visitStylesheet$body$_EvaluateVisitor0(node);
68403 },
68404 visitStylesheet$body$_EvaluateVisitor0(node) {
68405 var $async$goto = 0,
68406 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68407 $async$returnValue, $async$self = this, t1, t2, _i;
68408 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68409 if ($async$errorCode === 1)
68410 return A._asyncRethrow($async$result, $async$completer);
68411 while (true)
68412 switch ($async$goto) {
68413 case 0:
68414 // Function start
68415 t1 = node.children, t2 = t1.length, _i = 0;
68416 case 3:
68417 // for condition
68418 if (!(_i < t2)) {
68419 // goto after for
68420 $async$goto = 5;
68421 break;
68422 }
68423 $async$goto = 6;
68424 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
68425 case 6:
68426 // returning from await.
68427 case 4:
68428 // for update
68429 ++_i;
68430 // goto for condition
68431 $async$goto = 3;
68432 break;
68433 case 5:
68434 // after for
68435 $async$returnValue = null;
68436 // goto return
68437 $async$goto = 1;
68438 break;
68439 case 1:
68440 // return
68441 return A._asyncReturn($async$returnValue, $async$completer);
68442 }
68443 });
68444 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
68445 },
68446 visitAtRootRule$1(node) {
68447 return this.visitAtRootRule$body$_EvaluateVisitor0(node);
68448 },
68449 visitAtRootRule$body$_EvaluateVisitor0(node) {
68450 var $async$goto = 0,
68451 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68452 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
68453 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68454 if ($async$errorCode === 1)
68455 return A._asyncRethrow($async$result, $async$completer);
68456 while (true)
68457 switch ($async$goto) {
68458 case 0:
68459 // Function start
68460 unparsedQuery = node.query;
68461 $async$goto = unparsedQuery != null ? 3 : 5;
68462 break;
68463 case 3:
68464 // then
68465 $async$temp1 = unparsedQuery;
68466 $async$temp2 = A;
68467 $async$goto = 6;
68468 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
68469 case 6:
68470 // returning from await.
68471 $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
68472 // goto join
68473 $async$goto = 4;
68474 break;
68475 case 5:
68476 // else
68477 $async$result = B.AtRootQuery_UsS0;
68478 case 4:
68479 // join
68480 query = $async$result;
68481 $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68482 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
68483 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
68484 if (!query.excludes$1($parent))
68485 included.push($parent);
68486 grandparent = $parent._node1$_parent;
68487 if (grandparent == null)
68488 throw A.wrapException(A.StateError$(string$.CssNod));
68489 }
68490 root = $async$self._async_evaluate0$_trimIncluded$1(included);
68491 $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
68492 break;
68493 case 7:
68494 // then
68495 $async$goto = 9;
68496 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);
68497 case 9:
68498 // returning from await.
68499 $async$returnValue = null;
68500 // goto return
68501 $async$goto = 1;
68502 break;
68503 case 8:
68504 // join
68505 if (included.length !== 0) {
68506 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
68507 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) {
68508 t3 = t1.__internal$_current;
68509 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
68510 copy.addChild$1(outerCopy);
68511 }
68512 root.addChild$1(outerCopy);
68513 } else
68514 innerCopy = root;
68515 $async$goto = 10;
68516 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);
68517 case 10:
68518 // returning from await.
68519 $async$returnValue = null;
68520 // goto return
68521 $async$goto = 1;
68522 break;
68523 case 1:
68524 // return
68525 return A._asyncReturn($async$returnValue, $async$completer);
68526 }
68527 });
68528 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
68529 },
68530 _async_evaluate0$_trimIncluded$1(nodes) {
68531 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
68532 _s22_ = " to be an ancestor of ";
68533 if (nodes.length === 0)
68534 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68535 $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
68536 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
68537 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
68538 grandparent = $parent._node1$_parent;
68539 if (grandparent == null)
68540 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68541 }
68542 if (innermostContiguous == null)
68543 innermostContiguous = i;
68544 grandparent = $parent._node1$_parent;
68545 if (grandparent == null)
68546 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68547 }
68548 if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
68549 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68550 innermostContiguous.toString;
68551 root = nodes[innermostContiguous];
68552 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
68553 return root;
68554 },
68555 _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
68556 var _this = this,
68557 scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
68558 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
68559 if (t1 !== query.include)
68560 scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
68561 if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
68562 scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
68563 if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
68564 scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
68565 return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
68566 },
68567 visitContentBlock$1(node) {
68568 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
68569 },
68570 visitContentRule$1(node) {
68571 return this.visitContentRule$body$_EvaluateVisitor0(node);
68572 },
68573 visitContentRule$body$_EvaluateVisitor0(node) {
68574 var $async$goto = 0,
68575 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68576 $async$returnValue, $async$self = this, $content;
68577 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68578 if ($async$errorCode === 1)
68579 return A._asyncRethrow($async$result, $async$completer);
68580 while (true)
68581 switch ($async$goto) {
68582 case 0:
68583 // Function start
68584 $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
68585 if ($content == null) {
68586 $async$returnValue = null;
68587 // goto return
68588 $async$goto = 1;
68589 break;
68590 }
68591 $async$goto = 3;
68592 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);
68593 case 3:
68594 // returning from await.
68595 $async$returnValue = null;
68596 // goto return
68597 $async$goto = 1;
68598 break;
68599 case 1:
68600 // return
68601 return A._asyncReturn($async$returnValue, $async$completer);
68602 }
68603 });
68604 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
68605 },
68606 visitDebugRule$1(node) {
68607 return this.visitDebugRule$body$_EvaluateVisitor0(node);
68608 },
68609 visitDebugRule$body$_EvaluateVisitor0(node) {
68610 var $async$goto = 0,
68611 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68612 $async$returnValue, $async$self = this, value, t1;
68613 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68614 if ($async$errorCode === 1)
68615 return A._asyncRethrow($async$result, $async$completer);
68616 while (true)
68617 switch ($async$goto) {
68618 case 0:
68619 // Function start
68620 $async$goto = 3;
68621 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
68622 case 3:
68623 // returning from await.
68624 value = $async$result;
68625 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
68626 $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
68627 $async$returnValue = null;
68628 // goto return
68629 $async$goto = 1;
68630 break;
68631 case 1:
68632 // return
68633 return A._asyncReturn($async$returnValue, $async$completer);
68634 }
68635 });
68636 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
68637 },
68638 visitDeclaration$1(node) {
68639 return this.visitDeclaration$body$_EvaluateVisitor0(node);
68640 },
68641 visitDeclaration$body$_EvaluateVisitor0(node) {
68642 var $async$goto = 0,
68643 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68644 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
68645 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68646 if ($async$errorCode === 1)
68647 return A._asyncRethrow($async$result, $async$completer);
68648 while (true)
68649 switch ($async$goto) {
68650 case 0:
68651 // Function start
68652 if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
68653 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
68654 t1 = node.name;
68655 $async$goto = 3;
68656 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
68657 case 3:
68658 // returning from await.
68659 $name = $async$result;
68660 t2 = $async$self._async_evaluate0$_declarationName;
68661 if (t2 != null)
68662 $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
68663 t2 = node.value;
68664 $async$goto = 4;
68665 return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
68666 case 4:
68667 // returning from await.
68668 cssValue = $async$result;
68669 t3 = cssValue != null;
68670 if (t3)
68671 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
68672 else
68673 t4 = false;
68674 if (t4) {
68675 t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68676 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
68677 if ($async$self._async_evaluate0$_sourceMap) {
68678 t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
68679 t2 = t2 == null ? null : J.get$span$z(t2);
68680 } else
68681 t2 = null;
68682 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
68683 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
68684 throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
68685 children = node.children;
68686 $async$goto = children != null ? 5 : 6;
68687 break;
68688 case 5:
68689 // then
68690 oldDeclarationName = $async$self._async_evaluate0$_declarationName;
68691 $async$self._async_evaluate0$_declarationName = $name.get$value($name);
68692 $async$goto = 7;
68693 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);
68694 case 7:
68695 // returning from await.
68696 $async$self._async_evaluate0$_declarationName = oldDeclarationName;
68697 case 6:
68698 // join
68699 $async$returnValue = null;
68700 // goto return
68701 $async$goto = 1;
68702 break;
68703 case 1:
68704 // return
68705 return A._asyncReturn($async$returnValue, $async$completer);
68706 }
68707 });
68708 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
68709 },
68710 visitEachRule$1(node) {
68711 return this.visitEachRule$body$_EvaluateVisitor0(node);
68712 },
68713 visitEachRule$body$_EvaluateVisitor0(node) {
68714 var $async$goto = 0,
68715 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68716 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
68717 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68718 if ($async$errorCode === 1)
68719 return A._asyncRethrow($async$result, $async$completer);
68720 while (true)
68721 switch ($async$goto) {
68722 case 0:
68723 // Function start
68724 t1 = node.list;
68725 $async$goto = 3;
68726 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
68727 case 3:
68728 // returning from await.
68729 list = $async$result;
68730 nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
68731 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
68732 $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);
68733 // goto return
68734 $async$goto = 1;
68735 break;
68736 case 1:
68737 // return
68738 return A._asyncReturn($async$returnValue, $async$completer);
68739 }
68740 });
68741 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
68742 },
68743 _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
68744 var i,
68745 list = value.get$asList(),
68746 t1 = variables.length,
68747 minLength = Math.min(t1, list.length);
68748 for (i = 0; i < minLength; ++i)
68749 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
68750 for (i = minLength; i < t1; ++i)
68751 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
68752 },
68753 visitErrorRule$1(node) {
68754 return this.visitErrorRule$body$_EvaluateVisitor0(node);
68755 },
68756 visitErrorRule$body$_EvaluateVisitor0(node) {
68757 var $async$goto = 0,
68758 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
68759 $async$self = this, $async$temp1, $async$temp2;
68760 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68761 if ($async$errorCode === 1)
68762 return A._asyncRethrow($async$result, $async$completer);
68763 while (true)
68764 switch ($async$goto) {
68765 case 0:
68766 // Function start
68767 $async$temp1 = A;
68768 $async$temp2 = J;
68769 $async$goto = 2;
68770 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
68771 case 2:
68772 // returning from await.
68773 throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
68774 // implicit return
68775 return A._asyncReturn(null, $async$completer);
68776 }
68777 });
68778 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
68779 },
68780 visitExtendRule$1(node) {
68781 return this.visitExtendRule$body$_EvaluateVisitor0(node);
68782 },
68783 visitExtendRule$body$_EvaluateVisitor0(node) {
68784 var $async$goto = 0,
68785 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68786 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
68787 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68788 if ($async$errorCode === 1)
68789 return A._asyncRethrow($async$result, $async$completer);
68790 while (true)
68791 switch ($async$goto) {
68792 case 0:
68793 // Function start
68794 styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
68795 if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
68796 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
68797 $async$goto = 3;
68798 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
68799 case 3:
68800 // returning from await.
68801 targetText = $async$result;
68802 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) {
68803 t4 = t1[_i].components;
68804 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
68805 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
68806 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
68807 if (t4.length !== 1)
68808 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
68809 $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);
68810 }
68811 $async$returnValue = null;
68812 // goto return
68813 $async$goto = 1;
68814 break;
68815 case 1:
68816 // return
68817 return A._asyncReturn($async$returnValue, $async$completer);
68818 }
68819 });
68820 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
68821 },
68822 visitAtRule$1(node) {
68823 return this.visitAtRule$body$_EvaluateVisitor0(node);
68824 },
68825 visitAtRule$body$_EvaluateVisitor0(node) {
68826 var $async$goto = 0,
68827 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68828 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
68829 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68830 if ($async$errorCode === 1)
68831 return A._asyncRethrow($async$result, $async$completer);
68832 while (true)
68833 switch ($async$goto) {
68834 case 0:
68835 // Function start
68836 if ($async$self._async_evaluate0$_declarationName != null)
68837 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
68838 $async$goto = 3;
68839 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
68840 case 3:
68841 // returning from await.
68842 $name = $async$result;
68843 $async$goto = 4;
68844 return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
68845 case 4:
68846 // returning from await.
68847 value = $async$result;
68848 children = node.children;
68849 if (children == null) {
68850 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
68851 $async$returnValue = null;
68852 // goto return
68853 $async$goto = 1;
68854 break;
68855 }
68856 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
68857 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
68858 if (A.unvendor0($name.get$value($name)) === "keyframes")
68859 $async$self._async_evaluate0$_inKeyframes = true;
68860 else
68861 $async$self._async_evaluate0$_inUnknownAtRule = true;
68862 $async$goto = 5;
68863 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);
68864 case 5:
68865 // returning from await.
68866 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
68867 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
68868 $async$returnValue = null;
68869 // goto return
68870 $async$goto = 1;
68871 break;
68872 case 1:
68873 // return
68874 return A._asyncReturn($async$returnValue, $async$completer);
68875 }
68876 });
68877 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
68878 },
68879 visitForRule$1(node) {
68880 return this.visitForRule$body$_EvaluateVisitor0(node);
68881 },
68882 visitForRule$body$_EvaluateVisitor0(node) {
68883 var $async$goto = 0,
68884 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68885 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
68886 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68887 if ($async$errorCode === 1)
68888 return A._asyncRethrow($async$result, $async$completer);
68889 while (true)
68890 switch ($async$goto) {
68891 case 0:
68892 // Function start
68893 t1 = {};
68894 t2 = node.from;
68895 t3 = type$.SassNumber_2;
68896 $async$goto = 3;
68897 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
68898 case 3:
68899 // returning from await.
68900 fromNumber = $async$result;
68901 t4 = node.to;
68902 $async$goto = 4;
68903 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
68904 case 4:
68905 // returning from await.
68906 toNumber = $async$result;
68907 from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
68908 to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
68909 direction = from > to ? -1 : 1;
68910 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
68911 $async$returnValue = null;
68912 // goto return
68913 $async$goto = 1;
68914 break;
68915 }
68916 $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);
68917 // goto return
68918 $async$goto = 1;
68919 break;
68920 case 1:
68921 // return
68922 return A._asyncReturn($async$returnValue, $async$completer);
68923 }
68924 });
68925 return A._asyncStartSync($async$visitForRule$1, $async$completer);
68926 },
68927 visitForwardRule$1(node) {
68928 return this.visitForwardRule$body$_EvaluateVisitor0(node);
68929 },
68930 visitForwardRule$body$_EvaluateVisitor0(node) {
68931 var $async$goto = 0,
68932 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68933 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
68934 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68935 if ($async$errorCode === 1)
68936 return A._asyncRethrow($async$result, $async$completer);
68937 while (true)
68938 switch ($async$goto) {
68939 case 0:
68940 // Function start
68941 oldConfiguration = $async$self._async_evaluate0$_configuration;
68942 adjustedConfiguration = oldConfiguration.throughForward$1(node);
68943 t1 = node.configuration;
68944 t2 = t1.length;
68945 t3 = node.url;
68946 $async$goto = t2 !== 0 ? 3 : 5;
68947 break;
68948 case 3:
68949 // then
68950 $async$goto = 6;
68951 return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
68952 case 6:
68953 // returning from await.
68954 newConfiguration = $async$result;
68955 $async$goto = 7;
68956 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);
68957 case 7:
68958 // returning from await.
68959 t3 = type$.String;
68960 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68961 for (_i = 0; _i < t2; ++_i) {
68962 variable = t1[_i];
68963 if (!variable.isGuarded)
68964 t4.add$1(0, variable.name);
68965 }
68966 $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
68967 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68968 for (_i = 0; _i < t2; ++_i)
68969 t3.add$1(0, t1[_i].name);
68970 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) {
68971 $name = t2[_i];
68972 if (!t3.contains$1(0, $name))
68973 if (!t1.get$isEmpty(t1))
68974 t1.remove$1(0, $name);
68975 }
68976 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
68977 // goto join
68978 $async$goto = 4;
68979 break;
68980 case 5:
68981 // else
68982 $async$self._async_evaluate0$_configuration = adjustedConfiguration;
68983 $async$goto = 8;
68984 return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
68985 case 8:
68986 // returning from await.
68987 $async$self._async_evaluate0$_configuration = oldConfiguration;
68988 case 4:
68989 // join
68990 $async$returnValue = null;
68991 // goto return
68992 $async$goto = 1;
68993 break;
68994 case 1:
68995 // return
68996 return A._asyncReturn($async$returnValue, $async$completer);
68997 }
68998 });
68999 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
69000 },
69001 _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
69002 return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
69003 },
69004 _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
69005 var $async$goto = 0,
69006 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
69007 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
69008 var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69009 if ($async$errorCode === 1)
69010 return A._asyncRethrow($async$result, $async$completer);
69011 while (true)
69012 switch ($async$goto) {
69013 case 0:
69014 // Function start
69015 t1 = configuration._configuration$_values;
69016 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
69017 t2 = node.configuration, t3 = t2.length, _i = 0;
69018 case 3:
69019 // for condition
69020 if (!(_i < t3)) {
69021 // goto after for
69022 $async$goto = 5;
69023 break;
69024 }
69025 variable = t2[_i];
69026 if (variable.isGuarded) {
69027 t4 = variable.name;
69028 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
69029 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
69030 newValues.$indexSet(0, t4, t5);
69031 // goto for update
69032 $async$goto = 4;
69033 break;
69034 }
69035 }
69036 t4 = variable.expression;
69037 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
69038 $async$temp1 = newValues;
69039 $async$temp2 = variable.name;
69040 $async$temp3 = A;
69041 $async$goto = 6;
69042 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
69043 case 6:
69044 // returning from await.
69045 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
69046 case 4:
69047 // for update
69048 ++_i;
69049 // goto for condition
69050 $async$goto = 3;
69051 break;
69052 case 5:
69053 // after for
69054 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
69055 $async$returnValue = new A.ExplicitConfiguration0(node, newValues);
69056 // goto return
69057 $async$goto = 1;
69058 break;
69059 } else {
69060 $async$returnValue = new A.Configuration0(newValues);
69061 // goto return
69062 $async$goto = 1;
69063 break;
69064 }
69065 case 1:
69066 // return
69067 return A._asyncReturn($async$returnValue, $async$completer);
69068 }
69069 });
69070 return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
69071 },
69072 _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
69073 var t1, t2, t3, t4, _i, $name;
69074 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) {
69075 $name = t2[_i];
69076 if (except.contains$1(0, $name))
69077 continue;
69078 if (!t4.containsKey$1($name))
69079 if (!t1.get$isEmpty(t1))
69080 t1.remove$1(0, $name);
69081 }
69082 },
69083 _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
69084 var t1, entry;
69085 if (!(configuration instanceof A.ExplicitConfiguration0))
69086 return;
69087 t1 = configuration._configuration$_values;
69088 if (t1.get$isEmpty(t1))
69089 return;
69090 t1 = t1.get$entries(t1);
69091 entry = t1.get$first(t1);
69092 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
69093 throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
69094 },
69095 _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
69096 return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
69097 },
69098 visitFunctionRule$1(node) {
69099 return this.visitFunctionRule$body$_EvaluateVisitor0(node);
69100 },
69101 visitFunctionRule$body$_EvaluateVisitor0(node) {
69102 var $async$goto = 0,
69103 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69104 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
69105 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69106 if ($async$errorCode === 1)
69107 return A._asyncRethrow($async$result, $async$completer);
69108 while (true)
69109 switch ($async$goto) {
69110 case 0:
69111 // Function start
69112 t1 = $async$self._async_evaluate0$_environment;
69113 t2 = t1.closure$0();
69114 t3 = $async$self._async_evaluate0$_inDependency;
69115 t4 = t1._async_environment0$_functions;
69116 index = t4.length - 1;
69117 t5 = node.name;
69118 t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
69119 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
69120 $async$returnValue = null;
69121 // goto return
69122 $async$goto = 1;
69123 break;
69124 case 1:
69125 // return
69126 return A._asyncReturn($async$returnValue, $async$completer);
69127 }
69128 });
69129 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
69130 },
69131 visitIfRule$1(node) {
69132 return this.visitIfRule$body$_EvaluateVisitor0(node);
69133 },
69134 visitIfRule$body$_EvaluateVisitor0(node) {
69135 var $async$goto = 0,
69136 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69137 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
69138 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69139 if ($async$errorCode === 1)
69140 return A._asyncRethrow($async$result, $async$completer);
69141 while (true)
69142 switch ($async$goto) {
69143 case 0:
69144 // Function start
69145 _box_0 = {};
69146 _box_0.clause = node.lastClause;
69147 t1 = node.clauses, t2 = t1.length, _i = 0;
69148 case 3:
69149 // for condition
69150 if (!(_i < t2)) {
69151 // goto after for
69152 $async$goto = 5;
69153 break;
69154 }
69155 clauseToCheck = t1[_i];
69156 $async$goto = 6;
69157 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
69158 case 6:
69159 // returning from await.
69160 if ($async$result.get$isTruthy()) {
69161 _box_0.clause = clauseToCheck;
69162 // goto after for
69163 $async$goto = 5;
69164 break;
69165 }
69166 case 4:
69167 // for update
69168 ++_i;
69169 // goto for condition
69170 $async$goto = 3;
69171 break;
69172 case 5:
69173 // after for
69174 t1 = _box_0.clause;
69175 if (t1 == null) {
69176 $async$returnValue = null;
69177 // goto return
69178 $async$goto = 1;
69179 break;
69180 }
69181 $async$goto = 7;
69182 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);
69183 case 7:
69184 // returning from await.
69185 $async$returnValue = $async$result;
69186 // goto return
69187 $async$goto = 1;
69188 break;
69189 case 1:
69190 // return
69191 return A._asyncReturn($async$returnValue, $async$completer);
69192 }
69193 });
69194 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
69195 },
69196 visitImportRule$1(node) {
69197 return this.visitImportRule$body$_EvaluateVisitor0(node);
69198 },
69199 visitImportRule$body$_EvaluateVisitor0(node) {
69200 var $async$goto = 0,
69201 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69202 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
69203 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69204 if ($async$errorCode === 1)
69205 return A._asyncRethrow($async$result, $async$completer);
69206 while (true)
69207 switch ($async$goto) {
69208 case 0:
69209 // Function start
69210 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
69211 case 3:
69212 // for condition
69213 if (!(_i < t2)) {
69214 // goto after for
69215 $async$goto = 5;
69216 break;
69217 }
69218 $import = t1[_i];
69219 $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
69220 break;
69221 case 6:
69222 // then
69223 $async$goto = 9;
69224 return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
69225 case 9:
69226 // returning from await.
69227 // goto join
69228 $async$goto = 7;
69229 break;
69230 case 8:
69231 // else
69232 $async$goto = 10;
69233 return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
69234 case 10:
69235 // returning from await.
69236 case 7:
69237 // join
69238 case 4:
69239 // for update
69240 ++_i;
69241 // goto for condition
69242 $async$goto = 3;
69243 break;
69244 case 5:
69245 // after for
69246 $async$returnValue = null;
69247 // goto return
69248 $async$goto = 1;
69249 break;
69250 case 1:
69251 // return
69252 return A._asyncReturn($async$returnValue, $async$completer);
69253 }
69254 });
69255 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
69256 },
69257 _async_evaluate0$_visitDynamicImport$1($import) {
69258 return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
69259 },
69260 _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
69261 return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
69262 },
69263 _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
69264 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
69265 },
69266 _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
69267 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
69268 },
69269 _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
69270 var $async$goto = 0,
69271 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
69272 $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;
69273 var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69274 if ($async$errorCode === 1) {
69275 $async$currentError = $async$result;
69276 $async$goto = $async$handler;
69277 }
69278 while (true)
69279 switch ($async$goto) {
69280 case 0:
69281 // Function start
69282 baseUrl = baseUrl;
69283 $async$handler = 4;
69284 $async$self._async_evaluate0$_importSpan = span;
69285 importCache = $async$self._async_evaluate0$_importCache;
69286 $async$goto = importCache != null ? 7 : 9;
69287 break;
69288 case 7:
69289 // then
69290 if (baseUrl == null)
69291 baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
69292 $async$goto = 10;
69293 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);
69294 case 10:
69295 // returning from await.
69296 tuple = $async$result;
69297 $async$goto = tuple != null ? 11 : 12;
69298 break;
69299 case 11:
69300 // then
69301 isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
69302 t1 = tuple.item1;
69303 t2 = tuple.item2;
69304 t3 = tuple.item3;
69305 t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
69306 $async$goto = 13;
69307 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69308 case 13:
69309 // returning from await.
69310 stylesheet = $async$result;
69311 if (stylesheet != null) {
69312 $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
69313 t1 = tuple.item1;
69314 $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
69315 $async$next = [1];
69316 // goto finally
69317 $async$goto = 5;
69318 break;
69319 }
69320 case 12:
69321 // join
69322 // goto join
69323 $async$goto = 8;
69324 break;
69325 case 9:
69326 // else
69327 $async$goto = 14;
69328 return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$2(url, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69329 case 14:
69330 // returning from await.
69331 result = $async$result;
69332 if (result != null) {
69333 t1 = $async$self._async_evaluate0$_loadedUrls;
69334 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
69335 $async$returnValue = result;
69336 $async$next = [1];
69337 // goto finally
69338 $async$goto = 5;
69339 break;
69340 }
69341 case 8:
69342 // join
69343 if (B.JSString_methods.startsWith$1(url, "package:") && true)
69344 throw A.wrapException(string$.x22packa);
69345 else
69346 throw A.wrapException("Can't find stylesheet to import.");
69347 $async$next.push(6);
69348 // goto finally
69349 $async$goto = 5;
69350 break;
69351 case 4:
69352 // catch
69353 $async$handler = 3;
69354 $async$exception = $async$currentError;
69355 t1 = A.unwrapException($async$exception);
69356 if (t1 instanceof A.SassException0) {
69357 error = t1;
69358 stackTrace = A.getTraceFromException($async$exception);
69359 t1 = error;
69360 t2 = J.getInterceptor$z(t1);
69361 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
69362 } else {
69363 error0 = t1;
69364 stackTrace0 = A.getTraceFromException($async$exception);
69365 message = null;
69366 try {
69367 message = A._asString(J.get$message$x(error0));
69368 } catch (exception) {
69369 message0 = J.toString$0$(error0);
69370 message = message0;
69371 }
69372 A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
69373 }
69374 $async$next.push(6);
69375 // goto finally
69376 $async$goto = 5;
69377 break;
69378 case 3:
69379 // uncaught
69380 $async$next = [2];
69381 case 5:
69382 // finally
69383 $async$handler = 2;
69384 $async$self._async_evaluate0$_importSpan = null;
69385 // goto the next finally handler
69386 $async$goto = $async$next.pop();
69387 break;
69388 case 6:
69389 // after finally
69390 case 1:
69391 // return
69392 return A._asyncReturn($async$returnValue, $async$completer);
69393 case 2:
69394 // rethrow
69395 return A._asyncRethrow($async$currentError, $async$completer);
69396 }
69397 });
69398 return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
69399 },
69400 _async_evaluate0$_importLikeNode$2(originalUrl, forImport) {
69401 return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport);
69402 },
69403 _importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport) {
69404 var $async$goto = 0,
69405 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
69406 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
69407 var $async$_async_evaluate0$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69408 if ($async$errorCode === 1)
69409 return A._asyncRethrow($async$result, $async$completer);
69410 while (true)
69411 switch ($async$goto) {
69412 case 0:
69413 // Function start
69414 t1 = $async$self._async_evaluate0$_nodeImporter;
69415 t1.toString;
69416 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url, forImport);
69417 $async$goto = result != null ? 3 : 5;
69418 break;
69419 case 3:
69420 // then
69421 isDependency = $async$self._async_evaluate0$_inDependency;
69422 // goto join
69423 $async$goto = 4;
69424 break;
69425 case 5:
69426 // else
69427 $async$goto = 6;
69428 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);
69429 case 6:
69430 // returning from await.
69431 result = $async$result;
69432 if (result == null) {
69433 $async$returnValue = null;
69434 // goto return
69435 $async$goto = 1;
69436 break;
69437 }
69438 isDependency = true;
69439 case 4:
69440 // join
69441 url = result.item2;
69442 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
69443 t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
69444 $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
69445 // goto return
69446 $async$goto = 1;
69447 break;
69448 case 1:
69449 // return
69450 return A._asyncReturn($async$returnValue, $async$completer);
69451 }
69452 });
69453 return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$2, $async$completer);
69454 },
69455 _async_evaluate0$_visitStaticImport$1($import) {
69456 return this._visitStaticImport$body$_EvaluateVisitor0($import);
69457 },
69458 _visitStaticImport$body$_EvaluateVisitor0($import) {
69459 var $async$goto = 0,
69460 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
69461 $async$self = this, t1, node, $async$temp1, $async$temp2;
69462 var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69463 if ($async$errorCode === 1)
69464 return A._asyncRethrow($async$result, $async$completer);
69465 while (true)
69466 switch ($async$goto) {
69467 case 0:
69468 // Function start
69469 $async$temp1 = A;
69470 $async$goto = 2;
69471 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
69472 case 2:
69473 // returning from await.
69474 $async$temp2 = $async$result;
69475 $async$goto = 3;
69476 return A._asyncAwait(A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue()), $async$_async_evaluate0$_visitStaticImport$1);
69477 case 3:
69478 // returning from await.
69479 node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
69480 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"))
69481 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
69482 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)) {
69483 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
69484 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69485 } else {
69486 t1 = $async$self._async_evaluate0$_outOfOrderImports;
69487 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
69488 }
69489 // implicit return
69490 return A._asyncReturn(null, $async$completer);
69491 }
69492 });
69493 return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
69494 },
69495 visitIncludeRule$1(node) {
69496 return this.visitIncludeRule$body$_EvaluateVisitor0(node);
69497 },
69498 visitIncludeRule$body$_EvaluateVisitor0(node) {
69499 var $async$goto = 0,
69500 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69501 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
69502 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69503 if ($async$errorCode === 1)
69504 return A._asyncRethrow($async$result, $async$completer);
69505 while (true)
69506 switch ($async$goto) {
69507 case 0:
69508 // Function start
69509 mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
69510 if (mixin == null)
69511 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
69512 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
69513 $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
69514 break;
69515 case 3:
69516 // then
69517 if (node.content != null)
69518 throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
69519 $async$goto = 6;
69520 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
69521 case 6:
69522 // returning from await.
69523 // goto join
69524 $async$goto = 4;
69525 break;
69526 case 5:
69527 // else
69528 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
69529 break;
69530 case 7:
69531 // then
69532 t1 = node.content;
69533 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
69534 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())));
69535 $async$goto = 10;
69536 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);
69537 case 10:
69538 // returning from await.
69539 // goto join
69540 $async$goto = 8;
69541 break;
69542 case 9:
69543 // else
69544 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
69545 case 8:
69546 // join
69547 case 4:
69548 // join
69549 $async$returnValue = null;
69550 // goto return
69551 $async$goto = 1;
69552 break;
69553 case 1:
69554 // return
69555 return A._asyncReturn($async$returnValue, $async$completer);
69556 }
69557 });
69558 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
69559 },
69560 visitMixinRule$1(node) {
69561 return this.visitMixinRule$body$_EvaluateVisitor0(node);
69562 },
69563 visitMixinRule$body$_EvaluateVisitor0(node) {
69564 var $async$goto = 0,
69565 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69566 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
69567 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69568 if ($async$errorCode === 1)
69569 return A._asyncRethrow($async$result, $async$completer);
69570 while (true)
69571 switch ($async$goto) {
69572 case 0:
69573 // Function start
69574 t1 = $async$self._async_evaluate0$_environment;
69575 t2 = t1.closure$0();
69576 t3 = $async$self._async_evaluate0$_inDependency;
69577 t4 = t1._async_environment0$_mixins;
69578 index = t4.length - 1;
69579 t5 = node.name;
69580 t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
69581 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
69582 $async$returnValue = null;
69583 // goto return
69584 $async$goto = 1;
69585 break;
69586 case 1:
69587 // return
69588 return A._asyncReturn($async$returnValue, $async$completer);
69589 }
69590 });
69591 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
69592 },
69593 visitLoudComment$1(node) {
69594 return this.visitLoudComment$body$_EvaluateVisitor0(node);
69595 },
69596 visitLoudComment$body$_EvaluateVisitor0(node) {
69597 var $async$goto = 0,
69598 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69599 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69600 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69601 if ($async$errorCode === 1)
69602 return A._asyncRethrow($async$result, $async$completer);
69603 while (true)
69604 switch ($async$goto) {
69605 case 0:
69606 // Function start
69607 if ($async$self._async_evaluate0$_inFunction) {
69608 $async$returnValue = null;
69609 // goto return
69610 $async$goto = 1;
69611 break;
69612 }
69613 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))
69614 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69615 t1 = node.text;
69616 $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
69617 $async$temp2 = A;
69618 $async$goto = 3;
69619 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
69620 case 3:
69621 // returning from await.
69622 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
69623 $async$returnValue = null;
69624 // goto return
69625 $async$goto = 1;
69626 break;
69627 case 1:
69628 // return
69629 return A._asyncReturn($async$returnValue, $async$completer);
69630 }
69631 });
69632 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
69633 },
69634 visitMediaRule$1(node) {
69635 return this.visitMediaRule$body$_EvaluateVisitor0(node);
69636 },
69637 visitMediaRule$body$_EvaluateVisitor0(node) {
69638 var $async$goto = 0,
69639 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69640 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
69641 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69642 if ($async$errorCode === 1)
69643 return A._asyncRethrow($async$result, $async$completer);
69644 while (true)
69645 switch ($async$goto) {
69646 case 0:
69647 // Function start
69648 if ($async$self._async_evaluate0$_declarationName != null)
69649 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
69650 $async$goto = 3;
69651 return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
69652 case 3:
69653 // returning from await.
69654 queries = $async$result;
69655 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
69656 t1 = mergedQueries == null;
69657 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
69658 $async$returnValue = null;
69659 // goto return
69660 $async$goto = 1;
69661 break;
69662 }
69663 t1 = t1 ? queries : mergedQueries;
69664 $async$goto = 4;
69665 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);
69666 case 4:
69667 // returning from await.
69668 $async$returnValue = null;
69669 // goto return
69670 $async$goto = 1;
69671 break;
69672 case 1:
69673 // return
69674 return A._asyncReturn($async$returnValue, $async$completer);
69675 }
69676 });
69677 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
69678 },
69679 _async_evaluate0$_visitMediaQueries$1(interpolation) {
69680 return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
69681 },
69682 _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
69683 var $async$goto = 0,
69684 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
69685 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
69686 var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69687 if ($async$errorCode === 1)
69688 return A._asyncRethrow($async$result, $async$completer);
69689 while (true)
69690 switch ($async$goto) {
69691 case 0:
69692 // Function start
69693 $async$temp1 = interpolation;
69694 $async$temp2 = A;
69695 $async$goto = 3;
69696 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
69697 case 3:
69698 // returning from await.
69699 $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
69700 // goto return
69701 $async$goto = 1;
69702 break;
69703 case 1:
69704 // return
69705 return A._asyncReturn($async$returnValue, $async$completer);
69706 }
69707 });
69708 return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
69709 },
69710 _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
69711 var t1, t2, t3, t4, t5, result,
69712 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
69713 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
69714 t4 = t1.get$current(t1);
69715 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
69716 result = t4.merge$1(t5.get$current(t5));
69717 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
69718 continue;
69719 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
69720 return null;
69721 queries.push(t3._as(result).query);
69722 }
69723 }
69724 return queries;
69725 },
69726 visitReturnRule$1(node) {
69727 return this.visitReturnRule$body$_EvaluateVisitor0(node);
69728 },
69729 visitReturnRule$body$_EvaluateVisitor0(node) {
69730 var $async$goto = 0,
69731 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69732 $async$returnValue, $async$self = this, t1;
69733 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69734 if ($async$errorCode === 1)
69735 return A._asyncRethrow($async$result, $async$completer);
69736 while (true)
69737 switch ($async$goto) {
69738 case 0:
69739 // Function start
69740 t1 = node.expression;
69741 $async$goto = 3;
69742 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
69743 case 3:
69744 // returning from await.
69745 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
69746 // goto return
69747 $async$goto = 1;
69748 break;
69749 case 1:
69750 // return
69751 return A._asyncReturn($async$returnValue, $async$completer);
69752 }
69753 });
69754 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
69755 },
69756 visitSilentComment$1(node) {
69757 return this.visitSilentComment$body$_EvaluateVisitor0(node);
69758 },
69759 visitSilentComment$body$_EvaluateVisitor0(node) {
69760 var $async$goto = 0,
69761 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69762 $async$returnValue;
69763 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69764 if ($async$errorCode === 1)
69765 return A._asyncRethrow($async$result, $async$completer);
69766 while (true)
69767 switch ($async$goto) {
69768 case 0:
69769 // Function start
69770 $async$returnValue = null;
69771 // goto return
69772 $async$goto = 1;
69773 break;
69774 case 1:
69775 // return
69776 return A._asyncReturn($async$returnValue, $async$completer);
69777 }
69778 });
69779 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
69780 },
69781 visitStyleRule$1(node) {
69782 return this.visitStyleRule$body$_EvaluateVisitor0(node);
69783 },
69784 visitStyleRule$body$_EvaluateVisitor0(node) {
69785 var $async$goto = 0,
69786 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69787 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
69788 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69789 if ($async$errorCode === 1)
69790 return A._asyncRethrow($async$result, $async$completer);
69791 while (true)
69792 switch ($async$goto) {
69793 case 0:
69794 // Function start
69795 t1 = {};
69796 if ($async$self._async_evaluate0$_declarationName != null)
69797 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
69798 t2 = node.selector;
69799 $async$goto = 3;
69800 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
69801 case 3:
69802 // returning from await.
69803 selectorText = $async$result;
69804 $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
69805 break;
69806 case 4:
69807 // then
69808 $async$goto = 6;
69809 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);
69810 case 6:
69811 // returning from await.
69812 $async$returnValue = null;
69813 // goto return
69814 $async$goto = 1;
69815 break;
69816 case 5:
69817 // join
69818 t1.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText));
69819 t1.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure24(t1, $async$self));
69820 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);
69821 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
69822 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
69823 $async$goto = 7;
69824 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);
69825 case 7:
69826 // returning from await.
69827 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
69828 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
69829 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69830 t1 = !t1.get$isEmpty(t1);
69831 }
69832 if (t1) {
69833 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69834 t1.get$last(t1).isGroupEnd = true;
69835 }
69836 $async$returnValue = null;
69837 // goto return
69838 $async$goto = 1;
69839 break;
69840 case 1:
69841 // return
69842 return A._asyncReturn($async$returnValue, $async$completer);
69843 }
69844 });
69845 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
69846 },
69847 visitSupportsRule$1(node) {
69848 return this.visitSupportsRule$body$_EvaluateVisitor0(node);
69849 },
69850 visitSupportsRule$body$_EvaluateVisitor0(node) {
69851 var $async$goto = 0,
69852 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69853 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69854 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69855 if ($async$errorCode === 1)
69856 return A._asyncRethrow($async$result, $async$completer);
69857 while (true)
69858 switch ($async$goto) {
69859 case 0:
69860 // Function start
69861 if ($async$self._async_evaluate0$_declarationName != null)
69862 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
69863 t1 = node.condition;
69864 $async$temp1 = A;
69865 $async$temp2 = A;
69866 $async$goto = 4;
69867 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
69868 case 4:
69869 // returning from await.
69870 $async$goto = 3;
69871 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);
69872 case 3:
69873 // returning from await.
69874 $async$returnValue = null;
69875 // goto return
69876 $async$goto = 1;
69877 break;
69878 case 1:
69879 // return
69880 return A._asyncReturn($async$returnValue, $async$completer);
69881 }
69882 });
69883 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
69884 },
69885 _async_evaluate0$_visitSupportsCondition$1(condition) {
69886 return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
69887 },
69888 _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
69889 var $async$goto = 0,
69890 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69891 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
69892 var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69893 if ($async$errorCode === 1)
69894 return A._asyncRethrow($async$result, $async$completer);
69895 while (true)
69896 switch ($async$goto) {
69897 case 0:
69898 // Function start
69899 $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
69900 break;
69901 case 3:
69902 // then
69903 t1 = condition.operator;
69904 $async$temp1 = A;
69905 $async$goto = 6;
69906 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69907 case 6:
69908 // returning from await.
69909 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
69910 $async$temp2 = A;
69911 $async$goto = 7;
69912 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69913 case 7:
69914 // returning from await.
69915 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
69916 // goto return
69917 $async$goto = 1;
69918 break;
69919 // goto join
69920 $async$goto = 4;
69921 break;
69922 case 5:
69923 // else
69924 $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
69925 break;
69926 case 8:
69927 // then
69928 $async$temp1 = A;
69929 $async$goto = 11;
69930 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
69931 case 11:
69932 // returning from await.
69933 $async$returnValue = "not " + $async$temp1.S($async$result);
69934 // goto return
69935 $async$goto = 1;
69936 break;
69937 // goto join
69938 $async$goto = 9;
69939 break;
69940 case 10:
69941 // else
69942 $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
69943 break;
69944 case 12:
69945 // then
69946 $async$goto = 15;
69947 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
69948 case 15:
69949 // returning from await.
69950 $async$returnValue = $async$result;
69951 // goto return
69952 $async$goto = 1;
69953 break;
69954 // goto join
69955 $async$goto = 13;
69956 break;
69957 case 14:
69958 // else
69959 $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
69960 break;
69961 case 16:
69962 // then
69963 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
69964 $async$self._async_evaluate0$_inSupportsDeclaration = true;
69965 $async$temp1 = A;
69966 $async$goto = 19;
69967 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69968 case 19:
69969 // returning from await.
69970 t1 = $async$temp1.S($async$result);
69971 t2 = condition.get$isCustomProperty() ? "" : " ";
69972 $async$temp1 = A;
69973 $async$goto = 20;
69974 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
69975 case 20:
69976 // returning from await.
69977 t3 = $async$temp1.S($async$result);
69978 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
69979 $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
69980 // goto return
69981 $async$goto = 1;
69982 break;
69983 // goto join
69984 $async$goto = 17;
69985 break;
69986 case 18:
69987 // else
69988 $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
69989 break;
69990 case 21:
69991 // then
69992 $async$temp1 = A;
69993 $async$goto = 24;
69994 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69995 case 24:
69996 // returning from await.
69997 $async$temp1 = $async$temp1.S($async$result) + "(";
69998 $async$temp2 = A;
69999 $async$goto = 25;
70000 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
70001 case 25:
70002 // returning from await.
70003 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
70004 // goto return
70005 $async$goto = 1;
70006 break;
70007 // goto join
70008 $async$goto = 22;
70009 break;
70010 case 23:
70011 // else
70012 $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
70013 break;
70014 case 26:
70015 // then
70016 $async$temp1 = A;
70017 $async$goto = 29;
70018 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
70019 case 29:
70020 // returning from await.
70021 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
70022 // goto return
70023 $async$goto = 1;
70024 break;
70025 // goto join
70026 $async$goto = 27;
70027 break;
70028 case 28:
70029 // else
70030 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
70031 case 27:
70032 // join
70033 case 22:
70034 // join
70035 case 17:
70036 // join
70037 case 13:
70038 // join
70039 case 9:
70040 // join
70041 case 4:
70042 // join
70043 case 1:
70044 // return
70045 return A._asyncReturn($async$returnValue, $async$completer);
70046 }
70047 });
70048 return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
70049 },
70050 _async_evaluate0$_parenthesize$2(condition, operator) {
70051 return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
70052 },
70053 _async_evaluate0$_parenthesize$1(condition) {
70054 return this._async_evaluate0$_parenthesize$2(condition, null);
70055 },
70056 _parenthesize$body$_EvaluateVisitor0(condition, operator) {
70057 var $async$goto = 0,
70058 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
70059 $async$returnValue, $async$self = this, t1, $async$temp1;
70060 var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70061 if ($async$errorCode === 1)
70062 return A._asyncRethrow($async$result, $async$completer);
70063 while (true)
70064 switch ($async$goto) {
70065 case 0:
70066 // Function start
70067 if (!(condition instanceof A.SupportsNegation0))
70068 if (condition instanceof A.SupportsOperation0)
70069 t1 = operator == null || operator !== condition.operator;
70070 else
70071 t1 = false;
70072 else
70073 t1 = true;
70074 $async$goto = t1 ? 3 : 5;
70075 break;
70076 case 3:
70077 // then
70078 $async$temp1 = A;
70079 $async$goto = 6;
70080 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
70081 case 6:
70082 // returning from await.
70083 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
70084 // goto return
70085 $async$goto = 1;
70086 break;
70087 // goto join
70088 $async$goto = 4;
70089 break;
70090 case 5:
70091 // else
70092 $async$goto = 7;
70093 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
70094 case 7:
70095 // returning from await.
70096 $async$returnValue = $async$result;
70097 // goto return
70098 $async$goto = 1;
70099 break;
70100 case 4:
70101 // join
70102 case 1:
70103 // return
70104 return A._asyncReturn($async$returnValue, $async$completer);
70105 }
70106 });
70107 return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
70108 },
70109 visitVariableDeclaration$1(node) {
70110 return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
70111 },
70112 visitVariableDeclaration$body$_EvaluateVisitor0(node) {
70113 var $async$goto = 0,
70114 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70115 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
70116 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70117 if ($async$errorCode === 1)
70118 return A._asyncRethrow($async$result, $async$completer);
70119 while (true)
70120 switch ($async$goto) {
70121 case 0:
70122 // Function start
70123 if (node.isGuarded) {
70124 if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
70125 t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
70126 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
70127 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
70128 $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
70129 $async$returnValue = null;
70130 // goto return
70131 $async$goto = 1;
70132 break;
70133 }
70134 }
70135 value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
70136 if (value != null && !value.$eq(0, B.C__SassNull0)) {
70137 $async$returnValue = null;
70138 // goto return
70139 $async$goto = 1;
70140 break;
70141 }
70142 }
70143 if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
70144 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.";
70145 $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
70146 }
70147 t1 = node.expression;
70148 $async$temp1 = node;
70149 $async$temp2 = A;
70150 $async$temp3 = node;
70151 $async$goto = 3;
70152 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
70153 case 3:
70154 // returning from await.
70155 $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)));
70156 $async$returnValue = null;
70157 // goto return
70158 $async$goto = 1;
70159 break;
70160 case 1:
70161 // return
70162 return A._asyncReturn($async$returnValue, $async$completer);
70163 }
70164 });
70165 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
70166 },
70167 visitUseRule$1(node) {
70168 return this.visitUseRule$body$_EvaluateVisitor0(node);
70169 },
70170 visitUseRule$body$_EvaluateVisitor0(node) {
70171 var $async$goto = 0,
70172 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70173 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
70174 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70175 if ($async$errorCode === 1)
70176 return A._asyncRethrow($async$result, $async$completer);
70177 while (true)
70178 switch ($async$goto) {
70179 case 0:
70180 // Function start
70181 t1 = node.configuration;
70182 t2 = t1.length;
70183 $async$goto = t2 !== 0 ? 3 : 5;
70184 break;
70185 case 3:
70186 // then
70187 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
70188 _i = 0;
70189 case 6:
70190 // for condition
70191 if (!(_i < t2)) {
70192 // goto after for
70193 $async$goto = 8;
70194 break;
70195 }
70196 variable = t1[_i];
70197 t3 = variable.expression;
70198 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
70199 $async$temp1 = values;
70200 $async$temp2 = variable.name;
70201 $async$temp3 = A;
70202 $async$goto = 9;
70203 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
70204 case 9:
70205 // returning from await.
70206 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
70207 case 7:
70208 // for update
70209 ++_i;
70210 // goto for condition
70211 $async$goto = 6;
70212 break;
70213 case 8:
70214 // after for
70215 configuration = new A.ExplicitConfiguration0(node, values);
70216 // goto join
70217 $async$goto = 4;
70218 break;
70219 case 5:
70220 // else
70221 configuration = B.Configuration_Map_empty0;
70222 case 4:
70223 // join
70224 $async$goto = 10;
70225 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);
70226 case 10:
70227 // returning from await.
70228 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
70229 $async$returnValue = null;
70230 // goto return
70231 $async$goto = 1;
70232 break;
70233 case 1:
70234 // return
70235 return A._asyncReturn($async$returnValue, $async$completer);
70236 }
70237 });
70238 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
70239 },
70240 visitWarnRule$1(node) {
70241 return this.visitWarnRule$body$_EvaluateVisitor0(node);
70242 },
70243 visitWarnRule$body$_EvaluateVisitor0(node) {
70244 var $async$goto = 0,
70245 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70246 $async$returnValue, $async$self = this, value, t1;
70247 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70248 if ($async$errorCode === 1)
70249 return A._asyncRethrow($async$result, $async$completer);
70250 while (true)
70251 switch ($async$goto) {
70252 case 0:
70253 // Function start
70254 $async$goto = 3;
70255 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);
70256 case 3:
70257 // returning from await.
70258 value = $async$result;
70259 t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
70260 $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
70261 $async$returnValue = null;
70262 // goto return
70263 $async$goto = 1;
70264 break;
70265 case 1:
70266 // return
70267 return A._asyncReturn($async$returnValue, $async$completer);
70268 }
70269 });
70270 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
70271 },
70272 visitWhileRule$1(node) {
70273 return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
70274 },
70275 visitBinaryOperationExpression$1(node) {
70276 return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
70277 },
70278 visitValueExpression$1(node) {
70279 return this.visitValueExpression$body$_EvaluateVisitor0(node);
70280 },
70281 visitValueExpression$body$_EvaluateVisitor0(node) {
70282 var $async$goto = 0,
70283 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70284 $async$returnValue;
70285 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70286 if ($async$errorCode === 1)
70287 return A._asyncRethrow($async$result, $async$completer);
70288 while (true)
70289 switch ($async$goto) {
70290 case 0:
70291 // Function start
70292 $async$returnValue = node.value;
70293 // goto return
70294 $async$goto = 1;
70295 break;
70296 case 1:
70297 // return
70298 return A._asyncReturn($async$returnValue, $async$completer);
70299 }
70300 });
70301 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
70302 },
70303 visitVariableExpression$1(node) {
70304 return this.visitVariableExpression$body$_EvaluateVisitor0(node);
70305 },
70306 visitVariableExpression$body$_EvaluateVisitor0(node) {
70307 var $async$goto = 0,
70308 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70309 $async$returnValue, $async$self = this, result;
70310 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70311 if ($async$errorCode === 1)
70312 return A._asyncRethrow($async$result, $async$completer);
70313 while (true)
70314 switch ($async$goto) {
70315 case 0:
70316 // Function start
70317 result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
70318 if (result != null) {
70319 $async$returnValue = result;
70320 // goto return
70321 $async$goto = 1;
70322 break;
70323 }
70324 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
70325 case 1:
70326 // return
70327 return A._asyncReturn($async$returnValue, $async$completer);
70328 }
70329 });
70330 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
70331 },
70332 visitUnaryOperationExpression$1(node) {
70333 return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
70334 },
70335 visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
70336 var $async$goto = 0,
70337 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70338 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
70339 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70340 if ($async$errorCode === 1)
70341 return A._asyncRethrow($async$result, $async$completer);
70342 while (true)
70343 switch ($async$goto) {
70344 case 0:
70345 // Function start
70346 $async$temp1 = node;
70347 $async$temp2 = A;
70348 $async$temp3 = node;
70349 $async$goto = 3;
70350 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
70351 case 3:
70352 // returning from await.
70353 $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
70354 // goto return
70355 $async$goto = 1;
70356 break;
70357 case 1:
70358 // return
70359 return A._asyncReturn($async$returnValue, $async$completer);
70360 }
70361 });
70362 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
70363 },
70364 visitBooleanExpression$1(node) {
70365 return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
70366 },
70367 visitBooleanExpression$body$_EvaluateVisitor0(node) {
70368 var $async$goto = 0,
70369 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
70370 $async$returnValue;
70371 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70372 if ($async$errorCode === 1)
70373 return A._asyncRethrow($async$result, $async$completer);
70374 while (true)
70375 switch ($async$goto) {
70376 case 0:
70377 // Function start
70378 $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
70379 // goto return
70380 $async$goto = 1;
70381 break;
70382 case 1:
70383 // return
70384 return A._asyncReturn($async$returnValue, $async$completer);
70385 }
70386 });
70387 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
70388 },
70389 visitIfExpression$1(node) {
70390 return this.visitIfExpression$body$_EvaluateVisitor0(node);
70391 },
70392 visitIfExpression$body$_EvaluateVisitor0(node) {
70393 var $async$goto = 0,
70394 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70395 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
70396 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70397 if ($async$errorCode === 1)
70398 return A._asyncRethrow($async$result, $async$completer);
70399 while (true)
70400 switch ($async$goto) {
70401 case 0:
70402 // Function start
70403 $async$goto = 3;
70404 return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
70405 case 3:
70406 // returning from await.
70407 pair = $async$result;
70408 positional = pair.item1;
70409 named = pair.item2;
70410 t1 = J.getInterceptor$asx(positional);
70411 $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
70412 if (t1.get$length(positional) > 0)
70413 condition = t1.$index(positional, 0);
70414 else {
70415 t2 = named.$index(0, "condition");
70416 t2.toString;
70417 condition = t2;
70418 }
70419 if (t1.get$length(positional) > 1)
70420 ifTrue = t1.$index(positional, 1);
70421 else {
70422 t2 = named.$index(0, "if-true");
70423 t2.toString;
70424 ifTrue = t2;
70425 }
70426 if (t1.get$length(positional) > 2)
70427 ifFalse = t1.$index(positional, 2);
70428 else {
70429 t1 = named.$index(0, "if-false");
70430 t1.toString;
70431 ifFalse = t1;
70432 }
70433 $async$goto = 4;
70434 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
70435 case 4:
70436 // returning from await.
70437 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
70438 $async$goto = 5;
70439 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
70440 case 5:
70441 // returning from await.
70442 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
70443 // goto return
70444 $async$goto = 1;
70445 break;
70446 case 1:
70447 // return
70448 return A._asyncReturn($async$returnValue, $async$completer);
70449 }
70450 });
70451 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
70452 },
70453 visitNullExpression$1(node) {
70454 return this.visitNullExpression$body$_EvaluateVisitor0(node);
70455 },
70456 visitNullExpression$body$_EvaluateVisitor0(node) {
70457 var $async$goto = 0,
70458 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70459 $async$returnValue;
70460 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70461 if ($async$errorCode === 1)
70462 return A._asyncRethrow($async$result, $async$completer);
70463 while (true)
70464 switch ($async$goto) {
70465 case 0:
70466 // Function start
70467 $async$returnValue = B.C__SassNull0;
70468 // goto return
70469 $async$goto = 1;
70470 break;
70471 case 1:
70472 // return
70473 return A._asyncReturn($async$returnValue, $async$completer);
70474 }
70475 });
70476 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
70477 },
70478 visitNumberExpression$1(node) {
70479 return this.visitNumberExpression$body$_EvaluateVisitor0(node);
70480 },
70481 visitNumberExpression$body$_EvaluateVisitor0(node) {
70482 var $async$goto = 0,
70483 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
70484 $async$returnValue, t1, t2;
70485 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70486 if ($async$errorCode === 1)
70487 return A._asyncRethrow($async$result, $async$completer);
70488 while (true)
70489 switch ($async$goto) {
70490 case 0:
70491 // Function start
70492 t1 = node.value;
70493 t2 = node.unit;
70494 $async$returnValue = t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
70495 // goto return
70496 $async$goto = 1;
70497 break;
70498 case 1:
70499 // return
70500 return A._asyncReturn($async$returnValue, $async$completer);
70501 }
70502 });
70503 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
70504 },
70505 visitParenthesizedExpression$1(node) {
70506 return node.expression.accept$1(this);
70507 },
70508 visitCalculationExpression$1(node) {
70509 return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
70510 },
70511 visitCalculationExpression$body$_EvaluateVisitor0(node) {
70512 var $async$goto = 0,
70513 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70514 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
70515 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70516 if ($async$errorCode === 1)
70517 return A._asyncRethrow($async$result, $async$completer);
70518 while (true)
70519 $async$outer:
70520 switch ($async$goto) {
70521 case 0:
70522 // Function start
70523 t1 = A._setArrayType([], type$.JSArray_Object);
70524 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
70525 case 3:
70526 // for condition
70527 if (!(_i < t3)) {
70528 // goto after for
70529 $async$goto = 5;
70530 break;
70531 }
70532 argument = t2[_i];
70533 $async$temp1 = t1;
70534 $async$goto = 6;
70535 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
70536 case 6:
70537 // returning from await.
70538 $async$temp1.push($async$result);
70539 case 4:
70540 // for update
70541 ++_i;
70542 // goto for condition
70543 $async$goto = 3;
70544 break;
70545 case 5:
70546 // after for
70547 $arguments = t1;
70548 if ($async$self._async_evaluate0$_inSupportsDeclaration) {
70549 $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
70550 // goto return
70551 $async$goto = 1;
70552 break;
70553 }
70554 try {
70555 switch (t4) {
70556 case "calc":
70557 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
70558 $async$returnValue = t1;
70559 // goto return
70560 $async$goto = 1;
70561 break $async$outer;
70562 case "min":
70563 t1 = A.SassCalculation_min0($arguments);
70564 $async$returnValue = t1;
70565 // goto return
70566 $async$goto = 1;
70567 break $async$outer;
70568 case "max":
70569 t1 = A.SassCalculation_max0($arguments);
70570 $async$returnValue = t1;
70571 // goto return
70572 $async$goto = 1;
70573 break $async$outer;
70574 case "clamp":
70575 t1 = J.$index$asx($arguments, 0);
70576 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
70577 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
70578 $async$returnValue = t1;
70579 // goto return
70580 $async$goto = 1;
70581 break $async$outer;
70582 default:
70583 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
70584 throw A.wrapException(t1);
70585 }
70586 } catch (exception) {
70587 t1 = A.unwrapException(exception);
70588 if (t1 instanceof A.SassScriptException0) {
70589 error = t1;
70590 stackTrace = A.getTraceFromException(exception);
70591 $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
70592 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
70593 } else
70594 throw exception;
70595 }
70596 case 1:
70597 // return
70598 return A._asyncReturn($async$returnValue, $async$completer);
70599 }
70600 });
70601 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
70602 },
70603 _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
70604 var i, t1, arg, number1, j, number2;
70605 for (i = 0; t1 = args.length, i < t1; ++i) {
70606 arg = args[i];
70607 if (!(arg instanceof A.SassNumber0))
70608 continue;
70609 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
70610 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])));
70611 }
70612 for (i = 0; i < t1 - 1; ++i) {
70613 number1 = args[i];
70614 if (!(number1 instanceof A.SassNumber0))
70615 continue;
70616 for (j = i + 1; t1 = args.length, j < t1; ++j) {
70617 number2 = args[j];
70618 if (!(number2 instanceof A.SassNumber0))
70619 continue;
70620 if (number1.hasPossiblyCompatibleUnits$1(number2))
70621 continue;
70622 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]))));
70623 }
70624 }
70625 },
70626 _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
70627 return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
70628 },
70629 _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
70630 var $async$goto = 0,
70631 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
70632 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
70633 var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70634 if ($async$errorCode === 1)
70635 return A._asyncRethrow($async$result, $async$completer);
70636 while (true)
70637 switch ($async$goto) {
70638 case 0:
70639 // Function start
70640 $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
70641 break;
70642 case 3:
70643 // then
70644 inner = node.expression;
70645 $async$goto = 6;
70646 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70647 case 6:
70648 // returning from await.
70649 result = $async$result;
70650 if (inner instanceof A.FunctionExpression0)
70651 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
70652 else
70653 t1 = false;
70654 $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
70655 // goto return
70656 $async$goto = 1;
70657 break;
70658 // goto join
70659 $async$goto = 4;
70660 break;
70661 case 5:
70662 // else
70663 $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
70664 break;
70665 case 7:
70666 // then
70667 $async$temp1 = A;
70668 $async$goto = 10;
70669 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70670 case 10:
70671 // returning from await.
70672 $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
70673 // goto return
70674 $async$goto = 1;
70675 break;
70676 // goto join
70677 $async$goto = 8;
70678 break;
70679 case 9:
70680 // else
70681 $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
70682 break;
70683 case 11:
70684 // then
70685 $async$goto = 14;
70686 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);
70687 case 14:
70688 // returning from await.
70689 $async$returnValue = $async$result;
70690 // goto return
70691 $async$goto = 1;
70692 break;
70693 // goto join
70694 $async$goto = 12;
70695 break;
70696 case 13:
70697 // else
70698 $async$goto = 15;
70699 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70700 case 15:
70701 // returning from await.
70702 result = $async$result;
70703 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
70704 $async$returnValue = result;
70705 // goto return
70706 $async$goto = 1;
70707 break;
70708 }
70709 if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
70710 $async$returnValue = result;
70711 // goto return
70712 $async$goto = 1;
70713 break;
70714 }
70715 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)));
70716 case 12:
70717 // join
70718 case 8:
70719 // join
70720 case 4:
70721 // join
70722 case 1:
70723 // return
70724 return A._asyncReturn($async$returnValue, $async$completer);
70725 }
70726 });
70727 return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
70728 },
70729 _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
70730 switch (operator) {
70731 case B.BinaryOperator_AcR2:
70732 return B.CalculationOperator_Iem0;
70733 case B.BinaryOperator_iyO0:
70734 return B.CalculationOperator_uti0;
70735 case B.BinaryOperator_O1M0:
70736 return B.CalculationOperator_Dih0;
70737 case B.BinaryOperator_RTB0:
70738 return B.CalculationOperator_jB60;
70739 default:
70740 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
70741 }
70742 },
70743 visitColorExpression$1(node) {
70744 return this.visitColorExpression$body$_EvaluateVisitor0(node);
70745 },
70746 visitColorExpression$body$_EvaluateVisitor0(node) {
70747 var $async$goto = 0,
70748 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
70749 $async$returnValue;
70750 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70751 if ($async$errorCode === 1)
70752 return A._asyncRethrow($async$result, $async$completer);
70753 while (true)
70754 switch ($async$goto) {
70755 case 0:
70756 // Function start
70757 $async$returnValue = node.value;
70758 // goto return
70759 $async$goto = 1;
70760 break;
70761 case 1:
70762 // return
70763 return A._asyncReturn($async$returnValue, $async$completer);
70764 }
70765 });
70766 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
70767 },
70768 visitListExpression$1(node) {
70769 return this.visitListExpression$body$_EvaluateVisitor0(node);
70770 },
70771 visitListExpression$body$_EvaluateVisitor0(node) {
70772 var $async$goto = 0,
70773 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
70774 $async$returnValue, $async$self = this, $async$temp1;
70775 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70776 if ($async$errorCode === 1)
70777 return A._asyncRethrow($async$result, $async$completer);
70778 while (true)
70779 switch ($async$goto) {
70780 case 0:
70781 // Function start
70782 $async$temp1 = A;
70783 $async$goto = 3;
70784 return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
70785 case 3:
70786 // returning from await.
70787 $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
70788 // goto return
70789 $async$goto = 1;
70790 break;
70791 case 1:
70792 // return
70793 return A._asyncReturn($async$returnValue, $async$completer);
70794 }
70795 });
70796 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
70797 },
70798 visitMapExpression$1(node) {
70799 return this.visitMapExpression$body$_EvaluateVisitor0(node);
70800 },
70801 visitMapExpression$body$_EvaluateVisitor0(node) {
70802 var $async$goto = 0,
70803 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
70804 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
70805 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70806 if ($async$errorCode === 1)
70807 return A._asyncRethrow($async$result, $async$completer);
70808 while (true)
70809 switch ($async$goto) {
70810 case 0:
70811 // Function start
70812 t1 = type$.Value_2;
70813 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
70814 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
70815 t2 = node.pairs, t3 = t2.length, _i = 0;
70816 case 3:
70817 // for condition
70818 if (!(_i < t3)) {
70819 // goto after for
70820 $async$goto = 5;
70821 break;
70822 }
70823 pair = t2[_i];
70824 t4 = pair.item1;
70825 $async$goto = 6;
70826 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
70827 case 6:
70828 // returning from await.
70829 keyValue = $async$result;
70830 $async$goto = 7;
70831 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
70832 case 7:
70833 // returning from await.
70834 valueValue = $async$result;
70835 if (map.$index(0, keyValue) != null) {
70836 t1 = keyNodes.$index(0, keyValue);
70837 oldValueSpan = t1 == null ? null : t1.get$span(t1);
70838 t1 = J.getInterceptor$z(t4);
70839 t2 = t1.get$span(t4);
70840 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
70841 if (oldValueSpan != null)
70842 t3.$indexSet(0, oldValueSpan, "first key");
70843 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
70844 }
70845 map.$indexSet(0, keyValue, valueValue);
70846 keyNodes.$indexSet(0, keyValue, t4);
70847 case 4:
70848 // for update
70849 ++_i;
70850 // goto for condition
70851 $async$goto = 3;
70852 break;
70853 case 5:
70854 // after for
70855 $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
70856 // goto return
70857 $async$goto = 1;
70858 break;
70859 case 1:
70860 // return
70861 return A._asyncReturn($async$returnValue, $async$completer);
70862 }
70863 });
70864 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
70865 },
70866 visitFunctionExpression$1(node) {
70867 return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
70868 },
70869 visitFunctionExpression$body$_EvaluateVisitor0(node) {
70870 var $async$goto = 0,
70871 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70872 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
70873 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70874 if ($async$errorCode === 1)
70875 return A._asyncRethrow($async$result, $async$completer);
70876 while (true)
70877 switch ($async$goto) {
70878 case 0:
70879 // Function start
70880 t1 = {};
70881 $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
70882 t1.$function = $function;
70883 if ($function == null) {
70884 if (node.namespace != null)
70885 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
70886 t1.$function = new A.PlainCssCallable0(node.originalName);
70887 }
70888 oldInFunction = $async$self._async_evaluate0$_inFunction;
70889 $async$self._async_evaluate0$_inFunction = true;
70890 $async$goto = 3;
70891 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);
70892 case 3:
70893 // returning from await.
70894 result = $async$result;
70895 $async$self._async_evaluate0$_inFunction = oldInFunction;
70896 $async$returnValue = result;
70897 // goto return
70898 $async$goto = 1;
70899 break;
70900 case 1:
70901 // return
70902 return A._asyncReturn($async$returnValue, $async$completer);
70903 }
70904 });
70905 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
70906 },
70907 visitInterpolatedFunctionExpression$1(node) {
70908 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
70909 },
70910 visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
70911 var $async$goto = 0,
70912 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70913 $async$returnValue, $async$self = this, result, t1, oldInFunction;
70914 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70915 if ($async$errorCode === 1)
70916 return A._asyncRethrow($async$result, $async$completer);
70917 while (true)
70918 switch ($async$goto) {
70919 case 0:
70920 // Function start
70921 $async$goto = 3;
70922 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
70923 case 3:
70924 // returning from await.
70925 t1 = $async$result;
70926 oldInFunction = $async$self._async_evaluate0$_inFunction;
70927 $async$self._async_evaluate0$_inFunction = true;
70928 $async$goto = 4;
70929 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);
70930 case 4:
70931 // returning from await.
70932 result = $async$result;
70933 $async$self._async_evaluate0$_inFunction = oldInFunction;
70934 $async$returnValue = result;
70935 // goto return
70936 $async$goto = 1;
70937 break;
70938 case 1:
70939 // return
70940 return A._asyncReturn($async$returnValue, $async$completer);
70941 }
70942 });
70943 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
70944 },
70945 _async_evaluate0$_getFunction$2$namespace($name, namespace) {
70946 var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
70947 if (local != null || namespace != null)
70948 return local;
70949 return this._async_evaluate0$_builtInFunctions.$index(0, $name);
70950 },
70951 _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
70952 return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
70953 },
70954 _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
70955 var $async$goto = 0,
70956 $async$completer = A._makeAsyncAwaitCompleter($async$type),
70957 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
70958 var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70959 if ($async$errorCode === 1)
70960 return A._asyncRethrow($async$result, $async$completer);
70961 while (true)
70962 switch ($async$goto) {
70963 case 0:
70964 // Function start
70965 $async$goto = 3;
70966 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
70967 case 3:
70968 // returning from await.
70969 evaluated = $async$result;
70970 $name = callable.declaration.name;
70971 if ($name !== "@content")
70972 $name += "()";
70973 oldCallable = $async$self._async_evaluate0$_currentCallable;
70974 $async$self._async_evaluate0$_currentCallable = callable;
70975 $async$goto = 4;
70976 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);
70977 case 4:
70978 // returning from await.
70979 result = $async$result;
70980 $async$self._async_evaluate0$_currentCallable = oldCallable;
70981 $async$returnValue = result;
70982 // goto return
70983 $async$goto = 1;
70984 break;
70985 case 1:
70986 // return
70987 return A._asyncReturn($async$returnValue, $async$completer);
70988 }
70989 });
70990 return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
70991 },
70992 _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
70993 return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
70994 },
70995 _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
70996 var $async$goto = 0,
70997 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70998 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
70999 var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71000 if ($async$errorCode === 1)
71001 return A._asyncRethrow($async$result, $async$completer);
71002 while (true)
71003 switch ($async$goto) {
71004 case 0:
71005 // Function start
71006 $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
71007 break;
71008 case 3:
71009 // then
71010 $async$goto = 6;
71011 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
71012 case 6:
71013 // returning from await.
71014 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
71015 // goto return
71016 $async$goto = 1;
71017 break;
71018 // goto join
71019 $async$goto = 4;
71020 break;
71021 case 5:
71022 // else
71023 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
71024 break;
71025 case 7:
71026 // then
71027 $async$goto = 10;
71028 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);
71029 case 10:
71030 // returning from await.
71031 $async$returnValue = $async$result;
71032 // goto return
71033 $async$goto = 1;
71034 break;
71035 // goto join
71036 $async$goto = 8;
71037 break;
71038 case 9:
71039 // else
71040 $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
71041 break;
71042 case 11:
71043 // then
71044 t1 = $arguments.named;
71045 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
71046 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
71047 t1 = callable.name + "(";
71048 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
71049 case 14:
71050 // for condition
71051 if (!(_i < t3)) {
71052 // goto after for
71053 $async$goto = 16;
71054 break;
71055 }
71056 argument = t2[_i];
71057 if (first)
71058 first = false;
71059 else
71060 t1 += ", ";
71061 $async$temp1 = A;
71062 $async$goto = 17;
71063 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
71064 case 17:
71065 // returning from await.
71066 t1 += $async$temp1.S($async$result);
71067 case 15:
71068 // for update
71069 ++_i;
71070 // goto for condition
71071 $async$goto = 14;
71072 break;
71073 case 16:
71074 // after for
71075 restArg = $arguments.rest;
71076 $async$goto = restArg != null ? 18 : 19;
71077 break;
71078 case 18:
71079 // then
71080 $async$goto = 20;
71081 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
71082 case 20:
71083 // returning from await.
71084 rest = $async$result;
71085 if (!first)
71086 t1 += ", ";
71087 t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
71088 case 19:
71089 // join
71090 t1 += A.Primitives_stringFromCharCode(41);
71091 $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
71092 // goto return
71093 $async$goto = 1;
71094 break;
71095 // goto join
71096 $async$goto = 12;
71097 break;
71098 case 13:
71099 // else
71100 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
71101 case 12:
71102 // join
71103 case 8:
71104 // join
71105 case 4:
71106 // join
71107 case 1:
71108 // return
71109 return A._asyncReturn($async$returnValue, $async$completer);
71110 }
71111 });
71112 return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
71113 },
71114 _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
71115 return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
71116 },
71117 _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
71118 var $async$goto = 0,
71119 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71120 $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;
71121 var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71122 if ($async$errorCode === 1) {
71123 $async$currentError = $async$result;
71124 $async$goto = $async$handler;
71125 }
71126 while (true)
71127 switch ($async$goto) {
71128 case 0:
71129 // Function start
71130 $async$goto = 3;
71131 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
71132 case 3:
71133 // returning from await.
71134 evaluated = $async$result;
71135 oldCallableNode = $async$self._async_evaluate0$_callableNode;
71136 $async$self._async_evaluate0$_callableNode = nodeWithSpan;
71137 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
71138 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
71139 overload = tuple.item1;
71140 callback = tuple.item2;
71141 $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
71142 declaredArguments = overload.$arguments;
71143 i = evaluated.positional.length, t1 = declaredArguments.length;
71144 case 4:
71145 // for condition
71146 if (!(i < t1)) {
71147 // goto after for
71148 $async$goto = 6;
71149 break;
71150 }
71151 argument = declaredArguments[i];
71152 t2 = evaluated.positional;
71153 t3 = evaluated.named.remove$1(0, argument.name);
71154 $async$goto = t3 == null ? 7 : 8;
71155 break;
71156 case 7:
71157 // then
71158 t3 = argument.defaultValue;
71159 $async$goto = 9;
71160 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
71161 case 9:
71162 // returning from await.
71163 t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
71164 case 8:
71165 // join
71166 t2.push(t3);
71167 case 5:
71168 // for update
71169 ++i;
71170 // goto for condition
71171 $async$goto = 4;
71172 break;
71173 case 6:
71174 // after for
71175 if (overload.restArgument != null) {
71176 if (evaluated.positional.length > t1) {
71177 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
71178 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
71179 } else
71180 rest = B.List_empty15;
71181 t1 = evaluated.named;
71182 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
71183 evaluated.positional.push(argumentList);
71184 } else
71185 argumentList = null;
71186 result = null;
71187 $async$handler = 11;
71188 $async$goto = 14;
71189 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
71190 case 14:
71191 // returning from await.
71192 result = $async$result;
71193 $async$handler = 2;
71194 // goto after finally
71195 $async$goto = 13;
71196 break;
71197 case 11:
71198 // catch
71199 $async$handler = 10;
71200 $async$exception = $async$currentError;
71201 t1 = A.unwrapException($async$exception);
71202 if (type$.SassRuntimeException_2._is(t1))
71203 throw $async$exception;
71204 else if (t1 instanceof A.MultiSpanSassScriptException0) {
71205 error = t1;
71206 stackTrace = A.getTraceFromException($async$exception);
71207 t1 = error.message;
71208 t2 = nodeWithSpan.get$span(nodeWithSpan);
71209 t3 = error.primaryLabel;
71210 t4 = error.secondarySpans;
71211 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);
71212 } else if (t1 instanceof A.MultiSpanSassException0) {
71213 error0 = t1;
71214 stackTrace0 = A.getTraceFromException($async$exception);
71215 t1 = error0._span_exception$_message;
71216 t2 = error0;
71217 t3 = J.getInterceptor$z(t2);
71218 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
71219 t3 = error0.primaryLabel;
71220 t4 = error0.secondarySpans;
71221 t5 = error0;
71222 t6 = J.getInterceptor$z(t5);
71223 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);
71224 } else {
71225 error1 = t1;
71226 stackTrace1 = A.getTraceFromException($async$exception);
71227 message = null;
71228 try {
71229 message = A._asString(J.get$message$x(error1));
71230 } catch (exception) {
71231 message0 = J.toString$0$(error1);
71232 message = message0;
71233 }
71234 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
71235 }
71236 // goto after finally
71237 $async$goto = 13;
71238 break;
71239 case 10:
71240 // uncaught
71241 // goto rethrow
71242 $async$goto = 2;
71243 break;
71244 case 13:
71245 // after finally
71246 $async$self._async_evaluate0$_callableNode = oldCallableNode;
71247 if (argumentList == null) {
71248 $async$returnValue = result;
71249 // goto return
71250 $async$goto = 1;
71251 break;
71252 }
71253 if (evaluated.named.__js_helper$_length === 0) {
71254 $async$returnValue = result;
71255 // goto return
71256 $async$goto = 1;
71257 break;
71258 }
71259 if (argumentList._argument_list$_wereKeywordsAccessed) {
71260 $async$returnValue = result;
71261 // goto return
71262 $async$goto = 1;
71263 break;
71264 }
71265 t1 = evaluated.named;
71266 t1 = t1.get$keys(t1);
71267 t1 = A.pluralize0("argument", t1.get$length(t1), null);
71268 t2 = evaluated.named;
71269 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + 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))));
71270 case 1:
71271 // return
71272 return A._asyncReturn($async$returnValue, $async$completer);
71273 case 2:
71274 // rethrow
71275 return A._asyncRethrow($async$currentError, $async$completer);
71276 }
71277 });
71278 return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
71279 },
71280 _async_evaluate0$_evaluateArguments$1($arguments) {
71281 return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
71282 },
71283 _evaluateArguments$body$_EvaluateVisitor0($arguments) {
71284 var $async$goto = 0,
71285 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
71286 $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;
71287 var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71288 if ($async$errorCode === 1)
71289 return A._asyncRethrow($async$result, $async$completer);
71290 while (true)
71291 switch ($async$goto) {
71292 case 0:
71293 // Function start
71294 positional = A._setArrayType([], type$.JSArray_Value_2);
71295 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
71296 t1 = $arguments.positional, t2 = t1.length, _i = 0;
71297 case 3:
71298 // for condition
71299 if (!(_i < t2)) {
71300 // goto after for
71301 $async$goto = 5;
71302 break;
71303 }
71304 expression = t1[_i];
71305 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
71306 $async$temp1 = positional;
71307 $async$goto = 6;
71308 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71309 case 6:
71310 // returning from await.
71311 $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71312 positionalNodes.push(nodeForSpan);
71313 case 4:
71314 // for update
71315 ++_i;
71316 // goto for condition
71317 $async$goto = 3;
71318 break;
71319 case 5:
71320 // after for
71321 t1 = type$.String;
71322 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
71323 t2 = type$.AstNode_2;
71324 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71325 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
71326 case 7:
71327 // for condition
71328 if (!t3.moveNext$0()) {
71329 // goto after for
71330 $async$goto = 8;
71331 break;
71332 }
71333 t4 = t3.get$current(t3);
71334 t5 = t4.value;
71335 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
71336 t4 = t4.key;
71337 $async$temp1 = named;
71338 $async$temp2 = t4;
71339 $async$goto = 9;
71340 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71341 case 9:
71342 // returning from await.
71343 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71344 namedNodes.$indexSet(0, t4, nodeForSpan);
71345 // goto for condition
71346 $async$goto = 7;
71347 break;
71348 case 8:
71349 // after for
71350 restArgs = $arguments.rest;
71351 if (restArgs == null) {
71352 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
71353 // goto return
71354 $async$goto = 1;
71355 break;
71356 }
71357 $async$goto = 10;
71358 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71359 case 10:
71360 // returning from await.
71361 rest = $async$result;
71362 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
71363 if (rest instanceof A.SassMap0) {
71364 $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
71365 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71366 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
71367 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
71368 namedNodes.addAll$1(0, t3);
71369 separator = B.ListSeparator_undecided_null0;
71370 } else if (rest instanceof A.SassList0) {
71371 t3 = rest._list1$_contents;
71372 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>")));
71373 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
71374 separator = rest._list1$_separator;
71375 if (rest instanceof A.SassArgumentList0) {
71376 rest._argument_list$_wereKeywordsAccessed = true;
71377 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
71378 }
71379 } else {
71380 positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
71381 positionalNodes.push(restNodeForSpan);
71382 separator = B.ListSeparator_undecided_null0;
71383 }
71384 keywordRestArgs = $arguments.keywordRest;
71385 if (keywordRestArgs == null) {
71386 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71387 // goto return
71388 $async$goto = 1;
71389 break;
71390 }
71391 $async$goto = 11;
71392 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71393 case 11:
71394 // returning from await.
71395 keywordRest = $async$result;
71396 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
71397 if (keywordRest instanceof A.SassMap0) {
71398 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
71399 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71400 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
71401 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
71402 namedNodes.addAll$1(0, t1);
71403 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71404 // goto return
71405 $async$goto = 1;
71406 break;
71407 } else
71408 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
71409 case 1:
71410 // return
71411 return A._asyncReturn($async$returnValue, $async$completer);
71412 }
71413 });
71414 return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
71415 },
71416 _async_evaluate0$_evaluateMacroArguments$1(invocation) {
71417 return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
71418 },
71419 _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
71420 var $async$goto = 0,
71421 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
71422 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
71423 var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71424 if ($async$errorCode === 1)
71425 return A._asyncRethrow($async$result, $async$completer);
71426 while (true)
71427 switch ($async$goto) {
71428 case 0:
71429 // Function start
71430 t1 = invocation.$arguments;
71431 restArgs_ = t1.rest;
71432 if (restArgs_ == null) {
71433 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71434 // goto return
71435 $async$goto = 1;
71436 break;
71437 }
71438 t2 = t1.positional;
71439 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
71440 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
71441 $async$goto = 3;
71442 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71443 case 3:
71444 // returning from await.
71445 rest = $async$result;
71446 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
71447 if (rest instanceof A.SassMap0)
71448 $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
71449 else if (rest instanceof A.SassList0) {
71450 t2 = rest._list1$_contents;
71451 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>")));
71452 if (rest instanceof A.SassArgumentList0) {
71453 rest._argument_list$_wereKeywordsAccessed = true;
71454 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
71455 }
71456 } else
71457 positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
71458 keywordRestArgs_ = t1.keywordRest;
71459 if (keywordRestArgs_ == null) {
71460 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71461 // goto return
71462 $async$goto = 1;
71463 break;
71464 }
71465 $async$goto = 4;
71466 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71467 case 4:
71468 // returning from await.
71469 keywordRest = $async$result;
71470 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
71471 if (keywordRest instanceof A.SassMap0) {
71472 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
71473 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71474 // goto return
71475 $async$goto = 1;
71476 break;
71477 } else
71478 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
71479 case 1:
71480 // return
71481 return A._asyncReturn($async$returnValue, $async$completer);
71482 }
71483 });
71484 return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
71485 },
71486 _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
71487 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
71488 },
71489 _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
71490 return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
71491 },
71492 _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
71493 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
71494 },
71495 visitSelectorExpression$1(node) {
71496 return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
71497 },
71498 visitSelectorExpression$body$_EvaluateVisitor0(node) {
71499 var $async$goto = 0,
71500 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71501 $async$returnValue, $async$self = this, t1;
71502 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71503 if ($async$errorCode === 1)
71504 return A._asyncRethrow($async$result, $async$completer);
71505 while (true)
71506 switch ($async$goto) {
71507 case 0:
71508 // Function start
71509 t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71510 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
71511 $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
71512 // goto return
71513 $async$goto = 1;
71514 break;
71515 case 1:
71516 // return
71517 return A._asyncReturn($async$returnValue, $async$completer);
71518 }
71519 });
71520 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
71521 },
71522 visitStringExpression$1(node) {
71523 return this.visitStringExpression$body$_EvaluateVisitor0(node);
71524 },
71525 visitStringExpression$body$_EvaluateVisitor0(node) {
71526 var $async$goto = 0,
71527 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71528 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
71529 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71530 if ($async$errorCode === 1)
71531 return A._asyncRethrow($async$result, $async$completer);
71532 while (true)
71533 switch ($async$goto) {
71534 case 0:
71535 // Function start
71536 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
71537 $async$self._async_evaluate0$_inSupportsDeclaration = false;
71538 $async$temp1 = J;
71539 $async$goto = 3;
71540 return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
71541 case 3:
71542 // returning from await.
71543 t1 = $async$temp1.join$0$ax($async$result);
71544 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
71545 $async$returnValue = new A.SassString0(t1, node.hasQuotes);
71546 // goto return
71547 $async$goto = 1;
71548 break;
71549 case 1:
71550 // return
71551 return A._asyncReturn($async$returnValue, $async$completer);
71552 }
71553 });
71554 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
71555 },
71556 visitSupportsExpression$1(expression) {
71557 return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
71558 },
71559 visitSupportsExpression$body$_EvaluateVisitor0(expression) {
71560 var $async$goto = 0,
71561 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71562 $async$returnValue, $async$self = this, $async$temp1;
71563 var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71564 if ($async$errorCode === 1)
71565 return A._asyncRethrow($async$result, $async$completer);
71566 while (true)
71567 switch ($async$goto) {
71568 case 0:
71569 // Function start
71570 $async$temp1 = A;
71571 $async$goto = 3;
71572 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
71573 case 3:
71574 // returning from await.
71575 $async$returnValue = new $async$temp1.SassString0($async$result, false);
71576 // goto return
71577 $async$goto = 1;
71578 break;
71579 case 1:
71580 // return
71581 return A._asyncReturn($async$returnValue, $async$completer);
71582 }
71583 });
71584 return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
71585 },
71586 visitCssAtRule$1(node) {
71587 return this.visitCssAtRule$body$_EvaluateVisitor0(node);
71588 },
71589 visitCssAtRule$body$_EvaluateVisitor0(node) {
71590 var $async$goto = 0,
71591 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71592 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
71593 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71594 if ($async$errorCode === 1)
71595 return A._asyncRethrow($async$result, $async$completer);
71596 while (true)
71597 switch ($async$goto) {
71598 case 0:
71599 // Function start
71600 if ($async$self._async_evaluate0$_declarationName != null)
71601 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
71602 if (node.isChildless) {
71603 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
71604 // goto return
71605 $async$goto = 1;
71606 break;
71607 }
71608 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
71609 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
71610 t1 = node.name;
71611 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
71612 $async$self._async_evaluate0$_inKeyframes = true;
71613 else
71614 $async$self._async_evaluate0$_inUnknownAtRule = true;
71615 $async$goto = 3;
71616 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);
71617 case 3:
71618 // returning from await.
71619 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
71620 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
71621 case 1:
71622 // return
71623 return A._asyncReturn($async$returnValue, $async$completer);
71624 }
71625 });
71626 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
71627 },
71628 visitCssComment$1(node) {
71629 return this.visitCssComment$body$_EvaluateVisitor0(node);
71630 },
71631 visitCssComment$body$_EvaluateVisitor0(node) {
71632 var $async$goto = 0,
71633 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71634 $async$self = this;
71635 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71636 if ($async$errorCode === 1)
71637 return A._asyncRethrow($async$result, $async$completer);
71638 while (true)
71639 switch ($async$goto) {
71640 case 0:
71641 // Function start
71642 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))
71643 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71644 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
71645 // implicit return
71646 return A._asyncReturn(null, $async$completer);
71647 }
71648 });
71649 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
71650 },
71651 visitCssDeclaration$1(node) {
71652 return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
71653 },
71654 visitCssDeclaration$body$_EvaluateVisitor0(node) {
71655 var $async$goto = 0,
71656 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71657 $async$self = this, t1;
71658 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71659 if ($async$errorCode === 1)
71660 return A._asyncRethrow($async$result, $async$completer);
71661 while (true)
71662 switch ($async$goto) {
71663 case 0:
71664 // Function start
71665 t1 = node.name;
71666 $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));
71667 // implicit return
71668 return A._asyncReturn(null, $async$completer);
71669 }
71670 });
71671 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
71672 },
71673 visitCssImport$1(node) {
71674 return this.visitCssImport$body$_EvaluateVisitor0(node);
71675 },
71676 visitCssImport$body$_EvaluateVisitor0(node) {
71677 var $async$goto = 0,
71678 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71679 $async$self = this, t1, modifiableNode;
71680 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71681 if ($async$errorCode === 1)
71682 return A._asyncRethrow($async$result, $async$completer);
71683 while (true)
71684 switch ($async$goto) {
71685 case 0:
71686 // Function start
71687 modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
71688 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"))
71689 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
71690 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)) {
71691 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
71692 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71693 } else {
71694 t1 = $async$self._async_evaluate0$_outOfOrderImports;
71695 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
71696 }
71697 // implicit return
71698 return A._asyncReturn(null, $async$completer);
71699 }
71700 });
71701 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
71702 },
71703 visitCssKeyframeBlock$1(node) {
71704 return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
71705 },
71706 visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
71707 var $async$goto = 0,
71708 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71709 $async$self = this;
71710 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71711 if ($async$errorCode === 1)
71712 return A._asyncRethrow($async$result, $async$completer);
71713 while (true)
71714 switch ($async$goto) {
71715 case 0:
71716 // Function start
71717 $async$goto = 2;
71718 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);
71719 case 2:
71720 // returning from await.
71721 // implicit return
71722 return A._asyncReturn(null, $async$completer);
71723 }
71724 });
71725 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
71726 },
71727 visitCssMediaRule$1(node) {
71728 return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
71729 },
71730 visitCssMediaRule$body$_EvaluateVisitor0(node) {
71731 var $async$goto = 0,
71732 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71733 $async$returnValue, $async$self = this, mergedQueries, t1;
71734 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71735 if ($async$errorCode === 1)
71736 return A._asyncRethrow($async$result, $async$completer);
71737 while (true)
71738 switch ($async$goto) {
71739 case 0:
71740 // Function start
71741 if ($async$self._async_evaluate0$_declarationName != null)
71742 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
71743 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
71744 t1 = mergedQueries == null;
71745 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
71746 // goto return
71747 $async$goto = 1;
71748 break;
71749 }
71750 t1 = t1 ? node.queries : mergedQueries;
71751 $async$goto = 3;
71752 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);
71753 case 3:
71754 // returning from await.
71755 case 1:
71756 // return
71757 return A._asyncReturn($async$returnValue, $async$completer);
71758 }
71759 });
71760 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
71761 },
71762 visitCssStyleRule$1(node) {
71763 return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
71764 },
71765 visitCssStyleRule$body$_EvaluateVisitor0(node) {
71766 var $async$goto = 0,
71767 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71768 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
71769 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71770 if ($async$errorCode === 1)
71771 return A._asyncRethrow($async$result, $async$completer);
71772 while (true)
71773 switch ($async$goto) {
71774 case 0:
71775 // Function start
71776 if ($async$self._async_evaluate0$_declarationName != null)
71777 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
71778 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71779 styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71780 t2 = node.selector;
71781 t3 = t2.value;
71782 t4 = styleRule == null;
71783 t5 = t4 ? null : styleRule.originalSelector;
71784 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
71785 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);
71786 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71787 $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
71788 $async$goto = 2;
71789 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);
71790 case 2:
71791 // returning from await.
71792 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
71793 if (t4) {
71794 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71795 t1 = !t1.get$isEmpty(t1);
71796 } else
71797 t1 = false;
71798 if (t1) {
71799 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71800 t1.get$last(t1).isGroupEnd = true;
71801 }
71802 // implicit return
71803 return A._asyncReturn(null, $async$completer);
71804 }
71805 });
71806 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
71807 },
71808 visitCssStylesheet$1(node) {
71809 return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
71810 },
71811 visitCssStylesheet$body$_EvaluateVisitor0(node) {
71812 var $async$goto = 0,
71813 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71814 $async$self = this, t1;
71815 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71816 if ($async$errorCode === 1)
71817 return A._asyncRethrow($async$result, $async$completer);
71818 while (true)
71819 switch ($async$goto) {
71820 case 0:
71821 // Function start
71822 t1 = J.get$iterator$ax(node.get$children(node));
71823 case 2:
71824 // for condition
71825 if (!t1.moveNext$0()) {
71826 // goto after for
71827 $async$goto = 3;
71828 break;
71829 }
71830 $async$goto = 4;
71831 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
71832 case 4:
71833 // returning from await.
71834 // goto for condition
71835 $async$goto = 2;
71836 break;
71837 case 3:
71838 // after for
71839 // implicit return
71840 return A._asyncReturn(null, $async$completer);
71841 }
71842 });
71843 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
71844 },
71845 visitCssSupportsRule$1(node) {
71846 return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
71847 },
71848 visitCssSupportsRule$body$_EvaluateVisitor0(node) {
71849 var $async$goto = 0,
71850 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71851 $async$self = this;
71852 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71853 if ($async$errorCode === 1)
71854 return A._asyncRethrow($async$result, $async$completer);
71855 while (true)
71856 switch ($async$goto) {
71857 case 0:
71858 // Function start
71859 if ($async$self._async_evaluate0$_declarationName != null)
71860 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
71861 $async$goto = 2;
71862 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);
71863 case 2:
71864 // returning from await.
71865 // implicit return
71866 return A._asyncReturn(null, $async$completer);
71867 }
71868 });
71869 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
71870 },
71871 _async_evaluate0$_handleReturn$1$2(list, callback) {
71872 return this._handleReturn$body$_EvaluateVisitor0(list, callback);
71873 },
71874 _async_evaluate0$_handleReturn$2(list, callback) {
71875 return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
71876 },
71877 _handleReturn$body$_EvaluateVisitor0(list, callback) {
71878 var $async$goto = 0,
71879 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
71880 $async$returnValue, t1, _i, result;
71881 var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71882 if ($async$errorCode === 1)
71883 return A._asyncRethrow($async$result, $async$completer);
71884 while (true)
71885 switch ($async$goto) {
71886 case 0:
71887 // Function start
71888 t1 = list.length, _i = 0;
71889 case 3:
71890 // for condition
71891 if (!(_i < list.length)) {
71892 // goto after for
71893 $async$goto = 5;
71894 break;
71895 }
71896 $async$goto = 6;
71897 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
71898 case 6:
71899 // returning from await.
71900 result = $async$result;
71901 if (result != null) {
71902 $async$returnValue = result;
71903 // goto return
71904 $async$goto = 1;
71905 break;
71906 }
71907 case 4:
71908 // for update
71909 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
71910 // goto for condition
71911 $async$goto = 3;
71912 break;
71913 case 5:
71914 // after for
71915 $async$returnValue = null;
71916 // goto return
71917 $async$goto = 1;
71918 break;
71919 case 1:
71920 // return
71921 return A._asyncReturn($async$returnValue, $async$completer);
71922 }
71923 });
71924 return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
71925 },
71926 _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
71927 return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
71928 },
71929 _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
71930 var $async$goto = 0,
71931 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71932 $async$returnValue, $async$self = this, result, oldEnvironment;
71933 var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71934 if ($async$errorCode === 1)
71935 return A._asyncRethrow($async$result, $async$completer);
71936 while (true)
71937 switch ($async$goto) {
71938 case 0:
71939 // Function start
71940 oldEnvironment = $async$self._async_evaluate0$_environment;
71941 $async$self._async_evaluate0$_environment = environment;
71942 $async$goto = 3;
71943 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
71944 case 3:
71945 // returning from await.
71946 result = $async$result;
71947 $async$self._async_evaluate0$_environment = oldEnvironment;
71948 $async$returnValue = result;
71949 // goto return
71950 $async$goto = 1;
71951 break;
71952 case 1:
71953 // return
71954 return A._asyncReturn($async$returnValue, $async$completer);
71955 }
71956 });
71957 return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
71958 },
71959 _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
71960 return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
71961 },
71962 _async_evaluate0$_interpolationToValue$1(interpolation) {
71963 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
71964 },
71965 _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
71966 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
71967 },
71968 _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
71969 var $async$goto = 0,
71970 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
71971 $async$returnValue, $async$self = this, result, t1;
71972 var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71973 if ($async$errorCode === 1)
71974 return A._asyncRethrow($async$result, $async$completer);
71975 while (true)
71976 switch ($async$goto) {
71977 case 0:
71978 // Function start
71979 $async$goto = 3;
71980 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
71981 case 3:
71982 // returning from await.
71983 result = $async$result;
71984 t1 = trim ? A.trimAscii0(result, true) : result;
71985 $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
71986 // goto return
71987 $async$goto = 1;
71988 break;
71989 case 1:
71990 // return
71991 return A._asyncReturn($async$returnValue, $async$completer);
71992 }
71993 });
71994 return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
71995 },
71996 _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
71997 return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
71998 },
71999 _async_evaluate0$_performInterpolation$1(interpolation) {
72000 return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
72001 },
72002 _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
72003 var $async$goto = 0,
72004 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
72005 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
72006 var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72007 if ($async$errorCode === 1)
72008 return A._asyncRethrow($async$result, $async$completer);
72009 while (true)
72010 switch ($async$goto) {
72011 case 0:
72012 // Function start
72013 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
72014 $async$self._async_evaluate0$_inSupportsDeclaration = false;
72015 $async$temp1 = J;
72016 $async$goto = 3;
72017 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);
72018 case 3:
72019 // returning from await.
72020 result = $async$temp1.join$0$ax($async$result);
72021 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
72022 $async$returnValue = result;
72023 // goto return
72024 $async$goto = 1;
72025 break;
72026 case 1:
72027 // return
72028 return A._asyncReturn($async$returnValue, $async$completer);
72029 }
72030 });
72031 return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
72032 },
72033 _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
72034 return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
72035 },
72036 _async_evaluate0$_evaluateToCss$1(expression) {
72037 return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
72038 },
72039 _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
72040 var $async$goto = 0,
72041 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
72042 $async$returnValue, $async$self = this;
72043 var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72044 if ($async$errorCode === 1)
72045 return A._asyncRethrow($async$result, $async$completer);
72046 while (true)
72047 switch ($async$goto) {
72048 case 0:
72049 // Function start
72050 $async$goto = 3;
72051 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
72052 case 3:
72053 // returning from await.
72054 $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
72055 // goto return
72056 $async$goto = 1;
72057 break;
72058 case 1:
72059 // return
72060 return A._asyncReturn($async$returnValue, $async$completer);
72061 }
72062 });
72063 return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
72064 },
72065 _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
72066 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
72067 },
72068 _async_evaluate0$_serialize$2(value, nodeWithSpan) {
72069 return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
72070 },
72071 _async_evaluate0$_expressionNode$1(expression) {
72072 var t1;
72073 if (expression instanceof A.VariableExpression0) {
72074 t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
72075 return t1 == null ? expression : t1;
72076 } else
72077 return expression;
72078 },
72079 _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
72080 return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
72081 },
72082 _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
72083 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
72084 },
72085 _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
72086 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
72087 },
72088 _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
72089 var $async$goto = 0,
72090 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72091 $async$returnValue, $async$self = this, t1, result;
72092 var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72093 if ($async$errorCode === 1)
72094 return A._asyncRethrow($async$result, $async$completer);
72095 while (true)
72096 switch ($async$goto) {
72097 case 0:
72098 // Function start
72099 $async$self._async_evaluate0$_addChild$2$through(node, through);
72100 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
72101 $async$self._async_evaluate0$__parent = node;
72102 $async$goto = 3;
72103 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
72104 case 3:
72105 // returning from await.
72106 result = $async$result;
72107 $async$self._async_evaluate0$__parent = t1;
72108 $async$returnValue = result;
72109 // goto return
72110 $async$goto = 1;
72111 break;
72112 case 1:
72113 // return
72114 return A._asyncReturn($async$returnValue, $async$completer);
72115 }
72116 });
72117 return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
72118 },
72119 _async_evaluate0$_addChild$2$through(node, through) {
72120 var grandparent, t1,
72121 $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
72122 if (through != null) {
72123 for (; through.call$1($parent); $parent = grandparent) {
72124 grandparent = $parent._node1$_parent;
72125 if (grandparent == null)
72126 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
72127 }
72128 if ($parent.get$hasFollowingSibling()) {
72129 t1 = $parent._node1$_parent;
72130 t1.toString;
72131 $parent = $parent.copyWithoutChildren$0();
72132 t1.addChild$1($parent);
72133 }
72134 }
72135 $parent.addChild$1(node);
72136 },
72137 _async_evaluate0$_addChild$1(node) {
72138 return this._async_evaluate0$_addChild$2$through(node, null);
72139 },
72140 _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
72141 return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
72142 },
72143 _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
72144 var $async$goto = 0,
72145 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72146 $async$returnValue, $async$self = this, result, oldRule;
72147 var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72148 if ($async$errorCode === 1)
72149 return A._asyncRethrow($async$result, $async$completer);
72150 while (true)
72151 switch ($async$goto) {
72152 case 0:
72153 // Function start
72154 oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
72155 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
72156 $async$goto = 3;
72157 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
72158 case 3:
72159 // returning from await.
72160 result = $async$result;
72161 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
72162 $async$returnValue = result;
72163 // goto return
72164 $async$goto = 1;
72165 break;
72166 case 1:
72167 // return
72168 return A._asyncReturn($async$returnValue, $async$completer);
72169 }
72170 });
72171 return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
72172 },
72173 _async_evaluate0$_withMediaQueries$1$2(queries, callback, $T) {
72174 return this._withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $T);
72175 },
72176 _withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $async$type) {
72177 var $async$goto = 0,
72178 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72179 $async$returnValue, $async$self = this, result, oldMediaQueries;
72180 var $async$_async_evaluate0$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72181 if ($async$errorCode === 1)
72182 return A._asyncRethrow($async$result, $async$completer);
72183 while (true)
72184 switch ($async$goto) {
72185 case 0:
72186 // Function start
72187 oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
72188 $async$self._async_evaluate0$_mediaQueries = queries;
72189 $async$goto = 3;
72190 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$2);
72191 case 3:
72192 // returning from await.
72193 result = $async$result;
72194 $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
72195 $async$returnValue = result;
72196 // goto return
72197 $async$goto = 1;
72198 break;
72199 case 1:
72200 // return
72201 return A._asyncReturn($async$returnValue, $async$completer);
72202 }
72203 });
72204 return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$2, $async$completer);
72205 },
72206 _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
72207 return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
72208 },
72209 _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
72210 var $async$goto = 0,
72211 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72212 $async$returnValue, $async$self = this, oldMember, result, t1;
72213 var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72214 if ($async$errorCode === 1)
72215 return A._asyncRethrow($async$result, $async$completer);
72216 while (true)
72217 switch ($async$goto) {
72218 case 0:
72219 // Function start
72220 t1 = $async$self._async_evaluate0$_stack;
72221 t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
72222 oldMember = $async$self._async_evaluate0$_member;
72223 $async$self._async_evaluate0$_member = member;
72224 $async$goto = 3;
72225 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
72226 case 3:
72227 // returning from await.
72228 result = $async$result;
72229 $async$self._async_evaluate0$_member = oldMember;
72230 t1.pop();
72231 $async$returnValue = result;
72232 // goto return
72233 $async$goto = 1;
72234 break;
72235 case 1:
72236 // return
72237 return A._asyncReturn($async$returnValue, $async$completer);
72238 }
72239 });
72240 return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
72241 },
72242 _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
72243 if (value instanceof A.SassNumber0 && value.asSlash != null)
72244 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);
72245 return value.withoutSlash$0();
72246 },
72247 _async_evaluate0$_stackFrame$2(member, span) {
72248 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure2(this)));
72249 },
72250 _async_evaluate0$_stackTrace$1(span) {
72251 var _this = this,
72252 t1 = _this._async_evaluate0$_stack;
72253 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);
72254 if (span != null)
72255 t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
72256 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
72257 },
72258 _async_evaluate0$_stackTrace$0() {
72259 return this._async_evaluate0$_stackTrace$1(null);
72260 },
72261 _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
72262 var t1, _this = this;
72263 if (_this._async_evaluate0$_quietDeps)
72264 if (!_this._async_evaluate0$_inDependency) {
72265 t1 = _this._async_evaluate0$_currentCallable;
72266 t1 = t1 == null ? null : t1.inDependency;
72267 t1 = t1 === true;
72268 } else
72269 t1 = true;
72270 else
72271 t1 = false;
72272 if (t1)
72273 return;
72274 if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
72275 return;
72276 _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
72277 },
72278 _async_evaluate0$_warn$2(message, span) {
72279 return this._async_evaluate0$_warn$3$deprecation(message, span, false);
72280 },
72281 _async_evaluate0$_exception$2(message, span) {
72282 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
72283 return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
72284 },
72285 _async_evaluate0$_exception$1(message) {
72286 return this._async_evaluate0$_exception$2(message, null);
72287 },
72288 _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
72289 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
72290 return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
72291 },
72292 _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
72293 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
72294 try {
72295 t1 = callback.call$0();
72296 return t1;
72297 } catch (exception) {
72298 t1 = A.unwrapException(exception);
72299 if (t1 instanceof A.SassFormatException0) {
72300 error = t1;
72301 stackTrace = A.getTraceFromException(exception);
72302 t1 = error;
72303 t2 = J.getInterceptor$z(t1);
72304 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
72305 span = nodeWithSpan.get$span(nodeWithSpan);
72306 t1 = span;
72307 t2 = span;
72308 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);
72309 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
72310 t1 = span;
72311 t1 = A.FileLocation$_(t1.file, t1._file$_start);
72312 t3 = error;
72313 t4 = J.getInterceptor$z(t3);
72314 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72315 t3 = A.FileLocation$_(t3.file, t3._file$_start);
72316 t4 = span;
72317 t4 = A.FileLocation$_(t4.file, t4._file$_start);
72318 t5 = error;
72319 t6 = J.getInterceptor$z(t5);
72320 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
72321 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
72322 A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
72323 } else
72324 throw exception;
72325 }
72326 },
72327 _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
72328 return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
72329 },
72330 _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
72331 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
72332 try {
72333 t1 = callback.call$0();
72334 return t1;
72335 } catch (exception) {
72336 t1 = A.unwrapException(exception);
72337 if (t1 instanceof A.MultiSpanSassScriptException0) {
72338 error = t1;
72339 stackTrace = A.getTraceFromException(exception);
72340 t1 = error.message;
72341 t2 = nodeWithSpan.get$span(nodeWithSpan);
72342 t3 = error.primaryLabel;
72343 t4 = error.secondarySpans;
72344 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);
72345 } else if (t1 instanceof A.SassScriptException0) {
72346 error0 = t1;
72347 stackTrace0 = A.getTraceFromException(exception);
72348 A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72349 } else
72350 throw exception;
72351 }
72352 },
72353 _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
72354 return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
72355 },
72356 _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
72357 return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72358 },
72359 _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72360 var $async$goto = 0,
72361 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72362 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
72363 var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72364 if ($async$errorCode === 1) {
72365 $async$currentError = $async$result;
72366 $async$goto = $async$handler;
72367 }
72368 while (true)
72369 switch ($async$goto) {
72370 case 0:
72371 // Function start
72372 $async$handler = 4;
72373 $async$goto = 7;
72374 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
72375 case 7:
72376 // returning from await.
72377 t1 = $async$result;
72378 $async$returnValue = t1;
72379 // goto return
72380 $async$goto = 1;
72381 break;
72382 $async$handler = 2;
72383 // goto after finally
72384 $async$goto = 6;
72385 break;
72386 case 4:
72387 // catch
72388 $async$handler = 3;
72389 $async$exception = $async$currentError;
72390 t1 = A.unwrapException($async$exception);
72391 if (t1 instanceof A.MultiSpanSassScriptException0) {
72392 error = t1;
72393 stackTrace = A.getTraceFromException($async$exception);
72394 t1 = error.message;
72395 t2 = nodeWithSpan.get$span(nodeWithSpan);
72396 t3 = error.primaryLabel;
72397 t4 = error.secondarySpans;
72398 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);
72399 } else if (t1 instanceof A.SassScriptException0) {
72400 error0 = t1;
72401 stackTrace0 = A.getTraceFromException($async$exception);
72402 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72403 } else
72404 throw $async$exception;
72405 // goto after finally
72406 $async$goto = 6;
72407 break;
72408 case 3:
72409 // uncaught
72410 // goto rethrow
72411 $async$goto = 2;
72412 break;
72413 case 6:
72414 // after finally
72415 case 1:
72416 // return
72417 return A._asyncReturn($async$returnValue, $async$completer);
72418 case 2:
72419 // rethrow
72420 return A._asyncRethrow($async$currentError, $async$completer);
72421 }
72422 });
72423 return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
72424 },
72425 _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
72426 return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72427 },
72428 _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72429 var $async$goto = 0,
72430 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72431 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
72432 var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72433 if ($async$errorCode === 1) {
72434 $async$currentError = $async$result;
72435 $async$goto = $async$handler;
72436 }
72437 while (true)
72438 switch ($async$goto) {
72439 case 0:
72440 // Function start
72441 $async$handler = 4;
72442 $async$goto = 7;
72443 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
72444 case 7:
72445 // returning from await.
72446 t1 = $async$result;
72447 $async$returnValue = t1;
72448 // goto return
72449 $async$goto = 1;
72450 break;
72451 $async$handler = 2;
72452 // goto after finally
72453 $async$goto = 6;
72454 break;
72455 case 4:
72456 // catch
72457 $async$handler = 3;
72458 $async$exception = $async$currentError;
72459 t1 = A.unwrapException($async$exception);
72460 if (type$.SassRuntimeException_2._is(t1)) {
72461 error = t1;
72462 stackTrace = A.getTraceFromException($async$exception);
72463 t1 = J.get$span$z(error);
72464 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"))
72465 throw $async$exception;
72466 t1 = error._span_exception$_message;
72467 t2 = nodeWithSpan.get$span(nodeWithSpan);
72468 A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
72469 } else
72470 throw $async$exception;
72471 // goto after finally
72472 $async$goto = 6;
72473 break;
72474 case 3:
72475 // uncaught
72476 // goto rethrow
72477 $async$goto = 2;
72478 break;
72479 case 6:
72480 // after finally
72481 case 1:
72482 // return
72483 return A._asyncReturn($async$returnValue, $async$completer);
72484 case 2:
72485 // rethrow
72486 return A._asyncRethrow($async$currentError, $async$completer);
72487 }
72488 });
72489 return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
72490 }
72491 };
72492 A._EvaluateVisitor_closure29.prototype = {
72493 call$1($arguments) {
72494 var module, t2,
72495 t1 = J.getInterceptor$asx($arguments),
72496 variable = t1.$index($arguments, 0).assertString$1("name");
72497 t1 = t1.$index($arguments, 1).get$realNull();
72498 module = t1 == null ? null : t1.assertString$1("module");
72499 t1 = this.$this._async_evaluate0$_environment;
72500 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72501 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
72502 },
72503 $signature: 18
72504 };
72505 A._EvaluateVisitor_closure30.prototype = {
72506 call$1($arguments) {
72507 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
72508 t1 = this.$this._async_evaluate0$_environment;
72509 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72510 },
72511 $signature: 18
72512 };
72513 A._EvaluateVisitor_closure31.prototype = {
72514 call$1($arguments) {
72515 var module, t2, t3, t4,
72516 t1 = J.getInterceptor$asx($arguments),
72517 variable = t1.$index($arguments, 0).assertString$1("name");
72518 t1 = t1.$index($arguments, 1).get$realNull();
72519 module = t1 == null ? null : t1.assertString$1("module");
72520 t1 = this.$this;
72521 t2 = t1._async_evaluate0$_environment;
72522 t3 = variable._string0$_text;
72523 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
72524 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;
72525 },
72526 $signature: 18
72527 };
72528 A._EvaluateVisitor_closure32.prototype = {
72529 call$1($arguments) {
72530 var module, t2,
72531 t1 = J.getInterceptor$asx($arguments),
72532 variable = t1.$index($arguments, 0).assertString$1("name");
72533 t1 = t1.$index($arguments, 1).get$realNull();
72534 module = t1 == null ? null : t1.assertString$1("module");
72535 t1 = this.$this._async_evaluate0$_environment;
72536 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72537 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72538 },
72539 $signature: 18
72540 };
72541 A._EvaluateVisitor_closure33.prototype = {
72542 call$1($arguments) {
72543 var t1 = this.$this._async_evaluate0$_environment;
72544 if (!t1._async_environment0$_inMixin)
72545 throw A.wrapException(A.SassScriptException$0(string$.conten));
72546 return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72547 },
72548 $signature: 18
72549 };
72550 A._EvaluateVisitor_closure34.prototype = {
72551 call$1($arguments) {
72552 var t2, t3, t4,
72553 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72554 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72555 if (module == null)
72556 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72557 t1 = type$.Value_2;
72558 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72559 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72560 t4 = t3.get$current(t3);
72561 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
72562 }
72563 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72564 },
72565 $signature: 40
72566 };
72567 A._EvaluateVisitor_closure35.prototype = {
72568 call$1($arguments) {
72569 var t2, t3, t4,
72570 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72571 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72572 if (module == null)
72573 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72574 t1 = type$.Value_2;
72575 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72576 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72577 t4 = t3.get$current(t3);
72578 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
72579 }
72580 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72581 },
72582 $signature: 40
72583 };
72584 A._EvaluateVisitor_closure36.prototype = {
72585 call$1($arguments) {
72586 var module, callable, t2,
72587 t1 = J.getInterceptor$asx($arguments),
72588 $name = t1.$index($arguments, 0).assertString$1("name"),
72589 css = t1.$index($arguments, 1).get$isTruthy();
72590 t1 = t1.$index($arguments, 2).get$realNull();
72591 module = t1 == null ? null : t1.assertString$1("module");
72592 if (css && module != null)
72593 throw A.wrapException(string$.x24css_a);
72594 if (css)
72595 callable = new A.PlainCssCallable0($name._string0$_text);
72596 else {
72597 t1 = this.$this;
72598 t2 = t1._async_evaluate0$_callableNode;
72599 t2.toString;
72600 callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
72601 }
72602 if (callable != null)
72603 return new A.SassFunction0(callable);
72604 throw A.wrapException("Function not found: " + $name.toString$0(0));
72605 },
72606 $signature: 162
72607 };
72608 A._EvaluateVisitor__closure10.prototype = {
72609 call$0() {
72610 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
72611 t2 = this.module;
72612 t2 = t2 == null ? null : t2._string0$_text;
72613 return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
72614 },
72615 $signature: 115
72616 };
72617 A._EvaluateVisitor_closure37.prototype = {
72618 call$1($arguments) {
72619 return this.$call$body$_EvaluateVisitor_closure2($arguments);
72620 },
72621 $call$body$_EvaluateVisitor_closure2($arguments) {
72622 var $async$goto = 0,
72623 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
72624 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
72625 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72626 if ($async$errorCode === 1)
72627 return A._asyncRethrow($async$result, $async$completer);
72628 while (true)
72629 switch ($async$goto) {
72630 case 0:
72631 // Function start
72632 t1 = J.getInterceptor$asx($arguments);
72633 $function = t1.$index($arguments, 0);
72634 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
72635 t1 = $async$self.$this;
72636 t2 = t1._async_evaluate0$_callableNode;
72637 t2.toString;
72638 t3 = A._setArrayType([], type$.JSArray_Expression_2);
72639 t4 = type$.String;
72640 t5 = type$.Expression_2;
72641 t6 = t2.get$span(t2);
72642 t7 = t2.get$span(t2);
72643 args._argument_list$_wereKeywordsAccessed = true;
72644 t8 = args._argument_list$_keywords;
72645 if (t8.get$isEmpty(t8))
72646 t2 = null;
72647 else {
72648 t9 = type$.Value_2;
72649 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
72650 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
72651 t11 = t8.get$current(t8);
72652 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
72653 }
72654 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
72655 }
72656 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);
72657 $async$goto = $function instanceof A.SassString0 ? 3 : 4;
72658 break;
72659 case 3:
72660 // then
72661 t2 = $function.toString$0(0);
72662 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
72663 callableNode = t1._async_evaluate0$_callableNode;
72664 $async$goto = 5;
72665 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
72666 case 5:
72667 // returning from await.
72668 $async$returnValue = $async$result;
72669 // goto return
72670 $async$goto = 1;
72671 break;
72672 case 4:
72673 // join
72674 t2 = $function.assertFunction$1("function");
72675 t3 = t1._async_evaluate0$_callableNode;
72676 t3.toString;
72677 $async$goto = 6;
72678 return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
72679 case 6:
72680 // returning from await.
72681 t3 = $async$result;
72682 $async$returnValue = t3;
72683 // goto return
72684 $async$goto = 1;
72685 break;
72686 case 1:
72687 // return
72688 return A._asyncReturn($async$returnValue, $async$completer);
72689 }
72690 });
72691 return A._asyncStartSync($async$call$1, $async$completer);
72692 },
72693 $signature: 99
72694 };
72695 A._EvaluateVisitor_closure38.prototype = {
72696 call$1($arguments) {
72697 return this.$call$body$_EvaluateVisitor_closure1($arguments);
72698 },
72699 $call$body$_EvaluateVisitor_closure1($arguments) {
72700 var $async$goto = 0,
72701 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72702 $async$self = this, withMap, t2, values, configuration, t1, url;
72703 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72704 if ($async$errorCode === 1)
72705 return A._asyncRethrow($async$result, $async$completer);
72706 while (true)
72707 switch ($async$goto) {
72708 case 0:
72709 // Function start
72710 t1 = J.getInterceptor$asx($arguments);
72711 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
72712 t1 = t1.$index($arguments, 1).get$realNull();
72713 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
72714 t1 = $async$self.$this;
72715 t2 = t1._async_evaluate0$_callableNode;
72716 t2.toString;
72717 if (withMap != null) {
72718 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
72719 withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
72720 configuration = new A.ExplicitConfiguration0(t2, values);
72721 } else
72722 configuration = B.Configuration_Map_empty0;
72723 $async$goto = 2;
72724 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);
72725 case 2:
72726 // returning from await.
72727 t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
72728 // implicit return
72729 return A._asyncReturn(null, $async$completer);
72730 }
72731 });
72732 return A._asyncStartSync($async$call$1, $async$completer);
72733 },
72734 $signature: 315
72735 };
72736 A._EvaluateVisitor__closure8.prototype = {
72737 call$2(variable, value) {
72738 var t1 = variable.assertString$1("with key"),
72739 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
72740 t1 = this.values;
72741 if (t1.containsKey$1($name))
72742 throw A.wrapException("The variable $" + $name + " was configured twice.");
72743 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
72744 },
72745 $signature: 55
72746 };
72747 A._EvaluateVisitor__closure9.prototype = {
72748 call$1(module) {
72749 var t1 = this.$this;
72750 return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
72751 },
72752 $signature: 165
72753 };
72754 A._EvaluateVisitor_run_closure2.prototype = {
72755 call$0() {
72756 var $async$goto = 0,
72757 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
72758 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
72759 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72760 if ($async$errorCode === 1)
72761 return A._asyncRethrow($async$result, $async$completer);
72762 while (true)
72763 switch ($async$goto) {
72764 case 0:
72765 // Function start
72766 t1 = $async$self.node;
72767 url = t1.span.file.url;
72768 if (url != null) {
72769 t2 = $async$self.$this;
72770 t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
72771 if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
72772 t2._async_evaluate0$_loadedUrls.add$1(0, url);
72773 }
72774 t2 = $async$self.$this;
72775 $async$temp1 = A;
72776 $async$temp2 = t2;
72777 $async$goto = 3;
72778 return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
72779 case 3:
72780 // returning from await.
72781 $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
72782 // goto return
72783 $async$goto = 1;
72784 break;
72785 case 1:
72786 // return
72787 return A._asyncReturn($async$returnValue, $async$completer);
72788 }
72789 });
72790 return A._asyncStartSync($async$call$0, $async$completer);
72791 },
72792 $signature: 318
72793 };
72794 A._EvaluateVisitor__loadModule_closure5.prototype = {
72795 call$0() {
72796 return this.callback.call$1(this.builtInModule);
72797 },
72798 $signature: 0
72799 };
72800 A._EvaluateVisitor__loadModule_closure6.prototype = {
72801 call$0() {
72802 var $async$goto = 0,
72803 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72804 $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;
72805 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72806 if ($async$errorCode === 1) {
72807 $async$currentError = $async$result;
72808 $async$goto = $async$handler;
72809 }
72810 while (true)
72811 switch ($async$goto) {
72812 case 0:
72813 // Function start
72814 t1 = $async$self.$this;
72815 t2 = $async$self.nodeWithSpan;
72816 $async$goto = 2;
72817 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);
72818 case 2:
72819 // returning from await.
72820 result = $async$result;
72821 stylesheet = result.stylesheet;
72822 canonicalUrl = stylesheet.span.file.url;
72823 if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
72824 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
72825 t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
72826 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
72827 }
72828 if (canonicalUrl != null)
72829 t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
72830 oldInDependency = t1._async_evaluate0$_inDependency;
72831 t1._async_evaluate0$_inDependency = result.isDependency;
72832 module = null;
72833 $async$handler = 3;
72834 $async$goto = 6;
72835 return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
72836 case 6:
72837 // returning from await.
72838 module = $async$result;
72839 $async$next.push(5);
72840 // goto finally
72841 $async$goto = 4;
72842 break;
72843 case 3:
72844 // uncaught
72845 $async$next = [1];
72846 case 4:
72847 // finally
72848 $async$handler = 1;
72849 t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
72850 t1._async_evaluate0$_inDependency = oldInDependency;
72851 // goto the next finally handler
72852 $async$goto = $async$next.pop();
72853 break;
72854 case 5:
72855 // after finally
72856 $async$handler = 8;
72857 $async$goto = 11;
72858 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
72859 case 11:
72860 // returning from await.
72861 $async$handler = 1;
72862 // goto after finally
72863 $async$goto = 10;
72864 break;
72865 case 8:
72866 // catch
72867 $async$handler = 7;
72868 $async$exception = $async$currentError;
72869 t2 = A.unwrapException($async$exception);
72870 if (type$.SassRuntimeException_2._is(t2))
72871 throw $async$exception;
72872 else if (t2 instanceof A.MultiSpanSassException0) {
72873 error = t2;
72874 stackTrace = A.getTraceFromException($async$exception);
72875 t2 = error._span_exception$_message;
72876 t3 = error;
72877 t4 = J.getInterceptor$z(t3);
72878 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72879 t4 = error.primaryLabel;
72880 t5 = error.secondarySpans;
72881 t6 = error;
72882 t7 = J.getInterceptor$z(t6);
72883 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);
72884 } else if (t2 instanceof A.SassException0) {
72885 error0 = t2;
72886 stackTrace0 = A.getTraceFromException($async$exception);
72887 t2 = error0;
72888 t3 = J.getInterceptor$z(t2);
72889 A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
72890 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
72891 error1 = t2;
72892 stackTrace1 = A.getTraceFromException($async$exception);
72893 A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
72894 } else if (t2 instanceof A.SassScriptException0) {
72895 error2 = t2;
72896 stackTrace2 = A.getTraceFromException($async$exception);
72897 A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
72898 } else
72899 throw $async$exception;
72900 // goto after finally
72901 $async$goto = 10;
72902 break;
72903 case 7:
72904 // uncaught
72905 // goto rethrow
72906 $async$goto = 1;
72907 break;
72908 case 10:
72909 // after finally
72910 // implicit return
72911 return A._asyncReturn(null, $async$completer);
72912 case 1:
72913 // rethrow
72914 return A._asyncRethrow($async$currentError, $async$completer);
72915 }
72916 });
72917 return A._asyncStartSync($async$call$0, $async$completer);
72918 },
72919 $signature: 2
72920 };
72921 A._EvaluateVisitor__loadModule__closure2.prototype = {
72922 call$1(previousLoad) {
72923 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));
72924 },
72925 $signature: 93
72926 };
72927 A._EvaluateVisitor__execute_closure2.prototype = {
72928 call$0() {
72929 var $async$goto = 0,
72930 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72931 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
72932 var $async$call$0 = 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 t1 = $async$self.$this;
72940 oldImporter = t1._async_evaluate0$_importer;
72941 oldStylesheet = t1._async_evaluate0$__stylesheet;
72942 oldRoot = t1._async_evaluate0$__root;
72943 oldParent = t1._async_evaluate0$__parent;
72944 oldEndOfImports = t1._async_evaluate0$__endOfImports;
72945 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
72946 oldExtensionStore = t1._async_evaluate0$__extensionStore;
72947 t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
72948 oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
72949 oldMediaQueries = t1._async_evaluate0$_mediaQueries;
72950 oldDeclarationName = t1._async_evaluate0$_declarationName;
72951 oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
72952 oldInKeyframes = t1._async_evaluate0$_inKeyframes;
72953 oldConfiguration = t1._async_evaluate0$_configuration;
72954 t1._async_evaluate0$_importer = $async$self.importer;
72955 t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
72956 t4 = t3.span;
72957 t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
72958 t1._async_evaluate0$__endOfImports = 0;
72959 t1._async_evaluate0$_outOfOrderImports = null;
72960 t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
72961 t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
72962 t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
72963 t6 = $async$self.configuration;
72964 if (t6 != null)
72965 t1._async_evaluate0$_configuration = t6;
72966 $async$goto = 2;
72967 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
72968 case 2:
72969 // returning from await.
72970 t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
72971 $async$self.css._value = t3;
72972 t1._async_evaluate0$_importer = oldImporter;
72973 t1._async_evaluate0$__stylesheet = oldStylesheet;
72974 t1._async_evaluate0$__root = oldRoot;
72975 t1._async_evaluate0$__parent = oldParent;
72976 t1._async_evaluate0$__endOfImports = oldEndOfImports;
72977 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
72978 t1._async_evaluate0$__extensionStore = oldExtensionStore;
72979 t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
72980 t1._async_evaluate0$_mediaQueries = oldMediaQueries;
72981 t1._async_evaluate0$_declarationName = oldDeclarationName;
72982 t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
72983 t1._async_evaluate0$_atRootExcludingStyleRule = t2;
72984 t1._async_evaluate0$_inKeyframes = oldInKeyframes;
72985 t1._async_evaluate0$_configuration = oldConfiguration;
72986 // implicit return
72987 return A._asyncReturn(null, $async$completer);
72988 }
72989 });
72990 return A._asyncStartSync($async$call$0, $async$completer);
72991 },
72992 $signature: 2
72993 };
72994 A._EvaluateVisitor__combineCss_closure8.prototype = {
72995 call$1(module) {
72996 return module.get$transitivelyContainsCss();
72997 },
72998 $signature: 123
72999 };
73000 A._EvaluateVisitor__combineCss_closure9.prototype = {
73001 call$1(target) {
73002 return !this.selectors.contains$1(0, target);
73003 },
73004 $signature: 15
73005 };
73006 A._EvaluateVisitor__combineCss_closure10.prototype = {
73007 call$1(module) {
73008 return module.cloneCss$0();
73009 },
73010 $signature: 321
73011 };
73012 A._EvaluateVisitor__extendModules_closure5.prototype = {
73013 call$1(target) {
73014 return !this.originalSelectors.contains$1(0, target);
73015 },
73016 $signature: 15
73017 };
73018 A._EvaluateVisitor__extendModules_closure6.prototype = {
73019 call$0() {
73020 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
73021 },
73022 $signature: 168
73023 };
73024 A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
73025 call$1(module) {
73026 var t1, t2, t3, _i, upstream;
73027 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
73028 upstream = t1[_i];
73029 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
73030 this.call$1(upstream);
73031 }
73032 this.sorted.addFirst$1(module);
73033 },
73034 $signature: 165
73035 };
73036 A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
73037 call$0() {
73038 var t1 = A.SpanScanner$(this.resolved, null);
73039 return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
73040 },
73041 $signature: 108
73042 };
73043 A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
73044 call$0() {
73045 var $async$goto = 0,
73046 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73047 $async$self = this, t1, t2, t3, _i;
73048 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73049 if ($async$errorCode === 1)
73050 return A._asyncRethrow($async$result, $async$completer);
73051 while (true)
73052 switch ($async$goto) {
73053 case 0:
73054 // Function start
73055 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73056 case 2:
73057 // for condition
73058 if (!(_i < t2)) {
73059 // goto after for
73060 $async$goto = 4;
73061 break;
73062 }
73063 $async$goto = 5;
73064 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73065 case 5:
73066 // returning from await.
73067 case 3:
73068 // for update
73069 ++_i;
73070 // goto for condition
73071 $async$goto = 2;
73072 break;
73073 case 4:
73074 // after for
73075 // implicit return
73076 return A._asyncReturn(null, $async$completer);
73077 }
73078 });
73079 return A._asyncStartSync($async$call$0, $async$completer);
73080 },
73081 $signature: 2
73082 };
73083 A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
73084 call$0() {
73085 var $async$goto = 0,
73086 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73087 $async$self = this, t1, t2, t3, _i;
73088 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73089 if ($async$errorCode === 1)
73090 return A._asyncRethrow($async$result, $async$completer);
73091 while (true)
73092 switch ($async$goto) {
73093 case 0:
73094 // Function start
73095 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73096 case 2:
73097 // for condition
73098 if (!(_i < t2)) {
73099 // goto after for
73100 $async$goto = 4;
73101 break;
73102 }
73103 $async$goto = 5;
73104 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73105 case 5:
73106 // returning from await.
73107 case 3:
73108 // for update
73109 ++_i;
73110 // goto for condition
73111 $async$goto = 2;
73112 break;
73113 case 4:
73114 // after for
73115 // implicit return
73116 return A._asyncReturn(null, $async$completer);
73117 }
73118 });
73119 return A._asyncStartSync($async$call$0, $async$completer);
73120 },
73121 $signature: 34
73122 };
73123 A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
73124 call$1(callback) {
73125 var $async$goto = 0,
73126 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73127 $async$self = this, t1, t2;
73128 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73129 if ($async$errorCode === 1)
73130 return A._asyncRethrow($async$result, $async$completer);
73131 while (true)
73132 switch ($async$goto) {
73133 case 0:
73134 // Function start
73135 t1 = $async$self.$this;
73136 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73137 t1._async_evaluate0$__parent = $async$self.newParent;
73138 $async$goto = 2;
73139 return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
73140 case 2:
73141 // returning from await.
73142 t1._async_evaluate0$__parent = t2;
73143 // implicit return
73144 return A._asyncReturn(null, $async$completer);
73145 }
73146 });
73147 return A._asyncStartSync($async$call$1, $async$completer);
73148 },
73149 $signature: 32
73150 };
73151 A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
73152 call$1(callback) {
73153 var $async$goto = 0,
73154 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73155 $async$self = this, t1, oldAtRootExcludingStyleRule;
73156 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73157 if ($async$errorCode === 1)
73158 return A._asyncRethrow($async$result, $async$completer);
73159 while (true)
73160 switch ($async$goto) {
73161 case 0:
73162 // Function start
73163 t1 = $async$self.$this;
73164 oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
73165 t1._async_evaluate0$_atRootExcludingStyleRule = true;
73166 $async$goto = 2;
73167 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73168 case 2:
73169 // returning from await.
73170 t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
73171 // implicit return
73172 return A._asyncReturn(null, $async$completer);
73173 }
73174 });
73175 return A._asyncStartSync($async$call$1, $async$completer);
73176 },
73177 $signature: 32
73178 };
73179 A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
73180 call$1(callback) {
73181 return this.$this._async_evaluate0$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
73182 },
73183 $signature: 32
73184 };
73185 A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
73186 call$0() {
73187 return this.innerScope.call$1(this.callback);
73188 },
73189 $signature: 2
73190 };
73191 A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
73192 call$1(callback) {
73193 var $async$goto = 0,
73194 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73195 $async$self = this, t1, wasInKeyframes;
73196 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73197 if ($async$errorCode === 1)
73198 return A._asyncRethrow($async$result, $async$completer);
73199 while (true)
73200 switch ($async$goto) {
73201 case 0:
73202 // Function start
73203 t1 = $async$self.$this;
73204 wasInKeyframes = t1._async_evaluate0$_inKeyframes;
73205 t1._async_evaluate0$_inKeyframes = false;
73206 $async$goto = 2;
73207 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73208 case 2:
73209 // returning from await.
73210 t1._async_evaluate0$_inKeyframes = wasInKeyframes;
73211 // implicit return
73212 return A._asyncReturn(null, $async$completer);
73213 }
73214 });
73215 return A._asyncStartSync($async$call$1, $async$completer);
73216 },
73217 $signature: 32
73218 };
73219 A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
73220 call$1($parent) {
73221 return type$.CssAtRule_2._is($parent);
73222 },
73223 $signature: 170
73224 };
73225 A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
73226 call$1(callback) {
73227 var $async$goto = 0,
73228 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73229 $async$self = this, t1, wasInUnknownAtRule;
73230 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73231 if ($async$errorCode === 1)
73232 return A._asyncRethrow($async$result, $async$completer);
73233 while (true)
73234 switch ($async$goto) {
73235 case 0:
73236 // Function start
73237 t1 = $async$self.$this;
73238 wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
73239 t1._async_evaluate0$_inUnknownAtRule = false;
73240 $async$goto = 2;
73241 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73242 case 2:
73243 // returning from await.
73244 t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
73245 // implicit return
73246 return A._asyncReturn(null, $async$completer);
73247 }
73248 });
73249 return A._asyncStartSync($async$call$1, $async$completer);
73250 },
73251 $signature: 32
73252 };
73253 A._EvaluateVisitor_visitContentRule_closure2.prototype = {
73254 call$0() {
73255 var $async$goto = 0,
73256 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73257 $async$returnValue, $async$self = this, t1, t2, t3, _i;
73258 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73259 if ($async$errorCode === 1)
73260 return A._asyncRethrow($async$result, $async$completer);
73261 while (true)
73262 switch ($async$goto) {
73263 case 0:
73264 // Function start
73265 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73266 case 3:
73267 // for condition
73268 if (!(_i < t2)) {
73269 // goto after for
73270 $async$goto = 5;
73271 break;
73272 }
73273 $async$goto = 6;
73274 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73275 case 6:
73276 // returning from await.
73277 case 4:
73278 // for update
73279 ++_i;
73280 // goto for condition
73281 $async$goto = 3;
73282 break;
73283 case 5:
73284 // after for
73285 $async$returnValue = null;
73286 // goto return
73287 $async$goto = 1;
73288 break;
73289 case 1:
73290 // return
73291 return A._asyncReturn($async$returnValue, $async$completer);
73292 }
73293 });
73294 return A._asyncStartSync($async$call$0, $async$completer);
73295 },
73296 $signature: 2
73297 };
73298 A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
73299 call$1(value) {
73300 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
73301 },
73302 $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
73303 var $async$goto = 0,
73304 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
73305 $async$returnValue, $async$self = this, $async$temp1;
73306 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73307 if ($async$errorCode === 1)
73308 return A._asyncRethrow($async$result, $async$completer);
73309 while (true)
73310 switch ($async$goto) {
73311 case 0:
73312 // Function start
73313 $async$temp1 = A;
73314 $async$goto = 3;
73315 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
73316 case 3:
73317 // returning from await.
73318 $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
73319 // goto return
73320 $async$goto = 1;
73321 break;
73322 case 1:
73323 // return
73324 return A._asyncReturn($async$returnValue, $async$completer);
73325 }
73326 });
73327 return A._asyncStartSync($async$call$1, $async$completer);
73328 },
73329 $signature: 325
73330 };
73331 A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
73332 call$0() {
73333 var $async$goto = 0,
73334 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73335 $async$self = this, t1, t2, t3, _i;
73336 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73337 if ($async$errorCode === 1)
73338 return A._asyncRethrow($async$result, $async$completer);
73339 while (true)
73340 switch ($async$goto) {
73341 case 0:
73342 // Function start
73343 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73344 case 2:
73345 // for condition
73346 if (!(_i < t2)) {
73347 // goto after for
73348 $async$goto = 4;
73349 break;
73350 }
73351 $async$goto = 5;
73352 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73353 case 5:
73354 // returning from await.
73355 case 3:
73356 // for update
73357 ++_i;
73358 // goto for condition
73359 $async$goto = 2;
73360 break;
73361 case 4:
73362 // after for
73363 // implicit return
73364 return A._asyncReturn(null, $async$completer);
73365 }
73366 });
73367 return A._asyncStartSync($async$call$0, $async$completer);
73368 },
73369 $signature: 2
73370 };
73371 A._EvaluateVisitor_visitEachRule_closure8.prototype = {
73372 call$1(value) {
73373 var t1 = this.$this,
73374 t2 = this.nodeWithSpan;
73375 return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
73376 },
73377 $signature: 53
73378 };
73379 A._EvaluateVisitor_visitEachRule_closure9.prototype = {
73380 call$1(value) {
73381 return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
73382 },
73383 $signature: 53
73384 };
73385 A._EvaluateVisitor_visitEachRule_closure10.prototype = {
73386 call$0() {
73387 var _this = this,
73388 t1 = _this.$this;
73389 return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
73390 },
73391 $signature: 64
73392 };
73393 A._EvaluateVisitor_visitEachRule__closure2.prototype = {
73394 call$1(element) {
73395 var t1;
73396 this.setVariables.call$1(element);
73397 t1 = this.$this;
73398 return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
73399 },
73400 $signature: 328
73401 };
73402 A._EvaluateVisitor_visitEachRule___closure2.prototype = {
73403 call$1(child) {
73404 return child.accept$1(this.$this);
73405 },
73406 $signature: 97
73407 };
73408 A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
73409 call$0() {
73410 var t1 = this.targetText;
73411 return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
73412 },
73413 $signature: 45
73414 };
73415 A._EvaluateVisitor_visitAtRule_closure8.prototype = {
73416 call$1(value) {
73417 return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
73418 },
73419 $signature: 331
73420 };
73421 A._EvaluateVisitor_visitAtRule_closure9.prototype = {
73422 call$0() {
73423 var $async$goto = 0,
73424 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73425 $async$self = this, t2, t3, _i, t1, styleRule;
73426 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73427 if ($async$errorCode === 1)
73428 return A._asyncRethrow($async$result, $async$completer);
73429 while (true)
73430 switch ($async$goto) {
73431 case 0:
73432 // Function start
73433 t1 = $async$self.$this;
73434 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73435 $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
73436 break;
73437 case 2:
73438 // then
73439 t2 = $async$self.children, t3 = t2.length, _i = 0;
73440 case 5:
73441 // for condition
73442 if (!(_i < t3)) {
73443 // goto after for
73444 $async$goto = 7;
73445 break;
73446 }
73447 $async$goto = 8;
73448 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73449 case 8:
73450 // returning from await.
73451 case 6:
73452 // for update
73453 ++_i;
73454 // goto for condition
73455 $async$goto = 5;
73456 break;
73457 case 7:
73458 // after for
73459 // goto join
73460 $async$goto = 3;
73461 break;
73462 case 4:
73463 // else
73464 $async$goto = 9;
73465 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);
73466 case 9:
73467 // returning from await.
73468 case 3:
73469 // join
73470 // implicit return
73471 return A._asyncReturn(null, $async$completer);
73472 }
73473 });
73474 return A._asyncStartSync($async$call$0, $async$completer);
73475 },
73476 $signature: 2
73477 };
73478 A._EvaluateVisitor_visitAtRule__closure2.prototype = {
73479 call$0() {
73480 var $async$goto = 0,
73481 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73482 $async$self = this, t1, t2, t3, _i;
73483 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73484 if ($async$errorCode === 1)
73485 return A._asyncRethrow($async$result, $async$completer);
73486 while (true)
73487 switch ($async$goto) {
73488 case 0:
73489 // Function start
73490 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73491 case 2:
73492 // for condition
73493 if (!(_i < t2)) {
73494 // goto after for
73495 $async$goto = 4;
73496 break;
73497 }
73498 $async$goto = 5;
73499 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73500 case 5:
73501 // returning from await.
73502 case 3:
73503 // for update
73504 ++_i;
73505 // goto for condition
73506 $async$goto = 2;
73507 break;
73508 case 4:
73509 // after for
73510 // implicit return
73511 return A._asyncReturn(null, $async$completer);
73512 }
73513 });
73514 return A._asyncStartSync($async$call$0, $async$completer);
73515 },
73516 $signature: 2
73517 };
73518 A._EvaluateVisitor_visitAtRule_closure10.prototype = {
73519 call$1(node) {
73520 return type$.CssStyleRule_2._is(node);
73521 },
73522 $signature: 7
73523 };
73524 A._EvaluateVisitor_visitForRule_closure14.prototype = {
73525 call$0() {
73526 var $async$goto = 0,
73527 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73528 $async$returnValue, $async$self = this;
73529 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73530 if ($async$errorCode === 1)
73531 return A._asyncRethrow($async$result, $async$completer);
73532 while (true)
73533 switch ($async$goto) {
73534 case 0:
73535 // Function start
73536 $async$goto = 3;
73537 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
73538 case 3:
73539 // returning from await.
73540 $async$returnValue = $async$result.assertNumber$0();
73541 // goto return
73542 $async$goto = 1;
73543 break;
73544 case 1:
73545 // return
73546 return A._asyncReturn($async$returnValue, $async$completer);
73547 }
73548 });
73549 return A._asyncStartSync($async$call$0, $async$completer);
73550 },
73551 $signature: 176
73552 };
73553 A._EvaluateVisitor_visitForRule_closure15.prototype = {
73554 call$0() {
73555 var $async$goto = 0,
73556 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73557 $async$returnValue, $async$self = this;
73558 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73559 if ($async$errorCode === 1)
73560 return A._asyncRethrow($async$result, $async$completer);
73561 while (true)
73562 switch ($async$goto) {
73563 case 0:
73564 // Function start
73565 $async$goto = 3;
73566 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
73567 case 3:
73568 // returning from await.
73569 $async$returnValue = $async$result.assertNumber$0();
73570 // goto return
73571 $async$goto = 1;
73572 break;
73573 case 1:
73574 // return
73575 return A._asyncReturn($async$returnValue, $async$completer);
73576 }
73577 });
73578 return A._asyncStartSync($async$call$0, $async$completer);
73579 },
73580 $signature: 176
73581 };
73582 A._EvaluateVisitor_visitForRule_closure16.prototype = {
73583 call$0() {
73584 return this.fromNumber.assertInt$0();
73585 },
73586 $signature: 12
73587 };
73588 A._EvaluateVisitor_visitForRule_closure17.prototype = {
73589 call$0() {
73590 var t1 = this.fromNumber;
73591 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
73592 },
73593 $signature: 12
73594 };
73595 A._EvaluateVisitor_visitForRule_closure18.prototype = {
73596 call$0() {
73597 var $async$goto = 0,
73598 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
73599 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
73600 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73601 if ($async$errorCode === 1)
73602 return A._asyncRethrow($async$result, $async$completer);
73603 while (true)
73604 switch ($async$goto) {
73605 case 0:
73606 // Function start
73607 t1 = $async$self.$this;
73608 t2 = $async$self.node;
73609 nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
73610 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
73611 case 3:
73612 // for condition
73613 if (!(i !== t3.to)) {
73614 // goto after for
73615 $async$goto = 5;
73616 break;
73617 }
73618 t7 = t1._async_evaluate0$_environment;
73619 t8 = t6.get$numeratorUnits(t6);
73620 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
73621 $async$goto = 6;
73622 return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
73623 case 6:
73624 // returning from await.
73625 result = $async$result;
73626 if (result != null) {
73627 $async$returnValue = result;
73628 // goto return
73629 $async$goto = 1;
73630 break;
73631 }
73632 case 4:
73633 // for update
73634 i += t4;
73635 // goto for condition
73636 $async$goto = 3;
73637 break;
73638 case 5:
73639 // after for
73640 $async$returnValue = null;
73641 // goto return
73642 $async$goto = 1;
73643 break;
73644 case 1:
73645 // return
73646 return A._asyncReturn($async$returnValue, $async$completer);
73647 }
73648 });
73649 return A._asyncStartSync($async$call$0, $async$completer);
73650 },
73651 $signature: 64
73652 };
73653 A._EvaluateVisitor_visitForRule__closure2.prototype = {
73654 call$1(child) {
73655 return child.accept$1(this.$this);
73656 },
73657 $signature: 97
73658 };
73659 A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
73660 call$1(module) {
73661 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73662 },
73663 $signature: 112
73664 };
73665 A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
73666 call$1(module) {
73667 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73668 },
73669 $signature: 112
73670 };
73671 A._EvaluateVisitor_visitIfRule_closure2.prototype = {
73672 call$0() {
73673 var t1 = this.$this;
73674 return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
73675 },
73676 $signature: 64
73677 };
73678 A._EvaluateVisitor_visitIfRule__closure2.prototype = {
73679 call$1(child) {
73680 return child.accept$1(this.$this);
73681 },
73682 $signature: 97
73683 };
73684 A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
73685 call$0() {
73686 var $async$goto = 0,
73687 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73688 $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;
73689 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73690 if ($async$errorCode === 1)
73691 return A._asyncRethrow($async$result, $async$completer);
73692 while (true)
73693 switch ($async$goto) {
73694 case 0:
73695 // Function start
73696 t1 = $async$self.$this;
73697 t2 = $async$self.$import;
73698 $async$goto = 3;
73699 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
73700 case 3:
73701 // returning from await.
73702 result = $async$result;
73703 stylesheet = result.stylesheet;
73704 url = stylesheet.span.file.url;
73705 if (url != null) {
73706 t3 = t1._async_evaluate0$_activeModules;
73707 if (t3.containsKey$1(url)) {
73708 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
73709 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
73710 }
73711 t3.$indexSet(0, url, t2);
73712 }
73713 t2 = stylesheet._stylesheet1$_uses;
73714 t3 = type$.UnmodifiableListView_UseRule_2;
73715 t4 = new A.UnmodifiableListView(t2, t3);
73716 if (t4.get$length(t4) === 0) {
73717 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73718 t4 = t4.get$length(t4) === 0;
73719 } else
73720 t4 = false;
73721 $async$goto = t4 ? 4 : 5;
73722 break;
73723 case 4:
73724 // then
73725 oldImporter = t1._async_evaluate0$_importer;
73726 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73727 oldInDependency = t1._async_evaluate0$_inDependency;
73728 t1._async_evaluate0$_importer = result.importer;
73729 t1._async_evaluate0$__stylesheet = stylesheet;
73730 t1._async_evaluate0$_inDependency = result.isDependency;
73731 $async$goto = 6;
73732 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
73733 case 6:
73734 // returning from await.
73735 t1._async_evaluate0$_importer = oldImporter;
73736 t1._async_evaluate0$__stylesheet = t2;
73737 t1._async_evaluate0$_inDependency = oldInDependency;
73738 t1._async_evaluate0$_activeModules.remove$1(0, url);
73739 // goto return
73740 $async$goto = 1;
73741 break;
73742 case 5:
73743 // join
73744 t2 = new A.UnmodifiableListView(t2, t3);
73745 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
73746 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73747 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
73748 } else
73749 loadsUserDefinedModules = true;
73750 children = A._Cell$();
73751 t2 = t1._async_evaluate0$_environment;
73752 t3 = type$.String;
73753 t4 = type$.Module_AsyncCallable_2;
73754 t5 = type$.AstNode_2;
73755 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
73756 t7 = t2._async_environment0$_variables;
73757 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
73758 t8 = t2._async_environment0$_variableNodes;
73759 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
73760 t9 = t2._async_environment0$_functions;
73761 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
73762 t10 = t2._async_environment0$_mixins;
73763 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
73764 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);
73765 $async$goto = 7;
73766 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);
73767 case 7:
73768 // returning from await.
73769 module = environment.toDummyModule$0();
73770 t1._async_evaluate0$_environment.importForwards$1(module);
73771 $async$goto = loadsUserDefinedModules ? 8 : 9;
73772 break;
73773 case 8:
73774 // then
73775 $async$goto = module.transitivelyContainsCss ? 10 : 11;
73776 break;
73777 case 10:
73778 // then
73779 $async$goto = 12;
73780 return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
73781 case 12:
73782 // returning from await.
73783 case 11:
73784 // join
73785 visitor = new A._ImportedCssVisitor2(t1);
73786 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
73787 t2.get$current(t2).accept$1(visitor);
73788 case 9:
73789 // join
73790 t1._async_evaluate0$_activeModules.remove$1(0, url);
73791 case 1:
73792 // return
73793 return A._asyncReturn($async$returnValue, $async$completer);
73794 }
73795 });
73796 return A._asyncStartSync($async$call$0, $async$completer);
73797 },
73798 $signature: 34
73799 };
73800 A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
73801 call$1(previousLoad) {
73802 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));
73803 },
73804 $signature: 93
73805 };
73806 A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
73807 call$1(rule) {
73808 return rule.url.get$scheme() !== "sass";
73809 },
73810 $signature: 178
73811 };
73812 A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
73813 call$1(rule) {
73814 return rule.url.get$scheme() !== "sass";
73815 },
73816 $signature: 179
73817 };
73818 A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
73819 call$0() {
73820 var $async$goto = 0,
73821 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73822 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
73823 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73824 if ($async$errorCode === 1)
73825 return A._asyncRethrow($async$result, $async$completer);
73826 while (true)
73827 switch ($async$goto) {
73828 case 0:
73829 // Function start
73830 t1 = $async$self.$this;
73831 oldImporter = t1._async_evaluate0$_importer;
73832 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73833 t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
73834 t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73835 t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
73836 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
73837 oldConfiguration = t1._async_evaluate0$_configuration;
73838 oldInDependency = t1._async_evaluate0$_inDependency;
73839 t6 = $async$self.result;
73840 t1._async_evaluate0$_importer = t6.importer;
73841 t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
73842 t8 = $async$self.loadsUserDefinedModules;
73843 if (t8) {
73844 t9 = A.ModifiableCssStylesheet$0(t7.span);
73845 t1._async_evaluate0$__root = t9;
73846 t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
73847 t1._async_evaluate0$__endOfImports = 0;
73848 t1._async_evaluate0$_outOfOrderImports = null;
73849 }
73850 t1._async_evaluate0$_inDependency = t6.isDependency;
73851 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73852 if (!t6.get$isEmpty(t6))
73853 t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
73854 $async$goto = 2;
73855 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
73856 case 2:
73857 // returning from await.
73858 t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
73859 $async$self.children._value = t6;
73860 t1._async_evaluate0$_importer = oldImporter;
73861 t1._async_evaluate0$__stylesheet = t2;
73862 if (t8) {
73863 t1._async_evaluate0$__root = t3;
73864 t1._async_evaluate0$__parent = t4;
73865 t1._async_evaluate0$__endOfImports = t5;
73866 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
73867 }
73868 t1._async_evaluate0$_configuration = oldConfiguration;
73869 t1._async_evaluate0$_inDependency = oldInDependency;
73870 // implicit return
73871 return A._asyncReturn(null, $async$completer);
73872 }
73873 });
73874 return A._asyncStartSync($async$call$0, $async$completer);
73875 },
73876 $signature: 2
73877 };
73878 A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
73879 call$0() {
73880 var t1 = this.node;
73881 return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
73882 },
73883 $signature: 115
73884 };
73885 A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
73886 call$0() {
73887 return this.node.get$spanWithoutContent();
73888 },
73889 $signature: 30
73890 };
73891 A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
73892 call$1($content) {
73893 var t1 = this.$this;
73894 return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
73895 },
73896 $signature: 337
73897 };
73898 A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
73899 call$0() {
73900 var $async$goto = 0,
73901 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73902 $async$self = this, t1;
73903 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73904 if ($async$errorCode === 1)
73905 return A._asyncRethrow($async$result, $async$completer);
73906 while (true)
73907 switch ($async$goto) {
73908 case 0:
73909 // Function start
73910 t1 = $async$self.$this;
73911 $async$goto = 2;
73912 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);
73913 case 2:
73914 // returning from await.
73915 // implicit return
73916 return A._asyncReturn(null, $async$completer);
73917 }
73918 });
73919 return A._asyncStartSync($async$call$0, $async$completer);
73920 },
73921 $signature: 2
73922 };
73923 A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
73924 call$0() {
73925 var $async$goto = 0,
73926 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73927 $async$self = this, t1;
73928 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73929 if ($async$errorCode === 1)
73930 return A._asyncRethrow($async$result, $async$completer);
73931 while (true)
73932 switch ($async$goto) {
73933 case 0:
73934 // Function start
73935 t1 = $async$self.$this;
73936 $async$goto = 2;
73937 return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
73938 case 2:
73939 // returning from await.
73940 // implicit return
73941 return A._asyncReturn(null, $async$completer);
73942 }
73943 });
73944 return A._asyncStartSync($async$call$0, $async$completer);
73945 },
73946 $signature: 34
73947 };
73948 A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
73949 call$0() {
73950 var $async$goto = 0,
73951 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73952 $async$self = this, t1, t2, t3, t4, t5, _i;
73953 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73954 if ($async$errorCode === 1)
73955 return A._asyncRethrow($async$result, $async$completer);
73956 while (true)
73957 switch ($async$goto) {
73958 case 0:
73959 // Function start
73960 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
73961 case 2:
73962 // for condition
73963 if (!(_i < t2)) {
73964 // goto after for
73965 $async$goto = 4;
73966 break;
73967 }
73968 $async$goto = 5;
73969 return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
73970 case 5:
73971 // returning from await.
73972 case 3:
73973 // for update
73974 ++_i;
73975 // goto for condition
73976 $async$goto = 2;
73977 break;
73978 case 4:
73979 // after for
73980 // implicit return
73981 return A._asyncReturn(null, $async$completer);
73982 }
73983 });
73984 return A._asyncStartSync($async$call$0, $async$completer);
73985 },
73986 $signature: 34
73987 };
73988 A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
73989 call$0() {
73990 return this.statement.accept$1(this.$this);
73991 },
73992 $signature: 64
73993 };
73994 A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
73995 call$1(mediaQueries) {
73996 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
73997 },
73998 $signature: 80
73999 };
74000 A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
74001 call$0() {
74002 var $async$goto = 0,
74003 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74004 $async$self = this, t1, t2;
74005 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74006 if ($async$errorCode === 1)
74007 return A._asyncRethrow($async$result, $async$completer);
74008 while (true)
74009 switch ($async$goto) {
74010 case 0:
74011 // Function start
74012 t1 = $async$self.$this;
74013 t2 = $async$self.mergedQueries;
74014 if (t2 == null)
74015 t2 = $async$self.queries;
74016 $async$goto = 2;
74017 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
74018 case 2:
74019 // returning from await.
74020 // implicit return
74021 return A._asyncReturn(null, $async$completer);
74022 }
74023 });
74024 return A._asyncStartSync($async$call$0, $async$completer);
74025 },
74026 $signature: 2
74027 };
74028 A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
74029 call$0() {
74030 var $async$goto = 0,
74031 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74032 $async$self = this, t2, t3, _i, t1, styleRule;
74033 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74034 if ($async$errorCode === 1)
74035 return A._asyncRethrow($async$result, $async$completer);
74036 while (true)
74037 switch ($async$goto) {
74038 case 0:
74039 // Function start
74040 t1 = $async$self.$this;
74041 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74042 $async$goto = styleRule == null ? 2 : 4;
74043 break;
74044 case 2:
74045 // then
74046 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74047 case 5:
74048 // for condition
74049 if (!(_i < t3)) {
74050 // goto after for
74051 $async$goto = 7;
74052 break;
74053 }
74054 $async$goto = 8;
74055 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74056 case 8:
74057 // returning from await.
74058 case 6:
74059 // for update
74060 ++_i;
74061 // goto for condition
74062 $async$goto = 5;
74063 break;
74064 case 7:
74065 // after for
74066 // goto join
74067 $async$goto = 3;
74068 break;
74069 case 4:
74070 // else
74071 $async$goto = 9;
74072 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);
74073 case 9:
74074 // returning from await.
74075 case 3:
74076 // join
74077 // implicit return
74078 return A._asyncReturn(null, $async$completer);
74079 }
74080 });
74081 return A._asyncStartSync($async$call$0, $async$completer);
74082 },
74083 $signature: 2
74084 };
74085 A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
74086 call$0() {
74087 var $async$goto = 0,
74088 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74089 $async$self = this, t1, t2, t3, _i;
74090 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74091 if ($async$errorCode === 1)
74092 return A._asyncRethrow($async$result, $async$completer);
74093 while (true)
74094 switch ($async$goto) {
74095 case 0:
74096 // Function start
74097 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74098 case 2:
74099 // for condition
74100 if (!(_i < t2)) {
74101 // goto after for
74102 $async$goto = 4;
74103 break;
74104 }
74105 $async$goto = 5;
74106 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74107 case 5:
74108 // returning from await.
74109 case 3:
74110 // for update
74111 ++_i;
74112 // goto for condition
74113 $async$goto = 2;
74114 break;
74115 case 4:
74116 // after for
74117 // implicit return
74118 return A._asyncReturn(null, $async$completer);
74119 }
74120 });
74121 return A._asyncStartSync($async$call$0, $async$completer);
74122 },
74123 $signature: 2
74124 };
74125 A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
74126 call$1(node) {
74127 var t1;
74128 if (!type$.CssStyleRule_2._is(node))
74129 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
74130 else
74131 t1 = true;
74132 return t1;
74133 },
74134 $signature: 7
74135 };
74136 A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
74137 call$0() {
74138 var t1 = A.SpanScanner$(this.resolved, null);
74139 return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
74140 },
74141 $signature: 113
74142 };
74143 A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
74144 call$0() {
74145 var t1 = this.selectorText;
74146 return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
74147 },
74148 $signature: 46
74149 };
74150 A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
74151 call$0() {
74152 var $async$goto = 0,
74153 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74154 $async$self = this, t1, t2, t3, _i;
74155 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74156 if ($async$errorCode === 1)
74157 return A._asyncRethrow($async$result, $async$completer);
74158 while (true)
74159 switch ($async$goto) {
74160 case 0:
74161 // Function start
74162 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74163 case 2:
74164 // for condition
74165 if (!(_i < t2)) {
74166 // goto after for
74167 $async$goto = 4;
74168 break;
74169 }
74170 $async$goto = 5;
74171 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74172 case 5:
74173 // returning from await.
74174 case 3:
74175 // for update
74176 ++_i;
74177 // goto for condition
74178 $async$goto = 2;
74179 break;
74180 case 4:
74181 // after for
74182 // implicit return
74183 return A._asyncReturn(null, $async$completer);
74184 }
74185 });
74186 return A._asyncStartSync($async$call$0, $async$completer);
74187 },
74188 $signature: 2
74189 };
74190 A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
74191 call$1(node) {
74192 return type$.CssStyleRule_2._is(node);
74193 },
74194 $signature: 7
74195 };
74196 A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
74197 call$0() {
74198 var _s11_ = "_stylesheet",
74199 t1 = this.selectorText,
74200 t2 = this.$this;
74201 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);
74202 },
74203 $signature: 45
74204 };
74205 A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
74206 call$0() {
74207 var t1 = this._box_0.parsedSelector,
74208 t2 = this.$this,
74209 t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
74210 t3 = t3 == null ? null : t3.originalSelector;
74211 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
74212 },
74213 $signature: 45
74214 };
74215 A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
74216 call$0() {
74217 var $async$goto = 0,
74218 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74219 $async$self = this, t1;
74220 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74221 if ($async$errorCode === 1)
74222 return A._asyncRethrow($async$result, $async$completer);
74223 while (true)
74224 switch ($async$goto) {
74225 case 0:
74226 // Function start
74227 t1 = $async$self.$this;
74228 $async$goto = 2;
74229 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);
74230 case 2:
74231 // returning from await.
74232 // implicit return
74233 return A._asyncReturn(null, $async$completer);
74234 }
74235 });
74236 return A._asyncStartSync($async$call$0, $async$completer);
74237 },
74238 $signature: 2
74239 };
74240 A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
74241 call$0() {
74242 var $async$goto = 0,
74243 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74244 $async$self = this, t1, t2, t3, _i;
74245 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74246 if ($async$errorCode === 1)
74247 return A._asyncRethrow($async$result, $async$completer);
74248 while (true)
74249 switch ($async$goto) {
74250 case 0:
74251 // Function start
74252 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74253 case 2:
74254 // for condition
74255 if (!(_i < t2)) {
74256 // goto after for
74257 $async$goto = 4;
74258 break;
74259 }
74260 $async$goto = 5;
74261 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74262 case 5:
74263 // returning from await.
74264 case 3:
74265 // for update
74266 ++_i;
74267 // goto for condition
74268 $async$goto = 2;
74269 break;
74270 case 4:
74271 // after for
74272 // implicit return
74273 return A._asyncReturn(null, $async$completer);
74274 }
74275 });
74276 return A._asyncStartSync($async$call$0, $async$completer);
74277 },
74278 $signature: 2
74279 };
74280 A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
74281 call$1(node) {
74282 return type$.CssStyleRule_2._is(node);
74283 },
74284 $signature: 7
74285 };
74286 A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
74287 call$0() {
74288 var $async$goto = 0,
74289 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74290 $async$self = this, t2, t3, _i, t1, styleRule;
74291 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74292 if ($async$errorCode === 1)
74293 return A._asyncRethrow($async$result, $async$completer);
74294 while (true)
74295 switch ($async$goto) {
74296 case 0:
74297 // Function start
74298 t1 = $async$self.$this;
74299 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74300 $async$goto = styleRule == null ? 2 : 4;
74301 break;
74302 case 2:
74303 // then
74304 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74305 case 5:
74306 // for condition
74307 if (!(_i < t3)) {
74308 // goto after for
74309 $async$goto = 7;
74310 break;
74311 }
74312 $async$goto = 8;
74313 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74314 case 8:
74315 // returning from await.
74316 case 6:
74317 // for update
74318 ++_i;
74319 // goto for condition
74320 $async$goto = 5;
74321 break;
74322 case 7:
74323 // after for
74324 // goto join
74325 $async$goto = 3;
74326 break;
74327 case 4:
74328 // else
74329 $async$goto = 9;
74330 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);
74331 case 9:
74332 // returning from await.
74333 case 3:
74334 // join
74335 // implicit return
74336 return A._asyncReturn(null, $async$completer);
74337 }
74338 });
74339 return A._asyncStartSync($async$call$0, $async$completer);
74340 },
74341 $signature: 2
74342 };
74343 A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
74344 call$0() {
74345 var $async$goto = 0,
74346 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74347 $async$self = this, t1, t2, t3, _i;
74348 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74349 if ($async$errorCode === 1)
74350 return A._asyncRethrow($async$result, $async$completer);
74351 while (true)
74352 switch ($async$goto) {
74353 case 0:
74354 // Function start
74355 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74356 case 2:
74357 // for condition
74358 if (!(_i < t2)) {
74359 // goto after for
74360 $async$goto = 4;
74361 break;
74362 }
74363 $async$goto = 5;
74364 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74365 case 5:
74366 // returning from await.
74367 case 3:
74368 // for update
74369 ++_i;
74370 // goto for condition
74371 $async$goto = 2;
74372 break;
74373 case 4:
74374 // after for
74375 // implicit return
74376 return A._asyncReturn(null, $async$completer);
74377 }
74378 });
74379 return A._asyncStartSync($async$call$0, $async$completer);
74380 },
74381 $signature: 2
74382 };
74383 A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
74384 call$1(node) {
74385 return type$.CssStyleRule_2._is(node);
74386 },
74387 $signature: 7
74388 };
74389 A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
74390 call$0() {
74391 var t1 = this.override;
74392 this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
74393 },
74394 $signature: 1
74395 };
74396 A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
74397 call$0() {
74398 var t1 = this.node;
74399 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74400 },
74401 $signature: 39
74402 };
74403 A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
74404 call$0() {
74405 var t1 = this.$this,
74406 t2 = this.node;
74407 t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
74408 },
74409 $signature: 1
74410 };
74411 A._EvaluateVisitor_visitUseRule_closure2.prototype = {
74412 call$1(module) {
74413 var t1 = this.node;
74414 this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
74415 },
74416 $signature: 112
74417 };
74418 A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
74419 call$0() {
74420 return this.node.expression.accept$1(this.$this);
74421 },
74422 $signature: 65
74423 };
74424 A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
74425 call$0() {
74426 var $async$goto = 0,
74427 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
74428 $async$returnValue, $async$self = this, t1, t2, t3, result;
74429 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74430 if ($async$errorCode === 1)
74431 return A._asyncRethrow($async$result, $async$completer);
74432 while (true)
74433 switch ($async$goto) {
74434 case 0:
74435 // Function start
74436 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
74437 case 3:
74438 // for condition
74439 $async$goto = 5;
74440 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
74441 case 5:
74442 // returning from await.
74443 if (!$async$result.get$isTruthy()) {
74444 // goto after for
74445 $async$goto = 4;
74446 break;
74447 }
74448 $async$goto = 6;
74449 return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
74450 case 6:
74451 // returning from await.
74452 result = $async$result;
74453 if (result != null) {
74454 $async$returnValue = result;
74455 // goto return
74456 $async$goto = 1;
74457 break;
74458 }
74459 // goto for condition
74460 $async$goto = 3;
74461 break;
74462 case 4:
74463 // after for
74464 $async$returnValue = null;
74465 // goto return
74466 $async$goto = 1;
74467 break;
74468 case 1:
74469 // return
74470 return A._asyncReturn($async$returnValue, $async$completer);
74471 }
74472 });
74473 return A._asyncStartSync($async$call$0, $async$completer);
74474 },
74475 $signature: 64
74476 };
74477 A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
74478 call$1(child) {
74479 return child.accept$1(this.$this);
74480 },
74481 $signature: 97
74482 };
74483 A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
74484 call$0() {
74485 var $async$goto = 0,
74486 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74487 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
74488 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74489 if ($async$errorCode === 1)
74490 return A._asyncRethrow($async$result, $async$completer);
74491 while (true)
74492 switch ($async$goto) {
74493 case 0:
74494 // Function start
74495 t1 = $async$self.node;
74496 t2 = $async$self.$this;
74497 $async$goto = 3;
74498 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
74499 case 3:
74500 // returning from await.
74501 left = $async$result;
74502 t3 = t1.operator;
74503 case 4:
74504 // switch
74505 switch (t3) {
74506 case B.BinaryOperator_kjl0:
74507 // goto case
74508 $async$goto = 6;
74509 break;
74510 case B.BinaryOperator_or_or_10:
74511 // goto case
74512 $async$goto = 7;
74513 break;
74514 case B.BinaryOperator_and_and_20:
74515 // goto case
74516 $async$goto = 8;
74517 break;
74518 case B.BinaryOperator_YlX0:
74519 // goto case
74520 $async$goto = 9;
74521 break;
74522 case B.BinaryOperator_i5H0:
74523 // goto case
74524 $async$goto = 10;
74525 break;
74526 case B.BinaryOperator_AcR1:
74527 // goto case
74528 $async$goto = 11;
74529 break;
74530 case B.BinaryOperator_1da0:
74531 // goto case
74532 $async$goto = 12;
74533 break;
74534 case B.BinaryOperator_8qt0:
74535 // goto case
74536 $async$goto = 13;
74537 break;
74538 case B.BinaryOperator_33h0:
74539 // goto case
74540 $async$goto = 14;
74541 break;
74542 case B.BinaryOperator_AcR2:
74543 // goto case
74544 $async$goto = 15;
74545 break;
74546 case B.BinaryOperator_iyO0:
74547 // goto case
74548 $async$goto = 16;
74549 break;
74550 case B.BinaryOperator_O1M0:
74551 // goto case
74552 $async$goto = 17;
74553 break;
74554 case B.BinaryOperator_RTB0:
74555 // goto case
74556 $async$goto = 18;
74557 break;
74558 case B.BinaryOperator_2ad0:
74559 // goto case
74560 $async$goto = 19;
74561 break;
74562 default:
74563 // goto default
74564 $async$goto = 20;
74565 break;
74566 }
74567 break;
74568 case 6:
74569 // case
74570 $async$goto = 21;
74571 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74572 case 21:
74573 // returning from await.
74574 right = $async$result;
74575 $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
74576 // goto return
74577 $async$goto = 1;
74578 break;
74579 case 7:
74580 // case
74581 $async$goto = left.get$isTruthy() ? 22 : 24;
74582 break;
74583 case 22:
74584 // then
74585 $async$result = left;
74586 // goto join
74587 $async$goto = 23;
74588 break;
74589 case 24:
74590 // else
74591 $async$goto = 25;
74592 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74593 case 25:
74594 // returning from await.
74595 case 23:
74596 // join
74597 $async$returnValue = $async$result;
74598 // goto return
74599 $async$goto = 1;
74600 break;
74601 case 8:
74602 // case
74603 $async$goto = left.get$isTruthy() ? 26 : 28;
74604 break;
74605 case 26:
74606 // then
74607 $async$goto = 29;
74608 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74609 case 29:
74610 // returning from await.
74611 // goto join
74612 $async$goto = 27;
74613 break;
74614 case 28:
74615 // else
74616 $async$result = left;
74617 case 27:
74618 // join
74619 $async$returnValue = $async$result;
74620 // goto return
74621 $async$goto = 1;
74622 break;
74623 case 9:
74624 // case
74625 $async$temp1 = left;
74626 $async$goto = 30;
74627 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74628 case 30:
74629 // returning from await.
74630 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74631 // goto return
74632 $async$goto = 1;
74633 break;
74634 case 10:
74635 // case
74636 $async$temp1 = left;
74637 $async$goto = 31;
74638 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74639 case 31:
74640 // returning from await.
74641 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74642 // goto return
74643 $async$goto = 1;
74644 break;
74645 case 11:
74646 // case
74647 $async$temp1 = left;
74648 $async$goto = 32;
74649 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74650 case 32:
74651 // returning from await.
74652 $async$returnValue = $async$temp1.greaterThan$1($async$result);
74653 // goto return
74654 $async$goto = 1;
74655 break;
74656 case 12:
74657 // case
74658 $async$temp1 = left;
74659 $async$goto = 33;
74660 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74661 case 33:
74662 // returning from await.
74663 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
74664 // goto return
74665 $async$goto = 1;
74666 break;
74667 case 13:
74668 // case
74669 $async$temp1 = left;
74670 $async$goto = 34;
74671 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74672 case 34:
74673 // returning from await.
74674 $async$returnValue = $async$temp1.lessThan$1($async$result);
74675 // goto return
74676 $async$goto = 1;
74677 break;
74678 case 14:
74679 // case
74680 $async$temp1 = left;
74681 $async$goto = 35;
74682 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74683 case 35:
74684 // returning from await.
74685 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
74686 // goto return
74687 $async$goto = 1;
74688 break;
74689 case 15:
74690 // case
74691 $async$temp1 = left;
74692 $async$goto = 36;
74693 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74694 case 36:
74695 // returning from await.
74696 $async$returnValue = $async$temp1.plus$1($async$result);
74697 // goto return
74698 $async$goto = 1;
74699 break;
74700 case 16:
74701 // case
74702 $async$temp1 = left;
74703 $async$goto = 37;
74704 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74705 case 37:
74706 // returning from await.
74707 $async$returnValue = $async$temp1.minus$1($async$result);
74708 // goto return
74709 $async$goto = 1;
74710 break;
74711 case 17:
74712 // case
74713 $async$temp1 = left;
74714 $async$goto = 38;
74715 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74716 case 38:
74717 // returning from await.
74718 $async$returnValue = $async$temp1.times$1($async$result);
74719 // goto return
74720 $async$goto = 1;
74721 break;
74722 case 18:
74723 // case
74724 $async$goto = 39;
74725 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74726 case 39:
74727 // returning from await.
74728 right = $async$result;
74729 result = left.dividedBy$1(right);
74730 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
74731 $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
74732 // goto return
74733 $async$goto = 1;
74734 break;
74735 } else {
74736 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
74737 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);
74738 $async$returnValue = result;
74739 // goto return
74740 $async$goto = 1;
74741 break;
74742 }
74743 case 19:
74744 // case
74745 $async$temp1 = left;
74746 $async$goto = 40;
74747 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74748 case 40:
74749 // returning from await.
74750 $async$returnValue = $async$temp1.modulo$1($async$result);
74751 // goto return
74752 $async$goto = 1;
74753 break;
74754 case 20:
74755 // default
74756 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
74757 case 5:
74758 // after switch
74759 case 1:
74760 // return
74761 return A._asyncReturn($async$returnValue, $async$completer);
74762 }
74763 });
74764 return A._asyncStartSync($async$call$0, $async$completer);
74765 },
74766 $signature: 65
74767 };
74768 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
74769 call$1(expression) {
74770 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
74771 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
74772 else if (expression instanceof A.ParenthesizedExpression0)
74773 return expression.expression.toString$0(0);
74774 else
74775 return expression.toString$0(0);
74776 },
74777 $signature: 122
74778 };
74779 A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
74780 call$0() {
74781 var t1 = this.node;
74782 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74783 },
74784 $signature: 39
74785 };
74786 A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
74787 call$0() {
74788 var _this = this,
74789 t1 = _this.node.operator;
74790 switch (t1) {
74791 case B.UnaryOperator_j2w0:
74792 return _this.operand.unaryPlus$0();
74793 case B.UnaryOperator_U4G0:
74794 return _this.operand.unaryMinus$0();
74795 case B.UnaryOperator_zDx0:
74796 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
74797 case B.UnaryOperator_not_not0:
74798 return _this.operand.unaryNot$0();
74799 default:
74800 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
74801 }
74802 },
74803 $signature: 47
74804 };
74805 A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
74806 call$0() {
74807 var $async$goto = 0,
74808 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
74809 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
74810 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74811 if ($async$errorCode === 1)
74812 return A._asyncRethrow($async$result, $async$completer);
74813 while (true)
74814 switch ($async$goto) {
74815 case 0:
74816 // Function start
74817 t1 = $async$self.$this;
74818 t2 = $async$self.node;
74819 t3 = $async$self.inMinMax;
74820 $async$temp1 = A;
74821 $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
74822 $async$goto = 3;
74823 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
74824 case 3:
74825 // returning from await.
74826 $async$temp3 = $async$result;
74827 $async$goto = 4;
74828 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
74829 case 4:
74830 // returning from await.
74831 $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
74832 // goto return
74833 $async$goto = 1;
74834 break;
74835 case 1:
74836 // return
74837 return A._asyncReturn($async$returnValue, $async$completer);
74838 }
74839 });
74840 return A._asyncStartSync($async$call$0, $async$completer);
74841 },
74842 $signature: 152
74843 };
74844 A._EvaluateVisitor_visitListExpression_closure2.prototype = {
74845 call$1(expression) {
74846 return expression.accept$1(this.$this);
74847 },
74848 $signature: 344
74849 };
74850 A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
74851 call$0() {
74852 var t1 = this.node;
74853 return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
74854 },
74855 $signature: 115
74856 };
74857 A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
74858 call$0() {
74859 var t1 = this.node;
74860 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
74861 },
74862 $signature: 65
74863 };
74864 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
74865 call$0() {
74866 var t1 = this.node;
74867 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
74868 },
74869 $signature: 65
74870 };
74871 A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
74872 call$0() {
74873 var _this = this,
74874 t1 = _this.$this,
74875 t2 = _this.callable,
74876 t3 = _this.V;
74877 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);
74878 },
74879 $signature() {
74880 return this.V._eval$1("Future<0>()");
74881 }
74882 };
74883 A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
74884 call$0() {
74885 var _this = this,
74886 t1 = _this.$this,
74887 t2 = _this.V;
74888 return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
74889 },
74890 $signature() {
74891 return this.V._eval$1("Future<0>()");
74892 }
74893 };
74894 A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
74895 call$0() {
74896 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
74897 },
74898 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
74899 var $async$goto = 0,
74900 $async$completer = A._makeAsyncAwaitCompleter($async$type),
74901 $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, t1, t2, t3, t4, t5, t6, $async$temp1;
74902 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74903 if ($async$errorCode === 1)
74904 return A._asyncRethrow($async$result, $async$completer);
74905 while (true)
74906 switch ($async$goto) {
74907 case 0:
74908 // Function start
74909 t1 = $async$self.$this;
74910 t2 = $async$self.evaluated;
74911 t3 = t2.positional;
74912 t4 = t2.named;
74913 t5 = $async$self.callable.declaration.$arguments;
74914 t6 = $async$self.nodeWithSpan;
74915 t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
74916 declaredArguments = t5.$arguments;
74917 t7 = declaredArguments.length;
74918 minLength = Math.min(t3.length, t7);
74919 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
74920 t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
74921 i = t3.length, t8 = t2.namedNodes;
74922 case 3:
74923 // for condition
74924 if (!(i < t7)) {
74925 // goto after for
74926 $async$goto = 5;
74927 break;
74928 }
74929 argument = declaredArguments[i];
74930 t9 = argument.name;
74931 value = t4.remove$1(0, t9);
74932 $async$goto = value == null ? 6 : 7;
74933 break;
74934 case 6:
74935 // then
74936 t10 = argument.defaultValue;
74937 $async$temp1 = t1;
74938 $async$goto = 8;
74939 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
74940 case 8:
74941 // returning from await.
74942 value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
74943 case 7:
74944 // join
74945 t10 = t1._async_evaluate0$_environment;
74946 t11 = t8.$index(0, t9);
74947 if (t11 == null) {
74948 t11 = argument.defaultValue;
74949 t11.toString;
74950 t11 = t1._async_evaluate0$_expressionNode$1(t11);
74951 }
74952 t10.setLocalVariable$3(t9, value, t11);
74953 case 4:
74954 // for update
74955 ++i;
74956 // goto for condition
74957 $async$goto = 3;
74958 break;
74959 case 5:
74960 // after for
74961 restArgument = t5.restArgument;
74962 if (restArgument != null) {
74963 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
74964 t2 = t2.separator;
74965 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
74966 t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
74967 } else
74968 argumentList = null;
74969 $async$goto = 9;
74970 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
74971 case 9:
74972 // returning from await.
74973 result = $async$result;
74974 if (argumentList == null) {
74975 $async$returnValue = result;
74976 // goto return
74977 $async$goto = 1;
74978 break;
74979 }
74980 t2 = t4.__js_helper$_length;
74981 if (t2 === 0) {
74982 $async$returnValue = result;
74983 // goto return
74984 $async$goto = 1;
74985 break;
74986 }
74987 if (argumentList._argument_list$_wereKeywordsAccessed) {
74988 $async$returnValue = result;
74989 // goto return
74990 $async$goto = 1;
74991 break;
74992 }
74993 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
74994 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", t2, null) + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure2(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", 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))));
74995 case 1:
74996 // return
74997 return A._asyncReturn($async$returnValue, $async$completer);
74998 }
74999 });
75000 return A._asyncStartSync($async$call$0, $async$completer);
75001 },
75002 $signature() {
75003 return this.V._eval$1("Future<0>()");
75004 }
75005 };
75006 A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
75007 call$1($name) {
75008 return "$" + $name;
75009 },
75010 $signature: 5
75011 };
75012 A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
75013 call$0() {
75014 var $async$goto = 0,
75015 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
75016 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
75017 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75018 if ($async$errorCode === 1)
75019 return A._asyncRethrow($async$result, $async$completer);
75020 while (true)
75021 switch ($async$goto) {
75022 case 0:
75023 // Function start
75024 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
75025 case 3:
75026 // for condition
75027 if (!(_i < t3)) {
75028 // goto after for
75029 $async$goto = 5;
75030 break;
75031 }
75032 $async$goto = 6;
75033 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
75034 case 6:
75035 // returning from await.
75036 $returnValue = $async$result;
75037 if ($returnValue instanceof A.Value0) {
75038 $async$returnValue = $returnValue;
75039 // goto return
75040 $async$goto = 1;
75041 break;
75042 }
75043 case 4:
75044 // for update
75045 ++_i;
75046 // goto for condition
75047 $async$goto = 3;
75048 break;
75049 case 5:
75050 // after for
75051 throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
75052 case 1:
75053 // return
75054 return A._asyncReturn($async$returnValue, $async$completer);
75055 }
75056 });
75057 return A._asyncStartSync($async$call$0, $async$completer);
75058 },
75059 $signature: 65
75060 };
75061 A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
75062 call$0() {
75063 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
75064 },
75065 $signature: 0
75066 };
75067 A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
75068 call$1($name) {
75069 return "$" + $name;
75070 },
75071 $signature: 5
75072 };
75073 A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
75074 call$1(value) {
75075 return value;
75076 },
75077 $signature: 38
75078 };
75079 A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
75080 call$1(value) {
75081 return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
75082 },
75083 $signature: 38
75084 };
75085 A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
75086 call$2(key, value) {
75087 var _this = this,
75088 t1 = _this.restNodeForSpan;
75089 _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
75090 _this.namedNodes.$indexSet(0, key, t1);
75091 },
75092 $signature: 74
75093 };
75094 A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
75095 call$1(value) {
75096 return value;
75097 },
75098 $signature: 38
75099 };
75100 A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
75101 call$1(value) {
75102 var t1 = this.restArgs;
75103 return new A.ValueExpression0(value, t1.get$span(t1));
75104 },
75105 $signature: 58
75106 };
75107 A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
75108 call$1(value) {
75109 var t1 = this.restArgs;
75110 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
75111 },
75112 $signature: 58
75113 };
75114 A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
75115 call$2(key, value) {
75116 var _this = this,
75117 t1 = _this.restArgs;
75118 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
75119 },
75120 $signature: 74
75121 };
75122 A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
75123 call$1(value) {
75124 var t1 = this.keywordRestArgs;
75125 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
75126 },
75127 $signature: 58
75128 };
75129 A._EvaluateVisitor__addRestMap_closure2.prototype = {
75130 call$2(key, value) {
75131 var t2, _this = this,
75132 t1 = _this.$this;
75133 if (key instanceof A.SassString0)
75134 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
75135 else {
75136 t2 = _this.nodeWithSpan;
75137 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)));
75138 }
75139 },
75140 $signature: 55
75141 };
75142 A._EvaluateVisitor__verifyArguments_closure2.prototype = {
75143 call$0() {
75144 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
75145 },
75146 $signature: 0
75147 };
75148 A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
75149 call$1(value) {
75150 var $async$goto = 0,
75151 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75152 $async$returnValue, $async$self = this, t1, result;
75153 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75154 if ($async$errorCode === 1)
75155 return A._asyncRethrow($async$result, $async$completer);
75156 while (true)
75157 switch ($async$goto) {
75158 case 0:
75159 // Function start
75160 if (typeof value == "string") {
75161 $async$returnValue = value;
75162 // goto return
75163 $async$goto = 1;
75164 break;
75165 }
75166 type$.Expression_2._as(value);
75167 t1 = $async$self.$this;
75168 $async$goto = 3;
75169 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75170 case 3:
75171 // returning from await.
75172 result = $async$result;
75173 $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
75174 // goto return
75175 $async$goto = 1;
75176 break;
75177 case 1:
75178 // return
75179 return A._asyncReturn($async$returnValue, $async$completer);
75180 }
75181 });
75182 return A._asyncStartSync($async$call$1, $async$completer);
75183 },
75184 $signature: 92
75185 };
75186 A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
75187 call$0() {
75188 var $async$goto = 0,
75189 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75190 $async$self = this, t1, t2, t3, t4;
75191 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75192 if ($async$errorCode === 1)
75193 return A._asyncRethrow($async$result, $async$completer);
75194 while (true)
75195 switch ($async$goto) {
75196 case 0:
75197 // Function start
75198 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75199 case 2:
75200 // for condition
75201 if (!t1.moveNext$0()) {
75202 // goto after for
75203 $async$goto = 3;
75204 break;
75205 }
75206 t4 = t1.__internal$_current;
75207 $async$goto = 4;
75208 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75209 case 4:
75210 // returning from await.
75211 // goto for condition
75212 $async$goto = 2;
75213 break;
75214 case 3:
75215 // after for
75216 // implicit return
75217 return A._asyncReturn(null, $async$completer);
75218 }
75219 });
75220 return A._asyncStartSync($async$call$0, $async$completer);
75221 },
75222 $signature: 2
75223 };
75224 A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
75225 call$1(node) {
75226 return type$.CssStyleRule_2._is(node);
75227 },
75228 $signature: 7
75229 };
75230 A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
75231 call$0() {
75232 var $async$goto = 0,
75233 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75234 $async$self = this, t1, t2, t3, t4;
75235 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75236 if ($async$errorCode === 1)
75237 return A._asyncRethrow($async$result, $async$completer);
75238 while (true)
75239 switch ($async$goto) {
75240 case 0:
75241 // Function start
75242 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75243 case 2:
75244 // for condition
75245 if (!t1.moveNext$0()) {
75246 // goto after for
75247 $async$goto = 3;
75248 break;
75249 }
75250 t4 = t1.__internal$_current;
75251 $async$goto = 4;
75252 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75253 case 4:
75254 // returning from await.
75255 // goto for condition
75256 $async$goto = 2;
75257 break;
75258 case 3:
75259 // after for
75260 // implicit return
75261 return A._asyncReturn(null, $async$completer);
75262 }
75263 });
75264 return A._asyncStartSync($async$call$0, $async$completer);
75265 },
75266 $signature: 2
75267 };
75268 A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
75269 call$1(node) {
75270 return type$.CssStyleRule_2._is(node);
75271 },
75272 $signature: 7
75273 };
75274 A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
75275 call$1(mediaQueries) {
75276 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
75277 },
75278 $signature: 80
75279 };
75280 A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
75281 call$0() {
75282 var $async$goto = 0,
75283 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75284 $async$self = this, t1, t2;
75285 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75286 if ($async$errorCode === 1)
75287 return A._asyncRethrow($async$result, $async$completer);
75288 while (true)
75289 switch ($async$goto) {
75290 case 0:
75291 // Function start
75292 t1 = $async$self.$this;
75293 t2 = $async$self.mergedQueries;
75294 if (t2 == null)
75295 t2 = $async$self.node.queries;
75296 $async$goto = 2;
75297 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
75298 case 2:
75299 // returning from await.
75300 // implicit return
75301 return A._asyncReturn(null, $async$completer);
75302 }
75303 });
75304 return A._asyncStartSync($async$call$0, $async$completer);
75305 },
75306 $signature: 2
75307 };
75308 A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
75309 call$0() {
75310 var $async$goto = 0,
75311 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75312 $async$self = this, t2, t3, t4, t1, styleRule;
75313 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75314 if ($async$errorCode === 1)
75315 return A._asyncRethrow($async$result, $async$completer);
75316 while (true)
75317 switch ($async$goto) {
75318 case 0:
75319 // Function start
75320 t1 = $async$self.$this;
75321 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75322 $async$goto = styleRule == null ? 2 : 4;
75323 break;
75324 case 2:
75325 // then
75326 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75327 case 5:
75328 // for condition
75329 if (!t2.moveNext$0()) {
75330 // goto after for
75331 $async$goto = 6;
75332 break;
75333 }
75334 t4 = t2.__internal$_current;
75335 $async$goto = 7;
75336 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
75337 case 7:
75338 // returning from await.
75339 // goto for condition
75340 $async$goto = 5;
75341 break;
75342 case 6:
75343 // after for
75344 // goto join
75345 $async$goto = 3;
75346 break;
75347 case 4:
75348 // else
75349 $async$goto = 8;
75350 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);
75351 case 8:
75352 // returning from await.
75353 case 3:
75354 // join
75355 // implicit return
75356 return A._asyncReturn(null, $async$completer);
75357 }
75358 });
75359 return A._asyncStartSync($async$call$0, $async$completer);
75360 },
75361 $signature: 2
75362 };
75363 A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
75364 call$0() {
75365 var $async$goto = 0,
75366 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75367 $async$self = this, t1, t2, t3, t4;
75368 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75369 if ($async$errorCode === 1)
75370 return A._asyncRethrow($async$result, $async$completer);
75371 while (true)
75372 switch ($async$goto) {
75373 case 0:
75374 // Function start
75375 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75376 case 2:
75377 // for condition
75378 if (!t1.moveNext$0()) {
75379 // goto after for
75380 $async$goto = 3;
75381 break;
75382 }
75383 t4 = t1.__internal$_current;
75384 $async$goto = 4;
75385 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75386 case 4:
75387 // returning from await.
75388 // goto for condition
75389 $async$goto = 2;
75390 break;
75391 case 3:
75392 // after for
75393 // implicit return
75394 return A._asyncReturn(null, $async$completer);
75395 }
75396 });
75397 return A._asyncStartSync($async$call$0, $async$completer);
75398 },
75399 $signature: 2
75400 };
75401 A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
75402 call$1(node) {
75403 var t1;
75404 if (!type$.CssStyleRule_2._is(node))
75405 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
75406 else
75407 t1 = true;
75408 return t1;
75409 },
75410 $signature: 7
75411 };
75412 A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
75413 call$0() {
75414 var $async$goto = 0,
75415 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75416 $async$self = this, t1;
75417 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75418 if ($async$errorCode === 1)
75419 return A._asyncRethrow($async$result, $async$completer);
75420 while (true)
75421 switch ($async$goto) {
75422 case 0:
75423 // Function start
75424 t1 = $async$self.$this;
75425 $async$goto = 2;
75426 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);
75427 case 2:
75428 // returning from await.
75429 // implicit return
75430 return A._asyncReturn(null, $async$completer);
75431 }
75432 });
75433 return A._asyncStartSync($async$call$0, $async$completer);
75434 },
75435 $signature: 2
75436 };
75437 A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
75438 call$0() {
75439 var $async$goto = 0,
75440 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75441 $async$self = this, t1, t2, t3, t4;
75442 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75443 if ($async$errorCode === 1)
75444 return A._asyncRethrow($async$result, $async$completer);
75445 while (true)
75446 switch ($async$goto) {
75447 case 0:
75448 // Function start
75449 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75450 case 2:
75451 // for condition
75452 if (!t1.moveNext$0()) {
75453 // goto after for
75454 $async$goto = 3;
75455 break;
75456 }
75457 t4 = t1.__internal$_current;
75458 $async$goto = 4;
75459 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75460 case 4:
75461 // returning from await.
75462 // goto for condition
75463 $async$goto = 2;
75464 break;
75465 case 3:
75466 // after for
75467 // implicit return
75468 return A._asyncReturn(null, $async$completer);
75469 }
75470 });
75471 return A._asyncStartSync($async$call$0, $async$completer);
75472 },
75473 $signature: 2
75474 };
75475 A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
75476 call$1(node) {
75477 return type$.CssStyleRule_2._is(node);
75478 },
75479 $signature: 7
75480 };
75481 A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
75482 call$0() {
75483 var $async$goto = 0,
75484 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75485 $async$self = this, t2, t3, t4, t1, styleRule;
75486 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75487 if ($async$errorCode === 1)
75488 return A._asyncRethrow($async$result, $async$completer);
75489 while (true)
75490 switch ($async$goto) {
75491 case 0:
75492 // Function start
75493 t1 = $async$self.$this;
75494 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75495 $async$goto = styleRule == null ? 2 : 4;
75496 break;
75497 case 2:
75498 // then
75499 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75500 case 5:
75501 // for condition
75502 if (!t2.moveNext$0()) {
75503 // goto after for
75504 $async$goto = 6;
75505 break;
75506 }
75507 t4 = t2.__internal$_current;
75508 $async$goto = 7;
75509 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
75510 case 7:
75511 // returning from await.
75512 // goto for condition
75513 $async$goto = 5;
75514 break;
75515 case 6:
75516 // after for
75517 // goto join
75518 $async$goto = 3;
75519 break;
75520 case 4:
75521 // else
75522 $async$goto = 8;
75523 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);
75524 case 8:
75525 // returning from await.
75526 case 3:
75527 // join
75528 // implicit return
75529 return A._asyncReturn(null, $async$completer);
75530 }
75531 });
75532 return A._asyncStartSync($async$call$0, $async$completer);
75533 },
75534 $signature: 2
75535 };
75536 A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
75537 call$0() {
75538 var $async$goto = 0,
75539 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75540 $async$self = this, t1, t2, t3, t4;
75541 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75542 if ($async$errorCode === 1)
75543 return A._asyncRethrow($async$result, $async$completer);
75544 while (true)
75545 switch ($async$goto) {
75546 case 0:
75547 // Function start
75548 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75549 case 2:
75550 // for condition
75551 if (!t1.moveNext$0()) {
75552 // goto after for
75553 $async$goto = 3;
75554 break;
75555 }
75556 t4 = t1.__internal$_current;
75557 $async$goto = 4;
75558 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75559 case 4:
75560 // returning from await.
75561 // goto for condition
75562 $async$goto = 2;
75563 break;
75564 case 3:
75565 // after for
75566 // implicit return
75567 return A._asyncReturn(null, $async$completer);
75568 }
75569 });
75570 return A._asyncStartSync($async$call$0, $async$completer);
75571 },
75572 $signature: 2
75573 };
75574 A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
75575 call$1(node) {
75576 return type$.CssStyleRule_2._is(node);
75577 },
75578 $signature: 7
75579 };
75580 A._EvaluateVisitor__performInterpolation_closure2.prototype = {
75581 call$1(value) {
75582 var $async$goto = 0,
75583 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75584 $async$returnValue, $async$self = this, t1, result, t2, t3;
75585 var $async$call$1 = 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 if (typeof value == "string") {
75593 $async$returnValue = value;
75594 // goto return
75595 $async$goto = 1;
75596 break;
75597 }
75598 type$.Expression_2._as(value);
75599 t1 = $async$self.$this;
75600 $async$goto = 3;
75601 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75602 case 3:
75603 // returning from await.
75604 result = $async$result;
75605 if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
75606 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
75607 t3 = $.$get$namesByColor0();
75608 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));
75609 }
75610 $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
75611 // goto return
75612 $async$goto = 1;
75613 break;
75614 case 1:
75615 // return
75616 return A._asyncReturn($async$returnValue, $async$completer);
75617 }
75618 });
75619 return A._asyncStartSync($async$call$1, $async$completer);
75620 },
75621 $signature: 92
75622 };
75623 A._EvaluateVisitor__serialize_closure2.prototype = {
75624 call$0() {
75625 return A.serializeValue0(this.value, false, this.quote);
75626 },
75627 $signature: 29
75628 };
75629 A._EvaluateVisitor__expressionNode_closure2.prototype = {
75630 call$0() {
75631 var t1 = this.expression;
75632 return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
75633 },
75634 $signature: 189
75635 };
75636 A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
75637 call$1(number) {
75638 var asSlash = number.asSlash;
75639 if (asSlash != null)
75640 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
75641 else
75642 return A.serializeValue0(number, true, true);
75643 },
75644 $signature: 190
75645 };
75646 A._EvaluateVisitor__stackFrame_closure2.prototype = {
75647 call$1(url) {
75648 var t1 = this.$this._async_evaluate0$_importCache;
75649 t1 = t1 == null ? null : t1.humanize$1(url);
75650 return t1 == null ? url : t1;
75651 },
75652 $signature: 90
75653 };
75654 A._EvaluateVisitor__stackTrace_closure2.prototype = {
75655 call$1(tuple) {
75656 return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
75657 },
75658 $signature: 191
75659 };
75660 A._ImportedCssVisitor2.prototype = {
75661 visitCssAtRule$1(node) {
75662 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
75663 this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
75664 },
75665 visitCssComment$1(node) {
75666 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
75667 },
75668 visitCssDeclaration$1(node) {
75669 },
75670 visitCssImport$1(node) {
75671 var t2,
75672 _s13_ = "_endOfImports",
75673 t1 = this._async_evaluate0$_visitor;
75674 if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
75675 t1._async_evaluate0$_addChild$1(node);
75676 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)) {
75677 t1._async_evaluate0$_addChild$1(node);
75678 t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
75679 } else {
75680 t2 = t1._async_evaluate0$_outOfOrderImports;
75681 (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
75682 }
75683 },
75684 visitCssKeyframeBlock$1(node) {
75685 },
75686 visitCssMediaRule$1(node) {
75687 var t1 = this._async_evaluate0$_visitor,
75688 mediaQueries = t1._async_evaluate0$_mediaQueries;
75689 t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
75690 },
75691 visitCssStyleRule$1(node) {
75692 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
75693 },
75694 visitCssStylesheet$1(node) {
75695 var t1, t2, t3;
75696 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
75697 t3 = t1.__internal$_current;
75698 (t3 == null ? t2._as(t3) : t3).accept$1(this);
75699 }
75700 },
75701 visitCssSupportsRule$1(node) {
75702 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
75703 }
75704 };
75705 A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
75706 call$1(node) {
75707 return type$.CssStyleRule_2._is(node);
75708 },
75709 $signature: 7
75710 };
75711 A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
75712 call$1(node) {
75713 var t1;
75714 if (!type$.CssStyleRule_2._is(node))
75715 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
75716 else
75717 t1 = true;
75718 return t1;
75719 },
75720 $signature: 7
75721 };
75722 A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
75723 call$1(node) {
75724 return type$.CssStyleRule_2._is(node);
75725 },
75726 $signature: 7
75727 };
75728 A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
75729 call$1(node) {
75730 return type$.CssStyleRule_2._is(node);
75731 },
75732 $signature: 7
75733 };
75734 A.EvaluateResult0.prototype = {};
75735 A._EvaluationContext2.prototype = {
75736 get$currentCallableSpan() {
75737 var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
75738 if (callableNode != null)
75739 return callableNode.get$span(callableNode);
75740 throw A.wrapException(A.StateError$(string$.No_Sasc));
75741 },
75742 warn$2$deprecation(_, message, deprecation) {
75743 var t1 = this._async_evaluate0$_visitor,
75744 t2 = t1._async_evaluate0$_importSpan;
75745 if (t2 == null) {
75746 t2 = t1._async_evaluate0$_callableNode;
75747 t2 = t2 == null ? null : t2.get$span(t2);
75748 }
75749 t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
75750 },
75751 $isEvaluationContext0: 1
75752 };
75753 A._ArgumentResults2.prototype = {};
75754 A._LoadedStylesheet2.prototype = {};
75755 A.NodeToDartAsyncFileImporter.prototype = {
75756 canonicalize$1(_, url) {
75757 return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
75758 },
75759 canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
75760 var $async$goto = 0,
75761 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75762 $async$returnValue, $async$self = this, result, t1, resultUrl;
75763 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75764 if ($async$errorCode === 1)
75765 return A._asyncRethrow($async$result, $async$completer);
75766 while (true)
75767 switch ($async$goto) {
75768 case 0:
75769 // Function start
75770 if (url.get$scheme() === "file") {
75771 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
75772 // goto return
75773 $async$goto = 1;
75774 break;
75775 }
75776 result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
75777 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
75778 break;
75779 case 3:
75780 // then
75781 $async$goto = 5;
75782 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
75783 case 5:
75784 // returning from await.
75785 result = $async$result;
75786 case 4:
75787 // join
75788 if (result == null) {
75789 $async$returnValue = null;
75790 // goto return
75791 $async$goto = 1;
75792 break;
75793 }
75794 t1 = self.URL;
75795 if (!(result instanceof t1))
75796 A.jsThrow(new self.Error(string$.The_fie));
75797 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
75798 if (resultUrl.get$scheme() !== "file")
75799 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
75800 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
75801 // goto return
75802 $async$goto = 1;
75803 break;
75804 case 1:
75805 // return
75806 return A._asyncReturn($async$returnValue, $async$completer);
75807 }
75808 });
75809 return A._asyncStartSync($async$canonicalize$1, $async$completer);
75810 },
75811 load$1(_, url) {
75812 return $.$get$_filesystemImporter().load$1(0, url);
75813 }
75814 };
75815 A.AsyncImportCache0.prototype = {
75816 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
75817 return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
75818 },
75819 canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
75820 var $async$goto = 0,
75821 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75822 $async$returnValue, $async$self = this, t1, relativeResult;
75823 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75824 if ($async$errorCode === 1)
75825 return A._asyncRethrow($async$result, $async$completer);
75826 while (true)
75827 switch ($async$goto) {
75828 case 0:
75829 // Function start
75830 $async$goto = baseImporter != null ? 3 : 4;
75831 break;
75832 case 3:
75833 // then
75834 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
75835 $async$goto = 5;
75836 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);
75837 case 5:
75838 // returning from await.
75839 relativeResult = $async$result;
75840 if (relativeResult != null) {
75841 $async$returnValue = relativeResult;
75842 // goto return
75843 $async$goto = 1;
75844 break;
75845 }
75846 case 4:
75847 // join
75848 t1 = type$.Tuple2_Uri_bool;
75849 $async$goto = 6;
75850 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);
75851 case 6:
75852 // returning from await.
75853 $async$returnValue = $async$result;
75854 // goto return
75855 $async$goto = 1;
75856 break;
75857 case 1:
75858 // return
75859 return A._asyncReturn($async$returnValue, $async$completer);
75860 }
75861 });
75862 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
75863 },
75864 _async_import_cache0$_canonicalize$3(importer, url, forImport) {
75865 return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
75866 },
75867 _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
75868 var $async$goto = 0,
75869 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75870 $async$returnValue, $async$self = this, t1, result;
75871 var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75872 if ($async$errorCode === 1)
75873 return A._asyncRethrow($async$result, $async$completer);
75874 while (true)
75875 switch ($async$goto) {
75876 case 0:
75877 // Function start
75878 if (forImport) {
75879 t1 = type$.nullable_Object;
75880 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
75881 } else
75882 t1 = importer.canonicalize$1(0, url);
75883 $async$goto = 3;
75884 return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
75885 case 3:
75886 // returning from await.
75887 result = $async$result;
75888 if ((result == null ? null : result.get$scheme()) === "")
75889 $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);
75890 $async$returnValue = result;
75891 // goto return
75892 $async$goto = 1;
75893 break;
75894 case 1:
75895 // return
75896 return A._asyncReturn($async$returnValue, $async$completer);
75897 }
75898 });
75899 return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
75900 },
75901 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
75902 return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
75903 },
75904 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
75905 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
75906 },
75907 importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
75908 var $async$goto = 0,
75909 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
75910 $async$returnValue, $async$self = this;
75911 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75912 if ($async$errorCode === 1)
75913 return A._asyncRethrow($async$result, $async$completer);
75914 while (true)
75915 switch ($async$goto) {
75916 case 0:
75917 // Function start
75918 $async$goto = 3;
75919 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);
75920 case 3:
75921 // returning from await.
75922 $async$returnValue = $async$result;
75923 // goto return
75924 $async$goto = 1;
75925 break;
75926 case 1:
75927 // return
75928 return A._asyncReturn($async$returnValue, $async$completer);
75929 }
75930 });
75931 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
75932 },
75933 humanize$1(canonicalUrl) {
75934 var t2, url,
75935 t1 = this._async_import_cache0$_canonicalizeCache;
75936 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
75937 t2 = t1.$ti;
75938 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());
75939 if (url == null)
75940 return canonicalUrl;
75941 t1 = $.$get$url();
75942 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
75943 },
75944 sourceMapUrl$1(_, canonicalUrl) {
75945 var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
75946 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
75947 return t1 == null ? canonicalUrl : t1;
75948 }
75949 };
75950 A.AsyncImportCache_canonicalize_closure1.prototype = {
75951 call$0() {
75952 var $async$goto = 0,
75953 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75954 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
75955 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75956 if ($async$errorCode === 1)
75957 return A._asyncRethrow($async$result, $async$completer);
75958 while (true)
75959 switch ($async$goto) {
75960 case 0:
75961 // Function start
75962 t1 = $async$self.baseUrl;
75963 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
75964 if (resolvedUrl == null)
75965 resolvedUrl = $async$self.url;
75966 t1 = $async$self.baseImporter;
75967 $async$goto = 3;
75968 return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
75969 case 3:
75970 // returning from await.
75971 canonicalUrl = $async$result;
75972 if (canonicalUrl == null) {
75973 $async$returnValue = null;
75974 // goto return
75975 $async$goto = 1;
75976 break;
75977 }
75978 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
75979 // goto return
75980 $async$goto = 1;
75981 break;
75982 case 1:
75983 // return
75984 return A._asyncReturn($async$returnValue, $async$completer);
75985 }
75986 });
75987 return A._asyncStartSync($async$call$0, $async$completer);
75988 },
75989 $signature: 192
75990 };
75991 A.AsyncImportCache_canonicalize_closure2.prototype = {
75992 call$0() {
75993 var $async$goto = 0,
75994 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75995 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
75996 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75997 if ($async$errorCode === 1)
75998 return A._asyncRethrow($async$result, $async$completer);
75999 while (true)
76000 switch ($async$goto) {
76001 case 0:
76002 // Function start
76003 t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
76004 case 3:
76005 // for condition
76006 if (!(_i < t2.length)) {
76007 // goto after for
76008 $async$goto = 5;
76009 break;
76010 }
76011 importer = t2[_i];
76012 $async$goto = 6;
76013 return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
76014 case 6:
76015 // returning from await.
76016 canonicalUrl = $async$result;
76017 if (canonicalUrl != null) {
76018 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
76019 // goto return
76020 $async$goto = 1;
76021 break;
76022 }
76023 case 4:
76024 // for update
76025 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
76026 // goto for condition
76027 $async$goto = 3;
76028 break;
76029 case 5:
76030 // after for
76031 $async$returnValue = null;
76032 // goto return
76033 $async$goto = 1;
76034 break;
76035 case 1:
76036 // return
76037 return A._asyncReturn($async$returnValue, $async$completer);
76038 }
76039 });
76040 return A._asyncStartSync($async$call$0, $async$completer);
76041 },
76042 $signature: 192
76043 };
76044 A.AsyncImportCache__canonicalize_closure0.prototype = {
76045 call$0() {
76046 return this.importer.canonicalize$1(0, this.url);
76047 },
76048 $signature: 210
76049 };
76050 A.AsyncImportCache_importCanonical_closure0.prototype = {
76051 call$0() {
76052 var $async$goto = 0,
76053 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
76054 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
76055 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76056 if ($async$errorCode === 1)
76057 return A._asyncRethrow($async$result, $async$completer);
76058 while (true)
76059 switch ($async$goto) {
76060 case 0:
76061 // Function start
76062 t1 = $async$self.canonicalUrl;
76063 $async$goto = 3;
76064 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
76065 case 3:
76066 // returning from await.
76067 result = $async$result;
76068 if (result == null) {
76069 $async$returnValue = null;
76070 // goto return
76071 $async$goto = 1;
76072 break;
76073 }
76074 t2 = $async$self.$this;
76075 t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
76076 t3 = result.contents;
76077 t4 = result.syntax;
76078 t1 = $async$self.originalUrl.resolveUri$1(t1);
76079 $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
76080 // goto return
76081 $async$goto = 1;
76082 break;
76083 case 1:
76084 // return
76085 return A._asyncReturn($async$returnValue, $async$completer);
76086 }
76087 });
76088 return A._asyncStartSync($async$call$0, $async$completer);
76089 },
76090 $signature: 352
76091 };
76092 A.AsyncImportCache_humanize_closure2.prototype = {
76093 call$1(tuple) {
76094 return tuple.item2.$eq(0, this.canonicalUrl);
76095 },
76096 $signature: 353
76097 };
76098 A.AsyncImportCache_humanize_closure3.prototype = {
76099 call$1(tuple) {
76100 return tuple.item3;
76101 },
76102 $signature: 354
76103 };
76104 A.AsyncImportCache_humanize_closure4.prototype = {
76105 call$1(url) {
76106 return url.get$path(url).length;
76107 },
76108 $signature: 96
76109 };
76110 A.AtRootQueryParser0.prototype = {
76111 parse$0() {
76112 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
76113 }
76114 };
76115 A.AtRootQueryParser_parse_closure0.prototype = {
76116 call$0() {
76117 var include, atRules,
76118 t1 = this.$this,
76119 t2 = t1.scanner;
76120 t2.expectChar$1(40);
76121 t1.whitespace$0();
76122 include = t1.scanIdentifier$1("with");
76123 if (!include)
76124 t1.expectIdentifier$2$name("without", '"with" or "without"');
76125 t1.whitespace$0();
76126 t2.expectChar$1(58);
76127 t1.whitespace$0();
76128 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
76129 do {
76130 atRules.add$1(0, t1.identifier$0().toLowerCase());
76131 t1.whitespace$0();
76132 } while (t1.lookingAtIdentifier$0());
76133 t2.expectChar$1(41);
76134 t2.expectDone$0();
76135 return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
76136 },
76137 $signature: 108
76138 };
76139 A.AtRootQuery0.prototype = {
76140 excludes$1(node) {
76141 var t1, _this = this;
76142 if (_this._at_root_query0$_all)
76143 return !_this.include;
76144 if (type$.CssStyleRule_2._is(node))
76145 return _this._at_root_query0$_rule !== _this.include;
76146 if (type$.CssMediaRule_2._is(node))
76147 return _this.excludesName$1("media");
76148 if (type$.CssSupportsRule_2._is(node))
76149 return _this.excludesName$1("supports");
76150 if (type$.CssAtRule_2._is(node)) {
76151 t1 = node.name;
76152 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
76153 }
76154 return false;
76155 },
76156 excludesName$1($name) {
76157 var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
76158 return t1 !== this.include;
76159 }
76160 };
76161 A.AtRootRule0.prototype = {
76162 accept$1$1(visitor) {
76163 return visitor.visitAtRootRule$1(this);
76164 },
76165 accept$1(visitor) {
76166 return this.accept$1$1(visitor, type$.dynamic);
76167 },
76168 toString$0(_) {
76169 var buffer = new A.StringBuffer("@at-root "),
76170 t1 = this.query;
76171 if (t1 != null)
76172 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
76173 t1 = this.children;
76174 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
76175 },
76176 get$span(receiver) {
76177 return this.span;
76178 }
76179 };
76180 A.ModifiableCssAtRule0.prototype = {
76181 accept$1$1(visitor) {
76182 return visitor.visitCssAtRule$1(this);
76183 },
76184 accept$1(visitor) {
76185 return this.accept$1$1(visitor, type$.dynamic);
76186 },
76187 copyWithoutChildren$0() {
76188 var _this = this;
76189 return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
76190 },
76191 addChild$1(child) {
76192 this.super$ModifiableCssParentNode$addChild0(child);
76193 },
76194 $isCssAtRule0: 1,
76195 get$isChildless() {
76196 return this.isChildless;
76197 },
76198 get$span(receiver) {
76199 return this.span;
76200 }
76201 };
76202 A.AtRule0.prototype = {
76203 accept$1$1(visitor) {
76204 return visitor.visitAtRule$1(this);
76205 },
76206 accept$1(visitor) {
76207 return this.accept$1$1(visitor, type$.dynamic);
76208 },
76209 toString$0(_) {
76210 var children,
76211 t1 = "@" + this.name.toString$0(0),
76212 buffer = new A.StringBuffer(t1),
76213 t2 = this.value;
76214 if (t2 != null)
76215 buffer._contents = t1 + (" " + t2.toString$0(0));
76216 children = this.children;
76217 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
76218 },
76219 get$span(receiver) {
76220 return this.span;
76221 }
76222 };
76223 A.AttributeSelector0.prototype = {
76224 accept$1$1(visitor) {
76225 var value, t2, _this = this,
76226 t1 = visitor._serialize0$_buffer;
76227 t1.writeCharCode$1(91);
76228 t1.write$1(0, _this.name);
76229 value = _this.value;
76230 if (value != null) {
76231 t1.write$1(0, _this.op);
76232 if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
76233 t1.write$1(0, value);
76234 t2 = _this.modifier;
76235 if (t2 != null)
76236 t1.writeCharCode$1(32);
76237 } else {
76238 visitor._serialize0$_visitQuotedString$1(value);
76239 t2 = _this.modifier;
76240 if (t2 != null)
76241 if (visitor._serialize0$_style !== B.OutputStyle_compressed0)
76242 t1.writeCharCode$1(32);
76243 }
76244 if (t2 != null)
76245 t1.write$1(0, t2);
76246 }
76247 t1.writeCharCode$1(93);
76248 return null;
76249 },
76250 accept$1(visitor) {
76251 return this.accept$1$1(visitor, type$.dynamic);
76252 },
76253 $eq(_, other) {
76254 var _this = this;
76255 if (other == null)
76256 return false;
76257 return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
76258 },
76259 get$hashCode(_) {
76260 var _this = this,
76261 t1 = _this.name;
76262 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;
76263 }
76264 };
76265 A.AttributeOperator0.prototype = {
76266 toString$0(_) {
76267 return this._attribute0$_text;
76268 }
76269 };
76270 A.BinaryOperationExpression0.prototype = {
76271 get$span(_) {
76272 var right,
76273 left = this.left;
76274 for (; left instanceof A.BinaryOperationExpression0;)
76275 left = left.left;
76276 right = this.right;
76277 for (; right instanceof A.BinaryOperationExpression0;)
76278 right = right.right;
76279 return left.get$span(left).expand$1(0, right.get$span(right));
76280 },
76281 accept$1$1(visitor) {
76282 return visitor.visitBinaryOperationExpression$1(this);
76283 },
76284 accept$1(visitor) {
76285 return this.accept$1$1(visitor, type$.dynamic);
76286 },
76287 toString$0(_) {
76288 var t2, right, rightNeedsParens, _this = this,
76289 left = _this.left,
76290 leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
76291 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
76292 t1 += left.toString$0(0);
76293 if (leftNeedsParens)
76294 t1 += A.Primitives_stringFromCharCode(41);
76295 t2 = _this.operator;
76296 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
76297 right = _this.right;
76298 rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
76299 if (rightNeedsParens)
76300 t1 += A.Primitives_stringFromCharCode(40);
76301 t1 += right.toString$0(0);
76302 if (rightNeedsParens)
76303 t1 += A.Primitives_stringFromCharCode(41);
76304 return t1.charCodeAt(0) == 0 ? t1 : t1;
76305 },
76306 $isExpression0: 1,
76307 $isAstNode0: 1
76308 };
76309 A.BinaryOperator0.prototype = {
76310 toString$0(_) {
76311 return this.name;
76312 }
76313 };
76314 A.BooleanExpression0.prototype = {
76315 accept$1$1(visitor) {
76316 return visitor.visitBooleanExpression$1(this);
76317 },
76318 accept$1(visitor) {
76319 return this.accept$1$1(visitor, type$.dynamic);
76320 },
76321 toString$0(_) {
76322 return String(this.value);
76323 },
76324 $isExpression0: 1,
76325 $isAstNode0: 1,
76326 get$span(receiver) {
76327 return this.span;
76328 }
76329 };
76330 A.legacyBooleanClass_closure.prototype = {
76331 call$0() {
76332 var t1 = type$.JSClass,
76333 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
76334 J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
76335 jsClass.TRUE = B.SassBoolean_true0;
76336 jsClass.FALSE = B.SassBoolean_false0;
76337 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76338 return jsClass;
76339 },
76340 $signature: 23
76341 };
76342 A.legacyBooleanClass__closure.prototype = {
76343 call$2(_, __) {
76344 throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
76345 },
76346 call$1(_) {
76347 return this.call$2(_, null);
76348 },
76349 "call*": "call$2",
76350 $requiredArgCount: 1,
76351 $defaultValues() {
76352 return [null];
76353 },
76354 $signature: 193
76355 };
76356 A.legacyBooleanClass__closure0.prototype = {
76357 call$1($self) {
76358 return $self === B.SassBoolean_true0;
76359 },
76360 $signature: 109
76361 };
76362 A.booleanClass_closure.prototype = {
76363 call$0() {
76364 var t1 = type$.JSClass,
76365 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
76366 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76367 return jsClass;
76368 },
76369 $signature: 23
76370 };
76371 A.booleanClass__closure.prototype = {
76372 call$2($self, _) {
76373 A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
76374 },
76375 call$1($self) {
76376 return this.call$2($self, null);
76377 },
76378 "call*": "call$2",
76379 $requiredArgCount: 1,
76380 $defaultValues() {
76381 return [null];
76382 },
76383 $signature: 356
76384 };
76385 A.SassBoolean0.prototype = {
76386 get$isTruthy() {
76387 return this.value;
76388 },
76389 accept$1$1(visitor) {
76390 return visitor._serialize0$_buffer.write$1(0, String(this.value));
76391 },
76392 accept$1(visitor) {
76393 return this.accept$1$1(visitor, type$.dynamic);
76394 },
76395 assertBoolean$1($name) {
76396 return this;
76397 },
76398 unaryNot$0() {
76399 return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
76400 }
76401 };
76402 A.BuiltInCallable0.prototype = {
76403 callbackFor$2(positional, names) {
76404 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
76405 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) {
76406 overload = t1[_i];
76407 t3 = overload.item1;
76408 if (t3.matches$2(positional, names))
76409 return overload;
76410 mismatchDistance = t3.$arguments.length - positional;
76411 if (minMismatchDistance != null) {
76412 t3 = Math.abs(mismatchDistance);
76413 t4 = Math.abs(minMismatchDistance);
76414 if (t3 > t4)
76415 continue;
76416 if (t3 === t4 && mismatchDistance < 0)
76417 continue;
76418 }
76419 minMismatchDistance = mismatchDistance;
76420 fuzzyMatch = overload;
76421 }
76422 if (fuzzyMatch != null)
76423 return fuzzyMatch;
76424 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
76425 },
76426 withName$1($name) {
76427 return new A.BuiltInCallable0($name, this._built_in$_overloads);
76428 },
76429 $isAsyncCallable0: 1,
76430 $isAsyncBuiltInCallable0: 1,
76431 $isCallable0: 1,
76432 get$name(receiver) {
76433 return this.name;
76434 }
76435 };
76436 A.BuiltInCallable$mixin_closure0.prototype = {
76437 call$1($arguments) {
76438 this.callback.call$1($arguments);
76439 return B.C__SassNull0;
76440 },
76441 $signature: 3
76442 };
76443 A.BuiltInModule0.prototype = {
76444 get$upstream() {
76445 return B.List_empty13;
76446 },
76447 get$variableNodes() {
76448 return B.Map_empty7;
76449 },
76450 get$extensionStore() {
76451 return B.C_EmptyExtensionStore0;
76452 },
76453 get$css(_) {
76454 return new A.CssStylesheet0(B.List_empty11, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
76455 },
76456 get$transitivelyContainsCss() {
76457 return false;
76458 },
76459 get$transitivelyContainsExtensions() {
76460 return false;
76461 },
76462 setVariable$3($name, value, nodeWithSpan) {
76463 if (!this.variables.containsKey$1($name))
76464 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
76465 throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable."));
76466 },
76467 variableIdentity$1($name) {
76468 return this;
76469 },
76470 cloneCss$0() {
76471 return this;
76472 },
76473 $isModule0: 1,
76474 get$url(receiver) {
76475 return this.url;
76476 },
76477 get$functions(receiver) {
76478 return this.functions;
76479 },
76480 get$mixins() {
76481 return this.mixins;
76482 },
76483 get$variables() {
76484 return this.variables;
76485 }
76486 };
76487 A.CalculationExpression0.prototype = {
76488 accept$1$1(visitor) {
76489 return visitor.visitCalculationExpression$1(this);
76490 },
76491 accept$1(visitor) {
76492 return this.accept$1$1(visitor, type$.dynamic);
76493 },
76494 toString$0(_) {
76495 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
76496 },
76497 $isExpression0: 1,
76498 $isAstNode0: 1,
76499 get$span(receiver) {
76500 return this.span;
76501 }
76502 };
76503 A.CalculationExpression__verifyArguments_closure0.prototype = {
76504 call$1(arg) {
76505 A.CalculationExpression__verify0(arg);
76506 return arg;
76507 },
76508 $signature: 358
76509 };
76510 A.SassCalculation0.prototype = {
76511 get$isSpecialNumber() {
76512 return true;
76513 },
76514 accept$1$1(visitor) {
76515 var t2,
76516 t1 = visitor._serialize0$_buffer;
76517 t1.write$1(0, this.name);
76518 t1.writeCharCode$1(40);
76519 t2 = visitor._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
76520 visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
76521 t1.writeCharCode$1(41);
76522 return null;
76523 },
76524 accept$1(visitor) {
76525 return this.accept$1$1(visitor, type$.dynamic);
76526 },
76527 assertCalculation$1($name) {
76528 return this;
76529 },
76530 plus$1(other) {
76531 if (other instanceof A.SassString0)
76532 return this.super$Value$plus0(other);
76533 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
76534 },
76535 minus$1(other) {
76536 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
76537 },
76538 unaryPlus$0() {
76539 return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".'));
76540 },
76541 unaryMinus$0() {
76542 return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".'));
76543 },
76544 $eq(_, other) {
76545 if (other == null)
76546 return false;
76547 return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
76548 },
76549 get$hashCode(_) {
76550 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
76551 }
76552 };
76553 A.SassCalculation__verifyLength_closure0.prototype = {
76554 call$1(arg) {
76555 return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
76556 },
76557 $signature: 109
76558 };
76559 A.CalculationOperation0.prototype = {
76560 $eq(_, other) {
76561 if (other == null)
76562 return false;
76563 return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
76564 },
76565 get$hashCode(_) {
76566 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
76567 },
76568 toString$0(_) {
76569 var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
76570 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
76571 }
76572 };
76573 A.CalculationOperator0.prototype = {
76574 toString$0(_) {
76575 return this.name;
76576 }
76577 };
76578 A.CalculationInterpolation0.prototype = {
76579 $eq(_, other) {
76580 if (other == null)
76581 return false;
76582 return other instanceof A.CalculationInterpolation0 && this.value === other.value;
76583 },
76584 get$hashCode(_) {
76585 return B.JSString_methods.get$hashCode(this.value);
76586 },
76587 toString$0(_) {
76588 return this.value;
76589 }
76590 };
76591 A.CallableDeclaration0.prototype = {
76592 get$span(receiver) {
76593 return this.span;
76594 }
76595 };
76596 A.Chokidar0.prototype = {};
76597 A.ChokidarOptions0.prototype = {};
76598 A.ChokidarWatcher0.prototype = {};
76599 A.ClassSelector0.prototype = {
76600 $eq(_, other) {
76601 if (other == null)
76602 return false;
76603 return other instanceof A.ClassSelector0 && other.name === this.name;
76604 },
76605 accept$1$1(visitor) {
76606 var t1 = visitor._serialize0$_buffer;
76607 t1.writeCharCode$1(46);
76608 t1.write$1(0, this.name);
76609 return null;
76610 },
76611 accept$1(visitor) {
76612 return this.accept$1$1(visitor, type$.dynamic);
76613 },
76614 addSuffix$1(suffix) {
76615 return new A.ClassSelector0(this.name + suffix);
76616 },
76617 get$hashCode(_) {
76618 return B.JSString_methods.get$hashCode(this.name);
76619 }
76620 };
76621 A._CloneCssVisitor0.prototype = {
76622 visitCssAtRule$1(node) {
76623 var t1 = node.isChildless,
76624 rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
76625 return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
76626 },
76627 visitCssComment$1(node) {
76628 return new A.ModifiableCssComment0(node.text, node.span);
76629 },
76630 visitCssDeclaration$1(node) {
76631 return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
76632 },
76633 visitCssImport$1(node) {
76634 return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
76635 },
76636 visitCssKeyframeBlock$1(node) {
76637 return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
76638 },
76639 visitCssMediaRule$1(node) {
76640 return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
76641 },
76642 visitCssStyleRule$1(node) {
76643 var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
76644 if (newSelector == null)
76645 throw A.wrapException(A.StateError$(string$.The_Ex));
76646 return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
76647 },
76648 visitCssStylesheet$1(node) {
76649 return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
76650 },
76651 visitCssSupportsRule$1(node) {
76652 return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
76653 },
76654 _clone_css$_visitChildren$1$2(newParent, oldParent) {
76655 var t1, t2, newChild;
76656 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
76657 t2 = t1.get$current(t1);
76658 newChild = t2.accept$1(this);
76659 newChild.isGroupEnd = t2.get$isGroupEnd();
76660 newParent.addChild$1(newChild);
76661 }
76662 return newParent;
76663 },
76664 _clone_css$_visitChildren$2(newParent, oldParent) {
76665 return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
76666 }
76667 };
76668 A.ColorExpression0.prototype = {
76669 accept$1$1(visitor) {
76670 return visitor.visitColorExpression$1(this);
76671 },
76672 accept$1(visitor) {
76673 return this.accept$1$1(visitor, type$.dynamic);
76674 },
76675 toString$0(_) {
76676 return A.serializeValue0(this.value, true, true);
76677 },
76678 $isExpression0: 1,
76679 $isAstNode0: 1,
76680 get$span(receiver) {
76681 return this.span;
76682 }
76683 };
76684 A.global_closure30.prototype = {
76685 call$1($arguments) {
76686 return A._rgb0("rgb", $arguments);
76687 },
76688 $signature: 3
76689 };
76690 A.global_closure31.prototype = {
76691 call$1($arguments) {
76692 return A._rgb0("rgb", $arguments);
76693 },
76694 $signature: 3
76695 };
76696 A.global_closure32.prototype = {
76697 call$1($arguments) {
76698 return A._rgbTwoArg0("rgb", $arguments);
76699 },
76700 $signature: 3
76701 };
76702 A.global_closure33.prototype = {
76703 call$1($arguments) {
76704 var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76705 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
76706 },
76707 $signature: 3
76708 };
76709 A.global_closure34.prototype = {
76710 call$1($arguments) {
76711 return A._rgb0("rgba", $arguments);
76712 },
76713 $signature: 3
76714 };
76715 A.global_closure35.prototype = {
76716 call$1($arguments) {
76717 return A._rgb0("rgba", $arguments);
76718 },
76719 $signature: 3
76720 };
76721 A.global_closure36.prototype = {
76722 call$1($arguments) {
76723 return A._rgbTwoArg0("rgba", $arguments);
76724 },
76725 $signature: 3
76726 };
76727 A.global_closure37.prototype = {
76728 call$1($arguments) {
76729 var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76730 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
76731 },
76732 $signature: 3
76733 };
76734 A.global_closure38.prototype = {
76735 call$1($arguments) {
76736 var color, t2,
76737 t1 = J.getInterceptor$asx($arguments),
76738 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76739 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76740 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76741 throw A.wrapException(string$.Only_oa);
76742 return A._functionString0("invert", t1.take$1($arguments, 1));
76743 }
76744 color = t1.$index($arguments, 0).assertColor$1("color");
76745 t1 = color.get$red(color);
76746 t2 = color.get$green(color);
76747 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76748 },
76749 $signature: 3
76750 };
76751 A.global_closure39.prototype = {
76752 call$1($arguments) {
76753 return A._hsl0("hsl", $arguments);
76754 },
76755 $signature: 3
76756 };
76757 A.global_closure40.prototype = {
76758 call$1($arguments) {
76759 return A._hsl0("hsl", $arguments);
76760 },
76761 $signature: 3
76762 };
76763 A.global_closure41.prototype = {
76764 call$1($arguments) {
76765 var t1 = J.getInterceptor$asx($arguments);
76766 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76767 return A._functionString0("hsl", $arguments);
76768 else
76769 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76770 },
76771 $signature: 13
76772 };
76773 A.global_closure42.prototype = {
76774 call$1($arguments) {
76775 var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76776 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
76777 },
76778 $signature: 3
76779 };
76780 A.global_closure43.prototype = {
76781 call$1($arguments) {
76782 return A._hsl0("hsla", $arguments);
76783 },
76784 $signature: 3
76785 };
76786 A.global_closure44.prototype = {
76787 call$1($arguments) {
76788 return A._hsl0("hsla", $arguments);
76789 },
76790 $signature: 3
76791 };
76792 A.global_closure45.prototype = {
76793 call$1($arguments) {
76794 var t1 = J.getInterceptor$asx($arguments);
76795 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76796 return A._functionString0("hsla", $arguments);
76797 else
76798 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76799 },
76800 $signature: 13
76801 };
76802 A.global_closure46.prototype = {
76803 call$1($arguments) {
76804 var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76805 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
76806 },
76807 $signature: 3
76808 };
76809 A.global_closure47.prototype = {
76810 call$1($arguments) {
76811 var t1 = J.getInterceptor$asx($arguments);
76812 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76813 return A._functionString0("grayscale", $arguments);
76814 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76815 },
76816 $signature: 3
76817 };
76818 A.global_closure48.prototype = {
76819 call$1($arguments) {
76820 var t1 = J.getInterceptor$asx($arguments),
76821 color = t1.$index($arguments, 0).assertColor$1("color"),
76822 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
76823 A._checkAngle0(degrees, null);
76824 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number1$_value);
76825 },
76826 $signature: 25
76827 };
76828 A.global_closure49.prototype = {
76829 call$1($arguments) {
76830 var t1 = J.getInterceptor$asx($arguments),
76831 color = t1.$index($arguments, 0).assertColor$1("color"),
76832 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76833 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76834 },
76835 $signature: 25
76836 };
76837 A.global_closure50.prototype = {
76838 call$1($arguments) {
76839 var t1 = J.getInterceptor$asx($arguments),
76840 color = t1.$index($arguments, 0).assertColor$1("color"),
76841 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76842 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76843 },
76844 $signature: 25
76845 };
76846 A.global_closure51.prototype = {
76847 call$1($arguments) {
76848 return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
76849 },
76850 $signature: 13
76851 };
76852 A.global_closure52.prototype = {
76853 call$1($arguments) {
76854 var t1 = J.getInterceptor$asx($arguments),
76855 color = t1.$index($arguments, 0).assertColor$1("color"),
76856 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76857 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76858 },
76859 $signature: 25
76860 };
76861 A.global_closure53.prototype = {
76862 call$1($arguments) {
76863 var t1 = J.getInterceptor$asx($arguments),
76864 color = t1.$index($arguments, 0).assertColor$1("color"),
76865 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76866 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76867 },
76868 $signature: 25
76869 };
76870 A.global_closure54.prototype = {
76871 call$1($arguments) {
76872 var color,
76873 argument = J.$index$asx($arguments, 0);
76874 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
76875 return A._functionString0("alpha", $arguments);
76876 color = argument.assertColor$1("color");
76877 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76878 },
76879 $signature: 3
76880 };
76881 A.global_closure55.prototype = {
76882 call$1($arguments) {
76883 var t1,
76884 argList = J.$index$asx($arguments, 0).get$asList();
76885 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
76886 return A._functionString0("alpha", $arguments);
76887 t1 = argList.length;
76888 if (t1 === 0)
76889 throw A.wrapException(A.SassScriptException$0("Missing argument $color."));
76890 else
76891 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed."));
76892 },
76893 $signature: 13
76894 };
76895 A.global__closure0.prototype = {
76896 call$1(argument) {
76897 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76898 },
76899 $signature: 49
76900 };
76901 A.global_closure56.prototype = {
76902 call$1($arguments) {
76903 var color,
76904 t1 = J.getInterceptor$asx($arguments);
76905 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76906 return A._functionString0("opacity", $arguments);
76907 color = t1.$index($arguments, 0).assertColor$1("color");
76908 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76909 },
76910 $signature: 3
76911 };
76912 A.module_closure8.prototype = {
76913 call$1($arguments) {
76914 var result, t2, color,
76915 t1 = J.getInterceptor$asx($arguments),
76916 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76917 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76918 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76919 throw A.wrapException(string$.Only_oa);
76920 result = A._functionString0("invert", t1.take$1($arguments, 1));
76921 t1 = A.S(t1.$index($arguments, 0));
76922 t2 = result.toString$0(0);
76923 A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
76924 return result;
76925 }
76926 color = t1.$index($arguments, 0).assertColor$1("color");
76927 t1 = color.get$red(color);
76928 t2 = color.get$green(color);
76929 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76930 },
76931 $signature: 3
76932 };
76933 A.module_closure9.prototype = {
76934 call$1($arguments) {
76935 var result, t2,
76936 t1 = J.getInterceptor$asx($arguments);
76937 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76938 result = A._functionString0("grayscale", t1.take$1($arguments, 1));
76939 t1 = A.S(t1.$index($arguments, 0));
76940 t2 = result.toString$0(0);
76941 A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
76942 return result;
76943 }
76944 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76945 },
76946 $signature: 3
76947 };
76948 A.module_closure10.prototype = {
76949 call$1($arguments) {
76950 return A._hwb0($arguments);
76951 },
76952 $signature: 3
76953 };
76954 A.module_closure11.prototype = {
76955 call$1($arguments) {
76956 var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
76957 if (parsed instanceof A.SassString0)
76958 throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
76959 else
76960 return A._hwb0(type$.List_Value_2._as(parsed));
76961 },
76962 $signature: 3
76963 };
76964 A.module_closure12.prototype = {
76965 call$1($arguments) {
76966 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76967 t1 = t1.get$whiteness(t1);
76968 return new A.SingleUnitSassNumber0("%", t1, null);
76969 },
76970 $signature: 10
76971 };
76972 A.module_closure13.prototype = {
76973 call$1($arguments) {
76974 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76975 t1 = t1.get$blackness(t1);
76976 return new A.SingleUnitSassNumber0("%", t1, null);
76977 },
76978 $signature: 10
76979 };
76980 A.module_closure14.prototype = {
76981 call$1($arguments) {
76982 var result, t1, color,
76983 argument = J.$index$asx($arguments, 0);
76984 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
76985 result = A._functionString0("alpha", $arguments);
76986 t1 = result.toString$0(0);
76987 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
76988 return result;
76989 }
76990 color = argument.assertColor$1("color");
76991 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76992 },
76993 $signature: 3
76994 };
76995 A.module_closure15.prototype = {
76996 call$1($arguments) {
76997 var result,
76998 t1 = J.getInterceptor$asx($arguments);
76999 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
77000 result = A._functionString0("alpha", $arguments);
77001 t1 = result.toString$0(0);
77002 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
77003 return result;
77004 }
77005 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
77006 },
77007 $signature: 13
77008 };
77009 A.module__closure0.prototype = {
77010 call$1(argument) {
77011 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
77012 },
77013 $signature: 49
77014 };
77015 A.module_closure16.prototype = {
77016 call$1($arguments) {
77017 var result, t2, color,
77018 t1 = J.getInterceptor$asx($arguments);
77019 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77020 result = A._functionString0("opacity", $arguments);
77021 t1 = A.S(t1.$index($arguments, 0));
77022 t2 = result.toString$0(0);
77023 A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
77024 return result;
77025 }
77026 color = t1.$index($arguments, 0).assertColor$1("color");
77027 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77028 },
77029 $signature: 3
77030 };
77031 A._red_closure0.prototype = {
77032 call$1($arguments) {
77033 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77034 t1 = t1.get$red(t1);
77035 return new A.UnitlessSassNumber0(t1, null);
77036 },
77037 $signature: 10
77038 };
77039 A._green_closure0.prototype = {
77040 call$1($arguments) {
77041 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77042 t1 = t1.get$green(t1);
77043 return new A.UnitlessSassNumber0(t1, null);
77044 },
77045 $signature: 10
77046 };
77047 A._blue_closure0.prototype = {
77048 call$1($arguments) {
77049 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77050 t1 = t1.get$blue(t1);
77051 return new A.UnitlessSassNumber0(t1, null);
77052 },
77053 $signature: 10
77054 };
77055 A._mix_closure0.prototype = {
77056 call$1($arguments) {
77057 var t1 = J.getInterceptor$asx($arguments);
77058 return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
77059 },
77060 $signature: 25
77061 };
77062 A._hue_closure0.prototype = {
77063 call$1($arguments) {
77064 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77065 t1 = t1.get$hue(t1);
77066 return new A.SingleUnitSassNumber0("deg", t1, null);
77067 },
77068 $signature: 10
77069 };
77070 A._saturation_closure0.prototype = {
77071 call$1($arguments) {
77072 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77073 t1 = t1.get$saturation(t1);
77074 return new A.SingleUnitSassNumber0("%", t1, null);
77075 },
77076 $signature: 10
77077 };
77078 A._lightness_closure0.prototype = {
77079 call$1($arguments) {
77080 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77081 t1 = t1.get$lightness(t1);
77082 return new A.SingleUnitSassNumber0("%", t1, null);
77083 },
77084 $signature: 10
77085 };
77086 A._complement_closure0.prototype = {
77087 call$1($arguments) {
77088 var color = J.$index$asx($arguments, 0).assertColor$1("color");
77089 return color.changeHsl$1$hue(color.get$hue(color) + 180);
77090 },
77091 $signature: 25
77092 };
77093 A._adjust_closure0.prototype = {
77094 call$1($arguments) {
77095 return A._updateComponents0($arguments, true, false, false);
77096 },
77097 $signature: 25
77098 };
77099 A._scale_closure0.prototype = {
77100 call$1($arguments) {
77101 return A._updateComponents0($arguments, false, false, true);
77102 },
77103 $signature: 25
77104 };
77105 A._change_closure0.prototype = {
77106 call$1($arguments) {
77107 return A._updateComponents0($arguments, false, true, false);
77108 },
77109 $signature: 25
77110 };
77111 A._ieHexStr_closure0.prototype = {
77112 call$1($arguments) {
77113 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
77114 t1 = new A._ieHexStr_closure_hexString0();
77115 return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color1$_alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
77116 },
77117 $signature: 13
77118 };
77119 A._ieHexStr_closure_hexString0.prototype = {
77120 call$1(component) {
77121 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
77122 },
77123 $signature: 196
77124 };
77125 A._updateComponents_getParam0.prototype = {
77126 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
77127 var t2,
77128 t1 = this.keywords.remove$1(0, $name),
77129 number = t1 == null ? null : t1.assertNumber$1($name);
77130 if (number == null)
77131 return null;
77132 t1 = this.scale;
77133 t2 = !t1;
77134 if (t2 && checkPercent)
77135 A._checkPercent0(number, $name);
77136 if (!t2 || assertPercent)
77137 number.assertUnit$2("%", $name);
77138 if (t1)
77139 max = 100;
77140 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
77141 },
77142 call$2($name, max) {
77143 return this.call$4$assertPercent$checkPercent($name, max, false, false);
77144 },
77145 call$3$checkPercent($name, max, checkPercent) {
77146 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
77147 },
77148 call$3$assertPercent($name, max, assertPercent) {
77149 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
77150 },
77151 $signature: 195
77152 };
77153 A._updateComponents_closure0.prototype = {
77154 call$1($name) {
77155 return "$" + $name;
77156 },
77157 $signature: 5
77158 };
77159 A._updateComponents_updateValue0.prototype = {
77160 call$3(current, param, max) {
77161 var t1;
77162 if (param == null)
77163 return current;
77164 if (this.change)
77165 return param;
77166 if (this.adjust)
77167 return B.JSNumber_methods.clamp$2(current + param, 0, max);
77168 t1 = param > 0 ? max - current : current;
77169 return current + t1 * (param / 100);
77170 },
77171 $signature: 194
77172 };
77173 A._updateComponents_updateRgb0.prototype = {
77174 call$2(current, param) {
77175 return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
77176 },
77177 $signature: 188
77178 };
77179 A._functionString_closure0.prototype = {
77180 call$1(argument) {
77181 return A.serializeValue0(argument, false, true);
77182 },
77183 $signature: 199
77184 };
77185 A._removedColorFunction_closure0.prototype = {
77186 call$1($arguments) {
77187 var t1 = this.name,
77188 t2 = J.getInterceptor$asx($arguments),
77189 t3 = A.S(t2.$index($arguments, 0)),
77190 t4 = this.negative ? "-" : "";
77191 throw A.wrapException(A.SassScriptException$0("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
77192 },
77193 $signature: 364
77194 };
77195 A._rgb_closure0.prototype = {
77196 call$1(alpha) {
77197 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77198 },
77199 $signature: 131
77200 };
77201 A._hsl_closure0.prototype = {
77202 call$1(alpha) {
77203 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77204 },
77205 $signature: 131
77206 };
77207 A._removeUnits_closure1.prototype = {
77208 call$1(unit) {
77209 return " * 1" + unit;
77210 },
77211 $signature: 5
77212 };
77213 A._removeUnits_closure2.prototype = {
77214 call$1(unit) {
77215 return " / 1" + unit;
77216 },
77217 $signature: 5
77218 };
77219 A._hwb_closure0.prototype = {
77220 call$1(alpha) {
77221 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77222 },
77223 $signature: 131
77224 };
77225 A._parseChannels_closure0.prototype = {
77226 call$1(value) {
77227 return value.get$isVar();
77228 },
77229 $signature: 49
77230 };
77231 A._NodeSassColor.prototype = {};
77232 A.legacyColorClass_closure.prototype = {
77233 call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
77234 var red, t1, t2, t3, t4;
77235 if (dartValue != null) {
77236 J.set$dartValue$x(thisArg, dartValue);
77237 return;
77238 }
77239 if (green == null || blue == null) {
77240 A._asInt(redOrArgb);
77241 alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
77242 red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
77243 green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
77244 blue = B.JSInt_methods.$mod(redOrArgb, 256);
77245 } else {
77246 redOrArgb.toString;
77247 red = redOrArgb;
77248 }
77249 t1 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(red, 0, 255));
77250 t2 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(green, 0, 255));
77251 t3 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(blue, 0, 255));
77252 t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
77253 J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
77254 },
77255 call$2(thisArg, redOrArgb) {
77256 return this.call$6(thisArg, redOrArgb, null, null, null, null);
77257 },
77258 call$3(thisArg, redOrArgb, green) {
77259 return this.call$6(thisArg, redOrArgb, green, null, null, null);
77260 },
77261 call$4(thisArg, redOrArgb, green, blue) {
77262 return this.call$6(thisArg, redOrArgb, green, blue, null, null);
77263 },
77264 call$5(thisArg, redOrArgb, green, blue, alpha) {
77265 return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
77266 },
77267 "call*": "call$6",
77268 $requiredArgCount: 2,
77269 $defaultValues() {
77270 return [null, null, null, null];
77271 },
77272 $signature: 366
77273 };
77274 A.legacyColorClass_closure0.prototype = {
77275 call$1(thisArg) {
77276 return J.get$red$x(J.get$dartValue$x(thisArg));
77277 },
77278 $signature: 128
77279 };
77280 A.legacyColorClass_closure1.prototype = {
77281 call$1(thisArg) {
77282 return J.get$green$x(J.get$dartValue$x(thisArg));
77283 },
77284 $signature: 128
77285 };
77286 A.legacyColorClass_closure2.prototype = {
77287 call$1(thisArg) {
77288 return J.get$blue$x(J.get$dartValue$x(thisArg));
77289 },
77290 $signature: 128
77291 };
77292 A.legacyColorClass_closure3.prototype = {
77293 call$1(thisArg) {
77294 return J.get$dartValue$x(thisArg)._color1$_alpha;
77295 },
77296 $signature: 368
77297 };
77298 A.legacyColorClass_closure4.prototype = {
77299 call$2(thisArg, value) {
77300 var t1 = J.getInterceptor$x(thisArg);
77301 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77302 },
77303 $signature: 85
77304 };
77305 A.legacyColorClass_closure5.prototype = {
77306 call$2(thisArg, value) {
77307 var t1 = J.getInterceptor$x(thisArg);
77308 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77309 },
77310 $signature: 85
77311 };
77312 A.legacyColorClass_closure6.prototype = {
77313 call$2(thisArg, value) {
77314 var t1 = J.getInterceptor$x(thisArg);
77315 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77316 },
77317 $signature: 85
77318 };
77319 A.legacyColorClass_closure7.prototype = {
77320 call$2(thisArg, value) {
77321 var t1 = J.getInterceptor$x(thisArg);
77322 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
77323 },
77324 $signature: 85
77325 };
77326 A.colorClass_closure.prototype = {
77327 call$0() {
77328 var t1 = type$.JSClass,
77329 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
77330 J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
77331 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));
77332 A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
77333 return jsClass;
77334 },
77335 $signature: 23
77336 };
77337 A.colorClass__closure.prototype = {
77338 call$2($self, color) {
77339 var t2, t3, t4,
77340 t1 = J.getInterceptor$x(color);
77341 if (t1.get$red(color) != null) {
77342 t2 = t1.get$red(color);
77343 t2.toString;
77344 t2 = A.fuzzyRound0(t2);
77345 t3 = t1.get$green(color);
77346 t3.toString;
77347 t3 = A.fuzzyRound0(t3);
77348 t4 = t1.get$blue(color);
77349 t4.toString;
77350 return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
77351 } else if (t1.get$saturation(color) != null) {
77352 t2 = t1.get$hue(color);
77353 t2.toString;
77354 t3 = t1.get$saturation(color);
77355 t3.toString;
77356 t4 = t1.get$lightness(color);
77357 t4.toString;
77358 return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
77359 } else {
77360 t2 = t1.get$hue(color);
77361 t2.toString;
77362 t3 = t1.get$whiteness(color);
77363 t3.toString;
77364 t4 = t1.get$blackness(color);
77365 t4.toString;
77366 return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
77367 }
77368 },
77369 $signature: 370
77370 };
77371 A.colorClass__closure0.prototype = {
77372 call$2($self, options) {
77373 var t2, t3, t4,
77374 t1 = J.getInterceptor$x(options);
77375 if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
77376 t2 = t1.get$hue(options);
77377 if (t2 == null)
77378 t2 = $self.get$hue($self);
77379 t3 = t1.get$whiteness(options);
77380 if (t3 == null)
77381 t3 = $self.get$whiteness($self);
77382 t4 = t1.get$blackness(options);
77383 if (t4 == null)
77384 t4 = $self.get$blackness($self);
77385 t1 = t1.get$alpha(options);
77386 return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
77387 } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
77388 t2 = t1.get$hue(options);
77389 if (t2 == null)
77390 t2 = $self.get$hue($self);
77391 t3 = t1.get$saturation(options);
77392 if (t3 == null)
77393 t3 = $self.get$saturation($self);
77394 t4 = t1.get$lightness(options);
77395 if (t4 == null)
77396 t4 = $self.get$lightness($self);
77397 t1 = t1.get$alpha(options);
77398 return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
77399 } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
77400 t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
77401 if (t2 == null)
77402 t2 = $self.get$red($self);
77403 t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
77404 if (t3 == null)
77405 t3 = $self.get$green($self);
77406 t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
77407 if (t4 == null)
77408 t4 = $self.get$blue($self);
77409 t1 = t1.get$alpha(options);
77410 return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
77411 } else {
77412 t1 = t1.get$alpha(options);
77413 return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
77414 }
77415 },
77416 $signature: 371
77417 };
77418 A.colorClass__closure1.prototype = {
77419 call$1($self) {
77420 return $self.get$red($self);
77421 },
77422 $signature: 117
77423 };
77424 A.colorClass__closure2.prototype = {
77425 call$1($self) {
77426 return $self.get$green($self);
77427 },
77428 $signature: 117
77429 };
77430 A.colorClass__closure3.prototype = {
77431 call$1($self) {
77432 return $self.get$blue($self);
77433 },
77434 $signature: 117
77435 };
77436 A.colorClass__closure4.prototype = {
77437 call$1($self) {
77438 return $self.get$hue($self);
77439 },
77440 $signature: 50
77441 };
77442 A.colorClass__closure5.prototype = {
77443 call$1($self) {
77444 return $self.get$saturation($self);
77445 },
77446 $signature: 50
77447 };
77448 A.colorClass__closure6.prototype = {
77449 call$1($self) {
77450 return $self.get$lightness($self);
77451 },
77452 $signature: 50
77453 };
77454 A.colorClass__closure7.prototype = {
77455 call$1($self) {
77456 return $self.get$whiteness($self);
77457 },
77458 $signature: 50
77459 };
77460 A.colorClass__closure8.prototype = {
77461 call$1($self) {
77462 return $self.get$blackness($self);
77463 },
77464 $signature: 50
77465 };
77466 A.colorClass__closure9.prototype = {
77467 call$1($self) {
77468 return $self._color1$_alpha;
77469 },
77470 $signature: 50
77471 };
77472 A._Channels.prototype = {};
77473 A.SassColor0.prototype = {
77474 get$red(_) {
77475 var t1;
77476 if (this._color1$_red == null)
77477 this._color1$_hslToRgb$0();
77478 t1 = this._color1$_red;
77479 t1.toString;
77480 return t1;
77481 },
77482 get$green(_) {
77483 var t1;
77484 if (this._color1$_green == null)
77485 this._color1$_hslToRgb$0();
77486 t1 = this._color1$_green;
77487 t1.toString;
77488 return t1;
77489 },
77490 get$blue(_) {
77491 var t1;
77492 if (this._color1$_blue == null)
77493 this._color1$_hslToRgb$0();
77494 t1 = this._color1$_blue;
77495 t1.toString;
77496 return t1;
77497 },
77498 get$hue(_) {
77499 var t1;
77500 if (this._color1$_hue == null)
77501 this._color1$_rgbToHsl$0();
77502 t1 = this._color1$_hue;
77503 t1.toString;
77504 return t1;
77505 },
77506 get$saturation(_) {
77507 var t1;
77508 if (this._color1$_saturation == null)
77509 this._color1$_rgbToHsl$0();
77510 t1 = this._color1$_saturation;
77511 t1.toString;
77512 return t1;
77513 },
77514 get$lightness(_) {
77515 var t1;
77516 if (this._color1$_lightness == null)
77517 this._color1$_rgbToHsl$0();
77518 t1 = this._color1$_lightness;
77519 t1.toString;
77520 return t1;
77521 },
77522 get$whiteness(_) {
77523 var _this = this;
77524 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77525 },
77526 get$blackness(_) {
77527 var _this = this;
77528 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77529 },
77530 accept$1$1(visitor) {
77531 var $name, hexLength, t1, format, t2, opaque, _this = this;
77532 if (visitor._serialize0$_style === B.OutputStyle_compressed0)
77533 if (!(Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()))
77534 visitor._serialize0$_writeRgb$1(_this);
77535 else {
77536 $name = $.$get$namesByColor0().$index(0, _this);
77537 hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
77538 if ($name != null && $name.length <= hexLength)
77539 visitor._serialize0$_buffer.write$1(0, $name);
77540 else {
77541 t1 = visitor._serialize0$_buffer;
77542 if (visitor._serialize0$_canUseShortHex$1(_this)) {
77543 t1.writeCharCode$1(35);
77544 t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
77545 t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
77546 t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
77547 } else {
77548 t1.writeCharCode$1(35);
77549 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77550 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77551 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77552 }
77553 }
77554 }
77555 else {
77556 format = _this.format;
77557 if (format != null)
77558 if (format === B._ColorFormatEnum_rgbFunction0)
77559 visitor._serialize0$_writeRgb$1(_this);
77560 else {
77561 t1 = visitor._serialize0$_buffer;
77562 if (format === B._ColorFormatEnum_hslFunction0) {
77563 t2 = _this._color1$_alpha;
77564 opaque = Math.abs(t2 - 1) < $.$get$epsilon0();
77565 t1.write$1(0, opaque ? "hsl(" : "hsla(");
77566 visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
77567 t1.write$1(0, "deg");
77568 t1.write$1(0, ", ");
77569 visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
77570 t1.writeCharCode$1(37);
77571 t1.write$1(0, ", ");
77572 visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
77573 t1.writeCharCode$1(37);
77574 if (!opaque) {
77575 t1.write$1(0, ", ");
77576 visitor._serialize0$_writeNumber$1(t2);
77577 }
77578 t1.writeCharCode$1(41);
77579 } else {
77580 t2 = type$.SpanColorFormat_2._as(format)._color1$_span;
77581 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
77582 }
77583 }
77584 else {
77585 t1 = $.$get$namesByColor0();
77586 if (t1.containsKey$1(_this) && !(Math.abs(_this._color1$_alpha - 0) < $.$get$epsilon0()))
77587 visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
77588 else if (Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()) {
77589 visitor._serialize0$_buffer.writeCharCode$1(35);
77590 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77591 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77592 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77593 } else
77594 visitor._serialize0$_writeRgb$1(_this);
77595 }
77596 }
77597 return null;
77598 },
77599 accept$1(visitor) {
77600 return this.accept$1$1(visitor, type$.dynamic);
77601 },
77602 assertColor$1($name) {
77603 return this;
77604 },
77605 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
77606 var _this = this,
77607 t1 = red == null ? _this.get$red(_this) : red,
77608 t2 = green == null ? _this.get$green(_this) : green,
77609 t3 = blue == null ? _this.get$blue(_this) : blue;
77610 return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
77611 },
77612 changeRgb$3$blue$green$red(blue, green, red) {
77613 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
77614 },
77615 changeRgb$1$alpha(alpha) {
77616 return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
77617 },
77618 changeRgb$1$blue(blue) {
77619 return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
77620 },
77621 changeRgb$1$green(green) {
77622 return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
77623 },
77624 changeRgb$1$red(red) {
77625 return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
77626 },
77627 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
77628 var _this = this,
77629 t1 = hue == null ? _this.get$hue(_this) : hue,
77630 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
77631 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
77632 return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
77633 },
77634 changeHsl$1$saturation(saturation) {
77635 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
77636 },
77637 changeHsl$1$lightness(lightness) {
77638 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
77639 },
77640 changeHsl$1$hue(hue) {
77641 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
77642 },
77643 changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
77644 var t1 = hue == null ? this.get$hue(this) : hue;
77645 return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
77646 },
77647 changeAlpha$1(alpha) {
77648 var _this = this;
77649 return new A.SassColor0(_this._color1$_red, _this._color1$_green, _this._color1$_blue, _this._color1$_hue, _this._color1$_saturation, _this._color1$_lightness, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), null);
77650 },
77651 plus$1(other) {
77652 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77653 return this.super$Value$plus0(other);
77654 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
77655 },
77656 minus$1(other) {
77657 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77658 return this.super$Value$minus0(other);
77659 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
77660 },
77661 dividedBy$1(other) {
77662 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77663 return this.super$Value$dividedBy0(other);
77664 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
77665 },
77666 $eq(_, other) {
77667 var _this = this;
77668 if (other == null)
77669 return false;
77670 return other instanceof A.SassColor0 && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._color1$_alpha === _this._color1$_alpha;
77671 },
77672 get$hashCode(_) {
77673 var _this = this;
77674 return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._color1$_alpha);
77675 },
77676 _color1$_rgbToHsl$0() {
77677 var t2, lightness, _this = this,
77678 scaledRed = _this.get$red(_this) / 255,
77679 scaledGreen = _this.get$green(_this) / 255,
77680 scaledBlue = _this.get$blue(_this) / 255,
77681 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
77682 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
77683 delta = max - min,
77684 t1 = max === min;
77685 if (t1)
77686 _this._color1$_hue = 0;
77687 else if (max === scaledRed)
77688 _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
77689 else if (max === scaledGreen)
77690 _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
77691 else if (max === scaledBlue)
77692 _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
77693 t2 = max + min;
77694 lightness = 50 * t2;
77695 _this._color1$_lightness = lightness;
77696 if (t1)
77697 _this._color1$_saturation = 0;
77698 else {
77699 t1 = 100 * delta;
77700 if (lightness < 50)
77701 _this._color1$_saturation = t1 / t2;
77702 else
77703 _this._color1$_saturation = t1 / (2 - max - min);
77704 }
77705 },
77706 _color1$_hslToRgb$0() {
77707 var _this = this,
77708 scaledHue = _this.get$hue(_this) / 360,
77709 scaledSaturation = _this.get$saturation(_this) / 100,
77710 scaledLightness = _this.get$lightness(_this) / 100,
77711 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
77712 m1 = scaledLightness * 2 - m2;
77713 _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
77714 _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
77715 _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
77716 }
77717 };
77718 A.SassColor_SassColor$hwb_toRgb0.prototype = {
77719 call$1(hue) {
77720 return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
77721 },
77722 $signature: 42
77723 };
77724 A._ColorFormatEnum0.prototype = {
77725 toString$0(_) {
77726 return this._color1$_name;
77727 }
77728 };
77729 A.SpanColorFormat0.prototype = {};
77730 A.ModifiableCssComment0.prototype = {
77731 accept$1$1(visitor) {
77732 return visitor.visitCssComment$1(this);
77733 },
77734 accept$1(visitor) {
77735 return this.accept$1$1(visitor, type$.dynamic);
77736 },
77737 $isCssComment0: 1,
77738 get$span(receiver) {
77739 return this.span;
77740 }
77741 };
77742 A.compileAsync_closure.prototype = {
77743 call$0() {
77744 var $async$goto = 0,
77745 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77746 $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, result, t1, t2, t3, t4;
77747 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77748 if ($async$errorCode === 1)
77749 return A._asyncRethrow($async$result, $async$completer);
77750 while (true)
77751 switch ($async$goto) {
77752 case 0:
77753 // Function start
77754 t1 = $async$self.options;
77755 t2 = t1 == null;
77756 t3 = t2 ? null : J.get$loadPaths$x(t1);
77757 t4 = t2 ? null : J.get$quietDeps$x(t1);
77758 if (t4 == null)
77759 t4 = false;
77760 t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77761 t6 = t2 ? null : J.get$verbose$x(t1);
77762 if (t6 == null)
77763 t6 = false;
77764 t7 = t2 ? null : J.get$sourceMap$x(t1);
77765 if (t7 == null)
77766 t7 = false;
77767 t8 = t2 ? null : J.get$logger$x(t1);
77768 t8 = new A.NodeToDartLogger(t8, new A.StderrLogger0($async$self.color), $async$self.ascii);
77769 if (t2)
77770 t9 = null;
77771 else {
77772 t9 = J.get$importers$x(t1);
77773 t9 = t9 == null ? null : J.map$1$1$ax(t9, new A.compileAsync__closure(), type$.AsyncImporter);
77774 }
77775 t10 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77776 $async$goto = 3;
77777 return A._asyncAwait(A.compileAsync0($async$self.path, true, t10, A.AsyncImportCache$(t9, t3, t8, null), null, null, t8, null, t4, t7, t5, null, true, t6), $async$call$0);
77778 case 3:
77779 // returning from await.
77780 result = $async$result;
77781 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77782 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77783 // goto return
77784 $async$goto = 1;
77785 break;
77786 case 1:
77787 // return
77788 return A._asyncReturn($async$returnValue, $async$completer);
77789 }
77790 });
77791 return A._asyncStartSync($async$call$0, $async$completer);
77792 },
77793 $signature: 205
77794 };
77795 A.compileAsync__closure.prototype = {
77796 call$1(importer) {
77797 return A._parseAsyncImporter(importer);
77798 },
77799 $signature: 206
77800 };
77801 A.compileStringAsync_closure.prototype = {
77802 call$0() {
77803 var $async$goto = 0,
77804 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77805 $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4, t5, t6;
77806 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77807 if ($async$errorCode === 1)
77808 return A._asyncRethrow($async$result, $async$completer);
77809 while (true)
77810 switch ($async$goto) {
77811 case 0:
77812 // Function start
77813 t1 = $async$self.options;
77814 t2 = t1 == null;
77815 t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
77816 t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
77817 t5 = t2 ? null : J.get$loadPaths$x(t1);
77818 t6 = t2 ? null : J.get$quietDeps$x(t1);
77819 if (t6 == null)
77820 t6 = false;
77821 t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77822 t8 = t2 ? null : J.get$verbose$x(t1);
77823 if (t8 == null)
77824 t8 = false;
77825 t9 = t2 ? null : J.get$sourceMap$x(t1);
77826 if (t9 == null)
77827 t9 = false;
77828 t10 = t2 ? null : J.get$logger$x(t1);
77829 t10 = new A.NodeToDartLogger(t10, new A.StderrLogger0($async$self.color), $async$self.ascii);
77830 if (t2)
77831 t11 = null;
77832 else {
77833 t11 = J.get$importers$x(t1);
77834 t11 = t11 == null ? null : J.map$1$1$ax(t11, new A.compileStringAsync__closure(), type$.AsyncImporter);
77835 }
77836 t12 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
77837 if (t12 == null)
77838 t12 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
77839 t13 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77840 $async$goto = 3;
77841 return A._asyncAwait(A.compileStringAsync0($async$self.text, true, t13, A.AsyncImportCache$(t11, t5, t10, null), t12, null, null, t10, null, t6, t9, t7, t3, t4, true, t8), $async$call$0);
77842 case 3:
77843 // returning from await.
77844 result = $async$result;
77845 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77846 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77847 // goto return
77848 $async$goto = 1;
77849 break;
77850 case 1:
77851 // return
77852 return A._asyncReturn($async$returnValue, $async$completer);
77853 }
77854 });
77855 return A._asyncStartSync($async$call$0, $async$completer);
77856 },
77857 $signature: 205
77858 };
77859 A.compileStringAsync__closure.prototype = {
77860 call$1(importer) {
77861 return A._parseAsyncImporter(importer);
77862 },
77863 $signature: 206
77864 };
77865 A.compileStringAsync__closure0.prototype = {
77866 call$1(importer) {
77867 return A._parseAsyncImporter(importer);
77868 },
77869 $signature: 376
77870 };
77871 A._wrapAsyncSassExceptions_closure.prototype = {
77872 call$1(error) {
77873 var t1;
77874 if (error instanceof A.SassException0)
77875 t1 = A.throwNodeException(error, this.ascii, this.color, null);
77876 else
77877 t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
77878 return t1;
77879 },
77880 $signature: 377
77881 };
77882 A._parseFunctions_closure0.prototype = {
77883 call$2(signature, callback) {
77884 var error, stackTrace, exception, t2, t3, t4, t1 = {};
77885 t1.tuple = null;
77886 try {
77887 t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
77888 } catch (exception) {
77889 t2 = A.unwrapException(exception);
77890 if (t2 instanceof A.SassFormatException0) {
77891 error = t2;
77892 stackTrace = A.getTraceFromException(exception);
77893 t2 = error;
77894 t3 = J.getInterceptor$z(t2);
77895 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
77896 } else
77897 throw exception;
77898 }
77899 t2 = this.result;
77900 t3 = t1.tuple;
77901 t4 = t3.item1;
77902 t3 = t3.item2;
77903 if (!this.asynch)
77904 t2.push(A.BuiltInCallable$parsed(t4, t3, new A._parseFunctions__closure2(t1, callback)));
77905 else
77906 t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
77907 },
77908 $signature: 111
77909 };
77910 A._parseFunctions__closure2.prototype = {
77911 call$1($arguments) {
77912 var t1, t2,
77913 _s42_ = string$.Invali,
77914 result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
77915 if (result instanceof A.Value0)
77916 return result;
77917 t1 = result != null && result instanceof self.Promise;
77918 t2 = this._box_0.tuple;
77919 if (t1)
77920 throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
77921 else
77922 throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77923 },
77924 $signature: 3
77925 };
77926 A._parseFunctions__closure3.prototype = {
77927 call$1($arguments) {
77928 return this.$call$body$_parseFunctions__closure0($arguments);
77929 },
77930 $call$body$_parseFunctions__closure0($arguments) {
77931 var $async$goto = 0,
77932 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
77933 $async$returnValue, $async$self = this, result;
77934 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77935 if ($async$errorCode === 1)
77936 return A._asyncRethrow($async$result, $async$completer);
77937 while (true)
77938 switch ($async$goto) {
77939 case 0:
77940 // Function start
77941 result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
77942 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
77943 break;
77944 case 3:
77945 // then
77946 $async$goto = 5;
77947 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
77948 case 5:
77949 // returning from await.
77950 result = $async$result;
77951 case 4:
77952 // join
77953 if (result instanceof A.Value0) {
77954 $async$returnValue = result;
77955 // goto return
77956 $async$goto = 1;
77957 break;
77958 }
77959 throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77960 case 1:
77961 // return
77962 return A._asyncReturn($async$returnValue, $async$completer);
77963 }
77964 });
77965 return A._asyncStartSync($async$call$1, $async$completer);
77966 },
77967 $signature: 99
77968 };
77969 A._compileStylesheet_closure1.prototype = {
77970 call$1(url) {
77971 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);
77972 },
77973 $signature: 5
77974 };
77975 A.CompileOptions.prototype = {};
77976 A.CompileStringOptions.prototype = {};
77977 A.NodeCompileResult.prototype = {};
77978 A.CompileResult0.prototype = {};
77979 A.ComplexSassNumber0.prototype = {
77980 get$numeratorUnits(_) {
77981 return this._complex1$_numeratorUnits;
77982 },
77983 get$denominatorUnits(_) {
77984 return this._complex1$_denominatorUnits;
77985 },
77986 get$hasUnits() {
77987 return true;
77988 },
77989 hasUnit$1(unit) {
77990 return false;
77991 },
77992 compatibleWithUnit$1(unit) {
77993 return false;
77994 },
77995 hasPossiblyCompatibleUnits$1(other) {
77996 throw A.wrapException(A.UnimplementedError$(string$.Comple));
77997 },
77998 withValue$1(value) {
77999 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, value, null);
78000 },
78001 withSlash$2(numerator, denominator) {
78002 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
78003 }
78004 };
78005 A.ComplexSelector0.prototype = {
78006 get$minSpecificity() {
78007 if (this._complex0$_minSpecificity == null)
78008 this._complex0$_computeSpecificity$0();
78009 var t1 = this._complex0$_minSpecificity;
78010 t1.toString;
78011 return t1;
78012 },
78013 get$maxSpecificity() {
78014 if (this._complex0$_maxSpecificity == null)
78015 this._complex0$_computeSpecificity$0();
78016 var t1 = this._complex0$_maxSpecificity;
78017 t1.toString;
78018 return t1;
78019 },
78020 get$isInvisible() {
78021 var result, _this = this,
78022 value = _this._complex0$__ComplexSelector_isInvisible;
78023 if (value === $) {
78024 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure0());
78025 A._lateInitializeOnceCheck(_this._complex0$__ComplexSelector_isInvisible, "isInvisible");
78026 _this._complex0$__ComplexSelector_isInvisible = result;
78027 value = result;
78028 }
78029 return value;
78030 },
78031 accept$1$1(visitor) {
78032 return visitor.visitComplexSelector$1(this);
78033 },
78034 accept$1(visitor) {
78035 return this.accept$1$1(visitor, type$.dynamic);
78036 },
78037 _complex0$_computeSpecificity$0() {
78038 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
78039 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
78040 component = t1[_i];
78041 if (component instanceof A.CompoundSelector0) {
78042 if (component._compound0$_minSpecificity == null)
78043 component._compound0$_computeSpecificity$0();
78044 t3 = component._compound0$_minSpecificity;
78045 t3.toString;
78046 minSpecificity += t3;
78047 if (component._compound0$_maxSpecificity == null)
78048 component._compound0$_computeSpecificity$0();
78049 t3 = component._compound0$_maxSpecificity;
78050 t3.toString;
78051 maxSpecificity += t3;
78052 }
78053 }
78054 this._complex0$_minSpecificity = minSpecificity;
78055 this._complex0$_maxSpecificity = maxSpecificity;
78056 },
78057 get$hashCode(_) {
78058 return B.C_ListEquality0.hash$1(this.components);
78059 },
78060 $eq(_, other) {
78061 if (other == null)
78062 return false;
78063 return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
78064 }
78065 };
78066 A.ComplexSelector_isInvisible_closure0.prototype = {
78067 call$1(component) {
78068 return component instanceof A.CompoundSelector0 && component.get$isInvisible();
78069 },
78070 $signature: 106
78071 };
78072 A.Combinator0.prototype = {
78073 toString$0(_) {
78074 return this._complex0$_text;
78075 },
78076 $isComplexSelectorComponent0: 1
78077 };
78078 A.CompoundSelector0.prototype = {
78079 get$isInvisible() {
78080 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure0());
78081 },
78082 accept$1$1(visitor) {
78083 return visitor.visitCompoundSelector$1(this);
78084 },
78085 accept$1(visitor) {
78086 return this.accept$1$1(visitor, type$.dynamic);
78087 },
78088 _compound0$_computeSpecificity$0() {
78089 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
78090 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
78091 simple = t1[_i];
78092 minSpecificity += simple.get$minSpecificity();
78093 maxSpecificity += simple.get$maxSpecificity();
78094 }
78095 this._compound0$_minSpecificity = minSpecificity;
78096 this._compound0$_maxSpecificity = maxSpecificity;
78097 },
78098 get$hashCode(_) {
78099 return B.C_ListEquality0.hash$1(this.components);
78100 },
78101 $eq(_, other) {
78102 if (other == null)
78103 return false;
78104 return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
78105 },
78106 $isComplexSelectorComponent0: 1
78107 };
78108 A.CompoundSelector_isInvisible_closure0.prototype = {
78109 call$1(component) {
78110 return component.get$isInvisible();
78111 },
78112 $signature: 15
78113 };
78114 A.Configuration0.prototype = {
78115 throughForward$1($forward) {
78116 var prefix, shownVariables, hiddenVariables, t1,
78117 newValues = this._configuration$_values;
78118 if (newValues.get$isEmpty(newValues))
78119 return B.Configuration_Map_empty0;
78120 prefix = $forward.prefix;
78121 if (prefix != null)
78122 newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
78123 shownVariables = $forward.shownVariables;
78124 hiddenVariables = $forward.hiddenVariables;
78125 if (shownVariables != null)
78126 newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
78127 else {
78128 if (hiddenVariables != null) {
78129 t1 = hiddenVariables._base;
78130 t1 = t1.get$isNotEmpty(t1);
78131 } else
78132 t1 = false;
78133 if (t1)
78134 newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
78135 }
78136 return this._configuration$_withValues$1(newValues);
78137 },
78138 _configuration$_withValues$1(values) {
78139 return new A.Configuration0(values);
78140 },
78141 toString$0(_) {
78142 var t1 = this._configuration$_values;
78143 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
78144 }
78145 };
78146 A.Configuration_toString_closure0.prototype = {
78147 call$1(entry) {
78148 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
78149 },
78150 $signature: 380
78151 };
78152 A.ExplicitConfiguration0.prototype = {
78153 _configuration$_withValues$1(values) {
78154 return new A.ExplicitConfiguration0(this.nodeWithSpan, values);
78155 }
78156 };
78157 A.ConfiguredValue0.prototype = {
78158 toString$0(_) {
78159 return A.serializeValue0(this.value, true, true);
78160 }
78161 };
78162 A.ConfiguredVariable0.prototype = {
78163 toString$0(_) {
78164 var t1 = this.expression.toString$0(0),
78165 t2 = this.isGuarded ? " !default" : "";
78166 return "$" + this.name + ": " + t1 + t2;
78167 },
78168 $isAstNode0: 1,
78169 get$span(receiver) {
78170 return this.span;
78171 }
78172 };
78173 A.ContentBlock0.prototype = {
78174 accept$1$1(visitor) {
78175 return visitor.visitContentBlock$1(this);
78176 },
78177 accept$1(visitor) {
78178 return this.accept$1$1(visitor, type$.dynamic);
78179 },
78180 toString$0(_) {
78181 var t2,
78182 t1 = this.$arguments;
78183 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
78184 t2 = this.children;
78185 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
78186 }
78187 };
78188 A.ContentRule0.prototype = {
78189 accept$1$1(visitor) {
78190 return visitor.visitContentRule$1(this);
78191 },
78192 accept$1(visitor) {
78193 return this.accept$1$1(visitor, type$.dynamic);
78194 },
78195 toString$0(_) {
78196 var t1 = this.$arguments;
78197 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
78198 },
78199 $isAstNode0: 1,
78200 $isStatement0: 1,
78201 get$span(receiver) {
78202 return this.span;
78203 }
78204 };
78205 A._disallowedFunctionNames_closure0.prototype = {
78206 call$1($function) {
78207 return $function.name;
78208 },
78209 $signature: 381
78210 };
78211 A.CssParser0.prototype = {
78212 get$plainCss() {
78213 return true;
78214 },
78215 silentComment$0() {
78216 var t1 = this.scanner,
78217 t2 = t1._string_scanner$_position;
78218 this.super$Parser$silentComment0();
78219 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
78220 },
78221 atRule$2$root(child, root) {
78222 var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
78223 t1 = _this.scanner,
78224 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
78225 t1.expectChar$1(64);
78226 $name = _this.interpolatedIdentifier$0();
78227 _this.whitespace$0();
78228 switch ($name.get$asPlain()) {
78229 case "at-root":
78230 case "content":
78231 case "debug":
78232 case "each":
78233 case "error":
78234 case "extend":
78235 case "for":
78236 case "function":
78237 case "if":
78238 case "include":
78239 case "mixin":
78240 case "return":
78241 case "warn":
78242 case "while":
78243 _this.almostAnyValue$0();
78244 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
78245 break;
78246 case "import":
78247 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
78248 next = t1.peekChar$0();
78249 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
78250 urlSpan = t1.spanFrom$1(urlStart);
78251 _this.whitespace$0();
78252 modifiers = _this.tryImportModifiers$0();
78253 _this.expectStatementSeparator$1("@import rule");
78254 t2 = A._setArrayType([new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import_2);
78255 t1 = t1.spanFrom$1(start);
78256 return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
78257 case "media":
78258 return _this.mediaRule$1(start);
78259 case "-moz-document":
78260 return _this.mozDocumentRule$2(start, $name);
78261 case "supports":
78262 return _this.supportsRule$1(start);
78263 default:
78264 return _this.unknownAtRule$2(start, $name);
78265 }
78266 },
78267 identifierLike$0() {
78268 var t2, $arguments, t3, t4, _this = this,
78269 t1 = _this.scanner,
78270 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
78271 identifier = _this.interpolatedIdentifier$0(),
78272 plain = identifier.get$asPlain(),
78273 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
78274 if (specialFunction != null)
78275 return specialFunction;
78276 t2 = t1._string_scanner$_position;
78277 if (!t1.scanChar$1(40))
78278 return new A.StringExpression0(identifier, false);
78279 $arguments = A._setArrayType([], type$.JSArray_Expression_2);
78280 if (!t1.scanChar$1(41)) {
78281 do {
78282 _this.whitespace$0();
78283 $arguments.push(_this.expression$1$singleEquals(true));
78284 _this.whitespace$0();
78285 } while (t1.scanChar$1(44));
78286 t1.expectChar$1(41);
78287 }
78288 if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
78289 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
78290 t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
78291 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
78292 t4 = type$.Expression_2;
78293 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));
78294 },
78295 namespacedExpression$2(namespace, start) {
78296 var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
78297 this.error$2(0, string$.Modulen, expression.get$span(expression));
78298 }
78299 };
78300 A.DebugRule0.prototype = {
78301 accept$1$1(visitor) {
78302 return visitor.visitDebugRule$1(this);
78303 },
78304 accept$1(visitor) {
78305 return this.accept$1$1(visitor, type$.dynamic);
78306 },
78307 toString$0(_) {
78308 return "@debug " + this.expression.toString$0(0) + ";";
78309 },
78310 $isAstNode0: 1,
78311 $isStatement0: 1,
78312 get$span(receiver) {
78313 return this.span;
78314 }
78315 };
78316 A.ModifiableCssDeclaration0.prototype = {
78317 accept$1$1(visitor) {
78318 return visitor.visitCssDeclaration$1(this);
78319 },
78320 accept$1(visitor) {
78321 return this.accept$1$1(visitor, type$.dynamic);
78322 },
78323 toString$0(_) {
78324 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
78325 },
78326 get$span(receiver) {
78327 return this.span;
78328 }
78329 };
78330 A.Declaration0.prototype = {
78331 accept$1$1(visitor) {
78332 return visitor.visitDeclaration$1(this);
78333 },
78334 accept$1(visitor) {
78335 return this.accept$1$1(visitor, type$.dynamic);
78336 },
78337 toString$0(_) {
78338 var t3, children,
78339 buffer = new A.StringBuffer(""),
78340 t1 = this.name,
78341 t2 = "" + t1.toString$0(0);
78342 buffer._contents = t2;
78343 t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
78344 t3 = this.value;
78345 if (t3 != null) {
78346 t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
78347 buffer._contents = t1 + t3.toString$0(0);
78348 }
78349 children = this.children;
78350 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
78351 },
78352 get$span(receiver) {
78353 return this.span;
78354 }
78355 };
78356 A.SupportsDeclaration0.prototype = {
78357 get$isCustomProperty() {
78358 var $name = this.name;
78359 return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
78360 },
78361 toString$0(_) {
78362 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
78363 },
78364 $isAstNode0: 1,
78365 get$span(receiver) {
78366 return this.span;
78367 }
78368 };
78369 A.DynamicImport0.prototype = {
78370 toString$0(_) {
78371 return A.StringExpression_quoteText0(this.urlString);
78372 },
78373 $isImport0: 1,
78374 $isAstNode0: 1,
78375 get$span(receiver) {
78376 return this.span;
78377 }
78378 };
78379 A.EachRule0.prototype = {
78380 accept$1$1(visitor) {
78381 return visitor.visitEachRule$1(this);
78382 },
78383 accept$1(visitor) {
78384 return this.accept$1$1(visitor, type$.dynamic);
78385 },
78386 toString$0(_) {
78387 var t1 = this.variables,
78388 t2 = this.children;
78389 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, " ") + "}";
78390 },
78391 get$span(receiver) {
78392 return this.span;
78393 }
78394 };
78395 A.EachRule_toString_closure0.prototype = {
78396 call$1(variable) {
78397 return "$" + variable;
78398 },
78399 $signature: 5
78400 };
78401 A.EmptyExtensionStore0.prototype = {
78402 get$isEmpty(_) {
78403 return true;
78404 },
78405 get$simpleSelectors() {
78406 return B.C_EmptyUnmodifiableSet0;
78407 },
78408 extensionsWhereTarget$1(callback) {
78409 return B.List_empty12;
78410 },
78411 addSelector$3(selector, span, mediaContext) {
78412 throw A.wrapException(A.UnsupportedError$(string$.addSel));
78413 },
78414 addExtension$4(extender, target, extend, mediaContext) {
78415 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
78416 },
78417 addExtensions$1(extenders) {
78418 throw A.wrapException(A.UnsupportedError$(string$.addExts));
78419 },
78420 clone$0() {
78421 return B.Tuple2_EmptyExtensionStore_Map_empty0;
78422 },
78423 $isExtensionStore0: 1
78424 };
78425 A.Environment0.prototype = {
78426 closure$0() {
78427 var t4, t5, t6, _this = this,
78428 t1 = _this._environment0$_forwardedModules,
78429 t2 = _this._environment0$_nestedForwardedModules,
78430 t3 = _this._environment0$_variables;
78431 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
78432 t4 = _this._environment0$_variableNodes;
78433 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
78434 t5 = _this._environment0$_functions;
78435 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
78436 t6 = _this._environment0$_mixins;
78437 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
78438 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);
78439 },
78440 addModule$3$namespace(module, nodeWithSpan, namespace) {
78441 var t1, t2, span, _this = this;
78442 if (namespace == null) {
78443 _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
78444 _this._environment0$_allModules.push(module);
78445 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
78446 t2 = t1.get$current(t1);
78447 if (module.get$variables().containsKey$1(t2))
78448 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
78449 }
78450 } else {
78451 t1 = _this._environment0$_modules;
78452 if (t1.containsKey$1(namespace)) {
78453 t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
78454 span = t1 == null ? null : t1.span;
78455 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78456 if (span != null)
78457 t1.$indexSet(0, span, "original @use");
78458 throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
78459 }
78460 t1.$indexSet(0, namespace, module);
78461 _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
78462 _this._environment0$_allModules.push(module);
78463 }
78464 },
78465 forwardModule$2(module, rule) {
78466 var view, t1, t2, _this = this,
78467 forwardedModules = _this._environment0$_forwardedModules;
78468 if (forwardedModules == null)
78469 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78470 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
78471 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
78472 t2 = t1.__js_helper$_current;
78473 _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
78474 _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
78475 _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
78476 }
78477 _this._environment0$_allModules.push(module);
78478 forwardedModules.$indexSet(0, view, rule);
78479 },
78480 _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
78481 var larger, smaller, t1, t2, $name, span;
78482 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
78483 larger = oldMembers;
78484 smaller = newMembers;
78485 } else {
78486 larger = newMembers;
78487 smaller = oldMembers;
78488 }
78489 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
78490 $name = t1.get$current(t1);
78491 if (!larger.containsKey$1($name))
78492 continue;
78493 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
78494 continue;
78495 if (t2)
78496 $name = "$" + $name;
78497 t1 = this._environment0$_forwardedModules;
78498 if (t1 == null)
78499 span = null;
78500 else {
78501 t1 = t1.$index(0, oldModule);
78502 span = t1 == null ? null : J.get$span$z(t1);
78503 }
78504 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78505 if (span != null)
78506 t1.$indexSet(0, span, "original @forward");
78507 throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
78508 }
78509 },
78510 importForwards$1(module) {
78511 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
78512 forwarded = module._environment0$_environment._environment0$_forwardedModules;
78513 if (forwarded == null)
78514 return;
78515 forwardedModules = _this._environment0$_forwardedModules;
78516 if (forwardedModules != null) {
78517 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78518 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
78519 t4 = t2.get$current(t2);
78520 t5 = t4.key;
78521 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
78522 t1.$indexSet(0, t5, t4.value);
78523 }
78524 forwarded = t1;
78525 } else
78526 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78527 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
78528 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
78529 t3 = t2._eval$1("Iterable.E");
78530 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure2(), t2), t3);
78531 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure3(), t2), t3);
78532 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure4(), t2), t3);
78533 t2 = _this._environment0$_variables;
78534 t3 = t2.length;
78535 if (t3 === 1) {
78536 for (t1 = _this._environment0$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.Callable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
78537 entry = t3[_i];
78538 module = entry.key;
78539 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78540 if (shadowed != null) {
78541 t1.remove$1(0, module);
78542 t6 = shadowed.variables;
78543 if (t6.get$isEmpty(t6)) {
78544 t6 = shadowed.functions;
78545 if (t6.get$isEmpty(t6)) {
78546 t6 = shadowed.mixins;
78547 if (t6.get$isEmpty(t6)) {
78548 t6 = shadowed._shadowed_view0$_inner;
78549 t6 = t6.get$css(t6);
78550 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78551 } else
78552 t6 = false;
78553 } else
78554 t6 = false;
78555 } else
78556 t6 = false;
78557 if (!t6)
78558 t1.$indexSet(0, shadowed, entry.value);
78559 }
78560 }
78561 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) {
78562 entry = t3[_i];
78563 module = entry.key;
78564 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78565 if (shadowed != null) {
78566 forwardedModules.remove$1(0, module);
78567 t6 = shadowed.variables;
78568 if (t6.get$isEmpty(t6)) {
78569 t6 = shadowed.functions;
78570 if (t6.get$isEmpty(t6)) {
78571 t6 = shadowed.mixins;
78572 if (t6.get$isEmpty(t6)) {
78573 t6 = shadowed._shadowed_view0$_inner;
78574 t6 = t6.get$css(t6);
78575 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78576 } else
78577 t6 = false;
78578 } else
78579 t6 = false;
78580 } else
78581 t6 = false;
78582 if (!t6)
78583 forwardedModules.$indexSet(0, shadowed, entry.value);
78584 }
78585 }
78586 t1.addAll$1(0, forwarded);
78587 forwardedModules.addAll$1(0, forwarded);
78588 } else {
78589 t4 = _this._environment0$_nestedForwardedModules;
78590 if (t4 == null) {
78591 _length = t3 - 1;
78592 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
78593 for (t3 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
78594 _list[_i] = A._setArrayType([], t3);
78595 _this._environment0$_nestedForwardedModules = _list;
78596 t3 = _list;
78597 } else
78598 t3 = t4;
78599 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
78600 }
78601 for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._environment0$_variableIndices, t4 = _this._environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78602 t6 = t1._collection$_current;
78603 if (t6 == null)
78604 t6 = t5._as(t6);
78605 t3.remove$1(0, t6);
78606 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
78607 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
78608 }
78609 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._environment0$_functionIndices, t3 = _this._environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78610 t5 = t1._collection$_current;
78611 if (t5 == null)
78612 t5 = t4._as(t5);
78613 t2.remove$1(0, t5);
78614 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
78615 }
78616 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78617 t5 = t1._collection$_current;
78618 if (t5 == null)
78619 t5 = t4._as(t5);
78620 t2.remove$1(0, t5);
78621 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
78622 }
78623 },
78624 getVariable$2$namespace($name, namespace) {
78625 var t1, index, _this = this;
78626 if (namespace != null)
78627 return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
78628 if (_this._environment0$_lastVariableName === $name) {
78629 t1 = _this._environment0$_lastVariableIndex;
78630 t1.toString;
78631 t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
78632 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78633 }
78634 t1 = _this._environment0$_variableIndices;
78635 index = t1.$index(0, $name);
78636 if (index != null) {
78637 _this._environment0$_lastVariableName = $name;
78638 _this._environment0$_lastVariableIndex = index;
78639 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78640 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78641 }
78642 index = _this._environment0$_variableIndex$1($name);
78643 if (index == null)
78644 return _this._environment0$_getVariableFromGlobalModule$1($name);
78645 _this._environment0$_lastVariableName = $name;
78646 _this._environment0$_lastVariableIndex = index;
78647 t1.$indexSet(0, $name, index);
78648 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78649 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78650 },
78651 getVariable$1($name) {
78652 return this.getVariable$2$namespace($name, null);
78653 },
78654 _environment0$_getVariableFromGlobalModule$1($name) {
78655 return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
78656 },
78657 getVariableNode$2$namespace($name, namespace) {
78658 var t1, index, _this = this;
78659 if (namespace != null)
78660 return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
78661 if (_this._environment0$_lastVariableName === $name) {
78662 t1 = _this._environment0$_lastVariableIndex;
78663 t1.toString;
78664 t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
78665 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78666 }
78667 t1 = _this._environment0$_variableIndices;
78668 index = t1.$index(0, $name);
78669 if (index != null) {
78670 _this._environment0$_lastVariableName = $name;
78671 _this._environment0$_lastVariableIndex = index;
78672 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78673 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78674 }
78675 index = _this._environment0$_variableIndex$1($name);
78676 if (index == null)
78677 return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
78678 _this._environment0$_lastVariableName = $name;
78679 _this._environment0$_lastVariableIndex = index;
78680 t1.$indexSet(0, $name, index);
78681 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78682 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78683 },
78684 _environment0$_getVariableNodeFromGlobalModule$1($name) {
78685 var t1, t2, value;
78686 for (t1 = this._environment0$_importedModules, t2 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
78687 t1 = t2._currentIterator;
78688 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
78689 if (value != null)
78690 return value;
78691 }
78692 return null;
78693 },
78694 globalVariableExists$2$namespace($name, namespace) {
78695 if (namespace != null)
78696 return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
78697 if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
78698 return true;
78699 return this._environment0$_getVariableFromGlobalModule$1($name) != null;
78700 },
78701 globalVariableExists$1($name) {
78702 return this.globalVariableExists$2$namespace($name, null);
78703 },
78704 _environment0$_variableIndex$1($name) {
78705 var t1, i;
78706 for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
78707 if (t1[i].containsKey$1($name))
78708 return i;
78709 return null;
78710 },
78711 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
78712 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
78713 if (namespace != null) {
78714 _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
78715 return;
78716 }
78717 if (global || _this._environment0$_variables.length === 1) {
78718 _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
78719 t1 = _this._environment0$_variables;
78720 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
78721 moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
78722 if (moduleWithName != null) {
78723 moduleWithName.setVariable$3($name, value, nodeWithSpan);
78724 return;
78725 }
78726 }
78727 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
78728 J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
78729 return;
78730 }
78731 nestedForwardedModules = _this._environment0$_nestedForwardedModules;
78732 if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
78733 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();) {
78734 t3 = t1.__internal$_current;
78735 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
78736 t5 = t3.__internal$_current;
78737 if (t5 == null)
78738 t5 = t4._as(t5);
78739 if (t5.get$variables().containsKey$1($name)) {
78740 t5.setVariable$3($name, value, nodeWithSpan);
78741 return;
78742 }
78743 }
78744 }
78745 if (_this._environment0$_lastVariableName === $name) {
78746 t1 = _this._environment0$_lastVariableIndex;
78747 t1.toString;
78748 index = t1;
78749 } else
78750 index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
78751 if (!_this._environment0$_inSemiGlobalScope && index === 0) {
78752 index = _this._environment0$_variables.length - 1;
78753 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78754 }
78755 _this._environment0$_lastVariableName = $name;
78756 _this._environment0$_lastVariableIndex = index;
78757 J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
78758 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78759 },
78760 setVariable$4$global($name, value, nodeWithSpan, global) {
78761 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
78762 },
78763 setLocalVariable$3($name, value, nodeWithSpan) {
78764 var index, _this = this,
78765 t1 = _this._environment0$_variables,
78766 t2 = t1.length;
78767 _this._environment0$_lastVariableName = $name;
78768 index = _this._environment0$_lastVariableIndex = t2 - 1;
78769 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78770 J.$indexSet$ax(t1[index], $name, value);
78771 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78772 },
78773 getFunction$2$namespace($name, namespace) {
78774 var t1, index, _this = this;
78775 if (namespace != null) {
78776 t1 = _this._environment0$_getModule$1(namespace);
78777 return t1.get$functions(t1).$index(0, $name);
78778 }
78779 t1 = _this._environment0$_functionIndices;
78780 index = t1.$index(0, $name);
78781 if (index != null) {
78782 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78783 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78784 }
78785 index = _this._environment0$_functionIndex$1($name);
78786 if (index == null)
78787 return _this._environment0$_getFunctionFromGlobalModule$1($name);
78788 t1.$indexSet(0, $name, index);
78789 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78790 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78791 },
78792 _environment0$_getFunctionFromGlobalModule$1($name) {
78793 return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
78794 },
78795 _environment0$_functionIndex$1($name) {
78796 var t1, i;
78797 for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
78798 if (t1[i].containsKey$1($name))
78799 return i;
78800 return null;
78801 },
78802 getMixin$2$namespace($name, namespace) {
78803 var t1, index, _this = this;
78804 if (namespace != null)
78805 return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
78806 t1 = _this._environment0$_mixinIndices;
78807 index = t1.$index(0, $name);
78808 if (index != null) {
78809 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78810 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78811 }
78812 index = _this._environment0$_mixinIndex$1($name);
78813 if (index == null)
78814 return _this._environment0$_getMixinFromGlobalModule$1($name);
78815 t1.$indexSet(0, $name, index);
78816 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78817 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78818 },
78819 _environment0$_getMixinFromGlobalModule$1($name) {
78820 return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
78821 },
78822 _environment0$_mixinIndex$1($name) {
78823 var t1, i;
78824 for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
78825 if (t1[i].containsKey$1($name))
78826 return i;
78827 return null;
78828 },
78829 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
78830 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
78831 semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
78832 wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
78833 _this._environment0$_inSemiGlobalScope = semiGlobal;
78834 if (!when)
78835 try {
78836 t1 = callback.call$0();
78837 return t1;
78838 } finally {
78839 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78840 }
78841 t1 = _this._environment0$_variables;
78842 t2 = type$.String;
78843 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
78844 t3 = _this._environment0$_variableNodes;
78845 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
78846 t4 = _this._environment0$_functions;
78847 t5 = type$.Callable_2;
78848 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
78849 t6 = _this._environment0$_mixins;
78850 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
78851 t5 = _this._environment0$_nestedForwardedModules;
78852 if (t5 != null)
78853 t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
78854 try {
78855 t2 = callback.call$0();
78856 return t2;
78857 } finally {
78858 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78859 _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
78860 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
78861 $name = t1.get$current(t1);
78862 t2.remove$1(0, $name);
78863 }
78864 B.JSArray_methods.removeLast$0(t3);
78865 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
78866 name0 = t1.get$current(t1);
78867 t2.remove$1(0, name0);
78868 }
78869 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
78870 name1 = t1.get$current(t1);
78871 t2.remove$1(0, name1);
78872 }
78873 t1 = _this._environment0$_nestedForwardedModules;
78874 if (t1 != null)
78875 t1.pop();
78876 }
78877 },
78878 scope$1$1(callback, $T) {
78879 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
78880 },
78881 scope$1$2$when(callback, when, $T) {
78882 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
78883 },
78884 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
78885 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
78886 },
78887 toImplicitConfiguration$0() {
78888 var t1, t2, i, values, nodes, t3, t4, t5, t6,
78889 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
78890 for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
78891 values = t1[i];
78892 nodes = t2[i];
78893 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
78894 t4 = t3.get$current(t3);
78895 t5 = t4.key;
78896 t4 = t4.value;
78897 t6 = nodes.$index(0, t5);
78898 t6.toString;
78899 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
78900 }
78901 }
78902 return new A.Configuration0(configuration);
78903 },
78904 toModule$2(css, extensionStore) {
78905 return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
78906 },
78907 toDummyModule$0() {
78908 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()));
78909 },
78910 _environment0$_getModule$1(namespace) {
78911 var module = this._environment0$_modules.$index(0, namespace);
78912 if (module != null)
78913 return module;
78914 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
78915 },
78916 _environment0$_fromOneModule$1$3($name, type, callback, $T) {
78917 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
78918 nestedForwardedModules = this._environment0$_nestedForwardedModules;
78919 if (nestedForwardedModules != null)
78920 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();) {
78921 t3 = t1.__internal$_current;
78922 for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
78923 t5 = t3.__internal$_current;
78924 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
78925 if (value != null)
78926 return value;
78927 }
78928 }
78929 for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
78930 value = callback.call$1(t1.__js_helper$_current);
78931 if (value != null)
78932 return value;
78933 }
78934 for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
78935 t4 = t2.__js_helper$_current;
78936 valueInModule = callback.call$1(t4);
78937 if (valueInModule == null)
78938 continue;
78939 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
78940 if (identityFromModule.$eq(0, identity))
78941 continue;
78942 if (value != null) {
78943 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
78944 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78945 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
78946 t4 = t1.get$current(t1);
78947 if (t4 != null)
78948 t2.$indexSet(0, t4, t3);
78949 }
78950 throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
78951 }
78952 identity = identityFromModule;
78953 value = valueInModule;
78954 }
78955 return value;
78956 }
78957 };
78958 A.Environment_importForwards_closure2.prototype = {
78959 call$1(module) {
78960 var t1 = module.get$variables();
78961 return t1.get$keys(t1);
78962 },
78963 $signature: 102
78964 };
78965 A.Environment_importForwards_closure3.prototype = {
78966 call$1(module) {
78967 var t1 = module.get$functions(module);
78968 return t1.get$keys(t1);
78969 },
78970 $signature: 102
78971 };
78972 A.Environment_importForwards_closure4.prototype = {
78973 call$1(module) {
78974 var t1 = module.get$mixins();
78975 return t1.get$keys(t1);
78976 },
78977 $signature: 102
78978 };
78979 A.Environment__getVariableFromGlobalModule_closure0.prototype = {
78980 call$1(module) {
78981 return module.get$variables().$index(0, this.name);
78982 },
78983 $signature: 384
78984 };
78985 A.Environment_setVariable_closure2.prototype = {
78986 call$0() {
78987 var t1 = this.$this;
78988 t1._environment0$_lastVariableName = this.name;
78989 return t1._environment0$_lastVariableIndex = 0;
78990 },
78991 $signature: 12
78992 };
78993 A.Environment_setVariable_closure3.prototype = {
78994 call$1(module) {
78995 return module.get$variables().containsKey$1(this.name) ? module : null;
78996 },
78997 $signature: 385
78998 };
78999 A.Environment_setVariable_closure4.prototype = {
79000 call$0() {
79001 var t1 = this.$this,
79002 t2 = t1._environment0$_variableIndex$1(this.name);
79003 return t2 == null ? t1._environment0$_variables.length - 1 : t2;
79004 },
79005 $signature: 12
79006 };
79007 A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
79008 call$1(module) {
79009 return module.get$functions(module).$index(0, this.name);
79010 },
79011 $signature: 211
79012 };
79013 A.Environment__getMixinFromGlobalModule_closure0.prototype = {
79014 call$1(module) {
79015 return module.get$mixins().$index(0, this.name);
79016 },
79017 $signature: 211
79018 };
79019 A.Environment_toModule_closure0.prototype = {
79020 call$1(modules) {
79021 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
79022 },
79023 $signature: 212
79024 };
79025 A.Environment_toDummyModule_closure0.prototype = {
79026 call$1(modules) {
79027 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
79028 },
79029 $signature: 212
79030 };
79031 A.Environment__fromOneModule_closure0.prototype = {
79032 call$1(entry) {
79033 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
79034 },
79035 $signature: 388
79036 };
79037 A.Environment__fromOneModule__closure0.prototype = {
79038 call$1(_) {
79039 return J.get$span$z(this.entry.value);
79040 },
79041 $signature() {
79042 return this.T._eval$1("FileSpan(0)");
79043 }
79044 };
79045 A._EnvironmentModule1.prototype = {
79046 get$url(_) {
79047 var t1 = this.css;
79048 return t1.get$span(t1).file.url;
79049 },
79050 setVariable$3($name, value, nodeWithSpan) {
79051 var t1, t2,
79052 module = this._environment0$_modulesByVariable.$index(0, $name);
79053 if (module != null) {
79054 module.setVariable$3($name, value, nodeWithSpan);
79055 return;
79056 }
79057 t1 = this._environment0$_environment;
79058 t2 = t1._environment0$_variables;
79059 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
79060 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
79061 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
79062 J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
79063 return;
79064 },
79065 variableIdentity$1($name) {
79066 var module = this._environment0$_modulesByVariable.$index(0, $name);
79067 return module == null ? this : module.variableIdentity$1($name);
79068 },
79069 cloneCss$0() {
79070 var newCssAndExtensionStore, _this = this,
79071 t1 = _this.css;
79072 if (J.get$isEmpty$asx(t1.get$children(t1)))
79073 return _this;
79074 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
79075 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);
79076 },
79077 toString$0(_) {
79078 var t1 = this.css;
79079 if (t1.get$span(t1).file.url == null)
79080 t1 = "<unknown url>";
79081 else {
79082 t1 = t1.get$span(t1);
79083 t1 = $.$get$context().prettyUri$1(t1.file.url);
79084 }
79085 return t1;
79086 },
79087 $isModule0: 1,
79088 get$upstream() {
79089 return this.upstream;
79090 },
79091 get$variables() {
79092 return this.variables;
79093 },
79094 get$variableNodes() {
79095 return this.variableNodes;
79096 },
79097 get$functions(receiver) {
79098 return this.functions;
79099 },
79100 get$mixins() {
79101 return this.mixins;
79102 },
79103 get$extensionStore() {
79104 return this.extensionStore;
79105 },
79106 get$css(receiver) {
79107 return this.css;
79108 },
79109 get$transitivelyContainsCss() {
79110 return this.transitivelyContainsCss;
79111 },
79112 get$transitivelyContainsExtensions() {
79113 return this.transitivelyContainsExtensions;
79114 }
79115 };
79116 A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
79117 call$1(module) {
79118 return module.get$variables();
79119 },
79120 $signature: 389
79121 };
79122 A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
79123 call$1(module) {
79124 return module.get$variableNodes();
79125 },
79126 $signature: 390
79127 };
79128 A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
79129 call$1(module) {
79130 return module.get$functions(module);
79131 },
79132 $signature: 213
79133 };
79134 A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
79135 call$1(module) {
79136 return module.get$mixins();
79137 },
79138 $signature: 213
79139 };
79140 A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
79141 call$1(module) {
79142 return module.get$transitivelyContainsCss();
79143 },
79144 $signature: 142
79145 };
79146 A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
79147 call$1(module) {
79148 return module.get$transitivelyContainsExtensions();
79149 },
79150 $signature: 142
79151 };
79152 A.ErrorRule0.prototype = {
79153 accept$1$1(visitor) {
79154 return visitor.visitErrorRule$1(this);
79155 },
79156 accept$1(visitor) {
79157 return this.accept$1$1(visitor, type$.dynamic);
79158 },
79159 toString$0(_) {
79160 return "@error " + this.expression.toString$0(0) + ";";
79161 },
79162 $isAstNode0: 1,
79163 $isStatement0: 1,
79164 get$span(receiver) {
79165 return this.span;
79166 }
79167 };
79168 A._EvaluateVisitor1.prototype = {
79169 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
79170 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
79171 _s20_ = "$name, $module: null",
79172 _s9_ = "sass:meta",
79173 t1 = type$.JSArray_BuiltInCallable_2,
79174 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),
79175 metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
79176 t1 = type$.BuiltInCallable_2;
79177 t2 = A.List_List$of($.$get$global6(), true, t1);
79178 B.JSArray_methods.addAll$1(t2, $.$get$local0());
79179 B.JSArray_methods.addAll$1(t2, metaFunctions);
79180 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
79181 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) {
79182 module = t1[_i];
79183 t3.$indexSet(0, module.url, module);
79184 }
79185 t1 = A._setArrayType([], type$.JSArray_Callable_2);
79186 B.JSArray_methods.addAll$1(t1, functions);
79187 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
79188 B.JSArray_methods.addAll$1(t1, metaFunctions);
79189 for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
79190 $function = t1[_i];
79191 t4 = J.get$name$x($function);
79192 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
79193 }
79194 },
79195 run$2(_, importer, node) {
79196 var t1 = type$.nullable_Object;
79197 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);
79198 },
79199 _evaluate0$_assertInModule$1$2(value, $name) {
79200 if (value != null)
79201 return value;
79202 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
79203 },
79204 _evaluate0$_assertInModule$2(value, $name) {
79205 return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
79206 },
79207 _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
79208 var t1, t2, _this = this,
79209 builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
79210 if (builtInModule != null) {
79211 if (configuration instanceof A.ExplicitConfiguration0) {
79212 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
79213 t2 = configuration.nodeWithSpan;
79214 throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
79215 }
79216 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
79217 return;
79218 }
79219 _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
79220 },
79221 _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
79222 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
79223 },
79224 _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
79225 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
79226 },
79227 _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
79228 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
79229 url = stylesheet.span.file.url,
79230 t1 = _this._evaluate0$_modules,
79231 alreadyLoaded = t1.$index(0, url);
79232 if (alreadyLoaded != null) {
79233 t1 = configuration == null;
79234 currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
79235 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
79236 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
79237 t2 = _this._evaluate0$_moduleNodes.$index(0, url);
79238 existingSpan = t2 == null ? null : J.get$span$z(t2);
79239 if (t1) {
79240 t1 = currentConfiguration.nodeWithSpan;
79241 configurationSpan = t1.get$span(t1);
79242 } else
79243 configurationSpan = null;
79244 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79245 if (existingSpan != null)
79246 t1.$indexSet(0, existingSpan, "original load");
79247 if (configurationSpan != null)
79248 t1.$indexSet(0, configurationSpan, "configuration");
79249 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
79250 }
79251 return alreadyLoaded;
79252 }
79253 environment = A.Environment$0();
79254 css = A._Cell$();
79255 extensionStore = A.ExtensionStore$0();
79256 _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
79257 module = environment.toModule$2(css._readLocal$0(), extensionStore);
79258 if (url != null) {
79259 t1.$indexSet(0, url, module);
79260 if (nodeWithSpan != null)
79261 _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
79262 }
79263 return module;
79264 },
79265 _evaluate0$_execute$2(importer, stylesheet) {
79266 return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
79267 },
79268 _evaluate0$_addOutOfOrderImports$0() {
79269 var t1, t2, _this = this, _s5_ = "_root",
79270 _s13_ = "_endOfImports",
79271 outOfOrderImports = _this._evaluate0$_outOfOrderImports;
79272 if (outOfOrderImports == null)
79273 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79274 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79275 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);
79276 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
79277 t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79278 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
79279 return t1;
79280 },
79281 _evaluate0$_combineCss$2$clone(root, clone) {
79282 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
79283 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
79284 selectors = root.get$extensionStore().get$simpleSelectors();
79285 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
79286 if (unsatisfiedExtension != null)
79287 _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
79288 return root.get$css(root);
79289 }
79290 sortedModules = _this._evaluate0$_topologicalModules$1(root);
79291 if (clone) {
79292 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
79293 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
79294 }
79295 _this._evaluate0$_extendModules$1(sortedModules);
79296 t1 = type$.JSArray_CssNode_2;
79297 imports = A._setArrayType([], t1);
79298 css = A._setArrayType([], t1);
79299 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
79300 t3 = t1.__internal$_current;
79301 if (t3 == null)
79302 t3 = t2._as(t3);
79303 t3 = t3.get$css(t3);
79304 statements = t3.get$children(t3);
79305 index = _this._evaluate0$_indexAfterImports$1(statements);
79306 t3 = J.getInterceptor$ax(statements);
79307 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
79308 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
79309 }
79310 t1 = B.JSArray_methods.$add(imports, css);
79311 t2 = root.get$css(root);
79312 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
79313 },
79314 _evaluate0$_combineCss$1(root) {
79315 return this._evaluate0$_combineCss$2$clone(root, false);
79316 },
79317 _evaluate0$_extendModules$1(sortedModules) {
79318 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
79319 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
79320 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
79321 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
79322 t2 = t1.get$current(t1);
79323 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
79324 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
79325 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
79326 t3 = t2.get$extensionStore().get$addExtensions();
79327 if ($self != null)
79328 t3.call$1($self);
79329 t3 = t2.get$extensionStore();
79330 if (t3.get$isEmpty(t3))
79331 continue;
79332 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
79333 upstream = t3[_i];
79334 url = upstream.get$url(upstream);
79335 if (url == null)
79336 continue;
79337 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
79338 }
79339 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
79340 }
79341 if (unsatisfiedExtensions._collection$_length !== 0)
79342 this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
79343 },
79344 _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
79345 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
79346 },
79347 _evaluate0$_topologicalModules$1(root) {
79348 var t1 = type$.Module_Callable_2,
79349 sorted = A.QueueList$(null, t1);
79350 new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
79351 return sorted;
79352 },
79353 _evaluate0$_indexAfterImports$1(statements) {
79354 var t1, t2, t3, lastImport, i, statement;
79355 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
79356 statement = t1.$index(statements, i);
79357 if (t3._is(statement))
79358 lastImport = i;
79359 else if (!t2._is(statement))
79360 break;
79361 }
79362 return lastImport + 1;
79363 },
79364 visitStylesheet$1(node) {
79365 var t1, t2, _i;
79366 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
79367 t1[_i].accept$1(this);
79368 return null;
79369 },
79370 visitAtRootRule$1(node) {
79371 var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
79372 _s8_ = "__parent",
79373 unparsedQuery = node.query,
79374 query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
79375 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
79376 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
79377 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
79378 if (!query.excludes$1($parent))
79379 included.push($parent);
79380 grandparent = $parent._node1$_parent;
79381 if (grandparent == null)
79382 throw A.wrapException(A.StateError$(string$.CssNod));
79383 }
79384 root = _this._evaluate0$_trimIncluded$1(included);
79385 if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
79386 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
79387 return null;
79388 }
79389 if (included.length !== 0) {
79390 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
79391 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) {
79392 t3 = t1.__internal$_current;
79393 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
79394 copy.addChild$1(outerCopy);
79395 }
79396 root.addChild$1(outerCopy);
79397 } else
79398 innerCopy = root;
79399 _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
79400 return null;
79401 },
79402 _evaluate0$_trimIncluded$1(nodes) {
79403 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
79404 _s22_ = " to be an ancestor of ";
79405 if (nodes.length === 0)
79406 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79407 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79408 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
79409 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
79410 grandparent = $parent._node1$_parent;
79411 if (grandparent == null)
79412 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79413 }
79414 if (innermostContiguous == null)
79415 innermostContiguous = i;
79416 grandparent = $parent._node1$_parent;
79417 if (grandparent == null)
79418 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79419 }
79420 if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79421 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79422 innermostContiguous.toString;
79423 root = nodes[innermostContiguous];
79424 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
79425 return root;
79426 },
79427 _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
79428 var _this = this,
79429 scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
79430 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
79431 if (t1 !== query.include)
79432 scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
79433 if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
79434 scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
79435 if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
79436 scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
79437 return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
79438 },
79439 visitContentBlock$1(node) {
79440 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
79441 },
79442 visitContentRule$1(node) {
79443 var $content = this._evaluate0$_environment._environment0$_content;
79444 if ($content == null)
79445 return null;
79446 this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
79447 return null;
79448 },
79449 visitDebugRule$1(node) {
79450 var value = node.expression.accept$1(this),
79451 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
79452 this._evaluate0$_logger.debug$2(0, t1, node.span);
79453 return null;
79454 },
79455 visitDeclaration$1(node) {
79456 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
79457 if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
79458 throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
79459 t1 = node.name;
79460 $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
79461 t2 = _this._evaluate0$_declarationName;
79462 if (t2 != null)
79463 $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
79464 t2 = node.value;
79465 cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
79466 t3 = cssValue != null;
79467 if (t3)
79468 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
79469 else
79470 t4 = false;
79471 if (t4) {
79472 t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79473 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
79474 if (_this._evaluate0$_sourceMap) {
79475 t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
79476 t2 = t2 == null ? _null : J.get$span$z(t2);
79477 } else
79478 t2 = _null;
79479 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
79480 } else if (J.startsWith$1$s($name.value, "--") && t3)
79481 throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
79482 children = node.children;
79483 if (children != null) {
79484 oldDeclarationName = _this._evaluate0$_declarationName;
79485 _this._evaluate0$_declarationName = $name.value;
79486 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
79487 _this._evaluate0$_declarationName = oldDeclarationName;
79488 }
79489 return _null;
79490 },
79491 visitEachRule$1(node) {
79492 var _this = this,
79493 t1 = node.list,
79494 list = t1.accept$1(_this),
79495 nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
79496 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
79497 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
79498 },
79499 _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
79500 var i,
79501 list = value.get$asList(),
79502 t1 = variables.length,
79503 minLength = Math.min(t1, list.length);
79504 for (i = 0; i < minLength; ++i)
79505 this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
79506 for (i = minLength; i < t1; ++i)
79507 this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
79508 },
79509 visitErrorRule$1(node) {
79510 throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
79511 },
79512 visitExtendRule$1(node) {
79513 var targetText, t1, t2, t3, _i, t4, _this = this,
79514 styleRule = _this._evaluate0$_atRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
79515 if (styleRule == null || _this._evaluate0$_declarationName != null)
79516 throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
79517 targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
79518 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) {
79519 t4 = t1[_i].components;
79520 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
79521 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
79522 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
79523 if (t4.length !== 1)
79524 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
79525 _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._evaluate0$_mediaQueries);
79526 }
79527 return null;
79528 },
79529 visitAtRule$1(node) {
79530 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
79531 if (_this._evaluate0$_declarationName != null)
79532 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
79533 $name = _this._evaluate0$_interpolationToValue$1(node.name);
79534 value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
79535 children = node.children;
79536 if (children == null) {
79537 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
79538 return null;
79539 }
79540 wasInKeyframes = _this._evaluate0$_inKeyframes;
79541 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
79542 if (A.unvendor0($name.value) === "keyframes")
79543 _this._evaluate0$_inKeyframes = true;
79544 else
79545 _this._evaluate0$_inUnknownAtRule = true;
79546 _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);
79547 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
79548 _this._evaluate0$_inKeyframes = wasInKeyframes;
79549 return null;
79550 },
79551 visitForRule$1(node) {
79552 var _this = this, t1 = {},
79553 t2 = node.from,
79554 fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
79555 t3 = node.to,
79556 toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
79557 from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
79558 to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
79559 direction = from > to ? -1 : 1;
79560 if (from === (!node.isExclusive ? t1.to = to + direction : to))
79561 return null;
79562 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
79563 },
79564 visitForwardRule$1(node) {
79565 var newConfiguration, t4, _i, variable, $name, _this = this,
79566 _s8_ = "@forward",
79567 oldConfiguration = _this._evaluate0$_configuration,
79568 adjustedConfiguration = oldConfiguration.throughForward$1(node),
79569 t1 = node.configuration,
79570 t2 = t1.length,
79571 t3 = node.url;
79572 if (t2 !== 0) {
79573 newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
79574 _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
79575 t3 = type$.String;
79576 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79577 for (_i = 0; _i < t2; ++_i) {
79578 variable = t1[_i];
79579 if (!variable.isGuarded)
79580 t4.add$1(0, variable.name);
79581 }
79582 _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
79583 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79584 for (_i = 0; _i < t2; ++_i)
79585 t3.add$1(0, t1[_i].name);
79586 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) {
79587 $name = t2[_i];
79588 if (!t3.contains$1(0, $name))
79589 if (!t1.get$isEmpty(t1))
79590 t1.remove$1(0, $name);
79591 }
79592 _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
79593 } else {
79594 _this._evaluate0$_configuration = adjustedConfiguration;
79595 _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
79596 _this._evaluate0$_configuration = oldConfiguration;
79597 }
79598 return null;
79599 },
79600 _evaluate0$_addForwardConfiguration$2(configuration, node) {
79601 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
79602 t1 = configuration._configuration$_values,
79603 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
79604 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79605 variable = t2[_i];
79606 if (variable.isGuarded) {
79607 t4 = variable.name;
79608 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
79609 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
79610 newValues.$indexSet(0, t4, t5);
79611 continue;
79612 }
79613 }
79614 t4 = variable.expression;
79615 variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
79616 newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79617 }
79618 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
79619 return new A.ExplicitConfiguration0(node, newValues);
79620 else
79621 return new A.Configuration0(newValues);
79622 },
79623 _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
79624 var t1, t2, t3, t4, _i, $name;
79625 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) {
79626 $name = t2[_i];
79627 if (except.contains$1(0, $name))
79628 continue;
79629 if (!t4.containsKey$1($name))
79630 if (!t1.get$isEmpty(t1))
79631 t1.remove$1(0, $name);
79632 }
79633 },
79634 _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
79635 var t1, entry;
79636 if (!(configuration instanceof A.ExplicitConfiguration0))
79637 return;
79638 t1 = configuration._configuration$_values;
79639 if (t1.get$isEmpty(t1))
79640 return;
79641 t1 = t1.get$entries(t1);
79642 entry = t1.get$first(t1);
79643 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
79644 throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
79645 },
79646 _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
79647 return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
79648 },
79649 visitFunctionRule$1(node) {
79650 var t1 = this._evaluate0$_environment,
79651 t2 = t1.closure$0(),
79652 t3 = this._evaluate0$_inDependency,
79653 t4 = t1._environment0$_functions,
79654 index = t4.length - 1,
79655 t5 = node.name;
79656 t1._environment0$_functionIndices.$indexSet(0, t5, index);
79657 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
79658 return null;
79659 },
79660 visitIfRule$1(node) {
79661 var t1, t2, _i, clauseToCheck, _box_0 = {};
79662 _box_0.clause = node.lastClause;
79663 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
79664 clauseToCheck = t1[_i];
79665 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
79666 _box_0.clause = clauseToCheck;
79667 break;
79668 }
79669 }
79670 t1 = _box_0.clause;
79671 if (t1 == null)
79672 return null;
79673 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
79674 },
79675 visitImportRule$1(node) {
79676 var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
79677 _s8_ = "__parent",
79678 _s5_ = "_root",
79679 _s13_ = "_endOfImports";
79680 for (t1 = node.imports, t2 = t1.length, t3 = type$.CssValue_String_2, t4 = _this.get$_evaluate0$_interpolationToValue(), t5 = type$.StaticImport_2, t6 = type$.JSArray_ModifiableCssImport_2, _i = 0; _i < t2; ++_i) {
79681 $import = t1[_i];
79682 if ($import instanceof A.DynamicImport0)
79683 _this._evaluate0$_visitDynamicImport$1($import);
79684 else {
79685 t5._as($import);
79686 t7 = $import.url;
79687 result = _this._evaluate0$_performInterpolation$2$warnForColor(t7, false);
79688 $self = $import.modifiers;
79689 t8 = $self == null ? null : t4.call$1($self);
79690 node = new A.ModifiableCssImport0(new A.CssValue0(result, t7.span, t3), t8, $import.span);
79691 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79692 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
79693 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)) {
79694 t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79695 node._node1$_parent = t7;
79696 t7 = t7._node1$_children;
79697 node._node1$_indexInParent = t7.length;
79698 t7.push(node);
79699 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79700 } else {
79701 t7 = _this._evaluate0$_outOfOrderImports;
79702 (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
79703 }
79704 }
79705 }
79706 return null;
79707 },
79708 _evaluate0$_visitDynamicImport$1($import) {
79709 return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
79710 },
79711 _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
79712 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
79713 baseUrl = baseUrl;
79714 try {
79715 _this._evaluate0$_importSpan = span;
79716 importCache = _this._evaluate0$_importCache;
79717 if (importCache != null) {
79718 if (baseUrl == null)
79719 baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").span.file.url;
79720 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
79721 if (tuple != null) {
79722 isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
79723 t1 = tuple.item1;
79724 t2 = tuple.item2;
79725 t3 = tuple.item3;
79726 t4 = _this._evaluate0$_quietDeps && isDependency;
79727 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
79728 if (stylesheet != null) {
79729 _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
79730 t1 = tuple.item1;
79731 return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
79732 }
79733 }
79734 } else {
79735 result = _this._evaluate0$_importLikeNode$2(url, forImport);
79736 if (result != null) {
79737 t1 = _this._evaluate0$_loadedUrls;
79738 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
79739 return result;
79740 }
79741 }
79742 if (B.JSString_methods.startsWith$1(url, "package:") && true)
79743 throw A.wrapException(string$.x22packa);
79744 else
79745 throw A.wrapException("Can't find stylesheet to import.");
79746 } catch (exception) {
79747 t1 = A.unwrapException(exception);
79748 if (t1 instanceof A.SassException0) {
79749 error = t1;
79750 stackTrace = A.getTraceFromException(exception);
79751 t1 = error;
79752 t2 = J.getInterceptor$z(t1);
79753 A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
79754 } else {
79755 error0 = t1;
79756 stackTrace0 = A.getTraceFromException(exception);
79757 message = null;
79758 try {
79759 message = A._asString(J.get$message$x(error0));
79760 } catch (exception) {
79761 message0 = J.toString$0$(error0);
79762 message = message0;
79763 }
79764 A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
79765 }
79766 } finally {
79767 _this._evaluate0$_importSpan = null;
79768 }
79769 },
79770 _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
79771 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
79772 },
79773 _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
79774 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
79775 },
79776 _evaluate0$_importLikeNode$2(originalUrl, forImport) {
79777 var result, isDependency, url, t2, _this = this,
79778 _s11_ = "_stylesheet",
79779 t1 = _this._evaluate0$_nodeImporter;
79780 t1.toString;
79781 result = t1.loadRelative$3(originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79782 if (result != null)
79783 isDependency = _this._evaluate0$_inDependency;
79784 else {
79785 result = t1.load$3(0, originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79786 if (result == null)
79787 return null;
79788 isDependency = true;
79789 }
79790 url = result.item2;
79791 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
79792 t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
79793 return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
79794 },
79795 visitIncludeRule$1(node) {
79796 var nodeWithSpan, t1, _this = this,
79797 _s37_ = "Mixin doesn't accept a content block.",
79798 mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
79799 if (mixin == null)
79800 throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
79801 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
79802 if (mixin instanceof A.BuiltInCallable0) {
79803 if (node.content != null)
79804 throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
79805 _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
79806 } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
79807 t1 = node.content;
79808 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
79809 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())));
79810 _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);
79811 } else
79812 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
79813 return null;
79814 },
79815 visitMixinRule$1(node) {
79816 var t1 = this._evaluate0$_environment,
79817 t2 = t1.closure$0(),
79818 t3 = this._evaluate0$_inDependency,
79819 t4 = t1._environment0$_mixins,
79820 index = t4.length - 1,
79821 t5 = node.name;
79822 t1._environment0$_mixinIndices.$indexSet(0, t5, index);
79823 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
79824 return null;
79825 },
79826 visitLoudComment$1(node) {
79827 var t1, _this = this,
79828 _s8_ = "__parent",
79829 _s13_ = "_endOfImports";
79830 if (_this._evaluate0$_inFunction)
79831 return null;
79832 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))
79833 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79834 t1 = node.text;
79835 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
79836 return null;
79837 },
79838 visitMediaRule$1(node) {
79839 var queries, mergedQueries, t1, _this = this;
79840 if (_this._evaluate0$_declarationName != null)
79841 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
79842 queries = _this._evaluate0$_visitMediaQueries$1(node.query);
79843 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
79844 t1 = mergedQueries == null;
79845 if (!t1 && J.get$isEmpty$asx(mergedQueries))
79846 return null;
79847 t1 = t1 ? queries : mergedQueries;
79848 _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);
79849 return null;
79850 },
79851 _evaluate0$_visitMediaQueries$1(interpolation) {
79852 return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
79853 },
79854 _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
79855 var t1, t2, t3, t4, t5, result,
79856 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
79857 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
79858 t4 = t1.get$current(t1);
79859 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
79860 result = t4.merge$1(t5.get$current(t5));
79861 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
79862 continue;
79863 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
79864 return null;
79865 queries.push(t3._as(result).query);
79866 }
79867 }
79868 return queries;
79869 },
79870 visitReturnRule$1(node) {
79871 var t1 = node.expression;
79872 return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
79873 },
79874 visitSilentComment$1(node) {
79875 return null;
79876 },
79877 visitStyleRule$1(node) {
79878 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
79879 _s8_ = "__parent",
79880 t1 = {};
79881 if (_this._evaluate0$_declarationName != null)
79882 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
79883 t2 = node.selector;
79884 selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true);
79885 if (_this._evaluate0$_inKeyframes) {
79886 _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);
79887 return null;
79888 }
79889 t1.parsedSelector = _this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure16(_this, selectorText));
79890 t1.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure17(t1, _this));
79891 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);
79892 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
79893 t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
79894 _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);
79895 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
79896 if ((oldAtRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
79897 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79898 t1 = !t1.get$isEmpty(t1);
79899 }
79900 if (t1) {
79901 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79902 t1.get$last(t1).isGroupEnd = true;
79903 }
79904 return null;
79905 },
79906 visitSupportsRule$1(node) {
79907 var t1, _this = this;
79908 if (_this._evaluate0$_declarationName != null)
79909 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
79910 t1 = node.condition;
79911 _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);
79912 return null;
79913 },
79914 _evaluate0$_visitSupportsCondition$1(condition) {
79915 var t1, oldInSupportsDeclaration, t2, t3, _this = this;
79916 if (condition instanceof A.SupportsOperation0) {
79917 t1 = condition.operator;
79918 return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
79919 } else if (condition instanceof A.SupportsNegation0)
79920 return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
79921 else if (condition instanceof A.SupportsInterpolation0) {
79922 t1 = condition.expression;
79923 return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
79924 } else if (condition instanceof A.SupportsDeclaration0) {
79925 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
79926 _this._evaluate0$_inSupportsDeclaration = true;
79927 t1 = condition.name;
79928 t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true);
79929 t2 = condition.get$isCustomProperty() ? "" : " ";
79930 t3 = condition.value;
79931 t3 = _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
79932 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
79933 return "(" + t1 + ":" + t2 + t3 + ")";
79934 } else if (condition instanceof A.SupportsFunction0)
79935 return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
79936 else if (condition instanceof A.SupportsAnything0)
79937 return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
79938 else
79939 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
79940 },
79941 _evaluate0$_parenthesize$2(condition, operator) {
79942 var t1;
79943 if (!(condition instanceof A.SupportsNegation0))
79944 if (condition instanceof A.SupportsOperation0)
79945 t1 = operator == null || operator !== condition.operator;
79946 else
79947 t1 = false;
79948 else
79949 t1 = true;
79950 if (t1)
79951 return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
79952 else
79953 return this._evaluate0$_visitSupportsCondition$1(condition);
79954 },
79955 _evaluate0$_parenthesize$1(condition) {
79956 return this._evaluate0$_parenthesize$2(condition, null);
79957 },
79958 visitVariableDeclaration$1(node) {
79959 var t1, value, _this = this, _null = null;
79960 if (node.isGuarded) {
79961 if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
79962 t1 = _this._evaluate0$_configuration._configuration$_values;
79963 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
79964 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
79965 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
79966 return _null;
79967 }
79968 }
79969 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
79970 if (value != null && !value.$eq(0, B.C__SassNull0))
79971 return _null;
79972 }
79973 if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
79974 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.";
79975 _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
79976 }
79977 t1 = node.expression;
79978 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
79979 return _null;
79980 },
79981 visitUseRule$1(node) {
79982 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
79983 t1 = node.configuration,
79984 t2 = t1.length;
79985 if (t2 !== 0) {
79986 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
79987 for (_i = 0; _i < t2; ++_i) {
79988 variable = t1[_i];
79989 t3 = variable.expression;
79990 variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
79991 values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79992 }
79993 configuration = new A.ExplicitConfiguration0(node, values);
79994 } else
79995 configuration = B.Configuration_Map_empty0;
79996 _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
79997 _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
79998 return null;
79999 },
80000 visitWarnRule$1(node) {
80001 var _this = this,
80002 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
80003 t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
80004 _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
80005 return null;
80006 },
80007 visitWhileRule$1(node) {
80008 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
80009 },
80010 visitBinaryOperationExpression$1(node) {
80011 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
80012 },
80013 visitValueExpression$1(node) {
80014 return node.value;
80015 },
80016 visitVariableExpression$1(node) {
80017 var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
80018 if (result != null)
80019 return result;
80020 throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
80021 },
80022 visitUnaryOperationExpression$1(node) {
80023 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
80024 },
80025 visitBooleanExpression$1(node) {
80026 return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
80027 },
80028 visitIfExpression$1(node) {
80029 var condition, t2, ifTrue, ifFalse, result, _this = this,
80030 pair = _this._evaluate0$_evaluateMacroArguments$1(node),
80031 positional = pair.item1,
80032 named = pair.item2,
80033 t1 = J.getInterceptor$asx(positional);
80034 _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
80035 if (t1.get$length(positional) > 0)
80036 condition = t1.$index(positional, 0);
80037 else {
80038 t2 = named.$index(0, "condition");
80039 t2.toString;
80040 condition = t2;
80041 }
80042 if (t1.get$length(positional) > 1)
80043 ifTrue = t1.$index(positional, 1);
80044 else {
80045 t2 = named.$index(0, "if-true");
80046 t2.toString;
80047 ifTrue = t2;
80048 }
80049 if (t1.get$length(positional) > 2)
80050 ifFalse = t1.$index(positional, 2);
80051 else {
80052 t1 = named.$index(0, "if-false");
80053 t1.toString;
80054 ifFalse = t1;
80055 }
80056 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
80057 return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
80058 },
80059 visitNullExpression$1(node) {
80060 return B.C__SassNull0;
80061 },
80062 visitNumberExpression$1(node) {
80063 var t1 = node.value,
80064 t2 = node.unit;
80065 return t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
80066 },
80067 visitParenthesizedExpression$1(node) {
80068 return node.expression.accept$1(this);
80069 },
80070 visitCalculationExpression$1(node) {
80071 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
80072 t1 = A._setArrayType([], type$.JSArray_Object);
80073 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
80074 argument = t2[_i];
80075 t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
80076 }
80077 $arguments = t1;
80078 if (_this._evaluate0$_inSupportsDeclaration)
80079 return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
80080 try {
80081 switch (t4) {
80082 case "calc":
80083 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
80084 return t1;
80085 case "min":
80086 t1 = A.SassCalculation_min0($arguments);
80087 return t1;
80088 case "max":
80089 t1 = A.SassCalculation_max0($arguments);
80090 return t1;
80091 case "clamp":
80092 t1 = J.$index$asx($arguments, 0);
80093 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
80094 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
80095 return t1;
80096 default:
80097 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
80098 throw A.wrapException(t1);
80099 }
80100 } catch (exception) {
80101 t1 = A.unwrapException(exception);
80102 if (t1 instanceof A.SassScriptException0) {
80103 error = t1;
80104 stackTrace = A.getTraceFromException(exception);
80105 _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
80106 A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
80107 } else
80108 throw exception;
80109 }
80110 },
80111 _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
80112 var i, t1, arg, number1, j, number2;
80113 for (i = 0; t1 = args.length, i < t1; ++i) {
80114 arg = args[i];
80115 if (!(arg instanceof A.SassNumber0))
80116 continue;
80117 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
80118 throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
80119 }
80120 for (i = 0; i < t1 - 1; ++i) {
80121 number1 = args[i];
80122 if (!(number1 instanceof A.SassNumber0))
80123 continue;
80124 for (j = i + 1; t1 = args.length, j < t1; ++j) {
80125 number2 = args[j];
80126 if (!(number2 instanceof A.SassNumber0))
80127 continue;
80128 if (number1.hasPossiblyCompatibleUnits$1(number2))
80129 continue;
80130 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]))));
80131 }
80132 }
80133 },
80134 _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
80135 var inner, result, t1, _this = this;
80136 if (node instanceof A.ParenthesizedExpression0) {
80137 inner = node.expression;
80138 result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
80139 if (inner instanceof A.FunctionExpression0)
80140 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
80141 else
80142 t1 = false;
80143 return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
80144 } else if (node instanceof A.StringExpression0)
80145 return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
80146 else if (node instanceof A.BinaryOperationExpression0)
80147 return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
80148 else {
80149 result = node.accept$1(_this);
80150 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
80151 return result;
80152 if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
80153 return result;
80154 throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
80155 }
80156 },
80157 _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
80158 switch (operator) {
80159 case B.BinaryOperator_AcR2:
80160 return B.CalculationOperator_Iem0;
80161 case B.BinaryOperator_iyO0:
80162 return B.CalculationOperator_uti0;
80163 case B.BinaryOperator_O1M0:
80164 return B.CalculationOperator_Dih0;
80165 case B.BinaryOperator_RTB0:
80166 return B.CalculationOperator_jB60;
80167 default:
80168 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
80169 }
80170 },
80171 visitColorExpression$1(node) {
80172 return node.value;
80173 },
80174 visitListExpression$1(node) {
80175 var t1 = node.contents;
80176 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);
80177 },
80178 visitMapExpression$1(node) {
80179 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
80180 t1 = type$.Value_2,
80181 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
80182 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
80183 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
80184 pair = t2[_i];
80185 t4 = pair.item1;
80186 keyValue = t4.accept$1(this);
80187 valueValue = pair.item2.accept$1(this);
80188 if (map.$index(0, keyValue) != null) {
80189 t1 = keyNodes.$index(0, keyValue);
80190 oldValueSpan = t1 == null ? null : t1.get$span(t1);
80191 t1 = J.getInterceptor$z(t4);
80192 t2 = t1.get$span(t4);
80193 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
80194 if (oldValueSpan != null)
80195 t3.$indexSet(0, oldValueSpan, "first key");
80196 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
80197 }
80198 map.$indexSet(0, keyValue, valueValue);
80199 keyNodes.$indexSet(0, keyValue, t4);
80200 }
80201 return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
80202 },
80203 visitFunctionExpression$1(node) {
80204 var oldInFunction, result, _this = this, t1 = {},
80205 $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
80206 t1.$function = $function;
80207 if ($function == null) {
80208 if (node.namespace != null)
80209 throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
80210 t1.$function = new A.PlainCssCallable0(node.originalName);
80211 }
80212 oldInFunction = _this._evaluate0$_inFunction;
80213 _this._evaluate0$_inFunction = true;
80214 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
80215 _this._evaluate0$_inFunction = oldInFunction;
80216 return result;
80217 },
80218 visitInterpolatedFunctionExpression$1(node) {
80219 var result, _this = this,
80220 t1 = _this._evaluate0$_performInterpolation$1(node.name),
80221 oldInFunction = _this._evaluate0$_inFunction;
80222 _this._evaluate0$_inFunction = true;
80223 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
80224 _this._evaluate0$_inFunction = oldInFunction;
80225 return result;
80226 },
80227 _evaluate0$_getFunction$2$namespace($name, namespace) {
80228 var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
80229 if (local != null || namespace != null)
80230 return local;
80231 return this._evaluate0$_builtInFunctions.$index(0, $name);
80232 },
80233 _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
80234 var oldCallable, result, _this = this,
80235 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80236 $name = callable.declaration.name;
80237 if ($name !== "@content")
80238 $name += "()";
80239 oldCallable = _this._evaluate0$_currentCallable;
80240 _this._evaluate0$_currentCallable = callable;
80241 result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
80242 _this._evaluate0$_currentCallable = oldCallable;
80243 return result;
80244 },
80245 _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
80246 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
80247 if (callable instanceof A.BuiltInCallable0)
80248 return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
80249 else if (type$.UserDefinedCallable_Environment_2._is(callable))
80250 return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
80251 else if (callable instanceof A.PlainCssCallable0) {
80252 t1 = $arguments.named;
80253 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
80254 throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
80255 t1 = callable.name + "(";
80256 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
80257 argument = t2[_i];
80258 if (first)
80259 first = false;
80260 else
80261 t1 += ", ";
80262 t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
80263 }
80264 restArg = $arguments.rest;
80265 if (restArg != null) {
80266 rest = restArg.accept$1(_this);
80267 if (!first)
80268 t1 += ", ";
80269 t1 += _this._evaluate0$_serialize$2(rest, restArg);
80270 }
80271 t1 += A.Primitives_stringFromCharCode(41);
80272 return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
80273 } else
80274 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
80275 },
80276 _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
80277 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,
80278 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80279 oldCallableNode = _this._evaluate0$_callableNode;
80280 _this._evaluate0$_callableNode = nodeWithSpan;
80281 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
80282 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
80283 overload = tuple.item1;
80284 callback = tuple.item2;
80285 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
80286 declaredArguments = overload.$arguments;
80287 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
80288 argument = declaredArguments[i];
80289 t2 = evaluated.positional;
80290 t3 = evaluated.named.remove$1(0, argument.name);
80291 if (t3 == null) {
80292 t3 = argument.defaultValue;
80293 t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
80294 }
80295 t2.push(t3);
80296 }
80297 if (overload.restArgument != null) {
80298 if (evaluated.positional.length > t1) {
80299 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
80300 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
80301 } else
80302 rest = B.List_empty15;
80303 t1 = evaluated.named;
80304 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
80305 evaluated.positional.push(argumentList);
80306 } else
80307 argumentList = null;
80308 result = null;
80309 try {
80310 result = callback.call$1(evaluated.positional);
80311 } catch (exception) {
80312 t1 = A.unwrapException(exception);
80313 if (type$.SassRuntimeException_2._is(t1))
80314 throw exception;
80315 else if (t1 instanceof A.MultiSpanSassScriptException0) {
80316 error = t1;
80317 stackTrace = A.getTraceFromException(exception);
80318 t1 = error.message;
80319 t2 = nodeWithSpan.get$span(nodeWithSpan);
80320 t3 = error.primaryLabel;
80321 t4 = error.secondarySpans;
80322 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);
80323 } else if (t1 instanceof A.MultiSpanSassException0) {
80324 error0 = t1;
80325 stackTrace0 = A.getTraceFromException(exception);
80326 t1 = error0._span_exception$_message;
80327 t2 = error0;
80328 t3 = J.getInterceptor$z(t2);
80329 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
80330 t3 = error0.primaryLabel;
80331 t4 = error0.secondarySpans;
80332 t5 = error0;
80333 t6 = J.getInterceptor$z(t5);
80334 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);
80335 } else {
80336 error1 = t1;
80337 stackTrace1 = A.getTraceFromException(exception);
80338 message = null;
80339 try {
80340 message = A._asString(J.get$message$x(error1));
80341 } catch (exception) {
80342 message0 = J.toString$0$(error1);
80343 message = message0;
80344 }
80345 A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
80346 }
80347 }
80348 _this._evaluate0$_callableNode = oldCallableNode;
80349 if (argumentList == null)
80350 return result;
80351 if (evaluated.named.__js_helper$_length === 0)
80352 return result;
80353 if (argumentList._argument_list$_wereKeywordsAccessed)
80354 return result;
80355 t1 = evaluated.named;
80356 t1 = t1.get$keys(t1);
80357 t1 = A.pluralize0("argument", t1.get$length(t1), null);
80358 t2 = evaluated.named;
80359 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + 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))));
80360 },
80361 _evaluate0$_evaluateArguments$1($arguments) {
80362 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
80363 positional = A._setArrayType([], type$.JSArray_Value_2),
80364 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
80365 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
80366 expression = t1[_i];
80367 nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
80368 positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
80369 positionalNodes.push(nodeForSpan);
80370 }
80371 t1 = type$.String;
80372 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
80373 t2 = type$.AstNode_2;
80374 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80375 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80376 t4 = t3.get$current(t3);
80377 t5 = t4.value;
80378 nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
80379 t4 = t4.key;
80380 named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
80381 namedNodes.$indexSet(0, t4, nodeForSpan);
80382 }
80383 restArgs = $arguments.rest;
80384 if (restArgs == null)
80385 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
80386 rest = restArgs.accept$1(_this);
80387 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
80388 if (rest instanceof A.SassMap0) {
80389 _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
80390 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80391 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
80392 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
80393 namedNodes.addAll$1(0, t3);
80394 separator = B.ListSeparator_undecided_null0;
80395 } else if (rest instanceof A.SassList0) {
80396 t3 = rest._list1$_contents;
80397 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>")));
80398 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
80399 separator = rest._list1$_separator;
80400 if (rest instanceof A.SassArgumentList0) {
80401 rest._argument_list$_wereKeywordsAccessed = true;
80402 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
80403 }
80404 } else {
80405 positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
80406 positionalNodes.push(restNodeForSpan);
80407 separator = B.ListSeparator_undecided_null0;
80408 }
80409 keywordRestArgs = $arguments.keywordRest;
80410 if (keywordRestArgs == null)
80411 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80412 keywordRest = keywordRestArgs.accept$1(_this);
80413 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
80414 if (keywordRest instanceof A.SassMap0) {
80415 _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
80416 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80417 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
80418 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
80419 namedNodes.addAll$1(0, t1);
80420 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80421 } else
80422 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
80423 },
80424 _evaluate0$_evaluateMacroArguments$1(invocation) {
80425 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
80426 t1 = invocation.$arguments,
80427 restArgs_ = t1.rest;
80428 if (restArgs_ == null)
80429 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80430 t2 = t1.positional;
80431 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
80432 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
80433 rest = restArgs_.accept$1(_this);
80434 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
80435 if (rest instanceof A.SassMap0)
80436 _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
80437 else if (rest instanceof A.SassList0) {
80438 t2 = rest._list1$_contents;
80439 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>")));
80440 if (rest instanceof A.SassArgumentList0) {
80441 rest._argument_list$_wereKeywordsAccessed = true;
80442 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
80443 }
80444 } else
80445 positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
80446 keywordRestArgs_ = t1.keywordRest;
80447 if (keywordRestArgs_ == null)
80448 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80449 keywordRest = keywordRestArgs_.accept$1(_this);
80450 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
80451 if (keywordRest instanceof A.SassMap0) {
80452 _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
80453 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80454 } else
80455 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
80456 },
80457 _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
80458 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
80459 },
80460 _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
80461 return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
80462 },
80463 _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
80464 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
80465 },
80466 visitSelectorExpression$1(node) {
80467 var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
80468 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
80469 return t1 == null ? B.C__SassNull0 : t1;
80470 },
80471 visitStringExpression$1(node) {
80472 var t1, _this = this,
80473 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80474 _this._evaluate0$_inSupportsDeclaration = false;
80475 t1 = node.text.contents;
80476 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80477 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80478 return new A.SassString0(t1, node.hasQuotes);
80479 },
80480 visitSupportsExpression$1(expression) {
80481 return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
80482 },
80483 visitCssAtRule$1(node) {
80484 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
80485 if (_this._evaluate0$_declarationName != null)
80486 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
80487 if (node.isChildless) {
80488 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
80489 return;
80490 }
80491 wasInKeyframes = _this._evaluate0$_inKeyframes;
80492 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
80493 t1 = node.name;
80494 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
80495 _this._evaluate0$_inKeyframes = true;
80496 else
80497 _this._evaluate0$_inUnknownAtRule = true;
80498 _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);
80499 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80500 _this._evaluate0$_inKeyframes = wasInKeyframes;
80501 },
80502 visitCssComment$1(node) {
80503 var _this = this,
80504 _s8_ = "__parent",
80505 _s13_ = "_endOfImports";
80506 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))
80507 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80508 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
80509 },
80510 visitCssDeclaration$1(node) {
80511 var t1 = node.name;
80512 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));
80513 },
80514 visitCssImport$1(node) {
80515 var t1, _this = this,
80516 _s8_ = "__parent",
80517 _s5_ = "_root",
80518 _s13_ = "_endOfImports",
80519 modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
80520 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
80521 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
80522 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)) {
80523 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
80524 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80525 } else {
80526 t1 = _this._evaluate0$_outOfOrderImports;
80527 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
80528 }
80529 },
80530 visitCssKeyframeBlock$1(node) {
80531 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);
80532 },
80533 visitCssMediaRule$1(node) {
80534 var mergedQueries, t1, _this = this;
80535 if (_this._evaluate0$_declarationName != null)
80536 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
80537 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
80538 t1 = mergedQueries == null;
80539 if (!t1 && J.get$isEmpty$asx(mergedQueries))
80540 return;
80541 t1 = t1 ? node.queries : mergedQueries;
80542 _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);
80543 },
80544 visitCssStyleRule$1(node) {
80545 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
80546 _s8_ = "__parent";
80547 if (_this._evaluate0$_declarationName != null)
80548 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
80549 t1 = _this._evaluate0$_atRootExcludingStyleRule;
80550 styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
80551 t2 = node.selector;
80552 t3 = t2.value;
80553 t4 = styleRule == null;
80554 t5 = t4 ? null : styleRule.originalSelector;
80555 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
80556 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
80557 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80558 _this._evaluate0$_atRootExcludingStyleRule = false;
80559 _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);
80560 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80561 if (t4) {
80562 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80563 t1 = !t1.get$isEmpty(t1);
80564 } else
80565 t1 = false;
80566 if (t1) {
80567 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80568 t1.get$last(t1).isGroupEnd = true;
80569 }
80570 },
80571 visitCssStylesheet$1(node) {
80572 var t1;
80573 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
80574 t1.get$current(t1).accept$1(this);
80575 },
80576 visitCssSupportsRule$1(node) {
80577 var _this = this;
80578 if (_this._evaluate0$_declarationName != null)
80579 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80580 _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);
80581 },
80582 _evaluate0$_handleReturn$1$2(list, callback) {
80583 var t1, _i, result;
80584 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
80585 result = callback.call$1(list[_i]);
80586 if (result != null)
80587 return result;
80588 }
80589 return null;
80590 },
80591 _evaluate0$_handleReturn$2(list, callback) {
80592 return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
80593 },
80594 _evaluate0$_withEnvironment$1$2(environment, callback) {
80595 var result,
80596 oldEnvironment = this._evaluate0$_environment;
80597 this._evaluate0$_environment = environment;
80598 result = callback.call$0();
80599 this._evaluate0$_environment = oldEnvironment;
80600 return result;
80601 },
80602 _evaluate0$_withEnvironment$2(environment, callback) {
80603 return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
80604 },
80605 _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
80606 var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
80607 t1 = trim ? A.trimAscii0(result, true) : result;
80608 return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
80609 },
80610 _evaluate0$_interpolationToValue$1(interpolation) {
80611 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
80612 },
80613 _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
80614 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
80615 },
80616 _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
80617 var t1, result, _this = this,
80618 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80619 _this._evaluate0$_inSupportsDeclaration = false;
80620 t1 = interpolation.contents;
80621 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80622 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80623 return result;
80624 },
80625 _evaluate0$_performInterpolation$1(interpolation) {
80626 return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
80627 },
80628 _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
80629 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
80630 },
80631 _evaluate0$_serialize$2(value, nodeWithSpan) {
80632 return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
80633 },
80634 _evaluate0$_expressionNode$1(expression) {
80635 var t1;
80636 if (expression instanceof A.VariableExpression0) {
80637 t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
80638 return t1 == null ? expression : t1;
80639 } else
80640 return expression;
80641 },
80642 _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
80643 var t1, result, _this = this;
80644 _this._evaluate0$_addChild$2$through(node, through);
80645 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
80646 _this._evaluate0$__parent = node;
80647 result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
80648 _this._evaluate0$__parent = t1;
80649 return result;
80650 },
80651 _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
80652 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
80653 },
80654 _evaluate0$_withParent$2$2(node, callback, $S, $T) {
80655 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
80656 },
80657 _evaluate0$_addChild$2$through(node, through) {
80658 var grandparent, t1,
80659 $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
80660 if (through != null) {
80661 for (; through.call$1($parent); $parent = grandparent) {
80662 grandparent = $parent._node1$_parent;
80663 if (grandparent == null)
80664 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
80665 }
80666 if ($parent.get$hasFollowingSibling()) {
80667 t1 = $parent._node1$_parent;
80668 t1.toString;
80669 $parent = $parent.copyWithoutChildren$0();
80670 t1.addChild$1($parent);
80671 }
80672 }
80673 $parent.addChild$1(node);
80674 },
80675 _evaluate0$_addChild$1(node) {
80676 return this._evaluate0$_addChild$2$through(node, null);
80677 },
80678 _evaluate0$_withStyleRule$1$2(rule, callback) {
80679 var result,
80680 oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
80681 this._evaluate0$_styleRuleIgnoringAtRoot = rule;
80682 result = callback.call$0();
80683 this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
80684 return result;
80685 },
80686 _evaluate0$_withStyleRule$2(rule, callback) {
80687 return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
80688 },
80689 _evaluate0$_withMediaQueries$1$2(queries, callback) {
80690 var result,
80691 oldMediaQueries = this._evaluate0$_mediaQueries;
80692 this._evaluate0$_mediaQueries = queries;
80693 result = callback.call$0();
80694 this._evaluate0$_mediaQueries = oldMediaQueries;
80695 return result;
80696 },
80697 _evaluate0$_withMediaQueries$2(queries, callback) {
80698 return this._evaluate0$_withMediaQueries$1$2(queries, callback, type$.dynamic);
80699 },
80700 _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
80701 var oldMember, result, _this = this,
80702 t1 = _this._evaluate0$_stack;
80703 t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
80704 oldMember = _this._evaluate0$_member;
80705 _this._evaluate0$_member = member;
80706 result = callback.call$0();
80707 _this._evaluate0$_member = oldMember;
80708 t1.pop();
80709 return result;
80710 },
80711 _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
80712 return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
80713 },
80714 _evaluate0$_withoutSlash$2(value, nodeForSpan) {
80715 if (value instanceof A.SassNumber0 && value.asSlash != null)
80716 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);
80717 return value.withoutSlash$0();
80718 },
80719 _evaluate0$_stackFrame$2(member, span) {
80720 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure1(this)));
80721 },
80722 _evaluate0$_stackTrace$1(span) {
80723 var _this = this,
80724 t1 = _this._evaluate0$_stack;
80725 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);
80726 if (span != null)
80727 t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
80728 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
80729 },
80730 _evaluate0$_stackTrace$0() {
80731 return this._evaluate0$_stackTrace$1(null);
80732 },
80733 _evaluate0$_warn$3$deprecation(message, span, deprecation) {
80734 var t1, _this = this;
80735 if (_this._evaluate0$_quietDeps)
80736 if (!_this._evaluate0$_inDependency) {
80737 t1 = _this._evaluate0$_currentCallable;
80738 t1 = t1 == null ? null : t1.inDependency;
80739 t1 = t1 === true;
80740 } else
80741 t1 = true;
80742 else
80743 t1 = false;
80744 if (t1)
80745 return;
80746 if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
80747 return;
80748 _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
80749 },
80750 _evaluate0$_warn$2(message, span) {
80751 return this._evaluate0$_warn$3$deprecation(message, span, false);
80752 },
80753 _evaluate0$_exception$2(message, span) {
80754 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
80755 return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
80756 },
80757 _evaluate0$_exception$1(message) {
80758 return this._evaluate0$_exception$2(message, null);
80759 },
80760 _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
80761 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
80762 return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
80763 },
80764 _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
80765 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
80766 try {
80767 t1 = callback.call$0();
80768 return t1;
80769 } catch (exception) {
80770 t1 = A.unwrapException(exception);
80771 if (t1 instanceof A.SassFormatException0) {
80772 error = t1;
80773 stackTrace = A.getTraceFromException(exception);
80774 t1 = error;
80775 t2 = J.getInterceptor$z(t1);
80776 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
80777 span = nodeWithSpan.get$span(nodeWithSpan);
80778 t1 = span;
80779 t2 = span;
80780 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);
80781 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
80782 t1 = span;
80783 t1 = A.FileLocation$_(t1.file, t1._file$_start);
80784 t3 = error;
80785 t4 = J.getInterceptor$z(t3);
80786 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80787 t3 = A.FileLocation$_(t3.file, t3._file$_start);
80788 t4 = span;
80789 t4 = A.FileLocation$_(t4.file, t4._file$_start);
80790 t5 = error;
80791 t6 = J.getInterceptor$z(t5);
80792 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
80793 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
80794 A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
80795 } else
80796 throw exception;
80797 }
80798 },
80799 _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
80800 return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
80801 },
80802 _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
80803 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
80804 try {
80805 t1 = callback.call$0();
80806 return t1;
80807 } catch (exception) {
80808 t1 = A.unwrapException(exception);
80809 if (t1 instanceof A.MultiSpanSassScriptException0) {
80810 error = t1;
80811 stackTrace = A.getTraceFromException(exception);
80812 t1 = error.message;
80813 t2 = nodeWithSpan.get$span(nodeWithSpan);
80814 t3 = error.primaryLabel;
80815 t4 = error.secondarySpans;
80816 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);
80817 } else if (t1 instanceof A.SassScriptException0) {
80818 error0 = t1;
80819 stackTrace0 = A.getTraceFromException(exception);
80820 A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
80821 } else
80822 throw exception;
80823 }
80824 },
80825 _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
80826 return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80827 },
80828 _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
80829 var error, stackTrace, t1, exception, t2;
80830 try {
80831 t1 = callback.call$0();
80832 return t1;
80833 } catch (exception) {
80834 t1 = A.unwrapException(exception);
80835 if (type$.SassRuntimeException_2._is(t1)) {
80836 error = t1;
80837 stackTrace = A.getTraceFromException(exception);
80838 t1 = J.get$span$z(error);
80839 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"))
80840 throw exception;
80841 t1 = error._span_exception$_message;
80842 t2 = nodeWithSpan.get$span(nodeWithSpan);
80843 A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
80844 } else
80845 throw exception;
80846 }
80847 },
80848 _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
80849 return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80850 }
80851 };
80852 A._EvaluateVisitor_closure19.prototype = {
80853 call$1($arguments) {
80854 var module, t2,
80855 t1 = J.getInterceptor$asx($arguments),
80856 variable = t1.$index($arguments, 0).assertString$1("name");
80857 t1 = t1.$index($arguments, 1).get$realNull();
80858 module = t1 == null ? null : t1.assertString$1("module");
80859 t1 = this.$this._evaluate0$_environment;
80860 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80861 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
80862 },
80863 $signature: 18
80864 };
80865 A._EvaluateVisitor_closure20.prototype = {
80866 call$1($arguments) {
80867 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
80868 t1 = this.$this._evaluate0$_environment;
80869 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80870 },
80871 $signature: 18
80872 };
80873 A._EvaluateVisitor_closure21.prototype = {
80874 call$1($arguments) {
80875 var module, t2, t3, t4,
80876 t1 = J.getInterceptor$asx($arguments),
80877 variable = t1.$index($arguments, 0).assertString$1("name");
80878 t1 = t1.$index($arguments, 1).get$realNull();
80879 module = t1 == null ? null : t1.assertString$1("module");
80880 t1 = this.$this;
80881 t2 = t1._evaluate0$_environment;
80882 t3 = variable._string0$_text;
80883 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
80884 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;
80885 },
80886 $signature: 18
80887 };
80888 A._EvaluateVisitor_closure22.prototype = {
80889 call$1($arguments) {
80890 var module, t2,
80891 t1 = J.getInterceptor$asx($arguments),
80892 variable = t1.$index($arguments, 0).assertString$1("name");
80893 t1 = t1.$index($arguments, 1).get$realNull();
80894 module = t1 == null ? null : t1.assertString$1("module");
80895 t1 = this.$this._evaluate0$_environment;
80896 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80897 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80898 },
80899 $signature: 18
80900 };
80901 A._EvaluateVisitor_closure23.prototype = {
80902 call$1($arguments) {
80903 var t1 = this.$this._evaluate0$_environment;
80904 if (!t1._environment0$_inMixin)
80905 throw A.wrapException(A.SassScriptException$0(string$.conten));
80906 return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80907 },
80908 $signature: 18
80909 };
80910 A._EvaluateVisitor_closure24.prototype = {
80911 call$1($arguments) {
80912 var t2, t3, t4,
80913 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80914 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80915 if (module == null)
80916 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80917 t1 = type$.Value_2;
80918 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80919 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80920 t4 = t3.get$current(t3);
80921 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
80922 }
80923 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80924 },
80925 $signature: 40
80926 };
80927 A._EvaluateVisitor_closure25.prototype = {
80928 call$1($arguments) {
80929 var t2, t3, t4,
80930 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80931 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80932 if (module == null)
80933 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80934 t1 = type$.Value_2;
80935 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80936 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80937 t4 = t3.get$current(t3);
80938 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
80939 }
80940 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80941 },
80942 $signature: 40
80943 };
80944 A._EvaluateVisitor_closure26.prototype = {
80945 call$1($arguments) {
80946 var module, callable, t2,
80947 t1 = J.getInterceptor$asx($arguments),
80948 $name = t1.$index($arguments, 0).assertString$1("name"),
80949 css = t1.$index($arguments, 1).get$isTruthy();
80950 t1 = t1.$index($arguments, 2).get$realNull();
80951 module = t1 == null ? null : t1.assertString$1("module");
80952 if (css && module != null)
80953 throw A.wrapException(string$.x24css_a);
80954 if (css)
80955 callable = new A.PlainCssCallable0($name._string0$_text);
80956 else {
80957 t1 = this.$this;
80958 t2 = t1._evaluate0$_callableNode;
80959 t2.toString;
80960 callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
80961 }
80962 if (callable != null)
80963 return new A.SassFunction0(callable);
80964 throw A.wrapException("Function not found: " + $name.toString$0(0));
80965 },
80966 $signature: 162
80967 };
80968 A._EvaluateVisitor__closure7.prototype = {
80969 call$0() {
80970 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
80971 t2 = this.module;
80972 t2 = t2 == null ? null : t2._string0$_text;
80973 return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
80974 },
80975 $signature: 105
80976 };
80977 A._EvaluateVisitor_closure27.prototype = {
80978 call$1($arguments) {
80979 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
80980 t1 = J.getInterceptor$asx($arguments),
80981 $function = t1.$index($arguments, 0),
80982 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
80983 t1 = this.$this;
80984 t2 = t1._evaluate0$_callableNode;
80985 t2.toString;
80986 t3 = A._setArrayType([], type$.JSArray_Expression_2);
80987 t4 = type$.String;
80988 t5 = type$.Expression_2;
80989 t6 = t2.get$span(t2);
80990 t7 = t2.get$span(t2);
80991 args._argument_list$_wereKeywordsAccessed = true;
80992 t8 = args._argument_list$_keywords;
80993 if (t8.get$isEmpty(t8))
80994 t2 = null;
80995 else {
80996 t9 = type$.Value_2;
80997 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
80998 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
80999 t11 = t8.get$current(t8);
81000 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
81001 }
81002 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
81003 }
81004 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);
81005 if ($function instanceof A.SassString0) {
81006 t2 = $function.toString$0(0);
81007 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
81008 callableNode = t1._evaluate0$_callableNode;
81009 return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
81010 }
81011 callable = $function.assertFunction$1("function").callable;
81012 if (type$.Callable_2._is(callable)) {
81013 t2 = t1._evaluate0$_callableNode;
81014 t2.toString;
81015 return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
81016 } else
81017 throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as));
81018 },
81019 $signature: 3
81020 };
81021 A._EvaluateVisitor_closure28.prototype = {
81022 call$1($arguments) {
81023 var withMap, t2, values, configuration,
81024 t1 = J.getInterceptor$asx($arguments),
81025 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
81026 t1 = t1.$index($arguments, 1).get$realNull();
81027 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
81028 t1 = this.$this;
81029 t2 = t1._evaluate0$_callableNode;
81030 t2.toString;
81031 if (withMap != null) {
81032 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
81033 withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
81034 configuration = new A.ExplicitConfiguration0(t2, values);
81035 } else
81036 configuration = B.Configuration_Map_empty0;
81037 t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t2.get$span(t2).file.url, configuration, true);
81038 t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
81039 },
81040 $signature: 395
81041 };
81042 A._EvaluateVisitor__closure5.prototype = {
81043 call$2(variable, value) {
81044 var t1 = variable.assertString$1("with key"),
81045 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
81046 t1 = this.values;
81047 if (t1.containsKey$1($name))
81048 throw A.wrapException("The variable $" + $name + " was configured twice.");
81049 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
81050 },
81051 $signature: 55
81052 };
81053 A._EvaluateVisitor__closure6.prototype = {
81054 call$1(module) {
81055 var t1 = this.$this;
81056 return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
81057 },
81058 $signature: 66
81059 };
81060 A._EvaluateVisitor_run_closure1.prototype = {
81061 call$0() {
81062 var t2, _this = this,
81063 t1 = _this.node,
81064 url = t1.span.file.url;
81065 if (url != null) {
81066 t2 = _this.$this;
81067 t2._evaluate0$_activeModules.$indexSet(0, url, null);
81068 if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
81069 t2._evaluate0$_loadedUrls.add$1(0, url);
81070 }
81071 t2 = _this.$this;
81072 return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
81073 },
81074 $signature: 397
81075 };
81076 A._EvaluateVisitor__loadModule_closure3.prototype = {
81077 call$0() {
81078 return this.callback.call$1(this.builtInModule);
81079 },
81080 $signature: 0
81081 };
81082 A._EvaluateVisitor__loadModule_closure4.prototype = {
81083 call$0() {
81084 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
81085 t1 = _this.$this,
81086 t2 = _this.nodeWithSpan,
81087 result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
81088 stylesheet = result.stylesheet,
81089 canonicalUrl = stylesheet.span.file.url;
81090 if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
81091 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
81092 t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
81093 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
81094 }
81095 if (canonicalUrl != null)
81096 t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
81097 oldInDependency = t1._evaluate0$_inDependency;
81098 t1._evaluate0$_inDependency = result.isDependency;
81099 module = null;
81100 try {
81101 module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
81102 } finally {
81103 t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
81104 t1._evaluate0$_inDependency = oldInDependency;
81105 }
81106 try {
81107 _this.callback.call$1(module);
81108 } catch (exception) {
81109 t2 = A.unwrapException(exception);
81110 if (type$.SassRuntimeException_2._is(t2))
81111 throw exception;
81112 else if (t2 instanceof A.MultiSpanSassException0) {
81113 error = t2;
81114 stackTrace = A.getTraceFromException(exception);
81115 t2 = error._span_exception$_message;
81116 t3 = error;
81117 t4 = J.getInterceptor$z(t3);
81118 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
81119 t4 = error.primaryLabel;
81120 t5 = error.secondarySpans;
81121 t6 = error;
81122 t7 = J.getInterceptor$z(t6);
81123 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);
81124 } else if (t2 instanceof A.SassException0) {
81125 error0 = t2;
81126 stackTrace0 = A.getTraceFromException(exception);
81127 t2 = error0;
81128 t3 = J.getInterceptor$z(t2);
81129 A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
81130 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
81131 error1 = t2;
81132 stackTrace1 = A.getTraceFromException(exception);
81133 A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
81134 } else if (t2 instanceof A.SassScriptException0) {
81135 error2 = t2;
81136 stackTrace2 = A.getTraceFromException(exception);
81137 A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
81138 } else
81139 throw exception;
81140 }
81141 },
81142 $signature: 1
81143 };
81144 A._EvaluateVisitor__loadModule__closure1.prototype = {
81145 call$1(previousLoad) {
81146 return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
81147 },
81148 $signature: 93
81149 };
81150 A._EvaluateVisitor__execute_closure1.prototype = {
81151 call$0() {
81152 var t3, t4, t5, t6, _this = this,
81153 t1 = _this.$this,
81154 oldImporter = t1._evaluate0$_importer,
81155 oldStylesheet = t1._evaluate0$__stylesheet,
81156 oldRoot = t1._evaluate0$__root,
81157 oldParent = t1._evaluate0$__parent,
81158 oldEndOfImports = t1._evaluate0$__endOfImports,
81159 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81160 oldExtensionStore = t1._evaluate0$__extensionStore,
81161 t2 = t1._evaluate0$_atRootExcludingStyleRule,
81162 oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
81163 oldMediaQueries = t1._evaluate0$_mediaQueries,
81164 oldDeclarationName = t1._evaluate0$_declarationName,
81165 oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
81166 oldInKeyframes = t1._evaluate0$_inKeyframes,
81167 oldConfiguration = t1._evaluate0$_configuration;
81168 t1._evaluate0$_importer = _this.importer;
81169 t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
81170 t4 = t3.span;
81171 t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
81172 t1._evaluate0$__endOfImports = 0;
81173 t1._evaluate0$_outOfOrderImports = null;
81174 t1._evaluate0$__extensionStore = _this.extensionStore;
81175 t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
81176 t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
81177 t6 = _this.configuration;
81178 if (t6 != null)
81179 t1._evaluate0$_configuration = t6;
81180 t1.visitStylesheet$1(t3);
81181 t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
81182 _this.css._value = t3;
81183 t1._evaluate0$_importer = oldImporter;
81184 t1._evaluate0$__stylesheet = oldStylesheet;
81185 t1._evaluate0$__root = oldRoot;
81186 t1._evaluate0$__parent = oldParent;
81187 t1._evaluate0$__endOfImports = oldEndOfImports;
81188 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81189 t1._evaluate0$__extensionStore = oldExtensionStore;
81190 t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
81191 t1._evaluate0$_mediaQueries = oldMediaQueries;
81192 t1._evaluate0$_declarationName = oldDeclarationName;
81193 t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
81194 t1._evaluate0$_atRootExcludingStyleRule = t2;
81195 t1._evaluate0$_inKeyframes = oldInKeyframes;
81196 t1._evaluate0$_configuration = oldConfiguration;
81197 },
81198 $signature: 1
81199 };
81200 A._EvaluateVisitor__combineCss_closure5.prototype = {
81201 call$1(module) {
81202 return module.get$transitivelyContainsCss();
81203 },
81204 $signature: 142
81205 };
81206 A._EvaluateVisitor__combineCss_closure6.prototype = {
81207 call$1(target) {
81208 return !this.selectors.contains$1(0, target);
81209 },
81210 $signature: 15
81211 };
81212 A._EvaluateVisitor__combineCss_closure7.prototype = {
81213 call$1(module) {
81214 return module.cloneCss$0();
81215 },
81216 $signature: 398
81217 };
81218 A._EvaluateVisitor__extendModules_closure3.prototype = {
81219 call$1(target) {
81220 return !this.originalSelectors.contains$1(0, target);
81221 },
81222 $signature: 15
81223 };
81224 A._EvaluateVisitor__extendModules_closure4.prototype = {
81225 call$0() {
81226 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
81227 },
81228 $signature: 168
81229 };
81230 A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
81231 call$1(module) {
81232 var t1, t2, t3, _i, upstream;
81233 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
81234 upstream = t1[_i];
81235 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
81236 this.call$1(upstream);
81237 }
81238 this.sorted.addFirst$1(module);
81239 },
81240 $signature: 66
81241 };
81242 A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
81243 call$0() {
81244 var t1 = A.SpanScanner$(this.resolved, null);
81245 return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81246 },
81247 $signature: 108
81248 };
81249 A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
81250 call$0() {
81251 var t1, t2, t3, _i;
81252 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81253 t1[_i].accept$1(t3);
81254 },
81255 $signature: 1
81256 };
81257 A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
81258 call$0() {
81259 var t1, t2, t3, _i;
81260 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81261 t1[_i].accept$1(t3);
81262 },
81263 $signature: 0
81264 };
81265 A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
81266 call$1(callback) {
81267 var t1 = this.$this,
81268 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
81269 t1._evaluate0$__parent = this.newParent;
81270 t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
81271 t1._evaluate0$__parent = t2;
81272 },
81273 $signature: 28
81274 };
81275 A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
81276 call$1(callback) {
81277 var t1 = this.$this,
81278 oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
81279 t1._evaluate0$_atRootExcludingStyleRule = true;
81280 this.innerScope.call$1(callback);
81281 t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
81282 },
81283 $signature: 28
81284 };
81285 A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
81286 call$1(callback) {
81287 return this.$this._evaluate0$_withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
81288 },
81289 $signature: 28
81290 };
81291 A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
81292 call$0() {
81293 return this.innerScope.call$1(this.callback);
81294 },
81295 $signature: 1
81296 };
81297 A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
81298 call$1(callback) {
81299 var t1 = this.$this,
81300 wasInKeyframes = t1._evaluate0$_inKeyframes;
81301 t1._evaluate0$_inKeyframes = false;
81302 this.innerScope.call$1(callback);
81303 t1._evaluate0$_inKeyframes = wasInKeyframes;
81304 },
81305 $signature: 28
81306 };
81307 A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
81308 call$1($parent) {
81309 return type$.CssAtRule_2._is($parent);
81310 },
81311 $signature: 170
81312 };
81313 A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
81314 call$1(callback) {
81315 var t1 = this.$this,
81316 wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
81317 t1._evaluate0$_inUnknownAtRule = false;
81318 this.innerScope.call$1(callback);
81319 t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
81320 },
81321 $signature: 28
81322 };
81323 A._EvaluateVisitor_visitContentRule_closure1.prototype = {
81324 call$0() {
81325 var t1, t2, t3, _i;
81326 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81327 t1[_i].accept$1(t3);
81328 return null;
81329 },
81330 $signature: 1
81331 };
81332 A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
81333 call$1(value) {
81334 return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
81335 },
81336 $signature: 399
81337 };
81338 A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
81339 call$0() {
81340 var t1, t2, t3, _i;
81341 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81342 t1[_i].accept$1(t3);
81343 },
81344 $signature: 1
81345 };
81346 A._EvaluateVisitor_visitEachRule_closure5.prototype = {
81347 call$1(value) {
81348 var t1 = this.$this,
81349 t2 = this.nodeWithSpan;
81350 return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
81351 },
81352 $signature: 53
81353 };
81354 A._EvaluateVisitor_visitEachRule_closure6.prototype = {
81355 call$1(value) {
81356 return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
81357 },
81358 $signature: 53
81359 };
81360 A._EvaluateVisitor_visitEachRule_closure7.prototype = {
81361 call$0() {
81362 var _this = this,
81363 t1 = _this.$this;
81364 return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
81365 },
81366 $signature: 39
81367 };
81368 A._EvaluateVisitor_visitEachRule__closure1.prototype = {
81369 call$1(element) {
81370 var t1;
81371 this.setVariables.call$1(element);
81372 t1 = this.$this;
81373 return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
81374 },
81375 $signature: 201
81376 };
81377 A._EvaluateVisitor_visitEachRule___closure1.prototype = {
81378 call$1(child) {
81379 return child.accept$1(this.$this);
81380 },
81381 $signature: 79
81382 };
81383 A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
81384 call$0() {
81385 return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
81386 },
81387 $signature: 45
81388 };
81389 A._EvaluateVisitor_visitAtRule_closure5.prototype = {
81390 call$1(value) {
81391 return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
81392 },
81393 $signature: 402
81394 };
81395 A._EvaluateVisitor_visitAtRule_closure6.prototype = {
81396 call$0() {
81397 var t2, t3, _i,
81398 t1 = this.$this,
81399 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81400 if (styleRule == null || t1._evaluate0$_inKeyframes)
81401 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81402 t2[_i].accept$1(t1);
81403 else
81404 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);
81405 },
81406 $signature: 1
81407 };
81408 A._EvaluateVisitor_visitAtRule__closure1.prototype = {
81409 call$0() {
81410 var t1, t2, t3, _i;
81411 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81412 t1[_i].accept$1(t3);
81413 },
81414 $signature: 1
81415 };
81416 A._EvaluateVisitor_visitAtRule_closure7.prototype = {
81417 call$1(node) {
81418 return type$.CssStyleRule_2._is(node);
81419 },
81420 $signature: 7
81421 };
81422 A._EvaluateVisitor_visitForRule_closure9.prototype = {
81423 call$0() {
81424 return this.node.from.accept$1(this.$this).assertNumber$0();
81425 },
81426 $signature: 218
81427 };
81428 A._EvaluateVisitor_visitForRule_closure10.prototype = {
81429 call$0() {
81430 return this.node.to.accept$1(this.$this).assertNumber$0();
81431 },
81432 $signature: 218
81433 };
81434 A._EvaluateVisitor_visitForRule_closure11.prototype = {
81435 call$0() {
81436 return this.fromNumber.assertInt$0();
81437 },
81438 $signature: 12
81439 };
81440 A._EvaluateVisitor_visitForRule_closure12.prototype = {
81441 call$0() {
81442 var t1 = this.fromNumber;
81443 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
81444 },
81445 $signature: 12
81446 };
81447 A._EvaluateVisitor_visitForRule_closure13.prototype = {
81448 call$0() {
81449 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
81450 t1 = _this.$this,
81451 t2 = _this.node,
81452 nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
81453 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) {
81454 t7 = t1._evaluate0$_environment;
81455 t8 = t6.get$numeratorUnits(t6);
81456 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
81457 result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
81458 if (result != null)
81459 return result;
81460 }
81461 return null;
81462 },
81463 $signature: 39
81464 };
81465 A._EvaluateVisitor_visitForRule__closure1.prototype = {
81466 call$1(child) {
81467 return child.accept$1(this.$this);
81468 },
81469 $signature: 79
81470 };
81471 A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
81472 call$1(module) {
81473 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81474 },
81475 $signature: 66
81476 };
81477 A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
81478 call$1(module) {
81479 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81480 },
81481 $signature: 66
81482 };
81483 A._EvaluateVisitor_visitIfRule_closure1.prototype = {
81484 call$0() {
81485 var t1 = this.$this;
81486 return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
81487 },
81488 $signature: 39
81489 };
81490 A._EvaluateVisitor_visitIfRule__closure1.prototype = {
81491 call$1(child) {
81492 return child.accept$1(this.$this);
81493 },
81494 $signature: 79
81495 };
81496 A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
81497 call$0() {
81498 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
81499 t1 = this.$this,
81500 t2 = this.$import,
81501 result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
81502 stylesheet = result.stylesheet,
81503 url = stylesheet.span.file.url;
81504 if (url != null) {
81505 t3 = t1._evaluate0$_activeModules;
81506 if (t3.containsKey$1(url)) {
81507 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
81508 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
81509 }
81510 t3.$indexSet(0, url, t2);
81511 }
81512 t2 = stylesheet._stylesheet1$_uses;
81513 t3 = type$.UnmodifiableListView_UseRule_2;
81514 t4 = new A.UnmodifiableListView(t2, t3);
81515 if (t4.get$length(t4) === 0) {
81516 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81517 t4 = t4.get$length(t4) === 0;
81518 } else
81519 t4 = false;
81520 if (t4) {
81521 oldImporter = t1._evaluate0$_importer;
81522 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
81523 oldInDependency = t1._evaluate0$_inDependency;
81524 t1._evaluate0$_importer = result.importer;
81525 t1._evaluate0$__stylesheet = stylesheet;
81526 t1._evaluate0$_inDependency = result.isDependency;
81527 t1.visitStylesheet$1(stylesheet);
81528 t1._evaluate0$_importer = oldImporter;
81529 t1._evaluate0$__stylesheet = t2;
81530 t1._evaluate0$_inDependency = oldInDependency;
81531 t1._evaluate0$_activeModules.remove$1(0, url);
81532 return;
81533 }
81534 t2 = new A.UnmodifiableListView(t2, t3);
81535 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
81536 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81537 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
81538 } else
81539 loadsUserDefinedModules = true;
81540 children = A._Cell$();
81541 t2 = t1._evaluate0$_environment;
81542 t3 = type$.String;
81543 t4 = type$.Module_Callable_2;
81544 t5 = type$.AstNode_2;
81545 t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
81546 t7 = t2._environment0$_variables;
81547 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
81548 t8 = t2._environment0$_variableNodes;
81549 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
81550 t9 = t2._environment0$_functions;
81551 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
81552 t10 = t2._environment0$_mixins;
81553 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
81554 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);
81555 t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
81556 module = environment.toDummyModule$0();
81557 t1._evaluate0$_environment.importForwards$1(module);
81558 if (loadsUserDefinedModules) {
81559 if (module.transitivelyContainsCss)
81560 t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
81561 visitor = new A._ImportedCssVisitor1(t1);
81562 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
81563 t2.get$current(t2).accept$1(visitor);
81564 }
81565 t1._evaluate0$_activeModules.remove$1(0, url);
81566 },
81567 $signature: 0
81568 };
81569 A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
81570 call$1(previousLoad) {
81571 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));
81572 },
81573 $signature: 93
81574 };
81575 A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
81576 call$1(rule) {
81577 return rule.url.get$scheme() !== "sass";
81578 },
81579 $signature: 178
81580 };
81581 A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
81582 call$1(rule) {
81583 return rule.url.get$scheme() !== "sass";
81584 },
81585 $signature: 179
81586 };
81587 A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
81588 call$0() {
81589 var t7, t8, t9, _this = this,
81590 t1 = _this.$this,
81591 oldImporter = t1._evaluate0$_importer,
81592 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
81593 t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
81594 t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
81595 t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
81596 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81597 oldConfiguration = t1._evaluate0$_configuration,
81598 oldInDependency = t1._evaluate0$_inDependency,
81599 t6 = _this.result;
81600 t1._evaluate0$_importer = t6.importer;
81601 t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
81602 t8 = _this.loadsUserDefinedModules;
81603 if (t8) {
81604 t9 = A.ModifiableCssStylesheet$0(t7.span);
81605 t1._evaluate0$__root = t9;
81606 t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
81607 t1._evaluate0$__endOfImports = 0;
81608 t1._evaluate0$_outOfOrderImports = null;
81609 }
81610 t1._evaluate0$_inDependency = t6.isDependency;
81611 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81612 if (!t6.get$isEmpty(t6))
81613 t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
81614 t1.visitStylesheet$1(t7);
81615 t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
81616 _this.children._value = t6;
81617 t1._evaluate0$_importer = oldImporter;
81618 t1._evaluate0$__stylesheet = t2;
81619 if (t8) {
81620 t1._evaluate0$__root = t3;
81621 t1._evaluate0$__parent = t4;
81622 t1._evaluate0$__endOfImports = t5;
81623 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81624 }
81625 t1._evaluate0$_configuration = oldConfiguration;
81626 t1._evaluate0$_inDependency = oldInDependency;
81627 },
81628 $signature: 1
81629 };
81630 A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
81631 call$0() {
81632 var t1 = this.node;
81633 return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
81634 },
81635 $signature: 105
81636 };
81637 A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
81638 call$0() {
81639 return this.node.get$spanWithoutContent();
81640 },
81641 $signature: 30
81642 };
81643 A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
81644 call$1($content) {
81645 var t1 = this.$this;
81646 return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
81647 },
81648 $signature: 404
81649 };
81650 A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
81651 call$0() {
81652 var _this = this,
81653 t1 = _this.$this,
81654 t2 = t1._evaluate0$_environment,
81655 oldContent = t2._environment0$_content;
81656 t2._environment0$_content = _this.contentCallable;
81657 new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
81658 t2._environment0$_content = oldContent;
81659 },
81660 $signature: 1
81661 };
81662 A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
81663 call$0() {
81664 var t1 = this.$this,
81665 t2 = t1._evaluate0$_environment,
81666 oldInMixin = t2._environment0$_inMixin;
81667 t2._environment0$_inMixin = true;
81668 new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
81669 t2._environment0$_inMixin = oldInMixin;
81670 },
81671 $signature: 0
81672 };
81673 A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
81674 call$0() {
81675 var t1, t2, t3, t4, _i;
81676 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
81677 t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
81678 },
81679 $signature: 0
81680 };
81681 A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
81682 call$0() {
81683 return this.statement.accept$1(this.$this);
81684 },
81685 $signature: 39
81686 };
81687 A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
81688 call$1(mediaQueries) {
81689 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
81690 },
81691 $signature: 80
81692 };
81693 A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
81694 call$0() {
81695 var _this = this,
81696 t1 = _this.$this,
81697 t2 = _this.mergedQueries;
81698 if (t2 == null)
81699 t2 = _this.queries;
81700 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
81701 },
81702 $signature: 1
81703 };
81704 A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
81705 call$0() {
81706 var t2, t3, _i,
81707 t1 = this.$this,
81708 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81709 if (styleRule == null)
81710 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81711 t2[_i].accept$1(t1);
81712 else
81713 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);
81714 },
81715 $signature: 1
81716 };
81717 A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
81718 call$0() {
81719 var t1, t2, t3, _i;
81720 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81721 t1[_i].accept$1(t3);
81722 },
81723 $signature: 1
81724 };
81725 A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
81726 call$1(node) {
81727 var t1;
81728 if (!type$.CssStyleRule_2._is(node))
81729 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
81730 else
81731 t1 = true;
81732 return t1;
81733 },
81734 $signature: 7
81735 };
81736 A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
81737 call$0() {
81738 var t1 = A.SpanScanner$(this.resolved, null);
81739 return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81740 },
81741 $signature: 113
81742 };
81743 A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
81744 call$0() {
81745 return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
81746 },
81747 $signature: 46
81748 };
81749 A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
81750 call$0() {
81751 var t1, t2, t3, _i;
81752 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81753 t1[_i].accept$1(t3);
81754 },
81755 $signature: 1
81756 };
81757 A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
81758 call$1(node) {
81759 return type$.CssStyleRule_2._is(node);
81760 },
81761 $signature: 7
81762 };
81763 A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
81764 call$0() {
81765 var _s11_ = "_stylesheet",
81766 t1 = this.$this;
81767 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);
81768 },
81769 $signature: 45
81770 };
81771 A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
81772 call$0() {
81773 var t1 = this._box_0.parsedSelector,
81774 t2 = this.$this,
81775 t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
81776 t3 = t3 == null ? null : t3.originalSelector;
81777 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
81778 },
81779 $signature: 45
81780 };
81781 A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
81782 call$0() {
81783 var t1 = this.$this;
81784 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
81785 },
81786 $signature: 1
81787 };
81788 A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
81789 call$0() {
81790 var t1, t2, t3, _i;
81791 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81792 t1[_i].accept$1(t3);
81793 },
81794 $signature: 1
81795 };
81796 A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
81797 call$1(node) {
81798 return type$.CssStyleRule_2._is(node);
81799 },
81800 $signature: 7
81801 };
81802 A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
81803 call$0() {
81804 var t2, t3, _i,
81805 t1 = this.$this,
81806 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81807 if (styleRule == null)
81808 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81809 t2[_i].accept$1(t1);
81810 else
81811 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);
81812 },
81813 $signature: 1
81814 };
81815 A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
81816 call$0() {
81817 var t1, t2, t3, _i;
81818 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81819 t1[_i].accept$1(t3);
81820 },
81821 $signature: 1
81822 };
81823 A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
81824 call$1(node) {
81825 return type$.CssStyleRule_2._is(node);
81826 },
81827 $signature: 7
81828 };
81829 A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
81830 call$0() {
81831 var t1 = this.override;
81832 this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
81833 },
81834 $signature: 1
81835 };
81836 A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
81837 call$0() {
81838 var t1 = this.node;
81839 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81840 },
81841 $signature: 39
81842 };
81843 A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
81844 call$0() {
81845 var t1 = this.$this,
81846 t2 = this.node;
81847 t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
81848 },
81849 $signature: 1
81850 };
81851 A._EvaluateVisitor_visitUseRule_closure1.prototype = {
81852 call$1(module) {
81853 var t1 = this.node;
81854 this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
81855 },
81856 $signature: 66
81857 };
81858 A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
81859 call$0() {
81860 return this.node.expression.accept$1(this.$this);
81861 },
81862 $signature: 47
81863 };
81864 A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
81865 call$0() {
81866 var t1, t2, t3, result;
81867 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
81868 result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
81869 if (result != null)
81870 return result;
81871 }
81872 return null;
81873 },
81874 $signature: 39
81875 };
81876 A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
81877 call$1(child) {
81878 return child.accept$1(this.$this);
81879 },
81880 $signature: 79
81881 };
81882 A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
81883 call$0() {
81884 var right, result,
81885 t1 = this.node,
81886 t2 = this.$this,
81887 left = t1.left.accept$1(t2),
81888 t3 = t1.operator;
81889 switch (t3) {
81890 case B.BinaryOperator_kjl0:
81891 right = t1.right.accept$1(t2);
81892 return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
81893 case B.BinaryOperator_or_or_10:
81894 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
81895 case B.BinaryOperator_and_and_20:
81896 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
81897 case B.BinaryOperator_YlX0:
81898 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81899 case B.BinaryOperator_i5H0:
81900 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81901 case B.BinaryOperator_AcR1:
81902 return left.greaterThan$1(t1.right.accept$1(t2));
81903 case B.BinaryOperator_1da0:
81904 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
81905 case B.BinaryOperator_8qt0:
81906 return left.lessThan$1(t1.right.accept$1(t2));
81907 case B.BinaryOperator_33h0:
81908 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
81909 case B.BinaryOperator_AcR2:
81910 return left.plus$1(t1.right.accept$1(t2));
81911 case B.BinaryOperator_iyO0:
81912 return left.minus$1(t1.right.accept$1(t2));
81913 case B.BinaryOperator_O1M0:
81914 return left.times$1(t1.right.accept$1(t2));
81915 case B.BinaryOperator_RTB0:
81916 right = t1.right.accept$1(t2);
81917 result = left.dividedBy$1(right);
81918 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81919 return type$.SassNumber_2._as(result).withSlash$2(left, right);
81920 else {
81921 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81922 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);
81923 return result;
81924 }
81925 case B.BinaryOperator_2ad0:
81926 return left.modulo$1(t1.right.accept$1(t2));
81927 default:
81928 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
81929 }
81930 },
81931 $signature: 47
81932 };
81933 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
81934 call$1(expression) {
81935 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
81936 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
81937 else if (expression instanceof A.ParenthesizedExpression0)
81938 return expression.expression.toString$0(0);
81939 else
81940 return expression.toString$0(0);
81941 },
81942 $signature: 122
81943 };
81944 A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
81945 call$0() {
81946 var t1 = this.node;
81947 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81948 },
81949 $signature: 39
81950 };
81951 A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
81952 call$0() {
81953 var _this = this,
81954 t1 = _this.node.operator;
81955 switch (t1) {
81956 case B.UnaryOperator_j2w0:
81957 return _this.operand.unaryPlus$0();
81958 case B.UnaryOperator_U4G0:
81959 return _this.operand.unaryMinus$0();
81960 case B.UnaryOperator_zDx0:
81961 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
81962 case B.UnaryOperator_not_not0:
81963 return _this.operand.unaryNot$0();
81964 default:
81965 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
81966 }
81967 },
81968 $signature: 47
81969 };
81970 A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
81971 call$0() {
81972 var t1 = this.$this,
81973 t2 = this.node,
81974 t3 = this.inMinMax;
81975 return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._evaluate0$_inSupportsDeclaration);
81976 },
81977 $signature: 88
81978 };
81979 A._EvaluateVisitor_visitListExpression_closure1.prototype = {
81980 call$1(expression) {
81981 return expression.accept$1(this.$this);
81982 },
81983 $signature: 405
81984 };
81985 A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
81986 call$0() {
81987 var t1 = this.node;
81988 return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
81989 },
81990 $signature: 105
81991 };
81992 A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
81993 call$0() {
81994 var t1 = this.node;
81995 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
81996 },
81997 $signature: 47
81998 };
81999 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
82000 call$0() {
82001 var t1 = this.node;
82002 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
82003 },
82004 $signature: 47
82005 };
82006 A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
82007 call$0() {
82008 var _this = this,
82009 t1 = _this.$this,
82010 t2 = _this.callable;
82011 return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
82012 },
82013 $signature() {
82014 return this.V._eval$1("0()");
82015 }
82016 };
82017 A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
82018 call$0() {
82019 var _this = this,
82020 t1 = _this.$this,
82021 t2 = _this.V;
82022 return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
82023 },
82024 $signature() {
82025 return this.V._eval$1("0()");
82026 }
82027 };
82028 A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
82029 call$0() {
82030 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
82031 t1 = _this.$this,
82032 t2 = _this.evaluated,
82033 t3 = t2.positional,
82034 t4 = t2.named,
82035 t5 = _this.callable.declaration.$arguments,
82036 t6 = _this.nodeWithSpan;
82037 t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
82038 declaredArguments = t5.$arguments;
82039 t7 = declaredArguments.length;
82040 minLength = Math.min(t3.length, t7);
82041 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
82042 t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
82043 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
82044 argument = declaredArguments[i];
82045 t9 = argument.name;
82046 value = t4.remove$1(0, t9);
82047 if (value == null) {
82048 t10 = argument.defaultValue;
82049 value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
82050 }
82051 t10 = t1._evaluate0$_environment;
82052 t11 = t8.$index(0, t9);
82053 if (t11 == null) {
82054 t11 = argument.defaultValue;
82055 t11.toString;
82056 t11 = t1._evaluate0$_expressionNode$1(t11);
82057 }
82058 t10.setLocalVariable$3(t9, value, t11);
82059 }
82060 restArgument = t5.restArgument;
82061 if (restArgument != null) {
82062 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
82063 t2 = t2.separator;
82064 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
82065 t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
82066 } else
82067 argumentList = null;
82068 result = _this.run.call$0();
82069 if (argumentList == null)
82070 return result;
82071 t2 = t4.__js_helper$_length;
82072 if (t2 === 0)
82073 return result;
82074 if (argumentList._argument_list$_wereKeywordsAccessed)
82075 return result;
82076 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
82077 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", t2, null) + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure1(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", 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))));
82078 },
82079 $signature() {
82080 return this.V._eval$1("0()");
82081 }
82082 };
82083 A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
82084 call$1($name) {
82085 return "$" + $name;
82086 },
82087 $signature: 5
82088 };
82089 A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
82090 call$0() {
82091 var t1, t2, t3, t4, _i, $returnValue;
82092 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
82093 $returnValue = t2[_i].accept$1(t4);
82094 if ($returnValue instanceof A.Value0)
82095 return $returnValue;
82096 }
82097 throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
82098 },
82099 $signature: 47
82100 };
82101 A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
82102 call$0() {
82103 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
82104 },
82105 $signature: 0
82106 };
82107 A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
82108 call$1($name) {
82109 return "$" + $name;
82110 },
82111 $signature: 5
82112 };
82113 A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
82114 call$1(value) {
82115 return value;
82116 },
82117 $signature: 38
82118 };
82119 A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
82120 call$1(value) {
82121 return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
82122 },
82123 $signature: 38
82124 };
82125 A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
82126 call$2(key, value) {
82127 var _this = this,
82128 t1 = _this.restNodeForSpan;
82129 _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
82130 _this.namedNodes.$indexSet(0, key, t1);
82131 },
82132 $signature: 74
82133 };
82134 A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
82135 call$1(value) {
82136 return value;
82137 },
82138 $signature: 38
82139 };
82140 A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
82141 call$1(value) {
82142 var t1 = this.restArgs;
82143 return new A.ValueExpression0(value, t1.get$span(t1));
82144 },
82145 $signature: 58
82146 };
82147 A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
82148 call$1(value) {
82149 var t1 = this.restArgs;
82150 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
82151 },
82152 $signature: 58
82153 };
82154 A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
82155 call$2(key, value) {
82156 var _this = this,
82157 t1 = _this.restArgs;
82158 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
82159 },
82160 $signature: 74
82161 };
82162 A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
82163 call$1(value) {
82164 var t1 = this.keywordRestArgs;
82165 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
82166 },
82167 $signature: 58
82168 };
82169 A._EvaluateVisitor__addRestMap_closure1.prototype = {
82170 call$2(key, value) {
82171 var t2, _this = this,
82172 t1 = _this.$this;
82173 if (key instanceof A.SassString0)
82174 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
82175 else {
82176 t2 = _this.nodeWithSpan;
82177 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)));
82178 }
82179 },
82180 $signature: 55
82181 };
82182 A._EvaluateVisitor__verifyArguments_closure1.prototype = {
82183 call$0() {
82184 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
82185 },
82186 $signature: 0
82187 };
82188 A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
82189 call$1(value) {
82190 var t1, result;
82191 if (typeof value == "string")
82192 return value;
82193 type$.Expression_2._as(value);
82194 t1 = this.$this;
82195 result = value.accept$1(t1);
82196 return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
82197 },
82198 $signature: 48
82199 };
82200 A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
82201 call$0() {
82202 var t1, t2, t3, t4;
82203 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
82204 t4 = t1.__internal$_current;
82205 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82206 }
82207 },
82208 $signature: 1
82209 };
82210 A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
82211 call$1(node) {
82212 return type$.CssStyleRule_2._is(node);
82213 },
82214 $signature: 7
82215 };
82216 A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
82217 call$0() {
82218 var t1, t2, t3, t4;
82219 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
82220 t4 = t1.__internal$_current;
82221 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82222 }
82223 },
82224 $signature: 1
82225 };
82226 A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
82227 call$1(node) {
82228 return type$.CssStyleRule_2._is(node);
82229 },
82230 $signature: 7
82231 };
82232 A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
82233 call$1(mediaQueries) {
82234 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
82235 },
82236 $signature: 80
82237 };
82238 A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
82239 call$0() {
82240 var _this = this,
82241 t1 = _this.$this,
82242 t2 = _this.mergedQueries;
82243 if (t2 == null)
82244 t2 = _this.node.queries;
82245 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
82246 },
82247 $signature: 1
82248 };
82249 A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
82250 call$0() {
82251 var t2, t3, t4,
82252 t1 = this.$this,
82253 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82254 if (styleRule == null)
82255 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
82256 t4 = t2.__internal$_current;
82257 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
82258 }
82259 else
82260 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);
82261 },
82262 $signature: 1
82263 };
82264 A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
82265 call$0() {
82266 var t1, t2, t3, t4;
82267 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
82268 t4 = t1.__internal$_current;
82269 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82270 }
82271 },
82272 $signature: 1
82273 };
82274 A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
82275 call$1(node) {
82276 var t1;
82277 if (!type$.CssStyleRule_2._is(node))
82278 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
82279 else
82280 t1 = true;
82281 return t1;
82282 },
82283 $signature: 7
82284 };
82285 A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
82286 call$0() {
82287 var t1 = this.$this;
82288 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
82289 },
82290 $signature: 1
82291 };
82292 A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
82293 call$0() {
82294 var t1, t2, t3, t4;
82295 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
82296 t4 = t1.__internal$_current;
82297 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82298 }
82299 },
82300 $signature: 1
82301 };
82302 A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
82303 call$1(node) {
82304 return type$.CssStyleRule_2._is(node);
82305 },
82306 $signature: 7
82307 };
82308 A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
82309 call$0() {
82310 var t2, t3, t4,
82311 t1 = this.$this,
82312 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82313 if (styleRule == null)
82314 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
82315 t4 = t2.__internal$_current;
82316 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
82317 }
82318 else
82319 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);
82320 },
82321 $signature: 1
82322 };
82323 A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
82324 call$0() {
82325 var t1, t2, t3, t4;
82326 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
82327 t4 = t1.__internal$_current;
82328 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82329 }
82330 },
82331 $signature: 1
82332 };
82333 A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
82334 call$1(node) {
82335 return type$.CssStyleRule_2._is(node);
82336 },
82337 $signature: 7
82338 };
82339 A._EvaluateVisitor__performInterpolation_closure1.prototype = {
82340 call$1(value) {
82341 var t1, result, t2, t3;
82342 if (typeof value == "string")
82343 return value;
82344 type$.Expression_2._as(value);
82345 t1 = this.$this;
82346 result = value.accept$1(t1);
82347 if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
82348 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
82349 t3 = $.$get$namesByColor0();
82350 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));
82351 }
82352 return t1._evaluate0$_serialize$3$quote(result, value, false);
82353 },
82354 $signature: 48
82355 };
82356 A._EvaluateVisitor__serialize_closure1.prototype = {
82357 call$0() {
82358 return A.serializeValue0(this.value, false, this.quote);
82359 },
82360 $signature: 29
82361 };
82362 A._EvaluateVisitor__expressionNode_closure1.prototype = {
82363 call$0() {
82364 var t1 = this.expression;
82365 return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
82366 },
82367 $signature: 189
82368 };
82369 A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
82370 call$1(number) {
82371 var asSlash = number.asSlash;
82372 if (asSlash != null)
82373 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
82374 else
82375 return A.serializeValue0(number, true, true);
82376 },
82377 $signature: 190
82378 };
82379 A._EvaluateVisitor__stackFrame_closure1.prototype = {
82380 call$1(url) {
82381 var t1 = this.$this._evaluate0$_importCache;
82382 t1 = t1 == null ? null : t1.humanize$1(url);
82383 return t1 == null ? url : t1;
82384 },
82385 $signature: 90
82386 };
82387 A._EvaluateVisitor__stackTrace_closure1.prototype = {
82388 call$1(tuple) {
82389 return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
82390 },
82391 $signature: 191
82392 };
82393 A._ImportedCssVisitor1.prototype = {
82394 visitCssAtRule$1(node) {
82395 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
82396 this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
82397 },
82398 visitCssComment$1(node) {
82399 return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
82400 },
82401 visitCssDeclaration$1(node) {
82402 },
82403 visitCssImport$1(node) {
82404 var t2,
82405 _s13_ = "_endOfImports",
82406 t1 = this._evaluate0$_visitor;
82407 if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
82408 t1._evaluate0$_addChild$1(node);
82409 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)) {
82410 t1._evaluate0$_addChild$1(node);
82411 t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
82412 } else {
82413 t2 = t1._evaluate0$_outOfOrderImports;
82414 (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
82415 }
82416 },
82417 visitCssKeyframeBlock$1(node) {
82418 },
82419 visitCssMediaRule$1(node) {
82420 var t1 = this._evaluate0$_visitor,
82421 mediaQueries = t1._evaluate0$_mediaQueries;
82422 t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
82423 },
82424 visitCssStyleRule$1(node) {
82425 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
82426 },
82427 visitCssStylesheet$1(node) {
82428 var t1, t2, t3;
82429 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
82430 t3 = t1.__internal$_current;
82431 (t3 == null ? t2._as(t3) : t3).accept$1(this);
82432 }
82433 },
82434 visitCssSupportsRule$1(node) {
82435 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
82436 }
82437 };
82438 A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
82439 call$1(node) {
82440 return type$.CssStyleRule_2._is(node);
82441 },
82442 $signature: 7
82443 };
82444 A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
82445 call$1(node) {
82446 var t1;
82447 if (!type$.CssStyleRule_2._is(node))
82448 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
82449 else
82450 t1 = true;
82451 return t1;
82452 },
82453 $signature: 7
82454 };
82455 A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
82456 call$1(node) {
82457 return type$.CssStyleRule_2._is(node);
82458 },
82459 $signature: 7
82460 };
82461 A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
82462 call$1(node) {
82463 return type$.CssStyleRule_2._is(node);
82464 },
82465 $signature: 7
82466 };
82467 A._EvaluationContext1.prototype = {
82468 get$currentCallableSpan() {
82469 var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
82470 if (callableNode != null)
82471 return callableNode.get$span(callableNode);
82472 throw A.wrapException(A.StateError$(string$.No_Sasc));
82473 },
82474 warn$2$deprecation(_, message, deprecation) {
82475 var t1 = this._evaluate0$_visitor,
82476 t2 = t1._evaluate0$_importSpan;
82477 if (t2 == null) {
82478 t2 = t1._evaluate0$_callableNode;
82479 t2 = t2 == null ? null : t2.get$span(t2);
82480 }
82481 t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
82482 },
82483 $isEvaluationContext0: 1
82484 };
82485 A._ArgumentResults1.prototype = {};
82486 A._LoadedStylesheet1.prototype = {};
82487 A._NodeException.prototype = {};
82488 A.exceptionClass_closure.prototype = {
82489 call$0() {
82490 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());
82491 A.defineGetter(jsClass, "name", null, "sass.Exception");
82492 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));
82493 return jsClass;
82494 },
82495 $signature: 23
82496 };
82497 A.exceptionClass__closure.prototype = {
82498 call$1(exception) {
82499 return J.get$_dartException$x(exception)._span_exception$_message;
82500 },
82501 $signature: 219
82502 };
82503 A.exceptionClass__closure0.prototype = {
82504 call$1(exception) {
82505 return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
82506 },
82507 $signature: 219
82508 };
82509 A.exceptionClass__closure1.prototype = {
82510 call$1(exception) {
82511 var t1 = J.get$_dartException$x(exception),
82512 t2 = J.getInterceptor$z(t1);
82513 return A.SourceSpanException.prototype.get$span.call(t2, t1);
82514 },
82515 $signature: 407
82516 };
82517 A.SassException0.prototype = {
82518 get$trace(_) {
82519 return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
82520 },
82521 get$span(_) {
82522 return A.SourceSpanException.prototype.get$span.call(this, this);
82523 },
82524 toString$1$color(_, color) {
82525 var t2, _i, frame, t3, _this = this,
82526 buffer = new A.StringBuffer(""),
82527 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
82528 buffer._contents = t1;
82529 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
82530 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82531 frame = t1[_i];
82532 if (J.get$length$asx(frame) === 0)
82533 continue;
82534 t3 = buffer._contents += "\n";
82535 buffer._contents = t3 + (" " + A.S(frame));
82536 }
82537 t1 = buffer._contents;
82538 return t1.charCodeAt(0) == 0 ? t1 : t1;
82539 },
82540 toString$0($receiver) {
82541 return this.toString$1$color($receiver, null);
82542 }
82543 };
82544 A.MultiSpanSassException0.prototype = {
82545 toString$1$color(_, color) {
82546 var t1, t2, _i, frame, _this = this,
82547 useColor = color === true && true,
82548 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
82549 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));
82550 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82551 frame = t1[_i];
82552 if (J.get$length$asx(frame) === 0)
82553 continue;
82554 buffer._contents += "\n";
82555 buffer._contents += " " + A.S(frame);
82556 }
82557 t1 = buffer._contents;
82558 return t1.charCodeAt(0) == 0 ? t1 : t1;
82559 },
82560 toString$0($receiver) {
82561 return this.toString$1$color($receiver, null);
82562 }
82563 };
82564 A.SassRuntimeException0.prototype = {
82565 get$trace(receiver) {
82566 return this.trace;
82567 }
82568 };
82569 A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
82570 get$trace(receiver) {
82571 return this.trace;
82572 }
82573 };
82574 A.SassFormatException0.prototype = {
82575 get$source() {
82576 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
82577 },
82578 $isFormatException: 1,
82579 $isSourceSpanFormatException: 1
82580 };
82581 A.SassScriptException0.prototype = {
82582 toString$0(_) {
82583 return this.message + string$.x0a_BUG_;
82584 },
82585 get$message(receiver) {
82586 return this.message;
82587 }
82588 };
82589 A.MultiSpanSassScriptException0.prototype = {};
82590 A.Exports.prototype = {};
82591 A.LoggerNamespace.prototype = {};
82592 A.ExtendRule0.prototype = {
82593 accept$1$1(visitor) {
82594 return visitor.visitExtendRule$1(this);
82595 },
82596 accept$1(visitor) {
82597 return this.accept$1$1(visitor, type$.dynamic);
82598 },
82599 toString$0(_) {
82600 var t1 = this.selector.toString$0(0),
82601 t2 = this.isOptional ? " !optional" : "";
82602 return "@extend " + t1 + t2 + ";";
82603 },
82604 $isAstNode0: 1,
82605 $isStatement0: 1,
82606 get$span(receiver) {
82607 return this.span;
82608 }
82609 };
82610 A.Extension0.prototype = {
82611 toString$0(_) {
82612 var t1 = this.extender.toString$0(0),
82613 t2 = this.target.toString$0(0),
82614 t3 = this.isOptional ? " !optional" : "";
82615 return t1 + " {@extend " + t2 + t3 + "}";
82616 }
82617 };
82618 A.Extender0.prototype = {
82619 assertCompatibleMediaContext$1(mediaContext) {
82620 var expectedMediaContext,
82621 extension = this._extension$_extension;
82622 if (extension == null)
82623 return;
82624 expectedMediaContext = extension.mediaContext;
82625 if (expectedMediaContext == null)
82626 return;
82627 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
82628 return;
82629 throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
82630 },
82631 toString$0(_) {
82632 return A.serializeSelector0(this.selector, true);
82633 }
82634 };
82635 A.ExtensionStore0.prototype = {
82636 get$isEmpty(_) {
82637 return this._extension_store$_extensions.__js_helper$_length === 0;
82638 },
82639 get$simpleSelectors() {
82640 return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
82641 },
82642 extensionsWhereTarget$1($async$callback) {
82643 var $async$self = this;
82644 return A._makeSyncStarIterable(function() {
82645 var callback = $async$callback;
82646 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
82647 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
82648 if ($async$errorCode === 1) {
82649 $async$currentError = $async$result;
82650 $async$goto = $async$handler;
82651 }
82652 while (true)
82653 switch ($async$goto) {
82654 case 0:
82655 // Function start
82656 t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
82657 case 2:
82658 // for condition
82659 if (!t1.moveNext$0()) {
82660 // goto after for
82661 $async$goto = 3;
82662 break;
82663 }
82664 t2 = t1.get$current(t1);
82665 if (!callback.call$1(t2.key)) {
82666 // goto for condition
82667 $async$goto = 2;
82668 break;
82669 }
82670 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
82671 case 4:
82672 // for condition
82673 if (!t2.moveNext$0()) {
82674 // goto after for
82675 $async$goto = 5;
82676 break;
82677 }
82678 t3 = t2.get$current(t2);
82679 $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
82680 break;
82681 case 6:
82682 // then
82683 t3 = t3.unmerge$0();
82684 $async$goto = 9;
82685 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
82686 case 9:
82687 // after yield
82688 // goto join
82689 $async$goto = 7;
82690 break;
82691 case 8:
82692 // else
82693 $async$goto = !t3.isOptional ? 10 : 11;
82694 break;
82695 case 10:
82696 // then
82697 $async$goto = 12;
82698 return t3;
82699 case 12:
82700 // after yield
82701 case 11:
82702 // join
82703 case 7:
82704 // join
82705 // goto for condition
82706 $async$goto = 4;
82707 break;
82708 case 5:
82709 // after for
82710 // goto for condition
82711 $async$goto = 2;
82712 break;
82713 case 3:
82714 // after for
82715 // implicit return
82716 return A._IterationMarker_endOfIteration();
82717 case 1:
82718 // rethrow
82719 return A._IterationMarker_uncaughtError($async$currentError);
82720 }
82721 };
82722 }, type$.Extension_2);
82723 },
82724 addSelector$3(selector, selectorSpan, mediaContext) {
82725 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
82726 selector = selector;
82727 originalSelector = selector;
82728 if (!originalSelector.get$isInvisible())
82729 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
82730 t3.add$1(0, t1[_i]);
82731 t1 = _this._extension_store$_extensions;
82732 if (t1.__js_helper$_length !== 0)
82733 try {
82734 selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
82735 } catch (exception) {
82736 t1 = A.unwrapException(exception);
82737 if (t1 instanceof A.SassException0) {
82738 error = t1;
82739 stackTrace = A.getTraceFromException(exception);
82740 t1 = error;
82741 t2 = J.getInterceptor$z(t1);
82742 t3 = error;
82743 t4 = J.getInterceptor$z(t3);
82744 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);
82745 } else
82746 throw exception;
82747 }
82748 modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
82749 if (mediaContext != null)
82750 _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
82751 _this._extension_store$_registerSelector$2(selector, modifiableSelector);
82752 return modifiableSelector;
82753 },
82754 _extension_store$_registerSelector$2(list, selector) {
82755 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
82756 for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
82757 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
82758 component = t4[_i0];
82759 if (!(component instanceof A.CompoundSelector0))
82760 continue;
82761 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
82762 simple = t6[_i1];
82763 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
82764 if (!(simple instanceof A.PseudoSelector0))
82765 continue;
82766 selectorInPseudo = simple.selector;
82767 if (selectorInPseudo != null)
82768 this._extension_store$_registerSelector$2(selectorInPseudo, selector);
82769 }
82770 }
82771 },
82772 addExtension$4(extender, target, extend, mediaContext) {
82773 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
82774 selectors = _this._extension_store$_selectors.$index(0, target),
82775 t1 = _this._extension_store$_extensionsByExtender,
82776 existingExtensions = t1.$index(0, target),
82777 sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
82778 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) {
82779 complex = t2[_i];
82780 if (complex._complex0$_maxSpecificity == null)
82781 complex._complex0$_computeSpecificity$0();
82782 complex._complex0$_maxSpecificity.toString;
82783 t12 = new A.Extender0(complex, false, t6);
82784 extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
82785 existingExtension = sources.$index(0, complex);
82786 if (existingExtension != null) {
82787 sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
82788 continue;
82789 }
82790 sources.$indexSet(0, complex, extension);
82791 for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
82792 t13 = t12.get$current(t12);
82793 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
82794 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
82795 }
82796 if (!t4 || t9) {
82797 if (newExtensions == null)
82798 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
82799 newExtensions.$indexSet(0, complex, extension);
82800 }
82801 }
82802 if (newExtensions == null)
82803 return;
82804 t1 = type$.SimpleSelector_2;
82805 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
82806 if (t9) {
82807 additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
82808 if (additionalExtensions != null)
82809 A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
82810 }
82811 if (!t4)
82812 _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
82813 },
82814 _extension_store$_simpleSelectors$1(complex) {
82815 return this._simpleSelectors$body$ExtensionStore0(complex);
82816 },
82817 _simpleSelectors$body$ExtensionStore0($async$complex) {
82818 var $async$self = this;
82819 return A._makeSyncStarIterable(function() {
82820 var complex = $async$complex;
82821 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
82822 return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
82823 if ($async$errorCode === 1) {
82824 $async$currentError = $async$result;
82825 $async$goto = $async$handler;
82826 }
82827 while (true)
82828 switch ($async$goto) {
82829 case 0:
82830 // Function start
82831 t1 = complex.components, t2 = t1.length, _i = 0;
82832 case 2:
82833 // for condition
82834 if (!(_i < t2)) {
82835 // goto after for
82836 $async$goto = 4;
82837 break;
82838 }
82839 component = t1[_i];
82840 $async$goto = component instanceof A.CompoundSelector0 ? 5 : 6;
82841 break;
82842 case 5:
82843 // then
82844 t3 = component.components, t4 = t3.length, _i0 = 0;
82845 case 7:
82846 // for condition
82847 if (!(_i0 < t4)) {
82848 // goto after for
82849 $async$goto = 9;
82850 break;
82851 }
82852 simple = t3[_i0];
82853 $async$goto = 10;
82854 return simple;
82855 case 10:
82856 // after yield
82857 if (!(simple instanceof A.PseudoSelector0)) {
82858 // goto for update
82859 $async$goto = 8;
82860 break;
82861 }
82862 selector = simple.selector;
82863 if (selector == null) {
82864 // goto for update
82865 $async$goto = 8;
82866 break;
82867 }
82868 t5 = selector.components, t6 = t5.length, _i1 = 0;
82869 case 11:
82870 // for condition
82871 if (!(_i1 < t6)) {
82872 // goto after for
82873 $async$goto = 13;
82874 break;
82875 }
82876 $async$goto = 14;
82877 return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
82878 case 14:
82879 // after yield
82880 case 12:
82881 // for update
82882 ++_i1;
82883 // goto for condition
82884 $async$goto = 11;
82885 break;
82886 case 13:
82887 // after for
82888 case 8:
82889 // for update
82890 ++_i0;
82891 // goto for condition
82892 $async$goto = 7;
82893 break;
82894 case 9:
82895 // after for
82896 case 6:
82897 // join
82898 case 3:
82899 // for update
82900 ++_i;
82901 // goto for condition
82902 $async$goto = 2;
82903 break;
82904 case 4:
82905 // after for
82906 // implicit return
82907 return A._IterationMarker_endOfIteration();
82908 case 1:
82909 // rethrow
82910 return A._IterationMarker_uncaughtError($async$currentError);
82911 }
82912 };
82913 }, type$.SimpleSelector_2);
82914 },
82915 _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
82916 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;
82917 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) {
82918 extension = t1[_i];
82919 t7 = t6.$index(0, extension.target);
82920 t7.toString;
82921 selectors = null;
82922 try {
82923 selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
82924 if (selectors == null)
82925 continue;
82926 } catch (exception) {
82927 t8 = A.unwrapException(exception);
82928 if (t8 instanceof A.SassException0) {
82929 error = t8;
82930 stackTrace = A.getTraceFromException(exception);
82931 t8 = error;
82932 t9 = J.getInterceptor$z(t8);
82933 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);
82934 } else
82935 throw exception;
82936 }
82937 t8 = J.get$first$ax(selectors);
82938 t9 = extension.extender;
82939 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
82940 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
82941 complex = t8[_i0];
82942 if (containsExtension && first) {
82943 first = false;
82944 continue;
82945 }
82946 t10 = extension;
82947 t11 = t10.extender;
82948 t12 = t10.target;
82949 t13 = t10.span;
82950 t14 = t10.mediaContext;
82951 t10 = t10.isOptional;
82952 if (complex._complex0$_maxSpecificity == null)
82953 complex._complex0$_computeSpecificity$0();
82954 complex._complex0$_maxSpecificity.toString;
82955 t11 = new A.Extender0(complex, false, t11.span);
82956 withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
82957 existingExtension = t7.$index(0, complex);
82958 if (existingExtension != null)
82959 t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
82960 else {
82961 t7.$indexSet(0, complex, withExtender);
82962 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
82963 component = t10[_i1];
82964 if (component instanceof A.CompoundSelector0)
82965 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
82966 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
82967 }
82968 if (newExtensions.containsKey$1(extension.target)) {
82969 if (additionalExtensions == null)
82970 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
82971 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
82972 }
82973 }
82974 }
82975 if (!containsExtension)
82976 t7.remove$1(0, extension.extender);
82977 }
82978 return additionalExtensions;
82979 },
82980 _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
82981 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
82982 for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
82983 selector = t1.get$current(t1);
82984 oldValue = selector.value;
82985 try {
82986 selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
82987 } catch (exception) {
82988 t3 = A.unwrapException(exception);
82989 if (t3 instanceof A.SassException0) {
82990 error = t3;
82991 stackTrace = A.getTraceFromException(exception);
82992 t3 = error;
82993 t4 = J.getInterceptor$z(t3);
82994 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);
82995 } else
82996 throw exception;
82997 }
82998 if (oldValue === selector.value)
82999 continue;
83000 this._extension_store$_registerSelector$2(selector.value, selector);
83001 }
83002 },
83003 addExtensions$1(extensionStores) {
83004 var t1, t2, t3, _box_0 = {};
83005 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
83006 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
83007 t3 = t1.get$current(t1);
83008 if (t3.get$isEmpty(t3))
83009 continue;
83010 t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
83011 t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
83012 }
83013 A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
83014 },
83015 _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
83016 var t1, t2, t3, extended, i, complex, result, t4;
83017 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
83018 complex = t1[i];
83019 result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
83020 if (result == null) {
83021 if (extended != null)
83022 extended.push(complex);
83023 } else {
83024 if (extended == null)
83025 if (i === 0)
83026 extended = A._setArrayType([], t3);
83027 else {
83028 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
83029 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
83030 }
83031 B.JSArray_methods.addAll$1(extended, result);
83032 }
83033 }
83034 if (extended == null)
83035 return list;
83036 t1 = this._extension_store$_originals;
83037 return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
83038 },
83039 _extension_store$_extendList$3(list, listSpan, extensions) {
83040 return this._extension_store$_extendList$4(list, listSpan, extensions, null);
83041 },
83042 _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
83043 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
83044 _s28_ = "components may not be empty.",
83045 _box_0 = {},
83046 isOriginal = this._extension_store$_originals.contains$1(0, complex);
83047 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) {
83048 component = t1[i];
83049 if (component instanceof A.CompoundSelector0) {
83050 extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
83051 if (extended == null) {
83052 if (extendedNotExpanded != null) {
83053 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
83054 result.fixed$length = Array;
83055 result.immutable$list = Array;
83056 t6 = result;
83057 if (t6.length === 0)
83058 A.throwExpression(A.ArgumentError$(_s28_, _null));
83059 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
83060 }
83061 } else {
83062 if (extendedNotExpanded == null) {
83063 t6 = A._arrayInstanceType(t1);
83064 t7 = t6._eval$1("SubListIterable<1>");
83065 t8 = new A.SubListIterable(t1, 0, i, t7);
83066 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
83067 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector0>>");
83068 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure1(complex), t7), true, t7._eval$1("ListIterable.E"));
83069 }
83070 B.JSArray_methods.add$1(extendedNotExpanded, extended);
83071 }
83072 } else if (extendedNotExpanded != null) {
83073 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
83074 result.fixed$length = Array;
83075 result.immutable$list = Array;
83076 t6 = result;
83077 if (t6.length === 0)
83078 A.throwExpression(A.ArgumentError$(_s28_, _null));
83079 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
83080 }
83081 }
83082 if (extendedNotExpanded == null)
83083 return _null;
83084 _box_0.first = true;
83085 t1 = type$.ComplexSelector_2;
83086 t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure2(_box_0, this, complex), t1);
83087 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83088 },
83089 _extension_store$_extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
83090 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
83091 _s28_ = "components may not be empty.",
83092 _box_1 = {},
83093 t1 = _this._extension_store$_mode,
83094 targetsUsed = t1 === B.ExtendMode_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
83095 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) {
83096 simple = t2[i];
83097 extended = _this._extension_store$_extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
83098 if (extended == null) {
83099 if (options != null) {
83100 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
83101 result.fixed$length = Array;
83102 result.immutable$list = Array;
83103 t11 = result;
83104 if (t11.length === 0)
83105 A.throwExpression(A.ArgumentError$(_s28_, _null));
83106 result = A.List_List$from(A._setArrayType([new A.CompoundSelector0(t11)], t6), false, t7);
83107 result.fixed$length = Array;
83108 result.immutable$list = Array;
83109 t11 = result;
83110 if (t11.length === 0)
83111 A.throwExpression(A.ArgumentError$(_s28_, _null));
83112 t9.$index(0, simple);
83113 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
83114 }
83115 } else {
83116 if (options == null) {
83117 options = A._setArrayType([], t4);
83118 if (i !== 0) {
83119 t11 = A._arrayInstanceType(t2);
83120 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
83121 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
83122 result = A.List_List$from(t12, false, t8);
83123 result.fixed$length = Array;
83124 result.immutable$list = Array;
83125 t12 = result;
83126 compound = new A.CompoundSelector0(t12);
83127 if (t12.length === 0)
83128 A.throwExpression(A.ArgumentError$(_s28_, _null));
83129 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
83130 result.fixed$length = Array;
83131 result.immutable$list = Array;
83132 t11 = result;
83133 if (t11.length === 0)
83134 A.throwExpression(A.ArgumentError$(_s28_, _null));
83135 _this._extension_store$_sourceSpecificityFor$1(compound);
83136 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
83137 }
83138 }
83139 B.JSArray_methods.addAll$1(options, extended);
83140 }
83141 }
83142 if (options == null)
83143 return _null;
83144 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
83145 return _null;
83146 if (options.length === 1)
83147 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure4(mediaQueryContext), type$.ComplexSelector_2).toList$0(0);
83148 t1 = _box_1.first = t1 !== B.ExtendMode_replace0;
83149 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);
83150 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector0>");
83151 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure6(), t3), true, t3._eval$1("Iterable.E"));
83152 isOriginal = new A.ExtensionStore__extendCompound_closure7();
83153 return _this._extension_store$_trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure8(B.JSArray_methods.get$first(result)) : isOriginal);
83154 },
83155 _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
83156 var extended,
83157 t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
83158 if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
83159 extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
83160 if (extended != null)
83161 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
83162 }
83163 return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
83164 },
83165 _extension_store$_extenderForSimple$2(simple, span) {
83166 var t1 = A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2), false);
83167 this._extension_store$_sourceSpecificity.$index(0, simple);
83168 return new A.Extender0(t1, true, span);
83169 },
83170 _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
83171 var extended, complexes, t1, result,
83172 selector = pseudo.selector;
83173 if (selector == null)
83174 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
83175 extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
83176 if (extended === selector)
83177 return null;
83178 complexes = extended.components;
83179 t1 = pseudo.normalizedName === "not";
83180 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()))
83181 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
83182 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
83183 if (t1 && selector.components.length === 1) {
83184 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
83185 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
83186 return result.length === 0 ? null : result;
83187 } else
83188 return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
83189 },
83190 _extension_store$_trim$2(selectors, isOriginal) {
83191 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
83192 if (selectors.length > 100)
83193 return selectors;
83194 result = A.QueueList$(null, type$.ComplexSelector_2);
83195 $label0$0:
83196 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
83197 _box_0 = {};
83198 complex1 = selectors[i];
83199 if (isOriginal.call$1(complex1)) {
83200 for (j = 0; j < numOriginals; ++j)
83201 if (J.$eq$(result.$index(0, j), complex1)) {
83202 A.rotateSlice0(result, 0, j + 1);
83203 continue $label0$0;
83204 }
83205 ++numOriginals;
83206 result.addFirst$1(complex1);
83207 continue $label0$0;
83208 }
83209 _box_0.maxSpecificity = 0;
83210 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
83211 component = t3[_i];
83212 if (component instanceof A.CompoundSelector0)
83213 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._extension_store$_sourceSpecificityFor$1(component));
83214 }
83215 if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
83216 continue $label0$0;
83217 t3 = new A.SubListIterable(selectors, 0, i, t1);
83218 t3.SubListIterable$3(selectors, 0, i, t2);
83219 if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
83220 continue $label0$0;
83221 result.addFirst$1(complex1);
83222 }
83223 return result;
83224 },
83225 _extension_store$_sourceSpecificityFor$1(compound) {
83226 var t1, t2, t3, specificity, _i, t4;
83227 for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
83228 t4 = t3.$index(0, t1[_i]);
83229 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
83230 }
83231 return specificity;
83232 },
83233 clone$0() {
83234 var t3, t4, _this = this,
83235 t1 = type$.SimpleSelector_2,
83236 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
83237 t2 = type$.ModifiableCssValue_SelectorList_2,
83238 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
83239 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
83240 _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
83241 t2 = type$.Extension_2;
83242 t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
83243 t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
83244 t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2);
83245 t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
83246 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
83247 t4.addAll$1(0, _this._extension_store$_originals);
83248 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);
83249 },
83250 get$_extension_store$_extensions() {
83251 return this._extension_store$_extensions;
83252 },
83253 get$_extension_store$_sourceSpecificity() {
83254 return this._extension_store$_sourceSpecificity;
83255 }
83256 };
83257 A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
83258 call$1(extension) {
83259 return !extension.isOptional;
83260 },
83261 $signature: 408
83262 };
83263 A.ExtensionStore__registerSelector_closure0.prototype = {
83264 call$0() {
83265 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
83266 },
83267 $signature: 409
83268 };
83269 A.ExtensionStore_addExtension_closure2.prototype = {
83270 call$0() {
83271 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83272 },
83273 $signature: 101
83274 };
83275 A.ExtensionStore_addExtension_closure3.prototype = {
83276 call$0() {
83277 return A._setArrayType([], type$.JSArray_Extension_2);
83278 },
83279 $signature: 221
83280 };
83281 A.ExtensionStore_addExtension_closure4.prototype = {
83282 call$0() {
83283 return this.complex.get$maxSpecificity();
83284 },
83285 $signature: 12
83286 };
83287 A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
83288 call$0() {
83289 return A._setArrayType([], type$.JSArray_Extension_2);
83290 },
83291 $signature: 221
83292 };
83293 A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
83294 call$0() {
83295 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83296 },
83297 $signature: 101
83298 };
83299 A.ExtensionStore_addExtensions_closure1.prototype = {
83300 call$2(target, newSources) {
83301 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
83302 if (target instanceof A.PlaceholderSelector0) {
83303 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
83304 t1 = first === 45 || first === 95;
83305 } else
83306 t1 = false;
83307 if (t1)
83308 return;
83309 t1 = _this.$this;
83310 extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
83311 t2 = extensionsForTarget == null;
83312 if (!t2) {
83313 t3 = _this._box_0;
83314 t4 = t3.extensionsToExtend;
83315 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
83316 }
83317 selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
83318 t3 = selectorsForTarget != null;
83319 if (t3) {
83320 t4 = _this._box_0;
83321 t5 = t4.selectorsToExtend;
83322 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
83323 }
83324 t1 = t1._extension_store$_extensions;
83325 existingSources = t1.$index(0, target);
83326 if (existingSources == null) {
83327 t4 = type$.ComplexSelector_2;
83328 t5 = type$.Extension_2;
83329 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83330 if (!t2 || t3) {
83331 t1 = _this._box_0;
83332 t2 = t1.newExtensions;
83333 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83334 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83335 }
83336 } else
83337 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
83338 },
83339 $signature: 412
83340 };
83341 A.ExtensionStore_addExtensions__closure4.prototype = {
83342 call$2(extender, extension) {
83343 var t2, _this = this,
83344 t1 = _this.existingSources;
83345 if (t1.containsKey$1(extender)) {
83346 t2 = t1.$index(0, extender);
83347 t2.toString;
83348 extension = A.MergedExtension_merge0(t2, extension);
83349 t1.$indexSet(0, extender, extension);
83350 } else
83351 t1.$indexSet(0, extender, extension);
83352 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
83353 t1 = _this._box_0;
83354 t2 = t1.newExtensions;
83355 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83356 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
83357 }
83358 },
83359 $signature: 413
83360 };
83361 A.ExtensionStore_addExtensions___closure0.prototype = {
83362 call$0() {
83363 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83364 },
83365 $signature: 101
83366 };
83367 A.ExtensionStore_addExtensions_closure2.prototype = {
83368 call$1(newExtensions) {
83369 var t1 = this._box_0,
83370 t2 = this.$this;
83371 A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
83372 A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
83373 },
83374 $signature: 414
83375 };
83376 A.ExtensionStore_addExtensions__closure2.prototype = {
83377 call$1(extensionsToExtend) {
83378 return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
83379 },
83380 $signature: 415
83381 };
83382 A.ExtensionStore_addExtensions__closure3.prototype = {
83383 call$1(selectorsToExtend) {
83384 return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
83385 },
83386 $signature: 416
83387 };
83388 A.ExtensionStore__extendComplex_closure1.prototype = {
83389 call$1(component) {
83390 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent_2), this.complex.lineBreak)], type$.JSArray_ComplexSelector_2);
83391 },
83392 $signature: 417
83393 };
83394 A.ExtensionStore__extendComplex_closure2.prototype = {
83395 call$1(path) {
83396 var t1 = A.weave0(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure1(), type$.List_ComplexSelectorComponent_2).toList$0(0));
83397 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>"));
83398 },
83399 $signature: 418
83400 };
83401 A.ExtensionStore__extendComplex__closure1.prototype = {
83402 call$1(complex) {
83403 return complex.components;
83404 },
83405 $signature: 419
83406 };
83407 A.ExtensionStore__extendComplex__closure2.prototype = {
83408 call$1(components) {
83409 var _this = this,
83410 t1 = _this.complex,
83411 outputComplex = A.ComplexSelector$0(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure0())),
83412 t2 = _this._box_0;
83413 if (t2.first && _this.$this._extension_store$_originals.contains$1(0, t1))
83414 _this.$this._extension_store$_originals.add$1(0, outputComplex);
83415 t2.first = false;
83416 return outputComplex;
83417 },
83418 $signature: 72
83419 };
83420 A.ExtensionStore__extendComplex___closure0.prototype = {
83421 call$1(inputComplex) {
83422 return inputComplex.lineBreak;
83423 },
83424 $signature: 20
83425 };
83426 A.ExtensionStore__extendCompound_closure4.prototype = {
83427 call$1(extender) {
83428 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
83429 return extender.selector;
83430 },
83431 $signature: 422
83432 };
83433 A.ExtensionStore__extendCompound_closure5.prototype = {
83434 call$1(path) {
83435 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
83436 t1 = this._box_1;
83437 if (t1.first) {
83438 t1.first = false;
83439 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);
83440 } else {
83441 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent_2);
83442 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector_2, t3 = type$.JSArray_SimpleSelector_2, originals = null; t1.moveNext$0();) {
83443 t4 = t1.get$current(t1);
83444 if (t4.isOriginal) {
83445 if (originals == null)
83446 originals = A._setArrayType([], t3);
83447 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
83448 } else
83449 toUnify._queue_list$_add$1(t4.selector.components);
83450 }
83451 if (originals != null)
83452 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$0(originals)], type$.JSArray_ComplexSelectorComponent_2));
83453 complexes = A.unifyComplex0(toUnify);
83454 if (complexes == null)
83455 return null;
83456 }
83457 _box_0.lineBreak = false;
83458 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
83459 t3 = t1.get$current(t1);
83460 t3.assertCompatibleMediaContext$1(t2);
83461 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
83462 }
83463 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure2(_box_0), type$.ComplexSelector_2);
83464 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
83465 },
83466 $signature: 423
83467 };
83468 A.ExtensionStore__extendCompound__closure1.prototype = {
83469 call$1(extender) {
83470 return type$.CompoundSelector_2._as(B.JSArray_methods.get$last(extender.selector.components)).components;
83471 },
83472 $signature: 424
83473 };
83474 A.ExtensionStore__extendCompound__closure2.prototype = {
83475 call$1(components) {
83476 return A.ComplexSelector$0(components, this._box_0.lineBreak);
83477 },
83478 $signature: 72
83479 };
83480 A.ExtensionStore__extendCompound_closure6.prototype = {
83481 call$1(l) {
83482 return l;
83483 },
83484 $signature: 425
83485 };
83486 A.ExtensionStore__extendCompound_closure7.prototype = {
83487 call$1(_) {
83488 return false;
83489 },
83490 $signature: 20
83491 };
83492 A.ExtensionStore__extendCompound_closure8.prototype = {
83493 call$1(complex) {
83494 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
83495 return t1;
83496 },
83497 $signature: 20
83498 };
83499 A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
83500 call$1(simple) {
83501 var t1, t2, _this = this,
83502 extensionsForSimple = _this.extensions.$index(0, simple);
83503 if (extensionsForSimple == null)
83504 return null;
83505 t1 = _this.targetsUsed;
83506 if (t1 != null)
83507 t1.add$1(0, simple);
83508 t1 = A._setArrayType([], type$.JSArray_Extender_2);
83509 t2 = _this.$this;
83510 if (t2._extension_store$_mode !== B.ExtendMode_replace0)
83511 t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
83512 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
83513 t1.push(t2.get$current(t2).extender);
83514 return t1;
83515 },
83516 $signature: 426
83517 };
83518 A.ExtensionStore__extendSimple_closure1.prototype = {
83519 call$1(pseudo) {
83520 var t1 = this.withoutPseudo.call$1(pseudo);
83521 return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
83522 },
83523 $signature: 427
83524 };
83525 A.ExtensionStore__extendSimple_closure2.prototype = {
83526 call$1(result) {
83527 return A._setArrayType([result], type$.JSArray_List_Extender_2);
83528 },
83529 $signature: 428
83530 };
83531 A.ExtensionStore__extendPseudo_closure4.prototype = {
83532 call$1(complex) {
83533 return complex.components.length > 1;
83534 },
83535 $signature: 20
83536 };
83537 A.ExtensionStore__extendPseudo_closure5.prototype = {
83538 call$1(complex) {
83539 return complex.components.length === 1;
83540 },
83541 $signature: 20
83542 };
83543 A.ExtensionStore__extendPseudo_closure6.prototype = {
83544 call$1(complex) {
83545 return complex.components.length <= 1;
83546 },
83547 $signature: 20
83548 };
83549 A.ExtensionStore__extendPseudo_closure7.prototype = {
83550 call$1(complex) {
83551 var innerPseudo, innerSelector,
83552 t1 = complex.components;
83553 if (t1.length !== 1)
83554 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83555 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector0))
83556 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83557 t1 = type$.CompoundSelector_2._as(B.JSArray_methods.get$first(t1)).components;
83558 if (t1.length !== 1)
83559 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83560 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector0))
83561 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83562 innerPseudo = type$.PseudoSelector_2._as(B.JSArray_methods.get$first(t1));
83563 innerSelector = innerPseudo.selector;
83564 if (innerSelector == null)
83565 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83566 t1 = this.pseudo;
83567 switch (t1.normalizedName) {
83568 case "not":
83569 if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
83570 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83571 return innerSelector.components;
83572 case "is":
83573 case "matches":
83574 case "where":
83575 case "any":
83576 case "current":
83577 case "nth-child":
83578 case "nth-last-child":
83579 if (innerPseudo.name !== t1.name)
83580 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83581 if (innerPseudo.argument != t1.argument)
83582 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83583 return innerSelector.components;
83584 case "has":
83585 case "host":
83586 case "host-context":
83587 case "slotted":
83588 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83589 default:
83590 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83591 }
83592 },
83593 $signature: 429
83594 };
83595 A.ExtensionStore__extendPseudo_closure8.prototype = {
83596 call$1(complex) {
83597 var t1 = this.pseudo;
83598 return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
83599 },
83600 $signature: 430
83601 };
83602 A.ExtensionStore__trim_closure1.prototype = {
83603 call$1(complex2) {
83604 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83605 },
83606 $signature: 20
83607 };
83608 A.ExtensionStore__trim_closure2.prototype = {
83609 call$1(complex2) {
83610 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83611 },
83612 $signature: 20
83613 };
83614 A.ExtensionStore_clone_closure0.prototype = {
83615 call$2(simple, selectors) {
83616 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
83617 t1 = type$.ModifiableCssValue_SelectorList_2,
83618 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
83619 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
83620 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
83621 t6 = t2.get$current(t2);
83622 newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
83623 newSelectorSet.add$1(0, newSelector);
83624 t3.$indexSet(0, t6, newSelector);
83625 mediaContext = t4.$index(0, t6);
83626 if (mediaContext != null)
83627 t5.$indexSet(0, newSelector, mediaContext);
83628 }
83629 },
83630 $signature: 431
83631 };
83632 A.FiberClass.prototype = {};
83633 A.Fiber.prototype = {};
83634 A.NodeToDartFileImporter.prototype = {
83635 canonicalize$1(_, url) {
83636 var result, t1, resultUrl;
83637 if (url.get$scheme() === "file")
83638 return $.$get$_filesystemImporter0().canonicalize$1(0, url);
83639 result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
83640 if (result == null)
83641 return null;
83642 t1 = self.Promise;
83643 if (result instanceof t1)
83644 A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
83645 else {
83646 t1 = self.URL;
83647 if (!(result instanceof t1))
83648 A.jsThrow(new self.Error(string$.The_fie));
83649 }
83650 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
83651 if (resultUrl.get$scheme() !== "file")
83652 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
83653 return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
83654 },
83655 load$1(_, url) {
83656 return $.$get$_filesystemImporter0().load$1(0, url);
83657 }
83658 };
83659 A.FilesystemImporter0.prototype = {
83660 canonicalize$1(_, url) {
83661 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
83662 return null;
83663 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());
83664 },
83665 load$1(_, url) {
83666 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
83667 return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
83668 },
83669 toString$0(_) {
83670 return this._filesystem$_loadPath;
83671 }
83672 };
83673 A.FilesystemImporter_canonicalize_closure0.prototype = {
83674 call$1(resolved) {
83675 var t1, t2, t0, _null = null;
83676 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
83677 t1 = $.$get$context();
83678 t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
83679 t0 = t2;
83680 t2 = t1;
83681 t1 = t0;
83682 } else {
83683 t1 = $.$get$context();
83684 t2 = t1.canonicalize$1(0, resolved);
83685 t0 = t2;
83686 t2 = t1;
83687 t1 = t0;
83688 }
83689 return t2.toUri$1(t1);
83690 },
83691 $signature: 184
83692 };
83693 A.ForRule0.prototype = {
83694 accept$1$1(visitor) {
83695 return visitor.visitForRule$1(this);
83696 },
83697 accept$1(visitor) {
83698 return this.accept$1$1(visitor, type$.dynamic);
83699 },
83700 toString$0(_) {
83701 var _this = this,
83702 t1 = _this.from.toString$0(0),
83703 t2 = _this.isExclusive ? "to" : "through",
83704 t3 = _this.children;
83705 return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
83706 },
83707 get$span(receiver) {
83708 return this.span;
83709 }
83710 };
83711 A.ForwardRule0.prototype = {
83712 accept$1$1(visitor) {
83713 return visitor.visitForwardRule$1(this);
83714 },
83715 accept$1(visitor) {
83716 return this.accept$1$1(visitor, type$.dynamic);
83717 },
83718 toString$0(_) {
83719 var t2, prefix, _this = this,
83720 t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
83721 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
83722 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
83723 if (shownMixinsAndFunctions != null) {
83724 t2 = _this.shownVariables;
83725 t2.toString;
83726 t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
83727 t1 = t2;
83728 } else {
83729 if (hiddenMixinsAndFunctions != null) {
83730 t2 = hiddenMixinsAndFunctions._base;
83731 t2 = t2.get$isNotEmpty(t2);
83732 } else
83733 t2 = false;
83734 if (t2) {
83735 t2 = _this.hiddenVariables;
83736 t2.toString;
83737 t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
83738 t1 = t2;
83739 }
83740 }
83741 prefix = _this.prefix;
83742 if (prefix != null)
83743 t1 += " as " + prefix + "*";
83744 t2 = _this.configuration;
83745 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
83746 return t1.charCodeAt(0) == 0 ? t1 : t1;
83747 },
83748 _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
83749 var t2,
83750 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
83751 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
83752 t1.push("$" + t2.get$current(t2));
83753 return B.JSArray_methods.join$1(t1, ", ");
83754 },
83755 $isAstNode0: 1,
83756 $isStatement0: 1,
83757 get$span(receiver) {
83758 return this.span;
83759 }
83760 };
83761 A.ForwardedModuleView0.prototype = {
83762 get$url(_) {
83763 var t1 = this._forwarded_view0$_inner;
83764 return t1.get$url(t1);
83765 },
83766 get$upstream() {
83767 return this._forwarded_view0$_inner.get$upstream();
83768 },
83769 get$extensionStore() {
83770 return this._forwarded_view0$_inner.get$extensionStore();
83771 },
83772 get$css(_) {
83773 var t1 = this._forwarded_view0$_inner;
83774 return t1.get$css(t1);
83775 },
83776 get$transitivelyContainsCss() {
83777 return this._forwarded_view0$_inner.get$transitivelyContainsCss();
83778 },
83779 get$transitivelyContainsExtensions() {
83780 return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
83781 },
83782 setVariable$3($name, value, nodeWithSpan) {
83783 var prefix,
83784 _s19_ = "Undefined variable.",
83785 t1 = this._forwarded_view0$_rule,
83786 shownVariables = t1.shownVariables,
83787 hiddenVariables = t1.hiddenVariables;
83788 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
83789 throw A.wrapException(A.SassScriptException$0(_s19_));
83790 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
83791 throw A.wrapException(A.SassScriptException$0(_s19_));
83792 prefix = t1.prefix;
83793 if (prefix != null) {
83794 if (!B.JSString_methods.startsWith$1($name, prefix))
83795 throw A.wrapException(A.SassScriptException$0(_s19_));
83796 $name = B.JSString_methods.substring$1($name, prefix.length);
83797 }
83798 return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
83799 },
83800 variableIdentity$1($name) {
83801 var prefix = this._forwarded_view0$_rule.prefix;
83802 if (prefix != null)
83803 $name = B.JSString_methods.substring$1($name, prefix.length);
83804 return this._forwarded_view0$_inner.variableIdentity$1($name);
83805 },
83806 $eq(_, other) {
83807 if (other == null)
83808 return false;
83809 return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
83810 },
83811 get$hashCode(_) {
83812 var t1 = this._forwarded_view0$_inner;
83813 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
83814 },
83815 cloneCss$0() {
83816 return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
83817 },
83818 toString$0(_) {
83819 return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
83820 },
83821 $isModule0: 1,
83822 get$variables() {
83823 return this.variables;
83824 },
83825 get$variableNodes() {
83826 return this.variableNodes;
83827 },
83828 get$functions(receiver) {
83829 return this.functions;
83830 },
83831 get$mixins() {
83832 return this.mixins;
83833 }
83834 };
83835 A.FunctionExpression0.prototype = {
83836 accept$1$1(visitor) {
83837 return visitor.visitFunctionExpression$1(this);
83838 },
83839 accept$1(visitor) {
83840 return this.accept$1$1(visitor, type$.dynamic);
83841 },
83842 toString$0(_) {
83843 var t1 = this.namespace;
83844 t1 = t1 != null ? "" + (t1 + ".") : "";
83845 t1 += this.originalName + this.$arguments.toString$0(0);
83846 return t1.charCodeAt(0) == 0 ? t1 : t1;
83847 },
83848 $isExpression0: 1,
83849 $isAstNode0: 1,
83850 get$span(receiver) {
83851 return this.span;
83852 }
83853 };
83854 A.JSFunction0.prototype = {};
83855 A.SupportsFunction0.prototype = {
83856 toString$0(_) {
83857 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
83858 },
83859 $isAstNode0: 1,
83860 get$span(receiver) {
83861 return this.span;
83862 }
83863 };
83864 A.functionClass_closure.prototype = {
83865 call$0() {
83866 var t1 = type$.JSClass,
83867 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
83868 A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
83869 return jsClass;
83870 },
83871 $signature: 23
83872 };
83873 A.functionClass__closure.prototype = {
83874 call$3($self, signature, callback) {
83875 var paren = B.JSString_methods.indexOf$1(signature, "(");
83876 if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
83877 A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
83878 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));
83879 },
83880 "call*": "call$3",
83881 $requiredArgCount: 3,
83882 $signature: 432
83883 };
83884 A.functionClass__closure0.prototype = {
83885 call$1(_) {
83886 return B.C__SassNull0;
83887 },
83888 $signature: 3
83889 };
83890 A.SassFunction0.prototype = {
83891 accept$1$1(visitor) {
83892 var t1, t2;
83893 if (!visitor._serialize0$_inspect)
83894 A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value."));
83895 t1 = visitor._serialize0$_buffer;
83896 t1.write$1(0, "get-function(");
83897 t2 = this.callable;
83898 visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
83899 t1.writeCharCode$1(41);
83900 return null;
83901 },
83902 accept$1(visitor) {
83903 return this.accept$1$1(visitor, type$.dynamic);
83904 },
83905 assertFunction$1($name) {
83906 return this;
83907 },
83908 $eq(_, other) {
83909 if (other == null)
83910 return false;
83911 return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
83912 },
83913 get$hashCode(_) {
83914 var t1 = this.callable;
83915 return t1.get$hashCode(t1);
83916 }
83917 };
83918 A.FunctionRule0.prototype = {
83919 accept$1$1(visitor) {
83920 return visitor.visitFunctionRule$1(this);
83921 },
83922 accept$1(visitor) {
83923 return this.accept$1$1(visitor, type$.dynamic);
83924 },
83925 toString$0(_) {
83926 var t1 = this.children;
83927 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
83928 }
83929 };
83930 A.unifyComplex_closure0.prototype = {
83931 call$1(complex) {
83932 var t1 = J.getInterceptor$asx(complex);
83933 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
83934 },
83935 $signature: 141
83936 };
83937 A._weaveParents_closure6.prototype = {
83938 call$2(group1, group2) {
83939 var unified, t1, _null = null;
83940 if (B.C_ListEquality.equals$2(0, group1, group2))
83941 return group1;
83942 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector0) || !(J.get$first$ax(group2) instanceof A.CompoundSelector0))
83943 return _null;
83944 if (A.complexIsParentSuperselector0(group1, group2))
83945 return group2;
83946 if (A.complexIsParentSuperselector0(group2, group1))
83947 return group1;
83948 if (!A._mustUnify0(group1, group2))
83949 return _null;
83950 unified = A.unifyComplex0(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent_2));
83951 if (unified == null)
83952 return _null;
83953 t1 = J.getInterceptor$asx(unified);
83954 if (t1.get$length(unified) > 1)
83955 return _null;
83956 return t1.get$first(unified);
83957 },
83958 $signature: 434
83959 };
83960 A._weaveParents_closure7.prototype = {
83961 call$1(sequence) {
83962 return A.complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
83963 },
83964 $signature: 435
83965 };
83966 A._weaveParents_closure8.prototype = {
83967 call$1(chunk) {
83968 return J.expand$1$1$ax(chunk, new A._weaveParents__closure4(), type$.ComplexSelectorComponent_2);
83969 },
83970 $signature: 225
83971 };
83972 A._weaveParents__closure4.prototype = {
83973 call$1(group) {
83974 return group;
83975 },
83976 $signature: 141
83977 };
83978 A._weaveParents_closure9.prototype = {
83979 call$1(sequence) {
83980 return sequence.get$length(sequence) === 0;
83981 },
83982 $signature: 197
83983 };
83984 A._weaveParents_closure10.prototype = {
83985 call$1(chunk) {
83986 return J.expand$1$1$ax(chunk, new A._weaveParents__closure3(), type$.ComplexSelectorComponent_2);
83987 },
83988 $signature: 225
83989 };
83990 A._weaveParents__closure3.prototype = {
83991 call$1(group) {
83992 return group;
83993 },
83994 $signature: 141
83995 };
83996 A._weaveParents_closure11.prototype = {
83997 call$1(choice) {
83998 return J.get$isNotEmpty$asx(choice);
83999 },
84000 $signature: 437
84001 };
84002 A._weaveParents_closure12.prototype = {
84003 call$1(path) {
84004 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure2(), type$.ComplexSelectorComponent_2);
84005 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
84006 },
84007 $signature: 438
84008 };
84009 A._weaveParents__closure2.prototype = {
84010 call$1(group) {
84011 return group;
84012 },
84013 $signature: 439
84014 };
84015 A._mustUnify_closure0.prototype = {
84016 call$1(component) {
84017 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure0(this.uniqueSelectors));
84018 },
84019 $signature: 106
84020 };
84021 A._mustUnify__closure0.prototype = {
84022 call$1(simple) {
84023 var t1;
84024 if (!(simple instanceof A.IDSelector0))
84025 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
84026 else
84027 t1 = true;
84028 return t1 && this.uniqueSelectors.contains$1(0, simple);
84029 },
84030 $signature: 15
84031 };
84032 A.paths_closure0.prototype = {
84033 call$2(paths, choice) {
84034 var t1 = this.T;
84035 t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
84036 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
84037 },
84038 $signature() {
84039 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
84040 }
84041 };
84042 A.paths__closure0.prototype = {
84043 call$1(option) {
84044 var t1 = this.T;
84045 return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
84046 },
84047 $signature() {
84048 return this.T._eval$1("Iterable<List<0>>(0)");
84049 }
84050 };
84051 A.paths___closure0.prototype = {
84052 call$1(path) {
84053 var t1 = A.List_List$of(path, true, this.T);
84054 t1.push(this.option);
84055 return t1;
84056 },
84057 $signature() {
84058 return this.T._eval$1("List<0>(List<0>)");
84059 }
84060 };
84061 A._hasRoot_closure0.prototype = {
84062 call$1(simple) {
84063 return simple instanceof A.PseudoSelector0 && simple.isClass && simple.normalizedName === "root";
84064 },
84065 $signature: 15
84066 };
84067 A.listIsSuperselector_closure0.prototype = {
84068 call$1(complex1) {
84069 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
84070 },
84071 $signature: 20
84072 };
84073 A.listIsSuperselector__closure0.prototype = {
84074 call$1(complex2) {
84075 return A.complexIsSuperselector0(complex2.components, this.complex1.components);
84076 },
84077 $signature: 20
84078 };
84079 A._simpleIsSuperselectorOfCompound_closure0.prototype = {
84080 call$1(theirSimple) {
84081 var selector,
84082 t1 = this.simple;
84083 if (t1.$eq(0, theirSimple))
84084 return true;
84085 if (!(theirSimple instanceof A.PseudoSelector0))
84086 return false;
84087 selector = theirSimple.selector;
84088 if (selector == null)
84089 return false;
84090 if (!$._subselectorPseudos0.contains$1(0, theirSimple.normalizedName))
84091 return false;
84092 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure0(t1));
84093 },
84094 $signature: 15
84095 };
84096 A._simpleIsSuperselectorOfCompound__closure0.prototype = {
84097 call$1(complex) {
84098 var t1 = complex.components;
84099 if (t1.length !== 1)
84100 return false;
84101 return B.JSArray_methods.contains$1(type$.CompoundSelector_2._as(B.JSArray_methods.get$single(t1)).components, this.simple);
84102 },
84103 $signature: 20
84104 };
84105 A._selectorPseudoIsSuperselector_closure6.prototype = {
84106 call$1(selector2) {
84107 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84108 },
84109 $signature: 86
84110 };
84111 A._selectorPseudoIsSuperselector_closure7.prototype = {
84112 call$1(complex1) {
84113 var t1 = complex1.components,
84114 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2),
84115 t3 = this.parents;
84116 if (t3 != null)
84117 B.JSArray_methods.addAll$1(t2, t3);
84118 t2.push(this.compound2);
84119 return A.complexIsSuperselector0(t1, t2);
84120 },
84121 $signature: 20
84122 };
84123 A._selectorPseudoIsSuperselector_closure8.prototype = {
84124 call$1(selector2) {
84125 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84126 },
84127 $signature: 86
84128 };
84129 A._selectorPseudoIsSuperselector_closure9.prototype = {
84130 call$1(selector2) {
84131 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84132 },
84133 $signature: 86
84134 };
84135 A._selectorPseudoIsSuperselector_closure10.prototype = {
84136 call$1(complex) {
84137 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
84138 },
84139 $signature: 20
84140 };
84141 A._selectorPseudoIsSuperselector__closure0.prototype = {
84142 call$1(simple2) {
84143 var compound1, selector2, _this = this;
84144 if (simple2 instanceof A.TypeSelector0) {
84145 compound1 = B.JSArray_methods.get$last(_this.complex.components);
84146 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
84147 } else if (simple2 instanceof A.IDSelector0) {
84148 compound1 = B.JSArray_methods.get$last(_this.complex.components);
84149 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
84150 } else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
84151 selector2 = simple2.selector;
84152 if (selector2 == null)
84153 return false;
84154 return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
84155 } else
84156 return false;
84157 },
84158 $signature: 15
84159 };
84160 A._selectorPseudoIsSuperselector___closure1.prototype = {
84161 call$1(simple1) {
84162 var t1;
84163 if (simple1 instanceof A.TypeSelector0) {
84164 t1 = this.simple2.name.$eq(0, simple1.name);
84165 t1 = !t1;
84166 } else
84167 t1 = false;
84168 return t1;
84169 },
84170 $signature: 15
84171 };
84172 A._selectorPseudoIsSuperselector___closure2.prototype = {
84173 call$1(simple1) {
84174 var t1;
84175 if (simple1 instanceof A.IDSelector0) {
84176 t1 = simple1.name;
84177 t1 = this.simple2.name !== t1;
84178 } else
84179 t1 = false;
84180 return t1;
84181 },
84182 $signature: 15
84183 };
84184 A._selectorPseudoIsSuperselector_closure11.prototype = {
84185 call$1(selector2) {
84186 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
84187 return t1;
84188 },
84189 $signature: 86
84190 };
84191 A._selectorPseudoIsSuperselector_closure12.prototype = {
84192 call$1(pseudo2) {
84193 var t1, selector2;
84194 if (!(pseudo2 instanceof A.PseudoSelector0))
84195 return false;
84196 t1 = this.pseudo1;
84197 if (pseudo2.name !== t1.name)
84198 return false;
84199 if (pseudo2.argument != t1.argument)
84200 return false;
84201 selector2 = pseudo2.selector;
84202 if (selector2 == null)
84203 return false;
84204 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84205 },
84206 $signature: 15
84207 };
84208 A._selectorPseudoArgs_closure1.prototype = {
84209 call$1(pseudo) {
84210 return pseudo.isClass === this.isClass && pseudo.name === this.name;
84211 },
84212 $signature: 441
84213 };
84214 A._selectorPseudoArgs_closure2.prototype = {
84215 call$1(pseudo) {
84216 return pseudo.selector;
84217 },
84218 $signature: 442
84219 };
84220 A.globalFunctions_closure0.prototype = {
84221 call$1($arguments) {
84222 var t1 = J.getInterceptor$asx($arguments);
84223 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
84224 },
84225 $signature: 3
84226 };
84227 A.IDSelector0.prototype = {
84228 get$minSpecificity() {
84229 return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(this), 2));
84230 },
84231 accept$1$1(visitor) {
84232 var t1 = visitor._serialize0$_buffer;
84233 t1.writeCharCode$1(35);
84234 t1.write$1(0, this.name);
84235 return null;
84236 },
84237 accept$1(visitor) {
84238 return this.accept$1$1(visitor, type$.dynamic);
84239 },
84240 addSuffix$1(suffix) {
84241 return new A.IDSelector0(this.name + suffix);
84242 },
84243 unify$1(compound) {
84244 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
84245 return null;
84246 return this.super$SimpleSelector$unify0(compound);
84247 },
84248 $eq(_, other) {
84249 if (other == null)
84250 return false;
84251 return other instanceof A.IDSelector0 && other.name === this.name;
84252 },
84253 get$hashCode(_) {
84254 return B.JSString_methods.get$hashCode(this.name);
84255 }
84256 };
84257 A.IDSelector_unify_closure0.prototype = {
84258 call$1(simple) {
84259 var t1;
84260 if (simple instanceof A.IDSelector0) {
84261 t1 = simple.name;
84262 t1 = this.$this.name !== t1;
84263 } else
84264 t1 = false;
84265 return t1;
84266 },
84267 $signature: 15
84268 };
84269 A.IfExpression0.prototype = {
84270 accept$1$1(visitor) {
84271 return visitor.visitIfExpression$1(this);
84272 },
84273 accept$1(visitor) {
84274 return this.accept$1$1(visitor, type$.dynamic);
84275 },
84276 toString$0(_) {
84277 return "if" + this.$arguments.toString$0(0);
84278 },
84279 $isExpression0: 1,
84280 $isAstNode0: 1,
84281 get$span(receiver) {
84282 return this.span;
84283 }
84284 };
84285 A.IfRule0.prototype = {
84286 accept$1$1(visitor) {
84287 return visitor.visitIfRule$1(this);
84288 },
84289 accept$1(visitor) {
84290 return this.accept$1$1(visitor, type$.dynamic);
84291 },
84292 toString$0(_) {
84293 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
84294 lastClause = this.lastClause;
84295 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
84296 },
84297 $isAstNode0: 1,
84298 $isStatement0: 1,
84299 get$span(receiver) {
84300 return this.span;
84301 }
84302 };
84303 A.IfRule_toString_closure0.prototype = {
84304 call$2(index, clause) {
84305 var t1 = index === 0 ? "if" : "else if";
84306 return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
84307 },
84308 $signature: 443
84309 };
84310 A.IfRuleClause0.prototype = {};
84311 A.IfRuleClause$__closure0.prototype = {
84312 call$1(child) {
84313 var t1;
84314 if (!(child instanceof A.VariableDeclaration0))
84315 if (!(child instanceof A.FunctionRule0))
84316 if (!(child instanceof A.MixinRule0))
84317 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
84318 else
84319 t1 = true;
84320 else
84321 t1 = true;
84322 else
84323 t1 = true;
84324 return t1;
84325 },
84326 $signature: 227
84327 };
84328 A.IfRuleClause$___closure0.prototype = {
84329 call$1($import) {
84330 return $import instanceof A.DynamicImport0;
84331 },
84332 $signature: 228
84333 };
84334 A.IfClause0.prototype = {
84335 toString$0(_) {
84336 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84337 }
84338 };
84339 A.ElseClause0.prototype = {
84340 toString$0(_) {
84341 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84342 }
84343 };
84344 A.ImmutableList.prototype = {};
84345 A.ImmutableMap.prototype = {};
84346 A.immutableMapToDartMap_closure.prototype = {
84347 call$3(value, key, _) {
84348 this.dartMap.$indexSet(0, key, value);
84349 },
84350 "call*": "call$3",
84351 $requiredArgCount: 3,
84352 $signature: 446
84353 };
84354 A.NodeImporter.prototype = {
84355 loadRelative$3(url, previous, forImport) {
84356 var t1, t2, _null = null;
84357 if ($.$get$url().style.rootLength$1(url) > 0) {
84358 if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
84359 return _null;
84360 return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
84361 }
84362 if ((previous == null ? _null : previous.get$scheme()) !== "file")
84363 return _null;
84364 t1 = $.$get$context();
84365 t2 = t1.style;
84366 return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
84367 },
84368 load$3(_, url, previous, forImport) {
84369 var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
84370 previousString = _this._previousToString$1(previous);
84371 for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
84372 importer = t1[_i];
84373 context = {options: t4._as(t3), fromImport: forImport};
84374 J.set$context$x(J.get$options$x(context), context);
84375 value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
84376 if (value != null)
84377 return _this._handleImportResult$4(url, previous, value, forImport);
84378 }
84379 return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84380 },
84381 loadAsync$3(url, previous, forImport) {
84382 return this.loadAsync$body$NodeImporter(url, previous, forImport);
84383 },
84384 loadAsync$body$NodeImporter(url, previous, forImport) {
84385 var $async$goto = 0,
84386 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
84387 $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
84388 var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84389 if ($async$errorCode === 1)
84390 return A._asyncRethrow($async$result, $async$completer);
84391 while (true)
84392 switch ($async$goto) {
84393 case 0:
84394 // Function start
84395 previousString = $async$self._previousToString$1(previous);
84396 t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
84397 case 3:
84398 // for condition
84399 if (!(_i < t2)) {
84400 // goto after for
84401 $async$goto = 5;
84402 break;
84403 }
84404 $async$goto = 6;
84405 return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
84406 case 6:
84407 // returning from await.
84408 value = $async$result;
84409 if (value != null) {
84410 $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
84411 // goto return
84412 $async$goto = 1;
84413 break;
84414 }
84415 case 4:
84416 // for update
84417 ++_i;
84418 // goto for condition
84419 $async$goto = 3;
84420 break;
84421 case 5:
84422 // after for
84423 $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84424 // goto return
84425 $async$goto = 1;
84426 break;
84427 case 1:
84428 // return
84429 return A._asyncReturn($async$returnValue, $async$completer);
84430 }
84431 });
84432 return A._asyncStartSync($async$loadAsync$3, $async$completer);
84433 },
84434 _previousToString$1(previous) {
84435 if (previous == null)
84436 return "stdin";
84437 if (previous.get$scheme() === "file")
84438 return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
84439 return previous.toString$0(0);
84440 },
84441 _resolveLoadPathFromUrl$2(url, forImport) {
84442 return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
84443 },
84444 _resolveLoadPath$2(path, forImport) {
84445 var t2, t3, t4, t5, _i, parts, result, _null = null,
84446 t1 = $.$get$context(),
84447 cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
84448 if (cwdResult != null)
84449 return cwdResult;
84450 for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
84451 parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
84452 A._validateArgList("join", parts);
84453 result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
84454 if (result != null)
84455 return result;
84456 }
84457 return _null;
84458 },
84459 _tryPath$2(path, forImport) {
84460 var t1;
84461 if (forImport) {
84462 t1 = type$.nullable_Object;
84463 t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
84464 } else
84465 t1 = A.resolveImportPath0(path);
84466 return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
84467 },
84468 _handleImportResult$4(url, previous, value, forImport) {
84469 var t1, file, contents, resolved;
84470 if (value instanceof self.Error)
84471 throw A.wrapException(value);
84472 if (!type$.NodeImporterResult_2._is(value))
84473 return null;
84474 t1 = J.getInterceptor$x(value);
84475 file = t1.get$file(value);
84476 contents = t1.get$contents(value);
84477 if (file == null) {
84478 t1 = contents == null ? "" : contents;
84479 return new A.Tuple2(t1, url, type$.Tuple2_String_String);
84480 } else if (contents != null)
84481 return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
84482 else {
84483 resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
84484 if (resolved == null)
84485 resolved = this._resolveLoadPath$2(file, forImport);
84486 if (resolved != null)
84487 return resolved;
84488 throw A.wrapException("Can't find stylesheet to import.");
84489 }
84490 },
84491 _callImporterAsync$4(importer, url, previousString, forImport) {
84492 return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
84493 },
84494 _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
84495 var $async$goto = 0,
84496 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
84497 $async$returnValue, $async$self = this, t1, result;
84498 var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84499 if ($async$errorCode === 1)
84500 return A._asyncRethrow($async$result, $async$completer);
84501 while (true)
84502 switch ($async$goto) {
84503 case 0:
84504 // Function start
84505 t1 = new A._Future($.Zone__current, type$._Future_Object);
84506 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));
84507 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
84508 break;
84509 case 3:
84510 // then
84511 $async$goto = 5;
84512 return A._asyncAwait(t1, $async$_callImporterAsync$4);
84513 case 5:
84514 // returning from await.
84515 $async$returnValue = $async$result;
84516 // goto return
84517 $async$goto = 1;
84518 break;
84519 case 4:
84520 // join
84521 $async$returnValue = result;
84522 // goto return
84523 $async$goto = 1;
84524 break;
84525 case 1:
84526 // return
84527 return A._asyncReturn($async$returnValue, $async$completer);
84528 }
84529 });
84530 return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
84531 },
84532 _renderContext$1(fromImport) {
84533 var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
84534 J.set$context$x(J.get$options$x(context), context);
84535 return context;
84536 }
84537 };
84538 A.NodeImporter__tryPath_closure.prototype = {
84539 call$0() {
84540 return A.resolveImportPath0(this.path);
84541 },
84542 $signature: 41
84543 };
84544 A.NodeImporter__tryPath_closure0.prototype = {
84545 call$1(resolved) {
84546 return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
84547 },
84548 $signature: 447
84549 };
84550 A.ModifiableCssImport0.prototype = {
84551 accept$1$1(visitor) {
84552 return visitor.visitCssImport$1(this);
84553 },
84554 accept$1(visitor) {
84555 return this.accept$1$1(visitor, type$.dynamic);
84556 },
84557 $isCssImport0: 1,
84558 get$span(receiver) {
84559 return this.span;
84560 }
84561 };
84562 A.ImportCache0.prototype = {
84563 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
84564 var relativeResult, _this = this;
84565 if (baseImporter != null) {
84566 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));
84567 if (relativeResult != null)
84568 return relativeResult;
84569 }
84570 return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
84571 },
84572 _import_cache$_canonicalize$3(importer, url, forImport) {
84573 var t1, result;
84574 if (forImport) {
84575 t1 = type$.nullable_Object;
84576 result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
84577 } else
84578 result = importer.canonicalize$1(0, url);
84579 if ((result == null ? null : result.get$scheme()) === "")
84580 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);
84581 return result;
84582 },
84583 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
84584 return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
84585 },
84586 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
84587 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
84588 },
84589 humanize$1(canonicalUrl) {
84590 var t2, url,
84591 t1 = this._import_cache$_canonicalizeCache;
84592 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
84593 t2 = t1.$ti;
84594 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());
84595 if (url == null)
84596 return canonicalUrl;
84597 t1 = $.$get$url();
84598 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
84599 },
84600 sourceMapUrl$1(_, canonicalUrl) {
84601 var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
84602 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
84603 return t1 == null ? canonicalUrl : t1;
84604 }
84605 };
84606 A.ImportCache_canonicalize_closure1.prototype = {
84607 call$0() {
84608 var canonicalUrl, _this = this,
84609 t1 = _this.baseUrl,
84610 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
84611 if (resolvedUrl == null)
84612 resolvedUrl = _this.url;
84613 t1 = _this.baseImporter;
84614 canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
84615 if (canonicalUrl == null)
84616 return null;
84617 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
84618 },
84619 $signature: 229
84620 };
84621 A.ImportCache_canonicalize_closure2.prototype = {
84622 call$0() {
84623 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
84624 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) {
84625 importer = t2[_i];
84626 canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
84627 if (canonicalUrl != null)
84628 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
84629 }
84630 return null;
84631 },
84632 $signature: 229
84633 };
84634 A.ImportCache__canonicalize_closure0.prototype = {
84635 call$0() {
84636 return this.importer.canonicalize$1(0, this.url);
84637 },
84638 $signature: 185
84639 };
84640 A.ImportCache_importCanonical_closure0.prototype = {
84641 call$0() {
84642 var t2, t3, t4, _this = this,
84643 t1 = _this.canonicalUrl,
84644 result = _this.importer.load$1(0, t1);
84645 if (result == null)
84646 return null;
84647 t2 = _this.$this;
84648 t2._import_cache$_resultsCache.$indexSet(0, t1, result);
84649 t3 = result.contents;
84650 t4 = result.syntax;
84651 t1 = _this.originalUrl.resolveUri$1(t1);
84652 return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
84653 },
84654 $signature: 449
84655 };
84656 A.ImportCache_humanize_closure2.prototype = {
84657 call$1(tuple) {
84658 return tuple.item2.$eq(0, this.canonicalUrl);
84659 },
84660 $signature: 450
84661 };
84662 A.ImportCache_humanize_closure3.prototype = {
84663 call$1(tuple) {
84664 return tuple.item3;
84665 },
84666 $signature: 451
84667 };
84668 A.ImportCache_humanize_closure4.prototype = {
84669 call$1(url) {
84670 return url.get$path(url).length;
84671 },
84672 $signature: 96
84673 };
84674 A.ImportRule0.prototype = {
84675 accept$1$1(visitor) {
84676 return visitor.visitImportRule$1(this);
84677 },
84678 accept$1(visitor) {
84679 return this.accept$1$1(visitor, type$.dynamic);
84680 },
84681 toString$0(_) {
84682 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
84683 },
84684 $isAstNode0: 1,
84685 $isStatement0: 1,
84686 get$span(receiver) {
84687 return this.span;
84688 }
84689 };
84690 A.NodeImporter0.prototype = {};
84691 A.CanonicalizeOptions.prototype = {};
84692 A.NodeImporterResult0.prototype = {};
84693 A.Importer0.prototype = {};
84694 A.NodeImporterResult1.prototype = {};
84695 A.IncludeRule0.prototype = {
84696 get$spanWithoutContent() {
84697 var t2, t3,
84698 t1 = this.span;
84699 if (!(this.content == null)) {
84700 t2 = t1.file;
84701 t3 = this.$arguments.span;
84702 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)));
84703 t1 = t3;
84704 }
84705 return t1;
84706 },
84707 accept$1$1(visitor) {
84708 return visitor.visitIncludeRule$1(this);
84709 },
84710 accept$1(visitor) {
84711 return this.accept$1$1(visitor, type$.dynamic);
84712 },
84713 toString$0(_) {
84714 var t2, _this = this,
84715 t1 = _this.namespace;
84716 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
84717 t1 += _this.name;
84718 t2 = _this.$arguments;
84719 if (!t2.get$isEmpty(t2))
84720 t1 += "(" + t2.toString$0(0) + ")";
84721 t2 = _this.content;
84722 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
84723 return t1.charCodeAt(0) == 0 ? t1 : t1;
84724 },
84725 $isAstNode0: 1,
84726 $isStatement0: 1,
84727 get$span(receiver) {
84728 return this.span;
84729 }
84730 };
84731 A.InterpolatedFunctionExpression0.prototype = {
84732 accept$1$1(visitor) {
84733 return visitor.visitInterpolatedFunctionExpression$1(this);
84734 },
84735 accept$1(visitor) {
84736 return this.accept$1$1(visitor, type$.dynamic);
84737 },
84738 toString$0(_) {
84739 return this.name.toString$0(0) + this.$arguments.toString$0(0);
84740 },
84741 $isExpression0: 1,
84742 $isAstNode0: 1,
84743 get$span(receiver) {
84744 return this.span;
84745 }
84746 };
84747 A.Interpolation0.prototype = {
84748 get$asPlain() {
84749 var first,
84750 t1 = this.contents,
84751 t2 = t1.length;
84752 if (t2 === 0)
84753 return "";
84754 if (t2 > 1)
84755 return null;
84756 first = B.JSArray_methods.get$first(t1);
84757 return typeof first == "string" ? first : null;
84758 },
84759 get$initialPlain() {
84760 var first = B.JSArray_methods.get$first(this.contents);
84761 return typeof first == "string" ? first : "";
84762 },
84763 Interpolation$20(contents, span) {
84764 var t1, t2, t3, i, t4, t5,
84765 _s8_ = "contents";
84766 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
84767 t4 = t1[i];
84768 t5 = typeof t4 == "string";
84769 if (!t5 && !t3._is(t4))
84770 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
84771 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
84772 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
84773 }
84774 },
84775 toString$0(_) {
84776 var t1 = this.contents;
84777 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
84778 },
84779 $isAstNode0: 1,
84780 get$span(receiver) {
84781 return this.span;
84782 }
84783 };
84784 A.Interpolation_toString_closure0.prototype = {
84785 call$1(value) {
84786 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
84787 },
84788 $signature: 48
84789 };
84790 A.SupportsInterpolation0.prototype = {
84791 toString$0(_) {
84792 return "#{" + this.expression.toString$0(0) + "}";
84793 },
84794 $isAstNode0: 1,
84795 get$span(receiver) {
84796 return this.span;
84797 }
84798 };
84799 A.InterpolationBuffer0.prototype = {
84800 writeCharCode$1(character) {
84801 this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
84802 return null;
84803 },
84804 add$1(_, expression) {
84805 this._interpolation_buffer0$_flushText$0();
84806 this._interpolation_buffer0$_contents.push(expression);
84807 },
84808 addInterpolation$1(interpolation) {
84809 var first, t1, _this = this,
84810 toAdd = interpolation.contents;
84811 if (toAdd.length === 0)
84812 return;
84813 first = B.JSArray_methods.get$first(toAdd);
84814 if (typeof first == "string") {
84815 _this._interpolation_buffer0$_text._contents += first;
84816 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
84817 }
84818 _this._interpolation_buffer0$_flushText$0();
84819 t1 = _this._interpolation_buffer0$_contents;
84820 B.JSArray_methods.addAll$1(t1, toAdd);
84821 if (typeof B.JSArray_methods.get$last(t1) == "string")
84822 _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
84823 },
84824 _interpolation_buffer0$_flushText$0() {
84825 var t1 = this._interpolation_buffer0$_text,
84826 t2 = t1._contents;
84827 if (t2.length === 0)
84828 return;
84829 this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84830 t1._contents = "";
84831 },
84832 interpolation$1(span) {
84833 var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
84834 t2 = this._interpolation_buffer0$_text._contents;
84835 if (t2.length !== 0)
84836 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84837 return A.Interpolation$0(t1, span);
84838 },
84839 toString$0(_) {
84840 var t1, t2, _i, t3, element;
84841 for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
84842 element = t1[_i];
84843 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
84844 }
84845 t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
84846 return t1.charCodeAt(0) == 0 ? t1 : t1;
84847 }
84848 };
84849 A._realCasePath_helper0.prototype = {
84850 call$1(path) {
84851 var dirname = $.$get$context().dirname$1(path);
84852 if (dirname === path)
84853 return path;
84854 return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
84855 },
84856 $signature: 5
84857 };
84858 A._realCasePath_helper_closure0.prototype = {
84859 call$0() {
84860 var matches, t2, exception,
84861 realDirname = this.helper.call$1(this.dirname),
84862 t1 = this.path,
84863 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
84864 try {
84865 matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
84866 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
84867 return t2;
84868 } catch (exception) {
84869 if (A.unwrapException(exception) instanceof A.FileSystemException0)
84870 return t1;
84871 else
84872 throw exception;
84873 }
84874 },
84875 $signature: 29
84876 };
84877 A._realCasePath_helper__closure0.prototype = {
84878 call$1(realPath) {
84879 return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
84880 },
84881 $signature: 6
84882 };
84883 A.ModifiableCssKeyframeBlock0.prototype = {
84884 accept$1$1(visitor) {
84885 return visitor.visitCssKeyframeBlock$1(this);
84886 },
84887 accept$1(visitor) {
84888 return this.accept$1$1(visitor, type$.dynamic);
84889 },
84890 copyWithoutChildren$0() {
84891 return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
84892 },
84893 get$span(receiver) {
84894 return this.span;
84895 }
84896 };
84897 A.KeyframeSelectorParser0.prototype = {
84898 parse$0() {
84899 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
84900 },
84901 _keyframe_selector$_percentage$0() {
84902 var t3, next,
84903 t1 = this.scanner,
84904 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
84905 second = t1.peekChar$0();
84906 if (!A.isDigit0(second) && second !== 46)
84907 t1.error$1(0, "Expected number.");
84908 while (true) {
84909 t3 = t1.peekChar$0();
84910 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84911 break;
84912 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84913 }
84914 if (t1.peekChar$0() === 46) {
84915 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84916 while (true) {
84917 t3 = t1.peekChar$0();
84918 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84919 break;
84920 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84921 }
84922 }
84923 if (this.scanIdentChar$1(101)) {
84924 t2 += A.Primitives_stringFromCharCode(101);
84925 next = t1.peekChar$0();
84926 if (next === 43 || next === 45)
84927 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84928 if (!A.isDigit0(t1.peekChar$0()))
84929 t1.error$1(0, "Expected digit.");
84930 while (true) {
84931 t3 = t1.peekChar$0();
84932 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84933 break;
84934 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84935 }
84936 }
84937 t1.expectChar$1(37);
84938 t2 += A.Primitives_stringFromCharCode(37);
84939 return t2.charCodeAt(0) == 0 ? t2 : t2;
84940 }
84941 };
84942 A.KeyframeSelectorParser_parse_closure0.prototype = {
84943 call$0() {
84944 var selectors = A._setArrayType([], type$.JSArray_String),
84945 t1 = this.$this,
84946 t2 = t1.scanner;
84947 do {
84948 t1.whitespace$0();
84949 if (t1.lookingAtIdentifier$0())
84950 if (t1.scanIdentifier$1("from"))
84951 selectors.push("from");
84952 else {
84953 t1.expectIdentifier$2$name("to", '"to" or "from"');
84954 selectors.push("to");
84955 }
84956 else
84957 selectors.push(t1._keyframe_selector$_percentage$0());
84958 t1.whitespace$0();
84959 } while (t2.scanChar$1(44));
84960 t2.expectDone$0();
84961 return selectors;
84962 },
84963 $signature: 46
84964 };
84965 A.render_closure.prototype = {
84966 call$0() {
84967 var error, exception;
84968 try {
84969 this.callback.call$2(null, A.renderSync(this.options));
84970 } catch (exception) {
84971 error = A.unwrapException(exception);
84972 this.callback.call$2(error, null);
84973 }
84974 return null;
84975 },
84976 $signature: 1
84977 };
84978 A.render_closure0.prototype = {
84979 call$1(result) {
84980 this.callback.call$2(null, result);
84981 },
84982 $signature: 452
84983 };
84984 A.render_closure1.prototype = {
84985 call$2(error, stackTrace) {
84986 var t2, t3, _null = null,
84987 t1 = this.callback;
84988 if (error instanceof A.SassException0)
84989 t1.call$2(A._wrapException(error, stackTrace), _null);
84990 else {
84991 t2 = J.toString$0$(error);
84992 t3 = A.getTrace0(error);
84993 t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
84994 }
84995 },
84996 $signature: 63
84997 };
84998 A._parseFunctions_closure.prototype = {
84999 call$2(signature, callback) {
85000 var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
85001 try {
85002 tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
85003 } catch (exception) {
85004 t1 = A.unwrapException(exception);
85005 if (t1 instanceof A.SassFormatException0) {
85006 error = t1;
85007 stackTrace = A.getTraceFromException(exception);
85008 t1 = error;
85009 t2 = J.getInterceptor$z(t1);
85010 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
85011 } else
85012 throw exception;
85013 }
85014 t1 = _this.options;
85015 context = {options: A._contextOptions(t1, _this.start)};
85016 J.set$context$x(J.get$options$x(context), context);
85017 fiber = J.get$fiber$x(t1);
85018 if (fiber != null)
85019 _this.result.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure(fiber, callback, context)));
85020 else {
85021 t1 = _this.result;
85022 if (!_this.asynch)
85023 t1.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure0(callback, context)));
85024 else
85025 t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
85026 }
85027 },
85028 $signature: 111
85029 };
85030 A._parseFunctions__closure.prototype = {
85031 call$1($arguments) {
85032 var result,
85033 t1 = this.fiber,
85034 currentFiber = J.get$current$x(t1),
85035 t2 = type$.Object;
85036 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
85037 t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
85038 result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
85039 return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
85040 },
85041 $signature: 3
85042 };
85043 A._parseFunctions___closure0.prototype = {
85044 call$1(result) {
85045 A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
85046 },
85047 call$0() {
85048 return this.call$1(null);
85049 },
85050 "call*": "call$1",
85051 $requiredArgCount: 0,
85052 $defaultValues() {
85053 return [null];
85054 },
85055 $signature: 71
85056 };
85057 A._parseFunctions____closure.prototype = {
85058 call$0() {
85059 return J.run$1$x(this.currentFiber, this.result);
85060 },
85061 $signature: 0
85062 };
85063 A._parseFunctions___closure1.prototype = {
85064 call$0() {
85065 return J.yield$0$x(this.fiber);
85066 },
85067 $signature: 88
85068 };
85069 A._parseFunctions__closure0.prototype = {
85070 call$1($arguments) {
85071 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)));
85072 },
85073 $signature: 3
85074 };
85075 A._parseFunctions__closure1.prototype = {
85076 call$1($arguments) {
85077 return this.$call$body$_parseFunctions__closure($arguments);
85078 },
85079 $call$body$_parseFunctions__closure($arguments) {
85080 var $async$goto = 0,
85081 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
85082 $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
85083 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
85084 if ($async$errorCode === 1)
85085 return A._asyncRethrow($async$result, $async$completer);
85086 while (true)
85087 switch ($async$goto) {
85088 case 0:
85089 // Function start
85090 t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
85091 t2 = type$.Object;
85092 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
85093 t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
85094 result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
85095 $async$temp1 = A;
85096 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
85097 break;
85098 case 3:
85099 // then
85100 $async$goto = 6;
85101 return A._asyncAwait(t1, $async$call$1);
85102 case 6:
85103 // returning from await.
85104 // goto join
85105 $async$goto = 4;
85106 break;
85107 case 5:
85108 // else
85109 $async$result = result;
85110 case 4:
85111 // join
85112 $async$returnValue = $async$temp1.unwrapValue($async$result);
85113 // goto return
85114 $async$goto = 1;
85115 break;
85116 case 1:
85117 // return
85118 return A._asyncReturn($async$returnValue, $async$completer);
85119 }
85120 });
85121 return A._asyncStartSync($async$call$1, $async$completer);
85122 },
85123 $signature: 99
85124 };
85125 A._parseFunctions___closure.prototype = {
85126 call$1(result) {
85127 return this.completer.complete$1(result);
85128 },
85129 call$0() {
85130 return this.call$1(null);
85131 },
85132 "call*": "call$1",
85133 $requiredArgCount: 0,
85134 $defaultValues() {
85135 return [null];
85136 },
85137 $signature: 251
85138 };
85139 A._parseImporter_closure.prototype = {
85140 call$1(importer) {
85141 return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
85142 },
85143 $signature: 453
85144 };
85145 A._parseImporter__closure.prototype = {
85146 call$4(thisArg, url, previous, _) {
85147 var t1 = this.fiber,
85148 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));
85149 if (A._asBool($.$get$_isUndefined().call$1(result)))
85150 return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
85151 return result;
85152 },
85153 call$3(thisArg, url, previous) {
85154 return this.call$4(thisArg, url, previous, null);
85155 },
85156 "call*": "call$4",
85157 $requiredArgCount: 3,
85158 $defaultValues() {
85159 return [null];
85160 },
85161 $signature: 454
85162 };
85163 A._parseImporter___closure.prototype = {
85164 call$1(result) {
85165 A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
85166 },
85167 $signature: 455
85168 };
85169 A._parseImporter____closure.prototype = {
85170 call$0() {
85171 return J.run$1$x(this.currentFiber, this.result);
85172 },
85173 $signature: 0
85174 };
85175 A._parseImporter___closure0.prototype = {
85176 call$0() {
85177 return J.yield$0$x(this.fiber);
85178 },
85179 $signature: 88
85180 };
85181 A.LimitedMapView0.prototype = {
85182 get$keys(_) {
85183 return this._limited_map_view0$_keys;
85184 },
85185 get$length(_) {
85186 return this._limited_map_view0$_keys._collection$_length;
85187 },
85188 get$isEmpty(_) {
85189 return this._limited_map_view0$_keys._collection$_length === 0;
85190 },
85191 get$isNotEmpty(_) {
85192 return this._limited_map_view0$_keys._collection$_length !== 0;
85193 },
85194 $index(_, key) {
85195 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
85196 },
85197 containsKey$1(key) {
85198 return this._limited_map_view0$_keys.contains$1(0, key);
85199 },
85200 remove$1(_, key) {
85201 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
85202 }
85203 };
85204 A.ListExpression0.prototype = {
85205 accept$1$1(visitor) {
85206 return visitor.visitListExpression$1(this);
85207 },
85208 accept$1(visitor) {
85209 return this.accept$1$1(visitor, type$.dynamic);
85210 },
85211 toString$0(_) {
85212 var _this = this,
85213 t1 = _this.hasBrackets,
85214 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
85215 t3 = _this.contents,
85216 t4 = _this.separator === B.ListSeparator_kWM0 ? ", " : " ";
85217 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
85218 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
85219 return t1.charCodeAt(0) == 0 ? t1 : t1;
85220 },
85221 _list3$_elementNeedsParens$1(expression) {
85222 var t1;
85223 if (expression instanceof A.ListExpression0) {
85224 if (expression.contents.length < 2)
85225 return false;
85226 if (expression.hasBrackets)
85227 return false;
85228 t1 = expression.separator;
85229 return this.separator === B.ListSeparator_kWM0 ? t1 === B.ListSeparator_kWM0 : t1 !== B.ListSeparator_undecided_null0;
85230 }
85231 if (this.separator !== B.ListSeparator_woc0)
85232 return false;
85233 if (expression instanceof A.UnaryOperationExpression0) {
85234 t1 = expression.operator;
85235 return t1 === B.UnaryOperator_j2w0 || t1 === B.UnaryOperator_U4G0;
85236 }
85237 return false;
85238 },
85239 $isExpression0: 1,
85240 $isAstNode0: 1,
85241 get$span(receiver) {
85242 return this.span;
85243 }
85244 };
85245 A.ListExpression_toString_closure0.prototype = {
85246 call$1(element) {
85247 return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
85248 },
85249 $signature: 122
85250 };
85251 A._length_closure2.prototype = {
85252 call$1($arguments) {
85253 var t1 = J.$index$asx($arguments, 0).get$asList().length;
85254 return new A.UnitlessSassNumber0(t1, null);
85255 },
85256 $signature: 10
85257 };
85258 A._nth_closure0.prototype = {
85259 call$1($arguments) {
85260 var t1 = J.getInterceptor$asx($arguments),
85261 list = t1.$index($arguments, 0),
85262 index = t1.$index($arguments, 1);
85263 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
85264 },
85265 $signature: 3
85266 };
85267 A._setNth_closure0.prototype = {
85268 call$1($arguments) {
85269 var t1 = J.getInterceptor$asx($arguments),
85270 list = t1.$index($arguments, 0),
85271 index = t1.$index($arguments, 1),
85272 value = t1.$index($arguments, 2),
85273 t2 = list.get$asList(),
85274 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85275 newList[list.sassIndexToListIndex$2(index, "n")] = value;
85276 return t1.$index($arguments, 0).withListContents$1(newList);
85277 },
85278 $signature: 22
85279 };
85280 A._join_closure0.prototype = {
85281 call$1($arguments) {
85282 var separator, bracketed,
85283 t1 = J.getInterceptor$asx($arguments),
85284 list1 = t1.$index($arguments, 0),
85285 list2 = t1.$index($arguments, 1),
85286 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
85287 bracketedParam = t1.$index($arguments, 3);
85288 t1 = separatorParam._string0$_text;
85289 if (t1 === "auto")
85290 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null0)
85291 separator = list1.get$separator(list1);
85292 else
85293 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null0 ? list2.get$separator(list2) : B.ListSeparator_woc0;
85294 else if (t1 === "space")
85295 separator = B.ListSeparator_woc0;
85296 else if (t1 === "comma")
85297 separator = B.ListSeparator_kWM0;
85298 else {
85299 if (t1 !== "slash")
85300 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85301 separator = B.ListSeparator_1gm0;
85302 }
85303 bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
85304 t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
85305 B.JSArray_methods.addAll$1(t1, list2.get$asList());
85306 return A.SassList$0(t1, separator, bracketed);
85307 },
85308 $signature: 22
85309 };
85310 A._append_closure2.prototype = {
85311 call$1($arguments) {
85312 var separator,
85313 t1 = J.getInterceptor$asx($arguments),
85314 list = t1.$index($arguments, 0),
85315 value = t1.$index($arguments, 1);
85316 t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
85317 if (t1 === "auto")
85318 separator = list.get$separator(list) === B.ListSeparator_undecided_null0 ? B.ListSeparator_woc0 : list.get$separator(list);
85319 else if (t1 === "space")
85320 separator = B.ListSeparator_woc0;
85321 else if (t1 === "comma")
85322 separator = B.ListSeparator_kWM0;
85323 else {
85324 if (t1 !== "slash")
85325 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85326 separator = B.ListSeparator_1gm0;
85327 }
85328 t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
85329 t1.push(value);
85330 return list.withListContents$2$separator(t1, separator);
85331 },
85332 $signature: 22
85333 };
85334 A._zip_closure0.prototype = {
85335 call$1($arguments) {
85336 var results, result, _box_0 = {},
85337 t1 = J.$index$asx($arguments, 0).get$asList(),
85338 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
85339 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
85340 if (lists.length === 0)
85341 return B.SassList_yfz0;
85342 _box_0.i = 0;
85343 results = A._setArrayType([], type$.JSArray_SassList_2);
85344 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));) {
85345 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
85346 result.fixed$length = Array;
85347 result.immutable$list = Array;
85348 results.push(new A.SassList0(result, B.ListSeparator_woc0, false));
85349 ++_box_0.i;
85350 }
85351 return A.SassList$0(results, B.ListSeparator_kWM0, false);
85352 },
85353 $signature: 22
85354 };
85355 A._zip__closure2.prototype = {
85356 call$1(list) {
85357 return list.get$asList();
85358 },
85359 $signature: 457
85360 };
85361 A._zip__closure3.prototype = {
85362 call$1(list) {
85363 return this._box_0.i !== J.get$length$asx(list);
85364 },
85365 $signature: 458
85366 };
85367 A._zip__closure4.prototype = {
85368 call$1(list) {
85369 return J.$index$asx(list, this._box_0.i);
85370 },
85371 $signature: 3
85372 };
85373 A._index_closure2.prototype = {
85374 call$1($arguments) {
85375 var t1 = J.getInterceptor$asx($arguments),
85376 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
85377 if (index === -1)
85378 t1 = B.C__SassNull0;
85379 else
85380 t1 = new A.UnitlessSassNumber0(index + 1, null);
85381 return t1;
85382 },
85383 $signature: 3
85384 };
85385 A._separator_closure0.prototype = {
85386 call$1($arguments) {
85387 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
85388 case B.ListSeparator_kWM0:
85389 return new A.SassString0("comma", false);
85390 case B.ListSeparator_1gm0:
85391 return new A.SassString0("slash", false);
85392 default:
85393 return new A.SassString0("space", false);
85394 }
85395 },
85396 $signature: 13
85397 };
85398 A._isBracketed_closure0.prototype = {
85399 call$1($arguments) {
85400 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
85401 },
85402 $signature: 18
85403 };
85404 A._slash_closure0.prototype = {
85405 call$1($arguments) {
85406 var list = J.$index$asx($arguments, 0).get$asList();
85407 if (list.length < 2)
85408 throw A.wrapException(A.SassScriptException$0("At least two elements are required."));
85409 return A.SassList$0(list, B.ListSeparator_1gm0, false);
85410 },
85411 $signature: 22
85412 };
85413 A.SelectorList0.prototype = {
85414 get$isInvisible() {
85415 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure0());
85416 },
85417 get$asSassList() {
85418 var t1 = this.components;
85419 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);
85420 },
85421 accept$1$1(visitor) {
85422 return visitor.visitSelectorList$1(this);
85423 },
85424 accept$1(visitor) {
85425 return this.accept$1$1(visitor, type$.dynamic);
85426 },
85427 unify$1(other) {
85428 var t1 = this.components,
85429 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"),
85430 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure0(other), t2), true, t2._eval$1("Iterable.E"));
85431 return contents.length === 0 ? null : A.SelectorList$0(contents);
85432 },
85433 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
85434 var t1, _this = this;
85435 if ($parent == null) {
85436 if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
85437 return _this;
85438 throw A.wrapException(A.SassScriptException$0(string$.Top_le));
85439 }
85440 t1 = _this.components;
85441 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));
85442 },
85443 resolveParentSelectors$1($parent) {
85444 return this.resolveParentSelectors$2$implicitParent($parent, true);
85445 },
85446 _list2$_complexContainsParentSelector$1(complex) {
85447 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
85448 },
85449 _list2$_resolveParentSelectorsCompound$2(compound, $parent) {
85450 var resolvedMembers0, parentSelector, t1,
85451 resolvedMembers = compound.components,
85452 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure2());
85453 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector0))
85454 return null;
85455 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector0>")) : resolvedMembers;
85456 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
85457 if (parentSelector instanceof A.ParentSelector0) {
85458 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
85459 return $parent.components;
85460 } else
85461 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
85462 t1 = $parent.components;
85463 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85464 },
85465 get$hashCode(_) {
85466 return B.C_ListEquality0.hash$1(this.components);
85467 },
85468 $eq(_, other) {
85469 if (other == null)
85470 return false;
85471 return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
85472 }
85473 };
85474 A.SelectorList_isInvisible_closure0.prototype = {
85475 call$1(complex) {
85476 return complex.get$isInvisible();
85477 },
85478 $signature: 20
85479 };
85480 A.SelectorList_asSassList_closure0.prototype = {
85481 call$1(complex) {
85482 var t1 = complex.components;
85483 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);
85484 },
85485 $signature: 459
85486 };
85487 A.SelectorList_asSassList__closure0.prototype = {
85488 call$1(component) {
85489 return new A.SassString0(component.toString$0(0), false);
85490 },
85491 $signature: 460
85492 };
85493 A.SelectorList_unify_closure0.prototype = {
85494 call$1(complex1) {
85495 var t1 = this.other.components;
85496 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure0(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"));
85497 },
85498 $signature: 119
85499 };
85500 A.SelectorList_unify__closure0.prototype = {
85501 call$1(complex2) {
85502 var unified = A.unifyComplex0(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent_2));
85503 if (unified == null)
85504 return B.List_empty14;
85505 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure0(), type$.ComplexSelector_2);
85506 },
85507 $signature: 119
85508 };
85509 A.SelectorList_unify___closure0.prototype = {
85510 call$1(complex) {
85511 return A.ComplexSelector$0(complex, false);
85512 },
85513 $signature: 72
85514 };
85515 A.SelectorList_resolveParentSelectors_closure0.prototype = {
85516 call$1(complex) {
85517 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 = {},
85518 t1 = _this.$this;
85519 if (!t1._list2$_complexContainsParentSelector$1(complex)) {
85520 if (!_this.implicitParent)
85521 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
85522 t1 = _this.parent.components;
85523 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85524 }
85525 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
85526 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2)], t2);
85527 t3 = type$.JSArray_bool;
85528 _box_0.lineBreaks = A._setArrayType([false], t3);
85529 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent_2, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
85530 component = t4[_i];
85531 if (component instanceof A.CompoundSelector0) {
85532 resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t7);
85533 if (resolved == null) {
85534 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85535 newComplexes[_i0].push(component);
85536 continue;
85537 }
85538 previousLineBreaks = _box_0.lineBreaks;
85539 newComplexes0 = A._setArrayType([], t2);
85540 _box_0.lineBreaks = A._setArrayType([], t3);
85541 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) {
85542 newComplex = newComplexes[_i0];
85543 i0 = i + 1;
85544 lineBreak = previousLineBreaks[i];
85545 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
85546 t12 = t10.get$current(t10);
85547 t13 = A.List_List$of(newComplex, true, t6);
85548 B.JSArray_methods.addAll$1(t13, t12.components);
85549 newComplexes0.push(t13);
85550 t13 = _box_0.lineBreaks;
85551 t13.push(!t11 || t12.lineBreak);
85552 }
85553 }
85554 newComplexes = newComplexes0;
85555 } else
85556 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85557 newComplexes[_i0].push(component);
85558 }
85559 _box_0.i = 0;
85560 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure2(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85561 },
85562 $signature: 119
85563 };
85564 A.SelectorList_resolveParentSelectors__closure1.prototype = {
85565 call$1(parentComplex) {
85566 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent_2),
85567 t2 = this.complex;
85568 B.JSArray_methods.addAll$1(t1, t2.components);
85569 return A.ComplexSelector$0(t1, t2.lineBreak || parentComplex.lineBreak);
85570 },
85571 $signature: 132
85572 };
85573 A.SelectorList_resolveParentSelectors__closure2.prototype = {
85574 call$1(newComplex) {
85575 var t1 = this._box_0;
85576 return A.ComplexSelector$0(newComplex, t1.lineBreaks[t1.i++]);
85577 },
85578 $signature: 72
85579 };
85580 A.SelectorList__complexContainsParentSelector_closure0.prototype = {
85581 call$1(component) {
85582 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure0());
85583 },
85584 $signature: 106
85585 };
85586 A.SelectorList__complexContainsParentSelector__closure0.prototype = {
85587 call$1(simple) {
85588 var selector;
85589 if (simple instanceof A.ParentSelector0)
85590 return true;
85591 if (!(simple instanceof A.PseudoSelector0))
85592 return false;
85593 selector = simple.selector;
85594 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85595 },
85596 $signature: 15
85597 };
85598 A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
85599 call$1(simple) {
85600 var selector;
85601 if (!(simple instanceof A.PseudoSelector0))
85602 return false;
85603 selector = simple.selector;
85604 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85605 },
85606 $signature: 15
85607 };
85608 A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
85609 call$1(simple) {
85610 var selector, t1, t2, t3;
85611 if (!(simple instanceof A.PseudoSelector0))
85612 return simple;
85613 selector = simple.selector;
85614 if (selector == null)
85615 return simple;
85616 if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
85617 return simple;
85618 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
85619 t2 = simple.name;
85620 t3 = simple.isClass;
85621 return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
85622 },
85623 $signature: 463
85624 };
85625 A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
85626 call$1(complex) {
85627 var suffix, t2, t3, t4, t5, last,
85628 t1 = complex.components,
85629 lastComponent = B.JSArray_methods.get$last(t1);
85630 if (!(lastComponent instanceof A.CompoundSelector0))
85631 throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
85632 suffix = type$.ParentSelector_2._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
85633 t2 = type$.SimpleSelector_2;
85634 t3 = this.resolvedMembers;
85635 t4 = lastComponent.components;
85636 t5 = J.getInterceptor$ax(t3);
85637 if (suffix != null) {
85638 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
85639 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
85640 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85641 last = A.CompoundSelector$0(t2);
85642 } else {
85643 t2 = A.List_List$of(t4, true, t2);
85644 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85645 last = A.CompoundSelector$0(t2);
85646 }
85647 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);
85648 t1.push(last);
85649 return A.ComplexSelector$0(t1, complex.lineBreak);
85650 },
85651 $signature: 132
85652 };
85653 A._NodeSassList.prototype = {};
85654 A.legacyListClass_closure.prototype = {
85655 call$4(thisArg, $length, commaSeparator, dartValue) {
85656 var t1;
85657 if (dartValue == null) {
85658 $length.toString;
85659 t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
85660 t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_kWM0 : B.ListSeparator_woc0, false);
85661 } else
85662 t1 = dartValue;
85663 J.set$dartValue$x(thisArg, t1);
85664 },
85665 call$2(thisArg, $length) {
85666 return this.call$4(thisArg, $length, null, null);
85667 },
85668 call$3(thisArg, $length, commaSeparator) {
85669 return this.call$4(thisArg, $length, commaSeparator, null);
85670 },
85671 "call*": "call$4",
85672 $requiredArgCount: 2,
85673 $defaultValues() {
85674 return [null, null];
85675 },
85676 $signature: 464
85677 };
85678 A.legacyListClass__closure.prototype = {
85679 call$1(_) {
85680 return B.C__SassNull0;
85681 },
85682 $signature: 233
85683 };
85684 A.legacyListClass_closure0.prototype = {
85685 call$2(thisArg, index) {
85686 return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
85687 },
85688 $signature: 466
85689 };
85690 A.legacyListClass_closure1.prototype = {
85691 call$3(thisArg, index, value) {
85692 var t1 = J.getInterceptor$x(thisArg),
85693 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85694 mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85695 mutable[index] = A.unwrapValue(value);
85696 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
85697 },
85698 "call*": "call$3",
85699 $requiredArgCount: 3,
85700 $signature: 467
85701 };
85702 A.legacyListClass_closure2.prototype = {
85703 call$1(thisArg) {
85704 return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_kWM0;
85705 },
85706 $signature: 468
85707 };
85708 A.legacyListClass_closure3.prototype = {
85709 call$2(thisArg, isComma) {
85710 var t1 = J.getInterceptor$x(thisArg),
85711 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85712 t3 = isComma ? B.ListSeparator_kWM0 : B.ListSeparator_woc0;
85713 t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
85714 },
85715 $signature: 469
85716 };
85717 A.legacyListClass_closure4.prototype = {
85718 call$1(thisArg) {
85719 return J.get$dartValue$x(thisArg)._list1$_contents.length;
85720 },
85721 $signature: 470
85722 };
85723 A.listClass_closure.prototype = {
85724 call$0() {
85725 var t1 = type$.JSClass,
85726 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
85727 J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
85728 A.JSClassExtension_injectSuperclass(t1._as(B.SassList_0.constructor), jsClass);
85729 return jsClass;
85730 },
85731 $signature: 23
85732 };
85733 A.listClass__closure.prototype = {
85734 call$3($self, contentsOrOptions, options) {
85735 var contents, t1, t2;
85736 if (self.immutable.isList(contentsOrOptions))
85737 contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
85738 else if (type$.List_dynamic._is(contentsOrOptions))
85739 contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
85740 else {
85741 contents = A._setArrayType([], type$.JSArray_Value_2);
85742 type$.nullable__ConstructorOptions._as(contentsOrOptions);
85743 options = contentsOrOptions;
85744 }
85745 t1 = options == null;
85746 if (!t1) {
85747 t2 = J.get$separator$x(options);
85748 t2 = A._asBool($.$get$_isUndefined().call$1(t2));
85749 } else
85750 t2 = true;
85751 t2 = t2 ? B.ListSeparator_kWM0 : A.jsToDartSeparator(J.get$separator$x(options));
85752 t1 = t1 ? null : J.get$brackets$x(options);
85753 return A.SassList$0(contents, t2, t1 == null ? false : t1);
85754 },
85755 call$1($self) {
85756 return this.call$3($self, null, null);
85757 },
85758 call$2($self, contentsOrOptions) {
85759 return this.call$3($self, contentsOrOptions, null);
85760 },
85761 "call*": "call$3",
85762 $requiredArgCount: 1,
85763 $defaultValues() {
85764 return [null, null];
85765 },
85766 $signature: 471
85767 };
85768 A.listClass__closure0.prototype = {
85769 call$2($self, indexFloat) {
85770 var index = B.JSNumber_methods.floor$0(indexFloat);
85771 if (index < 0)
85772 index = $self.get$asList().length + index;
85773 if (index < 0 || index >= $self.get$asList().length)
85774 return self.undefined;
85775 return $self.get$asList()[index];
85776 },
85777 $signature: 234
85778 };
85779 A._ConstructorOptions.prototype = {};
85780 A.SassList0.prototype = {
85781 get$separator(_) {
85782 return this._list1$_separator;
85783 },
85784 get$hasBrackets() {
85785 return this._list1$_hasBrackets;
85786 },
85787 get$isBlank() {
85788 return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
85789 },
85790 get$asList() {
85791 return this._list1$_contents;
85792 },
85793 get$lengthAsList() {
85794 return this._list1$_contents.length;
85795 },
85796 SassList$3$brackets0(contents, _separator, brackets) {
85797 if (this._list1$_separator === B.ListSeparator_undecided_null0 && this._list1$_contents.length > 1)
85798 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
85799 },
85800 accept$1$1(visitor) {
85801 return visitor.visitList$1(this);
85802 },
85803 accept$1(visitor) {
85804 return this.accept$1$1(visitor, type$.dynamic);
85805 },
85806 assertMap$1($name) {
85807 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
85808 },
85809 tryMap$0() {
85810 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
85811 },
85812 $eq(_, other) {
85813 var t1, _this = this;
85814 if (other == null)
85815 return false;
85816 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)))
85817 t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
85818 else
85819 t1 = true;
85820 return t1;
85821 },
85822 get$hashCode(_) {
85823 return B.C_ListEquality0.hash$1(this._list1$_contents);
85824 }
85825 };
85826 A.SassList_isBlank_closure0.prototype = {
85827 call$1(element) {
85828 return element.get$isBlank();
85829 },
85830 $signature: 49
85831 };
85832 A.ListSeparator0.prototype = {
85833 toString$0(_) {
85834 return this._list1$_name;
85835 }
85836 };
85837 A.NodeLogger.prototype = {};
85838 A.WarnOptions.prototype = {};
85839 A.DebugOptions.prototype = {};
85840 A._QuietLogger0.prototype = {
85841 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
85842 },
85843 warn$2$span($receiver, message, span) {
85844 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
85845 },
85846 warn$3$deprecation$span($receiver, message, deprecation, span) {
85847 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
85848 }
85849 };
85850 A.LoudComment0.prototype = {
85851 get$span(_) {
85852 return this.text.span;
85853 },
85854 accept$1$1(visitor) {
85855 return visitor.visitLoudComment$1(this);
85856 },
85857 accept$1(visitor) {
85858 return this.accept$1$1(visitor, type$.dynamic);
85859 },
85860 toString$0(_) {
85861 return this.text.toString$0(0);
85862 },
85863 $isAstNode0: 1,
85864 $isStatement0: 1
85865 };
85866 A.MapExpression0.prototype = {
85867 accept$1$1(visitor) {
85868 return visitor.visitMapExpression$1(this);
85869 },
85870 accept$1(visitor) {
85871 return this.accept$1$1(visitor, type$.dynamic);
85872 },
85873 toString$0(_) {
85874 var t1 = this.pairs;
85875 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
85876 },
85877 $isExpression0: 1,
85878 $isAstNode0: 1,
85879 get$span(receiver) {
85880 return this.span;
85881 }
85882 };
85883 A.MapExpression_toString_closure0.prototype = {
85884 call$1(pair) {
85885 return A.S(pair.item1) + ": " + A.S(pair.item2);
85886 },
85887 $signature: 473
85888 };
85889 A._get_closure0.prototype = {
85890 call$1($arguments) {
85891 var t3, t4, value,
85892 t1 = J.getInterceptor$asx($arguments),
85893 map = t1.$index($arguments, 0).assertMap$1("map"),
85894 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85895 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85896 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) {
85897 t4 = t1.__internal$_current;
85898 if (t4 == null)
85899 t4 = t3._as(t4);
85900 value = map._map0$_contents.$index(0, t4);
85901 if (!(value instanceof A.SassMap0))
85902 return B.C__SassNull0;
85903 }
85904 t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
85905 return t1 == null ? B.C__SassNull0 : t1;
85906 },
85907 $signature: 3
85908 };
85909 A._set_closure1.prototype = {
85910 call$1($arguments) {
85911 var t1 = J.getInterceptor$asx($arguments);
85912 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);
85913 },
85914 $signature: 3
85915 };
85916 A._set__closure2.prototype = {
85917 call$1(_) {
85918 return J.$index$asx(this.$arguments, 2);
85919 },
85920 $signature: 38
85921 };
85922 A._set_closure2.prototype = {
85923 call$1($arguments) {
85924 var t1 = J.getInterceptor$asx($arguments),
85925 map = t1.$index($arguments, 0).assertMap$1("map"),
85926 args = t1.$index($arguments, 1).get$asList();
85927 t1 = args.length;
85928 if (t1 === 0)
85929 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85930 else if (t1 === 1)
85931 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value."));
85932 return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
85933 },
85934 $signature: 3
85935 };
85936 A._set__closure1.prototype = {
85937 call$1(_) {
85938 return B.JSArray_methods.get$last(this.args);
85939 },
85940 $signature: 38
85941 };
85942 A._merge_closure1.prototype = {
85943 call$1($arguments) {
85944 var t2, t3, t4,
85945 t1 = J.getInterceptor$asx($arguments),
85946 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85947 map2 = t1.$index($arguments, 1).assertMap$1("map2");
85948 t1 = type$.Value_2;
85949 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85950 for (t3 = map1._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85951 t4 = t3.get$current(t3);
85952 t2.$indexSet(0, t4.key, t4.value);
85953 }
85954 for (t3 = map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85955 t4 = t3.get$current(t3);
85956 t2.$indexSet(0, t4.key, t4.value);
85957 }
85958 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85959 },
85960 $signature: 40
85961 };
85962 A._merge_closure2.prototype = {
85963 call$1($arguments) {
85964 var map2,
85965 t1 = J.getInterceptor$asx($arguments),
85966 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85967 args = t1.$index($arguments, 1).get$asList();
85968 t1 = args.length;
85969 if (t1 === 0)
85970 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85971 else if (t1 === 1)
85972 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map."));
85973 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
85974 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);
85975 },
85976 $signature: 3
85977 };
85978 A._merge__closure0.prototype = {
85979 call$1(oldValue) {
85980 var t1, t2, t3, t4,
85981 nestedMap = oldValue.tryMap$0();
85982 if (nestedMap == null)
85983 return this.map2;
85984 t1 = type$.Value_2;
85985 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85986 for (t3 = nestedMap._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85987 t4 = t3.get$current(t3);
85988 t2.$indexSet(0, t4.key, t4.value);
85989 }
85990 for (t3 = this.map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85991 t4 = t3.get$current(t3);
85992 t2.$indexSet(0, t4.key, t4.value);
85993 }
85994 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85995 },
85996 $signature: 474
85997 };
85998 A._deepMerge_closure0.prototype = {
85999 call$1($arguments) {
86000 var t1 = J.getInterceptor$asx($arguments);
86001 return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
86002 },
86003 $signature: 40
86004 };
86005 A._deepRemove_closure0.prototype = {
86006 call$1($arguments) {
86007 var t1 = J.getInterceptor$asx($arguments),
86008 map = t1.$index($arguments, 0).assertMap$1("map"),
86009 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86010 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86011 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);
86012 },
86013 $signature: 3
86014 };
86015 A._deepRemove__closure0.prototype = {
86016 call$1(value) {
86017 var t1, t2,
86018 nestedMap = value.tryMap$0();
86019 if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
86020 t1 = type$.Value_2;
86021 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
86022 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
86023 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86024 }
86025 return value;
86026 },
86027 $signature: 38
86028 };
86029 A._remove_closure1.prototype = {
86030 call$1($arguments) {
86031 return J.$index$asx($arguments, 0).assertMap$1("map");
86032 },
86033 $signature: 40
86034 };
86035 A._remove_closure2.prototype = {
86036 call$1($arguments) {
86037 var mutableMap, t3, _i,
86038 t1 = J.getInterceptor$asx($arguments),
86039 map = t1.$index($arguments, 0).assertMap$1("map"),
86040 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86041 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86042 t1 = type$.Value_2;
86043 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
86044 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
86045 mutableMap.remove$1(0, t2[_i]);
86046 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86047 },
86048 $signature: 40
86049 };
86050 A._keys_closure0.prototype = {
86051 call$1($arguments) {
86052 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
86053 return A.SassList$0(t1.get$keys(t1), B.ListSeparator_kWM0, false);
86054 },
86055 $signature: 22
86056 };
86057 A._values_closure0.prototype = {
86058 call$1($arguments) {
86059 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
86060 return A.SassList$0(t1.get$values(t1), B.ListSeparator_kWM0, false);
86061 },
86062 $signature: 22
86063 };
86064 A._hasKey_closure0.prototype = {
86065 call$1($arguments) {
86066 var t3, t4, value,
86067 t1 = J.getInterceptor$asx($arguments),
86068 map = t1.$index($arguments, 0).assertMap$1("map"),
86069 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86070 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86071 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) {
86072 t4 = t1.__internal$_current;
86073 if (t4 == null)
86074 t4 = t3._as(t4);
86075 value = map._map0$_contents.$index(0, t4);
86076 if (!(value instanceof A.SassMap0))
86077 return B.SassBoolean_false0;
86078 }
86079 return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86080 },
86081 $signature: 18
86082 };
86083 A._modify__modifyNestedMap0.prototype = {
86084 call$1(map) {
86085 var nestedMap, _this = this,
86086 t1 = type$.Value_2,
86087 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
86088 t2 = _this.keyIterator,
86089 key = t2.get$current(t2);
86090 if (!t2.moveNext$0()) {
86091 t2 = mutableMap.$index(0, key);
86092 if (t2 == null)
86093 t2 = B.C__SassNull0;
86094 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
86095 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86096 }
86097 t2 = mutableMap.$index(0, key);
86098 nestedMap = t2 == null ? null : t2.tryMap$0();
86099 t2 = nestedMap == null;
86100 if (t2 && !_this.addNesting)
86101 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86102 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
86103 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86104 },
86105 $signature: 475
86106 };
86107 A._deepMergeImpl_closure0.prototype = {
86108 call$2(key, value) {
86109 var valueMap, merged,
86110 t1 = this.result,
86111 t2 = t1.$index(0, key),
86112 resultMap = t2 == null ? null : t2.tryMap$0();
86113 if (resultMap == null)
86114 t1.$indexSet(0, key, value);
86115 else {
86116 valueMap = value.tryMap$0();
86117 if (valueMap != null) {
86118 merged = A._deepMergeImpl0(resultMap, valueMap);
86119 if (merged === resultMap)
86120 return;
86121 t1.$indexSet(0, key, merged);
86122 } else
86123 t1.$indexSet(0, key, value);
86124 }
86125 },
86126 $signature: 55
86127 };
86128 A._NodeSassMap.prototype = {};
86129 A.legacyMapClass_closure.prototype = {
86130 call$3(thisArg, $length, dartValue) {
86131 var t1, t2, t3, map;
86132 if (dartValue == null) {
86133 $length.toString;
86134 t1 = type$.Value_2;
86135 t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
86136 t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
86137 map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
86138 A.MapBase__fillMapWithIterables(map, t2, t3);
86139 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
86140 } else
86141 t1 = dartValue;
86142 J.set$dartValue$x(thisArg, t1);
86143 },
86144 call$2(thisArg, $length) {
86145 return this.call$3(thisArg, $length, null);
86146 },
86147 "call*": "call$3",
86148 $requiredArgCount: 2,
86149 $defaultValues() {
86150 return [null];
86151 },
86152 $signature: 476
86153 };
86154 A.legacyMapClass__closure.prototype = {
86155 call$1(i) {
86156 return new A.UnitlessSassNumber0(i, null);
86157 },
86158 $signature: 477
86159 };
86160 A.legacyMapClass__closure0.prototype = {
86161 call$1(_) {
86162 return B.C__SassNull0;
86163 },
86164 $signature: 233
86165 };
86166 A.legacyMapClass_closure0.prototype = {
86167 call$2(thisArg, index) {
86168 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86169 return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
86170 },
86171 $signature: 235
86172 };
86173 A.legacyMapClass_closure1.prototype = {
86174 call$2(thisArg, index) {
86175 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86176 return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
86177 },
86178 $signature: 235
86179 };
86180 A.legacyMapClass_closure2.prototype = {
86181 call$1(thisArg) {
86182 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86183 return t1.get$length(t1);
86184 },
86185 $signature: 479
86186 };
86187 A.legacyMapClass_closure3.prototype = {
86188 call$3(thisArg, index, key) {
86189 var newKey, t2, newMap, t3, i, t4, t5,
86190 t1 = J.getInterceptor$x(thisArg);
86191 A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
86192 newKey = A.unwrapValue(key);
86193 t2 = type$.Value_2;
86194 newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86195 for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
86196 t4 = t3.get$current(t3);
86197 if (i === index)
86198 newMap.$indexSet(0, newKey, t4.value);
86199 else {
86200 t5 = t4.key;
86201 if (newKey.$eq(0, t5))
86202 throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
86203 newMap.$indexSet(0, t5, t4.value);
86204 }
86205 ++i;
86206 }
86207 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
86208 },
86209 "call*": "call$3",
86210 $requiredArgCount: 3,
86211 $signature: 236
86212 };
86213 A.legacyMapClass_closure4.prototype = {
86214 call$3(thisArg, index, value) {
86215 var t3, t4, t5,
86216 t1 = J.getInterceptor$x(thisArg),
86217 t2 = t1.get$dartValue(thisArg)._map0$_contents,
86218 key = J.elementAt$1$ax(t2.get$keys(t2), index);
86219 t2 = type$.Value_2;
86220 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86221 for (t4 = t1.get$dartValue(thisArg)._map0$_contents, t4 = t4.get$entries(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
86222 t5 = t4.get$current(t4);
86223 t3.$indexSet(0, t5.key, t5.value);
86224 }
86225 t3.$indexSet(0, key, A.unwrapValue(value));
86226 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
86227 },
86228 "call*": "call$3",
86229 $requiredArgCount: 3,
86230 $signature: 236
86231 };
86232 A.mapClass_closure.prototype = {
86233 call$0() {
86234 var t1 = type$.JSClass,
86235 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
86236 t2 = J.getInterceptor$x(jsClass);
86237 A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
86238 t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
86239 A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
86240 return jsClass;
86241 },
86242 $signature: 23
86243 };
86244 A.mapClass__closure.prototype = {
86245 call$2($self, contents) {
86246 var t1;
86247 if (contents == null)
86248 t1 = B.SassMap_Map_empty0;
86249 else {
86250 t1 = type$.Value_2;
86251 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
86252 }
86253 return t1;
86254 },
86255 call$1($self) {
86256 return this.call$2($self, null);
86257 },
86258 "call*": "call$2",
86259 $requiredArgCount: 1,
86260 $defaultValues() {
86261 return [null];
86262 },
86263 $signature: 481
86264 };
86265 A.mapClass__closure0.prototype = {
86266 call$1($self) {
86267 return A.dartMapToImmutableMap($self._map0$_contents);
86268 },
86269 $signature: 482
86270 };
86271 A.mapClass__closure1.prototype = {
86272 call$2($self, indexOrKey) {
86273 var index, t1, entry;
86274 if (typeof indexOrKey == "number") {
86275 index = B.JSNumber_methods.floor$0(indexOrKey);
86276 if (index < 0) {
86277 t1 = $self._map0$_contents;
86278 index = t1.get$length(t1) + index;
86279 }
86280 if (index >= 0) {
86281 t1 = $self._map0$_contents;
86282 t1 = index >= t1.get$length(t1);
86283 } else
86284 t1 = true;
86285 if (t1)
86286 return self.undefined;
86287 t1 = $self._map0$_contents;
86288 entry = t1.get$entries(t1).elementAt$1(0, index);
86289 return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_woc0, false);
86290 } else {
86291 t1 = $self._map0$_contents.$index(0, indexOrKey);
86292 return t1 == null ? self.undefined : t1;
86293 }
86294 },
86295 $signature: 483
86296 };
86297 A.SassMap0.prototype = {
86298 get$separator(_) {
86299 var t1 = this._map0$_contents;
86300 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null0 : B.ListSeparator_kWM0;
86301 },
86302 get$asList() {
86303 var result = A._setArrayType([], type$.JSArray_Value_2);
86304 this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
86305 return result;
86306 },
86307 get$lengthAsList() {
86308 var t1 = this._map0$_contents;
86309 return t1.get$length(t1);
86310 },
86311 accept$1$1(visitor) {
86312 return visitor.visitMap$1(this);
86313 },
86314 accept$1(visitor) {
86315 return this.accept$1$1(visitor, type$.dynamic);
86316 },
86317 assertMap$1($name) {
86318 return this;
86319 },
86320 tryMap$0() {
86321 return this;
86322 },
86323 $eq(_, other) {
86324 var t1;
86325 if (other == null)
86326 return false;
86327 if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
86328 t1 = this._map0$_contents;
86329 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
86330 } else
86331 t1 = true;
86332 return t1;
86333 },
86334 get$hashCode(_) {
86335 var t1 = this._map0$_contents;
86336 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty15) : B.C_MapEquality.hash$1(t1);
86337 }
86338 };
86339 A.SassMap_asList_closure0.prototype = {
86340 call$2(key, value) {
86341 this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_woc0, false));
86342 },
86343 $signature: 55
86344 };
86345 A._ceil_closure0.prototype = {
86346 call$1(value) {
86347 return B.JSNumber_methods.ceil$0(value);
86348 },
86349 $signature: 42
86350 };
86351 A._clamp_closure0.prototype = {
86352 call$1($arguments) {
86353 var t1 = J.getInterceptor$asx($arguments),
86354 min = t1.$index($arguments, 0).assertNumber$1("min"),
86355 number = t1.$index($arguments, 1).assertNumber$1("number"),
86356 max = t1.$index($arguments, 2).assertNumber$1("max");
86357 number.convertValueToMatch$3(min, "number", "min");
86358 max.convertValueToMatch$3(min, "max", "min");
86359 if (min.greaterThanOrEquals$1(max).value)
86360 return min;
86361 if (min.greaterThanOrEquals$1(number).value)
86362 return min;
86363 if (number.greaterThanOrEquals$1(max).value)
86364 return max;
86365 return number;
86366 },
86367 $signature: 10
86368 };
86369 A._floor_closure0.prototype = {
86370 call$1(value) {
86371 return B.JSNumber_methods.floor$0(value);
86372 },
86373 $signature: 42
86374 };
86375 A._max_closure0.prototype = {
86376 call$1($arguments) {
86377 var t1, t2, max, _i, number;
86378 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) {
86379 number = t1[_i].assertNumber$0();
86380 if (max == null || max.lessThan$1(number).value)
86381 max = number;
86382 }
86383 if (max != null)
86384 return max;
86385 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86386 },
86387 $signature: 10
86388 };
86389 A._min_closure0.prototype = {
86390 call$1($arguments) {
86391 var t1, t2, min, _i, number;
86392 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) {
86393 number = t1[_i].assertNumber$0();
86394 if (min == null || min.greaterThan$1(number).value)
86395 min = number;
86396 }
86397 if (min != null)
86398 return min;
86399 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86400 },
86401 $signature: 10
86402 };
86403 A._abs_closure0.prototype = {
86404 call$1(value) {
86405 return Math.abs(value);
86406 },
86407 $signature: 73
86408 };
86409 A._hypot_closure0.prototype = {
86410 call$1($arguments) {
86411 var subtotal, i, i0, t3, t4,
86412 t1 = J.$index$asx($arguments, 0).get$asList(),
86413 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
86414 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
86415 t1 = numbers.length;
86416 if (t1 === 0)
86417 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86418 for (subtotal = 0, i = 0; i < t1; i = i0) {
86419 i0 = i + 1;
86420 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
86421 }
86422 t1 = Math.sqrt(subtotal);
86423 t2 = numbers[0];
86424 t3 = J.getInterceptor$x(t2);
86425 t4 = t3.get$numeratorUnits(t2);
86426 return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
86427 },
86428 $signature: 10
86429 };
86430 A._hypot__closure0.prototype = {
86431 call$1(argument) {
86432 return argument.assertNumber$0();
86433 },
86434 $signature: 484
86435 };
86436 A._log_closure0.prototype = {
86437 call$1($arguments) {
86438 var numberValue, base, baseValue, t2,
86439 _s18_ = " to have no units.",
86440 t1 = J.getInterceptor$asx($arguments),
86441 number = t1.$index($arguments, 0).assertNumber$1("number");
86442 if (number.get$hasUnits())
86443 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_));
86444 numberValue = A._fuzzyRoundIfZero0(number._number1$_value);
86445 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0)) {
86446 t1 = Math.log(numberValue);
86447 return new A.UnitlessSassNumber0(t1, null);
86448 }
86449 base = t1.$index($arguments, 1).assertNumber$1("base");
86450 if (base.get$hasUnits())
86451 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86452 t1 = base._number1$_value;
86453 baseValue = Math.abs(t1 - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86454 t1 = Math.log(numberValue);
86455 t2 = Math.log(baseValue);
86456 return new A.UnitlessSassNumber0(t1 / t2, null);
86457 },
86458 $signature: 10
86459 };
86460 A._pow_closure0.prototype = {
86461 call$1($arguments) {
86462 var baseValue, exponentValue, t2, intExponent, t3,
86463 _s18_ = " to have no units.",
86464 _null = null,
86465 t1 = J.getInterceptor$asx($arguments),
86466 base = t1.$index($arguments, 0).assertNumber$1("base"),
86467 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
86468 if (base.get$hasUnits())
86469 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86470 else if (exponent.get$hasUnits())
86471 throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_));
86472 baseValue = A._fuzzyRoundIfZero0(base._number1$_value);
86473 exponentValue = A._fuzzyRoundIfZero0(exponent._number1$_value);
86474 t1 = $.$get$epsilon0();
86475 if (Math.abs(Math.abs(baseValue) - 1) < t1)
86476 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
86477 else
86478 t2 = false;
86479 if (t2)
86480 return new A.UnitlessSassNumber0(0 / 0, _null);
86481 else {
86482 t2 = Math.abs(baseValue - 0);
86483 if (t2 < t1) {
86484 if (isFinite(exponentValue)) {
86485 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86486 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86487 exponentValue = A.fuzzyRound0(exponentValue);
86488 }
86489 } else {
86490 if (isFinite(baseValue))
86491 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt0(exponentValue);
86492 else
86493 t3 = false;
86494 if (t3)
86495 exponentValue = A.fuzzyRound0(exponentValue);
86496 else {
86497 if (baseValue == 1 / 0 || baseValue == -1 / 0)
86498 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
86499 else
86500 t1 = false;
86501 if (t1) {
86502 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86503 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86504 exponentValue = A.fuzzyRound0(exponentValue);
86505 }
86506 }
86507 }
86508 }
86509 t1 = Math.pow(baseValue, exponentValue);
86510 return new A.UnitlessSassNumber0(t1, _null);
86511 },
86512 $signature: 10
86513 };
86514 A._sqrt_closure0.prototype = {
86515 call$1($arguments) {
86516 var t1,
86517 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86518 if (number.get$hasUnits())
86519 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86520 t1 = Math.sqrt(A._fuzzyRoundIfZero0(number._number1$_value));
86521 return new A.UnitlessSassNumber0(t1, null);
86522 },
86523 $signature: 10
86524 };
86525 A._acos_closure0.prototype = {
86526 call$1($arguments) {
86527 var numberValue,
86528 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86529 if (number.get$hasUnits())
86530 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86531 numberValue = number._number1$_value;
86532 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon0())
86533 numberValue = A.fuzzyRound0(numberValue);
86534 return A.SassNumber_SassNumber$withUnits0(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86535 },
86536 $signature: 10
86537 };
86538 A._asin_closure0.prototype = {
86539 call$1($arguments) {
86540 var t1, numberValue,
86541 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86542 if (number.get$hasUnits())
86543 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86544 t1 = number._number1$_value;
86545 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86546 return A.SassNumber_SassNumber$withUnits0(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86547 },
86548 $signature: 10
86549 };
86550 A._atan_closure0.prototype = {
86551 call$1($arguments) {
86552 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86553 if (number.get$hasUnits())
86554 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86555 return A.SassNumber_SassNumber$withUnits0(Math.atan(A._fuzzyRoundIfZero0(number._number1$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86556 },
86557 $signature: 10
86558 };
86559 A._atan2_closure0.prototype = {
86560 call$1($arguments) {
86561 var t1 = J.getInterceptor$asx($arguments),
86562 y = t1.$index($arguments, 0).assertNumber$1("y"),
86563 xValue = A._fuzzyRoundIfZero0(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
86564 return A.SassNumber_SassNumber$withUnits0(Math.atan2(A._fuzzyRoundIfZero0(y._number1$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86565 },
86566 $signature: 10
86567 };
86568 A._cos_closure0.prototype = {
86569 call$1($arguments) {
86570 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
86571 return new A.UnitlessSassNumber0(t1, null);
86572 },
86573 $signature: 10
86574 };
86575 A._sin_closure0.prototype = {
86576 call$1($arguments) {
86577 var t1 = Math.sin(A._fuzzyRoundIfZero0(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
86578 return new A.UnitlessSassNumber0(t1, null);
86579 },
86580 $signature: 10
86581 };
86582 A._tan_closure0.prototype = {
86583 call$1($arguments) {
86584 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
86585 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
86586 t2 = $.$get$epsilon0();
86587 if (Math.abs(t1 - 0) < t2)
86588 return new A.UnitlessSassNumber0(1 / 0, null);
86589 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
86590 return new A.UnitlessSassNumber0(-1 / 0, null);
86591 else {
86592 t1 = Math.tan(A._fuzzyRoundIfZero0(value));
86593 return new A.UnitlessSassNumber0(t1, null);
86594 }
86595 },
86596 $signature: 10
86597 };
86598 A._compatible_closure0.prototype = {
86599 call$1($arguments) {
86600 var t1 = J.getInterceptor$asx($arguments);
86601 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86602 },
86603 $signature: 18
86604 };
86605 A._isUnitless_closure0.prototype = {
86606 call$1($arguments) {
86607 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
86608 },
86609 $signature: 18
86610 };
86611 A._unit_closure0.prototype = {
86612 call$1($arguments) {
86613 return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
86614 },
86615 $signature: 13
86616 };
86617 A._percentage_closure0.prototype = {
86618 call$1($arguments) {
86619 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86620 number.assertNoUnits$1("number");
86621 return new A.SingleUnitSassNumber0("%", number._number1$_value * 100, null);
86622 },
86623 $signature: 10
86624 };
86625 A._randomFunction_closure0.prototype = {
86626 call$1($arguments) {
86627 var limit,
86628 t1 = J.getInterceptor$asx($arguments);
86629 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0)) {
86630 t1 = $.$get$_random2().nextDouble$0();
86631 return new A.UnitlessSassNumber0(t1, null);
86632 }
86633 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
86634 if (limit < 1)
86635 throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit + "."));
86636 t1 = $.$get$_random2().nextInt$1(limit);
86637 return new A.UnitlessSassNumber0(t1 + 1, null);
86638 },
86639 $signature: 10
86640 };
86641 A._div_closure0.prototype = {
86642 call$1($arguments) {
86643 var t1 = J.getInterceptor$asx($arguments),
86644 number1 = t1.$index($arguments, 0),
86645 number2 = t1.$index($arguments, 1);
86646 if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
86647 A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
86648 return number1.dividedBy$1(number2);
86649 },
86650 $signature: 3
86651 };
86652 A._numberFunction_closure0.prototype = {
86653 call$1($arguments) {
86654 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
86655 t1 = this.transform.call$1(number._number1$_value),
86656 t2 = number.get$numeratorUnits(number);
86657 return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
86658 },
86659 $signature: 10
86660 };
86661 A.CssMediaQuery0.prototype = {
86662 merge$1(other) {
86663 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
86664 t1 = _this.modifier,
86665 ourModifier = t1 == null ? _null : t1.toLowerCase(),
86666 t2 = _this.type,
86667 t3 = t2 == null,
86668 ourType = t3 ? _null : t2.toLowerCase(),
86669 t4 = other.modifier,
86670 theirModifier = t4 == null ? _null : t4.toLowerCase(),
86671 t5 = other.type,
86672 t6 = t5 == null,
86673 theirType = t6 ? _null : t5.toLowerCase(),
86674 t7 = ourType == null;
86675 if (t7 && theirType == null) {
86676 t1 = type$.String;
86677 t2 = A.List_List$of(_this.features, true, t1);
86678 B.JSArray_methods.addAll$1(t2, other.features);
86679 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(t2, t1)));
86680 }
86681 t8 = ourModifier === "not";
86682 if (t8 !== (theirModifier === "not")) {
86683 if (ourType == theirType) {
86684 negativeFeatures = t8 ? _this.features : other.features;
86685 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
86686 return B._SingletonCssMediaQueryMergeResult_empty0;
86687 else
86688 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86689 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
86690 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86691 if (t8) {
86692 features = other.features;
86693 type = theirType;
86694 modifier = theirModifier;
86695 } else {
86696 features = _this.features;
86697 type = ourType;
86698 modifier = ourModifier;
86699 }
86700 } else if (t8) {
86701 if (ourType != theirType)
86702 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86703 fewerFeatures = _this.features;
86704 fewerFeatures0 = other.features;
86705 t3 = fewerFeatures.length > fewerFeatures0.length;
86706 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
86707 if (t3)
86708 fewerFeatures = fewerFeatures0;
86709 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
86710 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86711 features = moreFeatures;
86712 type = ourType;
86713 modifier = ourModifier;
86714 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
86715 type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
86716 t3 = A.List_List$of(_this.features, true, type$.String);
86717 B.JSArray_methods.addAll$1(t3, other.features);
86718 features = t3;
86719 modifier = theirModifier;
86720 } else {
86721 if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
86722 t3 = A.List_List$of(_this.features, true, type$.String);
86723 B.JSArray_methods.addAll$1(t3, other.features);
86724 features = t3;
86725 modifier = ourModifier;
86726 } else {
86727 if (ourType != theirType)
86728 return B._SingletonCssMediaQueryMergeResult_empty0;
86729 else {
86730 modifier = ourModifier == null ? theirModifier : ourModifier;
86731 t3 = A.List_List$of(_this.features, true, type$.String);
86732 B.JSArray_methods.addAll$1(t3, other.features);
86733 }
86734 features = t3;
86735 }
86736 type = ourType;
86737 }
86738 t2 = type == ourType ? t2 : t5;
86739 t1 = modifier == ourModifier ? t1 : t4;
86740 t3 = A.List_List$unmodifiable(features, type$.String);
86741 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(t1, t2, t3));
86742 },
86743 $eq(_, other) {
86744 if (other == null)
86745 return false;
86746 return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
86747 },
86748 get$hashCode(_) {
86749 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
86750 },
86751 toString$0(_) {
86752 var t2, _this = this,
86753 t1 = _this.modifier;
86754 t1 = t1 != null ? "" + (t1 + " ") : "";
86755 t2 = _this.type;
86756 if (t2 != null) {
86757 t1 += t2;
86758 if (_this.features.length !== 0)
86759 t1 += " and ";
86760 }
86761 t1 += B.JSArray_methods.join$1(_this.features, " and ");
86762 return t1.charCodeAt(0) == 0 ? t1 : t1;
86763 }
86764 };
86765 A._SingletonCssMediaQueryMergeResult0.prototype = {
86766 toString$0(_) {
86767 return this._media_query0$_name;
86768 }
86769 };
86770 A.MediaQuerySuccessfulMergeResult0.prototype = {};
86771 A.MediaQueryParser0.prototype = {
86772 parse$0() {
86773 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
86774 },
86775 _media_query1$_mediaQuery$0() {
86776 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
86777 t1 = _this.scanner;
86778 if (t1.peekChar$0() !== 40) {
86779 identifier1 = _this.identifier$0();
86780 _this.whitespace$0();
86781 if (!_this.lookingAtIdentifier$0())
86782 return new A.CssMediaQuery0(_null, identifier1, B.List_empty);
86783 identifier2 = _this.identifier$0();
86784 _this.whitespace$0();
86785 if (A.equalsIgnoreCase0(identifier2, "and")) {
86786 type = identifier1;
86787 modifier = _null;
86788 } else {
86789 if (_this.scanIdentifier$1("and"))
86790 _this.whitespace$0();
86791 else
86792 return new A.CssMediaQuery0(identifier1, identifier2, B.List_empty);
86793 type = identifier2;
86794 modifier = identifier1;
86795 }
86796 } else {
86797 type = _null;
86798 modifier = type;
86799 }
86800 features = A._setArrayType([], type$.JSArray_String);
86801 do {
86802 _this.whitespace$0();
86803 t1.expectChar$1(40);
86804 features.push("(" + _this.declarationValue$0() + ")");
86805 t1.expectChar$1(41);
86806 _this.whitespace$0();
86807 } while (_this.scanIdentifier$1("and"));
86808 if (type == null)
86809 return new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(features, type$.String));
86810 else {
86811 t1 = A.List_List$unmodifiable(features, type$.String);
86812 return new A.CssMediaQuery0(modifier, type, t1);
86813 }
86814 }
86815 };
86816 A.MediaQueryParser_parse_closure0.prototype = {
86817 call$0() {
86818 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
86819 t1 = this.$this,
86820 t2 = t1.scanner;
86821 do {
86822 t1.whitespace$0();
86823 queries.push(t1._media_query1$_mediaQuery$0());
86824 } while (t2.scanChar$1(44));
86825 t2.expectDone$0();
86826 return queries;
86827 },
86828 $signature: 113
86829 };
86830 A.ModifiableCssMediaRule0.prototype = {
86831 accept$1$1(visitor) {
86832 return visitor.visitCssMediaRule$1(this);
86833 },
86834 accept$1(visitor) {
86835 return this.accept$1$1(visitor, type$.dynamic);
86836 },
86837 copyWithoutChildren$0() {
86838 return A.ModifiableCssMediaRule$0(this.queries, this.span);
86839 },
86840 $isCssMediaRule0: 1,
86841 get$span(receiver) {
86842 return this.span;
86843 }
86844 };
86845 A.MediaRule0.prototype = {
86846 accept$1$1(visitor) {
86847 return visitor.visitMediaRule$1(this);
86848 },
86849 accept$1(visitor) {
86850 return this.accept$1$1(visitor, type$.dynamic);
86851 },
86852 toString$0(_) {
86853 var t1 = this.children;
86854 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
86855 },
86856 get$span(receiver) {
86857 return this.span;
86858 }
86859 };
86860 A.MergedExtension0.prototype = {
86861 unmerge$0() {
86862 var $async$self = this;
86863 return A._makeSyncStarIterable(function() {
86864 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
86865 return function $async$unmerge$0($async$errorCode, $async$result) {
86866 if ($async$errorCode === 1) {
86867 $async$currentError = $async$result;
86868 $async$goto = $async$handler;
86869 }
86870 while (true)
86871 switch ($async$goto) {
86872 case 0:
86873 // Function start
86874 left = $async$self.left;
86875 $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
86876 break;
86877 case 2:
86878 // then
86879 $async$goto = 5;
86880 return A._IterationMarker_yieldStar(left.unmerge$0());
86881 case 5:
86882 // after yield
86883 // goto join
86884 $async$goto = 3;
86885 break;
86886 case 4:
86887 // else
86888 $async$goto = 6;
86889 return left;
86890 case 6:
86891 // after yield
86892 case 3:
86893 // join
86894 right = $async$self.right;
86895 $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
86896 break;
86897 case 7:
86898 // then
86899 $async$goto = 10;
86900 return A._IterationMarker_yieldStar(right.unmerge$0());
86901 case 10:
86902 // after yield
86903 // goto join
86904 $async$goto = 8;
86905 break;
86906 case 9:
86907 // else
86908 $async$goto = 11;
86909 return right;
86910 case 11:
86911 // after yield
86912 case 8:
86913 // join
86914 // implicit return
86915 return A._IterationMarker_endOfIteration();
86916 case 1:
86917 // rethrow
86918 return A._IterationMarker_uncaughtError($async$currentError);
86919 }
86920 };
86921 }, type$.Extension_2);
86922 }
86923 };
86924 A.MergedMapView0.prototype = {
86925 get$keys(_) {
86926 var t1 = this._merged_map_view$_mapsByKey;
86927 return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
86928 },
86929 get$length(_) {
86930 return this._merged_map_view$_mapsByKey.__js_helper$_length;
86931 },
86932 get$isEmpty(_) {
86933 return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
86934 },
86935 get$isNotEmpty(_) {
86936 return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
86937 },
86938 MergedMapView$10(maps, $K, $V) {
86939 var t1, t2, t3, _i, map, t4, t5, t6;
86940 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) {
86941 map = maps[_i];
86942 if (t3._is(map))
86943 for (t4 = map._merged_map_view$_mapsByKey, t4 = t4.get$values(t4), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f), t5 = A._instanceType(t4)._rest[1]; t4.moveNext$0();) {
86944 t6 = t4.__internal$_current;
86945 if (t6 == null)
86946 t6 = t5._as(t6);
86947 A.setAll0(t2, t6.get$keys(t6), t6);
86948 }
86949 else
86950 A.setAll0(t2, map.get$keys(map), map);
86951 }
86952 },
86953 $index(_, key) {
86954 var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
86955 return t1 == null ? null : t1.$index(0, key);
86956 },
86957 $indexSet(_, key, value) {
86958 var child = this._merged_map_view$_mapsByKey.$index(0, key);
86959 if (child == null)
86960 throw A.wrapException(A.UnsupportedError$(string$.New_en));
86961 child.$indexSet(0, key, value);
86962 },
86963 remove$1(_, key) {
86964 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
86965 },
86966 containsKey$1(key) {
86967 return this._merged_map_view$_mapsByKey.containsKey$1(key);
86968 }
86969 };
86970 A.global_closure57.prototype = {
86971 call$1($arguments) {
86972 return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86973 },
86974 $signature: 18
86975 };
86976 A.global_closure58.prototype = {
86977 call$1($arguments) {
86978 return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
86979 },
86980 $signature: 13
86981 };
86982 A.global_closure59.prototype = {
86983 call$1($arguments) {
86984 var value = J.$index$asx($arguments, 0);
86985 if (value instanceof A.SassArgumentList0)
86986 return new A.SassString0("arglist", false);
86987 if (value instanceof A.SassBoolean0)
86988 return new A.SassString0("bool", false);
86989 if (value instanceof A.SassColor0)
86990 return new A.SassString0("color", false);
86991 if (value instanceof A.SassList0)
86992 return new A.SassString0("list", false);
86993 if (value instanceof A.SassMap0)
86994 return new A.SassString0("map", false);
86995 if (value.$eq(0, B.C__SassNull0))
86996 return new A.SassString0("null", false);
86997 if (value instanceof A.SassNumber0)
86998 return new A.SassString0("number", false);
86999 if (value instanceof A.SassFunction0)
87000 return new A.SassString0("function", false);
87001 if (value instanceof A.SassCalculation0)
87002 return new A.SassString0("calculation", false);
87003 return new A.SassString0("string", false);
87004 },
87005 $signature: 13
87006 };
87007 A.global_closure60.prototype = {
87008 call$1($arguments) {
87009 var t1, t2, t3, t4,
87010 argumentList = J.$index$asx($arguments, 0);
87011 if (argumentList instanceof A.SassArgumentList0) {
87012 t1 = type$.Value_2;
87013 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
87014 for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
87015 t4 = t3.get$current(t3);
87016 t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
87017 }
87018 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
87019 } else
87020 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
87021 },
87022 $signature: 40
87023 };
87024 A.local_closure1.prototype = {
87025 call$1($arguments) {
87026 return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
87027 },
87028 $signature: 13
87029 };
87030 A.local_closure2.prototype = {
87031 call$1($arguments) {
87032 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
87033 return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
87034 },
87035 $signature: 22
87036 };
87037 A.local__closure0.prototype = {
87038 call$1(argument) {
87039 if (argument instanceof A.Value0)
87040 return argument;
87041 return new A.SassString0(J.toString$0$(argument), false);
87042 },
87043 $signature: 485
87044 };
87045 A.MixinRule0.prototype = {
87046 get$hasContent() {
87047 var result, _this = this,
87048 value = _this._mixin_rule$__MixinRule_hasContent;
87049 if (value === $) {
87050 result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
87051 A._lateInitializeOnceCheck(_this._mixin_rule$__MixinRule_hasContent, "hasContent");
87052 _this._mixin_rule$__MixinRule_hasContent = result;
87053 value = result;
87054 }
87055 return value;
87056 },
87057 accept$1$1(visitor) {
87058 return visitor.visitMixinRule$1(this);
87059 },
87060 accept$1(visitor) {
87061 return this.accept$1$1(visitor, type$.dynamic);
87062 },
87063 toString$0(_) {
87064 var t1 = "@mixin " + this.name,
87065 t2 = this.$arguments;
87066 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
87067 t1 += "(" + t2.toString$0(0) + ")";
87068 t2 = this.children;
87069 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
87070 return t2.charCodeAt(0) == 0 ? t2 : t2;
87071 }
87072 };
87073 A._HasContentVisitor0.prototype = {
87074 visitContentRule$1(_) {
87075 return true;
87076 }
87077 };
87078 A.ExtendMode0.prototype = {
87079 toString$0(_) {
87080 return this.name;
87081 }
87082 };
87083 A.SupportsNegation0.prototype = {
87084 toString$0(_) {
87085 var t1 = this.condition;
87086 if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
87087 return "not (" + t1.toString$0(0) + ")";
87088 else
87089 return "not " + t1.toString$0(0);
87090 },
87091 $isAstNode0: 1,
87092 get$span(receiver) {
87093 return this.span;
87094 }
87095 };
87096 A.NoOpImporter.prototype = {
87097 canonicalize$1(_, url) {
87098 return null;
87099 },
87100 load$1(_, url) {
87101 return null;
87102 },
87103 toString$0(_) {
87104 return "(unknown)";
87105 }
87106 };
87107 A.NoSourceMapBuffer0.prototype = {
87108 get$length(_) {
87109 return this._no_source_map_buffer0$_buffer._contents.length;
87110 },
87111 forSpan$1$2(span, callback) {
87112 return callback.call$0();
87113 },
87114 forSpan$2(span, callback) {
87115 return this.forSpan$1$2(span, callback, type$.dynamic);
87116 },
87117 write$1(_, object) {
87118 this._no_source_map_buffer0$_buffer._contents += A.S(object);
87119 return null;
87120 },
87121 writeCharCode$1(charCode) {
87122 this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
87123 return null;
87124 },
87125 toString$0(_) {
87126 var t1 = this._no_source_map_buffer0$_buffer._contents;
87127 return t1.charCodeAt(0) == 0 ? t1 : t1;
87128 },
87129 buildSourceMap$1$prefix(prefix) {
87130 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
87131 }
87132 };
87133 A.AstNode0.prototype = {};
87134 A._FakeAstNode0.prototype = {
87135 get$span(_) {
87136 return this._node2$_callback.call$0();
87137 },
87138 $isAstNode0: 1
87139 };
87140 A.CssNode0.prototype = {
87141 toString$0(_) {
87142 return A.serialize0(this, true, null, true, null, false, null, true).css;
87143 }
87144 };
87145 A.CssParentNode0.prototype = {};
87146 A.FileSystemException0.prototype = {
87147 toString$0(_) {
87148 var t1 = $.$get$context();
87149 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
87150 },
87151 get$message(receiver) {
87152 return this.message;
87153 }
87154 };
87155 A.Stderr0.prototype = {
87156 writeln$1(object) {
87157 var t1 = object == null ? "" : object;
87158 J.write$1$x(this._node0$_stderr, t1 + "\n");
87159 },
87160 writeln$0() {
87161 return this.writeln$1(null);
87162 }
87163 };
87164 A._readFile_closure0.prototype = {
87165 call$0() {
87166 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
87167 },
87168 $signature: 94
87169 };
87170 A.fileExists_closure0.prototype = {
87171 call$0() {
87172 var error, systemError, exception,
87173 t1 = this.path;
87174 if (!J.existsSync$1$x(A.fs(), t1))
87175 return false;
87176 try {
87177 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
87178 return t1;
87179 } catch (exception) {
87180 error = A.unwrapException(exception);
87181 systemError = type$.JsSystemError._as(error);
87182 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87183 return false;
87184 throw exception;
87185 }
87186 },
87187 $signature: 26
87188 };
87189 A.dirExists_closure0.prototype = {
87190 call$0() {
87191 var error, systemError, exception,
87192 t1 = this.path;
87193 if (!J.existsSync$1$x(A.fs(), t1))
87194 return false;
87195 try {
87196 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
87197 return t1;
87198 } catch (exception) {
87199 error = A.unwrapException(exception);
87200 systemError = type$.JsSystemError._as(error);
87201 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87202 return false;
87203 throw exception;
87204 }
87205 },
87206 $signature: 26
87207 };
87208 A.listDir_closure0.prototype = {
87209 call$0() {
87210 var t1 = this.path;
87211 if (!this.recursive)
87212 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());
87213 else
87214 return new A.listDir_closure_list0().call$1(t1);
87215 },
87216 $signature: 183
87217 };
87218 A.listDir__closure1.prototype = {
87219 call$1(child) {
87220 return A.join(this.path, A._asString(child), null);
87221 },
87222 $signature: 91
87223 };
87224 A.listDir__closure2.prototype = {
87225 call$1(child) {
87226 return !A.dirExists0(child);
87227 },
87228 $signature: 6
87229 };
87230 A.listDir_closure_list0.prototype = {
87231 call$1($parent) {
87232 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
87233 },
87234 $signature: 144
87235 };
87236 A.listDir__list_closure0.prototype = {
87237 call$1(child) {
87238 var path = A.join(this.parent, A._asString(child), null);
87239 return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
87240 },
87241 $signature: 181
87242 };
87243 A.ModifiableCssNode0.prototype = {
87244 get$hasFollowingSibling() {
87245 var siblings, t1, i, t2,
87246 $parent = this._node1$_parent;
87247 if ($parent == null)
87248 return false;
87249 siblings = $parent.children;
87250 t1 = this._node1$_indexInParent;
87251 t1.toString;
87252 i = t1 + 1;
87253 t1 = siblings._collection$_source;
87254 t2 = J.getInterceptor$asx(t1);
87255 for (; i < t2.get$length(t1); ++i)
87256 if (!this._node1$_isInvisible$1(t2.elementAt$1(t1, i)))
87257 return true;
87258 return false;
87259 },
87260 _node1$_isInvisible$1(node) {
87261 if (type$.CssParentNode_2._is(node)) {
87262 if (type$.CssAtRule_2._is(node))
87263 return false;
87264 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
87265 return true;
87266 return J.every$1$ax(node.get$children(node), this.get$_node1$_isInvisible());
87267 } else
87268 return false;
87269 },
87270 get$isGroupEnd() {
87271 return this.isGroupEnd;
87272 }
87273 };
87274 A.ModifiableCssParentNode0.prototype = {
87275 get$isChildless() {
87276 return false;
87277 },
87278 addChild$1(child) {
87279 var t1;
87280 child._node1$_parent = this;
87281 t1 = this._node1$_children;
87282 child._node1$_indexInParent = t1.length;
87283 t1.push(child);
87284 },
87285 $isCssParentNode0: 1,
87286 get$children(receiver) {
87287 return this.children;
87288 }
87289 };
87290 A.main_closure0.prototype = {
87291 call$2(_, __) {
87292 },
87293 $signature: 486
87294 };
87295 A.main_closure1.prototype = {
87296 call$2(_, __) {
87297 },
87298 $signature: 487
87299 };
87300 A.NodeToDartLogger.prototype = {
87301 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
87302 var t1 = this._node,
87303 warn = t1 == null ? null : J.get$warn$x(t1);
87304 if (warn == null)
87305 this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
87306 else {
87307 t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
87308 warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
87309 }
87310 },
87311 warn$1($receiver, message) {
87312 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
87313 },
87314 warn$2$span($receiver, message, span) {
87315 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
87316 },
87317 warn$2$deprecation($receiver, message, deprecation) {
87318 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
87319 },
87320 warn$3$deprecation$span($receiver, message, deprecation, span) {
87321 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
87322 },
87323 warn$2$trace($receiver, message, trace) {
87324 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
87325 },
87326 debug$2(_, message, span) {
87327 var t1 = this._node,
87328 debug = t1 == null ? null : J.get$debug$x(t1);
87329 if (debug == null)
87330 this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
87331 else
87332 debug.call$2(message, {span: span});
87333 },
87334 _withAscii$1$1(callback) {
87335 var t1,
87336 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
87337 $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87338 try {
87339 t1 = callback.call$0();
87340 return t1;
87341 } finally {
87342 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87343 }
87344 },
87345 _withAscii$1(callback) {
87346 return this._withAscii$1$1(callback, type$.dynamic);
87347 }
87348 };
87349 A.NodeToDartLogger_warn_closure.prototype = {
87350 call$0() {
87351 var _this = this;
87352 _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
87353 },
87354 $signature: 1
87355 };
87356 A.NodeToDartLogger_debug_closure.prototype = {
87357 call$0() {
87358 return this.$this._fallback.debug$2(0, this.message, this.span);
87359 },
87360 $signature: 0
87361 };
87362 A.NullExpression0.prototype = {
87363 accept$1$1(visitor) {
87364 return visitor.visitNullExpression$1(this);
87365 },
87366 accept$1(visitor) {
87367 return this.accept$1$1(visitor, type$.dynamic);
87368 },
87369 toString$0(_) {
87370 return "null";
87371 },
87372 $isExpression0: 1,
87373 $isAstNode0: 1,
87374 get$span(receiver) {
87375 return this.span;
87376 }
87377 };
87378 A.legacyNullClass_closure.prototype = {
87379 call$0() {
87380 var t1 = type$.JSClass,
87381 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
87382 jsClass.NULL = B.C__SassNull0;
87383 A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
87384 return jsClass;
87385 },
87386 $signature: 23
87387 };
87388 A.legacyNullClass__closure.prototype = {
87389 call$2(_, __) {
87390 throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
87391 },
87392 call$1(_) {
87393 return this.call$2(_, null);
87394 },
87395 "call*": "call$2",
87396 $requiredArgCount: 1,
87397 $defaultValues() {
87398 return [null];
87399 },
87400 $signature: 193
87401 };
87402 A._SassNull0.prototype = {
87403 get$isTruthy() {
87404 return false;
87405 },
87406 get$isBlank() {
87407 return true;
87408 },
87409 get$realNull() {
87410 return null;
87411 },
87412 accept$1$1(visitor) {
87413 if (visitor._serialize0$_inspect)
87414 visitor._serialize0$_buffer.write$1(0, "null");
87415 return null;
87416 },
87417 accept$1(visitor) {
87418 return this.accept$1$1(visitor, type$.dynamic);
87419 },
87420 unaryNot$0() {
87421 return B.SassBoolean_true0;
87422 }
87423 };
87424 A.NumberExpression0.prototype = {
87425 accept$1$1(visitor) {
87426 return visitor.visitNumberExpression$1(this);
87427 },
87428 accept$1(visitor) {
87429 return this.accept$1$1(visitor, type$.dynamic);
87430 },
87431 toString$0(_) {
87432 var t1 = this.unit;
87433 if (t1 == null)
87434 t1 = "";
87435 return A.S(this.value) + t1;
87436 },
87437 $isExpression0: 1,
87438 $isAstNode0: 1,
87439 get$span(receiver) {
87440 return this.span;
87441 }
87442 };
87443 A._NodeSassNumber.prototype = {};
87444 A.legacyNumberClass_closure.prototype = {
87445 call$4(thisArg, value, unit, dartValue) {
87446 var t1;
87447 if (dartValue == null) {
87448 value.toString;
87449 t1 = A._parseNumber(value, unit);
87450 } else
87451 t1 = dartValue;
87452 J.set$dartValue$x(thisArg, t1);
87453 },
87454 call$2(thisArg, value) {
87455 return this.call$4(thisArg, value, null, null);
87456 },
87457 call$3(thisArg, value, unit) {
87458 return this.call$4(thisArg, value, unit, null);
87459 },
87460 "call*": "call$4",
87461 $requiredArgCount: 2,
87462 $defaultValues() {
87463 return [null, null];
87464 },
87465 $signature: 488
87466 };
87467 A.legacyNumberClass_closure0.prototype = {
87468 call$1(thisArg) {
87469 return J.get$dartValue$x(thisArg)._number1$_value;
87470 },
87471 $signature: 489
87472 };
87473 A.legacyNumberClass_closure1.prototype = {
87474 call$2(thisArg, value) {
87475 var t1 = J.getInterceptor$x(thisArg),
87476 t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
87477 t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
87478 },
87479 $signature: 490
87480 };
87481 A.legacyNumberClass_closure2.prototype = {
87482 call$1(thisArg) {
87483 var t1 = J.getInterceptor$x(thisArg),
87484 t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
87485 t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
87486 return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
87487 },
87488 $signature: 491
87489 };
87490 A.legacyNumberClass_closure3.prototype = {
87491 call$2(thisArg, unit) {
87492 var t1 = J.getInterceptor$x(thisArg);
87493 t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
87494 },
87495 $signature: 492
87496 };
87497 A._parseNumber_closure.prototype = {
87498 call$1(unit) {
87499 return unit.length === 0;
87500 },
87501 $signature: 6
87502 };
87503 A._parseNumber_closure0.prototype = {
87504 call$1(unit) {
87505 return unit.length === 0;
87506 },
87507 $signature: 6
87508 };
87509 A.numberClass_closure.prototype = {
87510 call$0() {
87511 var t1 = type$.JSClass,
87512 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
87513 t2 = type$.String,
87514 t3 = type$.Function;
87515 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));
87516 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));
87517 A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.UnitlessSassNumber0(0, null).constructor))).constructor), jsClass);
87518 return jsClass;
87519 },
87520 $signature: 23
87521 };
87522 A.numberClass__closure.prototype = {
87523 call$3($self, value, unitOrOptions) {
87524 var t1, t2, _null = null;
87525 if (typeof unitOrOptions == "string")
87526 return new A.SingleUnitSassNumber0(unitOrOptions, value, _null);
87527 type$.nullable__ConstructorOptions_2._as(unitOrOptions);
87528 t1 = unitOrOptions == null;
87529 if (t1)
87530 t2 = _null;
87531 else {
87532 t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87533 t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
87534 }
87535 if (t1)
87536 t1 = _null;
87537 else {
87538 t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87539 t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
87540 }
87541 return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
87542 },
87543 call$2($self, value) {
87544 return this.call$3($self, value, null);
87545 },
87546 "call*": "call$3",
87547 $requiredArgCount: 2,
87548 $defaultValues() {
87549 return [null];
87550 },
87551 $signature: 493
87552 };
87553 A.numberClass__closure0.prototype = {
87554 call$1($self) {
87555 return $self._number1$_value;
87556 },
87557 $signature: 494
87558 };
87559 A.numberClass__closure1.prototype = {
87560 call$1($self) {
87561 return A.fuzzyIsInt0($self._number1$_value);
87562 },
87563 $signature: 237
87564 };
87565 A.numberClass__closure2.prototype = {
87566 call$1($self) {
87567 var t1 = $self._number1$_value;
87568 return A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87569 },
87570 $signature: 496
87571 };
87572 A.numberClass__closure3.prototype = {
87573 call$1($self) {
87574 return new self.immutable.List($self.get$numeratorUnits($self));
87575 },
87576 $signature: 238
87577 };
87578 A.numberClass__closure4.prototype = {
87579 call$1($self) {
87580 return new self.immutable.List($self.get$denominatorUnits($self));
87581 },
87582 $signature: 238
87583 };
87584 A.numberClass__closure5.prototype = {
87585 call$1($self) {
87586 return $self.get$hasUnits();
87587 },
87588 $signature: 237
87589 };
87590 A.numberClass__closure6.prototype = {
87591 call$2($self, $name) {
87592 return $self.assertInt$1($name);
87593 },
87594 call$1($self) {
87595 return this.call$2($self, null);
87596 },
87597 "call*": "call$2",
87598 $requiredArgCount: 1,
87599 $defaultValues() {
87600 return [null];
87601 },
87602 $signature: 498
87603 };
87604 A.numberClass__closure7.prototype = {
87605 call$4($self, min, max, $name) {
87606 return $self.valueInRange$3(min, max, $name);
87607 },
87608 call$3($self, min, max) {
87609 return this.call$4($self, min, max, null);
87610 },
87611 "call*": "call$4",
87612 $requiredArgCount: 3,
87613 $defaultValues() {
87614 return [null];
87615 },
87616 $signature: 499
87617 };
87618 A.numberClass__closure8.prototype = {
87619 call$2($self, $name) {
87620 $self.assertNoUnits$1($name);
87621 return $self;
87622 },
87623 call$1($self) {
87624 return this.call$2($self, null);
87625 },
87626 "call*": "call$2",
87627 $requiredArgCount: 1,
87628 $defaultValues() {
87629 return [null];
87630 },
87631 $signature: 500
87632 };
87633 A.numberClass__closure9.prototype = {
87634 call$3($self, unit, $name) {
87635 $self.assertUnit$2(unit, $name);
87636 return $self;
87637 },
87638 call$2($self, unit) {
87639 return this.call$3($self, unit, null);
87640 },
87641 "call*": "call$3",
87642 $requiredArgCount: 2,
87643 $defaultValues() {
87644 return [null];
87645 },
87646 $signature: 501
87647 };
87648 A.numberClass__closure10.prototype = {
87649 call$2($self, unit) {
87650 return $self.hasUnit$1(unit);
87651 },
87652 $signature: 239
87653 };
87654 A.numberClass__closure11.prototype = {
87655 call$2($self, unit) {
87656 return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
87657 },
87658 $signature: 239
87659 };
87660 A.numberClass__closure12.prototype = {
87661 call$4($self, numeratorUnits, denominatorUnits, $name) {
87662 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87663 t2 = type$.String;
87664 t1 = J.cast$1$0$ax(t1, t2);
87665 t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
87666 return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
87667 },
87668 call$3($self, numeratorUnits, denominatorUnits) {
87669 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87670 },
87671 "call*": "call$4",
87672 $requiredArgCount: 3,
87673 $defaultValues() {
87674 return [null];
87675 },
87676 $signature: 240
87677 };
87678 A.numberClass__closure13.prototype = {
87679 call$4($self, other, $name, otherName) {
87680 return $self.convertToMatch$3(other, $name, otherName);
87681 },
87682 call$2($self, other) {
87683 return this.call$4($self, other, null, null);
87684 },
87685 call$3($self, other, $name) {
87686 return this.call$4($self, other, $name, null);
87687 },
87688 "call*": "call$4",
87689 $requiredArgCount: 2,
87690 $defaultValues() {
87691 return [null, null];
87692 },
87693 $signature: 241
87694 };
87695 A.numberClass__closure14.prototype = {
87696 call$4($self, numeratorUnits, denominatorUnits, $name) {
87697 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87698 t2 = type$.String;
87699 t1 = J.cast$1$0$ax(t1, t2);
87700 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);
87701 },
87702 call$3($self, numeratorUnits, denominatorUnits) {
87703 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87704 },
87705 "call*": "call$4",
87706 $requiredArgCount: 3,
87707 $defaultValues() {
87708 return [null];
87709 },
87710 $signature: 242
87711 };
87712 A.numberClass__closure15.prototype = {
87713 call$4($self, other, $name, otherName) {
87714 return $self.convertValueToMatch$3(other, $name, otherName);
87715 },
87716 call$2($self, other) {
87717 return this.call$4($self, other, null, null);
87718 },
87719 call$3($self, other, $name) {
87720 return this.call$4($self, other, $name, null);
87721 },
87722 "call*": "call$4",
87723 $requiredArgCount: 2,
87724 $defaultValues() {
87725 return [null, null];
87726 },
87727 $signature: 243
87728 };
87729 A.numberClass__closure16.prototype = {
87730 call$4($self, numeratorUnits, denominatorUnits, $name) {
87731 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87732 t2 = type$.String;
87733 t1 = J.cast$1$0$ax(t1, t2);
87734 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);
87735 },
87736 call$3($self, numeratorUnits, denominatorUnits) {
87737 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87738 },
87739 "call*": "call$4",
87740 $requiredArgCount: 3,
87741 $defaultValues() {
87742 return [null];
87743 },
87744 $signature: 240
87745 };
87746 A.numberClass__closure17.prototype = {
87747 call$4($self, other, $name, otherName) {
87748 return $self.coerceToMatch$3(other, $name, otherName);
87749 },
87750 call$2($self, other) {
87751 return this.call$4($self, other, null, null);
87752 },
87753 call$3($self, other, $name) {
87754 return this.call$4($self, other, $name, null);
87755 },
87756 "call*": "call$4",
87757 $requiredArgCount: 2,
87758 $defaultValues() {
87759 return [null, null];
87760 },
87761 $signature: 241
87762 };
87763 A.numberClass__closure18.prototype = {
87764 call$4($self, numeratorUnits, denominatorUnits, $name) {
87765 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87766 t2 = type$.String;
87767 t1 = J.cast$1$0$ax(t1, t2);
87768 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);
87769 },
87770 call$3($self, numeratorUnits, denominatorUnits) {
87771 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87772 },
87773 "call*": "call$4",
87774 $requiredArgCount: 3,
87775 $defaultValues() {
87776 return [null];
87777 },
87778 $signature: 242
87779 };
87780 A.numberClass__closure19.prototype = {
87781 call$4($self, other, $name, otherName) {
87782 return $self.coerceValueToMatch$3(other, $name, otherName);
87783 },
87784 call$2($self, other) {
87785 return this.call$4($self, other, null, null);
87786 },
87787 call$3($self, other, $name) {
87788 return this.call$4($self, other, $name, null);
87789 },
87790 "call*": "call$4",
87791 $requiredArgCount: 2,
87792 $defaultValues() {
87793 return [null, null];
87794 },
87795 $signature: 243
87796 };
87797 A._ConstructorOptions0.prototype = {};
87798 A.SassNumber0.prototype = {
87799 get$unitString() {
87800 var _this = this;
87801 return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
87802 },
87803 accept$1$1(visitor) {
87804 return visitor.visitNumber$1(this);
87805 },
87806 accept$1(visitor) {
87807 return this.accept$1$1(visitor, type$.dynamic);
87808 },
87809 withoutSlash$0() {
87810 var _this = this;
87811 return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
87812 },
87813 assertNumber$1($name) {
87814 return this;
87815 },
87816 assertNumber$0() {
87817 return this.assertNumber$1(null);
87818 },
87819 assertInt$1($name) {
87820 var t1 = this._number1$_value,
87821 integer = A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87822 if (integer != null)
87823 return integer;
87824 throw A.wrapException(this._number1$_exception$2(this.toString$0(0) + " is not an int.", $name));
87825 },
87826 assertInt$0() {
87827 return this.assertInt$1(null);
87828 },
87829 valueInRange$3(min, max, $name) {
87830 var _this = this,
87831 result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
87832 if (result != null)
87833 return result;
87834 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));
87835 },
87836 hasCompatibleUnits$1(other) {
87837 var _this = this;
87838 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
87839 return false;
87840 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87841 return false;
87842 return _this.isComparableTo$1(other);
87843 },
87844 assertUnit$2(unit, $name) {
87845 if (this.hasUnit$1(unit))
87846 return;
87847 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
87848 },
87849 assertNoUnits$1($name) {
87850 if (!this.get$hasUnits())
87851 return;
87852 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
87853 },
87854 convertToMatch$3(other, $name, otherName) {
87855 var t1 = this.convertValueToMatch$3(other, $name, otherName),
87856 t2 = other.get$numeratorUnits(other);
87857 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87858 },
87859 convertValueToMatch$3(other, $name, otherName) {
87860 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
87861 },
87862 coerce$3(newNumerators, newDenominators, $name) {
87863 return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
87864 },
87865 coerce$2(newNumerators, newDenominators) {
87866 return this.coerce$3(newNumerators, newDenominators, null);
87867 },
87868 coerceValue$3(newNumerators, newDenominators, $name) {
87869 return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
87870 },
87871 coerceValueToUnit$2(unit, $name) {
87872 var t1 = type$.JSArray_String;
87873 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
87874 },
87875 coerceToMatch$3(other, $name, otherName) {
87876 var t1 = this.coerceValueToMatch$3(other, $name, otherName),
87877 t2 = other.get$numeratorUnits(other);
87878 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87879 },
87880 coerceValueToMatch$3(other, $name, otherName) {
87881 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
87882 },
87883 coerceValueToMatch$1(other) {
87884 return this.coerceValueToMatch$3(other, null, null);
87885 },
87886 _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
87887 var t1, otherHasUnits, t2, _compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
87888 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
87889 return _this._number1$_value;
87890 t1 = J.getInterceptor$asx(newNumerators);
87891 otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
87892 if (coerceUnitless)
87893 t2 = !_this.get$hasUnits() || !otherHasUnits;
87894 else
87895 t2 = false;
87896 if (t2)
87897 return _this._number1$_value;
87898 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
87899 _box_0.value = _this._number1$_value;
87900 t2 = _this.get$numeratorUnits(_this);
87901 oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
87902 for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
87903 A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(_compatibilityException));
87904 t1 = _this.get$denominatorUnits(_this);
87905 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
87906 for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
87907 A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(_compatibilityException));
87908 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
87909 throw A.wrapException(_compatibilityException.call$0());
87910 return _box_0.value;
87911 },
87912 _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
87913 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
87914 },
87915 isComparableTo$1(other) {
87916 var exception;
87917 if (!this.get$hasUnits() || !other.get$hasUnits())
87918 return true;
87919 try {
87920 this.greaterThan$1(other);
87921 return true;
87922 } catch (exception) {
87923 if (A.unwrapException(exception) instanceof A.SassScriptException0)
87924 return false;
87925 else
87926 throw exception;
87927 }
87928 },
87929 greaterThan$1(other) {
87930 if (other instanceof A.SassNumber0)
87931 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87932 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
87933 },
87934 greaterThanOrEquals$1(other) {
87935 if (other instanceof A.SassNumber0)
87936 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87937 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
87938 },
87939 lessThan$1(other) {
87940 if (other instanceof A.SassNumber0)
87941 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87942 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
87943 },
87944 lessThanOrEquals$1(other) {
87945 if (other instanceof A.SassNumber0)
87946 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87947 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
87948 },
87949 modulo$1(other) {
87950 var _this = this;
87951 if (other instanceof A.SassNumber0)
87952 return _this.withValue$1(_this._number1$_coerceUnits$2(other, _this.get$moduloLikeSass()));
87953 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
87954 },
87955 moduloLikeSass$2(num1, num2) {
87956 var result;
87957 if (num2 > 0)
87958 return B.JSNumber_methods.$mod(num1, num2);
87959 if (num2 === 0)
87960 return 0 / 0;
87961 result = B.JSNumber_methods.$mod(num1, num2);
87962 return result === 0 ? 0 : result + num2;
87963 },
87964 plus$1(other) {
87965 var _this = this;
87966 if (other instanceof A.SassNumber0)
87967 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
87968 if (!(other instanceof A.SassColor0))
87969 return _this.super$Value$plus0(other);
87970 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
87971 },
87972 minus$1(other) {
87973 var _this = this;
87974 if (other instanceof A.SassNumber0)
87975 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
87976 if (!(other instanceof A.SassColor0))
87977 return _this.super$Value$minus0(other);
87978 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
87979 },
87980 times$1(other) {
87981 var _this = this;
87982 if (other instanceof A.SassNumber0) {
87983 if (!other.get$hasUnits())
87984 return _this.withValue$1(_this._number1$_value * other._number1$_value);
87985 return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
87986 }
87987 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
87988 },
87989 dividedBy$1(other) {
87990 var _this = this;
87991 if (other instanceof A.SassNumber0) {
87992 if (!other.get$hasUnits())
87993 return _this.withValue$1(_this._number1$_value / other._number1$_value);
87994 return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
87995 }
87996 return _this.super$Value$dividedBy0(other);
87997 },
87998 unaryPlus$0() {
87999 return this;
88000 },
88001 _number1$_coerceUnits$1$2(other, operation) {
88002 var t1, exception;
88003 try {
88004 t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
88005 return t1;
88006 } catch (exception) {
88007 if (A.unwrapException(exception) instanceof A.SassScriptException0) {
88008 this.coerceValueToMatch$1(other);
88009 throw exception;
88010 } else
88011 throw exception;
88012 }
88013 },
88014 _number1$_coerceUnits$2(other, operation) {
88015 return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
88016 },
88017 multiplyUnits$3(value, otherNumerators, otherDenominators) {
88018 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
88019 _box_0.value = value;
88020 if (_this.get$numeratorUnits(_this).length === 0) {
88021 if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
88022 return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
88023 else if (_this.get$denominatorUnits(_this).length === 0)
88024 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
88025 } else if (otherNumerators.length === 0)
88026 if (otherDenominators.length === 0)
88027 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
88028 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
88029 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
88030 newNumerators = A._setArrayType([], type$.JSArray_String);
88031 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
88032 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
88033 numerator = t1[_i];
88034 A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
88035 }
88036 t1 = _this.get$denominatorUnits(_this);
88037 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
88038 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
88039 numerator = otherNumerators[_i];
88040 A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
88041 }
88042 t1 = _box_0.value;
88043 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
88044 return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
88045 },
88046 _number1$_areAnyConvertible$2(units1, units2) {
88047 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
88048 },
88049 _number1$_unitString$2(numerators, denominators) {
88050 var t2,
88051 t1 = J.getInterceptor$asx(numerators);
88052 if (t1.get$isEmpty(numerators)) {
88053 t1 = J.getInterceptor$asx(denominators);
88054 if (t1.get$isEmpty(denominators))
88055 return "no units";
88056 if (t1.get$length(denominators) === 1)
88057 return J.$add$ansx(t1.get$single(denominators), "^-1");
88058 return "(" + t1.join$1(denominators, "*") + ")^-1";
88059 }
88060 t2 = J.getInterceptor$asx(denominators);
88061 if (t2.get$isEmpty(denominators))
88062 return t1.join$1(numerators, "*");
88063 return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
88064 },
88065 $eq(_, other) {
88066 var _this = this;
88067 if (other == null)
88068 return false;
88069 if (other instanceof A.SassNumber0) {
88070 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
88071 return false;
88072 if (!_this.get$hasUnits())
88073 return Math.abs(_this._number1$_value - other._number1$_value) < $.$get$epsilon0();
88074 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))))
88075 return false;
88076 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();
88077 } else
88078 return false;
88079 },
88080 get$hashCode(_) {
88081 var _this = this,
88082 t1 = _this.hashCache;
88083 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;
88084 },
88085 _number1$_canonicalizeUnitList$1(units) {
88086 var type,
88087 t1 = units.length;
88088 if (t1 === 0)
88089 return units;
88090 if (t1 === 1) {
88091 type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
88092 if (type == null)
88093 t1 = units;
88094 else {
88095 t1 = B.Map_U8AHF.$index(0, type);
88096 t1.toString;
88097 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
88098 }
88099 return t1;
88100 }
88101 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
88102 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
88103 B.JSArray_methods.sort$0(t1);
88104 return t1;
88105 },
88106 _number1$_canonicalMultiplier$1(units) {
88107 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
88108 },
88109 canonicalMultiplierForUnit$1(unit) {
88110 var t1,
88111 innerMap = B.Map_K2BWj.$index(0, unit);
88112 if (innerMap == null)
88113 t1 = 1;
88114 else {
88115 t1 = innerMap.get$values(innerMap);
88116 t1 = 1 / t1.get$first(t1);
88117 }
88118 return t1;
88119 },
88120 _number1$_exception$2(message, $name) {
88121 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
88122 }
88123 };
88124 A.SassNumber__coerceOrConvertValue__compatibilityException0.prototype = {
88125 call$0() {
88126 var t2, t3, message, t4, type, unit, _this = this,
88127 t1 = _this.other;
88128 if (t1 != null) {
88129 t2 = _this.$this;
88130 t3 = t2.toString$0(0) + " and";
88131 message = new A.StringBuffer(t3);
88132 t4 = _this.otherName;
88133 if (t4 != null)
88134 t3 = message._contents = t3 + (" $" + t4 + ":");
88135 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
88136 message._contents = t1;
88137 if (!t2.get$hasUnits() || !_this.otherHasUnits)
88138 message._contents = t1 + " (one has units and the other doesn't)";
88139 t1 = message.toString$0(0) + ".";
88140 t2 = _this.name;
88141 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
88142 } else if (!_this.otherHasUnits) {
88143 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
88144 t2 = _this.name;
88145 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
88146 } else {
88147 t1 = _this.newNumerators;
88148 t2 = J.getInterceptor$asx(t1);
88149 if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
88150 type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
88151 if (type != null) {
88152 t1 = _this.$this.toString$0(0);
88153 t2 = 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;
88154 t3 = B.Map_U8AHF.$index(0, type);
88155 t3.toString;
88156 t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
88157 t2 = _this.name;
88158 return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
88159 }
88160 }
88161 t3 = _this.newDenominators;
88162 unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
88163 t2 = _this.$this;
88164 t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
88165 t1 = _this.name;
88166 return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
88167 }
88168 },
88169 $signature: 507
88170 };
88171 A.SassNumber__coerceOrConvertValue_closure3.prototype = {
88172 call$1(oldNumerator) {
88173 var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
88174 if (factor == null)
88175 return false;
88176 this._box_0.value *= factor;
88177 return true;
88178 },
88179 $signature: 6
88180 };
88181 A.SassNumber__coerceOrConvertValue_closure4.prototype = {
88182 call$0() {
88183 return A.throwExpression(this._compatibilityException.call$0());
88184 },
88185 $signature: 0
88186 };
88187 A.SassNumber__coerceOrConvertValue_closure5.prototype = {
88188 call$1(oldDenominator) {
88189 var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
88190 if (factor == null)
88191 return false;
88192 this._box_0.value /= factor;
88193 return true;
88194 },
88195 $signature: 6
88196 };
88197 A.SassNumber__coerceOrConvertValue_closure6.prototype = {
88198 call$0() {
88199 return A.throwExpression(this._compatibilityException.call$0());
88200 },
88201 $signature: 0
88202 };
88203 A.SassNumber_plus_closure0.prototype = {
88204 call$2(num1, num2) {
88205 return num1 + num2;
88206 },
88207 $signature: 54
88208 };
88209 A.SassNumber_minus_closure0.prototype = {
88210 call$2(num1, num2) {
88211 return num1 - num2;
88212 },
88213 $signature: 54
88214 };
88215 A.SassNumber_multiplyUnits_closure3.prototype = {
88216 call$1(denominator) {
88217 var factor = A.conversionFactor0(this.numerator, denominator);
88218 if (factor == null)
88219 return false;
88220 this._box_0.value /= factor;
88221 return true;
88222 },
88223 $signature: 6
88224 };
88225 A.SassNumber_multiplyUnits_closure4.prototype = {
88226 call$0() {
88227 return this.newNumerators.push(this.numerator);
88228 },
88229 $signature: 0
88230 };
88231 A.SassNumber_multiplyUnits_closure5.prototype = {
88232 call$1(denominator) {
88233 var factor = A.conversionFactor0(this.numerator, denominator);
88234 if (factor == null)
88235 return false;
88236 this._box_0.value /= factor;
88237 return true;
88238 },
88239 $signature: 6
88240 };
88241 A.SassNumber_multiplyUnits_closure6.prototype = {
88242 call$0() {
88243 return this.newNumerators.push(this.numerator);
88244 },
88245 $signature: 0
88246 };
88247 A.SassNumber__areAnyConvertible_closure0.prototype = {
88248 call$1(unit1) {
88249 var innerMap = B.Map_K2BWj.$index(0, unit1);
88250 if (innerMap == null)
88251 return B.JSArray_methods.contains$1(this.units2, unit1);
88252 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
88253 },
88254 $signature: 6
88255 };
88256 A.SassNumber__canonicalizeUnitList_closure0.prototype = {
88257 call$1(unit) {
88258 var t1,
88259 type = $.$get$_typesByUnit0().$index(0, unit);
88260 if (type == null)
88261 t1 = unit;
88262 else {
88263 t1 = B.Map_U8AHF.$index(0, type);
88264 t1.toString;
88265 t1 = B.JSArray_methods.get$first(t1);
88266 }
88267 return t1;
88268 },
88269 $signature: 5
88270 };
88271 A.SassNumber__canonicalMultiplier_closure0.prototype = {
88272 call$2(multiplier, unit) {
88273 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
88274 },
88275 $signature: 167
88276 };
88277 A.SupportsOperation0.prototype = {
88278 toString$0(_) {
88279 var _this = this;
88280 return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
88281 },
88282 _operation0$_parenthesize$1(condition) {
88283 var t1;
88284 if (!(condition instanceof A.SupportsNegation0))
88285 t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
88286 else
88287 t1 = true;
88288 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
88289 },
88290 $isAstNode0: 1,
88291 get$span(receiver) {
88292 return this.span;
88293 }
88294 };
88295 A.ParentSelector0.prototype = {
88296 accept$1$1(visitor) {
88297 var t2,
88298 t1 = visitor._serialize0$_buffer;
88299 t1.writeCharCode$1(38);
88300 t2 = this.suffix;
88301 if (t2 != null)
88302 t1.write$1(0, t2);
88303 return null;
88304 },
88305 accept$1(visitor) {
88306 return this.accept$1$1(visitor, type$.dynamic);
88307 },
88308 unify$1(compound) {
88309 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
88310 }
88311 };
88312 A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
88313 A.ParentStatement_closure0.prototype = {
88314 call$1(child) {
88315 var t1;
88316 if (!(child instanceof A.VariableDeclaration0))
88317 if (!(child instanceof A.FunctionRule0))
88318 if (!(child instanceof A.MixinRule0))
88319 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
88320 else
88321 t1 = true;
88322 else
88323 t1 = true;
88324 else
88325 t1 = true;
88326 return t1;
88327 },
88328 $signature: 227
88329 };
88330 A.ParentStatement__closure0.prototype = {
88331 call$1($import) {
88332 return $import instanceof A.DynamicImport0;
88333 },
88334 $signature: 228
88335 };
88336 A.ParenthesizedExpression0.prototype = {
88337 accept$1$1(visitor) {
88338 return visitor.visitParenthesizedExpression$1(this);
88339 },
88340 accept$1(visitor) {
88341 return this.accept$1$1(visitor, type$.dynamic);
88342 },
88343 toString$0(_) {
88344 return "(" + this.expression.toString$0(0) + ")";
88345 },
88346 $isExpression0: 1,
88347 $isAstNode0: 1,
88348 get$span(receiver) {
88349 return this.span;
88350 }
88351 };
88352 A.Parser1.prototype = {
88353 _parser0$_parseIdentifier$0() {
88354 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
88355 },
88356 whitespace$0() {
88357 do
88358 this.whitespaceWithoutComments$0();
88359 while (this.scanComment$0());
88360 },
88361 whitespaceWithoutComments$0() {
88362 var t3,
88363 t1 = this.scanner,
88364 t2 = t1.string.length;
88365 while (true) {
88366 if (t1._string_scanner$_position !== t2) {
88367 t3 = t1.peekChar$0();
88368 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
88369 } else
88370 t3 = false;
88371 if (!t3)
88372 break;
88373 t1.readChar$0();
88374 }
88375 },
88376 spaces$0() {
88377 var t3,
88378 t1 = this.scanner,
88379 t2 = t1.string.length;
88380 while (true) {
88381 if (t1._string_scanner$_position !== t2) {
88382 t3 = t1.peekChar$0();
88383 t3 = t3 === 32 || t3 === 9;
88384 } else
88385 t3 = false;
88386 if (!t3)
88387 break;
88388 t1.readChar$0();
88389 }
88390 },
88391 scanComment$0() {
88392 var next,
88393 t1 = this.scanner;
88394 if (t1.peekChar$0() !== 47)
88395 return false;
88396 next = t1.peekChar$1(1);
88397 if (next === 47) {
88398 this.silentComment$0();
88399 return true;
88400 } else if (next === 42) {
88401 this.loudComment$0();
88402 return true;
88403 } else
88404 return false;
88405 },
88406 silentComment$0() {
88407 var t2, t3,
88408 t1 = this.scanner;
88409 t1.expect$1("//");
88410 t2 = t1.string.length;
88411 while (true) {
88412 if (t1._string_scanner$_position !== t2) {
88413 t3 = t1.peekChar$0();
88414 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
88415 } else
88416 t3 = false;
88417 if (!t3)
88418 break;
88419 t1.readChar$0();
88420 }
88421 },
88422 loudComment$0() {
88423 var next,
88424 t1 = this.scanner;
88425 t1.expect$1("/*");
88426 for (; true;) {
88427 if (t1.readChar$0() !== 42)
88428 continue;
88429 do
88430 next = t1.readChar$0();
88431 while (next === 42);
88432 if (next === 47)
88433 break;
88434 }
88435 },
88436 identifier$2$normalize$unit(normalize, unit) {
88437 var t2, first, _this = this,
88438 _s20_ = "Expected identifier.",
88439 text = new A.StringBuffer(""),
88440 t1 = _this.scanner;
88441 if (t1.scanChar$1(45)) {
88442 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
88443 if (t1.scanChar$1(45)) {
88444 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88445 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88446 t1 = text._contents;
88447 return t1.charCodeAt(0) == 0 ? t1 : t1;
88448 }
88449 } else
88450 t2 = "";
88451 first = t1.peekChar$0();
88452 if (first == null)
88453 t1.error$1(0, _s20_);
88454 else if (normalize && first === 95) {
88455 t1.readChar$0();
88456 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88457 } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
88458 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
88459 else if (first === 92)
88460 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
88461 else
88462 t1.error$1(0, _s20_);
88463 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88464 t1 = text._contents;
88465 return t1.charCodeAt(0) == 0 ? t1 : t1;
88466 },
88467 identifier$0() {
88468 return this.identifier$2$normalize$unit(false, false);
88469 },
88470 identifier$1$normalize(normalize) {
88471 return this.identifier$2$normalize$unit(normalize, false);
88472 },
88473 identifier$1$unit(unit) {
88474 return this.identifier$2$normalize$unit(false, unit);
88475 },
88476 _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
88477 var t1, next, second, t2;
88478 for (t1 = this.scanner; true;) {
88479 next = t1.peekChar$0();
88480 if (next == null)
88481 break;
88482 else if (unit && next === 45) {
88483 second = t1.peekChar$1(1);
88484 if (second != null)
88485 if (second !== 46)
88486 t2 = second >= 48 && second <= 57;
88487 else
88488 t2 = true;
88489 else
88490 t2 = false;
88491 if (t2)
88492 break;
88493 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88494 } else if (normalize && next === 95) {
88495 t1.readChar$0();
88496 text._contents += A.Primitives_stringFromCharCode(45);
88497 } else {
88498 if (next !== 95) {
88499 if (!(next >= 97 && next <= 122))
88500 t2 = next >= 65 && next <= 90;
88501 else
88502 t2 = true;
88503 t2 = t2 || next >= 128;
88504 } else
88505 t2 = true;
88506 if (!t2) {
88507 t2 = next >= 48 && next <= 57;
88508 t2 = t2 || next === 45;
88509 } else
88510 t2 = true;
88511 if (t2)
88512 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88513 else if (next === 92)
88514 text._contents += A.S(this.escape$0());
88515 else
88516 break;
88517 }
88518 }
88519 },
88520 _parser0$_identifierBody$1(text) {
88521 return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
88522 },
88523 string$0() {
88524 var buffer, next, t2,
88525 t1 = this.scanner,
88526 quote = t1.readChar$0();
88527 if (quote !== 39 && quote !== 34)
88528 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
88529 buffer = new A.StringBuffer("");
88530 for (; true;) {
88531 next = t1.peekChar$0();
88532 if (next === quote) {
88533 t1.readChar$0();
88534 break;
88535 } else if (next == null || next === 10 || next === 13 || next === 12)
88536 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
88537 else if (next === 92) {
88538 t2 = t1.peekChar$1(1);
88539 if (t2 === 10 || t2 === 13 || t2 === 12) {
88540 t1.readChar$0();
88541 t1.readChar$0();
88542 } else
88543 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
88544 } else
88545 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88546 }
88547 t1 = buffer._contents;
88548 return t1.charCodeAt(0) == 0 ? t1 : t1;
88549 },
88550 naturalNumber$0() {
88551 var number, t2,
88552 t1 = this.scanner,
88553 first = t1.readChar$0();
88554 if (!A.isDigit0(first))
88555 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
88556 number = first - 48;
88557 while (true) {
88558 t2 = t1.peekChar$0();
88559 if (!(t2 != null && t2 >= 48 && t2 <= 57))
88560 break;
88561 number = number * 10 + (t1.readChar$0() - 48);
88562 }
88563 return number;
88564 },
88565 declarationValue$1$allowEmpty(allowEmpty) {
88566 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
88567 buffer = new A.StringBuffer(""),
88568 brackets = A._setArrayType([], type$.JSArray_int);
88569 $label0$1:
88570 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
88571 next = t1.peekChar$0();
88572 switch (next) {
88573 case 92:
88574 buffer._contents += A.S(_this.escape$1$identifierStart(true));
88575 wroteNewline = false;
88576 break;
88577 case 34:
88578 case 39:
88579 start = t1._string_scanner$_position;
88580 t2.call$0();
88581 end = t1._string_scanner$_position;
88582 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88583 wroteNewline = false;
88584 break;
88585 case 47:
88586 if (t1.peekChar$1(1) === 42) {
88587 t3 = _this.get$loudComment();
88588 start = t1._string_scanner$_position;
88589 t3.call$0();
88590 end = t1._string_scanner$_position;
88591 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88592 } else
88593 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88594 wroteNewline = false;
88595 break;
88596 case 32:
88597 case 9:
88598 if (!wroteNewline) {
88599 t3 = t1.peekChar$1(1);
88600 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
88601 } else
88602 t3 = true;
88603 if (t3)
88604 buffer._contents += A.Primitives_stringFromCharCode(32);
88605 t1.readChar$0();
88606 break;
88607 case 10:
88608 case 13:
88609 case 12:
88610 t3 = t1.peekChar$1(-1);
88611 if (!(t3 === 10 || t3 === 13 || t3 === 12))
88612 buffer._contents += "\n";
88613 t1.readChar$0();
88614 wroteNewline = true;
88615 break;
88616 case 40:
88617 case 123:
88618 case 91:
88619 next.toString;
88620 buffer._contents += A.Primitives_stringFromCharCode(next);
88621 brackets.push(A.opposite0(t1.readChar$0()));
88622 wroteNewline = false;
88623 break;
88624 case 41:
88625 case 125:
88626 case 93:
88627 if (brackets.length === 0)
88628 break $label0$1;
88629 next.toString;
88630 buffer._contents += A.Primitives_stringFromCharCode(next);
88631 t1.expectChar$1(brackets.pop());
88632 wroteNewline = false;
88633 break;
88634 case 59:
88635 if (brackets.length === 0)
88636 break $label0$1;
88637 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88638 break;
88639 case 117:
88640 case 85:
88641 url = _this.tryUrl$0();
88642 if (url != null)
88643 buffer._contents += url;
88644 else
88645 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88646 wroteNewline = false;
88647 break;
88648 default:
88649 if (next == null)
88650 break $label0$1;
88651 if (_this.lookingAtIdentifier$0())
88652 buffer._contents += _this.identifier$0();
88653 else
88654 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88655 wroteNewline = false;
88656 break;
88657 }
88658 }
88659 if (brackets.length !== 0)
88660 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
88661 if (!allowEmpty && buffer._contents.length === 0)
88662 t1.error$1(0, "Expected token.");
88663 t1 = buffer._contents;
88664 return t1.charCodeAt(0) == 0 ? t1 : t1;
88665 },
88666 declarationValue$0() {
88667 return this.declarationValue$1$allowEmpty(false);
88668 },
88669 tryUrl$0() {
88670 var buffer, next, t2, _this = this,
88671 t1 = _this.scanner,
88672 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88673 if (!_this.scanIdentifier$1("url"))
88674 return null;
88675 if (!t1.scanChar$1(40)) {
88676 t1.set$state(start);
88677 return null;
88678 }
88679 _this.whitespace$0();
88680 buffer = new A.StringBuffer("");
88681 buffer._contents = "" + "url(";
88682 for (; true;) {
88683 next = t1.peekChar$0();
88684 if (next == null)
88685 break;
88686 else if (next === 92)
88687 buffer._contents += A.S(_this.escape$0());
88688 else {
88689 if (next !== 37)
88690 if (next !== 38)
88691 if (next !== 35)
88692 t2 = next >= 42 && next <= 126 || next >= 128;
88693 else
88694 t2 = true;
88695 else
88696 t2 = true;
88697 else
88698 t2 = true;
88699 if (t2)
88700 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88701 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
88702 _this.whitespace$0();
88703 if (t1.peekChar$0() !== 41)
88704 break;
88705 } else if (next === 41) {
88706 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88707 return t2.charCodeAt(0) == 0 ? t2 : t2;
88708 } else
88709 break;
88710 }
88711 }
88712 t1.set$state(start);
88713 return null;
88714 },
88715 variableName$0() {
88716 this.scanner.expectChar$1(36);
88717 return this.identifier$1$normalize(true);
88718 },
88719 escape$1$identifierStart(identifierStart) {
88720 var value, first, i, next, t2, exception,
88721 _s25_ = "Expected escape sequence.",
88722 t1 = this.scanner,
88723 start = t1._string_scanner$_position;
88724 t1.expectChar$1(92);
88725 value = 0;
88726 first = t1.peekChar$0();
88727 if (first == null)
88728 t1.error$1(0, _s25_);
88729 else if (first === 10 || first === 13 || first === 12)
88730 t1.error$1(0, _s25_);
88731 else if (A.isHex0(first)) {
88732 for (i = 0; i < 6; ++i) {
88733 next = t1.peekChar$0();
88734 if (next == null || !A.isHex0(next))
88735 break;
88736 value *= 16;
88737 value += A.asHex0(t1.readChar$0());
88738 }
88739 this.scanCharIf$1(A.character0__isWhitespace$closure());
88740 } else
88741 value = t1.readChar$0();
88742 if (identifierStart) {
88743 t2 = value;
88744 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
88745 } else {
88746 t2 = value;
88747 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
88748 }
88749 if (t2)
88750 try {
88751 t2 = A.Primitives_stringFromCharCode(value);
88752 return t2;
88753 } catch (exception) {
88754 if (type$.RangeError._is(A.unwrapException(exception)))
88755 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
88756 else
88757 throw exception;
88758 }
88759 else {
88760 if (!(value <= 31))
88761 if (!J.$eq$(value, 127))
88762 t1 = identifierStart && A.isDigit0(value);
88763 else
88764 t1 = true;
88765 else
88766 t1 = true;
88767 if (t1) {
88768 t1 = "" + A.Primitives_stringFromCharCode(92);
88769 if (value > 15)
88770 t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
88771 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
88772 return t1.charCodeAt(0) == 0 ? t1 : t1;
88773 } else
88774 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
88775 }
88776 },
88777 escape$0() {
88778 return this.escape$1$identifierStart(false);
88779 },
88780 scanCharIf$1(condition) {
88781 var t1 = this.scanner;
88782 if (!condition.call$1(t1.peekChar$0()))
88783 return false;
88784 t1.readChar$0();
88785 return true;
88786 },
88787 scanIdentChar$2$caseSensitive(char, caseSensitive) {
88788 var t3,
88789 t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
88790 t2 = this.scanner,
88791 next = t2.peekChar$0();
88792 if (next != null && t1.call$1(next)) {
88793 t2.readChar$0();
88794 return true;
88795 } else if (next === 92) {
88796 t3 = t2._string_scanner$_position;
88797 if (t1.call$1(A.consumeEscapedCharacter0(t2)))
88798 return true;
88799 t2.set$state(new A._SpanScannerState(t2, t3));
88800 }
88801 return false;
88802 },
88803 scanIdentChar$1(char) {
88804 return this.scanIdentChar$2$caseSensitive(char, false);
88805 },
88806 expectIdentChar$1(letter) {
88807 var t1;
88808 if (this.scanIdentChar$2$caseSensitive(letter, false))
88809 return;
88810 t1 = this.scanner;
88811 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
88812 },
88813 lookingAtIdentifier$1($forward) {
88814 var t1, first, second;
88815 if ($forward == null)
88816 $forward = 0;
88817 t1 = this.scanner;
88818 first = t1.peekChar$1($forward);
88819 if (first == null)
88820 return false;
88821 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
88822 return true;
88823 if (first !== 45)
88824 return false;
88825 second = t1.peekChar$1($forward + 1);
88826 if (second == null)
88827 return false;
88828 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
88829 },
88830 lookingAtIdentifier$0() {
88831 return this.lookingAtIdentifier$1(null);
88832 },
88833 lookingAtIdentifierBody$0() {
88834 var t1,
88835 next = this.scanner.peekChar$0();
88836 if (next != null)
88837 t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
88838 else
88839 t1 = false;
88840 return t1;
88841 },
88842 scanIdentifier$2$caseSensitive(text, caseSensitive) {
88843 var t1, start, t2, t3, t4, _this = this;
88844 if (!_this.lookingAtIdentifier$0())
88845 return false;
88846 t1 = _this.scanner;
88847 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88848 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88849 t4 = t2.__internal$_current;
88850 if (_this.scanIdentChar$2$caseSensitive(t4 == null ? t3._as(t4) : t4, caseSensitive))
88851 continue;
88852 if (start._scanner !== t1)
88853 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
88854 t2 = start.position;
88855 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
88856 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
88857 t1._string_scanner$_position = t2;
88858 t1._lastMatch = null;
88859 return false;
88860 }
88861 if (!_this.lookingAtIdentifierBody$0())
88862 return true;
88863 t1.set$state(start);
88864 return false;
88865 },
88866 scanIdentifier$1(text) {
88867 return this.scanIdentifier$2$caseSensitive(text, false);
88868 },
88869 expectIdentifier$2$name(text, $name) {
88870 var t1, start, t2, t3, t4, t5, t6;
88871 if ($name == null)
88872 $name = '"' + text + '"';
88873 t1 = this.scanner;
88874 start = t1._string_scanner$_position;
88875 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = "Expected " + $name, t4 = t3 + ".", t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88876 t6 = t2.__internal$_current;
88877 if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
88878 continue;
88879 t1.error$2$position(0, t4, start);
88880 }
88881 if (!this.lookingAtIdentifierBody$0())
88882 return;
88883 t1.error$2$position(0, t3, start);
88884 },
88885 expectIdentifier$1(text) {
88886 return this.expectIdentifier$2$name(text, null);
88887 },
88888 rawText$1(consumer) {
88889 var t1 = this.scanner,
88890 start = t1._string_scanner$_position;
88891 consumer.call$0();
88892 return t1.substring$1(0, start);
88893 },
88894 error$3(_, message, span, trace) {
88895 var exception = new A.StringScannerException(this.scanner.string, message, span);
88896 if (trace == null)
88897 throw A.wrapException(exception);
88898 else
88899 A.throwWithTrace0(exception, trace);
88900 },
88901 error$2($receiver, message, span) {
88902 return this.error$3($receiver, message, span, null);
88903 },
88904 withErrorMessage$1$2(message, callback) {
88905 var error, stackTrace, t1, exception;
88906 try {
88907 t1 = callback.call$0();
88908 return t1;
88909 } catch (exception) {
88910 t1 = A.unwrapException(exception);
88911 if (type$.SourceSpanFormatException._is(t1)) {
88912 error = t1;
88913 stackTrace = A.getTraceFromException(exception);
88914 t1 = J.get$span$z(error);
88915 A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
88916 } else
88917 throw exception;
88918 }
88919 },
88920 withErrorMessage$2(message, callback) {
88921 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
88922 },
88923 wrapSpanFormatException$1$1(callback) {
88924 var error, stackTrace, span, startPosition, t1, exception;
88925 try {
88926 t1 = callback.call$0();
88927 return t1;
88928 } catch (exception) {
88929 t1 = A.unwrapException(exception);
88930 if (type$.SourceSpanFormatException._is(t1)) {
88931 error = t1;
88932 stackTrace = A.getTraceFromException(exception);
88933 span = J.get$span$z(error);
88934 if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected")) {
88935 t1 = span;
88936 t1 = t1._end - t1._file$_start === 0;
88937 } else
88938 t1 = false;
88939 if (t1) {
88940 t1 = span;
88941 startPosition = this._parser0$_firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
88942 t1 = span;
88943 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
88944 span = span.file.span$2(0, startPosition, startPosition);
88945 }
88946 A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
88947 } else
88948 throw exception;
88949 }
88950 },
88951 wrapSpanFormatException$1(callback) {
88952 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
88953 },
88954 _parser0$_firstNewlineBefore$1(position) {
88955 var t1, lastNewline, codeUnit,
88956 index = position - 1;
88957 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
88958 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
88959 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
88960 return lastNewline == null ? position : lastNewline;
88961 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
88962 lastNewline = index;
88963 --index;
88964 }
88965 return position;
88966 }
88967 };
88968 A.Parser__parseIdentifier_closure0.prototype = {
88969 call$0() {
88970 var t1 = this.$this,
88971 result = t1.identifier$0();
88972 t1.scanner.expectDone$0();
88973 return result;
88974 },
88975 $signature: 29
88976 };
88977 A.Parser_scanIdentChar_matches0.prototype = {
88978 call$1(actual) {
88979 var t1 = this.char;
88980 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
88981 },
88982 $signature: 57
88983 };
88984 A.PlaceholderSelector0.prototype = {
88985 get$isInvisible() {
88986 return true;
88987 },
88988 accept$1$1(visitor) {
88989 var t1 = visitor._serialize0$_buffer;
88990 t1.writeCharCode$1(37);
88991 t1.write$1(0, this.name);
88992 return null;
88993 },
88994 accept$1(visitor) {
88995 return this.accept$1$1(visitor, type$.dynamic);
88996 },
88997 addSuffix$1(suffix) {
88998 return new A.PlaceholderSelector0(this.name + suffix);
88999 },
89000 $eq(_, other) {
89001 if (other == null)
89002 return false;
89003 return other instanceof A.PlaceholderSelector0 && other.name === this.name;
89004 },
89005 get$hashCode(_) {
89006 return B.JSString_methods.get$hashCode(this.name);
89007 }
89008 };
89009 A.PlainCssCallable0.prototype = {
89010 $eq(_, other) {
89011 if (other == null)
89012 return false;
89013 return other instanceof A.PlainCssCallable0 && this.name === other.name;
89014 },
89015 get$hashCode(_) {
89016 return B.JSString_methods.get$hashCode(this.name);
89017 },
89018 $isAsyncCallable0: 1,
89019 $isCallable0: 1,
89020 get$name(receiver) {
89021 return this.name;
89022 }
89023 };
89024 A.PrefixedMapView0.prototype = {
89025 get$keys(_) {
89026 return new A._PrefixedKeys0(this);
89027 },
89028 get$length(_) {
89029 var t1 = this._prefixed_map_view0$_map;
89030 return t1.get$length(t1);
89031 },
89032 get$isEmpty(_) {
89033 var t1 = this._prefixed_map_view0$_map;
89034 return t1.get$isEmpty(t1);
89035 },
89036 get$isNotEmpty(_) {
89037 var t1 = this._prefixed_map_view0$_map;
89038 return t1.get$isNotEmpty(t1);
89039 },
89040 $index(_, key) {
89041 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;
89042 },
89043 containsKey$1(key) {
89044 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));
89045 }
89046 };
89047 A._PrefixedKeys0.prototype = {
89048 get$length(_) {
89049 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
89050 return t1.get$length(t1);
89051 },
89052 get$iterator(_) {
89053 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
89054 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
89055 return t1.get$iterator(t1);
89056 },
89057 contains$1(_, key) {
89058 return this._prefixed_map_view0$_view.containsKey$1(key);
89059 }
89060 };
89061 A._PrefixedKeys_iterator_closure0.prototype = {
89062 call$1(key) {
89063 return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
89064 },
89065 $signature: 5
89066 };
89067 A.PseudoSelector0.prototype = {
89068 get$isHostContext() {
89069 return this.isClass && this.name === "host-context" && this.selector != null;
89070 },
89071 get$minSpecificity() {
89072 if (this._pseudo0$_minSpecificity == null)
89073 this._pseudo0$_computeSpecificity$0();
89074 var t1 = this._pseudo0$_minSpecificity;
89075 t1.toString;
89076 return t1;
89077 },
89078 get$maxSpecificity() {
89079 if (this._pseudo0$_maxSpecificity == null)
89080 this._pseudo0$_computeSpecificity$0();
89081 var t1 = this._pseudo0$_maxSpecificity;
89082 t1.toString;
89083 return t1;
89084 },
89085 get$isInvisible() {
89086 var selector = this.selector;
89087 if (selector == null)
89088 return false;
89089 return this.name !== "not" && selector.get$isInvisible();
89090 },
89091 addSuffix$1(suffix) {
89092 var _this = this;
89093 if (_this.argument != null || _this.selector != null)
89094 _this.super$SimpleSelector$addSuffix0(suffix);
89095 return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
89096 },
89097 unify$1(compound) {
89098 var other, result, t2, addedThis, _i, simple, _this = this,
89099 t1 = _this.name;
89100 if (t1 === "host" || t1 === "host-context") {
89101 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
89102 return null;
89103 } else if (compound.length === 1) {
89104 other = B.JSArray_methods.get$first(compound);
89105 if (!(other instanceof A.UniversalSelector0))
89106 if (other instanceof A.PseudoSelector0)
89107 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
89108 else
89109 t1 = false;
89110 else
89111 t1 = true;
89112 if (t1)
89113 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
89114 }
89115 if (B.JSArray_methods.contains$1(compound, _this))
89116 return compound;
89117 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
89118 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
89119 simple = compound[_i];
89120 if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
89121 if (t2)
89122 return null;
89123 result.push(_this);
89124 addedThis = true;
89125 }
89126 result.push(simple);
89127 }
89128 if (!addedThis)
89129 result.push(_this);
89130 return result;
89131 },
89132 _pseudo0$_computeSpecificity$0() {
89133 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
89134 if (!_this.isClass) {
89135 _this._pseudo0$_maxSpecificity = _this._pseudo0$_minSpecificity = 1;
89136 return;
89137 }
89138 selector = _this.selector;
89139 if (selector == null) {
89140 _this._pseudo0$_minSpecificity = A.SimpleSelector0.prototype.get$minSpecificity.call(_this);
89141 _this._pseudo0$_maxSpecificity = A.SimpleSelector0.prototype.get$maxSpecificity.call(_this);
89142 return;
89143 }
89144 if (_this.name === "not") {
89145 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
89146 complex = t1[_i];
89147 if (complex._complex0$_minSpecificity == null)
89148 complex._complex0$_computeSpecificity$0();
89149 t3 = complex._complex0$_minSpecificity;
89150 t3.toString;
89151 minSpecificity = Math.max(minSpecificity, t3);
89152 if (complex._complex0$_maxSpecificity == null)
89153 complex._complex0$_computeSpecificity$0();
89154 t3 = complex._complex0$_maxSpecificity;
89155 t3.toString;
89156 maxSpecificity = Math.max(maxSpecificity, t3);
89157 }
89158 _this._pseudo0$_minSpecificity = minSpecificity;
89159 _this._pseudo0$_maxSpecificity = maxSpecificity;
89160 } else {
89161 minSpecificity = A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(_this), 3));
89162 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
89163 complex = t1[_i];
89164 if (complex._complex0$_minSpecificity == null)
89165 complex._complex0$_computeSpecificity$0();
89166 t3 = complex._complex0$_minSpecificity;
89167 t3.toString;
89168 minSpecificity = Math.min(minSpecificity, t3);
89169 if (complex._complex0$_maxSpecificity == null)
89170 complex._complex0$_computeSpecificity$0();
89171 t3 = complex._complex0$_maxSpecificity;
89172 t3.toString;
89173 maxSpecificity = Math.max(maxSpecificity, t3);
89174 }
89175 _this._pseudo0$_minSpecificity = minSpecificity;
89176 _this._pseudo0$_maxSpecificity = maxSpecificity;
89177 }
89178 },
89179 accept$1$1(visitor) {
89180 return visitor.visitPseudoSelector$1(this);
89181 },
89182 accept$1(visitor) {
89183 return this.accept$1$1(visitor, type$.dynamic);
89184 },
89185 $eq(_, other) {
89186 var _this = this;
89187 if (other == null)
89188 return false;
89189 return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
89190 },
89191 get$hashCode(_) {
89192 var _this = this,
89193 t1 = B.JSString_methods.get$hashCode(_this.name),
89194 t2 = !_this.isClass ? 519018 : 218159;
89195 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
89196 }
89197 };
89198 A.PseudoSelector_unify_closure0.prototype = {
89199 call$1(simple) {
89200 var t1;
89201 if (simple instanceof A.PseudoSelector0)
89202 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
89203 else
89204 t1 = false;
89205 return t1;
89206 },
89207 $signature: 15
89208 };
89209 A.PublicMemberMapView0.prototype = {
89210 get$keys(_) {
89211 var t1 = this._public_member_map_view0$_inner;
89212 return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
89213 },
89214 containsKey$1(key) {
89215 return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
89216 },
89217 $index(_, key) {
89218 if (typeof key == "string" && A.isPublic0(key))
89219 return this._public_member_map_view0$_inner.$index(0, key);
89220 return null;
89221 }
89222 };
89223 A.QualifiedName0.prototype = {
89224 $eq(_, other) {
89225 if (other == null)
89226 return false;
89227 return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
89228 },
89229 get$hashCode(_) {
89230 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
89231 },
89232 toString$0(_) {
89233 var t1 = this.namespace,
89234 t2 = this.name;
89235 return t1 == null ? t2 : t1 + "|" + t2;
89236 }
89237 };
89238 A.JSClass0.prototype = {};
89239 A.JSClassExtension_setCustomInspect_closure.prototype = {
89240 call$4($self, _, __, ___) {
89241 return this.inspect.call$1($self);
89242 },
89243 call$3($self, _, __) {
89244 return this.call$4($self, _, __, null);
89245 },
89246 "call*": "call$4",
89247 $requiredArgCount: 3,
89248 $defaultValues() {
89249 return [null];
89250 },
89251 $signature: 508
89252 };
89253 A.JSClassExtension_get_defineMethod_closure.prototype = {
89254 call$2($name, body) {
89255 J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
89256 return null;
89257 },
89258 $signature: 244
89259 };
89260 A.JSClassExtension_get_defineGetter_closure.prototype = {
89261 call$2($name, body) {
89262 A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
89263 return null;
89264 },
89265 $signature: 244
89266 };
89267 A.RenderContext0.prototype = {};
89268 A.RenderContextOptions0.prototype = {};
89269 A.RenderContextResult0.prototype = {};
89270 A.RenderContextResultStats0.prototype = {};
89271 A.RenderOptions.prototype = {};
89272 A.RenderResult.prototype = {};
89273 A.RenderResultStats.prototype = {};
89274 A.ImporterResult0.prototype = {
89275 get$sourceMapUrl(_) {
89276 var t1 = this._result$_sourceMapUrl;
89277 return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
89278 }
89279 };
89280 A.ReturnRule0.prototype = {
89281 accept$1$1(visitor) {
89282 return visitor.visitReturnRule$1(this);
89283 },
89284 accept$1(visitor) {
89285 return this.accept$1$1(visitor, type$.dynamic);
89286 },
89287 toString$0(_) {
89288 return "@return " + this.expression.toString$0(0) + ";";
89289 },
89290 $isAstNode0: 1,
89291 $isStatement0: 1,
89292 get$span(receiver) {
89293 return this.span;
89294 }
89295 };
89296 A.main_printError.prototype = {
89297 call$2(error, stackTrace) {
89298 var t1 = this._box_0;
89299 if (t1.printedError)
89300 $.$get$stderr().writeln$0();
89301 t1.printedError = true;
89302 t1 = $.$get$stderr();
89303 t1.writeln$1(error);
89304 if (stackTrace != null) {
89305 t1.writeln$0();
89306 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
89307 }
89308 },
89309 $signature: 510
89310 };
89311 A.main_closure.prototype = {
89312 call$0() {
89313 var t1, exception;
89314 try {
89315 t1 = this.destination;
89316 if (t1 != null && !this._box_0.options.get$emitErrorCss())
89317 A.deleteFile(t1);
89318 } catch (exception) {
89319 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
89320 throw exception;
89321 }
89322 },
89323 $signature: 1
89324 };
89325 A.SassParser0.prototype = {
89326 get$currentIndentation() {
89327 return this._sass0$_currentIndentation;
89328 },
89329 get$indented() {
89330 return true;
89331 },
89332 styleRuleSelector$0() {
89333 var t4,
89334 t1 = this.scanner,
89335 t2 = t1._string_scanner$_position,
89336 t3 = new A.StringBuffer(""),
89337 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
89338 do {
89339 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
89340 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
89341 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
89342 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89343 },
89344 expectStatementSeparator$1($name) {
89345 var t1, _this = this;
89346 if (!_this.atEndOfStatement$0())
89347 _this._sass0$_expectNewline$0();
89348 if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
89349 return;
89350 t1 = $name == null ? "here" : "beneath a " + $name;
89351 _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
89352 },
89353 expectStatementSeparator$0() {
89354 return this.expectStatementSeparator$1(null);
89355 },
89356 atEndOfStatement$0() {
89357 var next = this.scanner.peekChar$0();
89358 return next == null || next === 10 || next === 13 || next === 12;
89359 },
89360 lookingAtChildren$0() {
89361 return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
89362 },
89363 importArgument$0() {
89364 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
89365 t1 = _this.scanner;
89366 switch (t1.peekChar$0()) {
89367 case 117:
89368 case 85:
89369 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89370 if (_this.scanIdentifier$1("url"))
89371 if (t1.scanChar$1(40)) {
89372 t1.set$state(start);
89373 return _this.super$StylesheetParser$importArgument0();
89374 } else
89375 t1.set$state(start);
89376 break;
89377 case 39:
89378 case 34:
89379 return _this.super$StylesheetParser$importArgument0();
89380 }
89381 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89382 next = t1.peekChar$0();
89383 while (true) {
89384 if (next != null)
89385 if (next !== 44)
89386 if (next !== 59)
89387 t2 = !(next === 10 || next === 13 || next === 12);
89388 else
89389 t2 = false;
89390 else
89391 t2 = false;
89392 else
89393 t2 = false;
89394 if (!t2)
89395 break;
89396 t1.readChar$0();
89397 next = t1.peekChar$0();
89398 }
89399 url = t1.substring$1(0, start.position);
89400 span = t1.spanFrom$1(start);
89401 if (_this.isPlainImportUrl$1(url))
89402 return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
89403 else
89404 try {
89405 t1 = _this.parseImportUrl$1(url);
89406 return new A.DynamicImport0(t1, span);
89407 } catch (exception) {
89408 t1 = A.unwrapException(exception);
89409 if (type$.FormatException._is(t1)) {
89410 innerError = t1;
89411 stackTrace = A.getTraceFromException(exception);
89412 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
89413 } else
89414 throw exception;
89415 }
89416 },
89417 scanElse$1(ifIndentation) {
89418 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
89419 if (_this._sass0$_peekIndentation$0() !== ifIndentation)
89420 return false;
89421 t1 = _this.scanner;
89422 t2 = t1._string_scanner$_position;
89423 startIndentation = _this._sass0$_currentIndentation;
89424 startNextIndentation = _this._sass0$_nextIndentation;
89425 startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
89426 _this._sass0$_readIndentation$0();
89427 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
89428 return true;
89429 t1.set$state(new A._SpanScannerState(t1, t2));
89430 _this._sass0$_currentIndentation = startIndentation;
89431 _this._sass0$_nextIndentation = startNextIndentation;
89432 _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
89433 return false;
89434 },
89435 children$1(_, child) {
89436 var children = A._setArrayType([], type$.JSArray_Statement_2);
89437 this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
89438 return children;
89439 },
89440 statements$1(statement) {
89441 var statements, t2, child,
89442 t1 = this.scanner,
89443 first = t1.peekChar$0();
89444 if (first === 9 || first === 32)
89445 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
89446 statements = A._setArrayType([], type$.JSArray_Statement_2);
89447 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89448 child = this._sass0$_child$1(statement);
89449 if (child != null)
89450 statements.push(child);
89451 this._sass0$_readIndentation$0();
89452 }
89453 return statements;
89454 },
89455 _sass0$_child$1(child) {
89456 var _this = this,
89457 t1 = _this.scanner;
89458 switch (t1.peekChar$0()) {
89459 case 13:
89460 case 10:
89461 case 12:
89462 return null;
89463 case 36:
89464 return _this.variableDeclarationWithoutNamespace$0();
89465 case 47:
89466 switch (t1.peekChar$1(1)) {
89467 case 47:
89468 return _this._sass0$_silentComment$0();
89469 case 42:
89470 return _this._sass0$_loudComment$0();
89471 default:
89472 return child.call$0();
89473 }
89474 default:
89475 return child.call$0();
89476 }
89477 },
89478 _sass0$_silentComment$0() {
89479 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
89480 t1 = _this.scanner,
89481 t2 = t1._string_scanner$_position;
89482 t1.expect$1("//");
89483 buffer = new A.StringBuffer("");
89484 parentIndentation = _this._sass0$_currentIndentation;
89485 t3 = t1.string.length;
89486 t4 = 1 + parentIndentation;
89487 t5 = 2 + parentIndentation;
89488 $label0$0:
89489 do {
89490 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
89491 for (i = commentPrefix.length; true;) {
89492 t6 = buffer._contents += commentPrefix;
89493 for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
89494 t6 += A.Primitives_stringFromCharCode(32);
89495 buffer._contents = t6;
89496 }
89497 while (true) {
89498 if (t1._string_scanner$_position !== t3) {
89499 t7 = t1.peekChar$0();
89500 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
89501 } else
89502 t7 = false;
89503 if (!t7)
89504 break;
89505 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
89506 buffer._contents = t6;
89507 }
89508 buffer._contents = t6 + "\n";
89509 if (_this._sass0$_peekIndentation$0() < parentIndentation)
89510 break $label0$0;
89511 if (_this._sass0$_peekIndentation$0() === parentIndentation) {
89512 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
89513 _this._sass0$_readIndentation$0();
89514 break;
89515 }
89516 _this._sass0$_readIndentation$0();
89517 }
89518 } while (t1.scan$1("//"));
89519 t3 = buffer._contents;
89520 return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89521 },
89522 _sass0$_loudComment$0() {
89523 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
89524 t1 = _this.scanner,
89525 t2 = t1._string_scanner$_position;
89526 t1.expect$1("/*");
89527 t3 = new A.StringBuffer("");
89528 t4 = A._setArrayType([], type$.JSArray_Object);
89529 buffer = new A.InterpolationBuffer0(t3, t4);
89530 t3._contents = "" + "/*";
89531 parentIndentation = _this._sass0$_currentIndentation;
89532 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
89533 if (first) {
89534 beginningOfComment = t1._string_scanner$_position;
89535 _this.spaces$0();
89536 t7 = t1.peekChar$0();
89537 if (t7 === 10 || t7 === 13 || t7 === 12) {
89538 _this._sass0$_readIndentation$0();
89539 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
89540 } else {
89541 end = t1._string_scanner$_position;
89542 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
89543 }
89544 } else {
89545 t7 = t3._contents += "\n";
89546 t7 += " * ";
89547 t3._contents = t7;
89548 }
89549 for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
89550 t7 += A.Primitives_stringFromCharCode(32);
89551 t3._contents = t7;
89552 }
89553 $label0$1:
89554 for (; t1._string_scanner$_position !== t6;)
89555 switch (t1.peekChar$0()) {
89556 case 10:
89557 case 13:
89558 case 12:
89559 break $label0$1;
89560 case 35:
89561 if (t1.peekChar$1(1) === 123) {
89562 t7 = _this.singleInterpolation$0();
89563 buffer._interpolation_buffer0$_flushText$0();
89564 t4.push(t7);
89565 } else
89566 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89567 break;
89568 default:
89569 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89570 break;
89571 }
89572 if (_this._sass0$_peekIndentation$0() <= parentIndentation)
89573 break;
89574 for (; _this._sass0$_lookingAtDoubleNewline$0();) {
89575 _this._sass0$_expectNewline$0();
89576 t7 = t3._contents += "\n";
89577 t3._contents = t7 + " *";
89578 }
89579 _this._sass0$_readIndentation$0();
89580 }
89581 t4 = t3._contents;
89582 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
89583 t3._contents += " */";
89584 return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
89585 },
89586 whitespaceWithoutComments$0() {
89587 var t1, t2, next;
89588 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89589 next = t1.peekChar$0();
89590 if (next !== 9 && next !== 32)
89591 break;
89592 t1.readChar$0();
89593 }
89594 },
89595 loudComment$0() {
89596 var next,
89597 t1 = this.scanner;
89598 t1.expect$1("/*");
89599 for (; true;) {
89600 next = t1.readChar$0();
89601 if (next === 10 || next === 13 || next === 12)
89602 t1.error$1(0, "expected */.");
89603 if (next !== 42)
89604 continue;
89605 do
89606 next = t1.readChar$0();
89607 while (next === 42);
89608 if (next === 47)
89609 break;
89610 }
89611 },
89612 _sass0$_expectNewline$0() {
89613 var t1 = this.scanner;
89614 switch (t1.peekChar$0()) {
89615 case 59:
89616 t1.error$1(0, string$.semico);
89617 break;
89618 case 13:
89619 t1.readChar$0();
89620 if (t1.peekChar$0() === 10)
89621 t1.readChar$0();
89622 return;
89623 case 10:
89624 case 12:
89625 t1.readChar$0();
89626 return;
89627 default:
89628 t1.error$1(0, "expected newline.");
89629 }
89630 },
89631 _sass0$_lookingAtDoubleNewline$0() {
89632 var nextChar,
89633 t1 = this.scanner;
89634 switch (t1.peekChar$0()) {
89635 case 13:
89636 nextChar = t1.peekChar$1(1);
89637 if (nextChar === 10) {
89638 t1 = t1.peekChar$1(2);
89639 return t1 === 10 || t1 === 13 || t1 === 12;
89640 }
89641 return nextChar === 13 || nextChar === 12;
89642 case 10:
89643 case 12:
89644 t1 = t1.peekChar$1(1);
89645 return t1 === 10 || t1 === 13 || t1 === 12;
89646 default:
89647 return false;
89648 }
89649 },
89650 _sass0$_whileIndentedLower$1(body) {
89651 var t1, t2, childIndentation, indentation, t3, t4, _this = this,
89652 parentIndentation = _this._sass0$_currentIndentation;
89653 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
89654 indentation = _this._sass0$_readIndentation$0();
89655 if (childIndentation == null)
89656 childIndentation = indentation;
89657 if (childIndentation !== indentation) {
89658 t3 = t1._string_scanner$_position;
89659 t4 = t2.getColumn$1(t3);
89660 t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
89661 }
89662 body.call$0();
89663 }
89664 },
89665 _sass0$_readIndentation$0() {
89666 var t1, _this = this,
89667 currentIndentation = _this._sass0$_nextIndentation;
89668 if (currentIndentation == null)
89669 currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
89670 _this._sass0$_currentIndentation = currentIndentation;
89671 t1 = _this._sass0$_nextIndentationEnd;
89672 t1.toString;
89673 _this.scanner.set$state(t1);
89674 _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
89675 return currentIndentation;
89676 },
89677 _sass0$_peekIndentation$0() {
89678 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
89679 cached = _this._sass0$_nextIndentation;
89680 if (cached != null)
89681 return cached;
89682 t1 = _this.scanner;
89683 t2 = t1._string_scanner$_position;
89684 t3 = t1.string.length;
89685 if (t2 === t3) {
89686 _this._sass0$_nextIndentation = 0;
89687 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
89688 return 0;
89689 }
89690 start = new A._SpanScannerState(t1, t2);
89691 if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
89692 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
89693 containsTab = A._Cell$();
89694 containsSpace = A._Cell$();
89695 nextIndentation = A._Cell$();
89696 t2 = nextIndentation.__late_helper$_name;
89697 do {
89698 containsSpace._value = containsTab._value = false;
89699 nextIndentation._value = 0;
89700 for (; true;) {
89701 next = t1.peekChar$0();
89702 if (next === 32)
89703 containsSpace._value = true;
89704 else if (next === 9)
89705 containsTab._value = true;
89706 else
89707 break;
89708 t4 = nextIndentation._value;
89709 if (t4 === nextIndentation)
89710 A.throwExpression(A.LateError$localNI(t2));
89711 nextIndentation._value = t4 + 1;
89712 t1.readChar$0();
89713 }
89714 t4 = t1._string_scanner$_position;
89715 if (t4 === t3) {
89716 _this._sass0$_nextIndentation = 0;
89717 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
89718 t1.set$state(start);
89719 return 0;
89720 }
89721 } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
89722 t2 = containsTab._readLocal$0();
89723 t3 = containsSpace._readLocal$0();
89724 if (t2) {
89725 if (t3) {
89726 t2 = t1._string_scanner$_position;
89727 t3 = t1._sourceFile;
89728 t4 = t3.getColumn$1(t2);
89729 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89730 } else if (_this._sass0$_spaces === true) {
89731 t2 = t1._string_scanner$_position;
89732 t3 = t1._sourceFile;
89733 t4 = t3.getColumn$1(t2);
89734 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89735 }
89736 } else if (t3 && _this._sass0$_spaces === false) {
89737 t2 = t1._string_scanner$_position;
89738 t3 = t1._sourceFile;
89739 t4 = t3.getColumn$1(t2);
89740 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89741 }
89742 _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
89743 if (nextIndentation._readLocal$0() > 0)
89744 if (_this._sass0$_spaces == null)
89745 _this._sass0$_spaces = containsSpace._readLocal$0();
89746 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
89747 t1.set$state(start);
89748 return nextIndentation._readLocal$0();
89749 }
89750 };
89751 A.SassParser_children_closure0.prototype = {
89752 call$0() {
89753 var parsedChild = this.$this._sass0$_child$1(this.child);
89754 if (parsedChild != null)
89755 this.children.push(parsedChild);
89756 },
89757 $signature: 0
89758 };
89759 A._Exports.prototype = {};
89760 A._wrapMain_closure.prototype = {
89761 call$1(_) {
89762 return A._translateReturnValue(this.main.call$0());
89763 },
89764 $signature: 82
89765 };
89766 A._wrapMain_closure0.prototype = {
89767 call$1(args) {
89768 return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
89769 },
89770 $signature: 82
89771 };
89772 A.ScssParser0.prototype = {
89773 get$indented() {
89774 return false;
89775 },
89776 get$currentIndentation() {
89777 return 0;
89778 },
89779 styleRuleSelector$0() {
89780 return this.almostAnyValue$0();
89781 },
89782 expectStatementSeparator$1($name) {
89783 var t1, next;
89784 this.whitespaceWithoutComments$0();
89785 t1 = this.scanner;
89786 if (t1._string_scanner$_position === t1.string.length)
89787 return;
89788 next = t1.peekChar$0();
89789 if (next === 59 || next === 125)
89790 return;
89791 t1.expectChar$1(59);
89792 },
89793 expectStatementSeparator$0() {
89794 return this.expectStatementSeparator$1(null);
89795 },
89796 atEndOfStatement$0() {
89797 var next = this.scanner.peekChar$0();
89798 return next == null || next === 59 || next === 125 || next === 123;
89799 },
89800 lookingAtChildren$0() {
89801 return this.scanner.peekChar$0() === 123;
89802 },
89803 scanElse$1(ifIndentation) {
89804 var t3, _this = this,
89805 t1 = _this.scanner,
89806 t2 = t1._string_scanner$_position;
89807 _this.whitespace$0();
89808 t3 = t1._string_scanner$_position;
89809 if (t1.scanChar$1(64)) {
89810 if (_this.scanIdentifier$2$caseSensitive("else", true))
89811 return true;
89812 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
89813 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
89814 t1.set$position(t1._string_scanner$_position - 2);
89815 return true;
89816 }
89817 }
89818 t1.set$state(new A._SpanScannerState(t1, t2));
89819 return false;
89820 },
89821 children$1(_, child) {
89822 var children, _this = this,
89823 t1 = _this.scanner;
89824 t1.expectChar$1(123);
89825 _this.whitespaceWithoutComments$0();
89826 children = A._setArrayType([], type$.JSArray_Statement_2);
89827 for (; true;)
89828 switch (t1.peekChar$0()) {
89829 case 36:
89830 children.push(_this.variableDeclarationWithoutNamespace$0());
89831 break;
89832 case 47:
89833 switch (t1.peekChar$1(1)) {
89834 case 47:
89835 children.push(_this._scss0$_silentComment$0());
89836 _this.whitespaceWithoutComments$0();
89837 break;
89838 case 42:
89839 children.push(_this._scss0$_loudComment$0());
89840 _this.whitespaceWithoutComments$0();
89841 break;
89842 default:
89843 children.push(child.call$0());
89844 break;
89845 }
89846 break;
89847 case 59:
89848 t1.readChar$0();
89849 _this.whitespaceWithoutComments$0();
89850 break;
89851 case 125:
89852 t1.expectChar$1(125);
89853 return children;
89854 default:
89855 children.push(child.call$0());
89856 break;
89857 }
89858 },
89859 statements$1(statement) {
89860 var t1, t2, child, _this = this,
89861 statements = A._setArrayType([], type$.JSArray_Statement_2);
89862 _this.whitespaceWithoutComments$0();
89863 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
89864 switch (t1.peekChar$0()) {
89865 case 36:
89866 statements.push(_this.variableDeclarationWithoutNamespace$0());
89867 break;
89868 case 47:
89869 switch (t1.peekChar$1(1)) {
89870 case 47:
89871 statements.push(_this._scss0$_silentComment$0());
89872 _this.whitespaceWithoutComments$0();
89873 break;
89874 case 42:
89875 statements.push(_this._scss0$_loudComment$0());
89876 _this.whitespaceWithoutComments$0();
89877 break;
89878 default:
89879 child = statement.call$0();
89880 if (child != null)
89881 statements.push(child);
89882 break;
89883 }
89884 break;
89885 case 59:
89886 t1.readChar$0();
89887 _this.whitespaceWithoutComments$0();
89888 break;
89889 default:
89890 child = statement.call$0();
89891 if (child != null)
89892 statements.push(child);
89893 break;
89894 }
89895 return statements;
89896 },
89897 _scss0$_silentComment$0() {
89898 var t2, t3, _this = this,
89899 t1 = _this.scanner,
89900 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89901 t1.expect$1("//");
89902 t2 = t1.string.length;
89903 do {
89904 while (true) {
89905 if (t1._string_scanner$_position !== t2) {
89906 t3 = t1.readChar$0();
89907 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
89908 } else
89909 t3 = false;
89910 if (!t3)
89911 break;
89912 }
89913 if (t1._string_scanner$_position === t2)
89914 break;
89915 _this.whitespaceWithoutComments$0();
89916 } while (t1.scan$1("//"));
89917 if (_this.get$plainCss())
89918 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
89919 return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
89920 },
89921 _scss0$_loudComment$0() {
89922 var t3, t4, buffer, t5, endPosition, t6, result,
89923 t1 = this.scanner,
89924 t2 = t1._string_scanner$_position;
89925 t1.expect$1("/*");
89926 t3 = new A.StringBuffer("");
89927 t4 = A._setArrayType([], type$.JSArray_Object);
89928 buffer = new A.InterpolationBuffer0(t3, t4);
89929 t3._contents = "" + "/*";
89930 for (; true;)
89931 switch (t1.peekChar$0()) {
89932 case 35:
89933 if (t1.peekChar$1(1) === 123) {
89934 t5 = this.singleInterpolation$0();
89935 buffer._interpolation_buffer0$_flushText$0();
89936 t4.push(t5);
89937 } else
89938 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89939 break;
89940 case 42:
89941 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89942 if (t1.peekChar$0() !== 47)
89943 break;
89944 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89945 endPosition = t1._string_scanner$_position;
89946 t5 = t1._sourceFile;
89947 t6 = new A._SpanScannerState(t1, t2).position;
89948 t1 = new A._FileSpan(t5, t6, endPosition);
89949 t1._FileSpan$3(t5, t6, endPosition);
89950 t6 = type$.Object;
89951 t5 = A.List_List$of(t4, true, t6);
89952 t2 = t3._contents;
89953 if (t2.length !== 0)
89954 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
89955 result = A.List_List$from(t5, false, t6);
89956 result.fixed$length = Array;
89957 result.immutable$list = Array;
89958 t2 = new A.Interpolation0(result, t1);
89959 t2.Interpolation$20(t5, t1);
89960 return new A.LoudComment0(t2);
89961 case 13:
89962 t1.readChar$0();
89963 if (t1.peekChar$0() !== 10)
89964 t3._contents += A.Primitives_stringFromCharCode(10);
89965 break;
89966 case 12:
89967 t1.readChar$0();
89968 t3._contents += A.Primitives_stringFromCharCode(10);
89969 break;
89970 default:
89971 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89972 break;
89973 }
89974 }
89975 };
89976 A.Selector0.prototype = {
89977 get$isInvisible() {
89978 return false;
89979 },
89980 toString$0(_) {
89981 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
89982 this.accept$1(visitor);
89983 return visitor._serialize0$_buffer.toString$0(0);
89984 }
89985 };
89986 A.SelectorExpression0.prototype = {
89987 accept$1$1(visitor) {
89988 return visitor.visitSelectorExpression$1(this);
89989 },
89990 accept$1(visitor) {
89991 return this.accept$1$1(visitor, type$.dynamic);
89992 },
89993 toString$0(_) {
89994 return "&";
89995 },
89996 $isExpression0: 1,
89997 $isAstNode0: 1,
89998 get$span(receiver) {
89999 return this.span;
90000 }
90001 };
90002 A._nest_closure0.prototype = {
90003 call$1($arguments) {
90004 var t1 = {},
90005 selectors = J.$index$asx($arguments, 0).get$asList();
90006 if (selectors.length === 0)
90007 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
90008 t1.first = true;
90009 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();
90010 },
90011 $signature: 22
90012 };
90013 A._nest__closure1.prototype = {
90014 call$1(selector) {
90015 var t1 = this._box_0,
90016 result = selector.assertSelector$1$allowParent(!t1.first);
90017 t1.first = false;
90018 return result;
90019 },
90020 $signature: 245
90021 };
90022 A._nest__closure2.prototype = {
90023 call$2($parent, child) {
90024 return child.resolveParentSelectors$1($parent);
90025 },
90026 $signature: 246
90027 };
90028 A._append_closure1.prototype = {
90029 call$1($arguments) {
90030 var selectors = J.$index$asx($arguments, 0).get$asList();
90031 if (selectors.length === 0)
90032 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
90033 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();
90034 },
90035 $signature: 22
90036 };
90037 A._append__closure1.prototype = {
90038 call$1(selector) {
90039 return selector.assertSelector$0();
90040 },
90041 $signature: 245
90042 };
90043 A._append__closure2.prototype = {
90044 call$2($parent, child) {
90045 var t1 = child.components;
90046 return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
90047 },
90048 $signature: 246
90049 };
90050 A._append___closure0.prototype = {
90051 call$1(complex) {
90052 var newCompound, t2,
90053 t1 = complex.components,
90054 compound = B.JSArray_methods.get$first(t1);
90055 if (compound instanceof A.CompoundSelector0) {
90056 newCompound = A._prependParent0(compound);
90057 if (newCompound == null)
90058 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
90059 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent_2);
90060 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
90061 return A.ComplexSelector$0(t2, false);
90062 } else
90063 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
90064 },
90065 $signature: 132
90066 };
90067 A._extend_closure0.prototype = {
90068 call$1($arguments) {
90069 var t1 = J.getInterceptor$asx($arguments),
90070 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
90071 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
90072 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
90073 },
90074 $signature: 22
90075 };
90076 A._replace_closure0.prototype = {
90077 call$1($arguments) {
90078 var t1 = J.getInterceptor$asx($arguments),
90079 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
90080 target = t1.$index($arguments, 1).assertSelector$1$name("original");
90081 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
90082 },
90083 $signature: 22
90084 };
90085 A._unify_closure0.prototype = {
90086 call$1($arguments) {
90087 var t1 = J.getInterceptor$asx($arguments),
90088 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
90089 return result == null ? B.C__SassNull0 : result.get$asSassList();
90090 },
90091 $signature: 3
90092 };
90093 A._isSuperselector_closure0.prototype = {
90094 call$1($arguments) {
90095 var t1 = J.getInterceptor$asx($arguments),
90096 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
90097 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
90098 return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
90099 },
90100 $signature: 18
90101 };
90102 A._simpleSelectors_closure0.prototype = {
90103 call$1($arguments) {
90104 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
90105 return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
90106 },
90107 $signature: 22
90108 };
90109 A._simpleSelectors__closure0.prototype = {
90110 call$1(simple) {
90111 return new A.SassString0(A.serializeSelector0(simple, true), false);
90112 },
90113 $signature: 513
90114 };
90115 A._parse_closure0.prototype = {
90116 call$1($arguments) {
90117 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
90118 },
90119 $signature: 22
90120 };
90121 A.SelectorParser0.prototype = {
90122 parse$0() {
90123 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
90124 },
90125 parseCompoundSelector$0() {
90126 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
90127 },
90128 _selector$_selectorList$0() {
90129 var t3, t4, lineBreak, _this = this,
90130 t1 = _this.scanner,
90131 t2 = t1._sourceFile,
90132 previousLine = t2.getLine$1(t1._string_scanner$_position),
90133 components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
90134 _this.whitespace$0();
90135 for (t3 = t1.string.length; t1.scanChar$1(44);) {
90136 _this.whitespace$0();
90137 if (t1.peekChar$0() === 44)
90138 continue;
90139 t4 = t1._string_scanner$_position;
90140 if (t4 === t3)
90141 break;
90142 lineBreak = t2.getLine$1(t4) !== previousLine;
90143 if (lineBreak)
90144 previousLine = t2.getLine$1(t1._string_scanner$_position);
90145 components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
90146 }
90147 return A.SelectorList$0(components);
90148 },
90149 _selector$_complexSelector$1$lineBreak(lineBreak) {
90150 var t1, next, _this = this,
90151 _s58_ = string$.x22x26__ma,
90152 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
90153 $label0$1:
90154 for (t1 = _this.scanner; true;) {
90155 _this.whitespace$0();
90156 next = t1.peekChar$0();
90157 switch (next) {
90158 case 43:
90159 t1.readChar$0();
90160 components.push(B.Combinator_uzg0);
90161 break;
90162 case 62:
90163 t1.readChar$0();
90164 components.push(B.Combinator_sgq0);
90165 break;
90166 case 126:
90167 t1.readChar$0();
90168 components.push(B.Combinator_CzM0);
90169 break;
90170 case 91:
90171 case 46:
90172 case 35:
90173 case 37:
90174 case 58:
90175 case 38:
90176 case 42:
90177 case 124:
90178 components.push(_this._selector$_compoundSelector$0());
90179 if (t1.peekChar$0() === 38)
90180 t1.error$1(0, _s58_);
90181 break;
90182 default:
90183 if (next == null || !_this.lookingAtIdentifier$0())
90184 break $label0$1;
90185 components.push(_this._selector$_compoundSelector$0());
90186 if (t1.peekChar$0() === 38)
90187 t1.error$1(0, _s58_);
90188 break;
90189 }
90190 }
90191 if (components.length === 0)
90192 t1.error$1(0, "expected selector.");
90193 return A.ComplexSelector$0(components, lineBreak);
90194 },
90195 _selector$_complexSelector$0() {
90196 return this._selector$_complexSelector$1$lineBreak(false);
90197 },
90198 _selector$_compoundSelector$0() {
90199 var t2,
90200 components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
90201 t1 = this.scanner;
90202 while (true) {
90203 t2 = t1.peekChar$0();
90204 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
90205 break;
90206 components.push(this._selector$_simpleSelector$1$allowParent(false));
90207 }
90208 return A.CompoundSelector$0(components);
90209 },
90210 _selector$_simpleSelector$1$allowParent(allowParent) {
90211 var $name, text, t2, suffix, _this = this,
90212 t1 = _this.scanner,
90213 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
90214 if (allowParent == null)
90215 allowParent = _this._selector$_allowParent;
90216 switch (t1.peekChar$0()) {
90217 case 91:
90218 return _this._selector$_attributeSelector$0();
90219 case 46:
90220 t1.expectChar$1(46);
90221 return new A.ClassSelector0(_this.identifier$0());
90222 case 35:
90223 t1.expectChar$1(35);
90224 return new A.IDSelector0(_this.identifier$0());
90225 case 37:
90226 t1.expectChar$1(37);
90227 $name = _this.identifier$0();
90228 if (!_this._selector$_allowPlaceholder)
90229 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
90230 return new A.PlaceholderSelector0($name);
90231 case 58:
90232 return _this._selector$_pseudoSelector$0();
90233 case 38:
90234 t1.expectChar$1(38);
90235 if (_this.lookingAtIdentifierBody$0()) {
90236 text = new A.StringBuffer("");
90237 _this._parser0$_identifierBody$1(text);
90238 if (text._contents.length === 0)
90239 t1.error$1(0, "Expected identifier body.");
90240 t2 = text._contents;
90241 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
90242 } else
90243 suffix = null;
90244 if (!allowParent)
90245 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
90246 return new A.ParentSelector0(suffix);
90247 default:
90248 return _this._selector$_typeOrUniversalSelector$0();
90249 }
90250 },
90251 _selector$_simpleSelector$0() {
90252 return this._selector$_simpleSelector$1$allowParent(null);
90253 },
90254 _selector$_attributeSelector$0() {
90255 var $name, operator, next, value, modifier, _this = this, _null = null,
90256 t1 = _this.scanner;
90257 t1.expectChar$1(91);
90258 _this.whitespace$0();
90259 $name = _this._selector$_attributeName$0();
90260 _this.whitespace$0();
90261 if (t1.scanChar$1(93))
90262 return new A.AttributeSelector0($name, _null, _null, _null);
90263 operator = _this._selector$_attributeOperator$0();
90264 _this.whitespace$0();
90265 next = t1.peekChar$0();
90266 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
90267 _this.whitespace$0();
90268 next = t1.peekChar$0();
90269 modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
90270 t1.expectChar$1(93);
90271 return new A.AttributeSelector0($name, operator, value, modifier);
90272 },
90273 _selector$_attributeName$0() {
90274 var nameOrNamespace, _this = this,
90275 t1 = _this.scanner;
90276 if (t1.scanChar$1(42)) {
90277 t1.expectChar$1(124);
90278 return new A.QualifiedName0(_this.identifier$0(), "*");
90279 }
90280 if (t1.scanChar$1(124))
90281 return new A.QualifiedName0(_this.identifier$0(), "");
90282 nameOrNamespace = _this.identifier$0();
90283 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
90284 return new A.QualifiedName0(nameOrNamespace, null);
90285 t1.readChar$0();
90286 return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
90287 },
90288 _selector$_attributeOperator$0() {
90289 var t1 = this.scanner,
90290 t2 = t1._string_scanner$_position;
90291 switch (t1.readChar$0()) {
90292 case 61:
90293 return B.AttributeOperator_sEs0;
90294 case 126:
90295 t1.expectChar$1(61);
90296 return B.AttributeOperator_fz10;
90297 case 124:
90298 t1.expectChar$1(61);
90299 return B.AttributeOperator_AuK0;
90300 case 94:
90301 t1.expectChar$1(61);
90302 return B.AttributeOperator_4L50;
90303 case 36:
90304 t1.expectChar$1(61);
90305 return B.AttributeOperator_mOX0;
90306 case 42:
90307 t1.expectChar$1(61);
90308 return B.AttributeOperator_gqZ0;
90309 default:
90310 t1.error$2$position(0, 'Expected "]".', t2);
90311 }
90312 },
90313 _selector$_pseudoSelector$0() {
90314 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
90315 t1 = _this.scanner;
90316 t1.expectChar$1(58);
90317 element = t1.scanChar$1(58);
90318 $name = _this.identifier$0();
90319 if (!t1.scanChar$1(40))
90320 return A.PseudoSelector$0($name, _null, element, _null);
90321 _this.whitespace$0();
90322 unvendored = A.unvendor0($name);
90323 if (element)
90324 if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
90325 selector = _this._selector$_selectorList$0();
90326 argument = _null;
90327 } else {
90328 argument = _this.declarationValue$1$allowEmpty(true);
90329 selector = _null;
90330 }
90331 else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
90332 selector = _this._selector$_selectorList$0();
90333 argument = _null;
90334 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
90335 argument = _this._selector$_aNPlusB$0();
90336 _this.whitespace$0();
90337 t2 = t1.peekChar$1(-1);
90338 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
90339 _this.expectIdentifier$1("of");
90340 argument += " of";
90341 _this.whitespace$0();
90342 selector = _this._selector$_selectorList$0();
90343 } else
90344 selector = _null;
90345 } else {
90346 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
90347 selector = _null;
90348 }
90349 t1.expectChar$1(41);
90350 return A.PseudoSelector$0($name, argument, element, selector);
90351 },
90352 _selector$_aNPlusB$0() {
90353 var t2, first, t3, next, last, _this = this,
90354 t1 = _this.scanner;
90355 switch (t1.peekChar$0()) {
90356 case 101:
90357 case 69:
90358 _this.expectIdentifier$1("even");
90359 return "even";
90360 case 111:
90361 case 79:
90362 _this.expectIdentifier$1("odd");
90363 return "odd";
90364 case 43:
90365 case 45:
90366 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
90367 break;
90368 default:
90369 t2 = "";
90370 }
90371 first = t1.peekChar$0();
90372 if (first != null && A.isDigit0(first)) {
90373 while (true) {
90374 t3 = t1.peekChar$0();
90375 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90376 break;
90377 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90378 }
90379 _this.whitespace$0();
90380 if (!_this.scanIdentChar$1(110))
90381 return t2.charCodeAt(0) == 0 ? t2 : t2;
90382 } else
90383 _this.expectIdentChar$1(110);
90384 t2 += A.Primitives_stringFromCharCode(110);
90385 _this.whitespace$0();
90386 next = t1.peekChar$0();
90387 if (next !== 43 && next !== 45)
90388 return t2.charCodeAt(0) == 0 ? t2 : t2;
90389 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90390 _this.whitespace$0();
90391 last = t1.peekChar$0();
90392 if (last == null || !A.isDigit0(last))
90393 t1.error$1(0, "Expected a number.");
90394 while (true) {
90395 t3 = t1.peekChar$0();
90396 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90397 break;
90398 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90399 }
90400 return t2.charCodeAt(0) == 0 ? t2 : t2;
90401 },
90402 _selector$_typeOrUniversalSelector$0() {
90403 var nameOrNamespace, _this = this,
90404 t1 = _this.scanner,
90405 first = t1.peekChar$0();
90406 if (first === 42) {
90407 t1.readChar$0();
90408 if (!t1.scanChar$1(124))
90409 return new A.UniversalSelector0(null);
90410 if (t1.scanChar$1(42))
90411 return new A.UniversalSelector0("*");
90412 else
90413 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
90414 } else if (first === 124) {
90415 t1.readChar$0();
90416 if (t1.scanChar$1(42))
90417 return new A.UniversalSelector0("");
90418 else
90419 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
90420 }
90421 nameOrNamespace = _this.identifier$0();
90422 if (!t1.scanChar$1(124))
90423 return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
90424 else if (t1.scanChar$1(42))
90425 return new A.UniversalSelector0(nameOrNamespace);
90426 else
90427 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
90428 }
90429 };
90430 A.SelectorParser_parse_closure0.prototype = {
90431 call$0() {
90432 var t1 = this.$this,
90433 selector = t1._selector$_selectorList$0();
90434 t1 = t1.scanner;
90435 if (t1._string_scanner$_position !== t1.string.length)
90436 t1.error$1(0, "expected selector.");
90437 return selector;
90438 },
90439 $signature: 45
90440 };
90441 A.SelectorParser_parseCompoundSelector_closure0.prototype = {
90442 call$0() {
90443 var t1 = this.$this,
90444 compound = t1._selector$_compoundSelector$0();
90445 t1 = t1.scanner;
90446 if (t1._string_scanner$_position !== t1.string.length)
90447 t1.error$1(0, "expected selector.");
90448 return compound;
90449 },
90450 $signature: 514
90451 };
90452 A.serialize_closure0.prototype = {
90453 call$1(codeUnit) {
90454 return codeUnit > 127;
90455 },
90456 $signature: 57
90457 };
90458 A._SerializeVisitor0.prototype = {
90459 visitCssStylesheet$1(node) {
90460 var t1, t2, t3, t4, t5, previous, i, child, _this = this;
90461 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) {
90462 child = J.$index$asx(node.get$children(node), i);
90463 if (_this._serialize0$_isInvisible$1(child))
90464 continue;
90465 if (previous != null) {
90466 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
90467 t4.writeCharCode$1(59);
90468 if (t1)
90469 t4.write$1(0, t5);
90470 if (previous.get$isGroupEnd())
90471 if (t1)
90472 t4.write$1(0, t5);
90473 }
90474 child.accept$1(_this);
90475 previous = child;
90476 }
90477 if (previous != null)
90478 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
90479 else
90480 t1 = false;
90481 if (t1)
90482 t4.writeCharCode$1(59);
90483 },
90484 visitCssComment$1(node) {
90485 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
90486 },
90487 visitCssAtRule$1(node) {
90488 var t1, _this = this;
90489 _this._serialize0$_writeIndentation$0();
90490 t1 = _this._serialize0$_buffer;
90491 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
90492 if (!node.isChildless) {
90493 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90494 t1.writeCharCode$1(32);
90495 _this._serialize0$_visitChildren$1(node.children);
90496 }
90497 },
90498 visitCssMediaRule$1(node) {
90499 var t1, _this = this;
90500 _this._serialize0$_writeIndentation$0();
90501 t1 = _this._serialize0$_buffer;
90502 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
90503 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90504 t1.writeCharCode$1(32);
90505 _this._serialize0$_visitChildren$1(node.children);
90506 },
90507 visitCssImport$1(node) {
90508 this._serialize0$_writeIndentation$0();
90509 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
90510 },
90511 _serialize0$_writeImportUrl$1(url) {
90512 var urlContents, maybeQuote, _this = this;
90513 if (_this._serialize0$_style !== B.OutputStyle_compressed0 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
90514 _this._serialize0$_buffer.write$1(0, url);
90515 return;
90516 }
90517 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
90518 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
90519 if (maybeQuote === 39 || maybeQuote === 34)
90520 _this._serialize0$_buffer.write$1(0, urlContents);
90521 else
90522 _this._serialize0$_visitQuotedString$1(urlContents);
90523 },
90524 visitCssKeyframeBlock$1(node) {
90525 var t1, _this = this;
90526 _this._serialize0$_writeIndentation$0();
90527 t1 = _this._serialize0$_buffer;
90528 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
90529 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90530 t1.writeCharCode$1(32);
90531 _this._serialize0$_visitChildren$1(node.children);
90532 },
90533 _serialize0$_visitMediaQuery$1(query) {
90534 var t2, t3, _this = this,
90535 t1 = query.modifier;
90536 if (t1 != null) {
90537 t2 = _this._serialize0$_buffer;
90538 t2.write$1(0, t1);
90539 t2.writeCharCode$1(32);
90540 }
90541 t1 = query.type;
90542 if (t1 != null) {
90543 t2 = _this._serialize0$_buffer;
90544 t2.write$1(0, t1);
90545 if (query.features.length !== 0)
90546 t2.write$1(0, " and ");
90547 }
90548 t1 = query.features;
90549 t2 = _this._serialize0$_style === B.OutputStyle_compressed0 ? "and " : " and ";
90550 t3 = _this._serialize0$_buffer;
90551 _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
90552 },
90553 visitCssStyleRule$1(node) {
90554 var t1, _this = this;
90555 _this._serialize0$_writeIndentation$0();
90556 t1 = _this._serialize0$_buffer;
90557 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
90558 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90559 t1.writeCharCode$1(32);
90560 _this._serialize0$_visitChildren$1(node.children);
90561 },
90562 visitCssSupportsRule$1(node) {
90563 var t1, _this = this;
90564 _this._serialize0$_writeIndentation$0();
90565 t1 = _this._serialize0$_buffer;
90566 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
90567 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90568 t1.writeCharCode$1(32);
90569 _this._serialize0$_visitChildren$1(node.children);
90570 },
90571 visitCssDeclaration$1(node) {
90572 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
90573 _this._serialize0$_writeIndentation$0();
90574 t1 = node.name;
90575 _this._serialize0$_write$1(t1);
90576 t2 = _this._serialize0$_buffer;
90577 t2.writeCharCode$1(58);
90578 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
90579 t1 = node.value;
90580 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
90581 } else {
90582 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90583 t2.writeCharCode$1(32);
90584 try {
90585 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
90586 } catch (exception) {
90587 t1 = A.unwrapException(exception);
90588 if (t1 instanceof A.MultiSpanSassScriptException0) {
90589 error = t1;
90590 stackTrace = A.getTraceFromException(exception);
90591 t1 = error.message;
90592 t2 = node.value;
90593 t2 = t2.get$span(t2);
90594 A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
90595 } else if (t1 instanceof A.SassScriptException0) {
90596 error0 = t1;
90597 stackTrace0 = A.getTraceFromException(exception);
90598 t1 = node.value;
90599 A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
90600 } else
90601 throw exception;
90602 }
90603 }
90604 },
90605 _serialize0$_writeFoldedValue$1(node) {
90606 var t2, next, t3,
90607 t1 = node.value,
90608 scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
90609 for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
90610 next = scanner.readChar$0();
90611 if (next !== 10) {
90612 t2.writeCharCode$1(next);
90613 continue;
90614 }
90615 t2.writeCharCode$1(32);
90616 while (true) {
90617 t3 = scanner.peekChar$0();
90618 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
90619 break;
90620 scanner.readChar$0();
90621 }
90622 }
90623 },
90624 _serialize0$_writeReindentedValue$1(node) {
90625 var _this = this,
90626 t1 = node.value,
90627 value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
90628 minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
90629 if (minimumIndentation == null) {
90630 _this._serialize0$_buffer.write$1(0, value);
90631 return;
90632 } else if (minimumIndentation === -1) {
90633 t1 = _this._serialize0$_buffer;
90634 t1.write$1(0, A.trimAsciiRight0(value, true));
90635 t1.writeCharCode$1(32);
90636 return;
90637 }
90638 t1 = node.name;
90639 t1 = t1.get$span(t1);
90640 t1 = A.FileLocation$_(t1.file, t1._file$_start);
90641 _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
90642 },
90643 _serialize0$_minimumIndentation$1(text) {
90644 var character, t2, min, next, min0,
90645 scanner = A.LineScanner$(text),
90646 t1 = scanner.string.length;
90647 while (true) {
90648 if (scanner._string_scanner$_position !== t1) {
90649 character = scanner.super$StringScanner$readChar();
90650 scanner._adjustLineAndColumn$1(character);
90651 t2 = character !== 10;
90652 } else
90653 t2 = false;
90654 if (!t2)
90655 break;
90656 }
90657 if (scanner._string_scanner$_position === t1)
90658 return scanner.peekChar$1(-1) === 10 ? -1 : null;
90659 for (min = null; scanner._string_scanner$_position !== t1;) {
90660 for (; scanner._string_scanner$_position !== t1;) {
90661 next = scanner.peekChar$0();
90662 if (next !== 32 && next !== 9)
90663 break;
90664 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
90665 }
90666 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
90667 continue;
90668 min0 = scanner._line_scanner$_column;
90669 min = min == null ? min0 : Math.min(min, min0);
90670 while (true) {
90671 if (scanner._string_scanner$_position !== t1) {
90672 character = scanner.super$StringScanner$readChar();
90673 scanner._adjustLineAndColumn$1(character);
90674 t2 = character !== 10;
90675 } else
90676 t2 = false;
90677 if (!t2)
90678 break;
90679 }
90680 }
90681 return min == null ? -1 : min;
90682 },
90683 _serialize0$_writeWithIndent$2(text, minimumIndentation) {
90684 var t1, t2, t3, character, lineStart, newlines, end,
90685 scanner = A.LineScanner$(text);
90686 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
90687 character = scanner.super$StringScanner$readChar();
90688 scanner._adjustLineAndColumn$1(character);
90689 if (character === 10)
90690 break;
90691 t3.writeCharCode$1(character);
90692 }
90693 for (; true;) {
90694 lineStart = scanner._string_scanner$_position;
90695 for (newlines = 1; true;) {
90696 if (scanner._string_scanner$_position === t2) {
90697 t3.writeCharCode$1(32);
90698 return;
90699 }
90700 character = scanner.super$StringScanner$readChar();
90701 scanner._adjustLineAndColumn$1(character);
90702 if (character === 32 || character === 9)
90703 continue;
90704 if (character !== 10)
90705 break;
90706 lineStart = scanner._string_scanner$_position;
90707 ++newlines;
90708 }
90709 this._serialize0$_writeTimes$2(10, newlines);
90710 this._serialize0$_writeIndentation$0();
90711 end = scanner._string_scanner$_position;
90712 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
90713 for (; true;) {
90714 if (scanner._string_scanner$_position === t2)
90715 return;
90716 character = scanner.super$StringScanner$readChar();
90717 scanner._adjustLineAndColumn$1(character);
90718 if (character === 10)
90719 break;
90720 t3.writeCharCode$1(character);
90721 }
90722 }
90723 },
90724 _serialize0$_writeCalculationValue$1(value) {
90725 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
90726 if (value instanceof A.Value0)
90727 value.accept$1(_this);
90728 else if (value instanceof A.CalculationInterpolation0)
90729 _this._serialize0$_buffer.write$1(0, value.value);
90730 else if (value instanceof A.CalculationOperation0) {
90731 left = value.left;
90732 if (!(left instanceof A.CalculationInterpolation0))
90733 parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
90734 else
90735 parenthesizeLeft = true;
90736 if (parenthesizeLeft)
90737 _this._serialize0$_buffer.writeCharCode$1(40);
90738 _this._serialize0$_writeCalculationValue$1(left);
90739 if (parenthesizeLeft)
90740 _this._serialize0$_buffer.writeCharCode$1(41);
90741 operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_compressed0 || value.operator.precedence === 1;
90742 if (operatorWhitespace)
90743 _this._serialize0$_buffer.writeCharCode$1(32);
90744 t1 = _this._serialize0$_buffer;
90745 t2 = value.operator;
90746 t1.write$1(0, t2.operator);
90747 if (operatorWhitespace)
90748 t1.writeCharCode$1(32);
90749 right = value.right;
90750 if (!(right instanceof A.CalculationInterpolation0))
90751 parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
90752 else
90753 parenthesizeRight = true;
90754 if (parenthesizeRight)
90755 t1.writeCharCode$1(40);
90756 _this._serialize0$_writeCalculationValue$1(right);
90757 if (parenthesizeRight)
90758 t1.writeCharCode$1(41);
90759 }
90760 },
90761 _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
90762 if (outer === B.CalculationOperator_jB60)
90763 return true;
90764 if (outer === B.CalculationOperator_Iem0)
90765 return false;
90766 return right === B.CalculationOperator_Iem0 || right === B.CalculationOperator_uti0;
90767 },
90768 _serialize0$_writeRgb$1(value) {
90769 var t3,
90770 t1 = value._color1$_alpha,
90771 opaque = Math.abs(t1 - 1) < $.$get$epsilon0(),
90772 t2 = this._serialize0$_buffer;
90773 t2.write$1(0, opaque ? "rgb(" : "rgba(");
90774 t2.write$1(0, value.get$red(value));
90775 t3 = this._serialize0$_style === B.OutputStyle_compressed0;
90776 t2.write$1(0, t3 ? "," : ", ");
90777 t2.write$1(0, value.get$green(value));
90778 t2.write$1(0, t3 ? "," : ", ");
90779 t2.write$1(0, value.get$blue(value));
90780 if (!opaque) {
90781 t2.write$1(0, t3 ? "," : ", ");
90782 this._serialize0$_writeNumber$1(t1);
90783 }
90784 t2.writeCharCode$1(41);
90785 },
90786 _serialize0$_canUseShortHex$1(color) {
90787 var t1 = color.get$red(color);
90788 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90789 t1 = color.get$green(color);
90790 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90791 t1 = color.get$blue(color);
90792 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
90793 } else
90794 t1 = false;
90795 } else
90796 t1 = false;
90797 return t1;
90798 },
90799 _serialize0$_writeHexComponent$1(color) {
90800 var t1 = this._serialize0$_buffer;
90801 t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
90802 t1.writeCharCode$1(A.hexCharFor0(color & 15));
90803 },
90804 visitList$1(value) {
90805 var t2, t3, singleton, t4, t5, _this = this,
90806 t1 = value._list1$_hasBrackets;
90807 if (t1)
90808 _this._serialize0$_buffer.writeCharCode$1(91);
90809 else if (value._list1$_contents.length === 0) {
90810 if (!_this._serialize0$_inspect)
90811 throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value."));
90812 _this._serialize0$_buffer.write$1(0, "()");
90813 return;
90814 }
90815 t2 = _this._serialize0$_inspect;
90816 if (t2)
90817 if (value._list1$_contents.length === 1) {
90818 t3 = value._list1$_separator;
90819 t3 = t3 === B.ListSeparator_kWM0 || t3 === B.ListSeparator_1gm0;
90820 singleton = t3;
90821 } else
90822 singleton = false;
90823 else
90824 singleton = false;
90825 if (singleton && !t1)
90826 _this._serialize0$_buffer.writeCharCode$1(40);
90827 t3 = value._list1$_contents;
90828 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
90829 t4 = value._list1$_separator;
90830 t5 = _this._serialize0$_separatorString$1(t4);
90831 _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
90832 if (singleton) {
90833 t2 = _this._serialize0$_buffer;
90834 t2.write$1(0, t4.separator);
90835 if (!t1)
90836 t2.writeCharCode$1(41);
90837 }
90838 if (t1)
90839 _this._serialize0$_buffer.writeCharCode$1(93);
90840 },
90841 _serialize0$_separatorString$1(separator) {
90842 switch (separator) {
90843 case B.ListSeparator_kWM0:
90844 return this._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
90845 case B.ListSeparator_1gm0:
90846 return this._serialize0$_style === B.OutputStyle_compressed0 ? "/" : " / ";
90847 case B.ListSeparator_woc0:
90848 return " ";
90849 default:
90850 return "";
90851 }
90852 },
90853 _serialize0$_elementNeedsParens$2(separator, value) {
90854 var t1;
90855 if (value instanceof A.SassList0) {
90856 if (value._list1$_contents.length < 2)
90857 return false;
90858 if (value._list1$_hasBrackets)
90859 return false;
90860 switch (separator) {
90861 case B.ListSeparator_kWM0:
90862 return value._list1$_separator === B.ListSeparator_kWM0;
90863 case B.ListSeparator_1gm0:
90864 t1 = value._list1$_separator;
90865 return t1 === B.ListSeparator_kWM0 || t1 === B.ListSeparator_1gm0;
90866 default:
90867 return value._list1$_separator !== B.ListSeparator_undecided_null0;
90868 }
90869 }
90870 return false;
90871 },
90872 visitMap$1(map) {
90873 var t1, t2, _this = this;
90874 if (!_this._serialize0$_inspect)
90875 throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value."));
90876 t1 = _this._serialize0$_buffer;
90877 t1.writeCharCode$1(40);
90878 t2 = map._map0$_contents;
90879 _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
90880 t1.writeCharCode$1(41);
90881 },
90882 _serialize0$_writeMapElement$1(value) {
90883 var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_kWM0 && !value._list1$_hasBrackets;
90884 if (needsParens)
90885 this._serialize0$_buffer.writeCharCode$1(40);
90886 value.accept$1(this);
90887 if (needsParens)
90888 this._serialize0$_buffer.writeCharCode$1(41);
90889 },
90890 visitNumber$1(value) {
90891 var _this = this,
90892 asSlash = value.asSlash;
90893 if (asSlash != null) {
90894 _this.visitNumber$1(asSlash.item1);
90895 _this._serialize0$_buffer.writeCharCode$1(47);
90896 _this.visitNumber$1(asSlash.item2);
90897 return;
90898 }
90899 _this._serialize0$_writeNumber$1(value._number1$_value);
90900 if (!_this._serialize0$_inspect) {
90901 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
90902 throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value."));
90903 if (value.get$numeratorUnits(value).length !== 0)
90904 _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
90905 } else
90906 _this._serialize0$_buffer.write$1(0, value.get$unitString());
90907 },
90908 _serialize0$_writeNumber$1(number) {
90909 var text, _this = this,
90910 integer = A.fuzzyIsInt0(number) ? B.JSNumber_methods.round$0(number) : null;
90911 if (integer != null) {
90912 _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
90913 return;
90914 }
90915 text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
90916 if (text.length < 12) {
90917 if (_this._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
90918 text = B.JSString_methods.substring$1(text, 1);
90919 _this._serialize0$_buffer.write$1(0, text);
90920 return;
90921 }
90922 _this._serialize0$_writeRounded$1(text);
90923 },
90924 _serialize0$_removeExponent$1(text) {
90925 var buffer, t3, additionalZeroes,
90926 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
90927 negative = t1 === 45,
90928 exponent = A._Cell$(),
90929 t2 = text.length,
90930 i = 0;
90931 while (true) {
90932 if (!(i < t2)) {
90933 buffer = null;
90934 break;
90935 }
90936 c$0: {
90937 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
90938 break c$0;
90939 buffer = new A.StringBuffer("");
90940 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
90941 if (negative) {
90942 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
90943 buffer._contents = t1;
90944 if (i > 3)
90945 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
90946 } else if (i > 2)
90947 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
90948 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
90949 break;
90950 }
90951 ++i;
90952 }
90953 if (buffer == null)
90954 return text;
90955 if (exponent._readLocal$0() > 0) {
90956 t1 = exponent._readLocal$0();
90957 t2 = buffer._contents;
90958 t3 = negative ? 1 : 0;
90959 additionalZeroes = t1 - (t2.length - 1 - t3);
90960 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
90961 t1 += A.Primitives_stringFromCharCode(48);
90962 buffer._contents = t1;
90963 }
90964 return t1.charCodeAt(0) == 0 ? t1 : t1;
90965 } else {
90966 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
90967 t2 = exponent.__late_helper$_name;
90968 i = -1;
90969 while (true) {
90970 t3 = exponent._value;
90971 if (t3 === exponent)
90972 A.throwExpression(A.LateError$localNI(t2));
90973 if (!(i > t3))
90974 break;
90975 t1 += A.Primitives_stringFromCharCode(48);
90976 --i;
90977 }
90978 if (negative) {
90979 t2 = buffer._contents;
90980 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
90981 } else
90982 t2 = buffer;
90983 t2 = t1 + A.S(t2);
90984 return t2.charCodeAt(0) == 0 ? t2 : t2;
90985 }
90986 },
90987 _serialize0$_writeRounded$1(text) {
90988 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
90989 if (B.JSString_methods.endsWith$1(text, ".0")) {
90990 _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
90991 return;
90992 }
90993 t1 = text.length;
90994 digits = new Uint8Array(t1 + 1);
90995 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
90996 textIndex = negative ? 1 : 0;
90997 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
90998 if (textIndex === t1) {
90999 _this._serialize0$_buffer.write$1(0, text);
91000 return;
91001 }
91002 textIndex0 = textIndex + 1;
91003 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
91004 if (codeUnit === 46) {
91005 textIndex = textIndex0;
91006 break;
91007 }
91008 digitsIndex0 = digitsIndex + 1;
91009 digits[digitsIndex] = codeUnit - 48;
91010 }
91011 indexAfterPrecision = textIndex + 10;
91012 if (indexAfterPrecision >= t1) {
91013 _this._serialize0$_buffer.write$1(0, text);
91014 return;
91015 }
91016 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
91017 digitsIndex1 = digitsIndex0 + 1;
91018 textIndex0 = textIndex + 1;
91019 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
91020 }
91021 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
91022 for (; true; digitsIndex0 = digitsIndex1) {
91023 digitsIndex1 = digitsIndex0 - 1;
91024 newDigit = digits[digitsIndex1] + 1;
91025 digits[digitsIndex1] = newDigit;
91026 if (newDigit !== 10)
91027 break;
91028 }
91029 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
91030 digits[digitsIndex0] = 0;
91031 while (true) {
91032 t1 = digitsIndex0 > digitsIndex;
91033 if (!(t1 && digits[digitsIndex0 - 1] === 0))
91034 break;
91035 --digitsIndex0;
91036 }
91037 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
91038 _this._serialize0$_buffer.writeCharCode$1(48);
91039 return;
91040 }
91041 if (negative)
91042 _this._serialize0$_buffer.writeCharCode$1(45);
91043 if (digits[0] === 0)
91044 writtenIndex = _this._serialize0$_style === B.OutputStyle_compressed0 && digits[1] === 0 ? 2 : 1;
91045 else
91046 writtenIndex = 0;
91047 for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
91048 t2.writeCharCode$1(48 + digits[writtenIndex]);
91049 if (t1) {
91050 t2.writeCharCode$1(46);
91051 for (; writtenIndex < digitsIndex0; ++writtenIndex)
91052 t2.writeCharCode$1(48 + digits[writtenIndex]);
91053 }
91054 },
91055 _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
91056 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
91057 buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
91058 if (forceDoubleQuote)
91059 buffer.writeCharCode$1(34);
91060 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
91061 char = B.JSString_methods._codeUnitAt$1(string, i);
91062 switch (char) {
91063 case 39:
91064 if (forceDoubleQuote)
91065 buffer.writeCharCode$1(39);
91066 else {
91067 if (includesDoubleQuote) {
91068 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
91069 return;
91070 } else
91071 buffer.writeCharCode$1(39);
91072 includesSingleQuote = true;
91073 }
91074 break;
91075 case 34:
91076 if (forceDoubleQuote) {
91077 buffer.writeCharCode$1(92);
91078 buffer.writeCharCode$1(34);
91079 } else {
91080 if (includesSingleQuote) {
91081 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
91082 return;
91083 } else
91084 buffer.writeCharCode$1(34);
91085 includesDoubleQuote = true;
91086 }
91087 break;
91088 case 0:
91089 case 1:
91090 case 2:
91091 case 3:
91092 case 4:
91093 case 5:
91094 case 6:
91095 case 7:
91096 case 8:
91097 case 10:
91098 case 11:
91099 case 12:
91100 case 13:
91101 case 14:
91102 case 15:
91103 case 16:
91104 case 17:
91105 case 18:
91106 case 19:
91107 case 20:
91108 case 21:
91109 case 22:
91110 case 23:
91111 case 24:
91112 case 25:
91113 case 26:
91114 case 27:
91115 case 28:
91116 case 29:
91117 case 30:
91118 case 31:
91119 _this._serialize0$_writeEscape$4(buffer, char, string, i);
91120 break;
91121 case 92:
91122 buffer.writeCharCode$1(92);
91123 buffer.writeCharCode$1(92);
91124 break;
91125 default:
91126 newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
91127 if (newIndex != null) {
91128 i = newIndex;
91129 break;
91130 }
91131 buffer.writeCharCode$1(char);
91132 break;
91133 }
91134 }
91135 if (forceDoubleQuote)
91136 buffer.writeCharCode$1(34);
91137 else {
91138 quote = includesDoubleQuote ? 39 : 34;
91139 t1 = _this._serialize0$_buffer;
91140 t1.writeCharCode$1(quote);
91141 t1.write$1(0, buffer);
91142 t1.writeCharCode$1(quote);
91143 }
91144 },
91145 _serialize0$_visitQuotedString$1(string) {
91146 return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
91147 },
91148 _serialize0$_visitUnquotedString$1(string) {
91149 var t1, t2, afterNewline, i, char, newIndex;
91150 for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
91151 char = B.JSString_methods._codeUnitAt$1(string, i);
91152 switch (char) {
91153 case 10:
91154 t2.writeCharCode$1(32);
91155 afterNewline = true;
91156 break;
91157 case 32:
91158 if (!afterNewline)
91159 t2.writeCharCode$1(32);
91160 break;
91161 default:
91162 newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
91163 if (newIndex != null) {
91164 i = newIndex;
91165 afterNewline = false;
91166 break;
91167 }
91168 t2.writeCharCode$1(char);
91169 afterNewline = false;
91170 break;
91171 }
91172 }
91173 },
91174 _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
91175 var t1;
91176 if (this._serialize0$_style === B.OutputStyle_compressed0)
91177 return null;
91178 if (codeUnit >= 57344 && codeUnit <= 63743) {
91179 this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
91180 return i;
91181 }
91182 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
91183 t1 = i + 1;
91184 this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
91185 return t1;
91186 }
91187 return null;
91188 },
91189 _serialize0$_writeEscape$4(buffer, character, string, i) {
91190 var t1, next;
91191 buffer.writeCharCode$1(92);
91192 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
91193 t1 = i + 1;
91194 if (string.length === t1)
91195 return;
91196 next = B.JSString_methods._codeUnitAt$1(string, t1);
91197 if (A.isHex0(next) || next === 32 || next === 9)
91198 buffer.writeCharCode$1(32);
91199 },
91200 visitComplexSelector$1(complex) {
91201 var t1, t2, t3, t4, lastComponent, _i, component, t5;
91202 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) {
91203 component = t1[_i];
91204 if (lastComponent != null)
91205 if (!(t4 && lastComponent instanceof A.Combinator0))
91206 t5 = !(t4 && component instanceof A.Combinator0);
91207 else
91208 t5 = false;
91209 else
91210 t5 = false;
91211 if (t5)
91212 t3.write$1(0, " ");
91213 if (component instanceof A.CompoundSelector0)
91214 this.visitCompoundSelector$1(component);
91215 else
91216 t3.write$1(0, component);
91217 }
91218 },
91219 visitCompoundSelector$1(compound) {
91220 var t2, t3, _i,
91221 t1 = this._serialize0$_buffer,
91222 start = t1.get$length(t1);
91223 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
91224 t2[_i].accept$1(this);
91225 if (t1.get$length(t1) === start)
91226 t1.writeCharCode$1(42);
91227 },
91228 visitSelectorList$1(list) {
91229 var t1, t2, t3, t4, first, t5, _this = this,
91230 complexes = list.components;
91231 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();) {
91232 t5 = t1.get$current(t1);
91233 if (first)
91234 first = false;
91235 else {
91236 t3.writeCharCode$1(44);
91237 if (t5.lineBreak) {
91238 if (t2)
91239 t3.write$1(0, t4);
91240 } else if (t2)
91241 t3.writeCharCode$1(32);
91242 }
91243 _this.visitComplexSelector$1(t5);
91244 }
91245 },
91246 visitPseudoSelector$1(pseudo) {
91247 var t3, t4, t5,
91248 innerSelector = pseudo.selector,
91249 t1 = innerSelector == null,
91250 t2 = !t1;
91251 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
91252 return;
91253 t3 = this._serialize0$_buffer;
91254 t3.writeCharCode$1(58);
91255 if (!pseudo.isSyntacticClass)
91256 t3.writeCharCode$1(58);
91257 t3.write$1(0, pseudo.name);
91258 t4 = pseudo.argument;
91259 t5 = t4 == null;
91260 if (t5 && t1)
91261 return;
91262 t3.writeCharCode$1(40);
91263 if (!t5) {
91264 t3.write$1(0, t4);
91265 if (t2)
91266 t3.writeCharCode$1(32);
91267 }
91268 if (t2)
91269 this.visitSelectorList$1(innerSelector);
91270 t3.writeCharCode$1(41);
91271 },
91272 _serialize0$_write$1(value) {
91273 return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
91274 },
91275 _serialize0$_visitChildren$1(children) {
91276 var _this = this, t1 = {},
91277 t2 = _this._serialize0$_buffer;
91278 t2.writeCharCode$1(123);
91279 if (children.every$1(children, _this.get$_serialize0$_isInvisible())) {
91280 t2.writeCharCode$1(125);
91281 return;
91282 }
91283 _this._serialize0$_writeLineFeed$0();
91284 t1.previous_ = null;
91285 ++_this._serialize0$_indentation;
91286 new A._SerializeVisitor__visitChildren_closure0(t1, _this, children).call$0();
91287 --_this._serialize0$_indentation;
91288 t1 = t1.previous_;
91289 t1.toString;
91290 if ((type$.CssParentNode_2._is(t1) ? t1.get$isChildless() : !type$.CssComment_2._is(t1)) && _this._serialize0$_style !== B.OutputStyle_compressed0)
91291 t2.writeCharCode$1(59);
91292 _this._serialize0$_writeLineFeed$0();
91293 _this._serialize0$_writeIndentation$0();
91294 t2.writeCharCode$1(125);
91295 },
91296 _serialize0$_writeLineFeed$0() {
91297 if (this._serialize0$_style !== B.OutputStyle_compressed0)
91298 this._serialize0$_buffer.write$1(0, this._lineFeed.text);
91299 },
91300 _serialize0$_writeIndentation$0() {
91301 var _this = this;
91302 if (_this._serialize0$_style === B.OutputStyle_compressed0)
91303 return;
91304 _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
91305 },
91306 _serialize0$_writeTimes$2(char, times) {
91307 var t1, i;
91308 for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
91309 t1.writeCharCode$1(char);
91310 },
91311 _serialize0$_writeBetween$1$3(iterable, text, callback) {
91312 var t1, t2, first, value;
91313 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
91314 value = t1.get$current(t1);
91315 if (first)
91316 first = false;
91317 else
91318 t2.write$1(0, text);
91319 callback.call$1(value);
91320 }
91321 },
91322 _serialize0$_writeBetween$3(iterable, text, callback) {
91323 return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
91324 },
91325 _serialize0$_isInvisible$1(node) {
91326 if (this._serialize0$_inspect)
91327 return false;
91328 if (this._serialize0$_style === B.OutputStyle_compressed0 && type$.CssComment_2._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
91329 return true;
91330 if (type$.CssParentNode_2._is(node)) {
91331 if (type$.CssAtRule_2._is(node))
91332 return false;
91333 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
91334 return true;
91335 return J.every$1$ax(node.get$children(node), this.get$_serialize0$_isInvisible());
91336 } else
91337 return false;
91338 }
91339 };
91340 A._SerializeVisitor_visitCssComment_closure0.prototype = {
91341 call$0() {
91342 var t2, t3, minimumIndentation,
91343 t1 = this.$this;
91344 if (t1._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
91345 return;
91346 t2 = this.node;
91347 t3 = t2.text;
91348 minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
91349 if (minimumIndentation == null) {
91350 t1._serialize0$_writeIndentation$0();
91351 t1._serialize0$_buffer.write$1(0, t3);
91352 return;
91353 }
91354 t2 = t2.span;
91355 t2 = A.FileLocation$_(t2.file, t2._file$_start);
91356 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
91357 t1._serialize0$_writeIndentation$0();
91358 t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
91359 },
91360 $signature: 1
91361 };
91362 A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
91363 call$0() {
91364 var t3, value,
91365 t1 = this.$this,
91366 t2 = t1._serialize0$_buffer;
91367 t2.writeCharCode$1(64);
91368 t3 = this.node;
91369 t1._serialize0$_write$1(t3.name);
91370 value = t3.value;
91371 if (value != null) {
91372 t2.writeCharCode$1(32);
91373 t1._serialize0$_write$1(value);
91374 }
91375 },
91376 $signature: 1
91377 };
91378 A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
91379 call$0() {
91380 var t3, t4,
91381 t1 = this.$this,
91382 t2 = t1._serialize0$_buffer;
91383 t2.write$1(0, "@media");
91384 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
91385 if (t3) {
91386 t4 = B.JSArray_methods.get$first(this.node.queries);
91387 t4 = !(t4.modifier == null && t4.type == null);
91388 } else
91389 t4 = true;
91390 if (t4)
91391 t2.writeCharCode$1(32);
91392 t2 = t3 ? "," : ", ";
91393 t1._serialize0$_writeBetween$3(this.node.queries, t2, t1.get$_serialize0$_visitMediaQuery());
91394 },
91395 $signature: 1
91396 };
91397 A._SerializeVisitor_visitCssImport_closure0.prototype = {
91398 call$0() {
91399 var t3, t4, t5, modifiers,
91400 t1 = this.$this,
91401 t2 = t1._serialize0$_buffer;
91402 t2.write$1(0, "@import");
91403 t3 = t1._serialize0$_style !== B.OutputStyle_compressed0;
91404 if (t3)
91405 t2.writeCharCode$1(32);
91406 t4 = this.node;
91407 t5 = t4.url;
91408 t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
91409 modifiers = t4.modifiers;
91410 if (modifiers != null) {
91411 if (t3)
91412 t2.writeCharCode$1(32);
91413 t2.write$1(0, modifiers);
91414 }
91415 },
91416 $signature: 1
91417 };
91418 A._SerializeVisitor_visitCssImport__closure0.prototype = {
91419 call$0() {
91420 var t1 = this.node.url;
91421 return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
91422 },
91423 $signature: 0
91424 };
91425 A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
91426 call$0() {
91427 var t1 = this.$this,
91428 t2 = t1._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ",
91429 t3 = t1._serialize0$_buffer;
91430 return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
91431 },
91432 $signature: 0
91433 };
91434 A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
91435 call$0() {
91436 return this.$this.visitSelectorList$1(this.node.selector.value);
91437 },
91438 $signature: 0
91439 };
91440 A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
91441 call$0() {
91442 var t1 = this.$this,
91443 t2 = t1._serialize0$_buffer;
91444 t2.write$1(0, "@supports");
91445 if (!(t1._serialize0$_style === B.OutputStyle_compressed0 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
91446 t2.writeCharCode$1(32);
91447 t1._serialize0$_write$1(this.node.condition);
91448 },
91449 $signature: 1
91450 };
91451 A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
91452 call$0() {
91453 var t1 = this.$this,
91454 t2 = this.node;
91455 if (t1._serialize0$_style === B.OutputStyle_compressed0)
91456 t1._serialize0$_writeFoldedValue$1(t2);
91457 else
91458 t1._serialize0$_writeReindentedValue$1(t2);
91459 },
91460 $signature: 1
91461 };
91462 A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
91463 call$0() {
91464 var t1 = this.node.value;
91465 return t1.get$value(t1).accept$1(this.$this);
91466 },
91467 $signature: 0
91468 };
91469 A._SerializeVisitor_visitList_closure2.prototype = {
91470 call$1(element) {
91471 return !element.get$isBlank();
91472 },
91473 $signature: 49
91474 };
91475 A._SerializeVisitor_visitList_closure3.prototype = {
91476 call$1(element) {
91477 var t1 = this.$this,
91478 needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
91479 if (needsParens)
91480 t1._serialize0$_buffer.writeCharCode$1(40);
91481 element.accept$1(t1);
91482 if (needsParens)
91483 t1._serialize0$_buffer.writeCharCode$1(41);
91484 },
91485 $signature: 53
91486 };
91487 A._SerializeVisitor_visitList_closure4.prototype = {
91488 call$1(element) {
91489 element.accept$1(this.$this);
91490 },
91491 $signature: 53
91492 };
91493 A._SerializeVisitor_visitMap_closure0.prototype = {
91494 call$1(entry) {
91495 var t1 = this.$this;
91496 t1._serialize0$_writeMapElement$1(entry.key);
91497 t1._serialize0$_buffer.write$1(0, ": ");
91498 t1._serialize0$_writeMapElement$1(entry.value);
91499 },
91500 $signature: 516
91501 };
91502 A._SerializeVisitor_visitSelectorList_closure0.prototype = {
91503 call$1(complex) {
91504 return !complex.get$isInvisible();
91505 },
91506 $signature: 20
91507 };
91508 A._SerializeVisitor__write_closure0.prototype = {
91509 call$0() {
91510 var t1 = this.value;
91511 return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
91512 },
91513 $signature: 0
91514 };
91515 A._SerializeVisitor__visitChildren_closure0.prototype = {
91516 call$0() {
91517 var t1, t2, t3, t4, t5, t6, t7, t8, i, child, previous, t9;
91518 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) {
91519 child = t2.elementAt$1(t1, i);
91520 if (t4._serialize0$_isInvisible$1(child))
91521 continue;
91522 previous = t3.previous_;
91523 if (previous != null) {
91524 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
91525 t7.writeCharCode$1(59);
91526 t9 = t4._serialize0$_style !== B.OutputStyle_compressed0;
91527 if (t9)
91528 t7.write$1(0, t8);
91529 if (previous.get$isGroupEnd())
91530 if (t9)
91531 t7.write$1(0, t8);
91532 }
91533 t3.previous_ = child;
91534 child.accept$1(t4);
91535 }
91536 },
91537 $signature: 0
91538 };
91539 A.OutputStyle0.prototype = {
91540 toString$0(_) {
91541 return this._serialize0$_name;
91542 }
91543 };
91544 A.LineFeed0.prototype = {
91545 toString$0(_) {
91546 return this.name;
91547 }
91548 };
91549 A.SerializeResult0.prototype = {};
91550 A.ShadowedModuleView0.prototype = {
91551 get$url(_) {
91552 var t1 = this._shadowed_view0$_inner;
91553 return t1.get$url(t1);
91554 },
91555 get$upstream() {
91556 return this._shadowed_view0$_inner.get$upstream();
91557 },
91558 get$extensionStore() {
91559 return this._shadowed_view0$_inner.get$extensionStore();
91560 },
91561 get$css(_) {
91562 var t1 = this._shadowed_view0$_inner;
91563 return t1.get$css(t1);
91564 },
91565 get$transitivelyContainsCss() {
91566 return this._shadowed_view0$_inner.get$transitivelyContainsCss();
91567 },
91568 get$transitivelyContainsExtensions() {
91569 return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
91570 },
91571 setVariable$3($name, value, nodeWithSpan) {
91572 if (!this.variables.containsKey$1($name))
91573 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
91574 else
91575 return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
91576 },
91577 variableIdentity$1($name) {
91578 return this._shadowed_view0$_inner.variableIdentity$1($name);
91579 },
91580 $eq(_, other) {
91581 var t1, t2, _this = this;
91582 if (other == null)
91583 return false;
91584 if (other instanceof A.ShadowedModuleView0)
91585 if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
91586 t1 = _this.variables;
91587 t1 = t1.get$keys(t1);
91588 t2 = other.variables;
91589 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91590 t1 = _this.functions;
91591 t1 = t1.get$keys(t1);
91592 t2 = other.functions;
91593 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91594 t1 = _this.mixins;
91595 t1 = t1.get$keys(t1);
91596 t2 = other.mixins;
91597 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
91598 t1 = t2;
91599 } else
91600 t1 = false;
91601 } else
91602 t1 = false;
91603 } else
91604 t1 = false;
91605 else
91606 t1 = false;
91607 return t1;
91608 },
91609 get$hashCode(_) {
91610 var t1 = this._shadowed_view0$_inner;
91611 return t1.get$hashCode(t1);
91612 },
91613 cloneCss$0() {
91614 var _this = this;
91615 return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
91616 },
91617 toString$0(_) {
91618 return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
91619 },
91620 $isModule0: 1,
91621 get$variables() {
91622 return this.variables;
91623 },
91624 get$variableNodes() {
91625 return this.variableNodes;
91626 },
91627 get$functions(receiver) {
91628 return this.functions;
91629 },
91630 get$mixins() {
91631 return this.mixins;
91632 }
91633 };
91634 A.SilentComment0.prototype = {
91635 accept$1$1(visitor) {
91636 return visitor.visitSilentComment$1(this);
91637 },
91638 accept$1(visitor) {
91639 return this.accept$1$1(visitor, type$.dynamic);
91640 },
91641 toString$0(_) {
91642 return this.text;
91643 },
91644 $isAstNode0: 1,
91645 $isStatement0: 1,
91646 get$span(receiver) {
91647 return this.span;
91648 }
91649 };
91650 A.SimpleSelector0.prototype = {
91651 get$minSpecificity() {
91652 return 1000;
91653 },
91654 get$maxSpecificity() {
91655 return this.get$minSpecificity();
91656 },
91657 addSuffix$1(suffix) {
91658 return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"'));
91659 },
91660 unify$1(compound) {
91661 var other, t1, result, addedThis, _i, simple, _this = this;
91662 if (compound.length === 1) {
91663 other = B.JSArray_methods.get$first(compound);
91664 if (!(other instanceof A.UniversalSelector0))
91665 if (other instanceof A.PseudoSelector0)
91666 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
91667 else
91668 t1 = false;
91669 else
91670 t1 = true;
91671 if (t1)
91672 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
91673 }
91674 if (B.JSArray_methods.contains$1(compound, _this))
91675 return compound;
91676 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
91677 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
91678 simple = compound[_i];
91679 if (!addedThis && simple instanceof A.PseudoSelector0) {
91680 result.push(_this);
91681 addedThis = true;
91682 }
91683 result.push(simple);
91684 }
91685 if (!addedThis)
91686 result.push(_this);
91687 return result;
91688 }
91689 };
91690 A.SingleUnitSassNumber0.prototype = {
91691 get$numeratorUnits(_) {
91692 return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
91693 },
91694 get$denominatorUnits(_) {
91695 return B.List_empty;
91696 },
91697 get$hasUnits() {
91698 return true;
91699 },
91700 withValue$1(value) {
91701 return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
91702 },
91703 withSlash$2(numerator, denominator) {
91704 return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
91705 },
91706 hasUnit$1(unit) {
91707 return unit === this._single_unit$_unit;
91708 },
91709 hasCompatibleUnits$1(other) {
91710 return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
91711 },
91712 hasPossiblyCompatibleUnits$1(other) {
91713 var t1, knownCompatibilities, otherUnit;
91714 if (!(other instanceof A.SingleUnitSassNumber0))
91715 return false;
91716 t1 = $.$get$_knownCompatibilitiesByUnit0();
91717 knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
91718 if (knownCompatibilities == null)
91719 return true;
91720 otherUnit = other._single_unit$_unit.toLowerCase();
91721 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
91722 },
91723 compatibleWithUnit$1(unit) {
91724 return A.conversionFactor0(this._single_unit$_unit, unit) != null;
91725 },
91726 coerceToMatch$3(other, $name, otherName) {
91727 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91728 return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
91729 },
91730 coerceValueToMatch$3(other, $name, otherName) {
91731 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91732 return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
91733 },
91734 coerceValueToMatch$1(other) {
91735 return this.coerceValueToMatch$3(other, null, null);
91736 },
91737 convertToMatch$3(other, $name, otherName) {
91738 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91739 return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
91740 },
91741 convertValueToMatch$3(other, $name, otherName) {
91742 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91743 return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
91744 },
91745 coerce$3(newNumerators, newDenominators, $name) {
91746 var t1 = J.getInterceptor$asx(newNumerators);
91747 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
91748 return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
91749 },
91750 coerce$2(newNumerators, newDenominators) {
91751 return this.coerce$3(newNumerators, newDenominators, null);
91752 },
91753 coerceValue$3(newNumerators, newDenominators, $name) {
91754 var t1 = J.getInterceptor$asx(newNumerators);
91755 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
91756 return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
91757 },
91758 coerceValueToUnit$2(unit, $name) {
91759 var t1 = this._single_unit$_coerceValueToUnit$1(unit);
91760 return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
91761 },
91762 _single_unit$_coerceToUnit$1(unit) {
91763 var t1 = this._single_unit$_unit;
91764 if (t1 === unit)
91765 return this;
91766 return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
91767 },
91768 _single_unit$_coerceValueToUnit$1(unit) {
91769 return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
91770 },
91771 multiplyUnits$3(value, otherNumerators, otherDenominators) {
91772 var mutableOtherDenominators, t1 = {};
91773 t1.value = value;
91774 t1.newNumerators = otherNumerators;
91775 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
91776 A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
91777 return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
91778 },
91779 unaryMinus$0() {
91780 return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
91781 },
91782 $eq(_, other) {
91783 var factor;
91784 if (other == null)
91785 return false;
91786 if (other instanceof A.SingleUnitSassNumber0) {
91787 factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
91788 return factor != null && Math.abs(this._number1$_value * factor - other._number1$_value) < $.$get$epsilon0();
91789 } else
91790 return false;
91791 },
91792 get$hashCode(_) {
91793 var _this = this,
91794 t1 = _this.hashCache;
91795 return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
91796 }
91797 };
91798 A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
91799 call$1(factor) {
91800 return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
91801 },
91802 $signature: 517
91803 };
91804 A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
91805 call$1(factor) {
91806 return this.$this._number1$_value * factor;
91807 },
91808 $signature: 73
91809 };
91810 A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
91811 call$1(denominator) {
91812 var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
91813 if (factor == null)
91814 return false;
91815 this._box_0.value *= factor;
91816 return true;
91817 },
91818 $signature: 6
91819 };
91820 A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
91821 call$0() {
91822 var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
91823 t2 = this._box_0;
91824 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
91825 t2.newNumerators = t1;
91826 },
91827 $signature: 0
91828 };
91829 A.SourceMapBuffer0.prototype = {
91830 get$_source_map_buffer0$_targetLocation() {
91831 var t1 = this._source_map_buffer0$_buffer._contents,
91832 t2 = this._source_map_buffer0$_line;
91833 return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
91834 },
91835 get$length(_) {
91836 return this._source_map_buffer0$_buffer._contents.length;
91837 },
91838 forSpan$1$2(span, callback) {
91839 var t1, _this = this,
91840 wasInSpan = _this._source_map_buffer0$_inSpan;
91841 _this._source_map_buffer0$_inSpan = true;
91842 _this._source_map_buffer0$_addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_source_map_buffer0$_targetLocation());
91843 try {
91844 t1 = callback.call$0();
91845 return t1;
91846 } finally {
91847 _this._source_map_buffer0$_inSpan = wasInSpan;
91848 }
91849 },
91850 forSpan$2(span, callback) {
91851 return this.forSpan$1$2(span, callback, type$.dynamic);
91852 },
91853 _source_map_buffer0$_addEntry$2(source, target) {
91854 var entry, t2,
91855 t1 = this._source_map_buffer0$_entries;
91856 if (t1.length !== 0) {
91857 entry = B.JSArray_methods.get$last(t1);
91858 t2 = entry.source;
91859 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
91860 return;
91861 if (entry.target.offset === target.offset)
91862 return;
91863 }
91864 t1.push(new A.Entry(source, target, null));
91865 },
91866 write$1(_, object) {
91867 var t1, i,
91868 string = J.toString$0$(object);
91869 this._source_map_buffer0$_buffer._contents += string;
91870 for (t1 = string.length, i = 0; i < t1; ++i)
91871 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
91872 this._source_map_buffer0$_writeLine$0();
91873 else
91874 ++this._source_map_buffer0$_column;
91875 },
91876 writeCharCode$1(charCode) {
91877 this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
91878 if (charCode === 10)
91879 this._source_map_buffer0$_writeLine$0();
91880 else
91881 ++this._source_map_buffer0$_column;
91882 },
91883 _source_map_buffer0$_writeLine$0() {
91884 var _this = this,
91885 t1 = _this._source_map_buffer0$_entries;
91886 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)
91887 t1.pop();
91888 ++_this._source_map_buffer0$_line;
91889 _this._source_map_buffer0$_column = 0;
91890 if (_this._source_map_buffer0$_inSpan)
91891 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
91892 },
91893 toString$0(_) {
91894 var t1 = this._source_map_buffer0$_buffer._contents;
91895 return t1.charCodeAt(0) == 0 ? t1 : t1;
91896 },
91897 buildSourceMap$1$prefix(prefix) {
91898 var i, t2, prefixColumn, _box_0 = {},
91899 t1 = prefix.length;
91900 if (t1 === 0)
91901 return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
91902 _box_0.prefixColumn = _box_0.prefixLines = 0;
91903 for (i = 0, t2 = 0; i < t1; ++i)
91904 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
91905 ++_box_0.prefixLines;
91906 _box_0.prefixColumn = 0;
91907 t2 = 0;
91908 } else {
91909 prefixColumn = t2 + 1;
91910 _box_0.prefixColumn = prefixColumn;
91911 t2 = prefixColumn;
91912 }
91913 t2 = this._source_map_buffer0$_entries;
91914 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>")));
91915 }
91916 };
91917 A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
91918 call$1(entry) {
91919 var t1 = entry.source,
91920 t2 = entry.target,
91921 t3 = t2.line,
91922 t4 = this._box_0,
91923 t5 = t4.prefixLines;
91924 t4 = t3 === 0 ? t4.prefixColumn : 0;
91925 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
91926 },
91927 $signature: 169
91928 };
91929 A.updateSourceSpanPrototype_closure.prototype = {
91930 call$1(span) {
91931 return A.FileLocation$_(span.file, span._file$_start);
91932 },
91933 $signature: 247
91934 };
91935 A.updateSourceSpanPrototype_closure0.prototype = {
91936 call$1(span) {
91937 return A.FileLocation$_(span.file, span._end);
91938 },
91939 $signature: 247
91940 };
91941 A.updateSourceSpanPrototype_closure1.prototype = {
91942 call$1(span) {
91943 return A.NullableExtension_andThen0(span.file.url, A.utils1__dartToJSUrl$closure());
91944 },
91945 $signature: 519
91946 };
91947 A.updateSourceSpanPrototype_closure2.prototype = {
91948 call$1(span) {
91949 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
91950 },
91951 $signature: 248
91952 };
91953 A.updateSourceSpanPrototype_closure3.prototype = {
91954 call$1(span) {
91955 return span.get$context(span);
91956 },
91957 $signature: 248
91958 };
91959 A.updateSourceSpanPrototype_closure4.prototype = {
91960 call$1($location) {
91961 return $location.get$line();
91962 },
91963 $signature: 249
91964 };
91965 A.updateSourceSpanPrototype_closure5.prototype = {
91966 call$1($location) {
91967 return $location.get$column();
91968 },
91969 $signature: 249
91970 };
91971 A.StatementSearchVisitor0.prototype = {
91972 visitAtRootRule$1(node) {
91973 return this.visitChildren$1(node.children);
91974 },
91975 visitAtRule$1(node) {
91976 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91977 },
91978 visitContentBlock$1(node) {
91979 return this.visitChildren$1(node.children);
91980 },
91981 visitDebugRule$1(node) {
91982 return null;
91983 },
91984 visitDeclaration$1(node) {
91985 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91986 },
91987 visitEachRule$1(node) {
91988 return this.visitChildren$1(node.children);
91989 },
91990 visitErrorRule$1(node) {
91991 return null;
91992 },
91993 visitExtendRule$1(node) {
91994 return null;
91995 },
91996 visitForRule$1(node) {
91997 return this.visitChildren$1(node.children);
91998 },
91999 visitForwardRule$1(node) {
92000 return null;
92001 },
92002 visitFunctionRule$1(node) {
92003 return this.visitChildren$1(node.children);
92004 },
92005 visitIfRule$1(node) {
92006 var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
92007 return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
92008 },
92009 visitImportRule$1(node) {
92010 return null;
92011 },
92012 visitIncludeRule$1(node) {
92013 return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
92014 },
92015 visitLoudComment$1(node) {
92016 return null;
92017 },
92018 visitMediaRule$1(node) {
92019 return this.visitChildren$1(node.children);
92020 },
92021 visitMixinRule$1(node) {
92022 return this.visitChildren$1(node.children);
92023 },
92024 visitReturnRule$1(node) {
92025 return null;
92026 },
92027 visitSilentComment$1(node) {
92028 return null;
92029 },
92030 visitStyleRule$1(node) {
92031 return this.visitChildren$1(node.children);
92032 },
92033 visitStylesheet$1(node) {
92034 return this.visitChildren$1(node.children);
92035 },
92036 visitSupportsRule$1(node) {
92037 return this.visitChildren$1(node.children);
92038 },
92039 visitUseRule$1(node) {
92040 return null;
92041 },
92042 visitVariableDeclaration$1(node) {
92043 return null;
92044 },
92045 visitWarnRule$1(node) {
92046 return null;
92047 },
92048 visitWhileRule$1(node) {
92049 return this.visitChildren$1(node.children);
92050 },
92051 visitChildren$1(children) {
92052 return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
92053 }
92054 };
92055 A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
92056 call$1(clause) {
92057 return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
92058 },
92059 $signature() {
92060 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
92061 }
92062 };
92063 A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
92064 call$1(child) {
92065 return child.accept$1(this.$this);
92066 },
92067 $signature() {
92068 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92069 }
92070 };
92071 A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
92072 call$1(lastClause) {
92073 return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
92074 },
92075 $signature() {
92076 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
92077 }
92078 };
92079 A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
92080 call$1(child) {
92081 return child.accept$1(this.$this);
92082 },
92083 $signature() {
92084 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92085 }
92086 };
92087 A.StatementSearchVisitor_visitChildren_closure0.prototype = {
92088 call$1(child) {
92089 return child.accept$1(this.$this);
92090 },
92091 $signature() {
92092 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92093 }
92094 };
92095 A.StaticImport0.prototype = {
92096 toString$0(_) {
92097 var t1 = this.url.toString$0(0),
92098 t2 = this.modifiers;
92099 return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
92100 },
92101 $isImport0: 1,
92102 $isAstNode0: 1,
92103 get$span(receiver) {
92104 return this.span;
92105 }
92106 };
92107 A.StderrLogger0.prototype = {
92108 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
92109 var t2, t3, t4,
92110 t1 = this.color;
92111 if (t1) {
92112 t2 = $.$get$stderr0();
92113 t3 = t2._node0$_stderr;
92114 t4 = J.getInterceptor$x(t3);
92115 t4.write$1(t3, "\x1b[33m\x1b[1m");
92116 if (deprecation)
92117 t4.write$1(t3, "Deprecation ");
92118 t4.write$1(t3, "Warning\x1b[0m");
92119 } else {
92120 if (deprecation)
92121 J.write$1$x($.$get$stderr0()._node0$_stderr, "DEPRECATION ");
92122 t2 = $.$get$stderr0();
92123 J.write$1$x(t2._node0$_stderr, "WARNING");
92124 }
92125 if (span == null)
92126 t2.writeln$1(": " + message);
92127 else if (trace != null)
92128 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
92129 else
92130 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
92131 if (trace != null)
92132 t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
92133 t2.writeln$0();
92134 },
92135 warn$1($receiver, message) {
92136 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
92137 },
92138 warn$2$span($receiver, message, span) {
92139 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
92140 },
92141 warn$2$deprecation($receiver, message, deprecation) {
92142 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
92143 },
92144 warn$3$deprecation$span($receiver, message, deprecation, span) {
92145 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
92146 },
92147 warn$2$trace($receiver, message, trace) {
92148 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
92149 },
92150 debug$2(_, message, span) {
92151 var url, t3, t4,
92152 t1 = span.file,
92153 t2 = span._file$_start;
92154 if (A.FileLocation$_(t1, t2).file.url == null)
92155 url = "-";
92156 else {
92157 t3 = A.FileLocation$_(t1, t2);
92158 url = $.$get$context().prettyUri$1(t3.file.url);
92159 }
92160 t3 = $.$get$stderr0();
92161 t2 = A.FileLocation$_(t1, t2);
92162 t2 = t2.file.getLine$1(t2.offset);
92163 t1 = t3._node0$_stderr;
92164 t4 = J.getInterceptor$x(t1);
92165 t4.write$1(t1, url + ":" + (t2 + 1) + " ");
92166 t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
92167 t3.writeln$1(": " + message);
92168 }
92169 };
92170 A.StringExpression0.prototype = {
92171 get$span(_) {
92172 return this.text.span;
92173 },
92174 accept$1$1(visitor) {
92175 return visitor.visitStringExpression$1(this);
92176 },
92177 accept$1(visitor) {
92178 return this.accept$1$1(visitor, type$.dynamic);
92179 },
92180 asInterpolation$1$static($static) {
92181 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
92182 if (!this.hasQuotes)
92183 return this.text;
92184 t1 = this.text;
92185 t2 = t1.contents;
92186 quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
92187 t3 = new A.StringBuffer("");
92188 t4 = A._setArrayType([], type$.JSArray_Object);
92189 buffer = new A.InterpolationBuffer0(t3, t4);
92190 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
92191 for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
92192 value = t2[_i];
92193 if (t6._is(value)) {
92194 buffer._interpolation_buffer0$_flushText$0();
92195 t4.push(value);
92196 } else if (typeof value == "string")
92197 A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
92198 }
92199 t3._contents += A.Primitives_stringFromCharCode(quote);
92200 return buffer.interpolation$1(t1.span);
92201 },
92202 asInterpolation$0() {
92203 return this.asInterpolation$1$static(false);
92204 },
92205 toString$0(_) {
92206 return this.asInterpolation$0().toString$0(0);
92207 },
92208 $isExpression0: 1,
92209 $isAstNode0: 1
92210 };
92211 A._unquote_closure0.prototype = {
92212 call$1($arguments) {
92213 var string = J.$index$asx($arguments, 0).assertString$1("string");
92214 if (!string._string0$_hasQuotes)
92215 return string;
92216 return new A.SassString0(string._string0$_text, false);
92217 },
92218 $signature: 13
92219 };
92220 A._quote_closure0.prototype = {
92221 call$1($arguments) {
92222 var string = J.$index$asx($arguments, 0).assertString$1("string");
92223 if (string._string0$_hasQuotes)
92224 return string;
92225 return new A.SassString0(string._string0$_text, true);
92226 },
92227 $signature: 13
92228 };
92229 A._length_closure1.prototype = {
92230 call$1($arguments) {
92231 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength();
92232 return new A.UnitlessSassNumber0(t1, null);
92233 },
92234 $signature: 10
92235 };
92236 A._insert_closure0.prototype = {
92237 call$1($arguments) {
92238 var indexInt, codeUnitIndex, _s5_ = "index",
92239 t1 = J.getInterceptor$asx($arguments),
92240 string = t1.$index($arguments, 0).assertString$1("string"),
92241 insert = t1.$index($arguments, 1).assertString$1("insert"),
92242 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
92243 index.assertNoUnits$1(_s5_);
92244 indexInt = index.assertInt$1(_s5_);
92245 if (indexInt < 0)
92246 indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
92247 t1 = string._string0$_text;
92248 codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
92249 return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
92250 },
92251 $signature: 13
92252 };
92253 A._index_closure1.prototype = {
92254 call$1($arguments) {
92255 var codepointIndex,
92256 t1 = J.getInterceptor$asx($arguments),
92257 t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
92258 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
92259 if (codeUnitIndex === -1)
92260 return B.C__SassNull0;
92261 codepointIndex = A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex);
92262 return new A.UnitlessSassNumber0(codepointIndex + 1, null);
92263 },
92264 $signature: 3
92265 };
92266 A._slice_closure0.prototype = {
92267 call$1($arguments) {
92268 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
92269 _s8_ = "start-at",
92270 t1 = J.getInterceptor$asx($arguments),
92271 string = t1.$index($arguments, 0).assertString$1("string"),
92272 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
92273 end = t1.$index($arguments, 2).assertNumber$1("end-at");
92274 start.assertNoUnits$1(_s8_);
92275 end.assertNoUnits$1("end-at");
92276 lengthInCodepoints = string.get$_string0$_sassLength();
92277 endInt = end.assertInt$0();
92278 if (endInt === 0)
92279 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92280 startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
92281 endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
92282 if (endCodepoint === lengthInCodepoints)
92283 --endCodepoint;
92284 if (endCodepoint < startCodepoint)
92285 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92286 t1 = string._string0$_text;
92287 return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
92288 },
92289 $signature: 13
92290 };
92291 A._toUpperCase_closure0.prototype = {
92292 call$1($arguments) {
92293 var t1, t2, i, t3, t4,
92294 string = J.$index$asx($arguments, 0).assertString$1("string");
92295 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92296 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92297 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
92298 }
92299 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92300 },
92301 $signature: 13
92302 };
92303 A._toLowerCase_closure0.prototype = {
92304 call$1($arguments) {
92305 var t1, t2, i, t3, t4,
92306 string = J.$index$asx($arguments, 0).assertString$1("string");
92307 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92308 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92309 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
92310 }
92311 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92312 },
92313 $signature: 13
92314 };
92315 A._uniqueId_closure0.prototype = {
92316 call$1($arguments) {
92317 var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
92318 $._previousUniqueId0 = t1;
92319 if (t1 > Math.pow(36, 6))
92320 $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
92321 return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
92322 },
92323 $signature: 13
92324 };
92325 A._NodeSassString.prototype = {};
92326 A.legacyStringClass_closure.prototype = {
92327 call$3(thisArg, value, dartValue) {
92328 var t1;
92329 if (dartValue == null) {
92330 value.toString;
92331 t1 = new A.SassString0(value, false);
92332 } else
92333 t1 = dartValue;
92334 J.set$dartValue$x(thisArg, t1);
92335 },
92336 call$2(thisArg, value) {
92337 return this.call$3(thisArg, value, null);
92338 },
92339 "call*": "call$3",
92340 $requiredArgCount: 2,
92341 $defaultValues() {
92342 return [null];
92343 },
92344 $signature: 522
92345 };
92346 A.legacyStringClass_closure0.prototype = {
92347 call$1(thisArg) {
92348 return J.get$dartValue$x(thisArg)._string0$_text;
92349 },
92350 $signature: 523
92351 };
92352 A.legacyStringClass_closure1.prototype = {
92353 call$2(thisArg, value) {
92354 J.set$dartValue$x(thisArg, new A.SassString0(value, false));
92355 },
92356 $signature: 524
92357 };
92358 A.stringClass_closure.prototype = {
92359 call$0() {
92360 var t2,
92361 t1 = type$.JSClass,
92362 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
92363 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));
92364 J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
92365 t2 = $.$get$_emptyQuoted0();
92366 A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
92367 return jsClass;
92368 },
92369 $signature: 23
92370 };
92371 A.stringClass__closure.prototype = {
92372 call$3($self, textOrOptions, options) {
92373 var t1;
92374 if (typeof textOrOptions == "string") {
92375 t1 = options == null ? null : J.get$quotes$x(options);
92376 t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
92377 } else {
92378 type$.nullable__ConstructorOptions_3._as(textOrOptions);
92379 t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
92380 t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92381 }
92382 return t1;
92383 },
92384 call$1($self) {
92385 return this.call$3($self, null, null);
92386 },
92387 call$2($self, textOrOptions) {
92388 return this.call$3($self, textOrOptions, null);
92389 },
92390 "call*": "call$3",
92391 $requiredArgCount: 1,
92392 $defaultValues() {
92393 return [null, null];
92394 },
92395 $signature: 525
92396 };
92397 A.stringClass__closure0.prototype = {
92398 call$1($self) {
92399 return $self._string0$_text;
92400 },
92401 $signature: 526
92402 };
92403 A.stringClass__closure1.prototype = {
92404 call$1($self) {
92405 return $self._string0$_hasQuotes;
92406 },
92407 $signature: 527
92408 };
92409 A.stringClass__closure2.prototype = {
92410 call$1($self) {
92411 return $self.get$_string0$_sassLength();
92412 },
92413 $signature: 528
92414 };
92415 A.stringClass__closure3.prototype = {
92416 call$3($self, sassIndex, $name) {
92417 var t1 = $self._string0$_text,
92418 index = sassIndex.assertNumber$1($name).assertInt$1($name);
92419 if (index === 0)
92420 A.throwExpression($self._string0$_exception$2("String index may not be 0.", $name));
92421 if (Math.abs(index) > $self.get$_string0$_sassLength())
92422 A.throwExpression($self._string0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
92423 return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
92424 },
92425 call$2($self, sassIndex) {
92426 return this.call$3($self, sassIndex, null);
92427 },
92428 "call*": "call$3",
92429 $requiredArgCount: 2,
92430 $defaultValues() {
92431 return [null];
92432 },
92433 $signature: 529
92434 };
92435 A._ConstructorOptions1.prototype = {};
92436 A.SassString0.prototype = {
92437 get$_string0$_sassLength() {
92438 var t1, result, _this = this,
92439 value = _this._string0$__SassString__sassLength;
92440 if (value === $) {
92441 t1 = new A.Runes(_this._string0$_text);
92442 result = t1.get$length(t1);
92443 A._lateInitializeOnceCheck(_this._string0$__SassString__sassLength, "_sassLength");
92444 _this._string0$__SassString__sassLength = result;
92445 value = result;
92446 }
92447 return value;
92448 },
92449 get$isSpecialNumber() {
92450 var t1, t2;
92451 if (this._string0$_hasQuotes)
92452 return false;
92453 t1 = this._string0$_text;
92454 if (t1.length < 6)
92455 return false;
92456 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
92457 if (t2 === 99) {
92458 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92459 if (t2 === 108) {
92460 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
92461 return false;
92462 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
92463 return false;
92464 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
92465 return false;
92466 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
92467 } else if (t2 === 97) {
92468 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
92469 return false;
92470 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
92471 return false;
92472 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
92473 } else
92474 return false;
92475 } else if (t2 === 118) {
92476 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
92477 return false;
92478 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
92479 return false;
92480 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92481 } else if (t2 === 101) {
92482 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
92483 return false;
92484 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
92485 return false;
92486 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92487 } else if (t2 === 109) {
92488 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92489 if (t2 === 97) {
92490 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
92491 return false;
92492 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92493 } else if (t2 === 105) {
92494 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
92495 return false;
92496 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92497 } else
92498 return false;
92499 } else
92500 return false;
92501 },
92502 get$isVar() {
92503 if (this._string0$_hasQuotes)
92504 return false;
92505 var t1 = this._string0$_text;
92506 if (t1.length < 8)
92507 return false;
92508 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;
92509 },
92510 get$isBlank() {
92511 return !this._string0$_hasQuotes && this._string0$_text.length === 0;
92512 },
92513 accept$1$1(visitor) {
92514 var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
92515 t2 = this._string0$_text;
92516 if (t1)
92517 visitor._serialize0$_visitQuotedString$1(t2);
92518 else
92519 visitor._serialize0$_visitUnquotedString$1(t2);
92520 return null;
92521 },
92522 accept$1(visitor) {
92523 return this.accept$1$1(visitor, type$.dynamic);
92524 },
92525 assertString$1($name) {
92526 return this;
92527 },
92528 plus$1(other) {
92529 var t1 = this._string0$_text,
92530 t2 = this._string0$_hasQuotes;
92531 if (other instanceof A.SassString0)
92532 return new A.SassString0(t1 + other._string0$_text, t2);
92533 else
92534 return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
92535 },
92536 $eq(_, other) {
92537 if (other == null)
92538 return false;
92539 return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
92540 },
92541 get$hashCode(_) {
92542 var t1 = this._string0$_hashCache;
92543 return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
92544 },
92545 _string0$_exception$2(message, $name) {
92546 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
92547 }
92548 };
92549 A.ModifiableCssStyleRule0.prototype = {
92550 accept$1$1(visitor) {
92551 return visitor.visitCssStyleRule$1(this);
92552 },
92553 accept$1(visitor) {
92554 return this.accept$1$1(visitor, type$.dynamic);
92555 },
92556 copyWithoutChildren$0() {
92557 return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
92558 },
92559 $isCssStyleRule0: 1,
92560 get$span(receiver) {
92561 return this.span;
92562 }
92563 };
92564 A.StyleRule0.prototype = {
92565 accept$1$1(visitor) {
92566 return visitor.visitStyleRule$1(this);
92567 },
92568 accept$1(visitor) {
92569 return this.accept$1$1(visitor, type$.dynamic);
92570 },
92571 toString$0(_) {
92572 var t1 = this.children;
92573 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
92574 },
92575 get$span(receiver) {
92576 return this.span;
92577 }
92578 };
92579 A.CssStylesheet0.prototype = {
92580 get$isGroupEnd() {
92581 return false;
92582 },
92583 get$isChildless() {
92584 return false;
92585 },
92586 accept$1$1(visitor) {
92587 return visitor.visitCssStylesheet$1(this);
92588 },
92589 accept$1(visitor) {
92590 return this.accept$1$1(visitor, type$.dynamic);
92591 },
92592 get$children(receiver) {
92593 return this.children;
92594 },
92595 get$span(receiver) {
92596 return this.span;
92597 }
92598 };
92599 A.ModifiableCssStylesheet0.prototype = {
92600 accept$1$1(visitor) {
92601 return visitor.visitCssStylesheet$1(this);
92602 },
92603 accept$1(visitor) {
92604 return this.accept$1$1(visitor, type$.dynamic);
92605 },
92606 copyWithoutChildren$0() {
92607 return A.ModifiableCssStylesheet$0(this.span);
92608 },
92609 $isCssStylesheet0: 1,
92610 get$span(receiver) {
92611 return this.span;
92612 }
92613 };
92614 A.StylesheetParser0.prototype = {
92615 parse$0() {
92616 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
92617 },
92618 parseArgumentDeclaration$0() {
92619 return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
92620 },
92621 _stylesheet0$_parseSingleProduction$1$1(production, $T) {
92622 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
92623 },
92624 parseSignature$1$requireParens(requireParens) {
92625 return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
92626 },
92627 parseSignature$0() {
92628 return this.parseSignature$1$requireParens(true);
92629 },
92630 _stylesheet0$_statement$1$root(root) {
92631 var t2, _this = this,
92632 t1 = _this.scanner;
92633 switch (t1.peekChar$0()) {
92634 case 64:
92635 return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
92636 case 43:
92637 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
92638 return _this._stylesheet0$_styleRule$0();
92639 _this._stylesheet0$_isUseAllowed = false;
92640 t2 = t1._string_scanner$_position;
92641 t1.readChar$0();
92642 return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
92643 case 61:
92644 if (!_this.get$indented())
92645 return _this._stylesheet0$_styleRule$0();
92646 _this._stylesheet0$_isUseAllowed = false;
92647 t2 = t1._string_scanner$_position;
92648 t1.readChar$0();
92649 _this.whitespace$0();
92650 return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
92651 case 125:
92652 t1.error$2$length(0, 'unmatched "}".', 1);
92653 break;
92654 default:
92655 return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
92656 }
92657 },
92658 _stylesheet0$_statement$0() {
92659 return this._stylesheet0$_statement$1$root(false);
92660 },
92661 variableDeclarationWithoutNamespace$2(namespace, start_) {
92662 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
92663 precedingComment = _this.lastSilentComment;
92664 _this.lastSilentComment = null;
92665 if (start_ == null) {
92666 t1 = _this.scanner;
92667 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92668 } else
92669 start = start_;
92670 $name = _this.variableName$0();
92671 t1 = namespace != null;
92672 if (t1)
92673 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
92674 if (_this.get$plainCss())
92675 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
92676 _this.whitespace$0();
92677 t2 = _this.scanner;
92678 t2.expectChar$1(58);
92679 _this.whitespace$0();
92680 value = _this.expression$0();
92681 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92682 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
92683 flag = _this.identifier$0();
92684 if (flag === "default")
92685 guarded = true;
92686 else if (flag === "global") {
92687 if (t1) {
92688 endPosition = t2._string_scanner$_position;
92689 t4 = t2._sourceFile;
92690 t5 = flagStart.position;
92691 t6 = new A._FileSpan(t4, t5, endPosition);
92692 t6._FileSpan$3(t4, t5, endPosition);
92693 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
92694 }
92695 global = true;
92696 } else {
92697 endPosition = t2._string_scanner$_position;
92698 t4 = t2._sourceFile;
92699 t5 = flagStart.position;
92700 t6 = new A._FileSpan(t4, t5, endPosition);
92701 t6._FileSpan$3(t4, t5, endPosition);
92702 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
92703 }
92704 _this.whitespace$0();
92705 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92706 }
92707 _this.expectStatementSeparator$1("variable declaration");
92708 declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
92709 if (global)
92710 _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
92711 return declaration;
92712 },
92713 variableDeclarationWithoutNamespace$0() {
92714 return this.variableDeclarationWithoutNamespace$2(null, null);
92715 },
92716 _stylesheet0$_variableDeclarationOrStyleRule$0() {
92717 var t1, t2, variableOrInterpolation, t3, _this = this;
92718 if (_this.get$plainCss())
92719 return _this._stylesheet0$_styleRule$0();
92720 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92721 return _this._stylesheet0$_styleRule$0();
92722 if (!_this.lookingAtIdentifier$0())
92723 return _this._stylesheet0$_styleRule$0();
92724 t1 = _this.scanner;
92725 t2 = t1._string_scanner$_position;
92726 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92727 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92728 return variableOrInterpolation;
92729 else {
92730 t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
92731 t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92732 return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
92733 }
92734 },
92735 _stylesheet0$_declarationOrStyleRule$0() {
92736 var t1, t2, declarationOrBuffer, _this = this;
92737 if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
92738 return _this._stylesheet0$_propertyOrVariableDeclaration$0();
92739 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92740 return _this._stylesheet0$_styleRule$0();
92741 t1 = _this.scanner;
92742 t2 = t1._string_scanner$_position;
92743 declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
92744 return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
92745 },
92746 _stylesheet0$_declarationOrBuffer$0() {
92747 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
92748 t2 = _this.scanner,
92749 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
92750 nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
92751 first = t2.peekChar$0();
92752 if (first !== 58)
92753 if (first !== 42)
92754 if (first !== 46)
92755 t3 = first === 35 && t2.peekChar$1(1) !== 123;
92756 else
92757 t3 = true;
92758 else
92759 t3 = true;
92760 else
92761 t3 = true;
92762 if (t3) {
92763 t3 = t2.readChar$0();
92764 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
92765 t3 = _this.rawText$1(_this.get$whitespace());
92766 nameBuffer._interpolation_buffer0$_text._contents += t3;
92767 startsWithPunctuation = true;
92768 } else
92769 startsWithPunctuation = false;
92770 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
92771 return nameBuffer;
92772 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92773 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92774 return variableOrInterpolation;
92775 else
92776 nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92777 _this._stylesheet0$_isUseAllowed = false;
92778 if (t2.matches$1("/*")) {
92779 t3 = _this.rawText$1(_this.get$loudComment());
92780 nameBuffer._interpolation_buffer0$_text._contents += t3;
92781 }
92782 midBuffer = new A.StringBuffer("");
92783 t3 = _this.get$whitespace();
92784 midBuffer._contents += _this.rawText$1(t3);
92785 t4 = t2._string_scanner$_position;
92786 if (!t2.scanChar$1(58)) {
92787 if (midBuffer._contents.length !== 0)
92788 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
92789 return nameBuffer;
92790 }
92791 midBuffer._contents += A.Primitives_stringFromCharCode(58);
92792 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
92793 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
92794 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92795 _this.expectStatementSeparator$1("custom property");
92796 return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92797 }
92798 if (t2.scanChar$1(58)) {
92799 t1 = nameBuffer;
92800 t2 = t1._interpolation_buffer0$_text;
92801 t3 = t2._contents += A.S(midBuffer);
92802 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
92803 return t1;
92804 } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
92805 t1 = nameBuffer;
92806 t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
92807 return t1;
92808 }
92809 postColonWhitespace = _this.rawText$1(t3);
92810 if (_this.lookingAtChildren$0())
92811 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
92812 midBuffer._contents += postColonWhitespace;
92813 couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
92814 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
92815 t3 = t1.value = null;
92816 try {
92817 t3 = t1.value = _this.expression$0();
92818 if (_this.lookingAtChildren$0()) {
92819 if (couldBeSelector)
92820 _this.expectStatementSeparator$0();
92821 } else if (!_this.atEndOfStatement$0())
92822 _this.expectStatementSeparator$0();
92823 } catch (exception) {
92824 if (type$.FormatException._is(A.unwrapException(exception))) {
92825 if (!couldBeSelector)
92826 throw exception;
92827 t2.set$state(beforeDeclaration);
92828 additional = _this.almostAnyValue$0();
92829 if (!_this.get$indented() && t2.peekChar$0() === 59)
92830 throw exception;
92831 nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
92832 nameBuffer.addInterpolation$1(additional);
92833 return nameBuffer;
92834 } else
92835 throw exception;
92836 }
92837 if (_this.lookingAtChildren$0())
92838 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
92839 else {
92840 _this.expectStatementSeparator$0();
92841 return A.Declaration$0($name, t3, t2.spanFrom$1(start));
92842 }
92843 },
92844 _stylesheet0$_variableDeclarationOrInterpolation$0() {
92845 var t1, start, identifier, t2, buffer, _this = this;
92846 if (!_this.lookingAtIdentifier$0())
92847 return _this.interpolatedIdentifier$0();
92848 t1 = _this.scanner;
92849 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92850 identifier = _this.identifier$0();
92851 if (t1.matches$1(".$")) {
92852 t1.readChar$0();
92853 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
92854 } else {
92855 t2 = new A.StringBuffer("");
92856 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
92857 t2._contents = "" + identifier;
92858 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
92859 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92860 return buffer.interpolation$1(t1.spanFrom$1(start));
92861 }
92862 },
92863 _stylesheet0$_styleRule$2(buffer, start_) {
92864 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
92865 _this._stylesheet0$_isUseAllowed = false;
92866 if (start_ == null) {
92867 t2 = _this.scanner;
92868 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92869 } else
92870 start = start_;
92871 interpolation = t1.interpolation = _this.styleRuleSelector$0();
92872 if (buffer != null) {
92873 buffer.addInterpolation$1(interpolation);
92874 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
92875 } else
92876 t2 = interpolation;
92877 if (t2.contents.length === 0)
92878 _this.scanner.error$1(0, 'expected "}".');
92879 wasInStyleRule = _this._stylesheet0$_inStyleRule;
92880 _this._stylesheet0$_inStyleRule = true;
92881 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
92882 },
92883 _stylesheet0$_styleRule$0() {
92884 return this._stylesheet0$_styleRule$2(null, null);
92885 },
92886 _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
92887 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
92888 _s48_ = string$.Nested,
92889 t1 = {},
92890 t2 = _this.scanner,
92891 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92892 t1.name = null;
92893 first = t2.peekChar$0();
92894 if (first !== 58)
92895 if (first !== 42)
92896 if (first !== 46)
92897 t3 = first === 35 && t2.peekChar$1(1) !== 123;
92898 else
92899 t3 = true;
92900 else
92901 t3 = true;
92902 else
92903 t3 = true;
92904 if (t3) {
92905 t3 = new A.StringBuffer("");
92906 nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
92907 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
92908 t3._contents += _this.rawText$1(_this.get$whitespace());
92909 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92910 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
92911 } else if (!_this.get$plainCss()) {
92912 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92913 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92914 return variableOrInterpolation;
92915 else {
92916 type$.Interpolation_2._as(variableOrInterpolation);
92917 t1.name = variableOrInterpolation;
92918 }
92919 t3 = variableOrInterpolation;
92920 } else {
92921 $name = _this.interpolatedIdentifier$0();
92922 t1.name = $name;
92923 t3 = $name;
92924 }
92925 _this.whitespace$0();
92926 t2.expectChar$1(58);
92927 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
92928 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92929 _this.expectStatementSeparator$1("custom property");
92930 return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92931 }
92932 _this.whitespace$0();
92933 if (_this.lookingAtChildren$0()) {
92934 if (_this.get$plainCss())
92935 t2.error$1(0, _s48_);
92936 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
92937 }
92938 value = _this.expression$0();
92939 if (_this.lookingAtChildren$0()) {
92940 if (_this.get$plainCss())
92941 t2.error$1(0, _s48_);
92942 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
92943 } else {
92944 _this.expectStatementSeparator$0();
92945 return A.Declaration$0(t3, value, t2.spanFrom$1(start));
92946 }
92947 },
92948 _stylesheet0$_propertyOrVariableDeclaration$0() {
92949 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
92950 },
92951 _stylesheet0$_declarationChild$0() {
92952 if (this.scanner.peekChar$0() === 64)
92953 return this._stylesheet0$_declarationAtRule$0();
92954 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
92955 },
92956 atRule$2$root(child, root) {
92957 var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
92958 _s9_ = "@use rule",
92959 t1 = _this.scanner,
92960 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92961 t1.expectChar$2$name(64, "@-rule");
92962 $name = _this.interpolatedIdentifier$0();
92963 _this.whitespace$0();
92964 wasUseAllowed = _this._stylesheet0$_isUseAllowed;
92965 _this._stylesheet0$_isUseAllowed = false;
92966 switch ($name.get$asPlain()) {
92967 case "at-root":
92968 return _this._stylesheet0$_atRootRule$1(start);
92969 case "content":
92970 return _this._stylesheet0$_contentRule$1(start);
92971 case "debug":
92972 return _this._stylesheet0$_debugRule$1(start);
92973 case "each":
92974 return _this._stylesheet0$_eachRule$2(start, child);
92975 case "else":
92976 return _this._stylesheet0$_disallowedAtRule$1(start);
92977 case "error":
92978 return _this._stylesheet0$_errorRule$1(start);
92979 case "extend":
92980 if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
92981 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
92982 value = _this.almostAnyValue$0();
92983 optional = t1.scanChar$1(33);
92984 if (optional)
92985 _this.expectIdentifier$1("optional");
92986 _this.expectStatementSeparator$1("@extend rule");
92987 return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
92988 case "for":
92989 return _this._stylesheet0$_forRule$2(start, child);
92990 case "forward":
92991 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
92992 if (!root)
92993 _this._stylesheet0$_disallowedAtRule$1(start);
92994 return _this._stylesheet0$_forwardRule$1(start);
92995 case "function":
92996 return _this._stylesheet0$_functionRule$1(start);
92997 case "if":
92998 return _this._stylesheet0$_ifRule$2(start, child);
92999 case "import":
93000 return _this._stylesheet0$_importRule$1(start);
93001 case "include":
93002 return _this._stylesheet0$_includeRule$1(start);
93003 case "media":
93004 return _this.mediaRule$1(start);
93005 case "mixin":
93006 return _this._stylesheet0$_mixinRule$1(start);
93007 case "-moz-document":
93008 return _this.mozDocumentRule$2(start, $name);
93009 case "return":
93010 return _this._stylesheet0$_disallowedAtRule$1(start);
93011 case "supports":
93012 return _this.supportsRule$1(start);
93013 case "use":
93014 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
93015 if (!root)
93016 _this._stylesheet0$_disallowedAtRule$1(start);
93017 url = _this._stylesheet0$_urlString$0();
93018 _this.whitespace$0();
93019 namespace = _this._stylesheet0$_useNamespace$2(url, start);
93020 _this.whitespace$0();
93021 configuration = _this._stylesheet0$_configuration$0();
93022 _this.expectStatementSeparator$1(_s9_);
93023 span = t1.spanFrom$1(start);
93024 if (!_this._stylesheet0$_isUseAllowed)
93025 _this.error$2(0, string$.x40use_r, span);
93026 _this.expectStatementSeparator$1(_s9_);
93027 t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
93028 t1.UseRule$4$configuration0(url, namespace, span, configuration);
93029 return t1;
93030 case "warn":
93031 return _this._stylesheet0$_warnRule$1(start);
93032 case "while":
93033 return _this._stylesheet0$_whileRule$2(start, child);
93034 default:
93035 return _this.unknownAtRule$2(start, $name);
93036 }
93037 },
93038 _stylesheet0$_declarationAtRule$0() {
93039 var _this = this,
93040 t1 = _this.scanner,
93041 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93042 switch (_this._stylesheet0$_plainAtRuleName$0()) {
93043 case "content":
93044 return _this._stylesheet0$_contentRule$1(start);
93045 case "debug":
93046 return _this._stylesheet0$_debugRule$1(start);
93047 case "each":
93048 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
93049 case "else":
93050 return _this._stylesheet0$_disallowedAtRule$1(start);
93051 case "error":
93052 return _this._stylesheet0$_errorRule$1(start);
93053 case "for":
93054 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
93055 case "if":
93056 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
93057 case "include":
93058 return _this._stylesheet0$_includeRule$1(start);
93059 case "warn":
93060 return _this._stylesheet0$_warnRule$1(start);
93061 case "while":
93062 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
93063 default:
93064 return _this._stylesheet0$_disallowedAtRule$1(start);
93065 }
93066 },
93067 _stylesheet0$_functionChild$0() {
93068 var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
93069 t1 = _this.scanner;
93070 if (t1.peekChar$0() !== 64) {
93071 t2 = t1._string_scanner$_position;
93072 state = new A._SpanScannerState(t1, t2);
93073 try {
93074 namespace = _this.identifier$0();
93075 t1.expectChar$1(46);
93076 t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
93077 return t2;
93078 } catch (exception) {
93079 t2 = A.unwrapException(exception);
93080 t3 = type$.SourceSpanFormatException;
93081 if (t3._is(t2)) {
93082 variableDeclarationError = t2;
93083 stackTrace = A.getTraceFromException(exception);
93084 t1.set$state(state);
93085 statement = null;
93086 try {
93087 statement = _this._stylesheet0$_declarationOrStyleRule$0();
93088 } catch (exception) {
93089 if (t3._is(A.unwrapException(exception)))
93090 throw A.wrapException(variableDeclarationError);
93091 else
93092 throw exception;
93093 }
93094 t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
93095 _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
93096 } else
93097 throw exception;
93098 }
93099 }
93100 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93101 switch (_this._stylesheet0$_plainAtRuleName$0()) {
93102 case "debug":
93103 return _this._stylesheet0$_debugRule$1(start);
93104 case "each":
93105 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
93106 case "else":
93107 return _this._stylesheet0$_disallowedAtRule$1(start);
93108 case "error":
93109 return _this._stylesheet0$_errorRule$1(start);
93110 case "for":
93111 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
93112 case "if":
93113 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
93114 case "return":
93115 value = _this.expression$0();
93116 _this.expectStatementSeparator$1("@return rule");
93117 return new A.ReturnRule0(value, t1.spanFrom$1(start));
93118 case "warn":
93119 return _this._stylesheet0$_warnRule$1(start);
93120 case "while":
93121 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
93122 default:
93123 return _this._stylesheet0$_disallowedAtRule$1(start);
93124 }
93125 },
93126 _stylesheet0$_plainAtRuleName$0() {
93127 this.scanner.expectChar$2$name(64, "@-rule");
93128 var $name = this.identifier$0();
93129 this.whitespace$0();
93130 return $name;
93131 },
93132 _stylesheet0$_atRootRule$1(start) {
93133 var query, _this = this,
93134 t1 = _this.scanner;
93135 if (t1.peekChar$0() === 40) {
93136 query = _this._stylesheet0$_atRootQuery$0();
93137 _this.whitespace$0();
93138 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
93139 } else if (_this.lookingAtChildren$0())
93140 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
93141 else
93142 return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
93143 },
93144 _stylesheet0$_atRootQuery$0() {
93145 var interpolation, t2, t3, t4, buffer, t5, _this = this,
93146 t1 = _this.scanner;
93147 if (t1.peekChar$0() === 35) {
93148 interpolation = _this.singleInterpolation$0();
93149 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
93150 }
93151 t2 = t1._string_scanner$_position;
93152 t3 = new A.StringBuffer("");
93153 t4 = A._setArrayType([], type$.JSArray_Object);
93154 buffer = new A.InterpolationBuffer0(t3, t4);
93155 t1.expectChar$1(40);
93156 t3._contents += A.Primitives_stringFromCharCode(40);
93157 _this.whitespace$0();
93158 t5 = _this.expression$0();
93159 buffer._interpolation_buffer0$_flushText$0();
93160 t4.push(t5);
93161 if (t1.scanChar$1(58)) {
93162 _this.whitespace$0();
93163 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
93164 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
93165 t5 = _this.expression$0();
93166 buffer._interpolation_buffer0$_flushText$0();
93167 t4.push(t5);
93168 }
93169 t1.expectChar$1(41);
93170 _this.whitespace$0();
93171 t3._contents += A.Primitives_stringFromCharCode(41);
93172 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
93173 },
93174 _stylesheet0$_contentRule$1(start) {
93175 var t1, $arguments, t2, t3, _this = this;
93176 if (!_this._stylesheet0$_inMixin)
93177 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
93178 _this.whitespace$0();
93179 t1 = _this.scanner;
93180 if (t1.peekChar$0() === 40)
93181 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93182 else {
93183 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93184 t3 = t2.offset;
93185 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93186 }
93187 _this.expectStatementSeparator$1("@content rule");
93188 return new A.ContentRule0($arguments, t1.spanFrom$1(start));
93189 },
93190 _stylesheet0$_debugRule$1(start) {
93191 var value = this.expression$0();
93192 this.expectStatementSeparator$1("@debug rule");
93193 return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
93194 },
93195 _stylesheet0$_eachRule$2(start, child) {
93196 var variables, t1, _this = this,
93197 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93198 _this._stylesheet0$_inControlDirective = true;
93199 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
93200 _this.whitespace$0();
93201 for (t1 = _this.scanner; t1.scanChar$1(44);) {
93202 _this.whitespace$0();
93203 t1.expectChar$1(36);
93204 variables.push(_this.identifier$1$normalize(true));
93205 _this.whitespace$0();
93206 }
93207 _this.expectIdentifier$1("in");
93208 _this.whitespace$0();
93209 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this.expression$0()));
93210 },
93211 _stylesheet0$_errorRule$1(start) {
93212 var value = this.expression$0();
93213 this.expectStatementSeparator$1("@error rule");
93214 return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
93215 },
93216 _stylesheet0$_functionRule$1(start) {
93217 var $name, $arguments, _this = this,
93218 precedingComment = _this.lastSilentComment;
93219 _this.lastSilentComment = null;
93220 $name = _this.identifier$1$normalize(true);
93221 _this.whitespace$0();
93222 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93223 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93224 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
93225 else if (_this._stylesheet0$_inControlDirective)
93226 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
93227 switch (A.unvendor0($name)) {
93228 case "calc":
93229 case "element":
93230 case "expression":
93231 case "url":
93232 case "and":
93233 case "or":
93234 case "not":
93235 case "clamp":
93236 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
93237 break;
93238 }
93239 _this.whitespace$0();
93240 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
93241 },
93242 _stylesheet0$_forRule$2(start, child) {
93243 var variable, from, _this = this, t1 = {},
93244 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93245 _this._stylesheet0$_inControlDirective = true;
93246 variable = _this.variableName$0();
93247 _this.whitespace$0();
93248 _this.expectIdentifier$1("from");
93249 _this.whitespace$0();
93250 t1.exclusive = null;
93251 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
93252 if (t1.exclusive == null)
93253 _this.scanner.error$1(0, 'Expected "to" or "through".');
93254 _this.whitespace$0();
93255 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
93256 },
93257 _stylesheet0$_forwardRule$1(start) {
93258 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
93259 url = _this._stylesheet0$_urlString$0();
93260 _this.whitespace$0();
93261 if (_this.scanIdentifier$1("as")) {
93262 _this.whitespace$0();
93263 prefix = _this.identifier$1$normalize(true);
93264 _this.scanner.expectChar$1(42);
93265 _this.whitespace$0();
93266 } else
93267 prefix = _null;
93268 if (_this.scanIdentifier$1("show")) {
93269 members = _this._stylesheet0$_memberList$0();
93270 shownMixinsAndFunctions = members.item1;
93271 shownVariables = members.item2;
93272 hiddenVariables = _null;
93273 hiddenMixinsAndFunctions = hiddenVariables;
93274 } else {
93275 if (_this.scanIdentifier$1("hide")) {
93276 members = _this._stylesheet0$_memberList$0();
93277 hiddenMixinsAndFunctions = members.item1;
93278 hiddenVariables = members.item2;
93279 } else {
93280 hiddenVariables = _null;
93281 hiddenMixinsAndFunctions = hiddenVariables;
93282 }
93283 shownVariables = _null;
93284 shownMixinsAndFunctions = shownVariables;
93285 }
93286 configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
93287 _this.expectStatementSeparator$1("@forward rule");
93288 span = _this.scanner.spanFrom$1(start);
93289 if (!_this._stylesheet0$_isUseAllowed)
93290 _this.error$2(0, string$.x40forwa, span);
93291 if (shownMixinsAndFunctions != null) {
93292 shownVariables.toString;
93293 t1 = type$.String;
93294 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
93295 t3 = type$.UnmodifiableSetView_String;
93296 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
93297 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93298 return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
93299 } else if (hiddenMixinsAndFunctions != null) {
93300 hiddenVariables.toString;
93301 t1 = type$.String;
93302 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
93303 t3 = type$.UnmodifiableSetView_String;
93304 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
93305 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93306 return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
93307 } else
93308 return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
93309 },
93310 _stylesheet0$_memberList$0() {
93311 var _this = this,
93312 t1 = type$.String,
93313 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
93314 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
93315 t1 = _this.scanner;
93316 do {
93317 _this.whitespace$0();
93318 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
93319 _this.whitespace$0();
93320 } while (t1.scanChar$1(44));
93321 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
93322 },
93323 _stylesheet0$_ifRule$2(start, child) {
93324 var condition, children, clauses, lastClause, span, _this = this,
93325 ifIndentation = _this.get$currentIndentation(),
93326 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93327 _this._stylesheet0$_inControlDirective = true;
93328 condition = _this.expression$0();
93329 children = _this.children$1(0, child);
93330 _this.whitespaceWithoutComments$0();
93331 clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
93332 while (true) {
93333 if (!_this.scanElse$1(ifIndentation)) {
93334 lastClause = null;
93335 break;
93336 }
93337 _this.whitespace$0();
93338 if (_this.scanIdentifier$1("if")) {
93339 _this.whitespace$0();
93340 clauses.push(A.IfClause$0(_this.expression$0(), _this.children$1(0, child)));
93341 } else {
93342 lastClause = A.ElseClause$0(_this.children$1(0, child));
93343 break;
93344 }
93345 }
93346 _this._stylesheet0$_inControlDirective = wasInControlDirective;
93347 span = _this.scanner.spanFrom$1(start);
93348 _this.whitespaceWithoutComments$0();
93349 return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
93350 },
93351 _stylesheet0$_importRule$1(start) {
93352 var argument, _this = this,
93353 imports = A._setArrayType([], type$.JSArray_Import_2),
93354 t1 = _this.scanner;
93355 do {
93356 _this.whitespace$0();
93357 argument = _this.importArgument$0();
93358 if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
93359 _this._stylesheet0$_disallowedAtRule$1(start);
93360 imports.push(argument);
93361 _this.whitespace$0();
93362 } while (t1.scanChar$1(44));
93363 _this.expectStatementSeparator$1("@import rule");
93364 t1 = t1.spanFrom$1(start);
93365 return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
93366 },
93367 importArgument$0() {
93368 var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
93369 t1 = _this.scanner,
93370 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
93371 next = t1.peekChar$0();
93372 if (next === 117 || next === 85) {
93373 url = _this.dynamicUrl$0();
93374 _this.whitespace$0();
93375 modifiers = _this.tryImportModifiers$0();
93376 return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
93377 }
93378 url = _this.string$0();
93379 urlSpan = t1.spanFrom$1(start);
93380 _this.whitespace$0();
93381 modifiers = _this.tryImportModifiers$0();
93382 if (_this.isPlainImportUrl$1(url) || modifiers != null) {
93383 t2 = urlSpan;
93384 return new A.StaticImport0(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), modifiers, t1.spanFrom$1(start));
93385 } else
93386 try {
93387 t1 = _this.parseImportUrl$1(url);
93388 return new A.DynamicImport0(t1, urlSpan);
93389 } catch (exception) {
93390 t1 = A.unwrapException(exception);
93391 if (type$.FormatException._is(t1)) {
93392 innerError = t1;
93393 stackTrace = A.getTraceFromException(exception);
93394 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
93395 } else
93396 throw exception;
93397 }
93398 },
93399 parseImportUrl$1(url) {
93400 var t1 = $.$get$windows();
93401 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
93402 return t1.toUri$1(url).toString$0(0);
93403 A.Uri_parse(url);
93404 return url;
93405 },
93406 isPlainImportUrl$1(url) {
93407 var first;
93408 if (url.length < 5)
93409 return false;
93410 if (B.JSString_methods.endsWith$1(url, ".css"))
93411 return true;
93412 first = B.JSString_methods._codeUnitAt$1(url, 0);
93413 if (first === 47)
93414 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
93415 if (first !== 104)
93416 return false;
93417 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
93418 },
93419 tryImportModifiers$0() {
93420 var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
93421 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
93422 return null;
93423 t1 = _this.scanner;
93424 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93425 t2 = new A.StringBuffer("");
93426 t3 = A._setArrayType([], type$.JSArray_Object);
93427 buffer = new A.InterpolationBuffer0(t2, t3);
93428 for (; true;)
93429 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
93430 if (!(t3.length === 0 && t2._contents.length === 0))
93431 t2._contents += A.Primitives_stringFromCharCode(32);
93432 identifier = _this.interpolatedIdentifier$0();
93433 buffer.addInterpolation$1(identifier);
93434 t4 = identifier.get$asPlain();
93435 $name = t4 == null ? null : t4.toLowerCase();
93436 if ($name !== "and" && t1.scanChar$1(40)) {
93437 if ($name === "supports") {
93438 query = _this._stylesheet0$_importSupportsQuery$0();
93439 t4 = !(query instanceof A.SupportsDeclaration0);
93440 if (t4)
93441 t2._contents += A.Primitives_stringFromCharCode(40);
93442 buffer._interpolation_buffer0$_flushText$0();
93443 t3.push(new A.SupportsExpression0(query));
93444 if (t4)
93445 t2._contents += A.Primitives_stringFromCharCode(41);
93446 } else {
93447 t2._contents += A.Primitives_stringFromCharCode(40);
93448 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
93449 t2._contents += A.Primitives_stringFromCharCode(41);
93450 }
93451 t1.expectChar$1(41);
93452 _this.whitespace$0();
93453 } else {
93454 _this.whitespace$0();
93455 if (t1.scanChar$1(44)) {
93456 t2._contents += ", ";
93457 buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
93458 endPosition = t1._string_scanner$_position;
93459 t4 = t1._sourceFile;
93460 t5 = start.position;
93461 t1 = new A._FileSpan(t4, t5, endPosition);
93462 t1._FileSpan$3(t4, t5, endPosition);
93463 t5 = type$.Object;
93464 t4 = A.List_List$of(t3, true, t5);
93465 t3 = t2._contents;
93466 if (t3.length !== 0)
93467 t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
93468 result = A.List_List$from(t4, false, t5);
93469 result.fixed$length = Array;
93470 result.immutable$list = Array;
93471 t2 = new A.Interpolation0(result, t1);
93472 t2.Interpolation$20(t4, t1);
93473 return t2;
93474 }
93475 }
93476 } else if (t1.peekChar$0() === 40) {
93477 if (!(t3.length === 0 && t2._contents.length === 0))
93478 t2._contents += A.Primitives_stringFromCharCode(32);
93479 buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
93480 endPosition = t1._string_scanner$_position;
93481 t1 = t1._sourceFile;
93482 t4 = start.position;
93483 t5 = new A._FileSpan(t1, t4, endPosition);
93484 t5._FileSpan$3(t1, t4, endPosition);
93485 t4 = type$.Object;
93486 t3 = A.List_List$of(t3, true, t4);
93487 t1 = t2._contents;
93488 if (t1.length !== 0)
93489 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
93490 result = A.List_List$from(t3, false, t4);
93491 result.fixed$length = Array;
93492 result.immutable$list = Array;
93493 t1 = new A.Interpolation0(result, t5);
93494 t1.Interpolation$20(t3, t5);
93495 return t1;
93496 } else {
93497 endPosition = t1._string_scanner$_position;
93498 t1 = t1._sourceFile;
93499 t4 = start.position;
93500 t5 = new A._FileSpan(t1, t4, endPosition);
93501 t5._FileSpan$3(t1, t4, endPosition);
93502 t4 = type$.Object;
93503 t3 = A.List_List$of(t3, true, t4);
93504 t1 = t2._contents;
93505 if (t1.length !== 0)
93506 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
93507 result = A.List_List$from(t3, false, t4);
93508 result.fixed$length = Array;
93509 result.immutable$list = Array;
93510 t1 = new A.Interpolation0(result, t5);
93511 t1.Interpolation$20(t3, t5);
93512 return t1;
93513 }
93514 },
93515 _stylesheet0$_importSupportsQuery$0() {
93516 var t1, t2, $function, $name, _this = this;
93517 if (_this.scanIdentifier$1("not")) {
93518 _this.whitespace$0();
93519 t1 = _this.scanner;
93520 t2 = t1._string_scanner$_position;
93521 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
93522 } else {
93523 t1 = _this.scanner;
93524 if (t1.peekChar$0() === 40)
93525 return _this._stylesheet0$_supportsCondition$0();
93526 else {
93527 $function = _this._stylesheet0$_tryImportSupportsFunction$0();
93528 if ($function != null)
93529 return $function;
93530 t2 = t1._string_scanner$_position;
93531 $name = _this.expression$0();
93532 t1.expectChar$1(58);
93533 return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
93534 }
93535 }
93536 },
93537 _stylesheet0$_tryImportSupportsFunction$0() {
93538 var t1, start, $name, value, _this = this;
93539 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
93540 return null;
93541 t1 = _this.scanner;
93542 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93543 $name = _this.interpolatedIdentifier$0();
93544 if (!t1.scanChar$1(40)) {
93545 t1.set$state(start);
93546 return null;
93547 }
93548 value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
93549 t1.expectChar$1(41);
93550 return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
93551 },
93552 _stylesheet0$_includeRule$1(start) {
93553 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
93554 $name = _this.identifier$0(),
93555 t1 = _this.scanner;
93556 if (t1.scanChar$1(46)) {
93557 name0 = _this._stylesheet0$_publicIdentifier$0();
93558 namespace = $name;
93559 $name = name0;
93560 } else {
93561 $name = A.stringReplaceAllUnchecked($name, "_", "-");
93562 namespace = _null;
93563 }
93564 _this.whitespace$0();
93565 if (t1.peekChar$0() === 40)
93566 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93567 else {
93568 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93569 t3 = t2.offset;
93570 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93571 }
93572 _this.whitespace$0();
93573 if (_this.scanIdentifier$1("using")) {
93574 _this.whitespace$0();
93575 contentArguments = _this._stylesheet0$_argumentDeclaration$0();
93576 _this.whitespace$0();
93577 } else
93578 contentArguments = _null;
93579 t2 = contentArguments == null;
93580 if (!t2 || _this.lookingAtChildren$0()) {
93581 if (t2) {
93582 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93583 t3 = t2.offset;
93584 contentArguments_ = new A.ArgumentDeclaration0(B.List_empty18, _null, A._FileSpan$(t2.file, t3, t3));
93585 } else
93586 contentArguments_ = contentArguments;
93587 wasInContentBlock = _this._stylesheet0$_inContentBlock;
93588 _this._stylesheet0$_inContentBlock = true;
93589 $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
93590 _this._stylesheet0$_inContentBlock = wasInContentBlock;
93591 } else {
93592 _this.expectStatementSeparator$0();
93593 $content = _null;
93594 }
93595 t1 = t1.spanFrom$2(start, start);
93596 t2 = $content == null ? $arguments : $content;
93597 return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
93598 },
93599 mediaRule$1(start) {
93600 return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
93601 },
93602 _stylesheet0$_mixinRule$1(start) {
93603 var $name, t1, $arguments, t2, t3, _this = this,
93604 precedingComment = _this.lastSilentComment;
93605 _this.lastSilentComment = null;
93606 $name = _this.identifier$1$normalize(true);
93607 _this.whitespace$0();
93608 t1 = _this.scanner;
93609 if (t1.peekChar$0() === 40)
93610 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93611 else {
93612 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93613 t3 = t2.offset;
93614 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
93615 }
93616 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93617 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
93618 else if (_this._stylesheet0$_inControlDirective)
93619 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
93620 _this.whitespace$0();
93621 _this._stylesheet0$_inMixin = true;
93622 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
93623 },
93624 mozDocumentRule$2(start, $name) {
93625 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
93626 t1 = _this.scanner,
93627 t2 = t1._string_scanner$_position,
93628 t3 = new A.StringBuffer(""),
93629 t4 = A._setArrayType([], type$.JSArray_Object),
93630 buffer = new A.InterpolationBuffer0(t3, t4);
93631 _box_0.needsDeprecationWarning = false;
93632 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
93633 if (t1.peekChar$0() === 35) {
93634 t7 = _this.singleInterpolation$0();
93635 buffer._interpolation_buffer0$_flushText$0();
93636 t4.push(t7);
93637 _box_0.needsDeprecationWarning = true;
93638 } else {
93639 t7 = t1._string_scanner$_position;
93640 identifier = _this.identifier$0();
93641 switch (identifier) {
93642 case "url":
93643 case "url-prefix":
93644 case "domain":
93645 contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
93646 if (contents != null)
93647 buffer.addInterpolation$1(contents);
93648 else {
93649 t1.expectChar$1(40);
93650 _this.whitespace$0();
93651 argument = _this.interpolatedString$0();
93652 t1.expectChar$1(41);
93653 t7 = t3._contents += identifier;
93654 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
93655 buffer.addInterpolation$1(argument.asInterpolation$0());
93656 t3._contents += A.Primitives_stringFromCharCode(41);
93657 }
93658 t7 = t3._contents;
93659 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
93660 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("")'))
93661 _box_0.needsDeprecationWarning = true;
93662 break;
93663 case "regexp":
93664 t3._contents += "regexp(";
93665 t1.expectChar$1(40);
93666 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
93667 t1.expectChar$1(41);
93668 t3._contents += A.Primitives_stringFromCharCode(41);
93669 _box_0.needsDeprecationWarning = true;
93670 break;
93671 default:
93672 endPosition = t1._string_scanner$_position;
93673 t8 = t1._sourceFile;
93674 t9 = new A._FileSpan(t8, t7, endPosition);
93675 t9._FileSpan$3(t8, t7, endPosition);
93676 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
93677 }
93678 }
93679 _this.whitespace$0();
93680 if (!t1.scanChar$1(44))
93681 break;
93682 t3._contents += A.Primitives_stringFromCharCode(44);
93683 start0 = t1._string_scanner$_position;
93684 t5.call$0();
93685 end = t1._string_scanner$_position;
93686 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
93687 }
93688 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)))));
93689 },
93690 supportsRule$1(start) {
93691 var _this = this,
93692 condition = _this._stylesheet0$_supportsCondition$0();
93693 _this.whitespace$0();
93694 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
93695 },
93696 _stylesheet0$_useNamespace$2(url, start) {
93697 var namespace, basename, dot, t1, exception, _this = this;
93698 if (_this.scanIdentifier$1("as")) {
93699 _this.whitespace$0();
93700 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
93701 }
93702 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
93703 dot = B.JSString_methods.indexOf$1(basename, ".");
93704 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
93705 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
93706 try {
93707 t1 = A.SpanScanner$(namespace, null);
93708 t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
93709 return t1;
93710 } catch (exception) {
93711 if (A.unwrapException(exception) instanceof A.SassFormatException0)
93712 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
93713 else
93714 throw exception;
93715 }
93716 },
93717 _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
93718 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
93719 if (!_this.scanIdentifier$1("with"))
93720 return null;
93721 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93722 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
93723 _this.whitespace$0();
93724 t1 = _this.scanner;
93725 t1.expectChar$1(40);
93726 for (t2 = t1.string; true;) {
93727 _this.whitespace$0();
93728 t3 = t1._string_scanner$_position;
93729 t1.expectChar$1(36);
93730 $name = _this.identifier$1$normalize(true);
93731 _this.whitespace$0();
93732 t1.expectChar$1(58);
93733 _this.whitespace$0();
93734 expression = _this._stylesheet0$_expressionUntilComma$0();
93735 t4 = t1._string_scanner$_position;
93736 if (allowGuarded && t1.scanChar$1(33))
93737 if (_this.identifier$0() === "default") {
93738 _this.whitespace$0();
93739 guarded = true;
93740 } else {
93741 endPosition = t1._string_scanner$_position;
93742 t5 = t1._sourceFile;
93743 t6 = new A._FileSpan(t5, t4, endPosition);
93744 t6._FileSpan$3(t5, t4, endPosition);
93745 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
93746 guarded = false;
93747 }
93748 else
93749 guarded = false;
93750 endPosition = t1._string_scanner$_position;
93751 t4 = t1._sourceFile;
93752 span = new A._FileSpan(t4, t3, endPosition);
93753 span._FileSpan$3(t4, t3, endPosition);
93754 if (variableNames.contains$1(0, $name))
93755 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
93756 variableNames.add$1(0, $name);
93757 configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
93758 if (!t1.scanChar$1(44))
93759 break;
93760 _this.whitespace$0();
93761 if (!_this._stylesheet0$_lookingAtExpression$0())
93762 break;
93763 }
93764 t1.expectChar$1(41);
93765 return configuration;
93766 },
93767 _stylesheet0$_configuration$0() {
93768 return this._stylesheet0$_configuration$1$allowGuarded(false);
93769 },
93770 _stylesheet0$_warnRule$1(start) {
93771 var value = this.expression$0();
93772 this.expectStatementSeparator$1("@warn rule");
93773 return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
93774 },
93775 _stylesheet0$_whileRule$2(start, child) {
93776 var _this = this,
93777 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93778 _this._stylesheet0$_inControlDirective = true;
93779 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this.expression$0()));
93780 },
93781 unknownAtRule$2(start, $name) {
93782 var t2, t3, rule, _this = this, t1 = {},
93783 wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
93784 _this._stylesheet0$_inUnknownAtRule = true;
93785 t1.value = null;
93786 t2 = _this.scanner;
93787 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
93788 if (_this.lookingAtChildren$0())
93789 rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
93790 else {
93791 _this.expectStatementSeparator$0();
93792 rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
93793 }
93794 _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
93795 return rule;
93796 },
93797 _stylesheet0$_disallowedAtRule$1(start) {
93798 this.almostAnyValue$0();
93799 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
93800 },
93801 _stylesheet0$_argumentDeclaration$0() {
93802 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
93803 t1 = _this.scanner,
93804 t2 = t1._string_scanner$_position;
93805 t1.expectChar$1(40);
93806 _this.whitespace$0();
93807 $arguments = A._setArrayType([], type$.JSArray_Argument_2);
93808 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93809 t3 = t1.string;
93810 while (true) {
93811 if (!(t1.peekChar$0() === 36)) {
93812 restArgument = null;
93813 break;
93814 }
93815 t4 = t1._string_scanner$_position;
93816 t1.expectChar$1(36);
93817 $name = _this.identifier$1$normalize(true);
93818 _this.whitespace$0();
93819 if (t1.scanChar$1(58)) {
93820 _this.whitespace$0();
93821 defaultValue = _this._stylesheet0$_expressionUntilComma$0();
93822 } else {
93823 if (t1.scanChar$1(46)) {
93824 t1.expectChar$1(46);
93825 t1.expectChar$1(46);
93826 _this.whitespace$0();
93827 restArgument = $name;
93828 break;
93829 }
93830 defaultValue = null;
93831 }
93832 endPosition = t1._string_scanner$_position;
93833 t5 = t1._sourceFile;
93834 t6 = new A._FileSpan(t5, t4, endPosition);
93835 t6._FileSpan$3(t5, t4, endPosition);
93836 $arguments.push(new A.Argument0($name, defaultValue, t6));
93837 if (!named.add$1(0, $name))
93838 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
93839 if (!t1.scanChar$1(44)) {
93840 restArgument = null;
93841 break;
93842 }
93843 _this.whitespace$0();
93844 }
93845 t1.expectChar$1(41);
93846 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93847 return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
93848 },
93849 _stylesheet0$_argumentInvocation$1$mixin(mixin) {
93850 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
93851 t1 = _this.scanner,
93852 t2 = t1._string_scanner$_position;
93853 t1.expectChar$1(40);
93854 _this.whitespace$0();
93855 positional = A._setArrayType([], type$.JSArray_Expression_2);
93856 t3 = type$.String;
93857 t4 = type$.Expression_2;
93858 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
93859 t5 = !mixin;
93860 t6 = t1.string;
93861 rest = null;
93862 while (true) {
93863 if (!_this._stylesheet0$_lookingAtExpression$0()) {
93864 keywordRest = null;
93865 break;
93866 }
93867 expression = _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5);
93868 _this.whitespace$0();
93869 if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
93870 _this.whitespace$0();
93871 t7 = expression.name;
93872 if (named.containsKey$1(t7))
93873 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
93874 named.$indexSet(0, t7, _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5));
93875 } else if (t1.scanChar$1(46)) {
93876 t1.expectChar$1(46);
93877 t1.expectChar$1(46);
93878 if (rest != null) {
93879 _this.whitespace$0();
93880 keywordRest = expression;
93881 break;
93882 }
93883 rest = expression;
93884 } else if (named.__js_helper$_length !== 0)
93885 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
93886 else
93887 positional.push(expression);
93888 _this.whitespace$0();
93889 if (!t1.scanChar$1(44)) {
93890 keywordRest = null;
93891 break;
93892 }
93893 _this.whitespace$0();
93894 }
93895 t1.expectChar$1(41);
93896 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93897 return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
93898 },
93899 _stylesheet0$_argumentInvocation$0() {
93900 return this._stylesheet0$_argumentInvocation$1$mixin(false);
93901 },
93902 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
93903 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
93904 _s20_ = "Expected expression.",
93905 _box_0 = {},
93906 t1 = until != null;
93907 if (t1 && until.call$0())
93908 _this.scanner.error$1(0, _s20_);
93909 if (bracketList) {
93910 t2 = _this.scanner;
93911 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
93912 t2.expectChar$1(91);
93913 _this.whitespace$0();
93914 if (t2.scanChar$1(93)) {
93915 t1 = A._setArrayType([], type$.JSArray_Expression_2);
93916 t2 = t2.spanFrom$1(beforeBracket);
93917 return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
93918 }
93919 } else
93920 beforeBracket = null;
93921 t2 = _this.scanner;
93922 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93923 wasInParentheses = _this._stylesheet0$_inParentheses;
93924 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
93925 _box_0.allowSlash = true;
93926 _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
93927 resetState = new A.StylesheetParser_expression_resetState0(_box_0, _this, start);
93928 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation0(_box_0, _this);
93929 resolveOperations = new A.StylesheetParser_expression_resolveOperations0(_box_0, resolveOneOperation);
93930 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
93931 addOperator = new A.StylesheetParser_expression_addOperator0(_box_0, _this, resolveOneOperation);
93932 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
93933 $label0$0:
93934 for (t3 = type$.JSArray_Expression_2; true;) {
93935 _this.whitespace$0();
93936 if (t1 && until.call$0())
93937 break $label0$0;
93938 first = t2.peekChar$0();
93939 switch (first) {
93940 case 40:
93941 addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
93942 break;
93943 case 91:
93944 addSingleExpression.call$1(_this.expression$1$bracketList(true));
93945 break;
93946 case 36:
93947 addSingleExpression.call$1(_this._stylesheet0$_variable$0());
93948 break;
93949 case 38:
93950 addSingleExpression.call$1(_this._stylesheet0$_selector$0());
93951 break;
93952 case 39:
93953 case 34:
93954 addSingleExpression.call$1(_this.interpolatedString$0());
93955 break;
93956 case 35:
93957 addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
93958 break;
93959 case 61:
93960 t2.readChar$0();
93961 if (singleEquals && t2.peekChar$0() !== 61)
93962 addOperator.call$1(B.BinaryOperator_kjl0);
93963 else {
93964 t2.expectChar$1(61);
93965 addOperator.call$1(B.BinaryOperator_YlX0);
93966 }
93967 break;
93968 case 33:
93969 next = t2.peekChar$1(1);
93970 if (next === 61) {
93971 t2.readChar$0();
93972 t2.readChar$0();
93973 addOperator.call$1(B.BinaryOperator_i5H0);
93974 } else {
93975 if (next != null)
93976 if ((next | 32) >>> 0 !== 105)
93977 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
93978 else
93979 t4 = true;
93980 else
93981 t4 = true;
93982 if (t4)
93983 addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
93984 else
93985 break $label0$0;
93986 }
93987 break;
93988 case 60:
93989 t2.readChar$0();
93990 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h0 : B.BinaryOperator_8qt0);
93991 break;
93992 case 62:
93993 t2.readChar$0();
93994 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da0 : B.BinaryOperator_AcR1);
93995 break;
93996 case 42:
93997 t2.readChar$0();
93998 addOperator.call$1(B.BinaryOperator_O1M0);
93999 break;
94000 case 43:
94001 if (_box_0.singleExpression_ == null)
94002 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94003 else {
94004 t2.readChar$0();
94005 addOperator.call$1(B.BinaryOperator_AcR2);
94006 }
94007 break;
94008 case 45:
94009 next = t2.peekChar$1(1);
94010 if (next != null && next >= 48 && next <= 57 || next === 46)
94011 if (_box_0.singleExpression_ != null) {
94012 t4 = t2.peekChar$1(-1);
94013 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
94014 } else
94015 t4 = true;
94016 else
94017 t4 = false;
94018 if (t4)
94019 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94020 else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94021 addSingleExpression.call$1(_this.identifierLike$0());
94022 else if (_box_0.singleExpression_ == null)
94023 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94024 else {
94025 t2.readChar$0();
94026 addOperator.call$1(B.BinaryOperator_iyO0);
94027 }
94028 break;
94029 case 47:
94030 if (_box_0.singleExpression_ == null)
94031 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94032 else {
94033 t2.readChar$0();
94034 addOperator.call$1(B.BinaryOperator_RTB0);
94035 }
94036 break;
94037 case 37:
94038 t2.readChar$0();
94039 addOperator.call$1(B.BinaryOperator_2ad0);
94040 break;
94041 case 48:
94042 case 49:
94043 case 50:
94044 case 51:
94045 case 52:
94046 case 53:
94047 case 54:
94048 case 55:
94049 case 56:
94050 case 57:
94051 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94052 break;
94053 case 46:
94054 if (t2.peekChar$1(1) === 46)
94055 break $label0$0;
94056 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94057 break;
94058 case 97:
94059 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
94060 addOperator.call$1(B.BinaryOperator_and_and_20);
94061 else
94062 addSingleExpression.call$1(_this.identifierLike$0());
94063 break;
94064 case 111:
94065 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
94066 addOperator.call$1(B.BinaryOperator_or_or_10);
94067 else
94068 addSingleExpression.call$1(_this.identifierLike$0());
94069 break;
94070 case 117:
94071 case 85:
94072 if (t2.peekChar$1(1) === 43)
94073 addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
94074 else
94075 addSingleExpression.call$1(_this.identifierLike$0());
94076 break;
94077 case 98:
94078 case 99:
94079 case 100:
94080 case 101:
94081 case 102:
94082 case 103:
94083 case 104:
94084 case 105:
94085 case 106:
94086 case 107:
94087 case 108:
94088 case 109:
94089 case 110:
94090 case 112:
94091 case 113:
94092 case 114:
94093 case 115:
94094 case 116:
94095 case 118:
94096 case 119:
94097 case 120:
94098 case 121:
94099 case 122:
94100 case 65:
94101 case 66:
94102 case 67:
94103 case 68:
94104 case 69:
94105 case 70:
94106 case 71:
94107 case 72:
94108 case 73:
94109 case 74:
94110 case 75:
94111 case 76:
94112 case 77:
94113 case 78:
94114 case 79:
94115 case 80:
94116 case 81:
94117 case 82:
94118 case 83:
94119 case 84:
94120 case 86:
94121 case 87:
94122 case 88:
94123 case 89:
94124 case 90:
94125 case 95:
94126 case 92:
94127 addSingleExpression.call$1(_this.identifierLike$0());
94128 break;
94129 case 44:
94130 if (_this._stylesheet0$_inParentheses) {
94131 _this._stylesheet0$_inParentheses = false;
94132 if (_box_0.allowSlash) {
94133 resetState.call$0();
94134 break;
94135 }
94136 }
94137 commaExpressions = _box_0.commaExpressions_;
94138 if (commaExpressions == null)
94139 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
94140 if (_box_0.singleExpression_ == null)
94141 t2.error$1(0, _s20_);
94142 resolveSpaceExpressions.call$0();
94143 t4 = _box_0.singleExpression_;
94144 t4.toString;
94145 commaExpressions.push(t4);
94146 t2.readChar$0();
94147 _box_0.allowSlash = true;
94148 _box_0.singleExpression_ = null;
94149 break;
94150 default:
94151 if (first != null && first >= 128) {
94152 addSingleExpression.call$1(_this.identifierLike$0());
94153 break;
94154 } else
94155 break $label0$0;
94156 }
94157 }
94158 if (bracketList)
94159 t2.expectChar$1(93);
94160 commaExpressions = _box_0.commaExpressions_;
94161 spaceExpressions = _box_0.spaceExpressions_;
94162 if (commaExpressions != null) {
94163 resolveSpaceExpressions.call$0();
94164 _this._stylesheet0$_inParentheses = wasInParentheses;
94165 singleExpression = _box_0.singleExpression_;
94166 if (singleExpression != null)
94167 commaExpressions.push(singleExpression);
94168 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
94169 return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_kWM0, bracketList, t1);
94170 } else if (bracketList && spaceExpressions != null) {
94171 resolveOperations.call$0();
94172 t1 = _box_0.singleExpression_;
94173 t1.toString;
94174 spaceExpressions.push(t1);
94175 beforeBracket.toString;
94176 t2 = t2.spanFrom$1(beforeBracket);
94177 return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, true, t2);
94178 } else {
94179 resolveSpaceExpressions.call$0();
94180 if (bracketList) {
94181 t1 = _box_0.singleExpression_;
94182 t1.toString;
94183 t3 = A._setArrayType([t1], t3);
94184 beforeBracket.toString;
94185 t2 = t2.spanFrom$1(beforeBracket);
94186 _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
94187 }
94188 t1 = _box_0.singleExpression_;
94189 t1.toString;
94190 return t1;
94191 }
94192 },
94193 expression$2$singleEquals$until(singleEquals, until) {
94194 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
94195 },
94196 expression$1$bracketList(bracketList) {
94197 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
94198 },
94199 expression$0() {
94200 return this.expression$3$bracketList$singleEquals$until(false, false, null);
94201 },
94202 expression$1$singleEquals(singleEquals) {
94203 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
94204 },
94205 expression$1$until(until) {
94206 return this.expression$3$bracketList$singleEquals$until(false, false, until);
94207 },
94208 _stylesheet0$_expressionUntilComma$1$singleEquals(singleEquals) {
94209 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure0(this));
94210 },
94211 _stylesheet0$_expressionUntilComma$0() {
94212 return this._stylesheet0$_expressionUntilComma$1$singleEquals(false);
94213 },
94214 _stylesheet0$_isSlashOperand$1(expression) {
94215 var t1;
94216 if (!(expression instanceof A.NumberExpression0))
94217 if (!(expression instanceof A.CalculationExpression0))
94218 t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
94219 else
94220 t1 = true;
94221 else
94222 t1 = true;
94223 return t1;
94224 },
94225 _stylesheet0$_singleExpression$0() {
94226 var next, _this = this,
94227 t1 = _this.scanner,
94228 first = t1.peekChar$0();
94229 switch (first) {
94230 case 40:
94231 return _this._stylesheet0$_parentheses$0();
94232 case 47:
94233 return _this._stylesheet0$_unaryOperation$0();
94234 case 46:
94235 return _this._stylesheet0$_number$0();
94236 case 91:
94237 return _this.expression$1$bracketList(true);
94238 case 36:
94239 return _this._stylesheet0$_variable$0();
94240 case 38:
94241 return _this._stylesheet0$_selector$0();
94242 case 39:
94243 case 34:
94244 return _this.interpolatedString$0();
94245 case 35:
94246 return _this._stylesheet0$_hashExpression$0();
94247 case 43:
94248 next = t1.peekChar$1(1);
94249 return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
94250 case 45:
94251 return _this._stylesheet0$_minusExpression$0();
94252 case 33:
94253 return _this._stylesheet0$_importantExpression$0();
94254 case 117:
94255 case 85:
94256 if (t1.peekChar$1(1) === 43)
94257 return _this._stylesheet0$_unicodeRange$0();
94258 else
94259 return _this.identifierLike$0();
94260 case 48:
94261 case 49:
94262 case 50:
94263 case 51:
94264 case 52:
94265 case 53:
94266 case 54:
94267 case 55:
94268 case 56:
94269 case 57:
94270 return _this._stylesheet0$_number$0();
94271 case 97:
94272 case 98:
94273 case 99:
94274 case 100:
94275 case 101:
94276 case 102:
94277 case 103:
94278 case 104:
94279 case 105:
94280 case 106:
94281 case 107:
94282 case 108:
94283 case 109:
94284 case 110:
94285 case 111:
94286 case 112:
94287 case 113:
94288 case 114:
94289 case 115:
94290 case 116:
94291 case 118:
94292 case 119:
94293 case 120:
94294 case 121:
94295 case 122:
94296 case 65:
94297 case 66:
94298 case 67:
94299 case 68:
94300 case 69:
94301 case 70:
94302 case 71:
94303 case 72:
94304 case 73:
94305 case 74:
94306 case 75:
94307 case 76:
94308 case 77:
94309 case 78:
94310 case 79:
94311 case 80:
94312 case 81:
94313 case 82:
94314 case 83:
94315 case 84:
94316 case 86:
94317 case 87:
94318 case 88:
94319 case 89:
94320 case 90:
94321 case 95:
94322 case 92:
94323 return _this.identifierLike$0();
94324 default:
94325 if (first != null && first >= 128)
94326 return _this.identifierLike$0();
94327 t1.error$1(0, "Expected expression.");
94328 }
94329 },
94330 _stylesheet0$_parentheses$0() {
94331 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
94332 if (_this.get$plainCss())
94333 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
94334 wasInParentheses = _this._stylesheet0$_inParentheses;
94335 _this._stylesheet0$_inParentheses = true;
94336 try {
94337 t1 = _this.scanner;
94338 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94339 t1.expectChar$1(40);
94340 _this.whitespace$0();
94341 if (!_this._stylesheet0$_lookingAtExpression$0()) {
94342 t1.expectChar$1(41);
94343 t2 = A._setArrayType([], type$.JSArray_Expression_2);
94344 t1 = t1.spanFrom$1(start);
94345 t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
94346 return new A.ListExpression0(t2, B.ListSeparator_undecided_null0, false, t1);
94347 }
94348 first = _this._stylesheet0$_expressionUntilComma$0();
94349 if (t1.scanChar$1(58)) {
94350 _this.whitespace$0();
94351 t1 = _this._stylesheet0$_map$2(first, start);
94352 return t1;
94353 }
94354 if (!t1.scanChar$1(44)) {
94355 t1.expectChar$1(41);
94356 t1 = t1.spanFrom$1(start);
94357 return new A.ParenthesizedExpression0(first, t1);
94358 }
94359 _this.whitespace$0();
94360 expressions = A._setArrayType([first], type$.JSArray_Expression_2);
94361 for (; true;) {
94362 if (!_this._stylesheet0$_lookingAtExpression$0())
94363 break;
94364 J.add$1$ax(expressions, _this._stylesheet0$_expressionUntilComma$0());
94365 if (!t1.scanChar$1(44))
94366 break;
94367 _this.whitespace$0();
94368 }
94369 t1.expectChar$1(41);
94370 t1 = t1.spanFrom$1(start);
94371 t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
94372 return new A.ListExpression0(t2, B.ListSeparator_kWM0, false, t1);
94373 } finally {
94374 _this._stylesheet0$_inParentheses = wasInParentheses;
94375 }
94376 },
94377 _stylesheet0$_map$2(first, start) {
94378 var t2, key, _this = this,
94379 t1 = type$.Tuple2_Expression_Expression_2,
94380 pairs = A._setArrayType([new A.Tuple2(first, _this._stylesheet0$_expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
94381 for (t2 = _this.scanner; t2.scanChar$1(44);) {
94382 _this.whitespace$0();
94383 if (!_this._stylesheet0$_lookingAtExpression$0())
94384 break;
94385 key = _this._stylesheet0$_expressionUntilComma$0();
94386 t2.expectChar$1(58);
94387 _this.whitespace$0();
94388 pairs.push(new A.Tuple2(key, _this._stylesheet0$_expressionUntilComma$0(), t1));
94389 }
94390 t2.expectChar$1(41);
94391 t2 = t2.spanFrom$1(start);
94392 return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
94393 },
94394 _stylesheet0$_hashExpression$0() {
94395 var start, first, t2, identifier, buffer, _this = this,
94396 t1 = _this.scanner;
94397 if (t1.peekChar$1(1) === 123)
94398 return _this.identifierLike$0();
94399 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94400 t1.expectChar$1(35);
94401 first = t1.peekChar$0();
94402 if (first != null && A.isDigit0(first))
94403 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94404 t2 = t1._string_scanner$_position;
94405 identifier = _this.interpolatedIdentifier$0();
94406 if (_this._stylesheet0$_isHexColor$1(identifier)) {
94407 t1.set$state(new A._SpanScannerState(t1, t2));
94408 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94409 }
94410 t2 = new A.StringBuffer("");
94411 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94412 t2._contents = "" + A.Primitives_stringFromCharCode(35);
94413 buffer.addInterpolation$1(identifier);
94414 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94415 },
94416 _stylesheet0$_hexColorContents$1(start) {
94417 var red, green, blue, alpha, digit4, t2, t3, _this = this,
94418 digit1 = _this._stylesheet0$_hexDigit$0(),
94419 digit2 = _this._stylesheet0$_hexDigit$0(),
94420 digit3 = _this._stylesheet0$_hexDigit$0(),
94421 t1 = _this.scanner;
94422 if (!A.isHex0(t1.peekChar$0())) {
94423 red = (digit1 << 4 >>> 0) + digit1;
94424 green = (digit2 << 4 >>> 0) + digit2;
94425 blue = (digit3 << 4 >>> 0) + digit3;
94426 alpha = null;
94427 } else {
94428 digit4 = _this._stylesheet0$_hexDigit$0();
94429 t2 = digit1 << 4 >>> 0;
94430 t3 = digit3 << 4 >>> 0;
94431 if (!A.isHex0(t1.peekChar$0())) {
94432 red = t2 + digit1;
94433 green = (digit2 << 4 >>> 0) + digit2;
94434 blue = t3 + digit3;
94435 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
94436 } else {
94437 red = t2 + digit2;
94438 green = t3 + digit4;
94439 blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
94440 alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
94441 }
94442 }
94443 return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
94444 },
94445 _stylesheet0$_isHexColor$1(interpolation) {
94446 var t1,
94447 plain = interpolation.get$asPlain();
94448 if (plain == null)
94449 return false;
94450 t1 = plain.length;
94451 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
94452 return false;
94453 t1 = new A.CodeUnits(plain);
94454 return t1.every$1(t1, A.character0__isHex$closure());
94455 },
94456 _stylesheet0$_hexDigit$0() {
94457 var t1 = this.scanner,
94458 char = t1.peekChar$0();
94459 if (char == null || !A.isHex0(char))
94460 t1.error$1(0, "Expected hex digit.");
94461 return A.asHex0(t1.readChar$0());
94462 },
94463 _stylesheet0$_minusExpression$0() {
94464 var _this = this,
94465 next = _this.scanner.peekChar$1(1);
94466 if (A.isDigit0(next) || next === 46)
94467 return _this._stylesheet0$_number$0();
94468 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94469 return _this.identifierLike$0();
94470 return _this._stylesheet0$_unaryOperation$0();
94471 },
94472 _stylesheet0$_importantExpression$0() {
94473 var t1 = this.scanner,
94474 t2 = t1._string_scanner$_position;
94475 t1.readChar$0();
94476 this.whitespace$0();
94477 this.expectIdentifier$1("important");
94478 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94479 return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
94480 },
94481 _stylesheet0$_unaryOperation$0() {
94482 var _this = this,
94483 t1 = _this.scanner,
94484 t2 = t1._string_scanner$_position,
94485 operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
94486 if (operator == null)
94487 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
94488 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx0)
94489 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
94490 _this.whitespace$0();
94491 return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94492 },
94493 _stylesheet0$_unaryOperatorFor$1(character) {
94494 switch (character) {
94495 case 43:
94496 return B.UnaryOperator_j2w0;
94497 case 45:
94498 return B.UnaryOperator_U4G0;
94499 case 47:
94500 return B.UnaryOperator_zDx0;
94501 default:
94502 return null;
94503 }
94504 },
94505 _stylesheet0$_number$0() {
94506 var number, t4, unit, t5, _this = this,
94507 t1 = _this.scanner,
94508 t2 = t1._string_scanner$_position,
94509 first = t1.peekChar$0(),
94510 t3 = first === 45,
94511 sign = t3 ? -1 : 1;
94512 if (first === 43 || t3)
94513 t1.readChar$0();
94514 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
94515 t3 = _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
94516 t4 = _this._stylesheet0$_tryExponent$0();
94517 if (t1.scanChar$1(37))
94518 unit = "%";
94519 else {
94520 if (_this.lookingAtIdentifier$0())
94521 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
94522 else
94523 t5 = false;
94524 unit = t5 ? _this.identifier$1$unit(true) : null;
94525 }
94526 return new A.NumberExpression0(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94527 },
94528 _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
94529 var t2,
94530 t1 = this.scanner,
94531 start = t1._string_scanner$_position;
94532 if (t1.peekChar$0() !== 46)
94533 return 0;
94534 if (!A.isDigit0(t1.peekChar$1(1))) {
94535 if (allowTrailingDot)
94536 return 0;
94537 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
94538 }
94539 t1.readChar$0();
94540 while (true) {
94541 t2 = t1.peekChar$0();
94542 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94543 break;
94544 t1.readChar$0();
94545 }
94546 return A.double_parse(t1.substring$1(0, start));
94547 },
94548 _stylesheet0$_tryExponent$0() {
94549 var next, t2, exponentSign, exponent,
94550 t1 = this.scanner,
94551 first = t1.peekChar$0();
94552 if (first !== 101 && first !== 69)
94553 return 1;
94554 next = t1.peekChar$1(1);
94555 if (!A.isDigit0(next) && next !== 45 && next !== 43)
94556 return 1;
94557 t1.readChar$0();
94558 t2 = next === 45;
94559 exponentSign = t2 ? -1 : 1;
94560 if (next === 43 || t2)
94561 t1.readChar$0();
94562 if (!A.isDigit0(t1.peekChar$0()))
94563 t1.error$1(0, "Expected digit.");
94564 exponent = 0;
94565 while (true) {
94566 t2 = t1.peekChar$0();
94567 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94568 break;
94569 exponent = exponent * 10 + (t1.readChar$0() - 48);
94570 }
94571 return Math.pow(10, exponentSign * exponent);
94572 },
94573 _stylesheet0$_unicodeRange$0() {
94574 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
94575 _s26_ = "Expected at most 6 digits.",
94576 t1 = _this.scanner,
94577 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94578 _this.expectIdentChar$1(117);
94579 t1.expectChar$1(43);
94580 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
94581 ++firstRangeLength;
94582 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
94583 ++firstRangeLength;
94584 if (firstRangeLength === 0)
94585 t1.error$1(0, 'Expected hex digit or "?".');
94586 else if (firstRangeLength > 6)
94587 _this.error$2(0, _s26_, t1.spanFrom$1(start));
94588 else if (hasQuestionMark) {
94589 t2 = t1.substring$1(0, start.position);
94590 t1 = t1.spanFrom$1(start);
94591 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94592 }
94593 if (t1.scanChar$1(45)) {
94594 t2 = t1._string_scanner$_position;
94595 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
94596 ++secondRangeLength;
94597 if (secondRangeLength === 0)
94598 t1.error$1(0, "Expected hex digit.");
94599 else if (secondRangeLength > 6)
94600 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94601 }
94602 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
94603 t1.error$1(0, "Expected end of identifier.");
94604 t2 = t1.substring$1(0, start.position);
94605 t1 = t1.spanFrom$1(start);
94606 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94607 },
94608 _stylesheet0$_variable$0() {
94609 var _this = this,
94610 t1 = _this.scanner,
94611 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94612 $name = _this.variableName$0();
94613 if (_this.get$plainCss())
94614 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
94615 return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
94616 },
94617 _stylesheet0$_selector$0() {
94618 var t1, start, _this = this;
94619 if (_this.get$plainCss())
94620 _this.scanner.error$2$length(0, string$.The_pa, 1);
94621 t1 = _this.scanner;
94622 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94623 t1.expectChar$1(38);
94624 if (t1.scanChar$1(38)) {
94625 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
94626 t1.set$position(t1._string_scanner$_position - 1);
94627 }
94628 return new A.SelectorExpression0(t1.spanFrom$1(start));
94629 },
94630 interpolatedString$0() {
94631 var t3, t4, buffer, next, second, t5,
94632 t1 = this.scanner,
94633 t2 = t1._string_scanner$_position,
94634 quote = t1.readChar$0();
94635 if (quote !== 39 && quote !== 34)
94636 t1.error$2$position(0, "Expected string.", t2);
94637 t3 = new A.StringBuffer("");
94638 t4 = A._setArrayType([], type$.JSArray_Object);
94639 buffer = new A.InterpolationBuffer0(t3, t4);
94640 for (; true;) {
94641 next = t1.peekChar$0();
94642 if (next === quote) {
94643 t1.readChar$0();
94644 break;
94645 } else if (next == null || next === 10 || next === 13 || next === 12)
94646 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
94647 else if (next === 92) {
94648 second = t1.peekChar$1(1);
94649 if (second === 10 || second === 13 || second === 12) {
94650 t1.readChar$0();
94651 t1.readChar$0();
94652 if (second === 13)
94653 t1.scanChar$1(10);
94654 } else
94655 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
94656 } else if (next === 35)
94657 if (t1.peekChar$1(1) === 123) {
94658 t5 = this.singleInterpolation$0();
94659 buffer._interpolation_buffer0$_flushText$0();
94660 t4.push(t5);
94661 } else
94662 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94663 else
94664 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94665 }
94666 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
94667 },
94668 identifierLike$0() {
94669 var invocation, lower, color, specialFunction, _this = this,
94670 t1 = _this.scanner,
94671 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94672 identifier = _this.interpolatedIdentifier$0(),
94673 plain = identifier.get$asPlain(),
94674 t2 = plain == null,
94675 t3 = !t2;
94676 if (t3) {
94677 if (plain === "if" && t1.peekChar$0() === 40) {
94678 invocation = _this._stylesheet0$_argumentInvocation$0();
94679 return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
94680 } else if (plain === "not") {
94681 _this.whitespace$0();
94682 return new A.UnaryOperationExpression0(B.UnaryOperator_not_not0, _this._stylesheet0$_singleExpression$0(), identifier.span);
94683 }
94684 lower = plain.toLowerCase();
94685 if (t1.peekChar$0() !== 40) {
94686 switch (plain) {
94687 case "false":
94688 return new A.BooleanExpression0(false, identifier.span);
94689 case "null":
94690 return new A.NullExpression0(identifier.span);
94691 case "true":
94692 return new A.BooleanExpression0(true, identifier.span);
94693 }
94694 color = $.$get$colorsByName0().$index(0, lower);
94695 if (color != null) {
94696 t1 = identifier.span;
94697 return new A.ColorExpression0(A.SassColor$rgbInternal0(color.get$red(color), color.get$green(color), color.get$blue(color), color._color1$_alpha, new A.SpanColorFormat0(t1)), t1);
94698 }
94699 }
94700 specialFunction = _this.trySpecialFunction$2(lower, start);
94701 if (specialFunction != null)
94702 return specialFunction;
94703 }
94704 switch (t1.peekChar$0()) {
94705 case 46:
94706 if (t1.peekChar$1(1) === 46)
94707 return new A.StringExpression0(identifier, false);
94708 t1.readChar$0();
94709 if (t3)
94710 return _this.namespacedExpression$2(plain, start);
94711 _this.error$2(0, string$.Interpn, identifier.span);
94712 break;
94713 case 40:
94714 if (t2)
94715 return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94716 else
94717 return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94718 default:
94719 return new A.StringExpression0(identifier, false);
94720 }
94721 },
94722 namespacedExpression$2(namespace, start) {
94723 var $name, _this = this,
94724 t1 = _this.scanner;
94725 if (t1.peekChar$0() === 36) {
94726 $name = _this.variableName$0();
94727 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
94728 return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
94729 }
94730 return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94731 },
94732 trySpecialFunction$2($name, start) {
94733 var t2, buffer, t3, next, _this = this, _null = null,
94734 t1 = _this.scanner,
94735 calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
94736 if (calculation != null)
94737 return calculation;
94738 switch (A.unvendor0($name)) {
94739 case "calc":
94740 case "element":
94741 case "expression":
94742 if (!t1.scanChar$1(40))
94743 return _null;
94744 t2 = new A.StringBuffer("");
94745 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94746 t3 = "" + $name;
94747 t2._contents = t3;
94748 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
94749 break;
94750 case "progid":
94751 if (!t1.scanChar$1(58))
94752 return _null;
94753 t2 = new A.StringBuffer("");
94754 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94755 t3 = "" + $name;
94756 t2._contents = t3;
94757 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
94758 next = t1.peekChar$0();
94759 while (true) {
94760 if (next != null) {
94761 if (!(next >= 97 && next <= 122))
94762 t3 = next >= 65 && next <= 90;
94763 else
94764 t3 = true;
94765 t3 = t3 || next === 46;
94766 } else
94767 t3 = false;
94768 if (!t3)
94769 break;
94770 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94771 next = t1.peekChar$0();
94772 }
94773 t1.expectChar$1(40);
94774 t2._contents += A.Primitives_stringFromCharCode(40);
94775 break;
94776 case "url":
94777 return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
94778 default:
94779 return _null;
94780 }
94781 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
94782 t1.expectChar$1(41);
94783 buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
94784 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94785 },
94786 _stylesheet0$_tryCalculation$2($name, start) {
94787 var beforeArguments, $arguments, t1, exception, t2, _this = this;
94788 switch ($name) {
94789 case "calc":
94790 $arguments = _this._stylesheet0$_calculationArguments$1(1);
94791 t1 = _this.scanner.spanFrom$1(start);
94792 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94793 case "min":
94794 case "max":
94795 t1 = _this.scanner;
94796 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
94797 $arguments = null;
94798 try {
94799 $arguments = _this._stylesheet0$_calculationArguments$0();
94800 } catch (exception) {
94801 if (type$.FormatException._is(A.unwrapException(exception))) {
94802 t1.set$state(beforeArguments);
94803 return null;
94804 } else
94805 throw exception;
94806 }
94807 t2 = $arguments;
94808 t1 = t1.spanFrom$1(start);
94809 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
94810 case "clamp":
94811 $arguments = _this._stylesheet0$_calculationArguments$1(3);
94812 t1 = _this.scanner.spanFrom$1(start);
94813 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94814 default:
94815 return null;
94816 }
94817 },
94818 _stylesheet0$_calculationArguments$1(maxArgs) {
94819 var interpolation, $arguments, t2, _this = this,
94820 t1 = _this.scanner;
94821 t1.expectChar$1(40);
94822 interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94823 if (interpolation != null) {
94824 t1.expectChar$1(41);
94825 return A._setArrayType([interpolation], type$.JSArray_Expression_2);
94826 }
94827 _this.whitespace$0();
94828 $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
94829 t2 = maxArgs != null;
94830 while (true) {
94831 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
94832 break;
94833 _this.whitespace$0();
94834 $arguments.push(_this._stylesheet0$_calculationSum$0());
94835 }
94836 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
94837 return $arguments;
94838 },
94839 _stylesheet0$_calculationArguments$0() {
94840 return this._stylesheet0$_calculationArguments$1(null);
94841 },
94842 _stylesheet0$_calculationSum$0() {
94843 var t1, next, t2, t3, _this = this,
94844 sum = _this._stylesheet0$_calculationProduct$0();
94845 for (t1 = _this.scanner; true;) {
94846 next = t1.peekChar$0();
94847 t2 = next === 43;
94848 if (t2 || next === 45) {
94849 t3 = t1.peekChar$1(-1);
94850 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
94851 t3 = t1.peekChar$1(1);
94852 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
94853 } else
94854 t3 = true;
94855 if (t3)
94856 t1.error$1(0, string$.x22x2b__an);
94857 t1.readChar$0();
94858 _this.whitespace$0();
94859 t2 = t2 ? B.BinaryOperator_AcR2 : B.BinaryOperator_iyO0;
94860 sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
94861 } else
94862 return sum;
94863 }
94864 },
94865 _stylesheet0$_calculationProduct$0() {
94866 var t1, next, t2, _this = this,
94867 product = _this._stylesheet0$_calculationValue$0();
94868 for (t1 = _this.scanner; true;) {
94869 _this.whitespace$0();
94870 next = t1.peekChar$0();
94871 t2 = next === 42;
94872 if (t2 || next === 47) {
94873 t1.readChar$0();
94874 _this.whitespace$0();
94875 t2 = t2 ? B.BinaryOperator_O1M0 : B.BinaryOperator_RTB0;
94876 product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
94877 } else
94878 return product;
94879 }
94880 },
94881 _stylesheet0$_calculationValue$0() {
94882 var t2, value, start, ident, lowerCase, calculation, _this = this,
94883 t1 = _this.scanner,
94884 next = t1.peekChar$0();
94885 if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
94886 return _this._stylesheet0$_number$0();
94887 else if (next === 36)
94888 return _this._stylesheet0$_variable$0();
94889 else if (next === 40) {
94890 t2 = t1._string_scanner$_position;
94891 t1.readChar$0();
94892 value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94893 if (value == null) {
94894 _this.whitespace$0();
94895 value = _this._stylesheet0$_calculationSum$0();
94896 }
94897 _this.whitespace$0();
94898 t1.expectChar$1(41);
94899 return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94900 } else if (!_this.lookingAtIdentifier$0())
94901 t1.error$1(0, string$.Expectn);
94902 else {
94903 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94904 ident = _this.identifier$0();
94905 if (t1.scanChar$1(46))
94906 return _this.namespacedExpression$2(ident, start);
94907 if (t1.peekChar$0() !== 40)
94908 t1.error$1(0, 'Expected "(" or ".".');
94909 lowerCase = ident.toLowerCase();
94910 calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
94911 if (calculation != null)
94912 return calculation;
94913 else if (lowerCase === "if")
94914 return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94915 else
94916 return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94917 }
94918 },
94919 _stylesheet0$_containsCalculationInterpolation$0() {
94920 var t2, parens, next, target, t3, _null = null,
94921 _s64_ = string$.The_gi,
94922 _s17_ = "Invalid position ",
94923 brackets = A._setArrayType([], type$.JSArray_int),
94924 t1 = this.scanner,
94925 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94926 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
94927 next = t1.peekChar$0();
94928 switch (next) {
94929 case 92:
94930 target = 1;
94931 break;
94932 case 47:
94933 target = 2;
94934 break;
94935 case 39:
94936 case 34:
94937 target = 3;
94938 break;
94939 case 35:
94940 target = 4;
94941 break;
94942 case 40:
94943 target = 5;
94944 break;
94945 case 123:
94946 case 91:
94947 target = 6;
94948 break;
94949 case 41:
94950 target = 7;
94951 break;
94952 case 125:
94953 case 93:
94954 target = 8;
94955 break;
94956 default:
94957 target = 9;
94958 break;
94959 }
94960 c$0:
94961 for (; true;)
94962 switch (target) {
94963 case 1:
94964 t1.readChar$0();
94965 t1.readChar$0();
94966 break c$0;
94967 case 2:
94968 if (!this.scanComment$0())
94969 t1.readChar$0();
94970 break c$0;
94971 case 3:
94972 this.interpolatedString$0();
94973 break c$0;
94974 case 4:
94975 if (parens === 0 && t1.peekChar$1(1) === 123) {
94976 if (start._scanner !== t1)
94977 A.throwExpression(A.ArgumentError$(_s64_, _null));
94978 t3 = start.position;
94979 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
94980 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
94981 t1._string_scanner$_position = t3;
94982 t1._lastMatch = null;
94983 return true;
94984 }
94985 t1.readChar$0();
94986 break c$0;
94987 case 5:
94988 ++parens;
94989 target = 6;
94990 continue c$0;
94991 case 6:
94992 next.toString;
94993 brackets.push(A.opposite0(next));
94994 t1.readChar$0();
94995 break c$0;
94996 case 7:
94997 --parens;
94998 target = 8;
94999 continue c$0;
95000 case 8:
95001 if (brackets.length === 0 || brackets.pop() !== next) {
95002 if (start._scanner !== t1)
95003 A.throwExpression(A.ArgumentError$(_s64_, _null));
95004 t3 = start.position;
95005 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
95006 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
95007 t1._string_scanner$_position = t3;
95008 t1._lastMatch = null;
95009 return false;
95010 }
95011 t1.readChar$0();
95012 break c$0;
95013 case 9:
95014 t1.readChar$0();
95015 break c$0;
95016 }
95017 }
95018 t1.set$state(start);
95019 return false;
95020 },
95021 _stylesheet0$_tryUrlContents$2$name(start, $name) {
95022 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
95023 t1 = _this.scanner,
95024 t2 = t1._string_scanner$_position;
95025 if (!t1.scanChar$1(40))
95026 return null;
95027 _this.whitespaceWithoutComments$0();
95028 t3 = new A.StringBuffer("");
95029 t4 = A._setArrayType([], type$.JSArray_Object);
95030 buffer = new A.InterpolationBuffer0(t3, t4);
95031 t5 = "" + ($name == null ? "url" : $name);
95032 t3._contents = t5;
95033 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
95034 for (; true;) {
95035 next = t1.peekChar$0();
95036 if (next == null)
95037 break;
95038 else if (next === 92)
95039 t3._contents += A.S(_this.escape$0());
95040 else {
95041 if (next !== 33)
95042 if (next !== 37)
95043 if (next !== 38)
95044 t5 = next >= 42 && next <= 126 || next >= 128;
95045 else
95046 t5 = true;
95047 else
95048 t5 = true;
95049 else
95050 t5 = true;
95051 if (t5)
95052 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95053 else if (next === 35)
95054 if (t1.peekChar$1(1) === 123) {
95055 t5 = _this.singleInterpolation$0();
95056 buffer._interpolation_buffer0$_flushText$0();
95057 t4.push(t5);
95058 } else
95059 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95060 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
95061 _this.whitespaceWithoutComments$0();
95062 if (t1.peekChar$0() !== 41)
95063 break;
95064 } else if (next === 41) {
95065 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95066 endPosition = t1._string_scanner$_position;
95067 t2 = t1._sourceFile;
95068 t5 = start.position;
95069 t1 = new A._FileSpan(t2, t5, endPosition);
95070 t1._FileSpan$3(t2, t5, endPosition);
95071 t5 = type$.Object;
95072 t2 = A.List_List$of(t4, true, t5);
95073 t4 = t3._contents;
95074 if (t4.length !== 0)
95075 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
95076 result = A.List_List$from(t2, false, t5);
95077 result.fixed$length = Array;
95078 result.immutable$list = Array;
95079 t3 = new A.Interpolation0(result, t1);
95080 t3.Interpolation$20(t2, t1);
95081 return t3;
95082 } else
95083 break;
95084 }
95085 }
95086 t1.set$state(new A._SpanScannerState(t1, t2));
95087 return null;
95088 },
95089 _stylesheet0$_tryUrlContents$1(start) {
95090 return this._stylesheet0$_tryUrlContents$2$name(start, null);
95091 },
95092 dynamicUrl$0() {
95093 var contents, _this = this,
95094 t1 = _this.scanner,
95095 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95096 _this.expectIdentifier$1("url");
95097 contents = _this._stylesheet0$_tryUrlContents$1(start);
95098 if (contents != null)
95099 return new A.StringExpression0(contents, false);
95100 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));
95101 },
95102 almostAnyValue$1$omitComments(omitComments) {
95103 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
95104 t1 = _this.scanner,
95105 t2 = t1._string_scanner$_position,
95106 t3 = new A.StringBuffer(""),
95107 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
95108 $label0$1:
95109 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
95110 next = t1.peekChar$0();
95111 switch (next) {
95112 case 92:
95113 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95114 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95115 break;
95116 case 34:
95117 case 39:
95118 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
95119 break;
95120 case 47:
95121 commentStart = t1._string_scanner$_position;
95122 if (_this.scanComment$0()) {
95123 if (t6) {
95124 end = t1._string_scanner$_position;
95125 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
95126 }
95127 } else
95128 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95129 break;
95130 case 35:
95131 if (t1.peekChar$1(1) === 123)
95132 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95133 else
95134 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95135 break;
95136 case 13:
95137 case 10:
95138 case 12:
95139 if (_this.get$indented())
95140 break $label0$1;
95141 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95142 break;
95143 case 33:
95144 case 59:
95145 case 123:
95146 case 125:
95147 break $label0$1;
95148 case 117:
95149 case 85:
95150 t7 = t1._string_scanner$_position;
95151 if (!_this.scanIdentifier$1("url")) {
95152 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95153 break;
95154 }
95155 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
95156 if (contents == null) {
95157 if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
95158 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
95159 t1._string_scanner$_position = t7;
95160 t1._lastMatch = null;
95161 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95162 } else
95163 buffer.addInterpolation$1(contents);
95164 break;
95165 default:
95166 if (next == null)
95167 break $label0$1;
95168 if (_this.lookingAtIdentifier$0())
95169 t3._contents += _this.identifier$0();
95170 else
95171 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95172 break;
95173 }
95174 }
95175 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95176 },
95177 almostAnyValue$0() {
95178 return this.almostAnyValue$1$omitComments(false);
95179 },
95180 _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
95181 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
95182 t1 = _this.scanner,
95183 t2 = t1._string_scanner$_position,
95184 t3 = new A.StringBuffer(""),
95185 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
95186 brackets = A._setArrayType([], type$.JSArray_int);
95187 $label0$1:
95188 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
95189 next = t1.peekChar$0();
95190 switch (next) {
95191 case 92:
95192 t3._contents += A.S(_this.escape$1$identifierStart(true));
95193 wroteNewline = false;
95194 break;
95195 case 34:
95196 case 39:
95197 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
95198 wroteNewline = false;
95199 break;
95200 case 47:
95201 if (t1.peekChar$1(1) === 42) {
95202 t8 = _this.get$loudComment();
95203 start = t1._string_scanner$_position;
95204 t8.call$0();
95205 end = t1._string_scanner$_position;
95206 t3._contents += B.JSString_methods.substring$2(t4, start, end);
95207 } else
95208 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95209 wroteNewline = false;
95210 break;
95211 case 35:
95212 if (t1.peekChar$1(1) === 123)
95213 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95214 else
95215 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95216 wroteNewline = false;
95217 break;
95218 case 32:
95219 case 9:
95220 if (!wroteNewline) {
95221 t8 = t1.peekChar$1(1);
95222 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
95223 } else
95224 t8 = true;
95225 if (t8)
95226 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95227 else
95228 t1.readChar$0();
95229 break;
95230 case 10:
95231 case 13:
95232 case 12:
95233 if (_this.get$indented())
95234 break $label0$1;
95235 t8 = t1.peekChar$1(-1);
95236 if (!(t8 === 10 || t8 === 13 || t8 === 12))
95237 t3._contents += "\n";
95238 t1.readChar$0();
95239 wroteNewline = true;
95240 break;
95241 case 40:
95242 case 123:
95243 case 91:
95244 next.toString;
95245 t3._contents += A.Primitives_stringFromCharCode(next);
95246 brackets.push(A.opposite0(t1.readChar$0()));
95247 wroteNewline = false;
95248 break;
95249 case 41:
95250 case 125:
95251 case 93:
95252 if (brackets.length === 0)
95253 break $label0$1;
95254 next.toString;
95255 t3._contents += A.Primitives_stringFromCharCode(next);
95256 t1.expectChar$1(brackets.pop());
95257 wroteNewline = false;
95258 break;
95259 case 59:
95260 if (t7 && brackets.length === 0)
95261 break $label0$1;
95262 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95263 wroteNewline = false;
95264 break;
95265 case 58:
95266 if (t6 && brackets.length === 0)
95267 break $label0$1;
95268 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95269 wroteNewline = false;
95270 break;
95271 case 117:
95272 case 85:
95273 t8 = t1._string_scanner$_position;
95274 if (!_this.scanIdentifier$1("url")) {
95275 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95276 wroteNewline = false;
95277 break;
95278 }
95279 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
95280 if (contents == null) {
95281 if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
95282 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
95283 t1._string_scanner$_position = t8;
95284 t1._lastMatch = null;
95285 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95286 } else
95287 buffer.addInterpolation$1(contents);
95288 wroteNewline = false;
95289 break;
95290 default:
95291 if (next == null)
95292 break $label0$1;
95293 if (_this.lookingAtIdentifier$0())
95294 t3._contents += _this.identifier$0();
95295 else
95296 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95297 wroteNewline = false;
95298 break;
95299 }
95300 }
95301 if (brackets.length !== 0)
95302 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
95303 if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
95304 t1.error$1(0, "Expected token.");
95305 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95306 },
95307 _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
95308 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
95309 },
95310 _stylesheet0$_interpolatedDeclarationValue$0() {
95311 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
95312 },
95313 _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
95314 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
95315 },
95316 interpolatedIdentifier$0() {
95317 var first, _this = this,
95318 _s20_ = "Expected identifier.",
95319 t1 = _this.scanner,
95320 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95321 t2 = new A.StringBuffer(""),
95322 t3 = A._setArrayType([], type$.JSArray_Object),
95323 buffer = new A.InterpolationBuffer0(t2, t3);
95324 if (t1.scanChar$1(45)) {
95325 t2._contents += A.Primitives_stringFromCharCode(45);
95326 if (t1.scanChar$1(45)) {
95327 t2._contents += A.Primitives_stringFromCharCode(45);
95328 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95329 return buffer.interpolation$1(t1.spanFrom$1(start));
95330 }
95331 }
95332 first = t1.peekChar$0();
95333 if (first == null)
95334 t1.error$1(0, _s20_);
95335 else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
95336 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95337 else if (first === 92)
95338 t2._contents += A.S(_this.escape$1$identifierStart(true));
95339 else if (first === 35 && t1.peekChar$1(1) === 123) {
95340 t2 = _this.singleInterpolation$0();
95341 buffer._interpolation_buffer0$_flushText$0();
95342 t3.push(t2);
95343 } else
95344 t1.error$1(0, _s20_);
95345 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95346 return buffer.interpolation$1(t1.spanFrom$1(start));
95347 },
95348 _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
95349 var t1, t2, t3, next, t4;
95350 for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
95351 next = t2.peekChar$0();
95352 if (next == null)
95353 break;
95354 else {
95355 if (next !== 95)
95356 if (next !== 45) {
95357 if (!(next >= 97 && next <= 122))
95358 t4 = next >= 65 && next <= 90;
95359 else
95360 t4 = true;
95361 if (!t4)
95362 t4 = next >= 48 && next <= 57;
95363 else
95364 t4 = true;
95365 t4 = t4 || next >= 128;
95366 } else
95367 t4 = true;
95368 else
95369 t4 = true;
95370 if (t4)
95371 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
95372 else if (next === 92)
95373 t3._contents += A.S(this.escape$0());
95374 else if (next === 35 && t2.peekChar$1(1) === 123) {
95375 t4 = this.singleInterpolation$0();
95376 buffer._interpolation_buffer0$_flushText$0();
95377 t1.push(t4);
95378 } else
95379 break;
95380 }
95381 }
95382 },
95383 singleInterpolation$0() {
95384 var contents, _this = this,
95385 t1 = _this.scanner,
95386 t2 = t1._string_scanner$_position;
95387 t1.expect$1("#{");
95388 _this.whitespace$0();
95389 contents = _this.expression$0();
95390 t1.expectChar$1(125);
95391 if (_this.get$plainCss())
95392 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95393 return contents;
95394 },
95395 _stylesheet0$_mediaQueryList$0() {
95396 var t4,
95397 t1 = this.scanner,
95398 t2 = t1._string_scanner$_position,
95399 t3 = new A.StringBuffer(""),
95400 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
95401 for (; true;) {
95402 this.whitespace$0();
95403 this._stylesheet0$_mediaQuery$1(buffer);
95404 if (!t1.scanChar$1(44))
95405 break;
95406 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
95407 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
95408 }
95409 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95410 },
95411 _stylesheet0$_mediaQuery$1(buffer) {
95412 var t1, identifier, _this = this;
95413 if (_this.scanner.peekChar$0() !== 40) {
95414 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95415 _this.whitespace$0();
95416 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
95417 return;
95418 t1 = buffer._interpolation_buffer0$_text;
95419 t1._contents += A.Primitives_stringFromCharCode(32);
95420 identifier = _this.interpolatedIdentifier$0();
95421 _this.whitespace$0();
95422 if (A.equalsIgnoreCase0(identifier.get$asPlain(), "and"))
95423 t1._contents += " and ";
95424 else {
95425 buffer.addInterpolation$1(identifier);
95426 if (_this.scanIdentifier$1("and")) {
95427 _this.whitespace$0();
95428 t1._contents += " and ";
95429 } else
95430 return;
95431 }
95432 }
95433 for (t1 = buffer._interpolation_buffer0$_text; true;) {
95434 _this.whitespace$0();
95435 buffer.addInterpolation$1(_this._stylesheet0$_mediaFeature$0());
95436 _this.whitespace$0();
95437 if (!_this.scanIdentifier$1("and"))
95438 break;
95439 t1._contents += " and ";
95440 }
95441 },
95442 _stylesheet0$_mediaFeature$0() {
95443 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
95444 t1 = _this.scanner;
95445 if (t1.peekChar$0() === 35) {
95446 interpolation = _this.singleInterpolation$0();
95447 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
95448 }
95449 t2 = t1._string_scanner$_position;
95450 t3 = new A.StringBuffer("");
95451 t4 = A._setArrayType([], type$.JSArray_Object);
95452 buffer = new A.InterpolationBuffer0(t3, t4);
95453 t1.expectChar$1(40);
95454 t3._contents += A.Primitives_stringFromCharCode(40);
95455 _this.whitespace$0();
95456 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95457 buffer._interpolation_buffer0$_flushText$0();
95458 t4.push(t5);
95459 if (t1.scanChar$1(58)) {
95460 _this.whitespace$0();
95461 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
95462 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
95463 t5 = _this.expression$0();
95464 buffer._interpolation_buffer0$_flushText$0();
95465 t4.push(t5);
95466 } else {
95467 next = t1.peekChar$0();
95468 t5 = next !== 60;
95469 if (!t5 || next === 62 || next === 61) {
95470 t3._contents += A.Primitives_stringFromCharCode(32);
95471 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95472 if ((!t5 || next === 62) && t1.scanChar$1(61))
95473 t3._contents += A.Primitives_stringFromCharCode(61);
95474 t3._contents += A.Primitives_stringFromCharCode(32);
95475 _this.whitespace$0();
95476 t6 = _this._stylesheet0$_expressionUntilComparison$0();
95477 buffer._interpolation_buffer0$_flushText$0();
95478 t4.push(t6);
95479 if (!t5 || next === 62) {
95480 next.toString;
95481 t5 = t1.scanChar$1(next);
95482 } else
95483 t5 = false;
95484 if (t5) {
95485 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
95486 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
95487 if (t1.scanChar$1(61))
95488 t3._contents += A.Primitives_stringFromCharCode(61);
95489 t3._contents += A.Primitives_stringFromCharCode(32);
95490 _this.whitespace$0();
95491 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95492 buffer._interpolation_buffer0$_flushText$0();
95493 t4.push(t5);
95494 }
95495 }
95496 }
95497 t1.expectChar$1(41);
95498 _this.whitespace$0();
95499 t3._contents += A.Primitives_stringFromCharCode(41);
95500 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95501 },
95502 _stylesheet0$_expressionUntilComparison$0() {
95503 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
95504 },
95505 _stylesheet0$_supportsCondition$0() {
95506 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
95507 t1 = _this.scanner,
95508 t2 = t1._string_scanner$_position;
95509 if (_this.scanIdentifier$1("not")) {
95510 _this.whitespace$0();
95511 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95512 }
95513 condition = _this._stylesheet0$_supportsConditionInParens$0();
95514 _this.whitespace$0();
95515 for (operator = null; _this.lookingAtIdentifier$0();) {
95516 if (operator != null)
95517 _this.expectIdentifier$1(operator);
95518 else if (_this.scanIdentifier$1("or"))
95519 operator = "or";
95520 else {
95521 _this.expectIdentifier$1("and");
95522 operator = "and";
95523 }
95524 _this.whitespace$0();
95525 right = _this._stylesheet0$_supportsConditionInParens$0();
95526 endPosition = t1._string_scanner$_position;
95527 t3 = t1._sourceFile;
95528 t4 = new A._FileSpan(t3, t2, endPosition);
95529 t4._FileSpan$3(t3, t2, endPosition);
95530 condition = new A.SupportsOperation0(condition, right, operator, t4);
95531 lowerOperator = operator.toLowerCase();
95532 if (lowerOperator !== "and" && lowerOperator !== "or")
95533 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95534 _this.whitespace$0();
95535 }
95536 return condition;
95537 },
95538 _stylesheet0$_supportsConditionInParens$0() {
95539 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
95540 t1 = _this.scanner,
95541 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95542 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
95543 identifier0 = _this.interpolatedIdentifier$0();
95544 t2 = identifier0.get$asPlain();
95545 if ((t2 == null ? null : t2.toLowerCase()) === "not")
95546 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
95547 if (t1.scanChar$1(40)) {
95548 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
95549 t1.expectChar$1(41);
95550 return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
95551 } else {
95552 t2 = identifier0.contents;
95553 if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
95554 _this.error$2(0, "Expected @supports condition.", identifier0.span);
95555 else
95556 return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
95557 }
95558 }
95559 t1.expectChar$1(40);
95560 _this.whitespace$0();
95561 if (_this.scanIdentifier$1("not")) {
95562 _this.whitespace$0();
95563 condition = _this._stylesheet0$_supportsConditionInParens$0();
95564 t1.expectChar$1(41);
95565 return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
95566 } else if (t1.peekChar$0() === 40) {
95567 condition = _this._stylesheet0$_supportsCondition$0();
95568 t1.expectChar$1(41);
95569 return condition;
95570 }
95571 $name = null;
95572 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
95573 wasInParentheses = _this._stylesheet0$_inParentheses;
95574 try {
95575 $name = _this.expression$0();
95576 t1.expectChar$1(58);
95577 } catch (exception) {
95578 if (type$.FormatException._is(A.unwrapException(exception))) {
95579 t1.set$state(nameStart);
95580 _this._stylesheet0$_inParentheses = wasInParentheses;
95581 identifier = _this.interpolatedIdentifier$0();
95582 operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
95583 if (operation != null) {
95584 t1.expectChar$1(41);
95585 return operation;
95586 }
95587 t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
95588 t2.addInterpolation$1(identifier);
95589 t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
95590 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
95591 if (t1.peekChar$0() === 58)
95592 throw exception;
95593 t1.expectChar$1(41);
95594 return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
95595 } else
95596 throw exception;
95597 }
95598 declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
95599 t1.expectChar$1(41);
95600 return declaration;
95601 },
95602 _stylesheet0$_supportsDeclarationValue$2($name, start) {
95603 var value, _this = this;
95604 if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
95605 value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
95606 else {
95607 _this.whitespace$0();
95608 value = _this.expression$0();
95609 }
95610 return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
95611 },
95612 _stylesheet0$_trySupportsOperation$2(interpolation, start) {
95613 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
95614 t1 = interpolation.contents;
95615 if (t1.length !== 1)
95616 return _null;
95617 expression = B.JSArray_methods.get$first(t1);
95618 if (!type$.Expression_2._is(expression))
95619 return _null;
95620 t1 = _this.scanner;
95621 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
95622 _this.whitespace$0();
95623 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
95624 if (operator != null)
95625 _this.expectIdentifier$1(operator);
95626 else if (_this.scanIdentifier$1("and"))
95627 operator = "and";
95628 else {
95629 if (!_this.scanIdentifier$1("or")) {
95630 if (beforeWhitespace._scanner !== t1)
95631 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
95632 t2 = beforeWhitespace.position;
95633 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
95634 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
95635 t1._string_scanner$_position = t2;
95636 return t1._lastMatch = null;
95637 }
95638 operator = "or";
95639 }
95640 _this.whitespace$0();
95641 right = _this._stylesheet0$_supportsConditionInParens$0();
95642 t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
95643 endPosition = t1._string_scanner$_position;
95644 t5 = t1._sourceFile;
95645 t6 = new A._FileSpan(t5, t2, endPosition);
95646 t6._FileSpan$3(t5, t2, endPosition);
95647 operation = new A.SupportsOperation0(t4, right, operator, t6);
95648 lowerOperator = operator.toLowerCase();
95649 if (lowerOperator !== "and" && lowerOperator !== "or")
95650 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95651 _this.whitespace$0();
95652 }
95653 return operation;
95654 },
95655 _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
95656 var second,
95657 t1 = this.scanner,
95658 first = t1.peekChar$0();
95659 if (first == null)
95660 return false;
95661 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
95662 return true;
95663 if (first === 35)
95664 return t1.peekChar$1(1) === 123;
95665 if (first !== 45)
95666 return false;
95667 second = t1.peekChar$1(1);
95668 if (second == null)
95669 return false;
95670 if (second === 35)
95671 return t1.peekChar$1(2) === 123;
95672 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
95673 },
95674 _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
95675 var t1 = this.scanner,
95676 first = t1.peekChar$0();
95677 if (first == null)
95678 return false;
95679 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
95680 return true;
95681 return first === 35 && t1.peekChar$1(1) === 123;
95682 },
95683 _stylesheet0$_lookingAtExpression$0() {
95684 var next,
95685 t1 = this.scanner,
95686 character = t1.peekChar$0();
95687 if (character == null)
95688 return false;
95689 if (character === 46)
95690 return t1.peekChar$1(1) !== 46;
95691 if (character === 33) {
95692 next = t1.peekChar$1(1);
95693 if (next != null)
95694 if ((next | 32) >>> 0 !== 105)
95695 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
95696 else
95697 t1 = true;
95698 else
95699 t1 = true;
95700 return t1;
95701 }
95702 if (character !== 40)
95703 if (character !== 47)
95704 if (character !== 91)
95705 if (character !== 39)
95706 if (character !== 34)
95707 if (character !== 35)
95708 if (character !== 43)
95709 if (character !== 45)
95710 if (character !== 92)
95711 if (character !== 36)
95712 if (character !== 38)
95713 t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
95714 else
95715 t1 = true;
95716 else
95717 t1 = true;
95718 else
95719 t1 = true;
95720 else
95721 t1 = true;
95722 else
95723 t1 = true;
95724 else
95725 t1 = true;
95726 else
95727 t1 = true;
95728 else
95729 t1 = true;
95730 else
95731 t1 = true;
95732 else
95733 t1 = true;
95734 else
95735 t1 = true;
95736 return t1;
95737 },
95738 _stylesheet0$_withChildren$1$3(child, start, create) {
95739 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
95740 this.whitespaceWithoutComments$0();
95741 return result;
95742 },
95743 _stylesheet0$_withChildren$3(child, start, create) {
95744 return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
95745 },
95746 _stylesheet0$_urlString$0() {
95747 var innerError, stackTrace, t2, exception,
95748 t1 = this.scanner,
95749 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95750 url = this.string$0();
95751 try {
95752 t2 = A.Uri_parse(url);
95753 return t2;
95754 } catch (exception) {
95755 t2 = A.unwrapException(exception);
95756 if (type$.FormatException._is(t2)) {
95757 innerError = t2;
95758 stackTrace = A.getTraceFromException(exception);
95759 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
95760 } else
95761 throw exception;
95762 }
95763 },
95764 _stylesheet0$_publicIdentifier$0() {
95765 var _this = this,
95766 t1 = _this.scanner,
95767 t2 = t1._string_scanner$_position,
95768 result = _this.identifier$1$normalize(true);
95769 _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
95770 return result;
95771 },
95772 _stylesheet0$_assertPublic$2(identifier, span) {
95773 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
95774 if (!(first === 45 || first === 95))
95775 return;
95776 this.error$2(0, string$.Privat, span.call$0());
95777 },
95778 get$plainCss() {
95779 return false;
95780 }
95781 };
95782 A.StylesheetParser_parse_closure0.prototype = {
95783 call$0() {
95784 var statements, t4,
95785 t1 = this.$this,
95786 t2 = t1.scanner,
95787 t3 = t2._string_scanner$_position;
95788 t2.scanChar$1(65279);
95789 statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
95790 t2.expectDone$0();
95791 t4 = t1._stylesheet0$_globalVariables;
95792 t4 = t4.get$values(t4);
95793 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));
95794 return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
95795 },
95796 $signature: 532
95797 };
95798 A.StylesheetParser_parse__closure1.prototype = {
95799 call$0() {
95800 var t1 = this.$this;
95801 if (t1.scanner.scan$1("@charset")) {
95802 t1.whitespace$0();
95803 t1.string$0();
95804 return null;
95805 }
95806 return t1._stylesheet0$_statement$1$root(true);
95807 },
95808 $signature: 533
95809 };
95810 A.StylesheetParser_parse__closure2.prototype = {
95811 call$1(declaration) {
95812 var t1 = declaration.name,
95813 t2 = declaration.expression;
95814 return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
95815 },
95816 $signature: 534
95817 };
95818 A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
95819 call$0() {
95820 var $arguments,
95821 t1 = this.$this,
95822 t2 = t1.scanner;
95823 t2.expectChar$2$name(64, "@-rule");
95824 t1.identifier$0();
95825 t1.whitespace$0();
95826 t1.identifier$0();
95827 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95828 t1.whitespace$0();
95829 t2.expectChar$1(123);
95830 return $arguments;
95831 },
95832 $signature: 535
95833 };
95834 A.StylesheetParser__parseSingleProduction_closure0.prototype = {
95835 call$0() {
95836 var result = this.production.call$0();
95837 this.$this.scanner.expectDone$0();
95838 return result;
95839 },
95840 $signature() {
95841 return this.T._eval$1("0()");
95842 }
95843 };
95844 A.StylesheetParser_parseSignature_closure.prototype = {
95845 call$0() {
95846 var $arguments, t2, t3,
95847 t1 = this.$this,
95848 $name = t1.identifier$0();
95849 t1.whitespace$0();
95850 if (this.requireParens || t1.scanner.peekChar$0() === 40)
95851 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95852 else {
95853 t2 = t1.scanner;
95854 t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
95855 t3 = t2.offset;
95856 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
95857 }
95858 t1.scanner.expectDone$0();
95859 return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
95860 },
95861 $signature: 536
95862 };
95863 A.StylesheetParser__statement_closure0.prototype = {
95864 call$0() {
95865 return this.$this._stylesheet0$_statement$0();
95866 },
95867 $signature: 136
95868 };
95869 A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
95870 call$0() {
95871 return this.$this.scanner.spanFrom$1(this.start);
95872 },
95873 $signature: 30
95874 };
95875 A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
95876 call$0() {
95877 return this.declaration;
95878 },
95879 $signature: 537
95880 };
95881 A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
95882 call$2(children, span) {
95883 return A.Declaration$nested0(this.name, children, span, null);
95884 },
95885 $signature: 81
95886 };
95887 A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
95888 call$2(children, span) {
95889 return A.Declaration$nested0(this.name, children, span, this._box_0.value);
95890 },
95891 $signature: 81
95892 };
95893 A.StylesheetParser__styleRule_closure0.prototype = {
95894 call$2(children, span) {
95895 var _this = this,
95896 t1 = _this.$this;
95897 if (t1.get$indented() && children.length === 0)
95898 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
95899 t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
95900 return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
95901 },
95902 $signature: 539
95903 };
95904 A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
95905 call$2(children, span) {
95906 return A.Declaration$nested0(this._box_0.name, children, span, null);
95907 },
95908 $signature: 81
95909 };
95910 A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
95911 call$2(children, span) {
95912 return A.Declaration$nested0(this._box_0.name, children, span, this.value);
95913 },
95914 $signature: 81
95915 };
95916 A.StylesheetParser__atRootRule_closure1.prototype = {
95917 call$2(children, span) {
95918 return A.AtRootRule$0(children, span, this.query);
95919 },
95920 $signature: 252
95921 };
95922 A.StylesheetParser__atRootRule_closure2.prototype = {
95923 call$2(children, span) {
95924 return A.AtRootRule$0(children, span, null);
95925 },
95926 $signature: 252
95927 };
95928 A.StylesheetParser__eachRule_closure0.prototype = {
95929 call$2(children, span) {
95930 var _this = this;
95931 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95932 return A.EachRule$0(_this.variables, _this.list, children, span);
95933 },
95934 $signature: 541
95935 };
95936 A.StylesheetParser__functionRule_closure0.prototype = {
95937 call$2(children, span) {
95938 return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
95939 },
95940 $signature: 542
95941 };
95942 A.StylesheetParser__forRule_closure1.prototype = {
95943 call$0() {
95944 var t1 = this.$this;
95945 if (!t1.lookingAtIdentifier$0())
95946 return false;
95947 if (t1.scanIdentifier$1("to"))
95948 return this._box_0.exclusive = true;
95949 else if (t1.scanIdentifier$1("through")) {
95950 this._box_0.exclusive = false;
95951 return true;
95952 } else
95953 return false;
95954 },
95955 $signature: 26
95956 };
95957 A.StylesheetParser__forRule_closure2.prototype = {
95958 call$2(children, span) {
95959 var t1, _this = this;
95960 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95961 t1 = _this._box_0.exclusive;
95962 t1.toString;
95963 return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
95964 },
95965 $signature: 543
95966 };
95967 A.StylesheetParser__memberList_closure0.prototype = {
95968 call$0() {
95969 var t1 = this.$this;
95970 if (t1.scanner.peekChar$0() === 36)
95971 this.variables.add$1(0, t1.variableName$0());
95972 else
95973 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
95974 },
95975 $signature: 1
95976 };
95977 A.StylesheetParser__includeRule_closure0.prototype = {
95978 call$2(children, span) {
95979 return A.ContentBlock$0(this.contentArguments_, children, span);
95980 },
95981 $signature: 544
95982 };
95983 A.StylesheetParser_mediaRule_closure0.prototype = {
95984 call$2(children, span) {
95985 return A.MediaRule$0(this.query, children, span);
95986 },
95987 $signature: 545
95988 };
95989 A.StylesheetParser__mixinRule_closure0.prototype = {
95990 call$2(children, span) {
95991 var _this = this;
95992 _this.$this._stylesheet0$_inMixin = false;
95993 return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
95994 },
95995 $signature: 546
95996 };
95997 A.StylesheetParser_mozDocumentRule_closure0.prototype = {
95998 call$2(children, span) {
95999 var _this = this;
96000 if (_this._box_0.needsDeprecationWarning)
96001 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
96002 return A.AtRule$0(_this.name, span, children, _this.value);
96003 },
96004 $signature: 253
96005 };
96006 A.StylesheetParser_supportsRule_closure0.prototype = {
96007 call$2(children, span) {
96008 return A.SupportsRule$0(this.condition, children, span);
96009 },
96010 $signature: 548
96011 };
96012 A.StylesheetParser__whileRule_closure0.prototype = {
96013 call$2(children, span) {
96014 this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
96015 return A.WhileRule$0(this.condition, children, span);
96016 },
96017 $signature: 549
96018 };
96019 A.StylesheetParser_unknownAtRule_closure0.prototype = {
96020 call$2(children, span) {
96021 return A.AtRule$0(this.name, span, children, this._box_0.value);
96022 },
96023 $signature: 253
96024 };
96025 A.StylesheetParser_expression_resetState0.prototype = {
96026 call$0() {
96027 var t2,
96028 t1 = this._box_0;
96029 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
96030 t2 = this.$this;
96031 t2.scanner.set$state(this.start);
96032 t1.allowSlash = true;
96033 t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
96034 },
96035 $signature: 0
96036 };
96037 A.StylesheetParser_expression_resolveOneOperation0.prototype = {
96038 call$0() {
96039 var t2, t3,
96040 t1 = this._box_0,
96041 operator = t1.operators_.pop(),
96042 left = t1.operands_.pop(),
96043 right = t1.singleExpression_;
96044 if (right == null) {
96045 t2 = this.$this.scanner;
96046 t3 = operator.operator.length;
96047 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
96048 }
96049 if (t1.allowSlash) {
96050 t2 = this.$this;
96051 t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_RTB0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
96052 } else
96053 t2 = false;
96054 if (t2)
96055 t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_RTB0, left, right, true);
96056 else {
96057 t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
96058 t1.allowSlash = false;
96059 }
96060 },
96061 $signature: 0
96062 };
96063 A.StylesheetParser_expression_resolveOperations0.prototype = {
96064 call$0() {
96065 var t1,
96066 operators = this._box_0.operators_;
96067 if (operators == null)
96068 return;
96069 for (t1 = this.resolveOneOperation; operators.length !== 0;)
96070 t1.call$0();
96071 },
96072 $signature: 0
96073 };
96074 A.StylesheetParser_expression_addSingleExpression0.prototype = {
96075 call$1(expression) {
96076 var t2, spaceExpressions, _this = this,
96077 t1 = _this._box_0;
96078 if (t1.singleExpression_ != null) {
96079 t2 = _this.$this;
96080 if (t2._stylesheet0$_inParentheses) {
96081 t2._stylesheet0$_inParentheses = false;
96082 if (t1.allowSlash) {
96083 _this.resetState.call$0();
96084 return;
96085 }
96086 }
96087 spaceExpressions = t1.spaceExpressions_;
96088 if (spaceExpressions == null)
96089 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
96090 _this.resolveOperations.call$0();
96091 t2 = t1.singleExpression_;
96092 t2.toString;
96093 spaceExpressions.push(t2);
96094 t1.allowSlash = true;
96095 }
96096 t1.singleExpression_ = expression;
96097 },
96098 $signature: 550
96099 };
96100 A.StylesheetParser_expression_addOperator0.prototype = {
96101 call$1(operator) {
96102 var t2, t3, operators, operands, t4, singleExpression,
96103 t1 = this.$this;
96104 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB0 && operator !== B.BinaryOperator_kjl0) {
96105 t2 = t1.scanner;
96106 t3 = operator.operator.length;
96107 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
96108 }
96109 t2 = this._box_0;
96110 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB0;
96111 operators = t2.operators_;
96112 if (operators == null)
96113 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
96114 operands = t2.operands_;
96115 if (operands == null)
96116 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
96117 t3 = this.resolveOneOperation;
96118 t4 = operator.precedence;
96119 while (true) {
96120 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
96121 break;
96122 t3.call$0();
96123 }
96124 operators.push(operator);
96125 singleExpression = t2.singleExpression_;
96126 if (singleExpression == null) {
96127 t3 = t1.scanner;
96128 t4 = operator.operator.length;
96129 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
96130 }
96131 operands.push(singleExpression);
96132 t1.whitespace$0();
96133 t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
96134 },
96135 $signature: 551
96136 };
96137 A.StylesheetParser_expression_resolveSpaceExpressions0.prototype = {
96138 call$0() {
96139 var t1, spaceExpressions, singleExpression, t2;
96140 this.resolveOperations.call$0();
96141 t1 = this._box_0;
96142 spaceExpressions = t1.spaceExpressions_;
96143 if (spaceExpressions != null) {
96144 singleExpression = t1.singleExpression_;
96145 if (singleExpression == null)
96146 this.$this.scanner.error$1(0, "Expected expression.");
96147 spaceExpressions.push(singleExpression);
96148 t2 = B.JSArray_methods.get$first(spaceExpressions);
96149 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
96150 t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, false, t2);
96151 t1.spaceExpressions_ = null;
96152 }
96153 },
96154 $signature: 0
96155 };
96156 A.StylesheetParser__expressionUntilComma_closure0.prototype = {
96157 call$0() {
96158 return this.$this.scanner.peekChar$0() === 44;
96159 },
96160 $signature: 26
96161 };
96162 A.StylesheetParser__unicodeRange_closure1.prototype = {
96163 call$1(char) {
96164 return char != null && A.isHex0(char);
96165 },
96166 $signature: 31
96167 };
96168 A.StylesheetParser__unicodeRange_closure2.prototype = {
96169 call$1(char) {
96170 return char != null && A.isHex0(char);
96171 },
96172 $signature: 31
96173 };
96174 A.StylesheetParser_namespacedExpression_closure0.prototype = {
96175 call$0() {
96176 return this.$this.scanner.spanFrom$1(this.start);
96177 },
96178 $signature: 30
96179 };
96180 A.StylesheetParser_trySpecialFunction_closure0.prototype = {
96181 call$1(contents) {
96182 return new A.StringExpression0(contents, false);
96183 },
96184 $signature: 552
96185 };
96186 A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
96187 call$0() {
96188 var t1 = this.$this.scanner,
96189 next = t1.peekChar$0();
96190 if (next === 61)
96191 return t1.peekChar$1(1) !== 61;
96192 return next === 60 || next === 62;
96193 },
96194 $signature: 26
96195 };
96196 A.StylesheetParser__publicIdentifier_closure0.prototype = {
96197 call$0() {
96198 return this.$this.scanner.spanFrom$1(this.start);
96199 },
96200 $signature: 30
96201 };
96202 A.Stylesheet0.prototype = {
96203 Stylesheet$internal$3$plainCss0(children, span, plainCss) {
96204 var t1, t2, t3, t4, _i, child;
96205 for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
96206 child = t1[_i];
96207 if (child instanceof A.UseRule0)
96208 t4.push(child);
96209 else if (child instanceof A.ForwardRule0)
96210 t3.push(child);
96211 else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
96212 break;
96213 }
96214 },
96215 accept$1$1(visitor) {
96216 return visitor.visitStylesheet$1(this);
96217 },
96218 accept$1(visitor) {
96219 return this.accept$1$1(visitor, type$.dynamic);
96220 },
96221 toString$0(_) {
96222 var t1 = this.children;
96223 return (t1 && B.JSArray_methods).join$1(t1, " ");
96224 },
96225 get$span(receiver) {
96226 return this.span;
96227 }
96228 };
96229 A.SupportsExpression0.prototype = {
96230 get$span(_) {
96231 var t1 = this.condition;
96232 return t1.get$span(t1);
96233 },
96234 accept$1$1(visitor) {
96235 return visitor.visitSupportsExpression$1(this);
96236 },
96237 accept$1(visitor) {
96238 return this.accept$1$1(visitor, type$.dynamic);
96239 },
96240 toString$0(_) {
96241 return this.condition.toString$0(0);
96242 },
96243 $isExpression0: 1,
96244 $isAstNode0: 1
96245 };
96246 A.ModifiableCssSupportsRule0.prototype = {
96247 accept$1$1(visitor) {
96248 return visitor.visitCssSupportsRule$1(this);
96249 },
96250 accept$1(visitor) {
96251 return this.accept$1$1(visitor, type$.dynamic);
96252 },
96253 copyWithoutChildren$0() {
96254 return A.ModifiableCssSupportsRule$0(this.condition, this.span);
96255 },
96256 $isCssSupportsRule0: 1,
96257 get$span(receiver) {
96258 return this.span;
96259 }
96260 };
96261 A.SupportsRule0.prototype = {
96262 accept$1$1(visitor) {
96263 return visitor.visitSupportsRule$1(this);
96264 },
96265 accept$1(visitor) {
96266 return this.accept$1$1(visitor, type$.dynamic);
96267 },
96268 toString$0(_) {
96269 var t1 = this.children;
96270 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
96271 },
96272 get$span(receiver) {
96273 return this.span;
96274 }
96275 };
96276 A.NodeToDartImporter.prototype = {
96277 canonicalize$1(_, url) {
96278 var t1,
96279 result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
96280 if (result == null)
96281 return null;
96282 t1 = self.URL;
96283 if (result instanceof t1)
96284 return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
96285 t1 = self.Promise;
96286 if (result instanceof t1)
96287 A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
96288 else
96289 A.jsThrow(new self.Error(string$.The_ca));
96290 },
96291 load$1(_, url) {
96292 var t1, contents, syntax, t2,
96293 result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
96294 if (result == null)
96295 return null;
96296 t1 = self.Promise;
96297 if (result instanceof t1)
96298 A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
96299 type$.NodeImporterResult._as(result);
96300 t1 = J.getInterceptor$x(result);
96301 contents = t1.get$contents(result);
96302 syntax = t1.get$syntax(result);
96303 if (contents == null || syntax == null)
96304 A.jsThrow(new self.Error(string$.The_lo));
96305 t2 = A.parseSyntax(syntax);
96306 return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
96307 }
96308 };
96309 A.Syntax0.prototype = {
96310 toString$0(_) {
96311 return this._syntax0$_name;
96312 }
96313 };
96314 A.TerseLogger0.prototype = {
96315 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
96316 var firstParagraph, t1, t2, count;
96317 if (deprecation) {
96318 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
96319 t1 = this._terse$_warningCounts;
96320 t2 = t1.$index(0, firstParagraph);
96321 count = (t2 == null ? 0 : t2) + 1;
96322 t1.$indexSet(0, firstParagraph, count);
96323 if (count > 5)
96324 return;
96325 }
96326 this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
96327 },
96328 warn$2$span($receiver, message, span) {
96329 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
96330 },
96331 warn$2$deprecation($receiver, message, deprecation) {
96332 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
96333 },
96334 warn$3$deprecation$span($receiver, message, deprecation, span) {
96335 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
96336 },
96337 warn$2$trace($receiver, message, trace) {
96338 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
96339 },
96340 debug$2(_, message, span) {
96341 return this._terse$_inner.debug$2(0, message, span);
96342 },
96343 summarize$1$node(node) {
96344 var t2, total,
96345 t1 = this._terse$_warningCounts;
96346 t1 = t1.get$values(t1);
96347 t2 = A._instanceType(t1);
96348 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>")));
96349 if (total > 0) {
96350 t1 = node ? "" : string$.x0aRun_i;
96351 this._terse$_inner.warn$1(0, "" + total + string$.x20repet + t1);
96352 }
96353 }
96354 };
96355 A.TerseLogger_summarize_closure1.prototype = {
96356 call$1(count) {
96357 return count > 5;
96358 },
96359 $signature: 57
96360 };
96361 A.TerseLogger_summarize_closure2.prototype = {
96362 call$1(count) {
96363 return count - 5;
96364 },
96365 $signature: 175
96366 };
96367 A.TypeSelector0.prototype = {
96368 get$minSpecificity() {
96369 return 1;
96370 },
96371 accept$1$1(visitor) {
96372 visitor._serialize0$_buffer.write$1(0, this.name);
96373 return null;
96374 },
96375 accept$1(visitor) {
96376 return this.accept$1$1(visitor, type$.dynamic);
96377 },
96378 addSuffix$1(suffix) {
96379 var t1 = this.name;
96380 return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
96381 },
96382 unify$1(compound) {
96383 var unified, t1;
96384 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
96385 unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
96386 if (unified == null)
96387 return null;
96388 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96389 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96390 return t1;
96391 } else {
96392 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
96393 B.JSArray_methods.addAll$1(t1, compound);
96394 return t1;
96395 }
96396 },
96397 $eq(_, other) {
96398 if (other == null)
96399 return false;
96400 return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
96401 },
96402 get$hashCode(_) {
96403 var t1 = this.name;
96404 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
96405 }
96406 };
96407 A.Types.prototype = {};
96408 A.UnaryOperationExpression0.prototype = {
96409 accept$1$1(visitor) {
96410 return visitor.visitUnaryOperationExpression$1(this);
96411 },
96412 accept$1(visitor) {
96413 return this.accept$1$1(visitor, type$.dynamic);
96414 },
96415 toString$0(_) {
96416 var t1 = this.operator,
96417 t2 = t1.operator;
96418 t1 = t1 === B.UnaryOperator_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
96419 t1 += this.operand.toString$0(0);
96420 return t1.charCodeAt(0) == 0 ? t1 : t1;
96421 },
96422 $isExpression0: 1,
96423 $isAstNode0: 1,
96424 get$span(receiver) {
96425 return this.span;
96426 }
96427 };
96428 A.UnaryOperator0.prototype = {
96429 toString$0(_) {
96430 return this.name;
96431 }
96432 };
96433 A.UnitlessSassNumber0.prototype = {
96434 get$numeratorUnits(_) {
96435 return B.List_empty;
96436 },
96437 get$denominatorUnits(_) {
96438 return B.List_empty;
96439 },
96440 get$hasUnits() {
96441 return false;
96442 },
96443 withValue$1(value) {
96444 return new A.UnitlessSassNumber0(value, null);
96445 },
96446 withSlash$2(numerator, denominator) {
96447 return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
96448 },
96449 hasUnit$1(unit) {
96450 return false;
96451 },
96452 hasCompatibleUnits$1(other) {
96453 return other instanceof A.UnitlessSassNumber0;
96454 },
96455 hasPossiblyCompatibleUnits$1(other) {
96456 return other instanceof A.UnitlessSassNumber0;
96457 },
96458 compatibleWithUnit$1(unit) {
96459 return true;
96460 },
96461 coerceToMatch$3(other, $name, otherName) {
96462 return other.withValue$1(this._number1$_value);
96463 },
96464 coerceValueToMatch$3(other, $name, otherName) {
96465 return this._number1$_value;
96466 },
96467 coerceValueToMatch$1(other) {
96468 return this.coerceValueToMatch$3(other, null, null);
96469 },
96470 convertToMatch$3(other, $name, otherName) {
96471 return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
96472 },
96473 convertValueToMatch$3(other, $name, otherName) {
96474 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
96475 },
96476 coerce$3(newNumerators, newDenominators, $name) {
96477 return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
96478 },
96479 coerce$2(newNumerators, newDenominators) {
96480 return this.coerce$3(newNumerators, newDenominators, null);
96481 },
96482 coerceValue$3(newNumerators, newDenominators, $name) {
96483 return this._number1$_value;
96484 },
96485 coerceValueToUnit$2(unit, $name) {
96486 return this._number1$_value;
96487 },
96488 greaterThan$1(other) {
96489 var t1, t2;
96490 if (other instanceof A.SassNumber0) {
96491 t1 = this._number1$_value;
96492 t2 = other._number1$_value;
96493 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96494 }
96495 return this.super$SassNumber$greaterThan0(other);
96496 },
96497 greaterThanOrEquals$1(other) {
96498 var t1, t2;
96499 if (other instanceof A.SassNumber0) {
96500 t1 = this._number1$_value;
96501 t2 = other._number1$_value;
96502 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96503 }
96504 return this.super$SassNumber$greaterThanOrEquals0(other);
96505 },
96506 lessThan$1(other) {
96507 var t1, t2;
96508 if (other instanceof A.SassNumber0) {
96509 t1 = this._number1$_value;
96510 t2 = other._number1$_value;
96511 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96512 }
96513 return this.super$SassNumber$lessThan0(other);
96514 },
96515 lessThanOrEquals$1(other) {
96516 var t1, t2;
96517 if (other instanceof A.SassNumber0) {
96518 t1 = this._number1$_value;
96519 t2 = other._number1$_value;
96520 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96521 }
96522 return this.super$SassNumber$lessThanOrEquals0(other);
96523 },
96524 modulo$1(other) {
96525 if (other instanceof A.SassNumber0)
96526 return other.withValue$1(this.moduloLikeSass$2(this._number1$_value, other._number1$_value));
96527 return this.super$SassNumber$modulo0(other);
96528 },
96529 plus$1(other) {
96530 if (other instanceof A.SassNumber0)
96531 return other.withValue$1(this._number1$_value + other._number1$_value);
96532 return this.super$SassNumber$plus0(other);
96533 },
96534 minus$1(other) {
96535 if (other instanceof A.SassNumber0)
96536 return other.withValue$1(this._number1$_value - other._number1$_value);
96537 return this.super$SassNumber$minus0(other);
96538 },
96539 times$1(other) {
96540 if (other instanceof A.SassNumber0)
96541 return other.withValue$1(this._number1$_value * other._number1$_value);
96542 return this.super$SassNumber$times0(other);
96543 },
96544 dividedBy$1(other) {
96545 var t1, t2;
96546 if (other instanceof A.SassNumber0) {
96547 t1 = this._number1$_value / other._number1$_value;
96548 if (other.get$hasUnits()) {
96549 t2 = other.get$denominatorUnits(other);
96550 t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
96551 t1 = t2;
96552 } else
96553 t1 = new A.UnitlessSassNumber0(t1, null);
96554 return t1;
96555 }
96556 return this.super$SassNumber$dividedBy0(other);
96557 },
96558 unaryMinus$0() {
96559 return new A.UnitlessSassNumber0(-this._number1$_value, null);
96560 },
96561 $eq(_, other) {
96562 if (other == null)
96563 return false;
96564 return other instanceof A.UnitlessSassNumber0 && Math.abs(this._number1$_value - other._number1$_value) < $.$get$epsilon0();
96565 },
96566 get$hashCode(_) {
96567 var t1 = this.hashCache;
96568 return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
96569 }
96570 };
96571 A.UniversalSelector0.prototype = {
96572 get$minSpecificity() {
96573 return 0;
96574 },
96575 accept$1$1(visitor) {
96576 var t2,
96577 t1 = this.namespace;
96578 if (t1 != null) {
96579 t2 = visitor._serialize0$_buffer;
96580 t2.write$1(0, t1);
96581 t2.writeCharCode$1(124);
96582 }
96583 visitor._serialize0$_buffer.writeCharCode$1(42);
96584 return null;
96585 },
96586 accept$1(visitor) {
96587 return this.accept$1$1(visitor, type$.dynamic);
96588 },
96589 unify$1(compound) {
96590 var unified, t1, _this = this,
96591 first = B.JSArray_methods.get$first(compound);
96592 if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
96593 unified = A.unifyUniversalAndElement0(_this, first);
96594 if (unified == null)
96595 return null;
96596 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96597 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96598 return t1;
96599 } else {
96600 if (compound.length === 1)
96601 if (first instanceof A.PseudoSelector0)
96602 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
96603 else
96604 t1 = false;
96605 else
96606 t1 = false;
96607 if (t1)
96608 return null;
96609 }
96610 t1 = _this.namespace;
96611 if (t1 != null && t1 !== "*") {
96612 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96613 B.JSArray_methods.addAll$1(t1, compound);
96614 return t1;
96615 }
96616 if (compound.length !== 0)
96617 return compound;
96618 return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96619 },
96620 $eq(_, other) {
96621 if (other == null)
96622 return false;
96623 return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
96624 },
96625 get$hashCode(_) {
96626 return J.get$hashCode$(this.namespace);
96627 }
96628 };
96629 A.UnprefixedMapView0.prototype = {
96630 get$keys(_) {
96631 return new A._UnprefixedKeys0(this);
96632 },
96633 $index(_, key) {
96634 return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
96635 },
96636 containsKey$1(key) {
96637 return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
96638 },
96639 remove$1(_, key) {
96640 return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
96641 }
96642 };
96643 A._UnprefixedKeys0.prototype = {
96644 get$iterator(_) {
96645 var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
96646 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);
96647 return t1.get$iterator(t1);
96648 },
96649 contains$1(_, key) {
96650 return this._unprefixed_map_view0$_view.containsKey$1(key);
96651 }
96652 };
96653 A._UnprefixedKeys_iterator_closure1.prototype = {
96654 call$1(key) {
96655 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
96656 },
96657 $signature: 6
96658 };
96659 A._UnprefixedKeys_iterator_closure2.prototype = {
96660 call$1(key) {
96661 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
96662 },
96663 $signature: 5
96664 };
96665 A.JSUrl0.prototype = {};
96666 A.UseRule0.prototype = {
96667 UseRule$4$configuration0(url, namespace, span, configuration) {
96668 var t1, t2, _i, variable;
96669 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
96670 variable = t1[_i];
96671 if (variable.isGuarded)
96672 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
96673 }
96674 },
96675 accept$1$1(visitor) {
96676 return visitor.visitUseRule$1(this);
96677 },
96678 accept$1(visitor) {
96679 return this.accept$1$1(visitor, type$.dynamic);
96680 },
96681 toString$0(_) {
96682 var t1 = this.url,
96683 t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
96684 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
96685 dot = B.JSString_methods.indexOf$1(basename, ".");
96686 t1 = this.namespace;
96687 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
96688 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
96689 else
96690 t1 = t2;
96691 t2 = this.configuration;
96692 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
96693 return t1.charCodeAt(0) == 0 ? t1 : t1;
96694 },
96695 $isAstNode0: 1,
96696 $isStatement0: 1,
96697 get$span(receiver) {
96698 return this.span;
96699 }
96700 };
96701 A.UserDefinedCallable0.prototype = {
96702 get$name(_) {
96703 return this.declaration.name;
96704 },
96705 $isAsyncCallable0: 1,
96706 $isCallable0: 1
96707 };
96708 A.resolveImportPath_closure1.prototype = {
96709 call$0() {
96710 return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
96711 },
96712 $signature: 41
96713 };
96714 A.resolveImportPath_closure2.prototype = {
96715 call$0() {
96716 return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
96717 },
96718 $signature: 41
96719 };
96720 A._tryPathAsDirectory_closure0.prototype = {
96721 call$0() {
96722 return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
96723 },
96724 $signature: 41
96725 };
96726 A._exactlyOne_closure0.prototype = {
96727 call$1(path) {
96728 var t1 = $.$get$context();
96729 return " " + t1.prettyUri$1(t1.toUri$1(path));
96730 },
96731 $signature: 5
96732 };
96733 A._PropertyDescriptor0.prototype = {};
96734 A.futureToPromise_closure0.prototype = {
96735 call$2(resolve, reject) {
96736 this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
96737 },
96738 $signature: 553
96739 };
96740 A.futureToPromise__closure0.prototype = {
96741 call$1(result) {
96742 return this.resolve.call$1(result);
96743 },
96744 $signature: 27
96745 };
96746 A.futureToPromise__closure1.prototype = {
96747 call$2(error, stackTrace) {
96748 A.attachTrace0(error, stackTrace);
96749 this.reject.call$1(error);
96750 },
96751 $signature: 63
96752 };
96753 A.objectToMap_closure.prototype = {
96754 call$2(key, value) {
96755 this.map.$indexSet(0, key, value);
96756 return value;
96757 },
96758 $signature: 111
96759 };
96760 A.indent_closure0.prototype = {
96761 call$1(line) {
96762 return B.JSString_methods.$mul(" ", this.indentation) + line;
96763 },
96764 $signature: 5
96765 };
96766 A.flattenVertically_closure1.prototype = {
96767 call$1(inner) {
96768 return A.QueueList_QueueList$from(inner, this.T);
96769 },
96770 $signature() {
96771 return this.T._eval$1("QueueList<0>(Iterable<0>)");
96772 }
96773 };
96774 A.flattenVertically_closure2.prototype = {
96775 call$1(queue) {
96776 this.result.push(queue.removeFirst$0());
96777 return queue.get$length(queue) === 0;
96778 },
96779 $signature() {
96780 return this.T._eval$1("bool(QueueList<0>)");
96781 }
96782 };
96783 A.longestCommonSubsequence_closure0.prototype = {
96784 call$2(element1, element2) {
96785 return J.$eq$(element1, element2) ? element1 : null;
96786 },
96787 $signature() {
96788 return this.T._eval$1("0?(0,0)");
96789 }
96790 };
96791 A.longestCommonSubsequence_backtrack0.prototype = {
96792 call$2(i, j) {
96793 var selection, t1, _this = this;
96794 if (i === -1 || j === -1)
96795 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
96796 selection = _this.selections[i][j];
96797 if (selection != null) {
96798 t1 = _this.call$2(i - 1, j - 1);
96799 J.add$1$ax(t1, selection);
96800 return t1;
96801 }
96802 t1 = _this.lengths;
96803 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
96804 },
96805 $signature() {
96806 return this.T._eval$1("List<0>(int,int)");
96807 }
96808 };
96809 A.mapAddAll2_closure0.prototype = {
96810 call$2(key, inner) {
96811 var t1 = this.destination,
96812 innerDestination = t1.$index(0, key);
96813 if (innerDestination != null)
96814 innerDestination.addAll$1(0, inner);
96815 else
96816 t1.$indexSet(0, key, inner);
96817 },
96818 $signature() {
96819 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
96820 }
96821 };
96822 A.CssValue0.prototype = {
96823 toString$0(_) {
96824 return J.toString$0$(this.value);
96825 },
96826 $isAstNode0: 1,
96827 get$value(receiver) {
96828 return this.value;
96829 },
96830 get$span(receiver) {
96831 return this.span;
96832 }
96833 };
96834 A.ValueExpression0.prototype = {
96835 accept$1$1(visitor) {
96836 return visitor.visitValueExpression$1(this);
96837 },
96838 accept$1(visitor) {
96839 return this.accept$1$1(visitor, type$.dynamic);
96840 },
96841 toString$0(_) {
96842 return A.serializeValue0(this.value, true, true);
96843 },
96844 $isExpression0: 1,
96845 $isAstNode0: 1,
96846 get$span(receiver) {
96847 return this.span;
96848 }
96849 };
96850 A.ModifiableCssValue0.prototype = {
96851 toString$0(_) {
96852 return A.serializeSelector0(this.value, true);
96853 },
96854 $isAstNode0: 1,
96855 $isCssValue0: 1,
96856 get$value(receiver) {
96857 return this.value;
96858 },
96859 get$span(receiver) {
96860 return this.span;
96861 }
96862 };
96863 A.valueClass_closure.prototype = {
96864 call$0() {
96865 var t2,
96866 t1 = type$.JSClass,
96867 jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
96868 A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
96869 t1 = type$.String;
96870 t2 = type$.Function;
96871 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));
96872 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));
96873 return jsClass;
96874 },
96875 $signature: 23
96876 };
96877 A.valueClass__closure.prototype = {
96878 call$1($self) {
96879 return J.toString$0$($self);
96880 },
96881 $signature: 48
96882 };
96883 A.valueClass__closure0.prototype = {
96884 call$1($self) {
96885 return new self.immutable.List($self.get$asList());
96886 },
96887 $signature: 554
96888 };
96889 A.valueClass__closure1.prototype = {
96890 call$1($self) {
96891 return $self.get$hasBrackets();
96892 },
96893 $signature: 49
96894 };
96895 A.valueClass__closure2.prototype = {
96896 call$1($self) {
96897 return $self.get$isTruthy();
96898 },
96899 $signature: 49
96900 };
96901 A.valueClass__closure3.prototype = {
96902 call$1($self) {
96903 return $self.get$realNull();
96904 },
96905 $signature: 201
96906 };
96907 A.valueClass__closure4.prototype = {
96908 call$1($self) {
96909 return $self.get$separator($self).separator;
96910 },
96911 $signature: 555
96912 };
96913 A.valueClass__closure5.prototype = {
96914 call$3($self, sassIndex, $name) {
96915 return $self.sassIndexToListIndex$2(sassIndex, $name);
96916 },
96917 call$2($self, sassIndex) {
96918 return this.call$3($self, sassIndex, null);
96919 },
96920 "call*": "call$3",
96921 $requiredArgCount: 2,
96922 $defaultValues() {
96923 return [null];
96924 },
96925 $signature: 556
96926 };
96927 A.valueClass__closure6.prototype = {
96928 call$2($self, index) {
96929 return index < 1 && index >= -1 ? $self : self.undefined;
96930 },
96931 $signature: 234
96932 };
96933 A.valueClass__closure7.prototype = {
96934 call$2($self, $name) {
96935 return $self.assertBoolean$1($name);
96936 },
96937 call$1($self) {
96938 return this.call$2($self, null);
96939 },
96940 "call*": "call$2",
96941 $requiredArgCount: 1,
96942 $defaultValues() {
96943 return [null];
96944 },
96945 $signature: 557
96946 };
96947 A.valueClass__closure8.prototype = {
96948 call$2($self, $name) {
96949 return $self.assertColor$1($name);
96950 },
96951 call$1($self) {
96952 return this.call$2($self, null);
96953 },
96954 "call*": "call$2",
96955 $requiredArgCount: 1,
96956 $defaultValues() {
96957 return [null];
96958 },
96959 $signature: 558
96960 };
96961 A.valueClass__closure9.prototype = {
96962 call$2($self, $name) {
96963 return $self.assertFunction$1($name);
96964 },
96965 call$1($self) {
96966 return this.call$2($self, null);
96967 },
96968 "call*": "call$2",
96969 $requiredArgCount: 1,
96970 $defaultValues() {
96971 return [null];
96972 },
96973 $signature: 559
96974 };
96975 A.valueClass__closure10.prototype = {
96976 call$2($self, $name) {
96977 return $self.assertMap$1($name);
96978 },
96979 call$1($self) {
96980 return this.call$2($self, null);
96981 },
96982 "call*": "call$2",
96983 $requiredArgCount: 1,
96984 $defaultValues() {
96985 return [null];
96986 },
96987 $signature: 560
96988 };
96989 A.valueClass__closure11.prototype = {
96990 call$2($self, $name) {
96991 return $self.assertNumber$1($name);
96992 },
96993 call$1($self) {
96994 return this.call$2($self, null);
96995 },
96996 "call*": "call$2",
96997 $requiredArgCount: 1,
96998 $defaultValues() {
96999 return [null];
97000 },
97001 $signature: 561
97002 };
97003 A.valueClass__closure12.prototype = {
97004 call$2($self, $name) {
97005 return $self.assertString$1($name);
97006 },
97007 call$1($self) {
97008 return this.call$2($self, null);
97009 },
97010 "call*": "call$2",
97011 $requiredArgCount: 1,
97012 $defaultValues() {
97013 return [null];
97014 },
97015 $signature: 562
97016 };
97017 A.valueClass__closure13.prototype = {
97018 call$1($self) {
97019 return $self.tryMap$0();
97020 },
97021 $signature: 563
97022 };
97023 A.valueClass__closure14.prototype = {
97024 call$2($self, other) {
97025 return $self.$eq(0, other);
97026 },
97027 $signature: 564
97028 };
97029 A.valueClass__closure15.prototype = {
97030 call$2($self, _) {
97031 return $self.get$hashCode($self);
97032 },
97033 call$1($self) {
97034 return this.call$2($self, null);
97035 },
97036 "call*": "call$2",
97037 $requiredArgCount: 1,
97038 $defaultValues() {
97039 return [null];
97040 },
97041 $signature: 565
97042 };
97043 A.valueClass__closure16.prototype = {
97044 call$1($self) {
97045 return A.serializeValue0($self, true, true);
97046 },
97047 $signature: 199
97048 };
97049 A.Value0.prototype = {
97050 get$isTruthy() {
97051 return true;
97052 },
97053 get$separator(_) {
97054 return B.ListSeparator_undecided_null0;
97055 },
97056 get$hasBrackets() {
97057 return false;
97058 },
97059 get$asList() {
97060 return A._setArrayType([this], type$.JSArray_Value_2);
97061 },
97062 get$lengthAsList() {
97063 return 1;
97064 },
97065 get$isBlank() {
97066 return false;
97067 },
97068 get$isSpecialNumber() {
97069 return false;
97070 },
97071 get$isVar() {
97072 return false;
97073 },
97074 get$realNull() {
97075 return this;
97076 },
97077 sassIndexToListIndex$2(sassIndex, $name) {
97078 var _this = this,
97079 index = sassIndex.assertNumber$1($name).assertInt$1($name);
97080 if (index === 0)
97081 throw A.wrapException(_this._value0$_exception$2("List index may not be 0.", $name));
97082 if (Math.abs(index) > _this.get$lengthAsList())
97083 throw A.wrapException(_this._value0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
97084 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
97085 },
97086 assertBoolean$1($name) {
97087 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a boolean.", $name));
97088 },
97089 assertCalculation$1($name) {
97090 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
97091 },
97092 assertColor$1($name) {
97093 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a color.", $name));
97094 },
97095 assertFunction$1($name) {
97096 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
97097 },
97098 assertMap$1($name) {
97099 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a map.", $name));
97100 },
97101 tryMap$0() {
97102 return null;
97103 },
97104 assertNumber$1($name) {
97105 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a number.", $name));
97106 },
97107 assertNumber$0() {
97108 return this.assertNumber$1(null);
97109 },
97110 assertString$1($name) {
97111 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a string.", $name));
97112 },
97113 assertSelector$2$allowParent$name(allowParent, $name) {
97114 var error, stackTrace, t1, exception,
97115 string = this._value0$_selectorString$1($name);
97116 try {
97117 t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
97118 return t1;
97119 } catch (exception) {
97120 t1 = A.unwrapException(exception);
97121 if (t1 instanceof A.SassFormatException0) {
97122 error = t1;
97123 stackTrace = A.getTraceFromException(exception);
97124 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
97125 A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
97126 } else
97127 throw exception;
97128 }
97129 },
97130 assertSelector$1$name($name) {
97131 return this.assertSelector$2$allowParent$name(false, $name);
97132 },
97133 assertSelector$0() {
97134 return this.assertSelector$2$allowParent$name(false, null);
97135 },
97136 assertSelector$1$allowParent(allowParent) {
97137 return this.assertSelector$2$allowParent$name(allowParent, null);
97138 },
97139 assertCompoundSelector$1$name($name) {
97140 var error, stackTrace, t1, exception,
97141 allowParent = false,
97142 string = this._value0$_selectorString$1($name);
97143 try {
97144 t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
97145 return t1;
97146 } catch (exception) {
97147 t1 = A.unwrapException(exception);
97148 if (t1 instanceof A.SassFormatException0) {
97149 error = t1;
97150 stackTrace = A.getTraceFromException(exception);
97151 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
97152 A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), stackTrace);
97153 } else
97154 throw exception;
97155 }
97156 },
97157 _value0$_selectorString$1($name) {
97158 var string = this._value0$_selectorStringOrNull$0();
97159 if (string != null)
97160 return string;
97161 throw A.wrapException(this._value0$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
97162 },
97163 _value0$_selectorStringOrNull$0() {
97164 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
97165 if (_this instanceof A.SassString0)
97166 return _this._string0$_text;
97167 if (!(_this instanceof A.SassList0))
97168 return _null;
97169 t1 = _this._list1$_contents;
97170 t2 = t1.length;
97171 if (t2 === 0)
97172 return _null;
97173 result = A._setArrayType([], type$.JSArray_String);
97174 t3 = _this._list1$_separator;
97175 switch (t3) {
97176 case B.ListSeparator_kWM0:
97177 for (_i = 0; _i < t2; ++_i) {
97178 complex = t1[_i];
97179 if (complex instanceof A.SassString0)
97180 result.push(complex._string0$_text);
97181 else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_woc0) {
97182 string = complex._value0$_selectorStringOrNull$0();
97183 if (string == null)
97184 return _null;
97185 result.push(string);
97186 } else
97187 return _null;
97188 }
97189 break;
97190 case B.ListSeparator_1gm0:
97191 return _null;
97192 default:
97193 for (_i = 0; _i < t2; ++_i) {
97194 compound = t1[_i];
97195 if (compound instanceof A.SassString0)
97196 result.push(compound._string0$_text);
97197 else
97198 return _null;
97199 }
97200 break;
97201 }
97202 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM0 ? ", " : " ");
97203 },
97204 withListContents$2$separator(contents, separator) {
97205 var t1 = separator == null ? this.get$separator(this) : separator,
97206 t2 = this.get$hasBrackets();
97207 return A.SassList$0(contents, t1, t2);
97208 },
97209 withListContents$1(contents) {
97210 return this.withListContents$2$separator(contents, null);
97211 },
97212 greaterThan$1(other) {
97213 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
97214 },
97215 greaterThanOrEquals$1(other) {
97216 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
97217 },
97218 lessThan$1(other) {
97219 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
97220 },
97221 lessThanOrEquals$1(other) {
97222 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
97223 },
97224 times$1(other) {
97225 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
97226 },
97227 modulo$1(other) {
97228 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
97229 },
97230 plus$1(other) {
97231 if (other instanceof A.SassString0)
97232 return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
97233 else if (other instanceof A.SassCalculation0)
97234 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
97235 else
97236 return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
97237 },
97238 minus$1(other) {
97239 if (other instanceof A.SassCalculation0)
97240 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
97241 else
97242 return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
97243 },
97244 dividedBy$1(other) {
97245 return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
97246 },
97247 unaryPlus$0() {
97248 return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
97249 },
97250 unaryMinus$0() {
97251 return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
97252 },
97253 unaryNot$0() {
97254 return B.SassBoolean_false0;
97255 },
97256 withoutSlash$0() {
97257 return this;
97258 },
97259 toString$0(_) {
97260 return A.serializeValue0(this, true, true);
97261 },
97262 _value0$_exception$2(message, $name) {
97263 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
97264 }
97265 };
97266 A.VariableExpression0.prototype = {
97267 accept$1$1(visitor) {
97268 return visitor.visitVariableExpression$1(this);
97269 },
97270 accept$1(visitor) {
97271 return this.accept$1$1(visitor, type$.dynamic);
97272 },
97273 toString$0(_) {
97274 var t1 = this.namespace,
97275 t2 = this.name;
97276 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
97277 },
97278 $isExpression0: 1,
97279 $isAstNode0: 1,
97280 get$span(receiver) {
97281 return this.span;
97282 }
97283 };
97284 A.VariableDeclaration0.prototype = {
97285 accept$1$1(visitor) {
97286 return visitor.visitVariableDeclaration$1(this);
97287 },
97288 accept$1(visitor) {
97289 return this.accept$1$1(visitor, type$.dynamic);
97290 },
97291 toString$0(_) {
97292 var t1 = this.namespace;
97293 t1 = t1 != null ? "" + (t1 + ".") : "";
97294 t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
97295 return t1.charCodeAt(0) == 0 ? t1 : t1;
97296 },
97297 $isAstNode0: 1,
97298 $isStatement0: 1,
97299 get$span(receiver) {
97300 return this.span;
97301 }
97302 };
97303 A.WarnRule0.prototype = {
97304 accept$1$1(visitor) {
97305 return visitor.visitWarnRule$1(this);
97306 },
97307 accept$1(visitor) {
97308 return this.accept$1$1(visitor, type$.dynamic);
97309 },
97310 toString$0(_) {
97311 return "@warn " + this.expression.toString$0(0) + ";";
97312 },
97313 $isAstNode0: 1,
97314 $isStatement0: 1,
97315 get$span(receiver) {
97316 return this.span;
97317 }
97318 };
97319 A.WhileRule0.prototype = {
97320 accept$1$1(visitor) {
97321 return visitor.visitWhileRule$1(this);
97322 },
97323 accept$1(visitor) {
97324 return this.accept$1$1(visitor, type$.dynamic);
97325 },
97326 toString$0(_) {
97327 var t1 = this.children;
97328 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
97329 },
97330 get$span(receiver) {
97331 return this.span;
97332 }
97333 };
97334 (function aliases() {
97335 var _ = J.LegacyJavaScriptObject.prototype;
97336 _.super$LegacyJavaScriptObject$toString = _.toString$0;
97337 _ = A.JsLinkedHashMap.prototype;
97338 _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
97339 _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
97340 _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
97341 _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
97342 _ = A._BufferingStreamSubscription.prototype;
97343 _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
97344 _.super$_BufferingStreamSubscription$_addError = _._addError$2;
97345 _ = A.ListMixin.prototype;
97346 _.super$ListMixin$setRange = _.setRange$4;
97347 _ = A.Iterable.prototype;
97348 _.super$Iterable$where = _.where$1;
97349 _.super$Iterable$skipWhile = _.skipWhile$1;
97350 _ = A.ModifiableCssParentNode.prototype;
97351 _.super$ModifiableCssParentNode$addChild = _.addChild$1;
97352 _ = A.SimpleSelector.prototype;
97353 _.super$SimpleSelector$addSuffix = _.addSuffix$1;
97354 _.super$SimpleSelector$unify = _.unify$1;
97355 _ = A.Parser.prototype;
97356 _.super$Parser$silentComment = _.silentComment$0;
97357 _ = A.StylesheetParser.prototype;
97358 _.super$StylesheetParser$importArgument = _.importArgument$0;
97359 _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
97360 _ = A.Value.prototype;
97361 _.super$Value$assertMap = _.assertMap$1;
97362 _.super$Value$plus = _.plus$1;
97363 _.super$Value$minus = _.minus$1;
97364 _.super$Value$dividedBy = _.dividedBy$1;
97365 _ = A.SassNumber.prototype;
97366 _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
97367 _.super$SassNumber$coerce = _.coerce$3;
97368 _.super$SassNumber$coerceValue = _.coerceValue$3;
97369 _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
97370 _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
97371 _.super$SassNumber$greaterThan = _.greaterThan$1;
97372 _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
97373 _.super$SassNumber$lessThan = _.lessThan$1;
97374 _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
97375 _.super$SassNumber$modulo = _.modulo$1;
97376 _.super$SassNumber$plus = _.plus$1;
97377 _.super$SassNumber$minus = _.minus$1;
97378 _.super$SassNumber$times = _.times$1;
97379 _.super$SassNumber$dividedBy = _.dividedBy$1;
97380 _ = A.SourceSpanMixin.prototype;
97381 _.super$SourceSpanMixin$compareTo = _.compareTo$1;
97382 _.super$SourceSpanMixin$$eq = _.$eq;
97383 _ = A.StringScanner.prototype;
97384 _.super$StringScanner$readChar = _.readChar$0;
97385 _.super$StringScanner$scanChar = _.scanChar$1;
97386 _.super$StringScanner$scan = _.scan$1;
97387 _.super$StringScanner$matches = _.matches$1;
97388 _ = A.ModifiableCssParentNode0.prototype;
97389 _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
97390 _ = A.SassNumber0.prototype;
97391 _.super$SassNumber$convertToMatch = _.convertToMatch$3;
97392 _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
97393 _.super$SassNumber$coerce0 = _.coerce$3;
97394 _.super$SassNumber$coerceValue0 = _.coerceValue$3;
97395 _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
97396 _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
97397 _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
97398 _.super$SassNumber$greaterThan0 = _.greaterThan$1;
97399 _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
97400 _.super$SassNumber$lessThan0 = _.lessThan$1;
97401 _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
97402 _.super$SassNumber$modulo0 = _.modulo$1;
97403 _.super$SassNumber$plus0 = _.plus$1;
97404 _.super$SassNumber$minus0 = _.minus$1;
97405 _.super$SassNumber$times0 = _.times$1;
97406 _.super$SassNumber$dividedBy0 = _.dividedBy$1;
97407 _ = A.Parser1.prototype;
97408 _.super$Parser$silentComment0 = _.silentComment$0;
97409 _ = A.SimpleSelector0.prototype;
97410 _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
97411 _.super$SimpleSelector$unify0 = _.unify$1;
97412 _ = A.StylesheetParser0.prototype;
97413 _.super$StylesheetParser$importArgument0 = _.importArgument$0;
97414 _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
97415 _ = A.Value0.prototype;
97416 _.super$Value$assertMap0 = _.assertMap$1;
97417 _.super$Value$plus0 = _.plus$1;
97418 _.super$Value$minus0 = _.minus$1;
97419 _.super$Value$dividedBy0 = _.dividedBy$1;
97420 })();
97421 (function installTearOffs() {
97422 var _static_2 = hunkHelpers._static_2,
97423 _instance_1_i = hunkHelpers._instance_1i,
97424 _instance_1_u = hunkHelpers._instance_1u,
97425 _static_1 = hunkHelpers._static_1,
97426 _static_0 = hunkHelpers._static_0,
97427 _static = hunkHelpers.installStaticTearOff,
97428 _instance = hunkHelpers.installInstanceTearOff,
97429 _instance_2_u = hunkHelpers._instance_2u,
97430 _instance_0_i = hunkHelpers._instance_0i,
97431 _instance_0_u = hunkHelpers._instance_0u;
97432 _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 254);
97433 _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 11);
97434 _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 11);
97435 _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 11);
97436 _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 11);
97437 _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97438 _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 121);
97439 _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 121);
97440 _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 121);
97441 _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
97442 _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 114);
97443 _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 61);
97444 _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
97445 _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 568, 0);
97446 _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
97447 return A._rootRun($self, $parent, zone, f, type$.dynamic);
97448 }], 569, 1);
97449 _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
97450 return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
97451 }], 570, 1);
97452 _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
97453 return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
97454 }], 571, 1);
97455 _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
97456 return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
97457 }], 572, 0);
97458 _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
97459 return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
97460 }], 573, 0);
97461 _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
97462 return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
97463 }], 574, 0);
97464 _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 575, 0);
97465 _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 576, 0);
97466 _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 577, 0);
97467 _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 578, 0);
97468 _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 579, 0);
97469 _static_1(A, "async___printToZone$closure", "_printToZone", 116);
97470 _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 580, 0);
97471 _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
97472 return [null];
97473 }, ["call$1", "call$0"], ["complete$1", "complete$0"], 251, 0, 0);
97474 _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 61);
97475 var _;
97476 _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 27);
97477 _instance(_, "get$addError", 0, 1, function() {
97478 return [null];
97479 }, ["call$2", "call$1"], ["addError$2", "addError$1"], 250, 0, 0);
97480 _instance_0_i(_, "get$close", "close$0", 355);
97481 _instance_1_u(_, "get$_async$_add", "_async$_add$1", 27);
97482 _instance_2_u(_, "get$_addError", "_addError$2", 61);
97483 _instance_0_u(_, "get$_close", "_close$0", 0);
97484 _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97485 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97486 _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 506, 0, 0);
97487 _instance_0_i(_, "get$resume", "resume$0", 0);
97488 _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
97489 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97490 _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 27);
97491 _instance_2_u(_, "get$_onError", "_onError$2", 61);
97492 _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
97493 _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97494 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97495 _instance_1_u(_, "get$_handleData", "_handleData$1", 27);
97496 _instance_2_u(_, "get$_handleError", "_handleError$2", 521);
97497 _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
97498 _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 256);
97499 _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 257);
97500 _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 254);
97501 _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 11);
97502 _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97503 _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 232, 0, 0);
97504 _instance_1_i(_, "get$contains", "contains$1", 11);
97505 _instance_1_i(_, "get$add", "add$1", 11);
97506 _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 232, 0, 0);
97507 _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 11);
97508 _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 11);
97509 _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97510 _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 82);
97511 _static_1(A, "core__identityHashCode$closure", "identityHashCode", 257);
97512 _static_2(A, "core__identical$closure", "identical", 256);
97513 _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
97514 _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 11);
97515 _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 27);
97516 _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
97517 return A.max(a, b, type$.num);
97518 }], 583, 1);
97519 _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 27);
97520 _instance(_, "get$setError", 0, 1, function() {
97521 return [null];
97522 }, ["call$2", "call$1"], ["setError$2", "setError$1"], 250, 0, 0);
97523 _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
97524 _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
97525 _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
97526 _instance_0_u(_, "get$_onCancel", "_onCancel$0", 224);
97527 _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
97528 _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97529 _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 11);
97530 _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 11);
97531 _instance_1_u(A.ModifiableCssNode.prototype, "get$_node$_isInvisible", "_node$_isInvisible$1", 8);
97532 _instance_1_u(A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 19);
97533 _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 202);
97534 _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 202);
97535 _static_1(A, "functions___isUnique$closure", "_isUnique", 16);
97536 _static_1(A, "color0___opacify$closure", "_opacify", 24);
97537 _static_1(A, "color0___transparentize$closure", "_transparentize", 24);
97538 _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
97539 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97540 _instance_0_u(_, "get$string", "string$0", 29);
97541 _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
97542 _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 341, 0, 0);
97543 _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 100);
97544 _instance_0_u(_, "get$_functionChild", "_functionChild$0", 100);
97545 _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"], 343, 0, 0);
97546 _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97547 _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97548 _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 27);
97549 _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97550 _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 11);
97551 _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 27);
97552 _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97553 _static_1(A, "utils__isPublic$closure", "isPublic", 6);
97554 _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 172);
97555 _instance_2_u(A.SassNumber.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97556 _instance(_ = A._EvaluateVisitor0.prototype, "get$_async_evaluate$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_async_evaluate$_interpolationToValue$3$trim$warnForColor", "_async_evaluate$_interpolationToValue$1", "_async_evaluate$_interpolationToValue$2$warnForColor"], 401, 0, 0);
97557 _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 166);
97558 _instance(_ = A._EvaluateVisitor.prototype, "get$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_interpolationToValue$3$trim$warnForColor", "_interpolationToValue$1", "_interpolationToValue$2$warnForColor"], 547, 0, 0);
97559 _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 166);
97560 _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 267);
97561 _instance_1_u(_, "get$visitChildren", "visitChildren$1", 268);
97562 _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 269);
97563 _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 107);
97564 _instance_1_u(_, "get$_isInvisible", "_isInvisible$1", 8);
97565 _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
97566 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
97567 _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
97568 return {color: null};
97569 }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 281, 0, 0);
97570 _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
97571 return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
97572 }], 585, 0);
97573 _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
97574 return A._collect($event, soFar, type$.dynamic);
97575 }], 586, 0);
97576 _instance(_ = A._EvaluateVisitor2.prototype, "get$_async_evaluate0$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_async_evaluate0$_interpolationToValue$3$trim$warnForColor", "_async_evaluate0$_interpolationToValue$1", "_async_evaluate0$_interpolationToValue$2$warnForColor"], 309, 0, 0);
97577 _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 159);
97578 _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 172);
97579 _static_1(A, "color2___opacify$closure", "_opacify0", 25);
97580 _static_1(A, "color2___transparentize$closure", "_transparentize0", 25);
97581 _static(A, "compile__compile$closure", 1, function() {
97582 return [null];
97583 }, ["call$2", "call$1"], ["compile0", function(path) {
97584 return A.compile0(path, null);
97585 }], 587, 0);
97586 _static(A, "compile__compileString$closure", 1, function() {
97587 return [null];
97588 }, ["call$2", "call$1"], ["compileString0", function(text) {
97589 return A.compileString0(text, null);
97590 }], 588, 0);
97591 _static(A, "compile__compileAsync$closure", 1, function() {
97592 return [null];
97593 }, ["call$2", "call$1"], ["compileAsync1", function(path) {
97594 return A.compileAsync1(path, null);
97595 }], 589, 0);
97596 _static(A, "compile__compileStringAsync$closure", 1, function() {
97597 return [null];
97598 }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
97599 return A.compileStringAsync1(text, null);
97600 }], 590, 0);
97601 _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 591);
97602 _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 209);
97603 _instance(_ = A._EvaluateVisitor1.prototype, "get$_evaluate0$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_evaluate0$_interpolationToValue$3$trim$warnForColor", "_evaluate0$_interpolationToValue$1", "_evaluate0$_interpolationToValue$2$warnForColor"], 393, 0, 0);
97604 _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 159);
97605 _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 209);
97606 _static_1(A, "functions0___isUnique$closure", "_isUnique0", 15);
97607 _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 592);
97608 _static_2(A, "legacy__render$closure", "render", 593);
97609 _static_1(A, "legacy__renderSync$closure", "renderSync", 594);
97610 _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97611 _instance_1_u(A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 20);
97612 _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97613 _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 27);
97614 _instance_1_u(A.ModifiableCssNode0.prototype, "get$_node1$_isInvisible", "_node1$_isInvisible$1", 7);
97615 _instance_2_u(A.SassNumber0.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97616 _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
97617 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97618 _instance_0_u(_, "get$string", "string$0", 29);
97619 _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97620 _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97621 _static_1(A, "sass__main$closure", "main0", 595);
97622 _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
97623 _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 515);
97624 _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 107);
97625 _instance_1_u(_, "get$_serialize0$_isInvisible", "_serialize0$_isInvisible$1", 7);
97626 _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 27);
97627 _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
97628 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
97629 _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 530, 0, 0);
97630 _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
97631 _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
97632 _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97633 _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 596);
97634 _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 597);
97635 _static_1(A, "utils0__isPublic$closure", "isPublic0", 6);
97636 _static(A, "path__absolute$closure", 1, function() {
97637 return [null, null, null, null, null, null];
97638 }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
97639 return A.absolute(part1, null, null, null, null, null, null);
97640 }, function(part1, part2) {
97641 return A.absolute(part1, part2, null, null, null, null, null);
97642 }, function(part1, part2, part3) {
97643 return A.absolute(part1, part2, part3, null, null, null, null);
97644 }, function(part1, part2, part3, part4) {
97645 return A.absolute(part1, part2, part3, part4, null, null, null);
97646 }, function(part1, part2, part3, part4, part5, part6) {
97647 return A.absolute(part1, part2, part3, part4, part5, part6, null);
97648 }, function(part1, part2, part3, part4, part5) {
97649 return A.absolute(part1, part2, part3, part4, part5, null, null);
97650 }], 598, 0);
97651 _static_1(A, "path__prettyUri$closure", "prettyUri", 91);
97652 _static_1(A, "character__isWhitespace$closure", "isWhitespace", 31);
97653 _static_1(A, "character__isNewline$closure", "isNewline", 31);
97654 _static_1(A, "character__isHex$closure", "isHex", 31);
97655 _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 43);
97656 _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 43);
97657 _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 43);
97658 _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 43);
97659 _static_1(A, "number0__fuzzyRound$closure", "fuzzyRound", 42);
97660 _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 31);
97661 _static_1(A, "character0__isNewline$closure", "isNewline0", 31);
97662 _static_1(A, "character0__isHex$closure", "isHex0", 31);
97663 _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 43);
97664 _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 43);
97665 _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 43);
97666 _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 43);
97667 _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 42);
97668 _static_1(A, "value1__wrapValue$closure", "wrapValue", 400);
97669 })();
97670 (function inheritance() {
97671 var _mixin = hunkHelpers.mixin,
97672 _inherit = hunkHelpers.inherit,
97673 _inheritMany = hunkHelpers.inheritMany;
97674 _inherit(A.Object, null);
97675 _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.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, 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.SupportsExpression, A.UnaryOperationExpression, A.UnaryOperator, A.ValueExpression, A.VariableExpression, A.DynamicImport, A.StaticImport, A.Interpolation, A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.IfRuleClause, A.ImportRule, A.IncludeRule, A.LoudComment, A.StatementSearchVisitor, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.AttributeOperator, A.Combinator, A.QualifiedName, A.AsyncEnvironment, A._EnvironmentModule0, A.AsyncImportCache, A.AsyncBuiltInCallable, A.BuiltInCallable, A.PlainCssCallable, A.UserDefinedCallable, A.CompileResult, A.Configuration, A.ConfiguredValue, A.Environment, A._EnvironmentModule, A.SourceSpanException, A.SassScriptException, A.ExecutableOptions, A.UsageException, A._Watcher, A.EmptyExtensionStore, A.Extension, A.Extender, A.ExtensionStore, A.ExtendMode, A.ImportCache, A.AsyncImporter, A.ImporterResult, A.InterpolationBuffer, A.FileSystemException, A.Stderr, A._QuietLogger, A.StderrLogger, A.TerseLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Syntax, A.MultiDirWatcher, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A.CalculationOperator, A.CalculationInterpolation, A._ColorFormatEnum, A.SpanColorFormat, A.ListSeparator, A._EvaluateVisitor0, A._ImportedCssVisitor0, A.EvaluateResult, A._EvaluationContext0, A._ArgumentResults0, A._LoadedStylesheet0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A._ArgumentResults, A._LoadedStylesheet, A.RecursiveStatementVisitor, A._SerializeVisitor, A.OutputStyle, A.LineFeed, A.SerializeResult, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.Tuple2, A.Tuple3, A.Tuple4, A.WatchEvent, A.ChangeType, A.SupportsAnything0, A.Argument0, A.ArgumentDeclaration0, A.ArgumentInvocation0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A.EvaluateResult0, A._EvaluationContext2, A._ArgumentResults2, A._LoadedStylesheet2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.AstNode0, A.Selector0, A.AttributeOperator0, A.BinaryOperationExpression0, A.BinaryOperator0, A.BooleanExpression0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationExpression0, A.CalculationOperation0, A.CalculationOperator0, A.CalculationInterpolation0, A._CloneCssVisitor0, A.ColorExpression0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.Combinator0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.ContentRule0, A.DebugRule0, A.SupportsDeclaration0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A._ArgumentResults1, A._LoadedStylesheet1, A.SassScriptException0, A.ExtendRule0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardRule0, A.ForwardedModuleView0, A.FunctionExpression0, A.SupportsFunction0, A.IfExpression0, A.IfRule0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.ImportRule0, A.IncludeRule0, A.InterpolatedFunctionExpression0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.ListExpression0, A.ListSeparator0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A._SingletonCssMediaQueryMergeResult0, A.MediaQuerySuccessfulMergeResult0, A.StatementSearchVisitor0, A.ExtendMode0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.FileSystemException0, A.Stderr0, A.NodeToDartLogger, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ImporterResult0, A.ReturnRule0, A.SelectorExpression0, A._SerializeVisitor0, A.OutputStyle0, A.LineFeed0, A.SerializeResult0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.SupportsExpression0, A.Syntax0, A.TerseLogger0, A.UnaryOperationExpression0, A.UnaryOperator0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.ModifiableCssValue0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
97676 _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
97677 _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
97678 _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.Stdin, A.Stdout, A.ReadlineModule, A.ReadlineOptions, A.ReadlineInterface, A.BufferModule, A.BufferConstants, A.Buffer, A.ConsoleModule, A.Console, A.EventEmitter, A.FS, A.FSConstants, A.FSWatcher, A.ReadStream, A.ReadStreamOptions, A.WriteStream, A.WriteStreamOptions, A.FileOptions, A.StatOptions, A.MkdirOptions, A.RmdirOptions, A.WatchOptions, A.WatchFileOptions, A.Stats, A.Promise, A.Date, A.JsError, A.Atomics, A.Modules, A.Module1, A.Net, A.Socket, A.NetAddress, A.NetServer, A.NodeJsError, A.Process, A.CPUUsage, A.Release, A.StreamModule, A.Readable, A.Writable, A.Duplex, A.Transform, A.WritableOptions, A.ReadableOptions, A.Immediate, A.Timeout, A.TTY, A.Util, A.JSArray0, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSClass, A.JSUrl, A._PropertyDescriptor, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._NodeSassColor, A._Channels, A.CompileOptions, A.NodeCompileResult, A.Exports, A.LoggerNamespace, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList, A.ImmutableMap, A.NodeImporter0, A.CanonicalizeOptions, A.NodeImporterResult0, A.NodeImporterResult1, A._NodeSassList, A._ConstructorOptions, A.NodeLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A._NodeSassNumber, A._ConstructorOptions0, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A._NodeSassString, A._ConstructorOptions1, A.Types, A.JSUrl0, A._PropertyDescriptor0]);
97679 _inherit(J.JSUnmodifiableArray, J.JSArray);
97680 _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
97681 _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]);
97682 _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
97683 _inherit(A._EfficientLengthCastIterable, A.CastIterable);
97684 _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
97685 _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.ConstantStringMap_values_closure, A.Instantiation, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapMixin_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.ArgumentDeclaration_verify_closure, A.ArgumentDeclaration_verify_closure0, A.CalculationExpression__verifyArguments_closure, A.ListExpression_toString_closure, A.MapExpression_toString_closure, A.Interpolation_toString_closure, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A.ComplexSelector_isInvisible_closure, A.CompoundSelector_isInvisible_closure, A.IDSelector_unify_closure, A.SelectorList_isInvisible_closure, A.SelectorList_asSassList_closure, A.SelectorList_asSassList__closure, A.SelectorList_unify_closure, A.SelectorList_unify__closure, A.SelectorList_unify___closure, A.SelectorList_resolveParentSelectors_closure, A.SelectorList_resolveParentSelectors__closure, A.SelectorList_resolveParentSelectors__closure0, A.SelectorList__complexContainsParentSelector_closure, A.SelectorList__complexContainsParentSelector__closure, A.SelectorList__resolveParentSelectorsCompound_closure, A.SelectorList__resolveParentSelectorsCompound_closure0, A.SelectorList__resolveParentSelectorsCompound_closure1, A.PseudoSelector_unify_closure, A._compileStylesheet_closure0, A.AsyncEnvironment_importForwards_closure, A.AsyncEnvironment_importForwards_closure0, A.AsyncEnvironment_importForwards_closure1, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A.AsyncEnvironment__fromOneModule_closure, A.AsyncEnvironment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_closure, A._compileStylesheet_closure, A.Configuration_toString_closure, A.Environment_importForwards_closure, A.Environment_importForwards_closure0, A.Environment_importForwards_closure1, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A.Environment__fromOneModule_closure, A.Environment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore_addExtensions_closure0, A.ExtensionStore_addExtensions__closure, A.ExtensionStore_addExtensions__closure0, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendComplex___closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound__closure, A.ExtensionStore__extendCompound__closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, A.ExtensionStore__extendSimple_withoutPseudo, A.ExtensionStore__extendSimple_closure, A.ExtensionStore__extendSimple_closure0, A.ExtensionStore__extendPseudo_closure, A.ExtensionStore__extendPseudo_closure0, A.ExtensionStore__extendPseudo_closure1, A.ExtensionStore__extendPseudo_closure2, A.ExtensionStore__extendPseudo_closure3, A.ExtensionStore__trim_closure, A.ExtensionStore__trim_closure0, A.unifyComplex_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents__closure1, A._weaveParents_closure2, A._weaveParents_closure3, A._weaveParents__closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents__closure, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A._hasRoot_closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A._simpleIsSuperselectorOfCompound_closure, A._simpleIsSuperselectorOfCompound__closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global__closure, A.global_closure25, A.module_closure, A.module_closure0, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module__closure, A.module_closure7, A._red_closure, A._green_closure, A._blue_closure, A._mix_closure, A._hue_closure, A._saturation_closure, A._lightness_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_getParam, A._updateComponents_closure, A._updateComponents_updateValue, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._removeUnits_closure, A._removeUnits_closure0, A._hwb_closure, A._parseChannels_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify__modifyNestedMap, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._abs_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._sqrt_closure, A._acos_closure, A._asin_closure, A._atan_closure, A._atan2_closure, A._cos_closure, A._sin_closure, A._tan_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._numberFunction_closure, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.local_closure, A.local_closure0, A.local__closure, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.FilesystemImporter_canonicalize_closure, A._exactlyOne_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure, A.watchDir_closure0, A.watchDir_closure1, A.watchDir_closure2, A.TerseLogger_summarize_closure, A.TerseLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_scanIdentChar_matches, A.StylesheetParser_parse__closure0, A.StylesheetParser_expression_addSingleExpression, A.StylesheetParser_expression_addOperator, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor_SassColor$hwb_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor__closure3, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__topologicalModules_visitModule0, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor_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_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_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_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]);
97686 _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.MapMixin_addAll_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.Parser_parse_closure, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_addExtensions__closure1, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._updateComponents_updateRgb, A._deepMergeImpl_closure, A._nest__closure0, A._append__closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__styleRule_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.StylesheetGraph__recanonicalizeImportsForNode_closure, A.longestCommonSubsequence_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassMap_asList_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure2, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure8, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A._updateComponents_updateRgb0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A.colorClass__closure, A.colorClass__closure0, A._parseFunctions_closure0, A._EvaluateVisitor__closure5, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_addExtensions_closure1, A.ExtensionStore_addExtensions__closure4, A.ExtensionStore_clone_closure0, A._weaveParents_closure6, A.paths_closure0, A.IfRule_toString_closure0, A.render_closure1, A._parseFunctions_closure, A.legacyListClass_closure0, A.legacyListClass_closure3, A.listClass__closure0, A._deepMergeImpl_closure0, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.mapClass__closure1, A.SassMap_asList_closure0, A.main_closure0, A.main_closure1, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.numberClass__closure10, A.numberClass__closure11, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A.main_printError, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__propertyOrVariableDeclaration_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure2, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_closure0, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure14]);
97687 _inherit(A.CastList, A._CastListBase);
97688 _inherit(A.MapBase, A.MapMixin);
97689 _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
97690 _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]);
97691 _inherit(A.ListBase, A._ListBase_Object_ListMixin);
97692 _inherit(A.UnmodifiableListBase, A.ListBase);
97693 _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
97694 _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.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.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]);
97695 _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
97696 _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
97697 _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
97698 _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
97699 _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
97700 _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
97701 _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
97702 _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
97703 _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
97704 _inherit(A.ConstantMapView, A.UnmodifiableMapView);
97705 _inherit(A.ConstantStringMap, A.ConstantMap);
97706 _inherit(A.Instantiation1, A.Instantiation);
97707 _inherit(A.NullError, A.TypeError);
97708 _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
97709 _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
97710 _inherit(A.NativeTypedArray, A.NativeTypedData);
97711 _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
97712 _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
97713 _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
97714 _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
97715 _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
97716 _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
97717 _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
97718 _inherit(A._TypeError, A._Error);
97719 _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
97720 _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
97721 _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
97722 _inherit(A._ControllerStream, A._StreamImpl);
97723 _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
97724 _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
97725 _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
97726 _inherit(A._StreamImplEvents, A._PendingEvents);
97727 _inherit(A._ExpandStream, A._ForwardingStream);
97728 _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
97729 _inherit(A._IdentityHashMap, A._HashMap);
97730 _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
97731 _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
97732 _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
97733 _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
97734 _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
97735 _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
97736 _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
97737 _inherit(A.Converter, A.StreamTransformerBase);
97738 _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
97739 _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
97740 _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
97741 _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
97742 _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
97743 _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
97744 _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
97745 _inherit(A._JsonStringStringifier, A._JsonStringifier);
97746 _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
97747 _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
97748 _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
97749 _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
97750 _inherit(A._DataUri, A._Uri);
97751 _inherit(A.ArgParserException, A.FormatException);
97752 _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
97753 _inherit(A.QueueList, A._QueueList_Object_ListMixin);
97754 _inherit(A._CastQueueList, A.QueueList);
97755 _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
97756 _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
97757 _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
97758 _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
97759 _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
97760 _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
97761 _inherit(A.InternalStyle, A.Style);
97762 _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
97763 _inherit(A.CssNode, A.AstNode);
97764 _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
97765 _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
97766 _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
97767 _inherit(A.CssStylesheet, A.CssParentNode);
97768 _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]);
97769 _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
97770 _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
97771 _inherit(A._HasContentVisitor, A.StatementSearchVisitor);
97772 _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
97773 _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
97774 _inherit(A.ExplicitConfiguration, A.Configuration);
97775 _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
97776 _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
97777 _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
97778 _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
97779 _inherit(A.MergedExtension, A.Extension);
97780 _inherit(A.Importer, A.AsyncImporter);
97781 _inherit(A.FilesystemImporter, A.Importer);
97782 _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
97783 _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
97784 _inherit(A.CssParser, A.ScssParser);
97785 _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
97786 _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
97787 _inherit(A.SassArgumentList, A.SassList);
97788 _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
97789 _inherit(A._FindDependenciesVisitor, A.RecursiveStatementVisitor);
97790 _inherit(A.SingleMapping, A.Mapping);
97791 _inherit(A.FileLocation, A.SourceLocationMixin);
97792 _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
97793 _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
97794 _inherit(A.StringScannerException, A.SourceSpanFormatException);
97795 _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
97796 _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
97797 _inherit(A.SassArgumentList0, A.SassList0);
97798 _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
97799 _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
97800 _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]);
97801 _inherit(A.CssNode0, A.AstNode0);
97802 _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
97803 _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
97804 _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
97805 _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
97806 _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
97807 _inherit(A.CompileStringOptions, A.CompileOptions);
97808 _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
97809 _inherit(A.ExplicitConfiguration0, A.Configuration0);
97810 _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
97811 _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
97812 _inherit(A.CssParser0, A.ScssParser0);
97813 _inherit(A._NodeException, A.JsError);
97814 _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
97815 _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
97816 _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
97817 _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
97818 _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
97819 _inherit(A.MergedExtension0, A.Extension0);
97820 _inherit(A._HasContentVisitor0, A.StatementSearchVisitor0);
97821 _inherit(A.CssStylesheet0, A.CssParentNode0);
97822 _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
97823 _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
97824 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
97825 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97826 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
97827 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97828 _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
97829 _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
97830 _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
97831 _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
97832 _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
97833 _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
97834 _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
97835 _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97836 _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
97837 _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97838 _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97839 })();
97840 var init = {
97841 typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
97842 mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
97843 mangledNames: {},
97844 types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(String)", "bool(CssNode0)", "bool(CssNode)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "bool(Object?)", "int()", "SassString0(List<Value0>)", "SassString(List<Value>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "bool(ComplexSelector)", "bool(ComplexSelector0)", "SassList(List<Value>)", "SassList0(List<Value0>)", "JSClass0()", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "bool()", "~(Object?)", "Null(~())", "String()", "FileSpan()", "bool(int?)", "Future<Null>(Future<~>())", "Value()", "Future<~>()", "Value?()", "Value(Value)", "SassMap(List<Value>)", "Value0(Value0)", "Value0?()", "SassMap0(List<Value0>)", "String?()", "int(num)", "bool(num,num)", "SelectorList()", "SelectorList0()", "List<String>()", "Value0()", "String(Object)", "bool(Value0)", "num(SassColor0)", "ValueExpression(Value)", "~(Value,Value)", "~(Value0)", "num(num,num)", "~(Value0,Value0)", "~(Value)", "bool(int)", "ValueExpression0(Value0)", "Future<Value>()", "~(Module<Callable>)", "~(Object,StackTrace)", "bool(Value)", "Null(Object,StackTrace)", "Future<Value0?>()", "Future<Value0>()", "~(Module0<Callable0>)", "Null(@)", "Future<Value?>()", "Frame(String)", "Frame()", "Null([Object?])", "ComplexSelector0(List<ComplexSelectorComponent0>)", "num(num)", "~(String,Value0)", "ComplexSelector(List<ComplexSelectorComponent>)", "Tuple3<Importer,Uri,Uri>?()", "Stylesheet?()", "bool(SelectorList)", "Value0?(Statement0)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Declaration0(List<Statement0>,FileSpan)", "@(@)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Future<Value?>(Statement)", "Null(_NodeSassColor,num)", "bool(SelectorList0)", "SassRuntimeException(AstNode)", "Object()", "Value?(Statement)", "Uri(Uri)", "String(@)", "Future<String>(Object?)", "SassRuntimeException0(AstNode0)", "@()", "~(String,Value)", "int(Uri)", "Future<Value0?>(Statement0)", "Declaration(List<Statement>,FileSpan)", "Future<Value0>(List<Value0>)", "Statement()", "Map<ComplexSelector0,Extension0>()", "Iterable<String>(Module0<Callable0>)", "List<CssMediaQuery>()", "AtRootQuery()", "Callable0?()", "bool(ComplexSelectorComponent0)", "~(Object)", "AtRootQuery0()", "bool(Object)", "Iterable<String>(Module<Callable>)", "~(String,Object?)", "Null(Module0<AsyncCallable0>)", "List<CssMediaQuery0>()", "~(@)", "AsyncCallable0?()", "~(String)", "int(SassColor0)", "bool(Module<Callable>)", "Iterable<ComplexSelector0>(ComplexSelector0)", "Iterable<String>(Module<AsyncCallable>)", "~(~())", "String(Expression0)", "bool(Module0<AsyncCallable0>)", "Null(Module<AsyncCallable>)", "Iterable<String>(Module0<AsyncCallable0>)", "ComplexSelector(ComplexSelector)", "Iterable<ComplexSelector>(ComplexSelector)", "int(_NodeSassColor)", "AsyncCallable?()", "Map<ComplexSelector,Extension>()", "num(Value0)", "ComplexSelector0(ComplexSelector0)", "List<ComplexSelectorComponent>(List<ComplexSelectorComponent>)", "bool(@)", "String(Expression)", "Statement0()", "bool(ComplexSelectorComponent)", "bool(_Highlight)", "Callable?()", "num(Value)", "List<ComplexSelectorComponent0>(List<ComplexSelectorComponent0>)", "bool(Module0<Callable0>)", "bool(Module<AsyncCallable>)", "Iterable<String>(String)", "Trace(String)", "int(Frame)", "String(Frame)", "String(SassNumber)", "Trace()", "AstNode?()", "bool(Frame)", "Future<Object>()", "bool(ForwardRule)", "bool(UseRule)", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "Future<SassNumber>()", "AstNode0(AstNode0)", "bool(ModifiableCssParentNode)", "List<ExtensionStore>()", "SassFunction0(List<Value0>)", "~(Module<AsyncCallable>)", "SassFunction(List<Value>)", "~(Module0<AsyncCallable0>)", "AstNode(AstNode)", "num(num,String)", "List<ExtensionStore0>()", "Entry(Entry)", "bool(ModifiableCssParentNode0)", "AtRule(List<Statement>,FileSpan)", "Object(Object)", "AtRootRule(List<Statement>,FileSpan)", "VariableDeclaration()", "int(int)", "Future<SassNumber0>()", "~(String[~])", "bool(UseRule0)", "bool(ForwardRule0)", "DateTime()", "Iterable<String>(@)", "Frame(Tuple2<String,AstNode>)", "Iterable<String>()", "Uri(String)", "Uri?()", "SelectorList(SelectorList,SelectorList)", "SelectorList(Value)", "int(int,num?)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "num(num,num?,num)", "num?(String,num{assertPercent:bool,checkPercent:bool})", "String(int)", "bool(Queue<Object?>)", "Iterable<ComplexSelectorComponent>(List<List<ComplexSelectorComponent>>)", "String(Value0)", "List<Extension>()", "Value0?(Value0)", "~(Iterable<ExtensionStore>)", "Map<String,Callable>(Module<Callable>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "Callable?(Module<Callable>)", "Future<Value>(List<Value>)", "~(Iterable<ExtensionStore0>)", "Uri?/()", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "AsyncCallable?(Module<AsyncCallable>)", "SassNumber0()", "String(_NodeException)", "SassNumber()", "List<Extension0>()", "bool(Statement)", "bool(String?)", "Future<~>?()", "Iterable<ComplexSelectorComponent0>(List<List<ComplexSelectorComponent0>>)", "~(Uint8List,String,int)", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "~(Object?,Object?)", "~(@,@)", "Set<0^>()<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)", "~(Object[StackTrace?])", "~([Object?])", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "~(String,@)", "bool(Object?,Object?)", "int(Object?)", "bool(Import)", "MediaRule(List<Statement>,FileSpan)", "Value?(Value)", "String(Value)", "CssValue<String>(Interpolation)", "0&(List<Value>)", "UserDefinedCallable<Environment>(ContentBlock)", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Map<String,Value>(Module<AsyncCallable>)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "String(String{color:@})", "List<Value>(Value)", "List<Frame>(Trace)", "int(Trace)", "bool(List<Value>)", "String(Trace)", "Map<String,AstNode>(Module<AsyncCallable>)", "Null(Function,Function)", "Frame(String,String)", "String(String?)", "SassMap(Value)", "SassMap(SassMap)", "Frame(Frame)", "String(Argument0)", "Null(@,@)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "bool(String?,String?)", "Future<Stylesheet?>()", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "SassNumber(Value)", "Value(Object)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "SassString(SimpleSelector)", "int(String?)", "~(int,@)", "String(Argument)", "bool(Tuple3<Importer,Uri,Uri>)", "Future<~>(List<Value0>)", "Uri(Tuple3<Importer,Uri,Uri>)", "String(MapEntry<String,ConfiguredValue>)", "Future<EvaluateResult0>()", "Expression(Expression)", "Value?(Module<Callable>)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "Module<Callable>?(Module<Callable>)", "~(Symbol0,@)", "String(Tuple2<Expression,Expression>)", "Future<CssValue0<Value0>>(Expression0)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Map<String,Value>(Module<Callable>)", "Future<Value0?>(Value0)", "Map<String,AstNode>(Module<Callable>)", "~(String,int)", "Future<CssValue0<String>>(Interpolation0)", "String(int,IfClause)", "ArgParser()", "~(String,int?)", "Future<~>(String)", "String(BuiltInCallable)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "List<WatchEvent>(List<WatchEvent>)", "int(int,int)", "CompoundSelector()", "Statement({root:bool})", "@(String)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Future<Value0>(Expression0)", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "Set<ModifiableCssValue<SelectorList>>()", "UseRule()", "Uint8List(@,@)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "Future<@>()", "0&(Object[Object?])", "StyleRule(List<Statement>,FileSpan)", "Expression0(Expression0)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "ContentBlock(List<Statement>,FileSpan)", "0&(List<Value0>)", "~(ComplexSelector,Extension)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "MixinRule(List<Statement>,FileSpan)", "num(_NodeSassColor)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "SupportsRule(List<Statement>,FileSpan)", "WhileRule(List<Statement>,FileSpan)", "~(Expression)", "~(BinaryOperator)", "AsyncImporter0(NodeImporter0)", "0&(@)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "StringExpression(Interpolation)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "DateTime(StylesheetNode)", "~(Uri,StylesheetNode?)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "~(Set<ModifiableCssValue<SelectorList>>)", "List<ComplexSelector>(ComplexSelectorComponent)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "SassScriptException()", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "List<ComplexSelectorComponent>(ComplexSelector)", "~(List<Value0>)", "SingleUnitSassNumber(num)", "EvaluateResult0()", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "Object(Value0)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "CssValue0<String>(Interpolation0)", "ComplexSelector(Extender)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "List<ComplexSelector>?(List<Extender>)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "List<SimpleSelector>(Extender)", "Future<~>(List<Value>)", "~(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<ComplexSelector>)", "Future<EvaluateResult>()", "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<Extender>?(SimpleSelector)", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "Module<AsyncCallable>(Module<AsyncCallable>)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<ComplexSelectorComponent0>(List<Iterable<ComplexSelectorComponent0>>)", "Iterable<ComplexSelectorComponent0>(Iterable<ComplexSelectorComponent0>)", "List<Extender>(PseudoSelector)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "List<List<Extender>>(List<Extender>)", "List<ComplexSelector>(ComplexSelector)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "Future<CssValue<Value>>(Expression)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "PseudoSelector(ComplexSelector)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "SassString0(ComplexSelectorComponent0)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "Future<Value?>(Value)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "SassList(ComplexSelector)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "Future<CssValue<String>>(Interpolation)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "int(_NodeSassMap)", "bool(Queue<List<ComplexSelectorComponent>>)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "num(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "num(SassNumber0)", "SassString(ComplexSelectorComponent)", "int?(SassNumber0)", "Object?(Object?)", "int(SassNumber0[String?])", "num(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "bool(List<Iterable<ComplexSelectorComponent>>)", "List<ComplexSelectorComponent>(List<Iterable<ComplexSelectorComponent>>)", "Iterable<ComplexSelectorComponent>(Iterable<ComplexSelectorComponent>)", "~([Future<~>?])", "SassScriptException0()", "String(Object,@,@[@])", "bool(PseudoSelector)", "~(String,StackTrace?)", "Future<Value>(Expression)", "SelectorList?(PseudoSelector)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(num)", "~(String,Option)", "JSUrl0?(FileSpan)", "SimpleSelector(SimpleSelector)", "~(@,StackTrace)", "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})", "Value?(Module<AsyncCallable>)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "@(@,String)", "StyleRule0(List<Statement0>,FileSpan)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "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?])", "Null(@,StackTrace)", "~(List<Value>)", "~(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?>?)", "_Future<@>(@)", "EvaluateResult()", "0^(0^,0^)<num>", "Module<Callable>(Module<Callable>)", "~(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?])", "CssValue<Value>(Expression)", "bool(Extension)"],
97845 interceptorsByTag: null,
97846 leafTags: null,
97847 arrayRti: Symbol("$ti")
97848 };
97849 A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module1":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporter0":"LegacyJavaScriptObject","CanonicalizeOptions":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","NodeImporterResult1":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","NodeLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_ExpandStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnmodifiableSetView":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"CssAtRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssImport":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"CssMediaRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"CssSupportsRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssValue":{"CssValue":["1"],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"CalculationExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"SupportsExpression":{"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":{"AstNode":[]},"SupportsDeclaration":{"AstNode":[]},"SupportsFunction":{"AstNode":[]},"SupportsInterpolation":{"AstNode":[]},"SupportsNegation":{"AstNode":[]},"SupportsOperation":{"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":{"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":{"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":{"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":{"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":{"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":{"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":[]},"SupportsExpression0":{"Expression0":[],"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":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));
97850 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,"Iterator":1,"Expando":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}'));
97851 var string$ = {
97852 x0a_BUG_: "\n\nBUG: This should include a source span!",
97853 x0a_More: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97854 x0aRun_i: "\nRun in verbose mode to see all warnings.",
97855 x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
97856 x20in_in: " in interpolation here.\nIt may end up represented as ",
97857 x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
97858 x20is_av: " is available from multiple global modules.",
97859 x20is_no: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
97860 x20must_: " must not be greater than the number of characters in the file, ",
97861 x20repet: " repetitive deprecation warnings omitted.",
97862 x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
97863 x20was_a: ' was already loaded, so it can\'t be configured using "with".',
97864 x20was_n: " was not declared with !default in the @used module.",
97865 x20was_p: " was passed both by position and by name.",
97866 x21globa: "!global isn't allowed for variables in other modules.",
97867 x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
97868 x22x26__ma: '"&" may only used at the beginning of a compound selector.',
97869 x22x29__If: "\").\nIf you really want to use the color value here, use '",
97870 x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
97871 x22packa: '"package:" URLs aren\'t supported on this platform.',
97872 x24css_a: "$css and $module may not both be passed at once.",
97873 x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
97874 x24selec: "$selectors: At least one selector must be passed.",
97875 x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
97876 x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
97877 x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97878 x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
97879 x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: $",
97880 x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
97881 x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
97882 x2c_whici: ", which is currently (incorrectly) converted to ",
97883 x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
97884 x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
97885 x3d_____: "===== asynchronous gap ===========================\n",
97886 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.",
97887 x40conte: "@content is only allowed within mixin declarations.",
97888 x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
97889 x40exten: "@extend may only be used within style rules.",
97890 x40forwa: "@forward rules must be written before any other rules.",
97891 x40funct: "@function if($condition, $if-true, $if-false) {",
97892 x40use_r: "@use rules must be written before any other rules.",
97893 A_list: "A list with more than one element must have an explicit separator.",
97894 ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
97895 An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
97896 An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
97897 As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
97898 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.",
97899 At_rul: "At-rules may not be used within nested declarations.",
97900 Cannotff: "Cannot extract a file path from a URI with a fragment component",
97901 Cannotfq: "Cannot extract a file path from a URI with a query component",
97902 Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
97903 Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
97904 Could_: 'Could not find an option with short name "-',
97905 CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
97906 Declarm: "Declarations may only be used within style rules.",
97907 Declarwa: 'Declarations whose names begin with "--" may not be nested.',
97908 Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
97909 Either: "Either options.data or options.file must be set.",
97910 Entrie: "Entries may not be removed from MergedMapView.",
97911 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",
97912 Evalua: "Evaluation handles @include and its content block together.",
97913 Expand: "Expandos are not allowed on strings, numbers, booleans or null",
97914 Expectn: "Expected number, variable, function, or calculation.",
97915 Expectv: "Expected variable, mixin, or function name",
97916 Functi: "Functions may not be declared in control directives.",
97917 HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
97918 If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
97919 In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
97920 Indent: "Indenting at the beginning of the document is illegal.",
97921 Interpn: "Interpolation isn't allowed in namespaces.",
97922 Interpp: "Interpolation isn't allowed in plain CSS.",
97923 Invali: 'Invalid return value for custom function "',
97924 It_s_n: "It's not clear which file to import. Found:\n",
97925 May_on: "May only contains Strings or Expressions.",
97926 Media_: "Media rules may not be used within nested declarations.",
97927 Mixinsb: "Mixins may not be declared in control directives.",
97928 Mixinscf: "Mixins may not contain function declarations.",
97929 Mixinscm: "Mixins may not contain mixin declarations.",
97930 Modulel: "Module loop: this module is already being loaded.",
97931 Modulen: "Module namespaces aren't allowed in plain CSS.",
97932 Nested: "Nested declarations aren't allowed in plain CSS.",
97933 New_en: "New entries may not be added to MergedMapView.",
97934 No_Sasc: "No Sass callable is currently being evaluated.",
97935 No_Sass: "No Sass stylesheet is currently being evaluated.",
97936 NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
97937 Only_2: "Only 2 slash-separated elements allowed, but ",
97938 Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
97939 Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
97940 Other_: "Other modules' members can't be defined with !global.",
97941 Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
97942 Placeh: "Placeholder selectors aren't allowed here.",
97943 Plain_: "Plain CSS functions don't support keyword arguments.",
97944 Positi: "Positional arguments must come before keyword arguments.",
97945 Privat: "Private members can't be accessed from outside their modules.",
97946 RGB_pa: "RGB parameters may not be passed along with ",
97947 Sass_v: "Sass variables aren't allowed in plain CSS.",
97948 Silent: "Silent comments aren't allowed in plain CSS.",
97949 Soon__: "Soon, it will instead be correctly converted to ",
97950 Style_: "Style rules may not be used within nested declarations.",
97951 Suppor: "Supports rules may not be used within nested declarations.",
97952 The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
97953 The_ca: "The canonicalize() method must return a URL.",
97954 The_fie: "The findFileUrl() method must return a URL.",
97955 The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
97956 The_gi: "The given LineScannerState was not returned by this LineScanner.",
97957 The_lo: "The load() function must return an object with contents and syntax fields.",
97958 The_pa: "The parent selector isn't allowed in plain CSS.",
97959 The_sa: "The same variable may only be configured once.",
97960 The_ta: 'The target selector was not found.\nUse "@extend ',
97961 There_: "There's already a module with namespace \"",
97962 This_d: 'This declaration has no argument named "$',
97963 This_f: "This function isn't allowed in plain CSS.",
97964 This_ma: 'This module and the new module both define a variable named "$',
97965 This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
97966 This_s: "This selector doesn't have any properties and won't be rendered.",
97967 This_v: "This variable was not declared with !default in the @used module.",
97968 Top_le: 'Top-level selectors may not contain the parent selector "&".',
97969 Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97970 Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97971 Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
97972 Variab_: "Variable keyword argument map must have string keys.\n",
97973 Variabs: "Variable keyword arguments must be a map (was ",
97974 You_ma: "You may not @extend selectors across media queries.",
97975 You_pr: "You probably don't mean to use the color value ",
97976 x60_inst: "` instead.\nSee http://bit.ly/ExtendCompound for details.\n",
97977 addExt_: "addExtension() can't be called for a const ExtensionStore.",
97978 addExts: "addExtensions() can't be called for a const ExtensionStore.",
97979 addSel: "addSelector() can't be called for a const ExtensionStore.",
97980 compou: "compound selectors may no longer be extended.\nConsider `@extend ",
97981 conten: "content-exists() may only be called within a mixin.",
97982 math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
97983 must_b: "must be a UniversalSelector or a TypeSelector",
97984 parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
97985 semico: "semicolons aren't allowed in the indented syntax.",
97986 throug: "through() must return false for at least one parent of "
97987 };
97988 var type$ = (function rtii() {
97989 var findType = A.findType;
97990 return {
97991 $env_1_1_String: findType("@<String>"),
97992 ArgParser: findType("ArgParser"),
97993 Argument: findType("Argument"),
97994 ArgumentDeclaration: findType("ArgumentDeclaration"),
97995 ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
97996 Argument_2: findType("Argument0"),
97997 AstNode: findType("AstNode"),
97998 AstNode_2: findType("AstNode0"),
97999 AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
98000 AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
98001 AsyncCallable: findType("AsyncCallable"),
98002 AsyncCallable_2: findType("AsyncCallable0"),
98003 AsyncImporter: findType("AsyncImporter0"),
98004 BuiltInCallable: findType("BuiltInCallable"),
98005 BuiltInCallable_2: findType("BuiltInCallable0"),
98006 BuiltInModule_AsyncBuiltInCallable: findType("BuiltInModule<AsyncBuiltInCallable>"),
98007 BuiltInModule_AsyncBuiltInCallable_2: findType("BuiltInModule0<AsyncBuiltInCallable0>"),
98008 BuiltInModule_BuiltInCallable: findType("BuiltInModule<BuiltInCallable>"),
98009 BuiltInModule_BuiltInCallable_2: findType("BuiltInModule0<BuiltInCallable0>"),
98010 Callable: findType("Callable"),
98011 Callable_2: findType("Callable0"),
98012 ChangeType: findType("ChangeType"),
98013 Combinator: findType("Combinator"),
98014 Combinator_2: findType("Combinator0"),
98015 Comparable_dynamic: findType("Comparable<@>"),
98016 Comparable_nullable_Object: findType("Comparable<Object?>"),
98017 CompileResult: findType("CompileResult"),
98018 CompileResult_2: findType("CompileResult0"),
98019 ComplexSelector: findType("ComplexSelector"),
98020 ComplexSelectorComponent: findType("ComplexSelectorComponent"),
98021 ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
98022 ComplexSelector_2: findType("ComplexSelector0"),
98023 CompoundSelector: findType("CompoundSelector"),
98024 CompoundSelector_2: findType("CompoundSelector0"),
98025 Configuration: findType("Configuration"),
98026 Configuration_2: findType("Configuration0"),
98027 ConfiguredValue: findType("ConfiguredValue"),
98028 ConfiguredValue_2: findType("ConfiguredValue0"),
98029 ConfiguredVariable: findType("ConfiguredVariable"),
98030 ConfiguredVariable_2: findType("ConfiguredVariable0"),
98031 ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
98032 ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
98033 ConstantStringMap_String_num: findType("ConstantStringMap<String,num>"),
98034 CssAtRule: findType("CssAtRule"),
98035 CssAtRule_2: findType("CssAtRule0"),
98036 CssComment: findType("CssComment"),
98037 CssComment_2: findType("CssComment0"),
98038 CssImport: findType("CssImport"),
98039 CssImport_2: findType("CssImport0"),
98040 CssMediaQuery: findType("CssMediaQuery"),
98041 CssMediaQuery_2: findType("CssMediaQuery0"),
98042 CssMediaRule: findType("CssMediaRule"),
98043 CssMediaRule_2: findType("CssMediaRule0"),
98044 CssParentNode: findType("CssParentNode"),
98045 CssParentNode_2: findType("CssParentNode0"),
98046 CssStyleRule: findType("CssStyleRule"),
98047 CssStyleRule_2: findType("CssStyleRule0"),
98048 CssStylesheet: findType("CssStylesheet"),
98049 CssStylesheet_2: findType("CssStylesheet0"),
98050 CssSupportsRule: findType("CssSupportsRule"),
98051 CssSupportsRule_2: findType("CssSupportsRule0"),
98052 CssValue_List_String: findType("CssValue<List<String>>"),
98053 CssValue_List_String_2: findType("CssValue0<List<String>>"),
98054 CssValue_SelectorList: findType("CssValue<SelectorList>"),
98055 CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
98056 CssValue_String: findType("CssValue<String>"),
98057 CssValue_String_2: findType("CssValue0<String>"),
98058 CssValue_Value: findType("CssValue<Value>"),
98059 CssValue_Value_2: findType("CssValue0<Value0>"),
98060 DateTime: findType("DateTime"),
98061 EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
98062 Error: findType("Error"),
98063 EvaluateResult: findType("EvaluateResult"),
98064 EvaluateResult_2: findType("EvaluateResult0"),
98065 EvaluationContext: findType("EvaluationContext"),
98066 EvaluationContext_2: findType("EvaluationContext0"),
98067 Exception: findType("Exception"),
98068 Expression: findType("Expression"),
98069 Expression_2: findType("Expression0"),
98070 Extender: findType("Extender"),
98071 Extender_2: findType("Extender0"),
98072 Extension: findType("Extension"),
98073 Extension_2: findType("Extension0"),
98074 FileSpan: findType("FileSpan"),
98075 FormatException: findType("FormatException"),
98076 Frame: findType("Frame"),
98077 Function: findType("Function"),
98078 FutureOr_EvaluateResult: findType("EvaluateResult/"),
98079 FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
98080 FutureOr_nullable_Uri: findType("Uri?/"),
98081 Future_dynamic: findType("Future<@>"),
98082 Future_void: findType("Future<~>"),
98083 IfClause: findType("IfClause"),
98084 IfClause_2: findType("IfClause0"),
98085 ImmutableList: findType("ImmutableList"),
98086 ImmutableMap: findType("ImmutableMap"),
98087 Import: findType("Import"),
98088 Import_2: findType("Import0"),
98089 Importer: findType("Importer0"),
98090 ImporterResult: findType("ImporterResult"),
98091 ImporterResult_2: findType("ImporterResult0"),
98092 InternalStyle: findType("InternalStyle"),
98093 Interpolation: findType("Interpolation"),
98094 InterpolationBuffer: findType("InterpolationBuffer"),
98095 InterpolationBuffer_2: findType("InterpolationBuffer0"),
98096 Interpolation_2: findType("Interpolation0"),
98097 Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
98098 Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
98099 Iterable_dynamic: findType("Iterable<@>"),
98100 JSArray_Argument: findType("JSArray<Argument>"),
98101 JSArray_Argument_2: findType("JSArray<Argument0>"),
98102 JSArray_AstNode: findType("JSArray<AstNode>"),
98103 JSArray_AstNode_2: findType("JSArray<AstNode0>"),
98104 JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
98105 JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
98106 JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
98107 JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
98108 JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
98109 JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
98110 JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
98111 JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
98112 JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
98113 JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
98114 JSArray_Callable: findType("JSArray<Callable>"),
98115 JSArray_Callable_2: findType("JSArray<Callable0>"),
98116 JSArray_Combinator: findType("JSArray<Combinator>"),
98117 JSArray_Combinator_2: findType("JSArray<Combinator0>"),
98118 JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
98119 JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
98120 JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
98121 JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
98122 JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
98123 JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
98124 JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
98125 JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
98126 JSArray_CssNode: findType("JSArray<CssNode>"),
98127 JSArray_CssNode_2: findType("JSArray<CssNode0>"),
98128 JSArray_Entry: findType("JSArray<Entry>"),
98129 JSArray_Expression: findType("JSArray<Expression>"),
98130 JSArray_Expression_2: findType("JSArray<Expression0>"),
98131 JSArray_Extender: findType("JSArray<Extender>"),
98132 JSArray_Extender_2: findType("JSArray<Extender0>"),
98133 JSArray_Extension: findType("JSArray<Extension>"),
98134 JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
98135 JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
98136 JSArray_Extension_2: findType("JSArray<Extension0>"),
98137 JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
98138 JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
98139 JSArray_Frame: findType("JSArray<Frame>"),
98140 JSArray_IfClause: findType("JSArray<IfClause>"),
98141 JSArray_IfClause_2: findType("JSArray<IfClause0>"),
98142 JSArray_Import: findType("JSArray<Import>"),
98143 JSArray_Import_2: findType("JSArray<Import0>"),
98144 JSArray_Importer: findType("JSArray<Importer0>"),
98145 JSArray_Importer_2: findType("JSArray<Importer>"),
98146 JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
98147 JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
98148 JSArray_JSFunction: findType("JSArray<JSFunction0>"),
98149 JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
98150 JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
98151 JSArray_List_Extender: findType("JSArray<List<Extender>>"),
98152 JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
98153 JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
98154 JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
98155 JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
98156 JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
98157 JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
98158 JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
98159 JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
98160 JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
98161 JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
98162 JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
98163 JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
98164 JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
98165 JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
98166 JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
98167 JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
98168 JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
98169 JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
98170 JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
98171 JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
98172 JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
98173 JSArray_Object: findType("JSArray<Object>"),
98174 JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
98175 JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
98176 JSArray_SassList: findType("JSArray<SassList>"),
98177 JSArray_SassList_2: findType("JSArray<SassList0>"),
98178 JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
98179 JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
98180 JSArray_Statement: findType("JSArray<Statement>"),
98181 JSArray_Statement_2: findType("JSArray<Statement0>"),
98182 JSArray_String: findType("JSArray<String>"),
98183 JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
98184 JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
98185 JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
98186 JSArray_Trace: findType("JSArray<Trace>"),
98187 JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
98188 JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
98189 JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
98190 JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
98191 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
98192 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
98193 JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
98194 JSArray_Uri: findType("JSArray<Uri>"),
98195 JSArray_UseRule: findType("JSArray<UseRule>"),
98196 JSArray_UseRule_2: findType("JSArray<UseRule0>"),
98197 JSArray_Value: findType("JSArray<Value>"),
98198 JSArray_Value_2: findType("JSArray<Value0>"),
98199 JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
98200 JSArray__Highlight: findType("JSArray<_Highlight>"),
98201 JSArray__Line: findType("JSArray<_Line>"),
98202 JSArray_bool: findType("JSArray<bool>"),
98203 JSArray_dynamic: findType("JSArray<@>"),
98204 JSArray_int: findType("JSArray<int>"),
98205 JSArray_nullable_String: findType("JSArray<String?>"),
98206 JSClass: findType("JSClass0"),
98207 JSFunction: findType("JSFunction0"),
98208 JSNull: findType("JSNull"),
98209 JSUrl: findType("JSUrl0"),
98210 JavaScriptFunction: findType("JavaScriptFunction"),
98211 JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
98212 JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
98213 JsSystemError: findType("JsSystemError"),
98214 LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
98215 LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
98216 List_ComplexSelector: findType("List<ComplexSelector>"),
98217 List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
98218 List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
98219 List_ComplexSelector_2: findType("List<ComplexSelector0>"),
98220 List_CssMediaQuery: findType("List<CssMediaQuery>"),
98221 List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
98222 List_Extension: findType("List<Extension>"),
98223 List_ExtensionStore: findType("List<ExtensionStore>"),
98224 List_ExtensionStore_2: findType("List<ExtensionStore0>"),
98225 List_Extension_2: findType("List<Extension0>"),
98226 List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
98227 List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
98228 List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
98229 List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
98230 List_Module_Callable: findType("List<Module<Callable>>"),
98231 List_Module_Callable_2: findType("List<Module0<Callable0>>"),
98232 List_String: findType("List<String>"),
98233 List_Value: findType("List<Value>"),
98234 List_Value_2: findType("List<Value0>"),
98235 List_WatchEvent: findType("List<WatchEvent>"),
98236 List_dynamic: findType("List<@>"),
98237 List_int: findType("List<int>"),
98238 List_nullable_Object: findType("List<Object?>"),
98239 MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
98240 MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
98241 MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
98242 MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
98243 MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
98244 MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
98245 MapKeySet_String: findType("MapKeySet<String>"),
98246 MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
98247 Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
98248 Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
98249 Map_String_AstNode: findType("Map<String,AstNode>"),
98250 Map_String_AstNode_2: findType("Map<String,AstNode0>"),
98251 Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
98252 Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
98253 Map_String_Callable: findType("Map<String,Callable>"),
98254 Map_String_Callable_2: findType("Map<String,Callable0>"),
98255 Map_String_Value: findType("Map<String,Value>"),
98256 Map_String_Value_2: findType("Map<String,Value0>"),
98257 Map_String_dynamic: findType("Map<String,@>"),
98258 Map_dynamic_dynamic: findType("Map<@,@>"),
98259 MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
98260 MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
98261 MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
98262 MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
98263 MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
98264 MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
98265 MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
98266 MixinRule: findType("MixinRule"),
98267 MixinRule_2: findType("MixinRule0"),
98268 ModifiableCssAtRule: findType("ModifiableCssAtRule"),
98269 ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
98270 ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
98271 ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
98272 ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
98273 ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
98274 ModifiableCssNode: findType("ModifiableCssNode"),
98275 ModifiableCssNode_2: findType("ModifiableCssNode0"),
98276 ModifiableCssParentNode: findType("ModifiableCssParentNode"),
98277 ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
98278 ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
98279 ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
98280 ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
98281 ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
98282 ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
98283 ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
98284 Module_AsyncCallable: findType("Module<AsyncCallable>"),
98285 Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
98286 Module_Callable: findType("Module<Callable>"),
98287 Module_Callable_2: findType("Module0<Callable0>"),
98288 NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
98289 NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
98290 NativeUint8List: findType("NativeUint8List"),
98291 Never: findType("0&"),
98292 NodeCompileResult: findType("NodeCompileResult"),
98293 NodeImporter: findType("NodeImporter0"),
98294 NodeImporterResult: findType("NodeImporterResult0"),
98295 NodeImporterResult_2: findType("NodeImporterResult1"),
98296 Null: findType("Null"),
98297 Object: findType("Object"),
98298 Option: findType("Option"),
98299 ParentSelector: findType("ParentSelector"),
98300 ParentSelector_2: findType("ParentSelector0"),
98301 PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
98302 PathMap_String: findType("PathMap<String>"),
98303 PathMap_nullable_String: findType("PathMap<String?>"),
98304 Promise: findType("Promise"),
98305 PseudoSelector: findType("PseudoSelector"),
98306 PseudoSelector_2: findType("PseudoSelector0"),
98307 RangeError: findType("RangeError"),
98308 RegExpMatch: findType("RegExpMatch"),
98309 RenderContextOptions: findType("RenderContextOptions0"),
98310 RenderResult: findType("RenderResult"),
98311 Result_String: findType("Result<String>"),
98312 ReversedListIterable_Combinator: findType("ReversedListIterable<Combinator>"),
98313 ReversedListIterable_Combinator_2: findType("ReversedListIterable<Combinator0>"),
98314 SassArgumentList: findType("SassArgumentList"),
98315 SassArgumentList_2: findType("SassArgumentList0"),
98316 SassBoolean: findType("SassBoolean"),
98317 SassBoolean_2: findType("SassBoolean0"),
98318 SassColor: findType("SassColor"),
98319 SassColor_2: findType("SassColor0"),
98320 SassList: findType("SassList"),
98321 SassList_2: findType("SassList0"),
98322 SassMap: findType("SassMap"),
98323 SassMap_2: findType("SassMap0"),
98324 SassNumber: findType("SassNumber"),
98325 SassNumber_2: findType("SassNumber0"),
98326 SassRuntimeException: findType("SassRuntimeException"),
98327 SassRuntimeException_2: findType("SassRuntimeException0"),
98328 SassString: findType("SassString"),
98329 SassString_2: findType("SassString0"),
98330 SelectorList: findType("SelectorList"),
98331 SelectorList_2: findType("SelectorList0"),
98332 Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
98333 Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
98334 SimpleSelector: findType("SimpleSelector"),
98335 SimpleSelector_2: findType("SimpleSelector0"),
98336 SourceFile: findType("SourceFile"),
98337 SourceLocation: findType("SourceLocation"),
98338 SourceSpan: findType("SourceSpan"),
98339 SourceSpanFormatException: findType("SourceSpanFormatException"),
98340 SourceSpanWithContext: findType("SourceSpanWithContext"),
98341 SpanColorFormat: findType("SpanColorFormat"),
98342 SpanColorFormat_2: findType("SpanColorFormat0"),
98343 StackTrace: findType("StackTrace"),
98344 Statement: findType("Statement"),
98345 Statement_2: findType("Statement0"),
98346 StaticImport: findType("StaticImport"),
98347 StaticImport_2: findType("StaticImport0"),
98348 StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
98349 StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
98350 StreamQueue_String: findType("StreamQueue<String>"),
98351 Stream_WatchEvent: findType("Stream<WatchEvent>"),
98352 String: findType("String"),
98353 StylesheetNode: findType("StylesheetNode"),
98354 Timer: findType("Timer"),
98355 Trace: findType("Trace"),
98356 Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
98357 Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
98358 Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
98359 Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
98360 Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
98361 Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
98362 Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
98363 Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
98364 Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
98365 Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
98366 Tuple2_String_String: findType("Tuple2<String,String>"),
98367 Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
98368 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
98369 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
98370 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
98371 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
98372 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
98373 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
98374 Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
98375 Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
98376 Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
98377 Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
98378 Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
98379 Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
98380 Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
98381 Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
98382 Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
98383 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
98384 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
98385 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
98386 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
98387 TypeError: findType("TypeError"),
98388 Uint8List: findType("Uint8List"),
98389 UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
98390 UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
98391 UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
98392 UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
98393 UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
98394 UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
98395 UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
98396 UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
98397 UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
98398 UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
98399 UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
98400 UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
98401 UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
98402 UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
98403 UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
98404 UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
98405 UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
98406 UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
98407 UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
98408 UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
98409 UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
98410 UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
98411 UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
98412 Uri: findType("Uri"),
98413 UseRule: findType("UseRule"),
98414 UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
98415 UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
98416 UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
98417 UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
98418 Value: findType("Value"),
98419 Value_2: findType("Value0"),
98420 Value_Function_List_Value: findType("Value(List<Value>)"),
98421 Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
98422 VariableDeclaration: findType("VariableDeclaration"),
98423 VariableDeclaration_2: findType("VariableDeclaration0"),
98424 WatchEvent: findType("WatchEvent"),
98425 WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
98426 WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
98427 WhereIterable_String: findType("WhereIterable<String>"),
98428 WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
98429 WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
98430 WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
98431 _ArgumentResults: findType("_ArgumentResults0"),
98432 _ArgumentResults_2: findType("_ArgumentResults2"),
98433 _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
98434 _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
98435 _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
98436 _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
98437 _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
98438 _EventRequest_dynamic: findType("_EventRequest<@>"),
98439 _Future_Object: findType("_Future<Object>"),
98440 _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
98441 _Future_String: findType("_Future<String>"),
98442 _Future_bool: findType("_Future<bool>"),
98443 _Future_dynamic: findType("_Future<@>"),
98444 _Future_int: findType("_Future<int>"),
98445 _Future_nullable_Object: findType("_Future<Object?>"),
98446 _Future_void: findType("_Future<~>"),
98447 _Highlight: findType("_Highlight"),
98448 _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
98449 _LinkedIdentityHashMap_SimpleSelector_int: findType("_LinkedIdentityHashMap<SimpleSelector,int>"),
98450 _LinkedIdentityHashMap_SimpleSelector_int_2: findType("_LinkedIdentityHashMap<SimpleSelector0,int>"),
98451 _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
98452 _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
98453 _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
98454 _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
98455 _LoadedStylesheet: findType("_LoadedStylesheet0"),
98456 _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
98457 _MapEntry: findType("_MapEntry"),
98458 _NodeException: findType("_NodeException"),
98459 _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
98460 bool: findType("bool"),
98461 double: findType("double"),
98462 dynamic: findType("@"),
98463 dynamic_Function: findType("@()"),
98464 dynamic_Function_Object: findType("@(Object)"),
98465 dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
98466 int: findType("int"),
98467 legacy_Never: findType("0&*"),
98468 legacy_Object: findType("Object*"),
98469 nullable_AstNode: findType("AstNode?"),
98470 nullable_AstNode_2: findType("AstNode0?"),
98471 nullable_FileSpan: findType("FileSpan?"),
98472 nullable_Future_Null: findType("Future<Null>?"),
98473 nullable_Future_void: findType("Future<~>?"),
98474 nullable_ImporterResult: findType("ImporterResult0?"),
98475 nullable_List_ComplexSelector: findType("List<ComplexSelector>?"),
98476 nullable_List_ComplexSelector_2: findType("List<ComplexSelector0>?"),
98477 nullable_Object: findType("Object?"),
98478 nullable_SourceFile: findType("SourceFile?"),
98479 nullable_SourceSpan: findType("SourceSpan?"),
98480 nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
98481 nullable_String: findType("String?"),
98482 nullable_Stylesheet: findType("Stylesheet?"),
98483 nullable_StylesheetNode: findType("StylesheetNode?"),
98484 nullable_Stylesheet_2: findType("Stylesheet0?"),
98485 nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
98486 nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
98487 nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
98488 nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
98489 nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
98490 nullable_Uri: findType("Uri?"),
98491 nullable_Value: findType("Value?"),
98492 nullable_Value_2: findType("Value0?"),
98493 nullable__ConstructorOptions: findType("_ConstructorOptions?"),
98494 nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
98495 nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
98496 nullable__Highlight: findType("_Highlight?"),
98497 nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
98498 nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
98499 num: findType("num"),
98500 void: findType("~"),
98501 void_Function_Object: findType("~(Object)"),
98502 void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
98503 };
98504 })();
98505 (function constants() {
98506 var makeConstList = hunkHelpers.makeConstList;
98507 B.Interceptor_methods = J.Interceptor.prototype;
98508 B.JSArray_methods = J.JSArray.prototype;
98509 B.JSBool_methods = J.JSBool.prototype;
98510 B.JSInt_methods = J.JSInt.prototype;
98511 B.JSNumber_methods = J.JSNumber.prototype;
98512 B.JSString_methods = J.JSString.prototype;
98513 B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
98514 B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
98515 B.NativeUint32List_methods = A.NativeUint32List.prototype;
98516 B.NativeUint8List_methods = A.NativeUint8List.prototype;
98517 B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
98518 B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
98519 B.AsciiEncoder_127 = new A.AsciiEncoder(127);
98520 B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
98521 B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
98522 B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
98523 B.AttributeOperator_4L5 = new A.AttributeOperator("^=");
98524 B.AttributeOperator_4L50 = new A.AttributeOperator0("^=");
98525 B.AttributeOperator_AuK = new A.AttributeOperator("|=");
98526 B.AttributeOperator_AuK0 = new A.AttributeOperator0("|=");
98527 B.AttributeOperator_fz1 = new A.AttributeOperator("~=");
98528 B.AttributeOperator_fz10 = new A.AttributeOperator0("~=");
98529 B.AttributeOperator_gqZ = new A.AttributeOperator("*=");
98530 B.AttributeOperator_gqZ0 = new A.AttributeOperator0("*=");
98531 B.AttributeOperator_mOX = new A.AttributeOperator("$=");
98532 B.AttributeOperator_mOX0 = new A.AttributeOperator0("$=");
98533 B.AttributeOperator_sEs = new A.AttributeOperator("=");
98534 B.AttributeOperator_sEs0 = new A.AttributeOperator0("=");
98535 B.BinaryOperator_1da = new A.BinaryOperator("greater than or equals", ">=", 4);
98536 B.BinaryOperator_1da0 = new A.BinaryOperator0("greater than or equals", ">=", 4);
98537 B.BinaryOperator_2ad = new A.BinaryOperator("modulo", "%", 6);
98538 B.BinaryOperator_2ad0 = new A.BinaryOperator0("modulo", "%", 6);
98539 B.BinaryOperator_33h = new A.BinaryOperator("less than or equals", "<=", 4);
98540 B.BinaryOperator_33h0 = new A.BinaryOperator0("less than or equals", "<=", 4);
98541 B.BinaryOperator_8qt = new A.BinaryOperator("less than", "<", 4);
98542 B.BinaryOperator_8qt0 = new A.BinaryOperator0("less than", "<", 4);
98543 B.BinaryOperator_AcR = new A.BinaryOperator("greater than", ">", 4);
98544 B.BinaryOperator_AcR0 = new A.BinaryOperator("plus", "+", 5);
98545 B.BinaryOperator_AcR1 = new A.BinaryOperator0("greater than", ">", 4);
98546 B.BinaryOperator_AcR2 = new A.BinaryOperator0("plus", "+", 5);
98547 B.BinaryOperator_O1M = new A.BinaryOperator("times", "*", 6);
98548 B.BinaryOperator_O1M0 = new A.BinaryOperator0("times", "*", 6);
98549 B.BinaryOperator_RTB = new A.BinaryOperator("divided by", "/", 6);
98550 B.BinaryOperator_RTB0 = new A.BinaryOperator0("divided by", "/", 6);
98551 B.BinaryOperator_YlX = new A.BinaryOperator("equals", "==", 3);
98552 B.BinaryOperator_YlX0 = new A.BinaryOperator0("equals", "==", 3);
98553 B.BinaryOperator_and_and_2 = new A.BinaryOperator("and", "and", 2);
98554 B.BinaryOperator_and_and_20 = new A.BinaryOperator0("and", "and", 2);
98555 B.BinaryOperator_i5H = new A.BinaryOperator("not equals", "!=", 3);
98556 B.BinaryOperator_i5H0 = new A.BinaryOperator0("not equals", "!=", 3);
98557 B.BinaryOperator_iyO = new A.BinaryOperator("minus", "-", 5);
98558 B.BinaryOperator_iyO0 = new A.BinaryOperator0("minus", "-", 5);
98559 B.BinaryOperator_kjl = new A.BinaryOperator("single equals", "=", 0);
98560 B.BinaryOperator_kjl0 = new A.BinaryOperator0("single equals", "=", 0);
98561 B.BinaryOperator_or_or_1 = new A.BinaryOperator("or", "or", 1);
98562 B.BinaryOperator_or_or_10 = new A.BinaryOperator0("or", "or", 1);
98563 B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
98564 B.C_AsciiCodec = new A.AsciiCodec();
98565 B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
98566 B.C_Base64Encoder = new A.Base64Encoder();
98567 B.C_Base64Codec = new A.Base64Codec();
98568 B.C_DefaultEquality = new A.DefaultEquality();
98569 B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
98570 B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
98571 B.C_EmptyIterator = new A.EmptyIterator();
98572 B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
98573 B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
98574 B.C_IterableEquality = new A.IterableEquality();
98575 B.C_JS_CONST = function getTagFallback(o) {
98576 var s = Object.prototype.toString.call(o);
98577 return s.substring(8, s.length - 1);
98578};
98579 B.C_JS_CONST0 = function() {
98580 var toStringFunction = Object.prototype.toString;
98581 function getTag(o) {
98582 var s = toStringFunction.call(o);
98583 return s.substring(8, s.length - 1);
98584 }
98585 function getUnknownTag(object, tag) {
98586 if (/^HTML[A-Z].*Element$/.test(tag)) {
98587 var name = toStringFunction.call(object);
98588 if (name == "[object Object]") return null;
98589 return "HTMLElement";
98590 }
98591 }
98592 function getUnknownTagGenericBrowser(object, tag) {
98593 if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
98594 return getUnknownTag(object, tag);
98595 }
98596 function prototypeForTag(tag) {
98597 if (typeof window == "undefined") return null;
98598 if (typeof window[tag] == "undefined") return null;
98599 var constructor = window[tag];
98600 if (typeof constructor != "function") return null;
98601 return constructor.prototype;
98602 }
98603 function discriminator(tag) { return null; }
98604 var isBrowser = typeof navigator == "object";
98605 return {
98606 getTag: getTag,
98607 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
98608 prototypeForTag: prototypeForTag,
98609 discriminator: discriminator };
98610};
98611 B.C_JS_CONST6 = function(getTagFallback) {
98612 return function(hooks) {
98613 if (typeof navigator != "object") return hooks;
98614 var ua = navigator.userAgent;
98615 if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
98616 if (ua.indexOf("Chrome") >= 0) {
98617 function confirm(p) {
98618 return typeof window == "object" && window[p] && window[p].name == p;
98619 }
98620 if (confirm("Window") && confirm("HTMLElement")) return hooks;
98621 }
98622 hooks.getTag = getTagFallback;
98623 };
98624};
98625 B.C_JS_CONST1 = function(hooks) {
98626 if (typeof dartExperimentalFixupGetTag != "function") return hooks;
98627 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
98628};
98629 B.C_JS_CONST2 = function(hooks) {
98630 var getTag = hooks.getTag;
98631 var prototypeForTag = hooks.prototypeForTag;
98632 function getTagFixed(o) {
98633 var tag = getTag(o);
98634 if (tag == "Document") {
98635 if (!!o.xmlVersion) return "!Document";
98636 return "!HTMLDocument";
98637 }
98638 return tag;
98639 }
98640 function prototypeForTagFixed(tag) {
98641 if (tag == "Document") return null;
98642 return prototypeForTag(tag);
98643 }
98644 hooks.getTag = getTagFixed;
98645 hooks.prototypeForTag = prototypeForTagFixed;
98646};
98647 B.C_JS_CONST5 = function(hooks) {
98648 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98649 if (userAgent.indexOf("Firefox") == -1) return hooks;
98650 var getTag = hooks.getTag;
98651 var quickMap = {
98652 "BeforeUnloadEvent": "Event",
98653 "DataTransfer": "Clipboard",
98654 "GeoGeolocation": "Geolocation",
98655 "Location": "!Location",
98656 "WorkerMessageEvent": "MessageEvent",
98657 "XMLDocument": "!Document"};
98658 function getTagFirefox(o) {
98659 var tag = getTag(o);
98660 return quickMap[tag] || tag;
98661 }
98662 hooks.getTag = getTagFirefox;
98663};
98664 B.C_JS_CONST4 = function(hooks) {
98665 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98666 if (userAgent.indexOf("Trident/") == -1) return hooks;
98667 var getTag = hooks.getTag;
98668 var quickMap = {
98669 "BeforeUnloadEvent": "Event",
98670 "DataTransfer": "Clipboard",
98671 "HTMLDDElement": "HTMLElement",
98672 "HTMLDTElement": "HTMLElement",
98673 "HTMLPhraseElement": "HTMLElement",
98674 "Position": "Geoposition"
98675 };
98676 function getTagIE(o) {
98677 var tag = getTag(o);
98678 var newTag = quickMap[tag];
98679 if (newTag) return newTag;
98680 if (tag == "Object") {
98681 if (window.DataView && (o instanceof window.DataView)) return "DataView";
98682 }
98683 return tag;
98684 }
98685 function prototypeForTagIE(tag) {
98686 var constructor = window[tag];
98687 if (constructor == null) return null;
98688 return constructor.prototype;
98689 }
98690 hooks.getTag = getTagIE;
98691 hooks.prototypeForTag = prototypeForTagIE;
98692};
98693 B.C_JS_CONST3 = function(hooks) { return hooks; }
98694;
98695 B.C_JsonCodec = new A.JsonCodec();
98696 B.C_LineFeed = new A.LineFeed();
98697 B.C_ListEquality0 = new A.ListEquality();
98698 B.C_ListEquality = new A.ListEquality();
98699 B.C_MapEquality = new A.MapEquality();
98700 B.C_OutOfMemoryError = new A.OutOfMemoryError();
98701 B.C_SentinelValue = new A.SentinelValue();
98702 B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
98703 B.C_Utf8Codec = new A.Utf8Codec();
98704 B.C_Utf8Encoder = new A.Utf8Encoder();
98705 B.C__DelayedDone = new A._DelayedDone();
98706 B.C__HasContentVisitor = new A._HasContentVisitor();
98707 B.C__HasContentVisitor0 = new A._HasContentVisitor0();
98708 B.C__JSRandom = new A._JSRandom();
98709 B.C__Required = new A._Required();
98710 B.C__RootZone = new A._RootZone();
98711 B.C__SassNull = new A._SassNull();
98712 B.C__SassNull0 = new A._SassNull0();
98713 B.CalculationOperator_Dih = new A.CalculationOperator("times", "*", 2);
98714 B.CalculationOperator_Dih0 = new A.CalculationOperator0("times", "*", 2);
98715 B.CalculationOperator_Iem = new A.CalculationOperator("plus", "+", 1);
98716 B.CalculationOperator_Iem0 = new A.CalculationOperator0("plus", "+", 1);
98717 B.CalculationOperator_jB6 = new A.CalculationOperator("divided by", "/", 2);
98718 B.CalculationOperator_jB60 = new A.CalculationOperator0("divided by", "/", 2);
98719 B.CalculationOperator_uti = new A.CalculationOperator("minus", "-", 1);
98720 B.CalculationOperator_uti0 = new A.CalculationOperator0("minus", "-", 1);
98721 B.ChangeType_add = new A.ChangeType("add");
98722 B.ChangeType_modify = new A.ChangeType("modify");
98723 B.ChangeType_remove = new A.ChangeType("remove");
98724 B.Combinator_CzM = new A.Combinator("~");
98725 B.Combinator_CzM0 = new A.Combinator0("~");
98726 B.Combinator_sgq = new A.Combinator(">");
98727 B.Combinator_sgq0 = new A.Combinator0(">");
98728 B.Combinator_uzg = new A.Combinator("+");
98729 B.Combinator_uzg0 = new A.Combinator0("+");
98730 B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
98731 B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
98732 B.Configuration_Map_empty = new A.Configuration(B.Map_empty11);
98733 B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
98734 B.Configuration_Map_empty0 = new A.Configuration0(B.Map_empty12);
98735 B.Duration_0 = new A.Duration(0);
98736 B.ExtendMode_allTargets = new A.ExtendMode("allTargets");
98737 B.ExtendMode_allTargets0 = new A.ExtendMode0("allTargets");
98738 B.ExtendMode_normal = new A.ExtendMode("normal");
98739 B.ExtendMode_normal0 = new A.ExtendMode0("normal");
98740 B.ExtendMode_replace = new A.ExtendMode("replace");
98741 B.ExtendMode_replace0 = new A.ExtendMode0("replace");
98742 B.JsonEncoder_null = new A.JsonEncoder(null);
98743 B.LineFeed_D6m = new A.LineFeed0("lf", "\n");
98744 B.LineFeed_Mss = new A.LineFeed0("crlf", "\r\n");
98745 B.LineFeed_a1Y = new A.LineFeed0("lfcr", "\n\r");
98746 B.LineFeed_kMT = new A.LineFeed0("cr", "\r");
98747 B.ListSeparator_1gm = new A.ListSeparator("slash", "/");
98748 B.ListSeparator_1gm0 = new A.ListSeparator0("slash", "/");
98749 B.ListSeparator_kWM = new A.ListSeparator("comma", ",");
98750 B.ListSeparator_kWM0 = new A.ListSeparator0("comma", ",");
98751 B.ListSeparator_undecided_null = new A.ListSeparator("undecided", null);
98752 B.ListSeparator_undecided_null0 = new A.ListSeparator0("undecided", null);
98753 B.ListSeparator_woc = new A.ListSeparator("space", " ");
98754 B.ListSeparator_woc0 = new A.ListSeparator0("space", " ");
98755 B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
98756 B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
98757 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);
98758 B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
98759 B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
98760 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);
98761 B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
98762 B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
98763 B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
98764 B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
98765 B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
98766 B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
98767 B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
98768 B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
98769 B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
98770 B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
98771 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>>"));
98772 B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98773 B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
98774 B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
98775 B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
98776 B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
98777 B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
98778 B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
98779 B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
98780 B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
98781 B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
98782 B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
98783 B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
98784 B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
98785 B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
98786 B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
98787 B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
98788 B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
98789 B.List_empty3 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
98790 B.List_empty13 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
98791 B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
98792 B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
98793 B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
98794 B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_int);
98795 B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
98796 B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98797 B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98798 B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
98799 B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98800 B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98801 B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98802 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);
98803 B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
98804 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);
98805 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);
98806 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);
98807 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);
98808 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);
98809 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);
98810 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);
98811 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);
98812 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);
98813 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);
98814 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);
98815 B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_num);
98816 B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_num);
98817 B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
98818 B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98819 B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98820 B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98821 B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98822 B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98823 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>>"));
98824 B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
98825 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>>"));
98826 B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
98827 B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
98828 B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
98829 B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
98830 B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
98831 B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
98832 B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
98833 B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
98834 B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
98835 B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
98836 B.List_empty22 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
98837 B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty22, A.findType("ConstantStringMap<Symbol0,@>"));
98838 B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
98839 B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty23, A.findType("ConstantStringMap<String?,String>"));
98840 B.OptionType_YwU = new A.OptionType("OptionType.single");
98841 B.OptionType_nMZ = new A.OptionType("OptionType.flag");
98842 B.OptionType_qyr = new A.OptionType("OptionType.multiple");
98843 B.OutputStyle_compressed = new A.OutputStyle("compressed");
98844 B.OutputStyle_compressed0 = new A.OutputStyle0("compressed");
98845 B.OutputStyle_expanded = new A.OutputStyle("expanded");
98846 B.OutputStyle_expanded0 = new A.OutputStyle0("expanded");
98847 B.SassBoolean_false = new A.SassBoolean(false);
98848 B.SassBoolean_false0 = new A.SassBoolean0(false);
98849 B.SassBoolean_true = new A.SassBoolean(true);
98850 B.SassBoolean_true0 = new A.SassBoolean0(true);
98851 B.SassList_0 = new A.SassList0(B.List_empty15, B.ListSeparator_undecided_null0, false);
98852 B.SassList_yfz = new A.SassList(B.List_empty5, B.ListSeparator_kWM, false);
98853 B.SassList_yfz0 = new A.SassList0(B.List_empty15, B.ListSeparator_kWM0, false);
98854 B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty5, A.findType("ConstantStringMap<Value,Value>"));
98855 B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
98856 B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty15, A.findType("ConstantStringMap<Value0,Value0>"));
98857 B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
98858 B.List_is_matches_where = A._setArrayType(makeConstList(["is", "matches", "where"]), type$.JSArray_String);
98859 B.Map_YEyLX = new A.ConstantStringMap(3, {is: null, matches: null, where: null}, B.List_is_matches_where, type$.ConstantStringMap_String_Null);
98860 B.Set_YEQji = new A._UnmodifiableSet(B.Map_YEyLX, type$._UnmodifiableSet_String);
98861 B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
98862 B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty24, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
98863 B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
98864 B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
98865 B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty25, A.findType("ConstantStringMap<Module<Callable>,Null>"));
98866 B.Set_empty = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<Module<Callable>>"));
98867 B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
98868 B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
98869 B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
98870 B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
98871 B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
98872 B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
98873 B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
98874 B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<StylesheetNode,Null>"));
98875 B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<StylesheetNode>"));
98876 B.StderrLogger_false = new A.StderrLogger(false);
98877 B.StderrLogger_false0 = new A.StderrLogger0(false);
98878 B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
98879 B.Symbol__inImportRule = new A.Symbol("_inImportRule");
98880 B.Symbol_call = new A.Symbol("call");
98881 B.Syntax_CSS = new A.Syntax("CSS");
98882 B.Syntax_CSS0 = new A.Syntax0("CSS");
98883 B.Syntax_SCSS = new A.Syntax("SCSS");
98884 B.Syntax_SCSS0 = new A.Syntax0("SCSS");
98885 B.Syntax_Sass = new A.Syntax("Sass");
98886 B.Syntax_Sass0 = new A.Syntax0("Sass");
98887 B.List_empty29 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
98888 B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
98889 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);
98890 B.List_empty30 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
98891 B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
98892 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);
98893 B.Type_Null_Yyn = A.typeLiteral("Null");
98894 B.Type_Object_xQ6 = A.typeLiteral("Object");
98895 B.UnaryOperator_U4G = new A.UnaryOperator("minus", "-");
98896 B.UnaryOperator_U4G0 = new A.UnaryOperator0("minus", "-");
98897 B.UnaryOperator_j2w = new A.UnaryOperator("plus", "+");
98898 B.UnaryOperator_j2w0 = new A.UnaryOperator0("plus", "+");
98899 B.UnaryOperator_not_not = new A.UnaryOperator("not", "not");
98900 B.UnaryOperator_not_not0 = new A.UnaryOperator0("not", "not");
98901 B.UnaryOperator_zDx = new A.UnaryOperator("divide", "/");
98902 B.UnaryOperator_zDx0 = new A.UnaryOperator0("divide", "/");
98903 B.Utf8Decoder_false = new A.Utf8Decoder(false);
98904 B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
98905 B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
98906 B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
98907 B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
98908 B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
98909 B._PathDirection_8Gl = new A._PathDirection("at root");
98910 B._PathDirection_988 = new A._PathDirection("below root");
98911 B._PathDirection_FIw = new A._PathDirection("reaches root");
98912 B._PathDirection_ZGD = new A._PathDirection("above root");
98913 B._PathRelation_different = new A._PathRelation("different");
98914 B._PathRelation_equal = new A._PathRelation("equal");
98915 B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
98916 B._PathRelation_within = new A._PathRelation("within");
98917 B._RegisterBinaryZoneFunction_kGu = new A._RegisterBinaryZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
98918 B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback = new A._RegisterNullaryZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
98919 B._RegisterUnaryZoneFunction_Bqo = new A._RegisterUnaryZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
98920 B._RunBinaryZoneFunction__RootZone__rootRunBinary = new A._RunBinaryZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
98921 B._RunNullaryZoneFunction__RootZone__rootRun = new A._RunNullaryZoneFunction(B.C__RootZone, A.async___rootRun$closure());
98922 B._RunUnaryZoneFunction__RootZone__rootRunUnary = new A._RunUnaryZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
98923 B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
98924 B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
98925 B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
98926 B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
98927 B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
98928 B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
98929 B._StreamGroupState_listening = new A._StreamGroupState("listening");
98930 B._StreamGroupState_paused = new A._StreamGroupState("paused");
98931 B._StringStackTrace_3uE = new A._StringStackTrace("");
98932 B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
98933 B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
98934 B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
98935 B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
98936 B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
98937 B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
98938 B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
98939 B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
98940 })();
98941 (function staticFields() {
98942 $._JS_INTEROP_INTERCEPTOR_TAG = null;
98943 $.printToZone = null;
98944 $.Primitives__identityHashCodeProperty = null;
98945 $.BoundClosure__receiverFieldNameCache = null;
98946 $.BoundClosure__interceptorFieldNameCache = null;
98947 $.getTagFunction = null;
98948 $.alternateTagFunction = null;
98949 $.prototypeForTagFunction = null;
98950 $.dispatchRecordsForInstanceTags = null;
98951 $.interceptorsForUncacheableTags = null;
98952 $.initNativeDispatchFlag = null;
98953 $._nextCallback = null;
98954 $._lastCallback = null;
98955 $._lastPriorityCallback = null;
98956 $._isInCallbackLoop = false;
98957 $.Zone__current = B.C__RootZone;
98958 $._RootZone__rootDelegate = null;
98959 $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
98960 $._fs = null;
98961 $._currentUriBase = null;
98962 $._current = null;
98963 $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
98964 $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98965 $._realCaseCache = function() {
98966 var t1 = type$.String;
98967 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98968 }();
98969 $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
98970 $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98971 $._glyphs = B.C_UnicodeGlyphSet;
98972 $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
98973 $._realCaseCache0 = function() {
98974 var t1 = type$.String;
98975 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98976 }();
98977 $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98978 $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
98979 $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98980 })();
98981 (function lazyInitializers() {
98982 var _lazyFinal = hunkHelpers.lazyFinal,
98983 _lazy = hunkHelpers.lazy;
98984 _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
98985 _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
98986 _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
98987 toString: function() {
98988 return "$receiver$";
98989 }
98990 })));
98991 _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
98992 toString: function() {
98993 return "$receiver$";
98994 }
98995 })));
98996 _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
98997 _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98998 var $argumentsExpr$ = "$arguments$";
98999 try {
99000 null.$method$($argumentsExpr$);
99001 } catch (e) {
99002 return e.message;
99003 }
99004 }()));
99005 _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
99006 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99007 var $argumentsExpr$ = "$arguments$";
99008 try {
99009 (void 0).$method$($argumentsExpr$);
99010 } catch (e) {
99011 return e.message;
99012 }
99013 }()));
99014 _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
99015 _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99016 try {
99017 null.$method$;
99018 } catch (e) {
99019 return e.message;
99020 }
99021 }()));
99022 _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
99023 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99024 try {
99025 (void 0).$method$;
99026 } catch (e) {
99027 return e.message;
99028 }
99029 }()));
99030 _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
99031 _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
99032 _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
99033 _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
99034 var t1 = type$.dynamic;
99035 return A.HashMap_HashMap(t1, t1);
99036 });
99037 _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
99038 _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
99039 _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))));
99040 _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
99041 _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
99042 _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
99043 _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
99044 _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
99045 _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
99046 _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
99047 _lazyFinal($, "readline", "$get$readline", () => self.readline);
99048 _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
99049 _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
99050 _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
99051 _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
99052 _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)));
99053 _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)));
99054 _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
99055 _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
99056 _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
99057 var _null = null;
99058 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, _null), "yellow", A.SassColor$rgb(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb(245, 245, 245, _null), "white", A.SassColor$rgb(255, 255, 255, _null), "wheat", A.SassColor$rgb(245, 222, 179, _null), "violet", A.SassColor$rgb(238, 130, 238, _null), "turquoise", A.SassColor$rgb(64, 224, 208, _null), "transparent", A.SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor$rgb(255, 99, 71, _null), "thistle", A.SassColor$rgb(216, 191, 216, _null), "teal", A.SassColor$rgb(0, 128, 128, _null), "tan", A.SassColor$rgb(210, 180, 140, _null), "steelblue", A.SassColor$rgb(70, 130, 180, _null), "springgreen", A.SassColor$rgb(0, 255, 127, _null), "snow", A.SassColor$rgb(255, 250, 250, _null), "slategrey", A.SassColor$rgb(112, 128, 144, _null), "slategray", A.SassColor$rgb(112, 128, 144, _null), "slateblue", A.SassColor$rgb(106, 90, 205, _null), "skyblue", A.SassColor$rgb(135, 206, 235, _null), "silver", A.SassColor$rgb(192, 192, 192, _null), "sienna", A.SassColor$rgb(160, 82, 45, _null), "seashell", A.SassColor$rgb(255, 245, 238, _null), "seagreen", A.SassColor$rgb(46, 139, 87, _null), "sandybrown", A.SassColor$rgb(244, 164, 96, _null), "salmon", A.SassColor$rgb(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb(139, 69, 19, _null), "royalblue", A.SassColor$rgb(65, 105, 225, _null), "rosybrown", A.SassColor$rgb(188, 143, 143, _null), "red", A.SassColor$rgb(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb(102, 51, 153, _null), "purple", A.SassColor$rgb(128, 0, 128, _null), "powderblue", A.SassColor$rgb(176, 224, 230, _null), "plum", A.SassColor$rgb(221, 160, 221, _null), "pink", A.SassColor$rgb(255, 192, 203, _null), "peru", A.SassColor$rgb(205, 133, 63, _null), "peachpuff", A.SassColor$rgb(255, 218, 185, _null), "papayawhip", A.SassColor$rgb(255, 239, 213, _null), "palevioletred", A.SassColor$rgb(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb(175, 238, 238, _null), "palegreen", A.SassColor$rgb(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb(238, 232, 170, _null), "orchid", A.SassColor$rgb(218, 112, 214, _null), "orangered", A.SassColor$rgb(255, 69, 0, _null), "orange", A.SassColor$rgb(255, 165, 0, _null), "olivedrab", A.SassColor$rgb(107, 142, 35, _null), "olive", A.SassColor$rgb(128, 128, 0, _null), "oldlace", A.SassColor$rgb(253, 245, 230, _null), "navy", A.SassColor$rgb(0, 0, 128, _null), "navajowhite", A.SassColor$rgb(255, 222, 173, _null), "moccasin", A.SassColor$rgb(255, 228, 181, _null), "mistyrose", A.SassColor$rgb(255, 228, 225, _null), "mintcream", A.SassColor$rgb(245, 255, 250, _null), "midnightblue", A.SassColor$rgb(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb(186, 85, 211, _null), "mediumblue", A.SassColor$rgb(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, _null), "maroon", A.SassColor$rgb(128, 0, 0, _null), "magenta", A.SassColor$rgb(255, 0, 255, _null), "linen", A.SassColor$rgb(250, 240, 230, _null), "limegreen", A.SassColor$rgb(50, 205, 50, _null), "lime", A.SassColor$rgb(0, 255, 0, _null), "lightyellow", A.SassColor$rgb(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb(119, 136, 153, _null), "lightslategray", A.SassColor$rgb(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb(255, 160, 122, _null), "lightpink", A.SassColor$rgb(255, 182, 193, _null), "lightgrey", A.SassColor$rgb(211, 211, 211, _null), "lightgreen", A.SassColor$rgb(144, 238, 144, _null), "lightgray", A.SassColor$rgb(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, _null), "lightcyan", A.SassColor$rgb(224, 255, 255, _null), "lightcoral", A.SassColor$rgb(240, 128, 128, _null), "lightblue", A.SassColor$rgb(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb(255, 250, 205, _null), "lawngreen", A.SassColor$rgb(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb(255, 240, 245, _null), "lavender", A.SassColor$rgb(230, 230, 250, _null), "khaki", A.SassColor$rgb(240, 230, 140, _null), "ivory", A.SassColor$rgb(255, 255, 240, _null), "indigo", A.SassColor$rgb(75, 0, 130, _null), "indianred", A.SassColor$rgb(205, 92, 92, _null), "hotpink", A.SassColor$rgb(255, 105, 180, _null), "honeydew", A.SassColor$rgb(240, 255, 240, _null), "grey", A.SassColor$rgb(128, 128, 128, _null), "greenyellow", A.SassColor$rgb(173, 255, 47, _null), "green", A.SassColor$rgb(0, 128, 0, _null), "gray", A.SassColor$rgb(128, 128, 128, _null), "goldenrod", A.SassColor$rgb(218, 165, 32, _null), "gold", A.SassColor$rgb(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb(248, 248, 255, _null), "gainsboro", A.SassColor$rgb(220, 220, 220, _null), "fuchsia", A.SassColor$rgb(255, 0, 255, _null), "forestgreen", A.SassColor$rgb(34, 139, 34, _null), "floralwhite", A.SassColor$rgb(255, 250, 240, _null), "firebrick", A.SassColor$rgb(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb(30, 144, 255, _null), "dimgrey", A.SassColor$rgb(105, 105, 105, _null), "dimgray", A.SassColor$rgb(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb(0, 191, 255, _null), "deeppink", A.SassColor$rgb(255, 20, 147, _null), "darkviolet", A.SassColor$rgb(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb(47, 79, 79, _null), "darkslategray", A.SassColor$rgb(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb(143, 188, 143, _null), "darksalmon", A.SassColor$rgb(233, 150, 122, _null), "darkred", A.SassColor$rgb(139, 0, 0, _null), "darkorchid", A.SassColor$rgb(153, 50, 204, _null), "darkorange", A.SassColor$rgb(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb(189, 183, 107, _null), "darkgrey", A.SassColor$rgb(169, 169, 169, _null), "darkgreen", A.SassColor$rgb(0, 100, 0, _null), "darkgray", A.SassColor$rgb(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, _null), "darkcyan", A.SassColor$rgb(0, 139, 139, _null), "darkblue", A.SassColor$rgb(0, 0, 139, _null), "cyan", A.SassColor$rgb(0, 255, 255, _null), "crimson", A.SassColor$rgb(220, 20, 60, _null), "cornsilk", A.SassColor$rgb(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb(100, 149, 237, _null), "coral", A.SassColor$rgb(255, 127, 80, _null), "chocolate", A.SassColor$rgb(210, 105, 30, _null), "chartreuse", A.SassColor$rgb(127, 255, 0, _null), "cadetblue", A.SassColor$rgb(95, 158, 160, _null), "burlywood", A.SassColor$rgb(222, 184, 135, _null), "brown", A.SassColor$rgb(165, 42, 42, _null), "blueviolet", A.SassColor$rgb(138, 43, 226, _null), "blue", A.SassColor$rgb(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb(255, 235, 205, _null), "black", A.SassColor$rgb(0, 0, 0, _null), "bisque", A.SassColor$rgb(255, 228, 196, _null), "beige", A.SassColor$rgb(245, 245, 220, _null), "azure", A.SassColor$rgb(240, 255, 255, _null), "aquamarine", A.SassColor$rgb(127, 255, 212, _null), "aqua", A.SassColor$rgb(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb(250, 235, 215, _null), "aliceblue", A.SassColor$rgb(240, 248, 255, _null)], type$.String, type$.SassColor);
99059 });
99060 _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
99061 var t2, t3,
99062 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
99063 for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99064 t3 = t2.get$current(t2);
99065 t1.$indexSet(0, t3.value, t3.key);
99066 }
99067 return t1;
99068 });
99069 _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
99070 _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
99071 _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
99072 var t1 = type$.BuiltInCallable,
99073 t2 = A.List_List$of($.$get$global0(), true, t1);
99074 B.JSArray_methods.addAll$1(t2, $.$get$global1());
99075 B.JSArray_methods.addAll$1(t2, $.$get$global2());
99076 B.JSArray_methods.addAll$1(t2, $.$get$global3());
99077 B.JSArray_methods.addAll$1(t2, $.$get$global4());
99078 B.JSArray_methods.addAll$1(t2, $.$get$global5());
99079 B.JSArray_methods.addAll$1(t2, $.$get$global());
99080 t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
99081 return A.UnmodifiableListView$(t2, t1);
99082 });
99083 _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));
99084 _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
99085 _lazyFinal($, "global", "$get$global0", () => {
99086 var _s27_ = "$red, $green, $blue, $alpha",
99087 _s19_ = "$red, $green, $blue",
99088 _s37_ = "$hue, $saturation, $lightness, $alpha",
99089 _s29_ = "$hue, $saturation, $lightness",
99090 _s17_ = "$hue, $saturation",
99091 _s15_ = "$color, $amount",
99092 t1 = type$.String,
99093 t2 = type$.Value_Function_List_Value;
99094 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure(), _s19_, new A.global_closure0(), "$color, $alpha", new A.global_closure1(), "$channels", new A.global_closure2()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure7()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure8(), _s29_, new A.global_closure9(), _s17_, new A.global_closure10(), "$channels", new A.global_closure11()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure12(), _s29_, new A.global_closure13(), _s17_, new A.global_closure14(), "$channels", new A.global_closure15()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure16()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure17()), A._function4("lighten", _s15_, new A.global_closure18()), A._function4("darken", _s15_, new A.global_closure19()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure20(), "$color, $amount", new A.global_closure21()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure22()), A._function4("opacify", _s15_, A.color0___opacify$closure()), A._function4("fade-in", _s15_, A.color0___opacify$closure()), A._function4("transparentize", _s15_, A.color0___transparentize$closure()), A._function4("fade-out", _s15_, A.color0___transparentize$closure()), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure23(), "$args...", new A.global_closure24()], t1, t2)), A._function4("opacity", "$color", new A.global_closure25()), $.$get$_ieHexStr(), $.$get$_adjust().withName$1("adjust-color"), $.$get$_scale().withName$1("scale-color"), $.$get$_change().withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
99095 });
99096 _lazyFinal($, "module", "$get$module", () => {
99097 var _s9_ = "lightness",
99098 _s10_ = "saturation",
99099 _s6_ = "$color", _s5_ = "alpha",
99100 t1 = type$.String,
99101 t2 = type$.Value_Function_List_Value;
99102 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);
99103 });
99104 _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
99105 _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
99106 _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
99107 _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
99108 _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
99109 _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
99110 _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
99111 _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
99112 _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
99113 _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
99114 _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
99115 _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
99116 _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));
99117 _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));
99118 _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
99119 _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
99120 _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
99121 _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
99122 _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
99123 _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
99124 _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
99125 _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
99126 _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
99127 _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
99128 _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));
99129 _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));
99130 _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
99131 _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)));
99132 _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)));
99133 _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
99134 _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
99135 _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)));
99136 _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
99137 _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
99138 _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
99139 _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));
99140 _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));
99141 _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
99142 _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
99143 _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
99144 _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
99145 _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
99146 _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", A.number0__fuzzyRound$closure()));
99147 _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
99148 _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
99149 _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
99150 _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
99151 _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
99152 _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
99153 _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
99154 _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
99155 _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
99156 _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
99157 _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
99158 _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
99159 _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
99160 _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
99161 _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
99162 _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
99163 _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
99164 _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
99165 _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
99166 _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));
99167 _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));
99168 _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));
99169 _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));
99170 _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
99171 _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
99172 _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
99173 _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
99174 _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
99175 _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
99176 _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
99177 _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
99178 _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
99179 _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
99180 _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));
99181 _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));
99182 _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
99183 _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
99184 _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
99185 _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
99186 _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
99187 _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
99188 _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
99189 _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
99190 _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
99191 _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
99192 _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
99193 _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
99194 var t1 = $.$get$globalFunctions();
99195 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
99196 t1.add$1(0, "if");
99197 t1.remove$1(0, "rgb");
99198 t1.remove$1(0, "rgba");
99199 t1.remove$1(0, "hsl");
99200 t1.remove$1(0, "hsla");
99201 t1.remove$1(0, "grayscale");
99202 t1.remove$1(0, "invert");
99203 t1.remove$1(0, "alpha");
99204 t1.remove$1(0, "opacity");
99205 t1.remove$1(0, "saturate");
99206 return t1;
99207 });
99208 _lazyFinal($, "epsilon", "$get$epsilon", () => A.pow(10, -11));
99209 _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => 1 / $.$get$epsilon());
99210 _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
99211 _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
99212 _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
99213 var t2, t3, t4,
99214 t1 = type$.String;
99215 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99216 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99217 t3 = t2.get$current(t2);
99218 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
99219 t1.$indexSet(0, t4.get$current(t4), t3);
99220 }
99221 return t1;
99222 });
99223 _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
99224 var _i, set, t2,
99225 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
99226 for (_i = 0; _i < 5; ++_i) {
99227 set = B.List_AqW[_i];
99228 for (t2 = set.get$iterator(set); t2.moveNext$0();)
99229 t1.$indexSet(0, t2.get$current(t2), set);
99230 }
99231 return t1;
99232 });
99233 _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
99234 _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
99235 _lazyFinal($, "MAX_INT32", "$get$MAX_INT32", () => A._asInt(A.pow(2, 31)) - 1);
99236 _lazyFinal($, "MIN_INT32", "$get$MIN_INT32", () => -A._asInt(A.pow(2, 31)));
99237 _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
99238 _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
99239 _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
99240 _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
99241 _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
99242 _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
99243 _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
99244 _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
99245 _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
99246 _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
99247 _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
99248 _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
99249 _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
99250 _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
99251 _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
99252 _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
99253 _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
99254 _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
99255 _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
99256 _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
99257 _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
99258 _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
99259 _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
99260 _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
99261 _lazyFinal($, "global6", "$get$global7", () => {
99262 var _s27_ = "$red, $green, $blue, $alpha",
99263 _s19_ = "$red, $green, $blue",
99264 _s37_ = "$hue, $saturation, $lightness, $alpha",
99265 _s29_ = "$hue, $saturation, $lightness",
99266 _s17_ = "$hue, $saturation",
99267 _s15_ = "$color, $amount",
99268 t1 = type$.String,
99269 t2 = type$.Value_Function_List_Value_2;
99270 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure30(), _s19_, new A.global_closure31(), "$color, $alpha", new A.global_closure32(), "$channels", new A.global_closure33()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure34(), _s19_, new A.global_closure35(), "$color, $alpha", new A.global_closure36(), "$channels", new A.global_closure37()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure38()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure39(), _s29_, new A.global_closure40(), _s17_, new A.global_closure41(), "$channels", new A.global_closure42()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure43(), _s29_, new A.global_closure44(), _s17_, new A.global_closure45(), "$channels", new A.global_closure46()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure47()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure48()), A._function11("lighten", _s15_, new A.global_closure49()), A._function11("darken", _s15_, new A.global_closure50()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure51(), "$color, $amount", new A.global_closure52()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure53()), A._function11("opacify", _s15_, A.color2___opacify$closure()), A._function11("fade-in", _s15_, A.color2___opacify$closure()), A._function11("transparentize", _s15_, A.color2___transparentize$closure()), A._function11("fade-out", _s15_, A.color2___transparentize$closure()), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure54(), "$args...", new A.global_closure55()], t1, t2)), A._function11("opacity", "$color", new A.global_closure56()), $.$get$_ieHexStr0(), $.$get$_adjust0().withName$1("adjust-color"), $.$get$_scale0().withName$1("scale-color"), $.$get$_change0().withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
99271 });
99272 _lazyFinal($, "module5", "$get$module5", () => {
99273 var _s9_ = "lightness",
99274 _s10_ = "saturation",
99275 _s6_ = "$color", _s5_ = "alpha",
99276 t1 = type$.String,
99277 t2 = type$.Value_Function_List_Value_2;
99278 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);
99279 });
99280 _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
99281 _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
99282 _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
99283 _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
99284 _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
99285 _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
99286 _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
99287 _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
99288 _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
99289 _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
99290 _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
99291 _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
99292 _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
99293 var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
99294 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));
99295 return t1;
99296 });
99297 _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
99298 _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
99299 var _null = null;
99300 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, _null), "yellow", A.SassColor$rgb0(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb0(245, 245, 245, _null), "white", A.SassColor$rgb0(255, 255, 255, _null), "wheat", A.SassColor$rgb0(245, 222, 179, _null), "violet", A.SassColor$rgb0(238, 130, 238, _null), "turquoise", A.SassColor$rgb0(64, 224, 208, _null), "transparent", A.SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor$rgb0(255, 99, 71, _null), "thistle", A.SassColor$rgb0(216, 191, 216, _null), "teal", A.SassColor$rgb0(0, 128, 128, _null), "tan", A.SassColor$rgb0(210, 180, 140, _null), "steelblue", A.SassColor$rgb0(70, 130, 180, _null), "springgreen", A.SassColor$rgb0(0, 255, 127, _null), "snow", A.SassColor$rgb0(255, 250, 250, _null), "slategrey", A.SassColor$rgb0(112, 128, 144, _null), "slategray", A.SassColor$rgb0(112, 128, 144, _null), "slateblue", A.SassColor$rgb0(106, 90, 205, _null), "skyblue", A.SassColor$rgb0(135, 206, 235, _null), "silver", A.SassColor$rgb0(192, 192, 192, _null), "sienna", A.SassColor$rgb0(160, 82, 45, _null), "seashell", A.SassColor$rgb0(255, 245, 238, _null), "seagreen", A.SassColor$rgb0(46, 139, 87, _null), "sandybrown", A.SassColor$rgb0(244, 164, 96, _null), "salmon", A.SassColor$rgb0(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb0(139, 69, 19, _null), "royalblue", A.SassColor$rgb0(65, 105, 225, _null), "rosybrown", A.SassColor$rgb0(188, 143, 143, _null), "red", A.SassColor$rgb0(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, _null), "purple", A.SassColor$rgb0(128, 0, 128, _null), "powderblue", A.SassColor$rgb0(176, 224, 230, _null), "plum", A.SassColor$rgb0(221, 160, 221, _null), "pink", A.SassColor$rgb0(255, 192, 203, _null), "peru", A.SassColor$rgb0(205, 133, 63, _null), "peachpuff", A.SassColor$rgb0(255, 218, 185, _null), "papayawhip", A.SassColor$rgb0(255, 239, 213, _null), "palevioletred", A.SassColor$rgb0(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb0(175, 238, 238, _null), "palegreen", A.SassColor$rgb0(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, _null), "orchid", A.SassColor$rgb0(218, 112, 214, _null), "orangered", A.SassColor$rgb0(255, 69, 0, _null), "orange", A.SassColor$rgb0(255, 165, 0, _null), "olivedrab", A.SassColor$rgb0(107, 142, 35, _null), "olive", A.SassColor$rgb0(128, 128, 0, _null), "oldlace", A.SassColor$rgb0(253, 245, 230, _null), "navy", A.SassColor$rgb0(0, 0, 128, _null), "navajowhite", A.SassColor$rgb0(255, 222, 173, _null), "moccasin", A.SassColor$rgb0(255, 228, 181, _null), "mistyrose", A.SassColor$rgb0(255, 228, 225, _null), "mintcream", A.SassColor$rgb0(245, 255, 250, _null), "midnightblue", A.SassColor$rgb0(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb0(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb0(186, 85, 211, _null), "mediumblue", A.SassColor$rgb0(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, _null), "maroon", A.SassColor$rgb0(128, 0, 0, _null), "magenta", A.SassColor$rgb0(255, 0, 255, _null), "linen", A.SassColor$rgb0(250, 240, 230, _null), "limegreen", A.SassColor$rgb0(50, 205, 50, _null), "lime", A.SassColor$rgb0(0, 255, 0, _null), "lightyellow", A.SassColor$rgb0(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb0(119, 136, 153, _null), "lightslategray", A.SassColor$rgb0(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb0(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb0(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb0(255, 160, 122, _null), "lightpink", A.SassColor$rgb0(255, 182, 193, _null), "lightgrey", A.SassColor$rgb0(211, 211, 211, _null), "lightgreen", A.SassColor$rgb0(144, 238, 144, _null), "lightgray", A.SassColor$rgb0(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, _null), "lightcyan", A.SassColor$rgb0(224, 255, 255, _null), "lightcoral", A.SassColor$rgb0(240, 128, 128, _null), "lightblue", A.SassColor$rgb0(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, _null), "lawngreen", A.SassColor$rgb0(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb0(255, 240, 245, _null), "lavender", A.SassColor$rgb0(230, 230, 250, _null), "khaki", A.SassColor$rgb0(240, 230, 140, _null), "ivory", A.SassColor$rgb0(255, 255, 240, _null), "indigo", A.SassColor$rgb0(75, 0, 130, _null), "indianred", A.SassColor$rgb0(205, 92, 92, _null), "hotpink", A.SassColor$rgb0(255, 105, 180, _null), "honeydew", A.SassColor$rgb0(240, 255, 240, _null), "grey", A.SassColor$rgb0(128, 128, 128, _null), "greenyellow", A.SassColor$rgb0(173, 255, 47, _null), "green", A.SassColor$rgb0(0, 128, 0, _null), "gray", A.SassColor$rgb0(128, 128, 128, _null), "goldenrod", A.SassColor$rgb0(218, 165, 32, _null), "gold", A.SassColor$rgb0(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb0(248, 248, 255, _null), "gainsboro", A.SassColor$rgb0(220, 220, 220, _null), "fuchsia", A.SassColor$rgb0(255, 0, 255, _null), "forestgreen", A.SassColor$rgb0(34, 139, 34, _null), "floralwhite", A.SassColor$rgb0(255, 250, 240, _null), "firebrick", A.SassColor$rgb0(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb0(30, 144, 255, _null), "dimgrey", A.SassColor$rgb0(105, 105, 105, _null), "dimgray", A.SassColor$rgb0(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb0(0, 191, 255, _null), "deeppink", A.SassColor$rgb0(255, 20, 147, _null), "darkviolet", A.SassColor$rgb0(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb0(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb0(47, 79, 79, _null), "darkslategray", A.SassColor$rgb0(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb0(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb0(143, 188, 143, _null), "darksalmon", A.SassColor$rgb0(233, 150, 122, _null), "darkred", A.SassColor$rgb0(139, 0, 0, _null), "darkorchid", A.SassColor$rgb0(153, 50, 204, _null), "darkorange", A.SassColor$rgb0(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb0(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb0(189, 183, 107, _null), "darkgrey", A.SassColor$rgb0(169, 169, 169, _null), "darkgreen", A.SassColor$rgb0(0, 100, 0, _null), "darkgray", A.SassColor$rgb0(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, _null), "darkcyan", A.SassColor$rgb0(0, 139, 139, _null), "darkblue", A.SassColor$rgb0(0, 0, 139, _null), "cyan", A.SassColor$rgb0(0, 255, 255, _null), "crimson", A.SassColor$rgb0(220, 20, 60, _null), "cornsilk", A.SassColor$rgb0(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, _null), "coral", A.SassColor$rgb0(255, 127, 80, _null), "chocolate", A.SassColor$rgb0(210, 105, 30, _null), "chartreuse", A.SassColor$rgb0(127, 255, 0, _null), "cadetblue", A.SassColor$rgb0(95, 158, 160, _null), "burlywood", A.SassColor$rgb0(222, 184, 135, _null), "brown", A.SassColor$rgb0(165, 42, 42, _null), "blueviolet", A.SassColor$rgb0(138, 43, 226, _null), "blue", A.SassColor$rgb0(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, _null), "black", A.SassColor$rgb0(0, 0, 0, _null), "bisque", A.SassColor$rgb0(255, 228, 196, _null), "beige", A.SassColor$rgb0(245, 245, 220, _null), "azure", A.SassColor$rgb0(240, 255, 255, _null), "aquamarine", A.SassColor$rgb0(127, 255, 212, _null), "aqua", A.SassColor$rgb0(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb0(250, 235, 215, _null), "aliceblue", A.SassColor$rgb0(240, 248, 255, _null)], type$.String, type$.SassColor_2);
99301 });
99302 _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
99303 var t2, t3,
99304 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
99305 for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99306 t3 = t2.get$current(t2);
99307 t1.$indexSet(0, t3.value, t3.key);
99308 }
99309 return t1;
99310 });
99311 _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
99312 var t1 = $.$get$globalFunctions0();
99313 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
99314 t1.add$1(0, "if");
99315 t1.remove$1(0, "rgb");
99316 t1.remove$1(0, "rgba");
99317 t1.remove$1(0, "hsl");
99318 t1.remove$1(0, "hsla");
99319 t1.remove$1(0, "grayscale");
99320 t1.remove$1(0, "invert");
99321 t1.remove$1(0, "alpha");
99322 t1.remove$1(0, "opacity");
99323 t1.remove$1(0, "saturate");
99324 return t1;
99325 });
99326 _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
99327 _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
99328 _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
99329 _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
99330 var t1 = type$.BuiltInCallable_2,
99331 t2 = A.List_List$of($.$get$global7(), true, t1);
99332 B.JSArray_methods.addAll$1(t2, $.$get$global8());
99333 B.JSArray_methods.addAll$1(t2, $.$get$global9());
99334 B.JSArray_methods.addAll$1(t2, $.$get$global10());
99335 B.JSArray_methods.addAll$1(t2, $.$get$global11());
99336 B.JSArray_methods.addAll$1(t2, $.$get$global12());
99337 B.JSArray_methods.addAll$1(t2, $.$get$global6());
99338 t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
99339 return A.UnmodifiableListView$(t2, t1);
99340 });
99341 _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));
99342 _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
99343 _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));
99344 _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));
99345 _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
99346 _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
99347 _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
99348 _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
99349 _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
99350 _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
99351 _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
99352 _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
99353 _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
99354 _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
99355 _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
99356 var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
99357 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));
99358 return t1;
99359 });
99360 _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
99361 _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
99362 _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));
99363 _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));
99364 _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
99365 _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)));
99366 _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)));
99367 _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
99368 _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
99369 _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)));
99370 _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
99371 _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
99372 _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
99373 _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
99374 var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
99375 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));
99376 return t1;
99377 });
99378 _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
99379 _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));
99380 _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));
99381 _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
99382 _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
99383 _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
99384 _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
99385 _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
99386 _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", A.number2__fuzzyRound$closure()));
99387 _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
99388 _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
99389 _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
99390 _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
99391 _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
99392 _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
99393 _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
99394 _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
99395 _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
99396 _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
99397 _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
99398 _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
99399 _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
99400 _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
99401 _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
99402 _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
99403 _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
99404 _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
99405 _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
99406 _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));
99407 _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));
99408 _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
99409 _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
99410 _lazyFinal($, "epsilon0", "$get$epsilon0", () => A.pow(10, -11));
99411 _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => 1 / $.$get$epsilon0());
99412 _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
99413 var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
99414 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));
99415 return t1;
99416 });
99417 _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
99418 _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
99419 var t2, t3, t4,
99420 t1 = type$.String;
99421 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99422 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99423 t3 = t2.get$current(t2);
99424 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
99425 t1.$indexSet(0, t4.get$current(t4), t3);
99426 }
99427 return t1;
99428 });
99429 _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));
99430 _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));
99431 _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
99432 _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
99433 _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
99434 _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
99435 _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
99436 _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
99437 _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
99438 _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
99439 _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
99440 var _i, set, t2,
99441 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
99442 for (_i = 0; _i < 5; ++_i) {
99443 set = B.List_AqW[_i];
99444 for (t2 = set.get$iterator(set); t2.moveNext$0();)
99445 t1.$indexSet(0, t2.get$current(t2), set);
99446 }
99447 return t1;
99448 });
99449 _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
99450 _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
99451 _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));
99452 _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));
99453 _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
99454 _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
99455 _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
99456 _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
99457 _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
99458 _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
99459 _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
99460 _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
99461 _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
99462 _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
99463 var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
99464 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
99465 return t1;
99466 });
99467 _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
99468 _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
99469 _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
99470 _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
99471 _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
99472 _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
99473 _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
99474 _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
99475 })();
99476 (function nativeSupport() {
99477 !function() {
99478 var intern = function(s) {
99479 var o = {};
99480 o[s] = 1;
99481 return Object.keys(hunkHelpers.convertToFastObject(o))[0];
99482 };
99483 init.getIsolateTag = function(name) {
99484 return intern("___dart_" + name + init.isolateTag);
99485 };
99486 var tableProperty = "___dart_isolate_tags_";
99487 var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
99488 var rootProperty = "_ZxYxX";
99489 for (var i = 0;; i++) {
99490 var property = intern(rootProperty + "_" + i + "_");
99491 if (!(property in usedProperties)) {
99492 usedProperties[property] = 1;
99493 init.isolateTag = property;
99494 break;
99495 }
99496 }
99497 init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
99498 }();
99499 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});
99500 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});
99501 A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
99502 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99503 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99504 A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
99505 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99506 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99507 A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
99508 })();
99509 Function.prototype.call$0 = function() {
99510 return this();
99511 };
99512 Function.prototype.call$1 = function(a) {
99513 return this(a);
99514 };
99515 Function.prototype.call$2 = function(a, b) {
99516 return this(a, b);
99517 };
99518 Function.prototype.call$3$1 = function(a) {
99519 return this(a);
99520 };
99521 Function.prototype.call$2$1 = function(a) {
99522 return this(a);
99523 };
99524 Function.prototype.call$1$1 = function(a) {
99525 return this(a);
99526 };
99527 Function.prototype.call$3 = function(a, b, c) {
99528 return this(a, b, c);
99529 };
99530 Function.prototype.call$4 = function(a, b, c, d) {
99531 return this(a, b, c, d);
99532 };
99533 Function.prototype.call$3$3 = function(a, b, c) {
99534 return this(a, b, c);
99535 };
99536 Function.prototype.call$2$2 = function(a, b) {
99537 return this(a, b);
99538 };
99539 Function.prototype.call$6 = function(a, b, c, d, e, f) {
99540 return this(a, b, c, d, e, f);
99541 };
99542 Function.prototype.call$5 = function(a, b, c, d, e) {
99543 return this(a, b, c, d, e);
99544 };
99545 Function.prototype.call$1$0 = function() {
99546 return this();
99547 };
99548 Function.prototype.call$2$0 = function() {
99549 return this();
99550 };
99551 Function.prototype.call$2$3 = function(a, b, c) {
99552 return this(a, b, c);
99553 };
99554 Function.prototype.call$1$2 = function(a, b) {
99555 return this(a, b);
99556 };
99557 convertAllToFastObject(holders);
99558 convertToFastObject($);
99559 (function(callback) {
99560 if (typeof document === "undefined") {
99561 callback(null);
99562 return;
99563 }
99564 if (typeof document.currentScript != "undefined") {
99565 callback(document.currentScript);
99566 return;
99567 }
99568 var scripts = document.scripts;
99569 function onLoad(event) {
99570 for (var i = 0; i < scripts.length; ++i)
99571 scripts[i].removeEventListener("load", onLoad, false);
99572 callback(event.target);
99573 }
99574 for (var i = 0; i < scripts.length; ++i)
99575 scripts[i].addEventListener("load", onLoad, false);
99576 })(function(currentScript) {
99577 init.currentScript = currentScript;
99578 var callMain = A.main1;
99579 if (typeof dartMainRunner === "function")
99580 dartMainRunner(callMain, []);
99581 else
99582 callMain([]);
99583 });
99584})();
99585}