UNPKG

4.28 MBJavaScriptView Raw
1exports.load = function(_cli_pkg_requires) {
2// make sure to keep this as 'var'
3// we don't want block scoping
4
5var dartNodePreambleSelf = typeof global !== "undefined" ? global : window;
6
7var self = Object.create(dartNodePreambleSelf);
8
9self.scheduleImmediate = typeof setImmediate !== "undefined"
10 ? function (cb) {
11 setImmediate(cb);
12 }
13 : function(cb) {
14 setTimeout(cb, 0);
15 };
16
17// CommonJS globals.
18self.exports = exports;
19
20// Node.js specific exports, check to see if they exist & or polyfilled
21
22if (typeof process !== "undefined") {
23 self.process = process;
24}
25
26if (typeof __dirname !== "undefined") {
27 self.__dirname = __dirname;
28}
29
30if (typeof __filename !== "undefined") {
31 self.__filename = __filename;
32}
33
34if (typeof Buffer !== "undefined") {
35 self.Buffer = Buffer;
36}
37
38// if we're running in a browser, Dart supports most of this out of box
39// make sure we only run these in Node.js environment
40
41var dartNodeIsActuallyNode = !dartNodePreambleSelf.window
42
43try {
44 // Check if we're in a Web Worker instead.
45 if ("undefined" !== typeof WorkerGlobalScope && dartNodePreambleSelf instanceof WorkerGlobalScope) {
46 dartNodeIsActuallyNode = false;
47 }
48
49 // Check if we're in Electron, with Node.js integration, and override if true.
50 if ("undefined" !== typeof process && process.versions && process.versions.hasOwnProperty('electron') && process.versions.hasOwnProperty('node')) {
51 dartNodeIsActuallyNode = true;
52 }
53} catch(e) {}
54
55if (dartNodeIsActuallyNode) {
56 // This line is to:
57 // 1) Prevent Webpack from bundling.
58 // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
59 // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
60 var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
61
62 // Setting `self.location=` in Electron throws a `TypeError`, so we define it
63 // as a property instead to be safe.
64 Object.defineProperty(self, "location", {
65 value: {
66 get href() {
67 if (url.pathToFileURL) {
68 return url.pathToFileURL(process.cwd()).href + "/";
69 } else {
70 // This isn't really a correct transformation, but it's the best we have
71 // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
72 // For example, it will fail for paths that contain characters that need
73 // to be escaped in URLs.
74 return "file://" + (function() {
75 var cwd = process.cwd();
76 if (process.platform != "win32") return cwd;
77 return "/" + cwd.replace(/\\/g, "/");
78 })() + "/"
79 }
80 }
81 }
82 });
83
84 (function() {
85 function computeCurrentScript() {
86 try {
87 throw new Error();
88 } catch(e) {
89 var stack = e.stack;
90 var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
91 var lastMatch = null;
92 do {
93 var match = re.exec(stack);
94 if (match != null) lastMatch = match;
95 } while (match != null);
96 return lastMatch[1];
97 }
98 }
99
100 // Setting `self.document=` isn't known to throw an error anywhere like
101 // `self.location=` does on Electron, but it's better to be future-proof
102 // just in case..
103 var cachedCurrentScript = null;
104 Object.defineProperty(self, "document", {
105 value: {
106 get currentScript() {
107 if (cachedCurrentScript == null) {
108 cachedCurrentScript = {src: computeCurrentScript()};
109 }
110 return cachedCurrentScript;
111 }
112 }
113 });
114 })();
115
116 self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
117 try {
118 load(uri);
119 successCallback();
120 } catch (error) {
121 errorCallback(error);
122 }
123 };
124}
125
126self.util = require("util");
127self.immutable = require("immutable");
128self.fs = require("fs");
129self.chokidar = _cli_pkg_requires.chokidar;
130self.readline = _cli_pkg_requires.readline;
131// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp), the Dart to JavaScript compiler version: 2.17.3.
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) {
14315 this.$this = t0;
14316 this.child = t1;
14317 },
14318 _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
14319 this.$this = t0;
14320 this.child = t1;
14321 },
14322 OutputStyle: function OutputStyle(t0) {
14323 this._name = t0;
14324 },
14325 LineFeed: function LineFeed() {
14326 },
14327 SerializeResult: function SerializeResult(t0, t1) {
14328 this.css = t0;
14329 this.sourceMap = t1;
14330 },
14331 _IterableExtension__search(_this, callback) {
14332 var t1, value;
14333 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
14334 value = callback.call$1(t1.get$current(t1));
14335 if (value != null)
14336 return value;
14337 }
14338 return null;
14339 },
14340 StatementSearchVisitor: function StatementSearchVisitor() {
14341 },
14342 StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
14343 this.$this = t0;
14344 },
14345 StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
14346 this.$this = t0;
14347 },
14348 StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
14349 this.$this = t0;
14350 },
14351 StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
14352 this.$this = t0;
14353 },
14354 StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
14355 this.$this = t0;
14356 },
14357 Entry: function Entry(t0, t1, t2) {
14358 this.source = t0;
14359 this.target = t1;
14360 this.identifierName = t2;
14361 },
14362 SingleMapping_SingleMapping$fromEntries(entries) {
14363 var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
14364 sourceEntries = J.toList$0$ax(entries);
14365 B.JSArray_methods.sort$0(sourceEntries);
14366 lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
14367 t1 = type$.String;
14368 t2 = type$.int;
14369 urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14370 names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14371 files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
14372 targetEntries = A._Cell$();
14373 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) {
14374 sourceEntry = sourceEntries[_i];
14375 if (lineNum == null || sourceEntry.target.line > lineNum) {
14376 lineNum = sourceEntry.target.line;
14377 t5 = A._setArrayType([], t3);
14378 targetEntries._value = t5;
14379 lines.push(new A.TargetLineEntry(lineNum, t5));
14380 }
14381 t5 = sourceEntry.source;
14382 t6 = t5.file;
14383 sourceUrl = t6.url;
14384 t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
14385 urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
14386 files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
14387 t7 = targetEntries._value;
14388 if (t7 === targetEntries)
14389 A.throwExpression(A.LateError$localNI(t4));
14390 t5 = t5.offset;
14391 J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
14392 }
14393 t2 = urls.get$values(urls);
14394 t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
14395 t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
14396 t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
14397 t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
14398 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));
14399 },
14400 Mapping: function Mapping() {
14401 },
14402 SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
14403 var _ = this;
14404 _.urls = t0;
14405 _.names = t1;
14406 _.files = t2;
14407 _.lines = t3;
14408 _.targetUrl = t4;
14409 _.sourceRoot = null;
14410 _.extensions = t5;
14411 },
14412 SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
14413 this.urls = t0;
14414 },
14415 SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
14416 this.sourceEntry = t0;
14417 },
14418 SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
14419 this.files = t0;
14420 },
14421 SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
14422 },
14423 SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
14424 this.result = t0;
14425 },
14426 TargetLineEntry: function TargetLineEntry(t0, t1) {
14427 this.line = t0;
14428 this.entries = t1;
14429 },
14430 TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
14431 var _ = this;
14432 _.column = t0;
14433 _.sourceUrlId = t1;
14434 _.sourceLine = t2;
14435 _.sourceColumn = t3;
14436 _.sourceNameId = t4;
14437 },
14438 SourceFile$fromString(text, url) {
14439 var t1 = new A.CodeUnits(text),
14440 t2 = A._setArrayType([0], type$.JSArray_int),
14441 t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14442 t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
14443 t2.SourceFile$decoded$2$url(t1, url);
14444 return t2;
14445 },
14446 SourceFile$decoded(decodedChars, url) {
14447 var t1 = A._setArrayType([0], type$.JSArray_int),
14448 t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14449 t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
14450 t1.SourceFile$decoded$2$url(decodedChars, url);
14451 return t1;
14452 },
14453 FileLocation$_(file, offset) {
14454 if (offset < 0)
14455 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14456 else if (offset > file._decodedChars.length)
14457 A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
14458 return new A.FileLocation(file, offset);
14459 },
14460 _FileSpan$(file, _start, _end) {
14461 if (_end < _start)
14462 A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
14463 else if (_end > file._decodedChars.length)
14464 A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
14465 else if (_start < 0)
14466 A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
14467 return new A._FileSpan(file, _start, _end);
14468 },
14469 FileSpanExtension_subspan(_this, start, end) {
14470 var startOffset,
14471 t1 = _this._end,
14472 t2 = _this._file$_start,
14473 t3 = t1 - t2;
14474 A.RangeError_checkValidRange(start, end, t3);
14475 if (start === 0)
14476 t3 = end == null || end === t3;
14477 else
14478 t3 = false;
14479 if (t3)
14480 return _this;
14481 t3 = _this.file;
14482 startOffset = A.FileLocation$_(t3, t2).offset;
14483 t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
14484 return t3.span$2(0, startOffset + start, t1);
14485 },
14486 SourceFile: function SourceFile(t0, t1, t2) {
14487 var _ = this;
14488 _.url = t0;
14489 _._lineStarts = t1;
14490 _._decodedChars = t2;
14491 _._cachedLine = null;
14492 },
14493 FileLocation: function FileLocation(t0, t1) {
14494 this.file = t0;
14495 this.offset = t1;
14496 },
14497 _FileSpan: function _FileSpan(t0, t1, t2) {
14498 this.file = t0;
14499 this._file$_start = t1;
14500 this._end = t2;
14501 },
14502 Highlighter$(span, color) {
14503 var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
14504 t2 = new A.Highlighter_closure(color).call$0(),
14505 t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
14506 t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
14507 t5 = A._arrayInstanceType(t1);
14508 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(""));
14509 },
14510 Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
14511 var t2, t3, t4, t5, t6,
14512 t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
14513 for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
14514 t3 = t2.get$current(t2);
14515 t1.push(A._Highlight$(t3.key, t3.value, false));
14516 }
14517 t1 = A.Highlighter__collateLines(t1);
14518 if (color)
14519 t2 = "\x1b[31m";
14520 else
14521 t2 = null;
14522 if (color)
14523 t3 = "\x1b[34m";
14524 else
14525 t3 = null;
14526 t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
14527 t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
14528 t6 = A._arrayInstanceType(t1);
14529 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(""));
14530 },
14531 Highlighter__contiguous(lines) {
14532 var i, thisLine, nextLine;
14533 for (i = 0; i < lines.length - 1;) {
14534 thisLine = lines[i];
14535 ++i;
14536 nextLine = lines[i];
14537 if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
14538 return false;
14539 }
14540 return true;
14541 },
14542 Highlighter__collateLines(highlights) {
14543 var t1, t2, t3,
14544 highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
14545 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();) {
14546 t3 = t1.__internal$_current;
14547 if (t3 == null)
14548 t3 = t2._as(t3);
14549 J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
14550 }
14551 t1 = highlightsByUrl.get$entries(highlightsByUrl);
14552 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
14553 return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
14554 },
14555 _Highlight$(span, label, primary) {
14556 return new A._Highlight(new A._Highlight_closure(span).call$0(), primary, label);
14557 },
14558 _Highlight__normalizeNewlines(span) {
14559 var endOffset, t1, i, t2, t3, t4,
14560 text = span.get$text();
14561 if (!B.JSString_methods.contains$1(text, "\r\n"))
14562 return span;
14563 endOffset = span.get$end(span).get$offset();
14564 for (t1 = text.length - 1, i = 0; i < t1; ++i)
14565 if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
14566 --endOffset;
14567 t1 = span.get$start(span);
14568 t2 = span.get$sourceUrl(span);
14569 t3 = span.get$end(span).get$line();
14570 t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
14571 t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
14572 t4 = span.get$context(span);
14573 return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
14574 },
14575 _Highlight__normalizeTrailingNewline(span) {
14576 var context, text, start, end, t1, t2, t3;
14577 if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
14578 return span;
14579 if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
14580 return span;
14581 context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
14582 text = span.get$text();
14583 start = span.get$start(span);
14584 end = span.get$end(span);
14585 if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
14586 t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
14587 t1.toString;
14588 t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
14589 } else
14590 t1 = false;
14591 if (t1) {
14592 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14593 if (text.length === 0)
14594 end = start;
14595 else {
14596 t1 = span.get$end(span).get$offset();
14597 t2 = span.get$sourceUrl(span);
14598 t3 = span.get$end(span).get$line();
14599 end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
14600 start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
14601 }
14602 }
14603 return A.SourceSpanWithContext$(start, end, text, context);
14604 },
14605 _Highlight__normalizeEndOfLine(span) {
14606 var text, t1, t2, t3, t4;
14607 if (span.get$end(span).get$column() !== 0)
14608 return span;
14609 if (span.get$end(span).get$line() === span.get$start(span).get$line())
14610 return span;
14611 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14612 t1 = span.get$start(span);
14613 t2 = span.get$end(span).get$offset();
14614 t3 = span.get$sourceUrl(span);
14615 t4 = span.get$end(span).get$line();
14616 t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
14617 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));
14618 },
14619 _Highlight__lastLineLength(text) {
14620 var t1 = text.length;
14621 if (t1 === 0)
14622 return 0;
14623 else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
14624 return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
14625 else
14626 return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
14627 },
14628 Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
14629 var _ = this;
14630 _._lines = t0;
14631 _._primaryColor = t1;
14632 _._secondaryColor = t2;
14633 _._paddingBeforeSidebar = t3;
14634 _._maxMultilineSpans = t4;
14635 _._multipleFiles = t5;
14636 _._highlighter$_buffer = t6;
14637 },
14638 Highlighter_closure: function Highlighter_closure(t0) {
14639 this.color = t0;
14640 },
14641 Highlighter$__closure: function Highlighter$__closure() {
14642 },
14643 Highlighter$___closure: function Highlighter$___closure() {
14644 },
14645 Highlighter$__closure0: function Highlighter$__closure0() {
14646 },
14647 Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
14648 },
14649 Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
14650 },
14651 Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
14652 },
14653 Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
14654 this.line = t0;
14655 },
14656 Highlighter_highlight_closure: function Highlighter_highlight_closure() {
14657 },
14658 Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
14659 this.$this = t0;
14660 },
14661 Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
14662 this.$this = t0;
14663 this.startLine = t1;
14664 this.line = t2;
14665 },
14666 Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
14667 this.$this = t0;
14668 this.highlight = t1;
14669 },
14670 Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
14671 this.$this = t0;
14672 },
14673 Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
14674 var _ = this;
14675 _._box_0 = t0;
14676 _.$this = t1;
14677 _.current = t2;
14678 _.startLine = t3;
14679 _.line = t4;
14680 _.highlight = t5;
14681 _.endLine = t6;
14682 },
14683 Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
14684 this._box_0 = t0;
14685 this.$this = t1;
14686 },
14687 Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
14688 this.$this = t0;
14689 this.vertical = t1;
14690 },
14691 Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
14692 var _ = this;
14693 _.$this = t0;
14694 _.text = t1;
14695 _.startColumn = t2;
14696 _.endColumn = t3;
14697 },
14698 Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
14699 this.$this = t0;
14700 this.line = t1;
14701 this.highlight = t2;
14702 },
14703 Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
14704 this.$this = t0;
14705 this.line = t1;
14706 this.highlight = t2;
14707 },
14708 Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
14709 var _ = this;
14710 _.$this = t0;
14711 _.coversWholeLine = t1;
14712 _.line = t2;
14713 _.highlight = t3;
14714 },
14715 Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
14716 this._box_0 = t0;
14717 this.$this = t1;
14718 this.end = t2;
14719 },
14720 _Highlight: function _Highlight(t0, t1, t2) {
14721 this.span = t0;
14722 this.isPrimary = t1;
14723 this.label = t2;
14724 },
14725 _Highlight_closure: function _Highlight_closure(t0) {
14726 this.span = t0;
14727 },
14728 _Line: function _Line(t0, t1, t2, t3) {
14729 var _ = this;
14730 _.text = t0;
14731 _.number = t1;
14732 _.url = t2;
14733 _.highlights = t3;
14734 },
14735 SourceLocation$(offset, column, line, sourceUrl) {
14736 if (offset < 0)
14737 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14738 else if (line < 0)
14739 A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
14740 else if (column < 0)
14741 A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
14742 return new A.SourceLocation(sourceUrl, offset, line, column);
14743 },
14744 SourceLocation: function SourceLocation(t0, t1, t2, t3) {
14745 var _ = this;
14746 _.sourceUrl = t0;
14747 _.offset = t1;
14748 _.line = t2;
14749 _.column = t3;
14750 },
14751 SourceLocationMixin: function SourceLocationMixin() {
14752 },
14753 SourceSpanBase: function SourceSpanBase() {
14754 },
14755 SourceSpanException: function SourceSpanException() {
14756 },
14757 SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
14758 this.source = t0;
14759 this._span_exception$_message = t1;
14760 this._span = t2;
14761 },
14762 SourceSpanMixin: function SourceSpanMixin() {
14763 },
14764 SourceSpanWithContext$(start, end, text, _context) {
14765 var t1 = new A.SourceSpanWithContext(_context, start, end, text);
14766 t1.SourceSpanBase$3(start, end, text);
14767 if (!B.JSString_methods.contains$1(_context, text))
14768 A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
14769 if (A.findLineStart(_context, text, start.get$column()) == null)
14770 A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
14771 return t1;
14772 },
14773 SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
14774 var _ = this;
14775 _._context = t0;
14776 _.start = t1;
14777 _.end = t2;
14778 _.text = t3;
14779 },
14780 Chain_Chain$parse(chain) {
14781 var t1, t2,
14782 _s51_ = string$.x3d_____;
14783 if (chain.length === 0)
14784 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
14785 t1 = $.$get$vmChainGap();
14786 if (B.JSString_methods.contains$1(chain, t1)) {
14787 t1 = B.JSString_methods.split$1(chain, t1);
14788 t2 = A._arrayInstanceType(t1);
14789 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));
14790 }
14791 if (!B.JSString_methods.contains$1(chain, _s51_))
14792 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
14793 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));
14794 },
14795 Chain: function Chain(t0) {
14796 this.traces = t0;
14797 },
14798 Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
14799 },
14800 Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() {
14801 },
14802 Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() {
14803 },
14804 Chain_toTrace_closure: function Chain_toTrace_closure() {
14805 },
14806 Chain_toString_closure0: function Chain_toString_closure0() {
14807 },
14808 Chain_toString__closure0: function Chain_toString__closure0() {
14809 },
14810 Chain_toString_closure: function Chain_toString_closure(t0) {
14811 this.longest = t0;
14812 },
14813 Chain_toString__closure: function Chain_toString__closure(t0) {
14814 this.longest = t0;
14815 },
14816 Frame_Frame$parseVM(frame) {
14817 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
14818 },
14819 Frame_Frame$parseV8(frame) {
14820 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
14821 },
14822 Frame_Frame$_parseFirefoxEval(frame) {
14823 return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
14824 },
14825 Frame_Frame$parseFirefox(frame) {
14826 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
14827 },
14828 Frame_Frame$parseFriendly(frame) {
14829 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
14830 },
14831 Frame__uriOrPathToUri(uriOrPath) {
14832 if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
14833 return A.Uri_parse(uriOrPath);
14834 else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
14835 return A._Uri__Uri$file(uriOrPath, true);
14836 else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
14837 return A._Uri__Uri$file(uriOrPath, false);
14838 if (B.JSString_methods.contains$1(uriOrPath, "\\"))
14839 return $.$get$windows().toUri$1(uriOrPath);
14840 return A.Uri_parse(uriOrPath);
14841 },
14842 Frame__catchFormatException(text, body) {
14843 var t1, exception;
14844 try {
14845 t1 = body.call$0();
14846 return t1;
14847 } catch (exception) {
14848 if (type$.FormatException._is(A.unwrapException(exception)))
14849 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
14850 else
14851 throw exception;
14852 }
14853 },
14854 Frame: function Frame(t0, t1, t2, t3) {
14855 var _ = this;
14856 _.uri = t0;
14857 _.line = t1;
14858 _.column = t2;
14859 _.member = t3;
14860 },
14861 Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
14862 this.frame = t0;
14863 },
14864 Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
14865 this.frame = t0;
14866 },
14867 Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
14868 this.frame = t0;
14869 },
14870 Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
14871 this.frame = t0;
14872 },
14873 Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
14874 this.frame = t0;
14875 },
14876 Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
14877 this.frame = t0;
14878 },
14879 LazyTrace: function LazyTrace(t0) {
14880 this._thunk = t0;
14881 this.__LazyTrace__trace = $;
14882 },
14883 LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
14884 this.$this = t0;
14885 },
14886 Trace_Trace$from(trace) {
14887 if (type$.Trace._is(trace))
14888 return trace;
14889 if (trace instanceof A.Chain)
14890 return trace.toTrace$0();
14891 return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
14892 },
14893 Trace_Trace$parse(trace) {
14894 var error, t1, exception;
14895 try {
14896 if (trace.length === 0) {
14897 t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
14898 return t1;
14899 }
14900 if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
14901 t1 = A.Trace$parseV8(trace);
14902 return t1;
14903 }
14904 if (B.JSString_methods.contains$1(trace, "\tat ")) {
14905 t1 = A.Trace$parseJSCore(trace);
14906 return t1;
14907 }
14908 if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
14909 t1 = A.Trace$parseFirefox(trace);
14910 return t1;
14911 }
14912 if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
14913 t1 = A.Chain_Chain$parse(trace).toTrace$0();
14914 return t1;
14915 }
14916 if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
14917 t1 = A.Trace$parseFriendly(trace);
14918 return t1;
14919 }
14920 t1 = A.Trace$parseVM(trace);
14921 return t1;
14922 } catch (exception) {
14923 t1 = A.unwrapException(exception);
14924 if (type$.FormatException._is(t1)) {
14925 error = t1;
14926 throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
14927 } else
14928 throw exception;
14929 }
14930 },
14931 Trace$parseVM(trace) {
14932 var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
14933 return new A.Trace(t1, new A._StringStackTrace(trace));
14934 },
14935 Trace__parseVM(trace) {
14936 var $frames,
14937 t1 = B.JSString_methods.trim$0(trace),
14938 t2 = $.$get$vmChainGap(),
14939 t3 = type$.WhereIterable_String,
14940 lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
14941 if (!lines.get$iterator(lines).moveNext$0())
14942 return A._setArrayType([], type$.JSArray_Frame);
14943 t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
14944 t1 = A.MappedIterable_MappedIterable(t1, new A.Trace__parseVM_closure0(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
14945 $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
14946 if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
14947 B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
14948 return $frames;
14949 },
14950 Trace$parseV8(trace) {
14951 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()),
14952 t2 = type$.Frame;
14953 t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, new A.Trace$parseV8_closure0(), t1.$ti._eval$1("Iterable.E"), t2), t2);
14954 return new A.Trace(t2, new A._StringStackTrace(trace));
14955 },
14956 Trace$parseJSCore(trace) {
14957 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);
14958 return new A.Trace(t1, new A._StringStackTrace(trace));
14959 },
14960 Trace$parseFirefox(trace) {
14961 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);
14962 return new A.Trace(t1, new A._StringStackTrace(trace));
14963 },
14964 Trace$parseFriendly(trace) {
14965 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);
14966 t1 = A.List_List$unmodifiable(t1, type$.Frame);
14967 return new A.Trace(t1, new A._StringStackTrace(trace));
14968 },
14969 Trace$($frames, original) {
14970 var t1 = A.List_List$unmodifiable($frames, type$.Frame);
14971 return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
14972 },
14973 Trace: function Trace(t0, t1) {
14974 this.frames = t0;
14975 this.original = t1;
14976 },
14977 Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
14978 this.trace = t0;
14979 },
14980 Trace__parseVM_closure: function Trace__parseVM_closure() {
14981 },
14982 Trace__parseVM_closure0: function Trace__parseVM_closure0() {
14983 },
14984 Trace$parseV8_closure: function Trace$parseV8_closure() {
14985 },
14986 Trace$parseV8_closure0: function Trace$parseV8_closure0() {
14987 },
14988 Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
14989 },
14990 Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() {
14991 },
14992 Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
14993 },
14994 Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() {
14995 },
14996 Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
14997 },
14998 Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() {
14999 },
15000 Trace_terse_closure: function Trace_terse_closure() {
15001 },
15002 Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
15003 this.oldPredicate = t0;
15004 },
15005 Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
15006 this._box_0 = t0;
15007 },
15008 Trace_toString_closure0: function Trace_toString_closure0() {
15009 },
15010 Trace_toString_closure: function Trace_toString_closure(t0) {
15011 this.longest = t0;
15012 },
15013 UnparsedFrame: function UnparsedFrame(t0, t1) {
15014 this.uri = t0;
15015 this.member = t1;
15016 },
15017 TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
15018 var _null = null, t1 = {},
15019 controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
15020 t1.subscription = null;
15021 controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
15022 return controller.get$stream();
15023 },
15024 TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
15025 sink.addError$2(error, stackTrace);
15026 },
15027 TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
15028 var _ = this;
15029 _._box_1 = t0;
15030 _._this = t1;
15031 _.handleData = t2;
15032 _.controller = t3;
15033 _.handleError = t4;
15034 _.handleDone = t5;
15035 _.S = t6;
15036 },
15037 TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
15038 this.handleData = t0;
15039 this.controller = t1;
15040 this.S = t2;
15041 },
15042 TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
15043 this.handleError = t0;
15044 this.controller = t1;
15045 },
15046 TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
15047 this._box_0 = t0;
15048 this.handleDone = t1;
15049 this.controller = t2;
15050 },
15051 TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
15052 this._box_1 = t0;
15053 this._box_0 = t1;
15054 },
15055 RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
15056 var t1 = {};
15057 t1.soFar = t1.timer = null;
15058 t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
15059 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);
15060 },
15061 _collect($event, soFar, $T) {
15062 var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
15063 J.add$1$ax(t1, $event);
15064 return t1;
15065 },
15066 RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
15067 var _ = this;
15068 _._box_0 = t0;
15069 _.S = t1;
15070 _.collect = t2;
15071 _.leading = t3;
15072 _.duration = t4;
15073 _.trailing = t5;
15074 _.T = t6;
15075 },
15076 RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
15077 this._box_0 = t0;
15078 this.sink = t1;
15079 this.S = t2;
15080 },
15081 RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
15082 var _ = this;
15083 _._box_0 = t0;
15084 _.trailing = t1;
15085 _.emit = t2;
15086 _.sink = t3;
15087 },
15088 RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
15089 this._box_0 = t0;
15090 this.trailing = t1;
15091 this.S = t2;
15092 },
15093 StringScannerException$(message, span, source) {
15094 return new A.StringScannerException(source, message, span);
15095 },
15096 StringScannerException: function StringScannerException(t0, t1, t2) {
15097 this.source = t0;
15098 this._span_exception$_message = t1;
15099 this._span = t2;
15100 },
15101 LineScanner$(string) {
15102 return new A.LineScanner(null, string);
15103 },
15104 LineScanner: function LineScanner(t0, t1) {
15105 var _ = this;
15106 _._line_scanner$_column = _._line_scanner$_line = 0;
15107 _.sourceUrl = t0;
15108 _.string = t1;
15109 _._string_scanner$_position = 0;
15110 _._lastMatchPosition = _._lastMatch = null;
15111 },
15112 SpanScanner$(string, sourceUrl) {
15113 var t2,
15114 t1 = A.SourceFile$fromString(string, sourceUrl);
15115 if (sourceUrl == null)
15116 t2 = null;
15117 else
15118 t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15119 return new A.SpanScanner(t1, t2, string);
15120 },
15121 SpanScanner: function SpanScanner(t0, t1, t2) {
15122 var _ = this;
15123 _._sourceFile = t0;
15124 _.sourceUrl = t1;
15125 _.string = t2;
15126 _._string_scanner$_position = 0;
15127 _._lastMatchPosition = _._lastMatch = null;
15128 },
15129 _SpanScannerState: function _SpanScannerState(t0, t1) {
15130 this._scanner = t0;
15131 this.position = t1;
15132 },
15133 StringScanner$(string, position, sourceUrl) {
15134 var t1;
15135 if (sourceUrl == null)
15136 t1 = null;
15137 else
15138 t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15139 return new A.StringScanner(t1, string);
15140 },
15141 StringScanner: function StringScanner(t0, t1) {
15142 var _ = this;
15143 _.sourceUrl = t0;
15144 _.string = t1;
15145 _._string_scanner$_position = 0;
15146 _._lastMatchPosition = _._lastMatch = null;
15147 },
15148 AsciiGlyphSet: function AsciiGlyphSet() {
15149 },
15150 UnicodeGlyphSet: function UnicodeGlyphSet() {
15151 },
15152 Tuple2: function Tuple2(t0, t1, t2) {
15153 this.item1 = t0;
15154 this.item2 = t1;
15155 this.$ti = t2;
15156 },
15157 Tuple3: function Tuple3(t0, t1, t2, t3) {
15158 var _ = this;
15159 _.item1 = t0;
15160 _.item2 = t1;
15161 _.item3 = t2;
15162 _.$ti = t3;
15163 },
15164 Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
15165 var _ = this;
15166 _.item1 = t0;
15167 _.item2 = t1;
15168 _.item3 = t2;
15169 _.item4 = t3;
15170 _.$ti = t4;
15171 },
15172 WatchEvent: function WatchEvent(t0, t1) {
15173 this.type = t0;
15174 this.path = t1;
15175 },
15176 ChangeType: function ChangeType(t0) {
15177 this._watch_event$_name = t0;
15178 },
15179 SupportsAnything0: function SupportsAnything0(t0, t1) {
15180 this.contents = t0;
15181 this.span = t1;
15182 },
15183 Argument0: function Argument0(t0, t1, t2) {
15184 this.name = t0;
15185 this.defaultValue = t1;
15186 this.span = t2;
15187 },
15188 ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
15189 return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
15190 },
15191 ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
15192 this.$arguments = t0;
15193 this.restArgument = t1;
15194 this.span = t2;
15195 },
15196 ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
15197 },
15198 ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
15199 },
15200 ArgumentInvocation$empty0(span) {
15201 return new A.ArgumentInvocation0(B.List_empty17, B.Map_empty9, null, null, span);
15202 },
15203 ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
15204 var _ = this;
15205 _.positional = t0;
15206 _.named = t1;
15207 _.rest = t2;
15208 _.keywordRest = t3;
15209 _.span = t4;
15210 },
15211 argumentListClass_closure: function argumentListClass_closure() {
15212 },
15213 argumentListClass__closure: function argumentListClass__closure() {
15214 },
15215 argumentListClass__closure0: function argumentListClass__closure0() {
15216 },
15217 SassArgumentList$0(contents, keywords, separator) {
15218 var t1 = type$.Value_2;
15219 t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
15220 t1.SassList$3$brackets0(contents, separator, false);
15221 return t1;
15222 },
15223 SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
15224 var _ = this;
15225 _._argument_list$_keywords = t0;
15226 _._argument_list$_wereKeywordsAccessed = false;
15227 _._list1$_contents = t1;
15228 _._list1$_separator = t2;
15229 _._list1$_hasBrackets = t3;
15230 },
15231 JSArray1: function JSArray1() {
15232 },
15233 AsyncImporter0: function AsyncImporter0() {
15234 },
15235 NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
15236 this._async0$_canonicalize = t0;
15237 this._load = t1;
15238 },
15239 AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
15240 return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
15241 },
15242 AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
15243 this.name = t0;
15244 this._async_built_in0$_arguments = t1;
15245 this._async_built_in0$_callback = t2;
15246 },
15247 AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
15248 this.callback = t0;
15249 },
15250 compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
15251 var $async$goto = 0,
15252 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15253 $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
15254 var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15255 if ($async$errorCode === 1)
15256 return A._asyncRethrow($async$result, $async$completer);
15257 while (true)
15258 switch ($async$goto) {
15259 case 0:
15260 // Function start
15261 if (!verbose) {
15262 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15263 logger = terseLogger;
15264 } else
15265 terseLogger = null;
15266 t1 = nodeImporter == null;
15267 if (t1)
15268 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
15269 else
15270 t2 = false;
15271 $async$goto = t2 ? 3 : 5;
15272 break;
15273 case 3:
15274 // then
15275 if (importCache == null)
15276 importCache = A.AsyncImportCache$none(logger);
15277 t2 = $.$get$context();
15278 t3 = t2.absolute$7(".", null, null, null, null, null, null);
15279 $async$goto = 6;
15280 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);
15281 case 6:
15282 // returning from await.
15283 t3 = $async$result;
15284 t3.toString;
15285 stylesheet = t3;
15286 // goto join
15287 $async$goto = 4;
15288 break;
15289 case 5:
15290 // else
15291 t2 = A.readFile0(path);
15292 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
15293 t4 = $.$get$context();
15294 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
15295 t2 = t4;
15296 case 4:
15297 // join
15298 $async$goto = 7;
15299 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);
15300 case 7:
15301 // returning from await.
15302 result = $async$result;
15303 if (terseLogger != null)
15304 terseLogger.summarize$1$node(!t1);
15305 $async$returnValue = result;
15306 // goto return
15307 $async$goto = 1;
15308 break;
15309 case 1:
15310 // return
15311 return A._asyncReturn($async$returnValue, $async$completer);
15312 }
15313 });
15314 return A._asyncStartSync($async$compileAsync0, $async$completer);
15315 },
15316 compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
15317 var $async$goto = 0,
15318 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15319 $async$returnValue, terseLogger, stylesheet, result;
15320 var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15321 if ($async$errorCode === 1)
15322 return A._asyncRethrow($async$result, $async$completer);
15323 while (true)
15324 switch ($async$goto) {
15325 case 0:
15326 // Function start
15327 if (!verbose) {
15328 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15329 logger = terseLogger;
15330 } else
15331 terseLogger = null;
15332 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
15333 $async$goto = 3;
15334 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);
15335 case 3:
15336 // returning from await.
15337 result = $async$result;
15338 if (terseLogger != null)
15339 terseLogger.summarize$1$node(nodeImporter != null);
15340 $async$returnValue = result;
15341 // goto return
15342 $async$goto = 1;
15343 break;
15344 case 1:
15345 // return
15346 return A._asyncReturn($async$returnValue, $async$completer);
15347 }
15348 });
15349 return A._asyncStartSync($async$compileStringAsync0, $async$completer);
15350 },
15351 _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
15352 var $async$goto = 0,
15353 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15354 $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
15355 var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15356 if ($async$errorCode === 1)
15357 return A._asyncRethrow($async$result, $async$completer);
15358 while (true)
15359 switch ($async$goto) {
15360 case 0:
15361 // Function start
15362 $async$goto = 3;
15363 return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
15364 case 3:
15365 // returning from await.
15366 evaluateResult = $async$result;
15367 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
15368 resultSourceMap = serializeResult.sourceMap;
15369 if (resultSourceMap != null && importCache != null)
15370 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
15371 $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
15372 // goto return
15373 $async$goto = 1;
15374 break;
15375 case 1:
15376 // return
15377 return A._asyncReturn($async$returnValue, $async$completer);
15378 }
15379 });
15380 return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
15381 },
15382 _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
15383 this.stylesheet = t0;
15384 this.importCache = t1;
15385 },
15386 AsyncEnvironment$0() {
15387 var t1 = type$.String,
15388 t2 = type$.Module_AsyncCallable_2,
15389 t3 = type$.AstNode_2,
15390 t4 = type$.int,
15391 t5 = type$.AsyncCallable_2,
15392 t6 = type$.JSArray_Map_String_AsyncCallable_2;
15393 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);
15394 },
15395 AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
15396 var t1 = type$.String,
15397 t2 = type$.int;
15398 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);
15399 },
15400 _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
15401 var t1, t2, t3, t4, t5, t6;
15402 if (forwarded == null)
15403 forwarded = B.Set_empty3;
15404 t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
15405 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);
15406 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);
15407 t4 = type$.Map_String_AsyncCallable_2;
15408 t5 = type$.AsyncCallable_2;
15409 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);
15410 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);
15411 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
15412 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()));
15413 },
15414 _EnvironmentModule__makeModulesByVariable2(forwarded) {
15415 var modulesByVariable, t1, t2, t3, t4, t5;
15416 if (forwarded.get$isEmpty(forwarded))
15417 return B.Map_empty10;
15418 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
15419 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
15420 t2 = t1.get$current(t1);
15421 if (t2 instanceof A._EnvironmentModule2) {
15422 for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
15423 t4 = t3.get$current(t3);
15424 t5 = t4.get$variables();
15425 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
15426 }
15427 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
15428 } else {
15429 t3 = t2.get$variables();
15430 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
15431 }
15432 }
15433 return modulesByVariable;
15434 },
15435 _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
15436 var t1, t2, t3;
15437 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
15438 if (otherMaps.get$isEmpty(otherMaps))
15439 return localMap;
15440 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
15441 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
15442 t3 = t2.get$current(t2);
15443 if (t3.get$isNotEmpty(t3))
15444 t1.push(t3);
15445 }
15446 t1.push(localMap);
15447 if (t1.length === 1)
15448 return localMap;
15449 return A.MergedMapView$0(t1, type$.String, $V);
15450 },
15451 _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
15452 return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
15453 },
15454 AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15455 var _ = this;
15456 _._async_environment0$_modules = t0;
15457 _._async_environment0$_namespaceNodes = t1;
15458 _._async_environment0$_globalModules = t2;
15459 _._async_environment0$_importedModules = t3;
15460 _._async_environment0$_forwardedModules = t4;
15461 _._async_environment0$_nestedForwardedModules = t5;
15462 _._async_environment0$_allModules = t6;
15463 _._async_environment0$_variables = t7;
15464 _._async_environment0$_variableNodes = t8;
15465 _._async_environment0$_variableIndices = t9;
15466 _._async_environment0$_functions = t10;
15467 _._async_environment0$_functionIndices = t11;
15468 _._async_environment0$_mixins = t12;
15469 _._async_environment0$_mixinIndices = t13;
15470 _._async_environment0$_content = t14;
15471 _._async_environment0$_inMixin = false;
15472 _._async_environment0$_inSemiGlobalScope = true;
15473 _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
15474 },
15475 AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
15476 },
15477 AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
15478 },
15479 AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
15480 },
15481 AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
15482 this.name = t0;
15483 },
15484 AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
15485 this.$this = t0;
15486 this.name = t1;
15487 },
15488 AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
15489 this.name = t0;
15490 },
15491 AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
15492 this.$this = t0;
15493 this.name = t1;
15494 },
15495 AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
15496 this.name = t0;
15497 },
15498 AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
15499 this.name = t0;
15500 },
15501 AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
15502 },
15503 AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
15504 },
15505 AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
15506 this.callback = t0;
15507 this.T = t1;
15508 },
15509 AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
15510 this.entry = t0;
15511 this.T = t1;
15512 },
15513 _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
15514 var _ = this;
15515 _.upstream = t0;
15516 _.variables = t1;
15517 _.variableNodes = t2;
15518 _.functions = t3;
15519 _.mixins = t4;
15520 _.extensionStore = t5;
15521 _.css = t6;
15522 _.transitivelyContainsCss = t7;
15523 _.transitivelyContainsExtensions = t8;
15524 _._async_environment0$_environment = t9;
15525 _._async_environment0$_modulesByVariable = t10;
15526 },
15527 _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
15528 },
15529 _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
15530 },
15531 _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
15532 },
15533 _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
15534 },
15535 _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
15536 },
15537 _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
15538 },
15539 _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
15540 var t4,
15541 t1 = type$.Uri,
15542 t2 = type$.Module_AsyncCallable_2,
15543 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
15544 if (nodeImporter == null)
15545 t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
15546 else
15547 t4 = null;
15548 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);
15549 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
15550 return t1;
15551 },
15552 _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15553 var _ = this;
15554 _._async_evaluate0$_importCache = t0;
15555 _._async_evaluate0$_nodeImporter = t1;
15556 _._async_evaluate0$_builtInFunctions = t2;
15557 _._async_evaluate0$_builtInModules = t3;
15558 _._async_evaluate0$_modules = t4;
15559 _._async_evaluate0$_moduleNodes = t5;
15560 _._async_evaluate0$_logger = t6;
15561 _._async_evaluate0$_warningsEmitted = t7;
15562 _._async_evaluate0$_quietDeps = t8;
15563 _._async_evaluate0$_sourceMap = t9;
15564 _._async_evaluate0$_environment = t10;
15565 _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
15566 _._async_evaluate0$_member = "root stylesheet";
15567 _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
15568 _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
15569 _._async_evaluate0$_loadedUrls = t11;
15570 _._async_evaluate0$_activeModules = t12;
15571 _._async_evaluate0$_stack = t13;
15572 _._async_evaluate0$_importer = null;
15573 _._async_evaluate0$_inDependency = false;
15574 _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
15575 _._async_evaluate0$_configuration = t14;
15576 },
15577 _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
15578 this.$this = t0;
15579 },
15580 _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
15581 this.$this = t0;
15582 },
15583 _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
15584 this.$this = t0;
15585 },
15586 _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
15587 this.$this = t0;
15588 },
15589 _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
15590 this.$this = t0;
15591 },
15592 _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
15593 this.$this = t0;
15594 },
15595 _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
15596 this.$this = t0;
15597 },
15598 _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
15599 this.$this = t0;
15600 },
15601 _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
15602 this.$this = t0;
15603 this.name = t1;
15604 this.module = t2;
15605 },
15606 _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
15607 this.$this = t0;
15608 },
15609 _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
15610 this.$this = t0;
15611 },
15612 _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
15613 this.values = t0;
15614 this.span = t1;
15615 this.callableNode = t2;
15616 },
15617 _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
15618 this.$this = t0;
15619 },
15620 _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
15621 this.$this = t0;
15622 this.node = t1;
15623 this.importer = t2;
15624 },
15625 _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
15626 this.callback = t0;
15627 this.builtInModule = t1;
15628 },
15629 _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
15630 var _ = this;
15631 _.$this = t0;
15632 _.url = t1;
15633 _.nodeWithSpan = t2;
15634 _.baseUrl = t3;
15635 _.namesInErrors = t4;
15636 _.configuration = t5;
15637 _.callback = t6;
15638 },
15639 _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
15640 this.$this = t0;
15641 this.message = t1;
15642 },
15643 _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
15644 var _ = this;
15645 _.$this = t0;
15646 _.importer = t1;
15647 _.stylesheet = t2;
15648 _.extensionStore = t3;
15649 _.configuration = t4;
15650 _.css = t5;
15651 },
15652 _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
15653 },
15654 _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
15655 this.selectors = t0;
15656 },
15657 _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
15658 },
15659 _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
15660 this.originalSelectors = t0;
15661 },
15662 _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
15663 },
15664 _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
15665 this.seen = t0;
15666 this.sorted = t1;
15667 },
15668 _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
15669 this.$this = t0;
15670 this.resolved = t1;
15671 },
15672 _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
15673 this.$this = t0;
15674 this.node = t1;
15675 },
15676 _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
15677 this.$this = t0;
15678 this.node = t1;
15679 },
15680 _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
15681 this.$this = t0;
15682 this.newParent = t1;
15683 this.node = t2;
15684 },
15685 _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
15686 this.$this = t0;
15687 this.innerScope = t1;
15688 },
15689 _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
15690 this.$this = t0;
15691 this.innerScope = t1;
15692 },
15693 _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
15694 this.innerScope = t0;
15695 this.callback = t1;
15696 },
15697 _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
15698 this.$this = t0;
15699 this.innerScope = t1;
15700 },
15701 _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
15702 },
15703 _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
15704 this.$this = t0;
15705 this.innerScope = t1;
15706 },
15707 _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
15708 this.$this = t0;
15709 this.content = t1;
15710 },
15711 _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
15712 this.$this = t0;
15713 },
15714 _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
15715 this.$this = t0;
15716 this.children = t1;
15717 },
15718 _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
15719 this.$this = t0;
15720 this.node = t1;
15721 this.nodeWithSpan = t2;
15722 },
15723 _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
15724 this.$this = t0;
15725 this.node = t1;
15726 this.nodeWithSpan = t2;
15727 },
15728 _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
15729 var _ = this;
15730 _.$this = t0;
15731 _.list = t1;
15732 _.setVariables = t2;
15733 _.node = t3;
15734 },
15735 _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
15736 this.$this = t0;
15737 this.setVariables = t1;
15738 this.node = t2;
15739 },
15740 _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
15741 this.$this = t0;
15742 },
15743 _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
15744 this.$this = t0;
15745 this.targetText = t1;
15746 },
15747 _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
15748 this.$this = t0;
15749 },
15750 _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
15751 this.$this = t0;
15752 this.children = t1;
15753 },
15754 _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
15755 this.$this = t0;
15756 this.children = t1;
15757 },
15758 _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
15759 },
15760 _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
15761 this.$this = t0;
15762 this.node = t1;
15763 },
15764 _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
15765 this.$this = t0;
15766 this.node = t1;
15767 },
15768 _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
15769 this.fromNumber = t0;
15770 },
15771 _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
15772 this.toNumber = t0;
15773 this.fromNumber = t1;
15774 },
15775 _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
15776 var _ = this;
15777 _._box_0 = t0;
15778 _.$this = t1;
15779 _.node = t2;
15780 _.from = t3;
15781 _.direction = t4;
15782 _.fromNumber = t5;
15783 },
15784 _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
15785 this.$this = t0;
15786 },
15787 _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
15788 this.$this = t0;
15789 this.node = t1;
15790 },
15791 _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
15792 this.$this = t0;
15793 this.node = t1;
15794 },
15795 _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
15796 this._box_0 = t0;
15797 this.$this = t1;
15798 },
15799 _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
15800 this.$this = t0;
15801 },
15802 _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
15803 this.$this = t0;
15804 this.$import = t1;
15805 },
15806 _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
15807 this.$this = t0;
15808 },
15809 _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
15810 },
15811 _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
15812 },
15813 _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
15814 var _ = this;
15815 _.$this = t0;
15816 _.result = t1;
15817 _.stylesheet = t2;
15818 _.loadsUserDefinedModules = t3;
15819 _.environment = t4;
15820 _.children = t5;
15821 },
15822 _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
15823 this.$this = t0;
15824 this.node = t1;
15825 },
15826 _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
15827 this.node = t0;
15828 },
15829 _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
15830 this.$this = t0;
15831 },
15832 _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
15833 var _ = this;
15834 _.$this = t0;
15835 _.contentCallable = t1;
15836 _.mixin = t2;
15837 _.nodeWithSpan = t3;
15838 },
15839 _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
15840 this.$this = t0;
15841 this.mixin = t1;
15842 this.nodeWithSpan = t2;
15843 },
15844 _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
15845 this.$this = t0;
15846 this.mixin = t1;
15847 this.nodeWithSpan = t2;
15848 },
15849 _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
15850 this.$this = t0;
15851 this.statement = t1;
15852 },
15853 _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
15854 this.$this = t0;
15855 this.queries = t1;
15856 },
15857 _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3) {
15858 var _ = this;
15859 _.$this = t0;
15860 _.mergedQueries = t1;
15861 _.queries = t2;
15862 _.node = t3;
15863 },
15864 _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
15865 this.$this = t0;
15866 this.node = t1;
15867 },
15868 _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
15869 this.$this = t0;
15870 this.node = t1;
15871 },
15872 _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
15873 this.mergedQueries = t0;
15874 },
15875 _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
15876 this.$this = t0;
15877 this.resolved = t1;
15878 },
15879 _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1) {
15880 this.$this = t0;
15881 this.selectorText = t1;
15882 },
15883 _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21(t0, t1) {
15884 this.$this = t0;
15885 this.node = t1;
15886 },
15887 _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
15888 },
15889 _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
15890 this.$this = t0;
15891 this.selectorText = t1;
15892 },
15893 _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
15894 this._box_0 = t0;
15895 this.$this = t1;
15896 },
15897 _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25(t0, t1, t2) {
15898 this.$this = t0;
15899 this.rule = t1;
15900 this.node = t2;
15901 },
15902 _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
15903 this.$this = t0;
15904 this.node = t1;
15905 },
15906 _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26() {
15907 },
15908 _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
15909 this.$this = t0;
15910 this.node = t1;
15911 },
15912 _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
15913 this.$this = t0;
15914 this.node = t1;
15915 },
15916 _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
15917 },
15918 _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
15919 this.$this = t0;
15920 this.node = t1;
15921 this.override = t2;
15922 },
15923 _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
15924 this.$this = t0;
15925 this.node = t1;
15926 },
15927 _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
15928 this.$this = t0;
15929 this.node = t1;
15930 this.value = t2;
15931 },
15932 _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
15933 this.$this = t0;
15934 this.node = t1;
15935 },
15936 _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
15937 this.$this = t0;
15938 this.node = t1;
15939 },
15940 _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
15941 this.$this = t0;
15942 this.node = t1;
15943 },
15944 _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
15945 this.$this = t0;
15946 },
15947 _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
15948 this.$this = t0;
15949 this.node = t1;
15950 },
15951 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
15952 },
15953 _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
15954 this.$this = t0;
15955 this.node = t1;
15956 },
15957 _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
15958 this.node = t0;
15959 this.operand = t1;
15960 },
15961 _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
15962 this.$this = t0;
15963 this.node = t1;
15964 this.inMinMax = t2;
15965 },
15966 _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
15967 this.$this = t0;
15968 },
15969 _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
15970 this.$this = t0;
15971 this.node = t1;
15972 },
15973 _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
15974 this._box_0 = t0;
15975 this.$this = t1;
15976 this.node = t2;
15977 },
15978 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
15979 this.$this = t0;
15980 this.node = t1;
15981 this.$function = t2;
15982 },
15983 _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
15984 var _ = this;
15985 _.$this = t0;
15986 _.callable = t1;
15987 _.evaluated = t2;
15988 _.nodeWithSpan = t3;
15989 _.run = t4;
15990 _.V = t5;
15991 },
15992 _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
15993 var _ = this;
15994 _.$this = t0;
15995 _.evaluated = t1;
15996 _.callable = t2;
15997 _.nodeWithSpan = t3;
15998 _.run = t4;
15999 _.V = t5;
16000 },
16001 _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
16002 var _ = this;
16003 _.$this = t0;
16004 _.evaluated = t1;
16005 _.callable = t2;
16006 _.nodeWithSpan = t3;
16007 _.run = t4;
16008 _.V = t5;
16009 },
16010 _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
16011 },
16012 _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
16013 this.$this = t0;
16014 this.callable = t1;
16015 },
16016 _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
16017 this.overload = t0;
16018 this.evaluated = t1;
16019 this.namedSet = t2;
16020 },
16021 _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
16022 },
16023 _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
16024 },
16025 _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
16026 this.$this = t0;
16027 this.restNodeForSpan = t1;
16028 },
16029 _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
16030 var _ = this;
16031 _.$this = t0;
16032 _.named = t1;
16033 _.restNodeForSpan = t2;
16034 _.namedNodes = t3;
16035 },
16036 _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
16037 },
16038 _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
16039 this.restArgs = t0;
16040 },
16041 _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
16042 this.$this = t0;
16043 this.restNodeForSpan = t1;
16044 this.restArgs = t2;
16045 },
16046 _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
16047 var _ = this;
16048 _.$this = t0;
16049 _.named = t1;
16050 _.restNodeForSpan = t2;
16051 _.restArgs = t3;
16052 },
16053 _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
16054 this.$this = t0;
16055 this.keywordRestNodeForSpan = t1;
16056 this.keywordRestArgs = t2;
16057 },
16058 _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
16059 var _ = this;
16060 _.$this = t0;
16061 _.values = t1;
16062 _.convert = t2;
16063 _.expressionNode = t3;
16064 _.map = t4;
16065 _.nodeWithSpan = t5;
16066 },
16067 _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
16068 this.$arguments = t0;
16069 this.positional = t1;
16070 this.named = t2;
16071 },
16072 _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
16073 this.$this = t0;
16074 },
16075 _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
16076 this.$this = t0;
16077 this.node = t1;
16078 },
16079 _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
16080 },
16081 _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
16082 this.$this = t0;
16083 this.node = t1;
16084 },
16085 _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
16086 },
16087 _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
16088 this.$this = t0;
16089 this.node = t1;
16090 },
16091 _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2) {
16092 this.$this = t0;
16093 this.mergedQueries = t1;
16094 this.node = t2;
16095 },
16096 _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
16097 this.$this = t0;
16098 this.node = t1;
16099 },
16100 _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
16101 this.$this = t0;
16102 this.node = t1;
16103 },
16104 _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
16105 this.mergedQueries = t0;
16106 },
16107 _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
16108 this.$this = t0;
16109 this.rule = t1;
16110 this.node = t2;
16111 },
16112 _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
16113 this.$this = t0;
16114 this.node = t1;
16115 },
16116 _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
16117 },
16118 _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
16119 this.$this = t0;
16120 this.node = t1;
16121 },
16122 _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
16123 this.$this = t0;
16124 this.node = t1;
16125 },
16126 _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
16127 },
16128 _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
16129 this.$this = t0;
16130 this.warnForColor = t1;
16131 this.interpolation = t2;
16132 },
16133 _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
16134 this.value = t0;
16135 this.quote = t1;
16136 },
16137 _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
16138 this.$this = t0;
16139 this.expression = t1;
16140 },
16141 _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
16142 },
16143 _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
16144 this.$this = t0;
16145 },
16146 _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
16147 this.$this = t0;
16148 },
16149 _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
16150 this._async_evaluate0$_visitor = t0;
16151 },
16152 _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
16153 },
16154 _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
16155 this.hasBeenMerged = t0;
16156 },
16157 _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
16158 },
16159 _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
16160 },
16161 EvaluateResult0: function EvaluateResult0(t0, t1) {
16162 this.stylesheet = t0;
16163 this.loadedUrls = t1;
16164 },
16165 _EvaluationContext2: function _EvaluationContext2(t0, t1) {
16166 this._async_evaluate0$_visitor = t0;
16167 this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
16168 },
16169 _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
16170 var _ = this;
16171 _.positional = t0;
16172 _.positionalNodes = t1;
16173 _.named = t2;
16174 _.namedNodes = t3;
16175 _.separator = t4;
16176 },
16177 _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
16178 this.stylesheet = t0;
16179 this.importer = t1;
16180 this.isDependency = t2;
16181 },
16182 NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
16183 this._findFileUrl = t0;
16184 },
16185 AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
16186 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16187 t2 = type$.Uri,
16188 t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
16189 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));
16190 },
16191 AsyncImportCache$none(logger) {
16192 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16193 t2 = type$.Uri;
16194 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));
16195 },
16196 AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
16197 var sassPath, t2, t3, _i, path, _null = null,
16198 t1 = J.get$env$x(self.process);
16199 if (t1 == null)
16200 t1 = type$.Object._as(t1);
16201 sassPath = A._asStringQ(t1.SASS_PATH);
16202 t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
16203 if (importers != null)
16204 B.JSArray_methods.addAll$1(t1, importers);
16205 if (loadPaths != null)
16206 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
16207 t3 = t2.get$current(t2);
16208 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
16209 }
16210 if (sassPath != null) {
16211 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
16212 t3 = t2.length;
16213 _i = 0;
16214 for (; _i < t3; ++_i) {
16215 path = t2[_i];
16216 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
16217 }
16218 }
16219 return t1;
16220 },
16221 AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
16222 var _ = this;
16223 _._async_import_cache0$_importers = t0;
16224 _._async_import_cache0$_logger = t1;
16225 _._async_import_cache0$_canonicalizeCache = t2;
16226 _._async_import_cache0$_relativeCanonicalizeCache = t3;
16227 _._async_import_cache0$_importCache = t4;
16228 _._async_import_cache0$_resultsCache = t5;
16229 },
16230 AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
16231 var _ = this;
16232 _.$this = t0;
16233 _.baseUrl = t1;
16234 _.url = t2;
16235 _.baseImporter = t3;
16236 _.forImport = t4;
16237 },
16238 AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
16239 this.$this = t0;
16240 this.url = t1;
16241 this.forImport = t2;
16242 },
16243 AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
16244 this.importer = t0;
16245 this.url = t1;
16246 },
16247 AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
16248 var _ = this;
16249 _.$this = t0;
16250 _.importer = t1;
16251 _.canonicalUrl = t2;
16252 _.originalUrl = t3;
16253 _.quiet = t4;
16254 },
16255 AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
16256 this.canonicalUrl = t0;
16257 },
16258 AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
16259 },
16260 AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
16261 },
16262 AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
16263 this.scanner = t0;
16264 this.logger = t1;
16265 },
16266 AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
16267 this.$this = t0;
16268 },
16269 AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
16270 var _ = this;
16271 _.include = t0;
16272 _.names = t1;
16273 _._at_root_query0$_all = t2;
16274 _._at_root_query0$_rule = t3;
16275 },
16276 AtRootRule$0(children, span, query) {
16277 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
16278 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16279 return new A.AtRootRule0(query, span, t1, t2);
16280 },
16281 AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
16282 var _ = this;
16283 _.query = t0;
16284 _.span = t1;
16285 _.children = t2;
16286 _.hasDeclarations = t3;
16287 },
16288 ModifiableCssAtRule$0($name, span, childless, value) {
16289 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
16290 return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
16291 },
16292 ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
16293 var _ = this;
16294 _.name = t0;
16295 _.value = t1;
16296 _.isChildless = t2;
16297 _.span = t3;
16298 _.children = t4;
16299 _._node1$_children = t5;
16300 _._node1$_indexInParent = _._node1$_parent = null;
16301 _.isGroupEnd = false;
16302 },
16303 AtRule$0($name, span, children, value) {
16304 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
16305 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16306 return new A.AtRule0($name, value, span, t1, t2 === true);
16307 },
16308 AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
16309 var _ = this;
16310 _.name = t0;
16311 _.value = t1;
16312 _.span = t2;
16313 _.children = t3;
16314 _.hasDeclarations = t4;
16315 },
16316 AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
16317 var _ = this;
16318 _.name = t0;
16319 _.op = t1;
16320 _.value = t2;
16321 _.modifier = t3;
16322 },
16323 AttributeOperator0: function AttributeOperator0(t0) {
16324 this._attribute0$_text = t0;
16325 },
16326 BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
16327 var _ = this;
16328 _.operator = t0;
16329 _.left = t1;
16330 _.right = t2;
16331 _.allowsSlash = t3;
16332 },
16333 BinaryOperator0: function BinaryOperator0(t0, t1, t2) {
16334 this.name = t0;
16335 this.operator = t1;
16336 this.precedence = t2;
16337 },
16338 BooleanExpression0: function BooleanExpression0(t0, t1) {
16339 this.value = t0;
16340 this.span = t1;
16341 },
16342 legacyBooleanClass_closure: function legacyBooleanClass_closure() {
16343 },
16344 legacyBooleanClass__closure: function legacyBooleanClass__closure() {
16345 },
16346 legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
16347 },
16348 booleanClass_closure: function booleanClass_closure() {
16349 },
16350 booleanClass__closure: function booleanClass__closure() {
16351 },
16352 SassBoolean0: function SassBoolean0(t0) {
16353 this.value = t0;
16354 },
16355 BuiltInCallable$function0($name, $arguments, callback, url) {
16356 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));
16357 },
16358 BuiltInCallable$mixin0($name, $arguments, callback, url) {
16359 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));
16360 },
16361 BuiltInCallable$parsed($name, $arguments, callback) {
16362 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));
16363 },
16364 BuiltInCallable$overloadedFunction0($name, overloads) {
16365 var t2, t3, t4, t5, t6, t7, t8,
16366 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
16367 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();) {
16368 t7 = t2.get$current(t2);
16369 t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
16370 t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false0).parseArgumentDeclaration$0(), t7.value, t3));
16371 }
16372 return new A.BuiltInCallable0($name, t1);
16373 },
16374 BuiltInCallable0: function BuiltInCallable0(t0, t1) {
16375 this.name = t0;
16376 this._built_in$_overloads = t1;
16377 },
16378 BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
16379 this.callback = t0;
16380 },
16381 BuiltInModule$0($name, functions, mixins, variables, $T) {
16382 var t1 = A._Uri__Uri(null, $name, null, "sass"),
16383 t2 = A.BuiltInModule__callableMap0(functions, $T),
16384 t3 = A.BuiltInModule__callableMap0(mixins, $T),
16385 t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
16386 return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
16387 },
16388 BuiltInModule__callableMap0(callables, $T) {
16389 var t2, _i, callable,
16390 t1 = type$.String;
16391 if (callables == null)
16392 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16393 else {
16394 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16395 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
16396 callable = callables[_i];
16397 t1.$indexSet(0, J.get$name$x(callable), callable);
16398 }
16399 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16400 }
16401 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16402 },
16403 BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
16404 var _ = this;
16405 _.url = t0;
16406 _.functions = t1;
16407 _.mixins = t2;
16408 _.variables = t3;
16409 _.$ti = t4;
16410 },
16411 CalculationExpression__verifyArguments0($arguments) {
16412 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
16413 },
16414 CalculationExpression__verify0(expression) {
16415 var t1,
16416 _s29_ = "Invalid calculation argument ";
16417 if (expression instanceof A.NumberExpression0)
16418 return;
16419 if (expression instanceof A.CalculationExpression0)
16420 return;
16421 if (expression instanceof A.VariableExpression0)
16422 return;
16423 if (expression instanceof A.FunctionExpression0)
16424 return;
16425 if (expression instanceof A.IfExpression0)
16426 return;
16427 if (expression instanceof A.StringExpression0) {
16428 if (expression.hasQuotes)
16429 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16430 } else if (expression instanceof A.ParenthesizedExpression0)
16431 A.CalculationExpression__verify0(expression.expression);
16432 else if (expression instanceof A.BinaryOperationExpression0) {
16433 A.CalculationExpression__verify0(expression.left);
16434 A.CalculationExpression__verify0(expression.right);
16435 t1 = expression.operator;
16436 if (t1 === B.BinaryOperator_AcR2)
16437 return;
16438 if (t1 === B.BinaryOperator_iyO0)
16439 return;
16440 if (t1 === B.BinaryOperator_O1M0)
16441 return;
16442 if (t1 === B.BinaryOperator_RTB0)
16443 return;
16444 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16445 } else
16446 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16447 },
16448 CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
16449 this.name = t0;
16450 this.$arguments = t1;
16451 this.span = t2;
16452 },
16453 CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
16454 },
16455 SassCalculation_calc0(argument) {
16456 argument = A.SassCalculation__simplify0(argument);
16457 if (argument instanceof A.SassNumber0)
16458 return argument;
16459 if (argument instanceof A.SassCalculation0)
16460 return argument;
16461 return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
16462 },
16463 SassCalculation_min0($arguments) {
16464 var minimum, _i, arg, t2,
16465 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16466 t1 = args.length;
16467 if (t1 === 0)
16468 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
16469 for (minimum = null, _i = 0; _i < t1; ++_i) {
16470 arg = args[_i];
16471 if (arg instanceof A.SassNumber0)
16472 t2 = minimum != null && !minimum.isComparableTo$1(arg);
16473 else
16474 t2 = true;
16475 if (t2) {
16476 minimum = null;
16477 break;
16478 } else if (minimum == null || minimum.greaterThan$1(arg).value)
16479 minimum = arg;
16480 }
16481 if (minimum != null)
16482 return minimum;
16483 A.SassCalculation__verifyCompatibleNumbers0(args);
16484 return new A.SassCalculation0("min", args);
16485 },
16486 SassCalculation_max0($arguments) {
16487 var maximum, _i, arg, t2,
16488 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16489 t1 = args.length;
16490 if (t1 === 0)
16491 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
16492 for (maximum = null, _i = 0; _i < t1; ++_i) {
16493 arg = args[_i];
16494 if (arg instanceof A.SassNumber0)
16495 t2 = maximum != null && !maximum.isComparableTo$1(arg);
16496 else
16497 t2 = true;
16498 if (t2) {
16499 maximum = null;
16500 break;
16501 } else if (maximum == null || maximum.lessThan$1(arg).value)
16502 maximum = arg;
16503 }
16504 if (maximum != null)
16505 return maximum;
16506 A.SassCalculation__verifyCompatibleNumbers0(args);
16507 return new A.SassCalculation0("max", args);
16508 },
16509 SassCalculation_clamp0(min, value, max) {
16510 var t1, args;
16511 if (value == null && max != null)
16512 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
16513 min = A.SassCalculation__simplify0(min);
16514 value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
16515 max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
16516 if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
16517 if (value.lessThanOrEquals$1(min).value)
16518 return min;
16519 if (value.greaterThanOrEquals$1(max).value)
16520 return max;
16521 return value;
16522 }
16523 t1 = [min];
16524 if (value != null)
16525 t1.push(value);
16526 if (max != null)
16527 t1.push(max);
16528 args = A.List_List$unmodifiable(t1, type$.Object);
16529 A.SassCalculation__verifyCompatibleNumbers0(args);
16530 A.SassCalculation__verifyLength0(args, 3);
16531 return new A.SassCalculation0("clamp", args);
16532 },
16533 SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
16534 var t1, t2;
16535 if (!simplify)
16536 return new A.CalculationOperation0(operator, left, right);
16537 left = A.SassCalculation__simplify0(left);
16538 right = A.SassCalculation__simplify0(right);
16539 t1 = operator === B.CalculationOperator_Iem0;
16540 if (t1 || operator === B.CalculationOperator_uti0) {
16541 if (left instanceof A.SassNumber0)
16542 if (right instanceof A.SassNumber0)
16543 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
16544 else
16545 t2 = false;
16546 else
16547 t2 = false;
16548 if (t2)
16549 return t1 ? left.plus$1(right) : left.minus$1(right);
16550 A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
16551 if (right instanceof A.SassNumber0) {
16552 t2 = right._number1$_value;
16553 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon0());
16554 } else
16555 t2 = false;
16556 if (t2) {
16557 right = right.times$1(new A.UnitlessSassNumber0(-1, null));
16558 operator = t1 ? B.CalculationOperator_uti0 : B.CalculationOperator_Iem0;
16559 }
16560 return new A.CalculationOperation0(operator, left, right);
16561 } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
16562 return operator === B.CalculationOperator_Dih0 ? left.times$1(right) : left.dividedBy$1(right);
16563 else
16564 return new A.CalculationOperation0(operator, left, right);
16565 },
16566 SassCalculation__simplify0(arg) {
16567 var _s32_ = " can't be used in a calculation.";
16568 if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
16569 return arg;
16570 else if (arg instanceof A.SassString0) {
16571 if (!arg._string0$_hasQuotes)
16572 return arg;
16573 throw A.wrapException(A.SassCalculation__exception0("Quoted string " + arg.toString$0(0) + _s32_));
16574 } else if (arg instanceof A.SassCalculation0)
16575 return arg.name === "calc" ? arg.$arguments[0] : arg;
16576 else if (arg instanceof A.Value0)
16577 throw A.wrapException(A.SassCalculation__exception0("Value " + arg.toString$0(0) + _s32_));
16578 else
16579 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
16580 },
16581 SassCalculation__verifyCompatibleNumbers0(args) {
16582 var t1, _i, t2, arg, i, number1, j, number2;
16583 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
16584 arg = args[_i];
16585 if (!(arg instanceof A.SassNumber0))
16586 continue;
16587 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
16588 throw A.wrapException(A.SassCalculation__exception0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
16589 }
16590 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
16591 number1 = args[i];
16592 if (!(number1 instanceof A.SassNumber0))
16593 continue;
16594 for (j = i + 1; t1 = args.length, j < t1; ++j) {
16595 number2 = args[j];
16596 if (!(number2 instanceof A.SassNumber0))
16597 continue;
16598 if (number1.hasPossiblyCompatibleUnits$1(number2))
16599 continue;
16600 throw A.wrapException(A.SassCalculation__exception0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
16601 }
16602 }
16603 },
16604 SassCalculation__verifyLength0(args, expectedLength) {
16605 var t1 = args.length;
16606 if (t1 === expectedLength)
16607 return;
16608 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
16609 return;
16610 throw A.wrapException(A.SassCalculation__exception0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16611 },
16612 SassCalculation__exception0(message) {
16613 return new A.SassScriptException0(message);
16614 },
16615 SassCalculation0: function SassCalculation0(t0, t1) {
16616 this.name = t0;
16617 this.$arguments = t1;
16618 },
16619 SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
16620 },
16621 CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
16622 this.operator = t0;
16623 this.left = t1;
16624 this.right = t2;
16625 },
16626 CalculationOperator0: function CalculationOperator0(t0, t1, t2) {
16627 this.name = t0;
16628 this.operator = t1;
16629 this.precedence = t2;
16630 },
16631 CalculationInterpolation0: function CalculationInterpolation0(t0) {
16632 this.value = t0;
16633 },
16634 CallableDeclaration0: function CallableDeclaration0() {
16635 },
16636 Chokidar0: function Chokidar0() {
16637 },
16638 ChokidarOptions0: function ChokidarOptions0() {
16639 },
16640 ChokidarWatcher0: function ChokidarWatcher0() {
16641 },
16642 ClassSelector0: function ClassSelector0(t0) {
16643 this.name = t0;
16644 },
16645 cloneCssStylesheet0(stylesheet, extensionStore) {
16646 var result = extensionStore.clone$0();
16647 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);
16648 },
16649 _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
16650 this._clone_css$_oldToNewSelectors = t0;
16651 },
16652 ColorExpression0: function ColorExpression0(t0, t1) {
16653 this.value = t0;
16654 this.span = t1;
16655 },
16656 _updateComponents0($arguments, adjust, change, scale) {
16657 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, _null = null,
16658 t1 = J.getInterceptor$asx($arguments),
16659 color = t1.$index($arguments, 0).assertColor$1("color"),
16660 argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
16661 if (argumentList._list1$_contents.length !== 0)
16662 throw A.wrapException(A.SassScriptException$0(string$.Only_op));
16663 argumentList._argument_list$_wereKeywordsAccessed = true;
16664 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
16665 t1 = new A._updateComponents_getParam0(keywords, scale, change);
16666 alpha = t1.call$2("alpha", 1);
16667 red = t1.call$2("red", 255);
16668 green = t1.call$2("green", 255);
16669 blue = t1.call$2("blue", 255);
16670 if (scale)
16671 hueNumber = _null;
16672 else {
16673 t2 = keywords.remove$1(0, "hue");
16674 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
16675 }
16676 t2 = hueNumber == null;
16677 if (!t2)
16678 A._checkAngle0(hueNumber, "hue");
16679 hue = t2 ? _null : hueNumber._number1$_value;
16680 saturation = t1.call$3$checkPercent("saturation", 100, true);
16681 lightness = t1.call$3$checkPercent("lightness", 100, true);
16682 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
16683 blackness = t1.call$3$assertPercent("blackness", 100, true);
16684 t1 = keywords.__js_helper$_length;
16685 if (t1 !== 0)
16686 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")) + "."));
16687 hasRgb = red != null || green != null || blue != null;
16688 hasSL = saturation != null || lightness != null;
16689 hasWB = whiteness != null || blackness != null;
16690 if (hasRgb)
16691 t1 = hasSL || hasWB || hue != null;
16692 else
16693 t1 = false;
16694 if (t1)
16695 throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
16696 if (hasSL && hasWB)
16697 throw A.wrapException(A.SassScriptException$0(string$.HSL_pa));
16698 t1 = new A._updateComponents_updateValue0(change, adjust);
16699 t2 = new A._updateComponents_updateRgb0(t1);
16700 if (hasRgb) {
16701 t3 = t2.call$2(color.get$red(color), red);
16702 t4 = t2.call$2(color.get$green(color), green);
16703 t2 = t2.call$2(color.get$blue(color), blue);
16704 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16705 } else if (hasWB) {
16706 if (change)
16707 t2 = hue;
16708 else {
16709 t2 = color.get$hue(color);
16710 t2 += hue == null ? 0 : hue;
16711 }
16712 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
16713 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
16714 return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
16715 } else {
16716 t2 = hue == null;
16717 if (!t2 || hasSL) {
16718 if (change)
16719 t2 = hue;
16720 else {
16721 t3 = color.get$hue(color);
16722 t3 += t2 ? 0 : hue;
16723 t2 = t3;
16724 }
16725 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
16726 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
16727 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16728 } else if (alpha != null)
16729 return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
16730 else
16731 return color;
16732 }
16733 },
16734 _functionString0($name, $arguments) {
16735 return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
16736 },
16737 _removedColorFunction0($name, argument, negative) {
16738 return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
16739 },
16740 _rgb0($name, $arguments) {
16741 var t2, red, green, blue,
16742 t1 = J.getInterceptor$asx($arguments),
16743 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16744 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16745 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16746 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16747 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16748 t2 = t2 === true;
16749 } else
16750 t2 = true;
16751 else
16752 t2 = true;
16753 else
16754 t2 = true;
16755 if (t2)
16756 return A._functionString0($name, $arguments);
16757 red = t1.$index($arguments, 0).assertNumber$1("red");
16758 green = t1.$index($arguments, 1).assertNumber$1("green");
16759 blue = t1.$index($arguments, 2).assertNumber$1("blue");
16760 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);
16761 },
16762 _rgbTwoArg0($name, $arguments) {
16763 var first, color,
16764 t1 = J.getInterceptor$asx($arguments);
16765 if (t1.$index($arguments, 0).get$isVar())
16766 return A._functionString0($name, $arguments);
16767 else if (t1.$index($arguments, 1).get$isVar()) {
16768 first = t1.$index($arguments, 0);
16769 if (first instanceof A.SassColor0)
16770 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);
16771 else
16772 return A._functionString0($name, $arguments);
16773 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
16774 color = t1.$index($arguments, 0).assertColor$1("color");
16775 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);
16776 }
16777 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
16778 },
16779 _hsl0($name, $arguments) {
16780 var t2, hue, saturation, lightness,
16781 _s10_ = "saturation",
16782 _s9_ = "lightness",
16783 t1 = J.getInterceptor$asx($arguments),
16784 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16785 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16786 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16787 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16788 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16789 t2 = t2 === true;
16790 } else
16791 t2 = true;
16792 else
16793 t2 = true;
16794 else
16795 t2 = true;
16796 if (t2)
16797 return A._functionString0($name, $arguments);
16798 hue = t1.$index($arguments, 0).assertNumber$1("hue");
16799 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
16800 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
16801 A._checkAngle0(hue, "hue");
16802 A._checkPercent0(saturation, _s10_);
16803 A._checkPercent0(lightness, _s9_);
16804 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);
16805 },
16806 _checkAngle0(angle, $name) {
16807 var t1, t2, t3, t4,
16808 _s31_ = "To preserve current behavior: $";
16809 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
16810 return;
16811 t1 = A.S($name);
16812 t2 = "" + ("$" + t1 + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
16813 if (angle.compatibleWithUnit$1("deg")) {
16814 t3 = angle.toString$0(0);
16815 t4 = type$.JSArray_String;
16816 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";
16817 } else
16818 t1 = t2 + (_s31_ + t1 + A._removeUnits0(angle) + "\n") + "\n";
16819 t1 += "See https://sass-lang.com/d/color-units";
16820 A.EvaluationContext_current0().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
16821 },
16822 _checkPercent0(number, $name) {
16823 var t1, t2;
16824 if (number.hasUnit$1("%"))
16825 return;
16826 t1 = number.toString$0(0);
16827 t2 = A._removeUnits0(number);
16828 A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + $name + t2 + " * 1%", true);
16829 },
16830 _removeUnits0(number) {
16831 var t2,
16832 t1 = number.get$denominatorUnits(number);
16833 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
16834 t2 = number.get$numeratorUnits(number);
16835 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
16836 },
16837 _hwb0($arguments) {
16838 var _s9_ = "whiteness",
16839 _s9_0 = "blackness",
16840 t1 = J.getInterceptor$asx($arguments),
16841 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
16842 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
16843 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
16844 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
16845 whiteness.assertUnit$2("%", _s9_);
16846 blackness.assertUnit$2("%", _s9_0);
16847 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()));
16848 },
16849 _parseChannels0($name, argumentNames, channels) {
16850 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
16851 _s17_ = "$channels must be";
16852 if (channels.get$isVar())
16853 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16854 if (channels.get$separator(channels) === B.ListSeparator_1gm0) {
16855 list = channels.get$asList();
16856 t1 = list.length;
16857 if (t1 !== 2)
16858 throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16859 channels0 = list[0];
16860 alphaFromSlashList = list[1];
16861 if (!alphaFromSlashList.get$isSpecialNumber())
16862 alphaFromSlashList.assertNumber$1("alpha");
16863 if (list[0].get$isVar())
16864 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16865 } else {
16866 channels0 = channels;
16867 alphaFromSlashList = null;
16868 }
16869 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM0;
16870 isBracketed = channels0.get$hasBrackets();
16871 if (isCommaSeparated || isBracketed) {
16872 buffer = new A.StringBuffer(_s17_);
16873 if (isBracketed) {
16874 t1 = _s17_ + " an unbracketed";
16875 buffer._contents = t1;
16876 } else
16877 t1 = _s17_;
16878 if (isCommaSeparated) {
16879 t1 += isBracketed ? "," : " a";
16880 buffer._contents = t1;
16881 t1 = buffer._contents = t1 + " space-separated";
16882 }
16883 buffer._contents = t1 + " list.";
16884 throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0)));
16885 }
16886 list = channels0.get$asList();
16887 t1 = list.length;
16888 if (t1 > 3)
16889 throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed."));
16890 else if (t1 < 3) {
16891 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
16892 if (list.length !== 0) {
16893 t1 = B.JSArray_methods.get$last(list);
16894 if (t1 instanceof A.SassString0)
16895 if (t1._string0$_hasQuotes) {
16896 t1 = t1._string0$_text;
16897 t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
16898 } else
16899 t1 = false;
16900 else
16901 t1 = false;
16902 } else
16903 t1 = false;
16904 else
16905 t1 = true;
16906 if (t1)
16907 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16908 else
16909 throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + "."));
16910 }
16911 if (alphaFromSlashList != null) {
16912 t1 = A.List_List$of(list, true, type$.Value_2);
16913 t1.push(alphaFromSlashList);
16914 return t1;
16915 }
16916 maybeSlashSeparated = list[2];
16917 if (maybeSlashSeparated instanceof A.SassNumber0) {
16918 slash = maybeSlashSeparated.asSlash;
16919 if (slash == null)
16920 return list;
16921 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
16922 } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
16923 return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
16924 else
16925 return list;
16926 },
16927 _percentageOrUnitless0(number, max, $name) {
16928 var value;
16929 if (!number.get$hasUnits())
16930 value = number._number1$_value;
16931 else if (number.hasUnit$1("%"))
16932 value = max * number._number1$_value / 100;
16933 else
16934 throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
16935 return B.JSNumber_methods.clamp$2(value, 0, max);
16936 },
16937 _mixColors0(color1, color2, weight) {
16938 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
16939 normalizedWeight = weightScale * 2 - 1,
16940 t1 = color1._color1$_alpha,
16941 t2 = color2._color1$_alpha,
16942 alphaDistance = t1 - t2,
16943 t3 = normalizedWeight * alphaDistance,
16944 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
16945 weight2 = 1 - weight1;
16946 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));
16947 },
16948 _opacify0($arguments) {
16949 var t1 = J.getInterceptor$asx($arguments),
16950 color = t1.$index($arguments, 0).assertColor$1("color");
16951 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));
16952 },
16953 _transparentize0($arguments) {
16954 var t1 = J.getInterceptor$asx($arguments),
16955 color = t1.$index($arguments, 0).assertColor$1("color");
16956 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));
16957 },
16958 _function11($name, $arguments, callback) {
16959 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
16960 },
16961 global_closure30: function global_closure30() {
16962 },
16963 global_closure31: function global_closure31() {
16964 },
16965 global_closure32: function global_closure32() {
16966 },
16967 global_closure33: function global_closure33() {
16968 },
16969 global_closure34: function global_closure34() {
16970 },
16971 global_closure35: function global_closure35() {
16972 },
16973 global_closure36: function global_closure36() {
16974 },
16975 global_closure37: function global_closure37() {
16976 },
16977 global_closure38: function global_closure38() {
16978 },
16979 global_closure39: function global_closure39() {
16980 },
16981 global_closure40: function global_closure40() {
16982 },
16983 global_closure41: function global_closure41() {
16984 },
16985 global_closure42: function global_closure42() {
16986 },
16987 global_closure43: function global_closure43() {
16988 },
16989 global_closure44: function global_closure44() {
16990 },
16991 global_closure45: function global_closure45() {
16992 },
16993 global_closure46: function global_closure46() {
16994 },
16995 global_closure47: function global_closure47() {
16996 },
16997 global_closure48: function global_closure48() {
16998 },
16999 global_closure49: function global_closure49() {
17000 },
17001 global_closure50: function global_closure50() {
17002 },
17003 global_closure51: function global_closure51() {
17004 },
17005 global_closure52: function global_closure52() {
17006 },
17007 global_closure53: function global_closure53() {
17008 },
17009 global_closure54: function global_closure54() {
17010 },
17011 global_closure55: function global_closure55() {
17012 },
17013 global__closure0: function global__closure0() {
17014 },
17015 global_closure56: function global_closure56() {
17016 },
17017 module_closure8: function module_closure8() {
17018 },
17019 module_closure9: function module_closure9() {
17020 },
17021 module_closure10: function module_closure10() {
17022 },
17023 module_closure11: function module_closure11() {
17024 },
17025 module_closure12: function module_closure12() {
17026 },
17027 module_closure13: function module_closure13() {
17028 },
17029 module_closure14: function module_closure14() {
17030 },
17031 module_closure15: function module_closure15() {
17032 },
17033 module__closure0: function module__closure0() {
17034 },
17035 module_closure16: function module_closure16() {
17036 },
17037 _red_closure0: function _red_closure0() {
17038 },
17039 _green_closure0: function _green_closure0() {
17040 },
17041 _blue_closure0: function _blue_closure0() {
17042 },
17043 _mix_closure0: function _mix_closure0() {
17044 },
17045 _hue_closure0: function _hue_closure0() {
17046 },
17047 _saturation_closure0: function _saturation_closure0() {
17048 },
17049 _lightness_closure0: function _lightness_closure0() {
17050 },
17051 _complement_closure0: function _complement_closure0() {
17052 },
17053 _adjust_closure0: function _adjust_closure0() {
17054 },
17055 _scale_closure0: function _scale_closure0() {
17056 },
17057 _change_closure0: function _change_closure0() {
17058 },
17059 _ieHexStr_closure0: function _ieHexStr_closure0() {
17060 },
17061 _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
17062 },
17063 _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
17064 this.keywords = t0;
17065 this.scale = t1;
17066 this.change = t2;
17067 },
17068 _updateComponents_closure0: function _updateComponents_closure0() {
17069 },
17070 _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
17071 this.change = t0;
17072 this.adjust = t1;
17073 },
17074 _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
17075 this.updateValue = t0;
17076 },
17077 _functionString_closure0: function _functionString_closure0() {
17078 },
17079 _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
17080 this.name = t0;
17081 this.argument = t1;
17082 this.negative = t2;
17083 },
17084 _rgb_closure0: function _rgb_closure0() {
17085 },
17086 _hsl_closure0: function _hsl_closure0() {
17087 },
17088 _removeUnits_closure1: function _removeUnits_closure1() {
17089 },
17090 _removeUnits_closure2: function _removeUnits_closure2() {
17091 },
17092 _hwb_closure0: function _hwb_closure0() {
17093 },
17094 _parseChannels_closure0: function _parseChannels_closure0() {
17095 },
17096 _NodeSassColor: function _NodeSassColor() {
17097 },
17098 legacyColorClass_closure: function legacyColorClass_closure() {
17099 },
17100 legacyColorClass_closure0: function legacyColorClass_closure0() {
17101 },
17102 legacyColorClass_closure1: function legacyColorClass_closure1() {
17103 },
17104 legacyColorClass_closure2: function legacyColorClass_closure2() {
17105 },
17106 legacyColorClass_closure3: function legacyColorClass_closure3() {
17107 },
17108 legacyColorClass_closure4: function legacyColorClass_closure4() {
17109 },
17110 legacyColorClass_closure5: function legacyColorClass_closure5() {
17111 },
17112 legacyColorClass_closure6: function legacyColorClass_closure6() {
17113 },
17114 legacyColorClass_closure7: function legacyColorClass_closure7() {
17115 },
17116 colorClass_closure: function colorClass_closure() {
17117 },
17118 colorClass__closure: function colorClass__closure() {
17119 },
17120 colorClass__closure0: function colorClass__closure0() {
17121 },
17122 colorClass__closure1: function colorClass__closure1() {
17123 },
17124 colorClass__closure2: function colorClass__closure2() {
17125 },
17126 colorClass__closure3: function colorClass__closure3() {
17127 },
17128 colorClass__closure4: function colorClass__closure4() {
17129 },
17130 colorClass__closure5: function colorClass__closure5() {
17131 },
17132 colorClass__closure6: function colorClass__closure6() {
17133 },
17134 colorClass__closure7: function colorClass__closure7() {
17135 },
17136 colorClass__closure8: function colorClass__closure8() {
17137 },
17138 colorClass__closure9: function colorClass__closure9() {
17139 },
17140 _Channels: function _Channels() {
17141 },
17142 SassColor$rgb0(red, green, blue, alpha) {
17143 var _null = null,
17144 t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17145 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17146 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17147 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17148 return t1;
17149 },
17150 SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
17151 var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17152 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17153 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17154 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17155 return t1;
17156 },
17157 SassColor$hsl(hue, saturation, lightness, alpha) {
17158 var _null = null,
17159 t1 = B.JSNumber_methods.$mod(hue, 360),
17160 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17161 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17162 return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17163 },
17164 SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
17165 var t1 = B.JSNumber_methods.$mod(hue, 360),
17166 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17167 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17168 return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17169 },
17170 SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
17171 var t2, t1 = {},
17172 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
17173 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
17174 scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
17175 sum = scaledWhiteness + scaledBlackness;
17176 if (sum > 1) {
17177 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
17178 scaledBlackness /= sum;
17179 } else
17180 t2 = scaledWhiteness;
17181 t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
17182 return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
17183 },
17184 SassColor__hueToRgb0(m1, m2, hue) {
17185 if (hue < 0)
17186 ++hue;
17187 if (hue > 1)
17188 --hue;
17189 if (hue < 0.16666666666666666)
17190 return m1 + (m2 - m1) * hue * 6;
17191 else if (hue < 0.5)
17192 return m2;
17193 else if (hue < 0.6666666666666666)
17194 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
17195 else
17196 return m1;
17197 },
17198 SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
17199 var _ = this;
17200 _._color1$_red = t0;
17201 _._color1$_green = t1;
17202 _._color1$_blue = t2;
17203 _._color1$_hue = t3;
17204 _._color1$_saturation = t4;
17205 _._color1$_lightness = t5;
17206 _._color1$_alpha = t6;
17207 _.format = t7;
17208 },
17209 SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
17210 this._box_0 = t0;
17211 this.factor = t1;
17212 },
17213 _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
17214 this._color1$_name = t0;
17215 },
17216 SpanColorFormat0: function SpanColorFormat0(t0) {
17217 this._color1$_span = t0;
17218 },
17219 ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
17220 var _ = this;
17221 _.text = t0;
17222 _.span = t1;
17223 _._node1$_indexInParent = _._node1$_parent = null;
17224 _.isGroupEnd = false;
17225 },
17226 compile0(path, options) {
17227 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, exception, _null = null,
17228 t1 = options == null,
17229 color0 = t1 ? _null : J.get$alertColor$x(options),
17230 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17231 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17232 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17233 try {
17234 t2 = t1 ? _null : J.get$loadPaths$x(options);
17235 t3 = t1 ? _null : J.get$quietDeps$x(options);
17236 if (t3 == null)
17237 t3 = false;
17238 t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17239 t5 = t1 ? _null : J.get$verbose$x(options);
17240 if (t5 == null)
17241 t5 = false;
17242 t6 = t1 ? _null : J.get$sourceMap$x(options);
17243 if (t6 == null)
17244 t6 = false;
17245 t7 = t1 ? _null : J.get$logger$x(options);
17246 t8 = ascii;
17247 if (t8 == null)
17248 t8 = $._glyphs === B.C_AsciiGlyphSet;
17249 t8 = new A.NodeToDartLogger(t7, new A.StderrLogger0(color), t8);
17250 if (t1)
17251 t7 = _null;
17252 else {
17253 t7 = J.get$importers$x(options);
17254 t7 = t7 == null ? _null : J.map$1$1$ax(t7, A.compile___parseImporter$closure(), type$.Importer);
17255 }
17256 t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17257 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);
17258 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17259 if (t1 == null)
17260 t1 = false;
17261 t1 = A._convertResult(result, t1);
17262 return t1;
17263 } catch (exception) {
17264 t1 = A.unwrapException(exception);
17265 if (t1 instanceof A.SassException0) {
17266 error = t1;
17267 stackTrace = A.getTraceFromException(exception);
17268 A.throwNodeException(error, ascii, color, stackTrace);
17269 } else
17270 throw exception;
17271 }
17272 },
17273 compileString0(text, options) {
17274 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null,
17275 t1 = options == null,
17276 color0 = t1 ? _null : J.get$alertColor$x(options),
17277 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17278 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17279 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17280 try {
17281 t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
17282 t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
17283 t4 = t1 ? _null : J.get$loadPaths$x(options);
17284 t5 = t1 ? _null : J.get$quietDeps$x(options);
17285 if (t5 == null)
17286 t5 = false;
17287 t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17288 t7 = t1 ? _null : J.get$verbose$x(options);
17289 if (t7 == null)
17290 t7 = false;
17291 t8 = t1 ? _null : J.get$sourceMap$x(options);
17292 if (t8 == null)
17293 t8 = false;
17294 t9 = t1 ? _null : J.get$logger$x(options);
17295 t10 = ascii;
17296 if (t10 == null)
17297 t10 = $._glyphs === B.C_AsciiGlyphSet;
17298 t10 = new A.NodeToDartLogger(t9, new A.StderrLogger0(color), t10);
17299 if (t1)
17300 t9 = _null;
17301 else {
17302 t9 = J.get$importers$x(options);
17303 t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
17304 }
17305 t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
17306 if (t11 == null)
17307 t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
17308 t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17309 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);
17310 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17311 if (t1 == null)
17312 t1 = false;
17313 t1 = A._convertResult(result, t1);
17314 return t1;
17315 } catch (exception) {
17316 t1 = A.unwrapException(exception);
17317 if (t1 instanceof A.SassException0) {
17318 error = t1;
17319 stackTrace = A.getTraceFromException(exception);
17320 A.throwNodeException(error, ascii, color, stackTrace);
17321 } else
17322 throw exception;
17323 }
17324 },
17325 compileAsync1(path, options) {
17326 var ascii,
17327 t1 = options == null,
17328 color = t1 ? null : J.get$alertColor$x(options);
17329 if (color == null)
17330 color = J.$eq$(self.process.stdout.isTTY, true);
17331 ascii = t1 ? null : J.get$alertAscii$x(options);
17332 if (ascii == null)
17333 ascii = $._glyphs === B.C_AsciiGlyphSet;
17334 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
17335 },
17336 compileStringAsync1(text, options) {
17337 var ascii,
17338 t1 = options == null,
17339 color = t1 ? null : J.get$alertColor$x(options);
17340 if (color == null)
17341 color = J.$eq$(self.process.stdout.isTTY, true);
17342 ascii = t1 ? null : J.get$alertAscii$x(options);
17343 if (ascii == null)
17344 ascii = $._glyphs === B.C_AsciiGlyphSet;
17345 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
17346 },
17347 _convertResult(result, includeSourceContents) {
17348 var loadedUrls,
17349 t1 = result._compile_result$_serialize,
17350 t2 = t1.sourceMap,
17351 sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
17352 if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
17353 sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
17354 t2 = result._evaluate.loadedUrls;
17355 loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
17356 t1 = t1.css;
17357 return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
17358 },
17359 _wrapAsyncSassExceptions(promise, ascii, color) {
17360 return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
17361 },
17362 _parseOutputStyle0(style) {
17363 if (style == null || style === "expanded")
17364 return B.OutputStyle_expanded0;
17365 if (style === "compressed")
17366 return B.OutputStyle_compressed0;
17367 A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
17368 },
17369 _parseAsyncImporter(importer) {
17370 var t1, findFileUrl, canonicalize, load;
17371 if (importer == null)
17372 A.jsThrow(new self.Error("Importers may not be null."));
17373 type$.NodeImporter._as(importer);
17374 t1 = J.getInterceptor$x(importer);
17375 findFileUrl = t1.get$findFileUrl(importer);
17376 canonicalize = t1.get$canonicalize(importer);
17377 load = t1.get$load(importer);
17378 if (findFileUrl == null) {
17379 if (canonicalize == null || load == null)
17380 A.jsThrow(new self.Error(string$.An_impu));
17381 return new A.NodeToDartAsyncImporter(canonicalize, load);
17382 } else if (canonicalize != null || load != null)
17383 A.jsThrow(new self.Error(string$.An_impa));
17384 else
17385 return new A.NodeToDartAsyncFileImporter(findFileUrl);
17386 },
17387 _parseImporter0(importer) {
17388 var t1, findFileUrl, canonicalize, load;
17389 if (importer == null)
17390 A.jsThrow(new self.Error("Importers may not be null."));
17391 type$.NodeImporter._as(importer);
17392 t1 = J.getInterceptor$x(importer);
17393 findFileUrl = t1.get$findFileUrl(importer);
17394 canonicalize = t1.get$canonicalize(importer);
17395 load = t1.get$load(importer);
17396 if (findFileUrl == null) {
17397 if (canonicalize == null || load == null)
17398 A.jsThrow(new self.Error(string$.An_impu));
17399 return new A.NodeToDartImporter(canonicalize, load);
17400 } else if (canonicalize != null || load != null)
17401 A.jsThrow(new self.Error(string$.An_impa));
17402 else
17403 return new A.NodeToDartFileImporter(findFileUrl);
17404 },
17405 _parseFunctions0(functions, asynch) {
17406 var result;
17407 if (functions == null)
17408 return B.List_empty20;
17409 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
17410 A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
17411 return result;
17412 },
17413 compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
17414 var _ = this;
17415 _.path = t0;
17416 _.color = t1;
17417 _.options = t2;
17418 _.ascii = t3;
17419 },
17420 compileAsync__closure: function compileAsync__closure() {
17421 },
17422 compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
17423 var _ = this;
17424 _.text = t0;
17425 _.options = t1;
17426 _.color = t2;
17427 _.ascii = t3;
17428 },
17429 compileStringAsync__closure: function compileStringAsync__closure() {
17430 },
17431 compileStringAsync__closure0: function compileStringAsync__closure0() {
17432 },
17433 _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
17434 this.color = t0;
17435 this.ascii = t1;
17436 },
17437 _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
17438 this.asynch = t0;
17439 this.result = t1;
17440 },
17441 _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
17442 this._box_0 = t0;
17443 this.callback = t1;
17444 },
17445 _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
17446 this._box_0 = t0;
17447 this.callback = t1;
17448 },
17449 compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
17450 var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
17451 if (!verbose) {
17452 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17453 logger = terseLogger;
17454 } else
17455 terseLogger = _null;
17456 t1 = nodeImporter == null;
17457 if (t1)
17458 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
17459 else
17460 t2 = false;
17461 if (t2) {
17462 if (importCache == null)
17463 importCache = A.ImportCache$none(logger);
17464 t2 = $.$get$context();
17465 t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
17466 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));
17467 t3.toString;
17468 stylesheet = t3;
17469 } else {
17470 t2 = A.readFile0(path);
17471 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
17472 t4 = $.$get$context();
17473 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
17474 t2 = t4;
17475 }
17476 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);
17477 if (terseLogger != null)
17478 terseLogger.summarize$1$node(!t1);
17479 return result;
17480 },
17481 compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
17482 var terseLogger, stylesheet, result, _null = null;
17483 if (!verbose) {
17484 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17485 logger = terseLogger;
17486 } else
17487 terseLogger = _null;
17488 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
17489 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);
17490 if (terseLogger != null)
17491 terseLogger.summarize$1$node(nodeImporter != null);
17492 return result;
17493 },
17494 _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
17495 var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
17496 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
17497 resultSourceMap = serializeResult.sourceMap;
17498 if (resultSourceMap != null && importCache != null)
17499 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
17500 return new A.CompileResult0(evaluateResult, serializeResult);
17501 },
17502 _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
17503 this.stylesheet = t0;
17504 this.importCache = t1;
17505 },
17506 CompileOptions: function CompileOptions() {
17507 },
17508 CompileStringOptions: function CompileStringOptions() {
17509 },
17510 NodeCompileResult: function NodeCompileResult() {
17511 },
17512 CompileResult0: function CompileResult0(t0, t1) {
17513 this._evaluate = t0;
17514 this._compile_result$_serialize = t1;
17515 },
17516 ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
17517 var _ = this;
17518 _._complex1$_numeratorUnits = t0;
17519 _._complex1$_denominatorUnits = t1;
17520 _._number1$_value = t2;
17521 _.hashCache = null;
17522 _.asSlash = t3;
17523 },
17524 ComplexSelector$0(components, lineBreak) {
17525 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
17526 if (t1.length === 0)
17527 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17528 return new A.ComplexSelector0(t1, lineBreak);
17529 },
17530 ComplexSelector0: function ComplexSelector0(t0, t1) {
17531 var _ = this;
17532 _.components = t0;
17533 _.lineBreak = t1;
17534 _._complex0$_maxSpecificity = _._complex0$_minSpecificity = null;
17535 _._complex0$__ComplexSelector_isInvisible = $;
17536 },
17537 ComplexSelector_isInvisible_closure0: function ComplexSelector_isInvisible_closure0() {
17538 },
17539 Combinator0: function Combinator0(t0) {
17540 this._complex0$_text = t0;
17541 },
17542 CompoundSelector$0(components) {
17543 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
17544 if (t1.length === 0)
17545 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17546 return new A.CompoundSelector0(t1);
17547 },
17548 CompoundSelector0: function CompoundSelector0(t0) {
17549 this.components = t0;
17550 this._compound0$_maxSpecificity = this._compound0$_minSpecificity = null;
17551 },
17552 CompoundSelector_isInvisible_closure0: function CompoundSelector_isInvisible_closure0() {
17553 },
17554 Configuration0: function Configuration0(t0) {
17555 this._configuration$_values = t0;
17556 },
17557 Configuration_toString_closure0: function Configuration_toString_closure0() {
17558 },
17559 ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1) {
17560 this.nodeWithSpan = t0;
17561 this._configuration$_values = t1;
17562 },
17563 ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
17564 this.value = t0;
17565 this.configurationSpan = t1;
17566 this.assignmentNode = t2;
17567 },
17568 ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
17569 var _ = this;
17570 _.name = t0;
17571 _.expression = t1;
17572 _.isGuarded = t2;
17573 _.span = t3;
17574 },
17575 ContentBlock$0($arguments, children, span) {
17576 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17577 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17578 return new A.ContentBlock0("@content", $arguments, span, t1, t2);
17579 },
17580 ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
17581 var _ = this;
17582 _.name = t0;
17583 _.$arguments = t1;
17584 _.span = t2;
17585 _.children = t3;
17586 _.hasDeclarations = t4;
17587 },
17588 ContentRule0: function ContentRule0(t0, t1) {
17589 this.$arguments = t0;
17590 this.span = t1;
17591 },
17592 _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
17593 },
17594 CssParser0: function CssParser0(t0, t1, t2) {
17595 var _ = this;
17596 _._stylesheet0$_isUseAllowed = true;
17597 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
17598 _._stylesheet0$_globalVariables = t0;
17599 _.lastSilentComment = null;
17600 _.scanner = t1;
17601 _.logger = t2;
17602 },
17603 DebugRule0: function DebugRule0(t0, t1) {
17604 this.expression = t0;
17605 this.span = t1;
17606 },
17607 ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
17608 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
17609 if (parsedAsCustomProperty)
17610 if (!J.startsWith$1$s($name.get$value($name), "--"))
17611 A.throwExpression(A.ArgumentError$(string$.parsed, null));
17612 else if (!(value.get$value(value) instanceof A.SassString0))
17613 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
17614 return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
17615 },
17616 ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
17617 var _ = this;
17618 _.name = t0;
17619 _.value = t1;
17620 _.parsedAsCustomProperty = t2;
17621 _.valueSpanForMap = t3;
17622 _.span = t4;
17623 _._node1$_indexInParent = _._node1$_parent = null;
17624 _.isGroupEnd = false;
17625 },
17626 Declaration$0($name, value, span) {
17627 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17628 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
17629 return new A.Declaration0($name, value, span, null, false);
17630 },
17631 Declaration$nested0($name, children, span, value) {
17632 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17633 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17634 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17635 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
17636 return new A.Declaration0($name, value, span, t1, t2);
17637 },
17638 Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
17639 var _ = this;
17640 _.name = t0;
17641 _.value = t1;
17642 _.span = t2;
17643 _.children = t3;
17644 _.hasDeclarations = t4;
17645 },
17646 SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
17647 this.name = t0;
17648 this.value = t1;
17649 this.span = t2;
17650 },
17651 DynamicImport0: function DynamicImport0(t0, t1) {
17652 this.urlString = t0;
17653 this.span = t1;
17654 },
17655 EachRule$0(variables, list, children, span) {
17656 var t1 = A.List_List$unmodifiable(variables, type$.String),
17657 t2 = A.List_List$unmodifiable(children, type$.Statement_2),
17658 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
17659 return new A.EachRule0(t1, list, span, t2, t3);
17660 },
17661 EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
17662 var _ = this;
17663 _.variables = t0;
17664 _.list = t1;
17665 _.span = t2;
17666 _.children = t3;
17667 _.hasDeclarations = t4;
17668 },
17669 EachRule_toString_closure0: function EachRule_toString_closure0() {
17670 },
17671 EmptyExtensionStore0: function EmptyExtensionStore0() {
17672 },
17673 Environment$0() {
17674 var t1 = type$.String,
17675 t2 = type$.Module_Callable_2,
17676 t3 = type$.AstNode_2,
17677 t4 = type$.int,
17678 t5 = type$.Callable_2,
17679 t6 = type$.JSArray_Map_String_Callable_2;
17680 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);
17681 },
17682 Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
17683 var t1 = type$.String,
17684 t2 = type$.int;
17685 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);
17686 },
17687 _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
17688 var t1, t2, t3, t4, t5, t6;
17689 if (forwarded == null)
17690 forwarded = B.Set_empty2;
17691 t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
17692 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);
17693 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);
17694 t4 = type$.Map_String_Callable_2;
17695 t5 = type$.Callable_2;
17696 t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
17697 t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
17698 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
17699 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()));
17700 },
17701 _EnvironmentModule__makeModulesByVariable1(forwarded) {
17702 var modulesByVariable, t1, t2, t3, t4, t5;
17703 if (forwarded.get$isEmpty(forwarded))
17704 return B.Map_empty6;
17705 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
17706 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
17707 t2 = t1.get$current(t1);
17708 if (t2 instanceof A._EnvironmentModule1) {
17709 for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
17710 t4 = t3.get$current(t3);
17711 t5 = t4.get$variables();
17712 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
17713 }
17714 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
17715 } else {
17716 t3 = t2.get$variables();
17717 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
17718 }
17719 }
17720 return modulesByVariable;
17721 },
17722 _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
17723 var t1, t2, t3;
17724 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
17725 if (otherMaps.get$isEmpty(otherMaps))
17726 return localMap;
17727 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
17728 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
17729 t3 = t2.get$current(t2);
17730 if (t3.get$isNotEmpty(t3))
17731 t1.push(t3);
17732 }
17733 t1.push(localMap);
17734 if (t1.length === 1)
17735 return localMap;
17736 return A.MergedMapView$0(t1, type$.String, $V);
17737 },
17738 _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
17739 return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
17740 },
17741 Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17742 var _ = this;
17743 _._environment0$_modules = t0;
17744 _._environment0$_namespaceNodes = t1;
17745 _._environment0$_globalModules = t2;
17746 _._environment0$_importedModules = t3;
17747 _._environment0$_forwardedModules = t4;
17748 _._environment0$_nestedForwardedModules = t5;
17749 _._environment0$_allModules = t6;
17750 _._environment0$_variables = t7;
17751 _._environment0$_variableNodes = t8;
17752 _._environment0$_variableIndices = t9;
17753 _._environment0$_functions = t10;
17754 _._environment0$_functionIndices = t11;
17755 _._environment0$_mixins = t12;
17756 _._environment0$_mixinIndices = t13;
17757 _._environment0$_content = t14;
17758 _._environment0$_inMixin = false;
17759 _._environment0$_inSemiGlobalScope = true;
17760 _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
17761 },
17762 Environment_importForwards_closure2: function Environment_importForwards_closure2() {
17763 },
17764 Environment_importForwards_closure3: function Environment_importForwards_closure3() {
17765 },
17766 Environment_importForwards_closure4: function Environment_importForwards_closure4() {
17767 },
17768 Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
17769 this.name = t0;
17770 },
17771 Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
17772 this.$this = t0;
17773 this.name = t1;
17774 },
17775 Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
17776 this.name = t0;
17777 },
17778 Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
17779 this.$this = t0;
17780 this.name = t1;
17781 },
17782 Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
17783 this.name = t0;
17784 },
17785 Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
17786 this.name = t0;
17787 },
17788 Environment_toModule_closure0: function Environment_toModule_closure0() {
17789 },
17790 Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
17791 },
17792 Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
17793 this.callback = t0;
17794 this.T = t1;
17795 },
17796 Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
17797 this.entry = t0;
17798 this.T = t1;
17799 },
17800 _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
17801 var _ = this;
17802 _.upstream = t0;
17803 _.variables = t1;
17804 _.variableNodes = t2;
17805 _.functions = t3;
17806 _.mixins = t4;
17807 _.extensionStore = t5;
17808 _.css = t6;
17809 _.transitivelyContainsCss = t7;
17810 _.transitivelyContainsExtensions = t8;
17811 _._environment0$_environment = t9;
17812 _._environment0$_modulesByVariable = t10;
17813 },
17814 _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
17815 },
17816 _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
17817 },
17818 _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
17819 },
17820 _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
17821 },
17822 _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
17823 },
17824 _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
17825 },
17826 ErrorRule0: function ErrorRule0(t0, t1) {
17827 this.expression = t0;
17828 this.span = t1;
17829 },
17830 _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
17831 var t4,
17832 t1 = type$.Uri,
17833 t2 = type$.Module_Callable_2,
17834 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
17835 if (nodeImporter == null)
17836 t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
17837 else
17838 t4 = null;
17839 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);
17840 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
17841 return t1;
17842 },
17843 _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17844 var _ = this;
17845 _._evaluate0$_importCache = t0;
17846 _._evaluate0$_nodeImporter = t1;
17847 _._evaluate0$_builtInFunctions = t2;
17848 _._evaluate0$_builtInModules = t3;
17849 _._evaluate0$_modules = t4;
17850 _._evaluate0$_moduleNodes = t5;
17851 _._evaluate0$_logger = t6;
17852 _._evaluate0$_warningsEmitted = t7;
17853 _._evaluate0$_quietDeps = t8;
17854 _._evaluate0$_sourceMap = t9;
17855 _._evaluate0$_environment = t10;
17856 _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
17857 _._evaluate0$_member = "root stylesheet";
17858 _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
17859 _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
17860 _._evaluate0$_loadedUrls = t11;
17861 _._evaluate0$_activeModules = t12;
17862 _._evaluate0$_stack = t13;
17863 _._evaluate0$_importer = null;
17864 _._evaluate0$_inDependency = false;
17865 _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
17866 _._evaluate0$_configuration = t14;
17867 },
17868 _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
17869 this.$this = t0;
17870 },
17871 _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
17872 this.$this = t0;
17873 },
17874 _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
17875 this.$this = t0;
17876 },
17877 _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
17878 this.$this = t0;
17879 },
17880 _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
17881 this.$this = t0;
17882 },
17883 _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
17884 this.$this = t0;
17885 },
17886 _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
17887 this.$this = t0;
17888 },
17889 _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
17890 this.$this = t0;
17891 },
17892 _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
17893 this.$this = t0;
17894 this.name = t1;
17895 this.module = t2;
17896 },
17897 _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
17898 this.$this = t0;
17899 },
17900 _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
17901 this.$this = t0;
17902 },
17903 _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
17904 this.values = t0;
17905 this.span = t1;
17906 this.callableNode = t2;
17907 },
17908 _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
17909 this.$this = t0;
17910 },
17911 _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
17912 this.$this = t0;
17913 this.node = t1;
17914 this.importer = t2;
17915 },
17916 _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
17917 this.callback = t0;
17918 this.builtInModule = t1;
17919 },
17920 _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
17921 var _ = this;
17922 _.$this = t0;
17923 _.url = t1;
17924 _.nodeWithSpan = t2;
17925 _.baseUrl = t3;
17926 _.namesInErrors = t4;
17927 _.configuration = t5;
17928 _.callback = t6;
17929 },
17930 _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
17931 this.$this = t0;
17932 this.message = t1;
17933 },
17934 _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
17935 var _ = this;
17936 _.$this = t0;
17937 _.importer = t1;
17938 _.stylesheet = t2;
17939 _.extensionStore = t3;
17940 _.configuration = t4;
17941 _.css = t5;
17942 },
17943 _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
17944 },
17945 _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
17946 this.selectors = t0;
17947 },
17948 _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
17949 },
17950 _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
17951 this.originalSelectors = t0;
17952 },
17953 _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
17954 },
17955 _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
17956 this.seen = t0;
17957 this.sorted = t1;
17958 },
17959 _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
17960 this.$this = t0;
17961 this.resolved = t1;
17962 },
17963 _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
17964 this.$this = t0;
17965 this.node = t1;
17966 },
17967 _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
17968 this.$this = t0;
17969 this.node = t1;
17970 },
17971 _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
17972 this.$this = t0;
17973 this.newParent = t1;
17974 this.node = t2;
17975 },
17976 _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
17977 this.$this = t0;
17978 this.innerScope = t1;
17979 },
17980 _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
17981 this.$this = t0;
17982 this.innerScope = t1;
17983 },
17984 _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
17985 this.innerScope = t0;
17986 this.callback = t1;
17987 },
17988 _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
17989 this.$this = t0;
17990 this.innerScope = t1;
17991 },
17992 _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
17993 },
17994 _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
17995 this.$this = t0;
17996 this.innerScope = t1;
17997 },
17998 _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
17999 this.$this = t0;
18000 this.content = t1;
18001 },
18002 _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
18003 this.$this = t0;
18004 },
18005 _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
18006 this.$this = t0;
18007 this.children = t1;
18008 },
18009 _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
18010 this.$this = t0;
18011 this.node = t1;
18012 this.nodeWithSpan = t2;
18013 },
18014 _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
18015 this.$this = t0;
18016 this.node = t1;
18017 this.nodeWithSpan = t2;
18018 },
18019 _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
18020 var _ = this;
18021 _.$this = t0;
18022 _.list = t1;
18023 _.setVariables = t2;
18024 _.node = t3;
18025 },
18026 _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
18027 this.$this = t0;
18028 this.setVariables = t1;
18029 this.node = t2;
18030 },
18031 _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
18032 this.$this = t0;
18033 },
18034 _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
18035 this.$this = t0;
18036 this.targetText = t1;
18037 },
18038 _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
18039 this.$this = t0;
18040 },
18041 _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
18042 this.$this = t0;
18043 this.children = t1;
18044 },
18045 _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
18046 this.$this = t0;
18047 this.children = t1;
18048 },
18049 _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
18050 },
18051 _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
18052 this.$this = t0;
18053 this.node = t1;
18054 },
18055 _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
18056 this.$this = t0;
18057 this.node = t1;
18058 },
18059 _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
18060 this.fromNumber = t0;
18061 },
18062 _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
18063 this.toNumber = t0;
18064 this.fromNumber = t1;
18065 },
18066 _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
18067 var _ = this;
18068 _._box_0 = t0;
18069 _.$this = t1;
18070 _.node = t2;
18071 _.from = t3;
18072 _.direction = t4;
18073 _.fromNumber = t5;
18074 },
18075 _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
18076 this.$this = t0;
18077 },
18078 _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
18079 this.$this = t0;
18080 this.node = t1;
18081 },
18082 _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
18083 this.$this = t0;
18084 this.node = t1;
18085 },
18086 _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
18087 this._box_0 = t0;
18088 this.$this = t1;
18089 },
18090 _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
18091 this.$this = t0;
18092 },
18093 _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
18094 this.$this = t0;
18095 this.$import = t1;
18096 },
18097 _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
18098 this.$this = t0;
18099 },
18100 _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
18101 },
18102 _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
18103 },
18104 _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
18105 var _ = this;
18106 _.$this = t0;
18107 _.result = t1;
18108 _.stylesheet = t2;
18109 _.loadsUserDefinedModules = t3;
18110 _.environment = t4;
18111 _.children = t5;
18112 },
18113 _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
18114 this.$this = t0;
18115 this.node = t1;
18116 },
18117 _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
18118 this.node = t0;
18119 },
18120 _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
18121 this.$this = t0;
18122 },
18123 _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
18124 var _ = this;
18125 _.$this = t0;
18126 _.contentCallable = t1;
18127 _.mixin = t2;
18128 _.nodeWithSpan = t3;
18129 },
18130 _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
18131 this.$this = t0;
18132 this.mixin = t1;
18133 this.nodeWithSpan = t2;
18134 },
18135 _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
18136 this.$this = t0;
18137 this.mixin = t1;
18138 this.nodeWithSpan = t2;
18139 },
18140 _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
18141 this.$this = t0;
18142 this.statement = t1;
18143 },
18144 _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
18145 this.$this = t0;
18146 this.queries = t1;
18147 },
18148 _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3) {
18149 var _ = this;
18150 _.$this = t0;
18151 _.mergedQueries = t1;
18152 _.queries = t2;
18153 _.node = t3;
18154 },
18155 _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
18156 this.$this = t0;
18157 this.node = t1;
18158 },
18159 _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
18160 this.$this = t0;
18161 this.node = t1;
18162 },
18163 _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
18164 this.mergedQueries = t0;
18165 },
18166 _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
18167 this.$this = t0;
18168 this.resolved = t1;
18169 },
18170 _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13(t0, t1) {
18171 this.$this = t0;
18172 this.selectorText = t1;
18173 },
18174 _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
18175 this.$this = t0;
18176 this.node = t1;
18177 },
18178 _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
18179 },
18180 _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
18181 this.$this = t0;
18182 this.selectorText = t1;
18183 },
18184 _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17(t0, t1) {
18185 this._box_0 = t0;
18186 this.$this = t1;
18187 },
18188 _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1, t2) {
18189 this.$this = t0;
18190 this.rule = t1;
18191 this.node = t2;
18192 },
18193 _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
18194 this.$this = t0;
18195 this.node = t1;
18196 },
18197 _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19() {
18198 },
18199 _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
18200 this.$this = t0;
18201 this.node = t1;
18202 },
18203 _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
18204 this.$this = t0;
18205 this.node = t1;
18206 },
18207 _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
18208 },
18209 _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
18210 this.$this = t0;
18211 this.node = t1;
18212 this.override = t2;
18213 },
18214 _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
18215 this.$this = t0;
18216 this.node = t1;
18217 },
18218 _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
18219 this.$this = t0;
18220 this.node = t1;
18221 this.value = t2;
18222 },
18223 _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
18224 this.$this = t0;
18225 this.node = t1;
18226 },
18227 _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
18228 this.$this = t0;
18229 this.node = t1;
18230 },
18231 _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
18232 this.$this = t0;
18233 this.node = t1;
18234 },
18235 _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
18236 this.$this = t0;
18237 },
18238 _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
18239 this.$this = t0;
18240 this.node = t1;
18241 },
18242 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
18243 },
18244 _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
18245 this.$this = t0;
18246 this.node = t1;
18247 },
18248 _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
18249 this.node = t0;
18250 this.operand = t1;
18251 },
18252 _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
18253 this.$this = t0;
18254 this.node = t1;
18255 this.inMinMax = t2;
18256 },
18257 _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
18258 this.$this = t0;
18259 },
18260 _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
18261 this.$this = t0;
18262 this.node = t1;
18263 },
18264 _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
18265 this._box_0 = t0;
18266 this.$this = t1;
18267 this.node = t2;
18268 },
18269 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
18270 this.$this = t0;
18271 this.node = t1;
18272 this.$function = t2;
18273 },
18274 _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
18275 var _ = this;
18276 _.$this = t0;
18277 _.callable = t1;
18278 _.evaluated = t2;
18279 _.nodeWithSpan = t3;
18280 _.run = t4;
18281 _.V = t5;
18282 },
18283 _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
18284 var _ = this;
18285 _.$this = t0;
18286 _.evaluated = t1;
18287 _.callable = t2;
18288 _.nodeWithSpan = t3;
18289 _.run = t4;
18290 _.V = t5;
18291 },
18292 _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
18293 var _ = this;
18294 _.$this = t0;
18295 _.evaluated = t1;
18296 _.callable = t2;
18297 _.nodeWithSpan = t3;
18298 _.run = t4;
18299 _.V = t5;
18300 },
18301 _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
18302 },
18303 _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
18304 this.$this = t0;
18305 this.callable = t1;
18306 },
18307 _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
18308 this.overload = t0;
18309 this.evaluated = t1;
18310 this.namedSet = t2;
18311 },
18312 _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
18313 },
18314 _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
18315 },
18316 _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
18317 this.$this = t0;
18318 this.restNodeForSpan = t1;
18319 },
18320 _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
18321 var _ = this;
18322 _.$this = t0;
18323 _.named = t1;
18324 _.restNodeForSpan = t2;
18325 _.namedNodes = t3;
18326 },
18327 _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
18328 },
18329 _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
18330 this.restArgs = t0;
18331 },
18332 _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
18333 this.$this = t0;
18334 this.restNodeForSpan = t1;
18335 this.restArgs = t2;
18336 },
18337 _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
18338 var _ = this;
18339 _.$this = t0;
18340 _.named = t1;
18341 _.restNodeForSpan = t2;
18342 _.restArgs = t3;
18343 },
18344 _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
18345 this.$this = t0;
18346 this.keywordRestNodeForSpan = t1;
18347 this.keywordRestArgs = t2;
18348 },
18349 _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
18350 var _ = this;
18351 _.$this = t0;
18352 _.values = t1;
18353 _.convert = t2;
18354 _.expressionNode = t3;
18355 _.map = t4;
18356 _.nodeWithSpan = t5;
18357 },
18358 _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
18359 this.$arguments = t0;
18360 this.positional = t1;
18361 this.named = t2;
18362 },
18363 _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
18364 this.$this = t0;
18365 },
18366 _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
18367 this.$this = t0;
18368 this.node = t1;
18369 },
18370 _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
18371 },
18372 _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
18373 this.$this = t0;
18374 this.node = t1;
18375 },
18376 _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
18377 },
18378 _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
18379 this.$this = t0;
18380 this.node = t1;
18381 },
18382 _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2) {
18383 this.$this = t0;
18384 this.mergedQueries = t1;
18385 this.node = t2;
18386 },
18387 _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
18388 this.$this = t0;
18389 this.node = t1;
18390 },
18391 _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
18392 this.$this = t0;
18393 this.node = t1;
18394 },
18395 _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
18396 this.mergedQueries = t0;
18397 },
18398 _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
18399 this.$this = t0;
18400 this.rule = t1;
18401 this.node = t2;
18402 },
18403 _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
18404 this.$this = t0;
18405 this.node = t1;
18406 },
18407 _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
18408 },
18409 _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
18410 this.$this = t0;
18411 this.node = t1;
18412 },
18413 _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
18414 this.$this = t0;
18415 this.node = t1;
18416 },
18417 _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
18418 },
18419 _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
18420 this.$this = t0;
18421 this.warnForColor = t1;
18422 this.interpolation = t2;
18423 },
18424 _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
18425 this.value = t0;
18426 this.quote = t1;
18427 },
18428 _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
18429 this.$this = t0;
18430 this.expression = t1;
18431 },
18432 _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
18433 },
18434 _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
18435 this.$this = t0;
18436 },
18437 _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
18438 this.$this = t0;
18439 },
18440 _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
18441 this._evaluate0$_visitor = t0;
18442 },
18443 _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
18444 },
18445 _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
18446 this.hasBeenMerged = t0;
18447 },
18448 _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
18449 },
18450 _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
18451 },
18452 _EvaluationContext1: function _EvaluationContext1(t0, t1) {
18453 this._evaluate0$_visitor = t0;
18454 this._evaluate0$_defaultWarnNodeWithSpan = t1;
18455 },
18456 _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
18457 var _ = this;
18458 _.positional = t0;
18459 _.positionalNodes = t1;
18460 _.named = t2;
18461 _.namedNodes = t3;
18462 _.separator = t4;
18463 },
18464 _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
18465 this.stylesheet = t0;
18466 this.importer = t1;
18467 this.isDependency = t2;
18468 },
18469 throwNodeException(exception, ascii, color, trace) {
18470 var wasAscii, jsException, t1, trace0;
18471 trace = trace;
18472 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
18473 $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18474 try {
18475 t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
18476 jsException = type$._NodeException._as(t1);
18477 trace0 = A.getTrace0(exception);
18478 trace = trace0 == null ? trace : trace0;
18479 if (trace != null)
18480 A.attachJsStack(jsException, trace);
18481 A.jsThrow(jsException);
18482 } finally {
18483 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18484 }
18485 },
18486 _NodeException: function _NodeException() {
18487 },
18488 exceptionClass_closure: function exceptionClass_closure() {
18489 },
18490 exceptionClass__closure: function exceptionClass__closure() {
18491 },
18492 exceptionClass__closure0: function exceptionClass__closure0() {
18493 },
18494 exceptionClass__closure1: function exceptionClass__closure1() {
18495 },
18496 SassException$0(message, span) {
18497 return new A.SassException0(message, span);
18498 },
18499 MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
18500 return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
18501 },
18502 SassFormatException$0(message, span) {
18503 return new A.SassFormatException0(message, span);
18504 },
18505 SassScriptException$0(message) {
18506 return new A.SassScriptException0(message);
18507 },
18508 MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
18509 return new A.MultiSpanSassScriptException0(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
18510 },
18511 SassException0: function SassException0(t0, t1) {
18512 this._span_exception$_message = t0;
18513 this._span = t1;
18514 },
18515 MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
18516 var _ = this;
18517 _.primaryLabel = t0;
18518 _.secondarySpans = t1;
18519 _._span_exception$_message = t2;
18520 _._span = t3;
18521 },
18522 SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
18523 this.trace = t0;
18524 this._span_exception$_message = t1;
18525 this._span = t2;
18526 },
18527 MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
18528 var _ = this;
18529 _.trace = t0;
18530 _.primaryLabel = t1;
18531 _.secondarySpans = t2;
18532 _._span_exception$_message = t3;
18533 _._span = t4;
18534 },
18535 SassFormatException0: function SassFormatException0(t0, t1) {
18536 this._span_exception$_message = t0;
18537 this._span = t1;
18538 },
18539 SassScriptException0: function SassScriptException0(t0) {
18540 this.message = t0;
18541 },
18542 MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
18543 this.primaryLabel = t0;
18544 this.secondarySpans = t1;
18545 this.message = t2;
18546 },
18547 Exports: function Exports() {
18548 },
18549 LoggerNamespace: function LoggerNamespace() {
18550 },
18551 ExtendRule0: function ExtendRule0(t0, t1, t2) {
18552 this.selector = t0;
18553 this.isOptional = t1;
18554 this.span = t2;
18555 },
18556 Extension0: function Extension0(t0, t1, t2, t3, t4) {
18557 var _ = this;
18558 _.extender = t0;
18559 _.target = t1;
18560 _.mediaContext = t2;
18561 _.isOptional = t3;
18562 _.span = t4;
18563 },
18564 Extender0: function Extender0(t0, t1, t2) {
18565 var _ = this;
18566 _.selector = t0;
18567 _.isOriginal = t1;
18568 _._extension$_extension = null;
18569 _.span = t2;
18570 },
18571 ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
18572 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
18573 extender = A.ExtensionStore$_mode0(mode);
18574 if (!selector.get$isInvisible())
18575 extender._extension_store$_originals.addAll$1(0, selector.components);
18576 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) {
18577 complex = t1[_i];
18578 t10 = complex.components;
18579 if (t10.length !== 1)
18580 throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + "."));
18581 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
18582 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
18583 simple = t10[_i0];
18584 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
18585 for (_i1 = 0; _i1 < t4; ++_i1) {
18586 complex = t3[_i1];
18587 if (complex._complex0$_maxSpecificity == null)
18588 complex._complex0$_computeSpecificity$0();
18589 complex._complex0$_maxSpecificity.toString;
18590 t14 = new A.Extender0(complex, false, span);
18591 t15 = new A.Extension0(t14, simple, null, true, span);
18592 t14._extension$_extension = t15;
18593 t13.$indexSet(0, complex, t15);
18594 }
18595 t11.$indexSet(0, simple, t13);
18596 }
18597 selector = extender._extension_store$_extendList$3(selector, span, t11);
18598 }
18599 return selector;
18600 },
18601 ExtensionStore$0() {
18602 var t1 = type$.SimpleSelector_2;
18603 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);
18604 },
18605 ExtensionStore$_mode0(_mode) {
18606 var t1 = type$.SimpleSelector_2;
18607 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);
18608 },
18609 ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
18610 var _ = this;
18611 _._extension_store$_selectors = t0;
18612 _._extension_store$_extensions = t1;
18613 _._extension_store$_extensionsByExtender = t2;
18614 _._extension_store$_mediaContexts = t3;
18615 _._extension_store$_sourceSpecificity = t4;
18616 _._extension_store$_originals = t5;
18617 _._extension_store$_mode = t6;
18618 },
18619 ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
18620 },
18621 ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
18622 },
18623 ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
18624 },
18625 ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
18626 },
18627 ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
18628 this.complex = t0;
18629 },
18630 ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
18631 },
18632 ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
18633 },
18634 ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
18635 this._box_0 = t0;
18636 this.$this = t1;
18637 },
18638 ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
18639 var _ = this;
18640 _._box_0 = t0;
18641 _.existingSources = t1;
18642 _.extensionsForTarget = t2;
18643 _.selectorsForTarget = t3;
18644 _.target = t4;
18645 },
18646 ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
18647 },
18648 ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
18649 this._box_0 = t0;
18650 this.$this = t1;
18651 },
18652 ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
18653 this.$this = t0;
18654 this.newExtensions = t1;
18655 },
18656 ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
18657 this.$this = t0;
18658 this.newExtensions = t1;
18659 },
18660 ExtensionStore__extendComplex_closure1: function ExtensionStore__extendComplex_closure1(t0) {
18661 this.complex = t0;
18662 },
18663 ExtensionStore__extendComplex_closure2: function ExtensionStore__extendComplex_closure2(t0, t1, t2) {
18664 this._box_0 = t0;
18665 this.$this = t1;
18666 this.complex = t2;
18667 },
18668 ExtensionStore__extendComplex__closure1: function ExtensionStore__extendComplex__closure1() {
18669 },
18670 ExtensionStore__extendComplex__closure2: function ExtensionStore__extendComplex__closure2(t0, t1, t2, t3) {
18671 var _ = this;
18672 _._box_0 = t0;
18673 _.$this = t1;
18674 _.complex = t2;
18675 _.path = t3;
18676 },
18677 ExtensionStore__extendComplex___closure0: function ExtensionStore__extendComplex___closure0() {
18678 },
18679 ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
18680 this.mediaQueryContext = t0;
18681 },
18682 ExtensionStore__extendCompound_closure5: function ExtensionStore__extendCompound_closure5(t0, t1) {
18683 this._box_1 = t0;
18684 this.mediaQueryContext = t1;
18685 },
18686 ExtensionStore__extendCompound__closure1: function ExtensionStore__extendCompound__closure1() {
18687 },
18688 ExtensionStore__extendCompound__closure2: function ExtensionStore__extendCompound__closure2(t0) {
18689 this._box_0 = t0;
18690 },
18691 ExtensionStore__extendCompound_closure6: function ExtensionStore__extendCompound_closure6() {
18692 },
18693 ExtensionStore__extendCompound_closure7: function ExtensionStore__extendCompound_closure7() {
18694 },
18695 ExtensionStore__extendCompound_closure8: function ExtensionStore__extendCompound_closure8(t0) {
18696 this.original = t0;
18697 },
18698 ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
18699 var _ = this;
18700 _.$this = t0;
18701 _.extensions = t1;
18702 _.targetsUsed = t2;
18703 _.simpleSpan = t3;
18704 },
18705 ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
18706 this.$this = t0;
18707 this.withoutPseudo = t1;
18708 this.simpleSpan = t2;
18709 },
18710 ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
18711 },
18712 ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
18713 },
18714 ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
18715 },
18716 ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
18717 },
18718 ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
18719 this.pseudo = t0;
18720 },
18721 ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
18722 this.pseudo = t0;
18723 },
18724 ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
18725 this._box_0 = t0;
18726 this.complex1 = t1;
18727 },
18728 ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
18729 this._box_0 = t0;
18730 this.complex1 = t1;
18731 },
18732 ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
18733 var _ = this;
18734 _.$this = t0;
18735 _.newSelectors = t1;
18736 _.oldToNewSelectors = t2;
18737 _.newMediaContexts = t3;
18738 },
18739 FiberClass: function FiberClass() {
18740 },
18741 Fiber: function Fiber() {
18742 },
18743 NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
18744 this._file0$_findFileUrl = t0;
18745 },
18746 FilesystemImporter$(loadPath) {
18747 var _null = null;
18748 return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
18749 },
18750 FilesystemImporter0: function FilesystemImporter0(t0) {
18751 this._filesystem$_loadPath = t0;
18752 },
18753 FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
18754 },
18755 ForRule$0(variable, from, to, children, span, exclusive) {
18756 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18757 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18758 return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
18759 },
18760 ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
18761 var _ = this;
18762 _.variable = t0;
18763 _.from = t1;
18764 _.to = t2;
18765 _.isExclusive = t3;
18766 _.span = t4;
18767 _.children = t5;
18768 _.hasDeclarations = t6;
18769 },
18770 ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
18771 var _ = this;
18772 _.url = t0;
18773 _.shownMixinsAndFunctions = t1;
18774 _.shownVariables = t2;
18775 _.hiddenMixinsAndFunctions = t3;
18776 _.hiddenVariables = t4;
18777 _.prefix = t5;
18778 _.configuration = t6;
18779 _.span = t7;
18780 },
18781 ForwardedModuleView_ifNecessary0(inner, rule, $T) {
18782 var t1;
18783 if (rule.prefix == null)
18784 if (rule.shownMixinsAndFunctions == null)
18785 if (rule.shownVariables == null) {
18786 t1 = rule.hiddenMixinsAndFunctions;
18787 if (t1 == null)
18788 t1 = null;
18789 else {
18790 t1 = t1._base;
18791 t1 = t1.get$isEmpty(t1);
18792 }
18793 if (t1 === true) {
18794 t1 = rule.hiddenVariables;
18795 if (t1 == null)
18796 t1 = null;
18797 else {
18798 t1 = t1._base;
18799 t1 = t1.get$isEmpty(t1);
18800 }
18801 t1 = t1 === true;
18802 } else
18803 t1 = false;
18804 } else
18805 t1 = false;
18806 else
18807 t1 = false;
18808 else
18809 t1 = false;
18810 if (t1)
18811 return inner;
18812 else
18813 return A.ForwardedModuleView$0(inner, rule, $T);
18814 },
18815 ForwardedModuleView$0(_inner, _rule, $T) {
18816 var t1 = _rule.prefix,
18817 t2 = _rule.shownVariables,
18818 t3 = _rule.hiddenVariables,
18819 t4 = _rule.shownMixinsAndFunctions,
18820 t5 = _rule.hiddenMixinsAndFunctions;
18821 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>"));
18822 },
18823 ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
18824 var t2,
18825 t1 = prefix == null;
18826 if (t1)
18827 if (safelist == null)
18828 if (blocklist != null) {
18829 t2 = blocklist._base;
18830 t2 = t2.get$isEmpty(t2);
18831 } else
18832 t2 = true;
18833 else
18834 t2 = false;
18835 else
18836 t2 = false;
18837 if (t2)
18838 return map;
18839 if (!t1)
18840 map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
18841 if (safelist != null)
18842 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>"));
18843 else {
18844 if (blocklist != null) {
18845 t1 = blocklist._base;
18846 t1 = t1.get$isNotEmpty(t1);
18847 } else
18848 t1 = false;
18849 if (t1)
18850 map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
18851 }
18852 return map;
18853 },
18854 ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
18855 var _ = this;
18856 _._forwarded_view0$_inner = t0;
18857 _._forwarded_view0$_rule = t1;
18858 _.variables = t2;
18859 _.variableNodes = t3;
18860 _.functions = t4;
18861 _.mixins = t5;
18862 _.$ti = t6;
18863 },
18864 FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
18865 var _ = this;
18866 _.namespace = t0;
18867 _.originalName = t1;
18868 _.$arguments = t2;
18869 _.span = t3;
18870 },
18871 JSFunction0: function JSFunction0() {
18872 },
18873 SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
18874 this.name = t0;
18875 this.$arguments = t1;
18876 this.span = t2;
18877 },
18878 functionClass_closure: function functionClass_closure() {
18879 },
18880 functionClass__closure: function functionClass__closure() {
18881 },
18882 functionClass__closure0: function functionClass__closure0() {
18883 },
18884 SassFunction0: function SassFunction0(t0) {
18885 this.callable = t0;
18886 },
18887 FunctionRule$0($name, $arguments, children, span, comment) {
18888 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18889 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18890 return new A.FunctionRule0($name, $arguments, span, t1, t2);
18891 },
18892 FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
18893 var _ = this;
18894 _.name = t0;
18895 _.$arguments = t1;
18896 _.span = t2;
18897 _.children = t3;
18898 _.hasDeclarations = t4;
18899 },
18900 unifyComplex0(complexes) {
18901 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
18902 t1 = J.getInterceptor$asx(complexes);
18903 if (t1.get$length(complexes) === 1)
18904 return complexes;
18905 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
18906 base = J.get$last$ax(t2.get$current(t2));
18907 if (!(base instanceof A.CompoundSelector0))
18908 return null;
18909 if (unifiedBase == null)
18910 unifiedBase = base.components;
18911 else
18912 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
18913 unifiedBase = t3[_i].unify$1(unifiedBase);
18914 if (unifiedBase == null)
18915 return null;
18916 }
18917 }
18918 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure0(), type$.List_ComplexSelectorComponent_2);
18919 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
18920 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
18921 unifiedBase.toString;
18922 J.add$1$ax(t1, A.CompoundSelector$0(unifiedBase));
18923 return A.weave0(complexesWithoutBases);
18924 },
18925 unifyCompound0(compound1, compound2) {
18926 var t1, result, _i, unified;
18927 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
18928 unified = compound1[_i].unify$1(result);
18929 if (unified == null)
18930 return null;
18931 }
18932 return A.CompoundSelector$0(result);
18933 },
18934 unifyUniversalAndElement0(selector1, selector2) {
18935 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
18936 _s45_ = string$.must_b;
18937 if (selector1 instanceof A.UniversalSelector0) {
18938 namespace1 = selector1.namespace;
18939 name1 = _null;
18940 } else if (selector1 instanceof A.TypeSelector0) {
18941 t1 = selector1.name;
18942 namespace1 = t1.namespace;
18943 name1 = t1.name;
18944 } else
18945 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
18946 if (selector2 instanceof A.UniversalSelector0) {
18947 namespace2 = selector2.namespace;
18948 name2 = _null;
18949 } else if (selector2 instanceof A.TypeSelector0) {
18950 t1 = selector2.name;
18951 namespace2 = t1.namespace;
18952 name2 = t1.name;
18953 } else
18954 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
18955 if (namespace1 == namespace2 || namespace2 === "*")
18956 namespace = namespace1;
18957 else {
18958 if (namespace1 !== "*")
18959 return _null;
18960 namespace = namespace2;
18961 }
18962 if (name1 == name2 || name2 == null)
18963 $name = name1;
18964 else {
18965 if (!(name1 == null || name1 === "*"))
18966 return _null;
18967 $name = name2;
18968 }
18969 return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
18970 },
18971 weave0(complexes) {
18972 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
18973 t1 = type$.JSArray_List_ComplexSelectorComponent_2,
18974 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
18975 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();) {
18976 t4 = t2.__internal$_current;
18977 if (t4 == null)
18978 t4 = t3._as(t4);
18979 t5 = J.getInterceptor$asx(t4);
18980 if (t5.get$isEmpty(t4))
18981 continue;
18982 target = t5.get$last(t4);
18983 if (t5.get$length(t4) === 1) {
18984 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
18985 J.add$1$ax(prefixes[_i], target);
18986 continue;
18987 }
18988 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
18989 newPrefixes = A._setArrayType([], t1);
18990 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
18991 parentPrefixes = A._weaveParents0(prefixes[_i], parents);
18992 if (parentPrefixes == null)
18993 continue;
18994 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
18995 t6 = t5.get$current(t5);
18996 J.add$1$ax(t6, target);
18997 newPrefixes.push(t6);
18998 }
18999 }
19000 prefixes = newPrefixes;
19001 }
19002 return prefixes;
19003 },
19004 _weaveParents0(parents1, parents2) {
19005 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
19006 t1 = type$.ComplexSelectorComponent_2,
19007 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
19008 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
19009 initialCombinators = A._mergeInitialCombinators0(queue1, queue2);
19010 if (initialCombinators == null)
19011 return _null;
19012 finalCombinators = A._mergeFinalCombinators0(queue1, queue2, _null);
19013 if (finalCombinators == null)
19014 return _null;
19015 root1 = A._firstIfRoot0(queue1);
19016 root2 = A._firstIfRoot0(queue2);
19017 t1 = root1 != null;
19018 if (t1 && root2 != null) {
19019 root = A.unifyCompound0(root1.components, root2.components);
19020 if (root == null)
19021 return _null;
19022 queue1.addFirst$1(root);
19023 queue2.addFirst$1(root);
19024 } else if (t1)
19025 queue2.addFirst$1(root1);
19026 else if (root2 != null)
19027 queue1.addFirst$1(root2);
19028 groups1 = A._groupSelectors0(queue1);
19029 groups2 = A._groupSelectors0(queue2);
19030 t1 = type$.List_ComplexSelectorComponent_2;
19031 lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure6(), t1);
19032 t2 = type$.JSArray_Iterable_ComplexSelectorComponent_2;
19033 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
19034 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
19035 group = lcs[_i];
19036 t4 = A._chunks0(groups1, groups2, new A._weaveParents_closure7(group), t1);
19037 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19038 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure8(), t5), true, t5._eval$1("ListIterable.E")));
19039 choices.push(A._setArrayType([group], t2));
19040 groups1.removeFirst$0();
19041 groups2.removeFirst$0();
19042 }
19043 t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure9(), t1);
19044 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19045 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure10(), t3), true, t3._eval$1("ListIterable.E")));
19046 B.JSArray_methods.addAll$1(choices, finalCombinators);
19047 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);
19048 },
19049 _firstIfRoot0(queue) {
19050 var first;
19051 if (queue._collection$_head === queue._collection$_tail)
19052 return null;
19053 first = queue.get$first(queue);
19054 if (first instanceof A.CompoundSelector0) {
19055 if (!A._hasRoot0(first))
19056 return null;
19057 queue.removeFirst$0();
19058 return first;
19059 } else
19060 return null;
19061 },
19062 _mergeInitialCombinators0(components1, components2) {
19063 var t4, combinators2, lcs,
19064 t1 = type$.JSArray_Combinator_2,
19065 combinators1 = A._setArrayType([], t1),
19066 t2 = type$.Combinator_2,
19067 t3 = components1.$ti._precomputed1;
19068 while (true) {
19069 if (!components1.get$isEmpty(components1)) {
19070 t4 = components1._collection$_head;
19071 if (t4 === components1._collection$_tail)
19072 A.throwExpression(A.IterableElementError_noElement());
19073 t4 = components1._collection$_table[t4];
19074 t4 = (t4 == null ? t3._as(t4) : t4) instanceof A.Combinator0;
19075 } else
19076 t4 = false;
19077 if (!t4)
19078 break;
19079 combinators1.push(t2._as(components1.removeFirst$0()));
19080 }
19081 combinators2 = A._setArrayType([], t1);
19082 t1 = components2.$ti._precomputed1;
19083 while (true) {
19084 if (!components2.get$isEmpty(components2)) {
19085 t3 = components2._collection$_head;
19086 if (t3 === components2._collection$_tail)
19087 A.throwExpression(A.IterableElementError_noElement());
19088 t3 = components2._collection$_table[t3];
19089 t3 = (t3 == null ? t1._as(t3) : t3) instanceof A.Combinator0;
19090 } else
19091 t3 = false;
19092 if (!t3)
19093 break;
19094 combinators2.push(t2._as(components2.removeFirst$0()));
19095 }
19096 lcs = A.longestCommonSubsequence0(combinators1, combinators2, null, t2);
19097 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19098 return combinators2;
19099 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19100 return combinators1;
19101 return null;
19102 },
19103 _mergeFinalCombinators0(components1, components2, result) {
19104 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
19105 if (result == null)
19106 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
19107 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator0))
19108 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator0);
19109 else
19110 t1 = false;
19111 if (t1)
19112 return result;
19113 t1 = type$.JSArray_Combinator_2;
19114 combinators1 = A._setArrayType([], t1);
19115 t2 = type$.Combinator_2;
19116 while (true) {
19117 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator0))
19118 break;
19119 combinators1.push(t2._as(components1.removeLast$0(0)));
19120 }
19121 combinators2 = A._setArrayType([], t1);
19122 while (true) {
19123 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator0))
19124 break;
19125 combinators2.push(t2._as(components2.removeLast$0(0)));
19126 }
19127 t1 = combinators1.length;
19128 if (t1 > 1 || combinators2.length > 1) {
19129 lcs = A.longestCommonSubsequence0(combinators1, combinators2, _null, t2);
19130 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19131 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));
19132 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19133 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));
19134 else
19135 return _null;
19136 return result;
19137 }
19138 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
19139 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
19140 t1 = combinator1 != null;
19141 if (t1 && combinator2 != null) {
19142 t1 = type$.CompoundSelector_2;
19143 compound1 = t1._as(components1.removeLast$0(0));
19144 compound2 = t1._as(components2.removeLast$0(0));
19145 t1 = combinator1 === B.Combinator_CzM0;
19146 if (t1 && combinator2 === B.Combinator_CzM0)
19147 if (A.compoundIsSuperselector0(compound1, compound2, _null))
19148 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM0], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19149 else {
19150 t1 = type$.JSArray_ComplexSelectorComponent_2;
19151 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19152 if (A.compoundIsSuperselector0(compound2, compound1, _null))
19153 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0], t1)], t2));
19154 else {
19155 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);
19156 unified = A.unifyCompound0(compound1.components, compound2.components);
19157 if (unified != null)
19158 choices.push(A._setArrayType([unified, B.Combinator_CzM0], t1));
19159 result.addFirst$1(choices);
19160 }
19161 }
19162 else {
19163 if (!(t1 && combinator2 === B.Combinator_uzg0))
19164 t2 = combinator1 === B.Combinator_uzg0 && combinator2 === B.Combinator_CzM0;
19165 else
19166 t2 = true;
19167 if (t2) {
19168 followingSiblingSelector = t1 ? compound1 : compound2;
19169 nextSiblingSelector = t1 ? compound2 : compound1;
19170 t1 = type$.JSArray_ComplexSelectorComponent_2;
19171 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19172 if (A.compoundIsSuperselector0(followingSiblingSelector, nextSiblingSelector, _null))
19173 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg0], t1)], t2));
19174 else {
19175 unified = A.unifyCompound0(compound1.components, compound2.components);
19176 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM0, nextSiblingSelector, B.Combinator_uzg0], t1)], t2);
19177 if (unified != null)
19178 t2.push(A._setArrayType([unified, B.Combinator_uzg0], t1));
19179 result.addFirst$1(t2);
19180 }
19181 } else {
19182 if (combinator1 === B.Combinator_sgq0)
19183 t2 = combinator2 === B.Combinator_uzg0 || combinator2 === B.Combinator_CzM0;
19184 else
19185 t2 = false;
19186 if (t2) {
19187 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19188 components1._add$1(compound1);
19189 components1._add$1(B.Combinator_sgq0);
19190 } else {
19191 if (combinator2 === B.Combinator_sgq0)
19192 t1 = combinator1 === B.Combinator_uzg0 || t1;
19193 else
19194 t1 = false;
19195 if (t1) {
19196 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19197 components2._add$1(compound2);
19198 components2._add$1(B.Combinator_sgq0);
19199 } else if (combinator1 === combinator2) {
19200 unified = A.unifyCompound0(compound1.components, compound2.components);
19201 if (unified == null)
19202 return _null;
19203 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19204 } else
19205 return _null;
19206 }
19207 }
19208 }
19209 return A._mergeFinalCombinators0(components1, components2, result);
19210 } else if (t1) {
19211 if (combinator1 === B.Combinator_sgq0)
19212 if (!components2.get$isEmpty(components2)) {
19213 t1 = type$.CompoundSelector_2;
19214 t1 = A.compoundIsSuperselector0(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
19215 } else
19216 t1 = false;
19217 else
19218 t1 = false;
19219 if (t1)
19220 components2.removeLast$0(0);
19221 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19222 return A._mergeFinalCombinators0(components1, components2, result);
19223 } else {
19224 if (combinator2 === B.Combinator_sgq0)
19225 if (!components1.get$isEmpty(components1)) {
19226 t1 = type$.CompoundSelector_2;
19227 t1 = A.compoundIsSuperselector0(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
19228 } else
19229 t1 = false;
19230 else
19231 t1 = false;
19232 if (t1)
19233 components1.removeLast$0(0);
19234 t1 = components2.removeLast$0(0);
19235 combinator2.toString;
19236 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19237 return A._mergeFinalCombinators0(components1, components2, result);
19238 }
19239 },
19240 _mustUnify0(complex1, complex2) {
19241 var t2, t3, t4,
19242 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
19243 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
19244 t3 = t2.get$current(t2);
19245 if (t3 instanceof A.CompoundSelector0)
19246 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
19247 t1.add$1(0, t3.get$current(t3));
19248 }
19249 if (t1._collection$_length === 0)
19250 return false;
19251 return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
19252 },
19253 _isUnique0(simple) {
19254 var t1;
19255 if (!(simple instanceof A.IDSelector0))
19256 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
19257 else
19258 t1 = true;
19259 return t1;
19260 },
19261 _chunks0(queue1, queue2, done, $T) {
19262 var chunk2, t2,
19263 t1 = $T._eval$1("JSArray<0>"),
19264 chunk1 = A._setArrayType([], t1);
19265 for (; !done.call$1(queue1);)
19266 chunk1.push(queue1.removeFirst$0());
19267 chunk2 = A._setArrayType([], t1);
19268 for (; !done.call$1(queue2);)
19269 chunk2.push(queue2.removeFirst$0());
19270 t1 = chunk1.length === 0;
19271 if (t1 && chunk2.length === 0)
19272 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
19273 if (t1)
19274 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
19275 if (chunk2.length === 0)
19276 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
19277 t1 = A.List_List$of(chunk1, true, $T);
19278 B.JSArray_methods.addAll$1(t1, chunk2);
19279 t2 = A.List_List$of(chunk2, true, $T);
19280 B.JSArray_methods.addAll$1(t2, chunk1);
19281 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
19282 },
19283 paths0(choices, $T) {
19284 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));
19285 },
19286 _groupSelectors0(complex) {
19287 var t1, t2, group, t3, t4,
19288 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
19289 iterator = A._ListQueueIterator$(complex);
19290 if (!iterator.moveNext$0())
19291 return groups;
19292 t1 = iterator._collection$_current;
19293 if (t1 == null)
19294 t1 = A._instanceType(iterator)._precomputed1._as(t1);
19295 t2 = type$.JSArray_ComplexSelectorComponent_2;
19296 group = A._setArrayType([t1], t2);
19297 groups._queue_list$_add$1(group);
19298 for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
19299 if (!(B.JSArray_methods.get$last(group) instanceof A.Combinator0)) {
19300 t3 = iterator._collection$_current;
19301 t3 = (t3 == null ? t1._as(t3) : t3) instanceof A.Combinator0;
19302 } else
19303 t3 = true;
19304 t4 = iterator._collection$_current;
19305 if (t3)
19306 group.push(t4 == null ? t1._as(t4) : t4);
19307 else {
19308 group = A._setArrayType([t4 == null ? t1._as(t4) : t4], t2);
19309 groups._queue_list$_add$1(group);
19310 }
19311 }
19312 return groups;
19313 },
19314 _hasRoot0(compound) {
19315 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure0());
19316 },
19317 listIsSuperselector0(list1, list2) {
19318 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
19319 },
19320 complexIsParentSuperselector0(complex1, complex2) {
19321 var t2, base,
19322 t1 = J.getInterceptor$ax(complex1);
19323 if (t1.get$first(complex1) instanceof A.Combinator0)
19324 return false;
19325 t2 = J.getInterceptor$ax(complex2);
19326 if (t2.get$first(complex2) instanceof A.Combinator0)
19327 return false;
19328 if (t1.get$length(complex1) > t2.get$length(complex2))
19329 return false;
19330 base = A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2));
19331 t1 = type$.ComplexSelectorComponent_2;
19332 t2 = A.List_List$of(complex1, true, t1);
19333 t2.push(base);
19334 t1 = A.List_List$of(complex2, true, t1);
19335 t1.push(base);
19336 return A.complexIsSuperselector0(t2, t1);
19337 },
19338 complexIsSuperselector0(complex1, complex2) {
19339 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
19340 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator0)
19341 return false;
19342 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator0)
19343 return false;
19344 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector_2, i1 = 0, i2 = 0; true;) {
19345 remaining1 = complex1.length - i1;
19346 remaining2 = complex2.length - i2;
19347 if (remaining1 === 0 || remaining2 === 0)
19348 return false;
19349 if (remaining1 > remaining2)
19350 return false;
19351 t4 = complex1[i1];
19352 if (t4 instanceof A.Combinator0)
19353 return false;
19354 if (complex2[i2] instanceof A.Combinator0)
19355 return false;
19356 t3._as(t4);
19357 if (remaining1 === 1) {
19358 t5 = t3._as(B.JSArray_methods.get$last(complex2));
19359 t6 = complex2.length - 1;
19360 t3 = new A.SubListIterable(complex2, 0, t6, t1);
19361 t3.SubListIterable$3(complex2, 0, t6, t2);
19362 return A.compoundIsSuperselector0(t4, t5, t3.skip$1(0, i2));
19363 }
19364 afterSuperselector = i2 + 1;
19365 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
19366 t5 = afterSuperselector0 - 1;
19367 compound2 = complex2[t5];
19368 if (compound2 instanceof A.CompoundSelector0) {
19369 t6 = new A.SubListIterable(complex2, 0, t5, t1);
19370 t6.SubListIterable$3(complex2, 0, t5, t2);
19371 if (A.compoundIsSuperselector0(t4, compound2, t6.skip$1(0, afterSuperselector)))
19372 break;
19373 }
19374 }
19375 if (afterSuperselector0 === complex2.length)
19376 return false;
19377 i10 = i1 + 1;
19378 combinator1 = complex1[i10];
19379 combinator2 = complex2[afterSuperselector0];
19380 if (combinator1 instanceof A.Combinator0) {
19381 if (!(combinator2 instanceof A.Combinator0))
19382 return false;
19383 if (combinator1 === B.Combinator_CzM0) {
19384 if (combinator2 === B.Combinator_sgq0)
19385 return false;
19386 } else if (combinator2 !== combinator1)
19387 return false;
19388 if (remaining1 === 3 && remaining2 > 3)
19389 return false;
19390 i1 += 2;
19391 i2 = afterSuperselector0 + 1;
19392 } else {
19393 if (combinator2 instanceof A.Combinator0) {
19394 if (combinator2 !== B.Combinator_sgq0)
19395 return false;
19396 i2 = afterSuperselector0 + 1;
19397 } else
19398 i2 = afterSuperselector0;
19399 i1 = i10;
19400 }
19401 }
19402 },
19403 compoundIsSuperselector0(compound1, compound2, parents) {
19404 var t1, t2, _i, simple1, simple2;
19405 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19406 simple1 = t1[_i];
19407 if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
19408 if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
19409 return false;
19410 } else if (!A._simpleIsSuperselectorOfCompound0(simple1, compound2))
19411 return false;
19412 }
19413 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19414 simple2 = t1[_i];
19415 if (simple2 instanceof A.PseudoSelector0 && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound0(simple2, compound1))
19416 return false;
19417 }
19418 return true;
19419 },
19420 _simpleIsSuperselectorOfCompound0(simple, compound) {
19421 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure0(simple));
19422 },
19423 _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
19424 var selector1_ = pseudo1.selector;
19425 if (selector1_ == null)
19426 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
19427 switch (pseudo1.normalizedName) {
19428 case "is":
19429 case "matches":
19430 case "any":
19431 case "where":
19432 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));
19433 case "has":
19434 case "host":
19435 case "host-context":
19436 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
19437 case "slotted":
19438 return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
19439 case "not":
19440 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
19441 case "current":
19442 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
19443 case "nth-child":
19444 case "nth-last-child":
19445 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
19446 default:
19447 throw A.wrapException("unreachable");
19448 }
19449 },
19450 _selectorPseudoArgs0(compound, $name, isClass) {
19451 var t1 = type$.WhereTypeIterable_PseudoSelector_2;
19452 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);
19453 },
19454 unifyComplex_closure0: function unifyComplex_closure0() {
19455 },
19456 _weaveParents_closure6: function _weaveParents_closure6() {
19457 },
19458 _weaveParents_closure7: function _weaveParents_closure7(t0) {
19459 this.group = t0;
19460 },
19461 _weaveParents_closure8: function _weaveParents_closure8() {
19462 },
19463 _weaveParents__closure4: function _weaveParents__closure4() {
19464 },
19465 _weaveParents_closure9: function _weaveParents_closure9() {
19466 },
19467 _weaveParents_closure10: function _weaveParents_closure10() {
19468 },
19469 _weaveParents__closure3: function _weaveParents__closure3() {
19470 },
19471 _weaveParents_closure11: function _weaveParents_closure11() {
19472 },
19473 _weaveParents_closure12: function _weaveParents_closure12() {
19474 },
19475 _weaveParents__closure2: function _weaveParents__closure2() {
19476 },
19477 _mustUnify_closure0: function _mustUnify_closure0(t0) {
19478 this.uniqueSelectors = t0;
19479 },
19480 _mustUnify__closure0: function _mustUnify__closure0(t0) {
19481 this.uniqueSelectors = t0;
19482 },
19483 paths_closure0: function paths_closure0(t0) {
19484 this.T = t0;
19485 },
19486 paths__closure0: function paths__closure0(t0, t1) {
19487 this.paths = t0;
19488 this.T = t1;
19489 },
19490 paths___closure0: function paths___closure0(t0, t1) {
19491 this.option = t0;
19492 this.T = t1;
19493 },
19494 _hasRoot_closure0: function _hasRoot_closure0() {
19495 },
19496 listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
19497 this.list1 = t0;
19498 },
19499 listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
19500 this.complex1 = t0;
19501 },
19502 _simpleIsSuperselectorOfCompound_closure0: function _simpleIsSuperselectorOfCompound_closure0(t0) {
19503 this.simple = t0;
19504 },
19505 _simpleIsSuperselectorOfCompound__closure0: function _simpleIsSuperselectorOfCompound__closure0(t0) {
19506 this.simple = t0;
19507 },
19508 _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
19509 this.selector1 = t0;
19510 },
19511 _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
19512 this.parents = t0;
19513 this.compound2 = t1;
19514 },
19515 _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
19516 this.selector1 = t0;
19517 },
19518 _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
19519 this.selector1 = t0;
19520 },
19521 _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
19522 this.compound2 = t0;
19523 this.pseudo1 = t1;
19524 },
19525 _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
19526 this.complex = t0;
19527 this.pseudo1 = t1;
19528 },
19529 _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
19530 this.simple2 = t0;
19531 },
19532 _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
19533 this.simple2 = t0;
19534 },
19535 _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
19536 this.selector1 = t0;
19537 },
19538 _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
19539 this.pseudo1 = t0;
19540 this.selector1 = t1;
19541 },
19542 _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
19543 this.isClass = t0;
19544 this.name = t1;
19545 },
19546 _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
19547 },
19548 globalFunctions_closure0: function globalFunctions_closure0() {
19549 },
19550 IDSelector0: function IDSelector0(t0) {
19551 this.name = t0;
19552 },
19553 IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
19554 this.$this = t0;
19555 },
19556 IfExpression0: function IfExpression0(t0, t1) {
19557 this.$arguments = t0;
19558 this.span = t1;
19559 },
19560 IfClause$0(expression, children) {
19561 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19562 return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19563 },
19564 ElseClause$0(children) {
19565 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19566 return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19567 },
19568 IfRule0: function IfRule0(t0, t1, t2) {
19569 this.clauses = t0;
19570 this.lastClause = t1;
19571 this.span = t2;
19572 },
19573 IfRule_toString_closure0: function IfRule_toString_closure0() {
19574 },
19575 IfRuleClause0: function IfRuleClause0() {
19576 },
19577 IfRuleClause$__closure0: function IfRuleClause$__closure0() {
19578 },
19579 IfRuleClause$___closure0: function IfRuleClause$___closure0() {
19580 },
19581 IfClause0: function IfClause0(t0, t1, t2) {
19582 this.expression = t0;
19583 this.children = t1;
19584 this.hasDeclarations = t2;
19585 },
19586 ElseClause0: function ElseClause0(t0, t1) {
19587 this.children = t0;
19588 this.hasDeclarations = t1;
19589 },
19590 jsToDartList(list) {
19591 return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
19592 },
19593 dartMapToImmutableMap(dartMap) {
19594 var t1, t2,
19595 immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
19596 for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
19597 t2 = t1.get$current(t1);
19598 immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
19599 }
19600 return J.asImmutable$0$x(immutableMap);
19601 },
19602 immutableMapToDartMap(immutableMap) {
19603 var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
19604 J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
19605 return dartMap;
19606 },
19607 ImmutableList: function ImmutableList() {
19608 },
19609 ImmutableMap: function ImmutableMap() {
19610 },
19611 immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
19612 this.dartMap = t0;
19613 },
19614 NodeImporter__addSassPath($async$includePaths) {
19615 return A._makeSyncStarIterable(function() {
19616 var includePaths = $async$includePaths;
19617 var $async$goto = 0, $async$handler = 2, $async$currentError, t1, sassPath;
19618 return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
19619 if ($async$errorCode === 1) {
19620 $async$currentError = $async$result;
19621 $async$goto = $async$handler;
19622 }
19623 while (true)
19624 switch ($async$goto) {
19625 case 0:
19626 // Function start
19627 $async$goto = 3;
19628 return A._IterationMarker_yieldStar(includePaths);
19629 case 3:
19630 // after yield
19631 t1 = J.get$env$x(self.process);
19632 if (t1 == null)
19633 t1 = type$.Object._as(t1);
19634 sassPath = A._asStringQ(t1.SASS_PATH);
19635 if (sassPath == null) {
19636 // goto return
19637 $async$goto = 1;
19638 break;
19639 }
19640 $async$goto = 4;
19641 return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
19642 case 4:
19643 // after yield
19644 case 1:
19645 // return
19646 return A._IterationMarker_endOfIteration();
19647 case 2:
19648 // rethrow
19649 return A._IterationMarker_uncaughtError($async$currentError);
19650 }
19651 };
19652 }, type$.String);
19653 },
19654 NodeImporter: function NodeImporter(t0, t1, t2) {
19655 this._implementation$_options = t0;
19656 this._includePaths = t1;
19657 this._implementation$_importers = t2;
19658 },
19659 NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
19660 this.path = t0;
19661 },
19662 NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
19663 },
19664 ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
19665 var _ = this;
19666 _.url = t0;
19667 _.modifiers = t1;
19668 _.span = t2;
19669 _._node1$_indexInParent = _._node1$_parent = null;
19670 _.isGroupEnd = false;
19671 },
19672 ImportCache$0(importers, loadPaths, logger, packageConfig) {
19673 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19674 t2 = type$.Uri,
19675 t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
19676 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));
19677 },
19678 ImportCache$none(logger) {
19679 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19680 t2 = type$.Uri;
19681 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));
19682 },
19683 ImportCache__toImporters0(importers, loadPaths, packageConfig) {
19684 var sassPath, t2, t3, _i, path, _null = null,
19685 t1 = J.get$env$x(self.process);
19686 if (t1 == null)
19687 t1 = type$.Object._as(t1);
19688 sassPath = A._asStringQ(t1.SASS_PATH);
19689 t1 = A._setArrayType([], type$.JSArray_Importer);
19690 if (importers != null)
19691 B.JSArray_methods.addAll$1(t1, importers);
19692 if (loadPaths != null)
19693 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
19694 t3 = t2.get$current(t2);
19695 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
19696 }
19697 if (sassPath != null) {
19698 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
19699 t3 = t2.length;
19700 _i = 0;
19701 for (; _i < t3; ++_i) {
19702 path = t2[_i];
19703 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
19704 }
19705 }
19706 return t1;
19707 },
19708 ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
19709 var _ = this;
19710 _._import_cache$_importers = t0;
19711 _._import_cache$_logger = t1;
19712 _._import_cache$_canonicalizeCache = t2;
19713 _._import_cache$_relativeCanonicalizeCache = t3;
19714 _._import_cache$_importCache = t4;
19715 _._import_cache$_resultsCache = t5;
19716 },
19717 ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
19718 var _ = this;
19719 _.$this = t0;
19720 _.baseUrl = t1;
19721 _.url = t2;
19722 _.baseImporter = t3;
19723 _.forImport = t4;
19724 },
19725 ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
19726 this.$this = t0;
19727 this.url = t1;
19728 this.forImport = t2;
19729 },
19730 ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
19731 this.importer = t0;
19732 this.url = t1;
19733 },
19734 ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
19735 var _ = this;
19736 _.$this = t0;
19737 _.importer = t1;
19738 _.canonicalUrl = t2;
19739 _.originalUrl = t3;
19740 _.quiet = t4;
19741 },
19742 ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
19743 this.canonicalUrl = t0;
19744 },
19745 ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
19746 },
19747 ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
19748 },
19749 ImportRule0: function ImportRule0(t0, t1) {
19750 this.imports = t0;
19751 this.span = t1;
19752 },
19753 NodeImporter0: function NodeImporter0() {
19754 },
19755 CanonicalizeOptions: function CanonicalizeOptions() {
19756 },
19757 NodeImporterResult0: function NodeImporterResult0() {
19758 },
19759 Importer0: function Importer0() {
19760 },
19761 NodeImporterResult1: function NodeImporterResult1() {
19762 },
19763 IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
19764 var _ = this;
19765 _.namespace = t0;
19766 _.name = t1;
19767 _.$arguments = t2;
19768 _.content = t3;
19769 _.span = t4;
19770 },
19771 InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
19772 this.name = t0;
19773 this.$arguments = t1;
19774 this.span = t2;
19775 },
19776 Interpolation$0(contents, span) {
19777 var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
19778 t1.Interpolation$20(contents, span);
19779 return t1;
19780 },
19781 Interpolation0: function Interpolation0(t0, t1) {
19782 this.contents = t0;
19783 this.span = t1;
19784 },
19785 Interpolation_toString_closure0: function Interpolation_toString_closure0() {
19786 },
19787 SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
19788 this.expression = t0;
19789 this.span = t1;
19790 },
19791 InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
19792 this._interpolation_buffer0$_text = t0;
19793 this._interpolation_buffer0$_contents = t1;
19794 },
19795 _realCasePath0(path) {
19796 var prefix, t1;
19797 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
19798 return path;
19799 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
19800 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
19801 t1 = prefix.length;
19802 if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
19803 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
19804 }
19805 return new A._realCasePath_helper0().call$1(path);
19806 },
19807 _realCasePath_helper0: function _realCasePath_helper0() {
19808 },
19809 _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
19810 this.helper = t0;
19811 this.dirname = t1;
19812 this.path = t2;
19813 },
19814 _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
19815 this.basename = t0;
19816 },
19817 ModifiableCssKeyframeBlock$0(selector, span) {
19818 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
19819 return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
19820 },
19821 ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
19822 var _ = this;
19823 _.selector = t0;
19824 _.span = t1;
19825 _.children = t2;
19826 _._node1$_children = t3;
19827 _._node1$_indexInParent = _._node1$_parent = null;
19828 _.isGroupEnd = false;
19829 },
19830 KeyframeSelectorParser$0(contents, logger) {
19831 var t1 = A.SpanScanner$(contents, null);
19832 return new A.KeyframeSelectorParser0(t1, logger);
19833 },
19834 KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
19835 this.scanner = t0;
19836 this.logger = t1;
19837 },
19838 KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
19839 this.$this = t0;
19840 },
19841 render(options, callback) {
19842 var fiber = J.get$fiber$x(options);
19843 if (fiber != null)
19844 J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
19845 else
19846 A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
19847 },
19848 _renderAsync(options) {
19849 var $async$goto = 0,
19850 $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
19851 $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
19852 var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
19853 if ($async$errorCode === 1)
19854 return A._asyncRethrow($async$result, $async$completer);
19855 while (true)
19856 switch ($async$goto) {
19857 case 0:
19858 // Function start
19859 start = new A.DateTime(Date.now(), false);
19860 t1 = J.getInterceptor$x(options);
19861 data = t1.get$data(options);
19862 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19863 $async$goto = data != null ? 3 : 5;
19864 break;
19865 case 3:
19866 // then
19867 t2 = A._parseImporter(options, start);
19868 t3 = A._parseFunctions(options, start, true);
19869 t4 = t1.get$indentedSyntax(options);
19870 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19871 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19872 t6 = J.$eq$(t1.get$indentType(options), "tab");
19873 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19874 t8 = A._parseLineFeed(t1.get$linefeed(options));
19875 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19876 t10 = t1.get$quietDeps(options);
19877 if (t10 == null)
19878 t10 = false;
19879 t11 = t1.get$verbose(options);
19880 if (t11 == null)
19881 t11 = false;
19882 t12 = t1.get$charset(options);
19883 if (t12 == null)
19884 t12 = true;
19885 t13 = A._enableSourceMaps(options);
19886 t1 = t1.get$logger(options);
19887 t14 = J.$eq$(self.process.stdout.isTTY, true);
19888 t15 = $._glyphs;
19889 $async$goto = 6;
19890 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);
19891 case 6:
19892 // returning from await.
19893 result = $async$result;
19894 // goto join
19895 $async$goto = 4;
19896 break;
19897 case 5:
19898 // else
19899 $async$goto = file != null ? 7 : 9;
19900 break;
19901 case 7:
19902 // then
19903 t2 = A._parseImporter(options, start);
19904 t3 = A._parseFunctions(options, start, true);
19905 t4 = t1.get$indentedSyntax(options);
19906 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19907 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19908 t6 = J.$eq$(t1.get$indentType(options), "tab");
19909 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19910 t8 = A._parseLineFeed(t1.get$linefeed(options));
19911 t9 = t1.get$quietDeps(options);
19912 if (t9 == null)
19913 t9 = false;
19914 t10 = t1.get$verbose(options);
19915 if (t10 == null)
19916 t10 = false;
19917 t11 = t1.get$charset(options);
19918 if (t11 == null)
19919 t11 = true;
19920 t12 = A._enableSourceMaps(options);
19921 t1 = t1.get$logger(options);
19922 t13 = J.$eq$(self.process.stdout.isTTY, true);
19923 t14 = $._glyphs;
19924 $async$goto = 10;
19925 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);
19926 case 10:
19927 // returning from await.
19928 result = $async$result;
19929 // goto join
19930 $async$goto = 8;
19931 break;
19932 case 9:
19933 // else
19934 throw A.wrapException(A.ArgumentError$(string$.Either, null));
19935 case 8:
19936 // join
19937 case 4:
19938 // join
19939 $async$returnValue = A._newRenderResult(options, result, start);
19940 // goto return
19941 $async$goto = 1;
19942 break;
19943 case 1:
19944 // return
19945 return A._asyncReturn($async$returnValue, $async$completer);
19946 }
19947 });
19948 return A._asyncStartSync($async$_renderAsync, $async$completer);
19949 },
19950 renderSync(options) {
19951 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;
19952 try {
19953 start = new A.DateTime(Date.now(), false);
19954 result = null;
19955 t1 = J.getInterceptor$x(options);
19956 data = t1.get$data(options);
19957 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19958 if (data != null) {
19959 t2 = A._parseImporter(options, start);
19960 t3 = A._parseFunctions(options, start, false);
19961 t4 = t1.get$indentedSyntax(options);
19962 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19963 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19964 t6 = J.$eq$(t1.get$indentType(options), "tab");
19965 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19966 t8 = A._parseLineFeed(t1.get$linefeed(options));
19967 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19968 t10 = t1.get$quietDeps(options);
19969 if (t10 == null)
19970 t10 = false;
19971 t11 = t1.get$verbose(options);
19972 if (t11 == null)
19973 t11 = false;
19974 t12 = t1.get$charset(options);
19975 if (t12 == null)
19976 t12 = true;
19977 t13 = A._enableSourceMaps(options);
19978 t1 = t1.get$logger(options);
19979 t14 = J.$eq$(self.process.stdout.isTTY, true);
19980 t15 = $._glyphs;
19981 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);
19982 } else if (file != null) {
19983 t2 = A._parseImporter(options, start);
19984 t3 = A._parseFunctions(options, start, false);
19985 t4 = t1.get$indentedSyntax(options);
19986 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19987 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19988 t6 = J.$eq$(t1.get$indentType(options), "tab");
19989 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19990 t8 = A._parseLineFeed(t1.get$linefeed(options));
19991 t9 = t1.get$quietDeps(options);
19992 if (t9 == null)
19993 t9 = false;
19994 t10 = t1.get$verbose(options);
19995 if (t10 == null)
19996 t10 = false;
19997 t11 = t1.get$charset(options);
19998 if (t11 == null)
19999 t11 = true;
20000 t12 = A._enableSourceMaps(options);
20001 t1 = t1.get$logger(options);
20002 t13 = J.$eq$(self.process.stdout.isTTY, true);
20003 t14 = $._glyphs;
20004 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);
20005 } else {
20006 t1 = A.ArgumentError$(string$.Either, _null);
20007 throw A.wrapException(t1);
20008 }
20009 t1 = A._newRenderResult(options, result, start);
20010 return t1;
20011 } catch (exception) {
20012 t1 = A.unwrapException(exception);
20013 if (t1 instanceof A.SassException0) {
20014 error = t1;
20015 stackTrace = A.getTraceFromException(exception);
20016 A.jsThrow(A._wrapException(error, stackTrace));
20017 } else {
20018 error0 = t1;
20019 stackTrace0 = A.getTraceFromException(exception);
20020 t1 = J.toString$0$(error0);
20021 t2 = A.getTrace0(error0);
20022 A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
20023 }
20024 }
20025 },
20026 _wrapException(exception, stackTrace) {
20027 var file, t1, t2, t3, t4,
20028 url = A.SourceSpanException.prototype.get$span.call(exception, exception).file.url;
20029 if (url == null)
20030 file = "stdin";
20031 else
20032 file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
20033 t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
20034 t2 = A.getTrace0(exception);
20035 if (t2 == null)
20036 t2 = stackTrace;
20037 t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20038 t3 = A.FileLocation$_(t3.file, t3._file$_start);
20039 t3 = t3.file.getLine$1(t3.offset);
20040 t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20041 t4 = A.FileLocation$_(t4.file, t4._file$_start);
20042 return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
20043 },
20044 _parseFunctions(options, start, asynch) {
20045 var result,
20046 functions = J.get$functions$x(options);
20047 if (functions == null)
20048 return B.List_empty20;
20049 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
20050 A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
20051 return result;
20052 },
20053 _parseImporter(options, start) {
20054 var importers, t2, t3, contextOptions, fiber,
20055 t1 = J.getInterceptor$x(options);
20056 if (t1.get$importer(options) == null)
20057 importers = A._setArrayType([], type$.JSArray_JSFunction);
20058 else {
20059 t2 = type$.List_nullable_Object;
20060 t3 = type$.JSFunction;
20061 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);
20062 }
20063 t2 = J.getInterceptor$asx(importers);
20064 contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
20065 fiber = t1.get$fiber(options);
20066 if (fiber != null) {
20067 t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
20068 importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
20069 }
20070 t1 = t1.get$includePaths(options);
20071 if (t1 == null)
20072 t1 = [];
20073 t2 = type$.String;
20074 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));
20075 },
20076 _contextOptions(options, start) {
20077 var includePaths, t3, t4, t5, t6, t7,
20078 t1 = J.getInterceptor$x(options),
20079 t2 = t1.get$includePaths(options);
20080 if (t2 == null)
20081 t2 = [];
20082 includePaths = A.List_List$from(t2, true, type$.String);
20083 t2 = t1.get$file(options);
20084 t3 = t1.get$data(options);
20085 t4 = A._setArrayType([A.current()], type$.JSArray_String);
20086 B.JSArray_methods.addAll$1(t4, includePaths);
20087 t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
20088 t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
20089 t6 = A._parseIndentWidth(t1.get$indentWidth(options));
20090 if (t6 == null)
20091 t6 = 2;
20092 t7 = A._parseLineFeed(t1.get$linefeed(options));
20093 t1 = t1.get$file(options);
20094 if (t1 == null)
20095 t1 = "data";
20096 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}}};
20097 },
20098 _parseOutputStyle(style) {
20099 if (style == null || style === "expanded")
20100 return B.OutputStyle_expanded0;
20101 if (style === "compressed")
20102 return B.OutputStyle_compressed0;
20103 throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
20104 },
20105 _parseIndentWidth(width) {
20106 if (width == null)
20107 return null;
20108 return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
20109 },
20110 _parseLineFeed(str) {
20111 switch (str) {
20112 case "cr":
20113 return B.LineFeed_kMT;
20114 case "crlf":
20115 return B.LineFeed_Mss;
20116 case "lfcr":
20117 return B.LineFeed_a1Y;
20118 default:
20119 return B.LineFeed_D6m;
20120 }
20121 },
20122 _newRenderResult(options, result, start) {
20123 var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
20124 t1 = Date.now(),
20125 t2 = result._compile_result$_serialize,
20126 css = t2.css,
20127 sourceMapBytes = type$.Null._as(self.undefined);
20128 if (A._enableSourceMaps(options)) {
20129 t3 = J.getInterceptor$x(options);
20130 sourceMapOption = t3.get$sourceMap(options);
20131 if (typeof sourceMapOption == "string")
20132 sourceMapPath = sourceMapOption;
20133 else {
20134 t4 = t3.get$outFile(options);
20135 t4.toString;
20136 sourceMapPath = J.$add$ansx(t4, ".map");
20137 }
20138 t4 = $.$get$context();
20139 sourceMapDir = t4.dirname$1(sourceMapPath);
20140 t2 = t2.sourceMap;
20141 t2.toString;
20142 t2.sourceRoot = t3.get$sourceMapRoot(options);
20143 outFile = t3.get$outFile(options);
20144 t5 = outFile == null;
20145 if (t5) {
20146 file = t3.get$file(options);
20147 if (file == null)
20148 t2.targetUrl = "stdin.css";
20149 else
20150 t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
20151 } else
20152 t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
20153 sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
20154 for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
20155 source = t4[i];
20156 if (source === "stdin")
20157 continue;
20158 t6 = $.$get$url();
20159 t7 = t6.style;
20160 if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
20161 continue;
20162 t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
20163 }
20164 t4 = t3.get$sourceMapContents(options);
20165 sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
20166 t2 = t3.get$omitSourceMapUrl(options);
20167 if (!(!J.$eq$(t2, false) && t2 != null)) {
20168 t2 = t3.get$sourceMapEmbed(options);
20169 if (!J.$eq$(t2, false) && t2 != null) {
20170 buffer = new A.StringBuffer("");
20171 indices = A._setArrayType([-1], type$.JSArray_int);
20172 A.UriData__writeUri("application/json", _null, _null, buffer, indices);
20173 indices.push(buffer._contents.length);
20174 t2 = buffer._contents += ";base64,";
20175 indices.push(t2.length - 1);
20176 t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
20177 t3 = sourceMapBytes.length;
20178 A.RangeError_checkValidRange(0, t3, t3);
20179 t2._convert$_add$4(sourceMapBytes, 0, t3, true);
20180 t2 = buffer._contents;
20181 url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
20182 } else {
20183 if (t5)
20184 t2 = sourceMapPath;
20185 else {
20186 t2 = $.$get$context();
20187 t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
20188 }
20189 url = $.$get$context().toUri$1(t2);
20190 }
20191 t2 = url.toString$0(0);
20192 css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
20193 }
20194 }
20195 t2 = self.Buffer.from(css, "utf8");
20196 t3 = J.get$file$x(options);
20197 if (t3 == null)
20198 t3 = "data";
20199 t4 = start._core$_value;
20200 t1 = new A.DateTime(t1, false)._core$_value;
20201 t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
20202 t6 = A._setArrayType([], type$.JSArray_String);
20203 for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
20204 t9 = t7._collection$_current;
20205 if (t9 == null)
20206 t9 = t8._as(t9);
20207 if (t9.get$scheme() === "file")
20208 t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
20209 else
20210 t6.push(t9.toString$0(0));
20211 }
20212 return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
20213 },
20214 _enableSourceMaps(options) {
20215 var t2,
20216 t1 = J.getInterceptor$x(options);
20217 if (typeof t1.get$sourceMap(options) != "string") {
20218 t2 = t1.get$sourceMap(options);
20219 t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
20220 } else
20221 t1 = true;
20222 return t1;
20223 },
20224 _newRenderError(message, stackTrace, column, file, line, $status) {
20225 var error = new self.Error(message);
20226 error.formatted = "Error: " + message;
20227 if (line != null)
20228 error.line = line;
20229 if (column != null)
20230 error.column = column;
20231 if (file != null)
20232 error.file = file;
20233 error.status = $status;
20234 A.attachJsStack(error, stackTrace);
20235 return error;
20236 },
20237 render_closure: function render_closure(t0, t1) {
20238 this.callback = t0;
20239 this.options = t1;
20240 },
20241 render_closure0: function render_closure0(t0) {
20242 this.callback = t0;
20243 },
20244 render_closure1: function render_closure1(t0) {
20245 this.callback = t0;
20246 },
20247 _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
20248 var _ = this;
20249 _.options = t0;
20250 _.start = t1;
20251 _.result = t2;
20252 _.asynch = t3;
20253 },
20254 _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
20255 this.fiber = t0;
20256 this.callback = t1;
20257 this.context = t2;
20258 },
20259 _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
20260 this.currentFiber = t0;
20261 },
20262 _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
20263 this.currentFiber = t0;
20264 this.result = t1;
20265 },
20266 _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
20267 this.fiber = t0;
20268 },
20269 _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
20270 this.callback = t0;
20271 this.context = t1;
20272 },
20273 _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
20274 this.callback = t0;
20275 this.context = t1;
20276 },
20277 _parseFunctions___closure: function _parseFunctions___closure(t0) {
20278 this.completer = t0;
20279 },
20280 _parseImporter_closure: function _parseImporter_closure(t0) {
20281 this.fiber = t0;
20282 },
20283 _parseImporter__closure: function _parseImporter__closure(t0, t1) {
20284 this.fiber = t0;
20285 this.importer = t1;
20286 },
20287 _parseImporter___closure: function _parseImporter___closure(t0) {
20288 this.currentFiber = t0;
20289 },
20290 _parseImporter____closure: function _parseImporter____closure(t0, t1) {
20291 this.currentFiber = t0;
20292 this.result = t1;
20293 },
20294 _parseImporter___closure0: function _parseImporter___closure0(t0) {
20295 this.fiber = t0;
20296 },
20297 LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
20298 var t2, key,
20299 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
20300 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
20301 key = t2.get$current(t2);
20302 if (!blocklist.contains$1(0, key))
20303 t1.add$1(0, key);
20304 }
20305 return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
20306 },
20307 LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
20308 this._limited_map_view0$_map = t0;
20309 this._limited_map_view0$_keys = t1;
20310 this.$ti = t2;
20311 },
20312 ListExpression0: function ListExpression0(t0, t1, t2, t3) {
20313 var _ = this;
20314 _.contents = t0;
20315 _.separator = t1;
20316 _.hasBrackets = t2;
20317 _.span = t3;
20318 },
20319 ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
20320 this.$this = t0;
20321 },
20322 _function10($name, $arguments, callback) {
20323 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
20324 },
20325 _length_closure2: function _length_closure2() {
20326 },
20327 _nth_closure0: function _nth_closure0() {
20328 },
20329 _setNth_closure0: function _setNth_closure0() {
20330 },
20331 _join_closure0: function _join_closure0() {
20332 },
20333 _append_closure2: function _append_closure2() {
20334 },
20335 _zip_closure0: function _zip_closure0() {
20336 },
20337 _zip__closure2: function _zip__closure2() {
20338 },
20339 _zip__closure3: function _zip__closure3(t0) {
20340 this._box_0 = t0;
20341 },
20342 _zip__closure4: function _zip__closure4(t0) {
20343 this._box_0 = t0;
20344 },
20345 _index_closure2: function _index_closure2() {
20346 },
20347 _separator_closure0: function _separator_closure0() {
20348 },
20349 _isBracketed_closure0: function _isBracketed_closure0() {
20350 },
20351 _slash_closure0: function _slash_closure0() {
20352 },
20353 SelectorList$0(components) {
20354 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
20355 if (t1.length === 0)
20356 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
20357 return new A.SelectorList0(t1);
20358 },
20359 SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
20360 return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
20361 },
20362 SelectorList0: function SelectorList0(t0) {
20363 this.components = t0;
20364 },
20365 SelectorList_isInvisible_closure0: function SelectorList_isInvisible_closure0() {
20366 },
20367 SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
20368 },
20369 SelectorList_asSassList__closure0: function SelectorList_asSassList__closure0() {
20370 },
20371 SelectorList_unify_closure0: function SelectorList_unify_closure0(t0) {
20372 this.other = t0;
20373 },
20374 SelectorList_unify__closure0: function SelectorList_unify__closure0(t0) {
20375 this.complex1 = t0;
20376 },
20377 SelectorList_unify___closure0: function SelectorList_unify___closure0() {
20378 },
20379 SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
20380 this.$this = t0;
20381 this.implicitParent = t1;
20382 this.parent = t2;
20383 },
20384 SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
20385 this.complex = t0;
20386 },
20387 SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
20388 this._box_0 = t0;
20389 },
20390 SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
20391 },
20392 SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
20393 },
20394 SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
20395 },
20396 SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
20397 this.parent = t0;
20398 },
20399 SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1) {
20400 this.compound = t0;
20401 this.resolvedMembers = t1;
20402 },
20403 _NodeSassList: function _NodeSassList() {
20404 },
20405 legacyListClass_closure: function legacyListClass_closure() {
20406 },
20407 legacyListClass__closure: function legacyListClass__closure() {
20408 },
20409 legacyListClass_closure0: function legacyListClass_closure0() {
20410 },
20411 legacyListClass_closure1: function legacyListClass_closure1() {
20412 },
20413 legacyListClass_closure2: function legacyListClass_closure2() {
20414 },
20415 legacyListClass_closure3: function legacyListClass_closure3() {
20416 },
20417 legacyListClass_closure4: function legacyListClass_closure4() {
20418 },
20419 listClass_closure: function listClass_closure() {
20420 },
20421 listClass__closure: function listClass__closure() {
20422 },
20423 listClass__closure0: function listClass__closure0() {
20424 },
20425 _ConstructorOptions: function _ConstructorOptions() {
20426 },
20427 SassList$0(contents, _separator, brackets) {
20428 var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
20429 t1.SassList$3$brackets0(contents, _separator, brackets);
20430 return t1;
20431 },
20432 SassList0: function SassList0(t0, t1, t2) {
20433 this._list1$_contents = t0;
20434 this._list1$_separator = t1;
20435 this._list1$_hasBrackets = t2;
20436 },
20437 SassList_isBlank_closure0: function SassList_isBlank_closure0() {
20438 },
20439 ListSeparator0: function ListSeparator0(t0, t1) {
20440 this._list1$_name = t0;
20441 this.separator = t1;
20442 },
20443 NodeLogger: function NodeLogger() {
20444 },
20445 WarnOptions: function WarnOptions() {
20446 },
20447 DebugOptions: function DebugOptions() {
20448 },
20449 _QuietLogger0: function _QuietLogger0() {
20450 },
20451 LoudComment0: function LoudComment0(t0) {
20452 this.text = t0;
20453 },
20454 MapExpression0: function MapExpression0(t0, t1) {
20455 this.pairs = t0;
20456 this.span = t1;
20457 },
20458 MapExpression_toString_closure0: function MapExpression_toString_closure0() {
20459 },
20460 _modify0(map, keys, modify, addNesting) {
20461 var keyIterator = J.get$iterator$ax(keys);
20462 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
20463 },
20464 _deepMergeImpl0(map1, map2) {
20465 var t2, t3, result,
20466 t1 = map1._map0$_contents;
20467 if (t1.get$isEmpty(t1))
20468 return map2;
20469 t2 = map2._map0$_contents;
20470 if (t2.get$isEmpty(t2))
20471 return map1;
20472 t3 = type$.Value_2;
20473 result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
20474 t2.forEach$1(0, new A._deepMergeImpl_closure0(result));
20475 return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
20476 },
20477 _function9($name, $arguments, callback) {
20478 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
20479 },
20480 _get_closure0: function _get_closure0() {
20481 },
20482 _set_closure1: function _set_closure1() {
20483 },
20484 _set__closure2: function _set__closure2(t0) {
20485 this.$arguments = t0;
20486 },
20487 _set_closure2: function _set_closure2() {
20488 },
20489 _set__closure1: function _set__closure1(t0) {
20490 this.args = t0;
20491 },
20492 _merge_closure1: function _merge_closure1() {
20493 },
20494 _merge_closure2: function _merge_closure2() {
20495 },
20496 _merge__closure0: function _merge__closure0(t0) {
20497 this.map2 = t0;
20498 },
20499 _deepMerge_closure0: function _deepMerge_closure0() {
20500 },
20501 _deepRemove_closure0: function _deepRemove_closure0() {
20502 },
20503 _deepRemove__closure0: function _deepRemove__closure0(t0) {
20504 this.keys = t0;
20505 },
20506 _remove_closure1: function _remove_closure1() {
20507 },
20508 _remove_closure2: function _remove_closure2() {
20509 },
20510 _keys_closure0: function _keys_closure0() {
20511 },
20512 _values_closure0: function _values_closure0() {
20513 },
20514 _hasKey_closure0: function _hasKey_closure0() {
20515 },
20516 _modify__modifyNestedMap0: function _modify__modifyNestedMap0(t0, t1, t2) {
20517 this.keyIterator = t0;
20518 this.modify = t1;
20519 this.addNesting = t2;
20520 },
20521 _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0) {
20522 this.result = t0;
20523 },
20524 _NodeSassMap: function _NodeSassMap() {
20525 },
20526 legacyMapClass_closure: function legacyMapClass_closure() {
20527 },
20528 legacyMapClass__closure: function legacyMapClass__closure() {
20529 },
20530 legacyMapClass__closure0: function legacyMapClass__closure0() {
20531 },
20532 legacyMapClass_closure0: function legacyMapClass_closure0() {
20533 },
20534 legacyMapClass_closure1: function legacyMapClass_closure1() {
20535 },
20536 legacyMapClass_closure2: function legacyMapClass_closure2() {
20537 },
20538 legacyMapClass_closure3: function legacyMapClass_closure3() {
20539 },
20540 legacyMapClass_closure4: function legacyMapClass_closure4() {
20541 },
20542 mapClass_closure: function mapClass_closure() {
20543 },
20544 mapClass__closure: function mapClass__closure() {
20545 },
20546 mapClass__closure0: function mapClass__closure0() {
20547 },
20548 mapClass__closure1: function mapClass__closure1() {
20549 },
20550 SassMap0: function SassMap0(t0) {
20551 this._map0$_contents = t0;
20552 },
20553 SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
20554 this.result = t0;
20555 },
20556 _fuzzyRoundIfZero0(number) {
20557 if (!(Math.abs(number - 0) < $.$get$epsilon0()))
20558 return number;
20559 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
20560 },
20561 _numberFunction0($name, transform) {
20562 return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
20563 },
20564 _function8($name, $arguments, callback) {
20565 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
20566 },
20567 _ceil_closure0: function _ceil_closure0() {
20568 },
20569 _clamp_closure0: function _clamp_closure0() {
20570 },
20571 _floor_closure0: function _floor_closure0() {
20572 },
20573 _max_closure0: function _max_closure0() {
20574 },
20575 _min_closure0: function _min_closure0() {
20576 },
20577 _abs_closure0: function _abs_closure0() {
20578 },
20579 _hypot_closure0: function _hypot_closure0() {
20580 },
20581 _hypot__closure0: function _hypot__closure0() {
20582 },
20583 _log_closure0: function _log_closure0() {
20584 },
20585 _pow_closure0: function _pow_closure0() {
20586 },
20587 _sqrt_closure0: function _sqrt_closure0() {
20588 },
20589 _acos_closure0: function _acos_closure0() {
20590 },
20591 _asin_closure0: function _asin_closure0() {
20592 },
20593 _atan_closure0: function _atan_closure0() {
20594 },
20595 _atan2_closure0: function _atan2_closure0() {
20596 },
20597 _cos_closure0: function _cos_closure0() {
20598 },
20599 _sin_closure0: function _sin_closure0() {
20600 },
20601 _tan_closure0: function _tan_closure0() {
20602 },
20603 _compatible_closure0: function _compatible_closure0() {
20604 },
20605 _isUnitless_closure0: function _isUnitless_closure0() {
20606 },
20607 _unit_closure0: function _unit_closure0() {
20608 },
20609 _percentage_closure0: function _percentage_closure0() {
20610 },
20611 _randomFunction_closure0: function _randomFunction_closure0() {
20612 },
20613 _div_closure0: function _div_closure0() {
20614 },
20615 _numberFunction_closure0: function _numberFunction_closure0(t0) {
20616 this.transform = t0;
20617 },
20618 CssMediaQuery0: function CssMediaQuery0(t0, t1, t2) {
20619 this.modifier = t0;
20620 this.type = t1;
20621 this.features = t2;
20622 },
20623 _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
20624 this._media_query0$_name = t0;
20625 },
20626 MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
20627 this.query = t0;
20628 },
20629 MediaQueryParser0: function MediaQueryParser0(t0, t1) {
20630 this.scanner = t0;
20631 this.logger = t1;
20632 },
20633 MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
20634 this.$this = t0;
20635 },
20636 ModifiableCssMediaRule$0(queries, span) {
20637 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
20638 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
20639 if (J.get$isEmpty$asx(queries))
20640 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
20641 return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
20642 },
20643 ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
20644 var _ = this;
20645 _.queries = t0;
20646 _.span = t1;
20647 _.children = t2;
20648 _._node1$_children = t3;
20649 _._node1$_indexInParent = _._node1$_parent = null;
20650 _.isGroupEnd = false;
20651 },
20652 MediaRule$0(query, children, span) {
20653 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20654 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20655 return new A.MediaRule0(query, span, t1, t2);
20656 },
20657 MediaRule0: function MediaRule0(t0, t1, t2, t3) {
20658 var _ = this;
20659 _.query = t0;
20660 _.span = t1;
20661 _.children = t2;
20662 _.hasDeclarations = t3;
20663 },
20664 MergedExtension_merge0(left, right) {
20665 var t4, t5, t6,
20666 t1 = left.extender,
20667 t2 = t1.selector,
20668 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
20669 if (!t3 || !left.target.$eq(0, right.target))
20670 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
20671 t3 = left.mediaContext;
20672 t4 = t3 == null;
20673 if (!t4) {
20674 t5 = right.mediaContext;
20675 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
20676 } else
20677 t5 = false;
20678 if (t5)
20679 throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
20680 if (right.isOptional && right.mediaContext == null)
20681 return left;
20682 if (left.isOptional && t4)
20683 return right;
20684 t5 = left.target;
20685 t6 = left.span;
20686 if (t4)
20687 t3 = right.mediaContext;
20688 t2.get$maxSpecificity();
20689 t1 = new A.Extender0(t2, false, t1.span);
20690 return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
20691 },
20692 MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
20693 var _ = this;
20694 _.left = t0;
20695 _.right = t1;
20696 _.extender = t2;
20697 _.target = t3;
20698 _.mediaContext = t4;
20699 _.isOptional = t5;
20700 _.span = t6;
20701 },
20702 MergedMapView$0(maps, $K, $V) {
20703 var t1 = $K._eval$1("@<0>")._bind$1($V);
20704 t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
20705 t1.MergedMapView$10(maps, $K, $V);
20706 return t1;
20707 },
20708 MergedMapView0: function MergedMapView0(t0, t1) {
20709 this._merged_map_view$_mapsByKey = t0;
20710 this.$ti = t1;
20711 },
20712 _function12($name, $arguments, callback) {
20713 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
20714 },
20715 global_closure57: function global_closure57() {
20716 },
20717 global_closure58: function global_closure58() {
20718 },
20719 global_closure59: function global_closure59() {
20720 },
20721 global_closure60: function global_closure60() {
20722 },
20723 local_closure1: function local_closure1() {
20724 },
20725 local_closure2: function local_closure2() {
20726 },
20727 local__closure0: function local__closure0() {
20728 },
20729 MixinRule$0($name, $arguments, children, span, comment) {
20730 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20731 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20732 return new A.MixinRule0($name, $arguments, span, t1, t2);
20733 },
20734 MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
20735 var _ = this;
20736 _._mixin_rule$__MixinRule_hasContent = $;
20737 _.name = t0;
20738 _.$arguments = t1;
20739 _.span = t2;
20740 _.children = t3;
20741 _.hasDeclarations = t4;
20742 },
20743 _HasContentVisitor0: function _HasContentVisitor0() {
20744 },
20745 ExtendMode0: function ExtendMode0(t0) {
20746 this.name = t0;
20747 },
20748 SupportsNegation0: function SupportsNegation0(t0, t1) {
20749 this.condition = t0;
20750 this.span = t1;
20751 },
20752 NoOpImporter: function NoOpImporter() {
20753 },
20754 NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
20755 this._no_source_map_buffer0$_buffer = t0;
20756 },
20757 AstNode0: function AstNode0() {
20758 },
20759 _FakeAstNode0: function _FakeAstNode0(t0) {
20760 this._node2$_callback = t0;
20761 },
20762 CssNode0: function CssNode0() {
20763 },
20764 CssParentNode0: function CssParentNode0() {
20765 },
20766 readFile0(path) {
20767 var sourceFile, t1, i,
20768 contents = A._asString(A._readFile0(path, "utf8"));
20769 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
20770 return contents;
20771 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
20772 for (t1 = contents.length, i = 0; i < t1; ++i) {
20773 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
20774 continue;
20775 throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
20776 }
20777 return contents;
20778 },
20779 _readFile0(path, encoding) {
20780 return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
20781 },
20782 fileExists0(path) {
20783 return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
20784 },
20785 dirExists0(path) {
20786 return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
20787 },
20788 listDir0(path) {
20789 return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
20790 },
20791 _systemErrorToFileSystemException0(callback) {
20792 var error, t1, exception, t2;
20793 try {
20794 t1 = callback.call$0();
20795 return t1;
20796 } catch (exception) {
20797 error = A.unwrapException(exception);
20798 if (!type$.JsSystemError._is(error))
20799 throw exception;
20800 t1 = error;
20801 t2 = J.getInterceptor$x(t1);
20802 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)));
20803 }
20804 },
20805 FileSystemException0: function FileSystemException0(t0, t1) {
20806 this.message = t0;
20807 this.path = t1;
20808 },
20809 Stderr0: function Stderr0(t0) {
20810 this._node0$_stderr = t0;
20811 },
20812 _readFile_closure0: function _readFile_closure0(t0, t1) {
20813 this.path = t0;
20814 this.encoding = t1;
20815 },
20816 fileExists_closure0: function fileExists_closure0(t0) {
20817 this.path = t0;
20818 },
20819 dirExists_closure0: function dirExists_closure0(t0) {
20820 this.path = t0;
20821 },
20822 listDir_closure0: function listDir_closure0(t0, t1) {
20823 this.recursive = t0;
20824 this.path = t1;
20825 },
20826 listDir__closure1: function listDir__closure1(t0) {
20827 this.path = t0;
20828 },
20829 listDir__closure2: function listDir__closure2() {
20830 },
20831 listDir_closure_list0: function listDir_closure_list0() {
20832 },
20833 listDir__list_closure0: function listDir__list_closure0(t0, t1) {
20834 this.parent = t0;
20835 this.list = t1;
20836 },
20837 ModifiableCssNode0: function ModifiableCssNode0() {
20838 },
20839 ModifiableCssParentNode0: function ModifiableCssParentNode0() {
20840 },
20841 main() {
20842 J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
20843 J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
20844 J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
20845 J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
20846 J.set$Value$x(self.exports, $.$get$valueClass());
20847 J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
20848 J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
20849 J.set$SassColor$x(self.exports, $.$get$colorClass());
20850 J.set$SassFunction$x(self.exports, $.$get$functionClass());
20851 J.set$SassList$x(self.exports, $.$get$listClass());
20852 J.set$SassMap$x(self.exports, $.$get$mapClass());
20853 J.set$SassNumber$x(self.exports, $.$get$numberClass());
20854 J.set$SassString$x(self.exports, $.$get$stringClass());
20855 J.set$sassNull$x(self.exports, B.C__SassNull0);
20856 J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
20857 J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20858 J.set$Exception$x(self.exports, $.$get$exceptionClass());
20859 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())}});
20860 J.set$info$x(self.exports, "dart-sass\t1.53.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.17.3\t(Dart Compiler)\t[Dart]");
20861 A.updateSourceSpanPrototype();
20862 J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20863 J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
20864 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});
20865 J.set$NULL$x(self.exports, B.C__SassNull0);
20866 J.set$TRUE$x(self.exports, B.SassBoolean_true0);
20867 J.set$FALSE$x(self.exports, B.SassBoolean_false0);
20868 },
20869 main_closure0: function main_closure0() {
20870 },
20871 main_closure1: function main_closure1() {
20872 },
20873 NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
20874 this._node = t0;
20875 this._fallback = t1;
20876 this._ascii = t2;
20877 },
20878 NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
20879 var _ = this;
20880 _.$this = t0;
20881 _.message = t1;
20882 _.span = t2;
20883 _.trace = t3;
20884 _.deprecation = t4;
20885 },
20886 NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
20887 this.$this = t0;
20888 this.message = t1;
20889 this.span = t2;
20890 },
20891 NullExpression0: function NullExpression0(t0) {
20892 this.span = t0;
20893 },
20894 legacyNullClass_closure: function legacyNullClass_closure() {
20895 },
20896 legacyNullClass__closure: function legacyNullClass__closure() {
20897 },
20898 _SassNull0: function _SassNull0() {
20899 },
20900 NumberExpression0: function NumberExpression0(t0, t1, t2) {
20901 this.value = t0;
20902 this.unit = t1;
20903 this.span = t2;
20904 },
20905 _parseNumber(value, unit) {
20906 var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
20907 if (unit == null || unit.length === 0)
20908 return new A.UnitlessSassNumber0(value, null);
20909 if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
20910 return new A.SingleUnitSassNumber0(unit, value, null);
20911 invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
20912 operands = unit.split("/");
20913 t1 = operands.length;
20914 if (t1 > 2)
20915 throw A.wrapException(invalidUnit);
20916 numerator = operands[0];
20917 denominator = t1 === 1 ? null : operands[1];
20918 t1 = type$.JSArray_String;
20919 numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
20920 if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
20921 throw A.wrapException(invalidUnit);
20922 denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
20923 if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
20924 throw A.wrapException(invalidUnit);
20925 return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
20926 },
20927 _NodeSassNumber: function _NodeSassNumber() {
20928 },
20929 legacyNumberClass_closure: function legacyNumberClass_closure() {
20930 },
20931 legacyNumberClass_closure0: function legacyNumberClass_closure0() {
20932 },
20933 legacyNumberClass_closure1: function legacyNumberClass_closure1() {
20934 },
20935 legacyNumberClass_closure2: function legacyNumberClass_closure2() {
20936 },
20937 legacyNumberClass_closure3: function legacyNumberClass_closure3() {
20938 },
20939 _parseNumber_closure: function _parseNumber_closure() {
20940 },
20941 _parseNumber_closure0: function _parseNumber_closure0() {
20942 },
20943 numberClass_closure: function numberClass_closure() {
20944 },
20945 numberClass__closure: function numberClass__closure() {
20946 },
20947 numberClass__closure0: function numberClass__closure0() {
20948 },
20949 numberClass__closure1: function numberClass__closure1() {
20950 },
20951 numberClass__closure2: function numberClass__closure2() {
20952 },
20953 numberClass__closure3: function numberClass__closure3() {
20954 },
20955 numberClass__closure4: function numberClass__closure4() {
20956 },
20957 numberClass__closure5: function numberClass__closure5() {
20958 },
20959 numberClass__closure6: function numberClass__closure6() {
20960 },
20961 numberClass__closure7: function numberClass__closure7() {
20962 },
20963 numberClass__closure8: function numberClass__closure8() {
20964 },
20965 numberClass__closure9: function numberClass__closure9() {
20966 },
20967 numberClass__closure10: function numberClass__closure10() {
20968 },
20969 numberClass__closure11: function numberClass__closure11() {
20970 },
20971 numberClass__closure12: function numberClass__closure12() {
20972 },
20973 numberClass__closure13: function numberClass__closure13() {
20974 },
20975 numberClass__closure14: function numberClass__closure14() {
20976 },
20977 numberClass__closure15: function numberClass__closure15() {
20978 },
20979 numberClass__closure16: function numberClass__closure16() {
20980 },
20981 numberClass__closure17: function numberClass__closure17() {
20982 },
20983 numberClass__closure18: function numberClass__closure18() {
20984 },
20985 numberClass__closure19: function numberClass__closure19() {
20986 },
20987 _ConstructorOptions0: function _ConstructorOptions0() {
20988 },
20989 conversionFactor0(unit1, unit2) {
20990 var innerMap;
20991 if (unit1 === unit2)
20992 return 1;
20993 innerMap = B.Map_K2BWj.$index(0, unit1);
20994 if (innerMap == null)
20995 return null;
20996 return innerMap.$index(0, unit2);
20997 },
20998 SassNumber_SassNumber0(value, unit) {
20999 return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
21000 },
21001 SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
21002 var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, _i, denominator, simplifiedAway, i, factor, _null = null;
21003 if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
21004 if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
21005 return new A.UnitlessSassNumber0(value, _null);
21006 else {
21007 t1 = J.getInterceptor$asx(numeratorUnits);
21008 if (t1.get$length(numeratorUnits) === 1)
21009 return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
21010 else
21011 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
21012 }
21013 else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
21014 return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
21015 else {
21016 t1 = J.getInterceptor$ax(numeratorUnits);
21017 numerators = t1.toList$0(numeratorUnits);
21018 t2 = J.getInterceptor$ax(denominatorUnits);
21019 unsimplifiedDenominators = t2.toList$0(denominatorUnits);
21020 denominators = A._setArrayType([], type$.JSArray_String);
21021 for (t3 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
21022 denominator = unsimplifiedDenominators[_i];
21023 i = 0;
21024 while (true) {
21025 if (!(i < numerators.length)) {
21026 simplifiedAway = false;
21027 break;
21028 }
21029 c$0: {
21030 factor = A.conversionFactor0(denominator, numerators[i]);
21031 if (factor == null)
21032 break c$0;
21033 value *= factor;
21034 B.JSArray_methods.removeAt$1(numerators, i);
21035 simplifiedAway = true;
21036 break;
21037 }
21038 ++i;
21039 }
21040 if (!simplifiedAway)
21041 denominators.push(denominator);
21042 }
21043 if (t2.get$isEmpty(denominatorUnits))
21044 if (t1.get$isEmpty(numeratorUnits))
21045 return new A.UnitlessSassNumber0(value, _null);
21046 else if (t1.get$length(numeratorUnits) === 1)
21047 return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), value, _null);
21048 t1 = type$.String;
21049 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
21050 }
21051 },
21052 SassNumber0: function SassNumber0() {
21053 },
21054 SassNumber__coerceOrConvertValue__compatibilityException0: function SassNumber__coerceOrConvertValue__compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
21055 var _ = this;
21056 _.$this = t0;
21057 _.other = t1;
21058 _.otherName = t2;
21059 _.otherHasUnits = t3;
21060 _.name = t4;
21061 _.newNumerators = t5;
21062 _.newDenominators = t6;
21063 },
21064 SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
21065 this._box_0 = t0;
21066 this.newNumerator = t1;
21067 },
21068 SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
21069 this._compatibilityException = t0;
21070 },
21071 SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
21072 this._box_0 = t0;
21073 this.newDenominator = t1;
21074 },
21075 SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
21076 this._compatibilityException = t0;
21077 },
21078 SassNumber_plus_closure0: function SassNumber_plus_closure0() {
21079 },
21080 SassNumber_minus_closure0: function SassNumber_minus_closure0() {
21081 },
21082 SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
21083 this._box_0 = t0;
21084 this.numerator = t1;
21085 },
21086 SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
21087 this.newNumerators = t0;
21088 this.numerator = t1;
21089 },
21090 SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
21091 this._box_0 = t0;
21092 this.numerator = t1;
21093 },
21094 SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
21095 this.newNumerators = t0;
21096 this.numerator = t1;
21097 },
21098 SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
21099 this.units2 = t0;
21100 },
21101 SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
21102 },
21103 SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
21104 this.$this = t0;
21105 },
21106 SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
21107 var _ = this;
21108 _.left = t0;
21109 _.right = t1;
21110 _.operator = t2;
21111 _.span = t3;
21112 },
21113 ParentSelector0: function ParentSelector0(t0) {
21114 this.suffix = t0;
21115 },
21116 ParentStatement0: function ParentStatement0() {
21117 },
21118 ParentStatement_closure0: function ParentStatement_closure0() {
21119 },
21120 ParentStatement__closure0: function ParentStatement__closure0() {
21121 },
21122 ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
21123 this.expression = t0;
21124 this.span = t1;
21125 },
21126 Parser_isIdentifier0(text) {
21127 var t1, t2, exception, logger = null;
21128 try {
21129 t1 = logger;
21130 t2 = A.SpanScanner$(text, null);
21131 new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
21132 return true;
21133 } catch (exception) {
21134 if (A.unwrapException(exception) instanceof A.SassFormatException0)
21135 return false;
21136 else
21137 throw exception;
21138 }
21139 },
21140 Parser1: function Parser1(t0, t1) {
21141 this.scanner = t0;
21142 this.logger = t1;
21143 },
21144 Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
21145 this.$this = t0;
21146 },
21147 Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
21148 this.caseSensitive = t0;
21149 this.char = t1;
21150 },
21151 PlaceholderSelector0: function PlaceholderSelector0(t0) {
21152 this.name = t0;
21153 },
21154 PlainCssCallable0: function PlainCssCallable0(t0) {
21155 this.name = t0;
21156 },
21157 PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
21158 this._prefixed_map_view0$_map = t0;
21159 this._prefixed_map_view0$_prefix = t1;
21160 this.$ti = t2;
21161 },
21162 _PrefixedKeys0: function _PrefixedKeys0(t0) {
21163 this._prefixed_map_view0$_view = t0;
21164 },
21165 _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
21166 this.$this = t0;
21167 },
21168 PseudoSelector$0($name, argument, element, selector) {
21169 var t1 = !element,
21170 t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
21171 return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
21172 },
21173 PseudoSelector__isFakePseudoElement0($name) {
21174 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
21175 case 97:
21176 case 65:
21177 return A.equalsIgnoreCase0($name, "after");
21178 case 98:
21179 case 66:
21180 return A.equalsIgnoreCase0($name, "before");
21181 case 102:
21182 case 70:
21183 return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
21184 default:
21185 return false;
21186 }
21187 },
21188 PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
21189 var _ = this;
21190 _.name = t0;
21191 _.normalizedName = t1;
21192 _.isClass = t2;
21193 _.isSyntacticClass = t3;
21194 _.argument = t4;
21195 _.selector = t5;
21196 _._pseudo0$_maxSpecificity = _._pseudo0$_minSpecificity = null;
21197 },
21198 PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
21199 },
21200 PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
21201 this._public_member_map_view0$_inner = t0;
21202 this.$ti = t1;
21203 },
21204 QualifiedName0: function QualifiedName0(t0, t1) {
21205 this.name = t0;
21206 this.namespace = t1;
21207 },
21208 createJSClass($name, $constructor) {
21209 return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
21210 },
21211 JSClassExtension_injectSuperclass(_this, superclass) {
21212 var t1 = J.getInterceptor$x(superclass),
21213 t2 = J.getInterceptor$x(_this);
21214 self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
21215 self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
21216 },
21217 JSClassExtension_setCustomInspect(_this, inspect) {
21218 J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
21219 },
21220 JSClassExtension_get_defineMethod(_this) {
21221 return new A.JSClassExtension_get_defineMethod_closure(_this);
21222 },
21223 JSClassExtension_defineMethods(_this, methods) {
21224 methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
21225 },
21226 JSClassExtension_get_defineGetter(_this) {
21227 return new A.JSClassExtension_get_defineGetter_closure(_this);
21228 },
21229 JSClass0: function JSClass0() {
21230 },
21231 JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
21232 this.inspect = t0;
21233 },
21234 JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
21235 this._this = t0;
21236 },
21237 JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
21238 this._this = t0;
21239 },
21240 RenderContext0: function RenderContext0() {
21241 },
21242 RenderContextOptions0: function RenderContextOptions0() {
21243 },
21244 RenderContextResult0: function RenderContextResult0() {
21245 },
21246 RenderContextResultStats0: function RenderContextResultStats0() {
21247 },
21248 RenderOptions: function RenderOptions() {
21249 },
21250 RenderResult: function RenderResult() {
21251 },
21252 RenderResultStats: function RenderResultStats() {
21253 },
21254 ImporterResult$(contents, sourceMapUrl, syntax) {
21255 var t2,
21256 t1 = syntax == null;
21257 if (t1)
21258 t2 = B.Syntax_SCSS0;
21259 else
21260 t2 = syntax;
21261 if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
21262 A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
21263 else if (t1 && true)
21264 A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
21265 return new A.ImporterResult0(contents, sourceMapUrl, t2);
21266 },
21267 ImporterResult0: function ImporterResult0(t0, t1, t2) {
21268 this.contents = t0;
21269 this._result$_sourceMapUrl = t1;
21270 this.syntax = t2;
21271 },
21272 ReturnRule0: function ReturnRule0(t0, t1) {
21273 this.expression = t0;
21274 this.span = t1;
21275 },
21276 main0(args) {
21277 return A.main$body(args);
21278 },
21279 main$body(args) {
21280 var $async$goto = 0,
21281 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
21282 $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;
21283 var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21284 if ($async$errorCode === 1) {
21285 $async$currentError = $async$result;
21286 $async$goto = $async$handler;
21287 }
21288 while (true)
21289 switch ($async$goto) {
21290 case 0:
21291 // Function start
21292 _box_0 = {};
21293 _box_0.printedError = false;
21294 printError = new A.main_printError(_box_0);
21295 _box_0.options = null;
21296 $async$handler = 4;
21297 options = A.ExecutableOptions_ExecutableOptions$parse(args);
21298 _box_0.options = options;
21299 t1 = options._options;
21300 $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
21301 $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
21302 break;
21303 case 7:
21304 // then
21305 $async$temp1 = A;
21306 $async$goto = 9;
21307 return A._asyncAwait(A._loadVersion(), $async$main0);
21308 case 9:
21309 // returning from await.
21310 $async$temp1.print($async$result);
21311 J.set$exitCode$x(self.process, 0);
21312 // goto return
21313 $async$goto = 1;
21314 break;
21315 case 8:
21316 // join
21317 $async$goto = _box_0.options.get$interactive() ? 10 : 11;
21318 break;
21319 case 10:
21320 // then
21321 $async$goto = 12;
21322 return A._asyncAwait(A.repl(_box_0.options), $async$main0);
21323 case 12:
21324 // returning from await.
21325 // goto return
21326 $async$goto = 1;
21327 break;
21328 case 11:
21329 // join
21330 t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
21331 t2 = _box_0.options;
21332 t3 = type$.Uri;
21333 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));
21334 $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
21335 break;
21336 case 13:
21337 // then
21338 $async$goto = 15;
21339 return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
21340 case 15:
21341 // returning from await.
21342 // goto return
21343 $async$goto = 1;
21344 break;
21345 case 14:
21346 // join
21347 t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
21348 case 16:
21349 // for condition
21350 if (!t1.moveNext$0()) {
21351 // goto after for
21352 $async$goto = 17;
21353 break;
21354 }
21355 source = t1.get$current(t1);
21356 t2 = _box_0.options;
21357 t2._ensureSources$0();
21358 destination = t2._sourcesToDestinations.$index(0, source);
21359 $async$handler = 19;
21360 t2 = _box_0.options;
21361 $async$goto = 22;
21362 return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
21363 case 22:
21364 // returning from await.
21365 $async$handler = 4;
21366 // goto after finally
21367 $async$goto = 21;
21368 break;
21369 case 19:
21370 // catch
21371 $async$handler = 18;
21372 $async$exception = $async$currentError;
21373 t2 = A.unwrapException($async$exception);
21374 if (t2 instanceof A.SassException) {
21375 error = t2;
21376 stackTrace = A.getTraceFromException($async$exception);
21377 new A.main_closure(_box_0, destination).call$0();
21378 t2 = _box_0.options._options;
21379 if (!t2._parser.options._map.containsKey$1("color"))
21380 A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
21381 t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
21382 t2 = J.toString$1$color$(error, t2);
21383 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21384 t3 = error;
21385 t4 = typeof t3 == "string";
21386 if (t4 || typeof t3 == "number" || A._isBool(t3))
21387 t3 = null;
21388 else {
21389 t5 = $.$get$_traces();
21390 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21391 if (t4)
21392 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21393 t3 = t5._jsWeakMap.get(t3);
21394 }
21395 if (t3 == null)
21396 t3 = stackTrace;
21397 } else
21398 t3 = null;
21399 printError.call$2(t2, t3);
21400 if (J.get$exitCode$x(self.process) !== 66)
21401 J.set$exitCode$x(self.process, 65);
21402 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21403 // goto return
21404 $async$goto = 1;
21405 break;
21406 }
21407 } else if (t2 instanceof A.FileSystemException) {
21408 error0 = t2;
21409 stackTrace0 = A.getTraceFromException($async$exception);
21410 path = error0.path;
21411 t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
21412 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21413 t3 = error0;
21414 t4 = typeof t3 == "string";
21415 if (t4 || typeof t3 == "number" || A._isBool(t3))
21416 t3 = null;
21417 else {
21418 t5 = $.$get$_traces();
21419 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21420 if (t4)
21421 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21422 t3 = t5._jsWeakMap.get(t3);
21423 }
21424 if (t3 == null)
21425 t3 = stackTrace0;
21426 } else
21427 t3 = null;
21428 printError.call$2(t2, t3);
21429 J.set$exitCode$x(self.process, 66);
21430 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21431 // goto return
21432 $async$goto = 1;
21433 break;
21434 }
21435 } else
21436 throw $async$exception;
21437 // goto after finally
21438 $async$goto = 21;
21439 break;
21440 case 18:
21441 // uncaught
21442 // goto catch
21443 $async$goto = 4;
21444 break;
21445 case 21:
21446 // after finally
21447 // goto for condition
21448 $async$goto = 16;
21449 break;
21450 case 17:
21451 // after for
21452 $async$handler = 2;
21453 // goto after finally
21454 $async$goto = 6;
21455 break;
21456 case 4:
21457 // catch
21458 $async$handler = 3;
21459 $async$exception1 = $async$currentError;
21460 t1 = A.unwrapException($async$exception1);
21461 if (t1 instanceof A.UsageException) {
21462 error1 = t1;
21463 A.print(error1.message + "\n");
21464 A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
21465 t1 = $.$get$ExecutableOptions__parser();
21466 A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
21467 J.set$exitCode$x(self.process, 64);
21468 } else {
21469 error2 = t1;
21470 stackTrace1 = A.getTraceFromException($async$exception1);
21471 buffer = new A.StringBuffer("");
21472 t1 = _box_0.options;
21473 if (t1 != null && t1.get$color())
21474 buffer._contents += "\x1b[31m\x1b[1m";
21475 buffer._contents += "Unexpected exception:";
21476 t1 = _box_0.options;
21477 if (t1 != null && t1.get$color())
21478 buffer._contents += "\x1b[0m";
21479 buffer._contents += "\n";
21480 buffer._contents += A.S(error2) + "\n";
21481 t1 = buffer._contents;
21482 t2 = A.getTrace(error2);
21483 if (t2 == null)
21484 t2 = stackTrace1;
21485 printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
21486 J.set$exitCode$x(self.process, 255);
21487 }
21488 // goto after finally
21489 $async$goto = 6;
21490 break;
21491 case 3:
21492 // uncaught
21493 // goto rethrow
21494 $async$goto = 2;
21495 break;
21496 case 6:
21497 // after finally
21498 case 1:
21499 // return
21500 return A._asyncReturn($async$returnValue, $async$completer);
21501 case 2:
21502 // rethrow
21503 return A._asyncRethrow($async$currentError, $async$completer);
21504 }
21505 });
21506 return A._asyncStartSync($async$main0, $async$completer);
21507 },
21508 _loadVersion() {
21509 var $async$goto = 0,
21510 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
21511 $async$returnValue;
21512 var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21513 if ($async$errorCode === 1)
21514 return A._asyncRethrow($async$result, $async$completer);
21515 while (true)
21516 switch ($async$goto) {
21517 case 0:
21518 // Function start
21519 $async$returnValue = "1.53.0 compiled with dart2js 2.17.3";
21520 // goto return
21521 $async$goto = 1;
21522 break;
21523 case 1:
21524 // return
21525 return A._asyncReturn($async$returnValue, $async$completer);
21526 }
21527 });
21528 return A._asyncStartSync($async$_loadVersion, $async$completer);
21529 },
21530 main_printError: function main_printError(t0) {
21531 this._box_0 = t0;
21532 },
21533 main_closure: function main_closure(t0, t1) {
21534 this._box_0 = t0;
21535 this.destination = t1;
21536 },
21537 SassParser0: function SassParser0(t0, t1, t2) {
21538 var _ = this;
21539 _._sass0$_currentIndentation = 0;
21540 _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
21541 _._stylesheet0$_isUseAllowed = true;
21542 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21543 _._stylesheet0$_globalVariables = t0;
21544 _.lastSilentComment = null;
21545 _.scanner = t1;
21546 _.logger = t2;
21547 },
21548 SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
21549 this.$this = t0;
21550 this.child = t1;
21551 this.children = t2;
21552 },
21553 _translateReturnValue(val) {
21554 if (type$.Future_dynamic._is(val))
21555 return A.futureToPromise(val, type$.dynamic);
21556 else
21557 return val;
21558 },
21559 main1() {
21560 new Uint8Array(0);
21561 A.main();
21562 J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
21563 },
21564 _wrapMain(main) {
21565 if (type$.dynamic_Function._is(main))
21566 return A.allowInterop(new A._wrapMain_closure(main));
21567 else
21568 return A.allowInterop(new A._wrapMain_closure0(main));
21569 },
21570 _Exports: function _Exports() {
21571 },
21572 _wrapMain_closure: function _wrapMain_closure(t0) {
21573 this.main = t0;
21574 },
21575 _wrapMain_closure0: function _wrapMain_closure0(t0) {
21576 this.main = t0;
21577 },
21578 ScssParser$0(contents, logger, url) {
21579 var t1 = A.SpanScanner$(contents, url),
21580 t2 = logger == null ? B.StderrLogger_false0 : logger;
21581 return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
21582 },
21583 ScssParser0: function ScssParser0(t0, t1, t2) {
21584 var _ = this;
21585 _._stylesheet0$_isUseAllowed = true;
21586 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21587 _._stylesheet0$_globalVariables = t0;
21588 _.lastSilentComment = null;
21589 _.scanner = t1;
21590 _.logger = t2;
21591 },
21592 Selector0: function Selector0() {
21593 },
21594 SelectorExpression0: function SelectorExpression0(t0) {
21595 this.span = t0;
21596 },
21597 _prependParent0(compound) {
21598 var t2, _null = null,
21599 t1 = compound.components,
21600 first = B.JSArray_methods.get$first(t1);
21601 if (first instanceof A.UniversalSelector0)
21602 return _null;
21603 if (first instanceof A.TypeSelector0) {
21604 t2 = first.name;
21605 if (t2.namespace != null)
21606 return _null;
21607 t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
21608 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
21609 return A.CompoundSelector$0(t2);
21610 } else {
21611 t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
21612 B.JSArray_methods.addAll$1(t2, t1);
21613 return A.CompoundSelector$0(t2);
21614 }
21615 },
21616 _function7($name, $arguments, callback) {
21617 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
21618 },
21619 _nest_closure0: function _nest_closure0() {
21620 },
21621 _nest__closure1: function _nest__closure1(t0) {
21622 this._box_0 = t0;
21623 },
21624 _nest__closure2: function _nest__closure2() {
21625 },
21626 _append_closure1: function _append_closure1() {
21627 },
21628 _append__closure1: function _append__closure1() {
21629 },
21630 _append__closure2: function _append__closure2() {
21631 },
21632 _append___closure0: function _append___closure0(t0) {
21633 this.parent = t0;
21634 },
21635 _extend_closure0: function _extend_closure0() {
21636 },
21637 _replace_closure0: function _replace_closure0() {
21638 },
21639 _unify_closure0: function _unify_closure0() {
21640 },
21641 _isSuperselector_closure0: function _isSuperselector_closure0() {
21642 },
21643 _simpleSelectors_closure0: function _simpleSelectors_closure0() {
21644 },
21645 _simpleSelectors__closure0: function _simpleSelectors__closure0() {
21646 },
21647 _parse_closure0: function _parse_closure0() {
21648 },
21649 SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
21650 var t1 = A.SpanScanner$(contents, url);
21651 return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
21652 },
21653 SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
21654 var _ = this;
21655 _._selector$_allowParent = t0;
21656 _._selector$_allowPlaceholder = t1;
21657 _.scanner = t2;
21658 _.logger = t3;
21659 },
21660 SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
21661 this.$this = t0;
21662 },
21663 SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
21664 this.$this = t0;
21665 },
21666 serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
21667 var t1, css, t2, prefix,
21668 visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
21669 node.accept$1(visitor);
21670 t1 = visitor._serialize0$_buffer;
21671 css = t1.toString$0(0);
21672 if (charset) {
21673 t2 = new A.CodeUnits(css);
21674 t2 = t2.any$1(t2, new A.serialize_closure0());
21675 } else
21676 t2 = false;
21677 if (t2)
21678 prefix = style === B.OutputStyle_compressed0 ? "\ufeff" : '@charset "UTF-8";\n';
21679 else
21680 prefix = "";
21681 t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
21682 return new A.SerializeResult0(prefix + css, t1);
21683 },
21684 serializeValue0(value, inspect, quote) {
21685 var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
21686 value.accept$1(visitor);
21687 return visitor._serialize0$_buffer.toString$0(0);
21688 },
21689 serializeSelector0(selector, inspect) {
21690 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
21691 selector.accept$1(visitor);
21692 return visitor._serialize0$_buffer.toString$0(0);
21693 },
21694 _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
21695 var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
21696 t2 = style == null ? B.OutputStyle_expanded0 : style,
21697 t3 = useSpaces ? 32 : 9,
21698 t4 = indentWidth == null ? 2 : indentWidth,
21699 t5 = lineFeed == null ? B.LineFeed_D6m : lineFeed;
21700 A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
21701 return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
21702 },
21703 serialize_closure0: function serialize_closure0() {
21704 },
21705 _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
21706 var _ = this;
21707 _._serialize0$_buffer = t0;
21708 _._serialize0$_indentation = 0;
21709 _._serialize0$_style = t1;
21710 _._serialize0$_inspect = t2;
21711 _._serialize0$_quote = t3;
21712 _._serialize0$_indentCharacter = t4;
21713 _._serialize0$_indentWidth = t5;
21714 _._lineFeed = t6;
21715 },
21716 _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
21717 this.$this = t0;
21718 this.node = t1;
21719 },
21720 _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
21721 this.$this = t0;
21722 this.node = t1;
21723 },
21724 _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
21725 this.$this = t0;
21726 this.node = t1;
21727 },
21728 _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
21729 this.$this = t0;
21730 this.node = t1;
21731 },
21732 _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
21733 this.$this = t0;
21734 this.node = t1;
21735 },
21736 _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
21737 this.$this = t0;
21738 this.node = t1;
21739 },
21740 _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
21741 this.$this = t0;
21742 this.node = t1;
21743 },
21744 _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
21745 this.$this = t0;
21746 this.node = t1;
21747 },
21748 _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
21749 this.$this = t0;
21750 this.node = t1;
21751 },
21752 _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
21753 this.$this = t0;
21754 this.node = t1;
21755 },
21756 _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
21757 },
21758 _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
21759 this.$this = t0;
21760 this.value = t1;
21761 },
21762 _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
21763 this.$this = t0;
21764 },
21765 _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
21766 this.$this = t0;
21767 },
21768 _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
21769 },
21770 _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
21771 this.$this = t0;
21772 this.value = t1;
21773 },
21774 _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
21775 this.$this = t0;
21776 this.child = t1;
21777 },
21778 _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
21779 this.$this = t0;
21780 this.child = t1;
21781 },
21782 OutputStyle0: function OutputStyle0(t0) {
21783 this._serialize0$_name = t0;
21784 },
21785 LineFeed0: function LineFeed0(t0, t1) {
21786 this.name = t0;
21787 this.text = t1;
21788 },
21789 SerializeResult0: function SerializeResult0(t0, t1) {
21790 this.css = t0;
21791 this.sourceMap = t1;
21792 },
21793 ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
21794 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;
21795 },
21796 ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
21797 var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
21798 return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
21799 },
21800 ShadowedModuleView__needsBlocklist0(map, blocklist) {
21801 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
21802 return t1;
21803 },
21804 ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
21805 var _ = this;
21806 _._shadowed_view0$_inner = t0;
21807 _.variables = t1;
21808 _.variableNodes = t2;
21809 _.functions = t3;
21810 _.mixins = t4;
21811 _.$ti = t5;
21812 },
21813 SilentComment0: function SilentComment0(t0, t1) {
21814 this.text = t0;
21815 this.span = t1;
21816 },
21817 SimpleSelector0: function SimpleSelector0() {
21818 },
21819 SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
21820 var _ = this;
21821 _._single_unit$_unit = t0;
21822 _._number1$_value = t1;
21823 _.hashCache = null;
21824 _.asSlash = t2;
21825 },
21826 SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
21827 this.$this = t0;
21828 this.unit = t1;
21829 },
21830 SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
21831 this.$this = t0;
21832 },
21833 SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
21834 this._box_0 = t0;
21835 this.$this = t1;
21836 },
21837 SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
21838 this._box_0 = t0;
21839 this.$this = t1;
21840 },
21841 SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
21842 var _ = this;
21843 _._source_map_buffer0$_buffer = t0;
21844 _._source_map_buffer0$_entries = t1;
21845 _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
21846 _._source_map_buffer0$_inSpan = false;
21847 },
21848 SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
21849 this._box_0 = t0;
21850 this.prefixLength = t1;
21851 },
21852 updateSourceSpanPrototype() {
21853 var span = A.SourceFile$fromString("", null).span$1(0, 0),
21854 t1 = type$.JSClass,
21855 t2 = t1._as(span.constructor),
21856 t3 = type$.String,
21857 t4 = type$.Function;
21858 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));
21859 t1 = t1._as(A.FileLocation$_(span.file, span._file$_start).constructor);
21860 A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
21861 },
21862 updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
21863 },
21864 updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
21865 },
21866 updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
21867 },
21868 updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
21869 },
21870 updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
21871 },
21872 updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
21873 },
21874 updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
21875 },
21876 _IterableExtension__search0(_this, callback) {
21877 var t1, value;
21878 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
21879 value = callback.call$1(t1.get$current(t1));
21880 if (value != null)
21881 return value;
21882 }
21883 return null;
21884 },
21885 StatementSearchVisitor0: function StatementSearchVisitor0() {
21886 },
21887 StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
21888 this.$this = t0;
21889 },
21890 StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
21891 this.$this = t0;
21892 },
21893 StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
21894 this.$this = t0;
21895 },
21896 StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
21897 this.$this = t0;
21898 },
21899 StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
21900 this.$this = t0;
21901 },
21902 StaticImport0: function StaticImport0(t0, t1, t2) {
21903 this.url = t0;
21904 this.modifiers = t1;
21905 this.span = t2;
21906 },
21907 StderrLogger0: function StderrLogger0(t0) {
21908 this.color = t0;
21909 },
21910 StringExpression_quoteText0(text) {
21911 var t1,
21912 quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
21913 buffer = new A.StringBuffer("");
21914 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
21915 A.StringExpression__quoteInnerText0(text, quote, buffer, true);
21916 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
21917 return t1.charCodeAt(0) == 0 ? t1 : t1;
21918 },
21919 StringExpression__quoteInnerText0(text, quote, buffer, $static) {
21920 var t1, t2, i, codeUnit, next, t3;
21921 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
21922 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
21923 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
21924 buffer.writeCharCode$1(92);
21925 buffer.writeCharCode$1(97);
21926 if (i !== t2) {
21927 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
21928 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
21929 buffer.writeCharCode$1(32);
21930 }
21931 } else {
21932 if (codeUnit !== quote)
21933 if (codeUnit !== 92)
21934 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
21935 else
21936 t3 = true;
21937 else
21938 t3 = true;
21939 if (t3)
21940 buffer.writeCharCode$1(92);
21941 buffer.writeCharCode$1(codeUnit);
21942 }
21943 }
21944 },
21945 StringExpression__bestQuote0(strings) {
21946 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
21947 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
21948 t2 = t1.get$current(t1);
21949 for (t3 = t2.length, i = 0; i < t3; ++i) {
21950 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
21951 if (codeUnit === 39)
21952 return 34;
21953 if (codeUnit === 34)
21954 containsDoubleQuote = true;
21955 }
21956 }
21957 return containsDoubleQuote ? 39 : 34;
21958 },
21959 StringExpression0: function StringExpression0(t0, t1) {
21960 this.text = t0;
21961 this.hasQuotes = t1;
21962 },
21963 _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
21964 var result;
21965 if (index === 0)
21966 return 0;
21967 if (index > 0)
21968 return Math.min(index - 1, lengthInCodepoints);
21969 result = lengthInCodepoints + index;
21970 if (result < 0 && !allowNegative)
21971 return 0;
21972 return result;
21973 },
21974 _function6($name, $arguments, callback) {
21975 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
21976 },
21977 _unquote_closure0: function _unquote_closure0() {
21978 },
21979 _quote_closure0: function _quote_closure0() {
21980 },
21981 _length_closure1: function _length_closure1() {
21982 },
21983 _insert_closure0: function _insert_closure0() {
21984 },
21985 _index_closure1: function _index_closure1() {
21986 },
21987 _slice_closure0: function _slice_closure0() {
21988 },
21989 _toUpperCase_closure0: function _toUpperCase_closure0() {
21990 },
21991 _toLowerCase_closure0: function _toLowerCase_closure0() {
21992 },
21993 _uniqueId_closure0: function _uniqueId_closure0() {
21994 },
21995 _NodeSassString: function _NodeSassString() {
21996 },
21997 legacyStringClass_closure: function legacyStringClass_closure() {
21998 },
21999 legacyStringClass_closure0: function legacyStringClass_closure0() {
22000 },
22001 legacyStringClass_closure1: function legacyStringClass_closure1() {
22002 },
22003 stringClass_closure: function stringClass_closure() {
22004 },
22005 stringClass__closure: function stringClass__closure() {
22006 },
22007 stringClass__closure0: function stringClass__closure0() {
22008 },
22009 stringClass__closure1: function stringClass__closure1() {
22010 },
22011 stringClass__closure2: function stringClass__closure2() {
22012 },
22013 stringClass__closure3: function stringClass__closure3() {
22014 },
22015 _ConstructorOptions1: function _ConstructorOptions1() {
22016 },
22017 SassString$0(_text, quotes) {
22018 return new A.SassString0(_text, quotes);
22019 },
22020 SassString0: function SassString0(t0, t1) {
22021 var _ = this;
22022 _._string0$_text = t0;
22023 _._string0$_hasQuotes = t1;
22024 _._string0$__SassString__sassLength = $;
22025 _._string0$_hashCache = null;
22026 },
22027 ModifiableCssStyleRule$0(selector, span, originalSelector) {
22028 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22029 return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22030 },
22031 ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
22032 var _ = this;
22033 _.selector = t0;
22034 _.originalSelector = t1;
22035 _.span = t2;
22036 _.children = t3;
22037 _._node1$_children = t4;
22038 _._node1$_indexInParent = _._node1$_parent = null;
22039 _.isGroupEnd = false;
22040 },
22041 StyleRule$0(selector, children, span) {
22042 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22043 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22044 return new A.StyleRule0(selector, span, t1, t2);
22045 },
22046 StyleRule0: function StyleRule0(t0, t1, t2, t3) {
22047 var _ = this;
22048 _.selector = t0;
22049 _.span = t1;
22050 _.children = t2;
22051 _.hasDeclarations = t3;
22052 },
22053 CssStylesheet0: function CssStylesheet0(t0, t1) {
22054 this.children = t0;
22055 this.span = t1;
22056 },
22057 ModifiableCssStylesheet$0(span) {
22058 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22059 return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22060 },
22061 ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
22062 var _ = this;
22063 _.span = t0;
22064 _.children = t1;
22065 _._node1$_children = t2;
22066 _._node1$_indexInParent = _._node1$_parent = null;
22067 _.isGroupEnd = false;
22068 },
22069 StylesheetParser0: function StylesheetParser0() {
22070 },
22071 StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
22072 this.$this = t0;
22073 },
22074 StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
22075 this.$this = t0;
22076 },
22077 StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
22078 },
22079 StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
22080 this.$this = t0;
22081 },
22082 StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
22083 this.$this = t0;
22084 this.production = t1;
22085 this.T = t2;
22086 },
22087 StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
22088 this.$this = t0;
22089 this.requireParens = t1;
22090 },
22091 StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
22092 this.$this = t0;
22093 },
22094 StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
22095 this.$this = t0;
22096 this.start = t1;
22097 },
22098 StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
22099 this.declaration = t0;
22100 },
22101 StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
22102 this.name = t0;
22103 },
22104 StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
22105 this._box_0 = t0;
22106 this.name = t1;
22107 },
22108 StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
22109 var _ = this;
22110 _._box_0 = t0;
22111 _.$this = t1;
22112 _.wasInStyleRule = t2;
22113 _.start = t3;
22114 },
22115 StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
22116 this._box_0 = t0;
22117 },
22118 StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
22119 this._box_0 = t0;
22120 this.value = t1;
22121 },
22122 StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
22123 this.query = t0;
22124 },
22125 StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
22126 },
22127 StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
22128 var _ = this;
22129 _.$this = t0;
22130 _.wasInControlDirective = t1;
22131 _.variables = t2;
22132 _.list = t3;
22133 },
22134 StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
22135 this.name = t0;
22136 this.$arguments = t1;
22137 this.precedingComment = t2;
22138 },
22139 StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
22140 this._box_0 = t0;
22141 this.$this = t1;
22142 },
22143 StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
22144 var _ = this;
22145 _._box_0 = t0;
22146 _.$this = t1;
22147 _.wasInControlDirective = t2;
22148 _.variable = t3;
22149 _.from = t4;
22150 _.to = t5;
22151 },
22152 StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
22153 this.$this = t0;
22154 this.variables = t1;
22155 this.identifiers = t2;
22156 },
22157 StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
22158 this.contentArguments_ = t0;
22159 },
22160 StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
22161 this.query = t0;
22162 },
22163 StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
22164 var _ = this;
22165 _.$this = t0;
22166 _.name = t1;
22167 _.$arguments = t2;
22168 _.precedingComment = t3;
22169 },
22170 StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
22171 var _ = this;
22172 _._box_0 = t0;
22173 _.$this = t1;
22174 _.name = t2;
22175 _.value = t3;
22176 },
22177 StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
22178 this.condition = t0;
22179 },
22180 StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
22181 this.$this = t0;
22182 this.wasInControlDirective = t1;
22183 this.condition = t2;
22184 },
22185 StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
22186 this._box_0 = t0;
22187 this.name = t1;
22188 },
22189 StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
22190 this._box_0 = t0;
22191 this.$this = t1;
22192 this.start = t2;
22193 },
22194 StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
22195 this._box_0 = t0;
22196 this.$this = t1;
22197 },
22198 StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
22199 this._box_0 = t0;
22200 this.resolveOneOperation = t1;
22201 },
22202 StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
22203 var _ = this;
22204 _._box_0 = t0;
22205 _.$this = t1;
22206 _.resetState = t2;
22207 _.resolveOperations = t3;
22208 },
22209 StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
22210 this._box_0 = t0;
22211 this.$this = t1;
22212 this.resolveOneOperation = t2;
22213 },
22214 StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
22215 this._box_0 = t0;
22216 this.$this = t1;
22217 this.resolveOperations = t2;
22218 },
22219 StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
22220 this.$this = t0;
22221 },
22222 StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
22223 },
22224 StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
22225 },
22226 StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
22227 this.$this = t0;
22228 this.start = t1;
22229 },
22230 StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
22231 },
22232 StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
22233 this.$this = t0;
22234 },
22235 StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
22236 this.$this = t0;
22237 this.start = t1;
22238 },
22239 Stylesheet$internal0(children, span, plainCss) {
22240 var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
22241 t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
22242 t3 = A.List_List$unmodifiable(children, type$.Statement_2),
22243 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
22244 t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
22245 t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
22246 return t1;
22247 },
22248 Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
22249 var t1, t2;
22250 switch (syntax) {
22251 case B.Syntax_Sass0:
22252 t1 = A.SpanScanner$(contents, url);
22253 t2 = logger == null ? B.StderrLogger_false0 : logger;
22254 return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22255 case B.Syntax_SCSS0:
22256 return A.ScssParser$0(contents, logger, url).parse$0();
22257 case B.Syntax_CSS0:
22258 t1 = A.SpanScanner$(contents, url);
22259 t2 = logger == null ? B.StderrLogger_false0 : logger;
22260 return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22261 default:
22262 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
22263 }
22264 },
22265 Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
22266 var _ = this;
22267 _.span = t0;
22268 _.plainCss = t1;
22269 _._stylesheet1$_uses = t2;
22270 _._stylesheet1$_forwards = t3;
22271 _.children = t4;
22272 _.hasDeclarations = t5;
22273 },
22274 SupportsExpression0: function SupportsExpression0(t0) {
22275 this.condition = t0;
22276 },
22277 ModifiableCssSupportsRule$0(condition, span) {
22278 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22279 return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22280 },
22281 ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
22282 var _ = this;
22283 _.condition = t0;
22284 _.span = t1;
22285 _.children = t2;
22286 _._node1$_children = t3;
22287 _._node1$_indexInParent = _._node1$_parent = null;
22288 _.isGroupEnd = false;
22289 },
22290 SupportsRule$0(condition, children, span) {
22291 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22292 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22293 return new A.SupportsRule0(condition, span, t1, t2);
22294 },
22295 SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
22296 var _ = this;
22297 _.condition = t0;
22298 _.span = t1;
22299 _.children = t2;
22300 _.hasDeclarations = t3;
22301 },
22302 NodeToDartImporter: function NodeToDartImporter(t0, t1) {
22303 this._sync$_canonicalize = t0;
22304 this._sync$_load = t1;
22305 },
22306 Syntax_forPath0(path) {
22307 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
22308 case ".sass":
22309 return B.Syntax_Sass0;
22310 case ".css":
22311 return B.Syntax_CSS0;
22312 default:
22313 return B.Syntax_SCSS0;
22314 }
22315 },
22316 Syntax0: function Syntax0(t0) {
22317 this._syntax0$_name = t0;
22318 },
22319 TerseLogger0: function TerseLogger0(t0, t1) {
22320 this._terse$_warningCounts = t0;
22321 this._terse$_inner = t1;
22322 },
22323 TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
22324 },
22325 TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
22326 },
22327 TypeSelector0: function TypeSelector0(t0) {
22328 this.name = t0;
22329 },
22330 Types: function Types() {
22331 },
22332 UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
22333 this.operator = t0;
22334 this.operand = t1;
22335 this.span = t2;
22336 },
22337 UnaryOperator0: function UnaryOperator0(t0, t1) {
22338 this.name = t0;
22339 this.operator = t1;
22340 },
22341 UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
22342 this._number1$_value = t0;
22343 this.hashCache = null;
22344 this.asSlash = t1;
22345 },
22346 UniversalSelector0: function UniversalSelector0(t0) {
22347 this.namespace = t0;
22348 },
22349 UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
22350 this._unprefixed_map_view0$_map = t0;
22351 this._unprefixed_map_view0$_prefix = t1;
22352 this.$ti = t2;
22353 },
22354 _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
22355 this._unprefixed_map_view0$_view = t0;
22356 },
22357 _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
22358 this.$this = t0;
22359 },
22360 _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
22361 this.$this = t0;
22362 },
22363 JSUrl0: function JSUrl0() {
22364 },
22365 UseRule0: function UseRule0(t0, t1, t2, t3) {
22366 var _ = this;
22367 _.url = t0;
22368 _.namespace = t1;
22369 _.configuration = t2;
22370 _.span = t3;
22371 },
22372 UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
22373 var _ = this;
22374 _.declaration = t0;
22375 _.environment = t1;
22376 _.inDependency = t2;
22377 _.$ti = t3;
22378 },
22379 fromImport0() {
22380 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
22381 return t1 === true;
22382 },
22383 resolveImportPath0(path) {
22384 var t1,
22385 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
22386 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
22387 t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
22388 return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
22389 }
22390 t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
22391 if (t1 == null)
22392 t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
22393 return t1 == null ? A._tryPathAsDirectory0(path) : t1;
22394 },
22395 _tryPathWithExtensions0(path) {
22396 var result = A._tryPath0(path + ".sass");
22397 B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
22398 return result.length !== 0 ? result : A._tryPath0(path + ".css");
22399 },
22400 _tryPath0(path) {
22401 var t1 = $.$get$context(),
22402 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
22403 t1 = A._setArrayType([], type$.JSArray_String);
22404 if (A.fileExists0(partial))
22405 t1.push(partial);
22406 if (A.fileExists0(path))
22407 t1.push(path);
22408 return t1;
22409 },
22410 _tryPathAsDirectory0(path) {
22411 var t1;
22412 if (!A.dirExists0(path))
22413 return null;
22414 t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
22415 return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
22416 },
22417 _exactlyOne0(paths) {
22418 var t1 = paths.length;
22419 if (t1 === 0)
22420 return null;
22421 if (t1 === 1)
22422 return B.JSArray_methods.get$first(paths);
22423 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
22424 },
22425 resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
22426 this.path = t0;
22427 this.extension = t1;
22428 },
22429 resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
22430 this.path = t0;
22431 },
22432 _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
22433 this.path = t0;
22434 },
22435 _exactlyOne_closure0: function _exactlyOne_closure0() {
22436 },
22437 jsThrow(error) {
22438 return type$.Never._as($.$get$_jsThrow().call$1(error));
22439 },
22440 attachJsStack(error, trace) {
22441 var traceString = trace.toString$0(0),
22442 firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
22443 if (firstRealLine !== -1)
22444 traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
22445 error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
22446 },
22447 jsForEach(object, callback) {
22448 var t1, t2;
22449 for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
22450 t2 = t1.get$current(t1);
22451 callback.call$2(t2, object[t2]);
22452 }
22453 },
22454 defineGetter(object, $name, get, value) {
22455 self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
22456 },
22457 allowInteropNamed($name, $function) {
22458 $function = A.allowInterop($function);
22459 A.defineGetter($function, "name", null, $name);
22460 A._hideDartProperties($function);
22461 return $function;
22462 },
22463 allowInteropCaptureThisNamed($name, $function) {
22464 $function = A.allowInteropCaptureThis($function);
22465 A.defineGetter($function, "name", null, $name);
22466 A._hideDartProperties($function);
22467 return $function;
22468 },
22469 _hideDartProperties(object) {
22470 var t1, t2, t3, t4;
22471 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();) {
22472 t3 = t1.__internal$_current;
22473 if (t3 == null)
22474 t3 = t2._as(t3);
22475 if (B.JSString_methods.startsWith$1(t3, "_")) {
22476 t4 = {value: object[t3], enumerable: false};
22477 self.Object.defineProperty(object, t3, t4);
22478 }
22479 }
22480 },
22481 futureToPromise0(future) {
22482 return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
22483 },
22484 jsToDartUrl(url) {
22485 return A.Uri_parse(J.toString$0$(url));
22486 },
22487 dartToJSUrl(url) {
22488 return new self.URL(url.toString$0(0));
22489 },
22490 toJSArray(iterable) {
22491 var t1, t2,
22492 array = new self.Array();
22493 for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
22494 t2.push$1(array, t1.get$current(t1));
22495 return array;
22496 },
22497 objectToMap(object) {
22498 var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
22499 A.jsForEach(object, new A.objectToMap_closure(map));
22500 return map;
22501 },
22502 jsToDartSeparator(separator) {
22503 switch (separator) {
22504 case " ":
22505 return B.ListSeparator_woc0;
22506 case ",":
22507 return B.ListSeparator_kWM0;
22508 case "/":
22509 return B.ListSeparator_1gm0;
22510 case null:
22511 return B.ListSeparator_undecided_null0;
22512 default:
22513 A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
22514 }
22515 },
22516 parseSyntax(syntax) {
22517 if (syntax == null || syntax === "scss")
22518 return B.Syntax_SCSS0;
22519 if (syntax === "indented")
22520 return B.Syntax_Sass0;
22521 if (syntax === "css")
22522 return B.Syntax_CSS0;
22523 A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
22524 },
22525 _PropertyDescriptor0: function _PropertyDescriptor0() {
22526 },
22527 futureToPromise_closure0: function futureToPromise_closure0(t0) {
22528 this.future = t0;
22529 },
22530 futureToPromise__closure0: function futureToPromise__closure0(t0) {
22531 this.resolve = t0;
22532 },
22533 futureToPromise__closure1: function futureToPromise__closure1(t0) {
22534 this.reject = t0;
22535 },
22536 objectToMap_closure: function objectToMap_closure(t0) {
22537 this.map = t0;
22538 },
22539 toSentence0(iter, conjunction) {
22540 var t1 = iter.__internal$_iterable,
22541 t2 = J.getInterceptor$asx(t1);
22542 if (t2.get$length(t1) === 1)
22543 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
22544 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))));
22545 },
22546 indent0(string, indentation) {
22547 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");
22548 },
22549 pluralize0($name, number, plural) {
22550 if (number === 1)
22551 return $name;
22552 if (plural != null)
22553 return plural;
22554 return $name + "s";
22555 },
22556 trimAscii0(string, excludeEscape) {
22557 var t1,
22558 start = A._firstNonWhitespace0(string);
22559 if (start == null)
22560 t1 = "";
22561 else {
22562 t1 = A._lastNonWhitespace0(string, true);
22563 t1.toString;
22564 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
22565 }
22566 return t1;
22567 },
22568 trimAsciiRight0(string, excludeEscape) {
22569 var end = A._lastNonWhitespace0(string, excludeEscape);
22570 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
22571 },
22572 _firstNonWhitespace0(string) {
22573 var t1, i, t2;
22574 for (t1 = string.length, i = 0; i < t1; ++i) {
22575 t2 = B.JSString_methods._codeUnitAt$1(string, i);
22576 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
22577 return i;
22578 }
22579 return null;
22580 },
22581 _lastNonWhitespace0(string, excludeEscape) {
22582 var t1, i, codeUnit;
22583 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
22584 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
22585 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
22586 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
22587 return i + 1;
22588 else
22589 return i;
22590 }
22591 return null;
22592 },
22593 isPublic0(member) {
22594 var start = B.JSString_methods._codeUnitAt$1(member, 0);
22595 return start !== 45 && start !== 95;
22596 },
22597 flattenVertically0(iterable, $T) {
22598 var result,
22599 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
22600 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
22601 if (queues.length === 1)
22602 return B.JSArray_methods.get$first(queues);
22603 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
22604 for (; queues.length !== 0;) {
22605 if (!!queues.fixed$length)
22606 A.throwExpression(A.UnsupportedError$("removeWhere"));
22607 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
22608 }
22609 return result;
22610 },
22611 firstOrNull0(iterable) {
22612 var iterator = J.get$iterator$ax(iterable);
22613 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
22614 },
22615 codepointIndexToCodeUnitIndex0(string, codepointIndex) {
22616 var codeUnitIndex, i, codeUnitIndex0;
22617 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
22618 codeUnitIndex0 = codeUnitIndex + 1;
22619 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
22620 }
22621 return codeUnitIndex;
22622 },
22623 codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
22624 var codepointIndex, i;
22625 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
22626 ++codepointIndex;
22627 return codepointIndex;
22628 },
22629 frameForSpan0(span, member, url) {
22630 var t2, t3, t4,
22631 t1 = url == null ? span.file.url : url;
22632 if (t1 == null)
22633 t1 = $.$get$_noSourceUrl0();
22634 t2 = span.file;
22635 t3 = span._file$_start;
22636 t4 = A.FileLocation$_(t2, t3);
22637 t4 = t4.file.getLine$1(t4.offset);
22638 t3 = A.FileLocation$_(t2, t3);
22639 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
22640 },
22641 declarationName0(span) {
22642 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
22643 return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
22644 },
22645 unvendor0($name) {
22646 var i,
22647 t1 = $name.length;
22648 if (t1 < 2)
22649 return $name;
22650 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
22651 return $name;
22652 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
22653 return $name;
22654 for (i = 2; i < t1; ++i)
22655 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
22656 return B.JSString_methods.substring$1($name, i + 1);
22657 return $name;
22658 },
22659 equalsIgnoreCase0(string1, string2) {
22660 var t1, i;
22661 if (string1 === string2)
22662 return true;
22663 if (string1 == null || false)
22664 return false;
22665 t1 = string1.length;
22666 if (t1 !== string2.length)
22667 return false;
22668 for (i = 0; i < t1; ++i)
22669 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
22670 return false;
22671 return true;
22672 },
22673 startsWithIgnoreCase0(string, prefix) {
22674 var i,
22675 t1 = prefix.length;
22676 if (string.length < t1)
22677 return false;
22678 for (i = 0; i < t1; ++i)
22679 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
22680 return false;
22681 return true;
22682 },
22683 mapInPlace0(list, $function) {
22684 var i;
22685 for (i = 0; i < list.length; ++i)
22686 list[i] = $function.call$1(list[i]);
22687 },
22688 longestCommonSubsequence0(list1, list2, select, $T) {
22689 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
22690 if (select == null)
22691 select = new A.longestCommonSubsequence_closure0($T);
22692 t1 = J.getInterceptor$asx(list1);
22693 _length = t1.get$length(list1) + 1;
22694 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
22695 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
22696 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
22697 _length = t1.get$length(list1);
22698 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
22699 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
22700 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
22701 for (i = 0; i < t1.get$length(list1); i = i0)
22702 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
22703 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
22704 selections[i][j] = selection;
22705 t3 = lengths[i0];
22706 j0 = j + 1;
22707 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
22708 }
22709 return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
22710 },
22711 removeFirstWhere0(list, test, orElse) {
22712 var i;
22713 for (i = 0; i < list.length; ++i) {
22714 if (!test.call$1(list[i]))
22715 continue;
22716 B.JSArray_methods.removeAt$1(list, i);
22717 return;
22718 }
22719 orElse.call$0();
22720 },
22721 mapAddAll20(destination, source, K1, K2, $V) {
22722 source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
22723 },
22724 setAll0(map, keys, value) {
22725 var t1;
22726 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
22727 map.$indexSet(0, t1.get$current(t1), value);
22728 },
22729 rotateSlice0(list, start, end) {
22730 var i, next,
22731 element = list.$index(0, end - 1);
22732 for (i = start; i < end; ++i, element = next) {
22733 next = list.$index(0, i);
22734 list.$indexSet(0, i, element);
22735 }
22736 },
22737 mapAsync0(iterable, callback, $E, $F) {
22738 return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
22739 },
22740 mapAsync$body0(iterable, callback, $E, $F, $async$type) {
22741 var $async$goto = 0,
22742 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22743 $async$returnValue, t2, _i, t1, $async$temp1;
22744 var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22745 if ($async$errorCode === 1)
22746 return A._asyncRethrow($async$result, $async$completer);
22747 while (true)
22748 switch ($async$goto) {
22749 case 0:
22750 // Function start
22751 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
22752 t2 = iterable.length, _i = 0;
22753 case 3:
22754 // for condition
22755 if (!(_i < t2)) {
22756 // goto after for
22757 $async$goto = 5;
22758 break;
22759 }
22760 $async$temp1 = t1;
22761 $async$goto = 6;
22762 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
22763 case 6:
22764 // returning from await.
22765 $async$temp1.push($async$result);
22766 case 4:
22767 // for update
22768 ++_i;
22769 // goto for condition
22770 $async$goto = 3;
22771 break;
22772 case 5:
22773 // after for
22774 $async$returnValue = t1;
22775 // goto return
22776 $async$goto = 1;
22777 break;
22778 case 1:
22779 // return
22780 return A._asyncReturn($async$returnValue, $async$completer);
22781 }
22782 });
22783 return A._asyncStartSync($async$mapAsync0, $async$completer);
22784 },
22785 putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
22786 return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
22787 },
22788 putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
22789 var $async$goto = 0,
22790 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22791 $async$returnValue, t1, value;
22792 var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22793 if ($async$errorCode === 1)
22794 return A._asyncRethrow($async$result, $async$completer);
22795 while (true)
22796 switch ($async$goto) {
22797 case 0:
22798 // Function start
22799 if (map.containsKey$1(key)) {
22800 t1 = map.$index(0, key);
22801 $async$returnValue = t1 == null ? $V._as(t1) : t1;
22802 // goto return
22803 $async$goto = 1;
22804 break;
22805 }
22806 $async$goto = 3;
22807 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
22808 case 3:
22809 // returning from await.
22810 value = $async$result;
22811 map.$indexSet(0, key, value);
22812 $async$returnValue = value;
22813 // goto return
22814 $async$goto = 1;
22815 break;
22816 case 1:
22817 // return
22818 return A._asyncReturn($async$returnValue, $async$completer);
22819 }
22820 });
22821 return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
22822 },
22823 copyMapOfMap0(map, K1, K2, $V) {
22824 var t2, t3, t4, t5,
22825 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
22826 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22827 t3 = t2.get$current(t2);
22828 t4 = t3.key;
22829 t3 = t3.value;
22830 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
22831 t5.addAll$1(0, t3);
22832 t1.$indexSet(0, t4, t5);
22833 }
22834 return t1;
22835 },
22836 copyMapOfList0(map, $K, $E) {
22837 var t2, t3,
22838 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
22839 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22840 t3 = t2.get$current(t2);
22841 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
22842 }
22843 return t1;
22844 },
22845 consumeEscapedCharacter0(scanner) {
22846 var first, value, i, next, t1;
22847 scanner.expectChar$1(92);
22848 first = scanner.peekChar$0();
22849 if (first == null)
22850 return 65533;
22851 else if (first === 10 || first === 13 || first === 12)
22852 scanner.error$1(0, "Expected escape sequence.");
22853 else if (A.isHex0(first)) {
22854 for (value = 0, i = 0; i < 6; ++i) {
22855 next = scanner.peekChar$0();
22856 if (next == null || !A.isHex0(next))
22857 break;
22858 value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
22859 }
22860 t1 = scanner.peekChar$0();
22861 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
22862 scanner.readChar$0();
22863 if (value !== 0)
22864 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
22865 else
22866 t1 = true;
22867 if (t1)
22868 return 65533;
22869 else
22870 return value;
22871 } else
22872 return scanner.readChar$0();
22873 },
22874 throwWithTrace0(error, trace) {
22875 A.attachTrace0(error, trace);
22876 throw A.wrapException(error);
22877 },
22878 attachTrace0(error, trace) {
22879 var t1;
22880 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22881 return;
22882 if (trace.toString$0(0).length === 0)
22883 return;
22884 t1 = $.$get$_traces0();
22885 A.Expando__checkType(error);
22886 t1 = t1._jsWeakMap;
22887 if (t1.get(error) == null)
22888 t1.set(error, trace);
22889 },
22890 getTrace0(error) {
22891 var t1;
22892 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22893 t1 = null;
22894 else {
22895 t1 = $.$get$_traces0();
22896 A.Expando__checkType(error);
22897 t1 = t1._jsWeakMap.get(error);
22898 }
22899 return t1;
22900 },
22901 indent_closure0: function indent_closure0(t0) {
22902 this.indentation = t0;
22903 },
22904 flattenVertically_closure1: function flattenVertically_closure1(t0) {
22905 this.T = t0;
22906 },
22907 flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
22908 this.result = t0;
22909 this.T = t1;
22910 },
22911 longestCommonSubsequence_closure0: function longestCommonSubsequence_closure0(t0) {
22912 this.T = t0;
22913 },
22914 longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
22915 this.selections = t0;
22916 this.lengths = t1;
22917 this.T = t2;
22918 },
22919 mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
22920 var _ = this;
22921 _.destination = t0;
22922 _.K1 = t1;
22923 _.K2 = t2;
22924 _.V = t3;
22925 },
22926 CssValue0: function CssValue0(t0, t1, t2) {
22927 this.value = t0;
22928 this.span = t1;
22929 this.$ti = t2;
22930 },
22931 ValueExpression0: function ValueExpression0(t0, t1) {
22932 this.value = t0;
22933 this.span = t1;
22934 },
22935 ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
22936 this.value = t0;
22937 this.span = t1;
22938 this.$ti = t2;
22939 },
22940 valueClass_closure: function valueClass_closure() {
22941 },
22942 valueClass__closure: function valueClass__closure() {
22943 },
22944 valueClass__closure0: function valueClass__closure0() {
22945 },
22946 valueClass__closure1: function valueClass__closure1() {
22947 },
22948 valueClass__closure2: function valueClass__closure2() {
22949 },
22950 valueClass__closure3: function valueClass__closure3() {
22951 },
22952 valueClass__closure4: function valueClass__closure4() {
22953 },
22954 valueClass__closure5: function valueClass__closure5() {
22955 },
22956 valueClass__closure6: function valueClass__closure6() {
22957 },
22958 valueClass__closure7: function valueClass__closure7() {
22959 },
22960 valueClass__closure8: function valueClass__closure8() {
22961 },
22962 valueClass__closure9: function valueClass__closure9() {
22963 },
22964 valueClass__closure10: function valueClass__closure10() {
22965 },
22966 valueClass__closure11: function valueClass__closure11() {
22967 },
22968 valueClass__closure12: function valueClass__closure12() {
22969 },
22970 valueClass__closure13: function valueClass__closure13() {
22971 },
22972 valueClass__closure14: function valueClass__closure14() {
22973 },
22974 valueClass__closure15: function valueClass__closure15() {
22975 },
22976 valueClass__closure16: function valueClass__closure16() {
22977 },
22978 Value0: function Value0() {
22979 },
22980 VariableExpression0: function VariableExpression0(t0, t1, t2) {
22981 this.namespace = t0;
22982 this.name = t1;
22983 this.span = t2;
22984 },
22985 VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
22986 if (namespace != null && global)
22987 A.throwExpression(A.ArgumentError$(string$.Other_, null));
22988 return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
22989 },
22990 VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
22991 var _ = this;
22992 _.namespace = t0;
22993 _.name = t1;
22994 _.expression = t2;
22995 _.isGuarded = t3;
22996 _.isGlobal = t4;
22997 _.span = t5;
22998 },
22999 WarnRule0: function WarnRule0(t0, t1) {
23000 this.expression = t0;
23001 this.span = t1;
23002 },
23003 WhileRule$0(condition, children, span) {
23004 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
23005 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
23006 return new A.WhileRule0(condition, span, t1, t2);
23007 },
23008 WhileRule0: function WhileRule0(t0, t1, t2, t3) {
23009 var _ = this;
23010 _.condition = t0;
23011 _.span = t1;
23012 _.children = t2;
23013 _.hasDeclarations = t3;
23014 },
23015 printString(string) {
23016 if (typeof dartPrint == "function") {
23017 dartPrint(string);
23018 return;
23019 }
23020 if (typeof console == "object" && typeof console.log != "undefined") {
23021 console.log(string);
23022 return;
23023 }
23024 if (typeof window == "object")
23025 return;
23026 if (typeof print == "function") {
23027 print(string);
23028 return;
23029 }
23030 throw "Unable to print message: " + String(string);
23031 },
23032 _convertDartFunctionFast(f) {
23033 var ret,
23034 existing = f.$dart_jsFunction;
23035 if (existing != null)
23036 return existing;
23037 ret = function(_call, f) {
23038 return function() {
23039 return _call(f, Array.prototype.slice.apply(arguments));
23040 };
23041 }(A._callDartFunctionFast, f);
23042 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23043 f.$dart_jsFunction = ret;
23044 return ret;
23045 },
23046 _convertDartFunctionFastCaptureThis(f) {
23047 var ret,
23048 existing = f._$dart_jsFunctionCaptureThis;
23049 if (existing != null)
23050 return existing;
23051 ret = function(_call, f) {
23052 return function() {
23053 return _call(f, this, Array.prototype.slice.apply(arguments));
23054 };
23055 }(A._callDartFunctionFastCaptureThis, f);
23056 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23057 f._$dart_jsFunctionCaptureThis = ret;
23058 return ret;
23059 },
23060 _callDartFunctionFast(callback, $arguments) {
23061 return A.Function_apply(callback, $arguments);
23062 },
23063 _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
23064 var t1 = [$self];
23065 B.JSArray_methods.addAll$1(t1, $arguments);
23066 return A.Function_apply(callback, t1);
23067 },
23068 allowInterop(f) {
23069 if (typeof f == "function")
23070 return f;
23071 else
23072 return A._convertDartFunctionFast(f);
23073 },
23074 allowInteropCaptureThis(f) {
23075 if (typeof f == "function")
23076 throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
23077 else
23078 return A._convertDartFunctionFastCaptureThis(f);
23079 },
23080 mergeMaps(map1, map2, $K, $V) {
23081 var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
23082 result.addAll$1(0, map2);
23083 return result;
23084 },
23085 groupBy(values, key, $S, $T) {
23086 var t1, t2, _i, element, t3, t4,
23087 map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
23088 for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
23089 element = values[_i];
23090 t3 = key.call$1(element);
23091 t4 = map.$index(0, t3);
23092 if (t4 == null) {
23093 t4 = A._setArrayType([], t2);
23094 map.$indexSet(0, t3, t4);
23095 t3 = t4;
23096 } else
23097 t3 = t4;
23098 J.add$1$ax(t3, element);
23099 }
23100 return map;
23101 },
23102 minBy(values, orderBy) {
23103 var t1, t2, minValue, minOrderBy, element, elementOrderBy;
23104 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();) {
23105 element = t1.__internal$_current;
23106 if (element == null)
23107 element = t2._as(element);
23108 elementOrderBy = orderBy.call$1(element);
23109 if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
23110 minOrderBy = elementOrderBy;
23111 minValue = element;
23112 }
23113 }
23114 return minValue;
23115 },
23116 IterableNullableExtension_whereNotNull(_this, $T) {
23117 return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
23118 },
23119 IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
23120 return A._makeSyncStarIterable(function() {
23121 var _this = $async$_this,
23122 $T = $async$$T;
23123 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
23124 return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
23125 if ($async$errorCode === 1) {
23126 $async$currentError = $async$result;
23127 $async$goto = $async$handler;
23128 }
23129 while (true)
23130 switch ($async$goto) {
23131 case 0:
23132 // Function start
23133 t1 = _this.get$iterator(_this);
23134 case 2:
23135 // for condition
23136 if (!t1.moveNext$0()) {
23137 // goto after for
23138 $async$goto = 3;
23139 break;
23140 }
23141 element = t1.get$current(t1);
23142 $async$goto = element != null ? 4 : 5;
23143 break;
23144 case 4:
23145 // then
23146 $async$goto = 6;
23147 return element;
23148 case 6:
23149 // after yield
23150 case 5:
23151 // join
23152 // goto for condition
23153 $async$goto = 2;
23154 break;
23155 case 3:
23156 // after for
23157 // implicit return
23158 return A._IterationMarker_endOfIteration();
23159 case 1:
23160 // rethrow
23161 return A._IterationMarker_uncaughtError($async$currentError);
23162 }
23163 };
23164 }, $async$type);
23165 },
23166 IterableIntegerExtension_get_sum(_this) {
23167 var t1, t2, result, t3;
23168 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();) {
23169 t3 = t1.__internal$_current;
23170 result += t3 == null ? t2._as(t3) : t3;
23171 }
23172 return result;
23173 },
23174 ListExtensions_mapIndexed(_this, convert, $E, $R) {
23175 return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
23176 },
23177 ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
23178 return A._makeSyncStarIterable(function() {
23179 var _this = $async$_this,
23180 convert = $async$convert,
23181 $E = $async$$E,
23182 $R = $async$$R;
23183 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
23184 return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
23185 if ($async$errorCode === 1) {
23186 $async$currentError = $async$result;
23187 $async$goto = $async$handler;
23188 }
23189 while (true)
23190 switch ($async$goto) {
23191 case 0:
23192 // Function start
23193 t1 = _this.length, index = 0;
23194 case 2:
23195 // for condition
23196 if (!(index < t1)) {
23197 // goto after for
23198 $async$goto = 4;
23199 break;
23200 }
23201 $async$goto = 5;
23202 return convert.call$2(index, _this[index]);
23203 case 5:
23204 // after yield
23205 case 3:
23206 // for update
23207 ++index;
23208 // goto for condition
23209 $async$goto = 2;
23210 break;
23211 case 4:
23212 // after for
23213 // implicit return
23214 return A._IterationMarker_endOfIteration();
23215 case 1:
23216 // rethrow
23217 return A._IterationMarker_uncaughtError($async$currentError);
23218 }
23219 };
23220 }, $async$type);
23221 },
23222 defaultCompare(value1, value2) {
23223 return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
23224 },
23225 current() {
23226 var exception, t1, path, lastIndex, uri = null;
23227 try {
23228 uri = A.Uri_base();
23229 } catch (exception) {
23230 if (type$.Exception._is(A.unwrapException(exception))) {
23231 t1 = $._current;
23232 if (t1 != null)
23233 return t1;
23234 throw exception;
23235 } else
23236 throw exception;
23237 }
23238 if (J.$eq$(uri, $._currentUriBase)) {
23239 t1 = $._current;
23240 t1.toString;
23241 return t1;
23242 }
23243 $._currentUriBase = uri;
23244 if ($.$get$Style_platform() == $.$get$Style_url())
23245 t1 = $._current = uri.resolve$1(".").toString$0(0);
23246 else {
23247 path = uri.toFilePath$0();
23248 lastIndex = path.length - 1;
23249 t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
23250 }
23251 return t1;
23252 },
23253 absolute(part1, part2, part3, part4, part5, part6, part7) {
23254 return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
23255 },
23256 join(part1, part2, part3) {
23257 var _null = null;
23258 return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
23259 },
23260 prettyUri(uri) {
23261 return $.$get$context().prettyUri$1(uri);
23262 },
23263 isAlphabetic(char) {
23264 var t1;
23265 if (!(char >= 65 && char <= 90))
23266 t1 = char >= 97 && char <= 122;
23267 else
23268 t1 = true;
23269 return t1;
23270 },
23271 isDriveLetter(path, index) {
23272 var t1 = path.length,
23273 t2 = index + 2;
23274 if (t1 < t2)
23275 return false;
23276 if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
23277 return false;
23278 if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
23279 return false;
23280 if (t1 === t2)
23281 return true;
23282 return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
23283 },
23284 _combine(hash, value) {
23285 hash = hash + value & 536870911;
23286 hash = hash + ((hash & 524287) << 10) & 536870911;
23287 return hash ^ hash >>> 6;
23288 },
23289 _finish(hash) {
23290 hash = hash + ((hash & 67108863) << 3) & 536870911;
23291 hash ^= hash >>> 11;
23292 return hash + ((hash & 16383) << 15) & 536870911;
23293 },
23294 EvaluationContext_current() {
23295 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23296 if (type$.EvaluationContext._is(context))
23297 return context;
23298 throw A.wrapException(A.StateError$(string$.No_Sass));
23299 },
23300 repl(options) {
23301 return A.repl$body(options);
23302 },
23303 repl$body(options) {
23304 var $async$goto = 0,
23305 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
23306 $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;
23307 var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
23308 if ($async$errorCode === 1) {
23309 $async$currentError = $async$result;
23310 $async$goto = $async$handler;
23311 }
23312 while (true)
23313 switch ($async$goto) {
23314 case 0:
23315 // Function start
23316 t1 = A._setArrayType([], type$.JSArray_String);
23317 t2 = B.JSString_methods.$mul(" ", 3);
23318 t3 = $.$get$alwaysValid();
23319 repl0 = new A.Repl(">> ", t2, t3, t1);
23320 repl0.__Repl__adapter = new A.ReplAdapter(repl0);
23321 repl = repl0;
23322 t1 = options._options;
23323 logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
23324 t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
23325 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));
23326 t2 = new A._StreamIterator(A.checkNotNullable(A._lateReadCheck(repl.__Repl__adapter, "_adapter").runAsync$0(), "stream", type$.Object));
23327 $async$handler = 2;
23328 t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
23329 case 5:
23330 // for condition
23331 $async$goto = 7;
23332 return A._asyncAwait(t2.moveNext$0(), $async$repl);
23333 case 7:
23334 // returning from await.
23335 if (!$async$result) {
23336 // goto after for
23337 $async$goto = 6;
23338 break;
23339 }
23340 line = t2.get$current(t2);
23341 if (J.trim$0$s(line).length === 0) {
23342 // goto for condition
23343 $async$goto = 5;
23344 break;
23345 }
23346 try {
23347 if (J.startsWith$1$s(line, "@")) {
23348 t5 = evaluator;
23349 t6 = logger;
23350 t7 = A.SpanScanner$(line, null);
23351 if (t6 == null)
23352 t6 = B.StderrLogger_false;
23353 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
23354 t5._visitor.runStatement$2(t5._importer, t6);
23355 // goto for condition
23356 $async$goto = 5;
23357 break;
23358 }
23359 t5 = A.SpanScanner$(line, null);
23360 if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
23361 t5 = logger;
23362 t6 = A.SpanScanner$(line, null);
23363 if (t5 == null)
23364 t5 = B.StderrLogger_false;
23365 declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
23366 t5 = evaluator;
23367 t5._visitor.runStatement$2(t5._importer, declaration);
23368 t5 = evaluator;
23369 t6 = declaration.name;
23370 t7 = declaration.span;
23371 t8 = declaration.namespace;
23372 line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
23373 toZone = $.printToZone;
23374 if (toZone == null)
23375 A.printString(line0);
23376 else
23377 toZone.call$1(line0);
23378 } else {
23379 t5 = evaluator;
23380 t6 = logger;
23381 t7 = A.SpanScanner$(line, null);
23382 if (t6 == null)
23383 t6 = B.StderrLogger_false;
23384 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
23385 t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
23386 line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
23387 toZone = $.printToZone;
23388 if (toZone == null)
23389 A.printString(line0);
23390 else
23391 toZone.call$1(line0);
23392 }
23393 } catch (exception) {
23394 t5 = A.unwrapException(exception);
23395 if (t5 instanceof A.SassException) {
23396 error = t5;
23397 stackTrace = A.getTraceFromException(exception);
23398 t5 = error;
23399 t6 = typeof t5 == "string";
23400 if (t6 || typeof t5 == "number" || A._isBool(t5))
23401 t5 = null;
23402 else {
23403 t7 = $.$get$_traces();
23404 t6 = A._isBool(t5) || typeof t5 == "number" || t6;
23405 if (t6)
23406 A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
23407 t5 = t7._jsWeakMap.get(t5);
23408 }
23409 if (t5 == null)
23410 t5 = stackTrace;
23411 A._logError(error, t5, line, repl, options, logger);
23412 } else
23413 throw exception;
23414 }
23415 // goto for condition
23416 $async$goto = 5;
23417 break;
23418 case 6:
23419 // after for
23420 $async$next.push(4);
23421 // goto finally
23422 $async$goto = 3;
23423 break;
23424 case 2:
23425 // uncaught
23426 $async$next = [1];
23427 case 3:
23428 // finally
23429 $async$handler = 1;
23430 $async$goto = 8;
23431 return A._asyncAwait(t2.cancel$0(), $async$repl);
23432 case 8:
23433 // returning from await.
23434 // goto the next finally handler
23435 $async$goto = $async$next.pop();
23436 break;
23437 case 4:
23438 // after finally
23439 // implicit return
23440 return A._asyncReturn(null, $async$completer);
23441 case 1:
23442 // rethrow
23443 return A._asyncRethrow($async$currentError, $async$completer);
23444 }
23445 });
23446 return A._asyncStartSync($async$repl, $async$completer);
23447 },
23448 _logError(error, stackTrace, line, repl, options, logger) {
23449 var t1, t2, spacesBeforeError, t3;
23450 if (A.SourceSpanException.prototype.get$span.call(error, error).file.url == null)
23451 if (!A._asBool(options._options.$index(0, "quiet")))
23452 t1 = logger._emittedDebug || logger._emittedWarning;
23453 else
23454 t1 = false;
23455 else
23456 t1 = true;
23457 if (t1) {
23458 A.print(error.toString$1$color(0, options.get$color()));
23459 return;
23460 }
23461 t1 = options.get$color() ? "" + "\x1b[31m" : "";
23462 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23463 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23464 spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
23465 if (options.get$color()) {
23466 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23467 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23468 t2 = t2.file.getColumn$1(t2.offset) < line.length;
23469 } else
23470 t2 = false;
23471 if (t2) {
23472 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23473 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");
23474 t1 = t2;
23475 }
23476 t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
23477 t3 = A.SourceSpanException.prototype.get$span.call(error, error);
23478 t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3._end - t3._file$_start)) + "\n");
23479 t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
23480 t1 += "Error: " + error._span_exception$_message + "\n";
23481 if (A._asBool(options._options.$index(0, "trace")))
23482 t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
23483 A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
23484 },
23485 isWhitespace(character) {
23486 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23487 },
23488 isNewline(character) {
23489 return character === 10 || character === 13 || character === 12;
23490 },
23491 isAlphabetic0(character) {
23492 var t1;
23493 if (!(character >= 97 && character <= 122))
23494 t1 = character >= 65 && character <= 90;
23495 else
23496 t1 = true;
23497 return t1;
23498 },
23499 isDigit(character) {
23500 return character != null && character >= 48 && character <= 57;
23501 },
23502 isHex(character) {
23503 if (character == null)
23504 return false;
23505 if (A.isDigit(character))
23506 return true;
23507 if (character >= 97 && character <= 102)
23508 return true;
23509 if (character >= 65 && character <= 70)
23510 return true;
23511 return false;
23512 },
23513 asHex(character) {
23514 if (character <= 57)
23515 return character - 48;
23516 if (character <= 70)
23517 return 10 + character - 65;
23518 return 10 + character - 97;
23519 },
23520 hexCharFor(number) {
23521 return number < 10 ? 48 + number : 87 + number;
23522 },
23523 opposite(character) {
23524 switch (character) {
23525 case 40:
23526 return 41;
23527 case 123:
23528 return 125;
23529 case 91:
23530 return 93;
23531 default:
23532 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23533 }
23534 },
23535 characterEqualsIgnoreCase(character1, character2) {
23536 var upperCase1;
23537 if (character1 === character2)
23538 return true;
23539 if ((character1 ^ character2) >>> 0 !== 32)
23540 return false;
23541 upperCase1 = (character1 & 4294967263) >>> 0;
23542 return upperCase1 >= 65 && upperCase1 <= 90;
23543 },
23544 NullableExtension_andThen(_this, fn) {
23545 return _this == null ? null : fn.call$1(_this);
23546 },
23547 SetExtension_removeNull(_this, $T) {
23548 _this.remove$1(0, null);
23549 return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
23550 },
23551 fuzzyHashCode(number) {
23552 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()));
23553 },
23554 fuzzyLessThan(number1, number2) {
23555 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23556 },
23557 fuzzyLessThanOrEquals(number1, number2) {
23558 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23559 },
23560 fuzzyGreaterThan(number1, number2) {
23561 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23562 },
23563 fuzzyGreaterThanOrEquals(number1, number2) {
23564 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23565 },
23566 fuzzyIsInt(number) {
23567 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23568 return false;
23569 if (A._isInt(number))
23570 return true;
23571 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon();
23572 },
23573 fuzzyRound(number) {
23574 var t1;
23575 if (number > 0) {
23576 t1 = B.JSNumber_methods.$mod(number, 1);
23577 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23578 } else {
23579 t1 = B.JSNumber_methods.$mod(number, 1);
23580 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23581 }
23582 },
23583 fuzzyCheckRange(number, min, max) {
23584 var t1 = $.$get$epsilon();
23585 if (Math.abs(number - min) < t1)
23586 return min;
23587 if (Math.abs(number - max) < t1)
23588 return max;
23589 if (number > min && number < max)
23590 return number;
23591 return null;
23592 },
23593 fuzzyAssertRange(number, min, max, $name) {
23594 var result = A.fuzzyCheckRange(number, min, max);
23595 if (result != null)
23596 return result;
23597 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23598 },
23599 SpanExtensions_trimLeft(_this) {
23600 var t5,
23601 t1 = _this._file$_start,
23602 t2 = _this._end,
23603 t3 = _this.file._decodedChars,
23604 t4 = t3.length,
23605 start = 0;
23606 while (true) {
23607 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23608 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23609 break;
23610 ++start;
23611 }
23612 return A.FileSpanExtension_subspan(_this, start, null);
23613 },
23614 SpanExtensions_trimRight(_this) {
23615 var t5,
23616 t1 = _this._file$_start,
23617 t2 = _this._end,
23618 t3 = _this.file._decodedChars,
23619 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23620 t4 = t3.length;
23621 while (true) {
23622 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23623 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23624 break;
23625 --end;
23626 }
23627 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23628 },
23629 encodeVlq(value) {
23630 var res, signBit, digit, t1;
23631 if (value < $.$get$MIN_INT32() || value > $.$get$MAX_INT32())
23632 throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
23633 res = A._setArrayType([], type$.JSArray_String);
23634 if (value < 0) {
23635 value = -value;
23636 signBit = 1;
23637 } else
23638 signBit = 0;
23639 value = value << 1 | signBit;
23640 do {
23641 digit = value & 31;
23642 value = value >>> 5;
23643 t1 = value > 0;
23644 res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
23645 } while (t1);
23646 return res;
23647 },
23648 isAllTheSame(iter) {
23649 var firstValue, t1, t2, value;
23650 if (iter.get$length(iter) === 0)
23651 return true;
23652 firstValue = iter.get$first(iter);
23653 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();) {
23654 value = t1.__internal$_current;
23655 if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
23656 return false;
23657 }
23658 return true;
23659 },
23660 replaceFirstNull(list, element) {
23661 var index = B.JSArray_methods.indexOf$1(list, null);
23662 if (index < 0)
23663 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
23664 list[index] = element;
23665 },
23666 replaceWithNull(list, element) {
23667 var index = B.JSArray_methods.indexOf$1(list, element);
23668 if (index < 0)
23669 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
23670 list[index] = null;
23671 },
23672 countCodeUnits(string, codeUnit) {
23673 var t1, t2, count, t3;
23674 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();) {
23675 t3 = t1.__internal$_current;
23676 if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
23677 ++count;
23678 }
23679 return count;
23680 },
23681 findLineStart(context, text, column) {
23682 var beginningOfLine, index, lineStart;
23683 if (text.length === 0)
23684 for (beginningOfLine = 0; true;) {
23685 index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
23686 if (index === -1)
23687 return context.length - beginningOfLine >= column ? beginningOfLine : null;
23688 if (index - beginningOfLine >= column)
23689 return beginningOfLine;
23690 beginningOfLine = index + 1;
23691 }
23692 index = B.JSString_methods.indexOf$1(context, text);
23693 for (; index !== -1;) {
23694 lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
23695 if (column === index - lineStart)
23696 return lineStart;
23697 index = B.JSString_methods.indexOf$2(context, text, index + 1);
23698 }
23699 return null;
23700 },
23701 validateErrorArgs(string, match, position, $length) {
23702 var t2,
23703 t1 = position != null;
23704 if (t1)
23705 if (position < 0)
23706 throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
23707 else if (position > string.length)
23708 throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
23709 t2 = $length != null;
23710 if (t2 && $length < 0)
23711 throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
23712 if (t1 && t2 && position + $length > string.length)
23713 throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
23714 },
23715 isWhitespace0(character) {
23716 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23717 },
23718 isNewline0(character) {
23719 return character === 10 || character === 13 || character === 12;
23720 },
23721 isAlphabetic1(character) {
23722 var t1;
23723 if (!(character >= 97 && character <= 122))
23724 t1 = character >= 65 && character <= 90;
23725 else
23726 t1 = true;
23727 return t1;
23728 },
23729 isDigit0(character) {
23730 return character != null && character >= 48 && character <= 57;
23731 },
23732 isHex0(character) {
23733 if (character == null)
23734 return false;
23735 if (A.isDigit0(character))
23736 return true;
23737 if (character >= 97 && character <= 102)
23738 return true;
23739 if (character >= 65 && character <= 70)
23740 return true;
23741 return false;
23742 },
23743 asHex0(character) {
23744 if (character <= 57)
23745 return character - 48;
23746 if (character <= 70)
23747 return 10 + character - 65;
23748 return 10 + character - 97;
23749 },
23750 hexCharFor0(number) {
23751 return number < 10 ? 48 + number : 87 + number;
23752 },
23753 opposite0(character) {
23754 switch (character) {
23755 case 40:
23756 return 41;
23757 case 123:
23758 return 125;
23759 case 91:
23760 return 93;
23761 default:
23762 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23763 }
23764 },
23765 characterEqualsIgnoreCase0(character1, character2) {
23766 var upperCase1;
23767 if (character1 === character2)
23768 return true;
23769 if ((character1 ^ character2) >>> 0 !== 32)
23770 return false;
23771 upperCase1 = (character1 & 4294967263) >>> 0;
23772 return upperCase1 >= 65 && upperCase1 <= 90;
23773 },
23774 EvaluationContext_current0() {
23775 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23776 if (type$.EvaluationContext_2._is(context))
23777 return context;
23778 throw A.wrapException(A.StateError$(string$.No_Sass));
23779 },
23780 NullableExtension_andThen0(_this, fn) {
23781 return _this == null ? null : fn.call$1(_this);
23782 },
23783 fuzzyHashCode0(number) {
23784 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()));
23785 },
23786 fuzzyLessThan0(number1, number2) {
23787 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23788 },
23789 fuzzyLessThanOrEquals0(number1, number2) {
23790 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23791 },
23792 fuzzyGreaterThan0(number1, number2) {
23793 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23794 },
23795 fuzzyGreaterThanOrEquals0(number1, number2) {
23796 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23797 },
23798 fuzzyIsInt0(number) {
23799 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23800 return false;
23801 if (A._isInt(number))
23802 return true;
23803 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon0();
23804 },
23805 fuzzyRound0(number) {
23806 var t1;
23807 if (number > 0) {
23808 t1 = B.JSNumber_methods.$mod(number, 1);
23809 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon0()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23810 } else {
23811 t1 = B.JSNumber_methods.$mod(number, 1);
23812 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon0() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23813 }
23814 },
23815 fuzzyCheckRange0(number, min, max) {
23816 var t1 = $.$get$epsilon0();
23817 if (Math.abs(number - min) < t1)
23818 return min;
23819 if (Math.abs(number - max) < t1)
23820 return max;
23821 if (number > min && number < max)
23822 return number;
23823 return null;
23824 },
23825 fuzzyAssertRange0(number, min, max, $name) {
23826 var result = A.fuzzyCheckRange0(number, min, max);
23827 if (result != null)
23828 return result;
23829 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23830 },
23831 SpanExtensions_trimLeft0(_this) {
23832 var t5,
23833 t1 = _this._file$_start,
23834 t2 = _this._end,
23835 t3 = _this.file._decodedChars,
23836 t4 = t3.length,
23837 start = 0;
23838 while (true) {
23839 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23840 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23841 break;
23842 ++start;
23843 }
23844 return A.FileSpanExtension_subspan(_this, start, null);
23845 },
23846 SpanExtensions_trimRight0(_this) {
23847 var t5,
23848 t1 = _this._file$_start,
23849 t2 = _this._end,
23850 t3 = _this.file._decodedChars,
23851 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23852 t4 = t3.length;
23853 while (true) {
23854 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23855 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23856 break;
23857 --end;
23858 }
23859 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23860 },
23861 unwrapValue(object) {
23862 var value;
23863 if (object != null) {
23864 if (object instanceof A.Value0)
23865 return object;
23866 value = object.dartValue;
23867 if (value != null && value instanceof A.Value0)
23868 return value;
23869 if (object instanceof self.Error)
23870 throw A.wrapException(object);
23871 }
23872 throw A.wrapException(A.S(object) + " must be a Sass value type.");
23873 },
23874 wrapValue(value) {
23875 var t1;
23876 if (value instanceof A.SassColor0) {
23877 t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
23878 return t1;
23879 }
23880 if (value instanceof A.SassList0) {
23881 t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
23882 return t1;
23883 }
23884 if (value instanceof A.SassMap0) {
23885 t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
23886 return t1;
23887 }
23888 if (value instanceof A.SassNumber0) {
23889 t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
23890 return t1;
23891 }
23892 if (value instanceof A.SassString0) {
23893 t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
23894 return t1;
23895 }
23896 return value;
23897 }
23898 },
23899 J = {
23900 makeDispatchRecord(interceptor, proto, extension, indexability) {
23901 return {i: interceptor, p: proto, e: extension, x: indexability};
23902 },
23903 getNativeInterceptor(object) {
23904 var proto, objectProto, $constructor, interceptor, t1,
23905 record = object[init.dispatchPropertyName];
23906 if (record == null)
23907 if ($.initNativeDispatchFlag == null) {
23908 A.initNativeDispatch();
23909 record = object[init.dispatchPropertyName];
23910 }
23911 if (record != null) {
23912 proto = record.p;
23913 if (false === proto)
23914 return record.i;
23915 if (true === proto)
23916 return object;
23917 objectProto = Object.getPrototypeOf(object);
23918 if (proto === objectProto)
23919 return record.i;
23920 if (record.e === objectProto)
23921 throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
23922 }
23923 $constructor = object.constructor;
23924 if ($constructor == null)
23925 interceptor = null;
23926 else {
23927 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23928 if (t1 == null)
23929 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23930 interceptor = $constructor[t1];
23931 }
23932 if (interceptor != null)
23933 return interceptor;
23934 interceptor = A.lookupAndCacheInterceptor(object);
23935 if (interceptor != null)
23936 return interceptor;
23937 if (typeof object == "function")
23938 return B.JavaScriptFunction_methods;
23939 proto = Object.getPrototypeOf(object);
23940 if (proto == null)
23941 return B.PlainJavaScriptObject_methods;
23942 if (proto === Object.prototype)
23943 return B.PlainJavaScriptObject_methods;
23944 if (typeof $constructor == "function") {
23945 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23946 if (t1 == null)
23947 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23948 Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
23949 return B.UnknownJavaScriptObject_methods;
23950 }
23951 return B.UnknownJavaScriptObject_methods;
23952 },
23953 JSArray_JSArray$fixed($length, $E) {
23954 if ($length < 0 || $length > 4294967295)
23955 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23956 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23957 },
23958 JSArray_JSArray$allocateFixed($length, $E) {
23959 if ($length > 4294967295)
23960 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23961 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23962 },
23963 JSArray_JSArray$growable($length, $E) {
23964 if ($length < 0)
23965 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23966 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23967 },
23968 JSArray_JSArray$allocateGrowable($length, $E) {
23969 if ($length < 0)
23970 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23971 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23972 },
23973 JSArray_JSArray$markFixed(allocation, $E) {
23974 return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
23975 },
23976 JSArray_markFixedList(list) {
23977 list.fixed$length = Array;
23978 return list;
23979 },
23980 JSArray_markUnmodifiableList(list) {
23981 list.fixed$length = Array;
23982 list.immutable$list = Array;
23983 return list;
23984 },
23985 JSArray__compareAny(a, b) {
23986 return J.compareTo$1$ns(a, b);
23987 },
23988 JSString__isWhitespace(codeUnit) {
23989 if (codeUnit < 256)
23990 switch (codeUnit) {
23991 case 9:
23992 case 10:
23993 case 11:
23994 case 12:
23995 case 13:
23996 case 32:
23997 case 133:
23998 case 160:
23999 return true;
24000 default:
24001 return false;
24002 }
24003 switch (codeUnit) {
24004 case 5760:
24005 case 8192:
24006 case 8193:
24007 case 8194:
24008 case 8195:
24009 case 8196:
24010 case 8197:
24011 case 8198:
24012 case 8199:
24013 case 8200:
24014 case 8201:
24015 case 8202:
24016 case 8232:
24017 case 8233:
24018 case 8239:
24019 case 8287:
24020 case 12288:
24021 case 65279:
24022 return true;
24023 default:
24024 return false;
24025 }
24026 },
24027 JSString__skipLeadingWhitespace(string, index) {
24028 var t1, codeUnit;
24029 for (t1 = string.length; index < t1;) {
24030 codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
24031 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
24032 break;
24033 ++index;
24034 }
24035 return index;
24036 },
24037 JSString__skipTrailingWhitespace(string, index) {
24038 var index0, codeUnit;
24039 for (; index > 0; index = index0) {
24040 index0 = index - 1;
24041 codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
24042 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
24043 break;
24044 }
24045 return index;
24046 },
24047 getInterceptor$(receiver) {
24048 if (typeof receiver == "number") {
24049 if (Math.floor(receiver) == receiver)
24050 return J.JSInt.prototype;
24051 return J.JSNumNotInt.prototype;
24052 }
24053 if (typeof receiver == "string")
24054 return J.JSString.prototype;
24055 if (receiver == null)
24056 return J.JSNull.prototype;
24057 if (typeof receiver == "boolean")
24058 return J.JSBool.prototype;
24059 if (receiver.constructor == Array)
24060 return J.JSArray.prototype;
24061 if (typeof receiver != "object") {
24062 if (typeof receiver == "function")
24063 return J.JavaScriptFunction.prototype;
24064 return receiver;
24065 }
24066 if (receiver instanceof A.Object)
24067 return receiver;
24068 return J.getNativeInterceptor(receiver);
24069 },
24070 getInterceptor$ansx(receiver) {
24071 if (typeof receiver == "number")
24072 return J.JSNumber.prototype;
24073 if (typeof receiver == "string")
24074 return J.JSString.prototype;
24075 if (receiver == null)
24076 return receiver;
24077 if (receiver.constructor == Array)
24078 return J.JSArray.prototype;
24079 if (typeof receiver != "object") {
24080 if (typeof receiver == "function")
24081 return J.JavaScriptFunction.prototype;
24082 return receiver;
24083 }
24084 if (receiver instanceof A.Object)
24085 return receiver;
24086 return J.getNativeInterceptor(receiver);
24087 },
24088 getInterceptor$asx(receiver) {
24089 if (typeof receiver == "string")
24090 return J.JSString.prototype;
24091 if (receiver == null)
24092 return receiver;
24093 if (receiver.constructor == Array)
24094 return J.JSArray.prototype;
24095 if (typeof receiver != "object") {
24096 if (typeof receiver == "function")
24097 return J.JavaScriptFunction.prototype;
24098 return receiver;
24099 }
24100 if (receiver instanceof A.Object)
24101 return receiver;
24102 return J.getNativeInterceptor(receiver);
24103 },
24104 getInterceptor$ax(receiver) {
24105 if (receiver == null)
24106 return receiver;
24107 if (receiver.constructor == Array)
24108 return J.JSArray.prototype;
24109 if (typeof receiver != "object") {
24110 if (typeof receiver == "function")
24111 return J.JavaScriptFunction.prototype;
24112 return receiver;
24113 }
24114 if (receiver instanceof A.Object)
24115 return receiver;
24116 return J.getNativeInterceptor(receiver);
24117 },
24118 getInterceptor$n(receiver) {
24119 if (typeof receiver == "number")
24120 return J.JSNumber.prototype;
24121 if (receiver == null)
24122 return receiver;
24123 if (!(receiver instanceof A.Object))
24124 return J.UnknownJavaScriptObject.prototype;
24125 return receiver;
24126 },
24127 getInterceptor$ns(receiver) {
24128 if (typeof receiver == "number")
24129 return J.JSNumber.prototype;
24130 if (typeof receiver == "string")
24131 return J.JSString.prototype;
24132 if (receiver == null)
24133 return receiver;
24134 if (!(receiver instanceof A.Object))
24135 return J.UnknownJavaScriptObject.prototype;
24136 return receiver;
24137 },
24138 getInterceptor$s(receiver) {
24139 if (typeof receiver == "string")
24140 return J.JSString.prototype;
24141 if (receiver == null)
24142 return receiver;
24143 if (!(receiver instanceof A.Object))
24144 return J.UnknownJavaScriptObject.prototype;
24145 return receiver;
24146 },
24147 getInterceptor$u(receiver) {
24148 if (receiver == null)
24149 return J.JSNull.prototype;
24150 if (!(receiver instanceof A.Object))
24151 return J.UnknownJavaScriptObject.prototype;
24152 return receiver;
24153 },
24154 getInterceptor$x(receiver) {
24155 if (receiver == null)
24156 return receiver;
24157 if (typeof receiver != "object") {
24158 if (typeof receiver == "function")
24159 return J.JavaScriptFunction.prototype;
24160 return receiver;
24161 }
24162 if (receiver instanceof A.Object)
24163 return receiver;
24164 return J.getNativeInterceptor(receiver);
24165 },
24166 getInterceptor$z(receiver) {
24167 if (receiver == null)
24168 return receiver;
24169 if (!(receiver instanceof A.Object))
24170 return J.UnknownJavaScriptObject.prototype;
24171 return receiver;
24172 },
24173 set$Exception$x(receiver, value) {
24174 return J.getInterceptor$x(receiver).set$Exception(receiver, value);
24175 },
24176 set$FALSE$x(receiver, value) {
24177 return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
24178 },
24179 set$Logger$x(receiver, value) {
24180 return J.getInterceptor$x(receiver).set$Logger(receiver, value);
24181 },
24182 set$NULL$x(receiver, value) {
24183 return J.getInterceptor$x(receiver).set$NULL(receiver, value);
24184 },
24185 set$SassArgumentList$x(receiver, value) {
24186 return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
24187 },
24188 set$SassBoolean$x(receiver, value) {
24189 return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
24190 },
24191 set$SassColor$x(receiver, value) {
24192 return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
24193 },
24194 set$SassFunction$x(receiver, value) {
24195 return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
24196 },
24197 set$SassList$x(receiver, value) {
24198 return J.getInterceptor$x(receiver).set$SassList(receiver, value);
24199 },
24200 set$SassMap$x(receiver, value) {
24201 return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
24202 },
24203 set$SassNumber$x(receiver, value) {
24204 return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
24205 },
24206 set$SassString$x(receiver, value) {
24207 return J.getInterceptor$x(receiver).set$SassString(receiver, value);
24208 },
24209 set$TRUE$x(receiver, value) {
24210 return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
24211 },
24212 set$Value$x(receiver, value) {
24213 return J.getInterceptor$x(receiver).set$Value(receiver, value);
24214 },
24215 set$cli_pkg_main_0_$x(receiver, value) {
24216 return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
24217 },
24218 set$compile$x(receiver, value) {
24219 return J.getInterceptor$x(receiver).set$compile(receiver, value);
24220 },
24221 set$compileAsync$x(receiver, value) {
24222 return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
24223 },
24224 set$compileString$x(receiver, value) {
24225 return J.getInterceptor$x(receiver).set$compileString(receiver, value);
24226 },
24227 set$compileStringAsync$x(receiver, value) {
24228 return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
24229 },
24230 set$context$x(receiver, value) {
24231 return J.getInterceptor$x(receiver).set$context(receiver, value);
24232 },
24233 set$dartValue$x(receiver, value) {
24234 return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
24235 },
24236 set$exitCode$x(receiver, value) {
24237 return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
24238 },
24239 set$info$x(receiver, value) {
24240 return J.getInterceptor$x(receiver).set$info(receiver, value);
24241 },
24242 set$length$asx(receiver, value) {
24243 return J.getInterceptor$asx(receiver).set$length(receiver, value);
24244 },
24245 set$render$x(receiver, value) {
24246 return J.getInterceptor$x(receiver).set$render(receiver, value);
24247 },
24248 set$renderSync$x(receiver, value) {
24249 return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
24250 },
24251 set$sassFalse$x(receiver, value) {
24252 return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
24253 },
24254 set$sassNull$x(receiver, value) {
24255 return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
24256 },
24257 set$sassTrue$x(receiver, value) {
24258 return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
24259 },
24260 set$types$x(receiver, value) {
24261 return J.getInterceptor$x(receiver).set$types(receiver, value);
24262 },
24263 get$$prototype$x(receiver) {
24264 return J.getInterceptor$x(receiver).get$$prototype(receiver);
24265 },
24266 get$_dartException$x(receiver) {
24267 return J.getInterceptor$x(receiver).get$_dartException(receiver);
24268 },
24269 get$alertAscii$x(receiver) {
24270 return J.getInterceptor$x(receiver).get$alertAscii(receiver);
24271 },
24272 get$alertColor$x(receiver) {
24273 return J.getInterceptor$x(receiver).get$alertColor(receiver);
24274 },
24275 get$blue$x(receiver) {
24276 return J.getInterceptor$x(receiver).get$blue(receiver);
24277 },
24278 get$brackets$x(receiver) {
24279 return J.getInterceptor$x(receiver).get$brackets(receiver);
24280 },
24281 get$code$x(receiver) {
24282 return J.getInterceptor$x(receiver).get$code(receiver);
24283 },
24284 get$current$x(receiver) {
24285 return J.getInterceptor$x(receiver).get$current(receiver);
24286 },
24287 get$dartValue$x(receiver) {
24288 return J.getInterceptor$x(receiver).get$dartValue(receiver);
24289 },
24290 get$debug$x(receiver) {
24291 return J.getInterceptor$x(receiver).get$debug(receiver);
24292 },
24293 get$denominatorUnits$x(receiver) {
24294 return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
24295 },
24296 get$end$z(receiver) {
24297 return J.getInterceptor$z(receiver).get$end(receiver);
24298 },
24299 get$env$x(receiver) {
24300 return J.getInterceptor$x(receiver).get$env(receiver);
24301 },
24302 get$exitCode$x(receiver) {
24303 return J.getInterceptor$x(receiver).get$exitCode(receiver);
24304 },
24305 get$fiber$x(receiver) {
24306 return J.getInterceptor$x(receiver).get$fiber(receiver);
24307 },
24308 get$file$x(receiver) {
24309 return J.getInterceptor$x(receiver).get$file(receiver);
24310 },
24311 get$first$ax(receiver) {
24312 return J.getInterceptor$ax(receiver).get$first(receiver);
24313 },
24314 get$functions$x(receiver) {
24315 return J.getInterceptor$x(receiver).get$functions(receiver);
24316 },
24317 get$green$x(receiver) {
24318 return J.getInterceptor$x(receiver).get$green(receiver);
24319 },
24320 get$hashCode$(receiver) {
24321 return J.getInterceptor$(receiver).get$hashCode(receiver);
24322 },
24323 get$importer$x(receiver) {
24324 return J.getInterceptor$x(receiver).get$importer(receiver);
24325 },
24326 get$importers$x(receiver) {
24327 return J.getInterceptor$x(receiver).get$importers(receiver);
24328 },
24329 get$isEmpty$asx(receiver) {
24330 return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
24331 },
24332 get$isNotEmpty$asx(receiver) {
24333 return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
24334 },
24335 get$isTTY$x(receiver) {
24336 return J.getInterceptor$x(receiver).get$isTTY(receiver);
24337 },
24338 get$iterator$ax(receiver) {
24339 return J.getInterceptor$ax(receiver).get$iterator(receiver);
24340 },
24341 get$keys$z(receiver) {
24342 return J.getInterceptor$z(receiver).get$keys(receiver);
24343 },
24344 get$last$ax(receiver) {
24345 return J.getInterceptor$ax(receiver).get$last(receiver);
24346 },
24347 get$length$asx(receiver) {
24348 return J.getInterceptor$asx(receiver).get$length(receiver);
24349 },
24350 get$loadPaths$x(receiver) {
24351 return J.getInterceptor$x(receiver).get$loadPaths(receiver);
24352 },
24353 get$logger$x(receiver) {
24354 return J.getInterceptor$x(receiver).get$logger(receiver);
24355 },
24356 get$message$x(receiver) {
24357 return J.getInterceptor$x(receiver).get$message(receiver);
24358 },
24359 get$mtime$x(receiver) {
24360 return J.getInterceptor$x(receiver).get$mtime(receiver);
24361 },
24362 get$name$x(receiver) {
24363 return J.getInterceptor$x(receiver).get$name(receiver);
24364 },
24365 get$numeratorUnits$x(receiver) {
24366 return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
24367 },
24368 get$options$x(receiver) {
24369 return J.getInterceptor$x(receiver).get$options(receiver);
24370 },
24371 get$parent$z(receiver) {
24372 return J.getInterceptor$z(receiver).get$parent(receiver);
24373 },
24374 get$path$x(receiver) {
24375 return J.getInterceptor$x(receiver).get$path(receiver);
24376 },
24377 get$platform$x(receiver) {
24378 return J.getInterceptor$x(receiver).get$platform(receiver);
24379 },
24380 get$quietDeps$x(receiver) {
24381 return J.getInterceptor$x(receiver).get$quietDeps(receiver);
24382 },
24383 get$quotes$x(receiver) {
24384 return J.getInterceptor$x(receiver).get$quotes(receiver);
24385 },
24386 get$red$x(receiver) {
24387 return J.getInterceptor$x(receiver).get$red(receiver);
24388 },
24389 get$reversed$ax(receiver) {
24390 return J.getInterceptor$ax(receiver).get$reversed(receiver);
24391 },
24392 get$runtimeType$u(receiver) {
24393 return J.getInterceptor$u(receiver).get$runtimeType(receiver);
24394 },
24395 get$separator$x(receiver) {
24396 return J.getInterceptor$x(receiver).get$separator(receiver);
24397 },
24398 get$single$ax(receiver) {
24399 return J.getInterceptor$ax(receiver).get$single(receiver);
24400 },
24401 get$sourceMap$x(receiver) {
24402 return J.getInterceptor$x(receiver).get$sourceMap(receiver);
24403 },
24404 get$sourceMapIncludeSources$x(receiver) {
24405 return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
24406 },
24407 get$span$z(receiver) {
24408 return J.getInterceptor$z(receiver).get$span(receiver);
24409 },
24410 get$stderr$x(receiver) {
24411 return J.getInterceptor$x(receiver).get$stderr(receiver);
24412 },
24413 get$stdin$x(receiver) {
24414 return J.getInterceptor$x(receiver).get$stdin(receiver);
24415 },
24416 get$style$x(receiver) {
24417 return J.getInterceptor$x(receiver).get$style(receiver);
24418 },
24419 get$syntax$x(receiver) {
24420 return J.getInterceptor$x(receiver).get$syntax(receiver);
24421 },
24422 get$trace$z(receiver) {
24423 return J.getInterceptor$z(receiver).get$trace(receiver);
24424 },
24425 get$url$x(receiver) {
24426 return J.getInterceptor$x(receiver).get$url(receiver);
24427 },
24428 get$values$z(receiver) {
24429 return J.getInterceptor$z(receiver).get$values(receiver);
24430 },
24431 get$verbose$x(receiver) {
24432 return J.getInterceptor$x(receiver).get$verbose(receiver);
24433 },
24434 get$warn$x(receiver) {
24435 return J.getInterceptor$x(receiver).get$warn(receiver);
24436 },
24437 $add$ansx(receiver, a0) {
24438 if (typeof receiver == "number" && typeof a0 == "number")
24439 return receiver + a0;
24440 return J.getInterceptor$ansx(receiver).$add(receiver, a0);
24441 },
24442 $eq$(receiver, a0) {
24443 if (receiver == null)
24444 return a0 == null;
24445 if (typeof receiver != "object")
24446 return a0 != null && receiver === a0;
24447 return J.getInterceptor$(receiver).$eq(receiver, a0);
24448 },
24449 $index$asx(receiver, a0) {
24450 if (typeof a0 === "number")
24451 if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
24452 if (a0 >>> 0 === a0 && a0 < receiver.length)
24453 return receiver[a0];
24454 return J.getInterceptor$asx(receiver).$index(receiver, a0);
24455 },
24456 $indexSet$ax(receiver, a0, a1) {
24457 if (typeof a0 === "number")
24458 if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
24459 return receiver[a0] = a1;
24460 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
24461 },
24462 $set$2$x(receiver, a0, a1) {
24463 return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
24464 },
24465 add$1$ax(receiver, a0) {
24466 return J.getInterceptor$ax(receiver).add$1(receiver, a0);
24467 },
24468 addAll$1$ax(receiver, a0) {
24469 return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
24470 },
24471 allMatches$1$s(receiver, a0) {
24472 return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
24473 },
24474 allMatches$2$s(receiver, a0, a1) {
24475 return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
24476 },
24477 any$1$ax(receiver, a0) {
24478 return J.getInterceptor$ax(receiver).any$1(receiver, a0);
24479 },
24480 apply$2$x(receiver, a0, a1) {
24481 return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
24482 },
24483 asImmutable$0$x(receiver) {
24484 return J.getInterceptor$x(receiver).asImmutable$0(receiver);
24485 },
24486 asMutable$0$x(receiver) {
24487 return J.getInterceptor$x(receiver).asMutable$0(receiver);
24488 },
24489 canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
24490 return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
24491 },
24492 cast$1$0$ax(receiver, $T1) {
24493 return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
24494 },
24495 close$0$x(receiver) {
24496 return J.getInterceptor$x(receiver).close$0(receiver);
24497 },
24498 codeUnitAt$1$s(receiver, a0) {
24499 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
24500 },
24501 compareTo$1$ns(receiver, a0) {
24502 return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
24503 },
24504 contains$1$asx(receiver, a0) {
24505 return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
24506 },
24507 createInterface$1$x(receiver, a0) {
24508 return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
24509 },
24510 elementAt$1$ax(receiver, a0) {
24511 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
24512 },
24513 endsWith$1$s(receiver, a0) {
24514 return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
24515 },
24516 every$1$ax(receiver, a0) {
24517 return J.getInterceptor$ax(receiver).every$1(receiver, a0);
24518 },
24519 existsSync$1$x(receiver, a0) {
24520 return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
24521 },
24522 expand$1$1$ax(receiver, a0, $T1) {
24523 return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
24524 },
24525 fillRange$3$ax(receiver, a0, a1, a2) {
24526 return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
24527 },
24528 fold$2$ax(receiver, a0, a1) {
24529 return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
24530 },
24531 forEach$1$x(receiver, a0) {
24532 return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
24533 },
24534 getRange$2$ax(receiver, a0, a1) {
24535 return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
24536 },
24537 getTime$0$x(receiver) {
24538 return J.getInterceptor$x(receiver).getTime$0(receiver);
24539 },
24540 isDirectory$0$x(receiver) {
24541 return J.getInterceptor$x(receiver).isDirectory$0(receiver);
24542 },
24543 isFile$0$x(receiver) {
24544 return J.getInterceptor$x(receiver).isFile$0(receiver);
24545 },
24546 join$0$ax(receiver) {
24547 return J.getInterceptor$ax(receiver).join$0(receiver);
24548 },
24549 join$1$ax(receiver, a0) {
24550 return J.getInterceptor$ax(receiver).join$1(receiver, a0);
24551 },
24552 listen$1$z(receiver, a0) {
24553 return J.getInterceptor$z(receiver).listen$1(receiver, a0);
24554 },
24555 map$1$1$ax(receiver, a0, $T1) {
24556 return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
24557 },
24558 matchAsPrefix$2$s(receiver, a0, a1) {
24559 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
24560 },
24561 mkdirSync$1$x(receiver, a0) {
24562 return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
24563 },
24564 noSuchMethod$1$(receiver, a0) {
24565 return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
24566 },
24567 on$2$x(receiver, a0, a1) {
24568 return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
24569 },
24570 readFileSync$2$x(receiver, a0, a1) {
24571 return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
24572 },
24573 readdirSync$1$x(receiver, a0) {
24574 return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
24575 },
24576 remove$1$z(receiver, a0) {
24577 return J.getInterceptor$z(receiver).remove$1(receiver, a0);
24578 },
24579 run$0$x(receiver) {
24580 return J.getInterceptor$x(receiver).run$0(receiver);
24581 },
24582 run$1$x(receiver, a0) {
24583 return J.getInterceptor$x(receiver).run$1(receiver, a0);
24584 },
24585 setRange$4$ax(receiver, a0, a1, a2, a3) {
24586 return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
24587 },
24588 skip$1$ax(receiver, a0) {
24589 return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
24590 },
24591 sort$1$ax(receiver, a0) {
24592 return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
24593 },
24594 startsWith$1$s(receiver, a0) {
24595 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
24596 },
24597 statSync$1$x(receiver, a0) {
24598 return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
24599 },
24600 substring$1$s(receiver, a0) {
24601 return J.getInterceptor$s(receiver).substring$1(receiver, a0);
24602 },
24603 substring$2$s(receiver, a0, a1) {
24604 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
24605 },
24606 take$1$ax(receiver, a0) {
24607 return J.getInterceptor$ax(receiver).take$1(receiver, a0);
24608 },
24609 then$1$1$x(receiver, a0, $T1) {
24610 return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
24611 },
24612 then$1$2$onError$x(receiver, a0, a1, $T1) {
24613 return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
24614 },
24615 then$2$x(receiver, a0, a1) {
24616 return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
24617 },
24618 toArray$0$x(receiver) {
24619 return J.getInterceptor$x(receiver).toArray$0(receiver);
24620 },
24621 toList$0$ax(receiver) {
24622 return J.getInterceptor$ax(receiver).toList$0(receiver);
24623 },
24624 toList$1$growable$ax(receiver, a0) {
24625 return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
24626 },
24627 toRadixString$1$n(receiver, a0) {
24628 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
24629 },
24630 toSet$0$ax(receiver) {
24631 return J.getInterceptor$ax(receiver).toSet$0(receiver);
24632 },
24633 toString$0$(receiver) {
24634 return J.getInterceptor$(receiver).toString$0(receiver);
24635 },
24636 toString$1$color$(receiver, a0) {
24637 return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
24638 },
24639 trim$0$s(receiver) {
24640 return J.getInterceptor$s(receiver).trim$0(receiver);
24641 },
24642 unlinkSync$1$x(receiver, a0) {
24643 return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
24644 },
24645 watch$2$x(receiver, a0, a1) {
24646 return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
24647 },
24648 where$1$ax(receiver, a0) {
24649 return J.getInterceptor$ax(receiver).where$1(receiver, a0);
24650 },
24651 write$1$x(receiver, a0) {
24652 return J.getInterceptor$x(receiver).write$1(receiver, a0);
24653 },
24654 writeFileSync$2$x(receiver, a0, a1) {
24655 return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
24656 },
24657 yield$0$x(receiver) {
24658 return J.getInterceptor$x(receiver).yield$0(receiver);
24659 },
24660 Interceptor: function Interceptor() {
24661 },
24662 JSBool: function JSBool() {
24663 },
24664 JSNull: function JSNull() {
24665 },
24666 JavaScriptObject: function JavaScriptObject() {
24667 },
24668 LegacyJavaScriptObject: function LegacyJavaScriptObject() {
24669 },
24670 PlainJavaScriptObject: function PlainJavaScriptObject() {
24671 },
24672 UnknownJavaScriptObject: function UnknownJavaScriptObject() {
24673 },
24674 JavaScriptFunction: function JavaScriptFunction() {
24675 },
24676 JSArray: function JSArray(t0) {
24677 this.$ti = t0;
24678 },
24679 JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
24680 this.$ti = t0;
24681 },
24682 ArrayIterator: function ArrayIterator(t0, t1) {
24683 var _ = this;
24684 _._iterable = t0;
24685 _._length = t1;
24686 _._index = 0;
24687 _._current = null;
24688 },
24689 JSNumber: function JSNumber() {
24690 },
24691 JSInt: function JSInt() {
24692 },
24693 JSNumNotInt: function JSNumNotInt() {
24694 },
24695 JSString: function JSString() {
24696 }
24697 },
24698 B = {};
24699 var holders = [A, J, B];
24700 var $ = {};
24701 A.JS_CONST.prototype = {};
24702 J.Interceptor.prototype = {
24703 $eq(receiver, other) {
24704 return receiver === other;
24705 },
24706 get$hashCode(receiver) {
24707 return A.Primitives_objectHashCode(receiver);
24708 },
24709 toString$0(receiver) {
24710 return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
24711 },
24712 noSuchMethod$1(receiver, invocation) {
24713 throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
24714 }
24715 };
24716 J.JSBool.prototype = {
24717 toString$0(receiver) {
24718 return String(receiver);
24719 },
24720 get$hashCode(receiver) {
24721 return receiver ? 519018 : 218159;
24722 },
24723 $isbool: 1
24724 };
24725 J.JSNull.prototype = {
24726 $eq(receiver, other) {
24727 return null == other;
24728 },
24729 toString$0(receiver) {
24730 return "null";
24731 },
24732 get$hashCode(receiver) {
24733 return 0;
24734 },
24735 get$runtimeType(receiver) {
24736 return B.Type_Null_Yyn;
24737 },
24738 $isNull: 1
24739 };
24740 J.JavaScriptObject.prototype = {};
24741 J.LegacyJavaScriptObject.prototype = {
24742 get$hashCode(receiver) {
24743 return 0;
24744 },
24745 toString$0(receiver) {
24746 return String(receiver);
24747 },
24748 $isPromise: 1,
24749 $isJsSystemError: 1,
24750 $is_NodeSassColor: 1,
24751 $is_Channels: 1,
24752 $isCompileOptions: 1,
24753 $isCompileStringOptions: 1,
24754 $isNodeCompileResult: 1,
24755 $is_NodeException: 1,
24756 $isFiber: 1,
24757 $isJSFunction0: 1,
24758 $isImmutableList: 1,
24759 $isImmutableMap: 1,
24760 $isNodeImporter0: 1,
24761 $isNodeImporterResult0: 1,
24762 $isNodeImporterResult1: 1,
24763 $is_NodeSassList: 1,
24764 $is_ConstructorOptions: 1,
24765 $isWarnOptions: 1,
24766 $isDebugOptions: 1,
24767 $is_NodeSassMap: 1,
24768 $is_NodeSassNumber: 1,
24769 $is_ConstructorOptions0: 1,
24770 $isJSClass0: 1,
24771 $isRenderContextOptions0: 1,
24772 $isRenderOptions: 1,
24773 $isRenderResult: 1,
24774 $is_NodeSassString: 1,
24775 $is_ConstructorOptions1: 1,
24776 $isJSUrl0: 1,
24777 get$isTTY(obj) {
24778 return obj.isTTY;
24779 },
24780 get$write(obj) {
24781 return obj.write;
24782 },
24783 write$1(receiver, p0) {
24784 return receiver.write(p0);
24785 },
24786 createInterface$1(receiver, p0) {
24787 return receiver.createInterface(p0);
24788 },
24789 on$2(receiver, p0, p1) {
24790 return receiver.on(p0, p1);
24791 },
24792 get$close(obj) {
24793 return obj.close;
24794 },
24795 close$0(receiver) {
24796 return receiver.close();
24797 },
24798 setPrompt$1(receiver, p0) {
24799 return receiver.setPrompt(p0);
24800 },
24801 get$length(obj) {
24802 return obj.length;
24803 },
24804 toString$0(receiver) {
24805 return receiver.toString();
24806 },
24807 get$debug(obj) {
24808 return obj.debug;
24809 },
24810 debug$2(receiver, p0, p1) {
24811 return receiver.debug(p0, p1);
24812 },
24813 get$warn(obj) {
24814 return obj.warn;
24815 },
24816 warn$1(receiver, p0) {
24817 return receiver.warn(p0);
24818 },
24819 existsSync$1(receiver, p0) {
24820 return receiver.existsSync(p0);
24821 },
24822 mkdirSync$1(receiver, p0) {
24823 return receiver.mkdirSync(p0);
24824 },
24825 readdirSync$1(receiver, p0) {
24826 return receiver.readdirSync(p0);
24827 },
24828 readFileSync$2(receiver, p0, p1) {
24829 return receiver.readFileSync(p0, p1);
24830 },
24831 statSync$1(receiver, p0) {
24832 return receiver.statSync(p0);
24833 },
24834 unlinkSync$1(receiver, p0) {
24835 return receiver.unlinkSync(p0);
24836 },
24837 watch$2(receiver, p0, p1) {
24838 return receiver.watch(p0, p1);
24839 },
24840 writeFileSync$2(receiver, p0, p1) {
24841 return receiver.writeFileSync(p0, p1);
24842 },
24843 get$path(obj) {
24844 return obj.path;
24845 },
24846 isDirectory$0(receiver) {
24847 return receiver.isDirectory();
24848 },
24849 isFile$0(receiver) {
24850 return receiver.isFile();
24851 },
24852 get$mtime(obj) {
24853 return obj.mtime;
24854 },
24855 then$1$1(receiver, p0) {
24856 return receiver.then(p0);
24857 },
24858 then$2(receiver, p0, p1) {
24859 return receiver.then(p0, p1);
24860 },
24861 getTime$0(receiver) {
24862 return receiver.getTime();
24863 },
24864 get$message(obj) {
24865 return obj.message;
24866 },
24867 message$1(receiver, p0) {
24868 return receiver.message(p0);
24869 },
24870 get$code(obj) {
24871 return obj.code;
24872 },
24873 get$syscall(obj) {
24874 return obj.syscall;
24875 },
24876 get$env(obj) {
24877 return obj.env;
24878 },
24879 get$exitCode(obj) {
24880 return obj.exitCode;
24881 },
24882 set$exitCode(obj, v) {
24883 return obj.exitCode = v;
24884 },
24885 get$platform(obj) {
24886 return obj.platform;
24887 },
24888 get$stderr(obj) {
24889 return obj.stderr;
24890 },
24891 get$stdin(obj) {
24892 return obj.stdin;
24893 },
24894 get$name(obj) {
24895 return obj.name;
24896 },
24897 push$1(receiver, p0) {
24898 return receiver.push(p0);
24899 },
24900 call$0(receiver) {
24901 return receiver.call();
24902 },
24903 call$1(receiver, p0) {
24904 return receiver.call(p0);
24905 },
24906 call$2(receiver, p0, p1) {
24907 return receiver.call(p0, p1);
24908 },
24909 call$3$1(receiver, p0) {
24910 return receiver.call(p0);
24911 },
24912 call$2$1(receiver, p0) {
24913 return receiver.call(p0);
24914 },
24915 call$1$1(receiver, p0) {
24916 return receiver.call(p0);
24917 },
24918 call$3(receiver, p0, p1, p2) {
24919 return receiver.call(p0, p1, p2);
24920 },
24921 call$3$3(receiver, p0, p1, p2) {
24922 return receiver.call(p0, p1, p2);
24923 },
24924 call$2$2(receiver, p0, p1) {
24925 return receiver.call(p0, p1);
24926 },
24927 call$1$0(receiver) {
24928 return receiver.call();
24929 },
24930 call$2$0(receiver) {
24931 return receiver.call();
24932 },
24933 call$2$3(receiver, p0, p1, p2) {
24934 return receiver.call(p0, p1, p2);
24935 },
24936 call$1$2(receiver, p0, p1) {
24937 return receiver.call(p0, p1);
24938 },
24939 apply$2(receiver, p0, p1) {
24940 return receiver.apply(p0, p1);
24941 },
24942 get$file(obj) {
24943 return obj.file;
24944 },
24945 get$contents(obj) {
24946 return obj.contents;
24947 },
24948 get$options(obj) {
24949 return obj.options;
24950 },
24951 get$data(obj) {
24952 return obj.data;
24953 },
24954 get$includePaths(obj) {
24955 return obj.includePaths;
24956 },
24957 get$style(obj) {
24958 return obj.style;
24959 },
24960 get$indentType(obj) {
24961 return obj.indentType;
24962 },
24963 get$indentWidth(obj) {
24964 return obj.indentWidth;
24965 },
24966 get$linefeed(obj) {
24967 return obj.linefeed;
24968 },
24969 set$context(obj, v) {
24970 return obj.context = v;
24971 },
24972 get$$prototype(obj) {
24973 return obj.prototype;
24974 },
24975 get$dartValue(obj) {
24976 return obj.dartValue;
24977 },
24978 set$dartValue(obj, v) {
24979 return obj.dartValue = v;
24980 },
24981 get$red(obj) {
24982 return obj.red;
24983 },
24984 get$green(obj) {
24985 return obj.green;
24986 },
24987 get$blue(obj) {
24988 return obj.blue;
24989 },
24990 get$hue(obj) {
24991 return obj.hue;
24992 },
24993 get$saturation(obj) {
24994 return obj.saturation;
24995 },
24996 get$lightness(obj) {
24997 return obj.lightness;
24998 },
24999 get$whiteness(obj) {
25000 return obj.whiteness;
25001 },
25002 get$blackness(obj) {
25003 return obj.blackness;
25004 },
25005 get$alpha(obj) {
25006 return obj.alpha;
25007 },
25008 get$alertAscii(obj) {
25009 return obj.alertAscii;
25010 },
25011 get$alertColor(obj) {
25012 return obj.alertColor;
25013 },
25014 get$loadPaths(obj) {
25015 return obj.loadPaths;
25016 },
25017 get$quietDeps(obj) {
25018 return obj.quietDeps;
25019 },
25020 get$verbose(obj) {
25021 return obj.verbose;
25022 },
25023 get$sourceMap(obj) {
25024 return obj.sourceMap;
25025 },
25026 get$sourceMapIncludeSources(obj) {
25027 return obj.sourceMapIncludeSources;
25028 },
25029 get$logger(obj) {
25030 return obj.logger;
25031 },
25032 get$importers(obj) {
25033 return obj.importers;
25034 },
25035 get$functions(obj) {
25036 return obj.functions;
25037 },
25038 get$syntax(obj) {
25039 return obj.syntax;
25040 },
25041 get$url(obj) {
25042 return obj.url;
25043 },
25044 get$importer(obj) {
25045 return obj.importer;
25046 },
25047 get$_dartException(obj) {
25048 return obj._dartException;
25049 },
25050 set$renderSync(obj, v) {
25051 return obj.renderSync = v;
25052 },
25053 set$compileString(obj, v) {
25054 return obj.compileString = v;
25055 },
25056 set$compileStringAsync(obj, v) {
25057 return obj.compileStringAsync = v;
25058 },
25059 set$compile(obj, v) {
25060 return obj.compile = v;
25061 },
25062 set$compileAsync(obj, v) {
25063 return obj.compileAsync = v;
25064 },
25065 set$info(obj, v) {
25066 return obj.info = v;
25067 },
25068 set$Exception(obj, v) {
25069 return obj.Exception = v;
25070 },
25071 set$Logger(obj, v) {
25072 return obj.Logger = v;
25073 },
25074 set$Value(obj, v) {
25075 return obj.Value = v;
25076 },
25077 set$SassArgumentList(obj, v) {
25078 return obj.SassArgumentList = v;
25079 },
25080 set$SassBoolean(obj, v) {
25081 return obj.SassBoolean = v;
25082 },
25083 set$SassColor(obj, v) {
25084 return obj.SassColor = v;
25085 },
25086 set$SassFunction(obj, v) {
25087 return obj.SassFunction = v;
25088 },
25089 set$SassList(obj, v) {
25090 return obj.SassList = v;
25091 },
25092 set$SassMap(obj, v) {
25093 return obj.SassMap = v;
25094 },
25095 set$SassNumber(obj, v) {
25096 return obj.SassNumber = v;
25097 },
25098 set$SassString(obj, v) {
25099 return obj.SassString = v;
25100 },
25101 set$sassNull(obj, v) {
25102 return obj.sassNull = v;
25103 },
25104 set$sassTrue(obj, v) {
25105 return obj.sassTrue = v;
25106 },
25107 set$sassFalse(obj, v) {
25108 return obj.sassFalse = v;
25109 },
25110 set$render(obj, v) {
25111 return obj.render = v;
25112 },
25113 set$types(obj, v) {
25114 return obj.types = v;
25115 },
25116 set$NULL(obj, v) {
25117 return obj.NULL = v;
25118 },
25119 set$TRUE(obj, v) {
25120 return obj.TRUE = v;
25121 },
25122 set$FALSE(obj, v) {
25123 return obj.FALSE = v;
25124 },
25125 get$current(obj) {
25126 return obj.current;
25127 },
25128 yield$0(receiver) {
25129 return receiver.yield();
25130 },
25131 run$1$1(receiver, p0) {
25132 return receiver.run(p0);
25133 },
25134 run$1(receiver, p0) {
25135 return receiver.run(p0);
25136 },
25137 run$0(receiver) {
25138 return receiver.run();
25139 },
25140 toArray$0(receiver) {
25141 return receiver.toArray();
25142 },
25143 asMutable$0(receiver) {
25144 return receiver.asMutable();
25145 },
25146 asImmutable$0(receiver) {
25147 return receiver.asImmutable();
25148 },
25149 $set$2(receiver, p0, p1) {
25150 return receiver.set(p0, p1);
25151 },
25152 forEach$1(receiver, p0) {
25153 return receiver.forEach(p0);
25154 },
25155 get$canonicalize(obj) {
25156 return obj.canonicalize;
25157 },
25158 canonicalize$1(receiver, p0) {
25159 return receiver.canonicalize(p0);
25160 },
25161 get$load(obj) {
25162 return obj.load;
25163 },
25164 load$1(receiver, p0) {
25165 return receiver.load(p0);
25166 },
25167 get$findFileUrl(obj) {
25168 return obj.findFileUrl;
25169 },
25170 get$sourceMapUrl(obj) {
25171 return obj.sourceMapUrl;
25172 },
25173 get$separator(obj) {
25174 return obj.separator;
25175 },
25176 get$brackets(obj) {
25177 return obj.brackets;
25178 },
25179 get$numeratorUnits(obj) {
25180 return obj.numeratorUnits;
25181 },
25182 get$denominatorUnits(obj) {
25183 return obj.denominatorUnits;
25184 },
25185 get$indentedSyntax(obj) {
25186 return obj.indentedSyntax;
25187 },
25188 get$omitSourceMapUrl(obj) {
25189 return obj.omitSourceMapUrl;
25190 },
25191 get$outFile(obj) {
25192 return obj.outFile;
25193 },
25194 get$outputStyle(obj) {
25195 return obj.outputStyle;
25196 },
25197 get$fiber(obj) {
25198 return obj.fiber;
25199 },
25200 get$sourceMapContents(obj) {
25201 return obj.sourceMapContents;
25202 },
25203 get$sourceMapEmbed(obj) {
25204 return obj.sourceMapEmbed;
25205 },
25206 get$sourceMapRoot(obj) {
25207 return obj.sourceMapRoot;
25208 },
25209 get$charset(obj) {
25210 return obj.charset;
25211 },
25212 set$cli_pkg_main_0_(obj, v) {
25213 return obj.cli_pkg_main_0_ = v;
25214 },
25215 get$quotes(obj) {
25216 return obj.quotes;
25217 }
25218 };
25219 J.PlainJavaScriptObject.prototype = {};
25220 J.UnknownJavaScriptObject.prototype = {};
25221 J.JavaScriptFunction.prototype = {
25222 toString$0(receiver) {
25223 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
25224 if (dartClosure == null)
25225 return this.super$LegacyJavaScriptObject$toString(receiver);
25226 return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
25227 },
25228 $isFunction: 1
25229 };
25230 J.JSArray.prototype = {
25231 cast$1$0(receiver, $R) {
25232 return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25233 },
25234 add$1(receiver, value) {
25235 if (!!receiver.fixed$length)
25236 A.throwExpression(A.UnsupportedError$("add"));
25237 receiver.push(value);
25238 },
25239 removeAt$1(receiver, index) {
25240 var t1;
25241 if (!!receiver.fixed$length)
25242 A.throwExpression(A.UnsupportedError$("removeAt"));
25243 t1 = receiver.length;
25244 if (index >= t1)
25245 throw A.wrapException(A.RangeError$value(index, null, null));
25246 return receiver.splice(index, 1)[0];
25247 },
25248 insert$2(receiver, index, value) {
25249 var t1;
25250 if (!!receiver.fixed$length)
25251 A.throwExpression(A.UnsupportedError$("insert"));
25252 t1 = receiver.length;
25253 if (index > t1)
25254 throw A.wrapException(A.RangeError$value(index, null, null));
25255 receiver.splice(index, 0, value);
25256 },
25257 insertAll$2(receiver, index, iterable) {
25258 var insertionLength, end;
25259 if (!!receiver.fixed$length)
25260 A.throwExpression(A.UnsupportedError$("insertAll"));
25261 A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
25262 if (!type$.EfficientLengthIterable_dynamic._is(iterable))
25263 iterable = J.toList$0$ax(iterable);
25264 insertionLength = J.get$length$asx(iterable);
25265 receiver.length = receiver.length + insertionLength;
25266 end = index + insertionLength;
25267 this.setRange$4(receiver, end, receiver.length, receiver, index);
25268 this.setRange$3(receiver, index, end, iterable);
25269 },
25270 removeLast$0(receiver) {
25271 if (!!receiver.fixed$length)
25272 A.throwExpression(A.UnsupportedError$("removeLast"));
25273 if (receiver.length === 0)
25274 throw A.wrapException(A.diagnoseIndexError(receiver, -1));
25275 return receiver.pop();
25276 },
25277 _removeWhere$2(receiver, test, removeMatching) {
25278 var i, element, t1, retained = [],
25279 end = receiver.length;
25280 for (i = 0; i < end; ++i) {
25281 element = receiver[i];
25282 if (!test.call$1(element))
25283 retained.push(element);
25284 if (receiver.length !== end)
25285 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25286 }
25287 t1 = retained.length;
25288 if (t1 === end)
25289 return;
25290 this.set$length(receiver, t1);
25291 for (i = 0; i < retained.length; ++i)
25292 receiver[i] = retained[i];
25293 },
25294 where$1(receiver, f) {
25295 return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
25296 },
25297 expand$1$1(receiver, f, $T) {
25298 return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
25299 },
25300 addAll$1(receiver, collection) {
25301 var t1;
25302 if (!!receiver.fixed$length)
25303 A.throwExpression(A.UnsupportedError$("addAll"));
25304 if (Array.isArray(collection)) {
25305 this._addAllFromArray$1(receiver, collection);
25306 return;
25307 }
25308 for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
25309 receiver.push(t1.get$current(t1));
25310 },
25311 _addAllFromArray$1(receiver, array) {
25312 var i,
25313 len = array.length;
25314 if (len === 0)
25315 return;
25316 if (receiver === array)
25317 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25318 for (i = 0; i < len; ++i)
25319 receiver.push(array[i]);
25320 },
25321 map$1$1(receiver, f, $T) {
25322 return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
25323 },
25324 join$1(receiver, separator) {
25325 var i,
25326 list = A.List_List$filled(receiver.length, "", false, type$.String);
25327 for (i = 0; i < receiver.length; ++i)
25328 list[i] = A.S(receiver[i]);
25329 return list.join(separator);
25330 },
25331 join$0($receiver) {
25332 return this.join$1($receiver, "");
25333 },
25334 take$1(receiver, n) {
25335 return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
25336 },
25337 skip$1(receiver, n) {
25338 return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
25339 },
25340 fold$1$2(receiver, initialValue, combine) {
25341 var value, i,
25342 $length = receiver.length;
25343 for (value = initialValue, i = 0; i < $length; ++i) {
25344 value = combine.call$2(value, receiver[i]);
25345 if (receiver.length !== $length)
25346 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25347 }
25348 return value;
25349 },
25350 fold$2($receiver, initialValue, combine) {
25351 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
25352 },
25353 elementAt$1(receiver, index) {
25354 return receiver[index];
25355 },
25356 sublist$2(receiver, start, end) {
25357 var end0 = receiver.length;
25358 if (start > end0)
25359 throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
25360 if (end == null)
25361 end = end0;
25362 else if (end < start || end > end0)
25363 throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
25364 if (start === end)
25365 return A._setArrayType([], A._arrayInstanceType(receiver));
25366 return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
25367 },
25368 sublist$1($receiver, start) {
25369 return this.sublist$2($receiver, start, null);
25370 },
25371 getRange$2(receiver, start, end) {
25372 A.RangeError_checkValidRange(start, end, receiver.length);
25373 return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
25374 },
25375 get$first(receiver) {
25376 if (receiver.length > 0)
25377 return receiver[0];
25378 throw A.wrapException(A.IterableElementError_noElement());
25379 },
25380 get$last(receiver) {
25381 var t1 = receiver.length;
25382 if (t1 > 0)
25383 return receiver[t1 - 1];
25384 throw A.wrapException(A.IterableElementError_noElement());
25385 },
25386 get$single(receiver) {
25387 var t1 = receiver.length;
25388 if (t1 === 1)
25389 return receiver[0];
25390 if (t1 === 0)
25391 throw A.wrapException(A.IterableElementError_noElement());
25392 throw A.wrapException(A.IterableElementError_tooMany());
25393 },
25394 removeRange$2(receiver, start, end) {
25395 if (!!receiver.fixed$length)
25396 A.throwExpression(A.UnsupportedError$("removeRange"));
25397 A.RangeError_checkValidRange(start, end, receiver.length);
25398 receiver.splice(start, end - start);
25399 },
25400 setRange$4(receiver, start, end, iterable, skipCount) {
25401 var $length, otherList, otherStart, t1, i;
25402 if (!!receiver.immutable$list)
25403 A.throwExpression(A.UnsupportedError$("setRange"));
25404 A.RangeError_checkValidRange(start, end, receiver.length);
25405 $length = end - start;
25406 if ($length === 0)
25407 return;
25408 A.RangeError_checkNotNegative(skipCount, "skipCount");
25409 if (type$.List_dynamic._is(iterable)) {
25410 otherList = iterable;
25411 otherStart = skipCount;
25412 } else {
25413 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
25414 otherStart = 0;
25415 }
25416 t1 = J.getInterceptor$asx(otherList);
25417 if (otherStart + $length > t1.get$length(otherList))
25418 throw A.wrapException(A.IterableElementError_tooFew());
25419 if (otherStart < start)
25420 for (i = $length - 1; i >= 0; --i)
25421 receiver[start + i] = t1.$index(otherList, otherStart + i);
25422 else
25423 for (i = 0; i < $length; ++i)
25424 receiver[start + i] = t1.$index(otherList, otherStart + i);
25425 },
25426 setRange$3($receiver, start, end, iterable) {
25427 return this.setRange$4($receiver, start, end, iterable, 0);
25428 },
25429 fillRange$3(receiver, start, end, fillValue) {
25430 var i;
25431 if (!!receiver.immutable$list)
25432 A.throwExpression(A.UnsupportedError$("fill range"));
25433 A.RangeError_checkValidRange(start, end, receiver.length);
25434 A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
25435 for (i = start; i < end; ++i)
25436 receiver[i] = fillValue;
25437 },
25438 any$1(receiver, test) {
25439 var i,
25440 end = receiver.length;
25441 for (i = 0; i < end; ++i) {
25442 if (test.call$1(receiver[i]))
25443 return true;
25444 if (receiver.length !== end)
25445 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25446 }
25447 return false;
25448 },
25449 every$1(receiver, test) {
25450 var i,
25451 end = receiver.length;
25452 for (i = 0; i < end; ++i) {
25453 if (!test.call$1(receiver[i]))
25454 return false;
25455 if (receiver.length !== end)
25456 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25457 }
25458 return true;
25459 },
25460 get$reversed(receiver) {
25461 return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
25462 },
25463 sort$1(receiver, compare) {
25464 if (!!receiver.immutable$list)
25465 A.throwExpression(A.UnsupportedError$("sort"));
25466 A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
25467 },
25468 sort$0($receiver) {
25469 return this.sort$1($receiver, null);
25470 },
25471 indexOf$1(receiver, element) {
25472 var i,
25473 $length = receiver.length;
25474 if (0 >= $length)
25475 return -1;
25476 for (i = 0; i < $length; ++i)
25477 if (J.$eq$(receiver[i], element))
25478 return i;
25479 return -1;
25480 },
25481 contains$1(receiver, other) {
25482 var i;
25483 for (i = 0; i < receiver.length; ++i)
25484 if (J.$eq$(receiver[i], other))
25485 return true;
25486 return false;
25487 },
25488 get$isEmpty(receiver) {
25489 return receiver.length === 0;
25490 },
25491 get$isNotEmpty(receiver) {
25492 return receiver.length !== 0;
25493 },
25494 toString$0(receiver) {
25495 return A.IterableBase_iterableToFullString(receiver, "[", "]");
25496 },
25497 toList$1$growable(receiver, growable) {
25498 var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
25499 return t1;
25500 },
25501 toList$0($receiver) {
25502 return this.toList$1$growable($receiver, true);
25503 },
25504 toSet$0(receiver) {
25505 return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
25506 },
25507 get$iterator(receiver) {
25508 return new J.ArrayIterator(receiver, receiver.length);
25509 },
25510 get$hashCode(receiver) {
25511 return A.Primitives_objectHashCode(receiver);
25512 },
25513 get$length(receiver) {
25514 return receiver.length;
25515 },
25516 set$length(receiver, newLength) {
25517 if (!!receiver.fixed$length)
25518 A.throwExpression(A.UnsupportedError$("set length"));
25519 if (newLength < 0)
25520 throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
25521 if (newLength > receiver.length)
25522 A._arrayInstanceType(receiver)._precomputed1._as(null);
25523 receiver.length = newLength;
25524 },
25525 $index(receiver, index) {
25526 if (!(index >= 0 && index < receiver.length))
25527 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25528 return receiver[index];
25529 },
25530 $indexSet(receiver, index, value) {
25531 if (!!receiver.immutable$list)
25532 A.throwExpression(A.UnsupportedError$("indexed set"));
25533 if (!(index >= 0 && index < receiver.length))
25534 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25535 receiver[index] = value;
25536 },
25537 $add(receiver, other) {
25538 var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
25539 this.addAll$1(t1, other);
25540 return t1;
25541 },
25542 indexWhere$1(receiver, test) {
25543 var i;
25544 if (0 >= receiver.length)
25545 return -1;
25546 for (i = 0; i < receiver.length; ++i)
25547 if (test.call$1(receiver[i]))
25548 return i;
25549 return -1;
25550 },
25551 $isEfficientLengthIterable: 1,
25552 $isIterable: 1,
25553 $isList: 1
25554 };
25555 J.JSUnmodifiableArray.prototype = {};
25556 J.ArrayIterator.prototype = {
25557 get$current(_) {
25558 var t1 = this._current;
25559 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
25560 },
25561 moveNext$0() {
25562 var t2, _this = this,
25563 t1 = _this._iterable,
25564 $length = t1.length;
25565 if (_this._length !== $length)
25566 throw A.wrapException(A.throwConcurrentModificationError(t1));
25567 t2 = _this._index;
25568 if (t2 >= $length) {
25569 _this._current = null;
25570 return false;
25571 }
25572 _this._current = t1[t2];
25573 _this._index = t2 + 1;
25574 return true;
25575 }
25576 };
25577 J.JSNumber.prototype = {
25578 compareTo$1(receiver, b) {
25579 var bIsNegative;
25580 if (receiver < b)
25581 return -1;
25582 else if (receiver > b)
25583 return 1;
25584 else if (receiver === b) {
25585 if (receiver === 0) {
25586 bIsNegative = this.get$isNegative(b);
25587 if (this.get$isNegative(receiver) === bIsNegative)
25588 return 0;
25589 if (this.get$isNegative(receiver))
25590 return -1;
25591 return 1;
25592 }
25593 return 0;
25594 } else if (isNaN(receiver)) {
25595 if (isNaN(b))
25596 return 0;
25597 return 1;
25598 } else
25599 return -1;
25600 },
25601 get$isNegative(receiver) {
25602 return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
25603 },
25604 ceil$0(receiver) {
25605 var truncated, d;
25606 if (receiver >= 0) {
25607 if (receiver <= 2147483647) {
25608 truncated = receiver | 0;
25609 return receiver === truncated ? truncated : truncated + 1;
25610 }
25611 } else if (receiver >= -2147483648)
25612 return receiver | 0;
25613 d = Math.ceil(receiver);
25614 if (isFinite(d))
25615 return d;
25616 throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
25617 },
25618 floor$0(receiver) {
25619 var truncated, d;
25620 if (receiver >= 0) {
25621 if (receiver <= 2147483647)
25622 return receiver | 0;
25623 } else if (receiver >= -2147483648) {
25624 truncated = receiver | 0;
25625 return receiver === truncated ? truncated : truncated - 1;
25626 }
25627 d = Math.floor(receiver);
25628 if (isFinite(d))
25629 return d;
25630 throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
25631 },
25632 round$0(receiver) {
25633 if (receiver > 0) {
25634 if (receiver !== 1 / 0)
25635 return Math.round(receiver);
25636 } else if (receiver > -1 / 0)
25637 return 0 - Math.round(0 - receiver);
25638 throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
25639 },
25640 clamp$2(receiver, lowerLimit, upperLimit) {
25641 if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
25642 throw A.wrapException(A.argumentErrorValue(lowerLimit));
25643 if (this.compareTo$1(receiver, lowerLimit) < 0)
25644 return lowerLimit;
25645 if (this.compareTo$1(receiver, upperLimit) > 0)
25646 return upperLimit;
25647 return receiver;
25648 },
25649 toRadixString$1(receiver, radix) {
25650 var result, match, exponent, t1;
25651 if (radix < 2 || radix > 36)
25652 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
25653 result = receiver.toString(radix);
25654 if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
25655 return result;
25656 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
25657 if (match == null)
25658 A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
25659 result = match[1];
25660 exponent = +match[3];
25661 t1 = match[2];
25662 if (t1 != null) {
25663 result += t1;
25664 exponent -= t1.length;
25665 }
25666 return result + B.JSString_methods.$mul("0", exponent);
25667 },
25668 toString$0(receiver) {
25669 if (receiver === 0 && 1 / receiver < 0)
25670 return "-0.0";
25671 else
25672 return "" + receiver;
25673 },
25674 get$hashCode(receiver) {
25675 var absolute, floorLog2, factor, scaled,
25676 intValue = receiver | 0;
25677 if (receiver === intValue)
25678 return intValue & 536870911;
25679 absolute = Math.abs(receiver);
25680 floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
25681 factor = Math.pow(2, floorLog2);
25682 scaled = absolute < 1 ? absolute / factor : factor / absolute;
25683 return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
25684 },
25685 $add(receiver, other) {
25686 return receiver + other;
25687 },
25688 $mod(receiver, other) {
25689 var result = receiver % other;
25690 if (result === 0)
25691 return 0;
25692 if (result > 0)
25693 return result;
25694 if (other < 0)
25695 return result - other;
25696 else
25697 return result + other;
25698 },
25699 $tdiv(receiver, other) {
25700 if ((receiver | 0) === receiver)
25701 if (other >= 1 || other < -1)
25702 return receiver / other | 0;
25703 return this._tdivSlow$1(receiver, other);
25704 },
25705 _tdivFast$1(receiver, other) {
25706 return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
25707 },
25708 _tdivSlow$1(receiver, other) {
25709 var quotient = receiver / other;
25710 if (quotient >= -2147483648 && quotient <= 2147483647)
25711 return quotient | 0;
25712 if (quotient > 0) {
25713 if (quotient !== 1 / 0)
25714 return Math.floor(quotient);
25715 } else if (quotient > -1 / 0)
25716 return Math.ceil(quotient);
25717 throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
25718 },
25719 _shrOtherPositive$1(receiver, other) {
25720 var t1;
25721 if (receiver > 0)
25722 t1 = this._shrBothPositive$1(receiver, other);
25723 else {
25724 t1 = other > 31 ? 31 : other;
25725 t1 = receiver >> t1 >>> 0;
25726 }
25727 return t1;
25728 },
25729 _shrReceiverPositive$1(receiver, other) {
25730 if (0 > other)
25731 throw A.wrapException(A.argumentErrorValue(other));
25732 return this._shrBothPositive$1(receiver, other);
25733 },
25734 _shrBothPositive$1(receiver, other) {
25735 return other > 31 ? 0 : receiver >>> other;
25736 },
25737 $isComparable: 1,
25738 $isdouble: 1,
25739 $isnum: 1
25740 };
25741 J.JSInt.prototype = {$isint: 1};
25742 J.JSNumNotInt.prototype = {};
25743 J.JSString.prototype = {
25744 codeUnitAt$1(receiver, index) {
25745 if (index < 0)
25746 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25747 if (index >= receiver.length)
25748 A.throwExpression(A.diagnoseIndexError(receiver, index));
25749 return receiver.charCodeAt(index);
25750 },
25751 _codeUnitAt$1(receiver, index) {
25752 if (index >= receiver.length)
25753 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25754 return receiver.charCodeAt(index);
25755 },
25756 allMatches$2(receiver, string, start) {
25757 var t1 = string.length;
25758 if (start > t1)
25759 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
25760 return new A._StringAllMatchesIterable(string, receiver, start);
25761 },
25762 allMatches$1($receiver, string) {
25763 return this.allMatches$2($receiver, string, 0);
25764 },
25765 matchAsPrefix$2(receiver, string, start) {
25766 var t1, i, _null = null;
25767 if (start < 0 || start > string.length)
25768 throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
25769 t1 = receiver.length;
25770 if (start + t1 > string.length)
25771 return _null;
25772 for (i = 0; i < t1; ++i)
25773 if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
25774 return _null;
25775 return new A.StringMatch(start, receiver);
25776 },
25777 $add(receiver, other) {
25778 return receiver + other;
25779 },
25780 endsWith$1(receiver, other) {
25781 var otherLength = other.length,
25782 t1 = receiver.length;
25783 if (otherLength > t1)
25784 return false;
25785 return other === this.substring$1(receiver, t1 - otherLength);
25786 },
25787 replaceFirst$2(receiver, from, to) {
25788 A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
25789 return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
25790 },
25791 split$1(receiver, pattern) {
25792 if (typeof pattern == "string")
25793 return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
25794 else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
25795 return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
25796 else
25797 return this._defaultSplit$1(receiver, pattern);
25798 },
25799 replaceRange$3(receiver, start, end, replacement) {
25800 var e = A.RangeError_checkValidRange(start, end, receiver.length);
25801 return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
25802 },
25803 _defaultSplit$1(receiver, pattern) {
25804 var t1, start, $length, match, matchStart, matchEnd,
25805 result = A._setArrayType([], type$.JSArray_String);
25806 for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
25807 match = t1.get$current(t1);
25808 matchStart = match.get$start(match);
25809 matchEnd = match.get$end(match);
25810 $length = matchEnd - matchStart;
25811 if ($length === 0 && start === matchStart)
25812 continue;
25813 result.push(this.substring$2(receiver, start, matchStart));
25814 start = matchEnd;
25815 }
25816 if (start < receiver.length || $length > 0)
25817 result.push(this.substring$1(receiver, start));
25818 return result;
25819 },
25820 startsWith$2(receiver, pattern, index) {
25821 var endIndex;
25822 if (index < 0 || index > receiver.length)
25823 throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
25824 if (typeof pattern == "string") {
25825 endIndex = index + pattern.length;
25826 if (endIndex > receiver.length)
25827 return false;
25828 return pattern === receiver.substring(index, endIndex);
25829 }
25830 return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
25831 },
25832 startsWith$1($receiver, pattern) {
25833 return this.startsWith$2($receiver, pattern, 0);
25834 },
25835 substring$2(receiver, start, end) {
25836 return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
25837 },
25838 substring$1($receiver, start) {
25839 return this.substring$2($receiver, start, null);
25840 },
25841 trim$0(receiver) {
25842 var startIndex, t1, endIndex0,
25843 result = receiver.trim(),
25844 endIndex = result.length;
25845 if (endIndex === 0)
25846 return result;
25847 if (this._codeUnitAt$1(result, 0) === 133) {
25848 startIndex = J.JSString__skipLeadingWhitespace(result, 1);
25849 if (startIndex === endIndex)
25850 return "";
25851 } else
25852 startIndex = 0;
25853 t1 = endIndex - 1;
25854 endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
25855 if (startIndex === 0 && endIndex0 === endIndex)
25856 return result;
25857 return result.substring(startIndex, endIndex0);
25858 },
25859 trimRight$0(receiver) {
25860 var result, endIndex, t1;
25861 if (typeof receiver.trimRight != "undefined") {
25862 result = receiver.trimRight();
25863 endIndex = result.length;
25864 if (endIndex === 0)
25865 return result;
25866 t1 = endIndex - 1;
25867 if (this.codeUnitAt$1(result, t1) === 133)
25868 endIndex = J.JSString__skipTrailingWhitespace(result, t1);
25869 } else {
25870 endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
25871 result = receiver;
25872 }
25873 if (endIndex === result.length)
25874 return result;
25875 if (endIndex === 0)
25876 return "";
25877 return result.substring(0, endIndex);
25878 },
25879 $mul(receiver, times) {
25880 var s, result;
25881 if (0 >= times)
25882 return "";
25883 if (times === 1 || receiver.length === 0)
25884 return receiver;
25885 if (times !== times >>> 0)
25886 throw A.wrapException(B.C_OutOfMemoryError);
25887 for (s = receiver, result = ""; true;) {
25888 if ((times & 1) === 1)
25889 result = s + result;
25890 times = times >>> 1;
25891 if (times === 0)
25892 break;
25893 s += s;
25894 }
25895 return result;
25896 },
25897 padLeft$2(receiver, width, padding) {
25898 var delta = width - receiver.length;
25899 if (delta <= 0)
25900 return receiver;
25901 return this.$mul(padding, delta) + receiver;
25902 },
25903 padRight$1(receiver, width) {
25904 var delta = width - receiver.length;
25905 if (delta <= 0)
25906 return receiver;
25907 return receiver + this.$mul(" ", delta);
25908 },
25909 indexOf$2(receiver, pattern, start) {
25910 var t1;
25911 if (start < 0 || start > receiver.length)
25912 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25913 t1 = receiver.indexOf(pattern, start);
25914 return t1;
25915 },
25916 indexOf$1($receiver, pattern) {
25917 return this.indexOf$2($receiver, pattern, 0);
25918 },
25919 lastIndexOf$2(receiver, pattern, start) {
25920 var t1, t2, i;
25921 if (start == null)
25922 start = receiver.length;
25923 else if (start < 0 || start > receiver.length)
25924 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25925 if (typeof pattern == "string") {
25926 t1 = pattern.length;
25927 t2 = receiver.length;
25928 if (start + t1 > t2)
25929 start = t2 - t1;
25930 return receiver.lastIndexOf(pattern, start);
25931 }
25932 for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
25933 if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
25934 return i;
25935 return -1;
25936 },
25937 lastIndexOf$1($receiver, pattern) {
25938 return this.lastIndexOf$2($receiver, pattern, null);
25939 },
25940 contains$2(receiver, other, startIndex) {
25941 var t1 = receiver.length;
25942 if (startIndex > t1)
25943 throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
25944 return A.stringContainsUnchecked(receiver, other, startIndex);
25945 },
25946 contains$1($receiver, other) {
25947 return this.contains$2($receiver, other, 0);
25948 },
25949 get$isNotEmpty(receiver) {
25950 return receiver.length !== 0;
25951 },
25952 compareTo$1(receiver, other) {
25953 var t1;
25954 if (receiver === other)
25955 t1 = 0;
25956 else
25957 t1 = receiver < other ? -1 : 1;
25958 return t1;
25959 },
25960 toString$0(receiver) {
25961 return receiver;
25962 },
25963 get$hashCode(receiver) {
25964 var t1, hash, i;
25965 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
25966 hash = hash + receiver.charCodeAt(i) & 536870911;
25967 hash = hash + ((hash & 524287) << 10) & 536870911;
25968 hash ^= hash >> 6;
25969 }
25970 hash = hash + ((hash & 67108863) << 3) & 536870911;
25971 hash ^= hash >> 11;
25972 return hash + ((hash & 16383) << 15) & 536870911;
25973 },
25974 get$length(receiver) {
25975 return receiver.length;
25976 },
25977 $isComparable: 1,
25978 $isString: 1
25979 };
25980 A._CastIterableBase.prototype = {
25981 get$iterator(_) {
25982 var t1 = A._instanceType(this);
25983 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>"));
25984 },
25985 get$length(_) {
25986 return J.get$length$asx(this.get$_source());
25987 },
25988 get$isEmpty(_) {
25989 return J.get$isEmpty$asx(this.get$_source());
25990 },
25991 get$isNotEmpty(_) {
25992 return J.get$isNotEmpty$asx(this.get$_source());
25993 },
25994 skip$1(_, count) {
25995 var t1 = A._instanceType(this);
25996 return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25997 },
25998 take$1(_, count) {
25999 var t1 = A._instanceType(this);
26000 return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
26001 },
26002 elementAt$1(_, index) {
26003 return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
26004 },
26005 get$first(_) {
26006 return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
26007 },
26008 get$last(_) {
26009 return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
26010 },
26011 get$single(_) {
26012 return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
26013 },
26014 contains$1(_, other) {
26015 return J.contains$1$asx(this.get$_source(), other);
26016 },
26017 toString$0(_) {
26018 return J.toString$0$(this.get$_source());
26019 }
26020 };
26021 A.CastIterator.prototype = {
26022 moveNext$0() {
26023 return this._source.moveNext$0();
26024 },
26025 get$current(_) {
26026 var t1 = this._source;
26027 return this.$ti._rest[1]._as(t1.get$current(t1));
26028 }
26029 };
26030 A.CastIterable.prototype = {
26031 get$_source() {
26032 return this._source;
26033 }
26034 };
26035 A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
26036 A._CastListBase.prototype = {
26037 $index(_, index) {
26038 return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
26039 },
26040 $indexSet(_, index, value) {
26041 J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
26042 },
26043 set$length(_, $length) {
26044 J.set$length$asx(this._source, $length);
26045 },
26046 add$1(_, value) {
26047 J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
26048 },
26049 sort$1(_, compare) {
26050 var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
26051 J.sort$1$ax(this._source, t1);
26052 },
26053 getRange$2(_, start, end) {
26054 var t1 = this.$ti;
26055 return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
26056 },
26057 setRange$4(_, start, end, iterable, skipCount) {
26058 var t1 = this.$ti;
26059 J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
26060 },
26061 fillRange$3(_, start, end, fillValue) {
26062 J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
26063 },
26064 $isEfficientLengthIterable: 1,
26065 $isList: 1
26066 };
26067 A._CastListBase_sort_closure.prototype = {
26068 call$2(v1, v2) {
26069 var t1 = this.$this.$ti._rest[1];
26070 return this.compare.call$2(t1._as(v1), t1._as(v2));
26071 },
26072 $signature() {
26073 return this.$this.$ti._eval$1("int(1,1)");
26074 }
26075 };
26076 A.CastList.prototype = {
26077 cast$1$0(_, $R) {
26078 return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
26079 },
26080 get$_source() {
26081 return this._source;
26082 }
26083 };
26084 A.CastSet.prototype = {
26085 add$1(_, value) {
26086 return this._source.add$1(0, this.$ti._precomputed1._as(value));
26087 },
26088 addAll$1(_, elements) {
26089 var t1 = this.$ti;
26090 this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
26091 },
26092 difference$1(other) {
26093 var t1, _this = this;
26094 if (_this._emptySet != null)
26095 return _this._conditionalAdd$2(other, false);
26096 t1 = _this.$ti;
26097 return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
26098 },
26099 _conditionalAdd$2(other, otherContains) {
26100 var t3, castElement,
26101 emptySet = this._emptySet,
26102 t1 = this.$ti,
26103 t2 = t1._rest[1],
26104 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
26105 for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
26106 castElement = t1._as(t2.get$current(t2));
26107 if (otherContains === t3.contains$1(0, castElement))
26108 result.add$1(0, castElement);
26109 }
26110 return result;
26111 },
26112 toSet$0(_) {
26113 var emptySet = this._emptySet,
26114 t1 = this.$ti._rest[1],
26115 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
26116 result.addAll$1(0, this);
26117 return result;
26118 },
26119 $isEfficientLengthIterable: 1,
26120 $isSet: 1,
26121 get$_source() {
26122 return this._source;
26123 }
26124 };
26125 A.CastMap.prototype = {
26126 cast$2$0(_, RK, RV) {
26127 var t1 = this.$ti;
26128 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>"));
26129 },
26130 containsKey$1(key) {
26131 return this._source.containsKey$1(key);
26132 },
26133 $index(_, key) {
26134 return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
26135 },
26136 $indexSet(_, key, value) {
26137 var t1 = this.$ti;
26138 this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
26139 },
26140 addAll$1(_, other) {
26141 var t1 = this.$ti;
26142 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>")));
26143 },
26144 remove$1(_, key) {
26145 return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
26146 },
26147 forEach$1(_, f) {
26148 this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
26149 },
26150 get$keys(_) {
26151 var t1 = this._source,
26152 t2 = this.$ti;
26153 return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
26154 },
26155 get$values(_) {
26156 var t1 = this._source,
26157 t2 = this.$ti;
26158 return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
26159 },
26160 get$length(_) {
26161 var t1 = this._source;
26162 return t1.get$length(t1);
26163 },
26164 get$isEmpty(_) {
26165 var t1 = this._source;
26166 return t1.get$isEmpty(t1);
26167 },
26168 get$isNotEmpty(_) {
26169 var t1 = this._source;
26170 return t1.get$isNotEmpty(t1);
26171 },
26172 get$entries(_) {
26173 var t1 = this._source;
26174 return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
26175 }
26176 };
26177 A.CastMap_forEach_closure.prototype = {
26178 call$2(key, value) {
26179 var t1 = this.$this.$ti;
26180 this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
26181 },
26182 $signature() {
26183 return this.$this.$ti._eval$1("~(1,2)");
26184 }
26185 };
26186 A.CastMap_entries_closure.prototype = {
26187 call$1(e) {
26188 var t1 = this.$this.$ti,
26189 t2 = t1._rest[3];
26190 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>"));
26191 },
26192 $signature() {
26193 return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
26194 }
26195 };
26196 A.LateError.prototype = {
26197 toString$0(_) {
26198 return "LateInitializationError: " + this._message;
26199 }
26200 };
26201 A.CodeUnits.prototype = {
26202 get$length(_) {
26203 return this.__internal$_string.length;
26204 },
26205 $index(_, i) {
26206 return B.JSString_methods.codeUnitAt$1(this.__internal$_string, i);
26207 }
26208 };
26209 A.nullFuture_closure.prototype = {
26210 call$0() {
26211 return A.Future_Future$value(null, type$.Null);
26212 },
26213 $signature: 2
26214 };
26215 A.SentinelValue.prototype = {};
26216 A.EfficientLengthIterable.prototype = {};
26217 A.ListIterable.prototype = {
26218 get$iterator(_) {
26219 return new A.ListIterator(this, this.get$length(this));
26220 },
26221 get$isEmpty(_) {
26222 return this.get$length(this) === 0;
26223 },
26224 get$first(_) {
26225 if (this.get$length(this) === 0)
26226 throw A.wrapException(A.IterableElementError_noElement());
26227 return this.elementAt$1(0, 0);
26228 },
26229 get$last(_) {
26230 var _this = this;
26231 if (_this.get$length(_this) === 0)
26232 throw A.wrapException(A.IterableElementError_noElement());
26233 return _this.elementAt$1(0, _this.get$length(_this) - 1);
26234 },
26235 get$single(_) {
26236 var _this = this;
26237 if (_this.get$length(_this) === 0)
26238 throw A.wrapException(A.IterableElementError_noElement());
26239 if (_this.get$length(_this) > 1)
26240 throw A.wrapException(A.IterableElementError_tooMany());
26241 return _this.elementAt$1(0, 0);
26242 },
26243 contains$1(_, element) {
26244 var i, _this = this,
26245 $length = _this.get$length(_this);
26246 for (i = 0; i < $length; ++i) {
26247 if (J.$eq$(_this.elementAt$1(0, i), element))
26248 return true;
26249 if ($length !== _this.get$length(_this))
26250 throw A.wrapException(A.ConcurrentModificationError$(_this));
26251 }
26252 return false;
26253 },
26254 any$1(_, test) {
26255 var i, _this = this,
26256 $length = _this.get$length(_this);
26257 for (i = 0; i < $length; ++i) {
26258 if (test.call$1(_this.elementAt$1(0, i)))
26259 return true;
26260 if ($length !== _this.get$length(_this))
26261 throw A.wrapException(A.ConcurrentModificationError$(_this));
26262 }
26263 return false;
26264 },
26265 join$1(_, separator) {
26266 var first, t1, i, _this = this,
26267 $length = _this.get$length(_this);
26268 if (separator.length !== 0) {
26269 if ($length === 0)
26270 return "";
26271 first = A.S(_this.elementAt$1(0, 0));
26272 if ($length !== _this.get$length(_this))
26273 throw A.wrapException(A.ConcurrentModificationError$(_this));
26274 for (t1 = first, i = 1; i < $length; ++i) {
26275 t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
26276 if ($length !== _this.get$length(_this))
26277 throw A.wrapException(A.ConcurrentModificationError$(_this));
26278 }
26279 return t1.charCodeAt(0) == 0 ? t1 : t1;
26280 } else {
26281 for (i = 0, t1 = ""; i < $length; ++i) {
26282 t1 += A.S(_this.elementAt$1(0, i));
26283 if ($length !== _this.get$length(_this))
26284 throw A.wrapException(A.ConcurrentModificationError$(_this));
26285 }
26286 return t1.charCodeAt(0) == 0 ? t1 : t1;
26287 }
26288 },
26289 join$0($receiver) {
26290 return this.join$1($receiver, "");
26291 },
26292 where$1(_, test) {
26293 return this.super$Iterable$where(0, test);
26294 },
26295 map$1$1(_, toElement, $T) {
26296 return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
26297 },
26298 reduce$1(_, combine) {
26299 var value, i, _this = this,
26300 $length = _this.get$length(_this);
26301 if ($length === 0)
26302 throw A.wrapException(A.IterableElementError_noElement());
26303 value = _this.elementAt$1(0, 0);
26304 for (i = 1; i < $length; ++i) {
26305 value = combine.call$2(value, _this.elementAt$1(0, i));
26306 if ($length !== _this.get$length(_this))
26307 throw A.wrapException(A.ConcurrentModificationError$(_this));
26308 }
26309 return value;
26310 },
26311 fold$1$2(_, initialValue, combine) {
26312 var value, i, _this = this,
26313 $length = _this.get$length(_this);
26314 for (value = initialValue, i = 0; i < $length; ++i) {
26315 value = combine.call$2(value, _this.elementAt$1(0, i));
26316 if ($length !== _this.get$length(_this))
26317 throw A.wrapException(A.ConcurrentModificationError$(_this));
26318 }
26319 return value;
26320 },
26321 fold$2($receiver, initialValue, combine) {
26322 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
26323 },
26324 skip$1(_, count) {
26325 return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
26326 },
26327 take$1(_, count) {
26328 return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
26329 },
26330 toList$1$growable(_, growable) {
26331 return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
26332 },
26333 toList$0($receiver) {
26334 return this.toList$1$growable($receiver, true);
26335 },
26336 toSet$0(_) {
26337 var i, _this = this,
26338 result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
26339 for (i = 0; i < _this.get$length(_this); ++i)
26340 result.add$1(0, _this.elementAt$1(0, i));
26341 return result;
26342 }
26343 };
26344 A.SubListIterable.prototype = {
26345 SubListIterable$3(_iterable, _start, _endOrLength, $E) {
26346 var endOrLength,
26347 t1 = this.__internal$_start;
26348 A.RangeError_checkNotNegative(t1, "start");
26349 endOrLength = this._endOrLength;
26350 if (endOrLength != null) {
26351 A.RangeError_checkNotNegative(endOrLength, "end");
26352 if (t1 > endOrLength)
26353 throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
26354 }
26355 },
26356 get$_endIndex() {
26357 var $length = J.get$length$asx(this.__internal$_iterable),
26358 endOrLength = this._endOrLength;
26359 if (endOrLength == null || endOrLength > $length)
26360 return $length;
26361 return endOrLength;
26362 },
26363 get$_startIndex() {
26364 var $length = J.get$length$asx(this.__internal$_iterable),
26365 t1 = this.__internal$_start;
26366 if (t1 > $length)
26367 return $length;
26368 return t1;
26369 },
26370 get$length(_) {
26371 var endOrLength,
26372 $length = J.get$length$asx(this.__internal$_iterable),
26373 t1 = this.__internal$_start;
26374 if (t1 >= $length)
26375 return 0;
26376 endOrLength = this._endOrLength;
26377 if (endOrLength == null || endOrLength >= $length)
26378 return $length - t1;
26379 return endOrLength - t1;
26380 },
26381 elementAt$1(_, index) {
26382 var _this = this,
26383 realIndex = _this.get$_startIndex() + index;
26384 if (index < 0 || realIndex >= _this.get$_endIndex())
26385 throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
26386 return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
26387 },
26388 skip$1(_, count) {
26389 var newStart, endOrLength, _this = this;
26390 A.RangeError_checkNotNegative(count, "count");
26391 newStart = _this.__internal$_start + count;
26392 endOrLength = _this._endOrLength;
26393 if (endOrLength != null && newStart >= endOrLength)
26394 return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
26395 return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
26396 },
26397 take$1(_, count) {
26398 var endOrLength, t1, newEnd, _this = this;
26399 A.RangeError_checkNotNegative(count, "count");
26400 endOrLength = _this._endOrLength;
26401 t1 = _this.__internal$_start;
26402 newEnd = t1 + count;
26403 if (endOrLength == null)
26404 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26405 else {
26406 if (endOrLength < newEnd)
26407 return _this;
26408 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26409 }
26410 },
26411 toList$1$growable(_, growable) {
26412 var $length, result, i, _this = this,
26413 start = _this.__internal$_start,
26414 t1 = _this.__internal$_iterable,
26415 t2 = J.getInterceptor$asx(t1),
26416 end = t2.get$length(t1),
26417 endOrLength = _this._endOrLength;
26418 if (endOrLength != null && endOrLength < end)
26419 end = endOrLength;
26420 $length = end - start;
26421 if ($length <= 0) {
26422 t1 = _this.$ti._precomputed1;
26423 return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
26424 }
26425 result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
26426 for (i = 1; i < $length; ++i) {
26427 result[i] = t2.elementAt$1(t1, start + i);
26428 if (t2.get$length(t1) < end)
26429 throw A.wrapException(A.ConcurrentModificationError$(_this));
26430 }
26431 return result;
26432 },
26433 toList$0($receiver) {
26434 return this.toList$1$growable($receiver, true);
26435 }
26436 };
26437 A.ListIterator.prototype = {
26438 get$current(_) {
26439 var t1 = this.__internal$_current;
26440 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
26441 },
26442 moveNext$0() {
26443 var t3, _this = this,
26444 t1 = _this.__internal$_iterable,
26445 t2 = J.getInterceptor$asx(t1),
26446 $length = t2.get$length(t1);
26447 if (_this.__internal$_length !== $length)
26448 throw A.wrapException(A.ConcurrentModificationError$(t1));
26449 t3 = _this.__internal$_index;
26450 if (t3 >= $length) {
26451 _this.__internal$_current = null;
26452 return false;
26453 }
26454 _this.__internal$_current = t2.elementAt$1(t1, t3);
26455 ++_this.__internal$_index;
26456 return true;
26457 }
26458 };
26459 A.MappedIterable.prototype = {
26460 get$iterator(_) {
26461 return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26462 },
26463 get$length(_) {
26464 return J.get$length$asx(this.__internal$_iterable);
26465 },
26466 get$isEmpty(_) {
26467 return J.get$isEmpty$asx(this.__internal$_iterable);
26468 },
26469 get$first(_) {
26470 return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
26471 },
26472 get$last(_) {
26473 return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
26474 },
26475 get$single(_) {
26476 return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
26477 },
26478 elementAt$1(_, index) {
26479 return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
26480 }
26481 };
26482 A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
26483 A.MappedIterator.prototype = {
26484 moveNext$0() {
26485 var _this = this,
26486 t1 = _this._iterator;
26487 if (t1.moveNext$0()) {
26488 _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
26489 return true;
26490 }
26491 _this.__internal$_current = null;
26492 return false;
26493 },
26494 get$current(_) {
26495 var t1 = this.__internal$_current;
26496 return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
26497 }
26498 };
26499 A.MappedListIterable.prototype = {
26500 get$length(_) {
26501 return J.get$length$asx(this._source);
26502 },
26503 elementAt$1(_, index) {
26504 return this._f.call$1(J.elementAt$1$ax(this._source, index));
26505 }
26506 };
26507 A.WhereIterable.prototype = {
26508 get$iterator(_) {
26509 return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26510 },
26511 map$1$1(_, toElement, $T) {
26512 return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
26513 }
26514 };
26515 A.WhereIterator.prototype = {
26516 moveNext$0() {
26517 var t1, t2;
26518 for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
26519 if (t2.call$1(t1.get$current(t1)))
26520 return true;
26521 return false;
26522 },
26523 get$current(_) {
26524 var t1 = this._iterator;
26525 return t1.get$current(t1);
26526 }
26527 };
26528 A.ExpandIterable.prototype = {
26529 get$iterator(_) {
26530 return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
26531 }
26532 };
26533 A.ExpandIterator.prototype = {
26534 get$current(_) {
26535 var t1 = this.__internal$_current;
26536 return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
26537 },
26538 moveNext$0() {
26539 var t2, t3, _this = this,
26540 t1 = _this._currentExpansion;
26541 if (t1 == null)
26542 return false;
26543 for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
26544 _this.__internal$_current = null;
26545 if (t2.moveNext$0()) {
26546 _this._currentExpansion = null;
26547 t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
26548 _this._currentExpansion = t1;
26549 } else
26550 return false;
26551 }
26552 t1 = _this._currentExpansion;
26553 _this.__internal$_current = t1.get$current(t1);
26554 return true;
26555 }
26556 };
26557 A.TakeIterable.prototype = {
26558 get$iterator(_) {
26559 return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
26560 }
26561 };
26562 A.EfficientLengthTakeIterable.prototype = {
26563 get$length(_) {
26564 var iterableLength = J.get$length$asx(this.__internal$_iterable),
26565 t1 = this._takeCount;
26566 if (iterableLength > t1)
26567 return t1;
26568 return iterableLength;
26569 },
26570 $isEfficientLengthIterable: 1
26571 };
26572 A.TakeIterator.prototype = {
26573 moveNext$0() {
26574 if (--this._remaining >= 0)
26575 return this._iterator.moveNext$0();
26576 this._remaining = -1;
26577 return false;
26578 },
26579 get$current(_) {
26580 var t1;
26581 if (this._remaining < 0) {
26582 A._instanceType(this)._precomputed1._as(null);
26583 return null;
26584 }
26585 t1 = this._iterator;
26586 return t1.get$current(t1);
26587 }
26588 };
26589 A.SkipIterable.prototype = {
26590 skip$1(_, count) {
26591 A.ArgumentError_checkNotNull(count, "count");
26592 A.RangeError_checkNotNegative(count, "count");
26593 return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
26594 },
26595 get$iterator(_) {
26596 return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
26597 }
26598 };
26599 A.EfficientLengthSkipIterable.prototype = {
26600 get$length(_) {
26601 var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
26602 if ($length >= 0)
26603 return $length;
26604 return 0;
26605 },
26606 skip$1(_, count) {
26607 A.ArgumentError_checkNotNull(count, "count");
26608 A.RangeError_checkNotNegative(count, "count");
26609 return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
26610 },
26611 $isEfficientLengthIterable: 1
26612 };
26613 A.SkipIterator.prototype = {
26614 moveNext$0() {
26615 var t1, i;
26616 for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
26617 t1.moveNext$0();
26618 this._skipCount = 0;
26619 return t1.moveNext$0();
26620 },
26621 get$current(_) {
26622 var t1 = this._iterator;
26623 return t1.get$current(t1);
26624 }
26625 };
26626 A.SkipWhileIterable.prototype = {
26627 get$iterator(_) {
26628 return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26629 }
26630 };
26631 A.SkipWhileIterator.prototype = {
26632 moveNext$0() {
26633 var t1, t2, _this = this;
26634 if (!_this._hasSkipped) {
26635 _this._hasSkipped = true;
26636 for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
26637 if (!t2.call$1(t1.get$current(t1)))
26638 return true;
26639 }
26640 return _this._iterator.moveNext$0();
26641 },
26642 get$current(_) {
26643 var t1 = this._iterator;
26644 return t1.get$current(t1);
26645 }
26646 };
26647 A.EmptyIterable.prototype = {
26648 get$iterator(_) {
26649 return B.C_EmptyIterator;
26650 },
26651 get$isEmpty(_) {
26652 return true;
26653 },
26654 get$length(_) {
26655 return 0;
26656 },
26657 get$first(_) {
26658 throw A.wrapException(A.IterableElementError_noElement());
26659 },
26660 get$last(_) {
26661 throw A.wrapException(A.IterableElementError_noElement());
26662 },
26663 get$single(_) {
26664 throw A.wrapException(A.IterableElementError_noElement());
26665 },
26666 elementAt$1(_, index) {
26667 throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
26668 },
26669 contains$1(_, element) {
26670 return false;
26671 },
26672 join$1(_, separator) {
26673 return "";
26674 },
26675 join$0($receiver) {
26676 return this.join$1($receiver, "");
26677 },
26678 where$1(_, test) {
26679 return this;
26680 },
26681 map$1$1(_, toElement, $T) {
26682 return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
26683 },
26684 skip$1(_, count) {
26685 A.RangeError_checkNotNegative(count, "count");
26686 return this;
26687 },
26688 take$1(_, count) {
26689 A.RangeError_checkNotNegative(count, "count");
26690 return this;
26691 },
26692 toList$1$growable(_, growable) {
26693 var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
26694 return t1;
26695 },
26696 toList$0($receiver) {
26697 return this.toList$1$growable($receiver, true);
26698 },
26699 toSet$0(_) {
26700 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
26701 }
26702 };
26703 A.EmptyIterator.prototype = {
26704 moveNext$0() {
26705 return false;
26706 },
26707 get$current(_) {
26708 throw A.wrapException(A.IterableElementError_noElement());
26709 }
26710 };
26711 A.FollowedByIterable.prototype = {
26712 get$iterator(_) {
26713 return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
26714 },
26715 get$length(_) {
26716 var t1 = this._second;
26717 return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
26718 },
26719 get$isEmpty(_) {
26720 var t1;
26721 if (J.get$isEmpty$asx(this.__internal$_first)) {
26722 t1 = this._second;
26723 t1 = t1.get$isEmpty(t1);
26724 } else
26725 t1 = false;
26726 return t1;
26727 },
26728 get$isNotEmpty(_) {
26729 var t1;
26730 if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
26731 t1 = this._second;
26732 t1 = t1.get$isNotEmpty(t1);
26733 } else
26734 t1 = true;
26735 return t1;
26736 },
26737 contains$1(_, value) {
26738 return J.contains$1$asx(this.__internal$_first, value) || this._second.contains$1(0, value);
26739 },
26740 get$first(_) {
26741 var t1,
26742 iterator = J.get$iterator$ax(this.__internal$_first);
26743 if (iterator.moveNext$0())
26744 return iterator.get$current(iterator);
26745 t1 = this._second;
26746 return t1.get$first(t1);
26747 },
26748 get$last(_) {
26749 var last,
26750 t1 = this._second,
26751 iterator = t1.get$iterator(t1);
26752 if (iterator.moveNext$0()) {
26753 last = iterator.get$current(iterator);
26754 for (; iterator.moveNext$0();)
26755 last = iterator.get$current(iterator);
26756 return last;
26757 }
26758 return J.get$last$ax(this.__internal$_first);
26759 }
26760 };
26761 A.EfficientLengthFollowedByIterable.prototype = {
26762 elementAt$1(_, index) {
26763 var t1 = this.__internal$_first,
26764 t2 = J.getInterceptor$asx(t1),
26765 firstLength = t2.get$length(t1);
26766 if (index < firstLength)
26767 return t2.elementAt$1(t1, index);
26768 return this._second.elementAt$1(0, index - firstLength);
26769 },
26770 get$first(_) {
26771 var t1 = this.__internal$_first,
26772 t2 = J.getInterceptor$asx(t1);
26773 if (t2.get$isNotEmpty(t1))
26774 return t2.get$first(t1);
26775 t1 = this._second;
26776 return t1.get$first(t1);
26777 },
26778 get$last(_) {
26779 var t1 = this._second;
26780 if (t1.get$isNotEmpty(t1))
26781 return t1.get$last(t1);
26782 return J.get$last$ax(this.__internal$_first);
26783 },
26784 $isEfficientLengthIterable: 1
26785 };
26786 A.FollowedByIterator.prototype = {
26787 moveNext$0() {
26788 var t1, _this = this;
26789 if (_this._currentIterator.moveNext$0())
26790 return true;
26791 t1 = _this._nextIterable;
26792 if (t1 != null) {
26793 t1 = t1.get$iterator(t1);
26794 _this._currentIterator = t1;
26795 _this._nextIterable = null;
26796 return t1.moveNext$0();
26797 }
26798 return false;
26799 },
26800 get$current(_) {
26801 var t1 = this._currentIterator;
26802 return t1.get$current(t1);
26803 }
26804 };
26805 A.WhereTypeIterable.prototype = {
26806 get$iterator(_) {
26807 return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
26808 }
26809 };
26810 A.WhereTypeIterator.prototype = {
26811 moveNext$0() {
26812 var t1, t2;
26813 for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
26814 if (t2._is(t1.get$current(t1)))
26815 return true;
26816 return false;
26817 },
26818 get$current(_) {
26819 var t1 = this._source;
26820 return this.$ti._precomputed1._as(t1.get$current(t1));
26821 }
26822 };
26823 A.FixedLengthListMixin.prototype = {
26824 set$length(receiver, newLength) {
26825 throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
26826 },
26827 add$1(receiver, value) {
26828 throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
26829 }
26830 };
26831 A.UnmodifiableListMixin.prototype = {
26832 $indexSet(_, index, value) {
26833 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26834 },
26835 set$length(_, newLength) {
26836 throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
26837 },
26838 add$1(_, value) {
26839 throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
26840 },
26841 sort$1(_, compare) {
26842 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26843 },
26844 setRange$4(_, start, end, iterable, skipCount) {
26845 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26846 },
26847 fillRange$3(_, start, end, fillValue) {
26848 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26849 }
26850 };
26851 A.UnmodifiableListBase.prototype = {};
26852 A.ReversedListIterable.prototype = {
26853 get$length(_) {
26854 return J.get$length$asx(this._source);
26855 },
26856 elementAt$1(_, index) {
26857 var t1 = this._source,
26858 t2 = J.getInterceptor$asx(t1);
26859 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
26860 }
26861 };
26862 A.Symbol.prototype = {
26863 get$hashCode(_) {
26864 var hash = this._hashCode;
26865 if (hash != null)
26866 return hash;
26867 hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
26868 this._hashCode = hash;
26869 return hash;
26870 },
26871 toString$0(_) {
26872 return 'Symbol("' + A.S(this.__internal$_name) + '")';
26873 },
26874 $eq(_, other) {
26875 if (other == null)
26876 return false;
26877 return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
26878 },
26879 $isSymbol0: 1
26880 };
26881 A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
26882 A.ConstantMapView.prototype = {};
26883 A.ConstantMap.prototype = {
26884 cast$2$0(_, RK, RV) {
26885 var t1 = A._instanceType(this);
26886 return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
26887 },
26888 get$isEmpty(_) {
26889 return this.get$length(this) === 0;
26890 },
26891 get$isNotEmpty(_) {
26892 return this.get$length(this) !== 0;
26893 },
26894 toString$0(_) {
26895 return A.MapBase_mapToString(this);
26896 },
26897 $indexSet(_, key, val) {
26898 A.ConstantMap__throwUnmodifiable();
26899 },
26900 remove$1(_, key) {
26901 A.ConstantMap__throwUnmodifiable();
26902 },
26903 addAll$1(_, other) {
26904 A.ConstantMap__throwUnmodifiable();
26905 },
26906 get$entries(_) {
26907 return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
26908 },
26909 entries$body$ConstantMap($async$_, $async$type) {
26910 var $async$self = this;
26911 return A._makeSyncStarIterable(function() {
26912 var _ = $async$_;
26913 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
26914 return function $async$get$entries($async$errorCode, $async$result) {
26915 if ($async$errorCode === 1) {
26916 $async$currentError = $async$result;
26917 $async$goto = $async$handler;
26918 }
26919 while (true)
26920 switch ($async$goto) {
26921 case 0:
26922 // Function start
26923 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>");
26924 case 2:
26925 // for condition
26926 if (!t1.moveNext$0()) {
26927 // goto after for
26928 $async$goto = 3;
26929 break;
26930 }
26931 key = t1.get$current(t1);
26932 $async$goto = 4;
26933 return new A.MapEntry(key, $async$self.$index(0, key), t2);
26934 case 4:
26935 // after yield
26936 // goto for condition
26937 $async$goto = 2;
26938 break;
26939 case 3:
26940 // after for
26941 // implicit return
26942 return A._IterationMarker_endOfIteration();
26943 case 1:
26944 // rethrow
26945 return A._IterationMarker_uncaughtError($async$currentError);
26946 }
26947 };
26948 }, $async$type);
26949 },
26950 $isMap: 1
26951 };
26952 A.ConstantStringMap.prototype = {
26953 get$length(_) {
26954 return this.__js_helper$_length;
26955 },
26956 containsKey$1(key) {
26957 if (typeof key != "string")
26958 return false;
26959 if ("__proto__" === key)
26960 return false;
26961 return this._jsObject.hasOwnProperty(key);
26962 },
26963 $index(_, key) {
26964 if (!this.containsKey$1(key))
26965 return null;
26966 return this._jsObject[key];
26967 },
26968 forEach$1(_, f) {
26969 var t1, t2, i, key,
26970 keys = this.__js_helper$_keys;
26971 for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
26972 key = keys[i];
26973 f.call$2(key, t2[key]);
26974 }
26975 },
26976 get$keys(_) {
26977 return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
26978 },
26979 get$values(_) {
26980 var t1 = this.$ti;
26981 return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
26982 }
26983 };
26984 A.ConstantStringMap_values_closure.prototype = {
26985 call$1(key) {
26986 return this.$this._jsObject[key];
26987 },
26988 $signature() {
26989 return this.$this.$ti._eval$1("2(1)");
26990 }
26991 };
26992 A._ConstantMapKeyIterable.prototype = {
26993 get$iterator(_) {
26994 var t1 = this.__js_helper$_map.__js_helper$_keys;
26995 return new J.ArrayIterator(t1, t1.length);
26996 },
26997 get$length(_) {
26998 return this.__js_helper$_map.__js_helper$_keys.length;
26999 }
27000 };
27001 A.Instantiation.prototype = {
27002 Instantiation$1(_genericClosure) {
27003 if (false)
27004 A.instantiatedGenericFunctionType(0, 0);
27005 },
27006 $eq(_, other) {
27007 if (other == null)
27008 return false;
27009 return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
27010 },
27011 get$hashCode(_) {
27012 return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue);
27013 },
27014 toString$0(_) {
27015 var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
27016 return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
27017 }
27018 };
27019 A.Instantiation1.prototype = {
27020 get$_types() {
27021 return [A.createRuntimeType(this.$ti._precomputed1)];
27022 },
27023 call$0() {
27024 return this._genericClosure.call$1$0(this.$ti._rest[0]);
27025 },
27026 call$2(a0, a1) {
27027 return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
27028 },
27029 call$3(a0, a1, a2) {
27030 return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
27031 },
27032 call$4(a0, a1, a2, a3) {
27033 return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
27034 },
27035 $signature() {
27036 return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
27037 }
27038 };
27039 A.JSInvocationMirror.prototype = {
27040 get$memberName() {
27041 var t1 = this.__js_helper$_memberName;
27042 return t1;
27043 },
27044 get$positionalArguments() {
27045 var t1, argumentCount, list, index, _this = this;
27046 if (_this.__js_helper$_kind === 1)
27047 return B.List_empty9;
27048 t1 = _this._arguments;
27049 argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
27050 if (argumentCount === 0)
27051 return B.List_empty9;
27052 list = [];
27053 for (index = 0; index < argumentCount; ++index)
27054 list.push(t1[index]);
27055 return J.JSArray_markUnmodifiableList(list);
27056 },
27057 get$namedArguments() {
27058 var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
27059 if (_this.__js_helper$_kind !== 0)
27060 return B.Map_empty4;
27061 t1 = _this._namedArgumentNames;
27062 namedArgumentCount = t1.length;
27063 t2 = _this._arguments;
27064 namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
27065 if (namedArgumentCount === 0)
27066 return B.Map_empty4;
27067 map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
27068 for (i = 0; i < namedArgumentCount; ++i)
27069 map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
27070 return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
27071 }
27072 };
27073 A.Primitives_functionNoSuchMethod_closure.prototype = {
27074 call$2($name, argument) {
27075 var t1 = this._box_0;
27076 t1.names = t1.names + "$" + $name;
27077 this.namedArgumentList.push($name);
27078 this.$arguments.push(argument);
27079 ++t1.argumentCount;
27080 },
27081 $signature: 255
27082 };
27083 A.TypeErrorDecoder.prototype = {
27084 matchTypeError$1(message) {
27085 var result, t1, _this = this,
27086 match = new RegExp(_this._pattern).exec(message);
27087 if (match == null)
27088 return null;
27089 result = Object.create(null);
27090 t1 = _this._arguments;
27091 if (t1 !== -1)
27092 result.arguments = match[t1 + 1];
27093 t1 = _this._argumentsExpr;
27094 if (t1 !== -1)
27095 result.argumentsExpr = match[t1 + 1];
27096 t1 = _this._expr;
27097 if (t1 !== -1)
27098 result.expr = match[t1 + 1];
27099 t1 = _this._method;
27100 if (t1 !== -1)
27101 result.method = match[t1 + 1];
27102 t1 = _this._receiver;
27103 if (t1 !== -1)
27104 result.receiver = match[t1 + 1];
27105 return result;
27106 }
27107 };
27108 A.NullError.prototype = {
27109 toString$0(_) {
27110 var t1 = this._method;
27111 if (t1 == null)
27112 return "NoSuchMethodError: " + this.__js_helper$_message;
27113 return "NoSuchMethodError: method not found: '" + t1 + "' on null";
27114 }
27115 };
27116 A.JsNoSuchMethodError.prototype = {
27117 toString$0(_) {
27118 var t2, _this = this,
27119 _s38_ = "NoSuchMethodError: method not found: '",
27120 t1 = _this._method;
27121 if (t1 == null)
27122 return "NoSuchMethodError: " + _this.__js_helper$_message;
27123 t2 = _this._receiver;
27124 if (t2 == null)
27125 return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
27126 return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
27127 }
27128 };
27129 A.UnknownJsTypeError.prototype = {
27130 toString$0(_) {
27131 var t1 = this.__js_helper$_message;
27132 return t1.length === 0 ? "Error" : "Error: " + t1;
27133 }
27134 };
27135 A.NullThrownFromJavaScriptException.prototype = {
27136 toString$0(_) {
27137 return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
27138 },
27139 $isException: 1
27140 };
27141 A.ExceptionAndStackTrace.prototype = {};
27142 A._StackTrace.prototype = {
27143 toString$0(_) {
27144 var trace,
27145 t1 = this._trace;
27146 if (t1 != null)
27147 return t1;
27148 t1 = this._exception;
27149 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
27150 return this._trace = trace == null ? "" : trace;
27151 },
27152 $isStackTrace: 1
27153 };
27154 A.Closure.prototype = {
27155 toString$0(_) {
27156 var $constructor = this.constructor,
27157 $name = $constructor == null ? null : $constructor.name;
27158 return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
27159 },
27160 $isFunction: 1,
27161 get$$call() {
27162 return this;
27163 },
27164 "call*": "call$1",
27165 $requiredArgCount: 1,
27166 $defaultValues: null
27167 };
27168 A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
27169 A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
27170 A.TearOffClosure.prototype = {};
27171 A.StaticClosure.prototype = {
27172 toString$0(_) {
27173 var $name = this.$static_name;
27174 if ($name == null)
27175 return "Closure of unknown static method";
27176 return "Closure '" + A.unminifyOrTag($name) + "'";
27177 }
27178 };
27179 A.BoundClosure.prototype = {
27180 $eq(_, other) {
27181 if (other == null)
27182 return false;
27183 if (this === other)
27184 return true;
27185 if (!(other instanceof A.BoundClosure))
27186 return false;
27187 return this.$_target === other.$_target && this._receiver === other._receiver;
27188 },
27189 get$hashCode(_) {
27190 return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
27191 },
27192 toString$0(_) {
27193 return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
27194 }
27195 };
27196 A.RuntimeError.prototype = {
27197 toString$0(_) {
27198 return "RuntimeError: " + this.message;
27199 },
27200 get$message(receiver) {
27201 return this.message;
27202 }
27203 };
27204 A._Required.prototype = {};
27205 A.JsLinkedHashMap.prototype = {
27206 get$length(_) {
27207 return this.__js_helper$_length;
27208 },
27209 get$isEmpty(_) {
27210 return this.__js_helper$_length === 0;
27211 },
27212 get$isNotEmpty(_) {
27213 return this.__js_helper$_length !== 0;
27214 },
27215 get$keys(_) {
27216 return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
27217 },
27218 get$values(_) {
27219 var t1 = A._instanceType(this);
27220 return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
27221 },
27222 containsKey$1(key) {
27223 var strings, nums;
27224 if (typeof key == "string") {
27225 strings = this._strings;
27226 if (strings == null)
27227 return false;
27228 return strings[key] != null;
27229 } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
27230 nums = this._nums;
27231 if (nums == null)
27232 return false;
27233 return nums[key] != null;
27234 } else
27235 return this.internalContainsKey$1(key);
27236 },
27237 internalContainsKey$1(key) {
27238 var rest = this.__js_helper$_rest;
27239 if (rest == null)
27240 return false;
27241 return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
27242 },
27243 addAll$1(_, other) {
27244 other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
27245 },
27246 $index(_, key) {
27247 var strings, cell, t1, nums, _null = null;
27248 if (typeof key == "string") {
27249 strings = this._strings;
27250 if (strings == null)
27251 return _null;
27252 cell = strings[key];
27253 t1 = cell == null ? _null : cell.hashMapCellValue;
27254 return t1;
27255 } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
27256 nums = this._nums;
27257 if (nums == null)
27258 return _null;
27259 cell = nums[key];
27260 t1 = cell == null ? _null : cell.hashMapCellValue;
27261 return t1;
27262 } else
27263 return this.internalGet$1(key);
27264 },
27265 internalGet$1(key) {
27266 var bucket, index,
27267 rest = this.__js_helper$_rest;
27268 if (rest == null)
27269 return null;
27270 bucket = rest[this.internalComputeHashCode$1(key)];
27271 index = this.internalFindBucketIndex$2(bucket, key);
27272 if (index < 0)
27273 return null;
27274 return bucket[index].hashMapCellValue;
27275 },
27276 $indexSet(_, key, value) {
27277 var strings, nums, _this = this;
27278 if (typeof key == "string") {
27279 strings = _this._strings;
27280 _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
27281 } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
27282 nums = _this._nums;
27283 _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
27284 } else
27285 _this.internalSet$2(key, value);
27286 },
27287 internalSet$2(key, value) {
27288 var hash, bucket, index, _this = this,
27289 rest = _this.__js_helper$_rest;
27290 if (rest == null)
27291 rest = _this.__js_helper$_rest = _this._newHashTable$0();
27292 hash = _this.internalComputeHashCode$1(key);
27293 bucket = rest[hash];
27294 if (bucket == null)
27295 rest[hash] = [_this._newLinkedCell$2(key, value)];
27296 else {
27297 index = _this.internalFindBucketIndex$2(bucket, key);
27298 if (index >= 0)
27299 bucket[index].hashMapCellValue = value;
27300 else
27301 bucket.push(_this._newLinkedCell$2(key, value));
27302 }
27303 },
27304 putIfAbsent$2(key, ifAbsent) {
27305 var t1, value, _this = this;
27306 if (_this.containsKey$1(key)) {
27307 t1 = _this.$index(0, key);
27308 return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
27309 }
27310 value = ifAbsent.call$0();
27311 _this.$indexSet(0, key, value);
27312 return value;
27313 },
27314 remove$1(_, key) {
27315 var _this = this;
27316 if (typeof key == "string")
27317 return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
27318 else if (typeof key == "number" && (key & 0x3fffffff) === key)
27319 return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
27320 else
27321 return _this.internalRemove$1(key);
27322 },
27323 internalRemove$1(key) {
27324 var hash, bucket, index, cell, _this = this,
27325 rest = _this.__js_helper$_rest;
27326 if (rest == null)
27327 return null;
27328 hash = _this.internalComputeHashCode$1(key);
27329 bucket = rest[hash];
27330 index = _this.internalFindBucketIndex$2(bucket, key);
27331 if (index < 0)
27332 return null;
27333 cell = bucket.splice(index, 1)[0];
27334 _this.__js_helper$_unlinkCell$1(cell);
27335 if (bucket.length === 0)
27336 delete rest[hash];
27337 return cell.hashMapCellValue;
27338 },
27339 clear$0(_) {
27340 var _this = this;
27341 if (_this.__js_helper$_length > 0) {
27342 _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
27343 _this.__js_helper$_length = 0;
27344 _this._modified$0();
27345 }
27346 },
27347 forEach$1(_, action) {
27348 var _this = this,
27349 cell = _this._first,
27350 modifications = _this._modifications;
27351 for (; cell != null;) {
27352 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
27353 if (modifications !== _this._modifications)
27354 throw A.wrapException(A.ConcurrentModificationError$(_this));
27355 cell = cell._next;
27356 }
27357 },
27358 _addHashTableEntry$3(table, key, value) {
27359 var cell = table[key];
27360 if (cell == null)
27361 table[key] = this._newLinkedCell$2(key, value);
27362 else
27363 cell.hashMapCellValue = value;
27364 },
27365 __js_helper$_removeHashTableEntry$2(table, key) {
27366 var cell;
27367 if (table == null)
27368 return null;
27369 cell = table[key];
27370 if (cell == null)
27371 return null;
27372 this.__js_helper$_unlinkCell$1(cell);
27373 delete table[key];
27374 return cell.hashMapCellValue;
27375 },
27376 _modified$0() {
27377 this._modifications = this._modifications + 1 & 1073741823;
27378 },
27379 _newLinkedCell$2(key, value) {
27380 var t1, _this = this,
27381 cell = new A.LinkedHashMapCell(key, value);
27382 if (_this._first == null)
27383 _this._first = _this._last = cell;
27384 else {
27385 t1 = _this._last;
27386 t1.toString;
27387 cell._previous = t1;
27388 _this._last = t1._next = cell;
27389 }
27390 ++_this.__js_helper$_length;
27391 _this._modified$0();
27392 return cell;
27393 },
27394 __js_helper$_unlinkCell$1(cell) {
27395 var _this = this,
27396 previous = cell._previous,
27397 next = cell._next;
27398 if (previous == null)
27399 _this._first = next;
27400 else
27401 previous._next = next;
27402 if (next == null)
27403 _this._last = previous;
27404 else
27405 next._previous = previous;
27406 --_this.__js_helper$_length;
27407 _this._modified$0();
27408 },
27409 internalComputeHashCode$1(key) {
27410 return J.get$hashCode$(key) & 0x3fffffff;
27411 },
27412 internalFindBucketIndex$2(bucket, key) {
27413 var $length, i;
27414 if (bucket == null)
27415 return -1;
27416 $length = bucket.length;
27417 for (i = 0; i < $length; ++i)
27418 if (J.$eq$(bucket[i].hashMapCellKey, key))
27419 return i;
27420 return -1;
27421 },
27422 toString$0(_) {
27423 return A.MapBase_mapToString(this);
27424 },
27425 _newHashTable$0() {
27426 var table = Object.create(null);
27427 table["<non-identifier-key>"] = table;
27428 delete table["<non-identifier-key>"];
27429 return table;
27430 }
27431 };
27432 A.JsLinkedHashMap_values_closure.prototype = {
27433 call$1(each) {
27434 var t1 = this.$this,
27435 t2 = t1.$index(0, each);
27436 return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
27437 },
27438 $signature() {
27439 return A._instanceType(this.$this)._eval$1("2(1)");
27440 }
27441 };
27442 A.JsLinkedHashMap_addAll_closure.prototype = {
27443 call$2(key, value) {
27444 this.$this.$indexSet(0, key, value);
27445 },
27446 $signature() {
27447 return A._instanceType(this.$this)._eval$1("~(1,2)");
27448 }
27449 };
27450 A.LinkedHashMapCell.prototype = {};
27451 A.LinkedHashMapKeyIterable.prototype = {
27452 get$length(_) {
27453 return this.__js_helper$_map.__js_helper$_length;
27454 },
27455 get$isEmpty(_) {
27456 return this.__js_helper$_map.__js_helper$_length === 0;
27457 },
27458 get$iterator(_) {
27459 var t1 = this.__js_helper$_map,
27460 t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
27461 t2._cell = t1._first;
27462 return t2;
27463 },
27464 contains$1(_, element) {
27465 return this.__js_helper$_map.containsKey$1(element);
27466 }
27467 };
27468 A.LinkedHashMapKeyIterator.prototype = {
27469 get$current(_) {
27470 return this.__js_helper$_current;
27471 },
27472 moveNext$0() {
27473 var cell, _this = this,
27474 t1 = _this.__js_helper$_map;
27475 if (_this._modifications !== t1._modifications)
27476 throw A.wrapException(A.ConcurrentModificationError$(t1));
27477 cell = _this._cell;
27478 if (cell == null) {
27479 _this.__js_helper$_current = null;
27480 return false;
27481 } else {
27482 _this.__js_helper$_current = cell.hashMapCellKey;
27483 _this._cell = cell._next;
27484 return true;
27485 }
27486 }
27487 };
27488 A.initHooks_closure.prototype = {
27489 call$1(o) {
27490 return this.getTag(o);
27491 },
27492 $signature: 82
27493 };
27494 A.initHooks_closure0.prototype = {
27495 call$2(o, tag) {
27496 return this.getUnknownTag(o, tag);
27497 },
27498 $signature: 538
27499 };
27500 A.initHooks_closure1.prototype = {
27501 call$1(tag) {
27502 return this.prototypeForTag(tag);
27503 },
27504 $signature: 342
27505 };
27506 A.JSSyntaxRegExp.prototype = {
27507 toString$0(_) {
27508 return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
27509 },
27510 get$_nativeGlobalVersion() {
27511 var _this = this,
27512 t1 = _this._nativeGlobalRegExp;
27513 if (t1 != null)
27514 return t1;
27515 t1 = _this._nativeRegExp;
27516 return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27517 },
27518 get$_nativeAnchoredVersion() {
27519 var _this = this,
27520 t1 = _this._nativeAnchoredRegExp;
27521 if (t1 != null)
27522 return t1;
27523 t1 = _this._nativeRegExp;
27524 return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27525 },
27526 firstMatch$1(string) {
27527 var m = this._nativeRegExp.exec(string);
27528 if (m == null)
27529 return null;
27530 return new A._MatchImplementation(m);
27531 },
27532 allMatches$2(_, string, start) {
27533 var t1 = string.length;
27534 if (start > t1)
27535 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
27536 return new A._AllMatchesIterable(this, string, start);
27537 },
27538 allMatches$1($receiver, string) {
27539 return this.allMatches$2($receiver, string, 0);
27540 },
27541 _execGlobal$2(string, start) {
27542 var match,
27543 regexp = this.get$_nativeGlobalVersion();
27544 regexp.lastIndex = start;
27545 match = regexp.exec(string);
27546 if (match == null)
27547 return null;
27548 return new A._MatchImplementation(match);
27549 },
27550 _execAnchored$2(string, start) {
27551 var match,
27552 regexp = this.get$_nativeAnchoredVersion();
27553 regexp.lastIndex = start;
27554 match = regexp.exec(string);
27555 if (match == null)
27556 return null;
27557 if (match.pop() != null)
27558 return null;
27559 return new A._MatchImplementation(match);
27560 },
27561 matchAsPrefix$2(_, string, start) {
27562 if (start < 0 || start > string.length)
27563 throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
27564 return this._execAnchored$2(string, start);
27565 }
27566 };
27567 A._MatchImplementation.prototype = {
27568 get$start(_) {
27569 return this._match.index;
27570 },
27571 get$end(_) {
27572 var t1 = this._match;
27573 return t1.index + t1[0].length;
27574 },
27575 $isMatch: 1,
27576 $isRegExpMatch: 1
27577 };
27578 A._AllMatchesIterable.prototype = {
27579 get$iterator(_) {
27580 return new A._AllMatchesIterator(this._re, this._string, this._start);
27581 }
27582 };
27583 A._AllMatchesIterator.prototype = {
27584 get$current(_) {
27585 var t1 = this.__js_helper$_current;
27586 return t1 == null ? type$.RegExpMatch._as(t1) : t1;
27587 },
27588 moveNext$0() {
27589 var t1, t2, t3, match, nextIndex, _this = this,
27590 string = _this._string;
27591 if (string == null)
27592 return false;
27593 t1 = _this._nextIndex;
27594 t2 = string.length;
27595 if (t1 <= t2) {
27596 t3 = _this._regExp;
27597 match = t3._execGlobal$2(string, t1);
27598 if (match != null) {
27599 _this.__js_helper$_current = match;
27600 nextIndex = match.get$end(match);
27601 if (match._match.index === nextIndex) {
27602 if (t3._nativeRegExp.unicode) {
27603 t1 = _this._nextIndex;
27604 t3 = t1 + 1;
27605 if (t3 < t2) {
27606 t1 = B.JSString_methods.codeUnitAt$1(string, t1);
27607 if (t1 >= 55296 && t1 <= 56319) {
27608 t1 = B.JSString_methods.codeUnitAt$1(string, t3);
27609 t1 = t1 >= 56320 && t1 <= 57343;
27610 } else
27611 t1 = false;
27612 } else
27613 t1 = false;
27614 } else
27615 t1 = false;
27616 nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
27617 }
27618 _this._nextIndex = nextIndex;
27619 return true;
27620 }
27621 }
27622 _this._string = _this.__js_helper$_current = null;
27623 return false;
27624 }
27625 };
27626 A.StringMatch.prototype = {
27627 get$end(_) {
27628 return this.start + this.pattern.length;
27629 },
27630 $isMatch: 1,
27631 get$start(receiver) {
27632 return this.start;
27633 }
27634 };
27635 A._StringAllMatchesIterable.prototype = {
27636 get$iterator(_) {
27637 return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
27638 },
27639 get$first(_) {
27640 var t1 = this._pattern,
27641 index = this._input.indexOf(t1, this.__js_helper$_index);
27642 if (index >= 0)
27643 return new A.StringMatch(index, t1);
27644 throw A.wrapException(A.IterableElementError_noElement());
27645 }
27646 };
27647 A._StringAllMatchesIterator.prototype = {
27648 moveNext$0() {
27649 var index, end, _this = this,
27650 t1 = _this.__js_helper$_index,
27651 t2 = _this._pattern,
27652 t3 = t2.length,
27653 t4 = _this._input,
27654 t5 = t4.length;
27655 if (t1 + t3 > t5) {
27656 _this.__js_helper$_current = null;
27657 return false;
27658 }
27659 index = t4.indexOf(t2, t1);
27660 if (index < 0) {
27661 _this.__js_helper$_index = t5 + 1;
27662 _this.__js_helper$_current = null;
27663 return false;
27664 }
27665 end = index + t3;
27666 _this.__js_helper$_current = new A.StringMatch(index, t2);
27667 _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
27668 return true;
27669 },
27670 get$current(_) {
27671 var t1 = this.__js_helper$_current;
27672 t1.toString;
27673 return t1;
27674 }
27675 };
27676 A._Cell.prototype = {
27677 _readLocal$0() {
27678 var t1 = this._value;
27679 if (t1 === this)
27680 throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
27681 return t1;
27682 }
27683 };
27684 A.NativeTypedData.prototype = {
27685 _invalidPosition$3(receiver, position, $length, $name) {
27686 var t1 = A.RangeError$range(position, 0, $length, $name, null);
27687 throw A.wrapException(t1);
27688 },
27689 _checkPosition$3(receiver, position, $length, $name) {
27690 if (position >>> 0 !== position || position > $length)
27691 this._invalidPosition$3(receiver, position, $length, $name);
27692 }
27693 };
27694 A.NativeTypedArray.prototype = {
27695 get$length(receiver) {
27696 return receiver.length;
27697 },
27698 _setRangeFast$4(receiver, start, end, source, skipCount) {
27699 var count, sourceLength,
27700 targetLength = receiver.length;
27701 this._checkPosition$3(receiver, start, targetLength, "start");
27702 this._checkPosition$3(receiver, end, targetLength, "end");
27703 if (start > end)
27704 throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
27705 count = end - start;
27706 if (skipCount < 0)
27707 throw A.wrapException(A.ArgumentError$(skipCount, null));
27708 sourceLength = source.length;
27709 if (sourceLength - skipCount < count)
27710 throw A.wrapException(A.StateError$("Not enough elements"));
27711 if (skipCount !== 0 || sourceLength !== count)
27712 source = source.subarray(skipCount, skipCount + count);
27713 receiver.set(source, start);
27714 },
27715 $isJavaScriptIndexingBehavior: 1
27716 };
27717 A.NativeTypedArrayOfDouble.prototype = {
27718 $index(receiver, index) {
27719 A._checkValidIndex(index, receiver, receiver.length);
27720 return receiver[index];
27721 },
27722 $indexSet(receiver, index, value) {
27723 A._checkValidIndex(index, receiver, receiver.length);
27724 receiver[index] = value;
27725 },
27726 setRange$4(receiver, start, end, iterable, skipCount) {
27727 if (type$.NativeTypedArrayOfDouble._is(iterable)) {
27728 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27729 return;
27730 }
27731 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27732 },
27733 $isEfficientLengthIterable: 1,
27734 $isIterable: 1,
27735 $isList: 1
27736 };
27737 A.NativeTypedArrayOfInt.prototype = {
27738 $indexSet(receiver, index, value) {
27739 A._checkValidIndex(index, receiver, receiver.length);
27740 receiver[index] = value;
27741 },
27742 setRange$4(receiver, start, end, iterable, skipCount) {
27743 if (type$.NativeTypedArrayOfInt._is(iterable)) {
27744 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27745 return;
27746 }
27747 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27748 },
27749 $isEfficientLengthIterable: 1,
27750 $isIterable: 1,
27751 $isList: 1
27752 };
27753 A.NativeFloat32List.prototype = {
27754 sublist$2(receiver, start, end) {
27755 return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27756 }
27757 };
27758 A.NativeFloat64List.prototype = {
27759 sublist$2(receiver, start, end) {
27760 return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27761 }
27762 };
27763 A.NativeInt16List.prototype = {
27764 $index(receiver, index) {
27765 A._checkValidIndex(index, receiver, receiver.length);
27766 return receiver[index];
27767 },
27768 sublist$2(receiver, start, end) {
27769 return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27770 }
27771 };
27772 A.NativeInt32List.prototype = {
27773 $index(receiver, index) {
27774 A._checkValidIndex(index, receiver, receiver.length);
27775 return receiver[index];
27776 },
27777 sublist$2(receiver, start, end) {
27778 return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27779 }
27780 };
27781 A.NativeInt8List.prototype = {
27782 $index(receiver, index) {
27783 A._checkValidIndex(index, receiver, receiver.length);
27784 return receiver[index];
27785 },
27786 sublist$2(receiver, start, end) {
27787 return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27788 }
27789 };
27790 A.NativeUint16List.prototype = {
27791 $index(receiver, index) {
27792 A._checkValidIndex(index, receiver, receiver.length);
27793 return receiver[index];
27794 },
27795 sublist$2(receiver, start, end) {
27796 return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27797 }
27798 };
27799 A.NativeUint32List.prototype = {
27800 $index(receiver, index) {
27801 A._checkValidIndex(index, receiver, receiver.length);
27802 return receiver[index];
27803 },
27804 sublist$2(receiver, start, end) {
27805 return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27806 }
27807 };
27808 A.NativeUint8ClampedList.prototype = {
27809 get$length(receiver) {
27810 return receiver.length;
27811 },
27812 $index(receiver, index) {
27813 A._checkValidIndex(index, receiver, receiver.length);
27814 return receiver[index];
27815 },
27816 sublist$2(receiver, start, end) {
27817 return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27818 }
27819 };
27820 A.NativeUint8List.prototype = {
27821 get$length(receiver) {
27822 return receiver.length;
27823 },
27824 $index(receiver, index) {
27825 A._checkValidIndex(index, receiver, receiver.length);
27826 return receiver[index];
27827 },
27828 sublist$2(receiver, start, end) {
27829 return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27830 },
27831 $isNativeUint8List: 1,
27832 $isUint8List: 1
27833 };
27834 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
27835 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27836 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
27837 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27838 A.Rti.prototype = {
27839 _eval$1(recipe) {
27840 return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
27841 },
27842 _bind$1(typeOrTuple) {
27843 return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
27844 }
27845 };
27846 A._FunctionParameters.prototype = {};
27847 A._Type.prototype = {
27848 toString$0(_) {
27849 return A._rtiToString(this._rti, null);
27850 }
27851 };
27852 A._Error.prototype = {
27853 toString$0(_) {
27854 return this.__rti$_message;
27855 }
27856 };
27857 A._TypeError.prototype = {
27858 get$message(_) {
27859 return this.__rti$_message;
27860 },
27861 $isTypeError: 1
27862 };
27863 A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
27864 call$1(_) {
27865 var t1 = this._box_0,
27866 f = t1.storedCallback;
27867 t1.storedCallback = null;
27868 f.call$0();
27869 },
27870 $signature: 67
27871 };
27872 A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
27873 call$1(callback) {
27874 var t1, t2;
27875 this._box_0.storedCallback = callback;
27876 t1 = this.div;
27877 t2 = this.span;
27878 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
27879 },
27880 $signature: 28
27881 };
27882 A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
27883 call$0() {
27884 this.callback.call$0();
27885 },
27886 $signature: 1
27887 };
27888 A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
27889 call$0() {
27890 this.callback.call$0();
27891 },
27892 $signature: 1
27893 };
27894 A._TimerImpl.prototype = {
27895 _TimerImpl$2(milliseconds, callback) {
27896 if (self.setTimeout != null)
27897 this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
27898 else
27899 throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
27900 },
27901 _TimerImpl$periodic$2(milliseconds, callback) {
27902 if (self.setTimeout != null)
27903 this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
27904 else
27905 throw A.wrapException(A.UnsupportedError$("Periodic timer."));
27906 },
27907 cancel$0() {
27908 if (self.setTimeout != null) {
27909 var t1 = this._handle;
27910 if (t1 == null)
27911 return;
27912 if (this._once)
27913 self.clearTimeout(t1);
27914 else
27915 self.clearInterval(t1);
27916 this._handle = null;
27917 } else
27918 throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
27919 }
27920 };
27921 A._TimerImpl_internalCallback.prototype = {
27922 call$0() {
27923 var t1 = this.$this;
27924 t1._handle = null;
27925 t1._tick = 1;
27926 this.callback.call$0();
27927 },
27928 $signature: 0
27929 };
27930 A._TimerImpl$periodic_closure.prototype = {
27931 call$0() {
27932 var duration, _this = this,
27933 t1 = _this.$this,
27934 tick = t1._tick + 1,
27935 t2 = _this.milliseconds;
27936 if (t2 > 0) {
27937 duration = Date.now() - _this.start;
27938 if (duration > (tick + 1) * t2)
27939 tick = B.JSInt_methods.$tdiv(duration, t2);
27940 }
27941 t1._tick = tick;
27942 _this.callback.call$1(t1);
27943 },
27944 $signature: 1
27945 };
27946 A._AsyncAwaitCompleter.prototype = {
27947 complete$1(value) {
27948 var t1, _this = this;
27949 if (value == null)
27950 _this.$ti._precomputed1._as(value);
27951 if (!_this.isSync)
27952 _this._future._asyncComplete$1(value);
27953 else {
27954 t1 = _this._future;
27955 if (_this.$ti._eval$1("Future<1>")._is(value))
27956 t1._chainFuture$1(value);
27957 else
27958 t1._completeWithValue$1(value);
27959 }
27960 },
27961 completeError$2(e, st) {
27962 var t1 = this._future;
27963 if (this.isSync)
27964 t1._completeError$2(e, st);
27965 else
27966 t1._asyncCompleteError$2(e, st);
27967 }
27968 };
27969 A._awaitOnObject_closure.prototype = {
27970 call$1(result) {
27971 return this.bodyFunction.call$2(0, result);
27972 },
27973 $signature: 114
27974 };
27975 A._awaitOnObject_closure0.prototype = {
27976 call$2(error, stackTrace) {
27977 this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
27978 },
27979 $signature: 566
27980 };
27981 A._wrapJsFunctionForAsync_closure.prototype = {
27982 call$2(errorCode, result) {
27983 this.$protected(errorCode, result);
27984 },
27985 $signature: 312
27986 };
27987 A._IterationMarker.prototype = {
27988 toString$0(_) {
27989 return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
27990 }
27991 };
27992 A._SyncStarIterator.prototype = {
27993 get$current(_) {
27994 var nested = this._nestedIterator;
27995 if (nested == null)
27996 return this._async$_current;
27997 return nested.get$current(nested);
27998 },
27999 moveNext$0() {
28000 var t1, value, state, suspendedBodies, inner, _this = this;
28001 for (; true;) {
28002 t1 = _this._nestedIterator;
28003 if (t1 != null)
28004 if (t1.moveNext$0())
28005 return true;
28006 else
28007 _this._nestedIterator = null;
28008 value = function(body, SUCCESS, ERROR) {
28009 var errorValue,
28010 errorCode = SUCCESS;
28011 while (true)
28012 try {
28013 return body(errorCode, errorValue);
28014 } catch (error) {
28015 errorValue = error;
28016 errorCode = ERROR;
28017 }
28018 }(_this._body, 0, 1);
28019 if (value instanceof A._IterationMarker) {
28020 state = value.state;
28021 if (state === 2) {
28022 suspendedBodies = _this._suspendedBodies;
28023 if (suspendedBodies == null || suspendedBodies.length === 0) {
28024 _this._async$_current = null;
28025 return false;
28026 }
28027 _this._body = suspendedBodies.pop();
28028 continue;
28029 } else {
28030 t1 = value.value;
28031 if (state === 3)
28032 throw t1;
28033 else {
28034 inner = J.get$iterator$ax(t1);
28035 if (inner instanceof A._SyncStarIterator) {
28036 t1 = _this._suspendedBodies;
28037 if (t1 == null)
28038 t1 = _this._suspendedBodies = [];
28039 t1.push(_this._body);
28040 _this._body = inner._body;
28041 continue;
28042 } else {
28043 _this._nestedIterator = inner;
28044 continue;
28045 }
28046 }
28047 }
28048 } else {
28049 _this._async$_current = value;
28050 return true;
28051 }
28052 }
28053 return false;
28054 }
28055 };
28056 A._SyncStarIterable.prototype = {
28057 get$iterator(_) {
28058 return new A._SyncStarIterator(this._outerHelper());
28059 }
28060 };
28061 A.AsyncError.prototype = {
28062 toString$0(_) {
28063 return A.S(this.error);
28064 },
28065 $isError: 1,
28066 get$stackTrace() {
28067 return this.stackTrace;
28068 }
28069 };
28070 A.Future_wait_handleError.prototype = {
28071 call$2(theError, theStackTrace) {
28072 var _this = this,
28073 t1 = _this._box_0,
28074 t2 = --t1.remaining;
28075 if (t1.values != null) {
28076 t1.values = null;
28077 if (t1.remaining === 0 || _this.eagerError)
28078 _this._future._completeError$2(theError, theStackTrace);
28079 else {
28080 _this.error._value = theError;
28081 _this.stackTrace._value = theStackTrace;
28082 }
28083 } else if (t2 === 0 && !_this.eagerError)
28084 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28085 },
28086 $signature: 61
28087 };
28088 A.Future_wait_closure.prototype = {
28089 call$1(value) {
28090 var valueList, _this = this,
28091 t1 = _this._box_0;
28092 --t1.remaining;
28093 valueList = t1.values;
28094 if (valueList != null) {
28095 J.$indexSet$ax(valueList, _this.pos, value);
28096 if (t1.remaining === 0)
28097 _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
28098 } else if (t1.remaining === 0 && !_this.eagerError)
28099 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28100 },
28101 $signature() {
28102 return this.T._eval$1("Null(0)");
28103 }
28104 };
28105 A._Completer.prototype = {
28106 completeError$2(error, stackTrace) {
28107 var replacement;
28108 A.checkNotNullable(error, "error", type$.Object);
28109 if ((this.future._state & 30) !== 0)
28110 throw A.wrapException(A.StateError$("Future already completed"));
28111 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28112 if (replacement != null) {
28113 error = replacement.error;
28114 stackTrace = replacement.stackTrace;
28115 } else if (stackTrace == null)
28116 stackTrace = A.AsyncError_defaultStackTrace(error);
28117 this._completeError$2(error, stackTrace);
28118 },
28119 completeError$1(error) {
28120 return this.completeError$2(error, null);
28121 }
28122 };
28123 A._AsyncCompleter.prototype = {
28124 complete$1(value) {
28125 var t1 = this.future;
28126 if ((t1._state & 30) !== 0)
28127 throw A.wrapException(A.StateError$("Future already completed"));
28128 t1._asyncComplete$1(value);
28129 },
28130 complete$0() {
28131 return this.complete$1(null);
28132 },
28133 _completeError$2(error, stackTrace) {
28134 this.future._asyncCompleteError$2(error, stackTrace);
28135 }
28136 };
28137 A._SyncCompleter.prototype = {
28138 complete$1(value) {
28139 var t1 = this.future;
28140 if ((t1._state & 30) !== 0)
28141 throw A.wrapException(A.StateError$("Future already completed"));
28142 t1._complete$1(value);
28143 },
28144 _completeError$2(error, stackTrace) {
28145 this.future._completeError$2(error, stackTrace);
28146 }
28147 };
28148 A._FutureListener.prototype = {
28149 matchesErrorTest$1(asyncError) {
28150 if ((this.state & 15) !== 6)
28151 return true;
28152 return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
28153 },
28154 handleError$1(asyncError) {
28155 var exception,
28156 errorCallback = this.errorCallback,
28157 result = null,
28158 t1 = type$.dynamic,
28159 t2 = type$.Object,
28160 t3 = asyncError.error,
28161 t4 = this.result._zone;
28162 if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
28163 result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
28164 else
28165 result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
28166 try {
28167 t1 = result;
28168 return t1;
28169 } catch (exception) {
28170 if (type$.TypeError._is(A.unwrapException(exception))) {
28171 if ((this.state & 1) !== 0)
28172 throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
28173 throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
28174 } else
28175 throw exception;
28176 }
28177 }
28178 };
28179 A._Future.prototype = {
28180 then$1$2$onError(_, f, onError, $R) {
28181 var result, t1,
28182 currentZone = $.Zone__current;
28183 if (currentZone === B.C__RootZone) {
28184 if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
28185 throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
28186 } else {
28187 f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
28188 if (onError != null)
28189 onError = A._registerErrorHandler(onError, currentZone);
28190 }
28191 result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
28192 t1 = onError == null ? 1 : 3;
28193 this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
28194 return result;
28195 },
28196 then$1$1($receiver, f, $R) {
28197 return this.then$1$2$onError($receiver, f, null, $R);
28198 },
28199 _thenAwait$1$2(f, onError, $E) {
28200 var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
28201 this._addListener$1(new A._FutureListener(result, 3, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
28202 return result;
28203 },
28204 whenComplete$1(action) {
28205 var t1 = this.$ti,
28206 t2 = $.Zone__current,
28207 result = new A._Future(t2, t1);
28208 if (t2 !== B.C__RootZone)
28209 action = t2.registerCallback$1$1(action, type$.dynamic);
28210 this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
28211 return result;
28212 },
28213 _setErrorObject$1(error) {
28214 this._state = this._state & 1 | 16;
28215 this._resultOrListeners = error;
28216 },
28217 _cloneResult$1(source) {
28218 this._state = source._state & 30 | this._state & 1;
28219 this._resultOrListeners = source._resultOrListeners;
28220 },
28221 _addListener$1(listener) {
28222 var _this = this,
28223 t1 = _this._state;
28224 if (t1 <= 3) {
28225 listener._nextListener = _this._resultOrListeners;
28226 _this._resultOrListeners = listener;
28227 } else {
28228 if ((t1 & 4) !== 0) {
28229 t1 = _this._resultOrListeners;
28230 if ((t1._state & 24) === 0) {
28231 t1._addListener$1(listener);
28232 return;
28233 }
28234 _this._cloneResult$1(t1);
28235 }
28236 _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
28237 }
28238 },
28239 _prependListeners$1(listeners) {
28240 var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
28241 _box_0.listeners = listeners;
28242 if (listeners == null)
28243 return;
28244 t1 = _this._state;
28245 if (t1 <= 3) {
28246 existingListeners = _this._resultOrListeners;
28247 _this._resultOrListeners = listeners;
28248 if (existingListeners != null) {
28249 next = listeners._nextListener;
28250 for (cursor = listeners; next != null; cursor = next, next = next0)
28251 next0 = next._nextListener;
28252 cursor._nextListener = existingListeners;
28253 }
28254 } else {
28255 if ((t1 & 4) !== 0) {
28256 t1 = _this._resultOrListeners;
28257 if ((t1._state & 24) === 0) {
28258 t1._prependListeners$1(listeners);
28259 return;
28260 }
28261 _this._cloneResult$1(t1);
28262 }
28263 _box_0.listeners = _this._reverseListeners$1(listeners);
28264 _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
28265 }
28266 },
28267 _removeListeners$0() {
28268 var current = this._resultOrListeners;
28269 this._resultOrListeners = null;
28270 return this._reverseListeners$1(current);
28271 },
28272 _reverseListeners$1(listeners) {
28273 var current, prev, next;
28274 for (current = listeners, prev = null; current != null; prev = current, current = next) {
28275 next = current._nextListener;
28276 current._nextListener = prev;
28277 }
28278 return prev;
28279 },
28280 _chainForeignFuture$1(source) {
28281 var e, s, exception, _this = this;
28282 _this._state ^= 2;
28283 try {
28284 source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
28285 } catch (exception) {
28286 e = A.unwrapException(exception);
28287 s = A.getTraceFromException(exception);
28288 A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
28289 }
28290 },
28291 _complete$1(value) {
28292 var listeners, _this = this,
28293 t1 = _this.$ti;
28294 if (t1._eval$1("Future<1>")._is(value))
28295 if (t1._is(value))
28296 A._Future__chainCoreFuture(value, _this);
28297 else
28298 _this._chainForeignFuture$1(value);
28299 else {
28300 listeners = _this._removeListeners$0();
28301 _this._state = 8;
28302 _this._resultOrListeners = value;
28303 A._Future__propagateToListeners(_this, listeners);
28304 }
28305 },
28306 _completeWithValue$1(value) {
28307 var _this = this,
28308 listeners = _this._removeListeners$0();
28309 _this._state = 8;
28310 _this._resultOrListeners = value;
28311 A._Future__propagateToListeners(_this, listeners);
28312 },
28313 _completeError$2(error, stackTrace) {
28314 var listeners = this._removeListeners$0();
28315 this._setErrorObject$1(A.AsyncError$(error, stackTrace));
28316 A._Future__propagateToListeners(this, listeners);
28317 },
28318 _asyncComplete$1(value) {
28319 if (this.$ti._eval$1("Future<1>")._is(value)) {
28320 this._chainFuture$1(value);
28321 return;
28322 }
28323 this._asyncCompleteWithValue$1(value);
28324 },
28325 _asyncCompleteWithValue$1(value) {
28326 this._state ^= 2;
28327 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
28328 },
28329 _chainFuture$1(value) {
28330 var _this = this;
28331 if (_this.$ti._is(value)) {
28332 if ((value._state & 16) !== 0) {
28333 _this._state ^= 2;
28334 _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
28335 } else
28336 A._Future__chainCoreFuture(value, _this);
28337 return;
28338 }
28339 _this._chainForeignFuture$1(value);
28340 },
28341 _asyncCompleteError$2(error, stackTrace) {
28342 this._state ^= 2;
28343 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
28344 },
28345 $isFuture: 1
28346 };
28347 A._Future__addListener_closure.prototype = {
28348 call$0() {
28349 A._Future__propagateToListeners(this.$this, this.listener);
28350 },
28351 $signature: 0
28352 };
28353 A._Future__prependListeners_closure.prototype = {
28354 call$0() {
28355 A._Future__propagateToListeners(this.$this, this._box_0.listeners);
28356 },
28357 $signature: 0
28358 };
28359 A._Future__chainForeignFuture_closure.prototype = {
28360 call$1(value) {
28361 var error, stackTrace, exception,
28362 t1 = this.$this;
28363 t1._state ^= 2;
28364 try {
28365 t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
28366 } catch (exception) {
28367 error = A.unwrapException(exception);
28368 stackTrace = A.getTraceFromException(exception);
28369 t1._completeError$2(error, stackTrace);
28370 }
28371 },
28372 $signature: 67
28373 };
28374 A._Future__chainForeignFuture_closure0.prototype = {
28375 call$2(error, stackTrace) {
28376 this.$this._completeError$2(error, stackTrace);
28377 },
28378 $signature: 63
28379 };
28380 A._Future__chainForeignFuture_closure1.prototype = {
28381 call$0() {
28382 this.$this._completeError$2(this.e, this.s);
28383 },
28384 $signature: 0
28385 };
28386 A._Future__asyncCompleteWithValue_closure.prototype = {
28387 call$0() {
28388 this.$this._completeWithValue$1(this.value);
28389 },
28390 $signature: 0
28391 };
28392 A._Future__chainFuture_closure.prototype = {
28393 call$0() {
28394 A._Future__chainCoreFuture(this.value, this.$this);
28395 },
28396 $signature: 0
28397 };
28398 A._Future__asyncCompleteError_closure.prototype = {
28399 call$0() {
28400 this.$this._completeError$2(this.error, this.stackTrace);
28401 },
28402 $signature: 0
28403 };
28404 A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
28405 call$0() {
28406 var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
28407 try {
28408 t1 = _this._box_0.listener;
28409 completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
28410 } catch (exception) {
28411 e = A.unwrapException(exception);
28412 s = A.getTraceFromException(exception);
28413 t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
28414 t2 = _this._box_0;
28415 if (t1)
28416 t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
28417 else
28418 t2.listenerValueOrError = A.AsyncError$(e, s);
28419 t2.listenerHasError = true;
28420 return;
28421 }
28422 if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
28423 if ((completeResult._state & 16) !== 0) {
28424 t1 = _this._box_0;
28425 t1.listenerValueOrError = completeResult._resultOrListeners;
28426 t1.listenerHasError = true;
28427 }
28428 return;
28429 }
28430 if (type$.Future_dynamic._is(completeResult)) {
28431 originalSource = _this._box_1.source;
28432 t1 = _this._box_0;
28433 t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
28434 t1.listenerHasError = false;
28435 }
28436 },
28437 $signature: 0
28438 };
28439 A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
28440 call$1(_) {
28441 return this.originalSource;
28442 },
28443 $signature: 581
28444 };
28445 A._Future__propagateToListeners_handleValueCallback.prototype = {
28446 call$0() {
28447 var e, s, t1, t2, t3, exception;
28448 try {
28449 t1 = this._box_0;
28450 t2 = t1.listener;
28451 t3 = t2.$ti;
28452 t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
28453 } catch (exception) {
28454 e = A.unwrapException(exception);
28455 s = A.getTraceFromException(exception);
28456 t1 = this._box_0;
28457 t1.listenerValueOrError = A.AsyncError$(e, s);
28458 t1.listenerHasError = true;
28459 }
28460 },
28461 $signature: 0
28462 };
28463 A._Future__propagateToListeners_handleError.prototype = {
28464 call$0() {
28465 var asyncError, e, s, t1, exception, t2, _this = this;
28466 try {
28467 asyncError = _this._box_1.source._resultOrListeners;
28468 t1 = _this._box_0;
28469 if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
28470 t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
28471 t1.listenerHasError = false;
28472 }
28473 } catch (exception) {
28474 e = A.unwrapException(exception);
28475 s = A.getTraceFromException(exception);
28476 t1 = _this._box_1.source._resultOrListeners;
28477 t2 = _this._box_0;
28478 if (t1.error === e)
28479 t2.listenerValueOrError = t1;
28480 else
28481 t2.listenerValueOrError = A.AsyncError$(e, s);
28482 t2.listenerHasError = true;
28483 }
28484 },
28485 $signature: 0
28486 };
28487 A._AsyncCallbackEntry.prototype = {};
28488 A.Stream.prototype = {
28489 get$isBroadcast() {
28490 return false;
28491 },
28492 get$length(_) {
28493 var t1 = {},
28494 future = new A._Future($.Zone__current, type$._Future_int);
28495 t1.count = 0;
28496 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());
28497 return future;
28498 }
28499 };
28500 A.Stream_Stream$fromFuture_closure.prototype = {
28501 call$1(value) {
28502 var t1 = this.controller;
28503 t1._async$_add$1(value);
28504 t1._closeUnchecked$0();
28505 },
28506 $signature() {
28507 return this.T._eval$1("Null(0)");
28508 }
28509 };
28510 A.Stream_Stream$fromFuture_closure0.prototype = {
28511 call$2(error, stackTrace) {
28512 var t1 = this.controller;
28513 t1._addError$2(error, stackTrace);
28514 t1._closeUnchecked$0();
28515 },
28516 $signature: 295
28517 };
28518 A.Stream_length_closure.prototype = {
28519 call$1(_) {
28520 ++this._box_0.count;
28521 },
28522 $signature() {
28523 return A._instanceType(this.$this)._eval$1("~(Stream.T)");
28524 }
28525 };
28526 A.Stream_length_closure0.prototype = {
28527 call$0() {
28528 this.future._complete$1(this._box_0.count);
28529 },
28530 $signature: 0
28531 };
28532 A.StreamTransformerBase.prototype = {};
28533 A._StreamController.prototype = {
28534 get$stream() {
28535 return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
28536 },
28537 get$_pendingEvents() {
28538 if ((this._state & 8) === 0)
28539 return this._varData;
28540 return this._varData.varData;
28541 },
28542 _ensurePendingEvents$0() {
28543 var events, state, _this = this;
28544 if ((_this._state & 8) === 0) {
28545 events = _this._varData;
28546 return events == null ? _this._varData = new A._StreamImplEvents() : events;
28547 }
28548 state = _this._varData;
28549 events = state.varData;
28550 return events == null ? state.varData = new A._StreamImplEvents() : events;
28551 },
28552 get$_subscription() {
28553 var varData = this._varData;
28554 return (this._state & 8) !== 0 ? varData.varData : varData;
28555 },
28556 _badEventState$0() {
28557 if ((this._state & 4) !== 0)
28558 return new A.StateError("Cannot add event after closing");
28559 return new A.StateError("Cannot add event while adding a stream");
28560 },
28561 addStream$2$cancelOnError(source, cancelOnError) {
28562 var t2, t3, t4, _this = this,
28563 t1 = _this._state;
28564 if (t1 >= 4)
28565 throw A.wrapException(_this._badEventState$0());
28566 if ((t1 & 2) !== 0) {
28567 t1 = new A._Future($.Zone__current, type$._Future_dynamic);
28568 t1._asyncComplete$1(null);
28569 return t1;
28570 }
28571 t1 = _this._varData;
28572 t2 = new A._Future($.Zone__current, type$._Future_dynamic);
28573 t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
28574 t4 = _this._state;
28575 if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
28576 t3.pause$0(0);
28577 _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
28578 _this._state |= 8;
28579 return t2;
28580 },
28581 _ensureDoneFuture$0() {
28582 var t1 = this._doneFuture;
28583 if (t1 == null)
28584 t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
28585 return t1;
28586 },
28587 add$1(_, value) {
28588 if (this._state >= 4)
28589 throw A.wrapException(this._badEventState$0());
28590 this._async$_add$1(value);
28591 },
28592 addError$2(error, stackTrace) {
28593 var replacement;
28594 A.checkNotNullable(error, "error", type$.Object);
28595 if (this._state >= 4)
28596 throw A.wrapException(this._badEventState$0());
28597 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28598 if (replacement != null) {
28599 error = replacement.error;
28600 stackTrace = replacement.stackTrace;
28601 } else if (stackTrace == null)
28602 stackTrace = A.AsyncError_defaultStackTrace(error);
28603 this._addError$2(error, stackTrace);
28604 },
28605 addError$1(error) {
28606 return this.addError$2(error, null);
28607 },
28608 close$0(_) {
28609 var _this = this,
28610 t1 = _this._state;
28611 if ((t1 & 4) !== 0)
28612 return _this._ensureDoneFuture$0();
28613 if (t1 >= 4)
28614 throw A.wrapException(_this._badEventState$0());
28615 _this._closeUnchecked$0();
28616 return _this._ensureDoneFuture$0();
28617 },
28618 _closeUnchecked$0() {
28619 var t1 = this._state |= 4;
28620 if ((t1 & 1) !== 0)
28621 this._sendDone$0();
28622 else if ((t1 & 3) === 0)
28623 this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
28624 },
28625 _async$_add$1(value) {
28626 var t1 = this._state;
28627 if ((t1 & 1) !== 0)
28628 this._sendData$1(value);
28629 else if ((t1 & 3) === 0)
28630 this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
28631 },
28632 _addError$2(error, stackTrace) {
28633 var t1 = this._state;
28634 if ((t1 & 1) !== 0)
28635 this._sendError$2(error, stackTrace);
28636 else if ((t1 & 3) === 0)
28637 this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
28638 },
28639 _close$0() {
28640 var addState = this._varData;
28641 this._varData = addState.varData;
28642 this._state &= 4294967287;
28643 addState.addStreamFuture._asyncComplete$1(null);
28644 },
28645 _subscribe$4(onData, onError, onDone, cancelOnError) {
28646 var subscription, pendingEvents, t1, addState, _this = this;
28647 if ((_this._state & 3) !== 0)
28648 throw A.wrapException(A.StateError$("Stream has already been listened to."));
28649 subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
28650 pendingEvents = _this.get$_pendingEvents();
28651 t1 = _this._state |= 1;
28652 if ((t1 & 8) !== 0) {
28653 addState = _this._varData;
28654 addState.varData = subscription;
28655 addState.addSubscription.resume$0(0);
28656 } else
28657 _this._varData = subscription;
28658 subscription._setPendingEvents$1(pendingEvents);
28659 subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
28660 return subscription;
28661 },
28662 _recordCancel$1(subscription) {
28663 var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
28664 if ((_this._state & 8) !== 0)
28665 result = _this._varData.cancel$0();
28666 _this._varData = null;
28667 _this._state = _this._state & 4294967286 | 2;
28668 onCancel = _this.onCancel;
28669 if (onCancel != null)
28670 if (result == null)
28671 try {
28672 cancelResult = onCancel.call$0();
28673 if (type$.Future_void._is(cancelResult))
28674 result = cancelResult;
28675 } catch (exception) {
28676 e = A.unwrapException(exception);
28677 s = A.getTraceFromException(exception);
28678 result0 = new A._Future($.Zone__current, type$._Future_void);
28679 result0._asyncCompleteError$2(e, s);
28680 result = result0;
28681 }
28682 else
28683 result = result.whenComplete$1(onCancel);
28684 t1 = new A._StreamController__recordCancel_complete(_this);
28685 if (result != null)
28686 result = result.whenComplete$1(t1);
28687 else
28688 t1.call$0();
28689 return result;
28690 },
28691 _recordPause$1(subscription) {
28692 if ((this._state & 8) !== 0)
28693 this._varData.addSubscription.pause$0(0);
28694 A._runGuarded(this.onPause);
28695 },
28696 _recordResume$1(subscription) {
28697 if ((this._state & 8) !== 0)
28698 this._varData.addSubscription.resume$0(0);
28699 A._runGuarded(this.onResume);
28700 },
28701 $isEventSink: 1,
28702 set$onPause(val) {
28703 return this.onPause = val;
28704 },
28705 set$onResume(val) {
28706 return this.onResume = val;
28707 },
28708 set$onCancel(val) {
28709 return this.onCancel = val;
28710 }
28711 };
28712 A._StreamController__subscribe_closure.prototype = {
28713 call$0() {
28714 A._runGuarded(this.$this.onListen);
28715 },
28716 $signature: 0
28717 };
28718 A._StreamController__recordCancel_complete.prototype = {
28719 call$0() {
28720 var doneFuture = this.$this._doneFuture;
28721 if (doneFuture != null && (doneFuture._state & 30) === 0)
28722 doneFuture._asyncComplete$1(null);
28723 },
28724 $signature: 0
28725 };
28726 A._SyncStreamControllerDispatch.prototype = {
28727 _sendData$1(data) {
28728 this.get$_subscription()._async$_add$1(data);
28729 },
28730 _sendError$2(error, stackTrace) {
28731 this.get$_subscription()._addError$2(error, stackTrace);
28732 },
28733 _sendDone$0() {
28734 this.get$_subscription()._close$0();
28735 }
28736 };
28737 A._AsyncStreamControllerDispatch.prototype = {
28738 _sendData$1(data) {
28739 this.get$_subscription()._addPending$1(new A._DelayedData(data));
28740 },
28741 _sendError$2(error, stackTrace) {
28742 this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
28743 },
28744 _sendDone$0() {
28745 this.get$_subscription()._addPending$1(B.C__DelayedDone);
28746 }
28747 };
28748 A._AsyncStreamController.prototype = {};
28749 A._SyncStreamController.prototype = {};
28750 A._ControllerStream.prototype = {
28751 get$hashCode(_) {
28752 return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
28753 },
28754 $eq(_, other) {
28755 if (other == null)
28756 return false;
28757 if (this === other)
28758 return true;
28759 return other instanceof A._ControllerStream && other._controller === this._controller;
28760 }
28761 };
28762 A._ControllerSubscription.prototype = {
28763 _async$_onCancel$0() {
28764 return this._controller._recordCancel$1(this);
28765 },
28766 _async$_onPause$0() {
28767 this._controller._recordPause$1(this);
28768 },
28769 _async$_onResume$0() {
28770 this._controller._recordResume$1(this);
28771 }
28772 };
28773 A._AddStreamState.prototype = {
28774 cancel$0() {
28775 var cancel = this.addSubscription.cancel$0();
28776 return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
28777 }
28778 };
28779 A._AddStreamState_cancel_closure.prototype = {
28780 call$0() {
28781 this.$this.addStreamFuture._asyncComplete$1(null);
28782 },
28783 $signature: 1
28784 };
28785 A._StreamControllerAddStreamState.prototype = {};
28786 A._BufferingStreamSubscription.prototype = {
28787 _setPendingEvents$1(pendingEvents) {
28788 var _this = this;
28789 if (pendingEvents == null)
28790 return;
28791 _this._pending = pendingEvents;
28792 if (pendingEvents.lastPendingEvent != null) {
28793 _this._state = (_this._state | 64) >>> 0;
28794 pendingEvents.schedule$1(_this);
28795 }
28796 },
28797 pause$1(_, resumeSignal) {
28798 var t2, t3, _this = this,
28799 t1 = _this._state;
28800 if ((t1 & 8) !== 0)
28801 return;
28802 t2 = (t1 + 128 | 4) >>> 0;
28803 _this._state = t2;
28804 if (t1 < 128) {
28805 t3 = _this._pending;
28806 if (t3 != null)
28807 if (t3._state === 1)
28808 t3._state = 3;
28809 }
28810 if ((t1 & 4) === 0 && (t2 & 32) === 0)
28811 _this._guardCallback$1(_this.get$_async$_onPause());
28812 },
28813 pause$0($receiver) {
28814 return this.pause$1($receiver, null);
28815 },
28816 resume$0(_) {
28817 var _this = this,
28818 t1 = _this._state;
28819 if ((t1 & 8) !== 0)
28820 return;
28821 if (t1 >= 128) {
28822 t1 = _this._state = t1 - 128;
28823 if (t1 < 128)
28824 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
28825 _this._pending.schedule$1(_this);
28826 else {
28827 t1 = (t1 & 4294967291) >>> 0;
28828 _this._state = t1;
28829 if ((t1 & 32) === 0)
28830 _this._guardCallback$1(_this.get$_async$_onResume());
28831 }
28832 }
28833 },
28834 cancel$0() {
28835 var _this = this,
28836 t1 = (_this._state & 4294967279) >>> 0;
28837 _this._state = t1;
28838 if ((t1 & 8) === 0)
28839 _this._cancel$0();
28840 t1 = _this._cancelFuture;
28841 return t1 == null ? $.$get$Future__nullFuture() : t1;
28842 },
28843 _cancel$0() {
28844 var t2, _this = this,
28845 t1 = _this._state = (_this._state | 8) >>> 0;
28846 if ((t1 & 64) !== 0) {
28847 t2 = _this._pending;
28848 if (t2._state === 1)
28849 t2._state = 3;
28850 }
28851 if ((t1 & 32) === 0)
28852 _this._pending = null;
28853 _this._cancelFuture = _this._async$_onCancel$0();
28854 },
28855 _async$_add$1(data) {
28856 var t1 = this._state;
28857 if ((t1 & 8) !== 0)
28858 return;
28859 if (t1 < 32)
28860 this._sendData$1(data);
28861 else
28862 this._addPending$1(new A._DelayedData(data));
28863 },
28864 _addError$2(error, stackTrace) {
28865 var t1 = this._state;
28866 if ((t1 & 8) !== 0)
28867 return;
28868 if (t1 < 32)
28869 this._sendError$2(error, stackTrace);
28870 else
28871 this._addPending$1(new A._DelayedError(error, stackTrace));
28872 },
28873 _close$0() {
28874 var _this = this,
28875 t1 = _this._state;
28876 if ((t1 & 8) !== 0)
28877 return;
28878 t1 = (t1 | 2) >>> 0;
28879 _this._state = t1;
28880 if (t1 < 32)
28881 _this._sendDone$0();
28882 else
28883 _this._addPending$1(B.C__DelayedDone);
28884 },
28885 _async$_onPause$0() {
28886 },
28887 _async$_onResume$0() {
28888 },
28889 _async$_onCancel$0() {
28890 return null;
28891 },
28892 _addPending$1($event) {
28893 var t1, _this = this,
28894 pending = _this._pending;
28895 if (pending == null)
28896 pending = new A._StreamImplEvents();
28897 _this._pending = pending;
28898 pending.add$1(0, $event);
28899 t1 = _this._state;
28900 if ((t1 & 64) === 0) {
28901 t1 = (t1 | 64) >>> 0;
28902 _this._state = t1;
28903 if (t1 < 128)
28904 pending.schedule$1(_this);
28905 }
28906 },
28907 _sendData$1(data) {
28908 var _this = this,
28909 t1 = _this._state;
28910 _this._state = (t1 | 32) >>> 0;
28911 _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
28912 _this._state = (_this._state & 4294967263) >>> 0;
28913 _this._checkState$1((t1 & 4) !== 0);
28914 },
28915 _sendError$2(error, stackTrace) {
28916 var cancelFuture, _this = this,
28917 t1 = _this._state,
28918 t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
28919 if ((t1 & 1) !== 0) {
28920 _this._state = (t1 | 16) >>> 0;
28921 _this._cancel$0();
28922 cancelFuture = _this._cancelFuture;
28923 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28924 cancelFuture.whenComplete$1(t2);
28925 else
28926 t2.call$0();
28927 } else {
28928 t2.call$0();
28929 _this._checkState$1((t1 & 4) !== 0);
28930 }
28931 },
28932 _sendDone$0() {
28933 var cancelFuture, _this = this,
28934 t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
28935 _this._cancel$0();
28936 _this._state = (_this._state | 16) >>> 0;
28937 cancelFuture = _this._cancelFuture;
28938 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28939 cancelFuture.whenComplete$1(t1);
28940 else
28941 t1.call$0();
28942 },
28943 _guardCallback$1(callback) {
28944 var _this = this,
28945 t1 = _this._state;
28946 _this._state = (t1 | 32) >>> 0;
28947 callback.call$0();
28948 _this._state = (_this._state & 4294967263) >>> 0;
28949 _this._checkState$1((t1 & 4) !== 0);
28950 },
28951 _checkState$1(wasInputPaused) {
28952 var t2, isInputPaused, _this = this,
28953 t1 = _this._state;
28954 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
28955 t1 = _this._state = (t1 & 4294967231) >>> 0;
28956 if ((t1 & 4) !== 0)
28957 if (t1 < 128) {
28958 t2 = _this._pending;
28959 t2 = t2 == null ? null : t2.lastPendingEvent == null;
28960 t2 = t2 !== false;
28961 } else
28962 t2 = false;
28963 else
28964 t2 = false;
28965 if (t2) {
28966 t1 = (t1 & 4294967291) >>> 0;
28967 _this._state = t1;
28968 }
28969 }
28970 for (; true; wasInputPaused = isInputPaused) {
28971 if ((t1 & 8) !== 0) {
28972 _this._pending = null;
28973 return;
28974 }
28975 isInputPaused = (t1 & 4) !== 0;
28976 if (wasInputPaused === isInputPaused)
28977 break;
28978 _this._state = (t1 ^ 32) >>> 0;
28979 if (isInputPaused)
28980 _this._async$_onPause$0();
28981 else
28982 _this._async$_onResume$0();
28983 t1 = (_this._state & 4294967263) >>> 0;
28984 _this._state = t1;
28985 }
28986 if ((t1 & 64) !== 0 && t1 < 128)
28987 _this._pending.schedule$1(_this);
28988 },
28989 $isStreamSubscription: 1
28990 };
28991 A._BufferingStreamSubscription__sendError_sendError.prototype = {
28992 call$0() {
28993 var onError, t3, t4,
28994 t1 = this.$this,
28995 t2 = t1._state;
28996 if ((t2 & 8) !== 0 && (t2 & 16) === 0)
28997 return;
28998 t1._state = (t2 | 32) >>> 0;
28999 onError = t1._onError;
29000 t2 = this.error;
29001 t3 = type$.Object;
29002 t4 = t1._zone;
29003 if (type$.void_Function_Object_StackTrace._is(onError))
29004 t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
29005 else
29006 t4.runUnaryGuarded$1$2(onError, t2, t3);
29007 t1._state = (t1._state & 4294967263) >>> 0;
29008 },
29009 $signature: 0
29010 };
29011 A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
29012 call$0() {
29013 var t1 = this.$this,
29014 t2 = t1._state;
29015 if ((t2 & 16) === 0)
29016 return;
29017 t1._state = (t2 | 42) >>> 0;
29018 t1._zone.runGuarded$1(t1._onDone);
29019 t1._state = (t1._state & 4294967263) >>> 0;
29020 },
29021 $signature: 0
29022 };
29023 A._StreamImpl.prototype = {
29024 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29025 return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
29026 },
29027 listen$1($receiver, onData) {
29028 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29029 },
29030 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29031 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29032 }
29033 };
29034 A._DelayedEvent.prototype = {
29035 get$next() {
29036 return this.next;
29037 },
29038 set$next(val) {
29039 return this.next = val;
29040 }
29041 };
29042 A._DelayedData.prototype = {
29043 perform$1(dispatch) {
29044 dispatch._sendData$1(this.value);
29045 }
29046 };
29047 A._DelayedError.prototype = {
29048 perform$1(dispatch) {
29049 dispatch._sendError$2(this.error, this.stackTrace);
29050 }
29051 };
29052 A._DelayedDone.prototype = {
29053 perform$1(dispatch) {
29054 dispatch._sendDone$0();
29055 },
29056 get$next() {
29057 return null;
29058 },
29059 set$next(_) {
29060 throw A.wrapException(A.StateError$("No events after a done."));
29061 }
29062 };
29063 A._PendingEvents.prototype = {
29064 schedule$1(dispatch) {
29065 var _this = this,
29066 t1 = _this._state;
29067 if (t1 === 1)
29068 return;
29069 if (t1 >= 1) {
29070 _this._state = 1;
29071 return;
29072 }
29073 A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
29074 _this._state = 1;
29075 }
29076 };
29077 A._PendingEvents_schedule_closure.prototype = {
29078 call$0() {
29079 var $event, nextEvent,
29080 t1 = this.$this,
29081 oldState = t1._state;
29082 t1._state = 0;
29083 if (oldState === 3)
29084 return;
29085 $event = t1.firstPendingEvent;
29086 nextEvent = $event.get$next();
29087 t1.firstPendingEvent = nextEvent;
29088 if (nextEvent == null)
29089 t1.lastPendingEvent = null;
29090 $event.perform$1(this.dispatch);
29091 },
29092 $signature: 0
29093 };
29094 A._StreamImplEvents.prototype = {
29095 add$1(_, $event) {
29096 var _this = this,
29097 lastEvent = _this.lastPendingEvent;
29098 if (lastEvent == null)
29099 _this.firstPendingEvent = _this.lastPendingEvent = $event;
29100 else {
29101 lastEvent.set$next($event);
29102 _this.lastPendingEvent = $event;
29103 }
29104 }
29105 };
29106 A._StreamIterator.prototype = {
29107 get$current(_) {
29108 if (this._async$_hasValue)
29109 return this._stateData;
29110 return null;
29111 },
29112 moveNext$0() {
29113 var future, _this = this,
29114 subscription = _this._subscription;
29115 if (subscription != null) {
29116 if (_this._async$_hasValue) {
29117 future = new A._Future($.Zone__current, type$._Future_bool);
29118 _this._stateData = future;
29119 _this._async$_hasValue = false;
29120 subscription.resume$0(0);
29121 return future;
29122 }
29123 throw A.wrapException(A.StateError$("Already waiting for next."));
29124 }
29125 return _this._initializeOrDone$0();
29126 },
29127 _initializeOrDone$0() {
29128 var future, subscription, _this = this,
29129 stateData = _this._stateData;
29130 if (stateData != null) {
29131 future = new A._Future($.Zone__current, type$._Future_bool);
29132 _this._stateData = future;
29133 subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
29134 if (_this._stateData != null)
29135 _this._subscription = subscription;
29136 return future;
29137 }
29138 return $.$get$Future__falseFuture();
29139 },
29140 cancel$0() {
29141 var _this = this,
29142 subscription = _this._subscription,
29143 stateData = _this._stateData;
29144 _this._stateData = null;
29145 if (subscription != null) {
29146 _this._subscription = null;
29147 if (!_this._async$_hasValue)
29148 stateData._asyncComplete$1(false);
29149 else
29150 _this._async$_hasValue = false;
29151 return subscription.cancel$0();
29152 }
29153 return $.$get$Future__nullFuture();
29154 },
29155 _onData$1(data) {
29156 var moveNextFuture, t1, _this = this;
29157 if (_this._subscription == null)
29158 return;
29159 moveNextFuture = _this._stateData;
29160 _this._stateData = data;
29161 _this._async$_hasValue = true;
29162 moveNextFuture._complete$1(true);
29163 if (_this._async$_hasValue) {
29164 t1 = _this._subscription;
29165 if (t1 != null)
29166 t1.pause$0(0);
29167 }
29168 },
29169 _onError$2(error, stackTrace) {
29170 var _this = this,
29171 subscription = _this._subscription,
29172 moveNextFuture = _this._stateData;
29173 _this._stateData = _this._subscription = null;
29174 if (subscription != null)
29175 moveNextFuture._completeError$2(error, stackTrace);
29176 else
29177 moveNextFuture._asyncCompleteError$2(error, stackTrace);
29178 },
29179 _onDone$0() {
29180 var _this = this,
29181 subscription = _this._subscription,
29182 moveNextFuture = _this._stateData;
29183 _this._stateData = _this._subscription = null;
29184 if (subscription != null)
29185 moveNextFuture._completeWithValue$1(false);
29186 else
29187 moveNextFuture._asyncCompleteWithValue$1(false);
29188 }
29189 };
29190 A._ForwardingStream.prototype = {
29191 get$isBroadcast() {
29192 return this._async$_source.get$isBroadcast();
29193 },
29194 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29195 var t1 = this.$ti,
29196 t2 = t1._rest[1],
29197 t3 = $.Zone__current,
29198 t4 = cancelOnError === true ? 1 : 0,
29199 t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
29200 t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
29201 t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
29202 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>"));
29203 t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
29204 return t2;
29205 },
29206 listen$1($receiver, onData) {
29207 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29208 },
29209 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29210 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29211 }
29212 };
29213 A._ForwardingStreamSubscription.prototype = {
29214 _async$_add$1(data) {
29215 if ((this._state & 2) !== 0)
29216 return;
29217 this.super$_BufferingStreamSubscription$_add(data);
29218 },
29219 _addError$2(error, stackTrace) {
29220 if ((this._state & 2) !== 0)
29221 return;
29222 this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
29223 },
29224 _async$_onPause$0() {
29225 var t1 = this._subscription;
29226 if (t1 != null)
29227 t1.pause$0(0);
29228 },
29229 _async$_onResume$0() {
29230 var t1 = this._subscription;
29231 if (t1 != null)
29232 t1.resume$0(0);
29233 },
29234 _async$_onCancel$0() {
29235 var subscription = this._subscription;
29236 if (subscription != null) {
29237 this._subscription = null;
29238 return subscription.cancel$0();
29239 }
29240 return null;
29241 },
29242 _handleData$1(data) {
29243 this._stream._handleData$2(data, this);
29244 },
29245 _handleError$2(error, stackTrace) {
29246 this._addError$2(error, stackTrace);
29247 },
29248 _handleDone$0() {
29249 this._close$0();
29250 }
29251 };
29252 A._ExpandStream.prototype = {
29253 _handleData$2(inputEvent, sink) {
29254 var value, e, s, t1, exception, error, stackTrace, replacement;
29255 try {
29256 for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
29257 value = t1.get$current(t1);
29258 sink._async$_add$1(value);
29259 }
29260 } catch (exception) {
29261 e = A.unwrapException(exception);
29262 s = A.getTraceFromException(exception);
29263 error = e;
29264 stackTrace = s;
29265 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
29266 if (replacement != null) {
29267 error = replacement.error;
29268 stackTrace = replacement.stackTrace;
29269 }
29270 sink._addError$2(error, stackTrace);
29271 }
29272 }
29273 };
29274 A._ZoneFunction.prototype = {};
29275 A._RunNullaryZoneFunction.prototype = {};
29276 A._RunUnaryZoneFunction.prototype = {};
29277 A._RunBinaryZoneFunction.prototype = {};
29278 A._RegisterNullaryZoneFunction.prototype = {};
29279 A._RegisterUnaryZoneFunction.prototype = {};
29280 A._RegisterBinaryZoneFunction.prototype = {};
29281 A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
29282 A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
29283 A._Zone.prototype = {
29284 _processUncaughtError$3(zone, error, stackTrace) {
29285 var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
29286 implementation = this.get$_handleUncaughtError(),
29287 implZone = implementation.zone;
29288 if (implZone === B.C__RootZone) {
29289 A._rootHandleError(error, stackTrace);
29290 return;
29291 }
29292 handler = implementation.$function;
29293 parentDelegate = implZone.get$_parentDelegate();
29294 t1 = J.get$parent$z(implZone);
29295 t1.toString;
29296 parentZone = t1;
29297 currentZone = $.Zone__current;
29298 try {
29299 $.Zone__current = parentZone;
29300 handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
29301 $.Zone__current = currentZone;
29302 } catch (exception) {
29303 e = A.unwrapException(exception);
29304 s = A.getTraceFromException(exception);
29305 $.Zone__current = currentZone;
29306 t1 = error === e ? stackTrace : s;
29307 parentZone._processUncaughtError$3(implZone, e, t1);
29308 }
29309 },
29310 $isZone: 1
29311 };
29312 A._CustomZone.prototype = {
29313 get$_delegate() {
29314 var t1 = this._delegateCache;
29315 return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
29316 },
29317 get$_parentDelegate() {
29318 return this.parent.get$_delegate();
29319 },
29320 get$errorZone() {
29321 return this._handleUncaughtError.zone;
29322 },
29323 runGuarded$1(f) {
29324 var e, s, exception;
29325 try {
29326 this.run$1$1(0, f, type$.void);
29327 } catch (exception) {
29328 e = A.unwrapException(exception);
29329 s = A.getTraceFromException(exception);
29330 this._processUncaughtError$3(this, e, s);
29331 }
29332 },
29333 runUnaryGuarded$1$2(f, arg, $T) {
29334 var e, s, exception;
29335 try {
29336 this.runUnary$2$2(f, arg, type$.void, $T);
29337 } catch (exception) {
29338 e = A.unwrapException(exception);
29339 s = A.getTraceFromException(exception);
29340 this._processUncaughtError$3(this, e, s);
29341 }
29342 },
29343 runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
29344 var e, s, exception;
29345 try {
29346 this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
29347 } catch (exception) {
29348 e = A.unwrapException(exception);
29349 s = A.getTraceFromException(exception);
29350 this._processUncaughtError$3(this, e, s);
29351 }
29352 },
29353 bindCallback$1$1(f, $R) {
29354 return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
29355 },
29356 bindUnaryCallback$2$1(f, $R, $T) {
29357 return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
29358 },
29359 bindCallbackGuarded$1(f) {
29360 return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
29361 },
29362 $index(_, key) {
29363 var value,
29364 t1 = this._async$_map,
29365 result = t1.$index(0, key);
29366 if (result != null || t1.containsKey$1(key))
29367 return result;
29368 value = this.parent.$index(0, key);
29369 if (value != null)
29370 t1.$indexSet(0, key, value);
29371 return value;
29372 },
29373 handleUncaughtError$2(error, stackTrace) {
29374 this._processUncaughtError$3(this, error, stackTrace);
29375 },
29376 fork$2$specification$zoneValues(specification, zoneValues) {
29377 var implementation = this._fork,
29378 t1 = implementation.zone;
29379 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
29380 },
29381 run$1$1(_, f) {
29382 var implementation = this._run,
29383 t1 = implementation.zone;
29384 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29385 },
29386 runUnary$2$2(f, arg) {
29387 var implementation = this._runUnary,
29388 t1 = implementation.zone;
29389 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
29390 },
29391 runBinary$3$3(f, arg1, arg2) {
29392 var implementation = this._runBinary,
29393 t1 = implementation.zone;
29394 return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
29395 },
29396 registerCallback$1$1(callback) {
29397 var implementation = this._registerCallback,
29398 t1 = implementation.zone;
29399 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29400 },
29401 registerUnaryCallback$2$1(callback) {
29402 var implementation = this._registerUnaryCallback,
29403 t1 = implementation.zone;
29404 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29405 },
29406 registerBinaryCallback$3$1(callback) {
29407 var implementation = this._registerBinaryCallback,
29408 t1 = implementation.zone;
29409 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29410 },
29411 errorCallback$2(error, stackTrace) {
29412 var implementation, implementationZone;
29413 A.checkNotNullable(error, "error", type$.Object);
29414 implementation = this._errorCallback;
29415 implementationZone = implementation.zone;
29416 if (implementationZone === B.C__RootZone)
29417 return null;
29418 return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
29419 },
29420 scheduleMicrotask$1(f) {
29421 var implementation = this._scheduleMicrotask,
29422 t1 = implementation.zone;
29423 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29424 },
29425 createTimer$2(duration, f) {
29426 var implementation = this._createTimer,
29427 t1 = implementation.zone;
29428 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
29429 },
29430 print$1(line) {
29431 var implementation = this._print,
29432 t1 = implementation.zone;
29433 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
29434 },
29435 get$_run() {
29436 return this._run;
29437 },
29438 get$_runUnary() {
29439 return this._runUnary;
29440 },
29441 get$_runBinary() {
29442 return this._runBinary;
29443 },
29444 get$_registerCallback() {
29445 return this._registerCallback;
29446 },
29447 get$_registerUnaryCallback() {
29448 return this._registerUnaryCallback;
29449 },
29450 get$_registerBinaryCallback() {
29451 return this._registerBinaryCallback;
29452 },
29453 get$_errorCallback() {
29454 return this._errorCallback;
29455 },
29456 get$_scheduleMicrotask() {
29457 return this._scheduleMicrotask;
29458 },
29459 get$_createTimer() {
29460 return this._createTimer;
29461 },
29462 get$_createPeriodicTimer() {
29463 return this._createPeriodicTimer;
29464 },
29465 get$_print() {
29466 return this._print;
29467 },
29468 get$_fork() {
29469 return this._fork;
29470 },
29471 get$_handleUncaughtError() {
29472 return this._handleUncaughtError;
29473 },
29474 get$parent(receiver) {
29475 return this.parent;
29476 },
29477 get$_async$_map() {
29478 return this._async$_map;
29479 }
29480 };
29481 A._CustomZone_bindCallback_closure.prototype = {
29482 call$0() {
29483 return this.$this.run$1$1(0, this.registered, this.R);
29484 },
29485 $signature() {
29486 return this.R._eval$1("0()");
29487 }
29488 };
29489 A._CustomZone_bindUnaryCallback_closure.prototype = {
29490 call$1(arg) {
29491 var _this = this;
29492 return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
29493 },
29494 $signature() {
29495 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29496 }
29497 };
29498 A._CustomZone_bindCallbackGuarded_closure.prototype = {
29499 call$0() {
29500 return this.$this.runGuarded$1(this.registered);
29501 },
29502 $signature: 0
29503 };
29504 A._rootHandleError_closure.prototype = {
29505 call$0() {
29506 var t1 = this.error,
29507 t2 = this.stackTrace;
29508 A.checkNotNullable(t1, "error", type$.Object);
29509 A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
29510 A.Error__throw(t1, t2);
29511 },
29512 $signature: 0
29513 };
29514 A._RootZone.prototype = {
29515 get$_run() {
29516 return B._RunNullaryZoneFunction__RootZone__rootRun;
29517 },
29518 get$_runUnary() {
29519 return B._RunUnaryZoneFunction__RootZone__rootRunUnary;
29520 },
29521 get$_runBinary() {
29522 return B._RunBinaryZoneFunction__RootZone__rootRunBinary;
29523 },
29524 get$_registerCallback() {
29525 return B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback;
29526 },
29527 get$_registerUnaryCallback() {
29528 return B._RegisterUnaryZoneFunction_Bqo;
29529 },
29530 get$_registerBinaryCallback() {
29531 return B._RegisterBinaryZoneFunction_kGu;
29532 },
29533 get$_errorCallback() {
29534 return B._ZoneFunction__RootZone__rootErrorCallback;
29535 },
29536 get$_scheduleMicrotask() {
29537 return B._ZoneFunction__RootZone__rootScheduleMicrotask;
29538 },
29539 get$_createTimer() {
29540 return B._ZoneFunction__RootZone__rootCreateTimer;
29541 },
29542 get$_createPeriodicTimer() {
29543 return B._ZoneFunction_3bB;
29544 },
29545 get$_print() {
29546 return B._ZoneFunction__RootZone__rootPrint;
29547 },
29548 get$_fork() {
29549 return B._ZoneFunction__RootZone__rootFork;
29550 },
29551 get$_handleUncaughtError() {
29552 return B._ZoneFunction_NMc;
29553 },
29554 get$parent(_) {
29555 return null;
29556 },
29557 get$_async$_map() {
29558 return $.$get$_RootZone__rootMap();
29559 },
29560 get$_delegate() {
29561 var t1 = $._RootZone__rootDelegate;
29562 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29563 },
29564 get$_parentDelegate() {
29565 var t1 = $._RootZone__rootDelegate;
29566 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29567 },
29568 get$errorZone() {
29569 return this;
29570 },
29571 runGuarded$1(f) {
29572 var e, s, exception;
29573 try {
29574 if (B.C__RootZone === $.Zone__current) {
29575 f.call$0();
29576 return;
29577 }
29578 A._rootRun(null, null, this, f);
29579 } catch (exception) {
29580 e = A.unwrapException(exception);
29581 s = A.getTraceFromException(exception);
29582 A._rootHandleError(e, s);
29583 }
29584 },
29585 runUnaryGuarded$1$2(f, arg) {
29586 var e, s, exception;
29587 try {
29588 if (B.C__RootZone === $.Zone__current) {
29589 f.call$1(arg);
29590 return;
29591 }
29592 A._rootRunUnary(null, null, this, f, arg);
29593 } catch (exception) {
29594 e = A.unwrapException(exception);
29595 s = A.getTraceFromException(exception);
29596 A._rootHandleError(e, s);
29597 }
29598 },
29599 runBinaryGuarded$2$3(f, arg1, arg2) {
29600 var e, s, exception;
29601 try {
29602 if (B.C__RootZone === $.Zone__current) {
29603 f.call$2(arg1, arg2);
29604 return;
29605 }
29606 A._rootRunBinary(null, null, this, f, arg1, arg2);
29607 } catch (exception) {
29608 e = A.unwrapException(exception);
29609 s = A.getTraceFromException(exception);
29610 A._rootHandleError(e, s);
29611 }
29612 },
29613 bindCallback$1$1(f, $R) {
29614 return new A._RootZone_bindCallback_closure(this, f, $R);
29615 },
29616 bindUnaryCallback$2$1(f, $R, $T) {
29617 return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
29618 },
29619 bindCallbackGuarded$1(f) {
29620 return new A._RootZone_bindCallbackGuarded_closure(this, f);
29621 },
29622 $index(_, key) {
29623 return null;
29624 },
29625 handleUncaughtError$2(error, stackTrace) {
29626 A._rootHandleError(error, stackTrace);
29627 },
29628 fork$2$specification$zoneValues(specification, zoneValues) {
29629 return A._rootFork(null, null, this, specification, zoneValues);
29630 },
29631 run$1$1(_, f) {
29632 if ($.Zone__current === B.C__RootZone)
29633 return f.call$0();
29634 return A._rootRun(null, null, this, f);
29635 },
29636 runUnary$2$2(f, arg) {
29637 if ($.Zone__current === B.C__RootZone)
29638 return f.call$1(arg);
29639 return A._rootRunUnary(null, null, this, f, arg);
29640 },
29641 runBinary$3$3(f, arg1, arg2) {
29642 if ($.Zone__current === B.C__RootZone)
29643 return f.call$2(arg1, arg2);
29644 return A._rootRunBinary(null, null, this, f, arg1, arg2);
29645 },
29646 registerCallback$1$1(f) {
29647 return f;
29648 },
29649 registerUnaryCallback$2$1(f) {
29650 return f;
29651 },
29652 registerBinaryCallback$3$1(f) {
29653 return f;
29654 },
29655 errorCallback$2(error, stackTrace) {
29656 return null;
29657 },
29658 scheduleMicrotask$1(f) {
29659 A._rootScheduleMicrotask(null, null, this, f);
29660 },
29661 createTimer$2(duration, f) {
29662 return A.Timer__createTimer(duration, f);
29663 },
29664 print$1(line) {
29665 A.printString(line);
29666 }
29667 };
29668 A._RootZone_bindCallback_closure.prototype = {
29669 call$0() {
29670 return this.$this.run$1$1(0, this.f, this.R);
29671 },
29672 $signature() {
29673 return this.R._eval$1("0()");
29674 }
29675 };
29676 A._RootZone_bindUnaryCallback_closure.prototype = {
29677 call$1(arg) {
29678 var _this = this;
29679 return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
29680 },
29681 $signature() {
29682 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29683 }
29684 };
29685 A._RootZone_bindCallbackGuarded_closure.prototype = {
29686 call$0() {
29687 return this.$this.runGuarded$1(this.f);
29688 },
29689 $signature: 0
29690 };
29691 A._HashMap.prototype = {
29692 get$length(_) {
29693 return this._collection$_length;
29694 },
29695 get$isEmpty(_) {
29696 return this._collection$_length === 0;
29697 },
29698 get$isNotEmpty(_) {
29699 return this._collection$_length !== 0;
29700 },
29701 get$keys(_) {
29702 return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
29703 },
29704 get$values(_) {
29705 var t1 = A._instanceType(this);
29706 return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
29707 },
29708 containsKey$1(key) {
29709 var strings, nums;
29710 if (typeof key == "string" && key !== "__proto__") {
29711 strings = this._collection$_strings;
29712 return strings == null ? false : strings[key] != null;
29713 } else if (typeof key == "number" && (key & 1073741823) === key) {
29714 nums = this._collection$_nums;
29715 return nums == null ? false : nums[key] != null;
29716 } else
29717 return this._containsKey$1(key);
29718 },
29719 _containsKey$1(key) {
29720 var rest = this._collection$_rest;
29721 if (rest == null)
29722 return false;
29723 return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
29724 },
29725 addAll$1(_, other) {
29726 other.forEach$1(0, new A._HashMap_addAll_closure(this));
29727 },
29728 $index(_, key) {
29729 var strings, t1, nums;
29730 if (typeof key == "string" && key !== "__proto__") {
29731 strings = this._collection$_strings;
29732 t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
29733 return t1;
29734 } else if (typeof key == "number" && (key & 1073741823) === key) {
29735 nums = this._collection$_nums;
29736 t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
29737 return t1;
29738 } else
29739 return this._get$1(key);
29740 },
29741 _get$1(key) {
29742 var bucket, index,
29743 rest = this._collection$_rest;
29744 if (rest == null)
29745 return null;
29746 bucket = this._getBucket$2(rest, key);
29747 index = this._findBucketIndex$2(bucket, key);
29748 return index < 0 ? null : bucket[index + 1];
29749 },
29750 $indexSet(_, key, value) {
29751 var strings, nums, _this = this;
29752 if (typeof key == "string" && key !== "__proto__") {
29753 strings = _this._collection$_strings;
29754 _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
29755 } else if (typeof key == "number" && (key & 1073741823) === key) {
29756 nums = _this._collection$_nums;
29757 _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
29758 } else
29759 _this._set$2(key, value);
29760 },
29761 _set$2(key, value) {
29762 var hash, bucket, index, _this = this,
29763 rest = _this._collection$_rest;
29764 if (rest == null)
29765 rest = _this._collection$_rest = A._HashMap__newHashTable();
29766 hash = _this._computeHashCode$1(key);
29767 bucket = rest[hash];
29768 if (bucket == null) {
29769 A._HashMap__setTableEntry(rest, hash, [key, value]);
29770 ++_this._collection$_length;
29771 _this._keys = null;
29772 } else {
29773 index = _this._findBucketIndex$2(bucket, key);
29774 if (index >= 0)
29775 bucket[index + 1] = value;
29776 else {
29777 bucket.push(key, value);
29778 ++_this._collection$_length;
29779 _this._keys = null;
29780 }
29781 }
29782 },
29783 remove$1(_, key) {
29784 var t1;
29785 if (typeof key == "string" && key !== "__proto__")
29786 return this._removeHashTableEntry$2(this._collection$_strings, key);
29787 else {
29788 t1 = this._remove$1(key);
29789 return t1;
29790 }
29791 },
29792 _remove$1(key) {
29793 var hash, bucket, index, result, _this = this,
29794 rest = _this._collection$_rest;
29795 if (rest == null)
29796 return null;
29797 hash = _this._computeHashCode$1(key);
29798 bucket = rest[hash];
29799 index = _this._findBucketIndex$2(bucket, key);
29800 if (index < 0)
29801 return null;
29802 --_this._collection$_length;
29803 _this._keys = null;
29804 result = bucket.splice(index, 2)[1];
29805 if (0 === bucket.length)
29806 delete rest[hash];
29807 return result;
29808 },
29809 forEach$1(_, action) {
29810 var $length, t1, i, key, t2, _this = this,
29811 keys = _this._computeKeys$0();
29812 for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
29813 key = keys[i];
29814 t2 = _this.$index(0, key);
29815 action.call$2(key, t2 == null ? t1._as(t2) : t2);
29816 if (keys !== _this._keys)
29817 throw A.wrapException(A.ConcurrentModificationError$(_this));
29818 }
29819 },
29820 _computeKeys$0() {
29821 var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
29822 result = _this._keys;
29823 if (result != null)
29824 return result;
29825 result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
29826 strings = _this._collection$_strings;
29827 if (strings != null) {
29828 names = Object.getOwnPropertyNames(strings);
29829 entries = names.length;
29830 for (index = 0, i = 0; i < entries; ++i) {
29831 result[index] = names[i];
29832 ++index;
29833 }
29834 } else
29835 index = 0;
29836 nums = _this._collection$_nums;
29837 if (nums != null) {
29838 names = Object.getOwnPropertyNames(nums);
29839 entries = names.length;
29840 for (i = 0; i < entries; ++i) {
29841 result[index] = +names[i];
29842 ++index;
29843 }
29844 }
29845 rest = _this._collection$_rest;
29846 if (rest != null) {
29847 names = Object.getOwnPropertyNames(rest);
29848 entries = names.length;
29849 for (i = 0; i < entries; ++i) {
29850 bucket = rest[names[i]];
29851 $length = bucket.length;
29852 for (i0 = 0; i0 < $length; i0 += 2) {
29853 result[index] = bucket[i0];
29854 ++index;
29855 }
29856 }
29857 }
29858 return _this._keys = result;
29859 },
29860 _collection$_addHashTableEntry$3(table, key, value) {
29861 if (table[key] == null) {
29862 ++this._collection$_length;
29863 this._keys = null;
29864 }
29865 A._HashMap__setTableEntry(table, key, value);
29866 },
29867 _removeHashTableEntry$2(table, key) {
29868 var value;
29869 if (table != null && table[key] != null) {
29870 value = A._HashMap__getTableEntry(table, key);
29871 delete table[key];
29872 --this._collection$_length;
29873 this._keys = null;
29874 return value;
29875 } else
29876 return null;
29877 },
29878 _computeHashCode$1(key) {
29879 return J.get$hashCode$(key) & 1073741823;
29880 },
29881 _getBucket$2(table, key) {
29882 return table[this._computeHashCode$1(key)];
29883 },
29884 _findBucketIndex$2(bucket, key) {
29885 var $length, i;
29886 if (bucket == null)
29887 return -1;
29888 $length = bucket.length;
29889 for (i = 0; i < $length; i += 2)
29890 if (J.$eq$(bucket[i], key))
29891 return i;
29892 return -1;
29893 }
29894 };
29895 A._HashMap_values_closure.prototype = {
29896 call$1(each) {
29897 var t1 = this.$this,
29898 t2 = t1.$index(0, each);
29899 return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
29900 },
29901 $signature() {
29902 return A._instanceType(this.$this)._eval$1("2(1)");
29903 }
29904 };
29905 A._HashMap_addAll_closure.prototype = {
29906 call$2(key, value) {
29907 this.$this.$indexSet(0, key, value);
29908 },
29909 $signature() {
29910 return A._instanceType(this.$this)._eval$1("~(1,2)");
29911 }
29912 };
29913 A._IdentityHashMap.prototype = {
29914 _computeHashCode$1(key) {
29915 return A.objectHashCode(key) & 1073741823;
29916 },
29917 _findBucketIndex$2(bucket, key) {
29918 var $length, i, t1;
29919 if (bucket == null)
29920 return -1;
29921 $length = bucket.length;
29922 for (i = 0; i < $length; i += 2) {
29923 t1 = bucket[i];
29924 if (t1 == null ? key == null : t1 === key)
29925 return i;
29926 }
29927 return -1;
29928 }
29929 };
29930 A._HashMapKeyIterable.prototype = {
29931 get$length(_) {
29932 return this._map._collection$_length;
29933 },
29934 get$isEmpty(_) {
29935 return this._map._collection$_length === 0;
29936 },
29937 get$iterator(_) {
29938 var t1 = this._map;
29939 return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
29940 },
29941 contains$1(_, element) {
29942 return this._map.containsKey$1(element);
29943 }
29944 };
29945 A._HashMapKeyIterator.prototype = {
29946 get$current(_) {
29947 var t1 = this._collection$_current;
29948 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
29949 },
29950 moveNext$0() {
29951 var _this = this,
29952 keys = _this._keys,
29953 offset = _this._offset,
29954 t1 = _this._map;
29955 if (keys !== t1._keys)
29956 throw A.wrapException(A.ConcurrentModificationError$(t1));
29957 else if (offset >= keys.length) {
29958 _this._collection$_current = null;
29959 return false;
29960 } else {
29961 _this._collection$_current = keys[offset];
29962 _this._offset = offset + 1;
29963 return true;
29964 }
29965 }
29966 };
29967 A._LinkedIdentityHashMap.prototype = {
29968 internalComputeHashCode$1(key) {
29969 return A.objectHashCode(key) & 1073741823;
29970 },
29971 internalFindBucketIndex$2(bucket, key) {
29972 var $length, i, t1;
29973 if (bucket == null)
29974 return -1;
29975 $length = bucket.length;
29976 for (i = 0; i < $length; ++i) {
29977 t1 = bucket[i].hashMapCellKey;
29978 if (t1 == null ? key == null : t1 === key)
29979 return i;
29980 }
29981 return -1;
29982 }
29983 };
29984 A._LinkedCustomHashMap.prototype = {
29985 $index(_, key) {
29986 if (!this._validKey.call$1(key))
29987 return null;
29988 return this.super$JsLinkedHashMap$internalGet(key);
29989 },
29990 $indexSet(_, key, value) {
29991 this.super$JsLinkedHashMap$internalSet(key, value);
29992 },
29993 containsKey$1(key) {
29994 if (!this._validKey.call$1(key))
29995 return false;
29996 return this.super$JsLinkedHashMap$internalContainsKey(key);
29997 },
29998 remove$1(_, key) {
29999 if (!this._validKey.call$1(key))
30000 return null;
30001 return this.super$JsLinkedHashMap$internalRemove(key);
30002 },
30003 internalComputeHashCode$1(key) {
30004 return this._hashCode.call$1(key) & 1073741823;
30005 },
30006 internalFindBucketIndex$2(bucket, key) {
30007 var $length, t1, i;
30008 if (bucket == null)
30009 return -1;
30010 $length = bucket.length;
30011 for (t1 = this._equals, i = 0; i < $length; ++i)
30012 if (t1.call$2(bucket[i].hashMapCellKey, key))
30013 return i;
30014 return -1;
30015 }
30016 };
30017 A._LinkedCustomHashMap_closure.prototype = {
30018 call$1(v) {
30019 return this.K._is(v);
30020 },
30021 $signature: 134
30022 };
30023 A._LinkedHashSet.prototype = {
30024 _newSet$0() {
30025 return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
30026 },
30027 _newSimilarSet$1$0($R) {
30028 return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
30029 },
30030 _newSimilarSet$0() {
30031 return this._newSimilarSet$1$0(type$.dynamic);
30032 },
30033 get$iterator(_) {
30034 var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
30035 t1._collection$_cell = this._collection$_first;
30036 return t1;
30037 },
30038 get$length(_) {
30039 return this._collection$_length;
30040 },
30041 get$isEmpty(_) {
30042 return this._collection$_length === 0;
30043 },
30044 get$isNotEmpty(_) {
30045 return this._collection$_length !== 0;
30046 },
30047 contains$1(_, object) {
30048 var strings, nums;
30049 if (typeof object == "string" && object !== "__proto__") {
30050 strings = this._collection$_strings;
30051 if (strings == null)
30052 return false;
30053 return strings[object] != null;
30054 } else if (typeof object == "number" && (object & 1073741823) === object) {
30055 nums = this._collection$_nums;
30056 if (nums == null)
30057 return false;
30058 return nums[object] != null;
30059 } else
30060 return this._contains$1(object);
30061 },
30062 _contains$1(object) {
30063 var rest = this._collection$_rest;
30064 if (rest == null)
30065 return false;
30066 return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
30067 },
30068 get$first(_) {
30069 var first = this._collection$_first;
30070 if (first == null)
30071 throw A.wrapException(A.StateError$("No elements"));
30072 return first._element;
30073 },
30074 get$last(_) {
30075 var last = this._collection$_last;
30076 if (last == null)
30077 throw A.wrapException(A.StateError$("No elements"));
30078 return last._element;
30079 },
30080 add$1(_, element) {
30081 var strings, nums, _this = this;
30082 if (typeof element == "string" && element !== "__proto__") {
30083 strings = _this._collection$_strings;
30084 return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
30085 } else if (typeof element == "number" && (element & 1073741823) === element) {
30086 nums = _this._collection$_nums;
30087 return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
30088 } else
30089 return _this._add$1(element);
30090 },
30091 _add$1(element) {
30092 var hash, bucket, _this = this,
30093 rest = _this._collection$_rest;
30094 if (rest == null)
30095 rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
30096 hash = _this._computeHashCode$1(element);
30097 bucket = rest[hash];
30098 if (bucket == null)
30099 rest[hash] = [_this._collection$_newLinkedCell$1(element)];
30100 else {
30101 if (_this._findBucketIndex$2(bucket, element) >= 0)
30102 return false;
30103 bucket.push(_this._collection$_newLinkedCell$1(element));
30104 }
30105 return true;
30106 },
30107 remove$1(_, object) {
30108 var _this = this;
30109 if (typeof object == "string" && object !== "__proto__")
30110 return _this._removeHashTableEntry$2(_this._collection$_strings, object);
30111 else if (typeof object == "number" && (object & 1073741823) === object)
30112 return _this._removeHashTableEntry$2(_this._collection$_nums, object);
30113 else
30114 return _this._remove$1(object);
30115 },
30116 _remove$1(object) {
30117 var hash, bucket, index, cell, _this = this,
30118 rest = _this._collection$_rest;
30119 if (rest == null)
30120 return false;
30121 hash = _this._computeHashCode$1(object);
30122 bucket = rest[hash];
30123 index = _this._findBucketIndex$2(bucket, object);
30124 if (index < 0)
30125 return false;
30126 cell = bucket.splice(index, 1)[0];
30127 if (0 === bucket.length)
30128 delete rest[hash];
30129 _this._unlinkCell$1(cell);
30130 return true;
30131 },
30132 _collection$_addHashTableEntry$2(table, element) {
30133 if (table[element] != null)
30134 return false;
30135 table[element] = this._collection$_newLinkedCell$1(element);
30136 return true;
30137 },
30138 _removeHashTableEntry$2(table, element) {
30139 var cell;
30140 if (table == null)
30141 return false;
30142 cell = table[element];
30143 if (cell == null)
30144 return false;
30145 this._unlinkCell$1(cell);
30146 delete table[element];
30147 return true;
30148 },
30149 _collection$_modified$0() {
30150 this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
30151 },
30152 _collection$_newLinkedCell$1(element) {
30153 var t1, _this = this,
30154 cell = new A._LinkedHashSetCell(element);
30155 if (_this._collection$_first == null)
30156 _this._collection$_first = _this._collection$_last = cell;
30157 else {
30158 t1 = _this._collection$_last;
30159 t1.toString;
30160 cell._collection$_previous = t1;
30161 _this._collection$_last = t1._collection$_next = cell;
30162 }
30163 ++_this._collection$_length;
30164 _this._collection$_modified$0();
30165 return cell;
30166 },
30167 _unlinkCell$1(cell) {
30168 var _this = this,
30169 previous = cell._collection$_previous,
30170 next = cell._collection$_next;
30171 if (previous == null)
30172 _this._collection$_first = next;
30173 else
30174 previous._collection$_next = next;
30175 if (next == null)
30176 _this._collection$_last = previous;
30177 else
30178 next._collection$_previous = previous;
30179 --_this._collection$_length;
30180 _this._collection$_modified$0();
30181 },
30182 _computeHashCode$1(element) {
30183 return J.get$hashCode$(element) & 1073741823;
30184 },
30185 _findBucketIndex$2(bucket, element) {
30186 var $length, i;
30187 if (bucket == null)
30188 return -1;
30189 $length = bucket.length;
30190 for (i = 0; i < $length; ++i)
30191 if (J.$eq$(bucket[i]._element, element))
30192 return i;
30193 return -1;
30194 }
30195 };
30196 A._LinkedIdentityHashSet.prototype = {
30197 _newSet$0() {
30198 return new A._LinkedIdentityHashSet(this.$ti);
30199 },
30200 _newSimilarSet$1$0($R) {
30201 return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
30202 },
30203 _newSimilarSet$0() {
30204 return this._newSimilarSet$1$0(type$.dynamic);
30205 },
30206 _computeHashCode$1(key) {
30207 return A.objectHashCode(key) & 1073741823;
30208 },
30209 _findBucketIndex$2(bucket, element) {
30210 var $length, i, t1;
30211 if (bucket == null)
30212 return -1;
30213 $length = bucket.length;
30214 for (i = 0; i < $length; ++i) {
30215 t1 = bucket[i]._element;
30216 if (t1 == null ? element == null : t1 === element)
30217 return i;
30218 }
30219 return -1;
30220 }
30221 };
30222 A._LinkedHashSetCell.prototype = {};
30223 A._LinkedHashSetIterator.prototype = {
30224 get$current(_) {
30225 var t1 = this._collection$_current;
30226 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
30227 },
30228 moveNext$0() {
30229 var _this = this,
30230 cell = _this._collection$_cell,
30231 t1 = _this._set;
30232 if (_this._collection$_modifications !== t1._collection$_modifications)
30233 throw A.wrapException(A.ConcurrentModificationError$(t1));
30234 else if (cell == null) {
30235 _this._collection$_current = null;
30236 return false;
30237 } else {
30238 _this._collection$_current = cell._element;
30239 _this._collection$_cell = cell._collection$_next;
30240 return true;
30241 }
30242 }
30243 };
30244 A.UnmodifiableListView.prototype = {
30245 cast$1$0(_, $R) {
30246 return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
30247 },
30248 get$length(_) {
30249 return J.get$length$asx(this._collection$_source);
30250 },
30251 $index(_, index) {
30252 return J.elementAt$1$ax(this._collection$_source, index);
30253 }
30254 };
30255 A.HashMap_HashMap$from_closure.prototype = {
30256 call$2(k, v) {
30257 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30258 },
30259 $signature: 231
30260 };
30261 A.IterableBase.prototype = {};
30262 A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
30263 call$2(k, v) {
30264 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30265 },
30266 $signature: 231
30267 };
30268 A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
30269 A.ListMixin.prototype = {
30270 get$iterator(receiver) {
30271 return new A.ListIterator(receiver, this.get$length(receiver));
30272 },
30273 elementAt$1(receiver, index) {
30274 return this.$index(receiver, index);
30275 },
30276 get$isEmpty(receiver) {
30277 return this.get$length(receiver) === 0;
30278 },
30279 get$isNotEmpty(receiver) {
30280 return !this.get$isEmpty(receiver);
30281 },
30282 get$first(receiver) {
30283 if (this.get$length(receiver) === 0)
30284 throw A.wrapException(A.IterableElementError_noElement());
30285 return this.$index(receiver, 0);
30286 },
30287 get$last(receiver) {
30288 if (this.get$length(receiver) === 0)
30289 throw A.wrapException(A.IterableElementError_noElement());
30290 return this.$index(receiver, this.get$length(receiver) - 1);
30291 },
30292 get$single(receiver) {
30293 if (this.get$length(receiver) === 0)
30294 throw A.wrapException(A.IterableElementError_noElement());
30295 if (this.get$length(receiver) > 1)
30296 throw A.wrapException(A.IterableElementError_tooMany());
30297 return this.$index(receiver, 0);
30298 },
30299 contains$1(receiver, element) {
30300 var i,
30301 $length = this.get$length(receiver);
30302 for (i = 0; i < $length; ++i) {
30303 if (J.$eq$(this.$index(receiver, i), element))
30304 return true;
30305 if ($length !== this.get$length(receiver))
30306 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30307 }
30308 return false;
30309 },
30310 every$1(receiver, test) {
30311 var i,
30312 $length = this.get$length(receiver);
30313 for (i = 0; i < $length; ++i) {
30314 if (!test.call$1(this.$index(receiver, i)))
30315 return false;
30316 if ($length !== this.get$length(receiver))
30317 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30318 }
30319 return true;
30320 },
30321 any$1(receiver, test) {
30322 var i,
30323 $length = this.get$length(receiver);
30324 for (i = 0; i < $length; ++i) {
30325 if (test.call$1(this.$index(receiver, i)))
30326 return true;
30327 if ($length !== this.get$length(receiver))
30328 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30329 }
30330 return false;
30331 },
30332 lastWhere$2$orElse(receiver, test, orElse) {
30333 var i, element,
30334 $length = this.get$length(receiver);
30335 for (i = $length - 1; i >= 0; --i) {
30336 element = this.$index(receiver, i);
30337 if (test.call$1(element))
30338 return element;
30339 if ($length !== this.get$length(receiver))
30340 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30341 }
30342 if (orElse != null)
30343 return orElse.call$0();
30344 throw A.wrapException(A.IterableElementError_noElement());
30345 },
30346 join$1(receiver, separator) {
30347 var t1;
30348 if (this.get$length(receiver) === 0)
30349 return "";
30350 t1 = A.StringBuffer__writeAll("", receiver, separator);
30351 return t1.charCodeAt(0) == 0 ? t1 : t1;
30352 },
30353 join$0($receiver) {
30354 return this.join$1($receiver, "");
30355 },
30356 where$1(receiver, test) {
30357 return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
30358 },
30359 map$1$1(receiver, f, $T) {
30360 return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
30361 },
30362 expand$1$1(receiver, f, $T) {
30363 return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
30364 },
30365 skip$1(receiver, count) {
30366 return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
30367 },
30368 take$1(receiver, count) {
30369 return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
30370 },
30371 toList$1$growable(receiver, growable) {
30372 var t1, first, result, i, _this = this;
30373 if (_this.get$isEmpty(receiver)) {
30374 t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
30375 return t1;
30376 }
30377 first = _this.$index(receiver, 0);
30378 result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30379 for (i = 1; i < _this.get$length(receiver); ++i)
30380 result[i] = _this.$index(receiver, i);
30381 return result;
30382 },
30383 toList$0($receiver) {
30384 return this.toList$1$growable($receiver, true);
30385 },
30386 toSet$0(receiver) {
30387 var i,
30388 result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
30389 for (i = 0; i < this.get$length(receiver); ++i)
30390 result.add$1(0, this.$index(receiver, i));
30391 return result;
30392 },
30393 add$1(receiver, element) {
30394 var t1 = this.get$length(receiver);
30395 this.set$length(receiver, t1 + 1);
30396 this.$indexSet(receiver, t1, element);
30397 },
30398 cast$1$0(receiver, $R) {
30399 return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
30400 },
30401 sort$1(receiver, compare) {
30402 A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
30403 },
30404 sublist$2(receiver, start, end) {
30405 var listLength = this.get$length(receiver);
30406 A.RangeError_checkValidRange(start, end, listLength);
30407 return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30408 },
30409 getRange$2(receiver, start, end) {
30410 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30411 return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
30412 },
30413 fillRange$3(receiver, start, end, fill) {
30414 var i,
30415 value = fill == null ? A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill) : fill;
30416 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30417 for (i = start; i < end; ++i)
30418 this.$indexSet(receiver, i, value);
30419 },
30420 setRange$4(receiver, start, end, iterable, skipCount) {
30421 var $length, otherStart, otherList, t1, i;
30422 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30423 $length = end - start;
30424 if ($length === 0)
30425 return;
30426 A.RangeError_checkNotNegative(skipCount, "skipCount");
30427 if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
30428 otherStart = skipCount;
30429 otherList = iterable;
30430 } else {
30431 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
30432 otherStart = 0;
30433 }
30434 t1 = J.getInterceptor$asx(otherList);
30435 if (otherStart + $length > t1.get$length(otherList))
30436 throw A.wrapException(A.IterableElementError_tooFew());
30437 if (otherStart < start)
30438 for (i = $length - 1; i >= 0; --i)
30439 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30440 else
30441 for (i = 0; i < $length; ++i)
30442 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30443 },
30444 get$reversed(receiver) {
30445 return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
30446 },
30447 toString$0(receiver) {
30448 return A.IterableBase_iterableToFullString(receiver, "[", "]");
30449 }
30450 };
30451 A.MapBase.prototype = {};
30452 A.MapBase_mapToString_closure.prototype = {
30453 call$2(k, v) {
30454 var t2,
30455 t1 = this._box_0;
30456 if (!t1.first)
30457 this.result._contents += ", ";
30458 t1.first = false;
30459 t1 = this.result;
30460 t2 = t1._contents += A.S(k);
30461 t1._contents = t2 + ": ";
30462 t1._contents += A.S(v);
30463 },
30464 $signature: 230
30465 };
30466 A.MapMixin.prototype = {
30467 cast$2$0(_, RK, RV) {
30468 var t1 = A._instanceType(this);
30469 return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
30470 },
30471 forEach$1(_, action) {
30472 var t1, t2, key, t3, _this = this;
30473 for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30474 key = t1.get$current(t1);
30475 t3 = _this.$index(0, key);
30476 action.call$2(key, t3 == null ? t2._as(t3) : t3);
30477 }
30478 },
30479 addAll$1(_, other) {
30480 other.forEach$1(0, new A.MapMixin_addAll_closure(this));
30481 },
30482 get$entries(_) {
30483 var _this = this;
30484 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>"));
30485 },
30486 containsKey$1(key) {
30487 return J.contains$1$asx(this.get$keys(this), key);
30488 },
30489 get$length(_) {
30490 return J.get$length$asx(this.get$keys(this));
30491 },
30492 get$isEmpty(_) {
30493 return J.get$isEmpty$asx(this.get$keys(this));
30494 },
30495 get$isNotEmpty(_) {
30496 return J.get$isNotEmpty$asx(this.get$keys(this));
30497 },
30498 get$values(_) {
30499 var t1 = A._instanceType(this);
30500 return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
30501 },
30502 toString$0(_) {
30503 return A.MapBase_mapToString(this);
30504 },
30505 $isMap: 1
30506 };
30507 A.MapMixin_addAll_closure.prototype = {
30508 call$2(key, value) {
30509 this.$this.$indexSet(0, key, value);
30510 },
30511 $signature() {
30512 return A._instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)");
30513 }
30514 };
30515 A.MapMixin_entries_closure.prototype = {
30516 call$1(key) {
30517 var t1 = this.$this,
30518 t2 = t1.$index(0, key);
30519 if (t2 == null)
30520 t2 = A._instanceType(t1)._eval$1("MapMixin.V")._as(t2);
30521 t1 = A._instanceType(t1);
30522 return new A.MapEntry(key, t2, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>"));
30523 },
30524 $signature() {
30525 return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
30526 }
30527 };
30528 A.UnmodifiableMapBase.prototype = {};
30529 A._MapBaseValueIterable.prototype = {
30530 get$length(_) {
30531 var t1 = this._map;
30532 return t1.get$length(t1);
30533 },
30534 get$isEmpty(_) {
30535 var t1 = this._map;
30536 return t1.get$isEmpty(t1);
30537 },
30538 get$isNotEmpty(_) {
30539 var t1 = this._map;
30540 return t1.get$isNotEmpty(t1);
30541 },
30542 get$first(_) {
30543 var t1 = this._map;
30544 t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
30545 return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
30546 },
30547 get$single(_) {
30548 var t1 = this._map;
30549 t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
30550 return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
30551 },
30552 get$last(_) {
30553 var t1 = this._map;
30554 t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
30555 return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
30556 },
30557 get$iterator(_) {
30558 var t1 = this._map;
30559 return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
30560 }
30561 };
30562 A._MapBaseValueIterator.prototype = {
30563 moveNext$0() {
30564 var _this = this,
30565 t1 = _this._keys;
30566 if (t1.moveNext$0()) {
30567 _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
30568 return true;
30569 }
30570 _this._collection$_current = null;
30571 return false;
30572 },
30573 get$current(_) {
30574 var t1 = this._collection$_current;
30575 return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
30576 }
30577 };
30578 A._UnmodifiableMapMixin.prototype = {
30579 $indexSet(_, key, value) {
30580 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30581 },
30582 addAll$1(_, other) {
30583 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30584 },
30585 remove$1(_, key) {
30586 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30587 }
30588 };
30589 A.MapView.prototype = {
30590 cast$2$0(_, RK, RV) {
30591 return this._map.cast$2$0(0, RK, RV);
30592 },
30593 $index(_, key) {
30594 return this._map.$index(0, key);
30595 },
30596 $indexSet(_, key, value) {
30597 this._map.$indexSet(0, key, value);
30598 },
30599 addAll$1(_, other) {
30600 this._map.addAll$1(0, other);
30601 },
30602 containsKey$1(key) {
30603 return this._map.containsKey$1(key);
30604 },
30605 forEach$1(_, action) {
30606 this._map.forEach$1(0, action);
30607 },
30608 get$isEmpty(_) {
30609 var t1 = this._map;
30610 return t1.get$isEmpty(t1);
30611 },
30612 get$isNotEmpty(_) {
30613 var t1 = this._map;
30614 return t1.get$isNotEmpty(t1);
30615 },
30616 get$length(_) {
30617 var t1 = this._map;
30618 return t1.get$length(t1);
30619 },
30620 get$keys(_) {
30621 var t1 = this._map;
30622 return t1.get$keys(t1);
30623 },
30624 remove$1(_, key) {
30625 return this._map.remove$1(0, key);
30626 },
30627 toString$0(_) {
30628 return this._map.toString$0(0);
30629 },
30630 get$values(_) {
30631 var t1 = this._map;
30632 return t1.get$values(t1);
30633 },
30634 get$entries(_) {
30635 var t1 = this._map;
30636 return t1.get$entries(t1);
30637 },
30638 $isMap: 1
30639 };
30640 A.UnmodifiableMapView.prototype = {
30641 cast$2$0(_, RK, RV) {
30642 return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
30643 }
30644 };
30645 A.ListQueue.prototype = {
30646 get$iterator(_) {
30647 var _this = this;
30648 return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
30649 },
30650 get$isEmpty(_) {
30651 return this._collection$_head === this._collection$_tail;
30652 },
30653 get$length(_) {
30654 return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
30655 },
30656 get$first(_) {
30657 var _this = this,
30658 t1 = _this._collection$_head;
30659 if (t1 === _this._collection$_tail)
30660 throw A.wrapException(A.IterableElementError_noElement());
30661 t1 = _this._collection$_table[t1];
30662 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30663 },
30664 get$last(_) {
30665 var _this = this,
30666 t1 = _this._collection$_head,
30667 t2 = _this._collection$_tail;
30668 if (t1 === t2)
30669 throw A.wrapException(A.IterableElementError_noElement());
30670 t1 = _this._collection$_table;
30671 t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
30672 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30673 },
30674 get$single(_) {
30675 var t1, _this = this;
30676 if (_this._collection$_head === _this._collection$_tail)
30677 throw A.wrapException(A.IterableElementError_noElement());
30678 if (_this.get$length(_this) > 1)
30679 throw A.wrapException(A.IterableElementError_tooMany());
30680 t1 = _this._collection$_table[_this._collection$_head];
30681 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30682 },
30683 elementAt$1(_, index) {
30684 var t1, _this = this;
30685 A.RangeError_checkValidIndex(index, _this, null);
30686 t1 = _this._collection$_table;
30687 t1 = t1[(_this._collection$_head + index & t1.length - 1) >>> 0];
30688 return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
30689 },
30690 toList$1$growable(_, growable) {
30691 var t1, list, t2, t3, i, t4, _this = this,
30692 mask = _this._collection$_table.length - 1,
30693 $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
30694 if ($length === 0) {
30695 t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
30696 return t1;
30697 }
30698 t1 = _this.$ti._precomputed1;
30699 list = A.List_List$filled($length, _this.get$first(_this), true, t1);
30700 for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i) {
30701 t4 = t2[(t3 + i & mask) >>> 0];
30702 list[i] = t4 == null ? t1._as(t4) : t4;
30703 }
30704 return list;
30705 },
30706 toList$0($receiver) {
30707 return this.toList$1$growable($receiver, true);
30708 },
30709 add$1(_, value) {
30710 this._add$1(value);
30711 },
30712 addAll$1(_, elements) {
30713 var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
30714 t1 = _this.$ti;
30715 if (t1._eval$1("List<1>")._is(elements)) {
30716 addCount = J.get$length$asx(elements);
30717 $length = _this.get$length(_this);
30718 t2 = $length + addCount;
30719 t3 = _this._collection$_table;
30720 t4 = t3.length;
30721 if (t2 >= t4) {
30722 newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
30723 _this._collection$_tail = _this._collection$_writeToList$1(newTable);
30724 _this._collection$_table = newTable;
30725 _this._collection$_head = 0;
30726 B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
30727 _this._collection$_tail += addCount;
30728 } else {
30729 t1 = _this._collection$_tail;
30730 endSpace = t4 - t1;
30731 if (addCount < endSpace) {
30732 B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
30733 _this._collection$_tail += addCount;
30734 } else {
30735 preSpace = addCount - endSpace;
30736 B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
30737 B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
30738 _this._collection$_tail = preSpace;
30739 }
30740 }
30741 ++_this._modificationCount;
30742 } else
30743 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30744 _this._add$1(t1.get$current(t1));
30745 },
30746 clear$0(_) {
30747 var t2, t3, _this = this,
30748 i = _this._collection$_head,
30749 t1 = _this._collection$_tail;
30750 if (i !== t1) {
30751 for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
30752 t2[i] = null;
30753 _this._collection$_head = _this._collection$_tail = 0;
30754 ++_this._modificationCount;
30755 }
30756 },
30757 toString$0(_) {
30758 return A.IterableBase_iterableToFullString(this, "{", "}");
30759 },
30760 addFirst$1(value) {
30761 var _this = this,
30762 t1 = _this._collection$_head,
30763 t2 = _this._collection$_table;
30764 t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
30765 t2[t1] = value;
30766 if (t1 === _this._collection$_tail)
30767 _this._collection$_grow$0();
30768 ++_this._modificationCount;
30769 },
30770 removeFirst$0() {
30771 var t2, result, _this = this,
30772 t1 = _this._collection$_head;
30773 if (t1 === _this._collection$_tail)
30774 throw A.wrapException(A.IterableElementError_noElement());
30775 ++_this._modificationCount;
30776 t2 = _this._collection$_table;
30777 result = t2[t1];
30778 if (result == null)
30779 result = _this.$ti._precomputed1._as(result);
30780 t2[t1] = null;
30781 _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
30782 return result;
30783 },
30784 removeLast$0(_) {
30785 var result, _this = this,
30786 t1 = _this._collection$_head,
30787 t2 = _this._collection$_tail;
30788 if (t1 === t2)
30789 throw A.wrapException(A.IterableElementError_noElement());
30790 ++_this._modificationCount;
30791 t1 = _this._collection$_table;
30792 t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
30793 result = t1[t2];
30794 if (result == null)
30795 result = _this.$ti._precomputed1._as(result);
30796 t1[t2] = null;
30797 return result;
30798 },
30799 _add$1(element) {
30800 var _this = this,
30801 t1 = _this._collection$_table,
30802 t2 = _this._collection$_tail;
30803 t1[t2] = element;
30804 t1 = (t2 + 1 & t1.length - 1) >>> 0;
30805 _this._collection$_tail = t1;
30806 if (_this._collection$_head === t1)
30807 _this._collection$_grow$0();
30808 ++_this._modificationCount;
30809 },
30810 _collection$_grow$0() {
30811 var _this = this,
30812 newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
30813 t1 = _this._collection$_table,
30814 t2 = _this._collection$_head,
30815 split = t1.length - t2;
30816 B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
30817 B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
30818 _this._collection$_head = 0;
30819 _this._collection$_tail = _this._collection$_table.length;
30820 _this._collection$_table = newTable;
30821 },
30822 _collection$_writeToList$1(target) {
30823 var $length, firstPartSize, _this = this,
30824 t1 = _this._collection$_head,
30825 t2 = _this._collection$_tail,
30826 t3 = _this._collection$_table;
30827 if (t1 <= t2) {
30828 $length = t2 - t1;
30829 B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
30830 return $length;
30831 } else {
30832 firstPartSize = t3.length - t1;
30833 B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
30834 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
30835 return _this._collection$_tail + firstPartSize;
30836 }
30837 },
30838 $isQueue: 1
30839 };
30840 A._ListQueueIterator.prototype = {
30841 get$current(_) {
30842 var t1 = this._collection$_current;
30843 return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
30844 },
30845 moveNext$0() {
30846 var t2, _this = this,
30847 t1 = _this._queue;
30848 if (_this._modificationCount !== t1._modificationCount)
30849 A.throwExpression(A.ConcurrentModificationError$(t1));
30850 t2 = _this._collection$_position;
30851 if (t2 === _this._collection$_end) {
30852 _this._collection$_current = null;
30853 return false;
30854 }
30855 t1 = t1._collection$_table;
30856 _this._collection$_current = t1[t2];
30857 _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
30858 return true;
30859 }
30860 };
30861 A.SetMixin.prototype = {
30862 get$isEmpty(_) {
30863 return this.get$length(this) === 0;
30864 },
30865 get$isNotEmpty(_) {
30866 return this.get$length(this) !== 0;
30867 },
30868 addAll$1(_, elements) {
30869 var t1;
30870 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30871 this.add$1(0, t1.get$current(t1));
30872 },
30873 removeAll$1(elements) {
30874 var t1;
30875 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30876 this.remove$1(0, t1.get$current(t1));
30877 },
30878 toList$1$growable(_, growable) {
30879 return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
30880 },
30881 toList$0($receiver) {
30882 return this.toList$1$growable($receiver, true);
30883 },
30884 map$1$1(_, f, $T) {
30885 return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
30886 },
30887 get$single(_) {
30888 var it, _this = this;
30889 if (_this.get$length(_this) > 1)
30890 throw A.wrapException(A.IterableElementError_tooMany());
30891 it = _this.get$iterator(_this);
30892 if (!it.moveNext$0())
30893 throw A.wrapException(A.IterableElementError_noElement());
30894 return it.get$current(it);
30895 },
30896 toString$0(_) {
30897 return A.IterableBase_iterableToFullString(this, "{", "}");
30898 },
30899 where$1(_, f) {
30900 return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
30901 },
30902 join$1(_, separator) {
30903 var t1,
30904 iterator = this.get$iterator(this);
30905 if (!iterator.moveNext$0())
30906 return "";
30907 if (separator === "") {
30908 t1 = "";
30909 do
30910 t1 += A.S(iterator.get$current(iterator));
30911 while (iterator.moveNext$0());
30912 } else {
30913 t1 = "" + A.S(iterator.get$current(iterator));
30914 for (; iterator.moveNext$0();)
30915 t1 = t1 + separator + A.S(iterator.get$current(iterator));
30916 }
30917 return t1.charCodeAt(0) == 0 ? t1 : t1;
30918 },
30919 join$0($receiver) {
30920 return this.join$1($receiver, "");
30921 },
30922 any$1(_, test) {
30923 var t1;
30924 for (t1 = this.get$iterator(this); t1.moveNext$0();)
30925 if (test.call$1(t1.get$current(t1)))
30926 return true;
30927 return false;
30928 },
30929 take$1(_, n) {
30930 return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
30931 },
30932 skip$1(_, n) {
30933 return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
30934 },
30935 get$first(_) {
30936 var it = this.get$iterator(this);
30937 if (!it.moveNext$0())
30938 throw A.wrapException(A.IterableElementError_noElement());
30939 return it.get$current(it);
30940 },
30941 get$last(_) {
30942 var result,
30943 it = this.get$iterator(this);
30944 if (!it.moveNext$0())
30945 throw A.wrapException(A.IterableElementError_noElement());
30946 do
30947 result = it.get$current(it);
30948 while (it.moveNext$0());
30949 return result;
30950 },
30951 elementAt$1(_, index) {
30952 var t1, elementIndex, element, _s5_ = "index";
30953 A.checkNotNullable(index, _s5_, type$.int);
30954 A.RangeError_checkNotNegative(index, _s5_);
30955 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
30956 element = t1.get$current(t1);
30957 if (index === elementIndex)
30958 return element;
30959 ++elementIndex;
30960 }
30961 throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
30962 }
30963 };
30964 A._SetBase.prototype = {
30965 difference$1(other) {
30966 var t1, t2, element,
30967 result = this._newSet$0();
30968 for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
30969 element = t1.get$current(t1);
30970 if (!t2.contains$1(0, element))
30971 result.add$1(0, element);
30972 }
30973 return result;
30974 },
30975 intersection$1(other) {
30976 var t1, t2, element,
30977 result = this._newSet$0();
30978 for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
30979 element = t1.get$current(t1);
30980 if (t2.containsKey$1(element))
30981 result.add$1(0, element);
30982 }
30983 return result;
30984 },
30985 toSet$0(_) {
30986 var t1 = this._newSet$0();
30987 t1.addAll$1(0, this);
30988 return t1;
30989 },
30990 $isEfficientLengthIterable: 1,
30991 $isIterable: 1,
30992 $isSet: 1
30993 };
30994 A._UnmodifiableSetMixin.prototype = {
30995 add$1(_, value) {
30996 return A._UnmodifiableSetMixin__throwUnmodifiable();
30997 },
30998 addAll$1(_, elements) {
30999 return A._UnmodifiableSetMixin__throwUnmodifiable();
31000 },
31001 remove$1(_, value) {
31002 return A._UnmodifiableSetMixin__throwUnmodifiable();
31003 }
31004 };
31005 A._UnmodifiableSet.prototype = {
31006 _newSet$0() {
31007 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
31008 },
31009 contains$1(_, element) {
31010 return this._map.containsKey$1(element);
31011 },
31012 get$iterator(_) {
31013 var t1 = this._map;
31014 return J.get$iterator$ax(t1.get$keys(t1));
31015 },
31016 get$length(_) {
31017 var t1 = this._map;
31018 return t1.get$length(t1);
31019 }
31020 };
31021 A._ListBase_Object_ListMixin.prototype = {};
31022 A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
31023 A.__SetBase_Object_SetMixin.prototype = {};
31024 A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
31025 A.Utf8Decoder__decoder_closure.prototype = {
31026 call$0() {
31027 var t1, exception;
31028 try {
31029 t1 = new TextDecoder("utf-8", {fatal: true});
31030 return t1;
31031 } catch (exception) {
31032 }
31033 return null;
31034 },
31035 $signature: 94
31036 };
31037 A.Utf8Decoder__decoderNonfatal_closure.prototype = {
31038 call$0() {
31039 var t1, exception;
31040 try {
31041 t1 = new TextDecoder("utf-8", {fatal: false});
31042 return t1;
31043 } catch (exception) {
31044 }
31045 return null;
31046 },
31047 $signature: 94
31048 };
31049 A.AsciiCodec.prototype = {
31050 encode$1(source) {
31051 return B.AsciiEncoder_127.convert$1(source);
31052 },
31053 get$encoder() {
31054 return B.AsciiEncoder_127;
31055 }
31056 };
31057 A._UnicodeSubsetEncoder.prototype = {
31058 convert$1(string) {
31059 var t1, i, codeUnit,
31060 $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
31061 result = new Uint8Array($length);
31062 for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
31063 codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
31064 if ((codeUnit & t1) !== 0)
31065 throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
31066 result[i] = codeUnit;
31067 }
31068 return result;
31069 }
31070 };
31071 A.AsciiEncoder.prototype = {};
31072 A.Base64Codec.prototype = {
31073 get$encoder() {
31074 return B.C_Base64Encoder;
31075 },
31076 normalize$3(source, start, end) {
31077 var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
31078 _s31_ = "Invalid base64 encoding length ";
31079 end = A.RangeError_checkValidRange(start, end, source.length);
31080 inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
31081 for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
31082 i0 = i + 1;
31083 char = B.JSString_methods._codeUnitAt$1(source, i);
31084 if (char === 37) {
31085 i1 = i0 + 2;
31086 if (i1 <= end) {
31087 digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
31088 digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
31089 char0 = digit1 * 16 + digit2 - (digit2 & 256);
31090 if (char0 === 37)
31091 char0 = -1;
31092 i0 = i1;
31093 } else
31094 char0 = -1;
31095 } else
31096 char0 = char;
31097 if (0 <= char0 && char0 <= 127) {
31098 value = inverseAlphabet[char0];
31099 if (value >= 0) {
31100 char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
31101 if (char0 === char)
31102 continue;
31103 char = char0;
31104 } else {
31105 if (value === -1) {
31106 if (firstPadding < 0) {
31107 t1 = buffer == null ? null : buffer._contents.length;
31108 if (t1 == null)
31109 t1 = 0;
31110 firstPadding = t1 + (i - sliceStart);
31111 firstPaddingSourceIndex = i;
31112 }
31113 ++paddingCount;
31114 if (char === 61)
31115 continue;
31116 }
31117 char = char0;
31118 }
31119 if (value !== -2) {
31120 if (buffer == null) {
31121 buffer = new A.StringBuffer("");
31122 t1 = buffer;
31123 } else
31124 t1 = buffer;
31125 t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
31126 t1._contents = t2 + A.Primitives_stringFromCharCode(char);
31127 sliceStart = i0;
31128 continue;
31129 }
31130 }
31131 throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
31132 }
31133 if (buffer != null) {
31134 t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
31135 t2 = t1.length;
31136 if (firstPadding >= 0)
31137 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
31138 else {
31139 endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
31140 if (endLength === 1)
31141 throw A.wrapException(A.FormatException$(_s31_, source, end));
31142 for (; endLength < 4;) {
31143 t1 += "=";
31144 buffer._contents = t1;
31145 ++endLength;
31146 }
31147 }
31148 t1 = buffer._contents;
31149 return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
31150 }
31151 $length = end - start;
31152 if (firstPadding >= 0)
31153 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
31154 else {
31155 endLength = B.JSInt_methods.$mod($length, 4);
31156 if (endLength === 1)
31157 throw A.wrapException(A.FormatException$(_s31_, source, end));
31158 if (endLength > 1)
31159 source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
31160 }
31161 return source;
31162 }
31163 };
31164 A.Base64Encoder.prototype = {
31165 convert$1(input) {
31166 var t1 = J.getInterceptor$asx(input);
31167 if (t1.get$isEmpty(input))
31168 return "";
31169 t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
31170 t1.toString;
31171 return A.String_String$fromCharCodes(t1, 0, null);
31172 },
31173 startChunkedConversion$1(sink) {
31174 return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
31175 }
31176 };
31177 A._Base64Encoder.prototype = {
31178 createBuffer$1(bufferLength) {
31179 return new Uint8Array(bufferLength);
31180 },
31181 encode$4(bytes, start, end, isLast) {
31182 var output, _this = this,
31183 byteCount = (_this._convert$_state & 3) + (end - start),
31184 fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
31185 bufferLength = fullChunks * 4;
31186 if (isLast && byteCount - fullChunks * 3 > 0)
31187 bufferLength += 4;
31188 output = _this.createBuffer$1(bufferLength);
31189 _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
31190 if (bufferLength > 0)
31191 return output;
31192 return null;
31193 }
31194 };
31195 A._Base64EncoderSink.prototype = {
31196 add$1(_, source) {
31197 this._convert$_add$4(source, 0, source.get$length(source), false);
31198 }
31199 };
31200 A._Utf8Base64EncoderSink.prototype = {
31201 _convert$_add$4(source, start, end, isLast) {
31202 var buffer = this._encoder.encode$4(source, start, end, isLast);
31203 if (buffer != null)
31204 this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
31205 }
31206 };
31207 A.ByteConversionSink.prototype = {};
31208 A.ByteConversionSinkBase.prototype = {};
31209 A.ChunkedConversionSink.prototype = {};
31210 A.Codec.prototype = {
31211 encode$1(input) {
31212 return this.get$encoder().convert$1(input);
31213 }
31214 };
31215 A.Converter.prototype = {};
31216 A.Encoding.prototype = {};
31217 A.JsonUnsupportedObjectError.prototype = {
31218 toString$0(_) {
31219 var safeString = A.Error_safeToString(this.unsupportedObject);
31220 return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
31221 }
31222 };
31223 A.JsonCyclicError.prototype = {
31224 toString$0(_) {
31225 return "Cyclic error in JSON stringify";
31226 }
31227 };
31228 A.JsonCodec.prototype = {
31229 encode$2$toEncodable(value, toEncodable) {
31230 var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
31231 return t1;
31232 },
31233 get$encoder() {
31234 return B.JsonEncoder_null;
31235 }
31236 };
31237 A.JsonEncoder.prototype = {
31238 convert$1(object) {
31239 var t1,
31240 output = new A.StringBuffer(""),
31241 stringifier = A._JsonStringStringifier$(output, this._toEncodable);
31242 stringifier.writeObject$1(object);
31243 t1 = output._contents;
31244 return t1.charCodeAt(0) == 0 ? t1 : t1;
31245 }
31246 };
31247 A._JsonStringifier.prototype = {
31248 writeStringContent$1(s) {
31249 var offset, i, charCode, t1, t2, _this = this,
31250 $length = s.length;
31251 for (offset = 0, i = 0; i < $length; ++i) {
31252 charCode = B.JSString_methods._codeUnitAt$1(s, i);
31253 if (charCode > 92) {
31254 if (charCode >= 55296) {
31255 t1 = charCode & 64512;
31256 if (t1 === 55296) {
31257 t2 = i + 1;
31258 t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
31259 } else
31260 t2 = false;
31261 if (!t2)
31262 if (t1 === 56320) {
31263 t1 = i - 1;
31264 t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
31265 } else
31266 t1 = false;
31267 else
31268 t1 = true;
31269 if (t1) {
31270 if (i > offset)
31271 _this.writeStringSlice$3(s, offset, i);
31272 offset = i + 1;
31273 _this.writeCharCode$1(92);
31274 _this.writeCharCode$1(117);
31275 _this.writeCharCode$1(100);
31276 t1 = charCode >>> 8 & 15;
31277 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31278 t1 = charCode >>> 4 & 15;
31279 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31280 t1 = charCode & 15;
31281 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31282 }
31283 }
31284 continue;
31285 }
31286 if (charCode < 32) {
31287 if (i > offset)
31288 _this.writeStringSlice$3(s, offset, i);
31289 offset = i + 1;
31290 _this.writeCharCode$1(92);
31291 switch (charCode) {
31292 case 8:
31293 _this.writeCharCode$1(98);
31294 break;
31295 case 9:
31296 _this.writeCharCode$1(116);
31297 break;
31298 case 10:
31299 _this.writeCharCode$1(110);
31300 break;
31301 case 12:
31302 _this.writeCharCode$1(102);
31303 break;
31304 case 13:
31305 _this.writeCharCode$1(114);
31306 break;
31307 default:
31308 _this.writeCharCode$1(117);
31309 _this.writeCharCode$1(48);
31310 _this.writeCharCode$1(48);
31311 t1 = charCode >>> 4 & 15;
31312 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31313 t1 = charCode & 15;
31314 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31315 break;
31316 }
31317 } else if (charCode === 34 || charCode === 92) {
31318 if (i > offset)
31319 _this.writeStringSlice$3(s, offset, i);
31320 offset = i + 1;
31321 _this.writeCharCode$1(92);
31322 _this.writeCharCode$1(charCode);
31323 }
31324 }
31325 if (offset === 0)
31326 _this.writeString$1(s);
31327 else if (offset < $length)
31328 _this.writeStringSlice$3(s, offset, $length);
31329 },
31330 _checkCycle$1(object) {
31331 var t1, t2, i, t3;
31332 for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
31333 t3 = t1[i];
31334 if (object == null ? t3 == null : object === t3)
31335 throw A.wrapException(new A.JsonCyclicError(object, null));
31336 }
31337 t1.push(object);
31338 },
31339 writeObject$1(object) {
31340 var customJson, e, t1, exception, _this = this;
31341 if (_this.writeJsonValue$1(object))
31342 return;
31343 _this._checkCycle$1(object);
31344 try {
31345 customJson = _this._toEncodable.call$1(object);
31346 if (!_this.writeJsonValue$1(customJson)) {
31347 t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
31348 throw A.wrapException(t1);
31349 }
31350 _this._seen.pop();
31351 } catch (exception) {
31352 e = A.unwrapException(exception);
31353 t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
31354 throw A.wrapException(t1);
31355 }
31356 },
31357 writeJsonValue$1(object) {
31358 var success, _this = this;
31359 if (typeof object == "number") {
31360 if (!isFinite(object))
31361 return false;
31362 _this.writeNumber$1(object);
31363 return true;
31364 } else if (object === true) {
31365 _this.writeString$1("true");
31366 return true;
31367 } else if (object === false) {
31368 _this.writeString$1("false");
31369 return true;
31370 } else if (object == null) {
31371 _this.writeString$1("null");
31372 return true;
31373 } else if (typeof object == "string") {
31374 _this.writeString$1('"');
31375 _this.writeStringContent$1(object);
31376 _this.writeString$1('"');
31377 return true;
31378 } else if (type$.List_dynamic._is(object)) {
31379 _this._checkCycle$1(object);
31380 _this.writeList$1(object);
31381 _this._seen.pop();
31382 return true;
31383 } else if (type$.Map_dynamic_dynamic._is(object)) {
31384 _this._checkCycle$1(object);
31385 success = _this.writeMap$1(object);
31386 _this._seen.pop();
31387 return success;
31388 } else
31389 return false;
31390 },
31391 writeList$1(list) {
31392 var t1, i, _this = this;
31393 _this.writeString$1("[");
31394 t1 = J.getInterceptor$asx(list);
31395 if (t1.get$isNotEmpty(list)) {
31396 _this.writeObject$1(t1.$index(list, 0));
31397 for (i = 1; i < t1.get$length(list); ++i) {
31398 _this.writeString$1(",");
31399 _this.writeObject$1(t1.$index(list, i));
31400 }
31401 }
31402 _this.writeString$1("]");
31403 },
31404 writeMap$1(map) {
31405 var t1, keyValueList, i, separator, _this = this, _box_0 = {};
31406 if (map.get$isEmpty(map)) {
31407 _this.writeString$1("{}");
31408 return true;
31409 }
31410 t1 = map.get$length(map) * 2;
31411 keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
31412 i = _box_0.i = 0;
31413 _box_0.allStringKeys = true;
31414 map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
31415 if (!_box_0.allStringKeys)
31416 return false;
31417 _this.writeString$1("{");
31418 for (separator = '"'; i < t1; i += 2, separator = ',"') {
31419 _this.writeString$1(separator);
31420 _this.writeStringContent$1(A._asString(keyValueList[i]));
31421 _this.writeString$1('":');
31422 _this.writeObject$1(keyValueList[i + 1]);
31423 }
31424 _this.writeString$1("}");
31425 return true;
31426 }
31427 };
31428 A._JsonStringifier_writeMap_closure.prototype = {
31429 call$2(key, value) {
31430 var t1, t2, t3, i;
31431 if (typeof key != "string")
31432 this._box_0.allStringKeys = false;
31433 t1 = this.keyValueList;
31434 t2 = this._box_0;
31435 t3 = t2.i;
31436 i = t2.i = t3 + 1;
31437 t1[t3] = key;
31438 t2.i = i + 1;
31439 t1[i] = value;
31440 },
31441 $signature: 230
31442 };
31443 A._JsonStringStringifier.prototype = {
31444 get$_partialResult() {
31445 var t1 = this._sink._contents;
31446 return t1.charCodeAt(0) == 0 ? t1 : t1;
31447 },
31448 writeNumber$1(number) {
31449 this._sink._contents += B.JSNumber_methods.toString$0(number);
31450 },
31451 writeString$1(string) {
31452 this._sink._contents += string;
31453 },
31454 writeStringSlice$3(string, start, end) {
31455 this._sink._contents += B.JSString_methods.substring$2(string, start, end);
31456 },
31457 writeCharCode$1(charCode) {
31458 this._sink._contents += A.Primitives_stringFromCharCode(charCode);
31459 }
31460 };
31461 A.StringConversionSinkBase.prototype = {};
31462 A.StringConversionSinkMixin.prototype = {
31463 add$1(_, str) {
31464 this.addSlice$4(str, 0, str.length, false);
31465 }
31466 };
31467 A._StringSinkConversionSink.prototype = {
31468 close$0(_) {
31469 },
31470 addSlice$4(str, start, end, isLast) {
31471 var t1, i;
31472 if (start !== 0 || end !== str.length)
31473 for (t1 = this._stringSink, i = start; i < end; ++i)
31474 t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
31475 else
31476 this._stringSink._contents += str;
31477 if (isLast)
31478 this.close$0(0);
31479 },
31480 add$1(_, str) {
31481 this._stringSink._contents += str;
31482 }
31483 };
31484 A._StringCallbackSink.prototype = {
31485 close$0(_) {
31486 var t1 = this._stringSink,
31487 t2 = t1._contents;
31488 t1._contents = "";
31489 this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
31490 },
31491 asUtf8Sink$1(allowMalformed) {
31492 return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
31493 }
31494 };
31495 A._Utf8StringSinkAdapter.prototype = {
31496 close$0(_) {
31497 this._decoder.flush$1(this._stringSink);
31498 this._sink.close$0(0);
31499 },
31500 add$1(_, chunk) {
31501 this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
31502 },
31503 addSlice$4(codeUnits, startIndex, endIndex, isLast) {
31504 this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
31505 if (isLast)
31506 this.close$0(0);
31507 }
31508 };
31509 A.Utf8Codec.prototype = {
31510 get$encoder() {
31511 return B.C_Utf8Encoder;
31512 }
31513 };
31514 A.Utf8Encoder.prototype = {
31515 convert$1(string) {
31516 var t1, encoder,
31517 end = A.RangeError_checkValidRange(0, null, string.length),
31518 $length = end - 0;
31519 if ($length === 0)
31520 return new Uint8Array(0);
31521 t1 = new Uint8Array($length * 3);
31522 encoder = new A._Utf8Encoder(t1);
31523 if (encoder._fillBuffer$3(string, 0, end) !== end) {
31524 B.JSString_methods.codeUnitAt$1(string, end - 1);
31525 encoder._writeReplacementCharacter$0();
31526 }
31527 return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
31528 }
31529 };
31530 A._Utf8Encoder.prototype = {
31531 _writeReplacementCharacter$0() {
31532 var _this = this,
31533 t1 = _this._convert$_buffer,
31534 t2 = _this._bufferIndex,
31535 t3 = _this._bufferIndex = t2 + 1;
31536 t1[t2] = 239;
31537 t2 = _this._bufferIndex = t3 + 1;
31538 t1[t3] = 191;
31539 _this._bufferIndex = t2 + 1;
31540 t1[t2] = 189;
31541 },
31542 _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
31543 var rune, t1, t2, t3, _this = this;
31544 if ((nextCodeUnit & 64512) === 56320) {
31545 rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
31546 t1 = _this._convert$_buffer;
31547 t2 = _this._bufferIndex;
31548 t3 = _this._bufferIndex = t2 + 1;
31549 t1[t2] = rune >>> 18 | 240;
31550 t2 = _this._bufferIndex = t3 + 1;
31551 t1[t3] = rune >>> 12 & 63 | 128;
31552 t3 = _this._bufferIndex = t2 + 1;
31553 t1[t2] = rune >>> 6 & 63 | 128;
31554 _this._bufferIndex = t3 + 1;
31555 t1[t3] = rune & 63 | 128;
31556 return true;
31557 } else {
31558 _this._writeReplacementCharacter$0();
31559 return false;
31560 }
31561 },
31562 _fillBuffer$3(str, start, end) {
31563 var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
31564 if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
31565 --end;
31566 for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
31567 codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
31568 if (codeUnit <= 127) {
31569 t3 = _this._bufferIndex;
31570 if (t3 >= t2)
31571 break;
31572 _this._bufferIndex = t3 + 1;
31573 t1[t3] = codeUnit;
31574 } else {
31575 t3 = codeUnit & 64512;
31576 if (t3 === 55296) {
31577 if (_this._bufferIndex + 4 > t2)
31578 break;
31579 stringIndex0 = stringIndex + 1;
31580 if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
31581 stringIndex = stringIndex0;
31582 } else if (t3 === 56320) {
31583 if (_this._bufferIndex + 3 > t2)
31584 break;
31585 _this._writeReplacementCharacter$0();
31586 } else if (codeUnit <= 2047) {
31587 t3 = _this._bufferIndex;
31588 t4 = t3 + 1;
31589 if (t4 >= t2)
31590 break;
31591 _this._bufferIndex = t4;
31592 t1[t3] = codeUnit >>> 6 | 192;
31593 _this._bufferIndex = t4 + 1;
31594 t1[t4] = codeUnit & 63 | 128;
31595 } else {
31596 t3 = _this._bufferIndex;
31597 if (t3 + 2 >= t2)
31598 break;
31599 t4 = _this._bufferIndex = t3 + 1;
31600 t1[t3] = codeUnit >>> 12 | 224;
31601 t3 = _this._bufferIndex = t4 + 1;
31602 t1[t4] = codeUnit >>> 6 & 63 | 128;
31603 _this._bufferIndex = t3 + 1;
31604 t1[t3] = codeUnit & 63 | 128;
31605 }
31606 }
31607 }
31608 return stringIndex;
31609 }
31610 };
31611 A.Utf8Decoder.prototype = {
31612 convert$1(codeUnits) {
31613 var t1 = this._allowMalformed,
31614 result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
31615 if (result != null)
31616 return result;
31617 return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
31618 }
31619 };
31620 A._Utf8Decoder.prototype = {
31621 convertGeneral$4(codeUnits, start, maybeEnd, single) {
31622 var bytes, errorOffset, result, t1, message, _this = this,
31623 end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
31624 if (start === end)
31625 return "";
31626 if (type$.Uint8List._is(codeUnits)) {
31627 bytes = codeUnits;
31628 errorOffset = 0;
31629 } else {
31630 bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
31631 end -= start;
31632 errorOffset = start;
31633 start = 0;
31634 }
31635 result = _this._convertRecursive$4(bytes, start, end, single);
31636 t1 = _this._convert$_state;
31637 if ((t1 & 1) !== 0) {
31638 message = A._Utf8Decoder_errorDescription(t1);
31639 _this._convert$_state = 0;
31640 throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
31641 }
31642 return result;
31643 },
31644 _convertRecursive$4(bytes, start, end, single) {
31645 var mid, s1, _this = this;
31646 if (end - start > 1000) {
31647 mid = B.JSInt_methods._tdivFast$1(start + end, 2);
31648 s1 = _this._convertRecursive$4(bytes, start, mid, false);
31649 if ((_this._convert$_state & 1) !== 0)
31650 return s1;
31651 return s1 + _this._convertRecursive$4(bytes, mid, end, single);
31652 }
31653 return _this.decodeGeneral$4(bytes, start, end, single);
31654 },
31655 flush$1(sink) {
31656 var state = this._convert$_state;
31657 this._convert$_state = 0;
31658 if (state <= 32)
31659 return;
31660 if (this.allowMalformed)
31661 sink._contents += A.Primitives_stringFromCharCode(65533);
31662 else
31663 throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
31664 },
31665 decodeGeneral$4(bytes, start, end, single) {
31666 var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
31667 state = _this._convert$_state,
31668 char = _this._charOrIndex,
31669 buffer = new A.StringBuffer(""),
31670 i = start + 1,
31671 byte = bytes[start];
31672 $label0$0:
31673 for (t1 = _this.allowMalformed; true;) {
31674 for (; true; i = i0) {
31675 type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
31676 char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
31677 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);
31678 if (state === 0) {
31679 buffer._contents += A.Primitives_stringFromCharCode(char);
31680 if (i === end)
31681 break $label0$0;
31682 break;
31683 } else if ((state & 1) !== 0) {
31684 if (t1)
31685 switch (state) {
31686 case 69:
31687 case 67:
31688 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31689 break;
31690 case 65:
31691 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31692 --i;
31693 break;
31694 default:
31695 t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
31696 buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
31697 break;
31698 }
31699 else {
31700 _this._convert$_state = state;
31701 _this._charOrIndex = i - 1;
31702 return "";
31703 }
31704 state = 0;
31705 }
31706 if (i === end)
31707 break $label0$0;
31708 i0 = i + 1;
31709 byte = bytes[i];
31710 }
31711 i0 = i + 1;
31712 byte = bytes[i];
31713 if (byte < 128) {
31714 while (true) {
31715 if (!(i0 < end)) {
31716 markEnd = end;
31717 break;
31718 }
31719 i1 = i0 + 1;
31720 byte = bytes[i0];
31721 if (byte >= 128) {
31722 markEnd = i1 - 1;
31723 i0 = i1;
31724 break;
31725 }
31726 i0 = i1;
31727 }
31728 if (markEnd - i < 20)
31729 for (m = i; m < markEnd; ++m)
31730 buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
31731 else
31732 buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
31733 if (markEnd === end)
31734 break $label0$0;
31735 i = i0;
31736 } else
31737 i = i0;
31738 }
31739 if (single && state > 32)
31740 if (t1)
31741 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31742 else {
31743 _this._convert$_state = 77;
31744 _this._charOrIndex = end;
31745 return "";
31746 }
31747 _this._convert$_state = state;
31748 _this._charOrIndex = char;
31749 t1 = buffer._contents;
31750 return t1.charCodeAt(0) == 0 ? t1 : t1;
31751 }
31752 };
31753 A.NoSuchMethodError_toString_closure.prototype = {
31754 call$2(key, value) {
31755 var t1 = this.sb,
31756 t2 = this._box_0,
31757 t3 = t1._contents += t2.comma;
31758 t3 += key.__internal$_name;
31759 t1._contents = t3;
31760 t1._contents = t3 + ": ";
31761 t1._contents += A.Error_safeToString(value);
31762 t2.comma = ", ";
31763 },
31764 $signature: 323
31765 };
31766 A.DateTime.prototype = {
31767 add$1(_, duration) {
31768 return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
31769 },
31770 $eq(_, other) {
31771 if (other == null)
31772 return false;
31773 return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
31774 },
31775 compareTo$1(_, other) {
31776 return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
31777 },
31778 get$hashCode(_) {
31779 var t1 = this._core$_value;
31780 return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
31781 },
31782 toString$0(_) {
31783 var _this = this,
31784 y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
31785 m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
31786 d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
31787 h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
31788 min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
31789 sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
31790 ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
31791 return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
31792 },
31793 $isComparable: 1
31794 };
31795 A.Duration.prototype = {
31796 $eq(_, other) {
31797 if (other == null)
31798 return false;
31799 return other instanceof A.Duration && this._duration === other._duration;
31800 },
31801 get$hashCode(_) {
31802 return B.JSInt_methods.get$hashCode(this._duration);
31803 },
31804 compareTo$1(_, other) {
31805 return B.JSInt_methods.compareTo$1(this._duration, other._duration);
31806 },
31807 toString$0(_) {
31808 var minutes, minutesPadding, seconds, secondsPadding,
31809 microseconds = this._duration,
31810 hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
31811 microseconds %= 3600000000;
31812 if (microseconds < 0)
31813 microseconds = -microseconds;
31814 minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
31815 microseconds %= 60000000;
31816 minutesPadding = minutes < 10 ? "0" : "";
31817 seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
31818 secondsPadding = seconds < 10 ? "0" : "";
31819 return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
31820 },
31821 $isComparable: 1
31822 };
31823 A.Error.prototype = {
31824 get$stackTrace() {
31825 return A.getTraceFromException(this.$thrownJsError);
31826 }
31827 };
31828 A.AssertionError.prototype = {
31829 toString$0(_) {
31830 var t1 = this.message;
31831 if (t1 != null)
31832 return "Assertion failed: " + A.Error_safeToString(t1);
31833 return "Assertion failed";
31834 },
31835 get$message(receiver) {
31836 return this.message;
31837 }
31838 };
31839 A.TypeError.prototype = {};
31840 A.NullThrownError.prototype = {
31841 toString$0(_) {
31842 return "Throw of null.";
31843 }
31844 };
31845 A.ArgumentError.prototype = {
31846 get$_errorName() {
31847 return "Invalid argument" + (!this._hasValue ? "(s)" : "");
31848 },
31849 get$_errorExplanation() {
31850 return "";
31851 },
31852 toString$0(_) {
31853 var _this = this,
31854 $name = _this.name,
31855 nameString = $name == null ? "" : " (" + $name + ")",
31856 message = _this.message,
31857 messageString = message == null ? "" : ": " + A.S(message),
31858 prefix = _this.get$_errorName() + nameString + messageString;
31859 if (!_this._hasValue)
31860 return prefix;
31861 return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.invalidValue);
31862 },
31863 get$message(receiver) {
31864 return this.message;
31865 }
31866 };
31867 A.RangeError.prototype = {
31868 get$_errorName() {
31869 return "RangeError";
31870 },
31871 get$_errorExplanation() {
31872 var explanation,
31873 start = this.start,
31874 end = this.end;
31875 if (start == null)
31876 explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
31877 else if (end == null)
31878 explanation = ": Not greater than or equal to " + A.S(start);
31879 else if (end > start)
31880 explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
31881 else
31882 explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
31883 return explanation;
31884 }
31885 };
31886 A.IndexError.prototype = {
31887 get$_errorName() {
31888 return "RangeError";
31889 },
31890 get$_errorExplanation() {
31891 if (this.invalidValue < 0)
31892 return ": index must not be negative";
31893 var t1 = this.length;
31894 if (t1 === 0)
31895 return ": no indices are valid";
31896 return ": index should be less than " + t1;
31897 },
31898 $isRangeError: 1,
31899 get$length(receiver) {
31900 return this.length;
31901 }
31902 };
31903 A.NoSuchMethodError.prototype = {
31904 toString$0(_) {
31905 var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
31906 sb = new A.StringBuffer("");
31907 _box_0.comma = "";
31908 $arguments = _this._core$_arguments;
31909 for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
31910 argument = $arguments[_i];
31911 sb._contents = t2 + t3;
31912 t2 = sb._contents += A.Error_safeToString(argument);
31913 _box_0.comma = ", ";
31914 }
31915 _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
31916 receiverText = A.Error_safeToString(_this._core$_receiver);
31917 actualParameters = sb.toString$0(0);
31918 return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
31919 }
31920 };
31921 A.UnsupportedError.prototype = {
31922 toString$0(_) {
31923 return "Unsupported operation: " + this.message;
31924 },
31925 get$message(receiver) {
31926 return this.message;
31927 }
31928 };
31929 A.UnimplementedError.prototype = {
31930 toString$0(_) {
31931 return "UnimplementedError: " + this.message;
31932 },
31933 get$message(receiver) {
31934 return this.message;
31935 }
31936 };
31937 A.StateError.prototype = {
31938 toString$0(_) {
31939 return "Bad state: " + this.message;
31940 },
31941 get$message(receiver) {
31942 return this.message;
31943 }
31944 };
31945 A.ConcurrentModificationError.prototype = {
31946 toString$0(_) {
31947 var t1 = this.modifiedObject;
31948 if (t1 == null)
31949 return "Concurrent modification during iteration.";
31950 return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
31951 }
31952 };
31953 A.OutOfMemoryError.prototype = {
31954 toString$0(_) {
31955 return "Out of Memory";
31956 },
31957 get$stackTrace() {
31958 return null;
31959 },
31960 $isError: 1
31961 };
31962 A.StackOverflowError.prototype = {
31963 toString$0(_) {
31964 return "Stack Overflow";
31965 },
31966 get$stackTrace() {
31967 return null;
31968 },
31969 $isError: 1
31970 };
31971 A.CyclicInitializationError.prototype = {
31972 toString$0(_) {
31973 return "Reading static variable '" + this.variableName + "' during its initialization";
31974 }
31975 };
31976 A._Exception.prototype = {
31977 toString$0(_) {
31978 return "Exception: " + this.message;
31979 },
31980 $isException: 1,
31981 get$message(receiver) {
31982 return this.message;
31983 }
31984 };
31985 A.FormatException.prototype = {
31986 toString$0(_) {
31987 var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
31988 message = this.message,
31989 report = "" !== message ? "FormatException: " + message : "FormatException",
31990 offset = this.offset,
31991 source = this.source;
31992 if (typeof source == "string") {
31993 if (offset != null)
31994 t1 = offset < 0 || offset > source.length;
31995 else
31996 t1 = false;
31997 if (t1)
31998 offset = null;
31999 if (offset == null) {
32000 if (source.length > 78)
32001 source = B.JSString_methods.substring$2(source, 0, 75) + "...";
32002 return report + "\n" + source;
32003 }
32004 for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
32005 char = B.JSString_methods._codeUnitAt$1(source, i);
32006 if (char === 10) {
32007 if (lineStart !== i || !previousCharWasCR)
32008 ++lineNum;
32009 lineStart = i + 1;
32010 previousCharWasCR = false;
32011 } else if (char === 13) {
32012 ++lineNum;
32013 lineStart = i + 1;
32014 previousCharWasCR = true;
32015 }
32016 }
32017 report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
32018 lineEnd = source.length;
32019 for (i = offset; i < lineEnd; ++i) {
32020 char = B.JSString_methods.codeUnitAt$1(source, i);
32021 if (char === 10 || char === 13) {
32022 lineEnd = i;
32023 break;
32024 }
32025 }
32026 if (lineEnd - lineStart > 78)
32027 if (offset - lineStart < 75) {
32028 end = lineStart + 75;
32029 start = lineStart;
32030 prefix = "";
32031 postfix = "...";
32032 } else {
32033 if (lineEnd - offset < 75) {
32034 start = lineEnd - 75;
32035 end = lineEnd;
32036 postfix = "";
32037 } else {
32038 start = offset - 36;
32039 end = offset + 36;
32040 postfix = "...";
32041 }
32042 prefix = "...";
32043 }
32044 else {
32045 end = lineEnd;
32046 start = lineStart;
32047 prefix = "";
32048 postfix = "";
32049 }
32050 return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
32051 } else
32052 return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
32053 },
32054 $isException: 1,
32055 get$message(receiver) {
32056 return this.message;
32057 }
32058 };
32059 A.Iterable.prototype = {
32060 cast$1$0(_, $R) {
32061 return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
32062 },
32063 followedBy$1(_, other) {
32064 var _this = this,
32065 t1 = A._instanceType(_this);
32066 if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
32067 return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
32068 return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
32069 },
32070 map$1$1(_, toElement, $T) {
32071 return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
32072 },
32073 where$1(_, test) {
32074 return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
32075 },
32076 expand$1$1(_, toElements, $T) {
32077 return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
32078 },
32079 contains$1(_, element) {
32080 var t1;
32081 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32082 if (J.$eq$(t1.get$current(t1), element))
32083 return true;
32084 return false;
32085 },
32086 fold$1$2(_, initialValue, combine) {
32087 var t1, value;
32088 for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
32089 value = combine.call$2(value, t1.get$current(t1));
32090 return value;
32091 },
32092 fold$2($receiver, initialValue, combine) {
32093 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
32094 },
32095 join$1(_, separator) {
32096 var t1,
32097 iterator = this.get$iterator(this);
32098 if (!iterator.moveNext$0())
32099 return "";
32100 if (separator === "") {
32101 t1 = "";
32102 do
32103 t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
32104 while (iterator.moveNext$0());
32105 } else {
32106 t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
32107 for (; iterator.moveNext$0();)
32108 t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
32109 }
32110 return t1.charCodeAt(0) == 0 ? t1 : t1;
32111 },
32112 join$0($receiver) {
32113 return this.join$1($receiver, "");
32114 },
32115 any$1(_, test) {
32116 var t1;
32117 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32118 if (test.call$1(t1.get$current(t1)))
32119 return true;
32120 return false;
32121 },
32122 toList$1$growable(_, growable) {
32123 return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
32124 },
32125 toList$0($receiver) {
32126 return this.toList$1$growable($receiver, true);
32127 },
32128 toSet$0(_) {
32129 return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
32130 },
32131 get$length(_) {
32132 var count,
32133 it = this.get$iterator(this);
32134 for (count = 0; it.moveNext$0();)
32135 ++count;
32136 return count;
32137 },
32138 get$isEmpty(_) {
32139 return !this.get$iterator(this).moveNext$0();
32140 },
32141 get$isNotEmpty(_) {
32142 return !this.get$isEmpty(this);
32143 },
32144 take$1(_, count) {
32145 return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32146 },
32147 skip$1(_, count) {
32148 return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32149 },
32150 skipWhile$1(_, test) {
32151 return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
32152 },
32153 get$first(_) {
32154 var it = this.get$iterator(this);
32155 if (!it.moveNext$0())
32156 throw A.wrapException(A.IterableElementError_noElement());
32157 return it.get$current(it);
32158 },
32159 get$last(_) {
32160 var result,
32161 it = this.get$iterator(this);
32162 if (!it.moveNext$0())
32163 throw A.wrapException(A.IterableElementError_noElement());
32164 do
32165 result = it.get$current(it);
32166 while (it.moveNext$0());
32167 return result;
32168 },
32169 get$single(_) {
32170 var result,
32171 it = this.get$iterator(this);
32172 if (!it.moveNext$0())
32173 throw A.wrapException(A.IterableElementError_noElement());
32174 result = it.get$current(it);
32175 if (it.moveNext$0())
32176 throw A.wrapException(A.IterableElementError_tooMany());
32177 return result;
32178 },
32179 elementAt$1(_, index) {
32180 var t1, elementIndex, element;
32181 A.RangeError_checkNotNegative(index, "index");
32182 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
32183 element = t1.get$current(t1);
32184 if (index === elementIndex)
32185 return element;
32186 ++elementIndex;
32187 }
32188 throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
32189 },
32190 toString$0(_) {
32191 return A.IterableBase_iterableToShortString(this, "(", ")");
32192 }
32193 };
32194 A._GeneratorIterable.prototype = {
32195 elementAt$1(_, index) {
32196 A.RangeError_checkValidIndex(index, this, null);
32197 return this._generator.call$1(index);
32198 },
32199 get$length(receiver) {
32200 return this.length;
32201 }
32202 };
32203 A.Iterator.prototype = {};
32204 A.MapEntry.prototype = {
32205 toString$0(_) {
32206 return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
32207 }
32208 };
32209 A.Null.prototype = {
32210 get$hashCode(_) {
32211 return A.Object.prototype.get$hashCode.call(this, this);
32212 },
32213 toString$0(_) {
32214 return "null";
32215 }
32216 };
32217 A.Object.prototype = {$isObject: 1,
32218 $eq(_, other) {
32219 return this === other;
32220 },
32221 get$hashCode(_) {
32222 return A.Primitives_objectHashCode(this);
32223 },
32224 toString$0(_) {
32225 return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
32226 },
32227 noSuchMethod$1(_, invocation) {
32228 throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
32229 },
32230 get$runtimeType(_) {
32231 var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
32232 return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
32233 },
32234 toString() {
32235 return this.toString$0(this);
32236 }
32237 };
32238 A._StringStackTrace.prototype = {
32239 toString$0(_) {
32240 return this._stackTrace;
32241 },
32242 $isStackTrace: 1
32243 };
32244 A.Runes.prototype = {
32245 get$iterator(_) {
32246 return new A.RuneIterator(this.string);
32247 },
32248 get$last(_) {
32249 var code, previousCode,
32250 t1 = this.string,
32251 t2 = t1.length;
32252 if (t2 === 0)
32253 throw A.wrapException(A.StateError$("No elements."));
32254 code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
32255 if ((code & 64512) === 56320 && t2 > 1) {
32256 previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
32257 if ((previousCode & 64512) === 55296)
32258 return A._combineSurrogatePair(previousCode, code);
32259 }
32260 return code;
32261 }
32262 };
32263 A.RuneIterator.prototype = {
32264 get$current(_) {
32265 return this._currentCodePoint;
32266 },
32267 moveNext$0() {
32268 var codeUnit, nextPosition, nextCodeUnit, _this = this,
32269 t1 = _this._position = _this._nextPosition,
32270 t2 = _this.string,
32271 t3 = t2.length;
32272 if (t1 === t3) {
32273 _this._currentCodePoint = -1;
32274 return false;
32275 }
32276 codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
32277 nextPosition = t1 + 1;
32278 if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
32279 nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
32280 if ((nextCodeUnit & 64512) === 56320) {
32281 _this._nextPosition = nextPosition + 1;
32282 _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
32283 return true;
32284 }
32285 }
32286 _this._nextPosition = nextPosition;
32287 _this._currentCodePoint = codeUnit;
32288 return true;
32289 }
32290 };
32291 A.StringBuffer.prototype = {
32292 get$length(_) {
32293 return this._contents.length;
32294 },
32295 write$1(_, obj) {
32296 this._contents += A.S(obj);
32297 },
32298 writeCharCode$1(charCode) {
32299 this._contents += A.Primitives_stringFromCharCode(charCode);
32300 },
32301 toString$0(_) {
32302 var t1 = this._contents;
32303 return t1.charCodeAt(0) == 0 ? t1 : t1;
32304 }
32305 };
32306 A.Uri__parseIPv4Address_error.prototype = {
32307 call$2(msg, position) {
32308 throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
32309 },
32310 $signature: 330
32311 };
32312 A.Uri_parseIPv6Address_error.prototype = {
32313 call$2(msg, position) {
32314 throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
32315 },
32316 $signature: 334
32317 };
32318 A.Uri_parseIPv6Address_parseHex.prototype = {
32319 call$2(start, end) {
32320 var value;
32321 if (end - start > 4)
32322 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
32323 value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
32324 if (value < 0 || value > 65535)
32325 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
32326 return value;
32327 },
32328 $signature: 339
32329 };
32330 A._Uri.prototype = {
32331 get$_text() {
32332 var t1, t2, t3, t4, _this = this,
32333 value = _this.___Uri__text;
32334 if (value === $) {
32335 t1 = _this.scheme;
32336 t2 = t1.length !== 0 ? "" + t1 + ":" : "";
32337 t3 = _this._host;
32338 t4 = t3 == null;
32339 if (!t4 || t1 === "file") {
32340 t1 = t2 + "//";
32341 t2 = _this._userInfo;
32342 if (t2.length !== 0)
32343 t1 = t1 + t2 + "@";
32344 if (!t4)
32345 t1 += t3;
32346 t2 = _this._port;
32347 if (t2 != null)
32348 t1 = t1 + ":" + A.S(t2);
32349 } else
32350 t1 = t2;
32351 t1 += _this.path;
32352 t2 = _this._query;
32353 if (t2 != null)
32354 t1 = t1 + "?" + t2;
32355 t2 = _this._fragment;
32356 if (t2 != null)
32357 t1 = t1 + "#" + t2;
32358 A._lateInitializeOnceCheck(value, "_text");
32359 value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1;
32360 }
32361 return value;
32362 },
32363 get$pathSegments() {
32364 var pathToSplit, result, _this = this,
32365 value = _this.___Uri_pathSegments;
32366 if (value === $) {
32367 pathToSplit = _this.path;
32368 if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
32369 pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
32370 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);
32371 A._lateInitializeOnceCheck(_this.___Uri_pathSegments, "pathSegments");
32372 value = _this.___Uri_pathSegments = result;
32373 }
32374 return value;
32375 },
32376 get$hashCode(_) {
32377 var result, _this = this,
32378 value = _this.___Uri_hashCode;
32379 if (value === $) {
32380 result = B.JSString_methods.get$hashCode(_this.get$_text());
32381 A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode");
32382 _this.___Uri_hashCode = result;
32383 value = result;
32384 }
32385 return value;
32386 },
32387 get$userInfo() {
32388 return this._userInfo;
32389 },
32390 get$host() {
32391 var host = this._host;
32392 if (host == null)
32393 return "";
32394 if (B.JSString_methods.startsWith$1(host, "["))
32395 return B.JSString_methods.substring$2(host, 1, host.length - 1);
32396 return host;
32397 },
32398 get$port(_) {
32399 var t1 = this._port;
32400 return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
32401 },
32402 get$query() {
32403 var t1 = this._query;
32404 return t1 == null ? "" : t1;
32405 },
32406 get$fragment() {
32407 var t1 = this._fragment;
32408 return t1 == null ? "" : t1;
32409 },
32410 isScheme$1(scheme) {
32411 var thisScheme = this.scheme;
32412 if (scheme.length !== thisScheme.length)
32413 return false;
32414 return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
32415 },
32416 _mergePaths$2(base, reference) {
32417 var backCount, refStart, baseEnd, newEnd, delta, t1;
32418 for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
32419 refStart += 3;
32420 ++backCount;
32421 }
32422 baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
32423 while (true) {
32424 if (!(baseEnd > 0 && backCount > 0))
32425 break;
32426 newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
32427 if (newEnd < 0)
32428 break;
32429 delta = baseEnd - newEnd;
32430 t1 = delta !== 2;
32431 if (!t1 || delta === 3)
32432 if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
32433 t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
32434 else
32435 t1 = false;
32436 else
32437 t1 = false;
32438 if (t1)
32439 break;
32440 --backCount;
32441 baseEnd = newEnd;
32442 }
32443 return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
32444 },
32445 resolve$1(reference) {
32446 return this.resolveUri$1(A.Uri_parse(reference));
32447 },
32448 resolveUri$1(reference) {
32449 var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
32450 if (reference.get$scheme().length !== 0) {
32451 targetScheme = reference.get$scheme();
32452 if (reference.get$hasAuthority()) {
32453 targetUserInfo = reference.get$userInfo();
32454 targetHost = reference.get$host();
32455 targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
32456 } else {
32457 targetPort = _null;
32458 targetHost = targetPort;
32459 targetUserInfo = "";
32460 }
32461 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32462 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32463 } else {
32464 targetScheme = _this.scheme;
32465 if (reference.get$hasAuthority()) {
32466 targetUserInfo = reference.get$userInfo();
32467 targetHost = reference.get$host();
32468 targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
32469 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32470 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32471 } else {
32472 targetUserInfo = _this._userInfo;
32473 targetHost = _this._host;
32474 targetPort = _this._port;
32475 targetPath = _this.path;
32476 if (reference.get$path(reference) === "")
32477 targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
32478 else {
32479 packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
32480 if (packageNameEnd > 0) {
32481 packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
32482 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)));
32483 } else if (reference.get$hasAbsolutePath())
32484 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32485 else if (targetPath.length === 0)
32486 if (targetHost == null)
32487 targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
32488 else
32489 targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
32490 else {
32491 mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
32492 t1 = targetScheme.length === 0;
32493 if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
32494 targetPath = A._Uri__removeDotSegments(mergedPath);
32495 else
32496 targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
32497 }
32498 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32499 }
32500 }
32501 }
32502 return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
32503 },
32504 get$hasAuthority() {
32505 return this._host != null;
32506 },
32507 get$hasPort() {
32508 return this._port != null;
32509 },
32510 get$hasQuery() {
32511 return this._query != null;
32512 },
32513 get$hasFragment() {
32514 return this._fragment != null;
32515 },
32516 get$hasAbsolutePath() {
32517 return B.JSString_methods.startsWith$1(this.path, "/");
32518 },
32519 toFilePath$0() {
32520 var pathSegments, _this = this,
32521 t1 = _this.scheme;
32522 if (t1 !== "" && t1 !== "file")
32523 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
32524 t1 = _this._query;
32525 if ((t1 == null ? "" : t1) !== "")
32526 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32527 t1 = _this._fragment;
32528 if ((t1 == null ? "" : t1) !== "")
32529 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32530 t1 = $.$get$_Uri__isWindowsCached();
32531 if (t1)
32532 t1 = A._Uri__toWindowsFilePath(_this);
32533 else {
32534 if (_this._host != null && _this.get$host() !== "")
32535 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32536 pathSegments = _this.get$pathSegments();
32537 A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
32538 t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
32539 t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
32540 }
32541 return t1;
32542 },
32543 toString$0(_) {
32544 return this.get$_text();
32545 },
32546 $eq(_, other) {
32547 var t1, t2, _this = this;
32548 if (other == null)
32549 return false;
32550 if (_this === other)
32551 return true;
32552 if (type$.Uri._is(other))
32553 if (_this.scheme === other.get$scheme())
32554 if (_this._host != null === other.get$hasAuthority())
32555 if (_this._userInfo === other.get$userInfo())
32556 if (_this.get$host() === other.get$host())
32557 if (_this.get$port(_this) === other.get$port(other))
32558 if (_this.path === other.get$path(other)) {
32559 t1 = _this._query;
32560 t2 = t1 == null;
32561 if (!t2 === other.get$hasQuery()) {
32562 if (t2)
32563 t1 = "";
32564 if (t1 === other.get$query()) {
32565 t1 = _this._fragment;
32566 t2 = t1 == null;
32567 if (!t2 === other.get$hasFragment()) {
32568 if (t2)
32569 t1 = "";
32570 t1 = t1 === other.get$fragment();
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 else
32586 t1 = false;
32587 else
32588 t1 = false;
32589 else
32590 t1 = false;
32591 return t1;
32592 },
32593 $isUri: 1,
32594 get$scheme() {
32595 return this.scheme;
32596 },
32597 get$path(receiver) {
32598 return this.path;
32599 }
32600 };
32601 A._Uri__makePath_closure.prototype = {
32602 call$1(s) {
32603 return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
32604 },
32605 $signature: 5
32606 };
32607 A.UriData.prototype = {
32608 get$uri() {
32609 var t2, queryIndex, end, query, _this = this, _null = null,
32610 t1 = _this._uriCache;
32611 if (t1 == null) {
32612 t1 = _this._text;
32613 t2 = _this._separatorIndices[0] + 1;
32614 queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
32615 end = t1.length;
32616 if (queryIndex >= 0) {
32617 query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false);
32618 end = queryIndex;
32619 } else
32620 query = _null;
32621 t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false), query, _null);
32622 }
32623 return t1;
32624 },
32625 toString$0(_) {
32626 var t1 = this._text;
32627 return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
32628 }
32629 };
32630 A._createTables_build.prototype = {
32631 call$2(state, defaultTransition) {
32632 var t1 = this.tables[state];
32633 B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
32634 return t1;
32635 },
32636 $signature: 351
32637 };
32638 A._createTables_setChars.prototype = {
32639 call$3(target, chars, transition) {
32640 var t1, i;
32641 for (t1 = chars.length, i = 0; i < t1; ++i)
32642 target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
32643 },
32644 $signature: 226
32645 };
32646 A._createTables_setRange.prototype = {
32647 call$3(target, range, transition) {
32648 var i, n;
32649 for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
32650 target[(i ^ 96) >>> 0] = transition;
32651 },
32652 $signature: 226
32653 };
32654 A._SimpleUri.prototype = {
32655 get$hasAuthority() {
32656 return this._hostStart > 0;
32657 },
32658 get$hasPort() {
32659 return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
32660 },
32661 get$hasQuery() {
32662 return this._queryStart < this._fragmentStart;
32663 },
32664 get$hasFragment() {
32665 return this._fragmentStart < this._uri.length;
32666 },
32667 get$hasAbsolutePath() {
32668 return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
32669 },
32670 get$scheme() {
32671 var t1 = this._schemeCache;
32672 return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
32673 },
32674 _computeScheme$0() {
32675 var t2, _this = this,
32676 t1 = _this._schemeEnd;
32677 if (t1 <= 0)
32678 return "";
32679 t2 = t1 === 4;
32680 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32681 return "http";
32682 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32683 return "https";
32684 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
32685 return "file";
32686 if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
32687 return "package";
32688 return B.JSString_methods.substring$2(_this._uri, 0, t1);
32689 },
32690 get$userInfo() {
32691 var t1 = this._hostStart,
32692 t2 = this._schemeEnd + 3;
32693 return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
32694 },
32695 get$host() {
32696 var t1 = this._hostStart;
32697 return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
32698 },
32699 get$port(_) {
32700 var t1, _this = this;
32701 if (_this.get$hasPort())
32702 return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
32703 t1 = _this._schemeEnd;
32704 if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32705 return 80;
32706 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32707 return 443;
32708 return 0;
32709 },
32710 get$path(_) {
32711 return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
32712 },
32713 get$query() {
32714 var t1 = this._queryStart,
32715 t2 = this._fragmentStart;
32716 return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
32717 },
32718 get$fragment() {
32719 var t1 = this._fragmentStart,
32720 t2 = this._uri;
32721 return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
32722 },
32723 get$pathSegments() {
32724 var parts, i,
32725 start = this._pathStart,
32726 end = this._queryStart,
32727 t1 = this._uri;
32728 if (B.JSString_methods.startsWith$2(t1, "/", start))
32729 ++start;
32730 if (start === end)
32731 return B.List_empty;
32732 parts = A._setArrayType([], type$.JSArray_String);
32733 for (i = start; i < end; ++i)
32734 if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
32735 parts.push(B.JSString_methods.substring$2(t1, start, i));
32736 start = i + 1;
32737 }
32738 parts.push(B.JSString_methods.substring$2(t1, start, end));
32739 return A.List_List$unmodifiable(parts, type$.String);
32740 },
32741 _isPort$1(port) {
32742 var portDigitStart = this._portStart + 1;
32743 return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
32744 },
32745 removeFragment$0() {
32746 var _this = this,
32747 t1 = _this._fragmentStart,
32748 t2 = _this._uri;
32749 if (t1 >= t2.length)
32750 return _this;
32751 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);
32752 },
32753 resolve$1(reference) {
32754 return this.resolveUri$1(A.Uri_parse(reference));
32755 },
32756 resolveUri$1(reference) {
32757 if (reference instanceof A._SimpleUri)
32758 return this._simpleMerge$2(this, reference);
32759 return this._toNonSimple$0().resolveUri$1(reference);
32760 },
32761 _simpleMerge$2(base, ref) {
32762 var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
32763 t1 = ref._schemeEnd;
32764 if (t1 > 0)
32765 return ref;
32766 t2 = ref._hostStart;
32767 if (t2 > 0) {
32768 t3 = base._schemeEnd;
32769 if (t3 <= 0)
32770 return ref;
32771 t4 = t3 === 4;
32772 if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
32773 isSimple = ref._pathStart !== ref._queryStart;
32774 else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
32775 isSimple = !ref._isPort$1("80");
32776 else
32777 isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
32778 if (isSimple) {
32779 delta = t3 + 1;
32780 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);
32781 } else
32782 return this._toNonSimple$0().resolveUri$1(ref);
32783 }
32784 refStart = ref._pathStart;
32785 t1 = ref._queryStart;
32786 if (refStart === t1) {
32787 t2 = ref._fragmentStart;
32788 if (t1 < t2) {
32789 t3 = base._queryStart;
32790 delta = t3 - t1;
32791 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);
32792 }
32793 t1 = ref._uri;
32794 if (t2 < t1.length) {
32795 t3 = base._fragmentStart;
32796 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);
32797 }
32798 return base.removeFragment$0();
32799 }
32800 t2 = ref._uri;
32801 if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
32802 basePathStart = base._pathStart;
32803 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32804 basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
32805 delta = basePathStart0 - refStart;
32806 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);
32807 }
32808 baseStart = base._pathStart;
32809 baseEnd = base._queryStart;
32810 if (baseStart === baseEnd && base._hostStart > 0) {
32811 for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
32812 refStart += 3;
32813 delta = baseStart - refStart + 1;
32814 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);
32815 }
32816 baseUri = base._uri;
32817 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32818 if (packageNameEnd >= 0)
32819 baseStart0 = packageNameEnd;
32820 else
32821 for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
32822 baseStart0 += 3;
32823 backCount = 0;
32824 while (true) {
32825 refStart0 = refStart + 3;
32826 if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
32827 break;
32828 ++backCount;
32829 refStart = refStart0;
32830 }
32831 for (insert = ""; baseEnd > baseStart0;) {
32832 --baseEnd;
32833 if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
32834 if (backCount === 0) {
32835 insert = "/";
32836 break;
32837 }
32838 --backCount;
32839 insert = "/";
32840 }
32841 }
32842 if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
32843 refStart -= backCount * 3;
32844 insert = "";
32845 }
32846 delta = baseEnd - refStart + insert.length;
32847 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);
32848 },
32849 toFilePath$0() {
32850 var t2, t3, _this = this,
32851 t1 = _this._schemeEnd;
32852 if (t1 >= 0) {
32853 t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
32854 t1 = t2;
32855 } else
32856 t1 = false;
32857 if (t1)
32858 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
32859 t1 = _this._queryStart;
32860 t2 = _this._uri;
32861 if (t1 < t2.length) {
32862 if (t1 < _this._fragmentStart)
32863 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32864 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32865 }
32866 t3 = $.$get$_Uri__isWindowsCached();
32867 if (t3)
32868 t1 = A._Uri__toWindowsFilePath(_this);
32869 else {
32870 if (_this._hostStart < _this._portStart)
32871 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32872 t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
32873 }
32874 return t1;
32875 },
32876 get$hashCode(_) {
32877 var t1 = this._hashCodeCache;
32878 return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
32879 },
32880 $eq(_, other) {
32881 if (other == null)
32882 return false;
32883 if (this === other)
32884 return true;
32885 return type$.Uri._is(other) && this._uri === other.toString$0(0);
32886 },
32887 _toNonSimple$0() {
32888 var _this = this, _null = null,
32889 t1 = _this.get$scheme(),
32890 t2 = _this.get$userInfo(),
32891 t3 = _this._hostStart > 0 ? _this.get$host() : _null,
32892 t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
32893 t5 = _this._uri,
32894 t6 = _this._queryStart,
32895 t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
32896 t8 = _this._fragmentStart;
32897 t6 = t6 < t8 ? _this.get$query() : _null;
32898 return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
32899 },
32900 toString$0(_) {
32901 return this._uri;
32902 },
32903 $isUri: 1
32904 };
32905 A._DataUri.prototype = {};
32906 A.Expando.prototype = {
32907 toString$0(_) {
32908 return "Expando:null";
32909 }
32910 };
32911 A._convertDataTree__convert.prototype = {
32912 call$1(o) {
32913 var convertedMap, key, convertedList,
32914 t1 = this._convertedObjects;
32915 if (t1.containsKey$1(o))
32916 return t1.$index(0, o);
32917 if (type$.Map_dynamic_dynamic._is(o)) {
32918 convertedMap = {};
32919 t1.$indexSet(0, o, convertedMap);
32920 for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
32921 key = t1.get$current(t1);
32922 convertedMap[key] = this.call$1(o.$index(0, key));
32923 }
32924 return convertedMap;
32925 } else if (type$.Iterable_dynamic._is(o)) {
32926 convertedList = [];
32927 t1.$indexSet(0, o, convertedList);
32928 B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
32929 return convertedList;
32930 } else
32931 return o;
32932 },
32933 $signature: 497
32934 };
32935 A._JSRandom.prototype = {
32936 nextInt$1(max) {
32937 if (max <= 0 || max > 4294967296)
32938 throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
32939 return Math.random() * max >>> 0;
32940 },
32941 nextDouble$0() {
32942 return Math.random();
32943 }
32944 };
32945 A.ArgParser.prototype = {
32946 addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
32947 var _null = null;
32948 this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
32949 },
32950 addFlag$2$hide($name, hide) {
32951 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
32952 },
32953 addFlag$2$help($name, help) {
32954 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
32955 },
32956 addFlag$3$defaultsTo$help($name, defaultsTo, help) {
32957 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
32958 },
32959 addFlag$3$help$negatable($name, help, negatable) {
32960 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
32961 },
32962 addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
32963 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
32964 },
32965 addFlag$3$abbr$help($name, abbr, help) {
32966 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
32967 },
32968 addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
32969 this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
32970 },
32971 addOption$2$hide($name, hide) {
32972 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
32973 },
32974 addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
32975 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
32976 },
32977 addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
32978 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
32979 },
32980 addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
32981 var t1 = A._setArrayType([], type$.JSArray_String);
32982 this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
32983 },
32984 _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
32985 var existing, t2, option, _i, _this = this, _null = null,
32986 t1 = A._setArrayType([$name], type$.JSArray_String);
32987 B.JSArray_methods.addAll$1(t1, aliases);
32988 if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
32989 throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
32990 t1 = abbr != null;
32991 if (t1) {
32992 existing = _this.findByAbbreviation$1(abbr);
32993 if (existing != null)
32994 throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
32995 }
32996 t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
32997 option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
32998 if ($name.length === 0)
32999 A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
33000 else if (B.JSString_methods.startsWith$1($name, "-"))
33001 A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
33002 t2 = $.$get$Option__invalidChars()._nativeRegExp;
33003 if (t2.test($name))
33004 A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
33005 if (t1) {
33006 if (abbr.length !== 1)
33007 A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
33008 else if (abbr === "-")
33009 A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
33010 if (t2.test(abbr))
33011 A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
33012 }
33013 _this._arg_parser$_options.$indexSet(0, $name, option);
33014 _this._optionsAndSeparators.push(option);
33015 for (t1 = _this._aliases, _i = 0; false; ++_i)
33016 t1.$indexSet(0, aliases[_i], $name);
33017 },
33018 _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
33019 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
33020 },
33021 _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
33022 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
33023 },
33024 _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
33025 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
33026 },
33027 findByAbbreviation$1(abbr) {
33028 var t1, t2;
33029 for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
33030 t2 = t1.get$current(t1);
33031 if (t2.abbr === abbr)
33032 return t2;
33033 }
33034 return null;
33035 },
33036 findByNameOrAlias$1($name) {
33037 var t1 = this._aliases.$index(0, $name);
33038 if (t1 == null)
33039 t1 = $name;
33040 return this.options._map.$index(0, t1);
33041 }
33042 };
33043 A.ArgParser__addOption_closure.prototype = {
33044 call$1($name) {
33045 return this.$this.findByNameOrAlias$1($name) != null;
33046 },
33047 $signature: 6
33048 };
33049 A.ArgParserException.prototype = {};
33050 A.ArgResults.prototype = {
33051 $index(_, $name) {
33052 var t1 = this._parser.options._map;
33053 if (!t1.containsKey$1($name))
33054 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33055 t1 = t1.$index(0, $name);
33056 t1.toString;
33057 return t1.valueOrDefault$1(this._parsed.$index(0, $name));
33058 },
33059 wasParsed$1($name) {
33060 if (!this._parser.options._map.containsKey$1($name))
33061 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33062 return this._parsed.containsKey$1($name);
33063 }
33064 };
33065 A.Option.prototype = {
33066 valueOrDefault$1(value) {
33067 var t1;
33068 if (value != null)
33069 return value;
33070 if (this.type === B.OptionType_qyr) {
33071 t1 = this.defaultsTo;
33072 return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
33073 }
33074 return this.defaultsTo;
33075 }
33076 };
33077 A.OptionType.prototype = {};
33078 A.Parser0.prototype = {
33079 parse$0() {
33080 var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
33081 t2 = _this._args;
33082 t2.toList$0(0);
33083 commandResults = null;
33084 for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(t2);) {
33085 t7 = t2._collection$_head;
33086 if (t7 === t2._collection$_tail)
33087 A.throwExpression(A.IterableElementError_noElement());
33088 t7 = t2._collection$_table[t7];
33089 t8 = t7 == null;
33090 if ((t8 ? t6._as(t7) : t7) === "--") {
33091 t2.removeFirst$0();
33092 break;
33093 }
33094 if (t8)
33095 t7 = t6._as(t7);
33096 command = t5._map.$index(0, t7);
33097 if (command != null) {
33098 if (t3.length !== 0)
33099 A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
33100 commandName = t2.removeFirst$0();
33101 t5 = type$.JSArray_String;
33102 t6 = A._setArrayType([], t5);
33103 B.JSArray_methods.addAll$1(t6, t3);
33104 commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
33105 try {
33106 commandResults = commandParser.parse$0();
33107 } catch (exception) {
33108 t2 = A.unwrapException(exception);
33109 if (t2 instanceof A.ArgParserException) {
33110 error = t2;
33111 t2 = error.message;
33112 t1 = A._setArrayType([commandName], t5);
33113 J.addAll$1$ax(t1, error.commands);
33114 throw A.wrapException(A.ArgParserException$(t2, t1));
33115 } else
33116 throw exception;
33117 }
33118 B.JSArray_methods.set$length(t3, 0);
33119 break;
33120 }
33121 if (_this._parseSoloOption$0())
33122 continue;
33123 if (_this._parseAbbreviation$1(_this))
33124 continue;
33125 if (_this._parseLongOption$0())
33126 continue;
33127 t3.push(t2.removeFirst$0());
33128 }
33129 t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
33130 B.JSArray_methods.addAll$1(t3, t2);
33131 t2.clear$0(0);
33132 return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
33133 },
33134 _readNextArgAsValue$1(option) {
33135 var t1 = this._args;
33136 if (t1.get$isEmpty(t1))
33137 A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
33138 this._setOption$3(this._results, option, t1.get$first(t1));
33139 t1.removeFirst$0();
33140 },
33141 _parseSoloOption$0() {
33142 var opt,
33143 t1 = this._args;
33144 if (t1.get$first(t1).length !== 2)
33145 return false;
33146 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33147 return false;
33148 opt = t1.get$first(t1)[1];
33149 if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
33150 return false;
33151 this._handleSoloOption$1(opt);
33152 return true;
33153 },
33154 _handleSoloOption$1(opt) {
33155 var t1, _this = this,
33156 option = _this._grammar.findByAbbreviation$1(opt);
33157 if (option == null) {
33158 t1 = _this._parser$_parent;
33159 if (t1 == null)
33160 A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
33161 t1._handleSoloOption$1(opt);
33162 return true;
33163 }
33164 _this._args.removeFirst$0();
33165 if (option.type === B.OptionType_nMZ)
33166 _this._results.$indexSet(0, option.name, true);
33167 else
33168 _this._readNextArgAsValue$1(option);
33169 return true;
33170 },
33171 _parseAbbreviation$1(innermostCommand) {
33172 var t2, index, t3, t4, lettersAndDigits, rest,
33173 t1 = this._args;
33174 if (t1.get$first(t1).length < 2)
33175 return false;
33176 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33177 return false;
33178 t2 = t1.$ti._precomputed1;
33179 index = 1;
33180 while (true) {
33181 t3 = t1._collection$_head;
33182 if (t3 === t1._collection$_tail)
33183 A.throwExpression(A.IterableElementError_noElement());
33184 t3 = t1._collection$_table[t3];
33185 t4 = t3 == null;
33186 if (index < (t4 ? t2._as(t3) : t3).length) {
33187 t3 = B.JSString_methods._codeUnitAt$1(t4 ? t2._as(t3) : t3, index);
33188 if (!(t3 >= 65 && t3 <= 90))
33189 if (!(t3 >= 97 && t3 <= 122))
33190 t3 = t3 >= 48 && t3 <= 57;
33191 else
33192 t3 = true;
33193 else
33194 t3 = true;
33195 } else
33196 t3 = false;
33197 if (!t3)
33198 break;
33199 ++index;
33200 }
33201 if (index === 1)
33202 return false;
33203 lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
33204 rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
33205 if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
33206 return false;
33207 this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33208 return true;
33209 },
33210 _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
33211 var t1, i, i0, _this = this,
33212 c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
33213 first = _this._grammar.findByAbbreviation$1(c);
33214 if (first == null) {
33215 t1 = _this._parser$_parent;
33216 if (t1 == null)
33217 A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
33218 t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33219 return true;
33220 } else if (first.type !== B.OptionType_nMZ)
33221 _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
33222 else {
33223 t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
33224 if (rest !== "")
33225 A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
33226 for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
33227 i0 = i + 1;
33228 innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
33229 }
33230 }
33231 _this._args.removeFirst$0();
33232 return true;
33233 },
33234 _parseShortFlag$1(c) {
33235 var t1,
33236 option = this._grammar.findByAbbreviation$1(c);
33237 if (option == null) {
33238 t1 = this._parser$_parent;
33239 if (t1 == null)
33240 A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
33241 t1._parseShortFlag$1(c);
33242 return;
33243 }
33244 if (option.type !== B.OptionType_nMZ)
33245 A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
33246 this._results.$indexSet(0, option.name, true);
33247 },
33248 _parseLongOption$0() {
33249 var index, t2, $name, t3, i, t4, t5, value,
33250 t1 = this._args;
33251 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
33252 return false;
33253 index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
33254 t2 = index === -1;
33255 $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
33256 for (t3 = $name.length, i = 0; i !== t3; ++i) {
33257 t4 = B.JSString_methods._codeUnitAt$1($name, i);
33258 if (!(t4 >= 65 && t4 <= 90))
33259 if (!(t4 >= 97 && t4 <= 122))
33260 t5 = t4 >= 48 && t4 <= 57;
33261 else
33262 t5 = true;
33263 else
33264 t5 = true;
33265 if (!(t5 || t4 === 45 || t4 === 95))
33266 return false;
33267 }
33268 value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
33269 if (value != null)
33270 t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
33271 else
33272 t1 = false;
33273 if (t1)
33274 return false;
33275 this._handleLongOption$2($name, value);
33276 return true;
33277 },
33278 _handleLongOption$2($name, value) {
33279 var _this = this, _null = null,
33280 _s32_ = 'Could not find an option named "',
33281 t1 = _this._grammar,
33282 option = t1.findByNameOrAlias$1($name);
33283 if (option != null) {
33284 _this._args.removeFirst$0();
33285 if (option.type === B.OptionType_nMZ) {
33286 if (value != null)
33287 A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
33288 _this._results.$indexSet(0, option.name, true);
33289 } else if (value != null)
33290 _this._setOption$3(_this._results, option, value);
33291 else
33292 _this._readNextArgAsValue$1(option);
33293 } else if (B.JSString_methods.startsWith$1($name, "no-")) {
33294 option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
33295 if (option == null) {
33296 t1 = _this._parser$_parent;
33297 if (t1 == null)
33298 A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
33299 t1._handleLongOption$2($name, value);
33300 return true;
33301 }
33302 _this._args.removeFirst$0();
33303 if (option.type !== B.OptionType_nMZ)
33304 A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
33305 if (!option.negatable)
33306 A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
33307 _this._results.$indexSet(0, option.name, false);
33308 } else {
33309 t1 = _this._parser$_parent;
33310 if (t1 == null)
33311 A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
33312 t1._handleLongOption$2($name, value);
33313 return true;
33314 }
33315 return true;
33316 },
33317 _setOption$3(results, option, value) {
33318 var list, t1, t2, t3, _i, element;
33319 if (option.type !== B.OptionType_qyr) {
33320 this._validateAllowed$2(option, value);
33321 results.$indexSet(0, option.name, value);
33322 return;
33323 }
33324 list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
33325 if (option.splitCommas)
33326 for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
33327 element = t1[_i];
33328 this._validateAllowed$2(option, element);
33329 t3.add$1(list, element);
33330 }
33331 else {
33332 this._validateAllowed$2(option, value);
33333 J.add$1$ax(list, value);
33334 }
33335 },
33336 _validateAllowed$2(option, value) {
33337 var t1 = option.allowed;
33338 if (t1 == null)
33339 return;
33340 if (!B.JSArray_methods.contains$1(t1, value))
33341 A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
33342 }
33343 };
33344 A.Parser_parse_closure.prototype = {
33345 call$2($name, option) {
33346 var parsedOption = this.$this._results.$index(0, $name),
33347 callback = option.callback;
33348 if (callback == null)
33349 return;
33350 callback.call$1(option.valueOrDefault$1(parsedOption));
33351 },
33352 $signature: 518
33353 };
33354 A.Parser__setOption_closure.prototype = {
33355 call$0() {
33356 return A._setArrayType([], type$.JSArray_String);
33357 },
33358 $signature: 46
33359 };
33360 A._Usage.prototype = {
33361 get$_columnWidths() {
33362 var result, _this = this,
33363 value = _this.___Usage__columnWidths;
33364 if (value === $) {
33365 result = _this._calculateColumnWidths$0();
33366 A._lateInitializeOnceCheck(_this.___Usage__columnWidths, "_columnWidths");
33367 _this.___Usage__columnWidths = result;
33368 value = result;
33369 }
33370 return value;
33371 },
33372 generate$0() {
33373 var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
33374 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) {
33375 optionOrSeparator = t1[_i];
33376 if (typeof optionOrSeparator == "string") {
33377 t5 = t4._contents;
33378 t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
33379 _this._newlinesNeeded = 1;
33380 continue;
33381 }
33382 t3._as(optionOrSeparator);
33383 if (optionOrSeparator.hide)
33384 continue;
33385 _this._writeOption$1(optionOrSeparator);
33386 }
33387 t1 = t4._contents;
33388 return t1.charCodeAt(0) == 0 ? t1 : t1;
33389 },
33390 _writeOption$1(option) {
33391 var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
33392 t1 = option.abbr;
33393 _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
33394 t1 = _this._longOption$1(option);
33395 _this._write$2(1, t1);
33396 t1 = option.help;
33397 if (t1 != null)
33398 _this._write$2(2, t1);
33399 t1 = option.allowedHelp;
33400 if (t1 != null) {
33401 allowedNames = J.toList$0$ax(t1.get$keys(t1));
33402 B.JSArray_methods.sort$0(allowedNames);
33403 _this._newline$0();
33404 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) {
33405 $name = allowedNames[_i];
33406 t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
33407 _this._write$2(1, " [" + $name + "]" + t5);
33408 t5 = t1.$index(0, $name);
33409 t5.toString;
33410 _this._write$2(2, t5);
33411 }
33412 _this._newline$0();
33413 } else if (option.allowed != null)
33414 _this._write$2(2, _this._buildAllowedList$1(option));
33415 else {
33416 t1 = option.type;
33417 if (t1 === B.OptionType_nMZ) {
33418 if (option.defaultsTo === true)
33419 _this._write$2(2, "(defaults to on)");
33420 } else if (t1 === B.OptionType_qyr) {
33421 t1 = option.defaultsTo;
33422 if (t1 != null && J.get$isNotEmpty$asx(t1)) {
33423 type$.List_dynamic._as(t1);
33424 _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, ", ") + ")");
33425 }
33426 } else {
33427 t1 = option.defaultsTo;
33428 if (t1 != null)
33429 _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
33430 }
33431 }
33432 },
33433 _longOption$1(option) {
33434 var t1 = option.name,
33435 result = option.negatable ? "--[no-]" + t1 : "--" + t1;
33436 t1 = option.valueHelp;
33437 return t1 != null ? result + ("=<" + t1 + ">") : result;
33438 },
33439 _calculateColumnWidths$0() {
33440 var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
33441 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) {
33442 option = t1[_i];
33443 if (!(option instanceof A.Option))
33444 continue;
33445 if (option.hide)
33446 continue;
33447 t4 = option.abbr;
33448 abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
33449 t4 = this._longOption$1(option);
33450 title = Math.max(title, t4.length);
33451 t4 = option.allowedHelp;
33452 if (t4 != null)
33453 for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
33454 t7 = t4.get$current(t4);
33455 t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
33456 title = Math.max(title, (" [" + t7 + "]" + t8).length);
33457 }
33458 }
33459 return A._setArrayType([abbr, title + 4], type$.JSArray_int);
33460 },
33461 _newline$0() {
33462 ++this._newlinesNeeded;
33463 this._currentColumn = 0;
33464 },
33465 _write$2(column, text) {
33466 var t1, _i,
33467 lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
33468 this.get$_columnWidths();
33469 while (true) {
33470 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
33471 break;
33472 B.JSArray_methods.removeAt$1(lines, 0);
33473 }
33474 while (true) {
33475 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
33476 break;
33477 lines.pop();
33478 }
33479 for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
33480 this._writeLine$2(column, lines[_i]);
33481 },
33482 _writeLine$2(column, text) {
33483 var t1, t2, _this = this;
33484 for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
33485 t1._contents += "\n";
33486 _this._newlinesNeeded = t2 - 1;
33487 }
33488 for (; t2 = _this._currentColumn, t2 !== column;) {
33489 if (t2 < 2)
33490 t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
33491 else
33492 t1._contents += "\n";
33493 _this._currentColumn = (_this._currentColumn + 1) % 3;
33494 }
33495 _this.get$_columnWidths();
33496 if (column < 2)
33497 t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
33498 else
33499 t1._contents += text;
33500 _this._currentColumn = (_this._currentColumn + 1) % 3;
33501 if (column === 2)
33502 ++_this._newlinesNeeded;
33503 },
33504 _buildAllowedList$1(option) {
33505 var t2, t3, first, _i, allowed,
33506 t1 = option.defaultsTo,
33507 isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
33508 t1 = "" + "[";
33509 for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
33510 allowed = t2[_i];
33511 if (!first)
33512 t1 += ", ";
33513 t1 += A.S(allowed);
33514 if (isDefault.call$1(allowed))
33515 t1 += " (default)";
33516 }
33517 t1 += "]";
33518 return t1.charCodeAt(0) == 0 ? t1 : t1;
33519 }
33520 };
33521 A._Usage__writeOption_closure.prototype = {
33522 call$1(value) {
33523 return '"' + A.S(value) + '"';
33524 },
33525 $signature: 91
33526 };
33527 A._Usage__buildAllowedList_closure.prototype = {
33528 call$1(value) {
33529 return value === this.option.defaultsTo;
33530 },
33531 $signature: 134
33532 };
33533 A.ErrorResult.prototype = {
33534 complete$1(completer) {
33535 completer.completeError$2(this.error, this.stackTrace);
33536 },
33537 get$hashCode(_) {
33538 return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
33539 },
33540 $eq(_, other) {
33541 if (other == null)
33542 return false;
33543 return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
33544 },
33545 $isResult: 1
33546 };
33547 A.ValueResult.prototype = {
33548 complete$1(completer) {
33549 completer.complete$1(this.value);
33550 },
33551 get$hashCode(_) {
33552 return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
33553 },
33554 $eq(_, other) {
33555 if (other == null)
33556 return false;
33557 return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
33558 },
33559 $isResult: 1
33560 };
33561 A.StreamCompleter.prototype = {
33562 setSourceStream$1(sourceStream) {
33563 var t1 = this._stream_completer$_stream;
33564 if (t1._sourceStream != null)
33565 throw A.wrapException(A.StateError$("Source stream already set"));
33566 t1._sourceStream = sourceStream;
33567 if (t1._stream_completer$_controller != null)
33568 t1._linkStreamToController$0();
33569 },
33570 setError$2(error, stackTrace) {
33571 var t1 = this.$ti._precomputed1;
33572 this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
33573 },
33574 setError$1(error) {
33575 return this.setError$2(error, null);
33576 }
33577 };
33578 A._CompleterStream.prototype = {
33579 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
33580 var sourceStream, t1, _this = this, _null = null;
33581 if (_this._stream_completer$_controller == null) {
33582 sourceStream = _this._sourceStream;
33583 if (sourceStream != null && !sourceStream.get$isBroadcast())
33584 return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33585 if (_this._stream_completer$_controller == null)
33586 _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
33587 if (_this._sourceStream != null)
33588 _this._linkStreamToController$0();
33589 }
33590 t1 = _this._stream_completer$_controller;
33591 t1.toString;
33592 return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33593 },
33594 listen$1($receiver, onData) {
33595 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
33596 },
33597 listen$3$onDone$onError($receiver, onData, onDone, onError) {
33598 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
33599 },
33600 _linkStreamToController$0() {
33601 var t2,
33602 t1 = this._stream_completer$_controller;
33603 t1.toString;
33604 t2 = this._sourceStream;
33605 t2.toString;
33606 t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
33607 }
33608 };
33609 A.StreamGroup.prototype = {
33610 add$1(_, stream) {
33611 var t1, _this = this;
33612 if (_this._closed)
33613 throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
33614 t1 = _this._stream_group$_state;
33615 if (t1 === B._StreamGroupState_dormant)
33616 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
33617 else if (t1 === B._StreamGroupState_canceled)
33618 return stream.listen$1(0, null).cancel$0();
33619 else
33620 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
33621 return null;
33622 },
33623 remove$1(_, stream) {
33624 var t1 = this._subscriptions,
33625 subscription = t1.remove$1(0, stream),
33626 future = subscription == null ? null : subscription.cancel$0();
33627 if (t1.__js_helper$_length === 0)
33628 if (this._closed) {
33629 t1 = A._lateReadCheck(this.__StreamGroup__controller, "_controller");
33630 A.scheduleMicrotask(t1.get$close(t1));
33631 }
33632 return future;
33633 },
33634 _onListen$0() {
33635 var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
33636 _this._stream_group$_state = B._StreamGroupState_listening;
33637 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) {
33638 entry = t2[_i];
33639 if (entry.value != null)
33640 continue;
33641 stream = entry.key;
33642 try {
33643 t1.$indexSet(0, stream, _this._listenToStream$1(stream));
33644 } catch (exception) {
33645 t1 = _this._onCancel$0();
33646 if (t1 != null) {
33647 onError = new A.StreamGroup__onListen_closure();
33648 t2 = t1.$ti;
33649 t3 = $.Zone__current;
33650 if (t3 !== B.C__RootZone)
33651 onError = A._registerErrorHandler(onError, t3);
33652 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>")));
33653 }
33654 throw exception;
33655 }
33656 }
33657 },
33658 _onPause$0() {
33659 var t1, t2, t3;
33660 this._stream_group$_state = B._StreamGroupState_paused;
33661 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();) {
33662 t3 = t1.__internal$_current;
33663 (t3 == null ? t2._as(t3) : t3).pause$0(0);
33664 }
33665 },
33666 _onResume$0() {
33667 var t1, t2, t3;
33668 this._stream_group$_state = B._StreamGroupState_listening;
33669 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();) {
33670 t3 = t1.__internal$_current;
33671 (t3 == null ? t2._as(t3) : t3).resume$0(0);
33672 }
33673 },
33674 _onCancel$0() {
33675 var t1, t2, futures;
33676 this._stream_group$_state = B._StreamGroupState_canceled;
33677 t1 = this._subscriptions;
33678 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);
33679 futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
33680 t1.clear$0(0);
33681 return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
33682 },
33683 _listenToStream$1(stream) {
33684 var _this = this,
33685 _s11_ = "_controller",
33686 t1 = A._lateReadCheck(_this.__StreamGroup__controller, _s11_),
33687 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());
33688 if (_this._stream_group$_state === B._StreamGroupState_paused)
33689 subscription.pause$0(0);
33690 return subscription;
33691 }
33692 };
33693 A.StreamGroup_add_closure.prototype = {
33694 call$0() {
33695 return null;
33696 },
33697 $signature: 1
33698 };
33699 A.StreamGroup_add_closure0.prototype = {
33700 call$0() {
33701 return this.$this._listenToStream$1(this.stream);
33702 },
33703 $signature() {
33704 return this.$this.$ti._eval$1("StreamSubscription<1>()");
33705 }
33706 };
33707 A.StreamGroup__onListen_closure.prototype = {
33708 call$1(_) {
33709 },
33710 $signature: 67
33711 };
33712 A.StreamGroup__onCancel_closure.prototype = {
33713 call$1(entry) {
33714 var t1, exception,
33715 subscription = entry.value;
33716 try {
33717 if (subscription != null) {
33718 t1 = subscription.cancel$0();
33719 return t1;
33720 }
33721 t1 = J.listen$1$z(entry.key, null).cancel$0();
33722 return t1;
33723 } catch (exception) {
33724 return null;
33725 }
33726 },
33727 $signature() {
33728 return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
33729 }
33730 };
33731 A.StreamGroup__listenToStream_closure.prototype = {
33732 call$0() {
33733 return this.$this.remove$1(0, this.stream);
33734 },
33735 $signature: 0
33736 };
33737 A._StreamGroupState.prototype = {
33738 toString$0(_) {
33739 return this.name;
33740 }
33741 };
33742 A.StreamQueue.prototype = {
33743 _updateRequests$0() {
33744 var t1, t2, t3, t4, _this = this;
33745 for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) {
33746 t4 = t1._collection$_head;
33747 if (t4 === t1._collection$_tail)
33748 A.throwExpression(A.IterableElementError_noElement());
33749 t4 = t1._collection$_table[t4];
33750 if (t4 == null)
33751 t4 = t3._as(t4);
33752 if (t4.update$2(t2, _this._isDone))
33753 t1.removeFirst$0();
33754 else
33755 return;
33756 }
33757 if (!_this._isDone)
33758 _this._stream_queue$_subscription.pause$0(0);
33759 },
33760 _ensureListening$0() {
33761 var t1, _this = this;
33762 if (_this._isDone)
33763 return;
33764 t1 = _this._stream_queue$_subscription;
33765 if (t1 == null)
33766 _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));
33767 else
33768 t1.resume$0(0);
33769 },
33770 _addResult$1(result) {
33771 ++this._eventsReceived;
33772 this._eventQueue._queue_list$_add$1(result);
33773 this._updateRequests$0();
33774 },
33775 _addRequest$1(request) {
33776 var _this = this,
33777 t1 = _this._requestQueue;
33778 if (t1._collection$_head === t1._collection$_tail) {
33779 if (request.update$2(_this._eventQueue, _this._isDone))
33780 return;
33781 _this._ensureListening$0();
33782 }
33783 t1._add$1(request);
33784 }
33785 };
33786 A.StreamQueue__ensureListening_closure.prototype = {
33787 call$1(data) {
33788 var t1 = this.$this;
33789 t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
33790 },
33791 $signature() {
33792 return this.$this.$ti._eval$1("~(1)");
33793 }
33794 };
33795 A.StreamQueue__ensureListening_closure1.prototype = {
33796 call$2(error, stackTrace) {
33797 this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
33798 },
33799 $signature: 63
33800 };
33801 A.StreamQueue__ensureListening_closure0.prototype = {
33802 call$0() {
33803 var t1 = this.$this;
33804 t1._stream_queue$_subscription = null;
33805 t1._isDone = true;
33806 t1._updateRequests$0();
33807 },
33808 $signature: 0
33809 };
33810 A._NextRequest.prototype = {
33811 update$2(events, isDone) {
33812 if (!events.get$isEmpty(events)) {
33813 events.removeFirst$0().complete$1(this._completer);
33814 return true;
33815 }
33816 if (isDone) {
33817 this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
33818 return true;
33819 }
33820 return false;
33821 },
33822 $is_EventRequest: 1
33823 };
33824 A.Repl.prototype = {};
33825 A.alwaysValid_closure.prototype = {
33826 call$1(text) {
33827 return true;
33828 },
33829 $signature: 6
33830 };
33831 A.ReplAdapter.prototype = {
33832 runAsync$0() {
33833 var rl, runController, _this = this, t1 = {},
33834 t2 = J.get$isTTY$x(self.process.stdin),
33835 output = (t2 == null ? false : t2) ? self.process.stdout : null;
33836 t2 = _this.repl.prompt;
33837 rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
33838 _this.rl = rl;
33839 t1.statement = "";
33840 t1.prompt = t2;
33841 runController = A._Cell$();
33842 runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
33843 return runController._readLocal$0().get$stream();
33844 },
33845 exit$0(_) {
33846 var t1 = this.rl;
33847 if (t1 != null)
33848 J.close$0$x(t1);
33849 this.rl = null;
33850 }
33851 };
33852 A.ReplAdapter_runAsync_closure.prototype = {
33853 call$0() {
33854 var $async$goto = 0,
33855 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
33856 $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;
33857 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
33858 if ($async$errorCode === 1) {
33859 $async$currentError = $async$result;
33860 $async$goto = $async$handler;
33861 }
33862 while (true)
33863 switch ($async$goto) {
33864 case 0:
33865 // Function start
33866 $async$handler = 3;
33867 lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
33868 t1 = lineController;
33869 t2 = A.QueueList$(null, type$.Result_String);
33870 t3 = A.ListQueue$(type$._EventRequest_dynamic);
33871 lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
33872 t1 = $async$self.rl;
33873 t2 = J.getInterceptor$x(t1);
33874 t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
33875 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;
33876 case 6:
33877 // for condition
33878 // trivial condition
33879 t7 = J.get$isTTY$x(self.process.stdin);
33880 if (t7 == null ? false : t7)
33881 J.write$1$x(self.process.stdout, t3.prompt);
33882 t7 = lineQueue;
33883 t8 = A.instanceType(t7);
33884 t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
33885 t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
33886 $async$goto = 8;
33887 return A._asyncAwait(t9, $async$call$0);
33888 case 8:
33889 // returning from await.
33890 line = $async$result;
33891 t7 = J.get$isTTY$x(self.process.stdin);
33892 if (!(t7 == null ? false : t7)) {
33893 line0 = t3.prompt + A.S(line);
33894 toZone = $.printToZone;
33895 if (toZone == null)
33896 A.printString(line0);
33897 else
33898 toZone.call$1(line0);
33899 }
33900 statement = B.JSString_methods.$add(t3.statement, line);
33901 t3.statement = statement;
33902 if (t4.validator.call$1(statement)) {
33903 t7 = t5._value;
33904 if (t7 === t5)
33905 A.throwExpression(A.LateError$localNI(t6));
33906 J.add$1$ax(t7, t3.statement);
33907 t3.statement = "";
33908 t3.prompt = prompt0;
33909 t2.setPrompt$1(t1, prompt0);
33910 } else {
33911 t3.statement += "\n";
33912 t3.prompt = $prompt;
33913 t2.setPrompt$1(t1, $prompt);
33914 }
33915 // goto for condition
33916 $async$goto = 6;
33917 break;
33918 case 7:
33919 // after for
33920 $async$handler = 1;
33921 // goto after finally
33922 $async$goto = 5;
33923 break;
33924 case 3:
33925 // catch
33926 $async$handler = 2;
33927 $async$exception = $async$currentError;
33928 error = A.unwrapException($async$exception);
33929 stackTrace = A.getTraceFromException($async$exception);
33930 t1 = $async$self.runController;
33931 t1._readLocal$0().addError$2(error, stackTrace);
33932 $async$goto = 9;
33933 return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
33934 case 9:
33935 // returning from await.
33936 J.close$0$x(t1._readLocal$0());
33937 // goto after finally
33938 $async$goto = 5;
33939 break;
33940 case 2:
33941 // uncaught
33942 // goto rethrow
33943 $async$goto = 1;
33944 break;
33945 case 5:
33946 // after finally
33947 // implicit return
33948 return A._asyncReturn(null, $async$completer);
33949 case 1:
33950 // rethrow
33951 return A._asyncRethrow($async$currentError, $async$completer);
33952 }
33953 });
33954 return A._asyncStartSync($async$call$0, $async$completer);
33955 },
33956 $signature: 34
33957 };
33958 A.ReplAdapter_runAsync__closure.prototype = {
33959 call$1(value) {
33960 return this.lineController.add$1(0, A._asString(value));
33961 },
33962 $signature: 114
33963 };
33964 A.Stdin.prototype = {};
33965 A.Stdout.prototype = {};
33966 A.ReadlineModule.prototype = {};
33967 A.ReadlineOptions.prototype = {};
33968 A.ReadlineInterface.prototype = {};
33969 A.EmptyUnmodifiableSet.prototype = {
33970 get$iterator(_) {
33971 return B.C_EmptyIterator;
33972 },
33973 get$length(_) {
33974 return 0;
33975 },
33976 contains$1(_, element) {
33977 return false;
33978 },
33979 toSet$0(_) {
33980 return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
33981 },
33982 $isEfficientLengthIterable: 1,
33983 $isSet: 1
33984 };
33985 A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
33986 A.DefaultEquality.prototype = {};
33987 A.IterableEquality.prototype = {
33988 equals$2(_, elements1, elements2) {
33989 var it1, it2, hasNext;
33990 if (elements1 === elements2)
33991 return true;
33992 it1 = J.get$iterator$ax(elements1);
33993 it2 = J.get$iterator$ax(elements2);
33994 for (; true;) {
33995 hasNext = it1.moveNext$0();
33996 if (hasNext !== it2.moveNext$0())
33997 return false;
33998 if (!hasNext)
33999 return true;
34000 if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
34001 return false;
34002 }
34003 }
34004 };
34005 A.ListEquality.prototype = {
34006 equals$2(_, list1, list2) {
34007 var t1, $length, t2, i;
34008 if (list1 == null ? list2 == null : list1 === list2)
34009 return true;
34010 if (list1 == null || list2 == null)
34011 return false;
34012 t1 = J.getInterceptor$asx(list1);
34013 $length = t1.get$length(list1);
34014 t2 = J.getInterceptor$asx(list2);
34015 if ($length !== t2.get$length(list2))
34016 return false;
34017 for (i = 0; i < $length; ++i)
34018 if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
34019 return false;
34020 return true;
34021 },
34022 hash$1(list) {
34023 var hash, i;
34024 for (hash = 0, i = 0; i < list.length; ++i) {
34025 hash = hash + J.get$hashCode$(list[i]) & 2147483647;
34026 hash = hash + (hash << 10 >>> 0) & 2147483647;
34027 hash ^= hash >>> 6;
34028 }
34029 hash = hash + (hash << 3 >>> 0) & 2147483647;
34030 hash ^= hash >>> 11;
34031 return hash + (hash << 15 >>> 0) & 2147483647;
34032 }
34033 };
34034 A._MapEntry.prototype = {
34035 get$hashCode(_) {
34036 return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
34037 },
34038 $eq(_, other) {
34039 if (other == null)
34040 return false;
34041 return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
34042 }
34043 };
34044 A.MapEquality.prototype = {
34045 equals$2(_, map1, map2) {
34046 var equalElementCounts, t1, key, entry, count;
34047 if (map1 === map2)
34048 return true;
34049 if (map1.get$length(map1) !== map2.get$length(map2))
34050 return false;
34051 equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
34052 for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
34053 key = t1.get$current(t1);
34054 entry = new A._MapEntry(this, key, map1.$index(0, key));
34055 count = equalElementCounts.$index(0, entry);
34056 equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
34057 }
34058 for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
34059 key = t1.get$current(t1);
34060 entry = new A._MapEntry(this, key, map2.$index(0, key));
34061 count = equalElementCounts.$index(0, entry);
34062 if (count == null || count === 0)
34063 return false;
34064 equalElementCounts.$indexSet(0, entry, count - 1);
34065 }
34066 return true;
34067 },
34068 hash$1(map) {
34069 var t1, t2, hash, key, keyHash, t3;
34070 for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
34071 key = t1.get$current(t1);
34072 keyHash = J.get$hashCode$(key);
34073 t3 = map.$index(0, key);
34074 hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
34075 }
34076 hash = hash + (hash << 3 >>> 0) & 2147483647;
34077 hash ^= hash >>> 11;
34078 return hash + (hash << 15 >>> 0) & 2147483647;
34079 }
34080 };
34081 A.QueueList.prototype = {
34082 add$1(_, element) {
34083 this._queue_list$_add$1(element);
34084 },
34085 addAll$1(_, iterable) {
34086 var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
34087 if (type$.List_dynamic._is(iterable)) {
34088 addCount = J.get$length$asx(iterable);
34089 $length = _this.get$length(_this);
34090 t1 = $length + addCount;
34091 if (t1 >= J.get$length$asx(_this._table)) {
34092 _this._preGrow$1(t1);
34093 J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
34094 _this.set$_tail(_this.get$_tail() + addCount);
34095 } else {
34096 endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
34097 t1 = _this._table;
34098 t2 = J.getInterceptor$ax(t1);
34099 if (addCount < endSpace) {
34100 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
34101 _this.set$_tail(_this.get$_tail() + addCount);
34102 } else {
34103 preSpace = addCount - endSpace;
34104 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
34105 J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
34106 _this.set$_tail(preSpace);
34107 }
34108 }
34109 } else
34110 for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
34111 _this._queue_list$_add$1(t1.get$current(t1));
34112 },
34113 cast$1$0(_, $T) {
34114 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>"));
34115 },
34116 toString$0(_) {
34117 return A.IterableBase_iterableToFullString(this, "{", "}");
34118 },
34119 addFirst$1(element) {
34120 var _this = this;
34121 _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34122 J.$indexSet$ax(_this._table, _this.get$_head(), element);
34123 if (_this.get$_head() === _this.get$_tail())
34124 _this._grow$0();
34125 },
34126 removeFirst$0() {
34127 var result, _this = this;
34128 if (_this.get$_head() === _this.get$_tail())
34129 throw A.wrapException(A.StateError$("No element"));
34130 result = J.$index$asx(_this._table, _this.get$_head());
34131 if (result == null)
34132 result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
34133 J.$indexSet$ax(_this._table, _this.get$_head(), null);
34134 _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34135 return result;
34136 },
34137 get$length(_) {
34138 return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
34139 },
34140 set$length(_, value) {
34141 var delta, newTail, t1, t2, _this = this;
34142 if (value < 0)
34143 throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
34144 if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
34145 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) + "`."));
34146 delta = value - _this.get$length(_this);
34147 if (delta >= 0) {
34148 if (J.get$length$asx(_this._table) <= value)
34149 _this._preGrow$1(value);
34150 _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
34151 return;
34152 }
34153 newTail = _this.get$_tail() + delta;
34154 t1 = _this._table;
34155 if (newTail >= 0)
34156 J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
34157 else {
34158 newTail += J.get$length$asx(t1);
34159 J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
34160 t1 = _this._table;
34161 t2 = J.getInterceptor$asx(t1);
34162 t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
34163 }
34164 _this.set$_tail(newTail);
34165 },
34166 $index(_, index) {
34167 var t1, _this = this;
34168 if (index < 0 || index >= _this.get$length(_this))
34169 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34170 t1 = J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0);
34171 return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
34172 },
34173 $indexSet(_, index, value) {
34174 var _this = this;
34175 if (index < 0 || index >= _this.get$length(_this))
34176 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34177 J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
34178 },
34179 _queue_list$_add$1(element) {
34180 var _this = this;
34181 J.$indexSet$ax(_this._table, _this.get$_tail(), element);
34182 _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34183 if (_this.get$_head() === _this.get$_tail())
34184 _this._grow$0();
34185 },
34186 _grow$0() {
34187 var _this = this,
34188 newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
34189 split = J.get$length$asx(_this._table) - _this.get$_head();
34190 B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
34191 B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
34192 _this.set$_head(0);
34193 _this.set$_tail(J.get$length$asx(_this._table));
34194 _this._table = newTable;
34195 },
34196 _writeToList$1(target) {
34197 var $length, firstPartSize, _this = this;
34198 if (_this.get$_head() <= _this.get$_tail()) {
34199 $length = _this.get$_tail() - _this.get$_head();
34200 B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
34201 return $length;
34202 } else {
34203 firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
34204 B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
34205 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
34206 return _this.get$_tail() + firstPartSize;
34207 }
34208 },
34209 _preGrow$1(newElementCount) {
34210 var _this = this,
34211 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?"));
34212 _this.set$_tail(_this._writeToList$1(newTable));
34213 _this._table = newTable;
34214 _this.set$_head(0);
34215 },
34216 $isEfficientLengthIterable: 1,
34217 $isQueue: 1,
34218 $isIterable: 1,
34219 $isList: 1,
34220 get$_head() {
34221 return this._head;
34222 },
34223 get$_tail() {
34224 return this._tail;
34225 },
34226 set$_head(val) {
34227 return this._head = val;
34228 },
34229 set$_tail(val) {
34230 return this._tail = val;
34231 }
34232 };
34233 A._CastQueueList.prototype = {
34234 get$_head() {
34235 return this._queue_list$_delegate.get$_head();
34236 },
34237 set$_head(value) {
34238 this._queue_list$_delegate.set$_head(value);
34239 },
34240 get$_tail() {
34241 return this._queue_list$_delegate.get$_tail();
34242 },
34243 set$_tail(value) {
34244 this._queue_list$_delegate.set$_tail(value);
34245 }
34246 };
34247 A._QueueList_Object_ListMixin.prototype = {};
34248 A.UnmodifiableSetView.prototype = {};
34249 A.UnmodifiableSetMixin.prototype = {
34250 add$1(_, value) {
34251 return A.UnmodifiableSetMixin__throw();
34252 },
34253 addAll$1(_, elements) {
34254 return A.UnmodifiableSetMixin__throw();
34255 }
34256 };
34257 A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
34258 A._DelegatingIterableBase.prototype = {
34259 contains$1(_, element) {
34260 return J.contains$1$asx(this.get$_base(), element);
34261 },
34262 elementAt$1(_, index) {
34263 return J.elementAt$1$ax(this.get$_base(), index);
34264 },
34265 get$first(_) {
34266 return J.get$first$ax(this.get$_base());
34267 },
34268 get$isEmpty(_) {
34269 return J.get$isEmpty$asx(this.get$_base());
34270 },
34271 get$isNotEmpty(_) {
34272 return J.get$isNotEmpty$asx(this.get$_base());
34273 },
34274 get$iterator(_) {
34275 return J.get$iterator$ax(this.get$_base());
34276 },
34277 join$1(_, separator) {
34278 return J.join$1$ax(this.get$_base(), separator);
34279 },
34280 join$0($receiver) {
34281 return this.join$1($receiver, "");
34282 },
34283 get$last(_) {
34284 return J.get$last$ax(this.get$_base());
34285 },
34286 get$length(_) {
34287 return J.get$length$asx(this.get$_base());
34288 },
34289 map$1$1(_, f, $T) {
34290 return J.map$1$1$ax(this.get$_base(), f, $T);
34291 },
34292 get$single(_) {
34293 return J.get$single$ax(this.get$_base());
34294 },
34295 skip$1(_, n) {
34296 return J.skip$1$ax(this.get$_base(), n);
34297 },
34298 take$1(_, n) {
34299 return J.take$1$ax(this.get$_base(), n);
34300 },
34301 toList$1$growable(_, growable) {
34302 return J.toList$1$growable$ax(this.get$_base(), true);
34303 },
34304 toList$0($receiver) {
34305 return this.toList$1$growable($receiver, true);
34306 },
34307 toSet$0(_) {
34308 return J.toSet$0$ax(this.get$_base());
34309 },
34310 where$1(_, test) {
34311 return J.where$1$ax(this.get$_base(), test);
34312 },
34313 toString$0(_) {
34314 return J.toString$0$(this.get$_base());
34315 },
34316 $isIterable: 1
34317 };
34318 A.DelegatingSet.prototype = {
34319 add$1(_, value) {
34320 return this._base.add$1(0, value);
34321 },
34322 addAll$1(_, elements) {
34323 this._base.addAll$1(0, elements);
34324 },
34325 toSet$0(_) {
34326 return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
34327 },
34328 $isEfficientLengthIterable: 1,
34329 $isSet: 1,
34330 get$_base() {
34331 return this._base;
34332 }
34333 };
34334 A.MapKeySet.prototype = {
34335 get$_base() {
34336 var t1 = this._baseMap;
34337 return t1.get$keys(t1);
34338 },
34339 contains$1(_, element) {
34340 return this._baseMap.containsKey$1(element);
34341 },
34342 get$isEmpty(_) {
34343 var t1 = this._baseMap;
34344 return t1.get$isEmpty(t1);
34345 },
34346 get$isNotEmpty(_) {
34347 var t1 = this._baseMap;
34348 return t1.get$isNotEmpty(t1);
34349 },
34350 get$length(_) {
34351 var t1 = this._baseMap;
34352 return t1.get$length(t1);
34353 },
34354 toString$0(_) {
34355 return A.IterableBase_iterableToFullString(this, "{", "}");
34356 },
34357 difference$1(other) {
34358 return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
34359 },
34360 $isEfficientLengthIterable: 1,
34361 $isSet: 1
34362 };
34363 A.MapKeySet_difference_closure.prototype = {
34364 call$1(element) {
34365 return !this.other._source.contains$1(0, element);
34366 },
34367 $signature() {
34368 return this.$this.$ti._eval$1("bool(1)");
34369 }
34370 };
34371 A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
34372 A.BufferModule.prototype = {};
34373 A.BufferConstants.prototype = {};
34374 A.Buffer.prototype = {};
34375 A.ConsoleModule.prototype = {};
34376 A.Console.prototype = {};
34377 A.EventEmitter.prototype = {};
34378 A.FS.prototype = {};
34379 A.FSConstants.prototype = {};
34380 A.FSWatcher.prototype = {};
34381 A.ReadStream.prototype = {};
34382 A.ReadStreamOptions.prototype = {};
34383 A.WriteStream.prototype = {};
34384 A.WriteStreamOptions.prototype = {};
34385 A.FileOptions.prototype = {};
34386 A.StatOptions.prototype = {};
34387 A.MkdirOptions.prototype = {};
34388 A.RmdirOptions.prototype = {};
34389 A.WatchOptions.prototype = {};
34390 A.WatchFileOptions.prototype = {};
34391 A.Stats.prototype = {};
34392 A.Promise.prototype = {};
34393 A.Date.prototype = {};
34394 A.JsError.prototype = {};
34395 A.Atomics.prototype = {};
34396 A.Modules.prototype = {};
34397 A.Module1.prototype = {};
34398 A.Net.prototype = {};
34399 A.Socket.prototype = {};
34400 A.NetAddress.prototype = {};
34401 A.NetServer.prototype = {};
34402 A.NodeJsError.prototype = {};
34403 A.JsAssertionError.prototype = {};
34404 A.JsRangeError.prototype = {};
34405 A.JsReferenceError.prototype = {};
34406 A.JsSyntaxError.prototype = {};
34407 A.JsTypeError.prototype = {};
34408 A.JsSystemError.prototype = {};
34409 A.Process.prototype = {};
34410 A.CPUUsage.prototype = {};
34411 A.Release.prototype = {};
34412 A.StreamModule.prototype = {};
34413 A.Readable.prototype = {};
34414 A.Writable.prototype = {};
34415 A.Duplex.prototype = {};
34416 A.Transform.prototype = {};
34417 A.WritableOptions.prototype = {};
34418 A.ReadableOptions.prototype = {};
34419 A.Immediate.prototype = {};
34420 A.Timeout.prototype = {};
34421 A.TTY.prototype = {};
34422 A.TTYReadStream.prototype = {};
34423 A.TTYWriteStream.prototype = {};
34424 A.Util.prototype = {};
34425 A.promiseToFuture_closure.prototype = {
34426 call$1(value) {
34427 this.completer.complete$1(value);
34428 },
34429 $signature: 67
34430 };
34431 A.promiseToFuture_closure0.prototype = {
34432 call$1(error) {
34433 this.completer.completeError$1(error);
34434 },
34435 $signature: 67
34436 };
34437 A.futureToPromise_closure.prototype = {
34438 call$2(resolve, reject) {
34439 this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
34440 },
34441 $signature: 288
34442 };
34443 A.futureToPromise__closure.prototype = {
34444 call$1(result) {
34445 return this.resolve.call$1(result);
34446 },
34447 $signature() {
34448 return this.T._eval$1("@(0)");
34449 }
34450 };
34451 A.Context.prototype = {
34452 absolute$7(part1, part2, part3, part4, part5, part6, part7) {
34453 var t1;
34454 A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
34455 if (part2 == null) {
34456 t1 = this.style;
34457 t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
34458 } else
34459 t1 = false;
34460 if (t1)
34461 return part1;
34462 t1 = this._context$_current;
34463 return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
34464 },
34465 absolute$1(part1) {
34466 return this.absolute$7(part1, null, null, null, null, null, null);
34467 },
34468 dirname$1(path) {
34469 var t1, t2,
34470 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34471 parsed.removeTrailingSeparators$0();
34472 t1 = parsed.parts;
34473 t2 = t1.length;
34474 if (t2 === 0) {
34475 t1 = parsed.root;
34476 return t1 == null ? "." : t1;
34477 }
34478 if (t2 === 1) {
34479 t1 = parsed.root;
34480 return t1 == null ? "." : t1;
34481 }
34482 B.JSArray_methods.removeLast$0(t1);
34483 parsed.separators.pop();
34484 parsed.removeTrailingSeparators$0();
34485 return parsed.toString$0(0);
34486 },
34487 join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
34488 var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
34489 A._validateArgList("join", parts);
34490 return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
34491 },
34492 join$2($receiver, part1, part2) {
34493 return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
34494 },
34495 joinAll$1(parts) {
34496 var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
34497 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();) {
34498 t5 = t1.get$current(t1);
34499 if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
34500 parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
34501 path = t4.charCodeAt(0) == 0 ? t4 : t4;
34502 t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
34503 parsed.root = t4;
34504 if (t3.needsSeparator$1(t4))
34505 parsed.separators[0] = t3.get$separator(t3);
34506 t4 = "" + parsed.toString$0(0);
34507 } else if (t3.rootLength$1(t5) > 0) {
34508 isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
34509 t4 = "" + t5;
34510 } else {
34511 if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
34512 if (needsSeparator)
34513 t4 += t3.get$separator(t3);
34514 t4 += t5;
34515 }
34516 needsSeparator = t3.needsSeparator$1(t5);
34517 }
34518 return t4.charCodeAt(0) == 0 ? t4 : t4;
34519 },
34520 split$1(_, path) {
34521 var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
34522 t1 = parsed.parts,
34523 t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
34524 t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
34525 parsed.parts = t2;
34526 t1 = parsed.root;
34527 if (t1 != null)
34528 B.JSArray_methods.insert$2(t2, 0, t1);
34529 return parsed.parts;
34530 },
34531 canonicalize$1(_, path) {
34532 var t1, parsed;
34533 path = this.absolute$1(path);
34534 t1 = this.style;
34535 if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
34536 return path;
34537 parsed = A.ParsedPath_ParsedPath$parse(path, t1);
34538 parsed.normalize$1$canonicalize(true);
34539 return parsed.toString$0(0);
34540 },
34541 normalize$1(path) {
34542 var parsed;
34543 if (!this._needsNormalization$1(path))
34544 return path;
34545 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34546 parsed.normalize$0();
34547 return parsed.toString$0(0);
34548 },
34549 _needsNormalization$1(path) {
34550 var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
34551 t1 = this.style,
34552 root = t1.rootLength$1(path);
34553 if (root !== 0) {
34554 if (t1 === $.$get$Style_windows())
34555 for (i = 0; i < root; ++i)
34556 if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
34557 return true;
34558 start = root;
34559 previous = 47;
34560 } else {
34561 start = 0;
34562 previous = null;
34563 }
34564 for (t2 = new A.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
34565 codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
34566 if (t1.isSeparator$1(codeUnit)) {
34567 if (t1 === $.$get$Style_windows() && codeUnit === 47)
34568 return true;
34569 if (previous != null && t1.isSeparator$1(previous))
34570 return true;
34571 if (previous === 46)
34572 t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
34573 else
34574 t4 = false;
34575 if (t4)
34576 return true;
34577 }
34578 }
34579 if (previous == null)
34580 return true;
34581 if (t1.isSeparator$1(previous))
34582 return true;
34583 if (previous === 46)
34584 t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
34585 else
34586 t1 = false;
34587 if (t1)
34588 return true;
34589 return false;
34590 },
34591 relative$2$from(path, from) {
34592 var fromParsed, pathParsed, t2, t3, _this = this,
34593 _s26_ = 'Unable to find a path to "',
34594 t1 = from == null;
34595 if (t1 && _this.style.rootLength$1(path) <= 0)
34596 return _this.normalize$1(path);
34597 if (t1) {
34598 t1 = _this._context$_current;
34599 from = t1 == null ? A.current() : t1;
34600 } else
34601 from = _this.absolute$1(from);
34602 t1 = _this.style;
34603 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
34604 return _this.normalize$1(path);
34605 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
34606 path = _this.absolute$1(path);
34607 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
34608 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34609 fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
34610 fromParsed.normalize$0();
34611 pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
34612 pathParsed.normalize$0();
34613 t2 = fromParsed.parts;
34614 if (t2.length !== 0 && J.$eq$(t2[0], "."))
34615 return pathParsed.toString$0(0);
34616 t2 = fromParsed.root;
34617 t3 = pathParsed.root;
34618 if (t2 != t3)
34619 t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
34620 else
34621 t2 = false;
34622 if (t2)
34623 return pathParsed.toString$0(0);
34624 while (true) {
34625 t2 = fromParsed.parts;
34626 if (t2.length !== 0) {
34627 t3 = pathParsed.parts;
34628 t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
34629 } else
34630 t2 = false;
34631 if (!t2)
34632 break;
34633 B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
34634 B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
34635 B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
34636 B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
34637 }
34638 t2 = fromParsed.parts;
34639 if (t2.length !== 0 && J.$eq$(t2[0], ".."))
34640 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34641 t2 = type$.String;
34642 B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
34643 t3 = pathParsed.separators;
34644 t3[0] = "";
34645 B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
34646 t1 = pathParsed.parts;
34647 t2 = t1.length;
34648 if (t2 === 0)
34649 return ".";
34650 if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
34651 B.JSArray_methods.removeLast$0(pathParsed.parts);
34652 t1 = pathParsed.separators;
34653 t1.pop();
34654 t1.pop();
34655 t1.push("");
34656 }
34657 pathParsed.root = "";
34658 pathParsed.removeTrailingSeparators$0();
34659 return pathParsed.toString$0(0);
34660 },
34661 relative$1(path) {
34662 return this.relative$2$from(path, null);
34663 },
34664 _isWithinOrEquals$2($parent, child) {
34665 var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
34666 $parent = $parent;
34667 child = child;
34668 t1 = _this.style;
34669 parentIsAbsolute = t1.rootLength$1($parent) > 0;
34670 childIsAbsolute = t1.rootLength$1(child) > 0;
34671 if (parentIsAbsolute && !childIsAbsolute) {
34672 child = _this.absolute$1(child);
34673 if (t1.isRootRelative$1($parent))
34674 $parent = _this.absolute$1($parent);
34675 } else if (childIsAbsolute && !parentIsAbsolute) {
34676 $parent = _this.absolute$1($parent);
34677 if (t1.isRootRelative$1(child))
34678 child = _this.absolute$1(child);
34679 } else if (childIsAbsolute && parentIsAbsolute) {
34680 childIsRootRelative = t1.isRootRelative$1(child);
34681 parentIsRootRelative = t1.isRootRelative$1($parent);
34682 if (childIsRootRelative && !parentIsRootRelative)
34683 child = _this.absolute$1(child);
34684 else if (parentIsRootRelative && !childIsRootRelative)
34685 $parent = _this.absolute$1($parent);
34686 }
34687 result = _this._isWithinOrEqualsFast$2($parent, child);
34688 if (result !== B._PathRelation_inconclusive)
34689 return result;
34690 relative = null;
34691 try {
34692 relative = _this.relative$2$from(child, $parent);
34693 } catch (exception) {
34694 if (A.unwrapException(exception) instanceof A.PathException)
34695 return B._PathRelation_different;
34696 else
34697 throw exception;
34698 }
34699 if (t1.rootLength$1(relative) > 0)
34700 return B._PathRelation_different;
34701 if (J.$eq$(relative, "."))
34702 return B._PathRelation_equal;
34703 if (J.$eq$(relative, ".."))
34704 return B._PathRelation_different;
34705 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;
34706 },
34707 _isWithinOrEqualsFast$2($parent, child) {
34708 var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
34709 if ($parent === ".")
34710 $parent = "";
34711 t1 = _this.style;
34712 parentRootLength = t1.rootLength$1($parent);
34713 childRootLength = t1.rootLength$1(child);
34714 if (parentRootLength !== childRootLength)
34715 return B._PathRelation_different;
34716 for (i = 0; i < parentRootLength; ++i)
34717 if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
34718 return B._PathRelation_different;
34719 t2 = child.length;
34720 t3 = $parent.length;
34721 childIndex = childRootLength;
34722 parentIndex = parentRootLength;
34723 lastCodeUnit = 47;
34724 lastParentSeparator = null;
34725 while (true) {
34726 if (!(parentIndex < t3 && childIndex < t2))
34727 break;
34728 c$0: {
34729 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34730 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34731 if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
34732 if (t1.isSeparator$1(parentCodeUnit))
34733 lastParentSeparator = parentIndex;
34734 ++parentIndex;
34735 ++childIndex;
34736 lastCodeUnit = parentCodeUnit;
34737 break c$0;
34738 }
34739 if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34740 parentIndex0 = parentIndex + 1;
34741 lastParentSeparator = parentIndex;
34742 parentIndex = parentIndex0;
34743 break c$0;
34744 } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34745 ++childIndex;
34746 break c$0;
34747 }
34748 if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34749 ++parentIndex;
34750 if (parentIndex === t3)
34751 break;
34752 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34753 if (t1.isSeparator$1(parentCodeUnit)) {
34754 parentIndex0 = parentIndex + 1;
34755 lastParentSeparator = parentIndex;
34756 parentIndex = parentIndex0;
34757 break c$0;
34758 }
34759 if (parentCodeUnit === 46) {
34760 ++parentIndex;
34761 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34762 return B._PathRelation_inconclusive;
34763 }
34764 }
34765 if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34766 ++childIndex;
34767 if (childIndex === t2)
34768 break;
34769 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34770 if (t1.isSeparator$1(childCodeUnit)) {
34771 ++childIndex;
34772 break c$0;
34773 }
34774 if (childCodeUnit === 46) {
34775 ++childIndex;
34776 if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
34777 return B._PathRelation_inconclusive;
34778 }
34779 }
34780 if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
34781 return B._PathRelation_inconclusive;
34782 if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
34783 return B._PathRelation_inconclusive;
34784 return B._PathRelation_different;
34785 }
34786 }
34787 if (childIndex === t2) {
34788 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34789 lastParentSeparator = parentIndex;
34790 else if (lastParentSeparator == null)
34791 lastParentSeparator = Math.max(0, parentRootLength - 1);
34792 direction = _this._pathDirection$2($parent, lastParentSeparator);
34793 if (direction === B._PathDirection_8Gl)
34794 return B._PathRelation_equal;
34795 return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
34796 }
34797 direction = _this._pathDirection$2(child, childIndex);
34798 if (direction === B._PathDirection_8Gl)
34799 return B._PathRelation_equal;
34800 if (direction === B._PathDirection_ZGD)
34801 return B._PathRelation_inconclusive;
34802 return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
34803 },
34804 _pathDirection$2(path, index) {
34805 var t1, t2, i, depth, reachedRoot, i0, t3;
34806 for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
34807 while (true) {
34808 if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
34809 break;
34810 ++i;
34811 }
34812 if (i === t1)
34813 break;
34814 i0 = i;
34815 while (true) {
34816 if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
34817 break;
34818 ++i0;
34819 }
34820 t3 = i0 - i;
34821 if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
34822 if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
34823 --depth;
34824 if (depth < 0)
34825 break;
34826 if (depth === 0)
34827 reachedRoot = true;
34828 } else
34829 ++depth;
34830 if (i0 === t1)
34831 break;
34832 i = i0 + 1;
34833 }
34834 if (depth < 0)
34835 return B._PathDirection_ZGD;
34836 if (depth === 0)
34837 return B._PathDirection_8Gl;
34838 if (reachedRoot)
34839 return B._PathDirection_FIw;
34840 return B._PathDirection_988;
34841 },
34842 hash$1(path) {
34843 var result, parsed, t1, _this = this;
34844 path = _this.absolute$1(path);
34845 result = _this._hashFast$1(path);
34846 if (result != null)
34847 return result;
34848 parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
34849 parsed.normalize$0();
34850 t1 = _this._hashFast$1(parsed.toString$0(0));
34851 t1.toString;
34852 return t1;
34853 },
34854 _hashFast$1(path) {
34855 var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
34856 for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
34857 codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
34858 if (t2.isSeparator$1(codeUnit)) {
34859 wasSeparator = true;
34860 continue;
34861 }
34862 if (codeUnit === 46 && wasSeparator) {
34863 t3 = i + 1;
34864 if (t3 === t1)
34865 break;
34866 next = B.JSString_methods._codeUnitAt$1(path, t3);
34867 if (t2.isSeparator$1(next))
34868 continue;
34869 if (!beginning)
34870 if (next === 46) {
34871 t3 = i + 2;
34872 t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
34873 } else
34874 t3 = false;
34875 else
34876 t3 = false;
34877 if (t3)
34878 return null;
34879 }
34880 hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
34881 beginning = false;
34882 wasSeparator = false;
34883 }
34884 return hash;
34885 },
34886 withoutExtension$1(path) {
34887 var i,
34888 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34889 for (i = parsed.parts.length - 1; i >= 0; --i)
34890 if (J.get$length$asx(parsed.parts[i]) !== 0) {
34891 parsed.parts[i] = parsed._splitExtension$0()[0];
34892 break;
34893 }
34894 return parsed.toString$0(0);
34895 },
34896 toUri$1(path) {
34897 var t2,
34898 t1 = this.style;
34899 if (t1.rootLength$1(path) <= 0)
34900 return t1.relativePathToUri$1(path);
34901 else {
34902 t2 = this._context$_current;
34903 return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
34904 }
34905 },
34906 prettyUri$1(uri) {
34907 var path, rel, _this = this,
34908 typedUri = A._parseUri(uri);
34909 if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
34910 return typedUri.toString$0(0);
34911 else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
34912 return typedUri.toString$0(0);
34913 path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
34914 rel = _this.relative$1(path);
34915 return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
34916 }
34917 };
34918 A.Context_joinAll_closure.prototype = {
34919 call$1(part) {
34920 return part !== "";
34921 },
34922 $signature: 6
34923 };
34924 A.Context_split_closure.prototype = {
34925 call$1(part) {
34926 return part.length !== 0;
34927 },
34928 $signature: 6
34929 };
34930 A._validateArgList_closure.prototype = {
34931 call$1(arg) {
34932 return arg == null ? "null" : '"' + arg + '"';
34933 },
34934 $signature: 290
34935 };
34936 A._PathDirection.prototype = {
34937 toString$0(_) {
34938 return this.name;
34939 }
34940 };
34941 A._PathRelation.prototype = {
34942 toString$0(_) {
34943 return this.name;
34944 }
34945 };
34946 A.InternalStyle.prototype = {
34947 getRoot$1(path) {
34948 var $length = this.rootLength$1(path);
34949 if ($length > 0)
34950 return B.JSString_methods.substring$2(path, 0, $length);
34951 return this.isRootRelative$1(path) ? path[0] : null;
34952 },
34953 relativePathToUri$1(path) {
34954 var segments, _null = null,
34955 t1 = path.length;
34956 if (t1 === 0)
34957 return A._Uri__Uri(_null, _null, _null, _null);
34958 segments = A.Context_Context(this).split$1(0, path);
34959 if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
34960 B.JSArray_methods.add$1(segments, "");
34961 return A._Uri__Uri(_null, _null, segments, _null);
34962 },
34963 codeUnitsEqual$2(codeUnit1, codeUnit2) {
34964 return codeUnit1 === codeUnit2;
34965 },
34966 pathsEqual$2(path1, path2) {
34967 return path1 === path2;
34968 },
34969 canonicalizeCodeUnit$1(codeUnit) {
34970 return codeUnit;
34971 },
34972 canonicalizePart$1(part) {
34973 return part;
34974 }
34975 };
34976 A.ParsedPath.prototype = {
34977 get$basename() {
34978 var _this = this,
34979 t1 = type$.String,
34980 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));
34981 copy.removeTrailingSeparators$0();
34982 t1 = copy.parts;
34983 if (t1.length === 0) {
34984 t1 = _this.root;
34985 return t1 == null ? "" : t1;
34986 }
34987 return B.JSArray_methods.get$last(t1);
34988 },
34989 get$hasTrailingSeparator() {
34990 var t1 = this.parts;
34991 if (t1.length !== 0)
34992 t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
34993 else
34994 t1 = false;
34995 return t1;
34996 },
34997 removeTrailingSeparators$0() {
34998 var t1, t2, _this = this;
34999 while (true) {
35000 t1 = _this.parts;
35001 if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
35002 break;
35003 B.JSArray_methods.removeLast$0(_this.parts);
35004 _this.separators.pop();
35005 }
35006 t1 = _this.separators;
35007 t2 = t1.length;
35008 if (t2 !== 0)
35009 t1[t2 - 1] = "";
35010 },
35011 normalize$1$canonicalize(canonicalize) {
35012 var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
35013 newParts = A._setArrayType([], type$.JSArray_String);
35014 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) {
35015 part = t1[_i];
35016 t4 = J.getInterceptor$(part);
35017 if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
35018 if (t4.$eq(part, ".."))
35019 if (newParts.length !== 0)
35020 newParts.pop();
35021 else
35022 ++leadingDoubles;
35023 else
35024 newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
35025 }
35026 if (_this.root == null)
35027 B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
35028 if (newParts.length === 0 && _this.root == null)
35029 newParts.push(".");
35030 _this.parts = newParts;
35031 _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
35032 t1 = _this.root;
35033 if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
35034 _this.separators[0] = "";
35035 t1 = _this.root;
35036 if (t1 != null && t3 === $.$get$Style_windows()) {
35037 if (canonicalize)
35038 t1 = _this.root = t1.toLowerCase();
35039 t1.toString;
35040 _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
35041 }
35042 _this.removeTrailingSeparators$0();
35043 },
35044 normalize$0() {
35045 return this.normalize$1$canonicalize(false);
35046 },
35047 toString$0(_) {
35048 var i, _this = this,
35049 t1 = _this.root;
35050 t1 = t1 != null ? "" + t1 : "";
35051 for (i = 0; i < _this.parts.length; ++i)
35052 t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
35053 t1 += A.S(B.JSArray_methods.get$last(_this.separators));
35054 return t1.charCodeAt(0) == 0 ? t1 : t1;
35055 },
35056 _kthLastIndexOf$3(path, character, k) {
35057 var index, count, leftMostIndexedCharacter;
35058 for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
35059 if (path[index] === character) {
35060 ++count;
35061 if (count === k)
35062 return index;
35063 leftMostIndexedCharacter = index;
35064 }
35065 return leftMostIndexedCharacter;
35066 },
35067 _splitExtension$1(level) {
35068 var t1, file, lastDot;
35069 if (level <= 0)
35070 throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
35071 t1 = this.parts;
35072 t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
35073 file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
35074 if (file == null)
35075 return A._setArrayType(["", ""], type$.JSArray_String);
35076 if (file === "..")
35077 return A._setArrayType(["..", ""], type$.JSArray_String);
35078 lastDot = this._kthLastIndexOf$3(file, ".", level);
35079 if (lastDot <= 0)
35080 return A._setArrayType([file, ""], type$.JSArray_String);
35081 return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
35082 },
35083 _splitExtension$0() {
35084 return this._splitExtension$1(1);
35085 }
35086 };
35087 A.ParsedPath__splitExtension_closure.prototype = {
35088 call$1(p) {
35089 return p !== "";
35090 },
35091 $signature: 223
35092 };
35093 A.ParsedPath__splitExtension_closure0.prototype = {
35094 call$0() {
35095 return null;
35096 },
35097 $signature: 1
35098 };
35099 A.PathException.prototype = {
35100 toString$0(_) {
35101 return "PathException: " + this.message;
35102 },
35103 $isException: 1,
35104 get$message(receiver) {
35105 return this.message;
35106 }
35107 };
35108 A.PathMap.prototype = {};
35109 A.PathMap__create_closure.prototype = {
35110 call$2(path1, path2) {
35111 if (path1 == null)
35112 return path2 == null;
35113 if (path2 == null)
35114 return false;
35115 return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
35116 },
35117 $signature: 298
35118 };
35119 A.PathMap__create_closure0.prototype = {
35120 call$1(path) {
35121 return path == null ? 0 : this._box_0.context.hash$1(path);
35122 },
35123 $signature: 311
35124 };
35125 A.PathMap__create_closure1.prototype = {
35126 call$1(path) {
35127 return typeof path == "string" || path == null;
35128 },
35129 $signature: 134
35130 };
35131 A.Style.prototype = {
35132 toString$0(_) {
35133 return this.get$name(this);
35134 }
35135 };
35136 A.PosixStyle.prototype = {
35137 containsSeparator$1(path) {
35138 return B.JSString_methods.contains$1(path, "/");
35139 },
35140 isSeparator$1(codeUnit) {
35141 return codeUnit === 47;
35142 },
35143 needsSeparator$1(path) {
35144 var t1 = path.length;
35145 return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
35146 },
35147 rootLength$2$withDrive(path, withDrive) {
35148 if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35149 return 1;
35150 return 0;
35151 },
35152 rootLength$1(path) {
35153 return this.rootLength$2$withDrive(path, false);
35154 },
35155 isRootRelative$1(path) {
35156 return false;
35157 },
35158 pathFromUri$1(uri) {
35159 var t1;
35160 if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
35161 t1 = uri.get$path(uri);
35162 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35163 }
35164 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35165 },
35166 absolutePathToUri$1(path) {
35167 var parsed = A.ParsedPath_ParsedPath$parse(path, this),
35168 t1 = parsed.parts;
35169 if (t1.length === 0)
35170 B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
35171 else if (parsed.get$hasTrailingSeparator())
35172 B.JSArray_methods.add$1(parsed.parts, "");
35173 return A._Uri__Uri(null, null, parsed.parts, "file");
35174 },
35175 get$name() {
35176 return "posix";
35177 },
35178 get$separator() {
35179 return "/";
35180 }
35181 };
35182 A.UrlStyle.prototype = {
35183 containsSeparator$1(path) {
35184 return B.JSString_methods.contains$1(path, "/");
35185 },
35186 isSeparator$1(codeUnit) {
35187 return codeUnit === 47;
35188 },
35189 needsSeparator$1(path) {
35190 var t1 = path.length;
35191 if (t1 === 0)
35192 return false;
35193 if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
35194 return true;
35195 return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
35196 },
35197 rootLength$2$withDrive(path, withDrive) {
35198 var i, codeUnit, index, t2,
35199 t1 = path.length;
35200 if (t1 === 0)
35201 return 0;
35202 if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35203 return 1;
35204 for (i = 0; i < t1; ++i) {
35205 codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
35206 if (codeUnit === 47)
35207 return 0;
35208 if (codeUnit === 58) {
35209 if (i === 0)
35210 return 0;
35211 index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
35212 if (index <= 0)
35213 return t1;
35214 if (!withDrive || t1 < index + 3)
35215 return index;
35216 if (!B.JSString_methods.startsWith$1(path, "file://"))
35217 return index;
35218 if (!A.isDriveLetter(path, index + 1))
35219 return index;
35220 t2 = index + 3;
35221 return t1 === t2 ? t2 : index + 4;
35222 }
35223 }
35224 return 0;
35225 },
35226 rootLength$1(path) {
35227 return this.rootLength$2$withDrive(path, false);
35228 },
35229 isRootRelative$1(path) {
35230 return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
35231 },
35232 pathFromUri$1(uri) {
35233 return uri.toString$0(0);
35234 },
35235 relativePathToUri$1(path) {
35236 return A.Uri_parse(path);
35237 },
35238 absolutePathToUri$1(path) {
35239 return A.Uri_parse(path);
35240 },
35241 get$name() {
35242 return "url";
35243 },
35244 get$separator() {
35245 return "/";
35246 }
35247 };
35248 A.WindowsStyle.prototype = {
35249 containsSeparator$1(path) {
35250 return B.JSString_methods.contains$1(path, "/");
35251 },
35252 isSeparator$1(codeUnit) {
35253 return codeUnit === 47 || codeUnit === 92;
35254 },
35255 needsSeparator$1(path) {
35256 var t1 = path.length;
35257 if (t1 === 0)
35258 return false;
35259 t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
35260 return !(t1 === 47 || t1 === 92);
35261 },
35262 rootLength$2$withDrive(path, withDrive) {
35263 var t2, index,
35264 t1 = path.length;
35265 if (t1 === 0)
35266 return 0;
35267 t2 = B.JSString_methods._codeUnitAt$1(path, 0);
35268 if (t2 === 47)
35269 return 1;
35270 if (t2 === 92) {
35271 if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
35272 return 1;
35273 index = B.JSString_methods.indexOf$2(path, "\\", 2);
35274 if (index > 0) {
35275 index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
35276 if (index > 0)
35277 return index;
35278 }
35279 return t1;
35280 }
35281 if (t1 < 3)
35282 return 0;
35283 if (!A.isAlphabetic(t2))
35284 return 0;
35285 if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
35286 return 0;
35287 t1 = B.JSString_methods._codeUnitAt$1(path, 2);
35288 if (!(t1 === 47 || t1 === 92))
35289 return 0;
35290 return 3;
35291 },
35292 rootLength$1(path) {
35293 return this.rootLength$2$withDrive(path, false);
35294 },
35295 isRootRelative$1(path) {
35296 return this.rootLength$1(path) === 1;
35297 },
35298 pathFromUri$1(uri) {
35299 var path, t1;
35300 if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
35301 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35302 path = uri.get$path(uri);
35303 if (uri.get$host() === "") {
35304 if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
35305 path = B.JSString_methods.replaceFirst$2(path, "/", "");
35306 } else
35307 path = "\\\\" + uri.get$host() + path;
35308 t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
35309 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35310 },
35311 absolutePathToUri$1(path) {
35312 var rootParts, t2,
35313 parsed = A.ParsedPath_ParsedPath$parse(path, this),
35314 t1 = parsed.root;
35315 t1.toString;
35316 if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
35317 rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
35318 B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
35319 if (parsed.get$hasTrailingSeparator())
35320 B.JSArray_methods.add$1(parsed.parts, "");
35321 return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
35322 } else {
35323 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
35324 B.JSArray_methods.add$1(parsed.parts, "");
35325 t1 = parsed.parts;
35326 t2 = parsed.root;
35327 t2.toString;
35328 t2 = A.stringReplaceAllUnchecked(t2, "/", "");
35329 B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
35330 return A._Uri__Uri(null, null, parsed.parts, "file");
35331 }
35332 },
35333 codeUnitsEqual$2(codeUnit1, codeUnit2) {
35334 var upperCase1;
35335 if (codeUnit1 === codeUnit2)
35336 return true;
35337 if (codeUnit1 === 47)
35338 return codeUnit2 === 92;
35339 if (codeUnit1 === 92)
35340 return codeUnit2 === 47;
35341 if ((codeUnit1 ^ codeUnit2) !== 32)
35342 return false;
35343 upperCase1 = codeUnit1 | 32;
35344 return upperCase1 >= 97 && upperCase1 <= 122;
35345 },
35346 pathsEqual$2(path1, path2) {
35347 var t1, i;
35348 if (path1 === path2)
35349 return true;
35350 t1 = path1.length;
35351 if (t1 !== path2.length)
35352 return false;
35353 for (i = 0; i < t1; ++i)
35354 if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
35355 return false;
35356 return true;
35357 },
35358 canonicalizeCodeUnit$1(codeUnit) {
35359 if (codeUnit === 47)
35360 return 92;
35361 if (codeUnit < 65)
35362 return codeUnit;
35363 if (codeUnit > 90)
35364 return codeUnit;
35365 return codeUnit | 32;
35366 },
35367 canonicalizePart$1(part) {
35368 return part.toLowerCase();
35369 },
35370 get$name() {
35371 return "windows";
35372 },
35373 get$separator() {
35374 return "\\";
35375 }
35376 };
35377 A.WindowsStyle_absolutePathToUri_closure.prototype = {
35378 call$1(part) {
35379 return part !== "";
35380 },
35381 $signature: 6
35382 };
35383 A.CssMediaQuery.prototype = {
35384 merge$1(other) {
35385 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
35386 t1 = _this.modifier,
35387 ourModifier = t1 == null ? _null : t1.toLowerCase(),
35388 t2 = _this.type,
35389 t3 = t2 == null,
35390 ourType = t3 ? _null : t2.toLowerCase(),
35391 t4 = other.modifier,
35392 theirModifier = t4 == null ? _null : t4.toLowerCase(),
35393 t5 = other.type,
35394 t6 = t5 == null,
35395 theirType = t6 ? _null : t5.toLowerCase(),
35396 t7 = ourType == null;
35397 if (t7 && theirType == null) {
35398 t1 = type$.String;
35399 t2 = A.List_List$of(_this.features, true, t1);
35400 B.JSArray_methods.addAll$1(t2, other.features);
35401 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(t2, t1)));
35402 }
35403 t8 = ourModifier === "not";
35404 if (t8 !== (theirModifier === "not")) {
35405 if (ourType == theirType) {
35406 negativeFeatures = t8 ? _this.features : other.features;
35407 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
35408 return B._SingletonCssMediaQueryMergeResult_empty;
35409 else
35410 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35411 } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
35412 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35413 if (t8) {
35414 features = other.features;
35415 type = theirType;
35416 modifier = theirModifier;
35417 } else {
35418 features = _this.features;
35419 type = ourType;
35420 modifier = ourModifier;
35421 }
35422 } else if (t8) {
35423 if (ourType != theirType)
35424 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35425 fewerFeatures = _this.features;
35426 fewerFeatures0 = other.features;
35427 t3 = fewerFeatures.length > fewerFeatures0.length;
35428 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
35429 if (t3)
35430 fewerFeatures = fewerFeatures0;
35431 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
35432 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35433 features = moreFeatures;
35434 type = ourType;
35435 modifier = ourModifier;
35436 } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
35437 type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
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 = theirModifier;
35442 } else {
35443 if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
35444 t3 = A.List_List$of(_this.features, true, type$.String);
35445 B.JSArray_methods.addAll$1(t3, other.features);
35446 features = t3;
35447 modifier = ourModifier;
35448 } else {
35449 if (ourType != theirType)
35450 return B._SingletonCssMediaQueryMergeResult_empty;
35451 else {
35452 modifier = ourModifier == null ? theirModifier : ourModifier;
35453 t3 = A.List_List$of(_this.features, true, type$.String);
35454 B.JSArray_methods.addAll$1(t3, other.features);
35455 }
35456 features = t3;
35457 }
35458 type = ourType;
35459 }
35460 t2 = type == ourType ? t2 : t5;
35461 t1 = modifier == ourModifier ? t1 : t4;
35462 t3 = A.List_List$unmodifiable(features, type$.String);
35463 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(t1, t2, t3));
35464 },
35465 $eq(_, other) {
35466 if (other == null)
35467 return false;
35468 return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
35469 },
35470 get$hashCode(_) {
35471 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
35472 },
35473 toString$0(_) {
35474 var t2, _this = this,
35475 t1 = _this.modifier;
35476 t1 = t1 != null ? "" + (t1 + " ") : "";
35477 t2 = _this.type;
35478 if (t2 != null) {
35479 t1 += t2;
35480 if (_this.features.length !== 0)
35481 t1 += " and ";
35482 }
35483 t1 += B.JSArray_methods.join$1(_this.features, " and ");
35484 return t1.charCodeAt(0) == 0 ? t1 : t1;
35485 }
35486 };
35487 A._SingletonCssMediaQueryMergeResult.prototype = {
35488 toString$0(_) {
35489 return this._media_query$_name;
35490 }
35491 };
35492 A.MediaQuerySuccessfulMergeResult.prototype = {};
35493 A.ModifiableCssAtRule.prototype = {
35494 accept$1$1(visitor) {
35495 return visitor.visitCssAtRule$1(this);
35496 },
35497 accept$1(visitor) {
35498 return this.accept$1$1(visitor, type$.dynamic);
35499 },
35500 copyWithoutChildren$0() {
35501 var _this = this;
35502 return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
35503 },
35504 addChild$1(child) {
35505 this.super$ModifiableCssParentNode$addChild(child);
35506 },
35507 $isCssAtRule: 1,
35508 get$isChildless() {
35509 return this.isChildless;
35510 },
35511 get$span(receiver) {
35512 return this.span;
35513 }
35514 };
35515 A.ModifiableCssComment.prototype = {
35516 accept$1$1(visitor) {
35517 return visitor.visitCssComment$1(this);
35518 },
35519 accept$1(visitor) {
35520 return this.accept$1$1(visitor, type$.dynamic);
35521 },
35522 $isCssComment: 1,
35523 get$span(receiver) {
35524 return this.span;
35525 }
35526 };
35527 A.ModifiableCssDeclaration.prototype = {
35528 accept$1$1(visitor) {
35529 return visitor.visitCssDeclaration$1(this);
35530 },
35531 accept$1(visitor) {
35532 return this.accept$1$1(visitor, type$.dynamic);
35533 },
35534 toString$0(_) {
35535 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
35536 },
35537 get$span(receiver) {
35538 return this.span;
35539 }
35540 };
35541 A.ModifiableCssImport.prototype = {
35542 accept$1$1(visitor) {
35543 return visitor.visitCssImport$1(this);
35544 },
35545 accept$1(visitor) {
35546 return this.accept$1$1(visitor, type$.dynamic);
35547 },
35548 $isCssImport: 1,
35549 get$span(receiver) {
35550 return this.span;
35551 }
35552 };
35553 A.ModifiableCssKeyframeBlock.prototype = {
35554 accept$1$1(visitor) {
35555 return visitor.visitCssKeyframeBlock$1(this);
35556 },
35557 accept$1(visitor) {
35558 return this.accept$1$1(visitor, type$.dynamic);
35559 },
35560 copyWithoutChildren$0() {
35561 return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
35562 },
35563 get$span(receiver) {
35564 return this.span;
35565 }
35566 };
35567 A.ModifiableCssMediaRule.prototype = {
35568 accept$1$1(visitor) {
35569 return visitor.visitCssMediaRule$1(this);
35570 },
35571 accept$1(visitor) {
35572 return this.accept$1$1(visitor, type$.dynamic);
35573 },
35574 copyWithoutChildren$0() {
35575 return A.ModifiableCssMediaRule$(this.queries, this.span);
35576 },
35577 $isCssMediaRule: 1,
35578 get$span(receiver) {
35579 return this.span;
35580 }
35581 };
35582 A.ModifiableCssNode.prototype = {
35583 get$hasFollowingSibling() {
35584 var siblings, t1, i, t2,
35585 $parent = this._parent;
35586 if ($parent == null)
35587 return false;
35588 siblings = $parent.children;
35589 t1 = this._indexInParent;
35590 t1.toString;
35591 i = t1 + 1;
35592 t1 = siblings._collection$_source;
35593 t2 = J.getInterceptor$asx(t1);
35594 for (; i < t2.get$length(t1); ++i)
35595 if (!this._node$_isInvisible$1(t2.elementAt$1(t1, i)))
35596 return true;
35597 return false;
35598 },
35599 _node$_isInvisible$1(node) {
35600 if (type$.CssParentNode._is(node)) {
35601 if (type$.CssAtRule._is(node))
35602 return false;
35603 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
35604 return true;
35605 return J.every$1$ax(node.get$children(node), this.get$_node$_isInvisible());
35606 } else
35607 return false;
35608 },
35609 get$isGroupEnd() {
35610 return this.isGroupEnd;
35611 }
35612 };
35613 A.ModifiableCssParentNode.prototype = {
35614 get$isChildless() {
35615 return false;
35616 },
35617 addChild$1(child) {
35618 var t1;
35619 child._parent = this;
35620 t1 = this._children;
35621 child._indexInParent = t1.length;
35622 t1.push(child);
35623 },
35624 $isCssParentNode: 1,
35625 get$children(receiver) {
35626 return this.children;
35627 }
35628 };
35629 A.ModifiableCssStyleRule.prototype = {
35630 accept$1$1(visitor) {
35631 return visitor.visitCssStyleRule$1(this);
35632 },
35633 accept$1(visitor) {
35634 return this.accept$1$1(visitor, type$.dynamic);
35635 },
35636 copyWithoutChildren$0() {
35637 return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
35638 },
35639 $isCssStyleRule: 1,
35640 get$span(receiver) {
35641 return this.span;
35642 }
35643 };
35644 A.ModifiableCssStylesheet.prototype = {
35645 accept$1$1(visitor) {
35646 return visitor.visitCssStylesheet$1(this);
35647 },
35648 accept$1(visitor) {
35649 return this.accept$1$1(visitor, type$.dynamic);
35650 },
35651 copyWithoutChildren$0() {
35652 return A.ModifiableCssStylesheet$(this.span);
35653 },
35654 $isCssStylesheet: 1,
35655 get$span(receiver) {
35656 return this.span;
35657 }
35658 };
35659 A.ModifiableCssSupportsRule.prototype = {
35660 accept$1$1(visitor) {
35661 return visitor.visitCssSupportsRule$1(this);
35662 },
35663 accept$1(visitor) {
35664 return this.accept$1$1(visitor, type$.dynamic);
35665 },
35666 copyWithoutChildren$0() {
35667 return A.ModifiableCssSupportsRule$(this.condition, this.span);
35668 },
35669 $isCssSupportsRule: 1,
35670 get$span(receiver) {
35671 return this.span;
35672 }
35673 };
35674 A.ModifiableCssValue.prototype = {
35675 toString$0(_) {
35676 return A.serializeSelector(this.value, true);
35677 },
35678 $isCssValue: 1,
35679 $isAstNode: 1,
35680 get$value(receiver) {
35681 return this.value;
35682 },
35683 get$span(receiver) {
35684 return this.span;
35685 }
35686 };
35687 A.CssNode.prototype = {
35688 toString$0(_) {
35689 return A.serialize(this, true, null, true, null, false, null, true).css;
35690 }
35691 };
35692 A.CssParentNode.prototype = {};
35693 A.CssStylesheet.prototype = {
35694 get$isGroupEnd() {
35695 return false;
35696 },
35697 get$isChildless() {
35698 return false;
35699 },
35700 accept$1$1(visitor) {
35701 return visitor.visitCssStylesheet$1(this);
35702 },
35703 accept$1(visitor) {
35704 return this.accept$1$1(visitor, type$.dynamic);
35705 },
35706 get$children(receiver) {
35707 return this.children;
35708 },
35709 get$span(receiver) {
35710 return this.span;
35711 }
35712 };
35713 A.CssValue.prototype = {
35714 toString$0(_) {
35715 return J.toString$0$(this.value);
35716 },
35717 $isAstNode: 1,
35718 get$value(receiver) {
35719 return this.value;
35720 },
35721 get$span(receiver) {
35722 return this.span;
35723 }
35724 };
35725 A.AstNode.prototype = {};
35726 A._FakeAstNode.prototype = {
35727 get$span(_) {
35728 return this._callback.call$0();
35729 },
35730 $isAstNode: 1
35731 };
35732 A.Argument.prototype = {
35733 toString$0(_) {
35734 var t1 = this.defaultValue,
35735 t2 = this.name;
35736 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
35737 },
35738 $isAstNode: 1,
35739 get$span(receiver) {
35740 return this.span;
35741 }
35742 };
35743 A.ArgumentDeclaration.prototype = {
35744 get$spanWithName() {
35745 var t3, t4,
35746 t1 = this.span,
35747 t2 = t1.file,
35748 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
35749 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
35750 while (true) {
35751 if (i > 0) {
35752 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35753 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
35754 } else
35755 t3 = false;
35756 if (!t3)
35757 break;
35758 --i;
35759 }
35760 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35761 if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
35762 return t1;
35763 --i;
35764 while (true) {
35765 if (i >= 0) {
35766 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35767 if (t3 !== 95) {
35768 if (!(t3 >= 97 && t3 <= 122))
35769 t4 = t3 >= 65 && t3 <= 90;
35770 else
35771 t4 = true;
35772 t4 = t4 || t3 >= 128;
35773 } else
35774 t4 = true;
35775 if (!t4) {
35776 t4 = t3 >= 48 && t3 <= 57;
35777 t3 = t4 || t3 === 45;
35778 } else
35779 t3 = true;
35780 } else
35781 t3 = false;
35782 if (!t3)
35783 break;
35784 --i;
35785 }
35786 t3 = i + 1;
35787 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
35788 if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
35789 return t1;
35790 return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
35791 },
35792 verify$2(positional, names) {
35793 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
35794 _s10_ = "invocation",
35795 _s8_ = "argument";
35796 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35797 argument = t1[i];
35798 if (i < positional) {
35799 t4 = argument.name;
35800 if (t3.containsKey$1(t4))
35801 throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p));
35802 } else {
35803 t4 = argument.name;
35804 if (t3.containsKey$1(t4))
35805 ++namedUsed;
35806 else if (argument.defaultValue == null)
35807 throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
35808 }
35809 }
35810 if (_this.restArgument != null)
35811 return;
35812 if (positional > t2) {
35813 t1 = names.get$isEmpty(names) ? "" : "positional ";
35814 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)));
35815 }
35816 if (namedUsed < t3.get$length(t3)) {
35817 t2 = type$.String;
35818 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
35819 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
35820 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)));
35821 }
35822 },
35823 _originalArgumentName$1($name) {
35824 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
35825 if ($name === this.restArgument) {
35826 t1 = this.span;
35827 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
35828 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, "."));
35829 }
35830 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
35831 argument = t1[_i];
35832 if (argument.name === $name) {
35833 t1 = argument.defaultValue;
35834 t2 = argument.span;
35835 t3 = t2.file;
35836 t4 = t2._file$_start;
35837 t2 = t2._end;
35838 if (t1 == null) {
35839 t1 = t3._decodedChars;
35840 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35841 } else {
35842 t1 = t3._decodedChars;
35843 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35844 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
35845 end = A._lastNonWhitespace(t1, false);
35846 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
35847 }
35848 return t1;
35849 }
35850 }
35851 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
35852 },
35853 matches$2(positional, names) {
35854 var t1, t2, t3, namedUsed, i, argument;
35855 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35856 argument = t1[i];
35857 if (i < positional) {
35858 if (t3.containsKey$1(argument.name))
35859 return false;
35860 } else if (t3.containsKey$1(argument.name))
35861 ++namedUsed;
35862 else if (argument.defaultValue == null)
35863 return false;
35864 }
35865 if (this.restArgument != null)
35866 return true;
35867 if (positional > t2)
35868 return false;
35869 if (namedUsed < t3.get$length(t3))
35870 return false;
35871 return true;
35872 },
35873 toString$0(_) {
35874 var t2, t3, _i,
35875 t1 = A._setArrayType([], type$.JSArray_String);
35876 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
35877 t1.push("$" + A.S(t2[_i]));
35878 t2 = this.restArgument;
35879 if (t2 != null)
35880 t1.push("$" + t2 + "...");
35881 return B.JSArray_methods.join$1(t1, ", ");
35882 },
35883 $isAstNode: 1,
35884 get$span(receiver) {
35885 return this.span;
35886 }
35887 };
35888 A.ArgumentDeclaration_verify_closure.prototype = {
35889 call$1(argument) {
35890 return argument.name;
35891 },
35892 $signature: 313
35893 };
35894 A.ArgumentDeclaration_verify_closure0.prototype = {
35895 call$1($name) {
35896 return "$" + $name;
35897 },
35898 $signature: 5
35899 };
35900 A.ArgumentInvocation.prototype = {
35901 get$isEmpty(_) {
35902 var t1;
35903 if (this.positional.length === 0) {
35904 t1 = this.named;
35905 t1 = t1.get$isEmpty(t1) && this.rest == null;
35906 } else
35907 t1 = false;
35908 return t1;
35909 },
35910 toString$0(_) {
35911 var t2, t3, t4, _this = this,
35912 t1 = A.List_List$of(_this.positional, true, type$.Object);
35913 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
35914 t4 = t3.get$current(t3);
35915 t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
35916 }
35917 t2 = _this.rest;
35918 if (t2 != null)
35919 t1.push(t2.toString$0(0) + "...");
35920 t2 = _this.keywordRest;
35921 if (t2 != null)
35922 t1.push(t2.toString$0(0) + "...");
35923 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
35924 },
35925 $isAstNode: 1,
35926 get$span(receiver) {
35927 return this.span;
35928 }
35929 };
35930 A.AtRootQuery.prototype = {
35931 excludes$1(node) {
35932 var t1, _this = this;
35933 if (_this._all)
35934 return !_this.include;
35935 if (type$.CssStyleRule._is(node))
35936 return _this._at_root_query$_rule !== _this.include;
35937 if (type$.CssMediaRule._is(node))
35938 return _this.excludesName$1("media");
35939 if (type$.CssSupportsRule._is(node))
35940 return _this.excludesName$1("supports");
35941 if (type$.CssAtRule._is(node)) {
35942 t1 = node.name;
35943 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
35944 }
35945 return false;
35946 },
35947 excludesName$1($name) {
35948 var t1 = this._all || this.names.contains$1(0, $name);
35949 return t1 !== this.include;
35950 }
35951 };
35952 A.ConfiguredVariable.prototype = {
35953 toString$0(_) {
35954 var t1 = this.expression.toString$0(0),
35955 t2 = this.isGuarded ? " !default" : "";
35956 return "$" + this.name + ": " + t1 + t2;
35957 },
35958 $isAstNode: 1,
35959 get$span(receiver) {
35960 return this.span;
35961 }
35962 };
35963 A.BinaryOperationExpression.prototype = {
35964 get$span(_) {
35965 var right,
35966 left = this.left;
35967 for (; left instanceof A.BinaryOperationExpression;)
35968 left = left.left;
35969 right = this.right;
35970 for (; right instanceof A.BinaryOperationExpression;)
35971 right = right.right;
35972 return left.get$span(left).expand$1(0, right.get$span(right));
35973 },
35974 accept$1$1(visitor) {
35975 return visitor.visitBinaryOperationExpression$1(this);
35976 },
35977 accept$1(visitor) {
35978 return this.accept$1$1(visitor, type$.dynamic);
35979 },
35980 toString$0(_) {
35981 var t2, right, rightNeedsParens, _this = this,
35982 left = _this.left,
35983 leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
35984 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
35985 t1 += left.toString$0(0);
35986 if (leftNeedsParens)
35987 t1 += A.Primitives_stringFromCharCode(41);
35988 t2 = _this.operator;
35989 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
35990 right = _this.right;
35991 rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
35992 if (rightNeedsParens)
35993 t1 += A.Primitives_stringFromCharCode(40);
35994 t1 += right.toString$0(0);
35995 if (rightNeedsParens)
35996 t1 += A.Primitives_stringFromCharCode(41);
35997 return t1.charCodeAt(0) == 0 ? t1 : t1;
35998 },
35999 $isAstNode: 1,
36000 $isExpression: 1
36001 };
36002 A.BinaryOperator.prototype = {
36003 toString$0(_) {
36004 return this.name;
36005 }
36006 };
36007 A.BooleanExpression.prototype = {
36008 accept$1$1(visitor) {
36009 return visitor.visitBooleanExpression$1(this);
36010 },
36011 accept$1(visitor) {
36012 return this.accept$1$1(visitor, type$.dynamic);
36013 },
36014 toString$0(_) {
36015 return String(this.value);
36016 },
36017 $isAstNode: 1,
36018 $isExpression: 1,
36019 get$span(receiver) {
36020 return this.span;
36021 }
36022 };
36023 A.CalculationExpression.prototype = {
36024 accept$1$1(visitor) {
36025 return visitor.visitCalculationExpression$1(this);
36026 },
36027 accept$1(visitor) {
36028 return this.accept$1$1(visitor, type$.dynamic);
36029 },
36030 toString$0(_) {
36031 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
36032 },
36033 $isAstNode: 1,
36034 $isExpression: 1,
36035 get$span(receiver) {
36036 return this.span;
36037 }
36038 };
36039 A.CalculationExpression__verifyArguments_closure.prototype = {
36040 call$1(arg) {
36041 A.CalculationExpression__verify(arg);
36042 return arg;
36043 },
36044 $signature: 319
36045 };
36046 A.ColorExpression.prototype = {
36047 accept$1$1(visitor) {
36048 return visitor.visitColorExpression$1(this);
36049 },
36050 accept$1(visitor) {
36051 return this.accept$1$1(visitor, type$.dynamic);
36052 },
36053 toString$0(_) {
36054 return A.serializeValue(this.value, true, true);
36055 },
36056 $isAstNode: 1,
36057 $isExpression: 1,
36058 get$span(receiver) {
36059 return this.span;
36060 }
36061 };
36062 A.FunctionExpression.prototype = {
36063 accept$1$1(visitor) {
36064 return visitor.visitFunctionExpression$1(this);
36065 },
36066 accept$1(visitor) {
36067 return this.accept$1$1(visitor, type$.dynamic);
36068 },
36069 toString$0(_) {
36070 var t1 = this.namespace;
36071 t1 = t1 != null ? "" + (t1 + ".") : "";
36072 t1 += this.originalName + this.$arguments.toString$0(0);
36073 return t1.charCodeAt(0) == 0 ? t1 : t1;
36074 },
36075 $isAstNode: 1,
36076 $isExpression: 1,
36077 get$span(receiver) {
36078 return this.span;
36079 }
36080 };
36081 A.IfExpression.prototype = {
36082 accept$1$1(visitor) {
36083 return visitor.visitIfExpression$1(this);
36084 },
36085 accept$1(visitor) {
36086 return this.accept$1$1(visitor, type$.dynamic);
36087 },
36088 toString$0(_) {
36089 return "if" + this.$arguments.toString$0(0);
36090 },
36091 $isAstNode: 1,
36092 $isExpression: 1,
36093 get$span(receiver) {
36094 return this.span;
36095 }
36096 };
36097 A.InterpolatedFunctionExpression.prototype = {
36098 accept$1$1(visitor) {
36099 return visitor.visitInterpolatedFunctionExpression$1(this);
36100 },
36101 accept$1(visitor) {
36102 return this.accept$1$1(visitor, type$.dynamic);
36103 },
36104 toString$0(_) {
36105 return this.name.toString$0(0) + this.$arguments.toString$0(0);
36106 },
36107 $isAstNode: 1,
36108 $isExpression: 1,
36109 get$span(receiver) {
36110 return this.span;
36111 }
36112 };
36113 A.ListExpression.prototype = {
36114 accept$1$1(visitor) {
36115 return visitor.visitListExpression$1(this);
36116 },
36117 accept$1(visitor) {
36118 return this.accept$1$1(visitor, type$.dynamic);
36119 },
36120 toString$0(_) {
36121 var _this = this,
36122 t1 = _this.hasBrackets,
36123 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
36124 t3 = _this.contents,
36125 t4 = _this.separator === B.ListSeparator_kWM ? ", " : " ";
36126 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
36127 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
36128 return t1.charCodeAt(0) == 0 ? t1 : t1;
36129 },
36130 _list0$_elementNeedsParens$1(expression) {
36131 var t1;
36132 if (expression instanceof A.ListExpression) {
36133 if (expression.contents.length < 2)
36134 return false;
36135 if (expression.hasBrackets)
36136 return false;
36137 t1 = expression.separator;
36138 return this.separator === B.ListSeparator_kWM ? t1 === B.ListSeparator_kWM : t1 !== B.ListSeparator_undecided_null;
36139 }
36140 if (this.separator !== B.ListSeparator_woc)
36141 return false;
36142 if (expression instanceof A.UnaryOperationExpression) {
36143 t1 = expression.operator;
36144 return t1 === B.UnaryOperator_j2w || t1 === B.UnaryOperator_U4G;
36145 }
36146 return false;
36147 },
36148 $isAstNode: 1,
36149 $isExpression: 1,
36150 get$span(receiver) {
36151 return this.span;
36152 }
36153 };
36154 A.ListExpression_toString_closure.prototype = {
36155 call$1(element) {
36156 return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
36157 },
36158 $signature: 135
36159 };
36160 A.MapExpression.prototype = {
36161 accept$1$1(visitor) {
36162 return visitor.visitMapExpression$1(this);
36163 },
36164 accept$1(visitor) {
36165 return this.accept$1$1(visitor, type$.dynamic);
36166 },
36167 toString$0(_) {
36168 var t1 = this.pairs;
36169 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
36170 },
36171 $isAstNode: 1,
36172 $isExpression: 1,
36173 get$span(receiver) {
36174 return this.span;
36175 }
36176 };
36177 A.MapExpression_toString_closure.prototype = {
36178 call$1(pair) {
36179 return A.S(pair.item1) + ": " + A.S(pair.item2);
36180 },
36181 $signature: 324
36182 };
36183 A.NullExpression.prototype = {
36184 accept$1$1(visitor) {
36185 return visitor.visitNullExpression$1(this);
36186 },
36187 accept$1(visitor) {
36188 return this.accept$1$1(visitor, type$.dynamic);
36189 },
36190 toString$0(_) {
36191 return "null";
36192 },
36193 $isAstNode: 1,
36194 $isExpression: 1,
36195 get$span(receiver) {
36196 return this.span;
36197 }
36198 };
36199 A.NumberExpression.prototype = {
36200 accept$1$1(visitor) {
36201 return visitor.visitNumberExpression$1(this);
36202 },
36203 accept$1(visitor) {
36204 return this.accept$1$1(visitor, type$.dynamic);
36205 },
36206 toString$0(_) {
36207 var t1 = this.unit;
36208 if (t1 == null)
36209 t1 = "";
36210 return A.S(this.value) + t1;
36211 },
36212 $isAstNode: 1,
36213 $isExpression: 1,
36214 get$span(receiver) {
36215 return this.span;
36216 }
36217 };
36218 A.ParenthesizedExpression.prototype = {
36219 accept$1$1(visitor) {
36220 return visitor.visitParenthesizedExpression$1(this);
36221 },
36222 accept$1(visitor) {
36223 return this.accept$1$1(visitor, type$.dynamic);
36224 },
36225 toString$0(_) {
36226 return "(" + this.expression.toString$0(0) + ")";
36227 },
36228 $isAstNode: 1,
36229 $isExpression: 1,
36230 get$span(receiver) {
36231 return this.span;
36232 }
36233 };
36234 A.SelectorExpression.prototype = {
36235 accept$1$1(visitor) {
36236 return visitor.visitSelectorExpression$1(this);
36237 },
36238 accept$1(visitor) {
36239 return this.accept$1$1(visitor, type$.dynamic);
36240 },
36241 toString$0(_) {
36242 return "&";
36243 },
36244 $isAstNode: 1,
36245 $isExpression: 1,
36246 get$span(receiver) {
36247 return this.span;
36248 }
36249 };
36250 A.StringExpression.prototype = {
36251 get$span(_) {
36252 return this.text.span;
36253 },
36254 accept$1$1(visitor) {
36255 return visitor.visitStringExpression$1(this);
36256 },
36257 accept$1(visitor) {
36258 return this.accept$1$1(visitor, type$.dynamic);
36259 },
36260 asInterpolation$1$static($static) {
36261 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
36262 if (!this.hasQuotes)
36263 return this.text;
36264 t1 = this.text;
36265 t2 = t1.contents;
36266 quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
36267 t3 = new A.StringBuffer("");
36268 t4 = A._setArrayType([], type$.JSArray_Object);
36269 buffer = new A.InterpolationBuffer(t3, t4);
36270 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
36271 for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
36272 value = t2[_i];
36273 if (t6._is(value)) {
36274 buffer._flushText$0();
36275 t4.push(value);
36276 } else if (typeof value == "string")
36277 A.StringExpression__quoteInnerText(value, quote, buffer, $static);
36278 }
36279 t3._contents += A.Primitives_stringFromCharCode(quote);
36280 return buffer.interpolation$1(t1.span);
36281 },
36282 asInterpolation$0() {
36283 return this.asInterpolation$1$static(false);
36284 },
36285 toString$0(_) {
36286 return this.asInterpolation$0().toString$0(0);
36287 },
36288 $isAstNode: 1,
36289 $isExpression: 1
36290 };
36291 A.SupportsExpression.prototype = {
36292 get$span(_) {
36293 var t1 = this.condition;
36294 return t1.get$span(t1);
36295 },
36296 accept$1$1(visitor) {
36297 return visitor.visitSupportsExpression$1(this);
36298 },
36299 accept$1(visitor) {
36300 return this.accept$1$1(visitor, type$.dynamic);
36301 },
36302 toString$0(_) {
36303 return this.condition.toString$0(0);
36304 },
36305 $isAstNode: 1,
36306 $isExpression: 1
36307 };
36308 A.UnaryOperationExpression.prototype = {
36309 accept$1$1(visitor) {
36310 return visitor.visitUnaryOperationExpression$1(this);
36311 },
36312 accept$1(visitor) {
36313 return this.accept$1$1(visitor, type$.dynamic);
36314 },
36315 toString$0(_) {
36316 var t1 = this.operator,
36317 t2 = t1.operator;
36318 t1 = t1 === B.UnaryOperator_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
36319 t1 += this.operand.toString$0(0);
36320 return t1.charCodeAt(0) == 0 ? t1 : t1;
36321 },
36322 $isAstNode: 1,
36323 $isExpression: 1,
36324 get$span(receiver) {
36325 return this.span;
36326 }
36327 };
36328 A.UnaryOperator.prototype = {
36329 toString$0(_) {
36330 return this.name;
36331 }
36332 };
36333 A.ValueExpression.prototype = {
36334 accept$1$1(visitor) {
36335 return visitor.visitValueExpression$1(this);
36336 },
36337 accept$1(visitor) {
36338 return this.accept$1$1(visitor, type$.dynamic);
36339 },
36340 toString$0(_) {
36341 return A.serializeValue(this.value, true, true);
36342 },
36343 $isAstNode: 1,
36344 $isExpression: 1,
36345 get$span(receiver) {
36346 return this.span;
36347 }
36348 };
36349 A.VariableExpression.prototype = {
36350 accept$1$1(visitor) {
36351 return visitor.visitVariableExpression$1(this);
36352 },
36353 accept$1(visitor) {
36354 return this.accept$1$1(visitor, type$.dynamic);
36355 },
36356 toString$0(_) {
36357 var t1 = this.namespace,
36358 t2 = this.name;
36359 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
36360 },
36361 $isAstNode: 1,
36362 $isExpression: 1,
36363 get$span(receiver) {
36364 return this.span;
36365 }
36366 };
36367 A.DynamicImport.prototype = {
36368 toString$0(_) {
36369 return A.StringExpression_quoteText(this.urlString);
36370 },
36371 $isAstNode: 1,
36372 $isImport: 1,
36373 get$span(receiver) {
36374 return this.span;
36375 }
36376 };
36377 A.StaticImport.prototype = {
36378 toString$0(_) {
36379 var t1 = this.url.toString$0(0),
36380 t2 = this.modifiers;
36381 return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
36382 },
36383 $isAstNode: 1,
36384 $isImport: 1,
36385 get$span(receiver) {
36386 return this.span;
36387 }
36388 };
36389 A.Interpolation.prototype = {
36390 get$asPlain() {
36391 var first,
36392 t1 = this.contents,
36393 t2 = t1.length;
36394 if (t2 === 0)
36395 return "";
36396 if (t2 > 1)
36397 return null;
36398 first = B.JSArray_methods.get$first(t1);
36399 return typeof first == "string" ? first : null;
36400 },
36401 get$initialPlain() {
36402 var first = B.JSArray_methods.get$first(this.contents);
36403 return typeof first == "string" ? first : "";
36404 },
36405 Interpolation$2(contents, span) {
36406 var t1, t2, t3, i, t4, t5,
36407 _s8_ = "contents";
36408 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
36409 t4 = t1[i];
36410 t5 = typeof t4 == "string";
36411 if (!t5 && !t3._is(t4))
36412 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
36413 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
36414 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
36415 }
36416 },
36417 toString$0(_) {
36418 var t1 = this.contents;
36419 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
36420 },
36421 $isAstNode: 1,
36422 get$span(receiver) {
36423 return this.span;
36424 }
36425 };
36426 A.Interpolation_toString_closure.prototype = {
36427 call$1(value) {
36428 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
36429 },
36430 $signature: 48
36431 };
36432 A.AtRootRule.prototype = {
36433 accept$1$1(visitor) {
36434 return visitor.visitAtRootRule$1(this);
36435 },
36436 accept$1(visitor) {
36437 return this.accept$1$1(visitor, type$.dynamic);
36438 },
36439 toString$0(_) {
36440 var buffer = new A.StringBuffer("@at-root "),
36441 t1 = this.query;
36442 if (t1 != null)
36443 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
36444 t1 = this.children;
36445 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36446 },
36447 get$span(receiver) {
36448 return this.span;
36449 }
36450 };
36451 A.AtRule.prototype = {
36452 accept$1$1(visitor) {
36453 return visitor.visitAtRule$1(this);
36454 },
36455 accept$1(visitor) {
36456 return this.accept$1$1(visitor, type$.dynamic);
36457 },
36458 toString$0(_) {
36459 var children,
36460 t1 = "@" + this.name.toString$0(0),
36461 buffer = new A.StringBuffer(t1),
36462 t2 = this.value;
36463 if (t2 != null)
36464 buffer._contents = t1 + (" " + t2.toString$0(0));
36465 children = this.children;
36466 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36467 },
36468 get$span(receiver) {
36469 return this.span;
36470 }
36471 };
36472 A.CallableDeclaration.prototype = {
36473 get$span(receiver) {
36474 return this.span;
36475 }
36476 };
36477 A.ContentBlock.prototype = {
36478 accept$1$1(visitor) {
36479 return visitor.visitContentBlock$1(this);
36480 },
36481 accept$1(visitor) {
36482 return this.accept$1$1(visitor, type$.dynamic);
36483 },
36484 toString$0(_) {
36485 var t2,
36486 t1 = this.$arguments;
36487 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
36488 t2 = this.children;
36489 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36490 }
36491 };
36492 A.ContentRule.prototype = {
36493 accept$1$1(visitor) {
36494 return visitor.visitContentRule$1(this);
36495 },
36496 accept$1(visitor) {
36497 return this.accept$1$1(visitor, type$.dynamic);
36498 },
36499 toString$0(_) {
36500 var t1 = this.$arguments;
36501 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
36502 },
36503 $isAstNode: 1,
36504 $isStatement: 1,
36505 get$span(receiver) {
36506 return this.span;
36507 }
36508 };
36509 A.DebugRule.prototype = {
36510 accept$1$1(visitor) {
36511 return visitor.visitDebugRule$1(this);
36512 },
36513 accept$1(visitor) {
36514 return this.accept$1$1(visitor, type$.dynamic);
36515 },
36516 toString$0(_) {
36517 return "@debug " + this.expression.toString$0(0) + ";";
36518 },
36519 $isAstNode: 1,
36520 $isStatement: 1,
36521 get$span(receiver) {
36522 return this.span;
36523 }
36524 };
36525 A.Declaration.prototype = {
36526 accept$1$1(visitor) {
36527 return visitor.visitDeclaration$1(this);
36528 },
36529 accept$1(visitor) {
36530 return this.accept$1$1(visitor, type$.dynamic);
36531 },
36532 toString$0(_) {
36533 var t3, children,
36534 buffer = new A.StringBuffer(""),
36535 t1 = this.name,
36536 t2 = "" + t1.toString$0(0);
36537 buffer._contents = t2;
36538 t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
36539 t3 = this.value;
36540 if (t3 != null) {
36541 t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
36542 buffer._contents = t1 + t3.toString$0(0);
36543 }
36544 children = this.children;
36545 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36546 },
36547 get$span(receiver) {
36548 return this.span;
36549 }
36550 };
36551 A.EachRule.prototype = {
36552 accept$1$1(visitor) {
36553 return visitor.visitEachRule$1(this);
36554 },
36555 accept$1(visitor) {
36556 return this.accept$1$1(visitor, type$.dynamic);
36557 },
36558 toString$0(_) {
36559 var t1 = this.variables,
36560 t2 = this.children;
36561 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, " ") + "}";
36562 },
36563 get$span(receiver) {
36564 return this.span;
36565 }
36566 };
36567 A.EachRule_toString_closure.prototype = {
36568 call$1(variable) {
36569 return "$" + variable;
36570 },
36571 $signature: 5
36572 };
36573 A.ErrorRule.prototype = {
36574 accept$1$1(visitor) {
36575 return visitor.visitErrorRule$1(this);
36576 },
36577 accept$1(visitor) {
36578 return this.accept$1$1(visitor, type$.dynamic);
36579 },
36580 toString$0(_) {
36581 return "@error " + this.expression.toString$0(0) + ";";
36582 },
36583 $isAstNode: 1,
36584 $isStatement: 1,
36585 get$span(receiver) {
36586 return this.span;
36587 }
36588 };
36589 A.ExtendRule.prototype = {
36590 accept$1$1(visitor) {
36591 return visitor.visitExtendRule$1(this);
36592 },
36593 accept$1(visitor) {
36594 return this.accept$1$1(visitor, type$.dynamic);
36595 },
36596 toString$0(_) {
36597 var t1 = this.selector.toString$0(0),
36598 t2 = this.isOptional ? " !optional" : "";
36599 return "@extend " + t1 + t2 + ";";
36600 },
36601 $isAstNode: 1,
36602 $isStatement: 1,
36603 get$span(receiver) {
36604 return this.span;
36605 }
36606 };
36607 A.ForRule.prototype = {
36608 accept$1$1(visitor) {
36609 return visitor.visitForRule$1(this);
36610 },
36611 accept$1(visitor) {
36612 return this.accept$1$1(visitor, type$.dynamic);
36613 },
36614 toString$0(_) {
36615 var _this = this,
36616 t1 = _this.from.toString$0(0),
36617 t2 = _this.isExclusive ? "to" : "through",
36618 t3 = _this.children;
36619 return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
36620 },
36621 get$span(receiver) {
36622 return this.span;
36623 }
36624 };
36625 A.ForwardRule.prototype = {
36626 accept$1$1(visitor) {
36627 return visitor.visitForwardRule$1(this);
36628 },
36629 accept$1(visitor) {
36630 return this.accept$1$1(visitor, type$.dynamic);
36631 },
36632 toString$0(_) {
36633 var t2, prefix, _this = this,
36634 t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
36635 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
36636 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
36637 if (shownMixinsAndFunctions != null) {
36638 t2 = _this.shownVariables;
36639 t2.toString;
36640 t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
36641 t1 = t2;
36642 } else {
36643 if (hiddenMixinsAndFunctions != null) {
36644 t2 = hiddenMixinsAndFunctions._base;
36645 t2 = t2.get$isNotEmpty(t2);
36646 } else
36647 t2 = false;
36648 if (t2) {
36649 t2 = _this.hiddenVariables;
36650 t2.toString;
36651 t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
36652 t1 = t2;
36653 }
36654 }
36655 prefix = _this.prefix;
36656 if (prefix != null)
36657 t1 += " as " + prefix + "*";
36658 t2 = _this.configuration;
36659 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36660 return t1.charCodeAt(0) == 0 ? t1 : t1;
36661 },
36662 _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
36663 var t2,
36664 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
36665 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
36666 t1.push("$" + t2.get$current(t2));
36667 return B.JSArray_methods.join$1(t1, ", ");
36668 },
36669 $isAstNode: 1,
36670 $isStatement: 1,
36671 get$span(receiver) {
36672 return this.span;
36673 }
36674 };
36675 A.FunctionRule.prototype = {
36676 accept$1$1(visitor) {
36677 return visitor.visitFunctionRule$1(this);
36678 },
36679 accept$1(visitor) {
36680 return this.accept$1$1(visitor, type$.dynamic);
36681 },
36682 toString$0(_) {
36683 var t1 = this.children;
36684 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36685 }
36686 };
36687 A.IfRule.prototype = {
36688 accept$1$1(visitor) {
36689 return visitor.visitIfRule$1(this);
36690 },
36691 accept$1(visitor) {
36692 return this.accept$1$1(visitor, type$.dynamic);
36693 },
36694 toString$0(_) {
36695 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
36696 lastClause = this.lastClause;
36697 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
36698 },
36699 $isAstNode: 1,
36700 $isStatement: 1,
36701 get$span(receiver) {
36702 return this.span;
36703 }
36704 };
36705 A.IfRule_toString_closure.prototype = {
36706 call$2(index, clause) {
36707 var t1 = index === 0 ? "if" : "else if";
36708 return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
36709 },
36710 $signature: 332
36711 };
36712 A.IfRuleClause.prototype = {};
36713 A.IfRuleClause$__closure.prototype = {
36714 call$1(child) {
36715 var t1;
36716 if (!(child instanceof A.VariableDeclaration))
36717 if (!(child instanceof A.FunctionRule))
36718 if (!(child instanceof A.MixinRule))
36719 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
36720 else
36721 t1 = true;
36722 else
36723 t1 = true;
36724 else
36725 t1 = true;
36726 return t1;
36727 },
36728 $signature: 222
36729 };
36730 A.IfRuleClause$___closure.prototype = {
36731 call$1($import) {
36732 return $import instanceof A.DynamicImport;
36733 },
36734 $signature: 258
36735 };
36736 A.IfClause.prototype = {
36737 toString$0(_) {
36738 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36739 }
36740 };
36741 A.ElseClause.prototype = {
36742 toString$0(_) {
36743 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36744 }
36745 };
36746 A.ImportRule.prototype = {
36747 accept$1$1(visitor) {
36748 return visitor.visitImportRule$1(this);
36749 },
36750 accept$1(visitor) {
36751 return this.accept$1$1(visitor, type$.dynamic);
36752 },
36753 toString$0(_) {
36754 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
36755 },
36756 $isAstNode: 1,
36757 $isStatement: 1,
36758 get$span(receiver) {
36759 return this.span;
36760 }
36761 };
36762 A.IncludeRule.prototype = {
36763 get$spanWithoutContent() {
36764 var t2, t3,
36765 t1 = this.span;
36766 if (!(this.content == null)) {
36767 t2 = t1.file;
36768 t3 = this.$arguments.span;
36769 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)));
36770 t1 = t3;
36771 }
36772 return t1;
36773 },
36774 accept$1$1(visitor) {
36775 return visitor.visitIncludeRule$1(this);
36776 },
36777 accept$1(visitor) {
36778 return this.accept$1$1(visitor, type$.dynamic);
36779 },
36780 toString$0(_) {
36781 var t2, _this = this,
36782 t1 = _this.namespace;
36783 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
36784 t1 += _this.name;
36785 t2 = _this.$arguments;
36786 if (!t2.get$isEmpty(t2))
36787 t1 += "(" + t2.toString$0(0) + ")";
36788 t2 = _this.content;
36789 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
36790 return t1.charCodeAt(0) == 0 ? t1 : t1;
36791 },
36792 $isAstNode: 1,
36793 $isStatement: 1,
36794 get$span(receiver) {
36795 return this.span;
36796 }
36797 };
36798 A.LoudComment.prototype = {
36799 get$span(_) {
36800 return this.text.span;
36801 },
36802 accept$1$1(visitor) {
36803 return visitor.visitLoudComment$1(this);
36804 },
36805 accept$1(visitor) {
36806 return this.accept$1$1(visitor, type$.dynamic);
36807 },
36808 toString$0(_) {
36809 return this.text.toString$0(0);
36810 },
36811 $isAstNode: 1,
36812 $isStatement: 1
36813 };
36814 A.MediaRule.prototype = {
36815 accept$1$1(visitor) {
36816 return visitor.visitMediaRule$1(this);
36817 },
36818 accept$1(visitor) {
36819 return this.accept$1$1(visitor, type$.dynamic);
36820 },
36821 toString$0(_) {
36822 var t1 = this.children;
36823 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36824 },
36825 get$span(receiver) {
36826 return this.span;
36827 }
36828 };
36829 A.MixinRule.prototype = {
36830 get$hasContent() {
36831 var result, _this = this,
36832 value = _this.__MixinRule_hasContent;
36833 if (value === $) {
36834 result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
36835 A._lateInitializeOnceCheck(_this.__MixinRule_hasContent, "hasContent");
36836 _this.__MixinRule_hasContent = result;
36837 value = result;
36838 }
36839 return value;
36840 },
36841 accept$1$1(visitor) {
36842 return visitor.visitMixinRule$1(this);
36843 },
36844 accept$1(visitor) {
36845 return this.accept$1$1(visitor, type$.dynamic);
36846 },
36847 toString$0(_) {
36848 var t1 = "@mixin " + this.name,
36849 t2 = this.$arguments;
36850 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
36851 t1 += "(" + t2.toString$0(0) + ")";
36852 t2 = this.children;
36853 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36854 return t2.charCodeAt(0) == 0 ? t2 : t2;
36855 }
36856 };
36857 A._HasContentVisitor.prototype = {
36858 visitContentRule$1(_) {
36859 return true;
36860 }
36861 };
36862 A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
36863 A.ParentStatement_closure.prototype = {
36864 call$1(child) {
36865 var t1;
36866 if (!(child instanceof A.VariableDeclaration))
36867 if (!(child instanceof A.FunctionRule))
36868 if (!(child instanceof A.MixinRule))
36869 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
36870 else
36871 t1 = true;
36872 else
36873 t1 = true;
36874 else
36875 t1 = true;
36876 return t1;
36877 },
36878 $signature: 222
36879 };
36880 A.ParentStatement__closure.prototype = {
36881 call$1($import) {
36882 return $import instanceof A.DynamicImport;
36883 },
36884 $signature: 258
36885 };
36886 A.ReturnRule.prototype = {
36887 accept$1$1(visitor) {
36888 return visitor.visitReturnRule$1(this);
36889 },
36890 accept$1(visitor) {
36891 return this.accept$1$1(visitor, type$.dynamic);
36892 },
36893 toString$0(_) {
36894 return "@return " + this.expression.toString$0(0) + ";";
36895 },
36896 $isAstNode: 1,
36897 $isStatement: 1,
36898 get$span(receiver) {
36899 return this.span;
36900 }
36901 };
36902 A.SilentComment.prototype = {
36903 accept$1$1(visitor) {
36904 return visitor.visitSilentComment$1(this);
36905 },
36906 accept$1(visitor) {
36907 return this.accept$1$1(visitor, type$.dynamic);
36908 },
36909 toString$0(_) {
36910 return this.text;
36911 },
36912 $isAstNode: 1,
36913 $isStatement: 1,
36914 get$span(receiver) {
36915 return this.span;
36916 }
36917 };
36918 A.StyleRule.prototype = {
36919 accept$1$1(visitor) {
36920 return visitor.visitStyleRule$1(this);
36921 },
36922 accept$1(visitor) {
36923 return this.accept$1$1(visitor, type$.dynamic);
36924 },
36925 toString$0(_) {
36926 var t1 = this.children;
36927 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36928 },
36929 get$span(receiver) {
36930 return this.span;
36931 }
36932 };
36933 A.Stylesheet.prototype = {
36934 Stylesheet$internal$3$plainCss(children, span, plainCss) {
36935 var t1, t2, t3, t4, _i, child;
36936 for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
36937 child = t1[_i];
36938 if (child instanceof A.UseRule)
36939 t4.push(child);
36940 else if (child instanceof A.ForwardRule)
36941 t3.push(child);
36942 else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
36943 break;
36944 }
36945 },
36946 accept$1$1(visitor) {
36947 return visitor.visitStylesheet$1(this);
36948 },
36949 accept$1(visitor) {
36950 return this.accept$1$1(visitor, type$.dynamic);
36951 },
36952 toString$0(_) {
36953 var t1 = this.children;
36954 return (t1 && B.JSArray_methods).join$1(t1, " ");
36955 },
36956 get$span(receiver) {
36957 return this.span;
36958 }
36959 };
36960 A.SupportsRule.prototype = {
36961 accept$1$1(visitor) {
36962 return visitor.visitSupportsRule$1(this);
36963 },
36964 accept$1(visitor) {
36965 return this.accept$1$1(visitor, type$.dynamic);
36966 },
36967 toString$0(_) {
36968 var t1 = this.children;
36969 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36970 },
36971 get$span(receiver) {
36972 return this.span;
36973 }
36974 };
36975 A.UseRule.prototype = {
36976 UseRule$4$configuration(url, namespace, span, configuration) {
36977 var t1, t2, _i, variable;
36978 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
36979 variable = t1[_i];
36980 if (variable.isGuarded)
36981 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
36982 }
36983 },
36984 accept$1$1(visitor) {
36985 return visitor.visitUseRule$1(this);
36986 },
36987 accept$1(visitor) {
36988 return this.accept$1$1(visitor, type$.dynamic);
36989 },
36990 toString$0(_) {
36991 var t1 = this.url,
36992 t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
36993 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
36994 dot = B.JSString_methods.indexOf$1(basename, ".");
36995 t1 = this.namespace;
36996 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
36997 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
36998 else
36999 t1 = t2;
37000 t2 = this.configuration;
37001 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
37002 return t1.charCodeAt(0) == 0 ? t1 : t1;
37003 },
37004 $isAstNode: 1,
37005 $isStatement: 1,
37006 get$span(receiver) {
37007 return this.span;
37008 }
37009 };
37010 A.VariableDeclaration.prototype = {
37011 accept$1$1(visitor) {
37012 return visitor.visitVariableDeclaration$1(this);
37013 },
37014 accept$1(visitor) {
37015 return this.accept$1$1(visitor, type$.dynamic);
37016 },
37017 toString$0(_) {
37018 var t1 = this.namespace;
37019 t1 = t1 != null ? "" + (t1 + ".") : "";
37020 t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
37021 return t1.charCodeAt(0) == 0 ? t1 : t1;
37022 },
37023 $isAstNode: 1,
37024 $isStatement: 1,
37025 get$span(receiver) {
37026 return this.span;
37027 }
37028 };
37029 A.WarnRule.prototype = {
37030 accept$1$1(visitor) {
37031 return visitor.visitWarnRule$1(this);
37032 },
37033 accept$1(visitor) {
37034 return this.accept$1$1(visitor, type$.dynamic);
37035 },
37036 toString$0(_) {
37037 return "@warn " + this.expression.toString$0(0) + ";";
37038 },
37039 $isAstNode: 1,
37040 $isStatement: 1,
37041 get$span(receiver) {
37042 return this.span;
37043 }
37044 };
37045 A.WhileRule.prototype = {
37046 accept$1$1(visitor) {
37047 return visitor.visitWhileRule$1(this);
37048 },
37049 accept$1(visitor) {
37050 return this.accept$1$1(visitor, type$.dynamic);
37051 },
37052 toString$0(_) {
37053 var t1 = this.children;
37054 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
37055 },
37056 get$span(receiver) {
37057 return this.span;
37058 }
37059 };
37060 A.SupportsAnything.prototype = {
37061 toString$0(_) {
37062 return "(" + this.contents.toString$0(0) + ")";
37063 },
37064 $isAstNode: 1,
37065 get$span(receiver) {
37066 return this.span;
37067 }
37068 };
37069 A.SupportsDeclaration.prototype = {
37070 get$isCustomProperty() {
37071 var $name = this.name;
37072 return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
37073 },
37074 toString$0(_) {
37075 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
37076 },
37077 $isAstNode: 1,
37078 get$span(receiver) {
37079 return this.span;
37080 }
37081 };
37082 A.SupportsFunction.prototype = {
37083 toString$0(_) {
37084 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
37085 },
37086 $isAstNode: 1,
37087 get$span(receiver) {
37088 return this.span;
37089 }
37090 };
37091 A.SupportsInterpolation.prototype = {
37092 toString$0(_) {
37093 return "#{" + this.expression.toString$0(0) + "}";
37094 },
37095 $isAstNode: 1,
37096 get$span(receiver) {
37097 return this.span;
37098 }
37099 };
37100 A.SupportsNegation.prototype = {
37101 toString$0(_) {
37102 var t1 = this.condition;
37103 if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
37104 return "not (" + t1.toString$0(0) + ")";
37105 else
37106 return "not " + t1.toString$0(0);
37107 },
37108 $isAstNode: 1,
37109 get$span(receiver) {
37110 return this.span;
37111 }
37112 };
37113 A.SupportsOperation.prototype = {
37114 toString$0(_) {
37115 var _this = this;
37116 return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
37117 },
37118 _operation$_parenthesize$1(condition) {
37119 var t1;
37120 if (!(condition instanceof A.SupportsNegation))
37121 t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
37122 else
37123 t1 = true;
37124 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
37125 },
37126 $isAstNode: 1,
37127 get$span(receiver) {
37128 return this.span;
37129 }
37130 };
37131 A.Selector.prototype = {
37132 get$isInvisible() {
37133 return false;
37134 },
37135 toString$0(_) {
37136 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
37137 this.accept$1(visitor);
37138 return visitor._serialize$_buffer.toString$0(0);
37139 }
37140 };
37141 A.AttributeSelector.prototype = {
37142 accept$1$1(visitor) {
37143 var value, t2, _this = this,
37144 t1 = visitor._serialize$_buffer;
37145 t1.writeCharCode$1(91);
37146 t1.write$1(0, _this.name);
37147 value = _this.value;
37148 if (value != null) {
37149 t1.write$1(0, _this.op);
37150 if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
37151 t1.write$1(0, value);
37152 t2 = _this.modifier;
37153 if (t2 != null)
37154 t1.writeCharCode$1(32);
37155 } else {
37156 visitor._visitQuotedString$1(value);
37157 t2 = _this.modifier;
37158 if (t2 != null)
37159 if (visitor._style !== B.OutputStyle_compressed)
37160 t1.writeCharCode$1(32);
37161 }
37162 if (t2 != null)
37163 t1.write$1(0, t2);
37164 }
37165 t1.writeCharCode$1(93);
37166 return null;
37167 },
37168 accept$1(visitor) {
37169 return this.accept$1$1(visitor, type$.dynamic);
37170 },
37171 $eq(_, other) {
37172 var _this = this;
37173 if (other == null)
37174 return false;
37175 return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
37176 },
37177 get$hashCode(_) {
37178 var _this = this,
37179 t1 = _this.name;
37180 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;
37181 }
37182 };
37183 A.AttributeOperator.prototype = {
37184 toString$0(_) {
37185 return this._attribute$_text;
37186 }
37187 };
37188 A.ClassSelector.prototype = {
37189 $eq(_, other) {
37190 if (other == null)
37191 return false;
37192 return other instanceof A.ClassSelector && other.name === this.name;
37193 },
37194 accept$1$1(visitor) {
37195 var t1 = visitor._serialize$_buffer;
37196 t1.writeCharCode$1(46);
37197 t1.write$1(0, this.name);
37198 return null;
37199 },
37200 accept$1(visitor) {
37201 return this.accept$1$1(visitor, type$.dynamic);
37202 },
37203 addSuffix$1(suffix) {
37204 return new A.ClassSelector(this.name + suffix);
37205 },
37206 get$hashCode(_) {
37207 return B.JSString_methods.get$hashCode(this.name);
37208 }
37209 };
37210 A.ComplexSelector.prototype = {
37211 get$minSpecificity() {
37212 if (this._minSpecificity == null)
37213 this._computeSpecificity$0();
37214 var t1 = this._minSpecificity;
37215 t1.toString;
37216 return t1;
37217 },
37218 get$maxSpecificity() {
37219 if (this._complex$_maxSpecificity == null)
37220 this._computeSpecificity$0();
37221 var t1 = this._complex$_maxSpecificity;
37222 t1.toString;
37223 return t1;
37224 },
37225 get$isInvisible() {
37226 var result, _this = this,
37227 value = _this.__ComplexSelector_isInvisible;
37228 if (value === $) {
37229 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure());
37230 A._lateInitializeOnceCheck(_this.__ComplexSelector_isInvisible, "isInvisible");
37231 _this.__ComplexSelector_isInvisible = result;
37232 value = result;
37233 }
37234 return value;
37235 },
37236 accept$1$1(visitor) {
37237 return visitor.visitComplexSelector$1(this);
37238 },
37239 accept$1(visitor) {
37240 return this.accept$1$1(visitor, type$.dynamic);
37241 },
37242 _computeSpecificity$0() {
37243 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
37244 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37245 component = t1[_i];
37246 if (component instanceof A.CompoundSelector) {
37247 if (component._compound$_minSpecificity == null)
37248 component._compound$_computeSpecificity$0();
37249 t3 = component._compound$_minSpecificity;
37250 t3.toString;
37251 minSpecificity += t3;
37252 if (component._maxSpecificity == null)
37253 component._compound$_computeSpecificity$0();
37254 t3 = component._maxSpecificity;
37255 t3.toString;
37256 maxSpecificity += t3;
37257 }
37258 }
37259 this._minSpecificity = minSpecificity;
37260 this._complex$_maxSpecificity = maxSpecificity;
37261 },
37262 get$hashCode(_) {
37263 return B.C_ListEquality0.hash$1(this.components);
37264 },
37265 $eq(_, other) {
37266 if (other == null)
37267 return false;
37268 return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37269 }
37270 };
37271 A.ComplexSelector_isInvisible_closure.prototype = {
37272 call$1(component) {
37273 return component instanceof A.CompoundSelector && component.get$isInvisible();
37274 },
37275 $signature: 137
37276 };
37277 A.Combinator.prototype = {
37278 toString$0(_) {
37279 return this._complex$_text;
37280 },
37281 $isComplexSelectorComponent: 1
37282 };
37283 A.CompoundSelector.prototype = {
37284 get$isInvisible() {
37285 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure());
37286 },
37287 accept$1$1(visitor) {
37288 return visitor.visitCompoundSelector$1(this);
37289 },
37290 accept$1(visitor) {
37291 return this.accept$1$1(visitor, type$.dynamic);
37292 },
37293 _compound$_computeSpecificity$0() {
37294 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
37295 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37296 simple = t1[_i];
37297 minSpecificity += simple.get$minSpecificity();
37298 maxSpecificity += simple.get$maxSpecificity();
37299 }
37300 this._compound$_minSpecificity = minSpecificity;
37301 this._maxSpecificity = maxSpecificity;
37302 },
37303 get$hashCode(_) {
37304 return B.C_ListEquality0.hash$1(this.components);
37305 },
37306 $eq(_, other) {
37307 if (other == null)
37308 return false;
37309 return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37310 },
37311 $isComplexSelectorComponent: 1
37312 };
37313 A.CompoundSelector_isInvisible_closure.prototype = {
37314 call$1(component) {
37315 return component.get$isInvisible();
37316 },
37317 $signature: 16
37318 };
37319 A.IDSelector.prototype = {
37320 get$minSpecificity() {
37321 return A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(this), 2));
37322 },
37323 accept$1$1(visitor) {
37324 var t1 = visitor._serialize$_buffer;
37325 t1.writeCharCode$1(35);
37326 t1.write$1(0, this.name);
37327 return null;
37328 },
37329 accept$1(visitor) {
37330 return this.accept$1$1(visitor, type$.dynamic);
37331 },
37332 addSuffix$1(suffix) {
37333 return new A.IDSelector(this.name + suffix);
37334 },
37335 unify$1(compound) {
37336 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
37337 return null;
37338 return this.super$SimpleSelector$unify(compound);
37339 },
37340 $eq(_, other) {
37341 if (other == null)
37342 return false;
37343 return other instanceof A.IDSelector && other.name === this.name;
37344 },
37345 get$hashCode(_) {
37346 return B.JSString_methods.get$hashCode(this.name);
37347 }
37348 };
37349 A.IDSelector_unify_closure.prototype = {
37350 call$1(simple) {
37351 var t1;
37352 if (simple instanceof A.IDSelector) {
37353 t1 = simple.name;
37354 t1 = this.$this.name !== t1;
37355 } else
37356 t1 = false;
37357 return t1;
37358 },
37359 $signature: 16
37360 };
37361 A.SelectorList.prototype = {
37362 get$isInvisible() {
37363 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure());
37364 },
37365 get$asSassList() {
37366 var t1 = this.components;
37367 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
37368 },
37369 accept$1$1(visitor) {
37370 return visitor.visitSelectorList$1(this);
37371 },
37372 accept$1(visitor) {
37373 return this.accept$1$1(visitor, type$.dynamic);
37374 },
37375 unify$1(other) {
37376 var t1 = this.components,
37377 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"),
37378 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure(other), t2), true, t2._eval$1("Iterable.E"));
37379 return contents.length === 0 ? null : A.SelectorList$(contents);
37380 },
37381 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
37382 var t1, _this = this;
37383 if ($parent == null) {
37384 if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
37385 return _this;
37386 throw A.wrapException(A.SassScriptException$(string$.Top_le));
37387 }
37388 t1 = _this.components;
37389 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));
37390 },
37391 resolveParentSelectors$1($parent) {
37392 return this.resolveParentSelectors$2$implicitParent($parent, true);
37393 },
37394 _complexContainsParentSelector$1(complex) {
37395 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
37396 },
37397 _resolveParentSelectorsCompound$2(compound, $parent) {
37398 var resolvedMembers0, parentSelector, t1,
37399 resolvedMembers = compound.components,
37400 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure());
37401 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector))
37402 return null;
37403 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector>")) : resolvedMembers;
37404 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
37405 if (parentSelector instanceof A.ParentSelector) {
37406 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
37407 return $parent.components;
37408 } else
37409 return A._setArrayType([A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
37410 t1 = $parent.components;
37411 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37412 },
37413 get$hashCode(_) {
37414 return B.C_ListEquality0.hash$1(this.components);
37415 },
37416 $eq(_, other) {
37417 if (other == null)
37418 return false;
37419 return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
37420 }
37421 };
37422 A.SelectorList_isInvisible_closure.prototype = {
37423 call$1(complex) {
37424 return complex.get$isInvisible();
37425 },
37426 $signature: 19
37427 };
37428 A.SelectorList_asSassList_closure.prototype = {
37429 call$1(complex) {
37430 var t1 = complex.components;
37431 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_woc, false);
37432 },
37433 $signature: 465
37434 };
37435 A.SelectorList_asSassList__closure.prototype = {
37436 call$1(component) {
37437 return new A.SassString(component.toString$0(0), false);
37438 },
37439 $signature: 495
37440 };
37441 A.SelectorList_unify_closure.prototype = {
37442 call$1(complex1) {
37443 var t1 = this.other.components;
37444 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"));
37445 },
37446 $signature: 127
37447 };
37448 A.SelectorList_unify__closure.prototype = {
37449 call$1(complex2) {
37450 var unified = A.unifyComplex(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent));
37451 if (unified == null)
37452 return B.List_empty4;
37453 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure(), type$.ComplexSelector);
37454 },
37455 $signature: 127
37456 };
37457 A.SelectorList_unify___closure.prototype = {
37458 call$1(complex) {
37459 return A.ComplexSelector$(complex, false);
37460 },
37461 $signature: 75
37462 };
37463 A.SelectorList_resolveParentSelectors_closure.prototype = {
37464 call$1(complex) {
37465 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 = {},
37466 t1 = _this.$this;
37467 if (!t1._complexContainsParentSelector$1(complex)) {
37468 if (!_this.implicitParent)
37469 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
37470 t1 = _this.parent.components;
37471 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37472 }
37473 t2 = type$.JSArray_List_ComplexSelectorComponent;
37474 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent)], t2);
37475 t3 = type$.JSArray_bool;
37476 _box_0.lineBreaks = A._setArrayType([false], t3);
37477 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
37478 component = t4[_i];
37479 if (component instanceof A.CompoundSelector) {
37480 resolved = t1._resolveParentSelectorsCompound$2(component, t7);
37481 if (resolved == null) {
37482 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37483 newComplexes[_i0].push(component);
37484 continue;
37485 }
37486 previousLineBreaks = _box_0.lineBreaks;
37487 newComplexes0 = A._setArrayType([], t2);
37488 _box_0.lineBreaks = A._setArrayType([], t3);
37489 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) {
37490 newComplex = newComplexes[_i0];
37491 i0 = i + 1;
37492 lineBreak = previousLineBreaks[i];
37493 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
37494 t12 = t10.get$current(t10);
37495 t13 = A.List_List$of(newComplex, true, t6);
37496 B.JSArray_methods.addAll$1(t13, t12.components);
37497 newComplexes0.push(t13);
37498 t13 = _box_0.lineBreaks;
37499 t13.push(!t11 || t12.lineBreak);
37500 }
37501 }
37502 newComplexes = newComplexes0;
37503 } else
37504 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37505 newComplexes[_i0].push(component);
37506 }
37507 _box_0.i = 0;
37508 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure0(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector>"));
37509 },
37510 $signature: 127
37511 };
37512 A.SelectorList_resolveParentSelectors__closure.prototype = {
37513 call$1(parentComplex) {
37514 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent),
37515 t2 = this.complex;
37516 B.JSArray_methods.addAll$1(t1, t2.components);
37517 return A.ComplexSelector$(t1, t2.lineBreak || parentComplex.lineBreak);
37518 },
37519 $signature: 126
37520 };
37521 A.SelectorList_resolveParentSelectors__closure0.prototype = {
37522 call$1(newComplex) {
37523 var t1 = this._box_0;
37524 return A.ComplexSelector$(newComplex, t1.lineBreaks[t1.i++]);
37525 },
37526 $signature: 75
37527 };
37528 A.SelectorList__complexContainsParentSelector_closure.prototype = {
37529 call$1(component) {
37530 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure());
37531 },
37532 $signature: 137
37533 };
37534 A.SelectorList__complexContainsParentSelector__closure.prototype = {
37535 call$1(simple) {
37536 var selector;
37537 if (simple instanceof A.ParentSelector)
37538 return true;
37539 if (!(simple instanceof A.PseudoSelector))
37540 return false;
37541 selector = simple.selector;
37542 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37543 },
37544 $signature: 16
37545 };
37546 A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
37547 call$1(simple) {
37548 var selector;
37549 if (!(simple instanceof A.PseudoSelector))
37550 return false;
37551 selector = simple.selector;
37552 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37553 },
37554 $signature: 16
37555 };
37556 A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
37557 call$1(simple) {
37558 var selector, t1, t2, t3;
37559 if (!(simple instanceof A.PseudoSelector))
37560 return simple;
37561 selector = simple.selector;
37562 if (selector == null)
37563 return simple;
37564 if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
37565 return simple;
37566 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
37567 t2 = simple.name;
37568 t3 = simple.isClass;
37569 return A.PseudoSelector$(t2, simple.argument, !t3, t1);
37570 },
37571 $signature: 520
37572 };
37573 A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
37574 call$1(complex) {
37575 var suffix, t2, t3, t4, t5, last,
37576 t1 = complex.components,
37577 lastComponent = B.JSArray_methods.get$last(t1);
37578 if (!(lastComponent instanceof A.CompoundSelector))
37579 throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
37580 suffix = type$.ParentSelector._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
37581 t2 = type$.SimpleSelector;
37582 t3 = this.resolvedMembers;
37583 t4 = lastComponent.components;
37584 t5 = J.getInterceptor$ax(t3);
37585 if (suffix != null) {
37586 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
37587 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
37588 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37589 last = A.CompoundSelector$(t2);
37590 } else {
37591 t2 = A.List_List$of(t4, true, t2);
37592 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37593 last = A.CompoundSelector$(t2);
37594 }
37595 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent);
37596 t1.push(last);
37597 return A.ComplexSelector$(t1, complex.lineBreak);
37598 },
37599 $signature: 126
37600 };
37601 A.ParentSelector.prototype = {
37602 accept$1$1(visitor) {
37603 var t2,
37604 t1 = visitor._serialize$_buffer;
37605 t1.writeCharCode$1(38);
37606 t2 = this.suffix;
37607 if (t2 != null)
37608 t1.write$1(0, t2);
37609 return null;
37610 },
37611 accept$1(visitor) {
37612 return this.accept$1$1(visitor, type$.dynamic);
37613 },
37614 unify$1(compound) {
37615 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
37616 }
37617 };
37618 A.PlaceholderSelector.prototype = {
37619 get$isInvisible() {
37620 return true;
37621 },
37622 accept$1$1(visitor) {
37623 var t1 = visitor._serialize$_buffer;
37624 t1.writeCharCode$1(37);
37625 t1.write$1(0, this.name);
37626 return null;
37627 },
37628 accept$1(visitor) {
37629 return this.accept$1$1(visitor, type$.dynamic);
37630 },
37631 addSuffix$1(suffix) {
37632 return new A.PlaceholderSelector(this.name + suffix);
37633 },
37634 $eq(_, other) {
37635 if (other == null)
37636 return false;
37637 return other instanceof A.PlaceholderSelector && other.name === this.name;
37638 },
37639 get$hashCode(_) {
37640 return B.JSString_methods.get$hashCode(this.name);
37641 }
37642 };
37643 A.PseudoSelector.prototype = {
37644 get$isHostContext() {
37645 return this.isClass && this.name === "host-context" && this.selector != null;
37646 },
37647 get$minSpecificity() {
37648 if (this._pseudo$_minSpecificity == null)
37649 this._pseudo$_computeSpecificity$0();
37650 var t1 = this._pseudo$_minSpecificity;
37651 t1.toString;
37652 return t1;
37653 },
37654 get$maxSpecificity() {
37655 if (this._pseudo$_maxSpecificity == null)
37656 this._pseudo$_computeSpecificity$0();
37657 var t1 = this._pseudo$_maxSpecificity;
37658 t1.toString;
37659 return t1;
37660 },
37661 get$isInvisible() {
37662 var selector = this.selector;
37663 if (selector == null)
37664 return false;
37665 return this.name !== "not" && selector.get$isInvisible();
37666 },
37667 addSuffix$1(suffix) {
37668 var _this = this;
37669 if (_this.argument != null || _this.selector != null)
37670 _this.super$SimpleSelector$addSuffix(suffix);
37671 return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
37672 },
37673 unify$1(compound) {
37674 var other, result, t2, addedThis, _i, simple, _this = this,
37675 t1 = _this.name;
37676 if (t1 === "host" || t1 === "host-context") {
37677 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
37678 return null;
37679 } else if (compound.length === 1) {
37680 other = B.JSArray_methods.get$first(compound);
37681 if (!(other instanceof A.UniversalSelector))
37682 if (other instanceof A.PseudoSelector)
37683 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37684 else
37685 t1 = false;
37686 else
37687 t1 = true;
37688 if (t1)
37689 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37690 }
37691 if (B.JSArray_methods.contains$1(compound, _this))
37692 return compound;
37693 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37694 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37695 simple = compound[_i];
37696 if (simple instanceof A.PseudoSelector && !simple.isClass) {
37697 if (t2)
37698 return null;
37699 result.push(_this);
37700 addedThis = true;
37701 }
37702 result.push(simple);
37703 }
37704 if (!addedThis)
37705 result.push(_this);
37706 return result;
37707 },
37708 _pseudo$_computeSpecificity$0() {
37709 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
37710 if (!_this.isClass) {
37711 _this._pseudo$_maxSpecificity = _this._pseudo$_minSpecificity = 1;
37712 return;
37713 }
37714 selector = _this.selector;
37715 if (selector == null) {
37716 _this._pseudo$_minSpecificity = A.SimpleSelector.prototype.get$minSpecificity.call(_this);
37717 _this._pseudo$_maxSpecificity = A.SimpleSelector.prototype.get$maxSpecificity.call(_this);
37718 return;
37719 }
37720 if (_this.name === "not") {
37721 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37722 complex = t1[_i];
37723 if (complex._minSpecificity == null)
37724 complex._computeSpecificity$0();
37725 t3 = complex._minSpecificity;
37726 t3.toString;
37727 minSpecificity = Math.max(minSpecificity, t3);
37728 if (complex._complex$_maxSpecificity == null)
37729 complex._computeSpecificity$0();
37730 t3 = complex._complex$_maxSpecificity;
37731 t3.toString;
37732 maxSpecificity = Math.max(maxSpecificity, t3);
37733 }
37734 _this._pseudo$_minSpecificity = minSpecificity;
37735 _this._pseudo$_maxSpecificity = maxSpecificity;
37736 } else {
37737 minSpecificity = A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(_this), 3));
37738 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37739 complex = t1[_i];
37740 if (complex._minSpecificity == null)
37741 complex._computeSpecificity$0();
37742 t3 = complex._minSpecificity;
37743 t3.toString;
37744 minSpecificity = Math.min(minSpecificity, t3);
37745 if (complex._complex$_maxSpecificity == null)
37746 complex._computeSpecificity$0();
37747 t3 = complex._complex$_maxSpecificity;
37748 t3.toString;
37749 maxSpecificity = Math.max(maxSpecificity, t3);
37750 }
37751 _this._pseudo$_minSpecificity = minSpecificity;
37752 _this._pseudo$_maxSpecificity = maxSpecificity;
37753 }
37754 },
37755 accept$1$1(visitor) {
37756 return visitor.visitPseudoSelector$1(this);
37757 },
37758 accept$1(visitor) {
37759 return this.accept$1$1(visitor, type$.dynamic);
37760 },
37761 $eq(_, other) {
37762 var _this = this;
37763 if (other == null)
37764 return false;
37765 return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
37766 },
37767 get$hashCode(_) {
37768 var _this = this,
37769 t1 = B.JSString_methods.get$hashCode(_this.name),
37770 t2 = !_this.isClass ? 519018 : 218159;
37771 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
37772 }
37773 };
37774 A.PseudoSelector_unify_closure.prototype = {
37775 call$1(simple) {
37776 var t1;
37777 if (simple instanceof A.PseudoSelector)
37778 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
37779 else
37780 t1 = false;
37781 return t1;
37782 },
37783 $signature: 16
37784 };
37785 A.QualifiedName.prototype = {
37786 $eq(_, other) {
37787 if (other == null)
37788 return false;
37789 return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
37790 },
37791 get$hashCode(_) {
37792 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
37793 },
37794 toString$0(_) {
37795 var t1 = this.namespace,
37796 t2 = this.name;
37797 return t1 == null ? t2 : t1 + "|" + t2;
37798 }
37799 };
37800 A.SimpleSelector.prototype = {
37801 get$minSpecificity() {
37802 return 1000;
37803 },
37804 get$maxSpecificity() {
37805 return this.get$minSpecificity();
37806 },
37807 addSuffix$1(suffix) {
37808 return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"'));
37809 },
37810 unify$1(compound) {
37811 var other, t1, result, addedThis, _i, simple, _this = this;
37812 if (compound.length === 1) {
37813 other = B.JSArray_methods.get$first(compound);
37814 if (!(other instanceof A.UniversalSelector))
37815 if (other instanceof A.PseudoSelector)
37816 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37817 else
37818 t1 = false;
37819 else
37820 t1 = true;
37821 if (t1)
37822 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37823 }
37824 if (B.JSArray_methods.contains$1(compound, _this))
37825 return compound;
37826 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37827 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37828 simple = compound[_i];
37829 if (!addedThis && simple instanceof A.PseudoSelector) {
37830 result.push(_this);
37831 addedThis = true;
37832 }
37833 result.push(simple);
37834 }
37835 if (!addedThis)
37836 result.push(_this);
37837 return result;
37838 }
37839 };
37840 A.TypeSelector.prototype = {
37841 get$minSpecificity() {
37842 return 1;
37843 },
37844 accept$1$1(visitor) {
37845 visitor._serialize$_buffer.write$1(0, this.name);
37846 return null;
37847 },
37848 accept$1(visitor) {
37849 return this.accept$1$1(visitor, type$.dynamic);
37850 },
37851 addSuffix$1(suffix) {
37852 var t1 = this.name;
37853 return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
37854 },
37855 unify$1(compound) {
37856 var unified, t1;
37857 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
37858 unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
37859 if (unified == null)
37860 return null;
37861 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37862 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37863 return t1;
37864 } else {
37865 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
37866 B.JSArray_methods.addAll$1(t1, compound);
37867 return t1;
37868 }
37869 },
37870 $eq(_, other) {
37871 if (other == null)
37872 return false;
37873 return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
37874 },
37875 get$hashCode(_) {
37876 var t1 = this.name;
37877 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
37878 }
37879 };
37880 A.UniversalSelector.prototype = {
37881 get$minSpecificity() {
37882 return 0;
37883 },
37884 accept$1$1(visitor) {
37885 var t2,
37886 t1 = this.namespace;
37887 if (t1 != null) {
37888 t2 = visitor._serialize$_buffer;
37889 t2.write$1(0, t1);
37890 t2.writeCharCode$1(124);
37891 }
37892 visitor._serialize$_buffer.writeCharCode$1(42);
37893 return null;
37894 },
37895 accept$1(visitor) {
37896 return this.accept$1$1(visitor, type$.dynamic);
37897 },
37898 unify$1(compound) {
37899 var unified, t1, _this = this,
37900 first = B.JSArray_methods.get$first(compound);
37901 if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
37902 unified = A.unifyUniversalAndElement(_this, first);
37903 if (unified == null)
37904 return null;
37905 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37906 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37907 return t1;
37908 } else {
37909 if (compound.length === 1)
37910 if (first instanceof A.PseudoSelector)
37911 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
37912 else
37913 t1 = false;
37914 else
37915 t1 = false;
37916 if (t1)
37917 return null;
37918 }
37919 t1 = _this.namespace;
37920 if (t1 != null && t1 !== "*") {
37921 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
37922 B.JSArray_methods.addAll$1(t1, compound);
37923 return t1;
37924 }
37925 if (compound.length !== 0)
37926 return compound;
37927 return A._setArrayType([_this], type$.JSArray_SimpleSelector);
37928 },
37929 $eq(_, other) {
37930 if (other == null)
37931 return false;
37932 return other instanceof A.UniversalSelector && other.namespace == this.namespace;
37933 },
37934 get$hashCode(_) {
37935 return J.get$hashCode$(this.namespace);
37936 }
37937 };
37938 A._compileStylesheet_closure0.prototype = {
37939 call$1(url) {
37940 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);
37941 },
37942 $signature: 5
37943 };
37944 A.AsyncEnvironment.prototype = {
37945 closure$0() {
37946 var t4, t5, t6, _this = this,
37947 t1 = _this._async_environment$_forwardedModules,
37948 t2 = _this._async_environment$_nestedForwardedModules,
37949 t3 = _this._async_environment$_variables;
37950 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
37951 t4 = _this._async_environment$_variableNodes;
37952 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
37953 t5 = _this._async_environment$_functions;
37954 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
37955 t6 = _this._async_environment$_mixins;
37956 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
37957 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);
37958 },
37959 addModule$3$namespace(module, nodeWithSpan, namespace) {
37960 var t1, t2, span, _this = this;
37961 if (namespace == null) {
37962 _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
37963 _this._async_environment$_allModules.push(module);
37964 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
37965 t2 = t1.get$current(t1);
37966 if (module.get$variables().containsKey$1(t2))
37967 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
37968 }
37969 } else {
37970 t1 = _this._async_environment$_modules;
37971 if (t1.containsKey$1(namespace)) {
37972 t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
37973 span = t1 == null ? null : t1.span;
37974 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37975 if (span != null)
37976 t1.$indexSet(0, span, "original @use");
37977 throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
37978 }
37979 t1.$indexSet(0, namespace, module);
37980 _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
37981 _this._async_environment$_allModules.push(module);
37982 }
37983 },
37984 forwardModule$2(module, rule) {
37985 var view, t1, t2, _this = this,
37986 forwardedModules = _this._async_environment$_forwardedModules;
37987 if (forwardedModules == null)
37988 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37989 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
37990 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
37991 t2 = t1.__js_helper$_current;
37992 _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
37993 _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
37994 _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
37995 }
37996 _this._async_environment$_allModules.push(module);
37997 forwardedModules.$indexSet(0, view, rule);
37998 },
37999 _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
38000 var larger, smaller, t1, t2, $name, span;
38001 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
38002 larger = oldMembers;
38003 smaller = newMembers;
38004 } else {
38005 larger = newMembers;
38006 smaller = oldMembers;
38007 }
38008 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
38009 $name = t1.get$current(t1);
38010 if (!larger.containsKey$1($name))
38011 continue;
38012 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
38013 continue;
38014 if (t2)
38015 $name = "$" + $name;
38016 t1 = this._async_environment$_forwardedModules;
38017 if (t1 == null)
38018 span = null;
38019 else {
38020 t1 = t1.$index(0, oldModule);
38021 span = t1 == null ? null : J.get$span$z(t1);
38022 }
38023 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38024 if (span != null)
38025 t1.$indexSet(0, span, "original @forward");
38026 throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
38027 }
38028 },
38029 importForwards$1(module) {
38030 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
38031 forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
38032 if (forwarded == null)
38033 return;
38034 forwardedModules = _this._async_environment$_forwardedModules;
38035 if (forwardedModules != null) {
38036 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
38037 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
38038 t4 = t2.get$current(t2);
38039 t5 = t4.key;
38040 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
38041 t1.$indexSet(0, t5, t4.value);
38042 }
38043 forwarded = t1;
38044 } else
38045 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
38046 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
38047 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
38048 t3 = t2._eval$1("Iterable.E");
38049 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure(), t2), t3);
38050 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure0(), t2), t3);
38051 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure1(), t2), t3);
38052 t2 = _this._async_environment$_variables;
38053 t3 = t2.length;
38054 if (t3 === 1) {
38055 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) {
38056 entry = t3[_i];
38057 module = entry.key;
38058 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38059 if (shadowed != null) {
38060 t1.remove$1(0, module);
38061 t6 = shadowed.variables;
38062 if (t6.get$isEmpty(t6)) {
38063 t6 = shadowed.functions;
38064 if (t6.get$isEmpty(t6)) {
38065 t6 = shadowed.mixins;
38066 if (t6.get$isEmpty(t6)) {
38067 t6 = shadowed._shadowed_view$_inner;
38068 t6 = t6.get$css(t6);
38069 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38070 } else
38071 t6 = false;
38072 } else
38073 t6 = false;
38074 } else
38075 t6 = false;
38076 if (!t6)
38077 t1.$indexSet(0, shadowed, entry.value);
38078 }
38079 }
38080 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) {
38081 entry = t3[_i];
38082 module = entry.key;
38083 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38084 if (shadowed != null) {
38085 forwardedModules.remove$1(0, module);
38086 t6 = shadowed.variables;
38087 if (t6.get$isEmpty(t6)) {
38088 t6 = shadowed.functions;
38089 if (t6.get$isEmpty(t6)) {
38090 t6 = shadowed.mixins;
38091 if (t6.get$isEmpty(t6)) {
38092 t6 = shadowed._shadowed_view$_inner;
38093 t6 = t6.get$css(t6);
38094 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38095 } else
38096 t6 = false;
38097 } else
38098 t6 = false;
38099 } else
38100 t6 = false;
38101 if (!t6)
38102 forwardedModules.$indexSet(0, shadowed, entry.value);
38103 }
38104 }
38105 t1.addAll$1(0, forwarded);
38106 forwardedModules.addAll$1(0, forwarded);
38107 } else {
38108 t4 = _this._async_environment$_nestedForwardedModules;
38109 if (t4 == null) {
38110 _length = t3 - 1;
38111 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
38112 for (t3 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
38113 _list[_i] = A._setArrayType([], t3);
38114 _this._async_environment$_nestedForwardedModules = _list;
38115 t3 = _list;
38116 } else
38117 t3 = t4;
38118 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
38119 }
38120 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();) {
38121 t6 = t1._collection$_current;
38122 if (t6 == null)
38123 t6 = t5._as(t6);
38124 t3.remove$1(0, t6);
38125 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
38126 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
38127 }
38128 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();) {
38129 t5 = t1._collection$_current;
38130 if (t5 == null)
38131 t5 = t4._as(t5);
38132 t2.remove$1(0, t5);
38133 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
38134 }
38135 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();) {
38136 t5 = t1._collection$_current;
38137 if (t5 == null)
38138 t5 = t4._as(t5);
38139 t2.remove$1(0, t5);
38140 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
38141 }
38142 },
38143 getVariable$2$namespace($name, namespace) {
38144 var t1, index, _this = this;
38145 if (namespace != null)
38146 return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
38147 if (_this._async_environment$_lastVariableName === $name) {
38148 t1 = _this._async_environment$_lastVariableIndex;
38149 t1.toString;
38150 t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
38151 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38152 }
38153 t1 = _this._async_environment$_variableIndices;
38154 index = t1.$index(0, $name);
38155 if (index != null) {
38156 _this._async_environment$_lastVariableName = $name;
38157 _this._async_environment$_lastVariableIndex = index;
38158 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38159 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38160 }
38161 index = _this._async_environment$_variableIndex$1($name);
38162 if (index == null)
38163 return _this._async_environment$_getVariableFromGlobalModule$1($name);
38164 _this._async_environment$_lastVariableName = $name;
38165 _this._async_environment$_lastVariableIndex = index;
38166 t1.$indexSet(0, $name, index);
38167 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38168 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38169 },
38170 getVariable$1($name) {
38171 return this.getVariable$2$namespace($name, null);
38172 },
38173 _async_environment$_getVariableFromGlobalModule$1($name) {
38174 return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
38175 },
38176 getVariableNode$2$namespace($name, namespace) {
38177 var t1, index, _this = this;
38178 if (namespace != null)
38179 return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
38180 if (_this._async_environment$_lastVariableName === $name) {
38181 t1 = _this._async_environment$_lastVariableIndex;
38182 t1.toString;
38183 t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
38184 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38185 }
38186 t1 = _this._async_environment$_variableIndices;
38187 index = t1.$index(0, $name);
38188 if (index != null) {
38189 _this._async_environment$_lastVariableName = $name;
38190 _this._async_environment$_lastVariableIndex = index;
38191 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38192 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38193 }
38194 index = _this._async_environment$_variableIndex$1($name);
38195 if (index == null)
38196 return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
38197 _this._async_environment$_lastVariableName = $name;
38198 _this._async_environment$_lastVariableIndex = index;
38199 t1.$indexSet(0, $name, index);
38200 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38201 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38202 },
38203 _async_environment$_getVariableNodeFromGlobalModule$1($name) {
38204 var t1, t2, value;
38205 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();) {
38206 t1 = t2._currentIterator;
38207 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
38208 if (value != null)
38209 return value;
38210 }
38211 return null;
38212 },
38213 globalVariableExists$2$namespace($name, namespace) {
38214 if (namespace != null)
38215 return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
38216 if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
38217 return true;
38218 return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
38219 },
38220 globalVariableExists$1($name) {
38221 return this.globalVariableExists$2$namespace($name, null);
38222 },
38223 _async_environment$_variableIndex$1($name) {
38224 var t1, i;
38225 for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
38226 if (t1[i].containsKey$1($name))
38227 return i;
38228 return null;
38229 },
38230 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
38231 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
38232 if (namespace != null) {
38233 _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
38234 return;
38235 }
38236 if (global || _this._async_environment$_variables.length === 1) {
38237 _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
38238 t1 = _this._async_environment$_variables;
38239 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
38240 moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
38241 if (moduleWithName != null) {
38242 moduleWithName.setVariable$3($name, value, nodeWithSpan);
38243 return;
38244 }
38245 }
38246 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
38247 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
38248 return;
38249 }
38250 nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
38251 if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
38252 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();) {
38253 t3 = t1.__internal$_current;
38254 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();) {
38255 t5 = t3.__internal$_current;
38256 if (t5 == null)
38257 t5 = t4._as(t5);
38258 if (t5.get$variables().containsKey$1($name)) {
38259 t5.setVariable$3($name, value, nodeWithSpan);
38260 return;
38261 }
38262 }
38263 }
38264 if (_this._async_environment$_lastVariableName === $name) {
38265 t1 = _this._async_environment$_lastVariableIndex;
38266 t1.toString;
38267 index = t1;
38268 } else
38269 index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
38270 if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
38271 index = _this._async_environment$_variables.length - 1;
38272 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38273 }
38274 _this._async_environment$_lastVariableName = $name;
38275 _this._async_environment$_lastVariableIndex = index;
38276 J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
38277 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38278 },
38279 setVariable$4$global($name, value, nodeWithSpan, global) {
38280 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
38281 },
38282 setLocalVariable$3($name, value, nodeWithSpan) {
38283 var index, _this = this,
38284 t1 = _this._async_environment$_variables,
38285 t2 = t1.length;
38286 _this._async_environment$_lastVariableName = $name;
38287 index = _this._async_environment$_lastVariableIndex = t2 - 1;
38288 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38289 J.$indexSet$ax(t1[index], $name, value);
38290 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38291 },
38292 getFunction$2$namespace($name, namespace) {
38293 var t1, index, _this = this;
38294 if (namespace != null) {
38295 t1 = _this._async_environment$_getModule$1(namespace);
38296 return t1.get$functions(t1).$index(0, $name);
38297 }
38298 t1 = _this._async_environment$_functionIndices;
38299 index = t1.$index(0, $name);
38300 if (index != null) {
38301 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38302 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38303 }
38304 index = _this._async_environment$_functionIndex$1($name);
38305 if (index == null)
38306 return _this._async_environment$_getFunctionFromGlobalModule$1($name);
38307 t1.$indexSet(0, $name, index);
38308 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38309 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38310 },
38311 _async_environment$_getFunctionFromGlobalModule$1($name) {
38312 return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
38313 },
38314 _async_environment$_functionIndex$1($name) {
38315 var t1, i;
38316 for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
38317 if (t1[i].containsKey$1($name))
38318 return i;
38319 return null;
38320 },
38321 getMixin$2$namespace($name, namespace) {
38322 var t1, index, _this = this;
38323 if (namespace != null)
38324 return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
38325 t1 = _this._async_environment$_mixinIndices;
38326 index = t1.$index(0, $name);
38327 if (index != null) {
38328 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38329 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38330 }
38331 index = _this._async_environment$_mixinIndex$1($name);
38332 if (index == null)
38333 return _this._async_environment$_getMixinFromGlobalModule$1($name);
38334 t1.$indexSet(0, $name, index);
38335 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38336 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38337 },
38338 _async_environment$_getMixinFromGlobalModule$1($name) {
38339 return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
38340 },
38341 _async_environment$_mixinIndex$1($name) {
38342 var t1, i;
38343 for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
38344 if (t1[i].containsKey$1($name))
38345 return i;
38346 return null;
38347 },
38348 withContent$2($content, callback) {
38349 return this.withContent$body$AsyncEnvironment($content, callback);
38350 },
38351 withContent$body$AsyncEnvironment($content, callback) {
38352 var $async$goto = 0,
38353 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38354 $async$self = this, oldContent;
38355 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38356 if ($async$errorCode === 1)
38357 return A._asyncRethrow($async$result, $async$completer);
38358 while (true)
38359 switch ($async$goto) {
38360 case 0:
38361 // Function start
38362 oldContent = $async$self._async_environment$_content;
38363 $async$self._async_environment$_content = $content;
38364 $async$goto = 2;
38365 return A._asyncAwait(callback.call$0(), $async$withContent$2);
38366 case 2:
38367 // returning from await.
38368 $async$self._async_environment$_content = oldContent;
38369 // implicit return
38370 return A._asyncReturn(null, $async$completer);
38371 }
38372 });
38373 return A._asyncStartSync($async$withContent$2, $async$completer);
38374 },
38375 asMixin$1(callback) {
38376 var $async$goto = 0,
38377 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38378 $async$self = this, oldInMixin;
38379 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38380 if ($async$errorCode === 1)
38381 return A._asyncRethrow($async$result, $async$completer);
38382 while (true)
38383 switch ($async$goto) {
38384 case 0:
38385 // Function start
38386 oldInMixin = $async$self._async_environment$_inMixin;
38387 $async$self._async_environment$_inMixin = true;
38388 $async$goto = 2;
38389 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
38390 case 2:
38391 // returning from await.
38392 $async$self._async_environment$_inMixin = oldInMixin;
38393 // implicit return
38394 return A._asyncReturn(null, $async$completer);
38395 }
38396 });
38397 return A._asyncStartSync($async$asMixin$1, $async$completer);
38398 },
38399 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
38400 return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
38401 },
38402 scope$1$1(callback, $T) {
38403 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
38404 },
38405 scope$1$2$when(callback, when, $T) {
38406 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
38407 },
38408 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
38409 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
38410 },
38411 scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
38412 var $async$goto = 0,
38413 $async$completer = A._makeAsyncAwaitCompleter($async$type),
38414 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
38415 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38416 if ($async$errorCode === 1) {
38417 $async$currentError = $async$result;
38418 $async$goto = $async$handler;
38419 }
38420 while (true)
38421 switch ($async$goto) {
38422 case 0:
38423 // Function start
38424 semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
38425 wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
38426 $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
38427 $async$goto = !when ? 3 : 4;
38428 break;
38429 case 3:
38430 // then
38431 $async$handler = 5;
38432 $async$goto = 8;
38433 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38434 case 8:
38435 // returning from await.
38436 t1 = $async$result;
38437 $async$returnValue = t1;
38438 $async$next = [1];
38439 // goto finally
38440 $async$goto = 6;
38441 break;
38442 $async$next.push(7);
38443 // goto finally
38444 $async$goto = 6;
38445 break;
38446 case 5:
38447 // uncaught
38448 $async$next = [2];
38449 case 6:
38450 // finally
38451 $async$handler = 2;
38452 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38453 // goto the next finally handler
38454 $async$goto = $async$next.pop();
38455 break;
38456 case 7:
38457 // after finally
38458 case 4:
38459 // join
38460 t1 = $async$self._async_environment$_variables;
38461 t2 = type$.String;
38462 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
38463 t3 = $async$self._async_environment$_variableNodes;
38464 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
38465 t4 = $async$self._async_environment$_functions;
38466 t5 = type$.AsyncCallable;
38467 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
38468 t6 = $async$self._async_environment$_mixins;
38469 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
38470 t5 = $async$self._async_environment$_nestedForwardedModules;
38471 if (t5 != null)
38472 t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
38473 $async$handler = 9;
38474 $async$goto = 12;
38475 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38476 case 12:
38477 // returning from await.
38478 t2 = $async$result;
38479 $async$returnValue = t2;
38480 $async$next = [1];
38481 // goto finally
38482 $async$goto = 10;
38483 break;
38484 $async$next.push(11);
38485 // goto finally
38486 $async$goto = 10;
38487 break;
38488 case 9:
38489 // uncaught
38490 $async$next = [2];
38491 case 10:
38492 // finally
38493 $async$handler = 2;
38494 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38495 $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
38496 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();) {
38497 $name = t1.get$current(t1);
38498 t2.remove$1(0, $name);
38499 }
38500 B.JSArray_methods.removeLast$0(t3);
38501 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();) {
38502 name0 = t1.get$current(t1);
38503 t2.remove$1(0, name0);
38504 }
38505 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();) {
38506 name1 = t1.get$current(t1);
38507 t2.remove$1(0, name1);
38508 }
38509 t1 = $async$self._async_environment$_nestedForwardedModules;
38510 if (t1 != null)
38511 t1.pop();
38512 // goto the next finally handler
38513 $async$goto = $async$next.pop();
38514 break;
38515 case 11:
38516 // after finally
38517 case 1:
38518 // return
38519 return A._asyncReturn($async$returnValue, $async$completer);
38520 case 2:
38521 // rethrow
38522 return A._asyncRethrow($async$currentError, $async$completer);
38523 }
38524 });
38525 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
38526 },
38527 toImplicitConfiguration$0() {
38528 var t1, t2, i, values, nodes, t3, t4, t5, t6,
38529 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
38530 for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
38531 values = t1[i];
38532 nodes = t2[i];
38533 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
38534 t4 = t3.get$current(t3);
38535 t5 = t4.key;
38536 t4 = t4.value;
38537 t6 = nodes.$index(0, t5);
38538 t6.toString;
38539 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
38540 }
38541 }
38542 return new A.Configuration(configuration);
38543 },
38544 toModule$2(css, extensionStore) {
38545 return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
38546 },
38547 toDummyModule$0() {
38548 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()));
38549 },
38550 _async_environment$_getModule$1(namespace) {
38551 var module = this._async_environment$_modules.$index(0, namespace);
38552 if (module != null)
38553 return module;
38554 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
38555 },
38556 _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
38557 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
38558 nestedForwardedModules = this._async_environment$_nestedForwardedModules;
38559 if (nestedForwardedModules != null)
38560 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();) {
38561 t3 = t1.__internal$_current;
38562 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();) {
38563 t5 = t3.__internal$_current;
38564 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
38565 if (value != null)
38566 return value;
38567 }
38568 }
38569 for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
38570 value = callback.call$1(t1.__js_helper$_current);
38571 if (value != null)
38572 return value;
38573 }
38574 for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
38575 t4 = t2.__js_helper$_current;
38576 valueInModule = callback.call$1(t4);
38577 if (valueInModule == null)
38578 continue;
38579 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
38580 if (identityFromModule.$eq(0, identity))
38581 continue;
38582 if (value != null) {
38583 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
38584 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38585 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
38586 t4 = t1.get$current(t1);
38587 if (t4 != null)
38588 t2.$indexSet(0, t4, t3);
38589 }
38590 throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
38591 }
38592 identity = identityFromModule;
38593 value = valueInModule;
38594 }
38595 return value;
38596 }
38597 };
38598 A.AsyncEnvironment_importForwards_closure.prototype = {
38599 call$1(module) {
38600 var t1 = module.get$variables();
38601 return t1.get$keys(t1);
38602 },
38603 $signature: 120
38604 };
38605 A.AsyncEnvironment_importForwards_closure0.prototype = {
38606 call$1(module) {
38607 var t1 = module.get$functions(module);
38608 return t1.get$keys(t1);
38609 },
38610 $signature: 120
38611 };
38612 A.AsyncEnvironment_importForwards_closure1.prototype = {
38613 call$1(module) {
38614 var t1 = module.get$mixins();
38615 return t1.get$keys(t1);
38616 },
38617 $signature: 120
38618 };
38619 A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
38620 call$1(module) {
38621 return module.get$variables().$index(0, this.name);
38622 },
38623 $signature: 531
38624 };
38625 A.AsyncEnvironment_setVariable_closure.prototype = {
38626 call$0() {
38627 var t1 = this.$this;
38628 t1._async_environment$_lastVariableName = this.name;
38629 return t1._async_environment$_lastVariableIndex = 0;
38630 },
38631 $signature: 12
38632 };
38633 A.AsyncEnvironment_setVariable_closure0.prototype = {
38634 call$1(module) {
38635 return module.get$variables().containsKey$1(this.name) ? module : null;
38636 },
38637 $signature: 540
38638 };
38639 A.AsyncEnvironment_setVariable_closure1.prototype = {
38640 call$0() {
38641 var t1 = this.$this,
38642 t2 = t1._async_environment$_variableIndex$1(this.name);
38643 return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
38644 },
38645 $signature: 12
38646 };
38647 A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
38648 call$1(module) {
38649 return module.get$functions(module).$index(0, this.name);
38650 },
38651 $signature: 217
38652 };
38653 A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
38654 call$1(module) {
38655 return module.get$mixins().$index(0, this.name);
38656 },
38657 $signature: 217
38658 };
38659 A.AsyncEnvironment_toModule_closure.prototype = {
38660 call$1(modules) {
38661 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38662 },
38663 $signature: 216
38664 };
38665 A.AsyncEnvironment_toDummyModule_closure.prototype = {
38666 call$1(modules) {
38667 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38668 },
38669 $signature: 216
38670 };
38671 A.AsyncEnvironment__fromOneModule_closure.prototype = {
38672 call$1(entry) {
38673 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
38674 },
38675 $signature: 265
38676 };
38677 A.AsyncEnvironment__fromOneModule__closure.prototype = {
38678 call$1(_) {
38679 return J.get$span$z(this.entry.value);
38680 },
38681 $signature() {
38682 return this.T._eval$1("FileSpan(0)");
38683 }
38684 };
38685 A._EnvironmentModule0.prototype = {
38686 get$url(_) {
38687 var t1 = this.css;
38688 return t1.get$span(t1).file.url;
38689 },
38690 setVariable$3($name, value, nodeWithSpan) {
38691 var t1, t2,
38692 module = this._async_environment$_modulesByVariable.$index(0, $name);
38693 if (module != null) {
38694 module.setVariable$3($name, value, nodeWithSpan);
38695 return;
38696 }
38697 t1 = this._async_environment$_environment;
38698 t2 = t1._async_environment$_variables;
38699 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
38700 throw A.wrapException(A.SassScriptException$("Undefined variable."));
38701 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
38702 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
38703 return;
38704 },
38705 variableIdentity$1($name) {
38706 var module = this._async_environment$_modulesByVariable.$index(0, $name);
38707 return module == null ? this : module.variableIdentity$1($name);
38708 },
38709 cloneCss$0() {
38710 var newCssAndExtensionStore, _this = this,
38711 t1 = _this.css;
38712 if (J.get$isEmpty$asx(t1.get$children(t1)))
38713 return _this;
38714 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
38715 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);
38716 },
38717 toString$0(_) {
38718 var t1 = this.css;
38719 if (t1.get$span(t1).file.url == null)
38720 t1 = "<unknown url>";
38721 else {
38722 t1 = t1.get$span(t1);
38723 t1 = $.$get$context().prettyUri$1(t1.file.url);
38724 }
38725 return t1;
38726 },
38727 $isModule: 1,
38728 get$upstream() {
38729 return this.upstream;
38730 },
38731 get$variables() {
38732 return this.variables;
38733 },
38734 get$variableNodes() {
38735 return this.variableNodes;
38736 },
38737 get$functions(receiver) {
38738 return this.functions;
38739 },
38740 get$mixins() {
38741 return this.mixins;
38742 },
38743 get$extensionStore() {
38744 return this.extensionStore;
38745 },
38746 get$css(receiver) {
38747 return this.css;
38748 },
38749 get$transitivelyContainsCss() {
38750 return this.transitivelyContainsCss;
38751 },
38752 get$transitivelyContainsExtensions() {
38753 return this.transitivelyContainsExtensions;
38754 }
38755 };
38756 A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
38757 call$1(module) {
38758 return module.get$variables();
38759 },
38760 $signature: 275
38761 };
38762 A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
38763 call$1(module) {
38764 return module.get$variableNodes();
38765 },
38766 $signature: 287
38767 };
38768 A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
38769 call$1(module) {
38770 return module.get$functions(module);
38771 },
38772 $signature: 215
38773 };
38774 A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
38775 call$1(module) {
38776 return module.get$mixins();
38777 },
38778 $signature: 215
38779 };
38780 A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
38781 call$1(module) {
38782 return module.get$transitivelyContainsCss();
38783 },
38784 $signature: 143
38785 };
38786 A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
38787 call$1(module) {
38788 return module.get$transitivelyContainsExtensions();
38789 },
38790 $signature: 143
38791 };
38792 A.AsyncImportCache.prototype = {
38793 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
38794 return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
38795 },
38796 canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
38797 var $async$goto = 0,
38798 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38799 $async$returnValue, $async$self = this, t1, relativeResult;
38800 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38801 if ($async$errorCode === 1)
38802 return A._asyncRethrow($async$result, $async$completer);
38803 while (true)
38804 switch ($async$goto) {
38805 case 0:
38806 // Function start
38807 $async$goto = baseImporter != null ? 3 : 4;
38808 break;
38809 case 3:
38810 // then
38811 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
38812 $async$goto = 5;
38813 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);
38814 case 5:
38815 // returning from await.
38816 relativeResult = $async$result;
38817 if (relativeResult != null) {
38818 $async$returnValue = relativeResult;
38819 // goto return
38820 $async$goto = 1;
38821 break;
38822 }
38823 case 4:
38824 // join
38825 t1 = type$.Tuple2_Uri_bool;
38826 $async$goto = 6;
38827 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);
38828 case 6:
38829 // returning from await.
38830 $async$returnValue = $async$result;
38831 // goto return
38832 $async$goto = 1;
38833 break;
38834 case 1:
38835 // return
38836 return A._asyncReturn($async$returnValue, $async$completer);
38837 }
38838 });
38839 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
38840 },
38841 _async_import_cache$_canonicalize$3(importer, url, forImport) {
38842 return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
38843 },
38844 _canonicalize$body$AsyncImportCache(importer, url, forImport) {
38845 var $async$goto = 0,
38846 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
38847 $async$returnValue, $async$self = this, t1, result;
38848 var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38849 if ($async$errorCode === 1)
38850 return A._asyncRethrow($async$result, $async$completer);
38851 while (true)
38852 switch ($async$goto) {
38853 case 0:
38854 // Function start
38855 if (forImport) {
38856 t1 = type$.nullable_Object;
38857 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
38858 } else
38859 t1 = importer.canonicalize$1(0, url);
38860 $async$goto = 3;
38861 return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
38862 case 3:
38863 // returning from await.
38864 result = $async$result;
38865 if ((result == null ? null : result.get$scheme()) === "")
38866 $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);
38867 $async$returnValue = result;
38868 // goto return
38869 $async$goto = 1;
38870 break;
38871 case 1:
38872 // return
38873 return A._asyncReturn($async$returnValue, $async$completer);
38874 }
38875 });
38876 return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
38877 },
38878 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
38879 return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
38880 },
38881 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
38882 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
38883 },
38884 importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
38885 var $async$goto = 0,
38886 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38887 $async$returnValue, $async$self = this;
38888 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38889 if ($async$errorCode === 1)
38890 return A._asyncRethrow($async$result, $async$completer);
38891 while (true)
38892 switch ($async$goto) {
38893 case 0:
38894 // Function start
38895 $async$goto = 3;
38896 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);
38897 case 3:
38898 // returning from await.
38899 $async$returnValue = $async$result;
38900 // goto return
38901 $async$goto = 1;
38902 break;
38903 case 1:
38904 // return
38905 return A._asyncReturn($async$returnValue, $async$completer);
38906 }
38907 });
38908 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
38909 },
38910 humanize$1(canonicalUrl) {
38911 var t2, url,
38912 t1 = this._async_import_cache$_canonicalizeCache;
38913 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
38914 t2 = t1.$ti;
38915 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());
38916 if (url == null)
38917 return canonicalUrl;
38918 t1 = $.$get$url();
38919 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
38920 },
38921 sourceMapUrl$1(_, canonicalUrl) {
38922 var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
38923 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
38924 return t1 == null ? canonicalUrl : t1;
38925 }
38926 };
38927 A.AsyncImportCache_canonicalize_closure.prototype = {
38928 call$0() {
38929 var $async$goto = 0,
38930 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38931 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
38932 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38933 if ($async$errorCode === 1)
38934 return A._asyncRethrow($async$result, $async$completer);
38935 while (true)
38936 switch ($async$goto) {
38937 case 0:
38938 // Function start
38939 t1 = $async$self.baseUrl;
38940 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
38941 if (resolvedUrl == null)
38942 resolvedUrl = $async$self.url;
38943 t1 = $async$self.baseImporter;
38944 $async$goto = 3;
38945 return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
38946 case 3:
38947 // returning from await.
38948 canonicalUrl = $async$result;
38949 if (canonicalUrl == null) {
38950 $async$returnValue = null;
38951 // goto return
38952 $async$goto = 1;
38953 break;
38954 }
38955 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
38956 // goto return
38957 $async$goto = 1;
38958 break;
38959 case 1:
38960 // return
38961 return A._asyncReturn($async$returnValue, $async$completer);
38962 }
38963 });
38964 return A._asyncStartSync($async$call$0, $async$completer);
38965 },
38966 $signature: 214
38967 };
38968 A.AsyncImportCache_canonicalize_closure0.prototype = {
38969 call$0() {
38970 var $async$goto = 0,
38971 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38972 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
38973 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38974 if ($async$errorCode === 1)
38975 return A._asyncRethrow($async$result, $async$completer);
38976 while (true)
38977 switch ($async$goto) {
38978 case 0:
38979 // Function start
38980 t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
38981 case 3:
38982 // for condition
38983 if (!(_i < t2.length)) {
38984 // goto after for
38985 $async$goto = 5;
38986 break;
38987 }
38988 importer = t2[_i];
38989 $async$goto = 6;
38990 return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
38991 case 6:
38992 // returning from await.
38993 canonicalUrl = $async$result;
38994 if (canonicalUrl != null) {
38995 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
38996 // goto return
38997 $async$goto = 1;
38998 break;
38999 }
39000 case 4:
39001 // for update
39002 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
39003 // goto for condition
39004 $async$goto = 3;
39005 break;
39006 case 5:
39007 // after for
39008 $async$returnValue = null;
39009 // goto return
39010 $async$goto = 1;
39011 break;
39012 case 1:
39013 // return
39014 return A._asyncReturn($async$returnValue, $async$completer);
39015 }
39016 });
39017 return A._asyncStartSync($async$call$0, $async$completer);
39018 },
39019 $signature: 214
39020 };
39021 A.AsyncImportCache__canonicalize_closure.prototype = {
39022 call$0() {
39023 return this.importer.canonicalize$1(0, this.url);
39024 },
39025 $signature: 210
39026 };
39027 A.AsyncImportCache_importCanonical_closure.prototype = {
39028 call$0() {
39029 var $async$goto = 0,
39030 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
39031 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
39032 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39033 if ($async$errorCode === 1)
39034 return A._asyncRethrow($async$result, $async$completer);
39035 while (true)
39036 switch ($async$goto) {
39037 case 0:
39038 // Function start
39039 t1 = $async$self.canonicalUrl;
39040 $async$goto = 3;
39041 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
39042 case 3:
39043 // returning from await.
39044 result = $async$result;
39045 if (result == null) {
39046 $async$returnValue = null;
39047 // goto return
39048 $async$goto = 1;
39049 break;
39050 }
39051 t2 = $async$self.$this;
39052 t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
39053 t3 = result.contents;
39054 t4 = result.syntax;
39055 t1 = $async$self.originalUrl.resolveUri$1(t1);
39056 $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
39057 // goto return
39058 $async$goto = 1;
39059 break;
39060 case 1:
39061 // return
39062 return A._asyncReturn($async$returnValue, $async$completer);
39063 }
39064 });
39065 return A._asyncStartSync($async$call$0, $async$completer);
39066 },
39067 $signature: 299
39068 };
39069 A.AsyncImportCache_humanize_closure.prototype = {
39070 call$1(tuple) {
39071 return tuple.item2.$eq(0, this.canonicalUrl);
39072 },
39073 $signature: 307
39074 };
39075 A.AsyncImportCache_humanize_closure0.prototype = {
39076 call$1(tuple) {
39077 return tuple.item3;
39078 },
39079 $signature: 308
39080 };
39081 A.AsyncImportCache_humanize_closure1.prototype = {
39082 call$1(url) {
39083 return url.get$path(url).length;
39084 },
39085 $signature: 96
39086 };
39087 A.AsyncBuiltInCallable.prototype = {
39088 callbackFor$2(positional, names) {
39089 return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
39090 },
39091 $isAsyncCallable: 1,
39092 get$name(receiver) {
39093 return this.name;
39094 }
39095 };
39096 A.AsyncBuiltInCallable$mixin_closure.prototype = {
39097 call$1($arguments) {
39098 return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
39099 },
39100 $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
39101 var $async$goto = 0,
39102 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
39103 $async$returnValue, $async$self = this;
39104 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39105 if ($async$errorCode === 1)
39106 return A._asyncRethrow($async$result, $async$completer);
39107 while (true)
39108 switch ($async$goto) {
39109 case 0:
39110 // Function start
39111 $async$goto = 3;
39112 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
39113 case 3:
39114 // returning from await.
39115 $async$returnValue = B.C__SassNull;
39116 // goto return
39117 $async$goto = 1;
39118 break;
39119 case 1:
39120 // return
39121 return A._asyncReturn($async$returnValue, $async$completer);
39122 }
39123 });
39124 return A._asyncStartSync($async$call$1, $async$completer);
39125 },
39126 $signature: 208
39127 };
39128 A.BuiltInCallable.prototype = {
39129 callbackFor$2(positional, names) {
39130 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
39131 for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
39132 overload = t1[_i];
39133 t3 = overload.item1;
39134 if (t3.matches$2(positional, names))
39135 return overload;
39136 mismatchDistance = t3.$arguments.length - positional;
39137 if (minMismatchDistance != null) {
39138 t3 = Math.abs(mismatchDistance);
39139 t4 = Math.abs(minMismatchDistance);
39140 if (t3 > t4)
39141 continue;
39142 if (t3 === t4 && mismatchDistance < 0)
39143 continue;
39144 }
39145 minMismatchDistance = mismatchDistance;
39146 fuzzyMatch = overload;
39147 }
39148 if (fuzzyMatch != null)
39149 return fuzzyMatch;
39150 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
39151 },
39152 withName$1($name) {
39153 return new A.BuiltInCallable($name, this._overloads);
39154 },
39155 $isCallable: 1,
39156 $isAsyncCallable: 1,
39157 $isAsyncBuiltInCallable: 1,
39158 get$name(receiver) {
39159 return this.name;
39160 }
39161 };
39162 A.BuiltInCallable$mixin_closure.prototype = {
39163 call$1($arguments) {
39164 this.callback.call$1($arguments);
39165 return B.C__SassNull;
39166 },
39167 $signature: 4
39168 };
39169 A.PlainCssCallable.prototype = {
39170 $eq(_, other) {
39171 if (other == null)
39172 return false;
39173 return other instanceof A.PlainCssCallable && this.name === other.name;
39174 },
39175 get$hashCode(_) {
39176 return B.JSString_methods.get$hashCode(this.name);
39177 },
39178 $isCallable: 1,
39179 $isAsyncCallable: 1,
39180 get$name(receiver) {
39181 return this.name;
39182 }
39183 };
39184 A.UserDefinedCallable.prototype = {
39185 get$name(_) {
39186 return this.declaration.name;
39187 },
39188 $isCallable: 1,
39189 $isAsyncCallable: 1
39190 };
39191 A._compileStylesheet_closure.prototype = {
39192 call$1(url) {
39193 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);
39194 },
39195 $signature: 5
39196 };
39197 A.CompileResult.prototype = {};
39198 A.Configuration.prototype = {
39199 throughForward$1($forward) {
39200 var prefix, shownVariables, hiddenVariables, t1,
39201 newValues = this._values;
39202 if (newValues.get$isEmpty(newValues))
39203 return B.Configuration_Map_empty;
39204 prefix = $forward.prefix;
39205 if (prefix != null)
39206 newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
39207 shownVariables = $forward.shownVariables;
39208 hiddenVariables = $forward.hiddenVariables;
39209 if (shownVariables != null)
39210 newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
39211 else {
39212 if (hiddenVariables != null) {
39213 t1 = hiddenVariables._base;
39214 t1 = t1.get$isNotEmpty(t1);
39215 } else
39216 t1 = false;
39217 if (t1)
39218 newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
39219 }
39220 return this._withValues$1(newValues);
39221 },
39222 _withValues$1(values) {
39223 return new A.Configuration(values);
39224 },
39225 toString$0(_) {
39226 var t1 = this._values;
39227 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
39228 }
39229 };
39230 A.Configuration_toString_closure.prototype = {
39231 call$1(entry) {
39232 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
39233 },
39234 $signature: 317
39235 };
39236 A.ExplicitConfiguration.prototype = {
39237 _withValues$1(values) {
39238 return new A.ExplicitConfiguration(this.nodeWithSpan, values);
39239 }
39240 };
39241 A.ConfiguredValue.prototype = {
39242 toString$0(_) {
39243 return A.serializeValue(this.value, true, true);
39244 }
39245 };
39246 A.Environment.prototype = {
39247 closure$0() {
39248 var t4, t5, t6, _this = this,
39249 t1 = _this._forwardedModules,
39250 t2 = _this._nestedForwardedModules,
39251 t3 = _this._variables;
39252 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
39253 t4 = _this._variableNodes;
39254 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
39255 t5 = _this._functions;
39256 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
39257 t6 = _this._mixins;
39258 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
39259 return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
39260 },
39261 addModule$3$namespace(module, nodeWithSpan, namespace) {
39262 var t1, t2, span, _this = this;
39263 if (namespace == null) {
39264 _this._globalModules.$indexSet(0, module, nodeWithSpan);
39265 _this._allModules.push(module);
39266 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
39267 t2 = t1.get$current(t1);
39268 if (module.get$variables().containsKey$1(t2))
39269 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
39270 }
39271 } else {
39272 t1 = _this._environment$_modules;
39273 if (t1.containsKey$1(namespace)) {
39274 t1 = _this._namespaceNodes.$index(0, namespace);
39275 span = t1 == null ? null : t1.span;
39276 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39277 if (span != null)
39278 t1.$indexSet(0, span, "original @use");
39279 throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
39280 }
39281 t1.$indexSet(0, namespace, module);
39282 _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
39283 _this._allModules.push(module);
39284 }
39285 },
39286 forwardModule$2(module, rule) {
39287 var view, t1, t2, _this = this,
39288 forwardedModules = _this._forwardedModules;
39289 if (forwardedModules == null)
39290 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39291 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
39292 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
39293 t2 = t1.__js_helper$_current;
39294 _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
39295 _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
39296 _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
39297 }
39298 _this._allModules.push(module);
39299 forwardedModules.$indexSet(0, view, rule);
39300 },
39301 _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
39302 var larger, smaller, t1, t2, $name, span;
39303 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
39304 larger = oldMembers;
39305 smaller = newMembers;
39306 } else {
39307 larger = newMembers;
39308 smaller = oldMembers;
39309 }
39310 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
39311 $name = t1.get$current(t1);
39312 if (!larger.containsKey$1($name))
39313 continue;
39314 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
39315 continue;
39316 if (t2)
39317 $name = "$" + $name;
39318 t1 = this._forwardedModules;
39319 if (t1 == null)
39320 span = null;
39321 else {
39322 t1 = t1.$index(0, oldModule);
39323 span = t1 == null ? null : J.get$span$z(t1);
39324 }
39325 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39326 if (span != null)
39327 t1.$indexSet(0, span, "original @forward");
39328 throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
39329 }
39330 },
39331 importForwards$1(module) {
39332 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
39333 forwarded = module._environment$_environment._forwardedModules;
39334 if (forwarded == null)
39335 return;
39336 forwardedModules = _this._forwardedModules;
39337 if (forwardedModules != null) {
39338 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39339 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
39340 t4 = t2.get$current(t2);
39341 t5 = t4.key;
39342 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
39343 t1.$indexSet(0, t5, t4.value);
39344 }
39345 forwarded = t1;
39346 } else
39347 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39348 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
39349 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
39350 t3 = t2._eval$1("Iterable.E");
39351 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure(), t2), t3);
39352 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure0(), t2), t3);
39353 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure1(), t2), t3);
39354 t2 = _this._variables;
39355 t3 = t2.length;
39356 if (t3 === 1) {
39357 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) {
39358 entry = t3[_i];
39359 module = entry.key;
39360 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39361 if (shadowed != null) {
39362 t1.remove$1(0, module);
39363 t6 = shadowed.variables;
39364 if (t6.get$isEmpty(t6)) {
39365 t6 = shadowed.functions;
39366 if (t6.get$isEmpty(t6)) {
39367 t6 = shadowed.mixins;
39368 if (t6.get$isEmpty(t6)) {
39369 t6 = shadowed._shadowed_view$_inner;
39370 t6 = t6.get$css(t6);
39371 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39372 } else
39373 t6 = false;
39374 } else
39375 t6 = false;
39376 } else
39377 t6 = false;
39378 if (!t6)
39379 t1.$indexSet(0, shadowed, entry.value);
39380 }
39381 }
39382 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) {
39383 entry = t3[_i];
39384 module = entry.key;
39385 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39386 if (shadowed != null) {
39387 forwardedModules.remove$1(0, module);
39388 t6 = shadowed.variables;
39389 if (t6.get$isEmpty(t6)) {
39390 t6 = shadowed.functions;
39391 if (t6.get$isEmpty(t6)) {
39392 t6 = shadowed.mixins;
39393 if (t6.get$isEmpty(t6)) {
39394 t6 = shadowed._shadowed_view$_inner;
39395 t6 = t6.get$css(t6);
39396 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39397 } else
39398 t6 = false;
39399 } else
39400 t6 = false;
39401 } else
39402 t6 = false;
39403 if (!t6)
39404 forwardedModules.$indexSet(0, shadowed, entry.value);
39405 }
39406 }
39407 t1.addAll$1(0, forwarded);
39408 forwardedModules.addAll$1(0, forwarded);
39409 } else {
39410 t4 = _this._nestedForwardedModules;
39411 if (t4 == null) {
39412 _length = t3 - 1;
39413 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
39414 for (t3 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
39415 _list[_i] = A._setArrayType([], t3);
39416 _this._nestedForwardedModules = _list;
39417 t3 = _list;
39418 } else
39419 t3 = t4;
39420 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
39421 }
39422 for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._variableIndices, t4 = _this._variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
39423 t6 = t1._collection$_current;
39424 if (t6 == null)
39425 t6 = t5._as(t6);
39426 t3.remove$1(0, t6);
39427 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
39428 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
39429 }
39430 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._functionIndices, t3 = _this._functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
39431 t5 = t1._collection$_current;
39432 if (t5 == null)
39433 t5 = t4._as(t5);
39434 t2.remove$1(0, t5);
39435 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
39436 }
39437 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
39438 t5 = t1._collection$_current;
39439 if (t5 == null)
39440 t5 = t4._as(t5);
39441 t2.remove$1(0, t5);
39442 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
39443 }
39444 },
39445 getVariable$2$namespace($name, namespace) {
39446 var t1, index, _this = this;
39447 if (namespace != null)
39448 return _this._getModule$1(namespace).get$variables().$index(0, $name);
39449 if (_this._lastVariableName === $name) {
39450 t1 = _this._lastVariableIndex;
39451 t1.toString;
39452 t1 = J.$index$asx(_this._variables[t1], $name);
39453 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39454 }
39455 t1 = _this._variableIndices;
39456 index = t1.$index(0, $name);
39457 if (index != null) {
39458 _this._lastVariableName = $name;
39459 _this._lastVariableIndex = index;
39460 t1 = J.$index$asx(_this._variables[index], $name);
39461 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39462 }
39463 index = _this._variableIndex$1($name);
39464 if (index == null)
39465 return _this._getVariableFromGlobalModule$1($name);
39466 _this._lastVariableName = $name;
39467 _this._lastVariableIndex = index;
39468 t1.$indexSet(0, $name, index);
39469 t1 = J.$index$asx(_this._variables[index], $name);
39470 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39471 },
39472 getVariable$1($name) {
39473 return this.getVariable$2$namespace($name, null);
39474 },
39475 _getVariableFromGlobalModule$1($name) {
39476 return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
39477 },
39478 getVariableNode$2$namespace($name, namespace) {
39479 var t1, index, _this = this;
39480 if (namespace != null)
39481 return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
39482 if (_this._lastVariableName === $name) {
39483 t1 = _this._lastVariableIndex;
39484 t1.toString;
39485 t1 = J.$index$asx(_this._variableNodes[t1], $name);
39486 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39487 }
39488 t1 = _this._variableIndices;
39489 index = t1.$index(0, $name);
39490 if (index != null) {
39491 _this._lastVariableName = $name;
39492 _this._lastVariableIndex = index;
39493 t1 = J.$index$asx(_this._variableNodes[index], $name);
39494 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39495 }
39496 index = _this._variableIndex$1($name);
39497 if (index == null)
39498 return _this._getVariableNodeFromGlobalModule$1($name);
39499 _this._lastVariableName = $name;
39500 _this._lastVariableIndex = index;
39501 t1.$indexSet(0, $name, index);
39502 t1 = J.$index$asx(_this._variableNodes[index], $name);
39503 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39504 },
39505 _getVariableNodeFromGlobalModule$1($name) {
39506 var t1, t2, value;
39507 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();) {
39508 t1 = t2._currentIterator;
39509 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
39510 if (value != null)
39511 return value;
39512 }
39513 return null;
39514 },
39515 globalVariableExists$2$namespace($name, namespace) {
39516 if (namespace != null)
39517 return this._getModule$1(namespace).get$variables().containsKey$1($name);
39518 if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
39519 return true;
39520 return this._getVariableFromGlobalModule$1($name) != null;
39521 },
39522 globalVariableExists$1($name) {
39523 return this.globalVariableExists$2$namespace($name, null);
39524 },
39525 _variableIndex$1($name) {
39526 var t1, i;
39527 for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
39528 if (t1[i].containsKey$1($name))
39529 return i;
39530 return null;
39531 },
39532 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
39533 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
39534 if (namespace != null) {
39535 _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
39536 return;
39537 }
39538 if (global || _this._variables.length === 1) {
39539 _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
39540 t1 = _this._variables;
39541 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
39542 moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
39543 if (moduleWithName != null) {
39544 moduleWithName.setVariable$3($name, value, nodeWithSpan);
39545 return;
39546 }
39547 }
39548 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
39549 J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
39550 return;
39551 }
39552 nestedForwardedModules = _this._nestedForwardedModules;
39553 if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
39554 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();) {
39555 t3 = t1.__internal$_current;
39556 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();) {
39557 t5 = t3.__internal$_current;
39558 if (t5 == null)
39559 t5 = t4._as(t5);
39560 if (t5.get$variables().containsKey$1($name)) {
39561 t5.setVariable$3($name, value, nodeWithSpan);
39562 return;
39563 }
39564 }
39565 }
39566 if (_this._lastVariableName === $name) {
39567 t1 = _this._lastVariableIndex;
39568 t1.toString;
39569 index = t1;
39570 } else
39571 index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
39572 if (!_this._inSemiGlobalScope && index === 0) {
39573 index = _this._variables.length - 1;
39574 _this._variableIndices.$indexSet(0, $name, index);
39575 }
39576 _this._lastVariableName = $name;
39577 _this._lastVariableIndex = index;
39578 J.$indexSet$ax(_this._variables[index], $name, value);
39579 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39580 },
39581 setVariable$4$global($name, value, nodeWithSpan, global) {
39582 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
39583 },
39584 setLocalVariable$3($name, value, nodeWithSpan) {
39585 var index, _this = this,
39586 t1 = _this._variables,
39587 t2 = t1.length;
39588 _this._lastVariableName = $name;
39589 index = _this._lastVariableIndex = t2 - 1;
39590 _this._variableIndices.$indexSet(0, $name, index);
39591 J.$indexSet$ax(t1[index], $name, value);
39592 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39593 },
39594 getFunction$2$namespace($name, namespace) {
39595 var t1, index, _this = this;
39596 if (namespace != null) {
39597 t1 = _this._getModule$1(namespace);
39598 return t1.get$functions(t1).$index(0, $name);
39599 }
39600 t1 = _this._functionIndices;
39601 index = t1.$index(0, $name);
39602 if (index != null) {
39603 t1 = J.$index$asx(_this._functions[index], $name);
39604 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39605 }
39606 index = _this._functionIndex$1($name);
39607 if (index == null)
39608 return _this._getFunctionFromGlobalModule$1($name);
39609 t1.$indexSet(0, $name, index);
39610 t1 = J.$index$asx(_this._functions[index], $name);
39611 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39612 },
39613 _getFunctionFromGlobalModule$1($name) {
39614 return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
39615 },
39616 _functionIndex$1($name) {
39617 var t1, i;
39618 for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
39619 if (t1[i].containsKey$1($name))
39620 return i;
39621 return null;
39622 },
39623 getMixin$2$namespace($name, namespace) {
39624 var t1, index, _this = this;
39625 if (namespace != null)
39626 return _this._getModule$1(namespace).get$mixins().$index(0, $name);
39627 t1 = _this._mixinIndices;
39628 index = t1.$index(0, $name);
39629 if (index != null) {
39630 t1 = J.$index$asx(_this._mixins[index], $name);
39631 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39632 }
39633 index = _this._mixinIndex$1($name);
39634 if (index == null)
39635 return _this._getMixinFromGlobalModule$1($name);
39636 t1.$indexSet(0, $name, index);
39637 t1 = J.$index$asx(_this._mixins[index], $name);
39638 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39639 },
39640 _getMixinFromGlobalModule$1($name) {
39641 return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
39642 },
39643 _mixinIndex$1($name) {
39644 var t1, i;
39645 for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
39646 if (t1[i].containsKey$1($name))
39647 return i;
39648 return null;
39649 },
39650 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
39651 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
39652 semiGlobal = semiGlobal && _this._inSemiGlobalScope;
39653 wasInSemiGlobalScope = _this._inSemiGlobalScope;
39654 _this._inSemiGlobalScope = semiGlobal;
39655 if (!when)
39656 try {
39657 t1 = callback.call$0();
39658 return t1;
39659 } finally {
39660 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39661 }
39662 t1 = _this._variables;
39663 t2 = type$.String;
39664 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
39665 t3 = _this._variableNodes;
39666 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
39667 t4 = _this._functions;
39668 t5 = type$.Callable;
39669 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
39670 t6 = _this._mixins;
39671 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
39672 t5 = _this._nestedForwardedModules;
39673 if (t5 != null)
39674 t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
39675 try {
39676 t2 = callback.call$0();
39677 return t2;
39678 } finally {
39679 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39680 _this._lastVariableIndex = _this._lastVariableName = null;
39681 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
39682 $name = t1.get$current(t1);
39683 t2.remove$1(0, $name);
39684 }
39685 B.JSArray_methods.removeLast$0(t3);
39686 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
39687 name0 = t1.get$current(t1);
39688 t2.remove$1(0, name0);
39689 }
39690 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
39691 name1 = t1.get$current(t1);
39692 t2.remove$1(0, name1);
39693 }
39694 t1 = _this._nestedForwardedModules;
39695 if (t1 != null)
39696 t1.pop();
39697 }
39698 },
39699 scope$1$1(callback, $T) {
39700 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
39701 },
39702 scope$1$2$when(callback, when, $T) {
39703 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
39704 },
39705 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
39706 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
39707 },
39708 toImplicitConfiguration$0() {
39709 var t1, t2, i, values, nodes, t3, t4, t5, t6,
39710 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
39711 for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
39712 values = t1[i];
39713 nodes = t2[i];
39714 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
39715 t4 = t3.get$current(t3);
39716 t5 = t4.key;
39717 t4 = t4.value;
39718 t6 = nodes.$index(0, t5);
39719 t6.toString;
39720 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
39721 }
39722 }
39723 return new A.Configuration(configuration);
39724 },
39725 toModule$2(css, extensionStore) {
39726 return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
39727 },
39728 toDummyModule$0() {
39729 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()));
39730 },
39731 _getModule$1(namespace) {
39732 var module = this._environment$_modules.$index(0, namespace);
39733 if (module != null)
39734 return module;
39735 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
39736 },
39737 _fromOneModule$1$3($name, type, callback, $T) {
39738 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
39739 nestedForwardedModules = this._nestedForwardedModules;
39740 if (nestedForwardedModules != null)
39741 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();) {
39742 t3 = t1.__internal$_current;
39743 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();) {
39744 t5 = t3.__internal$_current;
39745 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
39746 if (value != null)
39747 return value;
39748 }
39749 }
39750 for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
39751 value = callback.call$1(t1.__js_helper$_current);
39752 if (value != null)
39753 return value;
39754 }
39755 for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
39756 t4 = t2.__js_helper$_current;
39757 valueInModule = callback.call$1(t4);
39758 if (valueInModule == null)
39759 continue;
39760 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
39761 if (identityFromModule.$eq(0, identity))
39762 continue;
39763 if (value != null) {
39764 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
39765 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39766 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
39767 t4 = t1.get$current(t1);
39768 if (t4 != null)
39769 t2.$indexSet(0, t4, t3);
39770 }
39771 throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
39772 }
39773 identity = identityFromModule;
39774 value = valueInModule;
39775 }
39776 return value;
39777 }
39778 };
39779 A.Environment_importForwards_closure.prototype = {
39780 call$1(module) {
39781 var t1 = module.get$variables();
39782 return t1.get$keys(t1);
39783 },
39784 $signature: 110
39785 };
39786 A.Environment_importForwards_closure0.prototype = {
39787 call$1(module) {
39788 var t1 = module.get$functions(module);
39789 return t1.get$keys(t1);
39790 },
39791 $signature: 110
39792 };
39793 A.Environment_importForwards_closure1.prototype = {
39794 call$1(module) {
39795 var t1 = module.get$mixins();
39796 return t1.get$keys(t1);
39797 },
39798 $signature: 110
39799 };
39800 A.Environment__getVariableFromGlobalModule_closure.prototype = {
39801 call$1(module) {
39802 return module.get$variables().$index(0, this.name);
39803 },
39804 $signature: 320
39805 };
39806 A.Environment_setVariable_closure.prototype = {
39807 call$0() {
39808 var t1 = this.$this;
39809 t1._lastVariableName = this.name;
39810 return t1._lastVariableIndex = 0;
39811 },
39812 $signature: 12
39813 };
39814 A.Environment_setVariable_closure0.prototype = {
39815 call$1(module) {
39816 return module.get$variables().containsKey$1(this.name) ? module : null;
39817 },
39818 $signature: 322
39819 };
39820 A.Environment_setVariable_closure1.prototype = {
39821 call$0() {
39822 var t1 = this.$this,
39823 t2 = t1._variableIndex$1(this.name);
39824 return t2 == null ? t1._variables.length - 1 : t2;
39825 },
39826 $signature: 12
39827 };
39828 A.Environment__getFunctionFromGlobalModule_closure.prototype = {
39829 call$1(module) {
39830 return module.get$functions(module).$index(0, this.name);
39831 },
39832 $signature: 207
39833 };
39834 A.Environment__getMixinFromGlobalModule_closure.prototype = {
39835 call$1(module) {
39836 return module.get$mixins().$index(0, this.name);
39837 },
39838 $signature: 207
39839 };
39840 A.Environment_toModule_closure.prototype = {
39841 call$1(modules) {
39842 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39843 },
39844 $signature: 204
39845 };
39846 A.Environment_toDummyModule_closure.prototype = {
39847 call$1(modules) {
39848 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39849 },
39850 $signature: 204
39851 };
39852 A.Environment__fromOneModule_closure.prototype = {
39853 call$1(entry) {
39854 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
39855 },
39856 $signature: 326
39857 };
39858 A.Environment__fromOneModule__closure.prototype = {
39859 call$1(_) {
39860 return J.get$span$z(this.entry.value);
39861 },
39862 $signature() {
39863 return this.T._eval$1("FileSpan(0)");
39864 }
39865 };
39866 A._EnvironmentModule.prototype = {
39867 get$url(_) {
39868 var t1 = this.css;
39869 return t1.get$span(t1).file.url;
39870 },
39871 setVariable$3($name, value, nodeWithSpan) {
39872 var t1, t2,
39873 module = this._modulesByVariable.$index(0, $name);
39874 if (module != null) {
39875 module.setVariable$3($name, value, nodeWithSpan);
39876 return;
39877 }
39878 t1 = this._environment$_environment;
39879 t2 = t1._variables;
39880 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
39881 throw A.wrapException(A.SassScriptException$("Undefined variable."));
39882 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
39883 J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
39884 return;
39885 },
39886 variableIdentity$1($name) {
39887 var module = this._modulesByVariable.$index(0, $name);
39888 return module == null ? this : module.variableIdentity$1($name);
39889 },
39890 cloneCss$0() {
39891 var newCssAndExtensionStore, _this = this,
39892 t1 = _this.css;
39893 if (J.get$isEmpty$asx(t1.get$children(t1)))
39894 return _this;
39895 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
39896 return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
39897 },
39898 toString$0(_) {
39899 var t1 = this.css;
39900 if (t1.get$span(t1).file.url == null)
39901 t1 = "<unknown url>";
39902 else {
39903 t1 = t1.get$span(t1);
39904 t1 = $.$get$context().prettyUri$1(t1.file.url);
39905 }
39906 return t1;
39907 },
39908 $isModule: 1,
39909 get$upstream() {
39910 return this.upstream;
39911 },
39912 get$variables() {
39913 return this.variables;
39914 },
39915 get$variableNodes() {
39916 return this.variableNodes;
39917 },
39918 get$functions(receiver) {
39919 return this.functions;
39920 },
39921 get$mixins() {
39922 return this.mixins;
39923 },
39924 get$extensionStore() {
39925 return this.extensionStore;
39926 },
39927 get$css(receiver) {
39928 return this.css;
39929 },
39930 get$transitivelyContainsCss() {
39931 return this.transitivelyContainsCss;
39932 },
39933 get$transitivelyContainsExtensions() {
39934 return this.transitivelyContainsExtensions;
39935 }
39936 };
39937 A._EnvironmentModule__EnvironmentModule_closure.prototype = {
39938 call$1(module) {
39939 return module.get$variables();
39940 },
39941 $signature: 327
39942 };
39943 A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
39944 call$1(module) {
39945 return module.get$variableNodes();
39946 },
39947 $signature: 329
39948 };
39949 A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
39950 call$1(module) {
39951 return module.get$functions(module);
39952 },
39953 $signature: 203
39954 };
39955 A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
39956 call$1(module) {
39957 return module.get$mixins();
39958 },
39959 $signature: 203
39960 };
39961 A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
39962 call$1(module) {
39963 return module.get$transitivelyContainsCss();
39964 },
39965 $signature: 118
39966 };
39967 A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
39968 call$1(module) {
39969 return module.get$transitivelyContainsExtensions();
39970 },
39971 $signature: 118
39972 };
39973 A.SassException.prototype = {
39974 get$trace(_) {
39975 return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
39976 },
39977 get$span(_) {
39978 return A.SourceSpanException.prototype.get$span.call(this, this);
39979 },
39980 toString$1$color(_, color) {
39981 var t2, _i, frame, t3, _this = this,
39982 buffer = new A.StringBuffer(""),
39983 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
39984 buffer._contents = t1;
39985 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
39986 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39987 frame = t1[_i];
39988 if (J.get$length$asx(frame) === 0)
39989 continue;
39990 t3 = buffer._contents += "\n";
39991 buffer._contents = t3 + (" " + A.S(frame));
39992 }
39993 t1 = buffer._contents;
39994 return t1.charCodeAt(0) == 0 ? t1 : t1;
39995 },
39996 toString$0($receiver) {
39997 return this.toString$1$color($receiver, null);
39998 },
39999 toCssString$0() {
40000 var commentMessage, stringMessage, rune,
40001 t1 = $._glyphs,
40002 t2 = $._glyphs = B.C_AsciiGlyphSet,
40003 t3 = this.toString$1$color(0, false);
40004 t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
40005 commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
40006 $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
40007 stringMessage = new A.StringBuffer("");
40008 for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
40009 rune = t1._currentCodePoint;
40010 t2 = stringMessage._contents;
40011 if (rune > 255) {
40012 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
40013 t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
40014 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
40015 } else
40016 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
40017 }
40018 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}";
40019 }
40020 };
40021 A.MultiSpanSassException.prototype = {
40022 toString$1$color(_, color) {
40023 var t1, t2, _i, frame, _this = this,
40024 useColor = color === true && true,
40025 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
40026 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));
40027 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
40028 frame = t1[_i];
40029 if (J.get$length$asx(frame) === 0)
40030 continue;
40031 buffer._contents += "\n";
40032 buffer._contents += " " + A.S(frame);
40033 }
40034 t1 = buffer._contents;
40035 return t1.charCodeAt(0) == 0 ? t1 : t1;
40036 },
40037 toString$0($receiver) {
40038 return this.toString$1$color($receiver, null);
40039 }
40040 };
40041 A.SassRuntimeException.prototype = {
40042 get$trace(receiver) {
40043 return this.trace;
40044 }
40045 };
40046 A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
40047 get$trace(receiver) {
40048 return this.trace;
40049 }
40050 };
40051 A.SassFormatException.prototype = {
40052 get$source() {
40053 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
40054 },
40055 $isFormatException: 1,
40056 $isSourceSpanFormatException: 1
40057 };
40058 A.SassScriptException.prototype = {
40059 toString$0(_) {
40060 return this.message + string$.x0a_BUG_;
40061 },
40062 get$message(receiver) {
40063 return this.message;
40064 }
40065 };
40066 A.MultiSpanSassScriptException.prototype = {};
40067 A._writeSourceMap_closure.prototype = {
40068 call$1(url) {
40069 return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
40070 },
40071 $signature: 5
40072 };
40073 A.ExecutableOptions.prototype = {
40074 get$interactive() {
40075 var result, _this = this,
40076 value = _this.__ExecutableOptions_interactive;
40077 if (value === $) {
40078 result = new A.ExecutableOptions_interactive_closure(_this).call$0();
40079 A._lateInitializeOnceCheck(_this.__ExecutableOptions_interactive, "interactive");
40080 _this.__ExecutableOptions_interactive = result;
40081 value = result;
40082 }
40083 return value;
40084 },
40085 get$color() {
40086 var t1 = this._options;
40087 return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
40088 },
40089 get$emitErrorCss() {
40090 var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
40091 if (t1 == null) {
40092 this._ensureSources$0();
40093 t1 = this._sourcesToDestinations;
40094 t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
40095 }
40096 return t1;
40097 },
40098 _ensureSources$0() {
40099 var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
40100 _s32_ = "_sourceDirectoriesToDestinations",
40101 _s18_ = 'Duplicate source "';
40102 if (_this._sourcesToDestinations != null)
40103 return;
40104 t1 = _this._options;
40105 stdin = A._asBool(t1.$index(0, "stdin"));
40106 t2 = t1.rest;
40107 if (t2.get$length(t2) === 0 && !stdin)
40108 A.ExecutableOptions__fail("Compile Sass to CSS.");
40109 t3 = type$.String;
40110 $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40111 for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
40112 t6 = t4.__internal$_current;
40113 if (t6 == null)
40114 t6 = t5._as(t6);
40115 t7 = t6.length;
40116 if (t7 === 0)
40117 A.ExecutableOptions__fail('Invalid argument "".');
40118 if (A.stringContainsUnchecked(t6, ":", 0)) {
40119 if (t7 > 2) {
40120 t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
40121 if (!(t8 >= 97 && t8 <= 122))
40122 t8 = t8 >= 65 && t8 <= 90;
40123 else
40124 t8 = true;
40125 t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
40126 } else
40127 t8 = false;
40128 if (t8) {
40129 if (2 > t7)
40130 A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
40131 t7 = A.stringContainsUnchecked(t6, ":", 2);
40132 } else
40133 t7 = true;
40134 } else
40135 t7 = false;
40136 if (t7)
40137 colonArgs = true;
40138 else if (A.dirExists(t6))
40139 $directories.add$1(0, t6);
40140 else
40141 positionalArgs = true;
40142 }
40143 if (positionalArgs || t2.get$length(t2) === 0) {
40144 if (colonArgs)
40145 A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
40146 else if (stdin) {
40147 if (J.get$length$asx(t2._collection$_source) > 1)
40148 A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
40149 else if (A._asBool(t1.$index(0, "update")))
40150 A.ExecutableOptions__fail("--update is not allowed with --stdin.");
40151 else if (A._asBool(t1.$index(0, "watch")))
40152 A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
40153 t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
40154 t2 = type$.dynamic;
40155 t3 = type$.nullable_String;
40156 _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
40157 } else {
40158 t3 = t2._collection$_source;
40159 t4 = J.getInterceptor$asx(t3);
40160 if (t4.get$length(t3) > 2)
40161 A.ExecutableOptions__fail("Only two positional args may be passed.");
40162 else if ($directories._collection$_length !== 0) {
40163 message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
40164 target = t2.get$last(t2);
40165 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);
40166 } else {
40167 source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
40168 destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
40169 if (destination == null)
40170 if (A._asBool(t1.$index(0, "update")))
40171 A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
40172 else if (A._asBool(t1.$index(0, "watch")))
40173 A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
40174 t1 = A.PathMap__create(_null, type$.nullable_String);
40175 t1.$indexSet(0, source, destination);
40176 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40177 }
40178 }
40179 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40180 _this.__ExecutableOptions__sourceDirectoriesToDestinations = B.Map_empty5;
40181 return;
40182 }
40183 if (stdin)
40184 A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
40185 seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40186 t1 = A.PathMap__create(_null, t3);
40187 t4 = type$.PathMap_String;
40188 t3 = A.PathMap__create(_null, t3);
40189 for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
40190 t6 = t2.__internal$_current;
40191 if (t6 == null)
40192 t6 = t5._as(t6);
40193 if ($directories.contains$1(0, t6)) {
40194 if (!seen.add$1(0, t6))
40195 A.ExecutableOptions__fail(_s18_ + t6 + '".');
40196 t3.$indexSet(0, t6, t6);
40197 t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
40198 continue;
40199 }
40200 sourceAndDestination = _this._splitSourceAndDestination$1(t6);
40201 source = sourceAndDestination.item1;
40202 destination = sourceAndDestination.item2;
40203 if (!seen.add$1(0, source))
40204 A.ExecutableOptions__fail(_s18_ + source + '".');
40205 if (source === "-")
40206 t1.$indexSet(0, _null, destination);
40207 else if (A.dirExists(source)) {
40208 t3.$indexSet(0, source, destination);
40209 t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
40210 } else
40211 t1.$indexSet(0, source, destination);
40212 }
40213 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40214 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40215 _this.__ExecutableOptions__sourceDirectoriesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
40216 },
40217 _splitSourceAndDestination$1(argument) {
40218 var t1, i, t2, t3, nextColon;
40219 for (t1 = argument.length, i = 0; i < t1; ++i) {
40220 if (i === 1) {
40221 t2 = i - 1;
40222 if (t1 > t2 + 2) {
40223 t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
40224 if (!(t3 >= 97 && t3 <= 122))
40225 t3 = t3 >= 65 && t3 <= 90;
40226 else
40227 t3 = true;
40228 t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
40229 } else
40230 t2 = false;
40231 } else
40232 t2 = false;
40233 if (t2)
40234 continue;
40235 if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
40236 t2 = i + 1;
40237 nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
40238 if (nextColon === i + 2)
40239 if (t1 > t2 + 2) {
40240 t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
40241 if (!(t1 >= 97 && t1 <= 122))
40242 t1 = t1 >= 65 && t1 <= 90;
40243 else
40244 t1 = true;
40245 t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
40246 } else
40247 t1 = false;
40248 else
40249 t1 = false;
40250 if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
40251 A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
40252 return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
40253 }
40254 }
40255 throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
40256 },
40257 _listSourceDirectory$2(source, destination) {
40258 var t2, t3, t4, t5, t6, t7, parts,
40259 t1 = type$.String;
40260 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
40261 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();) {
40262 t6 = t2.get$current(t2);
40263 if (this._isEntrypoint$1(t6))
40264 t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
40265 else
40266 t7 = false;
40267 if (t7) {
40268 t7 = $.$get$context();
40269 parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
40270 A._validateArgList("join", parts);
40271 t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
40272 }
40273 }
40274 return t1;
40275 },
40276 _isEntrypoint$1(path) {
40277 var extension,
40278 t1 = $.$get$context().style;
40279 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
40280 return false;
40281 extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
40282 return extension === ".scss" || extension === ".sass" || extension === ".css";
40283 },
40284 get$_writeToStdout() {
40285 var t1, _this = this;
40286 _this._ensureSources$0();
40287 t1 = _this._sourcesToDestinations;
40288 if (t1.get$length(t1) === 1) {
40289 _this._ensureSources$0();
40290 t1 = _this._sourcesToDestinations;
40291 t1 = t1.get$values(t1);
40292 t1 = t1.get$single(t1) == null;
40293 } else
40294 t1 = false;
40295 return t1;
40296 },
40297 get$emitSourceMap() {
40298 var _this = this,
40299 _s10_ = "source-map",
40300 _s15_ = "source-map-urls",
40301 _s13_ = "embed-sources",
40302 _s16_ = "embed-source-map",
40303 t1 = _this._options;
40304 if (!A._asBool(t1.$index(0, _s10_)))
40305 if (t1.wasParsed$1(_s15_))
40306 A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
40307 else if (t1.wasParsed$1(_s13_))
40308 A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
40309 else if (t1.wasParsed$1(_s16_))
40310 A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
40311 if (!_this.get$_writeToStdout())
40312 return A._asBool(t1.$index(0, _s10_));
40313 if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
40314 A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
40315 if (A._asBool(t1.$index(0, _s16_)))
40316 return A._asBool(t1.$index(0, _s10_));
40317 else if (J.$eq$(_this._ifParsed$1(_s10_), true))
40318 A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
40319 else if (t1.wasParsed$1(_s15_))
40320 A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
40321 else if (A._asBool(t1.$index(0, _s13_)))
40322 A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
40323 else
40324 return false;
40325 },
40326 sourceMapUrl$2(_, url, destination) {
40327 var t1, path, t2, _null = null;
40328 if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
40329 return url;
40330 t1 = $.$get$context();
40331 path = t1.style.pathFromUri$1(A._parseUri(url));
40332 if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
40333 destination.toString;
40334 t2 = t1.relative$2$from(path, t1.dirname$1(destination));
40335 } else
40336 t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
40337 return t1.toUri$1(t2);
40338 },
40339 _ifParsed$1($name) {
40340 var t1 = this._options;
40341 return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
40342 }
40343 };
40344 A.ExecutableOptions__parser_closure.prototype = {
40345 call$0() {
40346 var t1 = type$.String,
40347 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
40348 t3 = [],
40349 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);
40350 parser.addOption$2$hide("precision", true);
40351 parser.addFlag$2$hide("async", true);
40352 t3.push(A.ExecutableOptions__separator("Input and Output"));
40353 parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
40354 parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
40355 parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
40356 t1 = type$.JSArray_String;
40357 parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
40358 parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
40359 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.");
40360 parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
40361 t3.push(A.ExecutableOptions__separator("Source Maps"));
40362 parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
40363 parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
40364 parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
40365 parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
40366 t3.push(A.ExecutableOptions__separator("Other"));
40367 parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
40368 parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
40369 parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
40370 parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
40371 parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
40372 parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
40373 parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
40374 parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
40375 parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
40376 parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
40377 parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
40378 parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
40379 return parser;
40380 },
40381 $signature: 333
40382 };
40383 A.ExecutableOptions_interactive_closure.prototype = {
40384 call$0() {
40385 var invalidOptions, _i, option,
40386 t1 = this.$this._options;
40387 if (!A._asBool(t1.$index(0, "interactive")))
40388 return false;
40389 invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
40390 for (_i = 0; _i < 9; ++_i) {
40391 option = invalidOptions[_i];
40392 if (!t1._parser.options._map.containsKey$1(option))
40393 A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
40394 if (t1._parsed.containsKey$1(option))
40395 throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
40396 }
40397 return true;
40398 },
40399 $signature: 26
40400 };
40401 A.ExecutableOptions_emitErrorCss_closure.prototype = {
40402 call$1(destination) {
40403 return destination != null;
40404 },
40405 $signature: 223
40406 };
40407 A.UsageException.prototype = {$isException: 1,
40408 get$message(receiver) {
40409 return this.message;
40410 }
40411 };
40412 A.watch_closure.prototype = {
40413 call$1(dir) {
40414 for (; !A.dirExists(dir);)
40415 dir = $.$get$context().dirname$1(dir);
40416 return this.dirWatcher.watch$1(0, dir);
40417 },
40418 $signature: 335
40419 };
40420 A._Watcher.prototype = {
40421 compile$3$ifModified(_, source, destination, ifModified) {
40422 return this.compile$body$_Watcher(0, source, destination, ifModified);
40423 },
40424 compile$2($receiver, source, destination) {
40425 return this.compile$3$ifModified($receiver, source, destination, false);
40426 },
40427 compile$body$_Watcher(_, source, destination, ifModified) {
40428 var $async$goto = 0,
40429 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40430 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
40431 var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40432 if ($async$errorCode === 1) {
40433 $async$currentError = $async$result;
40434 $async$goto = $async$handler;
40435 }
40436 while (true)
40437 switch ($async$goto) {
40438 case 0:
40439 // Function start
40440 $async$handler = 4;
40441 $async$goto = 7;
40442 return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
40443 case 7:
40444 // returning from await.
40445 $async$returnValue = true;
40446 // goto return
40447 $async$goto = 1;
40448 break;
40449 $async$handler = 2;
40450 // goto after finally
40451 $async$goto = 6;
40452 break;
40453 case 4:
40454 // catch
40455 $async$handler = 3;
40456 $async$exception = $async$currentError;
40457 t1 = A.unwrapException($async$exception);
40458 if (t1 instanceof A.SassException) {
40459 error = t1;
40460 stackTrace = A.getTraceFromException($async$exception);
40461 t1 = $async$self._watch$_options;
40462 if (!t1.get$emitErrorCss())
40463 $async$self._delete$1(destination);
40464 t1 = J.toString$1$color$(error, t1.get$color());
40465 t2 = A.getTrace(error);
40466 $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
40467 J.set$exitCode$x(self.process, 65);
40468 $async$returnValue = false;
40469 // goto return
40470 $async$goto = 1;
40471 break;
40472 } else if (t1 instanceof A.FileSystemException) {
40473 error0 = t1;
40474 stackTrace0 = A.getTraceFromException($async$exception);
40475 path = error0.path;
40476 t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
40477 t2 = A.getTrace(error0);
40478 $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
40479 J.set$exitCode$x(self.process, 66);
40480 $async$returnValue = false;
40481 // goto return
40482 $async$goto = 1;
40483 break;
40484 } else
40485 throw $async$exception;
40486 // goto after finally
40487 $async$goto = 6;
40488 break;
40489 case 3:
40490 // uncaught
40491 // goto rethrow
40492 $async$goto = 2;
40493 break;
40494 case 6:
40495 // after finally
40496 case 1:
40497 // return
40498 return A._asyncReturn($async$returnValue, $async$completer);
40499 case 2:
40500 // rethrow
40501 return A._asyncRethrow($async$currentError, $async$completer);
40502 }
40503 });
40504 return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
40505 },
40506 _delete$1(path) {
40507 var buffer, t1, exception;
40508 try {
40509 A.deleteFile(path);
40510 buffer = new A.StringBuffer("");
40511 t1 = this._watch$_options;
40512 if (t1.get$color())
40513 buffer._contents += "\x1b[33m";
40514 buffer._contents += "Deleted " + path + ".";
40515 if (t1.get$color())
40516 buffer._contents += "\x1b[0m";
40517 A.print(buffer);
40518 } catch (exception) {
40519 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
40520 throw exception;
40521 }
40522 },
40523 _printError$2(message, stackTrace) {
40524 var t2,
40525 t1 = $.$get$stderr();
40526 t1.writeln$1(message);
40527 t2 = this._watch$_options._options;
40528 if (A._asBool(t2.$index(0, "trace"))) {
40529 t1.writeln$0();
40530 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
40531 }
40532 if (!A._asBool(t2.$index(0, "stop-on-error")))
40533 t1.writeln$0();
40534 },
40535 watch$1(_, watcher) {
40536 return this.watch$body$_Watcher(0, watcher);
40537 },
40538 watch$body$_Watcher(_, watcher) {
40539 var $async$goto = 0,
40540 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
40541 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
40542 var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40543 if ($async$errorCode === 1) {
40544 $async$currentError = $async$result;
40545 $async$goto = $async$handler;
40546 }
40547 while (true)
40548 switch ($async$goto) {
40549 case 0:
40550 // Function start
40551 t1 = A._lateReadCheck(watcher._group.__StreamGroup__controller, "_controller");
40552 t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
40553 $async$handler = 3;
40554 t2 = $async$self._watch$_options._options;
40555 case 6:
40556 // for condition
40557 $async$goto = 8;
40558 return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
40559 case 8:
40560 // returning from await.
40561 if (!$async$result) {
40562 // goto after for
40563 $async$goto = 7;
40564 break;
40565 }
40566 $event = t1.get$current(t1);
40567 extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
40568 if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
40569 // goto for condition
40570 $async$goto = 6;
40571 break;
40572 }
40573 case 9:
40574 // switch
40575 switch ($event.type) {
40576 case B.ChangeType_modify:
40577 // goto case
40578 $async$goto = 11;
40579 break;
40580 case B.ChangeType_add:
40581 // goto case
40582 $async$goto = 12;
40583 break;
40584 case B.ChangeType_remove:
40585 // goto case
40586 $async$goto = 13;
40587 break;
40588 default:
40589 // goto after switch
40590 $async$goto = 10;
40591 break;
40592 }
40593 break;
40594 case 11:
40595 // case
40596 $async$goto = 14;
40597 return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
40598 case 14:
40599 // returning from await.
40600 success = $async$result;
40601 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40602 $async$next = [1];
40603 // goto finally
40604 $async$goto = 4;
40605 break;
40606 }
40607 // goto after switch
40608 $async$goto = 10;
40609 break;
40610 case 12:
40611 // case
40612 $async$goto = 15;
40613 return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
40614 case 15:
40615 // returning from await.
40616 success0 = $async$result;
40617 if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
40618 $async$next = [1];
40619 // goto finally
40620 $async$goto = 4;
40621 break;
40622 }
40623 // goto after switch
40624 $async$goto = 10;
40625 break;
40626 case 13:
40627 // case
40628 $async$goto = 16;
40629 return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
40630 case 16:
40631 // returning from await.
40632 success1 = $async$result;
40633 if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
40634 $async$next = [1];
40635 // goto finally
40636 $async$goto = 4;
40637 break;
40638 }
40639 // goto after switch
40640 $async$goto = 10;
40641 break;
40642 case 10:
40643 // after switch
40644 // goto for condition
40645 $async$goto = 6;
40646 break;
40647 case 7:
40648 // after for
40649 $async$next.push(5);
40650 // goto finally
40651 $async$goto = 4;
40652 break;
40653 case 3:
40654 // uncaught
40655 $async$next = [2];
40656 case 4:
40657 // finally
40658 $async$handler = 2;
40659 $async$goto = 17;
40660 return A._asyncAwait(t1.cancel$0(), $async$watch$1);
40661 case 17:
40662 // returning from await.
40663 // goto the next finally handler
40664 $async$goto = $async$next.pop();
40665 break;
40666 case 5:
40667 // after finally
40668 case 1:
40669 // return
40670 return A._asyncReturn($async$returnValue, $async$completer);
40671 case 2:
40672 // rethrow
40673 return A._asyncRethrow($async$currentError, $async$completer);
40674 }
40675 });
40676 return A._asyncStartSync($async$watch$1, $async$completer);
40677 },
40678 _handleModify$1(path) {
40679 return this._handleModify$body$_Watcher(path);
40680 },
40681 _handleModify$body$_Watcher(path) {
40682 var $async$goto = 0,
40683 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40684 $async$returnValue, $async$self = this, t1, t2, t0, url, node;
40685 var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40686 if ($async$errorCode === 1)
40687 return A._asyncRethrow($async$result, $async$completer);
40688 while (true)
40689 switch ($async$goto) {
40690 case 0:
40691 // Function start
40692 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40693 t1 = $.$get$context();
40694 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40695 t0 = t2;
40696 t2 = t1;
40697 t1 = t0;
40698 } else {
40699 t1 = $.$get$context();
40700 t2 = t1.canonicalize$1(0, path);
40701 t0 = t2;
40702 t2 = t1;
40703 t1 = t0;
40704 }
40705 url = t2.toUri$1(t1);
40706 t1 = $async$self._graph;
40707 node = t1._nodes.$index(0, url);
40708 if (node == null) {
40709 $async$returnValue = $async$self._handleAdd$1(path);
40710 // goto return
40711 $async$goto = 1;
40712 break;
40713 }
40714 t1.reload$1(url);
40715 $async$goto = 3;
40716 return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
40717 case 3:
40718 // returning from await.
40719 $async$returnValue = $async$result;
40720 // goto return
40721 $async$goto = 1;
40722 break;
40723 case 1:
40724 // return
40725 return A._asyncReturn($async$returnValue, $async$completer);
40726 }
40727 });
40728 return A._asyncStartSync($async$_handleModify$1, $async$completer);
40729 },
40730 _handleAdd$1(path) {
40731 return this._handleAdd$body$_Watcher(path);
40732 },
40733 _handleAdd$body$_Watcher(path) {
40734 var $async$goto = 0,
40735 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40736 $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
40737 var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40738 if ($async$errorCode === 1)
40739 return A._asyncRethrow($async$result, $async$completer);
40740 while (true)
40741 switch ($async$goto) {
40742 case 0:
40743 // Function start
40744 destination = $async$self._destinationFor$1(path);
40745 $async$temp1 = destination == null;
40746 if ($async$temp1)
40747 $async$result = $async$temp1;
40748 else {
40749 // goto then
40750 $async$goto = 3;
40751 break;
40752 }
40753 // goto join
40754 $async$goto = 4;
40755 break;
40756 case 3:
40757 // then
40758 $async$goto = 5;
40759 return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
40760 case 5:
40761 // returning from await.
40762 case 4:
40763 // join
40764 success = $async$result;
40765 t1 = $.$get$context();
40766 t2 = t1.absolute$7(".", null, null, null, null, null, null);
40767 $async$goto = 6;
40768 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);
40769 case 6:
40770 // returning from await.
40771 $async$returnValue = $async$result && success;
40772 // goto return
40773 $async$goto = 1;
40774 break;
40775 case 1:
40776 // return
40777 return A._asyncReturn($async$returnValue, $async$completer);
40778 }
40779 });
40780 return A._asyncStartSync($async$_handleAdd$1, $async$completer);
40781 },
40782 _handleRemove$1(path) {
40783 return this._handleRemove$body$_Watcher(path);
40784 },
40785 _handleRemove$body$_Watcher(path) {
40786 var $async$goto = 0,
40787 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40788 $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
40789 var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40790 if ($async$errorCode === 1)
40791 return A._asyncRethrow($async$result, $async$completer);
40792 while (true)
40793 switch ($async$goto) {
40794 case 0:
40795 // Function start
40796 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40797 t1 = $.$get$context();
40798 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40799 t0 = t2;
40800 t2 = t1;
40801 t1 = t0;
40802 } else {
40803 t1 = $.$get$context();
40804 t2 = t1.canonicalize$1(0, path);
40805 t0 = t2;
40806 t2 = t1;
40807 t1 = t0;
40808 }
40809 url = t2.toUri$1(t1);
40810 t1 = $async$self._graph;
40811 t3 = t1._nodes;
40812 if (t3.containsKey$1(url)) {
40813 destination = $async$self._destinationFor$1(path);
40814 if (destination != null)
40815 $async$self._delete$1(destination);
40816 }
40817 t2 = t2.absolute$7(".", null, null, null, null, null, null);
40818 node = t3.remove$1(0, url);
40819 t3 = node != null;
40820 if (t3) {
40821 t1._transitiveModificationTimes.clear$0(0);
40822 t1.importCache.clearImport$1(url);
40823 node._stylesheet_graph$_remove$0();
40824 }
40825 toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
40826 if (t3)
40827 toRecompile.addAll$1(0, node._downstream);
40828 $async$goto = 3;
40829 return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
40830 case 3:
40831 // returning from await.
40832 $async$returnValue = $async$result;
40833 // goto return
40834 $async$goto = 1;
40835 break;
40836 case 1:
40837 // return
40838 return A._asyncReturn($async$returnValue, $async$completer);
40839 }
40840 });
40841 return A._asyncStartSync($async$_handleRemove$1, $async$completer);
40842 },
40843 _debounceEvents$1(events) {
40844 var t1 = type$.WatchEvent;
40845 t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
40846 return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
40847 },
40848 _recompileDownstream$1(nodes) {
40849 return this._recompileDownstream$body$_Watcher(nodes);
40850 },
40851 _recompileDownstream$body$_Watcher(nodes) {
40852 var $async$goto = 0,
40853 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40854 $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
40855 var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40856 if ($async$errorCode === 1)
40857 return A._asyncRethrow($async$result, $async$completer);
40858 while (true)
40859 switch ($async$goto) {
40860 case 0:
40861 // Function start
40862 t1 = type$.StylesheetNode;
40863 seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
40864 toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
40865 t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
40866 case 3:
40867 // for condition
40868 if (!!toRecompile.get$isEmpty(toRecompile)) {
40869 // goto after for
40870 $async$goto = 4;
40871 break;
40872 }
40873 node = toRecompile.removeFirst$0();
40874 if (!seen.add$1(0, node)) {
40875 // goto for condition
40876 $async$goto = 3;
40877 break;
40878 }
40879 $async$goto = 5;
40880 return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
40881 case 5:
40882 // returning from await.
40883 success = $async$result;
40884 allSucceeded = allSucceeded && success;
40885 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40886 $async$returnValue = false;
40887 // goto return
40888 $async$goto = 1;
40889 break;
40890 }
40891 toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
40892 // goto for condition
40893 $async$goto = 3;
40894 break;
40895 case 4:
40896 // after for
40897 $async$returnValue = allSucceeded;
40898 // goto return
40899 $async$goto = 1;
40900 break;
40901 case 1:
40902 // return
40903 return A._asyncReturn($async$returnValue, $async$completer);
40904 }
40905 });
40906 return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
40907 },
40908 _compileIfEntrypoint$1(url) {
40909 return this._compileIfEntrypoint$body$_Watcher(url);
40910 },
40911 _compileIfEntrypoint$body$_Watcher(url) {
40912 var $async$goto = 0,
40913 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40914 $async$returnValue, $async$self = this, source, destination;
40915 var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40916 if ($async$errorCode === 1)
40917 return A._asyncRethrow($async$result, $async$completer);
40918 while (true)
40919 switch ($async$goto) {
40920 case 0:
40921 // Function start
40922 if (url.get$scheme() !== "file") {
40923 $async$returnValue = true;
40924 // goto return
40925 $async$goto = 1;
40926 break;
40927 }
40928 source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
40929 destination = $async$self._destinationFor$1(source);
40930 if (destination == null) {
40931 $async$returnValue = true;
40932 // goto return
40933 $async$goto = 1;
40934 break;
40935 }
40936 $async$goto = 3;
40937 return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
40938 case 3:
40939 // returning from await.
40940 $async$returnValue = $async$result;
40941 // goto return
40942 $async$goto = 1;
40943 break;
40944 case 1:
40945 // return
40946 return A._asyncReturn($async$returnValue, $async$completer);
40947 }
40948 });
40949 return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
40950 },
40951 _destinationFor$1(source) {
40952 var t2, destination, t3, t4, t5, t6, parts,
40953 t1 = this._watch$_options;
40954 t1._ensureSources$0();
40955 t2 = type$.String;
40956 destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
40957 if (destination != null)
40958 return destination;
40959 t3 = $.$get$context();
40960 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
40961 return null;
40962 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();) {
40963 t5 = t1.get$current(t1);
40964 t6 = t5.key;
40965 if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
40966 continue;
40967 parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t2);
40968 A._validateArgList("join", parts);
40969 destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
40970 if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
40971 return destination;
40972 }
40973 return null;
40974 }
40975 };
40976 A._Watcher__debounceEvents_closure.prototype = {
40977 call$1(buffer) {
40978 var t2, t3, t4, oldType,
40979 t1 = A.PathMap__create(null, type$.ChangeType);
40980 for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
40981 t3 = t2.get$current(t2);
40982 t4 = t3.path;
40983 oldType = t1.$index(0, t4);
40984 if (oldType == null)
40985 t1.$indexSet(0, t4, t3.type);
40986 else if (t3.type === B.ChangeType_remove)
40987 t1.$indexSet(0, t4, B.ChangeType_remove);
40988 else if (oldType !== B.ChangeType_add)
40989 t1.$indexSet(0, t4, B.ChangeType_modify);
40990 }
40991 t2 = A._setArrayType([], type$.JSArray_WatchEvent);
40992 for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
40993 t3 = t1.get$current(t1);
40994 t4 = t3.value;
40995 t3 = t3.key;
40996 t3.toString;
40997 t2.push(new A.WatchEvent(t4, t3));
40998 }
40999 return t2;
41000 },
41001 $signature: 338
41002 };
41003 A.EmptyExtensionStore.prototype = {
41004 get$isEmpty(_) {
41005 return true;
41006 },
41007 get$simpleSelectors() {
41008 return B.C_EmptyUnmodifiableSet;
41009 },
41010 extensionsWhereTarget$1(callback) {
41011 return B.List_empty2;
41012 },
41013 addSelector$3(selector, span, mediaContext) {
41014 throw A.wrapException(A.UnsupportedError$(string$.addSel));
41015 },
41016 addExtension$4(extender, target, extend, mediaContext) {
41017 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
41018 },
41019 addExtensions$1(extenders) {
41020 throw A.wrapException(A.UnsupportedError$(string$.addExts));
41021 },
41022 clone$0() {
41023 return B.Tuple2_EmptyExtensionStore_Map_empty;
41024 },
41025 $isExtensionStore: 1
41026 };
41027 A.Extension.prototype = {
41028 toString$0(_) {
41029 var t1 = this.extender.toString$0(0),
41030 t2 = this.target.toString$0(0),
41031 t3 = this.isOptional ? " !optional" : "";
41032 return t1 + " {@extend " + t2 + t3 + "}";
41033 }
41034 };
41035 A.Extender.prototype = {
41036 assertCompatibleMediaContext$1(mediaContext) {
41037 var expectedMediaContext,
41038 extension = this._extension;
41039 if (extension == null)
41040 return;
41041 expectedMediaContext = extension.mediaContext;
41042 if (expectedMediaContext == null)
41043 return;
41044 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
41045 return;
41046 throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
41047 },
41048 toString$0(_) {
41049 return A.serializeSelector(this.selector, true);
41050 }
41051 };
41052 A.ExtensionStore.prototype = {
41053 get$isEmpty(_) {
41054 return this._extensions.__js_helper$_length === 0;
41055 },
41056 get$simpleSelectors() {
41057 return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
41058 },
41059 extensionsWhereTarget$1($async$callback) {
41060 var $async$self = this;
41061 return A._makeSyncStarIterable(function() {
41062 var callback = $async$callback;
41063 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
41064 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
41065 if ($async$errorCode === 1) {
41066 $async$currentError = $async$result;
41067 $async$goto = $async$handler;
41068 }
41069 while (true)
41070 switch ($async$goto) {
41071 case 0:
41072 // Function start
41073 t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
41074 case 2:
41075 // for condition
41076 if (!t1.moveNext$0()) {
41077 // goto after for
41078 $async$goto = 3;
41079 break;
41080 }
41081 t2 = t1.get$current(t1);
41082 if (!callback.call$1(t2.key)) {
41083 // goto for condition
41084 $async$goto = 2;
41085 break;
41086 }
41087 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
41088 case 4:
41089 // for condition
41090 if (!t2.moveNext$0()) {
41091 // goto after for
41092 $async$goto = 5;
41093 break;
41094 }
41095 t3 = t2.get$current(t2);
41096 $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
41097 break;
41098 case 6:
41099 // then
41100 t3 = t3.unmerge$0();
41101 $async$goto = 9;
41102 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
41103 case 9:
41104 // after yield
41105 // goto join
41106 $async$goto = 7;
41107 break;
41108 case 8:
41109 // else
41110 $async$goto = !t3.isOptional ? 10 : 11;
41111 break;
41112 case 10:
41113 // then
41114 $async$goto = 12;
41115 return t3;
41116 case 12:
41117 // after yield
41118 case 11:
41119 // join
41120 case 7:
41121 // join
41122 // goto for condition
41123 $async$goto = 4;
41124 break;
41125 case 5:
41126 // after for
41127 // goto for condition
41128 $async$goto = 2;
41129 break;
41130 case 3:
41131 // after for
41132 // implicit return
41133 return A._IterationMarker_endOfIteration();
41134 case 1:
41135 // rethrow
41136 return A._IterationMarker_uncaughtError($async$currentError);
41137 }
41138 };
41139 }, type$.Extension);
41140 },
41141 addSelector$3(selector, selectorSpan, mediaContext) {
41142 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
41143 selector = selector;
41144 originalSelector = selector;
41145 if (!originalSelector.get$isInvisible())
41146 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
41147 t3.add$1(0, t1[_i]);
41148 t1 = _this._extensions;
41149 if (t1.__js_helper$_length !== 0)
41150 try {
41151 selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
41152 } catch (exception) {
41153 t1 = A.unwrapException(exception);
41154 if (t1 instanceof A.SassException) {
41155 error = t1;
41156 stackTrace = A.getTraceFromException(exception);
41157 t1 = error;
41158 t2 = J.getInterceptor$z(t1);
41159 t3 = error;
41160 t4 = J.getInterceptor$z(t3);
41161 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);
41162 } else
41163 throw exception;
41164 }
41165 modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
41166 if (mediaContext != null)
41167 _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
41168 _this._registerSelector$2(selector, modifiableSelector);
41169 return modifiableSelector;
41170 },
41171 _registerSelector$2(list, selector) {
41172 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
41173 for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
41174 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
41175 component = t4[_i0];
41176 if (!(component instanceof A.CompoundSelector))
41177 continue;
41178 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
41179 simple = t6[_i1];
41180 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
41181 if (!(simple instanceof A.PseudoSelector))
41182 continue;
41183 selectorInPseudo = simple.selector;
41184 if (selectorInPseudo != null)
41185 this._registerSelector$2(selectorInPseudo, selector);
41186 }
41187 }
41188 },
41189 addExtension$4(extender, target, extend, mediaContext) {
41190 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
41191 selectors = _this._selectors.$index(0, target),
41192 t1 = _this._extensionsByExtender,
41193 existingExtensions = t1.$index(0, target),
41194 sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
41195 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) {
41196 complex = t2[_i];
41197 if (complex._complex$_maxSpecificity == null)
41198 complex._computeSpecificity$0();
41199 complex._complex$_maxSpecificity.toString;
41200 t12 = new A.Extender(complex, false, t6);
41201 extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
41202 existingExtension = sources.$index(0, complex);
41203 if (existingExtension != null) {
41204 sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
41205 continue;
41206 }
41207 sources.$indexSet(0, complex, extension);
41208 for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
41209 t13 = t12.get$current(t12);
41210 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
41211 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
41212 }
41213 if (!t4 || t9) {
41214 if (newExtensions == null)
41215 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
41216 newExtensions.$indexSet(0, complex, extension);
41217 }
41218 }
41219 if (newExtensions == null)
41220 return;
41221 t1 = type$.SimpleSelector;
41222 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
41223 if (t9) {
41224 additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
41225 if (additionalExtensions != null)
41226 A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
41227 }
41228 if (!t4)
41229 _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
41230 },
41231 _simpleSelectors$1(complex) {
41232 return this._simpleSelectors$body$ExtensionStore(complex);
41233 },
41234 _simpleSelectors$body$ExtensionStore($async$complex) {
41235 var $async$self = this;
41236 return A._makeSyncStarIterable(function() {
41237 var complex = $async$complex;
41238 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
41239 return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
41240 if ($async$errorCode === 1) {
41241 $async$currentError = $async$result;
41242 $async$goto = $async$handler;
41243 }
41244 while (true)
41245 switch ($async$goto) {
41246 case 0:
41247 // Function start
41248 t1 = complex.components, t2 = t1.length, _i = 0;
41249 case 2:
41250 // for condition
41251 if (!(_i < t2)) {
41252 // goto after for
41253 $async$goto = 4;
41254 break;
41255 }
41256 component = t1[_i];
41257 $async$goto = component instanceof A.CompoundSelector ? 5 : 6;
41258 break;
41259 case 5:
41260 // then
41261 t3 = component.components, t4 = t3.length, _i0 = 0;
41262 case 7:
41263 // for condition
41264 if (!(_i0 < t4)) {
41265 // goto after for
41266 $async$goto = 9;
41267 break;
41268 }
41269 simple = t3[_i0];
41270 $async$goto = 10;
41271 return simple;
41272 case 10:
41273 // after yield
41274 if (!(simple instanceof A.PseudoSelector)) {
41275 // goto for update
41276 $async$goto = 8;
41277 break;
41278 }
41279 selector = simple.selector;
41280 if (selector == null) {
41281 // goto for update
41282 $async$goto = 8;
41283 break;
41284 }
41285 t5 = selector.components, t6 = t5.length, _i1 = 0;
41286 case 11:
41287 // for condition
41288 if (!(_i1 < t6)) {
41289 // goto after for
41290 $async$goto = 13;
41291 break;
41292 }
41293 $async$goto = 14;
41294 return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
41295 case 14:
41296 // after yield
41297 case 12:
41298 // for update
41299 ++_i1;
41300 // goto for condition
41301 $async$goto = 11;
41302 break;
41303 case 13:
41304 // after for
41305 case 8:
41306 // for update
41307 ++_i0;
41308 // goto for condition
41309 $async$goto = 7;
41310 break;
41311 case 9:
41312 // after for
41313 case 6:
41314 // join
41315 case 3:
41316 // for update
41317 ++_i;
41318 // goto for condition
41319 $async$goto = 2;
41320 break;
41321 case 4:
41322 // after for
41323 // implicit return
41324 return A._IterationMarker_endOfIteration();
41325 case 1:
41326 // rethrow
41327 return A._IterationMarker_uncaughtError($async$currentError);
41328 }
41329 };
41330 }, type$.SimpleSelector);
41331 },
41332 _extendExistingExtensions$2(extensions, newExtensions) {
41333 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;
41334 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) {
41335 extension = t1[_i];
41336 t7 = t6.$index(0, extension.target);
41337 t7.toString;
41338 selectors = null;
41339 try {
41340 selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
41341 if (selectors == null)
41342 continue;
41343 } catch (exception) {
41344 t8 = A.unwrapException(exception);
41345 if (t8 instanceof A.SassException) {
41346 error = t8;
41347 stackTrace = A.getTraceFromException(exception);
41348 t8 = error;
41349 t9 = J.getInterceptor$z(t8);
41350 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);
41351 } else
41352 throw exception;
41353 }
41354 t8 = J.get$first$ax(selectors);
41355 t9 = extension.extender;
41356 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
41357 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
41358 complex = t8[_i0];
41359 if (containsExtension && first) {
41360 first = false;
41361 continue;
41362 }
41363 t10 = extension;
41364 t11 = t10.extender;
41365 t12 = t10.target;
41366 t13 = t10.span;
41367 t14 = t10.mediaContext;
41368 t10 = t10.isOptional;
41369 if (complex._complex$_maxSpecificity == null)
41370 complex._computeSpecificity$0();
41371 complex._complex$_maxSpecificity.toString;
41372 t11 = new A.Extender(complex, false, t11.span);
41373 withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
41374 existingExtension = t7.$index(0, complex);
41375 if (existingExtension != null)
41376 t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
41377 else {
41378 t7.$indexSet(0, complex, withExtender);
41379 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
41380 component = t10[_i1];
41381 if (component instanceof A.CompoundSelector)
41382 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
41383 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
41384 }
41385 if (newExtensions.containsKey$1(extension.target)) {
41386 if (additionalExtensions == null)
41387 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
41388 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
41389 }
41390 }
41391 }
41392 if (!containsExtension)
41393 t7.remove$1(0, extension.extender);
41394 }
41395 return additionalExtensions;
41396 },
41397 _extendExistingSelectors$2(selectors, newExtensions) {
41398 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
41399 for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
41400 selector = t1.get$current(t1);
41401 oldValue = selector.value;
41402 try {
41403 selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
41404 } catch (exception) {
41405 t3 = A.unwrapException(exception);
41406 if (t3 instanceof A.SassException) {
41407 error = t3;
41408 stackTrace = A.getTraceFromException(exception);
41409 t3 = error;
41410 t4 = J.getInterceptor$z(t3);
41411 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);
41412 } else
41413 throw exception;
41414 }
41415 if (oldValue === selector.value)
41416 continue;
41417 this._registerSelector$2(selector.value, selector);
41418 }
41419 },
41420 addExtensions$1(extensionStores) {
41421 var t1, t2, t3, _box_0 = {};
41422 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
41423 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
41424 t3 = t1.get$current(t1);
41425 if (t3.get$isEmpty(t3))
41426 continue;
41427 t2.addAll$1(0, t3.get$_sourceSpecificity());
41428 t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
41429 }
41430 A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
41431 },
41432 _extendList$4(list, listSpan, extensions, mediaQueryContext) {
41433 var t1, t2, t3, extended, i, complex, result, t4;
41434 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
41435 complex = t1[i];
41436 result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
41437 if (result == null) {
41438 if (extended != null)
41439 extended.push(complex);
41440 } else {
41441 if (extended == null)
41442 if (i === 0)
41443 extended = A._setArrayType([], t3);
41444 else {
41445 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
41446 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
41447 }
41448 B.JSArray_methods.addAll$1(extended, result);
41449 }
41450 }
41451 if (extended == null)
41452 return list;
41453 t1 = this._originals;
41454 return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
41455 },
41456 _extendList$3(list, listSpan, extensions) {
41457 return this._extendList$4(list, listSpan, extensions, null);
41458 },
41459 _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
41460 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
41461 _s28_ = "components may not be empty.",
41462 _box_0 = {},
41463 isOriginal = this._originals.contains$1(0, complex);
41464 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) {
41465 component = t1[i];
41466 if (component instanceof A.CompoundSelector) {
41467 extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
41468 if (extended == null) {
41469 if (extendedNotExpanded != null) {
41470 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41471 result.fixed$length = Array;
41472 result.immutable$list = Array;
41473 t6 = result;
41474 if (t6.length === 0)
41475 A.throwExpression(A.ArgumentError$(_s28_, _null));
41476 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41477 }
41478 } else {
41479 if (extendedNotExpanded == null) {
41480 t6 = A._arrayInstanceType(t1);
41481 t7 = t6._eval$1("SubListIterable<1>");
41482 t8 = new A.SubListIterable(t1, 0, i, t7);
41483 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
41484 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector>>");
41485 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure(complex), t7), true, t7._eval$1("ListIterable.E"));
41486 }
41487 B.JSArray_methods.add$1(extendedNotExpanded, extended);
41488 }
41489 } else if (extendedNotExpanded != null) {
41490 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41491 result.fixed$length = Array;
41492 result.immutable$list = Array;
41493 t6 = result;
41494 if (t6.length === 0)
41495 A.throwExpression(A.ArgumentError$(_s28_, _null));
41496 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41497 }
41498 }
41499 if (extendedNotExpanded == null)
41500 return _null;
41501 _box_0.first = true;
41502 t1 = type$.ComplexSelector;
41503 t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
41504 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41505 },
41506 _extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
41507 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
41508 _s28_ = "components may not be empty.",
41509 _box_1 = {},
41510 t1 = _this._mode,
41511 targetsUsed = t1 === B.ExtendMode_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
41512 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) {
41513 simple = t2[i];
41514 extended = _this._extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
41515 if (extended == null) {
41516 if (options != null) {
41517 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
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 result = A.List_List$from(A._setArrayType([new A.CompoundSelector(t11)], t6), false, t7);
41524 result.fixed$length = Array;
41525 result.immutable$list = Array;
41526 t11 = result;
41527 if (t11.length === 0)
41528 A.throwExpression(A.ArgumentError$(_s28_, _null));
41529 t9.$index(0, simple);
41530 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41531 }
41532 } else {
41533 if (options == null) {
41534 options = A._setArrayType([], t4);
41535 if (i !== 0) {
41536 t11 = A._arrayInstanceType(t2);
41537 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
41538 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
41539 result = A.List_List$from(t12, false, t8);
41540 result.fixed$length = Array;
41541 result.immutable$list = Array;
41542 t12 = result;
41543 compound = new A.CompoundSelector(t12);
41544 if (t12.length === 0)
41545 A.throwExpression(A.ArgumentError$(_s28_, _null));
41546 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
41547 result.fixed$length = Array;
41548 result.immutable$list = Array;
41549 t11 = result;
41550 if (t11.length === 0)
41551 A.throwExpression(A.ArgumentError$(_s28_, _null));
41552 _this._sourceSpecificityFor$1(compound);
41553 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41554 }
41555 }
41556 B.JSArray_methods.addAll$1(options, extended);
41557 }
41558 }
41559 if (options == null)
41560 return _null;
41561 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
41562 return _null;
41563 if (options.length === 1)
41564 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure(mediaQueryContext), type$.ComplexSelector).toList$0(0);
41565 t1 = _box_1.first = t1 !== B.ExtendMode_replace;
41566 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);
41567 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector>");
41568 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure1(), t3), true, t3._eval$1("Iterable.E"));
41569 isOriginal = new A.ExtensionStore__extendCompound_closure2();
41570 return _this._trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure3(B.JSArray_methods.get$first(result)) : isOriginal);
41571 },
41572 _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
41573 var extended,
41574 t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
41575 if (simple instanceof A.PseudoSelector && simple.selector != null) {
41576 extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
41577 if (extended != null)
41578 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
41579 }
41580 return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
41581 },
41582 _extenderForSimple$2(simple, span) {
41583 var t1 = A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector))], type$.JSArray_ComplexSelectorComponent), false);
41584 this._sourceSpecificity.$index(0, simple);
41585 return new A.Extender(t1, true, span);
41586 },
41587 _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
41588 var extended, complexes, t1, result,
41589 selector = pseudo.selector;
41590 if (selector == null)
41591 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
41592 extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
41593 if (extended === selector)
41594 return null;
41595 complexes = extended.components;
41596 t1 = pseudo.normalizedName === "not";
41597 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()))
41598 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
41599 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
41600 if (t1 && selector.components.length === 1) {
41601 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
41602 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
41603 return result.length === 0 ? null : result;
41604 } else
41605 return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
41606 },
41607 _trim$2(selectors, isOriginal) {
41608 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
41609 if (selectors.length > 100)
41610 return selectors;
41611 result = A.QueueList$(null, type$.ComplexSelector);
41612 $label0$0:
41613 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
41614 _box_0 = {};
41615 complex1 = selectors[i];
41616 if (isOriginal.call$1(complex1)) {
41617 for (j = 0; j < numOriginals; ++j)
41618 if (J.$eq$(result.$index(0, j), complex1)) {
41619 A.rotateSlice(result, 0, j + 1);
41620 continue $label0$0;
41621 }
41622 ++numOriginals;
41623 result.addFirst$1(complex1);
41624 continue $label0$0;
41625 }
41626 _box_0.maxSpecificity = 0;
41627 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
41628 component = t3[_i];
41629 if (component instanceof A.CompoundSelector)
41630 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._sourceSpecificityFor$1(component));
41631 }
41632 if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
41633 continue $label0$0;
41634 t3 = new A.SubListIterable(selectors, 0, i, t1);
41635 t3.SubListIterable$3(selectors, 0, i, t2);
41636 if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
41637 continue $label0$0;
41638 result.addFirst$1(complex1);
41639 }
41640 return result;
41641 },
41642 _sourceSpecificityFor$1(compound) {
41643 var t1, t2, t3, specificity, _i, t4;
41644 for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
41645 t4 = t3.$index(0, t1[_i]);
41646 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
41647 }
41648 return specificity;
41649 },
41650 clone$0() {
41651 var t3, t4, _this = this,
41652 t1 = type$.SimpleSelector,
41653 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
41654 t2 = type$.ModifiableCssValue_SelectorList,
41655 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
41656 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
41657 _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
41658 t2 = type$.Extension;
41659 t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
41660 t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
41661 t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int);
41662 t1.addAll$1(0, _this._sourceSpecificity);
41663 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
41664 t4.addAll$1(0, _this._originals);
41665 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);
41666 },
41667 get$_extensions() {
41668 return this._extensions;
41669 },
41670 get$_sourceSpecificity() {
41671 return this._sourceSpecificity;
41672 }
41673 };
41674 A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
41675 call$1(extension) {
41676 return !extension.isOptional;
41677 },
41678 $signature: 600
41679 };
41680 A.ExtensionStore__registerSelector_closure.prototype = {
41681 call$0() {
41682 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
41683 },
41684 $signature: 349
41685 };
41686 A.ExtensionStore_addExtension_closure.prototype = {
41687 call$0() {
41688 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41689 },
41690 $signature: 130
41691 };
41692 A.ExtensionStore_addExtension_closure0.prototype = {
41693 call$0() {
41694 return A._setArrayType([], type$.JSArray_Extension);
41695 },
41696 $signature: 200
41697 };
41698 A.ExtensionStore_addExtension_closure1.prototype = {
41699 call$0() {
41700 return this.complex.get$maxSpecificity();
41701 },
41702 $signature: 12
41703 };
41704 A.ExtensionStore__extendExistingExtensions_closure.prototype = {
41705 call$0() {
41706 return A._setArrayType([], type$.JSArray_Extension);
41707 },
41708 $signature: 200
41709 };
41710 A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
41711 call$0() {
41712 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41713 },
41714 $signature: 130
41715 };
41716 A.ExtensionStore_addExtensions_closure.prototype = {
41717 call$2(target, newSources) {
41718 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
41719 if (target instanceof A.PlaceholderSelector) {
41720 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
41721 t1 = first === 45 || first === 95;
41722 } else
41723 t1 = false;
41724 if (t1)
41725 return;
41726 t1 = _this.$this;
41727 extensionsForTarget = t1._extensionsByExtender.$index(0, target);
41728 t2 = extensionsForTarget == null;
41729 if (!t2) {
41730 t3 = _this._box_0;
41731 t4 = t3.extensionsToExtend;
41732 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
41733 }
41734 selectorsForTarget = t1._selectors.$index(0, target);
41735 t3 = selectorsForTarget != null;
41736 if (t3) {
41737 t4 = _this._box_0;
41738 t5 = t4.selectorsToExtend;
41739 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
41740 }
41741 t1 = t1._extensions;
41742 existingSources = t1.$index(0, target);
41743 if (existingSources == null) {
41744 t4 = type$.ComplexSelector;
41745 t5 = type$.Extension;
41746 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41747 if (!t2 || t3) {
41748 t1 = _this._box_0;
41749 t2 = t1.newExtensions;
41750 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41751 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41752 }
41753 } else
41754 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
41755 },
41756 $signature: 359
41757 };
41758 A.ExtensionStore_addExtensions__closure1.prototype = {
41759 call$2(extender, extension) {
41760 var t2, _this = this,
41761 t1 = _this.existingSources;
41762 if (t1.containsKey$1(extender)) {
41763 t2 = t1.$index(0, extender);
41764 t2.toString;
41765 extension = A.MergedExtension_merge(t2, extension);
41766 t1.$indexSet(0, extender, extension);
41767 } else
41768 t1.$indexSet(0, extender, extension);
41769 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
41770 t1 = _this._box_0;
41771 t2 = t1.newExtensions;
41772 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41773 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
41774 }
41775 },
41776 $signature: 365
41777 };
41778 A.ExtensionStore_addExtensions___closure.prototype = {
41779 call$0() {
41780 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41781 },
41782 $signature: 130
41783 };
41784 A.ExtensionStore_addExtensions_closure0.prototype = {
41785 call$1(newExtensions) {
41786 var t1 = this._box_0,
41787 t2 = this.$this;
41788 A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
41789 A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
41790 },
41791 $signature: 369
41792 };
41793 A.ExtensionStore_addExtensions__closure.prototype = {
41794 call$1(extensionsToExtend) {
41795 return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
41796 },
41797 $signature: 378
41798 };
41799 A.ExtensionStore_addExtensions__closure0.prototype = {
41800 call$1(selectorsToExtend) {
41801 return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
41802 },
41803 $signature: 386
41804 };
41805 A.ExtensionStore__extendComplex_closure.prototype = {
41806 call$1(component) {
41807 return A._setArrayType([A.ComplexSelector$(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent), this.complex.lineBreak)], type$.JSArray_ComplexSelector);
41808 },
41809 $signature: 387
41810 };
41811 A.ExtensionStore__extendComplex_closure0.prototype = {
41812 call$1(path) {
41813 var t1 = A.weave(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure(), type$.List_ComplexSelectorComponent).toList$0(0));
41814 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>"));
41815 },
41816 $signature: 391
41817 };
41818 A.ExtensionStore__extendComplex__closure.prototype = {
41819 call$1(complex) {
41820 return complex.components;
41821 },
41822 $signature: 394
41823 };
41824 A.ExtensionStore__extendComplex__closure0.prototype = {
41825 call$1(components) {
41826 var _this = this,
41827 t1 = _this.complex,
41828 outputComplex = A.ComplexSelector$(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure())),
41829 t2 = _this._box_0;
41830 if (t2.first && _this.$this._originals.contains$1(0, t1))
41831 _this.$this._originals.add$1(0, outputComplex);
41832 t2.first = false;
41833 return outputComplex;
41834 },
41835 $signature: 75
41836 };
41837 A.ExtensionStore__extendComplex___closure.prototype = {
41838 call$1(inputComplex) {
41839 return inputComplex.lineBreak;
41840 },
41841 $signature: 19
41842 };
41843 A.ExtensionStore__extendCompound_closure.prototype = {
41844 call$1(extender) {
41845 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
41846 return extender.selector;
41847 },
41848 $signature: 403
41849 };
41850 A.ExtensionStore__extendCompound_closure0.prototype = {
41851 call$1(path) {
41852 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
41853 t1 = this._box_1;
41854 if (t1.first) {
41855 t1.first = false;
41856 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);
41857 } else {
41858 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent);
41859 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector, t3 = type$.JSArray_SimpleSelector, originals = null; t1.moveNext$0();) {
41860 t4 = t1.get$current(t1);
41861 if (t4.isOriginal) {
41862 if (originals == null)
41863 originals = A._setArrayType([], t3);
41864 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
41865 } else
41866 toUnify._queue_list$_add$1(t4.selector.components);
41867 }
41868 if (originals != null)
41869 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$(originals)], type$.JSArray_ComplexSelectorComponent));
41870 complexes = A.unifyComplex(toUnify);
41871 if (complexes == null)
41872 return null;
41873 }
41874 _box_0.lineBreak = false;
41875 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
41876 t3 = t1.get$current(t1);
41877 t3.assertCompatibleMediaContext$1(t2);
41878 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
41879 }
41880 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure0(_box_0), type$.ComplexSelector);
41881 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
41882 },
41883 $signature: 406
41884 };
41885 A.ExtensionStore__extendCompound__closure.prototype = {
41886 call$1(extender) {
41887 return type$.CompoundSelector._as(B.JSArray_methods.get$last(extender.selector.components)).components;
41888 },
41889 $signature: 410
41890 };
41891 A.ExtensionStore__extendCompound__closure0.prototype = {
41892 call$1(components) {
41893 return A.ComplexSelector$(components, this._box_0.lineBreak);
41894 },
41895 $signature: 75
41896 };
41897 A.ExtensionStore__extendCompound_closure1.prototype = {
41898 call$1(l) {
41899 return l;
41900 },
41901 $signature: 420
41902 };
41903 A.ExtensionStore__extendCompound_closure2.prototype = {
41904 call$1(_) {
41905 return false;
41906 },
41907 $signature: 19
41908 };
41909 A.ExtensionStore__extendCompound_closure3.prototype = {
41910 call$1(complex) {
41911 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
41912 return t1;
41913 },
41914 $signature: 19
41915 };
41916 A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
41917 call$1(simple) {
41918 var t1, t2, _this = this,
41919 extensionsForSimple = _this.extensions.$index(0, simple);
41920 if (extensionsForSimple == null)
41921 return null;
41922 t1 = _this.targetsUsed;
41923 if (t1 != null)
41924 t1.add$1(0, simple);
41925 t1 = A._setArrayType([], type$.JSArray_Extender);
41926 t2 = _this.$this;
41927 if (t2._mode !== B.ExtendMode_replace)
41928 t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
41929 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
41930 t1.push(t2.get$current(t2).extender);
41931 return t1;
41932 },
41933 $signature: 433
41934 };
41935 A.ExtensionStore__extendSimple_closure.prototype = {
41936 call$1(pseudo) {
41937 var t1 = this.withoutPseudo.call$1(pseudo);
41938 return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
41939 },
41940 $signature: 440
41941 };
41942 A.ExtensionStore__extendSimple_closure0.prototype = {
41943 call$1(result) {
41944 return A._setArrayType([result], type$.JSArray_List_Extender);
41945 },
41946 $signature: 444
41947 };
41948 A.ExtensionStore__extendPseudo_closure.prototype = {
41949 call$1(complex) {
41950 return complex.components.length > 1;
41951 },
41952 $signature: 19
41953 };
41954 A.ExtensionStore__extendPseudo_closure0.prototype = {
41955 call$1(complex) {
41956 return complex.components.length === 1;
41957 },
41958 $signature: 19
41959 };
41960 A.ExtensionStore__extendPseudo_closure1.prototype = {
41961 call$1(complex) {
41962 return complex.components.length <= 1;
41963 },
41964 $signature: 19
41965 };
41966 A.ExtensionStore__extendPseudo_closure2.prototype = {
41967 call$1(complex) {
41968 var innerPseudo, innerSelector,
41969 t1 = complex.components;
41970 if (t1.length !== 1)
41971 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41972 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector))
41973 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41974 t1 = type$.CompoundSelector._as(B.JSArray_methods.get$first(t1)).components;
41975 if (t1.length !== 1)
41976 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41977 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector))
41978 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41979 innerPseudo = type$.PseudoSelector._as(B.JSArray_methods.get$first(t1));
41980 innerSelector = innerPseudo.selector;
41981 if (innerSelector == null)
41982 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41983 t1 = this.pseudo;
41984 switch (t1.normalizedName) {
41985 case "not":
41986 if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
41987 return A._setArrayType([], type$.JSArray_ComplexSelector);
41988 return innerSelector.components;
41989 case "is":
41990 case "matches":
41991 case "where":
41992 case "any":
41993 case "current":
41994 case "nth-child":
41995 case "nth-last-child":
41996 if (innerPseudo.name !== t1.name)
41997 return A._setArrayType([], type$.JSArray_ComplexSelector);
41998 if (innerPseudo.argument != t1.argument)
41999 return A._setArrayType([], type$.JSArray_ComplexSelector);
42000 return innerSelector.components;
42001 case "has":
42002 case "host":
42003 case "host-context":
42004 case "slotted":
42005 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42006 default:
42007 return A._setArrayType([], type$.JSArray_ComplexSelector);
42008 }
42009 },
42010 $signature: 445
42011 };
42012 A.ExtensionStore__extendPseudo_closure3.prototype = {
42013 call$1(complex) {
42014 var t1 = this.pseudo;
42015 return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
42016 },
42017 $signature: 456
42018 };
42019 A.ExtensionStore__trim_closure.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__trim_closure0.prototype = {
42026 call$1(complex2) {
42027 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
42028 },
42029 $signature: 19
42030 };
42031 A.ExtensionStore_clone_closure.prototype = {
42032 call$2(simple, selectors) {
42033 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
42034 t1 = type$.ModifiableCssValue_SelectorList,
42035 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
42036 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
42037 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
42038 t6 = t2.get$current(t2);
42039 newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
42040 newSelectorSet.add$1(0, newSelector);
42041 t3.$indexSet(0, t6, newSelector);
42042 mediaContext = t4.$index(0, t6);
42043 if (mediaContext != null)
42044 t5.$indexSet(0, newSelector, mediaContext);
42045 }
42046 },
42047 $signature: 461
42048 };
42049 A.unifyComplex_closure.prototype = {
42050 call$1(complex) {
42051 var t1 = J.getInterceptor$asx(complex);
42052 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
42053 },
42054 $signature: 133
42055 };
42056 A._weaveParents_closure.prototype = {
42057 call$2(group1, group2) {
42058 var unified, t1, _null = null;
42059 if (B.C_ListEquality.equals$2(0, group1, group2))
42060 return group1;
42061 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector) || !(J.get$first$ax(group2) instanceof A.CompoundSelector))
42062 return _null;
42063 if (A.complexIsParentSuperselector(group1, group2))
42064 return group2;
42065 if (A.complexIsParentSuperselector(group2, group1))
42066 return group1;
42067 if (!A._mustUnify(group1, group2))
42068 return _null;
42069 unified = A.unifyComplex(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent));
42070 if (unified == null)
42071 return _null;
42072 t1 = J.getInterceptor$asx(unified);
42073 if (t1.get$length(unified) > 1)
42074 return _null;
42075 return t1.get$first(unified);
42076 },
42077 $signature: 478
42078 };
42079 A._weaveParents_closure0.prototype = {
42080 call$1(sequence) {
42081 return A.complexIsParentSuperselector(sequence.get$first(sequence), this.group);
42082 },
42083 $signature: 480
42084 };
42085 A._weaveParents_closure1.prototype = {
42086 call$1(chunk) {
42087 return J.expand$1$1$ax(chunk, new A._weaveParents__closure1(), type$.ComplexSelectorComponent);
42088 },
42089 $signature: 198
42090 };
42091 A._weaveParents__closure1.prototype = {
42092 call$1(group) {
42093 return group;
42094 },
42095 $signature: 133
42096 };
42097 A._weaveParents_closure2.prototype = {
42098 call$1(sequence) {
42099 return sequence.get$length(sequence) === 0;
42100 },
42101 $signature: 197
42102 };
42103 A._weaveParents_closure3.prototype = {
42104 call$1(chunk) {
42105 return J.expand$1$1$ax(chunk, new A._weaveParents__closure0(), type$.ComplexSelectorComponent);
42106 },
42107 $signature: 198
42108 };
42109 A._weaveParents__closure0.prototype = {
42110 call$1(group) {
42111 return group;
42112 },
42113 $signature: 133
42114 };
42115 A._weaveParents_closure4.prototype = {
42116 call$1(choice) {
42117 return J.get$isNotEmpty$asx(choice);
42118 },
42119 $signature: 503
42120 };
42121 A._weaveParents_closure5.prototype = {
42122 call$1(path) {
42123 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure(), type$.ComplexSelectorComponent);
42124 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42125 },
42126 $signature: 504
42127 };
42128 A._weaveParents__closure.prototype = {
42129 call$1(group) {
42130 return group;
42131 },
42132 $signature: 505
42133 };
42134 A._mustUnify_closure.prototype = {
42135 call$1(component) {
42136 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure(this.uniqueSelectors));
42137 },
42138 $signature: 137
42139 };
42140 A._mustUnify__closure.prototype = {
42141 call$1(simple) {
42142 var t1;
42143 if (!(simple instanceof A.IDSelector))
42144 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
42145 else
42146 t1 = true;
42147 return t1 && this.uniqueSelectors.contains$1(0, simple);
42148 },
42149 $signature: 16
42150 };
42151 A.paths_closure.prototype = {
42152 call$2(paths, choice) {
42153 var t1 = this.T;
42154 t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
42155 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42156 },
42157 $signature() {
42158 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
42159 }
42160 };
42161 A.paths__closure.prototype = {
42162 call$1(option) {
42163 var t1 = this.T;
42164 return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
42165 },
42166 $signature() {
42167 return this.T._eval$1("Iterable<List<0>>(0)");
42168 }
42169 };
42170 A.paths___closure.prototype = {
42171 call$1(path) {
42172 var t1 = A.List_List$of(path, true, this.T);
42173 t1.push(this.option);
42174 return t1;
42175 },
42176 $signature() {
42177 return this.T._eval$1("List<0>(List<0>)");
42178 }
42179 };
42180 A._hasRoot_closure.prototype = {
42181 call$1(simple) {
42182 return simple instanceof A.PseudoSelector && simple.isClass && simple.normalizedName === "root";
42183 },
42184 $signature: 16
42185 };
42186 A.listIsSuperselector_closure.prototype = {
42187 call$1(complex1) {
42188 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
42189 },
42190 $signature: 19
42191 };
42192 A.listIsSuperselector__closure.prototype = {
42193 call$1(complex2) {
42194 return A.complexIsSuperselector(complex2.components, this.complex1.components);
42195 },
42196 $signature: 19
42197 };
42198 A._simpleIsSuperselectorOfCompound_closure.prototype = {
42199 call$1(theirSimple) {
42200 var selector,
42201 t1 = this.simple;
42202 if (t1.$eq(0, theirSimple))
42203 return true;
42204 if (!(theirSimple instanceof A.PseudoSelector))
42205 return false;
42206 selector = theirSimple.selector;
42207 if (selector == null)
42208 return false;
42209 if (!$._subselectorPseudos.contains$1(0, theirSimple.normalizedName))
42210 return false;
42211 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure(t1));
42212 },
42213 $signature: 16
42214 };
42215 A._simpleIsSuperselectorOfCompound__closure.prototype = {
42216 call$1(complex) {
42217 var t1 = complex.components;
42218 if (t1.length !== 1)
42219 return false;
42220 return B.JSArray_methods.contains$1(type$.CompoundSelector._as(B.JSArray_methods.get$single(t1)).components, this.simple);
42221 },
42222 $signature: 19
42223 };
42224 A._selectorPseudoIsSuperselector_closure.prototype = {
42225 call$1(selector2) {
42226 return A.listIsSuperselector(this.selector1.components, selector2.components);
42227 },
42228 $signature: 78
42229 };
42230 A._selectorPseudoIsSuperselector_closure0.prototype = {
42231 call$1(complex1) {
42232 var t1 = complex1.components,
42233 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent),
42234 t3 = this.parents;
42235 if (t3 != null)
42236 B.JSArray_methods.addAll$1(t2, t3);
42237 t2.push(this.compound2);
42238 return A.complexIsSuperselector(t1, t2);
42239 },
42240 $signature: 19
42241 };
42242 A._selectorPseudoIsSuperselector_closure1.prototype = {
42243 call$1(selector2) {
42244 return A.listIsSuperselector(this.selector1.components, selector2.components);
42245 },
42246 $signature: 78
42247 };
42248 A._selectorPseudoIsSuperselector_closure2.prototype = {
42249 call$1(selector2) {
42250 return A.listIsSuperselector(this.selector1.components, selector2.components);
42251 },
42252 $signature: 78
42253 };
42254 A._selectorPseudoIsSuperselector_closure3.prototype = {
42255 call$1(complex) {
42256 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
42257 },
42258 $signature: 19
42259 };
42260 A._selectorPseudoIsSuperselector__closure.prototype = {
42261 call$1(simple2) {
42262 var compound1, selector2, _this = this;
42263 if (simple2 instanceof A.TypeSelector) {
42264 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42265 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure(simple2));
42266 } else if (simple2 instanceof A.IDSelector) {
42267 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42268 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
42269 } else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
42270 selector2 = simple2.selector;
42271 if (selector2 == null)
42272 return false;
42273 return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
42274 } else
42275 return false;
42276 },
42277 $signature: 16
42278 };
42279 A._selectorPseudoIsSuperselector___closure.prototype = {
42280 call$1(simple1) {
42281 var t1;
42282 if (simple1 instanceof A.TypeSelector) {
42283 t1 = this.simple2.name.$eq(0, simple1.name);
42284 t1 = !t1;
42285 } else
42286 t1 = false;
42287 return t1;
42288 },
42289 $signature: 16
42290 };
42291 A._selectorPseudoIsSuperselector___closure0.prototype = {
42292 call$1(simple1) {
42293 var t1;
42294 if (simple1 instanceof A.IDSelector) {
42295 t1 = simple1.name;
42296 t1 = this.simple2.name !== t1;
42297 } else
42298 t1 = false;
42299 return t1;
42300 },
42301 $signature: 16
42302 };
42303 A._selectorPseudoIsSuperselector_closure4.prototype = {
42304 call$1(selector2) {
42305 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
42306 return t1;
42307 },
42308 $signature: 78
42309 };
42310 A._selectorPseudoIsSuperselector_closure5.prototype = {
42311 call$1(pseudo2) {
42312 var t1, selector2;
42313 if (!(pseudo2 instanceof A.PseudoSelector))
42314 return false;
42315 t1 = this.pseudo1;
42316 if (pseudo2.name !== t1.name)
42317 return false;
42318 if (pseudo2.argument != t1.argument)
42319 return false;
42320 selector2 = pseudo2.selector;
42321 if (selector2 == null)
42322 return false;
42323 return A.listIsSuperselector(this.selector1.components, selector2.components);
42324 },
42325 $signature: 16
42326 };
42327 A._selectorPseudoArgs_closure.prototype = {
42328 call$1(pseudo) {
42329 return pseudo.isClass === this.isClass && pseudo.name === this.name;
42330 },
42331 $signature: 509
42332 };
42333 A._selectorPseudoArgs_closure0.prototype = {
42334 call$1(pseudo) {
42335 return pseudo.selector;
42336 },
42337 $signature: 512
42338 };
42339 A.MergedExtension.prototype = {
42340 unmerge$0() {
42341 var $async$self = this;
42342 return A._makeSyncStarIterable(function() {
42343 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
42344 return function $async$unmerge$0($async$errorCode, $async$result) {
42345 if ($async$errorCode === 1) {
42346 $async$currentError = $async$result;
42347 $async$goto = $async$handler;
42348 }
42349 while (true)
42350 switch ($async$goto) {
42351 case 0:
42352 // Function start
42353 left = $async$self.left;
42354 $async$goto = left instanceof A.MergedExtension ? 2 : 4;
42355 break;
42356 case 2:
42357 // then
42358 $async$goto = 5;
42359 return A._IterationMarker_yieldStar(left.unmerge$0());
42360 case 5:
42361 // after yield
42362 // goto join
42363 $async$goto = 3;
42364 break;
42365 case 4:
42366 // else
42367 $async$goto = 6;
42368 return left;
42369 case 6:
42370 // after yield
42371 case 3:
42372 // join
42373 right = $async$self.right;
42374 $async$goto = right instanceof A.MergedExtension ? 7 : 9;
42375 break;
42376 case 7:
42377 // then
42378 $async$goto = 10;
42379 return A._IterationMarker_yieldStar(right.unmerge$0());
42380 case 10:
42381 // after yield
42382 // goto join
42383 $async$goto = 8;
42384 break;
42385 case 9:
42386 // else
42387 $async$goto = 11;
42388 return right;
42389 case 11:
42390 // after yield
42391 case 8:
42392 // join
42393 // implicit return
42394 return A._IterationMarker_endOfIteration();
42395 case 1:
42396 // rethrow
42397 return A._IterationMarker_uncaughtError($async$currentError);
42398 }
42399 };
42400 }, type$.Extension);
42401 }
42402 };
42403 A.ExtendMode.prototype = {
42404 toString$0(_) {
42405 return this.name;
42406 }
42407 };
42408 A.globalFunctions_closure.prototype = {
42409 call$1($arguments) {
42410 var t1 = J.getInterceptor$asx($arguments);
42411 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
42412 },
42413 $signature: 4
42414 };
42415 A.global_closure.prototype = {
42416 call$1($arguments) {
42417 return A._rgb("rgb", $arguments);
42418 },
42419 $signature: 4
42420 };
42421 A.global_closure0.prototype = {
42422 call$1($arguments) {
42423 return A._rgb("rgb", $arguments);
42424 },
42425 $signature: 4
42426 };
42427 A.global_closure1.prototype = {
42428 call$1($arguments) {
42429 return A._rgbTwoArg("rgb", $arguments);
42430 },
42431 $signature: 4
42432 };
42433 A.global_closure2.prototype = {
42434 call$1($arguments) {
42435 var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42436 return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
42437 },
42438 $signature: 4
42439 };
42440 A.global_closure3.prototype = {
42441 call$1($arguments) {
42442 return A._rgb("rgba", $arguments);
42443 },
42444 $signature: 4
42445 };
42446 A.global_closure4.prototype = {
42447 call$1($arguments) {
42448 return A._rgb("rgba", $arguments);
42449 },
42450 $signature: 4
42451 };
42452 A.global_closure5.prototype = {
42453 call$1($arguments) {
42454 return A._rgbTwoArg("rgba", $arguments);
42455 },
42456 $signature: 4
42457 };
42458 A.global_closure6.prototype = {
42459 call$1($arguments) {
42460 var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42461 return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
42462 },
42463 $signature: 4
42464 };
42465 A.global_closure7.prototype = {
42466 call$1($arguments) {
42467 var color, t2,
42468 t1 = J.getInterceptor$asx($arguments),
42469 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42470 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42471 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42472 throw A.wrapException(string$.Only_oa);
42473 return A._functionString("invert", t1.take$1($arguments, 1));
42474 }
42475 color = t1.$index($arguments, 0).assertColor$1("color");
42476 t1 = color.get$red(color);
42477 t2 = color.get$green(color);
42478 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42479 },
42480 $signature: 4
42481 };
42482 A.global_closure8.prototype = {
42483 call$1($arguments) {
42484 return A._hsl("hsl", $arguments);
42485 },
42486 $signature: 4
42487 };
42488 A.global_closure9.prototype = {
42489 call$1($arguments) {
42490 return A._hsl("hsl", $arguments);
42491 },
42492 $signature: 4
42493 };
42494 A.global_closure10.prototype = {
42495 call$1($arguments) {
42496 var t1 = J.getInterceptor$asx($arguments);
42497 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42498 return A._functionString("hsl", $arguments);
42499 else
42500 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42501 },
42502 $signature: 14
42503 };
42504 A.global_closure11.prototype = {
42505 call$1($arguments) {
42506 var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42507 return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
42508 },
42509 $signature: 4
42510 };
42511 A.global_closure12.prototype = {
42512 call$1($arguments) {
42513 return A._hsl("hsla", $arguments);
42514 },
42515 $signature: 4
42516 };
42517 A.global_closure13.prototype = {
42518 call$1($arguments) {
42519 return A._hsl("hsla", $arguments);
42520 },
42521 $signature: 4
42522 };
42523 A.global_closure14.prototype = {
42524 call$1($arguments) {
42525 var t1 = J.getInterceptor$asx($arguments);
42526 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42527 return A._functionString("hsla", $arguments);
42528 else
42529 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42530 },
42531 $signature: 14
42532 };
42533 A.global_closure15.prototype = {
42534 call$1($arguments) {
42535 var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42536 return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
42537 },
42538 $signature: 4
42539 };
42540 A.global_closure16.prototype = {
42541 call$1($arguments) {
42542 var t1 = J.getInterceptor$asx($arguments);
42543 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42544 return A._functionString("grayscale", $arguments);
42545 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42546 },
42547 $signature: 4
42548 };
42549 A.global_closure17.prototype = {
42550 call$1($arguments) {
42551 var t1 = J.getInterceptor$asx($arguments),
42552 color = t1.$index($arguments, 0).assertColor$1("color"),
42553 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
42554 A._checkAngle(degrees, null);
42555 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number$_value);
42556 },
42557 $signature: 24
42558 };
42559 A.global_closure18.prototype = {
42560 call$1($arguments) {
42561 var t1 = J.getInterceptor$asx($arguments),
42562 color = t1.$index($arguments, 0).assertColor$1("color"),
42563 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42564 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42565 },
42566 $signature: 24
42567 };
42568 A.global_closure19.prototype = {
42569 call$1($arguments) {
42570 var t1 = J.getInterceptor$asx($arguments),
42571 color = t1.$index($arguments, 0).assertColor$1("color"),
42572 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42573 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42574 },
42575 $signature: 24
42576 };
42577 A.global_closure20.prototype = {
42578 call$1($arguments) {
42579 return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
42580 },
42581 $signature: 14
42582 };
42583 A.global_closure21.prototype = {
42584 call$1($arguments) {
42585 var t1 = J.getInterceptor$asx($arguments),
42586 color = t1.$index($arguments, 0).assertColor$1("color"),
42587 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42588 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42589 },
42590 $signature: 24
42591 };
42592 A.global_closure22.prototype = {
42593 call$1($arguments) {
42594 var t1 = J.getInterceptor$asx($arguments),
42595 color = t1.$index($arguments, 0).assertColor$1("color"),
42596 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42597 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42598 },
42599 $signature: 24
42600 };
42601 A.global_closure23.prototype = {
42602 call$1($arguments) {
42603 var color,
42604 argument = J.$index$asx($arguments, 0);
42605 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
42606 return A._functionString("alpha", $arguments);
42607 color = argument.assertColor$1("color");
42608 return new A.UnitlessSassNumber(color._alpha, null);
42609 },
42610 $signature: 4
42611 };
42612 A.global_closure24.prototype = {
42613 call$1($arguments) {
42614 var t1,
42615 argList = J.$index$asx($arguments, 0).get$asList();
42616 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
42617 return A._functionString("alpha", $arguments);
42618 t1 = argList.length;
42619 if (t1 === 0)
42620 throw A.wrapException(A.SassScriptException$("Missing argument $color."));
42621 else
42622 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed."));
42623 },
42624 $signature: 14
42625 };
42626 A.global__closure.prototype = {
42627 call$1(argument) {
42628 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42629 },
42630 $signature: 62
42631 };
42632 A.global_closure25.prototype = {
42633 call$1($arguments) {
42634 var color,
42635 t1 = J.getInterceptor$asx($arguments);
42636 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42637 return A._functionString("opacity", $arguments);
42638 color = t1.$index($arguments, 0).assertColor$1("color");
42639 return new A.UnitlessSassNumber(color._alpha, null);
42640 },
42641 $signature: 4
42642 };
42643 A.module_closure.prototype = {
42644 call$1($arguments) {
42645 var result, t2, color,
42646 t1 = J.getInterceptor$asx($arguments),
42647 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42648 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42649 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42650 throw A.wrapException(string$.Only_oa);
42651 result = A._functionString("invert", t1.take$1($arguments, 1));
42652 t1 = A.S(t1.$index($arguments, 0));
42653 t2 = result.toString$0(0);
42654 A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
42655 return result;
42656 }
42657 color = t1.$index($arguments, 0).assertColor$1("color");
42658 t1 = color.get$red(color);
42659 t2 = color.get$green(color);
42660 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42661 },
42662 $signature: 4
42663 };
42664 A.module_closure0.prototype = {
42665 call$1($arguments) {
42666 var result, t2,
42667 t1 = J.getInterceptor$asx($arguments);
42668 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42669 result = A._functionString("grayscale", t1.take$1($arguments, 1));
42670 t1 = A.S(t1.$index($arguments, 0));
42671 t2 = result.toString$0(0);
42672 A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
42673 return result;
42674 }
42675 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42676 },
42677 $signature: 4
42678 };
42679 A.module_closure1.prototype = {
42680 call$1($arguments) {
42681 return A._hwb($arguments);
42682 },
42683 $signature: 4
42684 };
42685 A.module_closure2.prototype = {
42686 call$1($arguments) {
42687 var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
42688 if (parsed instanceof A.SassString)
42689 throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
42690 else
42691 return A._hwb(type$.List_Value._as(parsed));
42692 },
42693 $signature: 4
42694 };
42695 A.module_closure3.prototype = {
42696 call$1($arguments) {
42697 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42698 t1 = t1.get$whiteness(t1);
42699 return new A.SingleUnitSassNumber("%", t1, null);
42700 },
42701 $signature: 9
42702 };
42703 A.module_closure4.prototype = {
42704 call$1($arguments) {
42705 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42706 t1 = t1.get$blackness(t1);
42707 return new A.SingleUnitSassNumber("%", t1, null);
42708 },
42709 $signature: 9
42710 };
42711 A.module_closure5.prototype = {
42712 call$1($arguments) {
42713 var result, t1, color,
42714 argument = J.$index$asx($arguments, 0);
42715 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
42716 result = A._functionString("alpha", $arguments);
42717 t1 = result.toString$0(0);
42718 A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
42719 return result;
42720 }
42721 color = argument.assertColor$1("color");
42722 return new A.UnitlessSassNumber(color._alpha, null);
42723 },
42724 $signature: 4
42725 };
42726 A.module_closure6.prototype = {
42727 call$1($arguments) {
42728 var result,
42729 t1 = J.getInterceptor$asx($arguments);
42730 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
42731 result = A._functionString("alpha", $arguments);
42732 t1 = result.toString$0(0);
42733 A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
42734 return result;
42735 }
42736 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
42737 },
42738 $signature: 14
42739 };
42740 A.module__closure.prototype = {
42741 call$1(argument) {
42742 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42743 },
42744 $signature: 62
42745 };
42746 A.module_closure7.prototype = {
42747 call$1($arguments) {
42748 var result, t2, color,
42749 t1 = J.getInterceptor$asx($arguments);
42750 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42751 result = A._functionString("opacity", $arguments);
42752 t1 = A.S(t1.$index($arguments, 0));
42753 t2 = result.toString$0(0);
42754 A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
42755 return result;
42756 }
42757 color = t1.$index($arguments, 0).assertColor$1("color");
42758 return new A.UnitlessSassNumber(color._alpha, null);
42759 },
42760 $signature: 4
42761 };
42762 A._red_closure.prototype = {
42763 call$1($arguments) {
42764 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42765 t1 = t1.get$red(t1);
42766 return new A.UnitlessSassNumber(t1, null);
42767 },
42768 $signature: 9
42769 };
42770 A._green_closure.prototype = {
42771 call$1($arguments) {
42772 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42773 t1 = t1.get$green(t1);
42774 return new A.UnitlessSassNumber(t1, null);
42775 },
42776 $signature: 9
42777 };
42778 A._blue_closure.prototype = {
42779 call$1($arguments) {
42780 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42781 t1 = t1.get$blue(t1);
42782 return new A.UnitlessSassNumber(t1, null);
42783 },
42784 $signature: 9
42785 };
42786 A._mix_closure.prototype = {
42787 call$1($arguments) {
42788 var t1 = J.getInterceptor$asx($arguments);
42789 return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
42790 },
42791 $signature: 24
42792 };
42793 A._hue_closure.prototype = {
42794 call$1($arguments) {
42795 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42796 t1 = t1.get$hue(t1);
42797 return new A.SingleUnitSassNumber("deg", t1, null);
42798 },
42799 $signature: 9
42800 };
42801 A._saturation_closure.prototype = {
42802 call$1($arguments) {
42803 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42804 t1 = t1.get$saturation(t1);
42805 return new A.SingleUnitSassNumber("%", t1, null);
42806 },
42807 $signature: 9
42808 };
42809 A._lightness_closure.prototype = {
42810 call$1($arguments) {
42811 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42812 t1 = t1.get$lightness(t1);
42813 return new A.SingleUnitSassNumber("%", t1, null);
42814 },
42815 $signature: 9
42816 };
42817 A._complement_closure.prototype = {
42818 call$1($arguments) {
42819 var color = J.$index$asx($arguments, 0).assertColor$1("color");
42820 return color.changeHsl$1$hue(color.get$hue(color) + 180);
42821 },
42822 $signature: 24
42823 };
42824 A._adjust_closure.prototype = {
42825 call$1($arguments) {
42826 return A._updateComponents($arguments, true, false, false);
42827 },
42828 $signature: 24
42829 };
42830 A._scale_closure.prototype = {
42831 call$1($arguments) {
42832 return A._updateComponents($arguments, false, false, true);
42833 },
42834 $signature: 24
42835 };
42836 A._change_closure.prototype = {
42837 call$1($arguments) {
42838 return A._updateComponents($arguments, false, true, false);
42839 },
42840 $signature: 24
42841 };
42842 A._ieHexStr_closure.prototype = {
42843 call$1($arguments) {
42844 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
42845 t1 = new A._ieHexStr_closure_hexString();
42846 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);
42847 },
42848 $signature: 14
42849 };
42850 A._ieHexStr_closure_hexString.prototype = {
42851 call$1(component) {
42852 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
42853 },
42854 $signature: 196
42855 };
42856 A._updateComponents_getParam.prototype = {
42857 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
42858 var t2,
42859 t1 = this.keywords.remove$1(0, $name),
42860 number = t1 == null ? null : t1.assertNumber$1($name);
42861 if (number == null)
42862 return null;
42863 t1 = this.scale;
42864 t2 = !t1;
42865 if (t2 && checkPercent)
42866 A._checkPercent(number, $name);
42867 if (!t2 || assertPercent)
42868 number.assertUnit$2("%", $name);
42869 if (t1)
42870 max = 100;
42871 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
42872 },
42873 call$2($name, max) {
42874 return this.call$4$assertPercent$checkPercent($name, max, false, false);
42875 },
42876 call$3$checkPercent($name, max, checkPercent) {
42877 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
42878 },
42879 call$3$assertPercent($name, max, assertPercent) {
42880 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
42881 },
42882 $signature: 195
42883 };
42884 A._updateComponents_closure.prototype = {
42885 call$1($name) {
42886 return "$" + $name;
42887 },
42888 $signature: 5
42889 };
42890 A._updateComponents_updateValue.prototype = {
42891 call$3(current, param, max) {
42892 var t1;
42893 if (param == null)
42894 return current;
42895 if (this.change)
42896 return param;
42897 if (this.adjust)
42898 return B.JSNumber_methods.clamp$2(current + param, 0, max);
42899 t1 = param > 0 ? max - current : current;
42900 return current + t1 * (param / 100);
42901 },
42902 $signature: 194
42903 };
42904 A._updateComponents_updateRgb.prototype = {
42905 call$2(current, param) {
42906 return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
42907 },
42908 $signature: 188
42909 };
42910 A._functionString_closure.prototype = {
42911 call$1(argument) {
42912 return A.serializeValue(argument, false, true);
42913 },
42914 $signature: 261
42915 };
42916 A._removedColorFunction_closure.prototype = {
42917 call$1($arguments) {
42918 var t1 = this.name,
42919 t2 = J.getInterceptor$asx($arguments),
42920 t3 = A.S(t2.$index($arguments, 0)),
42921 t4 = this.negative ? "-" : "";
42922 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));
42923 },
42924 $signature: 263
42925 };
42926 A._rgb_closure.prototype = {
42927 call$1(alpha) {
42928 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42929 },
42930 $signature: 140
42931 };
42932 A._hsl_closure.prototype = {
42933 call$1(alpha) {
42934 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42935 },
42936 $signature: 140
42937 };
42938 A._removeUnits_closure.prototype = {
42939 call$1(unit) {
42940 return " * 1" + unit;
42941 },
42942 $signature: 5
42943 };
42944 A._removeUnits_closure0.prototype = {
42945 call$1(unit) {
42946 return " / 1" + unit;
42947 },
42948 $signature: 5
42949 };
42950 A._hwb_closure.prototype = {
42951 call$1(alpha) {
42952 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42953 },
42954 $signature: 140
42955 };
42956 A._parseChannels_closure.prototype = {
42957 call$1(value) {
42958 return value.get$isVar();
42959 },
42960 $signature: 62
42961 };
42962 A._length_closure0.prototype = {
42963 call$1($arguments) {
42964 var t1 = J.$index$asx($arguments, 0).get$asList().length;
42965 return new A.UnitlessSassNumber(t1, null);
42966 },
42967 $signature: 9
42968 };
42969 A._nth_closure.prototype = {
42970 call$1($arguments) {
42971 var t1 = J.getInterceptor$asx($arguments),
42972 list = t1.$index($arguments, 0),
42973 index = t1.$index($arguments, 1);
42974 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
42975 },
42976 $signature: 4
42977 };
42978 A._setNth_closure.prototype = {
42979 call$1($arguments) {
42980 var t1 = J.getInterceptor$asx($arguments),
42981 list = t1.$index($arguments, 0),
42982 index = t1.$index($arguments, 1),
42983 value = t1.$index($arguments, 2),
42984 t2 = list.get$asList(),
42985 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
42986 newList[list.sassIndexToListIndex$2(index, "n")] = value;
42987 return t1.$index($arguments, 0).withListContents$1(newList);
42988 },
42989 $signature: 21
42990 };
42991 A._join_closure.prototype = {
42992 call$1($arguments) {
42993 var separator, bracketed,
42994 t1 = J.getInterceptor$asx($arguments),
42995 list1 = t1.$index($arguments, 0),
42996 list2 = t1.$index($arguments, 1),
42997 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
42998 bracketedParam = t1.$index($arguments, 3);
42999 t1 = separatorParam._string$_text;
43000 if (t1 === "auto")
43001 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null)
43002 separator = list1.get$separator(list1);
43003 else
43004 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null ? list2.get$separator(list2) : B.ListSeparator_woc;
43005 else if (t1 === "space")
43006 separator = B.ListSeparator_woc;
43007 else if (t1 === "comma")
43008 separator = B.ListSeparator_kWM;
43009 else {
43010 if (t1 !== "slash")
43011 throw A.wrapException(A.SassScriptException$(string$.x24separ));
43012 separator = B.ListSeparator_1gm;
43013 }
43014 bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
43015 t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
43016 B.JSArray_methods.addAll$1(t1, list2.get$asList());
43017 return A.SassList$(t1, separator, bracketed);
43018 },
43019 $signature: 21
43020 };
43021 A._append_closure0.prototype = {
43022 call$1($arguments) {
43023 var separator,
43024 t1 = J.getInterceptor$asx($arguments),
43025 list = t1.$index($arguments, 0),
43026 value = t1.$index($arguments, 1);
43027 t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
43028 if (t1 === "auto")
43029 separator = list.get$separator(list) === B.ListSeparator_undecided_null ? B.ListSeparator_woc : list.get$separator(list);
43030 else if (t1 === "space")
43031 separator = B.ListSeparator_woc;
43032 else if (t1 === "comma")
43033 separator = B.ListSeparator_kWM;
43034 else {
43035 if (t1 !== "slash")
43036 throw A.wrapException(A.SassScriptException$(string$.x24separ));
43037 separator = B.ListSeparator_1gm;
43038 }
43039 t1 = A.List_List$of(list.get$asList(), true, type$.Value);
43040 t1.push(value);
43041 return list.withListContents$2$separator(t1, separator);
43042 },
43043 $signature: 21
43044 };
43045 A._zip_closure.prototype = {
43046 call$1($arguments) {
43047 var results, result, _box_0 = {},
43048 t1 = J.$index$asx($arguments, 0).get$asList(),
43049 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
43050 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
43051 if (lists.length === 0)
43052 return B.SassList_yfz;
43053 _box_0.i = 0;
43054 results = A._setArrayType([], type$.JSArray_SassList);
43055 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));) {
43056 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
43057 result.fixed$length = Array;
43058 result.immutable$list = Array;
43059 results.push(new A.SassList(result, B.ListSeparator_woc, false));
43060 ++_box_0.i;
43061 }
43062 return A.SassList$(results, B.ListSeparator_kWM, false);
43063 },
43064 $signature: 21
43065 };
43066 A._zip__closure.prototype = {
43067 call$1(list) {
43068 return list.get$asList();
43069 },
43070 $signature: 282
43071 };
43072 A._zip__closure0.prototype = {
43073 call$1(list) {
43074 return this._box_0.i !== J.get$length$asx(list);
43075 },
43076 $signature: 285
43077 };
43078 A._zip__closure1.prototype = {
43079 call$1(list) {
43080 return J.$index$asx(list, this._box_0.i);
43081 },
43082 $signature: 4
43083 };
43084 A._index_closure0.prototype = {
43085 call$1($arguments) {
43086 var t1 = J.getInterceptor$asx($arguments),
43087 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
43088 if (index === -1)
43089 t1 = B.C__SassNull;
43090 else
43091 t1 = new A.UnitlessSassNumber(index + 1, null);
43092 return t1;
43093 },
43094 $signature: 4
43095 };
43096 A._separator_closure.prototype = {
43097 call$1($arguments) {
43098 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
43099 case B.ListSeparator_kWM:
43100 return new A.SassString("comma", false);
43101 case B.ListSeparator_1gm:
43102 return new A.SassString("slash", false);
43103 default:
43104 return new A.SassString("space", false);
43105 }
43106 },
43107 $signature: 14
43108 };
43109 A._isBracketed_closure.prototype = {
43110 call$1($arguments) {
43111 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
43112 },
43113 $signature: 17
43114 };
43115 A._slash_closure.prototype = {
43116 call$1($arguments) {
43117 var list = J.$index$asx($arguments, 0).get$asList();
43118 if (list.length < 2)
43119 throw A.wrapException(A.SassScriptException$("At least two elements are required."));
43120 return A.SassList$(list, B.ListSeparator_1gm, false);
43121 },
43122 $signature: 21
43123 };
43124 A._get_closure.prototype = {
43125 call$1($arguments) {
43126 var t3, t4, value,
43127 t1 = J.getInterceptor$asx($arguments),
43128 map = t1.$index($arguments, 0).assertMap$1("map"),
43129 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43130 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43131 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) {
43132 t4 = t1.__internal$_current;
43133 if (t4 == null)
43134 t4 = t3._as(t4);
43135 value = map._map$_contents.$index(0, t4);
43136 if (!(value instanceof A.SassMap))
43137 return B.C__SassNull;
43138 }
43139 t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
43140 return t1 == null ? B.C__SassNull : t1;
43141 },
43142 $signature: 4
43143 };
43144 A._set_closure.prototype = {
43145 call$1($arguments) {
43146 var t1 = J.getInterceptor$asx($arguments);
43147 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);
43148 },
43149 $signature: 4
43150 };
43151 A._set__closure0.prototype = {
43152 call$1(_) {
43153 return J.$index$asx(this.$arguments, 2);
43154 },
43155 $signature: 36
43156 };
43157 A._set_closure0.prototype = {
43158 call$1($arguments) {
43159 var t1 = J.getInterceptor$asx($arguments),
43160 map = t1.$index($arguments, 0).assertMap$1("map"),
43161 args = t1.$index($arguments, 1).get$asList();
43162 t1 = args.length;
43163 if (t1 === 0)
43164 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43165 else if (t1 === 1)
43166 throw A.wrapException(A.SassScriptException$("Expected $args to contain a value."));
43167 return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
43168 },
43169 $signature: 4
43170 };
43171 A._set__closure.prototype = {
43172 call$1(_) {
43173 return B.JSArray_methods.get$last(this.args);
43174 },
43175 $signature: 36
43176 };
43177 A._merge_closure.prototype = {
43178 call$1($arguments) {
43179 var t2, t3, t4,
43180 t1 = J.getInterceptor$asx($arguments),
43181 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43182 map2 = t1.$index($arguments, 1).assertMap$1("map2");
43183 t1 = type$.Value;
43184 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43185 for (t3 = map1._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43186 t4 = t3.get$current(t3);
43187 t2.$indexSet(0, t4.key, t4.value);
43188 }
43189 for (t3 = map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43190 t4 = t3.get$current(t3);
43191 t2.$indexSet(0, t4.key, t4.value);
43192 }
43193 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43194 },
43195 $signature: 37
43196 };
43197 A._merge_closure0.prototype = {
43198 call$1($arguments) {
43199 var map2,
43200 t1 = J.getInterceptor$asx($arguments),
43201 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43202 args = t1.$index($arguments, 1).get$asList();
43203 t1 = args.length;
43204 if (t1 === 0)
43205 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43206 else if (t1 === 1)
43207 throw A.wrapException(A.SassScriptException$("Expected $args to contain a map."));
43208 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
43209 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);
43210 },
43211 $signature: 4
43212 };
43213 A._merge__closure.prototype = {
43214 call$1(oldValue) {
43215 var t1, t2, t3, t4,
43216 nestedMap = oldValue.tryMap$0();
43217 if (nestedMap == null)
43218 return this.map2;
43219 t1 = type$.Value;
43220 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43221 for (t3 = nestedMap._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43222 t4 = t3.get$current(t3);
43223 t2.$indexSet(0, t4.key, t4.value);
43224 }
43225 for (t3 = this.map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43226 t4 = t3.get$current(t3);
43227 t2.$indexSet(0, t4.key, t4.value);
43228 }
43229 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43230 },
43231 $signature: 291
43232 };
43233 A._deepMerge_closure.prototype = {
43234 call$1($arguments) {
43235 var t1 = J.getInterceptor$asx($arguments);
43236 return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
43237 },
43238 $signature: 37
43239 };
43240 A._deepRemove_closure.prototype = {
43241 call$1($arguments) {
43242 var t1 = J.getInterceptor$asx($arguments),
43243 map = t1.$index($arguments, 0).assertMap$1("map"),
43244 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43245 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43246 return A._modify(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), new A._deepRemove__closure(t2), false);
43247 },
43248 $signature: 4
43249 };
43250 A._deepRemove__closure.prototype = {
43251 call$1(value) {
43252 var t1, t2,
43253 nestedMap = value.tryMap$0();
43254 if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
43255 t1 = type$.Value;
43256 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
43257 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
43258 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43259 }
43260 return value;
43261 },
43262 $signature: 36
43263 };
43264 A._remove_closure.prototype = {
43265 call$1($arguments) {
43266 return J.$index$asx($arguments, 0).assertMap$1("map");
43267 },
43268 $signature: 37
43269 };
43270 A._remove_closure0.prototype = {
43271 call$1($arguments) {
43272 var mutableMap, t3, _i,
43273 t1 = J.getInterceptor$asx($arguments),
43274 map = t1.$index($arguments, 0).assertMap$1("map"),
43275 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43276 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43277 t1 = type$.Value;
43278 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
43279 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43280 mutableMap.remove$1(0, t2[_i]);
43281 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43282 },
43283 $signature: 37
43284 };
43285 A._keys_closure.prototype = {
43286 call$1($arguments) {
43287 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43288 return A.SassList$(t1.get$keys(t1), B.ListSeparator_kWM, false);
43289 },
43290 $signature: 21
43291 };
43292 A._values_closure.prototype = {
43293 call$1($arguments) {
43294 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43295 return A.SassList$(t1.get$values(t1), B.ListSeparator_kWM, false);
43296 },
43297 $signature: 21
43298 };
43299 A._hasKey_closure.prototype = {
43300 call$1($arguments) {
43301 var t3, t4, value,
43302 t1 = J.getInterceptor$asx($arguments),
43303 map = t1.$index($arguments, 0).assertMap$1("map"),
43304 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43305 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43306 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) {
43307 t4 = t1.__internal$_current;
43308 if (t4 == null)
43309 t4 = t3._as(t4);
43310 value = map._map$_contents.$index(0, t4);
43311 if (!(value instanceof A.SassMap))
43312 return B.SassBoolean_false;
43313 }
43314 return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
43315 },
43316 $signature: 17
43317 };
43318 A._modify__modifyNestedMap.prototype = {
43319 call$1(map) {
43320 var nestedMap, _this = this,
43321 t1 = type$.Value,
43322 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
43323 t2 = _this.keyIterator,
43324 key = t2.get$current(t2);
43325 if (!t2.moveNext$0()) {
43326 t2 = mutableMap.$index(0, key);
43327 if (t2 == null)
43328 t2 = B.C__SassNull;
43329 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
43330 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43331 }
43332 t2 = mutableMap.$index(0, key);
43333 nestedMap = t2 == null ? null : t2.tryMap$0();
43334 t2 = nestedMap == null;
43335 if (t2 && !_this.addNesting)
43336 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43337 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
43338 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43339 },
43340 $signature: 292
43341 };
43342 A._deepMergeImpl_closure.prototype = {
43343 call$2(key, value) {
43344 var valueMap, merged,
43345 t1 = this.result,
43346 t2 = t1.$index(0, key),
43347 resultMap = t2 == null ? null : t2.tryMap$0();
43348 if (resultMap == null)
43349 t1.$indexSet(0, key, value);
43350 else {
43351 valueMap = value.tryMap$0();
43352 if (valueMap != null) {
43353 merged = A._deepMergeImpl(resultMap, valueMap);
43354 if (merged === resultMap)
43355 return;
43356 t1.$indexSet(0, key, merged);
43357 } else
43358 t1.$indexSet(0, key, value);
43359 }
43360 },
43361 $signature: 52
43362 };
43363 A._ceil_closure.prototype = {
43364 call$1(value) {
43365 return B.JSNumber_methods.ceil$0(value);
43366 },
43367 $signature: 42
43368 };
43369 A._clamp_closure.prototype = {
43370 call$1($arguments) {
43371 var t1 = J.getInterceptor$asx($arguments),
43372 min = t1.$index($arguments, 0).assertNumber$1("min"),
43373 number = t1.$index($arguments, 1).assertNumber$1("number"),
43374 max = t1.$index($arguments, 2).assertNumber$1("max");
43375 number.convertValueToMatch$3(min, "number", "min");
43376 max.convertValueToMatch$3(min, "max", "min");
43377 if (min.greaterThanOrEquals$1(max).value)
43378 return min;
43379 if (min.greaterThanOrEquals$1(number).value)
43380 return min;
43381 if (number.greaterThanOrEquals$1(max).value)
43382 return max;
43383 return number;
43384 },
43385 $signature: 9
43386 };
43387 A._floor_closure.prototype = {
43388 call$1(value) {
43389 return B.JSNumber_methods.floor$0(value);
43390 },
43391 $signature: 42
43392 };
43393 A._max_closure.prototype = {
43394 call$1($arguments) {
43395 var t1, t2, max, _i, number;
43396 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) {
43397 number = t1[_i].assertNumber$0();
43398 if (max == null || max.lessThan$1(number).value)
43399 max = number;
43400 }
43401 if (max != null)
43402 return max;
43403 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43404 },
43405 $signature: 9
43406 };
43407 A._min_closure.prototype = {
43408 call$1($arguments) {
43409 var t1, t2, min, _i, number;
43410 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) {
43411 number = t1[_i].assertNumber$0();
43412 if (min == null || min.greaterThan$1(number).value)
43413 min = number;
43414 }
43415 if (min != null)
43416 return min;
43417 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43418 },
43419 $signature: 9
43420 };
43421 A._abs_closure.prototype = {
43422 call$1(value) {
43423 return Math.abs(value);
43424 },
43425 $signature: 73
43426 };
43427 A._hypot_closure.prototype = {
43428 call$1($arguments) {
43429 var subtotal, i, i0, t3, t4,
43430 t1 = J.$index$asx($arguments, 0).get$asList(),
43431 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
43432 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
43433 t1 = numbers.length;
43434 if (t1 === 0)
43435 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43436 for (subtotal = 0, i = 0; i < t1; i = i0) {
43437 i0 = i + 1;
43438 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
43439 }
43440 t1 = Math.sqrt(subtotal);
43441 t2 = numbers[0];
43442 t3 = J.getInterceptor$x(t2);
43443 t4 = t3.get$numeratorUnits(t2);
43444 return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
43445 },
43446 $signature: 9
43447 };
43448 A._hypot__closure.prototype = {
43449 call$1(argument) {
43450 return argument.assertNumber$0();
43451 },
43452 $signature: 302
43453 };
43454 A._log_closure.prototype = {
43455 call$1($arguments) {
43456 var numberValue, base, baseValue, t2,
43457 _s18_ = " to have no units.",
43458 t1 = J.getInterceptor$asx($arguments),
43459 number = t1.$index($arguments, 0).assertNumber$1("number");
43460 if (number.get$hasUnits())
43461 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_));
43462 numberValue = A._fuzzyRoundIfZero(number._number$_value);
43463 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull)) {
43464 t1 = Math.log(numberValue);
43465 return new A.UnitlessSassNumber(t1, null);
43466 }
43467 base = t1.$index($arguments, 1).assertNumber$1("base");
43468 if (base.get$hasUnits())
43469 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43470 t1 = base._number$_value;
43471 baseValue = Math.abs(t1 - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43472 t1 = Math.log(numberValue);
43473 t2 = Math.log(baseValue);
43474 return new A.UnitlessSassNumber(t1 / t2, null);
43475 },
43476 $signature: 9
43477 };
43478 A._pow_closure.prototype = {
43479 call$1($arguments) {
43480 var baseValue, exponentValue, t2, intExponent, t3,
43481 _s18_ = " to have no units.",
43482 _null = null,
43483 t1 = J.getInterceptor$asx($arguments),
43484 base = t1.$index($arguments, 0).assertNumber$1("base"),
43485 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
43486 if (base.get$hasUnits())
43487 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43488 else if (exponent.get$hasUnits())
43489 throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_));
43490 baseValue = A._fuzzyRoundIfZero(base._number$_value);
43491 exponentValue = A._fuzzyRoundIfZero(exponent._number$_value);
43492 t1 = $.$get$epsilon();
43493 if (Math.abs(Math.abs(baseValue) - 1) < t1)
43494 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
43495 else
43496 t2 = false;
43497 if (t2)
43498 return new A.UnitlessSassNumber(0 / 0, _null);
43499 else {
43500 t2 = Math.abs(baseValue - 0);
43501 if (t2 < t1) {
43502 if (isFinite(exponentValue)) {
43503 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43504 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43505 exponentValue = A.fuzzyRound(exponentValue);
43506 }
43507 } else {
43508 if (isFinite(baseValue))
43509 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt(exponentValue);
43510 else
43511 t3 = false;
43512 if (t3)
43513 exponentValue = A.fuzzyRound(exponentValue);
43514 else {
43515 if (baseValue == 1 / 0 || baseValue == -1 / 0)
43516 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
43517 else
43518 t1 = false;
43519 if (t1) {
43520 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43521 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43522 exponentValue = A.fuzzyRound(exponentValue);
43523 }
43524 }
43525 }
43526 }
43527 t1 = Math.pow(baseValue, exponentValue);
43528 return new A.UnitlessSassNumber(t1, _null);
43529 },
43530 $signature: 9
43531 };
43532 A._sqrt_closure.prototype = {
43533 call$1($arguments) {
43534 var t1,
43535 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43536 if (number.get$hasUnits())
43537 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43538 t1 = Math.sqrt(A._fuzzyRoundIfZero(number._number$_value));
43539 return new A.UnitlessSassNumber(t1, null);
43540 },
43541 $signature: 9
43542 };
43543 A._acos_closure.prototype = {
43544 call$1($arguments) {
43545 var numberValue,
43546 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43547 if (number.get$hasUnits())
43548 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43549 numberValue = number._number$_value;
43550 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon())
43551 numberValue = A.fuzzyRound(numberValue);
43552 return A.SassNumber_SassNumber$withUnits(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43553 },
43554 $signature: 9
43555 };
43556 A._asin_closure.prototype = {
43557 call$1($arguments) {
43558 var t1, numberValue,
43559 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43560 if (number.get$hasUnits())
43561 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43562 t1 = number._number$_value;
43563 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43564 return A.SassNumber_SassNumber$withUnits(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43565 },
43566 $signature: 9
43567 };
43568 A._atan_closure.prototype = {
43569 call$1($arguments) {
43570 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43571 if (number.get$hasUnits())
43572 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43573 return A.SassNumber_SassNumber$withUnits(Math.atan(A._fuzzyRoundIfZero(number._number$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43574 },
43575 $signature: 9
43576 };
43577 A._atan2_closure.prototype = {
43578 call$1($arguments) {
43579 var t1 = J.getInterceptor$asx($arguments),
43580 y = t1.$index($arguments, 0).assertNumber$1("y"),
43581 xValue = A._fuzzyRoundIfZero(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
43582 return A.SassNumber_SassNumber$withUnits(Math.atan2(A._fuzzyRoundIfZero(y._number$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43583 },
43584 $signature: 9
43585 };
43586 A._cos_closure.prototype = {
43587 call$1($arguments) {
43588 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
43589 return new A.UnitlessSassNumber(t1, null);
43590 },
43591 $signature: 9
43592 };
43593 A._sin_closure.prototype = {
43594 call$1($arguments) {
43595 var t1 = Math.sin(A._fuzzyRoundIfZero(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
43596 return new A.UnitlessSassNumber(t1, null);
43597 },
43598 $signature: 9
43599 };
43600 A._tan_closure.prototype = {
43601 call$1($arguments) {
43602 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
43603 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
43604 t2 = $.$get$epsilon();
43605 if (Math.abs(t1 - 0) < t2)
43606 return new A.UnitlessSassNumber(1 / 0, null);
43607 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
43608 return new A.UnitlessSassNumber(-1 / 0, null);
43609 else {
43610 t1 = Math.tan(A._fuzzyRoundIfZero(value));
43611 return new A.UnitlessSassNumber(t1, null);
43612 }
43613 },
43614 $signature: 9
43615 };
43616 A._compatible_closure.prototype = {
43617 call$1($arguments) {
43618 var t1 = J.getInterceptor$asx($arguments);
43619 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
43620 },
43621 $signature: 17
43622 };
43623 A._isUnitless_closure.prototype = {
43624 call$1($arguments) {
43625 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
43626 },
43627 $signature: 17
43628 };
43629 A._unit_closure.prototype = {
43630 call$1($arguments) {
43631 return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
43632 },
43633 $signature: 14
43634 };
43635 A._percentage_closure.prototype = {
43636 call$1($arguments) {
43637 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43638 number.assertNoUnits$1("number");
43639 return new A.SingleUnitSassNumber("%", number._number$_value * 100, null);
43640 },
43641 $signature: 9
43642 };
43643 A._randomFunction_closure.prototype = {
43644 call$1($arguments) {
43645 var limit,
43646 t1 = J.getInterceptor$asx($arguments);
43647 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull)) {
43648 t1 = $.$get$_random0().nextDouble$0();
43649 return new A.UnitlessSassNumber(t1, null);
43650 }
43651 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
43652 if (limit < 1)
43653 throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit + "."));
43654 t1 = $.$get$_random0().nextInt$1(limit);
43655 return new A.UnitlessSassNumber(t1 + 1, null);
43656 },
43657 $signature: 9
43658 };
43659 A._div_closure.prototype = {
43660 call$1($arguments) {
43661 var t1 = J.getInterceptor$asx($arguments),
43662 number1 = t1.$index($arguments, 0),
43663 number2 = t1.$index($arguments, 1);
43664 if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
43665 A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
43666 return number1.dividedBy$1(number2);
43667 },
43668 $signature: 4
43669 };
43670 A._numberFunction_closure.prototype = {
43671 call$1($arguments) {
43672 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
43673 t1 = this.transform.call$1(number._number$_value),
43674 t2 = number.get$numeratorUnits(number);
43675 return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
43676 },
43677 $signature: 9
43678 };
43679 A.global_closure26.prototype = {
43680 call$1($arguments) {
43681 return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
43682 },
43683 $signature: 17
43684 };
43685 A.global_closure27.prototype = {
43686 call$1($arguments) {
43687 return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
43688 },
43689 $signature: 14
43690 };
43691 A.global_closure28.prototype = {
43692 call$1($arguments) {
43693 var value = J.$index$asx($arguments, 0);
43694 if (value instanceof A.SassArgumentList)
43695 return new A.SassString("arglist", false);
43696 if (value instanceof A.SassBoolean)
43697 return new A.SassString("bool", false);
43698 if (value instanceof A.SassColor)
43699 return new A.SassString("color", false);
43700 if (value instanceof A.SassList)
43701 return new A.SassString("list", false);
43702 if (value instanceof A.SassMap)
43703 return new A.SassString("map", false);
43704 if (value.$eq(0, B.C__SassNull))
43705 return new A.SassString("null", false);
43706 if (value instanceof A.SassNumber)
43707 return new A.SassString("number", false);
43708 if (value instanceof A.SassFunction)
43709 return new A.SassString("function", false);
43710 if (value instanceof A.SassCalculation)
43711 return new A.SassString("calculation", false);
43712 return new A.SassString("string", false);
43713 },
43714 $signature: 14
43715 };
43716 A.global_closure29.prototype = {
43717 call$1($arguments) {
43718 var t1, t2, t3, t4,
43719 argumentList = J.$index$asx($arguments, 0);
43720 if (argumentList instanceof A.SassArgumentList) {
43721 t1 = type$.Value;
43722 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43723 for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43724 t4 = t3.get$current(t3);
43725 t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
43726 }
43727 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43728 } else
43729 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
43730 },
43731 $signature: 37
43732 };
43733 A.local_closure.prototype = {
43734 call$1($arguments) {
43735 return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
43736 },
43737 $signature: 14
43738 };
43739 A.local_closure0.prototype = {
43740 call$1($arguments) {
43741 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
43742 return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43743 },
43744 $signature: 21
43745 };
43746 A.local__closure.prototype = {
43747 call$1(argument) {
43748 if (argument instanceof A.Value)
43749 return argument;
43750 return new A.SassString(J.toString$0$(argument), false);
43751 },
43752 $signature: 303
43753 };
43754 A._nest_closure.prototype = {
43755 call$1($arguments) {
43756 var t1 = {},
43757 selectors = J.$index$asx($arguments, 0).get$asList();
43758 if (selectors.length === 0)
43759 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43760 t1.first = true;
43761 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();
43762 },
43763 $signature: 21
43764 };
43765 A._nest__closure.prototype = {
43766 call$1(selector) {
43767 var t1 = this._box_0,
43768 result = selector.assertSelector$1$allowParent(!t1.first);
43769 t1.first = false;
43770 return result;
43771 },
43772 $signature: 187
43773 };
43774 A._nest__closure0.prototype = {
43775 call$2($parent, child) {
43776 return child.resolveParentSelectors$1($parent);
43777 },
43778 $signature: 186
43779 };
43780 A._append_closure.prototype = {
43781 call$1($arguments) {
43782 var selectors = J.$index$asx($arguments, 0).get$asList();
43783 if (selectors.length === 0)
43784 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43785 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();
43786 },
43787 $signature: 21
43788 };
43789 A._append__closure.prototype = {
43790 call$1(selector) {
43791 return selector.assertSelector$0();
43792 },
43793 $signature: 187
43794 };
43795 A._append__closure0.prototype = {
43796 call$2($parent, child) {
43797 var t1 = child.components;
43798 return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
43799 },
43800 $signature: 186
43801 };
43802 A._append___closure.prototype = {
43803 call$1(complex) {
43804 var newCompound, t2,
43805 t1 = complex.components,
43806 compound = B.JSArray_methods.get$first(t1);
43807 if (compound instanceof A.CompoundSelector) {
43808 newCompound = A._prependParent(compound);
43809 if (newCompound == null)
43810 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43811 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent);
43812 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
43813 return A.ComplexSelector$(t2, false);
43814 } else
43815 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43816 },
43817 $signature: 126
43818 };
43819 A._extend_closure.prototype = {
43820 call$1($arguments) {
43821 var t1 = J.getInterceptor$asx($arguments),
43822 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43823 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
43824 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43825 },
43826 $signature: 21
43827 };
43828 A._replace_closure.prototype = {
43829 call$1($arguments) {
43830 var t1 = J.getInterceptor$asx($arguments),
43831 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43832 target = t1.$index($arguments, 1).assertSelector$1$name("original");
43833 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43834 },
43835 $signature: 21
43836 };
43837 A._unify_closure.prototype = {
43838 call$1($arguments) {
43839 var t1 = J.getInterceptor$asx($arguments),
43840 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
43841 return result == null ? B.C__SassNull : result.get$asSassList();
43842 },
43843 $signature: 4
43844 };
43845 A._isSuperselector_closure.prototype = {
43846 call$1($arguments) {
43847 var t1 = J.getInterceptor$asx($arguments),
43848 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
43849 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
43850 return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
43851 },
43852 $signature: 17
43853 };
43854 A._simpleSelectors_closure.prototype = {
43855 call$1($arguments) {
43856 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
43857 return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43858 },
43859 $signature: 21
43860 };
43861 A._simpleSelectors__closure.prototype = {
43862 call$1(simple) {
43863 return new A.SassString(A.serializeSelector(simple, true), false);
43864 },
43865 $signature: 310
43866 };
43867 A._parse_closure.prototype = {
43868 call$1($arguments) {
43869 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
43870 },
43871 $signature: 21
43872 };
43873 A._unquote_closure.prototype = {
43874 call$1($arguments) {
43875 var string = J.$index$asx($arguments, 0).assertString$1("string");
43876 if (!string._hasQuotes)
43877 return string;
43878 return new A.SassString(string._string$_text, false);
43879 },
43880 $signature: 14
43881 };
43882 A._quote_closure.prototype = {
43883 call$1($arguments) {
43884 var string = J.$index$asx($arguments, 0).assertString$1("string");
43885 if (string._hasQuotes)
43886 return string;
43887 return new A.SassString(string._string$_text, true);
43888 },
43889 $signature: 14
43890 };
43891 A._length_closure.prototype = {
43892 call$1($arguments) {
43893 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength();
43894 return new A.UnitlessSassNumber(t1, null);
43895 },
43896 $signature: 9
43897 };
43898 A._insert_closure.prototype = {
43899 call$1($arguments) {
43900 var indexInt, codeUnitIndex, _s5_ = "index",
43901 t1 = J.getInterceptor$asx($arguments),
43902 string = t1.$index($arguments, 0).assertString$1("string"),
43903 insert = t1.$index($arguments, 1).assertString$1("insert"),
43904 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
43905 index.assertNoUnits$1(_s5_);
43906 indexInt = index.assertInt$1(_s5_);
43907 if (indexInt < 0)
43908 indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
43909 t1 = string._string$_text;
43910 codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
43911 return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
43912 },
43913 $signature: 14
43914 };
43915 A._index_closure.prototype = {
43916 call$1($arguments) {
43917 var codepointIndex,
43918 t1 = J.getInterceptor$asx($arguments),
43919 t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
43920 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
43921 if (codeUnitIndex === -1)
43922 return B.C__SassNull;
43923 codepointIndex = A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex);
43924 return new A.UnitlessSassNumber(codepointIndex + 1, null);
43925 },
43926 $signature: 4
43927 };
43928 A._slice_closure.prototype = {
43929 call$1($arguments) {
43930 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
43931 _s8_ = "start-at",
43932 t1 = J.getInterceptor$asx($arguments),
43933 string = t1.$index($arguments, 0).assertString$1("string"),
43934 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
43935 end = t1.$index($arguments, 2).assertNumber$1("end-at");
43936 start.assertNoUnits$1(_s8_);
43937 end.assertNoUnits$1("end-at");
43938 lengthInCodepoints = string.get$_sassLength();
43939 endInt = end.assertInt$0();
43940 if (endInt === 0)
43941 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43942 startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
43943 endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
43944 if (endCodepoint === lengthInCodepoints)
43945 --endCodepoint;
43946 if (endCodepoint < startCodepoint)
43947 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43948 t1 = string._string$_text;
43949 return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
43950 },
43951 $signature: 14
43952 };
43953 A._toUpperCase_closure.prototype = {
43954 call$1($arguments) {
43955 var t1, t2, i, t3, t4,
43956 string = J.$index$asx($arguments, 0).assertString$1("string");
43957 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43958 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43959 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
43960 }
43961 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43962 },
43963 $signature: 14
43964 };
43965 A._toLowerCase_closure.prototype = {
43966 call$1($arguments) {
43967 var t1, t2, i, t3, t4,
43968 string = J.$index$asx($arguments, 0).assertString$1("string");
43969 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43970 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43971 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
43972 }
43973 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43974 },
43975 $signature: 14
43976 };
43977 A._uniqueId_closure.prototype = {
43978 call$1($arguments) {
43979 var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
43980 $._previousUniqueId = t1;
43981 if (t1 > Math.pow(36, 6))
43982 $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
43983 return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
43984 },
43985 $signature: 14
43986 };
43987 A.ImportCache.prototype = {
43988 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
43989 var relativeResult, _this = this;
43990 if (baseImporter != null) {
43991 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));
43992 if (relativeResult != null)
43993 return relativeResult;
43994 }
43995 return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
43996 },
43997 canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
43998 return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
43999 },
44000 _canonicalize$3(importer, url, forImport) {
44001 var t1, result;
44002 if (forImport) {
44003 t1 = type$.nullable_Object;
44004 result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
44005 } else
44006 result = importer.canonicalize$1(0, url);
44007 if ((result == null ? null : result.get$scheme()) === "")
44008 this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
44009 return result;
44010 },
44011 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
44012 return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
44013 },
44014 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
44015 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
44016 },
44017 importCanonical$2(importer, canonicalUrl) {
44018 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
44019 },
44020 humanize$1(canonicalUrl) {
44021 var t2, url,
44022 t1 = this._canonicalizeCache;
44023 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
44024 t2 = t1.$ti;
44025 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());
44026 if (url == null)
44027 return canonicalUrl;
44028 t1 = $.$get$url();
44029 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
44030 },
44031 sourceMapUrl$1(_, canonicalUrl) {
44032 var t1 = this._resultsCache.$index(0, canonicalUrl);
44033 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
44034 return t1 == null ? canonicalUrl : t1;
44035 },
44036 clearCanonicalize$1(url) {
44037 var t3, t4, _i,
44038 t1 = this._canonicalizeCache,
44039 t2 = type$.Tuple2_Uri_bool;
44040 t1.remove$1(0, new A.Tuple2(url, false, t2));
44041 t1.remove$1(0, new A.Tuple2(url, true, t2));
44042 t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
44043 for (t1 = this._relativeCanonicalizeCache, t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t3.moveNext$0();) {
44044 t4 = t3.__js_helper$_current;
44045 if (t4.item1.$eq(0, url))
44046 t2.push(t4);
44047 }
44048 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
44049 t1.remove$1(0, t2[_i]);
44050 },
44051 clearImport$1(canonicalUrl) {
44052 this._resultsCache.remove$1(0, canonicalUrl);
44053 this._importCache.remove$1(0, canonicalUrl);
44054 }
44055 };
44056 A.ImportCache_canonicalize_closure.prototype = {
44057 call$0() {
44058 var canonicalUrl, _this = this,
44059 t1 = _this.baseUrl,
44060 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
44061 if (resolvedUrl == null)
44062 resolvedUrl = _this.url;
44063 t1 = _this.baseImporter;
44064 canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
44065 if (canonicalUrl == null)
44066 return null;
44067 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
44068 },
44069 $signature: 76
44070 };
44071 A.ImportCache_canonicalize_closure0.prototype = {
44072 call$0() {
44073 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
44074 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) {
44075 importer = t2[_i];
44076 canonicalUrl = t1._canonicalize$3(importer, t4, t5);
44077 if (canonicalUrl != null)
44078 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
44079 }
44080 return null;
44081 },
44082 $signature: 76
44083 };
44084 A.ImportCache__canonicalize_closure.prototype = {
44085 call$0() {
44086 return this.importer.canonicalize$1(0, this.url);
44087 },
44088 $signature: 185
44089 };
44090 A.ImportCache_importCanonical_closure.prototype = {
44091 call$0() {
44092 var t3, _this = this,
44093 t1 = _this.canonicalUrl,
44094 result = _this.importer.load$1(0, t1),
44095 t2 = _this.$this;
44096 t2._resultsCache.$indexSet(0, t1, result);
44097 t3 = _this.originalUrl;
44098 t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
44099 t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
44100 return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
44101 },
44102 $signature: 77
44103 };
44104 A.ImportCache_humanize_closure.prototype = {
44105 call$1(tuple) {
44106 return tuple.item2.$eq(0, this.canonicalUrl);
44107 },
44108 $signature: 314
44109 };
44110 A.ImportCache_humanize_closure0.prototype = {
44111 call$1(tuple) {
44112 return tuple.item3;
44113 },
44114 $signature: 316
44115 };
44116 A.ImportCache_humanize_closure1.prototype = {
44117 call$1(url) {
44118 return url.get$path(url).length;
44119 },
44120 $signature: 96
44121 };
44122 A.Importer.prototype = {
44123 modificationTime$1(url) {
44124 return new A.DateTime(Date.now(), false);
44125 },
44126 couldCanonicalize$2(url, canonicalUrl) {
44127 return true;
44128 }
44129 };
44130 A.AsyncImporter.prototype = {};
44131 A.FilesystemImporter.prototype = {
44132 canonicalize$1(_, url) {
44133 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44134 return null;
44135 return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
44136 },
44137 load$1(_, url) {
44138 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
44139 t1 = A.readFile(path),
44140 t2 = A.Syntax_forPath(path),
44141 t3 = url.get$scheme();
44142 if (t3 === "")
44143 A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
44144 return new A.ImporterResult(t1, url, t2);
44145 },
44146 modificationTime$1(url) {
44147 return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
44148 },
44149 couldCanonicalize$2(url, canonicalUrl) {
44150 var t1, t2, t3, basename, canonicalBasename;
44151 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44152 return false;
44153 if (canonicalUrl.get$scheme() !== "file")
44154 return false;
44155 t1 = $.$get$url();
44156 t2 = url.get$path(url);
44157 t3 = t1.style;
44158 basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
44159 canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
44160 if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
44161 canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
44162 return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
44163 },
44164 toString$0(_) {
44165 return this._loadPath;
44166 }
44167 };
44168 A.FilesystemImporter_canonicalize_closure.prototype = {
44169 call$1(resolved) {
44170 var t1, t2, t0, _null = null;
44171 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
44172 t1 = $.$get$context();
44173 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
44174 t0 = t2;
44175 t2 = t1;
44176 t1 = t0;
44177 } else {
44178 t1 = $.$get$context();
44179 t2 = t1.canonicalize$1(0, resolved);
44180 t0 = t2;
44181 t2 = t1;
44182 t1 = t0;
44183 }
44184 return t2.toUri$1(t1);
44185 },
44186 $signature: 184
44187 };
44188 A.ImporterResult.prototype = {
44189 get$sourceMapUrl(_) {
44190 return this._sourceMapUrl;
44191 }
44192 };
44193 A.resolveImportPath_closure.prototype = {
44194 call$0() {
44195 return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
44196 },
44197 $signature: 41
44198 };
44199 A.resolveImportPath_closure0.prototype = {
44200 call$0() {
44201 return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
44202 },
44203 $signature: 41
44204 };
44205 A._tryPathAsDirectory_closure.prototype = {
44206 call$0() {
44207 return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
44208 },
44209 $signature: 41
44210 };
44211 A._exactlyOne_closure.prototype = {
44212 call$1(path) {
44213 var t1 = $.$get$context();
44214 return " " + t1.prettyUri$1(t1.toUri$1(path));
44215 },
44216 $signature: 5
44217 };
44218 A.InterpolationBuffer.prototype = {
44219 writeCharCode$1(character) {
44220 this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
44221 return null;
44222 },
44223 add$1(_, expression) {
44224 this._flushText$0();
44225 this._interpolation_buffer$_contents.push(expression);
44226 },
44227 addInterpolation$1(interpolation) {
44228 var first, t1, _this = this,
44229 toAdd = interpolation.contents;
44230 if (toAdd.length === 0)
44231 return;
44232 first = B.JSArray_methods.get$first(toAdd);
44233 if (typeof first == "string") {
44234 _this._interpolation_buffer$_text._contents += first;
44235 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
44236 }
44237 _this._flushText$0();
44238 t1 = _this._interpolation_buffer$_contents;
44239 B.JSArray_methods.addAll$1(t1, toAdd);
44240 if (typeof B.JSArray_methods.get$last(t1) == "string")
44241 _this._interpolation_buffer$_text._contents += A.S(t1.pop());
44242 },
44243 _flushText$0() {
44244 var t1 = this._interpolation_buffer$_text,
44245 t2 = t1._contents;
44246 if (t2.length === 0)
44247 return;
44248 this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44249 t1._contents = "";
44250 },
44251 interpolation$1(span) {
44252 var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
44253 t2 = this._interpolation_buffer$_text._contents;
44254 if (t2.length !== 0)
44255 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44256 return A.Interpolation$(t1, span);
44257 },
44258 toString$0(_) {
44259 var t1, t2, _i, t3, element;
44260 for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
44261 element = t1[_i];
44262 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
44263 }
44264 t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
44265 return t1.charCodeAt(0) == 0 ? t1 : t1;
44266 }
44267 };
44268 A._realCasePath_helper.prototype = {
44269 call$1(path) {
44270 var dirname = $.$get$context().dirname$1(path);
44271 if (dirname === path)
44272 return path;
44273 return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
44274 },
44275 $signature: 5
44276 };
44277 A._realCasePath_helper_closure.prototype = {
44278 call$0() {
44279 var matches, t2, exception,
44280 realDirname = this.helper.call$1(this.dirname),
44281 t1 = this.path,
44282 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
44283 try {
44284 matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
44285 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
44286 return t2;
44287 } catch (exception) {
44288 if (A.unwrapException(exception) instanceof A.FileSystemException)
44289 return t1;
44290 else
44291 throw exception;
44292 }
44293 },
44294 $signature: 29
44295 };
44296 A._realCasePath_helper__closure.prototype = {
44297 call$1(realPath) {
44298 return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
44299 },
44300 $signature: 6
44301 };
44302 A.FileSystemException.prototype = {
44303 toString$0(_) {
44304 var t1 = $.$get$context();
44305 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
44306 },
44307 get$message(receiver) {
44308 return this.message;
44309 }
44310 };
44311 A.Stderr.prototype = {
44312 writeln$1(object) {
44313 J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
44314 },
44315 writeln$0() {
44316 return this.writeln$1(null);
44317 }
44318 };
44319 A._readFile_closure.prototype = {
44320 call$0() {
44321 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
44322 },
44323 $signature: 94
44324 };
44325 A.writeFile_closure.prototype = {
44326 call$0() {
44327 return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
44328 },
44329 $signature: 0
44330 };
44331 A.deleteFile_closure.prototype = {
44332 call$0() {
44333 return J.unlinkSync$1$x(A.fs(), this.path);
44334 },
44335 $signature: 0
44336 };
44337 A.readStdin_closure.prototype = {
44338 call$1(result) {
44339 this._box_0.contents = result;
44340 this.completer.complete$1(result);
44341 },
44342 $signature: 116
44343 };
44344 A.readStdin_closure0.prototype = {
44345 call$1(chunk) {
44346 this.sink.add$1(0, type$.List_int._as(chunk));
44347 },
44348 call$0() {
44349 return this.call$1(null);
44350 },
44351 "call*": "call$1",
44352 $requiredArgCount: 0,
44353 $defaultValues() {
44354 return [null];
44355 },
44356 $signature: 71
44357 };
44358 A.readStdin_closure1.prototype = {
44359 call$1(_) {
44360 this.sink.close$0(0);
44361 },
44362 call$0() {
44363 return this.call$1(null);
44364 },
44365 "call*": "call$1",
44366 $requiredArgCount: 0,
44367 $defaultValues() {
44368 return [null];
44369 },
44370 $signature: 71
44371 };
44372 A.readStdin_closure2.prototype = {
44373 call$1(e) {
44374 var t1 = $.$get$stderr();
44375 t1.writeln$1("Failed to read from stdin");
44376 t1.writeln$1(e);
44377 e.toString;
44378 this.completer.completeError$1(e);
44379 },
44380 call$0() {
44381 return this.call$1(null);
44382 },
44383 "call*": "call$1",
44384 $requiredArgCount: 0,
44385 $defaultValues() {
44386 return [null];
44387 },
44388 $signature: 71
44389 };
44390 A.fileExists_closure.prototype = {
44391 call$0() {
44392 var error, systemError, exception,
44393 t1 = this.path;
44394 if (!J.existsSync$1$x(A.fs(), t1))
44395 return false;
44396 try {
44397 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
44398 return t1;
44399 } catch (exception) {
44400 error = A.unwrapException(exception);
44401 systemError = type$.JsSystemError._as(error);
44402 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44403 return false;
44404 throw exception;
44405 }
44406 },
44407 $signature: 26
44408 };
44409 A.dirExists_closure.prototype = {
44410 call$0() {
44411 var error, systemError, exception,
44412 t1 = this.path;
44413 if (!J.existsSync$1$x(A.fs(), t1))
44414 return false;
44415 try {
44416 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
44417 return t1;
44418 } catch (exception) {
44419 error = A.unwrapException(exception);
44420 systemError = type$.JsSystemError._as(error);
44421 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44422 return false;
44423 throw exception;
44424 }
44425 },
44426 $signature: 26
44427 };
44428 A.ensureDir_closure.prototype = {
44429 call$0() {
44430 var error, systemError, exception, t1;
44431 try {
44432 J.mkdirSync$1$x(A.fs(), this.path);
44433 } catch (exception) {
44434 error = A.unwrapException(exception);
44435 systemError = type$.JsSystemError._as(error);
44436 if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
44437 return;
44438 if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
44439 throw exception;
44440 t1 = this.path;
44441 A.ensureDir($.$get$context().dirname$1(t1));
44442 J.mkdirSync$1$x(A.fs(), t1);
44443 }
44444 },
44445 $signature: 0
44446 };
44447 A.listDir_closure.prototype = {
44448 call$0() {
44449 var t1 = this.path;
44450 if (!this.recursive)
44451 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());
44452 else
44453 return new A.listDir_closure_list().call$1(t1);
44454 },
44455 $signature: 183
44456 };
44457 A.listDir__closure.prototype = {
44458 call$1(child) {
44459 return A.join(this.path, A._asString(child), null);
44460 },
44461 $signature: 91
44462 };
44463 A.listDir__closure0.prototype = {
44464 call$1(child) {
44465 return !A.dirExists(child);
44466 },
44467 $signature: 6
44468 };
44469 A.listDir_closure_list.prototype = {
44470 call$1($parent) {
44471 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
44472 },
44473 $signature: 144
44474 };
44475 A.listDir__list_closure.prototype = {
44476 call$1(child) {
44477 var path = A.join(this.parent, A._asString(child), null);
44478 return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
44479 },
44480 $signature: 181
44481 };
44482 A.modificationTime_closure.prototype = {
44483 call$0() {
44484 var t2,
44485 t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
44486 if (Math.abs(t1) <= 864e13)
44487 t2 = false;
44488 else
44489 t2 = true;
44490 if (t2)
44491 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
44492 A.checkNotNullable(false, "isUtc", type$.bool);
44493 return new A.DateTime(t1, false);
44494 },
44495 $signature: 180
44496 };
44497 A.watchDir_closure.prototype = {
44498 call$2(path, _) {
44499 var t1 = this._box_0.controller;
44500 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
44501 },
44502 call$1(path) {
44503 return this.call$2(path, null);
44504 },
44505 "call*": "call$2",
44506 $requiredArgCount: 1,
44507 $defaultValues() {
44508 return [null];
44509 },
44510 $signature: 177
44511 };
44512 A.watchDir_closure0.prototype = {
44513 call$2(path, _) {
44514 var t1 = this._box_0.controller;
44515 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
44516 },
44517 call$1(path) {
44518 return this.call$2(path, null);
44519 },
44520 "call*": "call$2",
44521 $requiredArgCount: 1,
44522 $defaultValues() {
44523 return [null];
44524 },
44525 $signature: 177
44526 };
44527 A.watchDir_closure1.prototype = {
44528 call$1(path) {
44529 var t1 = this._box_0.controller;
44530 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
44531 },
44532 $signature: 116
44533 };
44534 A.watchDir_closure2.prototype = {
44535 call$1(error) {
44536 var t1 = this._box_0.controller;
44537 return t1 == null ? null : t1.addError$1(error);
44538 },
44539 $signature: 107
44540 };
44541 A.watchDir_closure3.prototype = {
44542 call$0() {
44543 var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
44544 this._box_0.controller = controller;
44545 this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
44546 },
44547 $signature: 1
44548 };
44549 A.watchDir__closure.prototype = {
44550 call$0() {
44551 J.close$0$x(this.watcher);
44552 },
44553 $signature: 1
44554 };
44555 A._QuietLogger.prototype = {
44556 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44557 },
44558 warn$1($receiver, message) {
44559 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44560 },
44561 warn$2$span($receiver, message, span) {
44562 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44563 },
44564 warn$2$deprecation($receiver, message, deprecation) {
44565 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44566 },
44567 warn$3$deprecation$span($receiver, message, deprecation, span) {
44568 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44569 },
44570 warn$2$trace($receiver, message, trace) {
44571 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44572 },
44573 debug$2(_, message, span) {
44574 }
44575 };
44576 A.StderrLogger.prototype = {
44577 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44578 var t2, t3, t4,
44579 t1 = this.color;
44580 if (t1) {
44581 t2 = $.$get$stderr();
44582 t3 = t2._stderr;
44583 t4 = J.getInterceptor$x(t3);
44584 t4.write$1(t3, "\x1b[33m\x1b[1m");
44585 if (deprecation)
44586 t4.write$1(t3, "Deprecation ");
44587 t4.write$1(t3, "Warning\x1b[0m");
44588 } else {
44589 if (deprecation)
44590 J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
44591 t2 = $.$get$stderr();
44592 J.write$1$x(t2._stderr, "WARNING");
44593 }
44594 if (span == null)
44595 t2.writeln$1(": " + message);
44596 else if (trace != null)
44597 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
44598 else
44599 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
44600 if (trace != null)
44601 t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
44602 t2.writeln$0();
44603 },
44604 warn$1($receiver, message) {
44605 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44606 },
44607 warn$2$span($receiver, message, span) {
44608 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44609 },
44610 warn$2$deprecation($receiver, message, deprecation) {
44611 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44612 },
44613 warn$3$deprecation$span($receiver, message, deprecation, span) {
44614 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44615 },
44616 warn$2$trace($receiver, message, trace) {
44617 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44618 },
44619 debug$2(_, message, span) {
44620 var url, t3, t4,
44621 t1 = span.file,
44622 t2 = span._file$_start;
44623 if (A.FileLocation$_(t1, t2).file.url == null)
44624 url = "-";
44625 else {
44626 t3 = A.FileLocation$_(t1, t2);
44627 url = $.$get$context().prettyUri$1(t3.file.url);
44628 }
44629 t3 = $.$get$stderr();
44630 t2 = A.FileLocation$_(t1, t2);
44631 t2 = t2.file.getLine$1(t2.offset);
44632 t1 = t3._stderr;
44633 t4 = J.getInterceptor$x(t1);
44634 t4.write$1(t1, url + ":" + (t2 + 1) + " ");
44635 t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
44636 t3.writeln$1(": " + message);
44637 }
44638 };
44639 A.TerseLogger.prototype = {
44640 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44641 var firstParagraph, t1, t2, count;
44642 if (deprecation) {
44643 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
44644 t1 = this._warningCounts;
44645 t2 = t1.$index(0, firstParagraph);
44646 count = (t2 == null ? 0 : t2) + 1;
44647 t1.$indexSet(0, firstParagraph, count);
44648 if (count > 5)
44649 return;
44650 }
44651 this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44652 },
44653 warn$2$span($receiver, message, span) {
44654 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44655 },
44656 warn$2$deprecation($receiver, message, deprecation) {
44657 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44658 },
44659 warn$3$deprecation$span($receiver, message, deprecation, span) {
44660 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44661 },
44662 warn$2$trace($receiver, message, trace) {
44663 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44664 },
44665 debug$2(_, message, span) {
44666 return this._inner.debug$2(0, message, span);
44667 },
44668 summarize$1$node(node) {
44669 var t2, total,
44670 t1 = this._warningCounts;
44671 t1 = t1.get$values(t1);
44672 t2 = A._instanceType(t1);
44673 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>")));
44674 if (total > 0) {
44675 t1 = node ? "" : string$.x0aRun_i;
44676 this._inner.warn$1(0, "" + total + string$.x20repet + t1);
44677 }
44678 }
44679 };
44680 A.TerseLogger_summarize_closure.prototype = {
44681 call$1(count) {
44682 return count > 5;
44683 },
44684 $signature: 57
44685 };
44686 A.TerseLogger_summarize_closure0.prototype = {
44687 call$1(count) {
44688 return count - 5;
44689 },
44690 $signature: 175
44691 };
44692 A.TrackingLogger.prototype = {
44693 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44694 this._emittedWarning = true;
44695 this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44696 },
44697 warn$2$span($receiver, message, span) {
44698 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44699 },
44700 warn$2$deprecation($receiver, message, deprecation) {
44701 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44702 },
44703 warn$3$deprecation$span($receiver, message, deprecation, span) {
44704 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44705 },
44706 warn$2$trace($receiver, message, trace) {
44707 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44708 },
44709 debug$2(_, message, span) {
44710 this._emittedDebug = true;
44711 this._tracking$_logger.debug$2(0, message, span);
44712 }
44713 };
44714 A.BuiltInModule.prototype = {
44715 get$upstream() {
44716 return B.List_empty3;
44717 },
44718 get$variableNodes() {
44719 return B.Map_empty0;
44720 },
44721 get$extensionStore() {
44722 return B.C_EmptyExtensionStore;
44723 },
44724 get$css(_) {
44725 return new A.CssStylesheet(B.List_empty0, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
44726 },
44727 get$transitivelyContainsCss() {
44728 return false;
44729 },
44730 get$transitivelyContainsExtensions() {
44731 return false;
44732 },
44733 setVariable$3($name, value, nodeWithSpan) {
44734 if (!this.variables.containsKey$1($name))
44735 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44736 throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable."));
44737 },
44738 variableIdentity$1($name) {
44739 return this;
44740 },
44741 cloneCss$0() {
44742 return this;
44743 },
44744 $isModule: 1,
44745 get$url(receiver) {
44746 return this.url;
44747 },
44748 get$functions(receiver) {
44749 return this.functions;
44750 },
44751 get$mixins() {
44752 return this.mixins;
44753 },
44754 get$variables() {
44755 return this.variables;
44756 }
44757 };
44758 A.ForwardedModuleView.prototype = {
44759 get$url(_) {
44760 var t1 = this._forwarded_view$_inner;
44761 return t1.get$url(t1);
44762 },
44763 get$upstream() {
44764 return this._forwarded_view$_inner.get$upstream();
44765 },
44766 get$extensionStore() {
44767 return this._forwarded_view$_inner.get$extensionStore();
44768 },
44769 get$css(_) {
44770 var t1 = this._forwarded_view$_inner;
44771 return t1.get$css(t1);
44772 },
44773 get$transitivelyContainsCss() {
44774 return this._forwarded_view$_inner.get$transitivelyContainsCss();
44775 },
44776 get$transitivelyContainsExtensions() {
44777 return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
44778 },
44779 setVariable$3($name, value, nodeWithSpan) {
44780 var prefix,
44781 _s19_ = "Undefined variable.",
44782 t1 = this._rule,
44783 shownVariables = t1.shownVariables,
44784 hiddenVariables = t1.hiddenVariables;
44785 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
44786 throw A.wrapException(A.SassScriptException$(_s19_));
44787 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
44788 throw A.wrapException(A.SassScriptException$(_s19_));
44789 prefix = t1.prefix;
44790 if (prefix != null) {
44791 if (!B.JSString_methods.startsWith$1($name, prefix))
44792 throw A.wrapException(A.SassScriptException$(_s19_));
44793 $name = B.JSString_methods.substring$1($name, prefix.length);
44794 }
44795 return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
44796 },
44797 variableIdentity$1($name) {
44798 var prefix = this._rule.prefix;
44799 if (prefix != null)
44800 $name = B.JSString_methods.substring$1($name, prefix.length);
44801 return this._forwarded_view$_inner.variableIdentity$1($name);
44802 },
44803 $eq(_, other) {
44804 if (other == null)
44805 return false;
44806 return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
44807 },
44808 get$hashCode(_) {
44809 var t1 = this._forwarded_view$_inner;
44810 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
44811 },
44812 cloneCss$0() {
44813 return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
44814 },
44815 toString$0(_) {
44816 return "forwarded " + this._forwarded_view$_inner.toString$0(0);
44817 },
44818 $isModule: 1,
44819 get$variables() {
44820 return this.variables;
44821 },
44822 get$variableNodes() {
44823 return this.variableNodes;
44824 },
44825 get$functions(receiver) {
44826 return this.functions;
44827 },
44828 get$mixins() {
44829 return this.mixins;
44830 }
44831 };
44832 A.ShadowedModuleView.prototype = {
44833 get$url(_) {
44834 var t1 = this._shadowed_view$_inner;
44835 return t1.get$url(t1);
44836 },
44837 get$upstream() {
44838 return this._shadowed_view$_inner.get$upstream();
44839 },
44840 get$extensionStore() {
44841 return this._shadowed_view$_inner.get$extensionStore();
44842 },
44843 get$css(_) {
44844 var t1 = this._shadowed_view$_inner;
44845 return t1.get$css(t1);
44846 },
44847 get$transitivelyContainsCss() {
44848 return this._shadowed_view$_inner.get$transitivelyContainsCss();
44849 },
44850 get$transitivelyContainsExtensions() {
44851 return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
44852 },
44853 setVariable$3($name, value, nodeWithSpan) {
44854 if (!this.variables.containsKey$1($name))
44855 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44856 else
44857 return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
44858 },
44859 variableIdentity$1($name) {
44860 return this._shadowed_view$_inner.variableIdentity$1($name);
44861 },
44862 $eq(_, other) {
44863 var t1, t2, _this = this;
44864 if (other == null)
44865 return false;
44866 if (other instanceof A.ShadowedModuleView)
44867 if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
44868 t1 = _this.variables;
44869 t1 = t1.get$keys(t1);
44870 t2 = other.variables;
44871 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44872 t1 = _this.functions;
44873 t1 = t1.get$keys(t1);
44874 t2 = other.functions;
44875 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44876 t1 = _this.mixins;
44877 t1 = t1.get$keys(t1);
44878 t2 = other.mixins;
44879 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
44880 t1 = t2;
44881 } else
44882 t1 = false;
44883 } else
44884 t1 = false;
44885 } else
44886 t1 = false;
44887 else
44888 t1 = false;
44889 return t1;
44890 },
44891 get$hashCode(_) {
44892 var t1 = this._shadowed_view$_inner;
44893 return t1.get$hashCode(t1);
44894 },
44895 cloneCss$0() {
44896 var _this = this;
44897 return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
44898 },
44899 toString$0(_) {
44900 return "shadowed " + this._shadowed_view$_inner.toString$0(0);
44901 },
44902 $isModule: 1,
44903 get$variables() {
44904 return this.variables;
44905 },
44906 get$variableNodes() {
44907 return this.variableNodes;
44908 },
44909 get$functions(receiver) {
44910 return this.functions;
44911 },
44912 get$mixins() {
44913 return this.mixins;
44914 }
44915 };
44916 A.JSArray0.prototype = {};
44917 A.Chokidar.prototype = {};
44918 A.ChokidarOptions.prototype = {};
44919 A.ChokidarWatcher.prototype = {};
44920 A.JSFunction.prototype = {};
44921 A.NodeImporterResult.prototype = {};
44922 A.RenderContext.prototype = {};
44923 A.RenderContextOptions.prototype = {};
44924 A.RenderContextResult.prototype = {};
44925 A.RenderContextResultStats.prototype = {};
44926 A.JSClass.prototype = {};
44927 A.JSUrl.prototype = {};
44928 A._PropertyDescriptor.prototype = {};
44929 A.AtRootQueryParser.prototype = {
44930 parse$0() {
44931 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
44932 }
44933 };
44934 A.AtRootQueryParser_parse_closure.prototype = {
44935 call$0() {
44936 var include, atRules,
44937 t1 = this.$this,
44938 t2 = t1.scanner;
44939 t2.expectChar$1(40);
44940 t1.whitespace$0();
44941 include = t1.scanIdentifier$1("with");
44942 if (!include)
44943 t1.expectIdentifier$2$name("without", '"with" or "without"');
44944 t1.whitespace$0();
44945 t2.expectChar$1(58);
44946 t1.whitespace$0();
44947 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
44948 do {
44949 atRules.add$1(0, t1.identifier$0().toLowerCase());
44950 t1.whitespace$0();
44951 } while (t1.lookingAtIdentifier$0());
44952 t2.expectChar$1(41);
44953 t2.expectDone$0();
44954 return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
44955 },
44956 $signature: 104
44957 };
44958 A._disallowedFunctionNames_closure.prototype = {
44959 call$1($function) {
44960 return $function.name;
44961 },
44962 $signature: 336
44963 };
44964 A.CssParser.prototype = {
44965 get$plainCss() {
44966 return true;
44967 },
44968 silentComment$0() {
44969 var t1 = this.scanner,
44970 t2 = t1._string_scanner$_position;
44971 this.super$Parser$silentComment();
44972 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
44973 },
44974 atRule$2$root(child, root) {
44975 var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
44976 t1 = _this.scanner,
44977 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
44978 t1.expectChar$1(64);
44979 $name = _this.interpolatedIdentifier$0();
44980 _this.whitespace$0();
44981 switch ($name.get$asPlain()) {
44982 case "at-root":
44983 case "content":
44984 case "debug":
44985 case "each":
44986 case "error":
44987 case "extend":
44988 case "for":
44989 case "function":
44990 case "if":
44991 case "include":
44992 case "mixin":
44993 case "return":
44994 case "warn":
44995 case "while":
44996 _this.almostAnyValue$0();
44997 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
44998 break;
44999 case "import":
45000 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
45001 next = t1.peekChar$0();
45002 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
45003 urlSpan = t1.spanFrom$1(urlStart);
45004 _this.whitespace$0();
45005 modifiers = _this.tryImportModifiers$0();
45006 _this.expectStatementSeparator$1("@import rule");
45007 t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
45008 t1 = t1.spanFrom$1(start);
45009 return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
45010 case "media":
45011 return _this.mediaRule$1(start);
45012 case "-moz-document":
45013 return _this.mozDocumentRule$2(start, $name);
45014 case "supports":
45015 return _this.supportsRule$1(start);
45016 default:
45017 return _this.unknownAtRule$2(start, $name);
45018 }
45019 },
45020 identifierLike$0() {
45021 var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
45022 t1 = _this.scanner,
45023 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
45024 identifier = _this.interpolatedIdentifier$0(),
45025 plain = identifier.get$asPlain(),
45026 lower = plain.toLowerCase(),
45027 specialFunction = _this.trySpecialFunction$2(lower, start);
45028 if (specialFunction != null)
45029 return specialFunction;
45030 t2 = t1._string_scanner$_position;
45031 if (!t1.scanChar$1(40))
45032 return new A.StringExpression(identifier, false);
45033 allowEmptySecondArg = lower === "var";
45034 $arguments = A._setArrayType([], type$.JSArray_Expression);
45035 if (!t1.scanChar$1(41)) {
45036 do {
45037 _this.whitespace$0();
45038 if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
45039 t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
45040 t4 = t3.offset;
45041 t4 = A._FileSpan$(t3.file, t4, t4);
45042 $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
45043 break;
45044 }
45045 $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
45046 _this.whitespace$0();
45047 } while (t1.scanChar$1(44));
45048 t1.expectChar$1(41);
45049 }
45050 if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
45051 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
45052 t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
45053 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
45054 t4 = type$.Expression;
45055 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));
45056 },
45057 namespacedExpression$2(namespace, start) {
45058 var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
45059 this.error$2(0, string$.Modulen, expression.get$span(expression));
45060 }
45061 };
45062 A.KeyframeSelectorParser.prototype = {
45063 parse$0() {
45064 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
45065 },
45066 _percentage$0() {
45067 var t3, next,
45068 t1 = this.scanner,
45069 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
45070 second = t1.peekChar$0();
45071 if (!A.isDigit(second) && second !== 46)
45072 t1.error$1(0, "Expected number.");
45073 while (true) {
45074 t3 = t1.peekChar$0();
45075 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45076 break;
45077 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45078 }
45079 if (t1.peekChar$0() === 46) {
45080 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45081 while (true) {
45082 t3 = t1.peekChar$0();
45083 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45084 break;
45085 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45086 }
45087 }
45088 if (this.scanIdentChar$1(101)) {
45089 t2 += A.Primitives_stringFromCharCode(101);
45090 next = t1.peekChar$0();
45091 if (next === 43 || next === 45)
45092 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45093 if (!A.isDigit(t1.peekChar$0()))
45094 t1.error$1(0, "Expected digit.");
45095 while (true) {
45096 t3 = t1.peekChar$0();
45097 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45098 break;
45099 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45100 }
45101 }
45102 t1.expectChar$1(37);
45103 t2 += A.Primitives_stringFromCharCode(37);
45104 return t2.charCodeAt(0) == 0 ? t2 : t2;
45105 }
45106 };
45107 A.KeyframeSelectorParser_parse_closure.prototype = {
45108 call$0() {
45109 var selectors = A._setArrayType([], type$.JSArray_String),
45110 t1 = this.$this,
45111 t2 = t1.scanner;
45112 do {
45113 t1.whitespace$0();
45114 if (t1.lookingAtIdentifier$0())
45115 if (t1.scanIdentifier$1("from"))
45116 selectors.push("from");
45117 else {
45118 t1.expectIdentifier$2$name("to", '"to" or "from"');
45119 selectors.push("to");
45120 }
45121 else
45122 selectors.push(t1._percentage$0());
45123 t1.whitespace$0();
45124 } while (t2.scanChar$1(44));
45125 t2.expectDone$0();
45126 return selectors;
45127 },
45128 $signature: 46
45129 };
45130 A.MediaQueryParser.prototype = {
45131 parse$0() {
45132 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
45133 },
45134 _mediaQuery$0() {
45135 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
45136 t1 = _this.scanner;
45137 if (t1.peekChar$0() !== 40) {
45138 identifier1 = _this.identifier$0();
45139 _this.whitespace$0();
45140 if (!_this.lookingAtIdentifier$0())
45141 return new A.CssMediaQuery(_null, identifier1, B.List_empty);
45142 identifier2 = _this.identifier$0();
45143 _this.whitespace$0();
45144 if (A.equalsIgnoreCase(identifier2, "and")) {
45145 type = identifier1;
45146 modifier = _null;
45147 } else {
45148 if (_this.scanIdentifier$1("and"))
45149 _this.whitespace$0();
45150 else
45151 return new A.CssMediaQuery(identifier1, identifier2, B.List_empty);
45152 type = identifier2;
45153 modifier = identifier1;
45154 }
45155 } else {
45156 type = _null;
45157 modifier = type;
45158 }
45159 features = A._setArrayType([], type$.JSArray_String);
45160 do {
45161 _this.whitespace$0();
45162 t1.expectChar$1(40);
45163 features.push("(" + _this.declarationValue$0() + ")");
45164 t1.expectChar$1(41);
45165 _this.whitespace$0();
45166 } while (_this.scanIdentifier$1("and"));
45167 if (type == null)
45168 return new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(features, type$.String));
45169 else {
45170 t1 = A.List_List$unmodifiable(features, type$.String);
45171 return new A.CssMediaQuery(modifier, type, t1);
45172 }
45173 }
45174 };
45175 A.MediaQueryParser_parse_closure.prototype = {
45176 call$0() {
45177 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
45178 t1 = this.$this,
45179 t2 = t1.scanner;
45180 do {
45181 t1.whitespace$0();
45182 queries.push(t1._mediaQuery$0());
45183 } while (t2.scanChar$1(44));
45184 t2.expectDone$0();
45185 return queries;
45186 },
45187 $signature: 103
45188 };
45189 A.Parser.prototype = {
45190 _parseIdentifier$0() {
45191 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
45192 },
45193 _isVariableDeclarationLike$0() {
45194 var _this = this,
45195 t1 = _this.scanner;
45196 if (!t1.scanChar$1(36))
45197 return false;
45198 if (!_this.lookingAtIdentifier$0())
45199 return false;
45200 _this.identifier$0();
45201 _this.whitespace$0();
45202 return t1.scanChar$1(58);
45203 },
45204 whitespace$0() {
45205 do
45206 this.whitespaceWithoutComments$0();
45207 while (this.scanComment$0());
45208 },
45209 whitespaceWithoutComments$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 || t3 === 10 || t3 === 13 || t3 === 12;
45217 } else
45218 t3 = false;
45219 if (!t3)
45220 break;
45221 t1.readChar$0();
45222 }
45223 },
45224 spaces$0() {
45225 var t3,
45226 t1 = this.scanner,
45227 t2 = t1.string.length;
45228 while (true) {
45229 if (t1._string_scanner$_position !== t2) {
45230 t3 = t1.peekChar$0();
45231 t3 = t3 === 32 || t3 === 9;
45232 } else
45233 t3 = false;
45234 if (!t3)
45235 break;
45236 t1.readChar$0();
45237 }
45238 },
45239 scanComment$0() {
45240 var next,
45241 t1 = this.scanner;
45242 if (t1.peekChar$0() !== 47)
45243 return false;
45244 next = t1.peekChar$1(1);
45245 if (next === 47) {
45246 this.silentComment$0();
45247 return true;
45248 } else if (next === 42) {
45249 this.loudComment$0();
45250 return true;
45251 } else
45252 return false;
45253 },
45254 silentComment$0() {
45255 var t2, t3,
45256 t1 = this.scanner;
45257 t1.expect$1("//");
45258 t2 = t1.string.length;
45259 while (true) {
45260 if (t1._string_scanner$_position !== t2) {
45261 t3 = t1.peekChar$0();
45262 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
45263 } else
45264 t3 = false;
45265 if (!t3)
45266 break;
45267 t1.readChar$0();
45268 }
45269 },
45270 loudComment$0() {
45271 var next,
45272 t1 = this.scanner;
45273 t1.expect$1("/*");
45274 for (; true;) {
45275 if (t1.readChar$0() !== 42)
45276 continue;
45277 do
45278 next = t1.readChar$0();
45279 while (next === 42);
45280 if (next === 47)
45281 break;
45282 }
45283 },
45284 identifier$2$normalize$unit(normalize, unit) {
45285 var t2, first, _this = this,
45286 _s20_ = "Expected identifier.",
45287 text = new A.StringBuffer(""),
45288 t1 = _this.scanner;
45289 if (t1.scanChar$1(45)) {
45290 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
45291 if (t1.scanChar$1(45)) {
45292 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45293 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45294 t1 = text._contents;
45295 return t1.charCodeAt(0) == 0 ? t1 : t1;
45296 }
45297 } else
45298 t2 = "";
45299 first = t1.peekChar$0();
45300 if (first == null)
45301 t1.error$1(0, _s20_);
45302 else if (normalize && first === 95) {
45303 t1.readChar$0();
45304 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45305 } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
45306 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
45307 else if (first === 92)
45308 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
45309 else
45310 t1.error$1(0, _s20_);
45311 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45312 t1 = text._contents;
45313 return t1.charCodeAt(0) == 0 ? t1 : t1;
45314 },
45315 identifier$0() {
45316 return this.identifier$2$normalize$unit(false, false);
45317 },
45318 identifier$1$normalize(normalize) {
45319 return this.identifier$2$normalize$unit(normalize, false);
45320 },
45321 identifier$1$unit(unit) {
45322 return this.identifier$2$normalize$unit(false, unit);
45323 },
45324 _identifierBody$3$normalize$unit(text, normalize, unit) {
45325 var t1, next, second, t2;
45326 for (t1 = this.scanner; true;) {
45327 next = t1.peekChar$0();
45328 if (next == null)
45329 break;
45330 else if (unit && next === 45) {
45331 second = t1.peekChar$1(1);
45332 if (second != null)
45333 if (second !== 46)
45334 t2 = second >= 48 && second <= 57;
45335 else
45336 t2 = true;
45337 else
45338 t2 = false;
45339 if (t2)
45340 break;
45341 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45342 } else if (normalize && next === 95) {
45343 t1.readChar$0();
45344 text._contents += A.Primitives_stringFromCharCode(45);
45345 } else {
45346 if (next !== 95) {
45347 if (!(next >= 97 && next <= 122))
45348 t2 = next >= 65 && next <= 90;
45349 else
45350 t2 = true;
45351 t2 = t2 || next >= 128;
45352 } else
45353 t2 = true;
45354 if (!t2) {
45355 t2 = next >= 48 && next <= 57;
45356 t2 = t2 || next === 45;
45357 } else
45358 t2 = true;
45359 if (t2)
45360 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45361 else if (next === 92)
45362 text._contents += A.S(this.escape$0());
45363 else
45364 break;
45365 }
45366 }
45367 },
45368 _identifierBody$1(text) {
45369 return this._identifierBody$3$normalize$unit(text, false, false);
45370 },
45371 string$0() {
45372 var buffer, next, t2,
45373 t1 = this.scanner,
45374 quote = t1.readChar$0();
45375 if (quote !== 39 && quote !== 34)
45376 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
45377 buffer = new A.StringBuffer("");
45378 for (; true;) {
45379 next = t1.peekChar$0();
45380 if (next === quote) {
45381 t1.readChar$0();
45382 break;
45383 } else if (next == null || next === 10 || next === 13 || next === 12)
45384 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
45385 else if (next === 92) {
45386 t2 = t1.peekChar$1(1);
45387 if (t2 === 10 || t2 === 13 || t2 === 12) {
45388 t1.readChar$0();
45389 t1.readChar$0();
45390 } else
45391 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
45392 } else
45393 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45394 }
45395 t1 = buffer._contents;
45396 return t1.charCodeAt(0) == 0 ? t1 : t1;
45397 },
45398 naturalNumber$0() {
45399 var number, t2,
45400 t1 = this.scanner,
45401 first = t1.readChar$0();
45402 if (!A.isDigit(first))
45403 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
45404 number = first - 48;
45405 while (true) {
45406 t2 = t1.peekChar$0();
45407 if (!(t2 != null && t2 >= 48 && t2 <= 57))
45408 break;
45409 number = number * 10 + (t1.readChar$0() - 48);
45410 }
45411 return number;
45412 },
45413 declarationValue$1$allowEmpty(allowEmpty) {
45414 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
45415 buffer = new A.StringBuffer(""),
45416 brackets = A._setArrayType([], type$.JSArray_int);
45417 $label0$1:
45418 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
45419 next = t1.peekChar$0();
45420 switch (next) {
45421 case 92:
45422 buffer._contents += A.S(_this.escape$1$identifierStart(true));
45423 wroteNewline = false;
45424 break;
45425 case 34:
45426 case 39:
45427 start = t1._string_scanner$_position;
45428 t2.call$0();
45429 end = t1._string_scanner$_position;
45430 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45431 wroteNewline = false;
45432 break;
45433 case 47:
45434 if (t1.peekChar$1(1) === 42) {
45435 t3 = _this.get$loudComment();
45436 start = t1._string_scanner$_position;
45437 t3.call$0();
45438 end = t1._string_scanner$_position;
45439 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45440 } else
45441 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45442 wroteNewline = false;
45443 break;
45444 case 32:
45445 case 9:
45446 if (!wroteNewline) {
45447 t3 = t1.peekChar$1(1);
45448 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
45449 } else
45450 t3 = true;
45451 if (t3)
45452 buffer._contents += A.Primitives_stringFromCharCode(32);
45453 t1.readChar$0();
45454 break;
45455 case 10:
45456 case 13:
45457 case 12:
45458 t3 = t1.peekChar$1(-1);
45459 if (!(t3 === 10 || t3 === 13 || t3 === 12))
45460 buffer._contents += "\n";
45461 t1.readChar$0();
45462 wroteNewline = true;
45463 break;
45464 case 40:
45465 case 123:
45466 case 91:
45467 next.toString;
45468 buffer._contents += A.Primitives_stringFromCharCode(next);
45469 brackets.push(A.opposite(t1.readChar$0()));
45470 wroteNewline = false;
45471 break;
45472 case 41:
45473 case 125:
45474 case 93:
45475 if (brackets.length === 0)
45476 break $label0$1;
45477 next.toString;
45478 buffer._contents += A.Primitives_stringFromCharCode(next);
45479 t1.expectChar$1(brackets.pop());
45480 wroteNewline = false;
45481 break;
45482 case 59:
45483 if (brackets.length === 0)
45484 break $label0$1;
45485 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45486 break;
45487 case 117:
45488 case 85:
45489 url = _this.tryUrl$0();
45490 if (url != null)
45491 buffer._contents += url;
45492 else
45493 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45494 wroteNewline = false;
45495 break;
45496 default:
45497 if (next == null)
45498 break $label0$1;
45499 if (_this.lookingAtIdentifier$0())
45500 buffer._contents += _this.identifier$0();
45501 else
45502 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45503 wroteNewline = false;
45504 break;
45505 }
45506 }
45507 if (brackets.length !== 0)
45508 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
45509 if (!allowEmpty && buffer._contents.length === 0)
45510 t1.error$1(0, "Expected token.");
45511 t1 = buffer._contents;
45512 return t1.charCodeAt(0) == 0 ? t1 : t1;
45513 },
45514 declarationValue$0() {
45515 return this.declarationValue$1$allowEmpty(false);
45516 },
45517 tryUrl$0() {
45518 var buffer, next, t2, _this = this,
45519 t1 = _this.scanner,
45520 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45521 if (!_this.scanIdentifier$1("url"))
45522 return null;
45523 if (!t1.scanChar$1(40)) {
45524 t1.set$state(start);
45525 return null;
45526 }
45527 _this.whitespace$0();
45528 buffer = new A.StringBuffer("");
45529 buffer._contents = "" + "url(";
45530 for (; true;) {
45531 next = t1.peekChar$0();
45532 if (next == null)
45533 break;
45534 else if (next === 92)
45535 buffer._contents += A.S(_this.escape$0());
45536 else {
45537 if (next !== 37)
45538 if (next !== 38)
45539 if (next !== 35)
45540 t2 = next >= 42 && next <= 126 || next >= 128;
45541 else
45542 t2 = true;
45543 else
45544 t2 = true;
45545 else
45546 t2 = true;
45547 if (t2)
45548 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45549 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
45550 _this.whitespace$0();
45551 if (t1.peekChar$0() !== 41)
45552 break;
45553 } else if (next === 41) {
45554 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45555 return t2.charCodeAt(0) == 0 ? t2 : t2;
45556 } else
45557 break;
45558 }
45559 }
45560 t1.set$state(start);
45561 return null;
45562 },
45563 variableName$0() {
45564 this.scanner.expectChar$1(36);
45565 return this.identifier$1$normalize(true);
45566 },
45567 escape$1$identifierStart(identifierStart) {
45568 var value, first, i, next, t2, exception,
45569 _s25_ = "Expected escape sequence.",
45570 t1 = this.scanner,
45571 start = t1._string_scanner$_position;
45572 t1.expectChar$1(92);
45573 value = 0;
45574 first = t1.peekChar$0();
45575 if (first == null)
45576 t1.error$1(0, _s25_);
45577 else if (first === 10 || first === 13 || first === 12)
45578 t1.error$1(0, _s25_);
45579 else if (A.isHex(first)) {
45580 for (i = 0; i < 6; ++i) {
45581 next = t1.peekChar$0();
45582 if (next == null || !A.isHex(next))
45583 break;
45584 value *= 16;
45585 value += A.asHex(t1.readChar$0());
45586 }
45587 this.scanCharIf$1(A.character__isWhitespace$closure());
45588 } else
45589 value = t1.readChar$0();
45590 if (identifierStart) {
45591 t2 = value;
45592 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
45593 } else {
45594 t2 = value;
45595 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
45596 }
45597 if (t2)
45598 try {
45599 t2 = A.Primitives_stringFromCharCode(value);
45600 return t2;
45601 } catch (exception) {
45602 if (type$.RangeError._is(A.unwrapException(exception)))
45603 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
45604 else
45605 throw exception;
45606 }
45607 else {
45608 if (!(value <= 31))
45609 if (!J.$eq$(value, 127))
45610 t1 = identifierStart && A.isDigit(value);
45611 else
45612 t1 = true;
45613 else
45614 t1 = true;
45615 if (t1) {
45616 t1 = "" + A.Primitives_stringFromCharCode(92);
45617 if (value > 15)
45618 t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
45619 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
45620 return t1.charCodeAt(0) == 0 ? t1 : t1;
45621 } else
45622 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
45623 }
45624 },
45625 escape$0() {
45626 return this.escape$1$identifierStart(false);
45627 },
45628 scanCharIf$1(condition) {
45629 var t1 = this.scanner;
45630 if (!condition.call$1(t1.peekChar$0()))
45631 return false;
45632 t1.readChar$0();
45633 return true;
45634 },
45635 scanIdentChar$2$caseSensitive(char, caseSensitive) {
45636 var t3,
45637 t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
45638 t2 = this.scanner,
45639 next = t2.peekChar$0();
45640 if (next != null && t1.call$1(next)) {
45641 t2.readChar$0();
45642 return true;
45643 } else if (next === 92) {
45644 t3 = t2._string_scanner$_position;
45645 if (t1.call$1(A.consumeEscapedCharacter(t2)))
45646 return true;
45647 t2.set$state(new A._SpanScannerState(t2, t3));
45648 }
45649 return false;
45650 },
45651 scanIdentChar$1(char) {
45652 return this.scanIdentChar$2$caseSensitive(char, false);
45653 },
45654 expectIdentChar$1(letter) {
45655 var t1;
45656 if (this.scanIdentChar$2$caseSensitive(letter, false))
45657 return;
45658 t1 = this.scanner;
45659 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
45660 },
45661 lookingAtIdentifier$1($forward) {
45662 var t1, first, second;
45663 if ($forward == null)
45664 $forward = 0;
45665 t1 = this.scanner;
45666 first = t1.peekChar$1($forward);
45667 if (first == null)
45668 return false;
45669 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
45670 return true;
45671 if (first !== 45)
45672 return false;
45673 second = t1.peekChar$1($forward + 1);
45674 if (second == null)
45675 return false;
45676 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
45677 },
45678 lookingAtIdentifier$0() {
45679 return this.lookingAtIdentifier$1(null);
45680 },
45681 lookingAtIdentifierBody$0() {
45682 var t1,
45683 next = this.scanner.peekChar$0();
45684 if (next != null)
45685 t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
45686 else
45687 t1 = false;
45688 return t1;
45689 },
45690 scanIdentifier$2$caseSensitive(text, caseSensitive) {
45691 var t1, start, t2, t3, t4, _this = this;
45692 if (!_this.lookingAtIdentifier$0())
45693 return false;
45694 t1 = _this.scanner;
45695 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45696 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45697 t4 = t2.__internal$_current;
45698 if (_this.scanIdentChar$2$caseSensitive(t4 == null ? t3._as(t4) : t4, caseSensitive))
45699 continue;
45700 if (start._scanner !== t1)
45701 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
45702 t2 = start.position;
45703 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
45704 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
45705 t1._string_scanner$_position = t2;
45706 t1._lastMatch = null;
45707 return false;
45708 }
45709 if (!_this.lookingAtIdentifierBody$0())
45710 return true;
45711 t1.set$state(start);
45712 return false;
45713 },
45714 scanIdentifier$1(text) {
45715 return this.scanIdentifier$2$caseSensitive(text, false);
45716 },
45717 expectIdentifier$2$name(text, $name) {
45718 var t1, start, t2, t3, t4, t5, t6;
45719 if ($name == null)
45720 $name = '"' + text + '"';
45721 t1 = this.scanner;
45722 start = t1._string_scanner$_position;
45723 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();) {
45724 t6 = t2.__internal$_current;
45725 if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
45726 continue;
45727 t1.error$2$position(0, t4, start);
45728 }
45729 if (!this.lookingAtIdentifierBody$0())
45730 return;
45731 t1.error$2$position(0, t3, start);
45732 },
45733 expectIdentifier$1(text) {
45734 return this.expectIdentifier$2$name(text, null);
45735 },
45736 rawText$1(consumer) {
45737 var t1 = this.scanner,
45738 start = t1._string_scanner$_position;
45739 consumer.call$0();
45740 return t1.substring$1(0, start);
45741 },
45742 error$3(_, message, span, trace) {
45743 var exception = new A.StringScannerException(this.scanner.string, message, span);
45744 if (trace == null)
45745 throw A.wrapException(exception);
45746 else
45747 A.throwWithTrace(exception, trace);
45748 },
45749 error$2($receiver, message, span) {
45750 return this.error$3($receiver, message, span, null);
45751 },
45752 withErrorMessage$1$2(message, callback) {
45753 var error, stackTrace, t1, exception;
45754 try {
45755 t1 = callback.call$0();
45756 return t1;
45757 } catch (exception) {
45758 t1 = A.unwrapException(exception);
45759 if (type$.SourceSpanFormatException._is(t1)) {
45760 error = t1;
45761 stackTrace = A.getTraceFromException(exception);
45762 t1 = J.get$span$z(error);
45763 A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
45764 } else
45765 throw exception;
45766 }
45767 },
45768 withErrorMessage$2(message, callback) {
45769 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
45770 },
45771 wrapSpanFormatException$1$1(callback) {
45772 var error, stackTrace, span, startPosition, t1, exception;
45773 try {
45774 t1 = callback.call$0();
45775 return t1;
45776 } catch (exception) {
45777 t1 = A.unwrapException(exception);
45778 if (type$.SourceSpanFormatException._is(t1)) {
45779 error = t1;
45780 stackTrace = A.getTraceFromException(exception);
45781 span = J.get$span$z(error);
45782 if (A.startsWithIgnoreCase(error._span_exception$_message, "expected")) {
45783 t1 = span;
45784 t1 = t1._end - t1._file$_start === 0;
45785 } else
45786 t1 = false;
45787 if (t1) {
45788 t1 = span;
45789 startPosition = this._firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
45790 t1 = span;
45791 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
45792 span = span.file.span$2(0, startPosition, startPosition);
45793 }
45794 A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
45795 } else
45796 throw exception;
45797 }
45798 },
45799 wrapSpanFormatException$1(callback) {
45800 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
45801 },
45802 _firstNewlineBefore$1(position) {
45803 var t1, lastNewline, codeUnit,
45804 index = position - 1;
45805 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
45806 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
45807 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
45808 return lastNewline == null ? position : lastNewline;
45809 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
45810 lastNewline = index;
45811 --index;
45812 }
45813 return position;
45814 }
45815 };
45816 A.Parser__parseIdentifier_closure.prototype = {
45817 call$0() {
45818 var t1 = this.$this,
45819 result = t1.identifier$0();
45820 t1.scanner.expectDone$0();
45821 return result;
45822 },
45823 $signature: 29
45824 };
45825 A.Parser_scanIdentChar_matches.prototype = {
45826 call$1(actual) {
45827 var t1 = this.char;
45828 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
45829 },
45830 $signature: 57
45831 };
45832 A.SassParser.prototype = {
45833 get$currentIndentation() {
45834 return this._currentIndentation;
45835 },
45836 get$indented() {
45837 return true;
45838 },
45839 styleRuleSelector$0() {
45840 var t4,
45841 t1 = this.scanner,
45842 t2 = t1._string_scanner$_position,
45843 t3 = new A.StringBuffer(""),
45844 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
45845 do {
45846 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
45847 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
45848 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
45849 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45850 },
45851 expectStatementSeparator$1($name) {
45852 var t1, _this = this;
45853 if (!_this.atEndOfStatement$0())
45854 _this._expectNewline$0();
45855 if (_this._peekIndentation$0() <= _this._currentIndentation)
45856 return;
45857 t1 = $name == null ? "here" : "beneath a " + $name;
45858 _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
45859 },
45860 expectStatementSeparator$0() {
45861 return this.expectStatementSeparator$1(null);
45862 },
45863 atEndOfStatement$0() {
45864 var next = this.scanner.peekChar$0();
45865 return next == null || next === 10 || next === 13 || next === 12;
45866 },
45867 lookingAtChildren$0() {
45868 return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
45869 },
45870 importArgument$0() {
45871 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
45872 t1 = _this.scanner;
45873 switch (t1.peekChar$0()) {
45874 case 117:
45875 case 85:
45876 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45877 if (_this.scanIdentifier$1("url"))
45878 if (t1.scanChar$1(40)) {
45879 t1.set$state(start);
45880 return _this.super$StylesheetParser$importArgument();
45881 } else
45882 t1.set$state(start);
45883 break;
45884 case 39:
45885 case 34:
45886 return _this.super$StylesheetParser$importArgument();
45887 }
45888 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45889 next = t1.peekChar$0();
45890 while (true) {
45891 if (next != null)
45892 if (next !== 44)
45893 if (next !== 59)
45894 t2 = !(next === 10 || next === 13 || next === 12);
45895 else
45896 t2 = false;
45897 else
45898 t2 = false;
45899 else
45900 t2 = false;
45901 if (!t2)
45902 break;
45903 t1.readChar$0();
45904 next = t1.peekChar$0();
45905 }
45906 url = t1.substring$1(0, start.position);
45907 span = t1.spanFrom$1(start);
45908 if (_this.isPlainImportUrl$1(url))
45909 return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
45910 else
45911 try {
45912 t1 = _this.parseImportUrl$1(url);
45913 return new A.DynamicImport(t1, span);
45914 } catch (exception) {
45915 t1 = A.unwrapException(exception);
45916 if (type$.FormatException._is(t1)) {
45917 innerError = t1;
45918 stackTrace = A.getTraceFromException(exception);
45919 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
45920 } else
45921 throw exception;
45922 }
45923 },
45924 scanElse$1(ifIndentation) {
45925 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
45926 if (_this._peekIndentation$0() !== ifIndentation)
45927 return false;
45928 t1 = _this.scanner;
45929 t2 = t1._string_scanner$_position;
45930 startIndentation = _this._currentIndentation;
45931 startNextIndentation = _this._nextIndentation;
45932 startNextIndentationEnd = _this._nextIndentationEnd;
45933 _this._readIndentation$0();
45934 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
45935 return true;
45936 t1.set$state(new A._SpanScannerState(t1, t2));
45937 _this._currentIndentation = startIndentation;
45938 _this._nextIndentation = startNextIndentation;
45939 _this._nextIndentationEnd = startNextIndentationEnd;
45940 return false;
45941 },
45942 children$1(_, child) {
45943 var children = A._setArrayType([], type$.JSArray_Statement);
45944 this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
45945 return children;
45946 },
45947 statements$1(statement) {
45948 var statements, t2, child,
45949 t1 = this.scanner,
45950 first = t1.peekChar$0();
45951 if (first === 9 || first === 32)
45952 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
45953 statements = A._setArrayType([], type$.JSArray_Statement);
45954 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
45955 child = this._child$1(statement);
45956 if (child != null)
45957 statements.push(child);
45958 this._readIndentation$0();
45959 }
45960 return statements;
45961 },
45962 _child$1(child) {
45963 var _this = this,
45964 t1 = _this.scanner;
45965 switch (t1.peekChar$0()) {
45966 case 13:
45967 case 10:
45968 case 12:
45969 return null;
45970 case 36:
45971 return _this.variableDeclarationWithoutNamespace$0();
45972 case 47:
45973 switch (t1.peekChar$1(1)) {
45974 case 47:
45975 return _this._silentComment$0();
45976 case 42:
45977 return _this._loudComment$0();
45978 default:
45979 return child.call$0();
45980 }
45981 default:
45982 return child.call$0();
45983 }
45984 },
45985 _silentComment$0() {
45986 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
45987 t1 = _this.scanner,
45988 t2 = t1._string_scanner$_position;
45989 t1.expect$1("//");
45990 buffer = new A.StringBuffer("");
45991 parentIndentation = _this._currentIndentation;
45992 t3 = t1.string.length;
45993 t4 = 1 + parentIndentation;
45994 t5 = 2 + parentIndentation;
45995 $label0$0:
45996 do {
45997 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
45998 for (i = commentPrefix.length; true;) {
45999 t6 = buffer._contents += commentPrefix;
46000 for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
46001 t6 += A.Primitives_stringFromCharCode(32);
46002 buffer._contents = t6;
46003 }
46004 while (true) {
46005 if (t1._string_scanner$_position !== t3) {
46006 t7 = t1.peekChar$0();
46007 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
46008 } else
46009 t7 = false;
46010 if (!t7)
46011 break;
46012 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
46013 buffer._contents = t6;
46014 }
46015 buffer._contents = t6 + "\n";
46016 if (_this._peekIndentation$0() < parentIndentation)
46017 break $label0$0;
46018 if (_this._peekIndentation$0() === parentIndentation) {
46019 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
46020 _this._readIndentation$0();
46021 break;
46022 }
46023 _this._readIndentation$0();
46024 }
46025 } while (t1.scan$1("//"));
46026 t3 = buffer._contents;
46027 return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
46028 },
46029 _loudComment$0() {
46030 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
46031 t1 = _this.scanner,
46032 t2 = t1._string_scanner$_position;
46033 t1.expect$1("/*");
46034 t3 = new A.StringBuffer("");
46035 t4 = A._setArrayType([], type$.JSArray_Object);
46036 buffer = new A.InterpolationBuffer(t3, t4);
46037 t3._contents = "" + "/*";
46038 parentIndentation = _this._currentIndentation;
46039 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
46040 if (first) {
46041 beginningOfComment = t1._string_scanner$_position;
46042 _this.spaces$0();
46043 t7 = t1.peekChar$0();
46044 if (t7 === 10 || t7 === 13 || t7 === 12) {
46045 _this._readIndentation$0();
46046 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
46047 } else {
46048 end = t1._string_scanner$_position;
46049 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
46050 }
46051 } else {
46052 t7 = t3._contents += "\n";
46053 t7 += " * ";
46054 t3._contents = t7;
46055 }
46056 for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
46057 t7 += A.Primitives_stringFromCharCode(32);
46058 t3._contents = t7;
46059 }
46060 $label0$1:
46061 for (; t1._string_scanner$_position !== t6;)
46062 switch (t1.peekChar$0()) {
46063 case 10:
46064 case 13:
46065 case 12:
46066 break $label0$1;
46067 case 35:
46068 if (t1.peekChar$1(1) === 123) {
46069 t7 = _this.singleInterpolation$0();
46070 buffer._flushText$0();
46071 t4.push(t7);
46072 } else
46073 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46074 break;
46075 default:
46076 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46077 break;
46078 }
46079 if (_this._peekIndentation$0() <= parentIndentation)
46080 break;
46081 for (; _this._lookingAtDoubleNewline$0();) {
46082 _this._expectNewline$0();
46083 t7 = t3._contents += "\n";
46084 t3._contents = t7 + " *";
46085 }
46086 _this._readIndentation$0();
46087 }
46088 t4 = t3._contents;
46089 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
46090 t3._contents += " */";
46091 return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
46092 },
46093 whitespaceWithoutComments$0() {
46094 var t1, t2, next;
46095 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
46096 next = t1.peekChar$0();
46097 if (next !== 9 && next !== 32)
46098 break;
46099 t1.readChar$0();
46100 }
46101 },
46102 loudComment$0() {
46103 var next,
46104 t1 = this.scanner;
46105 t1.expect$1("/*");
46106 for (; true;) {
46107 next = t1.readChar$0();
46108 if (next === 10 || next === 13 || next === 12)
46109 t1.error$1(0, "expected */.");
46110 if (next !== 42)
46111 continue;
46112 do
46113 next = t1.readChar$0();
46114 while (next === 42);
46115 if (next === 47)
46116 break;
46117 }
46118 },
46119 _expectNewline$0() {
46120 var t1 = this.scanner;
46121 switch (t1.peekChar$0()) {
46122 case 59:
46123 t1.error$1(0, string$.semico);
46124 break;
46125 case 13:
46126 t1.readChar$0();
46127 if (t1.peekChar$0() === 10)
46128 t1.readChar$0();
46129 return;
46130 case 10:
46131 case 12:
46132 t1.readChar$0();
46133 return;
46134 default:
46135 t1.error$1(0, "expected newline.");
46136 }
46137 },
46138 _lookingAtDoubleNewline$0() {
46139 var nextChar,
46140 t1 = this.scanner;
46141 switch (t1.peekChar$0()) {
46142 case 13:
46143 nextChar = t1.peekChar$1(1);
46144 if (nextChar === 10) {
46145 t1 = t1.peekChar$1(2);
46146 return t1 === 10 || t1 === 13 || t1 === 12;
46147 }
46148 return nextChar === 13 || nextChar === 12;
46149 case 10:
46150 case 12:
46151 t1 = t1.peekChar$1(1);
46152 return t1 === 10 || t1 === 13 || t1 === 12;
46153 default:
46154 return false;
46155 }
46156 },
46157 _whileIndentedLower$1(body) {
46158 var t1, t2, childIndentation, indentation, t3, t4, _this = this,
46159 parentIndentation = _this._currentIndentation;
46160 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
46161 indentation = _this._readIndentation$0();
46162 if (childIndentation == null)
46163 childIndentation = indentation;
46164 if (childIndentation !== indentation) {
46165 t3 = t1._string_scanner$_position;
46166 t4 = t2.getColumn$1(t3);
46167 t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
46168 }
46169 body.call$0();
46170 }
46171 },
46172 _readIndentation$0() {
46173 var t1, _this = this,
46174 currentIndentation = _this._nextIndentation;
46175 if (currentIndentation == null)
46176 currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
46177 _this._currentIndentation = currentIndentation;
46178 t1 = _this._nextIndentationEnd;
46179 t1.toString;
46180 _this.scanner.set$state(t1);
46181 _this._nextIndentationEnd = _this._nextIndentation = null;
46182 return currentIndentation;
46183 },
46184 _peekIndentation$0() {
46185 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
46186 cached = _this._nextIndentation;
46187 if (cached != null)
46188 return cached;
46189 t1 = _this.scanner;
46190 t2 = t1._string_scanner$_position;
46191 t3 = t1.string.length;
46192 if (t2 === t3) {
46193 _this._nextIndentation = 0;
46194 _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
46195 return 0;
46196 }
46197 start = new A._SpanScannerState(t1, t2);
46198 if (!_this.scanCharIf$1(A.character__isNewline$closure()))
46199 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
46200 containsTab = A._Cell$();
46201 containsSpace = A._Cell$();
46202 nextIndentation = A._Cell$();
46203 t2 = nextIndentation.__late_helper$_name;
46204 do {
46205 containsSpace._value = containsTab._value = false;
46206 nextIndentation._value = 0;
46207 for (; true;) {
46208 next = t1.peekChar$0();
46209 if (next === 32)
46210 containsSpace._value = true;
46211 else if (next === 9)
46212 containsTab._value = true;
46213 else
46214 break;
46215 t4 = nextIndentation._value;
46216 if (t4 === nextIndentation)
46217 A.throwExpression(A.LateError$localNI(t2));
46218 nextIndentation._value = t4 + 1;
46219 t1.readChar$0();
46220 }
46221 t4 = t1._string_scanner$_position;
46222 if (t4 === t3) {
46223 _this._nextIndentation = 0;
46224 _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
46225 t1.set$state(start);
46226 return 0;
46227 }
46228 } while (_this.scanCharIf$1(A.character__isNewline$closure()));
46229 t2 = containsTab._readLocal$0();
46230 t3 = containsSpace._readLocal$0();
46231 if (t2) {
46232 if (t3) {
46233 t2 = t1._string_scanner$_position;
46234 t3 = t1._sourceFile;
46235 t4 = t3.getColumn$1(t2);
46236 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46237 } else if (_this._spaces === true) {
46238 t2 = t1._string_scanner$_position;
46239 t3 = t1._sourceFile;
46240 t4 = t3.getColumn$1(t2);
46241 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46242 }
46243 } else if (t3 && _this._spaces === false) {
46244 t2 = t1._string_scanner$_position;
46245 t3 = t1._sourceFile;
46246 t4 = t3.getColumn$1(t2);
46247 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46248 }
46249 _this._nextIndentation = nextIndentation._readLocal$0();
46250 if (nextIndentation._readLocal$0() > 0)
46251 if (_this._spaces == null)
46252 _this._spaces = containsSpace._readLocal$0();
46253 _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
46254 t1.set$state(start);
46255 return nextIndentation._readLocal$0();
46256 }
46257 };
46258 A.SassParser_children_closure.prototype = {
46259 call$0() {
46260 var parsedChild = this.$this._child$1(this.child);
46261 if (parsedChild != null)
46262 this.children.push(parsedChild);
46263 },
46264 $signature: 0
46265 };
46266 A.ScssParser.prototype = {
46267 get$indented() {
46268 return false;
46269 },
46270 get$currentIndentation() {
46271 return 0;
46272 },
46273 styleRuleSelector$0() {
46274 return this.almostAnyValue$0();
46275 },
46276 expectStatementSeparator$1($name) {
46277 var t1, next;
46278 this.whitespaceWithoutComments$0();
46279 t1 = this.scanner;
46280 if (t1._string_scanner$_position === t1.string.length)
46281 return;
46282 next = t1.peekChar$0();
46283 if (next === 59 || next === 125)
46284 return;
46285 t1.expectChar$1(59);
46286 },
46287 expectStatementSeparator$0() {
46288 return this.expectStatementSeparator$1(null);
46289 },
46290 atEndOfStatement$0() {
46291 var next = this.scanner.peekChar$0();
46292 return next == null || next === 59 || next === 125 || next === 123;
46293 },
46294 lookingAtChildren$0() {
46295 return this.scanner.peekChar$0() === 123;
46296 },
46297 scanElse$1(ifIndentation) {
46298 var t3, _this = this,
46299 t1 = _this.scanner,
46300 t2 = t1._string_scanner$_position;
46301 _this.whitespace$0();
46302 t3 = t1._string_scanner$_position;
46303 if (t1.scanChar$1(64)) {
46304 if (_this.scanIdentifier$2$caseSensitive("else", true))
46305 return true;
46306 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
46307 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
46308 t1.set$position(t1._string_scanner$_position - 2);
46309 return true;
46310 }
46311 }
46312 t1.set$state(new A._SpanScannerState(t1, t2));
46313 return false;
46314 },
46315 children$1(_, child) {
46316 var children, _this = this,
46317 t1 = _this.scanner;
46318 t1.expectChar$1(123);
46319 _this.whitespaceWithoutComments$0();
46320 children = A._setArrayType([], type$.JSArray_Statement);
46321 for (; true;)
46322 switch (t1.peekChar$0()) {
46323 case 36:
46324 children.push(_this.variableDeclarationWithoutNamespace$0());
46325 break;
46326 case 47:
46327 switch (t1.peekChar$1(1)) {
46328 case 47:
46329 children.push(_this._scss$_silentComment$0());
46330 _this.whitespaceWithoutComments$0();
46331 break;
46332 case 42:
46333 children.push(_this._scss$_loudComment$0());
46334 _this.whitespaceWithoutComments$0();
46335 break;
46336 default:
46337 children.push(child.call$0());
46338 break;
46339 }
46340 break;
46341 case 59:
46342 t1.readChar$0();
46343 _this.whitespaceWithoutComments$0();
46344 break;
46345 case 125:
46346 t1.expectChar$1(125);
46347 return children;
46348 default:
46349 children.push(child.call$0());
46350 break;
46351 }
46352 },
46353 statements$1(statement) {
46354 var t1, t2, child, _this = this,
46355 statements = A._setArrayType([], type$.JSArray_Statement);
46356 _this.whitespaceWithoutComments$0();
46357 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
46358 switch (t1.peekChar$0()) {
46359 case 36:
46360 statements.push(_this.variableDeclarationWithoutNamespace$0());
46361 break;
46362 case 47:
46363 switch (t1.peekChar$1(1)) {
46364 case 47:
46365 statements.push(_this._scss$_silentComment$0());
46366 _this.whitespaceWithoutComments$0();
46367 break;
46368 case 42:
46369 statements.push(_this._scss$_loudComment$0());
46370 _this.whitespaceWithoutComments$0();
46371 break;
46372 default:
46373 child = statement.call$0();
46374 if (child != null)
46375 statements.push(child);
46376 break;
46377 }
46378 break;
46379 case 59:
46380 t1.readChar$0();
46381 _this.whitespaceWithoutComments$0();
46382 break;
46383 default:
46384 child = statement.call$0();
46385 if (child != null)
46386 statements.push(child);
46387 break;
46388 }
46389 return statements;
46390 },
46391 _scss$_silentComment$0() {
46392 var t2, t3, _this = this,
46393 t1 = _this.scanner,
46394 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46395 t1.expect$1("//");
46396 t2 = t1.string.length;
46397 do {
46398 while (true) {
46399 if (t1._string_scanner$_position !== t2) {
46400 t3 = t1.readChar$0();
46401 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
46402 } else
46403 t3 = false;
46404 if (!t3)
46405 break;
46406 }
46407 if (t1._string_scanner$_position === t2)
46408 break;
46409 _this.whitespaceWithoutComments$0();
46410 } while (t1.scan$1("//"));
46411 if (_this.get$plainCss())
46412 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
46413 return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
46414 },
46415 _scss$_loudComment$0() {
46416 var t3, t4, buffer, t5, endPosition, t6, result,
46417 t1 = this.scanner,
46418 t2 = t1._string_scanner$_position;
46419 t1.expect$1("/*");
46420 t3 = new A.StringBuffer("");
46421 t4 = A._setArrayType([], type$.JSArray_Object);
46422 buffer = new A.InterpolationBuffer(t3, t4);
46423 t3._contents = "" + "/*";
46424 for (; true;)
46425 switch (t1.peekChar$0()) {
46426 case 35:
46427 if (t1.peekChar$1(1) === 123) {
46428 t5 = this.singleInterpolation$0();
46429 buffer._flushText$0();
46430 t4.push(t5);
46431 } else
46432 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46433 break;
46434 case 42:
46435 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46436 if (t1.peekChar$0() !== 47)
46437 break;
46438 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46439 endPosition = t1._string_scanner$_position;
46440 t5 = t1._sourceFile;
46441 t6 = new A._SpanScannerState(t1, t2).position;
46442 t1 = new A._FileSpan(t5, t6, endPosition);
46443 t1._FileSpan$3(t5, t6, endPosition);
46444 t6 = type$.Object;
46445 t5 = A.List_List$of(t4, true, t6);
46446 t2 = t3._contents;
46447 if (t2.length !== 0)
46448 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
46449 result = A.List_List$from(t5, false, t6);
46450 result.fixed$length = Array;
46451 result.immutable$list = Array;
46452 t2 = new A.Interpolation(result, t1);
46453 t2.Interpolation$2(t5, t1);
46454 return new A.LoudComment(t2);
46455 case 13:
46456 t1.readChar$0();
46457 if (t1.peekChar$0() !== 10)
46458 t3._contents += A.Primitives_stringFromCharCode(10);
46459 break;
46460 case 12:
46461 t1.readChar$0();
46462 t3._contents += A.Primitives_stringFromCharCode(10);
46463 break;
46464 default:
46465 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46466 break;
46467 }
46468 }
46469 };
46470 A.SelectorParser.prototype = {
46471 parse$0() {
46472 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
46473 },
46474 parseCompoundSelector$0() {
46475 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
46476 },
46477 _selectorList$0() {
46478 var t3, t4, lineBreak, _this = this,
46479 t1 = _this.scanner,
46480 t2 = t1._sourceFile,
46481 previousLine = t2.getLine$1(t1._string_scanner$_position),
46482 components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
46483 _this.whitespace$0();
46484 for (t3 = t1.string.length; t1.scanChar$1(44);) {
46485 _this.whitespace$0();
46486 if (t1.peekChar$0() === 44)
46487 continue;
46488 t4 = t1._string_scanner$_position;
46489 if (t4 === t3)
46490 break;
46491 lineBreak = t2.getLine$1(t4) !== previousLine;
46492 if (lineBreak)
46493 previousLine = t2.getLine$1(t1._string_scanner$_position);
46494 components.push(_this._complexSelector$1$lineBreak(lineBreak));
46495 }
46496 return A.SelectorList$(components);
46497 },
46498 _complexSelector$1$lineBreak(lineBreak) {
46499 var t1, next, _this = this,
46500 _s58_ = string$.x22x26__ma,
46501 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
46502 $label0$1:
46503 for (t1 = _this.scanner; true;) {
46504 _this.whitespace$0();
46505 next = t1.peekChar$0();
46506 switch (next) {
46507 case 43:
46508 t1.readChar$0();
46509 components.push(B.Combinator_uzg);
46510 break;
46511 case 62:
46512 t1.readChar$0();
46513 components.push(B.Combinator_sgq);
46514 break;
46515 case 126:
46516 t1.readChar$0();
46517 components.push(B.Combinator_CzM);
46518 break;
46519 case 91:
46520 case 46:
46521 case 35:
46522 case 37:
46523 case 58:
46524 case 38:
46525 case 42:
46526 case 124:
46527 components.push(_this._compoundSelector$0());
46528 if (t1.peekChar$0() === 38)
46529 t1.error$1(0, _s58_);
46530 break;
46531 default:
46532 if (next == null || !_this.lookingAtIdentifier$0())
46533 break $label0$1;
46534 components.push(_this._compoundSelector$0());
46535 if (t1.peekChar$0() === 38)
46536 t1.error$1(0, _s58_);
46537 break;
46538 }
46539 }
46540 if (components.length === 0)
46541 t1.error$1(0, "expected selector.");
46542 return A.ComplexSelector$(components, lineBreak);
46543 },
46544 _complexSelector$0() {
46545 return this._complexSelector$1$lineBreak(false);
46546 },
46547 _compoundSelector$0() {
46548 var t2,
46549 components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
46550 t1 = this.scanner;
46551 while (true) {
46552 t2 = t1.peekChar$0();
46553 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
46554 break;
46555 components.push(this._simpleSelector$1$allowParent(false));
46556 }
46557 return A.CompoundSelector$(components);
46558 },
46559 _simpleSelector$1$allowParent(allowParent) {
46560 var $name, text, t2, suffix, _this = this,
46561 t1 = _this.scanner,
46562 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46563 if (allowParent == null)
46564 allowParent = _this._allowParent;
46565 switch (t1.peekChar$0()) {
46566 case 91:
46567 return _this._attributeSelector$0();
46568 case 46:
46569 t1.expectChar$1(46);
46570 return new A.ClassSelector(_this.identifier$0());
46571 case 35:
46572 t1.expectChar$1(35);
46573 return new A.IDSelector(_this.identifier$0());
46574 case 37:
46575 t1.expectChar$1(37);
46576 $name = _this.identifier$0();
46577 if (!_this._allowPlaceholder)
46578 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
46579 return new A.PlaceholderSelector($name);
46580 case 58:
46581 return _this._pseudoSelector$0();
46582 case 38:
46583 t1.expectChar$1(38);
46584 if (_this.lookingAtIdentifierBody$0()) {
46585 text = new A.StringBuffer("");
46586 _this._identifierBody$1(text);
46587 if (text._contents.length === 0)
46588 t1.error$1(0, "Expected identifier body.");
46589 t2 = text._contents;
46590 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
46591 } else
46592 suffix = null;
46593 if (!allowParent)
46594 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
46595 return new A.ParentSelector(suffix);
46596 default:
46597 return _this._typeOrUniversalSelector$0();
46598 }
46599 },
46600 _simpleSelector$0() {
46601 return this._simpleSelector$1$allowParent(null);
46602 },
46603 _attributeSelector$0() {
46604 var $name, operator, next, value, modifier, _this = this, _null = null,
46605 t1 = _this.scanner;
46606 t1.expectChar$1(91);
46607 _this.whitespace$0();
46608 $name = _this._attributeName$0();
46609 _this.whitespace$0();
46610 if (t1.scanChar$1(93))
46611 return new A.AttributeSelector($name, _null, _null, _null);
46612 operator = _this._attributeOperator$0();
46613 _this.whitespace$0();
46614 next = t1.peekChar$0();
46615 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
46616 _this.whitespace$0();
46617 next = t1.peekChar$0();
46618 modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
46619 t1.expectChar$1(93);
46620 return new A.AttributeSelector($name, operator, value, modifier);
46621 },
46622 _attributeName$0() {
46623 var nameOrNamespace, _this = this,
46624 t1 = _this.scanner;
46625 if (t1.scanChar$1(42)) {
46626 t1.expectChar$1(124);
46627 return new A.QualifiedName(_this.identifier$0(), "*");
46628 }
46629 if (t1.scanChar$1(124))
46630 return new A.QualifiedName(_this.identifier$0(), "");
46631 nameOrNamespace = _this.identifier$0();
46632 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
46633 return new A.QualifiedName(nameOrNamespace, null);
46634 t1.readChar$0();
46635 return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
46636 },
46637 _attributeOperator$0() {
46638 var t1 = this.scanner,
46639 t2 = t1._string_scanner$_position;
46640 switch (t1.readChar$0()) {
46641 case 61:
46642 return B.AttributeOperator_sEs;
46643 case 126:
46644 t1.expectChar$1(61);
46645 return B.AttributeOperator_fz1;
46646 case 124:
46647 t1.expectChar$1(61);
46648 return B.AttributeOperator_AuK;
46649 case 94:
46650 t1.expectChar$1(61);
46651 return B.AttributeOperator_4L5;
46652 case 36:
46653 t1.expectChar$1(61);
46654 return B.AttributeOperator_mOX;
46655 case 42:
46656 t1.expectChar$1(61);
46657 return B.AttributeOperator_gqZ;
46658 default:
46659 t1.error$2$position(0, 'Expected "]".', t2);
46660 }
46661 },
46662 _pseudoSelector$0() {
46663 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
46664 t1 = _this.scanner;
46665 t1.expectChar$1(58);
46666 element = t1.scanChar$1(58);
46667 $name = _this.identifier$0();
46668 if (!t1.scanChar$1(40))
46669 return A.PseudoSelector$($name, _null, element, _null);
46670 _this.whitespace$0();
46671 unvendored = A.unvendor($name);
46672 if (element)
46673 if ($._selectorPseudoElements.contains$1(0, unvendored)) {
46674 selector = _this._selectorList$0();
46675 argument = _null;
46676 } else {
46677 argument = _this.declarationValue$1$allowEmpty(true);
46678 selector = _null;
46679 }
46680 else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
46681 selector = _this._selectorList$0();
46682 argument = _null;
46683 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
46684 argument = _this._aNPlusB$0();
46685 _this.whitespace$0();
46686 t2 = t1.peekChar$1(-1);
46687 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
46688 _this.expectIdentifier$1("of");
46689 argument += " of";
46690 _this.whitespace$0();
46691 selector = _this._selectorList$0();
46692 } else
46693 selector = _null;
46694 } else {
46695 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
46696 selector = _null;
46697 }
46698 t1.expectChar$1(41);
46699 return A.PseudoSelector$($name, argument, element, selector);
46700 },
46701 _aNPlusB$0() {
46702 var t2, first, t3, next, last, _this = this,
46703 t1 = _this.scanner;
46704 switch (t1.peekChar$0()) {
46705 case 101:
46706 case 69:
46707 _this.expectIdentifier$1("even");
46708 return "even";
46709 case 111:
46710 case 79:
46711 _this.expectIdentifier$1("odd");
46712 return "odd";
46713 case 43:
46714 case 45:
46715 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
46716 break;
46717 default:
46718 t2 = "";
46719 }
46720 first = t1.peekChar$0();
46721 if (first != null && A.isDigit(first)) {
46722 while (true) {
46723 t3 = t1.peekChar$0();
46724 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46725 break;
46726 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46727 }
46728 _this.whitespace$0();
46729 if (!_this.scanIdentChar$1(110))
46730 return t2.charCodeAt(0) == 0 ? t2 : t2;
46731 } else
46732 _this.expectIdentChar$1(110);
46733 t2 += A.Primitives_stringFromCharCode(110);
46734 _this.whitespace$0();
46735 next = t1.peekChar$0();
46736 if (next !== 43 && next !== 45)
46737 return t2.charCodeAt(0) == 0 ? t2 : t2;
46738 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46739 _this.whitespace$0();
46740 last = t1.peekChar$0();
46741 if (last == null || !A.isDigit(last))
46742 t1.error$1(0, "Expected a number.");
46743 while (true) {
46744 t3 = t1.peekChar$0();
46745 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46746 break;
46747 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46748 }
46749 return t2.charCodeAt(0) == 0 ? t2 : t2;
46750 },
46751 _typeOrUniversalSelector$0() {
46752 var nameOrNamespace, _this = this,
46753 t1 = _this.scanner,
46754 first = t1.peekChar$0();
46755 if (first === 42) {
46756 t1.readChar$0();
46757 if (!t1.scanChar$1(124))
46758 return new A.UniversalSelector(null);
46759 if (t1.scanChar$1(42))
46760 return new A.UniversalSelector("*");
46761 else
46762 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
46763 } else if (first === 124) {
46764 t1.readChar$0();
46765 if (t1.scanChar$1(42))
46766 return new A.UniversalSelector("");
46767 else
46768 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
46769 }
46770 nameOrNamespace = _this.identifier$0();
46771 if (!t1.scanChar$1(124))
46772 return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
46773 else if (t1.scanChar$1(42))
46774 return new A.UniversalSelector(nameOrNamespace);
46775 else
46776 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
46777 }
46778 };
46779 A.SelectorParser_parse_closure.prototype = {
46780 call$0() {
46781 var t1 = this.$this,
46782 selector = t1._selectorList$0();
46783 t1 = t1.scanner;
46784 if (t1._string_scanner$_position !== t1.string.length)
46785 t1.error$1(0, "expected selector.");
46786 return selector;
46787 },
46788 $signature: 44
46789 };
46790 A.SelectorParser_parseCompoundSelector_closure.prototype = {
46791 call$0() {
46792 var t1 = this.$this,
46793 compound = t1._compoundSelector$0();
46794 t1 = t1.scanner;
46795 if (t1._string_scanner$_position !== t1.string.length)
46796 t1.error$1(0, "expected selector.");
46797 return compound;
46798 },
46799 $signature: 340
46800 };
46801 A.StylesheetParser.prototype = {
46802 parse$0() {
46803 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
46804 },
46805 parseArgumentDeclaration$0() {
46806 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
46807 },
46808 parseVariableDeclaration$0() {
46809 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
46810 },
46811 parseUseRule$0() {
46812 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
46813 },
46814 _parseSingleProduction$1$1(production, $T) {
46815 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
46816 },
46817 _statement$1$root(root) {
46818 var t2, _this = this,
46819 t1 = _this.scanner;
46820 switch (t1.peekChar$0()) {
46821 case 64:
46822 return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
46823 case 43:
46824 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
46825 return _this._styleRule$0();
46826 _this._isUseAllowed = false;
46827 t2 = t1._string_scanner$_position;
46828 t1.readChar$0();
46829 return _this._includeRule$1(new A._SpanScannerState(t1, t2));
46830 case 61:
46831 if (!_this.get$indented())
46832 return _this._styleRule$0();
46833 _this._isUseAllowed = false;
46834 t2 = t1._string_scanner$_position;
46835 t1.readChar$0();
46836 _this.whitespace$0();
46837 return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
46838 case 125:
46839 t1.error$2$length(0, 'unmatched "}".', 1);
46840 break;
46841 default:
46842 return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
46843 }
46844 },
46845 _statement$0() {
46846 return this._statement$1$root(false);
46847 },
46848 _variableDeclarationWithNamespace$0() {
46849 var t1 = this.scanner,
46850 t2 = t1._string_scanner$_position,
46851 namespace = this.identifier$0();
46852 t1.expectChar$1(46);
46853 return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
46854 },
46855 variableDeclarationWithoutNamespace$2(namespace, start_) {
46856 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
46857 precedingComment = _this.lastSilentComment;
46858 _this.lastSilentComment = null;
46859 if (start_ == null) {
46860 t1 = _this.scanner;
46861 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46862 } else
46863 start = start_;
46864 $name = _this.variableName$0();
46865 t1 = namespace != null;
46866 if (t1)
46867 _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
46868 if (_this.get$plainCss())
46869 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
46870 _this.whitespace$0();
46871 t2 = _this.scanner;
46872 t2.expectChar$1(58);
46873 _this.whitespace$0();
46874 value = _this._expression$0();
46875 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46876 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
46877 flag = _this.identifier$0();
46878 if (flag === "default")
46879 guarded = true;
46880 else if (flag === "global") {
46881 if (t1) {
46882 endPosition = t2._string_scanner$_position;
46883 t4 = t2._sourceFile;
46884 t5 = flagStart.position;
46885 t6 = new A._FileSpan(t4, t5, endPosition);
46886 t6._FileSpan$3(t4, t5, endPosition);
46887 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
46888 }
46889 global = true;
46890 } else {
46891 endPosition = t2._string_scanner$_position;
46892 t4 = t2._sourceFile;
46893 t5 = flagStart.position;
46894 t6 = new A._FileSpan(t4, t5, endPosition);
46895 t6._FileSpan$3(t4, t5, endPosition);
46896 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
46897 }
46898 _this.whitespace$0();
46899 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46900 }
46901 _this.expectStatementSeparator$1("variable declaration");
46902 declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
46903 if (global)
46904 _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
46905 return declaration;
46906 },
46907 variableDeclarationWithoutNamespace$0() {
46908 return this.variableDeclarationWithoutNamespace$2(null, null);
46909 },
46910 _variableDeclarationOrStyleRule$0() {
46911 var t1, t2, variableOrInterpolation, t3, _this = this;
46912 if (_this.get$plainCss())
46913 return _this._styleRule$0();
46914 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46915 return _this._styleRule$0();
46916 if (!_this.lookingAtIdentifier$0())
46917 return _this._styleRule$0();
46918 t1 = _this.scanner;
46919 t2 = t1._string_scanner$_position;
46920 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
46921 if (variableOrInterpolation instanceof A.VariableDeclaration)
46922 return variableOrInterpolation;
46923 else {
46924 t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
46925 t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46926 return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
46927 }
46928 },
46929 _declarationOrStyleRule$0() {
46930 var t1, t2, declarationOrBuffer, _this = this;
46931 if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
46932 return _this._propertyOrVariableDeclaration$0();
46933 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46934 return _this._styleRule$0();
46935 t1 = _this.scanner;
46936 t2 = t1._string_scanner$_position;
46937 declarationOrBuffer = _this._declarationOrBuffer$0();
46938 return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
46939 },
46940 _declarationOrBuffer$0() {
46941 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
46942 t2 = _this.scanner,
46943 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
46944 nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
46945 first = t2.peekChar$0();
46946 if (first !== 58)
46947 if (first !== 42)
46948 if (first !== 46)
46949 t3 = first === 35 && t2.peekChar$1(1) !== 123;
46950 else
46951 t3 = true;
46952 else
46953 t3 = true;
46954 else
46955 t3 = true;
46956 if (t3) {
46957 t3 = t2.readChar$0();
46958 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
46959 t3 = _this.rawText$1(_this.get$whitespace());
46960 nameBuffer._interpolation_buffer$_text._contents += t3;
46961 startsWithPunctuation = true;
46962 } else
46963 startsWithPunctuation = false;
46964 if (!_this._lookingAtInterpolatedIdentifier$0())
46965 return nameBuffer;
46966 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
46967 if (variableOrInterpolation instanceof A.VariableDeclaration)
46968 return variableOrInterpolation;
46969 else
46970 nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46971 _this._isUseAllowed = false;
46972 if (t2.matches$1("/*")) {
46973 t3 = _this.rawText$1(_this.get$loudComment());
46974 nameBuffer._interpolation_buffer$_text._contents += t3;
46975 }
46976 midBuffer = new A.StringBuffer("");
46977 t3 = _this.get$whitespace();
46978 midBuffer._contents += _this.rawText$1(t3);
46979 t4 = t2._string_scanner$_position;
46980 if (!t2.scanChar$1(58)) {
46981 if (midBuffer._contents.length !== 0)
46982 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
46983 return nameBuffer;
46984 }
46985 midBuffer._contents += A.Primitives_stringFromCharCode(58);
46986 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
46987 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
46988 t1 = _this._interpolatedDeclarationValue$0();
46989 _this.expectStatementSeparator$1("custom property");
46990 return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
46991 }
46992 if (t2.scanChar$1(58)) {
46993 t1 = nameBuffer;
46994 t2 = t1._interpolation_buffer$_text;
46995 t3 = t2._contents += A.S(midBuffer);
46996 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
46997 return t1;
46998 } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
46999 t1 = nameBuffer;
47000 t1._interpolation_buffer$_text._contents += A.S(midBuffer);
47001 return t1;
47002 }
47003 postColonWhitespace = _this.rawText$1(t3);
47004 if (_this.lookingAtChildren$0())
47005 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
47006 midBuffer._contents += postColonWhitespace;
47007 couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
47008 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
47009 t3 = t1.value = null;
47010 try {
47011 t3 = t1.value = _this._expression$0();
47012 if (_this.lookingAtChildren$0()) {
47013 if (couldBeSelector)
47014 _this.expectStatementSeparator$0();
47015 } else if (!_this.atEndOfStatement$0())
47016 _this.expectStatementSeparator$0();
47017 } catch (exception) {
47018 if (type$.FormatException._is(A.unwrapException(exception))) {
47019 if (!couldBeSelector)
47020 throw exception;
47021 t2.set$state(beforeDeclaration);
47022 additional = _this.almostAnyValue$0();
47023 if (!_this.get$indented() && t2.peekChar$0() === 59)
47024 throw exception;
47025 nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
47026 nameBuffer.addInterpolation$1(additional);
47027 return nameBuffer;
47028 } else
47029 throw exception;
47030 }
47031 if (_this.lookingAtChildren$0())
47032 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
47033 else {
47034 _this.expectStatementSeparator$0();
47035 return A.Declaration$($name, t3, t2.spanFrom$1(start));
47036 }
47037 },
47038 _variableDeclarationOrInterpolation$0() {
47039 var t1, start, identifier, t2, buffer, _this = this;
47040 if (!_this.lookingAtIdentifier$0())
47041 return _this.interpolatedIdentifier$0();
47042 t1 = _this.scanner;
47043 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47044 identifier = _this.identifier$0();
47045 if (t1.matches$1(".$")) {
47046 t1.readChar$0();
47047 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
47048 } else {
47049 t2 = new A.StringBuffer("");
47050 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
47051 t2._contents = "" + identifier;
47052 if (_this._lookingAtInterpolatedIdentifierBody$0())
47053 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
47054 return buffer.interpolation$1(t1.spanFrom$1(start));
47055 }
47056 },
47057 _styleRule$2(buffer, start_) {
47058 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
47059 _this._isUseAllowed = false;
47060 if (start_ == null) {
47061 t2 = _this.scanner;
47062 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47063 } else
47064 start = start_;
47065 interpolation = t1.interpolation = _this.styleRuleSelector$0();
47066 if (buffer != null) {
47067 buffer.addInterpolation$1(interpolation);
47068 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
47069 } else
47070 t2 = interpolation;
47071 if (t2.contents.length === 0)
47072 _this.scanner.error$1(0, 'expected "}".');
47073 wasInStyleRule = _this._inStyleRule;
47074 _this._inStyleRule = true;
47075 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
47076 },
47077 _styleRule$0() {
47078 return this._styleRule$2(null, null);
47079 },
47080 _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
47081 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
47082 _s48_ = string$.Nested,
47083 t1 = {},
47084 t2 = _this.scanner,
47085 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47086 t1.name = null;
47087 first = t2.peekChar$0();
47088 if (first !== 58)
47089 if (first !== 42)
47090 if (first !== 46)
47091 t3 = first === 35 && t2.peekChar$1(1) !== 123;
47092 else
47093 t3 = true;
47094 else
47095 t3 = true;
47096 else
47097 t3 = true;
47098 if (t3) {
47099 t3 = new A.StringBuffer("");
47100 nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
47101 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
47102 t3._contents += _this.rawText$1(_this.get$whitespace());
47103 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
47104 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
47105 } else if (!_this.get$plainCss()) {
47106 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
47107 if (variableOrInterpolation instanceof A.VariableDeclaration)
47108 return variableOrInterpolation;
47109 else {
47110 type$.Interpolation._as(variableOrInterpolation);
47111 t1.name = variableOrInterpolation;
47112 }
47113 t3 = variableOrInterpolation;
47114 } else {
47115 $name = _this.interpolatedIdentifier$0();
47116 t1.name = $name;
47117 t3 = $name;
47118 }
47119 _this.whitespace$0();
47120 t2.expectChar$1(58);
47121 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
47122 t1 = _this._interpolatedDeclarationValue$0();
47123 _this.expectStatementSeparator$1("custom property");
47124 return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
47125 }
47126 _this.whitespace$0();
47127 if (_this.lookingAtChildren$0()) {
47128 if (_this.get$plainCss())
47129 t2.error$1(0, _s48_);
47130 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
47131 }
47132 value = _this._expression$0();
47133 if (_this.lookingAtChildren$0()) {
47134 if (_this.get$plainCss())
47135 t2.error$1(0, _s48_);
47136 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
47137 } else {
47138 _this.expectStatementSeparator$0();
47139 return A.Declaration$(t3, value, t2.spanFrom$1(start));
47140 }
47141 },
47142 _propertyOrVariableDeclaration$0() {
47143 return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
47144 },
47145 _declarationChild$0() {
47146 if (this.scanner.peekChar$0() === 64)
47147 return this._declarationAtRule$0();
47148 return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
47149 },
47150 atRule$2$root(child, root) {
47151 var $name, wasUseAllowed, value, optional, _this = this,
47152 t1 = _this.scanner,
47153 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47154 t1.expectChar$2$name(64, "@-rule");
47155 $name = _this.interpolatedIdentifier$0();
47156 _this.whitespace$0();
47157 wasUseAllowed = _this._isUseAllowed;
47158 _this._isUseAllowed = false;
47159 switch ($name.get$asPlain()) {
47160 case "at-root":
47161 return _this._atRootRule$1(start);
47162 case "content":
47163 return _this._contentRule$1(start);
47164 case "debug":
47165 return _this._debugRule$1(start);
47166 case "each":
47167 return _this._eachRule$2(start, child);
47168 case "else":
47169 return _this._disallowedAtRule$1(start);
47170 case "error":
47171 return _this._errorRule$1(start);
47172 case "extend":
47173 if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
47174 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
47175 value = _this.almostAnyValue$0();
47176 optional = t1.scanChar$1(33);
47177 if (optional)
47178 _this.expectIdentifier$1("optional");
47179 _this.expectStatementSeparator$1("@extend rule");
47180 return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
47181 case "for":
47182 return _this._forRule$2(start, child);
47183 case "forward":
47184 _this._isUseAllowed = wasUseAllowed;
47185 if (!root)
47186 _this._disallowedAtRule$1(start);
47187 return _this._forwardRule$1(start);
47188 case "function":
47189 return _this._functionRule$1(start);
47190 case "if":
47191 return _this._ifRule$2(start, child);
47192 case "import":
47193 return _this._importRule$1(start);
47194 case "include":
47195 return _this._includeRule$1(start);
47196 case "media":
47197 return _this.mediaRule$1(start);
47198 case "mixin":
47199 return _this._mixinRule$1(start);
47200 case "-moz-document":
47201 return _this.mozDocumentRule$2(start, $name);
47202 case "return":
47203 return _this._disallowedAtRule$1(start);
47204 case "supports":
47205 return _this.supportsRule$1(start);
47206 case "use":
47207 _this._isUseAllowed = wasUseAllowed;
47208 if (!root)
47209 _this._disallowedAtRule$1(start);
47210 return _this._useRule$1(start);
47211 case "warn":
47212 return _this._warnRule$1(start);
47213 case "while":
47214 return _this._whileRule$2(start, child);
47215 default:
47216 return _this.unknownAtRule$2(start, $name);
47217 }
47218 },
47219 _declarationAtRule$0() {
47220 var _this = this,
47221 t1 = _this.scanner,
47222 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47223 switch (_this._plainAtRuleName$0()) {
47224 case "content":
47225 return _this._contentRule$1(start);
47226 case "debug":
47227 return _this._debugRule$1(start);
47228 case "each":
47229 return _this._eachRule$2(start, _this.get$_declarationChild());
47230 case "else":
47231 return _this._disallowedAtRule$1(start);
47232 case "error":
47233 return _this._errorRule$1(start);
47234 case "for":
47235 return _this._forRule$2(start, _this.get$_declarationChild());
47236 case "if":
47237 return _this._ifRule$2(start, _this.get$_declarationChild());
47238 case "include":
47239 return _this._includeRule$1(start);
47240 case "warn":
47241 return _this._warnRule$1(start);
47242 case "while":
47243 return _this._whileRule$2(start, _this.get$_declarationChild());
47244 default:
47245 return _this._disallowedAtRule$1(start);
47246 }
47247 },
47248 _functionChild$0() {
47249 var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
47250 t1 = _this.scanner;
47251 if (t1.peekChar$0() !== 64) {
47252 state = new A._SpanScannerState(t1, t1._string_scanner$_position);
47253 try {
47254 t2 = _this._variableDeclarationWithNamespace$0();
47255 return t2;
47256 } catch (exception) {
47257 t2 = A.unwrapException(exception);
47258 t3 = type$.SourceSpanFormatException;
47259 if (t3._is(t2)) {
47260 variableDeclarationError = t2;
47261 stackTrace = A.getTraceFromException(exception);
47262 t1.set$state(state);
47263 statement = null;
47264 try {
47265 statement = _this._declarationOrStyleRule$0();
47266 } catch (exception) {
47267 if (t3._is(A.unwrapException(exception)))
47268 throw A.wrapException(variableDeclarationError);
47269 else
47270 throw exception;
47271 }
47272 t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
47273 _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
47274 } else
47275 throw exception;
47276 }
47277 }
47278 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47279 switch (_this._plainAtRuleName$0()) {
47280 case "debug":
47281 return _this._debugRule$1(start);
47282 case "each":
47283 return _this._eachRule$2(start, _this.get$_functionChild());
47284 case "else":
47285 return _this._disallowedAtRule$1(start);
47286 case "error":
47287 return _this._errorRule$1(start);
47288 case "for":
47289 return _this._forRule$2(start, _this.get$_functionChild());
47290 case "if":
47291 return _this._ifRule$2(start, _this.get$_functionChild());
47292 case "return":
47293 value = _this._expression$0();
47294 _this.expectStatementSeparator$1("@return rule");
47295 return new A.ReturnRule(value, t1.spanFrom$1(start));
47296 case "warn":
47297 return _this._warnRule$1(start);
47298 case "while":
47299 return _this._whileRule$2(start, _this.get$_functionChild());
47300 default:
47301 return _this._disallowedAtRule$1(start);
47302 }
47303 },
47304 _plainAtRuleName$0() {
47305 this.scanner.expectChar$2$name(64, "@-rule");
47306 var $name = this.identifier$0();
47307 this.whitespace$0();
47308 return $name;
47309 },
47310 _atRootRule$1(start) {
47311 var query, _this = this,
47312 t1 = _this.scanner;
47313 if (t1.peekChar$0() === 40) {
47314 query = _this._atRootQuery$0();
47315 _this.whitespace$0();
47316 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
47317 } else if (_this.lookingAtChildren$0())
47318 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
47319 else
47320 return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
47321 },
47322 _atRootQuery$0() {
47323 var interpolation, t2, t3, t4, buffer, t5, _this = this,
47324 t1 = _this.scanner;
47325 if (t1.peekChar$0() === 35) {
47326 interpolation = _this.singleInterpolation$0();
47327 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
47328 }
47329 t2 = t1._string_scanner$_position;
47330 t3 = new A.StringBuffer("");
47331 t4 = A._setArrayType([], type$.JSArray_Object);
47332 buffer = new A.InterpolationBuffer(t3, t4);
47333 t1.expectChar$1(40);
47334 t3._contents += A.Primitives_stringFromCharCode(40);
47335 _this.whitespace$0();
47336 t5 = _this._expression$0();
47337 buffer._flushText$0();
47338 t4.push(t5);
47339 if (t1.scanChar$1(58)) {
47340 _this.whitespace$0();
47341 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
47342 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
47343 t5 = _this._expression$0();
47344 buffer._flushText$0();
47345 t4.push(t5);
47346 }
47347 t1.expectChar$1(41);
47348 _this.whitespace$0();
47349 t3._contents += A.Primitives_stringFromCharCode(41);
47350 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47351 },
47352 _contentRule$1(start) {
47353 var t1, $arguments, t2, t3, _this = this;
47354 if (!_this._stylesheet$_inMixin)
47355 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
47356 _this.whitespace$0();
47357 t1 = _this.scanner;
47358 if (t1.peekChar$0() === 40)
47359 $arguments = _this._argumentInvocation$1$mixin(true);
47360 else {
47361 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47362 t3 = t2.offset;
47363 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47364 }
47365 _this.expectStatementSeparator$1("@content rule");
47366 return new A.ContentRule($arguments, t1.spanFrom$1(start));
47367 },
47368 _debugRule$1(start) {
47369 var value = this._expression$0();
47370 this.expectStatementSeparator$1("@debug rule");
47371 return new A.DebugRule(value, this.scanner.spanFrom$1(start));
47372 },
47373 _eachRule$2(start, child) {
47374 var variables, t1, _this = this,
47375 wasInControlDirective = _this._inControlDirective;
47376 _this._inControlDirective = true;
47377 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
47378 _this.whitespace$0();
47379 for (t1 = _this.scanner; t1.scanChar$1(44);) {
47380 _this.whitespace$0();
47381 t1.expectChar$1(36);
47382 variables.push(_this.identifier$1$normalize(true));
47383 _this.whitespace$0();
47384 }
47385 _this.expectIdentifier$1("in");
47386 _this.whitespace$0();
47387 return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
47388 },
47389 _errorRule$1(start) {
47390 var value = this._expression$0();
47391 this.expectStatementSeparator$1("@error rule");
47392 return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
47393 },
47394 _functionRule$1(start) {
47395 var $name, $arguments, _this = this,
47396 precedingComment = _this.lastSilentComment;
47397 _this.lastSilentComment = null;
47398 $name = _this.identifier$1$normalize(true);
47399 _this.whitespace$0();
47400 $arguments = _this._argumentDeclaration$0();
47401 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47402 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
47403 else if (_this._inControlDirective)
47404 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
47405 switch (A.unvendor($name)) {
47406 case "calc":
47407 case "element":
47408 case "expression":
47409 case "url":
47410 case "and":
47411 case "or":
47412 case "not":
47413 case "clamp":
47414 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
47415 break;
47416 }
47417 _this.whitespace$0();
47418 return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
47419 },
47420 _forRule$2(start, child) {
47421 var variable, from, _this = this, t1 = {},
47422 wasInControlDirective = _this._inControlDirective;
47423 _this._inControlDirective = true;
47424 variable = _this.variableName$0();
47425 _this.whitespace$0();
47426 _this.expectIdentifier$1("from");
47427 _this.whitespace$0();
47428 t1.exclusive = null;
47429 from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
47430 if (t1.exclusive == null)
47431 _this.scanner.error$1(0, 'Expected "to" or "through".');
47432 _this.whitespace$0();
47433 return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
47434 },
47435 _forwardRule$1(start) {
47436 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
47437 url = _this._urlString$0();
47438 _this.whitespace$0();
47439 if (_this.scanIdentifier$1("as")) {
47440 _this.whitespace$0();
47441 prefix = _this.identifier$1$normalize(true);
47442 _this.scanner.expectChar$1(42);
47443 _this.whitespace$0();
47444 } else
47445 prefix = _null;
47446 if (_this.scanIdentifier$1("show")) {
47447 members = _this._memberList$0();
47448 shownMixinsAndFunctions = members.item1;
47449 shownVariables = members.item2;
47450 hiddenVariables = _null;
47451 hiddenMixinsAndFunctions = hiddenVariables;
47452 } else {
47453 if (_this.scanIdentifier$1("hide")) {
47454 members = _this._memberList$0();
47455 hiddenMixinsAndFunctions = members.item1;
47456 hiddenVariables = members.item2;
47457 } else {
47458 hiddenVariables = _null;
47459 hiddenMixinsAndFunctions = hiddenVariables;
47460 }
47461 shownVariables = _null;
47462 shownMixinsAndFunctions = shownVariables;
47463 }
47464 configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
47465 _this.expectStatementSeparator$1("@forward rule");
47466 span = _this.scanner.spanFrom$1(start);
47467 if (!_this._isUseAllowed)
47468 _this.error$2(0, string$.x40forwa, span);
47469 if (shownMixinsAndFunctions != null) {
47470 shownVariables.toString;
47471 t1 = type$.String;
47472 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
47473 t3 = type$.UnmodifiableSetView_String;
47474 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
47475 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47476 return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
47477 } else if (hiddenMixinsAndFunctions != null) {
47478 hiddenVariables.toString;
47479 t1 = type$.String;
47480 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
47481 t3 = type$.UnmodifiableSetView_String;
47482 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
47483 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47484 return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
47485 } else
47486 return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47487 },
47488 _memberList$0() {
47489 var _this = this,
47490 t1 = type$.String,
47491 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
47492 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
47493 t1 = _this.scanner;
47494 do {
47495 _this.whitespace$0();
47496 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
47497 _this.whitespace$0();
47498 } while (t1.scanChar$1(44));
47499 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
47500 },
47501 _ifRule$2(start, child) {
47502 var condition, children, clauses, lastClause, span, _this = this,
47503 ifIndentation = _this.get$currentIndentation(),
47504 wasInControlDirective = _this._inControlDirective;
47505 _this._inControlDirective = true;
47506 condition = _this._expression$0();
47507 children = _this.children$1(0, child);
47508 _this.whitespaceWithoutComments$0();
47509 clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
47510 while (true) {
47511 if (!_this.scanElse$1(ifIndentation)) {
47512 lastClause = null;
47513 break;
47514 }
47515 _this.whitespace$0();
47516 if (_this.scanIdentifier$1("if")) {
47517 _this.whitespace$0();
47518 clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
47519 } else {
47520 lastClause = A.ElseClause$(_this.children$1(0, child));
47521 break;
47522 }
47523 }
47524 _this._inControlDirective = wasInControlDirective;
47525 span = _this.scanner.spanFrom$1(start);
47526 _this.whitespaceWithoutComments$0();
47527 return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
47528 },
47529 _importRule$1(start) {
47530 var argument, _this = this,
47531 imports = A._setArrayType([], type$.JSArray_Import),
47532 t1 = _this.scanner;
47533 do {
47534 _this.whitespace$0();
47535 argument = _this.importArgument$0();
47536 if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
47537 _this._disallowedAtRule$1(start);
47538 imports.push(argument);
47539 _this.whitespace$0();
47540 } while (t1.scanChar$1(44));
47541 _this.expectStatementSeparator$1("@import rule");
47542 t1 = t1.spanFrom$1(start);
47543 return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
47544 },
47545 importArgument$0() {
47546 var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
47547 t1 = _this.scanner,
47548 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
47549 next = t1.peekChar$0();
47550 if (next === 117 || next === 85) {
47551 url = _this.dynamicUrl$0();
47552 _this.whitespace$0();
47553 modifiers = _this.tryImportModifiers$0();
47554 return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
47555 }
47556 url = _this.string$0();
47557 urlSpan = t1.spanFrom$1(start);
47558 _this.whitespace$0();
47559 modifiers = _this.tryImportModifiers$0();
47560 if (_this.isPlainImportUrl$1(url) || modifiers != null) {
47561 t2 = urlSpan;
47562 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));
47563 } else
47564 try {
47565 t1 = _this.parseImportUrl$1(url);
47566 return new A.DynamicImport(t1, urlSpan);
47567 } catch (exception) {
47568 t1 = A.unwrapException(exception);
47569 if (type$.FormatException._is(t1)) {
47570 innerError = t1;
47571 stackTrace = A.getTraceFromException(exception);
47572 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
47573 } else
47574 throw exception;
47575 }
47576 },
47577 parseImportUrl$1(url) {
47578 var t1 = $.$get$windows();
47579 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
47580 return t1.toUri$1(url).toString$0(0);
47581 A.Uri_parse(url);
47582 return url;
47583 },
47584 isPlainImportUrl$1(url) {
47585 var first;
47586 if (url.length < 5)
47587 return false;
47588 if (B.JSString_methods.endsWith$1(url, ".css"))
47589 return true;
47590 first = B.JSString_methods._codeUnitAt$1(url, 0);
47591 if (first === 47)
47592 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
47593 if (first !== 104)
47594 return false;
47595 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
47596 },
47597 tryImportModifiers$0() {
47598 var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
47599 if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
47600 return null;
47601 t1 = _this.scanner;
47602 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47603 t2 = new A.StringBuffer("");
47604 t3 = A._setArrayType([], type$.JSArray_Object);
47605 buffer = new A.InterpolationBuffer(t2, t3);
47606 for (; true;)
47607 if (_this._lookingAtInterpolatedIdentifier$0()) {
47608 if (!(t3.length === 0 && t2._contents.length === 0))
47609 t2._contents += A.Primitives_stringFromCharCode(32);
47610 identifier = _this.interpolatedIdentifier$0();
47611 buffer.addInterpolation$1(identifier);
47612 t4 = identifier.get$asPlain();
47613 $name = t4 == null ? null : t4.toLowerCase();
47614 if ($name !== "and" && t1.scanChar$1(40)) {
47615 if ($name === "supports") {
47616 query = _this._importSupportsQuery$0();
47617 t4 = !(query instanceof A.SupportsDeclaration);
47618 if (t4)
47619 t2._contents += A.Primitives_stringFromCharCode(40);
47620 buffer._flushText$0();
47621 t3.push(new A.SupportsExpression(query));
47622 if (t4)
47623 t2._contents += A.Primitives_stringFromCharCode(41);
47624 } else {
47625 t2._contents += A.Primitives_stringFromCharCode(40);
47626 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
47627 t2._contents += A.Primitives_stringFromCharCode(41);
47628 }
47629 t1.expectChar$1(41);
47630 _this.whitespace$0();
47631 } else {
47632 _this.whitespace$0();
47633 if (t1.scanChar$1(44)) {
47634 t2._contents += ", ";
47635 buffer.addInterpolation$1(_this._mediaQueryList$0());
47636 endPosition = t1._string_scanner$_position;
47637 t4 = t1._sourceFile;
47638 t5 = start.position;
47639 t1 = new A._FileSpan(t4, t5, endPosition);
47640 t1._FileSpan$3(t4, t5, endPosition);
47641 t5 = type$.Object;
47642 t4 = A.List_List$of(t3, true, t5);
47643 t3 = t2._contents;
47644 if (t3.length !== 0)
47645 t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
47646 result = A.List_List$from(t4, false, t5);
47647 result.fixed$length = Array;
47648 result.immutable$list = Array;
47649 t2 = new A.Interpolation(result, t1);
47650 t2.Interpolation$2(t4, t1);
47651 return t2;
47652 }
47653 }
47654 } else if (t1.peekChar$0() === 40) {
47655 if (!(t3.length === 0 && t2._contents.length === 0))
47656 t2._contents += A.Primitives_stringFromCharCode(32);
47657 buffer.addInterpolation$1(_this._mediaQueryList$0());
47658 endPosition = t1._string_scanner$_position;
47659 t1 = t1._sourceFile;
47660 t4 = start.position;
47661 t5 = new A._FileSpan(t1, t4, endPosition);
47662 t5._FileSpan$3(t1, t4, endPosition);
47663 t4 = type$.Object;
47664 t3 = A.List_List$of(t3, true, t4);
47665 t1 = t2._contents;
47666 if (t1.length !== 0)
47667 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
47668 result = A.List_List$from(t3, false, t4);
47669 result.fixed$length = Array;
47670 result.immutable$list = Array;
47671 t1 = new A.Interpolation(result, t5);
47672 t1.Interpolation$2(t3, t5);
47673 return t1;
47674 } else {
47675 endPosition = t1._string_scanner$_position;
47676 t1 = t1._sourceFile;
47677 t4 = start.position;
47678 t5 = new A._FileSpan(t1, t4, endPosition);
47679 t5._FileSpan$3(t1, t4, endPosition);
47680 t4 = type$.Object;
47681 t3 = A.List_List$of(t3, true, t4);
47682 t1 = t2._contents;
47683 if (t1.length !== 0)
47684 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
47685 result = A.List_List$from(t3, false, t4);
47686 result.fixed$length = Array;
47687 result.immutable$list = Array;
47688 t1 = new A.Interpolation(result, t5);
47689 t1.Interpolation$2(t3, t5);
47690 return t1;
47691 }
47692 },
47693 _importSupportsQuery$0() {
47694 var t1, t2, $function, $name, _this = this;
47695 if (_this.scanIdentifier$1("not")) {
47696 _this.whitespace$0();
47697 t1 = _this.scanner;
47698 t2 = t1._string_scanner$_position;
47699 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47700 } else {
47701 t1 = _this.scanner;
47702 if (t1.peekChar$0() === 40)
47703 return _this._supportsCondition$0();
47704 else {
47705 $function = _this._tryImportSupportsFunction$0();
47706 if ($function != null)
47707 return $function;
47708 t2 = t1._string_scanner$_position;
47709 $name = _this._expression$0();
47710 t1.expectChar$1(58);
47711 return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
47712 }
47713 }
47714 },
47715 _tryImportSupportsFunction$0() {
47716 var t1, start, $name, value, _this = this;
47717 if (!_this._lookingAtInterpolatedIdentifier$0())
47718 return null;
47719 t1 = _this.scanner;
47720 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47721 $name = _this.interpolatedIdentifier$0();
47722 if (!t1.scanChar$1(40)) {
47723 t1.set$state(start);
47724 return null;
47725 }
47726 value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
47727 t1.expectChar$1(41);
47728 return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
47729 },
47730 _includeRule$1(start) {
47731 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
47732 $name = _this.identifier$0(),
47733 t1 = _this.scanner;
47734 if (t1.scanChar$1(46)) {
47735 name0 = _this._publicIdentifier$0();
47736 namespace = $name;
47737 $name = name0;
47738 } else {
47739 $name = A.stringReplaceAllUnchecked($name, "_", "-");
47740 namespace = _null;
47741 }
47742 _this.whitespace$0();
47743 if (t1.peekChar$0() === 40)
47744 $arguments = _this._argumentInvocation$1$mixin(true);
47745 else {
47746 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47747 t3 = t2.offset;
47748 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47749 }
47750 _this.whitespace$0();
47751 if (_this.scanIdentifier$1("using")) {
47752 _this.whitespace$0();
47753 contentArguments = _this._argumentDeclaration$0();
47754 _this.whitespace$0();
47755 } else
47756 contentArguments = _null;
47757 t2 = contentArguments == null;
47758 if (!t2 || _this.lookingAtChildren$0()) {
47759 if (t2) {
47760 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47761 t3 = t2.offset;
47762 contentArguments_ = new A.ArgumentDeclaration(B.List_empty8, _null, A._FileSpan$(t2.file, t3, t3));
47763 } else
47764 contentArguments_ = contentArguments;
47765 wasInContentBlock = _this._inContentBlock;
47766 _this._inContentBlock = true;
47767 $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
47768 _this._inContentBlock = wasInContentBlock;
47769 } else {
47770 _this.expectStatementSeparator$0();
47771 $content = _null;
47772 }
47773 t1 = t1.spanFrom$2(start, start);
47774 t2 = $content == null ? $arguments : $content;
47775 return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
47776 },
47777 mediaRule$1(start) {
47778 return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
47779 },
47780 _mixinRule$1(start) {
47781 var $name, t1, $arguments, t2, t3, _this = this,
47782 precedingComment = _this.lastSilentComment;
47783 _this.lastSilentComment = null;
47784 $name = _this.identifier$1$normalize(true);
47785 _this.whitespace$0();
47786 t1 = _this.scanner;
47787 if (t1.peekChar$0() === 40)
47788 $arguments = _this._argumentDeclaration$0();
47789 else {
47790 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47791 t3 = t2.offset;
47792 $arguments = new A.ArgumentDeclaration(B.List_empty8, null, A._FileSpan$(t2.file, t3, t3));
47793 }
47794 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47795 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
47796 else if (_this._inControlDirective)
47797 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
47798 _this.whitespace$0();
47799 _this._stylesheet$_inMixin = true;
47800 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
47801 },
47802 mozDocumentRule$2(start, $name) {
47803 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
47804 t1 = _this.scanner,
47805 t2 = t1._string_scanner$_position,
47806 t3 = new A.StringBuffer(""),
47807 t4 = A._setArrayType([], type$.JSArray_Object),
47808 buffer = new A.InterpolationBuffer(t3, t4);
47809 _box_0.needsDeprecationWarning = false;
47810 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
47811 if (t1.peekChar$0() === 35) {
47812 t7 = _this.singleInterpolation$0();
47813 buffer._flushText$0();
47814 t4.push(t7);
47815 _box_0.needsDeprecationWarning = true;
47816 } else {
47817 t7 = t1._string_scanner$_position;
47818 identifier = _this.identifier$0();
47819 switch (identifier) {
47820 case "url":
47821 case "url-prefix":
47822 case "domain":
47823 contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
47824 if (contents != null)
47825 buffer.addInterpolation$1(contents);
47826 else {
47827 t1.expectChar$1(40);
47828 _this.whitespace$0();
47829 argument = _this.interpolatedString$0();
47830 t1.expectChar$1(41);
47831 t7 = t3._contents += identifier;
47832 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
47833 buffer.addInterpolation$1(argument.asInterpolation$0());
47834 t3._contents += A.Primitives_stringFromCharCode(41);
47835 }
47836 t7 = t3._contents;
47837 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
47838 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("")'))
47839 _box_0.needsDeprecationWarning = true;
47840 break;
47841 case "regexp":
47842 t3._contents += "regexp(";
47843 t1.expectChar$1(40);
47844 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
47845 t1.expectChar$1(41);
47846 t3._contents += A.Primitives_stringFromCharCode(41);
47847 _box_0.needsDeprecationWarning = true;
47848 break;
47849 default:
47850 endPosition = t1._string_scanner$_position;
47851 t8 = t1._sourceFile;
47852 t9 = new A._FileSpan(t8, t7, endPosition);
47853 t9._FileSpan$3(t8, t7, endPosition);
47854 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
47855 }
47856 }
47857 _this.whitespace$0();
47858 if (!t1.scanChar$1(44))
47859 break;
47860 t3._contents += A.Primitives_stringFromCharCode(44);
47861 start0 = t1._string_scanner$_position;
47862 t5.call$0();
47863 end = t1._string_scanner$_position;
47864 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
47865 }
47866 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)))));
47867 },
47868 supportsRule$1(start) {
47869 var _this = this,
47870 condition = _this._supportsCondition$0();
47871 _this.whitespace$0();
47872 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
47873 },
47874 _useRule$1(start) {
47875 var namespace, configuration, span, t1, _this = this,
47876 _s9_ = "@use rule",
47877 url = _this._urlString$0();
47878 _this.whitespace$0();
47879 namespace = _this._useNamespace$2(url, start);
47880 _this.whitespace$0();
47881 configuration = _this._stylesheet$_configuration$0();
47882 _this.expectStatementSeparator$1(_s9_);
47883 span = _this.scanner.spanFrom$1(start);
47884 if (!_this._isUseAllowed)
47885 _this.error$2(0, string$.x40use_r, span);
47886 _this.expectStatementSeparator$1(_s9_);
47887 t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47888 t1.UseRule$4$configuration(url, namespace, span, configuration);
47889 return t1;
47890 },
47891 _useNamespace$2(url, start) {
47892 var namespace, basename, dot, t1, exception, _this = this;
47893 if (_this.scanIdentifier$1("as")) {
47894 _this.whitespace$0();
47895 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
47896 }
47897 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
47898 dot = B.JSString_methods.indexOf$1(basename, ".");
47899 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
47900 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
47901 try {
47902 t1 = A.SpanScanner$(namespace, null);
47903 t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
47904 return t1;
47905 } catch (exception) {
47906 if (A.unwrapException(exception) instanceof A.SassFormatException)
47907 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
47908 else
47909 throw exception;
47910 }
47911 },
47912 _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
47913 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
47914 if (!_this.scanIdentifier$1("with"))
47915 return null;
47916 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47917 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
47918 _this.whitespace$0();
47919 t1 = _this.scanner;
47920 t1.expectChar$1(40);
47921 for (t2 = t1.string; true;) {
47922 _this.whitespace$0();
47923 t3 = t1._string_scanner$_position;
47924 t1.expectChar$1(36);
47925 $name = _this.identifier$1$normalize(true);
47926 _this.whitespace$0();
47927 t1.expectChar$1(58);
47928 _this.whitespace$0();
47929 expression = _this.expressionUntilComma$0();
47930 t4 = t1._string_scanner$_position;
47931 if (allowGuarded && t1.scanChar$1(33))
47932 if (_this.identifier$0() === "default") {
47933 _this.whitespace$0();
47934 guarded = true;
47935 } else {
47936 endPosition = t1._string_scanner$_position;
47937 t5 = t1._sourceFile;
47938 t6 = new A._FileSpan(t5, t4, endPosition);
47939 t6._FileSpan$3(t5, t4, endPosition);
47940 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
47941 guarded = false;
47942 }
47943 else
47944 guarded = false;
47945 endPosition = t1._string_scanner$_position;
47946 t4 = t1._sourceFile;
47947 span = new A._FileSpan(t4, t3, endPosition);
47948 span._FileSpan$3(t4, t3, endPosition);
47949 if (variableNames.contains$1(0, $name))
47950 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
47951 variableNames.add$1(0, $name);
47952 configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
47953 if (!t1.scanChar$1(44))
47954 break;
47955 _this.whitespace$0();
47956 if (!_this._lookingAtExpression$0())
47957 break;
47958 }
47959 t1.expectChar$1(41);
47960 return configuration;
47961 },
47962 _stylesheet$_configuration$0() {
47963 return this._stylesheet$_configuration$1$allowGuarded(false);
47964 },
47965 _warnRule$1(start) {
47966 var value = this._expression$0();
47967 this.expectStatementSeparator$1("@warn rule");
47968 return new A.WarnRule(value, this.scanner.spanFrom$1(start));
47969 },
47970 _whileRule$2(start, child) {
47971 var _this = this,
47972 wasInControlDirective = _this._inControlDirective;
47973 _this._inControlDirective = true;
47974 return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
47975 },
47976 unknownAtRule$2(start, $name) {
47977 var t2, t3, rule, _this = this, t1 = {},
47978 wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
47979 _this._stylesheet$_inUnknownAtRule = true;
47980 t1.value = null;
47981 t2 = _this.scanner;
47982 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
47983 if (_this.lookingAtChildren$0())
47984 rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
47985 else {
47986 _this.expectStatementSeparator$0();
47987 rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
47988 }
47989 _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
47990 return rule;
47991 },
47992 _disallowedAtRule$1(start) {
47993 this.almostAnyValue$0();
47994 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
47995 },
47996 _argumentDeclaration$0() {
47997 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
47998 t1 = _this.scanner,
47999 t2 = t1._string_scanner$_position;
48000 t1.expectChar$1(40);
48001 _this.whitespace$0();
48002 $arguments = A._setArrayType([], type$.JSArray_Argument);
48003 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
48004 t3 = t1.string;
48005 while (true) {
48006 if (!(t1.peekChar$0() === 36)) {
48007 restArgument = null;
48008 break;
48009 }
48010 t4 = t1._string_scanner$_position;
48011 t1.expectChar$1(36);
48012 $name = _this.identifier$1$normalize(true);
48013 _this.whitespace$0();
48014 if (t1.scanChar$1(58)) {
48015 _this.whitespace$0();
48016 defaultValue = _this.expressionUntilComma$0();
48017 } else {
48018 if (t1.scanChar$1(46)) {
48019 t1.expectChar$1(46);
48020 t1.expectChar$1(46);
48021 _this.whitespace$0();
48022 restArgument = $name;
48023 break;
48024 }
48025 defaultValue = null;
48026 }
48027 endPosition = t1._string_scanner$_position;
48028 t5 = t1._sourceFile;
48029 t6 = new A._FileSpan(t5, t4, endPosition);
48030 t6._FileSpan$3(t5, t4, endPosition);
48031 $arguments.push(new A.Argument($name, defaultValue, t6));
48032 if (!named.add$1(0, $name))
48033 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
48034 if (!t1.scanChar$1(44)) {
48035 restArgument = null;
48036 break;
48037 }
48038 _this.whitespace$0();
48039 }
48040 t1.expectChar$1(41);
48041 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48042 return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
48043 },
48044 _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
48045 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
48046 t1 = _this.scanner,
48047 t2 = t1._string_scanner$_position;
48048 t1.expectChar$1(40);
48049 _this.whitespace$0();
48050 positional = A._setArrayType([], type$.JSArray_Expression);
48051 t3 = type$.String;
48052 t4 = type$.Expression;
48053 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
48054 t5 = !mixin;
48055 t6 = t1.string;
48056 rest = _null;
48057 while (true) {
48058 if (!_this._lookingAtExpression$0()) {
48059 keywordRest = _null;
48060 break;
48061 }
48062 expression = _this.expressionUntilComma$1$singleEquals(t5);
48063 _this.whitespace$0();
48064 if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
48065 _this.whitespace$0();
48066 t7 = expression.name;
48067 if (named.containsKey$1(t7))
48068 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
48069 named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
48070 } else if (t1.scanChar$1(46)) {
48071 t1.expectChar$1(46);
48072 t1.expectChar$1(46);
48073 if (rest != null) {
48074 _this.whitespace$0();
48075 keywordRest = expression;
48076 break;
48077 }
48078 rest = expression;
48079 } else if (named.__js_helper$_length !== 0)
48080 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
48081 else
48082 positional.push(expression);
48083 _this.whitespace$0();
48084 if (!t1.scanChar$1(44)) {
48085 keywordRest = _null;
48086 break;
48087 }
48088 _this.whitespace$0();
48089 if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
48090 t5 = t1._sourceFile;
48091 t6 = t1._string_scanner$_position;
48092 new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
48093 t7 = new A._FileSpan(t5, t6, t6);
48094 t7._FileSpan$3(t5, t6, t6);
48095 t6 = A._setArrayType([""], type$.JSArray_Object);
48096 result = A.List_List$from(t6, false, type$.Object);
48097 result.fixed$length = Array;
48098 result.immutable$list = Array;
48099 t5 = new A.Interpolation(result, t7);
48100 t5.Interpolation$2(t6, t7);
48101 positional.push(new A.StringExpression(t5, false));
48102 keywordRest = _null;
48103 break;
48104 }
48105 }
48106 t1.expectChar$1(41);
48107 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48108 return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
48109 },
48110 _argumentInvocation$0() {
48111 return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
48112 },
48113 _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
48114 return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
48115 },
48116 _argumentInvocation$1$mixin(mixin) {
48117 return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
48118 },
48119 _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
48120 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
48121 _s20_ = "Expected expression.",
48122 _box_0 = {},
48123 t1 = until != null;
48124 if (t1 && until.call$0())
48125 _this.scanner.error$1(0, _s20_);
48126 if (bracketList) {
48127 t2 = _this.scanner;
48128 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
48129 t2.expectChar$1(91);
48130 _this.whitespace$0();
48131 if (t2.scanChar$1(93)) {
48132 t1 = A._setArrayType([], type$.JSArray_Expression);
48133 t2 = t2.spanFrom$1(beforeBracket);
48134 return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48135 }
48136 } else
48137 beforeBracket = null;
48138 t2 = _this.scanner;
48139 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
48140 wasInParentheses = _this._inParentheses;
48141 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
48142 _box_0.allowSlash = true;
48143 _box_0.singleExpression_ = _this._singleExpression$0();
48144 resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
48145 resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
48146 resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
48147 addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
48148 addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
48149 resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
48150 $label0$0:
48151 for (t3 = type$.JSArray_Expression; true;) {
48152 _this.whitespace$0();
48153 if (t1 && until.call$0())
48154 break $label0$0;
48155 first = t2.peekChar$0();
48156 switch (first) {
48157 case 40:
48158 addSingleExpression.call$1(_this._parentheses$0());
48159 break;
48160 case 91:
48161 addSingleExpression.call$1(_this._expression$1$bracketList(true));
48162 break;
48163 case 36:
48164 addSingleExpression.call$1(_this._variable$0());
48165 break;
48166 case 38:
48167 addSingleExpression.call$1(_this._selector$0());
48168 break;
48169 case 39:
48170 case 34:
48171 addSingleExpression.call$1(_this.interpolatedString$0());
48172 break;
48173 case 35:
48174 addSingleExpression.call$1(_this._hashExpression$0());
48175 break;
48176 case 61:
48177 t2.readChar$0();
48178 if (singleEquals && t2.peekChar$0() !== 61)
48179 addOperator.call$1(B.BinaryOperator_kjl);
48180 else {
48181 t2.expectChar$1(61);
48182 addOperator.call$1(B.BinaryOperator_YlX);
48183 }
48184 break;
48185 case 33:
48186 next = t2.peekChar$1(1);
48187 if (next === 61) {
48188 t2.readChar$0();
48189 t2.readChar$0();
48190 addOperator.call$1(B.BinaryOperator_i5H);
48191 } else {
48192 if (next != null)
48193 if ((next | 32) >>> 0 !== 105)
48194 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
48195 else
48196 t4 = true;
48197 else
48198 t4 = true;
48199 if (t4)
48200 addSingleExpression.call$1(_this._importantExpression$0());
48201 else
48202 break $label0$0;
48203 }
48204 break;
48205 case 60:
48206 t2.readChar$0();
48207 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h : B.BinaryOperator_8qt);
48208 break;
48209 case 62:
48210 t2.readChar$0();
48211 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da : B.BinaryOperator_AcR);
48212 break;
48213 case 42:
48214 t2.readChar$0();
48215 addOperator.call$1(B.BinaryOperator_O1M);
48216 break;
48217 case 43:
48218 if (_box_0.singleExpression_ == null)
48219 addSingleExpression.call$1(_this._unaryOperation$0());
48220 else {
48221 t2.readChar$0();
48222 addOperator.call$1(B.BinaryOperator_AcR0);
48223 }
48224 break;
48225 case 45:
48226 next = t2.peekChar$1(1);
48227 if (next != null && next >= 48 && next <= 57 || next === 46)
48228 if (_box_0.singleExpression_ != null) {
48229 t4 = t2.peekChar$1(-1);
48230 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
48231 } else
48232 t4 = true;
48233 else
48234 t4 = false;
48235 if (t4)
48236 addSingleExpression.call$1(_this._number$0());
48237 else if (_this._lookingAtInterpolatedIdentifier$0())
48238 addSingleExpression.call$1(_this.identifierLike$0());
48239 else if (_box_0.singleExpression_ == null)
48240 addSingleExpression.call$1(_this._unaryOperation$0());
48241 else {
48242 t2.readChar$0();
48243 addOperator.call$1(B.BinaryOperator_iyO);
48244 }
48245 break;
48246 case 47:
48247 if (_box_0.singleExpression_ == null)
48248 addSingleExpression.call$1(_this._unaryOperation$0());
48249 else {
48250 t2.readChar$0();
48251 addOperator.call$1(B.BinaryOperator_RTB);
48252 }
48253 break;
48254 case 37:
48255 t2.readChar$0();
48256 addOperator.call$1(B.BinaryOperator_2ad);
48257 break;
48258 case 48:
48259 case 49:
48260 case 50:
48261 case 51:
48262 case 52:
48263 case 53:
48264 case 54:
48265 case 55:
48266 case 56:
48267 case 57:
48268 addSingleExpression.call$1(_this._number$0());
48269 break;
48270 case 46:
48271 if (t2.peekChar$1(1) === 46)
48272 break $label0$0;
48273 addSingleExpression.call$1(_this._number$0());
48274 break;
48275 case 97:
48276 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
48277 addOperator.call$1(B.BinaryOperator_and_and_2);
48278 else
48279 addSingleExpression.call$1(_this.identifierLike$0());
48280 break;
48281 case 111:
48282 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
48283 addOperator.call$1(B.BinaryOperator_or_or_1);
48284 else
48285 addSingleExpression.call$1(_this.identifierLike$0());
48286 break;
48287 case 117:
48288 case 85:
48289 if (t2.peekChar$1(1) === 43)
48290 addSingleExpression.call$1(_this._unicodeRange$0());
48291 else
48292 addSingleExpression.call$1(_this.identifierLike$0());
48293 break;
48294 case 98:
48295 case 99:
48296 case 100:
48297 case 101:
48298 case 102:
48299 case 103:
48300 case 104:
48301 case 105:
48302 case 106:
48303 case 107:
48304 case 108:
48305 case 109:
48306 case 110:
48307 case 112:
48308 case 113:
48309 case 114:
48310 case 115:
48311 case 116:
48312 case 118:
48313 case 119:
48314 case 120:
48315 case 121:
48316 case 122:
48317 case 65:
48318 case 66:
48319 case 67:
48320 case 68:
48321 case 69:
48322 case 70:
48323 case 71:
48324 case 72:
48325 case 73:
48326 case 74:
48327 case 75:
48328 case 76:
48329 case 77:
48330 case 78:
48331 case 79:
48332 case 80:
48333 case 81:
48334 case 82:
48335 case 83:
48336 case 84:
48337 case 86:
48338 case 87:
48339 case 88:
48340 case 89:
48341 case 90:
48342 case 95:
48343 case 92:
48344 addSingleExpression.call$1(_this.identifierLike$0());
48345 break;
48346 case 44:
48347 if (_this._inParentheses) {
48348 _this._inParentheses = false;
48349 if (_box_0.allowSlash) {
48350 resetState.call$0();
48351 break;
48352 }
48353 }
48354 commaExpressions = _box_0.commaExpressions_;
48355 if (commaExpressions == null)
48356 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
48357 if (_box_0.singleExpression_ == null)
48358 t2.error$1(0, _s20_);
48359 resolveSpaceExpressions.call$0();
48360 t4 = _box_0.singleExpression_;
48361 t4.toString;
48362 commaExpressions.push(t4);
48363 t2.readChar$0();
48364 _box_0.allowSlash = true;
48365 _box_0.singleExpression_ = null;
48366 break;
48367 default:
48368 if (first != null && first >= 128) {
48369 addSingleExpression.call$1(_this.identifierLike$0());
48370 break;
48371 } else
48372 break $label0$0;
48373 }
48374 }
48375 if (bracketList)
48376 t2.expectChar$1(93);
48377 commaExpressions = _box_0.commaExpressions_;
48378 spaceExpressions = _box_0.spaceExpressions_;
48379 if (commaExpressions != null) {
48380 resolveSpaceExpressions.call$0();
48381 _this._inParentheses = wasInParentheses;
48382 singleExpression = _box_0.singleExpression_;
48383 if (singleExpression != null)
48384 commaExpressions.push(singleExpression);
48385 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
48386 return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_kWM, bracketList, t1);
48387 } else if (bracketList && spaceExpressions != null) {
48388 resolveOperations.call$0();
48389 t1 = _box_0.singleExpression_;
48390 t1.toString;
48391 spaceExpressions.push(t1);
48392 beforeBracket.toString;
48393 t2 = t2.spanFrom$1(beforeBracket);
48394 return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, true, t2);
48395 } else {
48396 resolveSpaceExpressions.call$0();
48397 if (bracketList) {
48398 t1 = _box_0.singleExpression_;
48399 t1.toString;
48400 t3 = A._setArrayType([t1], t3);
48401 beforeBracket.toString;
48402 t2 = t2.spanFrom$1(beforeBracket);
48403 _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48404 }
48405 t1 = _box_0.singleExpression_;
48406 t1.toString;
48407 return t1;
48408 }
48409 },
48410 _expression$0() {
48411 return this._expression$3$bracketList$singleEquals$until(false, false, null);
48412 },
48413 _expression$2$singleEquals$until(singleEquals, until) {
48414 return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
48415 },
48416 _expression$1$bracketList(bracketList) {
48417 return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
48418 },
48419 _expression$1$until(until) {
48420 return this._expression$3$bracketList$singleEquals$until(false, false, until);
48421 },
48422 expressionUntilComma$1$singleEquals(singleEquals) {
48423 return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
48424 },
48425 expressionUntilComma$0() {
48426 return this.expressionUntilComma$1$singleEquals(false);
48427 },
48428 _isSlashOperand$1(expression) {
48429 var t1;
48430 if (!(expression instanceof A.NumberExpression))
48431 if (!(expression instanceof A.CalculationExpression))
48432 t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
48433 else
48434 t1 = true;
48435 else
48436 t1 = true;
48437 return t1;
48438 },
48439 _singleExpression$0() {
48440 var next, _this = this,
48441 t1 = _this.scanner,
48442 first = t1.peekChar$0();
48443 switch (first) {
48444 case 40:
48445 return _this._parentheses$0();
48446 case 47:
48447 return _this._unaryOperation$0();
48448 case 46:
48449 return _this._number$0();
48450 case 91:
48451 return _this._expression$1$bracketList(true);
48452 case 36:
48453 return _this._variable$0();
48454 case 38:
48455 return _this._selector$0();
48456 case 39:
48457 case 34:
48458 return _this.interpolatedString$0();
48459 case 35:
48460 return _this._hashExpression$0();
48461 case 43:
48462 next = t1.peekChar$1(1);
48463 return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
48464 case 45:
48465 return _this._minusExpression$0();
48466 case 33:
48467 return _this._importantExpression$0();
48468 case 117:
48469 case 85:
48470 if (t1.peekChar$1(1) === 43)
48471 return _this._unicodeRange$0();
48472 else
48473 return _this.identifierLike$0();
48474 case 48:
48475 case 49:
48476 case 50:
48477 case 51:
48478 case 52:
48479 case 53:
48480 case 54:
48481 case 55:
48482 case 56:
48483 case 57:
48484 return _this._number$0();
48485 case 97:
48486 case 98:
48487 case 99:
48488 case 100:
48489 case 101:
48490 case 102:
48491 case 103:
48492 case 104:
48493 case 105:
48494 case 106:
48495 case 107:
48496 case 108:
48497 case 109:
48498 case 110:
48499 case 111:
48500 case 112:
48501 case 113:
48502 case 114:
48503 case 115:
48504 case 116:
48505 case 118:
48506 case 119:
48507 case 120:
48508 case 121:
48509 case 122:
48510 case 65:
48511 case 66:
48512 case 67:
48513 case 68:
48514 case 69:
48515 case 70:
48516 case 71:
48517 case 72:
48518 case 73:
48519 case 74:
48520 case 75:
48521 case 76:
48522 case 77:
48523 case 78:
48524 case 79:
48525 case 80:
48526 case 81:
48527 case 82:
48528 case 83:
48529 case 84:
48530 case 86:
48531 case 87:
48532 case 88:
48533 case 89:
48534 case 90:
48535 case 95:
48536 case 92:
48537 return _this.identifierLike$0();
48538 default:
48539 if (first != null && first >= 128)
48540 return _this.identifierLike$0();
48541 t1.error$1(0, "Expected expression.");
48542 }
48543 },
48544 _parentheses$0() {
48545 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
48546 if (_this.get$plainCss())
48547 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
48548 wasInParentheses = _this._inParentheses;
48549 _this._inParentheses = true;
48550 try {
48551 t1 = _this.scanner;
48552 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48553 t1.expectChar$1(40);
48554 _this.whitespace$0();
48555 if (!_this._lookingAtExpression$0()) {
48556 t1.expectChar$1(41);
48557 t2 = A._setArrayType([], type$.JSArray_Expression);
48558 t1 = t1.spanFrom$1(start);
48559 t2 = A.List_List$unmodifiable(t2, type$.Expression);
48560 return new A.ListExpression(t2, B.ListSeparator_undecided_null, false, t1);
48561 }
48562 first = _this.expressionUntilComma$0();
48563 if (t1.scanChar$1(58)) {
48564 _this.whitespace$0();
48565 t1 = _this._stylesheet$_map$2(first, start);
48566 return t1;
48567 }
48568 if (!t1.scanChar$1(44)) {
48569 t1.expectChar$1(41);
48570 t1 = t1.spanFrom$1(start);
48571 return new A.ParenthesizedExpression(first, t1);
48572 }
48573 _this.whitespace$0();
48574 expressions = A._setArrayType([first], type$.JSArray_Expression);
48575 for (; true;) {
48576 if (!_this._lookingAtExpression$0())
48577 break;
48578 J.add$1$ax(expressions, _this.expressionUntilComma$0());
48579 if (!t1.scanChar$1(44))
48580 break;
48581 _this.whitespace$0();
48582 }
48583 t1.expectChar$1(41);
48584 t1 = t1.spanFrom$1(start);
48585 t2 = A.List_List$unmodifiable(expressions, type$.Expression);
48586 return new A.ListExpression(t2, B.ListSeparator_kWM, false, t1);
48587 } finally {
48588 _this._inParentheses = wasInParentheses;
48589 }
48590 },
48591 _stylesheet$_map$2(first, start) {
48592 var t2, key, _this = this,
48593 t1 = type$.Tuple2_Expression_Expression,
48594 pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
48595 for (t2 = _this.scanner; t2.scanChar$1(44);) {
48596 _this.whitespace$0();
48597 if (!_this._lookingAtExpression$0())
48598 break;
48599 key = _this.expressionUntilComma$0();
48600 t2.expectChar$1(58);
48601 _this.whitespace$0();
48602 pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
48603 }
48604 t2.expectChar$1(41);
48605 t2 = t2.spanFrom$1(start);
48606 return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
48607 },
48608 _hashExpression$0() {
48609 var start, first, t2, identifier, buffer, _this = this,
48610 t1 = _this.scanner;
48611 if (t1.peekChar$1(1) === 123)
48612 return _this.identifierLike$0();
48613 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48614 t1.expectChar$1(35);
48615 first = t1.peekChar$0();
48616 if (first != null && A.isDigit(first))
48617 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48618 t2 = t1._string_scanner$_position;
48619 identifier = _this.interpolatedIdentifier$0();
48620 if (_this._isHexColor$1(identifier)) {
48621 t1.set$state(new A._SpanScannerState(t1, t2));
48622 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48623 }
48624 t2 = new A.StringBuffer("");
48625 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48626 t2._contents = "" + A.Primitives_stringFromCharCode(35);
48627 buffer.addInterpolation$1(identifier);
48628 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48629 },
48630 _hexColorContents$1(start) {
48631 var red, green, blue, alpha, digit4, t2, t3, _this = this,
48632 digit1 = _this._hexDigit$0(),
48633 digit2 = _this._hexDigit$0(),
48634 digit3 = _this._hexDigit$0(),
48635 t1 = _this.scanner;
48636 if (!A.isHex(t1.peekChar$0())) {
48637 red = (digit1 << 4 >>> 0) + digit1;
48638 green = (digit2 << 4 >>> 0) + digit2;
48639 blue = (digit3 << 4 >>> 0) + digit3;
48640 alpha = null;
48641 } else {
48642 digit4 = _this._hexDigit$0();
48643 t2 = digit1 << 4 >>> 0;
48644 t3 = digit3 << 4 >>> 0;
48645 if (!A.isHex(t1.peekChar$0())) {
48646 red = t2 + digit1;
48647 green = (digit2 << 4 >>> 0) + digit2;
48648 blue = t3 + digit3;
48649 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
48650 } else {
48651 red = t2 + digit2;
48652 green = t3 + digit4;
48653 blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
48654 alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
48655 }
48656 }
48657 return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
48658 },
48659 _isHexColor$1(interpolation) {
48660 var t1,
48661 plain = interpolation.get$asPlain();
48662 if (plain == null)
48663 return false;
48664 t1 = plain.length;
48665 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
48666 return false;
48667 t1 = new A.CodeUnits(plain);
48668 return t1.every$1(t1, A.character__isHex$closure());
48669 },
48670 _hexDigit$0() {
48671 var t1 = this.scanner,
48672 char = t1.peekChar$0();
48673 if (char == null || !A.isHex(char))
48674 t1.error$1(0, "Expected hex digit.");
48675 return A.asHex(t1.readChar$0());
48676 },
48677 _minusExpression$0() {
48678 var _this = this,
48679 next = _this.scanner.peekChar$1(1);
48680 if (A.isDigit(next) || next === 46)
48681 return _this._number$0();
48682 if (_this._lookingAtInterpolatedIdentifier$0())
48683 return _this.identifierLike$0();
48684 return _this._unaryOperation$0();
48685 },
48686 _importantExpression$0() {
48687 var t1 = this.scanner,
48688 t2 = t1._string_scanner$_position;
48689 t1.readChar$0();
48690 this.whitespace$0();
48691 this.expectIdentifier$1("important");
48692 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48693 return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
48694 },
48695 _unaryOperation$0() {
48696 var _this = this,
48697 t1 = _this.scanner,
48698 t2 = t1._string_scanner$_position,
48699 operator = _this._unaryOperatorFor$1(t1.readChar$0());
48700 if (operator == null)
48701 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
48702 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx)
48703 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
48704 _this.whitespace$0();
48705 return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48706 },
48707 _unaryOperatorFor$1(character) {
48708 switch (character) {
48709 case 43:
48710 return B.UnaryOperator_j2w;
48711 case 45:
48712 return B.UnaryOperator_U4G;
48713 case 47:
48714 return B.UnaryOperator_zDx;
48715 default:
48716 return null;
48717 }
48718 },
48719 _number$0() {
48720 var number, t4, unit, t5, _this = this,
48721 t1 = _this.scanner,
48722 t2 = t1._string_scanner$_position,
48723 first = t1.peekChar$0(),
48724 t3 = first === 45,
48725 sign = t3 ? -1 : 1;
48726 if (first === 43 || t3)
48727 t1.readChar$0();
48728 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
48729 t3 = _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
48730 t4 = _this._tryExponent$0();
48731 if (t1.scanChar$1(37))
48732 unit = "%";
48733 else {
48734 if (_this.lookingAtIdentifier$0())
48735 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
48736 else
48737 t5 = false;
48738 unit = t5 ? _this.identifier$1$unit(true) : null;
48739 }
48740 return new A.NumberExpression(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48741 },
48742 _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
48743 var t2,
48744 t1 = this.scanner,
48745 start = t1._string_scanner$_position;
48746 if (t1.peekChar$0() !== 46)
48747 return 0;
48748 if (!A.isDigit(t1.peekChar$1(1))) {
48749 if (allowTrailingDot)
48750 return 0;
48751 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
48752 }
48753 t1.readChar$0();
48754 while (true) {
48755 t2 = t1.peekChar$0();
48756 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48757 break;
48758 t1.readChar$0();
48759 }
48760 return A.double_parse(t1.substring$1(0, start));
48761 },
48762 _tryExponent$0() {
48763 var next, t2, exponentSign, exponent,
48764 t1 = this.scanner,
48765 first = t1.peekChar$0();
48766 if (first !== 101 && first !== 69)
48767 return 1;
48768 next = t1.peekChar$1(1);
48769 if (!A.isDigit(next) && next !== 45 && next !== 43)
48770 return 1;
48771 t1.readChar$0();
48772 t2 = next === 45;
48773 exponentSign = t2 ? -1 : 1;
48774 if (next === 43 || t2)
48775 t1.readChar$0();
48776 if (!A.isDigit(t1.peekChar$0()))
48777 t1.error$1(0, "Expected digit.");
48778 exponent = 0;
48779 while (true) {
48780 t2 = t1.peekChar$0();
48781 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48782 break;
48783 exponent = exponent * 10 + (t1.readChar$0() - 48);
48784 }
48785 return Math.pow(10, exponentSign * exponent);
48786 },
48787 _unicodeRange$0() {
48788 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
48789 _s26_ = "Expected at most 6 digits.",
48790 t1 = _this.scanner,
48791 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48792 _this.expectIdentChar$1(117);
48793 t1.expectChar$1(43);
48794 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
48795 ++firstRangeLength;
48796 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
48797 ++firstRangeLength;
48798 if (firstRangeLength === 0)
48799 t1.error$1(0, 'Expected hex digit or "?".');
48800 else if (firstRangeLength > 6)
48801 _this.error$2(0, _s26_, t1.spanFrom$1(start));
48802 else if (hasQuestionMark) {
48803 t2 = t1.substring$1(0, start.position);
48804 t1 = t1.spanFrom$1(start);
48805 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48806 }
48807 if (t1.scanChar$1(45)) {
48808 t2 = t1._string_scanner$_position;
48809 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
48810 ++secondRangeLength;
48811 if (secondRangeLength === 0)
48812 t1.error$1(0, "Expected hex digit.");
48813 else if (secondRangeLength > 6)
48814 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48815 }
48816 if (_this._lookingAtInterpolatedIdentifierBody$0())
48817 t1.error$1(0, "Expected end of identifier.");
48818 t2 = t1.substring$1(0, start.position);
48819 t1 = t1.spanFrom$1(start);
48820 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48821 },
48822 _variable$0() {
48823 var _this = this,
48824 t1 = _this.scanner,
48825 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48826 $name = _this.variableName$0();
48827 if (_this.get$plainCss())
48828 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
48829 return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
48830 },
48831 _selector$0() {
48832 var t1, start, _this = this;
48833 if (_this.get$plainCss())
48834 _this.scanner.error$2$length(0, string$.The_pa, 1);
48835 t1 = _this.scanner;
48836 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48837 t1.expectChar$1(38);
48838 if (t1.scanChar$1(38)) {
48839 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
48840 t1.set$position(t1._string_scanner$_position - 1);
48841 }
48842 return new A.SelectorExpression(t1.spanFrom$1(start));
48843 },
48844 interpolatedString$0() {
48845 var t3, t4, buffer, next, second, t5,
48846 t1 = this.scanner,
48847 t2 = t1._string_scanner$_position,
48848 quote = t1.readChar$0();
48849 if (quote !== 39 && quote !== 34)
48850 t1.error$2$position(0, "Expected string.", t2);
48851 t3 = new A.StringBuffer("");
48852 t4 = A._setArrayType([], type$.JSArray_Object);
48853 buffer = new A.InterpolationBuffer(t3, t4);
48854 for (; true;) {
48855 next = t1.peekChar$0();
48856 if (next === quote) {
48857 t1.readChar$0();
48858 break;
48859 } else if (next == null || next === 10 || next === 13 || next === 12)
48860 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
48861 else if (next === 92) {
48862 second = t1.peekChar$1(1);
48863 if (second === 10 || second === 13 || second === 12) {
48864 t1.readChar$0();
48865 t1.readChar$0();
48866 if (second === 13)
48867 t1.scanChar$1(10);
48868 } else
48869 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
48870 } else if (next === 35)
48871 if (t1.peekChar$1(1) === 123) {
48872 t5 = this.singleInterpolation$0();
48873 buffer._flushText$0();
48874 t4.push(t5);
48875 } else
48876 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48877 else
48878 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48879 }
48880 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
48881 },
48882 identifierLike$0() {
48883 var invocation, color, specialFunction, _this = this,
48884 t1 = _this.scanner,
48885 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48886 identifier = _this.interpolatedIdentifier$0(),
48887 plain = identifier.get$asPlain(),
48888 lower = A._Cell$(),
48889 t2 = plain == null,
48890 t3 = !t2;
48891 if (t3) {
48892 if (plain === "if" && t1.peekChar$0() === 40) {
48893 invocation = _this._argumentInvocation$0();
48894 return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
48895 } else if (plain === "not") {
48896 _this.whitespace$0();
48897 return new A.UnaryOperationExpression(B.UnaryOperator_not_not, _this._singleExpression$0(), identifier.span);
48898 }
48899 lower._value = plain.toLowerCase();
48900 if (t1.peekChar$0() !== 40) {
48901 switch (plain) {
48902 case "false":
48903 return new A.BooleanExpression(false, identifier.span);
48904 case "null":
48905 return new A.NullExpression(identifier.span);
48906 case "true":
48907 return new A.BooleanExpression(true, identifier.span);
48908 }
48909 color = $.$get$colorsByName().$index(0, lower._readLocal$0());
48910 if (color != null) {
48911 t1 = identifier.span;
48912 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);
48913 }
48914 }
48915 specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
48916 if (specialFunction != null)
48917 return specialFunction;
48918 }
48919 switch (t1.peekChar$0()) {
48920 case 46:
48921 if (t1.peekChar$1(1) === 46)
48922 return new A.StringExpression(identifier, false);
48923 t1.readChar$0();
48924 if (t3)
48925 return _this.namespacedExpression$2(plain, start);
48926 _this.error$2(0, string$.Interpn, identifier.span);
48927 break;
48928 case 40:
48929 if (t2)
48930 return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48931 else
48932 return new A.FunctionExpression(null, plain, _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
48933 default:
48934 return new A.StringExpression(identifier, false);
48935 }
48936 },
48937 namespacedExpression$2(namespace, start) {
48938 var $name, _this = this,
48939 t1 = _this.scanner;
48940 if (t1.peekChar$0() === 36) {
48941 $name = _this.variableName$0();
48942 _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
48943 return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
48944 }
48945 return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
48946 },
48947 trySpecialFunction$2($name, start) {
48948 var t2, buffer, t3, next, _this = this, _null = null,
48949 t1 = _this.scanner,
48950 calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
48951 if (calculation != null)
48952 return calculation;
48953 switch (A.unvendor($name)) {
48954 case "calc":
48955 case "element":
48956 case "expression":
48957 if (!t1.scanChar$1(40))
48958 return _null;
48959 t2 = new A.StringBuffer("");
48960 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48961 t3 = "" + $name;
48962 t2._contents = t3;
48963 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
48964 break;
48965 case "progid":
48966 if (!t1.scanChar$1(58))
48967 return _null;
48968 t2 = new A.StringBuffer("");
48969 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48970 t3 = "" + $name;
48971 t2._contents = t3;
48972 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
48973 next = t1.peekChar$0();
48974 while (true) {
48975 if (next != null) {
48976 if (!(next >= 97 && next <= 122))
48977 t3 = next >= 65 && next <= 90;
48978 else
48979 t3 = true;
48980 t3 = t3 || next === 46;
48981 } else
48982 t3 = false;
48983 if (!t3)
48984 break;
48985 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48986 next = t1.peekChar$0();
48987 }
48988 t1.expectChar$1(40);
48989 t2._contents += A.Primitives_stringFromCharCode(40);
48990 break;
48991 case "url":
48992 return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
48993 default:
48994 return _null;
48995 }
48996 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
48997 t1.expectChar$1(41);
48998 buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
48999 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
49000 },
49001 _tryCalculation$2($name, start) {
49002 var beforeArguments, $arguments, t1, exception, t2, _this = this;
49003 switch ($name) {
49004 case "calc":
49005 $arguments = _this._calculationArguments$1(1);
49006 t1 = _this.scanner.spanFrom$1(start);
49007 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
49008 case "min":
49009 case "max":
49010 t1 = _this.scanner;
49011 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
49012 $arguments = null;
49013 try {
49014 $arguments = _this._calculationArguments$0();
49015 } catch (exception) {
49016 if (type$.FormatException._is(A.unwrapException(exception))) {
49017 t1.set$state(beforeArguments);
49018 return null;
49019 } else
49020 throw exception;
49021 }
49022 t2 = $arguments;
49023 t1 = t1.spanFrom$1(start);
49024 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
49025 case "clamp":
49026 $arguments = _this._calculationArguments$1(3);
49027 t1 = _this.scanner.spanFrom$1(start);
49028 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
49029 default:
49030 return null;
49031 }
49032 },
49033 _calculationArguments$1(maxArgs) {
49034 var interpolation, $arguments, t2, _this = this,
49035 t1 = _this.scanner;
49036 t1.expectChar$1(40);
49037 interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
49038 if (interpolation != null) {
49039 t1.expectChar$1(41);
49040 return A._setArrayType([interpolation], type$.JSArray_Expression);
49041 }
49042 _this.whitespace$0();
49043 $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
49044 t2 = maxArgs != null;
49045 while (true) {
49046 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
49047 break;
49048 _this.whitespace$0();
49049 $arguments.push(_this._calculationSum$0());
49050 }
49051 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
49052 return $arguments;
49053 },
49054 _calculationArguments$0() {
49055 return this._calculationArguments$1(null);
49056 },
49057 _calculationSum$0() {
49058 var t1, next, t2, t3, _this = this,
49059 sum = _this._calculationProduct$0();
49060 for (t1 = _this.scanner; true;) {
49061 next = t1.peekChar$0();
49062 t2 = next === 43;
49063 if (t2 || next === 45) {
49064 t3 = t1.peekChar$1(-1);
49065 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
49066 t3 = t1.peekChar$1(1);
49067 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
49068 } else
49069 t3 = true;
49070 if (t3)
49071 t1.error$1(0, string$.x22x2b__an);
49072 t1.readChar$0();
49073 _this.whitespace$0();
49074 t2 = t2 ? B.BinaryOperator_AcR0 : B.BinaryOperator_iyO;
49075 sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
49076 } else
49077 return sum;
49078 }
49079 },
49080 _calculationProduct$0() {
49081 var t1, next, t2, _this = this,
49082 product = _this._calculationValue$0();
49083 for (t1 = _this.scanner; true;) {
49084 _this.whitespace$0();
49085 next = t1.peekChar$0();
49086 t2 = next === 42;
49087 if (t2 || next === 47) {
49088 t1.readChar$0();
49089 _this.whitespace$0();
49090 t2 = t2 ? B.BinaryOperator_O1M : B.BinaryOperator_RTB;
49091 product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
49092 } else
49093 return product;
49094 }
49095 },
49096 _calculationValue$0() {
49097 var t2, value, start, ident, lowerCase, calculation, _this = this,
49098 t1 = _this.scanner,
49099 next = t1.peekChar$0();
49100 if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
49101 return _this._number$0();
49102 else if (next === 36)
49103 return _this._variable$0();
49104 else if (next === 40) {
49105 t2 = t1._string_scanner$_position;
49106 t1.readChar$0();
49107 value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
49108 if (value == null) {
49109 _this.whitespace$0();
49110 value = _this._calculationSum$0();
49111 }
49112 _this.whitespace$0();
49113 t1.expectChar$1(41);
49114 return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49115 } else if (!_this.lookingAtIdentifier$0())
49116 t1.error$1(0, string$.Expectn);
49117 else {
49118 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49119 ident = _this.identifier$0();
49120 if (t1.scanChar$1(46))
49121 return _this.namespacedExpression$2(ident, start);
49122 if (t1.peekChar$0() !== 40)
49123 t1.error$1(0, 'Expected "(" or ".".');
49124 lowerCase = ident.toLowerCase();
49125 calculation = _this._tryCalculation$2(lowerCase, start);
49126 if (calculation != null)
49127 return calculation;
49128 else if (lowerCase === "if")
49129 return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
49130 else
49131 return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
49132 }
49133 },
49134 _containsCalculationInterpolation$0() {
49135 var t2, parens, next, target, t3, _null = null,
49136 _s64_ = string$.The_gi,
49137 _s17_ = "Invalid position ",
49138 brackets = A._setArrayType([], type$.JSArray_int),
49139 t1 = this.scanner,
49140 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49141 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
49142 next = t1.peekChar$0();
49143 switch (next) {
49144 case 92:
49145 target = 1;
49146 break;
49147 case 47:
49148 target = 2;
49149 break;
49150 case 39:
49151 case 34:
49152 target = 3;
49153 break;
49154 case 35:
49155 target = 4;
49156 break;
49157 case 40:
49158 target = 5;
49159 break;
49160 case 123:
49161 case 91:
49162 target = 6;
49163 break;
49164 case 41:
49165 target = 7;
49166 break;
49167 case 125:
49168 case 93:
49169 target = 8;
49170 break;
49171 default:
49172 target = 9;
49173 break;
49174 }
49175 c$0:
49176 for (; true;)
49177 switch (target) {
49178 case 1:
49179 t1.readChar$0();
49180 t1.readChar$0();
49181 break c$0;
49182 case 2:
49183 if (!this.scanComment$0())
49184 t1.readChar$0();
49185 break c$0;
49186 case 3:
49187 this.interpolatedString$0();
49188 break c$0;
49189 case 4:
49190 if (parens === 0 && t1.peekChar$1(1) === 123) {
49191 if (start._scanner !== t1)
49192 A.throwExpression(A.ArgumentError$(_s64_, _null));
49193 t3 = start.position;
49194 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
49195 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49196 t1._string_scanner$_position = t3;
49197 t1._lastMatch = null;
49198 return true;
49199 }
49200 t1.readChar$0();
49201 break c$0;
49202 case 5:
49203 ++parens;
49204 target = 6;
49205 continue c$0;
49206 case 6:
49207 next.toString;
49208 brackets.push(A.opposite(next));
49209 t1.readChar$0();
49210 break c$0;
49211 case 7:
49212 --parens;
49213 target = 8;
49214 continue c$0;
49215 case 8:
49216 if (brackets.length === 0 || brackets.pop() !== next) {
49217 if (start._scanner !== t1)
49218 A.throwExpression(A.ArgumentError$(_s64_, _null));
49219 t3 = start.position;
49220 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
49221 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49222 t1._string_scanner$_position = t3;
49223 t1._lastMatch = null;
49224 return false;
49225 }
49226 t1.readChar$0();
49227 break c$0;
49228 case 9:
49229 t1.readChar$0();
49230 break c$0;
49231 }
49232 }
49233 t1.set$state(start);
49234 return false;
49235 },
49236 _tryUrlContents$2$name(start, $name) {
49237 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
49238 t1 = _this.scanner,
49239 t2 = t1._string_scanner$_position;
49240 if (!t1.scanChar$1(40))
49241 return null;
49242 _this.whitespaceWithoutComments$0();
49243 t3 = new A.StringBuffer("");
49244 t4 = A._setArrayType([], type$.JSArray_Object);
49245 buffer = new A.InterpolationBuffer(t3, t4);
49246 t5 = "" + ($name == null ? "url" : $name);
49247 t3._contents = t5;
49248 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
49249 for (; true;) {
49250 next = t1.peekChar$0();
49251 if (next == null)
49252 break;
49253 else if (next === 92)
49254 t3._contents += A.S(_this.escape$0());
49255 else {
49256 if (next !== 33)
49257 if (next !== 37)
49258 if (next !== 38)
49259 t5 = next >= 42 && next <= 126 || next >= 128;
49260 else
49261 t5 = true;
49262 else
49263 t5 = true;
49264 else
49265 t5 = true;
49266 if (t5)
49267 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49268 else if (next === 35)
49269 if (t1.peekChar$1(1) === 123) {
49270 t5 = _this.singleInterpolation$0();
49271 buffer._flushText$0();
49272 t4.push(t5);
49273 } else
49274 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49275 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
49276 _this.whitespaceWithoutComments$0();
49277 if (t1.peekChar$0() !== 41)
49278 break;
49279 } else if (next === 41) {
49280 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49281 endPosition = t1._string_scanner$_position;
49282 t2 = t1._sourceFile;
49283 t5 = start.position;
49284 t1 = new A._FileSpan(t2, t5, endPosition);
49285 t1._FileSpan$3(t2, t5, endPosition);
49286 t5 = type$.Object;
49287 t2 = A.List_List$of(t4, true, t5);
49288 t4 = t3._contents;
49289 if (t4.length !== 0)
49290 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
49291 result = A.List_List$from(t2, false, t5);
49292 result.fixed$length = Array;
49293 result.immutable$list = Array;
49294 t3 = new A.Interpolation(result, t1);
49295 t3.Interpolation$2(t2, t1);
49296 return t3;
49297 } else
49298 break;
49299 }
49300 }
49301 t1.set$state(new A._SpanScannerState(t1, t2));
49302 return null;
49303 },
49304 _tryUrlContents$1(start) {
49305 return this._tryUrlContents$2$name(start, null);
49306 },
49307 dynamicUrl$0() {
49308 var contents, _this = this,
49309 t1 = _this.scanner,
49310 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49311 _this.expectIdentifier$1("url");
49312 contents = _this._tryUrlContents$1(start);
49313 if (contents != null)
49314 return new A.StringExpression(contents, false);
49315 return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
49316 },
49317 almostAnyValue$1$omitComments(omitComments) {
49318 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
49319 t1 = _this.scanner,
49320 t2 = t1._string_scanner$_position,
49321 t3 = new A.StringBuffer(""),
49322 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49323 $label0$1:
49324 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
49325 next = t1.peekChar$0();
49326 switch (next) {
49327 case 92:
49328 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49329 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49330 break;
49331 case 34:
49332 case 39:
49333 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49334 break;
49335 case 47:
49336 commentStart = t1._string_scanner$_position;
49337 if (_this.scanComment$0()) {
49338 if (t6) {
49339 end = t1._string_scanner$_position;
49340 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
49341 }
49342 } else
49343 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49344 break;
49345 case 35:
49346 if (t1.peekChar$1(1) === 123)
49347 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49348 else
49349 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49350 break;
49351 case 13:
49352 case 10:
49353 case 12:
49354 if (_this.get$indented())
49355 break $label0$1;
49356 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49357 break;
49358 case 33:
49359 case 59:
49360 case 123:
49361 case 125:
49362 break $label0$1;
49363 case 117:
49364 case 85:
49365 t7 = t1._string_scanner$_position;
49366 if (!_this.scanIdentifier$1("url")) {
49367 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49368 break;
49369 }
49370 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
49371 if (contents == null) {
49372 if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
49373 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
49374 t1._string_scanner$_position = t7;
49375 t1._lastMatch = null;
49376 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49377 } else
49378 buffer.addInterpolation$1(contents);
49379 break;
49380 default:
49381 if (next == null)
49382 break $label0$1;
49383 if (_this.lookingAtIdentifier$0())
49384 t3._contents += _this.identifier$0();
49385 else
49386 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49387 break;
49388 }
49389 }
49390 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49391 },
49392 almostAnyValue$0() {
49393 return this.almostAnyValue$1$omitComments(false);
49394 },
49395 _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
49396 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
49397 t1 = _this.scanner,
49398 t2 = t1._string_scanner$_position,
49399 t3 = new A.StringBuffer(""),
49400 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
49401 brackets = A._setArrayType([], type$.JSArray_int);
49402 $label0$1:
49403 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
49404 next = t1.peekChar$0();
49405 switch (next) {
49406 case 92:
49407 t3._contents += A.S(_this.escape$1$identifierStart(true));
49408 wroteNewline = false;
49409 break;
49410 case 34:
49411 case 39:
49412 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49413 wroteNewline = false;
49414 break;
49415 case 47:
49416 if (t1.peekChar$1(1) === 42) {
49417 t8 = _this.get$loudComment();
49418 start = t1._string_scanner$_position;
49419 t8.call$0();
49420 end = t1._string_scanner$_position;
49421 t3._contents += B.JSString_methods.substring$2(t4, start, end);
49422 } else
49423 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49424 wroteNewline = false;
49425 break;
49426 case 35:
49427 if (t1.peekChar$1(1) === 123)
49428 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49429 else
49430 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49431 wroteNewline = false;
49432 break;
49433 case 32:
49434 case 9:
49435 if (!wroteNewline) {
49436 t8 = t1.peekChar$1(1);
49437 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
49438 } else
49439 t8 = true;
49440 if (t8)
49441 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49442 else
49443 t1.readChar$0();
49444 break;
49445 case 10:
49446 case 13:
49447 case 12:
49448 if (_this.get$indented())
49449 break $label0$1;
49450 t8 = t1.peekChar$1(-1);
49451 if (!(t8 === 10 || t8 === 13 || t8 === 12))
49452 t3._contents += "\n";
49453 t1.readChar$0();
49454 wroteNewline = true;
49455 break;
49456 case 40:
49457 case 123:
49458 case 91:
49459 next.toString;
49460 t3._contents += A.Primitives_stringFromCharCode(next);
49461 brackets.push(A.opposite(t1.readChar$0()));
49462 wroteNewline = false;
49463 break;
49464 case 41:
49465 case 125:
49466 case 93:
49467 if (brackets.length === 0)
49468 break $label0$1;
49469 next.toString;
49470 t3._contents += A.Primitives_stringFromCharCode(next);
49471 t1.expectChar$1(brackets.pop());
49472 wroteNewline = false;
49473 break;
49474 case 59:
49475 if (t7 && brackets.length === 0)
49476 break $label0$1;
49477 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49478 wroteNewline = false;
49479 break;
49480 case 58:
49481 if (t6 && brackets.length === 0)
49482 break $label0$1;
49483 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49484 wroteNewline = false;
49485 break;
49486 case 117:
49487 case 85:
49488 t8 = t1._string_scanner$_position;
49489 if (!_this.scanIdentifier$1("url")) {
49490 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49491 wroteNewline = false;
49492 break;
49493 }
49494 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
49495 if (contents == null) {
49496 if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
49497 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
49498 t1._string_scanner$_position = t8;
49499 t1._lastMatch = null;
49500 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49501 } else
49502 buffer.addInterpolation$1(contents);
49503 wroteNewline = false;
49504 break;
49505 default:
49506 if (next == null)
49507 break $label0$1;
49508 if (_this.lookingAtIdentifier$0())
49509 t3._contents += _this.identifier$0();
49510 else
49511 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49512 wroteNewline = false;
49513 break;
49514 }
49515 }
49516 if (brackets.length !== 0)
49517 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
49518 if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
49519 t1.error$1(0, "Expected token.");
49520 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49521 },
49522 _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
49523 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
49524 },
49525 _interpolatedDeclarationValue$0() {
49526 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
49527 },
49528 _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
49529 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
49530 },
49531 interpolatedIdentifier$0() {
49532 var first, _this = this,
49533 _s20_ = "Expected identifier.",
49534 t1 = _this.scanner,
49535 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49536 t2 = new A.StringBuffer(""),
49537 t3 = A._setArrayType([], type$.JSArray_Object),
49538 buffer = new A.InterpolationBuffer(t2, t3);
49539 if (t1.scanChar$1(45)) {
49540 t2._contents += A.Primitives_stringFromCharCode(45);
49541 if (t1.scanChar$1(45)) {
49542 t2._contents += A.Primitives_stringFromCharCode(45);
49543 _this._interpolatedIdentifierBody$1(buffer);
49544 return buffer.interpolation$1(t1.spanFrom$1(start));
49545 }
49546 }
49547 first = t1.peekChar$0();
49548 if (first == null)
49549 t1.error$1(0, _s20_);
49550 else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
49551 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49552 else if (first === 92)
49553 t2._contents += A.S(_this.escape$1$identifierStart(true));
49554 else if (first === 35 && t1.peekChar$1(1) === 123) {
49555 t2 = _this.singleInterpolation$0();
49556 buffer._flushText$0();
49557 t3.push(t2);
49558 } else
49559 t1.error$1(0, _s20_);
49560 _this._interpolatedIdentifierBody$1(buffer);
49561 return buffer.interpolation$1(t1.spanFrom$1(start));
49562 },
49563 _interpolatedIdentifierBody$1(buffer) {
49564 var t1, t2, t3, next, t4;
49565 for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
49566 next = t2.peekChar$0();
49567 if (next == null)
49568 break;
49569 else {
49570 if (next !== 95)
49571 if (next !== 45) {
49572 if (!(next >= 97 && next <= 122))
49573 t4 = next >= 65 && next <= 90;
49574 else
49575 t4 = true;
49576 if (!t4)
49577 t4 = next >= 48 && next <= 57;
49578 else
49579 t4 = true;
49580 t4 = t4 || next >= 128;
49581 } else
49582 t4 = true;
49583 else
49584 t4 = true;
49585 if (t4)
49586 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
49587 else if (next === 92)
49588 t3._contents += A.S(this.escape$0());
49589 else if (next === 35 && t2.peekChar$1(1) === 123) {
49590 t4 = this.singleInterpolation$0();
49591 buffer._flushText$0();
49592 t1.push(t4);
49593 } else
49594 break;
49595 }
49596 }
49597 },
49598 singleInterpolation$0() {
49599 var contents, _this = this,
49600 t1 = _this.scanner,
49601 t2 = t1._string_scanner$_position;
49602 t1.expect$1("#{");
49603 _this.whitespace$0();
49604 contents = _this._expression$0();
49605 t1.expectChar$1(125);
49606 if (_this.get$plainCss())
49607 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49608 return contents;
49609 },
49610 _mediaQueryList$0() {
49611 var t4,
49612 t1 = this.scanner,
49613 t2 = t1._string_scanner$_position,
49614 t3 = new A.StringBuffer(""),
49615 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49616 for (; true;) {
49617 this.whitespace$0();
49618 this._stylesheet$_mediaQuery$1(buffer);
49619 if (!t1.scanChar$1(44))
49620 break;
49621 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
49622 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
49623 }
49624 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49625 },
49626 _stylesheet$_mediaQuery$1(buffer) {
49627 var t1, identifier, _this = this;
49628 if (_this.scanner.peekChar$0() !== 40) {
49629 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49630 _this.whitespace$0();
49631 if (!_this._lookingAtInterpolatedIdentifier$0())
49632 return;
49633 t1 = buffer._interpolation_buffer$_text;
49634 t1._contents += A.Primitives_stringFromCharCode(32);
49635 identifier = _this.interpolatedIdentifier$0();
49636 _this.whitespace$0();
49637 if (A.equalsIgnoreCase(identifier.get$asPlain(), "and"))
49638 t1._contents += " and ";
49639 else {
49640 buffer.addInterpolation$1(identifier);
49641 if (_this.scanIdentifier$1("and")) {
49642 _this.whitespace$0();
49643 t1._contents += " and ";
49644 } else
49645 return;
49646 }
49647 }
49648 for (t1 = buffer._interpolation_buffer$_text; true;) {
49649 _this.whitespace$0();
49650 buffer.addInterpolation$1(_this._mediaFeature$0());
49651 _this.whitespace$0();
49652 if (!_this.scanIdentifier$1("and"))
49653 break;
49654 t1._contents += " and ";
49655 }
49656 },
49657 _mediaFeature$0() {
49658 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
49659 t1 = _this.scanner;
49660 if (t1.peekChar$0() === 35) {
49661 interpolation = _this.singleInterpolation$0();
49662 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
49663 }
49664 t2 = t1._string_scanner$_position;
49665 t3 = new A.StringBuffer("");
49666 t4 = A._setArrayType([], type$.JSArray_Object);
49667 buffer = new A.InterpolationBuffer(t3, t4);
49668 t1.expectChar$1(40);
49669 t3._contents += A.Primitives_stringFromCharCode(40);
49670 _this.whitespace$0();
49671 t5 = _this._expressionUntilComparison$0();
49672 buffer._flushText$0();
49673 t4.push(t5);
49674 if (t1.scanChar$1(58)) {
49675 _this.whitespace$0();
49676 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
49677 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
49678 t5 = _this._expression$0();
49679 buffer._flushText$0();
49680 t4.push(t5);
49681 } else {
49682 next = t1.peekChar$0();
49683 t5 = next !== 60;
49684 if (!t5 || next === 62 || next === 61) {
49685 t3._contents += A.Primitives_stringFromCharCode(32);
49686 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49687 if ((!t5 || next === 62) && t1.scanChar$1(61))
49688 t3._contents += A.Primitives_stringFromCharCode(61);
49689 t3._contents += A.Primitives_stringFromCharCode(32);
49690 _this.whitespace$0();
49691 t6 = _this._expressionUntilComparison$0();
49692 buffer._flushText$0();
49693 t4.push(t6);
49694 if (!t5 || next === 62) {
49695 next.toString;
49696 t5 = t1.scanChar$1(next);
49697 } else
49698 t5 = false;
49699 if (t5) {
49700 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
49701 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
49702 if (t1.scanChar$1(61))
49703 t3._contents += A.Primitives_stringFromCharCode(61);
49704 t3._contents += A.Primitives_stringFromCharCode(32);
49705 _this.whitespace$0();
49706 t5 = _this._expressionUntilComparison$0();
49707 buffer._flushText$0();
49708 t4.push(t5);
49709 }
49710 }
49711 }
49712 t1.expectChar$1(41);
49713 _this.whitespace$0();
49714 t3._contents += A.Primitives_stringFromCharCode(41);
49715 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49716 },
49717 _expressionUntilComparison$0() {
49718 return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
49719 },
49720 _supportsCondition$0() {
49721 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
49722 t1 = _this.scanner,
49723 t2 = t1._string_scanner$_position;
49724 if (_this.scanIdentifier$1("not")) {
49725 _this.whitespace$0();
49726 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49727 }
49728 condition = _this._supportsConditionInParens$0();
49729 _this.whitespace$0();
49730 for (operator = null; _this.lookingAtIdentifier$0();) {
49731 if (operator != null)
49732 _this.expectIdentifier$1(operator);
49733 else if (_this.scanIdentifier$1("or"))
49734 operator = "or";
49735 else {
49736 _this.expectIdentifier$1("and");
49737 operator = "and";
49738 }
49739 _this.whitespace$0();
49740 right = _this._supportsConditionInParens$0();
49741 endPosition = t1._string_scanner$_position;
49742 t3 = t1._sourceFile;
49743 t4 = new A._FileSpan(t3, t2, endPosition);
49744 t4._FileSpan$3(t3, t2, endPosition);
49745 condition = new A.SupportsOperation(condition, right, operator, t4);
49746 lowerOperator = operator.toLowerCase();
49747 if (lowerOperator !== "and" && lowerOperator !== "or")
49748 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49749 _this.whitespace$0();
49750 }
49751 return condition;
49752 },
49753 _supportsConditionInParens$0() {
49754 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
49755 t1 = _this.scanner,
49756 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49757 if (_this._lookingAtInterpolatedIdentifier$0()) {
49758 identifier0 = _this.interpolatedIdentifier$0();
49759 t2 = identifier0.get$asPlain();
49760 if ((t2 == null ? null : t2.toLowerCase()) === "not")
49761 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
49762 if (t1.scanChar$1(40)) {
49763 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
49764 t1.expectChar$1(41);
49765 return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
49766 } else {
49767 t2 = identifier0.contents;
49768 if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
49769 _this.error$2(0, "Expected @supports condition.", identifier0.span);
49770 else
49771 return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
49772 }
49773 }
49774 t1.expectChar$1(40);
49775 _this.whitespace$0();
49776 if (_this.scanIdentifier$1("not")) {
49777 _this.whitespace$0();
49778 condition = _this._supportsConditionInParens$0();
49779 t1.expectChar$1(41);
49780 return new A.SupportsNegation(condition, t1.spanFrom$1(start));
49781 } else if (t1.peekChar$0() === 40) {
49782 condition = _this._supportsCondition$0();
49783 t1.expectChar$1(41);
49784 return condition;
49785 }
49786 $name = null;
49787 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
49788 wasInParentheses = _this._inParentheses;
49789 try {
49790 $name = _this._expression$0();
49791 t1.expectChar$1(58);
49792 } catch (exception) {
49793 if (type$.FormatException._is(A.unwrapException(exception))) {
49794 t1.set$state(nameStart);
49795 _this._inParentheses = wasInParentheses;
49796 identifier = _this.interpolatedIdentifier$0();
49797 operation = _this._trySupportsOperation$2(identifier, nameStart);
49798 if (operation != null) {
49799 t1.expectChar$1(41);
49800 return operation;
49801 }
49802 t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
49803 t2.addInterpolation$1(identifier);
49804 t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
49805 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
49806 if (t1.peekChar$0() === 58)
49807 throw exception;
49808 t1.expectChar$1(41);
49809 return new A.SupportsAnything(contents, t1.spanFrom$1(start));
49810 } else
49811 throw exception;
49812 }
49813 declaration = _this._supportsDeclarationValue$2($name, start);
49814 t1.expectChar$1(41);
49815 return declaration;
49816 },
49817 _supportsDeclarationValue$2($name, start) {
49818 var value, _this = this;
49819 if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
49820 value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
49821 else {
49822 _this.whitespace$0();
49823 value = _this._expression$0();
49824 }
49825 return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
49826 },
49827 _trySupportsOperation$2(interpolation, start) {
49828 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
49829 t1 = interpolation.contents;
49830 if (t1.length !== 1)
49831 return _null;
49832 expression = B.JSArray_methods.get$first(t1);
49833 if (!type$.Expression._is(expression))
49834 return _null;
49835 t1 = _this.scanner;
49836 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
49837 _this.whitespace$0();
49838 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
49839 if (operator != null)
49840 _this.expectIdentifier$1(operator);
49841 else if (_this.scanIdentifier$1("and"))
49842 operator = "and";
49843 else {
49844 if (!_this.scanIdentifier$1("or")) {
49845 if (beforeWhitespace._scanner !== t1)
49846 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
49847 t2 = beforeWhitespace.position;
49848 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
49849 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
49850 t1._string_scanner$_position = t2;
49851 return t1._lastMatch = null;
49852 }
49853 operator = "or";
49854 }
49855 _this.whitespace$0();
49856 right = _this._supportsConditionInParens$0();
49857 t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
49858 endPosition = t1._string_scanner$_position;
49859 t5 = t1._sourceFile;
49860 t6 = new A._FileSpan(t5, t2, endPosition);
49861 t6._FileSpan$3(t5, t2, endPosition);
49862 operation = new A.SupportsOperation(t4, right, operator, t6);
49863 lowerOperator = operator.toLowerCase();
49864 if (lowerOperator !== "and" && lowerOperator !== "or")
49865 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49866 _this.whitespace$0();
49867 }
49868 return operation;
49869 },
49870 _lookingAtInterpolatedIdentifier$0() {
49871 var second,
49872 t1 = this.scanner,
49873 first = t1.peekChar$0();
49874 if (first == null)
49875 return false;
49876 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
49877 return true;
49878 if (first === 35)
49879 return t1.peekChar$1(1) === 123;
49880 if (first !== 45)
49881 return false;
49882 second = t1.peekChar$1(1);
49883 if (second == null)
49884 return false;
49885 if (second === 35)
49886 return t1.peekChar$1(2) === 123;
49887 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
49888 },
49889 _lookingAtInterpolatedIdentifierBody$0() {
49890 var t1 = this.scanner,
49891 first = t1.peekChar$0();
49892 if (first == null)
49893 return false;
49894 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
49895 return true;
49896 return first === 35 && t1.peekChar$1(1) === 123;
49897 },
49898 _lookingAtExpression$0() {
49899 var next,
49900 t1 = this.scanner,
49901 character = t1.peekChar$0();
49902 if (character == null)
49903 return false;
49904 if (character === 46)
49905 return t1.peekChar$1(1) !== 46;
49906 if (character === 33) {
49907 next = t1.peekChar$1(1);
49908 if (next != null)
49909 if ((next | 32) >>> 0 !== 105)
49910 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
49911 else
49912 t1 = true;
49913 else
49914 t1 = true;
49915 return t1;
49916 }
49917 if (character !== 40)
49918 if (character !== 47)
49919 if (character !== 91)
49920 if (character !== 39)
49921 if (character !== 34)
49922 if (character !== 35)
49923 if (character !== 43)
49924 if (character !== 45)
49925 if (character !== 92)
49926 if (character !== 36)
49927 if (character !== 38)
49928 t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
49929 else
49930 t1 = true;
49931 else
49932 t1 = true;
49933 else
49934 t1 = true;
49935 else
49936 t1 = true;
49937 else
49938 t1 = true;
49939 else
49940 t1 = true;
49941 else
49942 t1 = true;
49943 else
49944 t1 = true;
49945 else
49946 t1 = true;
49947 else
49948 t1 = true;
49949 else
49950 t1 = true;
49951 return t1;
49952 },
49953 _withChildren$1$3(child, start, create) {
49954 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
49955 this.whitespaceWithoutComments$0();
49956 return result;
49957 },
49958 _withChildren$3(child, start, create) {
49959 return this._withChildren$1$3(child, start, create, type$.dynamic);
49960 },
49961 _urlString$0() {
49962 var innerError, stackTrace, t2, exception,
49963 t1 = this.scanner,
49964 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49965 url = this.string$0();
49966 try {
49967 t2 = A.Uri_parse(url);
49968 return t2;
49969 } catch (exception) {
49970 t2 = A.unwrapException(exception);
49971 if (type$.FormatException._is(t2)) {
49972 innerError = t2;
49973 stackTrace = A.getTraceFromException(exception);
49974 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
49975 } else
49976 throw exception;
49977 }
49978 },
49979 _publicIdentifier$0() {
49980 var _this = this,
49981 t1 = _this.scanner,
49982 t2 = t1._string_scanner$_position,
49983 result = _this.identifier$1$normalize(true);
49984 _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
49985 return result;
49986 },
49987 _assertPublic$2(identifier, span) {
49988 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
49989 if (!(first === 45 || first === 95))
49990 return;
49991 this.error$2(0, string$.Privat, span.call$0());
49992 },
49993 get$plainCss() {
49994 return false;
49995 }
49996 };
49997 A.StylesheetParser_parse_closure.prototype = {
49998 call$0() {
49999 var statements, t4,
50000 t1 = this.$this,
50001 t2 = t1.scanner,
50002 t3 = t2._string_scanner$_position;
50003 t2.scanChar$1(65279);
50004 statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
50005 t2.expectDone$0();
50006 t4 = t1._globalVariables;
50007 t4 = t4.get$values(t4);
50008 B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
50009 return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
50010 },
50011 $signature: 345
50012 };
50013 A.StylesheetParser_parse__closure.prototype = {
50014 call$0() {
50015 var t1 = this.$this;
50016 if (t1.scanner.scan$1("@charset")) {
50017 t1.whitespace$0();
50018 t1.string$0();
50019 return null;
50020 }
50021 return t1._statement$1$root(true);
50022 },
50023 $signature: 346
50024 };
50025 A.StylesheetParser_parse__closure0.prototype = {
50026 call$1(declaration) {
50027 var t1 = declaration.name,
50028 t2 = declaration.expression;
50029 return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
50030 },
50031 $signature: 347
50032 };
50033 A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
50034 call$0() {
50035 var $arguments,
50036 t1 = this.$this,
50037 t2 = t1.scanner;
50038 t2.expectChar$2$name(64, "@-rule");
50039 t1.identifier$0();
50040 t1.whitespace$0();
50041 t1.identifier$0();
50042 $arguments = t1._argumentDeclaration$0();
50043 t1.whitespace$0();
50044 t2.expectChar$1(123);
50045 return $arguments;
50046 },
50047 $signature: 348
50048 };
50049 A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
50050 call$0() {
50051 var t1 = this.$this;
50052 return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
50053 },
50054 $signature: 174
50055 };
50056 A.StylesheetParser_parseUseRule_closure.prototype = {
50057 call$0() {
50058 var t1 = this.$this,
50059 t2 = t1.scanner,
50060 t3 = t2._string_scanner$_position;
50061 t2.expectChar$2$name(64, "@-rule");
50062 t1.expectIdentifier$1("use");
50063 t1.whitespace$0();
50064 return t1._useRule$1(new A._SpanScannerState(t2, t3));
50065 },
50066 $signature: 350
50067 };
50068 A.StylesheetParser__parseSingleProduction_closure.prototype = {
50069 call$0() {
50070 var result = this.production.call$0();
50071 this.$this.scanner.expectDone$0();
50072 return result;
50073 },
50074 $signature() {
50075 return this.T._eval$1("0()");
50076 }
50077 };
50078 A.StylesheetParser__statement_closure.prototype = {
50079 call$0() {
50080 return this.$this._statement$0();
50081 },
50082 $signature: 100
50083 };
50084 A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
50085 call$0() {
50086 return this.$this.scanner.spanFrom$1(this.start);
50087 },
50088 $signature: 30
50089 };
50090 A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
50091 call$0() {
50092 return this.declaration;
50093 },
50094 $signature: 174
50095 };
50096 A.StylesheetParser__declarationOrBuffer_closure.prototype = {
50097 call$2(children, span) {
50098 return A.Declaration$nested(this.name, children, span, null);
50099 },
50100 $signature: 98
50101 };
50102 A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
50103 call$2(children, span) {
50104 return A.Declaration$nested(this.name, children, span, this._box_0.value);
50105 },
50106 $signature: 98
50107 };
50108 A.StylesheetParser__styleRule_closure.prototype = {
50109 call$2(children, span) {
50110 var _this = this,
50111 t1 = _this.$this;
50112 if (t1.get$indented() && children.length === 0)
50113 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
50114 t1._inStyleRule = _this.wasInStyleRule;
50115 return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
50116 },
50117 $signature: 357
50118 };
50119 A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
50120 call$2(children, span) {
50121 return A.Declaration$nested(this._box_0.name, children, span, null);
50122 },
50123 $signature: 98
50124 };
50125 A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
50126 call$2(children, span) {
50127 return A.Declaration$nested(this._box_0.name, children, span, this.value);
50128 },
50129 $signature: 98
50130 };
50131 A.StylesheetParser__atRootRule_closure.prototype = {
50132 call$2(children, span) {
50133 return A.AtRootRule$(children, span, this.query);
50134 },
50135 $signature: 173
50136 };
50137 A.StylesheetParser__atRootRule_closure0.prototype = {
50138 call$2(children, span) {
50139 return A.AtRootRule$(children, span, null);
50140 },
50141 $signature: 173
50142 };
50143 A.StylesheetParser__eachRule_closure.prototype = {
50144 call$2(children, span) {
50145 var _this = this;
50146 _this.$this._inControlDirective = _this.wasInControlDirective;
50147 return A.EachRule$(_this.variables, _this.list, children, span);
50148 },
50149 $signature: 360
50150 };
50151 A.StylesheetParser__functionRule_closure.prototype = {
50152 call$2(children, span) {
50153 return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
50154 },
50155 $signature: 361
50156 };
50157 A.StylesheetParser__forRule_closure.prototype = {
50158 call$0() {
50159 var t1 = this.$this;
50160 if (!t1.lookingAtIdentifier$0())
50161 return false;
50162 if (t1.scanIdentifier$1("to"))
50163 return this._box_0.exclusive = true;
50164 else if (t1.scanIdentifier$1("through")) {
50165 this._box_0.exclusive = false;
50166 return true;
50167 } else
50168 return false;
50169 },
50170 $signature: 26
50171 };
50172 A.StylesheetParser__forRule_closure0.prototype = {
50173 call$2(children, span) {
50174 var t1, _this = this;
50175 _this.$this._inControlDirective = _this.wasInControlDirective;
50176 t1 = _this._box_0.exclusive;
50177 t1.toString;
50178 return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
50179 },
50180 $signature: 362
50181 };
50182 A.StylesheetParser__memberList_closure.prototype = {
50183 call$0() {
50184 var t1 = this.$this;
50185 if (t1.scanner.peekChar$0() === 36)
50186 this.variables.add$1(0, t1.variableName$0());
50187 else
50188 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
50189 },
50190 $signature: 1
50191 };
50192 A.StylesheetParser__includeRule_closure.prototype = {
50193 call$2(children, span) {
50194 return A.ContentBlock$(this.contentArguments_, children, span);
50195 },
50196 $signature: 363
50197 };
50198 A.StylesheetParser_mediaRule_closure.prototype = {
50199 call$2(children, span) {
50200 return A.MediaRule$(this.query, children, span);
50201 },
50202 $signature: 259
50203 };
50204 A.StylesheetParser__mixinRule_closure.prototype = {
50205 call$2(children, span) {
50206 var _this = this;
50207 _this.$this._stylesheet$_inMixin = false;
50208 return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
50209 },
50210 $signature: 367
50211 };
50212 A.StylesheetParser_mozDocumentRule_closure.prototype = {
50213 call$2(children, span) {
50214 var _this = this;
50215 if (_this._box_0.needsDeprecationWarning)
50216 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
50217 return A.AtRule$(_this.name, span, children, _this.value);
50218 },
50219 $signature: 171
50220 };
50221 A.StylesheetParser_supportsRule_closure.prototype = {
50222 call$2(children, span) {
50223 return A.SupportsRule$(this.condition, children, span);
50224 },
50225 $signature: 372
50226 };
50227 A.StylesheetParser__whileRule_closure.prototype = {
50228 call$2(children, span) {
50229 this.$this._inControlDirective = this.wasInControlDirective;
50230 return A.WhileRule$(this.condition, children, span);
50231 },
50232 $signature: 373
50233 };
50234 A.StylesheetParser_unknownAtRule_closure.prototype = {
50235 call$2(children, span) {
50236 return A.AtRule$(this.name, span, children, this._box_0.value);
50237 },
50238 $signature: 171
50239 };
50240 A.StylesheetParser__expression_resetState.prototype = {
50241 call$0() {
50242 var t2,
50243 t1 = this._box_0;
50244 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
50245 t2 = this.$this;
50246 t2.scanner.set$state(this.start);
50247 t1.allowSlash = true;
50248 t1.singleExpression_ = t2._singleExpression$0();
50249 },
50250 $signature: 0
50251 };
50252 A.StylesheetParser__expression_resolveOneOperation.prototype = {
50253 call$0() {
50254 var t2, t3,
50255 t1 = this._box_0,
50256 operator = t1.operators_.pop(),
50257 left = t1.operands_.pop(),
50258 right = t1.singleExpression_;
50259 if (right == null) {
50260 t2 = this.$this.scanner;
50261 t3 = operator.operator.length;
50262 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
50263 }
50264 if (t1.allowSlash) {
50265 t2 = this.$this;
50266 t2 = !t2._inParentheses && operator === B.BinaryOperator_RTB && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
50267 } else
50268 t2 = false;
50269 if (t2)
50270 t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_RTB, left, right, true);
50271 else {
50272 t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
50273 t1.allowSlash = false;
50274 }
50275 },
50276 $signature: 0
50277 };
50278 A.StylesheetParser__expression_resolveOperations.prototype = {
50279 call$0() {
50280 var t1,
50281 operators = this._box_0.operators_;
50282 if (operators == null)
50283 return;
50284 for (t1 = this.resolveOneOperation; operators.length !== 0;)
50285 t1.call$0();
50286 },
50287 $signature: 0
50288 };
50289 A.StylesheetParser__expression_addSingleExpression.prototype = {
50290 call$1(expression) {
50291 var t2, spaceExpressions, _this = this,
50292 t1 = _this._box_0;
50293 if (t1.singleExpression_ != null) {
50294 t2 = _this.$this;
50295 if (t2._inParentheses) {
50296 t2._inParentheses = false;
50297 if (t1.allowSlash) {
50298 _this.resetState.call$0();
50299 return;
50300 }
50301 }
50302 spaceExpressions = t1.spaceExpressions_;
50303 if (spaceExpressions == null)
50304 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
50305 _this.resolveOperations.call$0();
50306 t2 = t1.singleExpression_;
50307 t2.toString;
50308 spaceExpressions.push(t2);
50309 t1.allowSlash = true;
50310 }
50311 t1.singleExpression_ = expression;
50312 },
50313 $signature: 374
50314 };
50315 A.StylesheetParser__expression_addOperator.prototype = {
50316 call$1(operator) {
50317 var t2, t3, operators, operands, t4, singleExpression,
50318 t1 = this.$this;
50319 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB && operator !== B.BinaryOperator_kjl) {
50320 t2 = t1.scanner;
50321 t3 = operator.operator.length;
50322 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
50323 }
50324 t2 = this._box_0;
50325 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB;
50326 operators = t2.operators_;
50327 if (operators == null)
50328 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
50329 operands = t2.operands_;
50330 if (operands == null)
50331 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
50332 t3 = this.resolveOneOperation;
50333 t4 = operator.precedence;
50334 while (true) {
50335 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
50336 break;
50337 t3.call$0();
50338 }
50339 operators.push(operator);
50340 singleExpression = t2.singleExpression_;
50341 if (singleExpression == null) {
50342 t3 = t1.scanner;
50343 t4 = operator.operator.length;
50344 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
50345 }
50346 operands.push(singleExpression);
50347 t1.whitespace$0();
50348 t2.singleExpression_ = t1._singleExpression$0();
50349 },
50350 $signature: 375
50351 };
50352 A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
50353 call$0() {
50354 var t1, spaceExpressions, singleExpression, t2;
50355 this.resolveOperations.call$0();
50356 t1 = this._box_0;
50357 spaceExpressions = t1.spaceExpressions_;
50358 if (spaceExpressions != null) {
50359 singleExpression = t1.singleExpression_;
50360 if (singleExpression == null)
50361 this.$this.scanner.error$1(0, "Expected expression.");
50362 spaceExpressions.push(singleExpression);
50363 t2 = B.JSArray_methods.get$first(spaceExpressions);
50364 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
50365 t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, false, t2);
50366 t1.spaceExpressions_ = null;
50367 }
50368 },
50369 $signature: 0
50370 };
50371 A.StylesheetParser_expressionUntilComma_closure.prototype = {
50372 call$0() {
50373 return this.$this.scanner.peekChar$0() === 44;
50374 },
50375 $signature: 26
50376 };
50377 A.StylesheetParser__unicodeRange_closure.prototype = {
50378 call$1(char) {
50379 return char != null && A.isHex(char);
50380 },
50381 $signature: 31
50382 };
50383 A.StylesheetParser__unicodeRange_closure0.prototype = {
50384 call$1(char) {
50385 return char != null && A.isHex(char);
50386 },
50387 $signature: 31
50388 };
50389 A.StylesheetParser_namespacedExpression_closure.prototype = {
50390 call$0() {
50391 return this.$this.scanner.spanFrom$1(this.start);
50392 },
50393 $signature: 30
50394 };
50395 A.StylesheetParser_trySpecialFunction_closure.prototype = {
50396 call$1(contents) {
50397 return new A.StringExpression(contents, false);
50398 },
50399 $signature: 379
50400 };
50401 A.StylesheetParser__expressionUntilComparison_closure.prototype = {
50402 call$0() {
50403 var t1 = this.$this.scanner,
50404 next = t1.peekChar$0();
50405 if (next === 61)
50406 return t1.peekChar$1(1) !== 61;
50407 return next === 60 || next === 62;
50408 },
50409 $signature: 26
50410 };
50411 A.StylesheetParser__publicIdentifier_closure.prototype = {
50412 call$0() {
50413 return this.$this.scanner.spanFrom$1(this.start);
50414 },
50415 $signature: 30
50416 };
50417 A.StylesheetGraph.prototype = {
50418 modifiedSince$3(url, since, baseImporter) {
50419 var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
50420 if (node == null)
50421 return true;
50422 return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
50423 },
50424 _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
50425 var t1, t2, _this = this,
50426 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
50427 if (tuple == null)
50428 return null;
50429 t1 = tuple.item1;
50430 t2 = tuple.item2;
50431 _this.addCanonical$3(t1, t2, tuple.item3);
50432 return _this._nodes.$index(0, t2);
50433 },
50434 addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
50435 var stylesheet, _this = this,
50436 t1 = _this._nodes;
50437 if (t1.$index(0, canonicalUrl) != null)
50438 return B.Set_empty1;
50439 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
50440 if (stylesheet == null)
50441 return B.Set_empty1;
50442 t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
50443 return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty1;
50444 },
50445 addCanonical$3(importer, canonicalUrl, originalUrl) {
50446 return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
50447 },
50448 _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
50449 var t4, t5, t6, t7,
50450 t1 = type$.Uri,
50451 active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
50452 t2 = type$.JSArray_Uri,
50453 t3 = A._setArrayType([], t2);
50454 t2 = A._setArrayType([], t2);
50455 new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
50456 t4 = type$.nullable_StylesheetNode;
50457 t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50458 for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
50459 t7 = t6.get$current(t6);
50460 t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
50461 }
50462 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50463 for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
50464 t3 = t2.get$current(t2);
50465 t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
50466 }
50467 return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
50468 },
50469 reload$1(canonicalUrl) {
50470 var stylesheet, upstream, _this = this,
50471 node = _this._nodes.$index(0, canonicalUrl);
50472 if (node == null)
50473 throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
50474 _this._transitiveModificationTimes.clear$0(0);
50475 _this.importCache.clearImport$1(canonicalUrl);
50476 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
50477 if (stylesheet == null)
50478 return false;
50479 node._stylesheet = stylesheet;
50480 upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
50481 node._replaceUpstream$2(upstream.item1, upstream.item2);
50482 return true;
50483 },
50484 _recanonicalizeImports$2(importer, canonicalUrl) {
50485 var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
50486 changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
50487 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();) {
50488 t5 = t1.get$current(t1);
50489 newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
50490 newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
50491 if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
50492 changed.add$1(0, t5);
50493 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));
50494 }
50495 }
50496 if (changed._collection$_length !== 0)
50497 _this._transitiveModificationTimes.clear$0(0);
50498 return changed;
50499 },
50500 _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
50501 var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
50502 map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
50503 newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
50504 map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
50505 return newMap;
50506 },
50507 _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
50508 var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
50509 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
50510 if (tuple == null)
50511 return null;
50512 importer = tuple.item1;
50513 canonicalUrl = tuple.item2;
50514 resolvedUrl = tuple.item3;
50515 t1 = _this._nodes;
50516 if (t1.containsKey$1(canonicalUrl))
50517 return t1.$index(0, canonicalUrl);
50518 if (active.contains$1(0, canonicalUrl))
50519 return null;
50520 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
50521 if (stylesheet == null)
50522 return null;
50523 active.add$1(0, canonicalUrl);
50524 node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
50525 active.remove$1(0, canonicalUrl);
50526 t1.$indexSet(0, canonicalUrl, node);
50527 return node;
50528 },
50529 _nodeFor$4(url, baseImporter, baseUrl, active) {
50530 return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
50531 },
50532 _ignoreErrors$1$1(callback) {
50533 var t1, exception;
50534 try {
50535 t1 = callback.call$0();
50536 return t1;
50537 } catch (exception) {
50538 return null;
50539 }
50540 },
50541 _ignoreErrors$1(callback) {
50542 return this._ignoreErrors$1$1(callback, type$.dynamic);
50543 }
50544 };
50545 A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
50546 call$1(node) {
50547 return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
50548 },
50549 $signature: 382
50550 };
50551 A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
50552 call$0() {
50553 var t2, t3, upstreamTime,
50554 t1 = this.node,
50555 latest = t1.importer.modificationTime$1(t1.canonicalUrl);
50556 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();) {
50557 t3 = t1._currentIterator;
50558 t3 = t3.get$current(t3);
50559 upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
50560 if (upstreamTime._core$_value > latest._core$_value)
50561 latest = upstreamTime;
50562 }
50563 return latest;
50564 },
50565 $signature: 180
50566 };
50567 A.StylesheetGraph__add_closure.prototype = {
50568 call$0() {
50569 var _this = this;
50570 return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
50571 },
50572 $signature: 76
50573 };
50574 A.StylesheetGraph_addCanonical_closure.prototype = {
50575 call$0() {
50576 var _this = this;
50577 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
50578 },
50579 $signature: 77
50580 };
50581 A.StylesheetGraph_reload_closure.prototype = {
50582 call$0() {
50583 return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
50584 },
50585 $signature: 77
50586 };
50587 A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
50588 call$2(url, upstream) {
50589 var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
50590 if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
50591 return;
50592 t1 = _this.$this;
50593 t2 = t1.importCache;
50594 t2.clearCanonicalize$1(url);
50595 result = null;
50596 try {
50597 t3 = _this.node;
50598 result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
50599 } catch (exception) {
50600 }
50601 t2 = result;
50602 newCanonicalUrl = t2 == null ? null : t2.item2;
50603 if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
50604 return;
50605 t1 = result == null ? null : t1._nodes.$index(0, result.item2);
50606 _this.newMap.$indexSet(0, url, t1);
50607 },
50608 $signature: 383
50609 };
50610 A.StylesheetGraph__nodeFor_closure.prototype = {
50611 call$0() {
50612 var _this = this;
50613 return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
50614 },
50615 $signature: 76
50616 };
50617 A.StylesheetGraph__nodeFor_closure0.prototype = {
50618 call$0() {
50619 var _this = this;
50620 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
50621 },
50622 $signature: 77
50623 };
50624 A.StylesheetNode.prototype = {
50625 StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
50626 var t1, t2;
50627 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();) {
50628 t1 = t2._currentIterator;
50629 t1 = t1.get$current(t1);
50630 if (t1 != null)
50631 t1._downstream.add$1(0, this);
50632 }
50633 },
50634 _replaceUpstream$2(newUpstream, newUpstreamImports) {
50635 var t3, oldUpstream, newUpstreamSet, _this = this,
50636 t1 = type$.nullable_StylesheetNode,
50637 t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50638 for (t3 = _this._upstream, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50639 t2.add$1(0, t3.get$current(t3));
50640 for (t3 = _this._upstreamImports, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50641 t2.add$1(0, t3.get$current(t3));
50642 t3 = type$.StylesheetNode;
50643 oldUpstream = A.SetExtension_removeNull(t2, t3);
50644 t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50645 for (t2 = newUpstream.get$values(newUpstream), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50646 t1.add$1(0, t2.get$current(t2));
50647 for (t2 = newUpstreamImports.get$values(newUpstreamImports), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50648 t1.add$1(0, t2.get$current(t2));
50649 newUpstreamSet = A.SetExtension_removeNull(t1, t3);
50650 for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50651 t1.get$current(t1)._downstream.remove$1(0, _this);
50652 for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50653 t1.get$current(t1)._downstream.add$1(0, _this);
50654 _this._upstream = newUpstream;
50655 _this._upstreamImports = newUpstreamImports;
50656 },
50657 _stylesheet_graph$_remove$0() {
50658 var t2, t3, t4, _i, url, _this = this,
50659 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_StylesheetNode);
50660 for (t2 = _this._upstream, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50661 t1.add$1(0, t2.get$current(t2));
50662 for (t2 = _this._upstreamImports, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50663 t1.add$1(0, t2.get$current(t2));
50664 t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
50665 t2 = A._instanceType(t1)._precomputed1;
50666 for (; t1.moveNext$0();) {
50667 t3 = t1._collection$_current;
50668 if (t3 == null)
50669 t3 = t2._as(t3);
50670 if (t3 == null)
50671 continue;
50672 t3._downstream.remove$1(0, _this);
50673 }
50674 for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
50675 t2 = t1.get$current(t1);
50676 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) {
50677 url = t3[_i];
50678 if (J.$eq$(t2._upstream.$index(0, url), _this)) {
50679 t2._upstream.$indexSet(0, url, null);
50680 break;
50681 }
50682 }
50683 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) {
50684 url = t3[_i];
50685 if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
50686 t2._upstreamImports.$indexSet(0, url, null);
50687 break;
50688 }
50689 }
50690 }
50691 },
50692 toString$0(_) {
50693 var t1 = A.NullableExtension_andThen(this._stylesheet.span.file.url, A.path__prettyUri$closure());
50694 return t1 == null ? "<unknown>" : t1;
50695 }
50696 };
50697 A.Syntax.prototype = {
50698 toString$0(_) {
50699 return this._syntax$_name;
50700 }
50701 };
50702 A.LimitedMapView.prototype = {
50703 get$keys(_) {
50704 return this._limited_map_view$_keys;
50705 },
50706 get$length(_) {
50707 return this._limited_map_view$_keys._collection$_length;
50708 },
50709 get$isEmpty(_) {
50710 return this._limited_map_view$_keys._collection$_length === 0;
50711 },
50712 get$isNotEmpty(_) {
50713 return this._limited_map_view$_keys._collection$_length !== 0;
50714 },
50715 $index(_, key) {
50716 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
50717 },
50718 containsKey$1(key) {
50719 return this._limited_map_view$_keys.contains$1(0, key);
50720 },
50721 remove$1(_, key) {
50722 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
50723 }
50724 };
50725 A.MergedMapView.prototype = {
50726 get$keys(_) {
50727 var t1 = this._mapsByKey;
50728 return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
50729 },
50730 get$length(_) {
50731 return this._mapsByKey.__js_helper$_length;
50732 },
50733 get$isEmpty(_) {
50734 return this._mapsByKey.__js_helper$_length === 0;
50735 },
50736 get$isNotEmpty(_) {
50737 return this._mapsByKey.__js_helper$_length !== 0;
50738 },
50739 MergedMapView$1(maps, $K, $V) {
50740 var t1, t2, t3, _i, map, t4, t5, t6;
50741 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) {
50742 map = maps[_i];
50743 if (t3._is(map))
50744 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();) {
50745 t6 = t4.__internal$_current;
50746 if (t6 == null)
50747 t6 = t5._as(t6);
50748 A.setAll(t2, t6.get$keys(t6), t6);
50749 }
50750 else
50751 A.setAll(t2, map.get$keys(map), map);
50752 }
50753 },
50754 $index(_, key) {
50755 var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
50756 return t1 == null ? null : t1.$index(0, key);
50757 },
50758 $indexSet(_, key, value) {
50759 var child = this._mapsByKey.$index(0, key);
50760 if (child == null)
50761 throw A.wrapException(A.UnsupportedError$(string$.New_en));
50762 child.$indexSet(0, key, value);
50763 },
50764 remove$1(_, key) {
50765 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
50766 },
50767 containsKey$1(key) {
50768 return this._mapsByKey.containsKey$1(key);
50769 }
50770 };
50771 A.MultiDirWatcher.prototype = {
50772 watch$1(_, directory) {
50773 var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
50774 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) {
50775 entry = t2[_i];
50776 t5 = entry.key;
50777 t5.toString;
50778 existingWatcher = entry.value;
50779 if (!isParentOfExistingDir) {
50780 t6 = $.$get$context();
50781 t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
50782 } else
50783 t6 = false;
50784 if (t6) {
50785 t1 = new A._Future($.Zone__current, type$._Future_void);
50786 t1._asyncComplete$1(null);
50787 return t1;
50788 }
50789 if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
50790 t1.remove$1(0, t5);
50791 t4.remove$1(0, existingWatcher);
50792 isParentOfExistingDir = true;
50793 }
50794 }
50795 future = A.watchDir(directory, this._poll);
50796 t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
50797 completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
50798 future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
50799 t1.$indexSet(0, directory, t2);
50800 t4.add$1(0, t2);
50801 return future;
50802 }
50803 };
50804 A.NoSourceMapBuffer.prototype = {
50805 get$length(_) {
50806 return this._no_source_map_buffer$_buffer._contents.length;
50807 },
50808 forSpan$1$2(span, callback) {
50809 return callback.call$0();
50810 },
50811 forSpan$2(span, callback) {
50812 return this.forSpan$1$2(span, callback, type$.dynamic);
50813 },
50814 write$1(_, object) {
50815 this._no_source_map_buffer$_buffer._contents += A.S(object);
50816 return null;
50817 },
50818 writeCharCode$1(charCode) {
50819 this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50820 return null;
50821 },
50822 toString$0(_) {
50823 var t1 = this._no_source_map_buffer$_buffer._contents;
50824 return t1.charCodeAt(0) == 0 ? t1 : t1;
50825 },
50826 buildSourceMap$1$prefix(prefix) {
50827 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
50828 }
50829 };
50830 A.PrefixedMapView.prototype = {
50831 get$keys(_) {
50832 return new A._PrefixedKeys(this);
50833 },
50834 get$length(_) {
50835 var t1 = this._prefixed_map_view$_map;
50836 return t1.get$length(t1);
50837 },
50838 get$isEmpty(_) {
50839 var t1 = this._prefixed_map_view$_map;
50840 return t1.get$isEmpty(t1);
50841 },
50842 get$isNotEmpty(_) {
50843 var t1 = this._prefixed_map_view$_map;
50844 return t1.get$isNotEmpty(t1);
50845 },
50846 $index(_, key) {
50847 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;
50848 },
50849 containsKey$1(key) {
50850 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));
50851 }
50852 };
50853 A._PrefixedKeys.prototype = {
50854 get$length(_) {
50855 var t1 = this._view._prefixed_map_view$_map;
50856 return t1.get$length(t1);
50857 },
50858 get$iterator(_) {
50859 var t1 = this._view._prefixed_map_view$_map;
50860 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
50861 return t1.get$iterator(t1);
50862 },
50863 contains$1(_, key) {
50864 return this._view.containsKey$1(key);
50865 }
50866 };
50867 A._PrefixedKeys_iterator_closure.prototype = {
50868 call$1(key) {
50869 return this.$this._view._prefix + key;
50870 },
50871 $signature: 5
50872 };
50873 A.PublicMemberMapView.prototype = {
50874 get$keys(_) {
50875 var t1 = this._public_member_map_view$_inner;
50876 return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
50877 },
50878 containsKey$1(key) {
50879 return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
50880 },
50881 $index(_, key) {
50882 if (typeof key == "string" && A.isPublic(key))
50883 return this._public_member_map_view$_inner.$index(0, key);
50884 return null;
50885 }
50886 };
50887 A.SourceMapBuffer.prototype = {
50888 get$_targetLocation() {
50889 var t1 = this._source_map_buffer$_buffer._contents,
50890 t2 = this._line;
50891 return A.SourceLocation$(t1.length, this._column, t2, null);
50892 },
50893 get$length(_) {
50894 return this._source_map_buffer$_buffer._contents.length;
50895 },
50896 forSpan$1$2(span, callback) {
50897 var t1, _this = this,
50898 wasInSpan = _this._inSpan;
50899 _this._inSpan = true;
50900 _this._addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_targetLocation());
50901 try {
50902 t1 = callback.call$0();
50903 return t1;
50904 } finally {
50905 _this._inSpan = wasInSpan;
50906 }
50907 },
50908 forSpan$2(span, callback) {
50909 return this.forSpan$1$2(span, callback, type$.dynamic);
50910 },
50911 _addEntry$2(source, target) {
50912 var entry, t2,
50913 t1 = this._entries;
50914 if (t1.length !== 0) {
50915 entry = B.JSArray_methods.get$last(t1);
50916 t2 = entry.source;
50917 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
50918 return;
50919 if (entry.target.offset === target.offset)
50920 return;
50921 }
50922 t1.push(new A.Entry(source, target, null));
50923 },
50924 write$1(_, object) {
50925 var t1, i,
50926 string = J.toString$0$(object);
50927 this._source_map_buffer$_buffer._contents += string;
50928 for (t1 = string.length, i = 0; i < t1; ++i)
50929 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
50930 this._source_map_buffer$_writeLine$0();
50931 else
50932 ++this._column;
50933 },
50934 writeCharCode$1(charCode) {
50935 this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50936 if (charCode === 10)
50937 this._source_map_buffer$_writeLine$0();
50938 else
50939 ++this._column;
50940 },
50941 _source_map_buffer$_writeLine$0() {
50942 var _this = this,
50943 t1 = _this._entries;
50944 if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
50945 t1.pop();
50946 ++_this._line;
50947 _this._column = 0;
50948 if (_this._inSpan)
50949 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
50950 },
50951 toString$0(_) {
50952 var t1 = this._source_map_buffer$_buffer._contents;
50953 return t1.charCodeAt(0) == 0 ? t1 : t1;
50954 },
50955 buildSourceMap$1$prefix(prefix) {
50956 var i, t2, prefixColumn, _box_0 = {},
50957 t1 = prefix.length;
50958 if (t1 === 0)
50959 return A.SingleMapping_SingleMapping$fromEntries(this._entries);
50960 _box_0.prefixColumn = _box_0.prefixLines = 0;
50961 for (i = 0, t2 = 0; i < t1; ++i)
50962 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
50963 ++_box_0.prefixLines;
50964 _box_0.prefixColumn = 0;
50965 t2 = 0;
50966 } else {
50967 prefixColumn = t2 + 1;
50968 _box_0.prefixColumn = prefixColumn;
50969 t2 = prefixColumn;
50970 }
50971 t2 = this._entries;
50972 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>")));
50973 }
50974 };
50975 A.SourceMapBuffer_buildSourceMap_closure.prototype = {
50976 call$1(entry) {
50977 var t1 = entry.source,
50978 t2 = entry.target,
50979 t3 = t2.line,
50980 t4 = this._box_0,
50981 t5 = t4.prefixLines;
50982 t4 = t3 === 0 ? t4.prefixColumn : 0;
50983 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
50984 },
50985 $signature: 169
50986 };
50987 A.UnprefixedMapView.prototype = {
50988 get$keys(_) {
50989 return new A._UnprefixedKeys(this);
50990 },
50991 $index(_, key) {
50992 return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
50993 },
50994 containsKey$1(key) {
50995 return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
50996 },
50997 remove$1(_, key) {
50998 return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
50999 }
51000 };
51001 A._UnprefixedKeys.prototype = {
51002 get$iterator(_) {
51003 var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
51004 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);
51005 return t1.get$iterator(t1);
51006 },
51007 contains$1(_, key) {
51008 return this._unprefixed_map_view$_view.containsKey$1(key);
51009 }
51010 };
51011 A._UnprefixedKeys_iterator_closure.prototype = {
51012 call$1(key) {
51013 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
51014 },
51015 $signature: 6
51016 };
51017 A._UnprefixedKeys_iterator_closure0.prototype = {
51018 call$1(key) {
51019 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
51020 },
51021 $signature: 5
51022 };
51023 A.indent_closure.prototype = {
51024 call$1(line) {
51025 return B.JSString_methods.$mul(" ", this.indentation) + line;
51026 },
51027 $signature: 5
51028 };
51029 A.flattenVertically_closure.prototype = {
51030 call$1(inner) {
51031 return A.QueueList_QueueList$from(inner, this.T);
51032 },
51033 $signature() {
51034 return this.T._eval$1("QueueList<0>(Iterable<0>)");
51035 }
51036 };
51037 A.flattenVertically_closure0.prototype = {
51038 call$1(queue) {
51039 this.result.push(queue.removeFirst$0());
51040 return queue.get$length(queue) === 0;
51041 },
51042 $signature() {
51043 return this.T._eval$1("bool(QueueList<0>)");
51044 }
51045 };
51046 A.longestCommonSubsequence_closure.prototype = {
51047 call$2(element1, element2) {
51048 return J.$eq$(element1, element2) ? element1 : null;
51049 },
51050 $signature() {
51051 return this.T._eval$1("0?(0,0)");
51052 }
51053 };
51054 A.longestCommonSubsequence_backtrack.prototype = {
51055 call$2(i, j) {
51056 var selection, t1, _this = this;
51057 if (i === -1 || j === -1)
51058 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
51059 selection = _this.selections[i][j];
51060 if (selection != null) {
51061 t1 = _this.call$2(i - 1, j - 1);
51062 J.add$1$ax(t1, selection);
51063 return t1;
51064 }
51065 t1 = _this.lengths;
51066 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
51067 },
51068 $signature() {
51069 return this.T._eval$1("List<0>(int,int)");
51070 }
51071 };
51072 A.mapAddAll2_closure.prototype = {
51073 call$2(key, inner) {
51074 var t1 = this.destination,
51075 innerDestination = t1.$index(0, key);
51076 if (innerDestination != null)
51077 innerDestination.addAll$1(0, inner);
51078 else
51079 t1.$indexSet(0, key, inner);
51080 },
51081 $signature() {
51082 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
51083 }
51084 };
51085 A.Value.prototype = {
51086 get$isTruthy() {
51087 return true;
51088 },
51089 get$separator(_) {
51090 return B.ListSeparator_undecided_null;
51091 },
51092 get$hasBrackets() {
51093 return false;
51094 },
51095 get$asList() {
51096 return A._setArrayType([this], type$.JSArray_Value);
51097 },
51098 get$lengthAsList() {
51099 return 1;
51100 },
51101 get$isBlank() {
51102 return false;
51103 },
51104 get$isSpecialNumber() {
51105 return false;
51106 },
51107 get$isVar() {
51108 return false;
51109 },
51110 get$realNull() {
51111 return this;
51112 },
51113 sassIndexToListIndex$2(sassIndex, $name) {
51114 var _this = this,
51115 index = sassIndex.assertNumber$1($name).assertInt$1($name);
51116 if (index === 0)
51117 throw A.wrapException(_this._value$_exception$2("List index may not be 0.", $name));
51118 if (Math.abs(index) > _this.get$lengthAsList())
51119 throw A.wrapException(_this._value$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
51120 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
51121 },
51122 assertCalculation$1($name) {
51123 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
51124 },
51125 assertColor$1($name) {
51126 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a color.", $name));
51127 },
51128 assertFunction$1($name) {
51129 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
51130 },
51131 assertMap$1($name) {
51132 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a map.", $name));
51133 },
51134 tryMap$0() {
51135 return null;
51136 },
51137 assertNumber$1($name) {
51138 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a number.", $name));
51139 },
51140 assertNumber$0() {
51141 return this.assertNumber$1(null);
51142 },
51143 assertString$1($name) {
51144 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a string.", $name));
51145 },
51146 assertSelector$2$allowParent$name(allowParent, $name) {
51147 var error, stackTrace, t1, exception,
51148 string = this._selectorString$1($name);
51149 try {
51150 t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
51151 return t1;
51152 } catch (exception) {
51153 t1 = A.unwrapException(exception);
51154 if (t1 instanceof A.SassFormatException) {
51155 error = t1;
51156 stackTrace = A.getTraceFromException(exception);
51157 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
51158 A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
51159 } else
51160 throw exception;
51161 }
51162 },
51163 assertSelector$1$name($name) {
51164 return this.assertSelector$2$allowParent$name(false, $name);
51165 },
51166 assertSelector$0() {
51167 return this.assertSelector$2$allowParent$name(false, null);
51168 },
51169 assertSelector$1$allowParent(allowParent) {
51170 return this.assertSelector$2$allowParent$name(allowParent, null);
51171 },
51172 assertCompoundSelector$1$name($name) {
51173 var error, stackTrace, t1, exception,
51174 allowParent = false,
51175 string = this._selectorString$1($name);
51176 try {
51177 t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
51178 return t1;
51179 } catch (exception) {
51180 t1 = A.unwrapException(exception);
51181 if (t1 instanceof A.SassFormatException) {
51182 error = t1;
51183 stackTrace = A.getTraceFromException(exception);
51184 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
51185 A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), stackTrace);
51186 } else
51187 throw exception;
51188 }
51189 },
51190 _selectorString$1($name) {
51191 var string = this._selectorStringOrNull$0();
51192 if (string != null)
51193 return string;
51194 throw A.wrapException(this._value$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
51195 },
51196 _selectorStringOrNull$0() {
51197 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
51198 if (_this instanceof A.SassString)
51199 return _this._string$_text;
51200 if (!(_this instanceof A.SassList))
51201 return _null;
51202 t1 = _this._list$_contents;
51203 t2 = t1.length;
51204 if (t2 === 0)
51205 return _null;
51206 result = A._setArrayType([], type$.JSArray_String);
51207 t3 = _this._separator;
51208 switch (t3) {
51209 case B.ListSeparator_kWM:
51210 for (_i = 0; _i < t2; ++_i) {
51211 complex = t1[_i];
51212 if (complex instanceof A.SassString)
51213 result.push(complex._string$_text);
51214 else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_woc) {
51215 string = complex._selectorStringOrNull$0();
51216 if (string == null)
51217 return _null;
51218 result.push(string);
51219 } else
51220 return _null;
51221 }
51222 break;
51223 case B.ListSeparator_1gm:
51224 return _null;
51225 default:
51226 for (_i = 0; _i < t2; ++_i) {
51227 compound = t1[_i];
51228 if (compound instanceof A.SassString)
51229 result.push(compound._string$_text);
51230 else
51231 return _null;
51232 }
51233 break;
51234 }
51235 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM ? ", " : " ");
51236 },
51237 withListContents$2$separator(contents, separator) {
51238 var t1 = separator == null ? this.get$separator(this) : separator,
51239 t2 = this.get$hasBrackets();
51240 return A.SassList$(contents, t1, t2);
51241 },
51242 withListContents$1(contents) {
51243 return this.withListContents$2$separator(contents, null);
51244 },
51245 greaterThan$1(other) {
51246 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51247 },
51248 greaterThanOrEquals$1(other) {
51249 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51250 },
51251 lessThan$1(other) {
51252 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51253 },
51254 lessThanOrEquals$1(other) {
51255 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51256 },
51257 times$1(other) {
51258 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51259 },
51260 modulo$1(other) {
51261 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51262 },
51263 plus$1(other) {
51264 if (other instanceof A.SassString)
51265 return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
51266 else if (other instanceof A.SassCalculation)
51267 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51268 else
51269 return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
51270 },
51271 minus$1(other) {
51272 if (other instanceof A.SassCalculation)
51273 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51274 else
51275 return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
51276 },
51277 dividedBy$1(other) {
51278 return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
51279 },
51280 unaryPlus$0() {
51281 return new A.SassString("+" + A.serializeValue(this, false, true), false);
51282 },
51283 unaryMinus$0() {
51284 return new A.SassString("-" + A.serializeValue(this, false, true), false);
51285 },
51286 unaryNot$0() {
51287 return B.SassBoolean_false;
51288 },
51289 withoutSlash$0() {
51290 return this;
51291 },
51292 toString$0(_) {
51293 return A.serializeValue(this, true, true);
51294 },
51295 _value$_exception$2(message, $name) {
51296 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51297 }
51298 };
51299 A.SassArgumentList.prototype = {};
51300 A.SassBoolean.prototype = {
51301 get$isTruthy() {
51302 return this.value;
51303 },
51304 accept$1$1(visitor) {
51305 return visitor._serialize$_buffer.write$1(0, String(this.value));
51306 },
51307 accept$1(visitor) {
51308 return this.accept$1$1(visitor, type$.dynamic);
51309 },
51310 unaryNot$0() {
51311 return this.value ? B.SassBoolean_false : B.SassBoolean_true;
51312 }
51313 };
51314 A.SassCalculation.prototype = {
51315 get$isSpecialNumber() {
51316 return true;
51317 },
51318 accept$1$1(visitor) {
51319 var t2,
51320 t1 = visitor._serialize$_buffer;
51321 t1.write$1(0, this.name);
51322 t1.writeCharCode$1(40);
51323 t2 = visitor._style === B.OutputStyle_compressed ? "," : ", ";
51324 visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
51325 t1.writeCharCode$1(41);
51326 return null;
51327 },
51328 accept$1(visitor) {
51329 return this.accept$1$1(visitor, type$.dynamic);
51330 },
51331 assertCalculation$1($name) {
51332 return this;
51333 },
51334 plus$1(other) {
51335 if (other instanceof A.SassString)
51336 return this.super$Value$plus(other);
51337 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51338 },
51339 minus$1(other) {
51340 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51341 },
51342 unaryPlus$0() {
51343 return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".'));
51344 },
51345 unaryMinus$0() {
51346 return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".'));
51347 },
51348 $eq(_, other) {
51349 if (other == null)
51350 return false;
51351 return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
51352 },
51353 get$hashCode(_) {
51354 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
51355 }
51356 };
51357 A.SassCalculation__verifyLength_closure.prototype = {
51358 call$1(arg) {
51359 return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
51360 },
51361 $signature: 109
51362 };
51363 A.CalculationOperation.prototype = {
51364 $eq(_, other) {
51365 if (other == null)
51366 return false;
51367 return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
51368 },
51369 get$hashCode(_) {
51370 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
51371 },
51372 toString$0(_) {
51373 var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
51374 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
51375 }
51376 };
51377 A.CalculationOperator.prototype = {
51378 toString$0(_) {
51379 return this.name;
51380 }
51381 };
51382 A.CalculationInterpolation.prototype = {
51383 $eq(_, other) {
51384 if (other == null)
51385 return false;
51386 return other instanceof A.CalculationInterpolation && this.value === other.value;
51387 },
51388 get$hashCode(_) {
51389 return B.JSString_methods.get$hashCode(this.value);
51390 },
51391 toString$0(_) {
51392 return this.value;
51393 }
51394 };
51395 A.SassColor.prototype = {
51396 get$red(_) {
51397 var t1;
51398 if (this._red == null)
51399 this._hslToRgb$0();
51400 t1 = this._red;
51401 t1.toString;
51402 return t1;
51403 },
51404 get$green(_) {
51405 var t1;
51406 if (this._green == null)
51407 this._hslToRgb$0();
51408 t1 = this._green;
51409 t1.toString;
51410 return t1;
51411 },
51412 get$blue(_) {
51413 var t1;
51414 if (this._blue == null)
51415 this._hslToRgb$0();
51416 t1 = this._blue;
51417 t1.toString;
51418 return t1;
51419 },
51420 get$hue(_) {
51421 var t1;
51422 if (this._hue == null)
51423 this._rgbToHsl$0();
51424 t1 = this._hue;
51425 t1.toString;
51426 return t1;
51427 },
51428 get$saturation(_) {
51429 var t1;
51430 if (this._saturation == null)
51431 this._rgbToHsl$0();
51432 t1 = this._saturation;
51433 t1.toString;
51434 return t1;
51435 },
51436 get$lightness(_) {
51437 var t1;
51438 if (this._lightness == null)
51439 this._rgbToHsl$0();
51440 t1 = this._lightness;
51441 t1.toString;
51442 return t1;
51443 },
51444 get$whiteness(_) {
51445 var _this = this;
51446 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51447 },
51448 get$blackness(_) {
51449 var _this = this;
51450 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51451 },
51452 accept$1$1(visitor) {
51453 var $name, hexLength, t1, format, t2, opaque, _this = this;
51454 if (visitor._style === B.OutputStyle_compressed)
51455 if (!(Math.abs(_this._alpha - 1) < $.$get$epsilon()))
51456 visitor._writeRgb$1(_this);
51457 else {
51458 $name = $.$get$namesByColor().$index(0, _this);
51459 hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
51460 if ($name != null && $name.length <= hexLength)
51461 visitor._serialize$_buffer.write$1(0, $name);
51462 else {
51463 t1 = visitor._serialize$_buffer;
51464 if (visitor._canUseShortHex$1(_this)) {
51465 t1.writeCharCode$1(35);
51466 t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
51467 t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
51468 t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
51469 } else {
51470 t1.writeCharCode$1(35);
51471 visitor._writeHexComponent$1(_this.get$red(_this));
51472 visitor._writeHexComponent$1(_this.get$green(_this));
51473 visitor._writeHexComponent$1(_this.get$blue(_this));
51474 }
51475 }
51476 }
51477 else {
51478 format = _this.format;
51479 if (format != null)
51480 if (format === B._ColorFormatEnum_rgbFunction)
51481 visitor._writeRgb$1(_this);
51482 else {
51483 t1 = visitor._serialize$_buffer;
51484 if (format === B._ColorFormatEnum_hslFunction) {
51485 t2 = _this._alpha;
51486 opaque = Math.abs(t2 - 1) < $.$get$epsilon();
51487 t1.write$1(0, opaque ? "hsl(" : "hsla(");
51488 visitor._writeNumber$1(_this.get$hue(_this));
51489 t1.write$1(0, "deg");
51490 t1.write$1(0, ", ");
51491 visitor._writeNumber$1(_this.get$saturation(_this));
51492 t1.writeCharCode$1(37);
51493 t1.write$1(0, ", ");
51494 visitor._writeNumber$1(_this.get$lightness(_this));
51495 t1.writeCharCode$1(37);
51496 if (!opaque) {
51497 t1.write$1(0, ", ");
51498 visitor._writeNumber$1(t2);
51499 }
51500 t1.writeCharCode$1(41);
51501 } else {
51502 t2 = type$.SpanColorFormat._as(format)._color$_span;
51503 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
51504 }
51505 }
51506 else {
51507 t1 = $.$get$namesByColor();
51508 if (t1.containsKey$1(_this) && !(Math.abs(_this._alpha - 0) < $.$get$epsilon()))
51509 visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
51510 else if (Math.abs(_this._alpha - 1) < $.$get$epsilon()) {
51511 visitor._serialize$_buffer.writeCharCode$1(35);
51512 visitor._writeHexComponent$1(_this.get$red(_this));
51513 visitor._writeHexComponent$1(_this.get$green(_this));
51514 visitor._writeHexComponent$1(_this.get$blue(_this));
51515 } else
51516 visitor._writeRgb$1(_this);
51517 }
51518 }
51519 return null;
51520 },
51521 accept$1(visitor) {
51522 return this.accept$1$1(visitor, type$.dynamic);
51523 },
51524 assertColor$1($name) {
51525 return this;
51526 },
51527 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
51528 return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
51529 },
51530 changeRgb$3$blue$green$red(blue, green, red) {
51531 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
51532 },
51533 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
51534 var _this = this, _null = null,
51535 t1 = hue == null ? _this.get$hue(_this) : hue,
51536 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
51537 t3 = lightness == null ? _this.get$lightness(_this) : lightness,
51538 t4 = alpha == null ? _this._alpha : alpha;
51539 t1 = B.JSNumber_methods.$mod(t1, 360);
51540 t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
51541 t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
51542 t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
51543 return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
51544 },
51545 changeHsl$1$saturation(saturation) {
51546 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
51547 },
51548 changeHsl$1$lightness(lightness) {
51549 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
51550 },
51551 changeHsl$1$hue(hue) {
51552 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
51553 },
51554 changeAlpha$1(alpha) {
51555 var _this = this;
51556 return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
51557 },
51558 plus$1(other) {
51559 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51560 return this.super$Value$plus(other);
51561 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51562 },
51563 minus$1(other) {
51564 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51565 return this.super$Value$minus(other);
51566 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51567 },
51568 dividedBy$1(other) {
51569 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51570 return this.super$Value$dividedBy(other);
51571 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
51572 },
51573 $eq(_, other) {
51574 var _this = this;
51575 if (other == null)
51576 return false;
51577 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;
51578 },
51579 get$hashCode(_) {
51580 var _this = this;
51581 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);
51582 },
51583 _rgbToHsl$0() {
51584 var t2, lightness, _this = this,
51585 scaledRed = _this.get$red(_this) / 255,
51586 scaledGreen = _this.get$green(_this) / 255,
51587 scaledBlue = _this.get$blue(_this) / 255,
51588 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
51589 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
51590 delta = max - min,
51591 t1 = max === min;
51592 if (t1)
51593 _this._hue = 0;
51594 else if (max === scaledRed)
51595 _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
51596 else if (max === scaledGreen)
51597 _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
51598 else if (max === scaledBlue)
51599 _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
51600 t2 = max + min;
51601 lightness = 50 * t2;
51602 _this._lightness = lightness;
51603 if (t1)
51604 _this._saturation = 0;
51605 else {
51606 t1 = 100 * delta;
51607 if (lightness < 50)
51608 _this._saturation = t1 / t2;
51609 else
51610 _this._saturation = t1 / (2 - max - min);
51611 }
51612 },
51613 _hslToRgb$0() {
51614 var _this = this,
51615 scaledHue = _this.get$hue(_this) / 360,
51616 scaledSaturation = _this.get$saturation(_this) / 100,
51617 scaledLightness = _this.get$lightness(_this) / 100,
51618 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
51619 m1 = scaledLightness * 2 - m2;
51620 _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
51621 _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
51622 _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
51623 }
51624 };
51625 A.SassColor_SassColor$hwb_toRgb.prototype = {
51626 call$1(hue) {
51627 return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
51628 },
51629 $signature: 42
51630 };
51631 A._ColorFormatEnum.prototype = {
51632 toString$0(_) {
51633 return this._color$_name;
51634 }
51635 };
51636 A.SpanColorFormat.prototype = {};
51637 A.SassFunction.prototype = {
51638 accept$1$1(visitor) {
51639 var t1, t2;
51640 if (!visitor._inspect)
51641 A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value."));
51642 t1 = visitor._serialize$_buffer;
51643 t1.write$1(0, "get-function(");
51644 t2 = this.callable;
51645 visitor._visitQuotedString$1(t2.get$name(t2));
51646 t1.writeCharCode$1(41);
51647 return null;
51648 },
51649 accept$1(visitor) {
51650 return this.accept$1$1(visitor, type$.dynamic);
51651 },
51652 assertFunction$1($name) {
51653 return this;
51654 },
51655 $eq(_, other) {
51656 if (other == null)
51657 return false;
51658 return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
51659 },
51660 get$hashCode(_) {
51661 var t1 = this.callable;
51662 return t1.get$hashCode(t1);
51663 }
51664 };
51665 A.SassList.prototype = {
51666 get$separator(_) {
51667 return this._separator;
51668 },
51669 get$hasBrackets() {
51670 return this._hasBrackets;
51671 },
51672 get$isBlank() {
51673 return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
51674 },
51675 get$asList() {
51676 return this._list$_contents;
51677 },
51678 get$lengthAsList() {
51679 return this._list$_contents.length;
51680 },
51681 SassList$3$brackets(contents, _separator, brackets) {
51682 if (this._separator === B.ListSeparator_undecided_null && this._list$_contents.length > 1)
51683 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
51684 },
51685 accept$1$1(visitor) {
51686 return visitor.visitList$1(this);
51687 },
51688 accept$1(visitor) {
51689 return this.accept$1$1(visitor, type$.dynamic);
51690 },
51691 assertMap$1($name) {
51692 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
51693 },
51694 tryMap$0() {
51695 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
51696 },
51697 $eq(_, other) {
51698 var t1, _this = this;
51699 if (other == null)
51700 return false;
51701 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)))
51702 t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
51703 else
51704 t1 = true;
51705 return t1;
51706 },
51707 get$hashCode(_) {
51708 return B.C_ListEquality0.hash$1(this._list$_contents);
51709 }
51710 };
51711 A.SassList_isBlank_closure.prototype = {
51712 call$1(element) {
51713 return element.get$isBlank();
51714 },
51715 $signature: 62
51716 };
51717 A.ListSeparator.prototype = {
51718 toString$0(_) {
51719 return this._list$_name;
51720 }
51721 };
51722 A.SassMap.prototype = {
51723 get$separator(_) {
51724 var t1 = this._map$_contents;
51725 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null : B.ListSeparator_kWM;
51726 },
51727 get$asList() {
51728 var result = A._setArrayType([], type$.JSArray_Value);
51729 this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
51730 return result;
51731 },
51732 get$lengthAsList() {
51733 var t1 = this._map$_contents;
51734 return t1.get$length(t1);
51735 },
51736 accept$1$1(visitor) {
51737 return visitor.visitMap$1(this);
51738 },
51739 accept$1(visitor) {
51740 return this.accept$1$1(visitor, type$.dynamic);
51741 },
51742 assertMap$1($name) {
51743 return this;
51744 },
51745 tryMap$0() {
51746 return this;
51747 },
51748 $eq(_, other) {
51749 var t1;
51750 if (other == null)
51751 return false;
51752 if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
51753 t1 = this._map$_contents;
51754 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
51755 } else
51756 t1 = true;
51757 return t1;
51758 },
51759 get$hashCode(_) {
51760 var t1 = this._map$_contents;
51761 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty5) : B.C_MapEquality.hash$1(t1);
51762 }
51763 };
51764 A.SassMap_asList_closure.prototype = {
51765 call$2(key, value) {
51766 this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_woc, false));
51767 },
51768 $signature: 52
51769 };
51770 A._SassNull.prototype = {
51771 get$isTruthy() {
51772 return false;
51773 },
51774 get$isBlank() {
51775 return true;
51776 },
51777 get$realNull() {
51778 return null;
51779 },
51780 accept$1$1(visitor) {
51781 if (visitor._inspect)
51782 visitor._serialize$_buffer.write$1(0, "null");
51783 return null;
51784 },
51785 accept$1(visitor) {
51786 return this.accept$1$1(visitor, type$.dynamic);
51787 },
51788 unaryNot$0() {
51789 return B.SassBoolean_true;
51790 }
51791 };
51792 A.SassNumber.prototype = {
51793 get$unitString() {
51794 var _this = this;
51795 return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
51796 },
51797 accept$1$1(visitor) {
51798 return visitor.visitNumber$1(this);
51799 },
51800 accept$1(visitor) {
51801 return this.accept$1$1(visitor, type$.dynamic);
51802 },
51803 withoutSlash$0() {
51804 var _this = this;
51805 return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
51806 },
51807 assertNumber$1($name) {
51808 return this;
51809 },
51810 assertNumber$0() {
51811 return this.assertNumber$1(null);
51812 },
51813 assertInt$1($name) {
51814 var t1 = this._number$_value,
51815 integer = A.fuzzyIsInt(t1) ? B.JSNumber_methods.round$0(t1) : null;
51816 if (integer != null)
51817 return integer;
51818 throw A.wrapException(this._number$_exception$2(this.toString$0(0) + " is not an int.", $name));
51819 },
51820 assertInt$0() {
51821 return this.assertInt$1(null);
51822 },
51823 valueInRange$3(min, max, $name) {
51824 var _this = this,
51825 result = A.fuzzyCheckRange(_this._number$_value, min, max);
51826 if (result != null)
51827 return result;
51828 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));
51829 },
51830 hasCompatibleUnits$1(other) {
51831 var _this = this;
51832 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
51833 return false;
51834 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51835 return false;
51836 return _this.isComparableTo$1(other);
51837 },
51838 assertUnit$2(unit, $name) {
51839 if (this.hasUnit$1(unit))
51840 return;
51841 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
51842 },
51843 assertNoUnits$1($name) {
51844 if (!this.get$hasUnits())
51845 return;
51846 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
51847 },
51848 convertValueToMatch$3(other, $name, otherName) {
51849 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
51850 },
51851 coerce$3(newNumerators, newDenominators, $name) {
51852 return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
51853 },
51854 coerce$2(newNumerators, newDenominators) {
51855 return this.coerce$3(newNumerators, newDenominators, null);
51856 },
51857 coerceValue$3(newNumerators, newDenominators, $name) {
51858 return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
51859 },
51860 coerceValueToUnit$2(unit, $name) {
51861 var t1 = type$.JSArray_String;
51862 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
51863 },
51864 coerceValueToMatch$3(other, $name, otherName) {
51865 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
51866 },
51867 coerceValueToMatch$1(other) {
51868 return this.coerceValueToMatch$3(other, null, null);
51869 },
51870 _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
51871 var otherHasUnits, t1, _compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
51872 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
51873 return _this._number$_value;
51874 otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
51875 if (coerceUnitless)
51876 t1 = !_this.get$hasUnits() || !otherHasUnits;
51877 else
51878 t1 = false;
51879 if (t1)
51880 return _this._number$_value;
51881 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
51882 _box_0.value = _this._number$_value;
51883 t1 = _this.get$numeratorUnits(_this);
51884 oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51885 for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
51886 A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(_compatibilityException));
51887 t1 = _this.get$denominatorUnits(_this);
51888 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51889 for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
51890 A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(_compatibilityException));
51891 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
51892 throw A.wrapException(_compatibilityException.call$0());
51893 return _box_0.value;
51894 },
51895 _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
51896 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
51897 },
51898 isComparableTo$1(other) {
51899 var exception;
51900 if (!this.get$hasUnits() || !other.get$hasUnits())
51901 return true;
51902 try {
51903 this.greaterThan$1(other);
51904 return true;
51905 } catch (exception) {
51906 if (A.unwrapException(exception) instanceof A.SassScriptException)
51907 return false;
51908 else
51909 throw exception;
51910 }
51911 },
51912 greaterThan$1(other) {
51913 if (other instanceof A.SassNumber)
51914 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51915 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51916 },
51917 greaterThanOrEquals$1(other) {
51918 if (other instanceof A.SassNumber)
51919 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51920 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51921 },
51922 lessThan$1(other) {
51923 if (other instanceof A.SassNumber)
51924 return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51925 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51926 },
51927 lessThanOrEquals$1(other) {
51928 if (other instanceof A.SassNumber)
51929 return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51930 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51931 },
51932 modulo$1(other) {
51933 var _this = this;
51934 if (other instanceof A.SassNumber)
51935 return _this.withValue$1(_this._coerceUnits$2(other, _this.get$moduloLikeSass()));
51936 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51937 },
51938 moduloLikeSass$2(num1, num2) {
51939 var result;
51940 if (num2 > 0)
51941 return B.JSNumber_methods.$mod(num1, num2);
51942 if (num2 === 0)
51943 return 0 / 0;
51944 result = B.JSNumber_methods.$mod(num1, num2);
51945 return result === 0 ? 0 : result + num2;
51946 },
51947 plus$1(other) {
51948 var _this = this;
51949 if (other instanceof A.SassNumber)
51950 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
51951 if (!(other instanceof A.SassColor))
51952 return _this.super$Value$plus(other);
51953 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51954 },
51955 minus$1(other) {
51956 var _this = this;
51957 if (other instanceof A.SassNumber)
51958 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
51959 if (!(other instanceof A.SassColor))
51960 return _this.super$Value$minus(other);
51961 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51962 },
51963 times$1(other) {
51964 var _this = this;
51965 if (other instanceof A.SassNumber) {
51966 if (!other.get$hasUnits())
51967 return _this.withValue$1(_this._number$_value * other._number$_value);
51968 return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
51969 }
51970 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51971 },
51972 dividedBy$1(other) {
51973 var _this = this;
51974 if (other instanceof A.SassNumber) {
51975 if (!other.get$hasUnits())
51976 return _this.withValue$1(_this._number$_value / other._number$_value);
51977 return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
51978 }
51979 return _this.super$Value$dividedBy(other);
51980 },
51981 unaryPlus$0() {
51982 return this;
51983 },
51984 _coerceUnits$1$2(other, operation) {
51985 var t1, exception;
51986 try {
51987 t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
51988 return t1;
51989 } catch (exception) {
51990 if (A.unwrapException(exception) instanceof A.SassScriptException) {
51991 this.coerceValueToMatch$1(other);
51992 throw exception;
51993 } else
51994 throw exception;
51995 }
51996 },
51997 _coerceUnits$2(other, operation) {
51998 return this._coerceUnits$1$2(other, operation, type$.dynamic);
51999 },
52000 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52001 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
52002 _box_0.value = value;
52003 if (_this.get$numeratorUnits(_this).length === 0) {
52004 if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
52005 return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
52006 else if (_this.get$denominatorUnits(_this).length === 0)
52007 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
52008 } else if (otherNumerators.length === 0)
52009 if (otherDenominators.length === 0)
52010 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
52011 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
52012 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
52013 newNumerators = A._setArrayType([], type$.JSArray_String);
52014 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52015 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
52016 numerator = t1[_i];
52017 A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
52018 }
52019 t1 = _this.get$denominatorUnits(_this);
52020 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
52021 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
52022 numerator = otherNumerators[_i];
52023 A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
52024 }
52025 t1 = _box_0.value;
52026 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
52027 return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
52028 },
52029 _areAnyConvertible$2(units1, units2) {
52030 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
52031 },
52032 _unitString$2(numerators, denominators) {
52033 var t1;
52034 if (numerators.length === 0) {
52035 t1 = denominators.length;
52036 if (t1 === 0)
52037 return "no units";
52038 if (t1 === 1)
52039 return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
52040 return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
52041 }
52042 if (denominators.length === 0)
52043 return B.JSArray_methods.join$1(numerators, "*");
52044 return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
52045 },
52046 $eq(_, other) {
52047 var _this = this;
52048 if (other == null)
52049 return false;
52050 if (other instanceof A.SassNumber) {
52051 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
52052 return false;
52053 if (!_this.get$hasUnits())
52054 return Math.abs(_this._number$_value - other._number$_value) < $.$get$epsilon();
52055 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))))
52056 return false;
52057 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();
52058 } else
52059 return false;
52060 },
52061 get$hashCode(_) {
52062 var _this = this,
52063 t1 = _this.hashCache;
52064 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;
52065 },
52066 _canonicalizeUnitList$1(units) {
52067 var type,
52068 t1 = units.length;
52069 if (t1 === 0)
52070 return units;
52071 if (t1 === 1) {
52072 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
52073 if (type == null)
52074 t1 = units;
52075 else {
52076 t1 = B.Map_U8AHF.$index(0, type);
52077 t1.toString;
52078 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
52079 }
52080 return t1;
52081 }
52082 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
52083 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
52084 B.JSArray_methods.sort$0(t1);
52085 return t1;
52086 },
52087 _canonicalMultiplier$1(units) {
52088 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
52089 },
52090 canonicalMultiplierForUnit$1(unit) {
52091 var t1,
52092 innerMap = B.Map_K2BWj.$index(0, unit);
52093 if (innerMap == null)
52094 t1 = 1;
52095 else {
52096 t1 = innerMap.get$values(innerMap);
52097 t1 = 1 / t1.get$first(t1);
52098 }
52099 return t1;
52100 },
52101 _number$_exception$2(message, $name) {
52102 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
52103 }
52104 };
52105 A.SassNumber__coerceOrConvertValue__compatibilityException.prototype = {
52106 call$0() {
52107 var t2, t3, message, t4, type, unit, _this = this,
52108 t1 = _this.other;
52109 if (t1 != null) {
52110 t2 = _this.$this;
52111 t3 = t2.toString$0(0) + " and";
52112 message = new A.StringBuffer(t3);
52113 t4 = _this.otherName;
52114 if (t4 != null)
52115 t3 = message._contents = t3 + (" $" + t4 + ":");
52116 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
52117 message._contents = t1;
52118 if (!t2.get$hasUnits() || !_this.otherHasUnits)
52119 message._contents = t1 + " (one has units and the other doesn't)";
52120 t1 = message.toString$0(0) + ".";
52121 t2 = _this.name;
52122 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
52123 } else if (!_this.otherHasUnits) {
52124 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
52125 t2 = _this.name;
52126 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
52127 } else {
52128 t1 = _this.newNumerators;
52129 if (t1.length === 1 && _this.newDenominators.length === 0) {
52130 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
52131 if (type != null) {
52132 t1 = _this.$this.toString$0(0);
52133 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;
52134 t3 = B.Map_U8AHF.$index(0, type);
52135 t3.toString;
52136 t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
52137 t2 = _this.name;
52138 return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
52139 }
52140 }
52141 t2 = _this.newDenominators;
52142 unit = A.pluralize("unit", t1.length + t2.length, null);
52143 t3 = _this.$this;
52144 t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
52145 t1 = _this.name;
52146 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
52147 }
52148 },
52149 $signature: 392
52150 };
52151 A.SassNumber__coerceOrConvertValue_closure.prototype = {
52152 call$1(oldNumerator) {
52153 var factor = A.conversionFactor(this.newNumerator, oldNumerator);
52154 if (factor == null)
52155 return false;
52156 this._box_0.value *= factor;
52157 return true;
52158 },
52159 $signature: 6
52160 };
52161 A.SassNumber__coerceOrConvertValue_closure0.prototype = {
52162 call$0() {
52163 return A.throwExpression(this._compatibilityException.call$0());
52164 },
52165 $signature: 0
52166 };
52167 A.SassNumber__coerceOrConvertValue_closure1.prototype = {
52168 call$1(oldDenominator) {
52169 var factor = A.conversionFactor(this.newDenominator, oldDenominator);
52170 if (factor == null)
52171 return false;
52172 this._box_0.value /= factor;
52173 return true;
52174 },
52175 $signature: 6
52176 };
52177 A.SassNumber__coerceOrConvertValue_closure2.prototype = {
52178 call$0() {
52179 return A.throwExpression(this._compatibilityException.call$0());
52180 },
52181 $signature: 0
52182 };
52183 A.SassNumber_plus_closure.prototype = {
52184 call$2(num1, num2) {
52185 return num1 + num2;
52186 },
52187 $signature: 54
52188 };
52189 A.SassNumber_minus_closure.prototype = {
52190 call$2(num1, num2) {
52191 return num1 - num2;
52192 },
52193 $signature: 54
52194 };
52195 A.SassNumber_multiplyUnits_closure.prototype = {
52196 call$1(denominator) {
52197 var factor = A.conversionFactor(this.numerator, denominator);
52198 if (factor == null)
52199 return false;
52200 this._box_0.value /= factor;
52201 return true;
52202 },
52203 $signature: 6
52204 };
52205 A.SassNumber_multiplyUnits_closure0.prototype = {
52206 call$0() {
52207 return this.newNumerators.push(this.numerator);
52208 },
52209 $signature: 0
52210 };
52211 A.SassNumber_multiplyUnits_closure1.prototype = {
52212 call$1(denominator) {
52213 var factor = A.conversionFactor(this.numerator, denominator);
52214 if (factor == null)
52215 return false;
52216 this._box_0.value /= factor;
52217 return true;
52218 },
52219 $signature: 6
52220 };
52221 A.SassNumber_multiplyUnits_closure2.prototype = {
52222 call$0() {
52223 return this.newNumerators.push(this.numerator);
52224 },
52225 $signature: 0
52226 };
52227 A.SassNumber__areAnyConvertible_closure.prototype = {
52228 call$1(unit1) {
52229 var innerMap = B.Map_K2BWj.$index(0, unit1);
52230 if (innerMap == null)
52231 return B.JSArray_methods.contains$1(this.units2, unit1);
52232 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
52233 },
52234 $signature: 6
52235 };
52236 A.SassNumber__canonicalizeUnitList_closure.prototype = {
52237 call$1(unit) {
52238 var t1,
52239 type = $.$get$_typesByUnit().$index(0, unit);
52240 if (type == null)
52241 t1 = unit;
52242 else {
52243 t1 = B.Map_U8AHF.$index(0, type);
52244 t1.toString;
52245 t1 = B.JSArray_methods.get$first(t1);
52246 }
52247 return t1;
52248 },
52249 $signature: 5
52250 };
52251 A.SassNumber__canonicalMultiplier_closure.prototype = {
52252 call$2(multiplier, unit) {
52253 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
52254 },
52255 $signature: 167
52256 };
52257 A.ComplexSassNumber.prototype = {
52258 get$numeratorUnits(_) {
52259 return this._numeratorUnits;
52260 },
52261 get$denominatorUnits(_) {
52262 return this._denominatorUnits;
52263 },
52264 get$hasUnits() {
52265 return true;
52266 },
52267 hasUnit$1(unit) {
52268 return false;
52269 },
52270 compatibleWithUnit$1(unit) {
52271 return false;
52272 },
52273 hasPossiblyCompatibleUnits$1(other) {
52274 throw A.wrapException(A.UnimplementedError$(string$.Comple));
52275 },
52276 withValue$1(value) {
52277 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
52278 },
52279 withSlash$2(numerator, denominator) {
52280 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52281 }
52282 };
52283 A.SingleUnitSassNumber.prototype = {
52284 get$numeratorUnits(_) {
52285 return A.List_List$unmodifiable([this._unit], type$.String);
52286 },
52287 get$denominatorUnits(_) {
52288 return B.List_empty;
52289 },
52290 get$hasUnits() {
52291 return true;
52292 },
52293 withValue$1(value) {
52294 return new A.SingleUnitSassNumber(this._unit, value, null);
52295 },
52296 withSlash$2(numerator, denominator) {
52297 return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52298 },
52299 hasUnit$1(unit) {
52300 return unit === this._unit;
52301 },
52302 hasCompatibleUnits$1(other) {
52303 return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
52304 },
52305 hasPossiblyCompatibleUnits$1(other) {
52306 var t1, knownCompatibilities, otherUnit;
52307 if (!(other instanceof A.SingleUnitSassNumber))
52308 return false;
52309 t1 = $.$get$_knownCompatibilitiesByUnit();
52310 knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
52311 if (knownCompatibilities == null)
52312 return true;
52313 otherUnit = other._unit.toLowerCase();
52314 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
52315 },
52316 compatibleWithUnit$1(unit) {
52317 return A.conversionFactor(this._unit, unit) != null;
52318 },
52319 coerceValueToMatch$1(other) {
52320 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52321 return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
52322 },
52323 convertValueToMatch$3(other, $name, otherName) {
52324 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52325 return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
52326 },
52327 coerce$2(newNumerators, newDenominators) {
52328 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
52329 return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
52330 },
52331 coerceValue$3(newNumerators, newDenominators, $name) {
52332 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
52333 return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
52334 },
52335 coerceValueToUnit$2(unit, $name) {
52336 var t1 = this._coerceValueToUnit$1(unit);
52337 return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
52338 },
52339 _coerceToUnit$1(unit) {
52340 var t1 = this._unit;
52341 if (t1 === unit)
52342 return this;
52343 return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
52344 },
52345 _coerceValueToUnit$1(unit) {
52346 return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
52347 },
52348 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52349 var mutableOtherDenominators, t1 = {};
52350 t1.value = value;
52351 t1.newNumerators = otherNumerators;
52352 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52353 A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
52354 return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
52355 },
52356 unaryMinus$0() {
52357 return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
52358 },
52359 $eq(_, other) {
52360 var factor;
52361 if (other == null)
52362 return false;
52363 if (other instanceof A.SingleUnitSassNumber) {
52364 factor = A.conversionFactor(other._unit, this._unit);
52365 return factor != null && Math.abs(this._number$_value * factor - other._number$_value) < $.$get$epsilon();
52366 } else
52367 return false;
52368 },
52369 get$hashCode(_) {
52370 var _this = this,
52371 t1 = _this.hashCache;
52372 return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
52373 }
52374 };
52375 A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
52376 call$1(factor) {
52377 return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
52378 },
52379 $signature: 396
52380 };
52381 A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
52382 call$1(factor) {
52383 return this.$this._number$_value * factor;
52384 },
52385 $signature: 73
52386 };
52387 A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
52388 call$1(denominator) {
52389 var factor = A.conversionFactor(denominator, this.$this._unit);
52390 if (factor == null)
52391 return false;
52392 this._box_0.value *= factor;
52393 return true;
52394 },
52395 $signature: 6
52396 };
52397 A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
52398 call$0() {
52399 var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
52400 t2 = this._box_0;
52401 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
52402 t2.newNumerators = t1;
52403 },
52404 $signature: 0
52405 };
52406 A.UnitlessSassNumber.prototype = {
52407 get$numeratorUnits(_) {
52408 return B.List_empty;
52409 },
52410 get$denominatorUnits(_) {
52411 return B.List_empty;
52412 },
52413 get$hasUnits() {
52414 return false;
52415 },
52416 withValue$1(value) {
52417 return new A.UnitlessSassNumber(value, null);
52418 },
52419 withSlash$2(numerator, denominator) {
52420 return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52421 },
52422 hasUnit$1(unit) {
52423 return false;
52424 },
52425 hasCompatibleUnits$1(other) {
52426 return other instanceof A.UnitlessSassNumber;
52427 },
52428 hasPossiblyCompatibleUnits$1(other) {
52429 return other instanceof A.UnitlessSassNumber;
52430 },
52431 compatibleWithUnit$1(unit) {
52432 return true;
52433 },
52434 coerceValueToMatch$1(other) {
52435 return this._number$_value;
52436 },
52437 convertValueToMatch$3(other, $name, otherName) {
52438 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
52439 },
52440 coerce$2(newNumerators, newDenominators) {
52441 return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
52442 },
52443 coerceValue$3(newNumerators, newDenominators, $name) {
52444 return this._number$_value;
52445 },
52446 coerceValueToUnit$2(unit, $name) {
52447 return this._number$_value;
52448 },
52449 greaterThan$1(other) {
52450 var t1, t2;
52451 if (other instanceof A.SassNumber) {
52452 t1 = this._number$_value;
52453 t2 = other._number$_value;
52454 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52455 }
52456 return this.super$SassNumber$greaterThan(other);
52457 },
52458 greaterThanOrEquals$1(other) {
52459 var t1, t2;
52460 if (other instanceof A.SassNumber) {
52461 t1 = this._number$_value;
52462 t2 = other._number$_value;
52463 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52464 }
52465 return this.super$SassNumber$greaterThanOrEquals(other);
52466 },
52467 lessThan$1(other) {
52468 var t1, t2;
52469 if (other instanceof A.SassNumber) {
52470 t1 = this._number$_value;
52471 t2 = other._number$_value;
52472 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52473 }
52474 return this.super$SassNumber$lessThan(other);
52475 },
52476 lessThanOrEquals$1(other) {
52477 var t1, t2;
52478 if (other instanceof A.SassNumber) {
52479 t1 = this._number$_value;
52480 t2 = other._number$_value;
52481 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52482 }
52483 return this.super$SassNumber$lessThanOrEquals(other);
52484 },
52485 modulo$1(other) {
52486 if (other instanceof A.SassNumber)
52487 return other.withValue$1(this.moduloLikeSass$2(this._number$_value, other._number$_value));
52488 return this.super$SassNumber$modulo(other);
52489 },
52490 plus$1(other) {
52491 if (other instanceof A.SassNumber)
52492 return other.withValue$1(this._number$_value + other._number$_value);
52493 return this.super$SassNumber$plus(other);
52494 },
52495 minus$1(other) {
52496 if (other instanceof A.SassNumber)
52497 return other.withValue$1(this._number$_value - other._number$_value);
52498 return this.super$SassNumber$minus(other);
52499 },
52500 times$1(other) {
52501 if (other instanceof A.SassNumber)
52502 return other.withValue$1(this._number$_value * other._number$_value);
52503 return this.super$SassNumber$times(other);
52504 },
52505 dividedBy$1(other) {
52506 var t1, t2;
52507 if (other instanceof A.SassNumber) {
52508 t1 = this._number$_value / other._number$_value;
52509 if (other.get$hasUnits()) {
52510 t2 = other.get$denominatorUnits(other);
52511 t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
52512 t1 = t2;
52513 } else
52514 t1 = new A.UnitlessSassNumber(t1, null);
52515 return t1;
52516 }
52517 return this.super$SassNumber$dividedBy(other);
52518 },
52519 unaryMinus$0() {
52520 return new A.UnitlessSassNumber(-this._number$_value, null);
52521 },
52522 $eq(_, other) {
52523 if (other == null)
52524 return false;
52525 return other instanceof A.UnitlessSassNumber && Math.abs(this._number$_value - other._number$_value) < $.$get$epsilon();
52526 },
52527 get$hashCode(_) {
52528 var t1 = this.hashCache;
52529 return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
52530 }
52531 };
52532 A.SassString.prototype = {
52533 get$_sassLength() {
52534 var t1, result, _this = this,
52535 value = _this.__SassString__sassLength;
52536 if (value === $) {
52537 t1 = new A.Runes(_this._string$_text);
52538 result = t1.get$length(t1);
52539 A._lateInitializeOnceCheck(_this.__SassString__sassLength, "_sassLength");
52540 _this.__SassString__sassLength = result;
52541 value = result;
52542 }
52543 return value;
52544 },
52545 get$isSpecialNumber() {
52546 var t1, t2;
52547 if (this._hasQuotes)
52548 return false;
52549 t1 = this._string$_text;
52550 if (t1.length < 6)
52551 return false;
52552 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
52553 if (t2 === 99) {
52554 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52555 if (t2 === 108) {
52556 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
52557 return false;
52558 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
52559 return false;
52560 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
52561 return false;
52562 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
52563 } else if (t2 === 97) {
52564 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
52565 return false;
52566 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
52567 return false;
52568 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
52569 } else
52570 return false;
52571 } else if (t2 === 118) {
52572 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
52573 return false;
52574 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
52575 return false;
52576 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52577 } else if (t2 === 101) {
52578 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
52579 return false;
52580 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
52581 return false;
52582 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52583 } else if (t2 === 109) {
52584 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52585 if (t2 === 97) {
52586 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
52587 return false;
52588 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52589 } else if (t2 === 105) {
52590 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
52591 return false;
52592 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52593 } else
52594 return false;
52595 } else
52596 return false;
52597 },
52598 get$isVar() {
52599 if (this._hasQuotes)
52600 return false;
52601 var t1 = this._string$_text;
52602 if (t1.length < 8)
52603 return false;
52604 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;
52605 },
52606 get$isBlank() {
52607 return !this._hasQuotes && this._string$_text.length === 0;
52608 },
52609 accept$1$1(visitor) {
52610 var t1 = visitor._quote && this._hasQuotes,
52611 t2 = this._string$_text;
52612 if (t1)
52613 visitor._visitQuotedString$1(t2);
52614 else
52615 visitor._visitUnquotedString$1(t2);
52616 return null;
52617 },
52618 accept$1(visitor) {
52619 return this.accept$1$1(visitor, type$.dynamic);
52620 },
52621 assertString$1($name) {
52622 return this;
52623 },
52624 plus$1(other) {
52625 var t1 = this._string$_text,
52626 t2 = this._hasQuotes;
52627 if (other instanceof A.SassString)
52628 return new A.SassString(t1 + other._string$_text, t2);
52629 else
52630 return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
52631 },
52632 $eq(_, other) {
52633 if (other == null)
52634 return false;
52635 return other instanceof A.SassString && this._string$_text === other._string$_text;
52636 },
52637 get$hashCode(_) {
52638 var t1 = this._hashCache;
52639 return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
52640 }
52641 };
52642 A._EvaluateVisitor0.prototype = {
52643 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
52644 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
52645 _s20_ = "$name, $module: null",
52646 _s9_ = "sass:meta",
52647 t1 = type$.JSArray_AsyncBuiltInCallable,
52648 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),
52649 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
52650 t1 = type$.AsyncBuiltInCallable;
52651 t2 = A.List_List$of($.$get$global(), true, t1);
52652 B.JSArray_methods.addAll$1(t2, $.$get$local());
52653 B.JSArray_methods.addAll$1(t2, metaFunctions);
52654 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
52655 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) {
52656 module = t1[_i];
52657 t3.$indexSet(0, module.url, module);
52658 }
52659 t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
52660 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
52661 B.JSArray_methods.addAll$1(t1, metaFunctions);
52662 for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52663 $function = t1[_i];
52664 t4 = J.get$name$x($function);
52665 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
52666 }
52667 },
52668 run$2(_, importer, node) {
52669 return this.run$body$_EvaluateVisitor(0, importer, node);
52670 },
52671 run$body$_EvaluateVisitor(_, importer, node) {
52672 var $async$goto = 0,
52673 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
52674 $async$returnValue, $async$self = this, t1;
52675 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52676 if ($async$errorCode === 1)
52677 return A._asyncRethrow($async$result, $async$completer);
52678 while (true)
52679 switch ($async$goto) {
52680 case 0:
52681 // Function start
52682 t1 = type$.nullable_Object;
52683 $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);
52684 // goto return
52685 $async$goto = 1;
52686 break;
52687 case 1:
52688 // return
52689 return A._asyncReturn($async$returnValue, $async$completer);
52690 }
52691 });
52692 return A._asyncStartSync($async$run$2, $async$completer);
52693 },
52694 _async_evaluate$_assertInModule$1$2(value, $name) {
52695 if (value != null)
52696 return value;
52697 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
52698 },
52699 _async_evaluate$_assertInModule$2(value, $name) {
52700 return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
52701 },
52702 _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52703 return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
52704 },
52705 _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
52706 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
52707 },
52708 _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
52709 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
52710 },
52711 _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52712 var $async$goto = 0,
52713 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
52714 $async$returnValue, $async$self = this, t1, t2, builtInModule;
52715 var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52716 if ($async$errorCode === 1)
52717 return A._asyncRethrow($async$result, $async$completer);
52718 while (true)
52719 switch ($async$goto) {
52720 case 0:
52721 // Function start
52722 builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
52723 $async$goto = builtInModule != null ? 3 : 4;
52724 break;
52725 case 3:
52726 // then
52727 if (configuration instanceof A.ExplicitConfiguration) {
52728 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
52729 t2 = configuration.nodeWithSpan;
52730 throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
52731 }
52732 $async$goto = 5;
52733 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);
52734 case 5:
52735 // returning from await.
52736 // goto return
52737 $async$goto = 1;
52738 break;
52739 case 4:
52740 // join
52741 $async$goto = 6;
52742 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);
52743 case 6:
52744 // returning from await.
52745 case 1:
52746 // return
52747 return A._asyncReturn($async$returnValue, $async$completer);
52748 }
52749 });
52750 return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
52751 },
52752 _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52753 return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
52754 },
52755 _async_evaluate$_execute$2(importer, stylesheet) {
52756 return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
52757 },
52758 _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52759 var $async$goto = 0,
52760 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
52761 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
52762 var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52763 if ($async$errorCode === 1)
52764 return A._asyncRethrow($async$result, $async$completer);
52765 while (true)
52766 switch ($async$goto) {
52767 case 0:
52768 // Function start
52769 url = stylesheet.span.file.url;
52770 t1 = $async$self._async_evaluate$_modules;
52771 alreadyLoaded = t1.$index(0, url);
52772 if (alreadyLoaded != null) {
52773 t1 = configuration == null;
52774 currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
52775 if (currentConfiguration instanceof A.ExplicitConfiguration) {
52776 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
52777 t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
52778 existingSpan = t2 == null ? null : J.get$span$z(t2);
52779 if (t1) {
52780 t1 = currentConfiguration.nodeWithSpan;
52781 configurationSpan = t1.get$span(t1);
52782 } else
52783 configurationSpan = null;
52784 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
52785 if (existingSpan != null)
52786 t1.$indexSet(0, existingSpan, "original load");
52787 if (configurationSpan != null)
52788 t1.$indexSet(0, configurationSpan, "configuration");
52789 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
52790 }
52791 $async$returnValue = alreadyLoaded;
52792 // goto return
52793 $async$goto = 1;
52794 break;
52795 }
52796 environment = A.AsyncEnvironment$();
52797 css = A._Cell$();
52798 extensionStore = A.ExtensionStore$();
52799 $async$goto = 3;
52800 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);
52801 case 3:
52802 // returning from await.
52803 module = environment.toModule$2(css._readLocal$0(), extensionStore);
52804 if (url != null) {
52805 t1.$indexSet(0, url, module);
52806 if (nodeWithSpan != null)
52807 $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
52808 }
52809 $async$returnValue = module;
52810 // goto return
52811 $async$goto = 1;
52812 break;
52813 case 1:
52814 // return
52815 return A._asyncReturn($async$returnValue, $async$completer);
52816 }
52817 });
52818 return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
52819 },
52820 _async_evaluate$_addOutOfOrderImports$0() {
52821 var t1, t2, _this = this, _s5_ = "_root",
52822 _s13_ = "_endOfImports",
52823 outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
52824 if (outOfOrderImports == null)
52825 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52826 t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52827 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);
52828 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
52829 t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52830 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")));
52831 return t1;
52832 },
52833 _async_evaluate$_combineCss$2$clone(root, clone) {
52834 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
52835 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
52836 selectors = root.get$extensionStore().get$simpleSelectors();
52837 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
52838 if (unsatisfiedExtension != null)
52839 _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
52840 return root.get$css(root);
52841 }
52842 sortedModules = _this._async_evaluate$_topologicalModules$1(root);
52843 if (clone) {
52844 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
52845 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
52846 }
52847 _this._async_evaluate$_extendModules$1(sortedModules);
52848 t1 = type$.JSArray_CssNode;
52849 imports = A._setArrayType([], t1);
52850 css = A._setArrayType([], t1);
52851 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
52852 t3 = t1.__internal$_current;
52853 if (t3 == null)
52854 t3 = t2._as(t3);
52855 t3 = t3.get$css(t3);
52856 statements = t3.get$children(t3);
52857 index = _this._async_evaluate$_indexAfterImports$1(statements);
52858 t3 = J.getInterceptor$ax(statements);
52859 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
52860 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
52861 }
52862 t1 = B.JSArray_methods.$add(imports, css);
52863 t2 = root.get$css(root);
52864 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
52865 },
52866 _async_evaluate$_combineCss$1(root) {
52867 return this._async_evaluate$_combineCss$2$clone(root, false);
52868 },
52869 _async_evaluate$_extendModules$1(sortedModules) {
52870 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
52871 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
52872 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
52873 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
52874 t2 = t1.get$current(t1);
52875 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
52876 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
52877 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
52878 t3 = t2.get$extensionStore().get$addExtensions();
52879 if ($self != null)
52880 t3.call$1($self);
52881 t3 = t2.get$extensionStore();
52882 if (t3.get$isEmpty(t3))
52883 continue;
52884 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
52885 upstream = t3[_i];
52886 url = upstream.get$url(upstream);
52887 if (url == null)
52888 continue;
52889 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
52890 }
52891 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
52892 }
52893 if (unsatisfiedExtensions._collection$_length !== 0)
52894 this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
52895 },
52896 _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
52897 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
52898 },
52899 _async_evaluate$_topologicalModules$1(root) {
52900 var t1 = type$.Module_AsyncCallable,
52901 sorted = A.QueueList$(null, t1);
52902 new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
52903 return sorted;
52904 },
52905 _async_evaluate$_indexAfterImports$1(statements) {
52906 var t1, t2, t3, lastImport, i, statement;
52907 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
52908 statement = t1.$index(statements, i);
52909 if (t3._is(statement))
52910 lastImport = i;
52911 else if (!t2._is(statement))
52912 break;
52913 }
52914 return lastImport + 1;
52915 },
52916 visitStylesheet$1(node) {
52917 return this.visitStylesheet$body$_EvaluateVisitor(node);
52918 },
52919 visitStylesheet$body$_EvaluateVisitor(node) {
52920 var $async$goto = 0,
52921 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52922 $async$returnValue, $async$self = this, t1, t2, _i;
52923 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52924 if ($async$errorCode === 1)
52925 return A._asyncRethrow($async$result, $async$completer);
52926 while (true)
52927 switch ($async$goto) {
52928 case 0:
52929 // Function start
52930 t1 = node.children, t2 = t1.length, _i = 0;
52931 case 3:
52932 // for condition
52933 if (!(_i < t2)) {
52934 // goto after for
52935 $async$goto = 5;
52936 break;
52937 }
52938 $async$goto = 6;
52939 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
52940 case 6:
52941 // returning from await.
52942 case 4:
52943 // for update
52944 ++_i;
52945 // goto for condition
52946 $async$goto = 3;
52947 break;
52948 case 5:
52949 // after for
52950 $async$returnValue = null;
52951 // goto return
52952 $async$goto = 1;
52953 break;
52954 case 1:
52955 // return
52956 return A._asyncReturn($async$returnValue, $async$completer);
52957 }
52958 });
52959 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
52960 },
52961 visitAtRootRule$1(node) {
52962 return this.visitAtRootRule$body$_EvaluateVisitor(node);
52963 },
52964 visitAtRootRule$body$_EvaluateVisitor(node) {
52965 var $async$goto = 0,
52966 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52967 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
52968 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52969 if ($async$errorCode === 1)
52970 return A._asyncRethrow($async$result, $async$completer);
52971 while (true)
52972 switch ($async$goto) {
52973 case 0:
52974 // Function start
52975 unparsedQuery = node.query;
52976 $async$goto = unparsedQuery != null ? 3 : 5;
52977 break;
52978 case 3:
52979 // then
52980 $async$temp1 = unparsedQuery;
52981 $async$temp2 = A;
52982 $async$goto = 6;
52983 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
52984 case 6:
52985 // returning from await.
52986 $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
52987 // goto join
52988 $async$goto = 4;
52989 break;
52990 case 5:
52991 // else
52992 $async$result = B.AtRootQuery_UsS;
52993 case 4:
52994 // join
52995 query = $async$result;
52996 $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
52997 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
52998 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
52999 if (!query.excludes$1($parent))
53000 included.push($parent);
53001 grandparent = $parent._parent;
53002 if (grandparent == null)
53003 throw A.wrapException(A.StateError$(string$.CssNod));
53004 }
53005 root = $async$self._async_evaluate$_trimIncluded$1(included);
53006 $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
53007 break;
53008 case 7:
53009 // then
53010 $async$goto = 9;
53011 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);
53012 case 9:
53013 // returning from await.
53014 $async$returnValue = null;
53015 // goto return
53016 $async$goto = 1;
53017 break;
53018 case 8:
53019 // join
53020 if (included.length !== 0) {
53021 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
53022 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) {
53023 t3 = t1.__internal$_current;
53024 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
53025 copy.addChild$1(outerCopy);
53026 }
53027 root.addChild$1(outerCopy);
53028 } else
53029 innerCopy = root;
53030 $async$goto = 10;
53031 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);
53032 case 10:
53033 // returning from await.
53034 $async$returnValue = null;
53035 // goto return
53036 $async$goto = 1;
53037 break;
53038 case 1:
53039 // return
53040 return A._asyncReturn($async$returnValue, $async$completer);
53041 }
53042 });
53043 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
53044 },
53045 _async_evaluate$_trimIncluded$1(nodes) {
53046 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
53047 _s22_ = " to be an ancestor of ";
53048 if (nodes.length === 0)
53049 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
53050 $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
53051 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
53052 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
53053 grandparent = $parent._parent;
53054 if (grandparent == null)
53055 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
53056 }
53057 if (innermostContiguous == null)
53058 innermostContiguous = i;
53059 grandparent = $parent._parent;
53060 if (grandparent == null)
53061 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
53062 }
53063 if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
53064 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
53065 innermostContiguous.toString;
53066 root = nodes[innermostContiguous];
53067 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
53068 return root;
53069 },
53070 _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
53071 var _this = this,
53072 scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
53073 t1 = query._all || query._at_root_query$_rule;
53074 if (t1 !== query.include)
53075 scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
53076 if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
53077 scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
53078 if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
53079 scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
53080 return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
53081 },
53082 visitContentBlock$1(node) {
53083 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
53084 },
53085 visitContentRule$1(node) {
53086 return this.visitContentRule$body$_EvaluateVisitor(node);
53087 },
53088 visitContentRule$body$_EvaluateVisitor(node) {
53089 var $async$goto = 0,
53090 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53091 $async$returnValue, $async$self = this, $content;
53092 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53093 if ($async$errorCode === 1)
53094 return A._asyncRethrow($async$result, $async$completer);
53095 while (true)
53096 switch ($async$goto) {
53097 case 0:
53098 // Function start
53099 $content = $async$self._async_evaluate$_environment._async_environment$_content;
53100 if ($content == null) {
53101 $async$returnValue = null;
53102 // goto return
53103 $async$goto = 1;
53104 break;
53105 }
53106 $async$goto = 3;
53107 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);
53108 case 3:
53109 // returning from await.
53110 $async$returnValue = null;
53111 // goto return
53112 $async$goto = 1;
53113 break;
53114 case 1:
53115 // return
53116 return A._asyncReturn($async$returnValue, $async$completer);
53117 }
53118 });
53119 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
53120 },
53121 visitDebugRule$1(node) {
53122 return this.visitDebugRule$body$_EvaluateVisitor(node);
53123 },
53124 visitDebugRule$body$_EvaluateVisitor(node) {
53125 var $async$goto = 0,
53126 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53127 $async$returnValue, $async$self = this, value, t1;
53128 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53129 if ($async$errorCode === 1)
53130 return A._asyncRethrow($async$result, $async$completer);
53131 while (true)
53132 switch ($async$goto) {
53133 case 0:
53134 // Function start
53135 $async$goto = 3;
53136 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
53137 case 3:
53138 // returning from await.
53139 value = $async$result;
53140 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
53141 $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
53142 $async$returnValue = null;
53143 // goto return
53144 $async$goto = 1;
53145 break;
53146 case 1:
53147 // return
53148 return A._asyncReturn($async$returnValue, $async$completer);
53149 }
53150 });
53151 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
53152 },
53153 visitDeclaration$1(node) {
53154 return this.visitDeclaration$body$_EvaluateVisitor(node);
53155 },
53156 visitDeclaration$body$_EvaluateVisitor(node) {
53157 var $async$goto = 0,
53158 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53159 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
53160 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53161 if ($async$errorCode === 1)
53162 return A._asyncRethrow($async$result, $async$completer);
53163 while (true)
53164 switch ($async$goto) {
53165 case 0:
53166 // Function start
53167 if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
53168 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
53169 t1 = node.name;
53170 $async$goto = 3;
53171 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
53172 case 3:
53173 // returning from await.
53174 $name = $async$result;
53175 t2 = $async$self._async_evaluate$_declarationName;
53176 if (t2 != null)
53177 $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
53178 t2 = node.value;
53179 $async$goto = 4;
53180 return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
53181 case 4:
53182 // returning from await.
53183 cssValue = $async$result;
53184 t3 = cssValue != null;
53185 if (t3)
53186 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
53187 else
53188 t4 = false;
53189 if (t4) {
53190 t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53191 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
53192 if ($async$self._async_evaluate$_sourceMap) {
53193 t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
53194 t2 = t2 == null ? null : J.get$span$z(t2);
53195 } else
53196 t2 = null;
53197 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
53198 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
53199 throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
53200 children = node.children;
53201 $async$goto = children != null ? 5 : 6;
53202 break;
53203 case 5:
53204 // then
53205 oldDeclarationName = $async$self._async_evaluate$_declarationName;
53206 $async$self._async_evaluate$_declarationName = $name.get$value($name);
53207 $async$goto = 7;
53208 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);
53209 case 7:
53210 // returning from await.
53211 $async$self._async_evaluate$_declarationName = oldDeclarationName;
53212 case 6:
53213 // join
53214 $async$returnValue = null;
53215 // goto return
53216 $async$goto = 1;
53217 break;
53218 case 1:
53219 // return
53220 return A._asyncReturn($async$returnValue, $async$completer);
53221 }
53222 });
53223 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
53224 },
53225 visitEachRule$1(node) {
53226 return this.visitEachRule$body$_EvaluateVisitor(node);
53227 },
53228 visitEachRule$body$_EvaluateVisitor(node) {
53229 var $async$goto = 0,
53230 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53231 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
53232 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53233 if ($async$errorCode === 1)
53234 return A._asyncRethrow($async$result, $async$completer);
53235 while (true)
53236 switch ($async$goto) {
53237 case 0:
53238 // Function start
53239 t1 = node.list;
53240 $async$goto = 3;
53241 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
53242 case 3:
53243 // returning from await.
53244 list = $async$result;
53245 nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
53246 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
53247 $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);
53248 // goto return
53249 $async$goto = 1;
53250 break;
53251 case 1:
53252 // return
53253 return A._asyncReturn($async$returnValue, $async$completer);
53254 }
53255 });
53256 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
53257 },
53258 _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
53259 var i,
53260 list = value.get$asList(),
53261 t1 = variables.length,
53262 minLength = Math.min(t1, list.length);
53263 for (i = 0; i < minLength; ++i)
53264 this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
53265 for (i = minLength; i < t1; ++i)
53266 this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
53267 },
53268 visitErrorRule$1(node) {
53269 return this.visitErrorRule$body$_EvaluateVisitor(node);
53270 },
53271 visitErrorRule$body$_EvaluateVisitor(node) {
53272 var $async$goto = 0,
53273 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
53274 $async$self = this, $async$temp1, $async$temp2;
53275 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53276 if ($async$errorCode === 1)
53277 return A._asyncRethrow($async$result, $async$completer);
53278 while (true)
53279 switch ($async$goto) {
53280 case 0:
53281 // Function start
53282 $async$temp1 = A;
53283 $async$temp2 = J;
53284 $async$goto = 2;
53285 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
53286 case 2:
53287 // returning from await.
53288 throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
53289 // implicit return
53290 return A._asyncReturn(null, $async$completer);
53291 }
53292 });
53293 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
53294 },
53295 visitExtendRule$1(node) {
53296 return this.visitExtendRule$body$_EvaluateVisitor(node);
53297 },
53298 visitExtendRule$body$_EvaluateVisitor(node) {
53299 var $async$goto = 0,
53300 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53301 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
53302 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53303 if ($async$errorCode === 1)
53304 return A._asyncRethrow($async$result, $async$completer);
53305 while (true)
53306 switch ($async$goto) {
53307 case 0:
53308 // Function start
53309 styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
53310 if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
53311 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
53312 $async$goto = 3;
53313 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
53314 case 3:
53315 // returning from await.
53316 targetText = $async$result;
53317 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) {
53318 t4 = t1[_i].components;
53319 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
53320 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
53321 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
53322 if (t4.length !== 1)
53323 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
53324 $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);
53325 }
53326 $async$returnValue = null;
53327 // goto return
53328 $async$goto = 1;
53329 break;
53330 case 1:
53331 // return
53332 return A._asyncReturn($async$returnValue, $async$completer);
53333 }
53334 });
53335 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
53336 },
53337 visitAtRule$1(node) {
53338 return this.visitAtRule$body$_EvaluateVisitor(node);
53339 },
53340 visitAtRule$body$_EvaluateVisitor(node) {
53341 var $async$goto = 0,
53342 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53343 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
53344 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53345 if ($async$errorCode === 1)
53346 return A._asyncRethrow($async$result, $async$completer);
53347 while (true)
53348 switch ($async$goto) {
53349 case 0:
53350 // Function start
53351 if ($async$self._async_evaluate$_declarationName != null)
53352 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
53353 $async$goto = 3;
53354 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
53355 case 3:
53356 // returning from await.
53357 $name = $async$result;
53358 $async$goto = 4;
53359 return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
53360 case 4:
53361 // returning from await.
53362 value = $async$result;
53363 children = node.children;
53364 if (children == null) {
53365 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
53366 $async$returnValue = null;
53367 // goto return
53368 $async$goto = 1;
53369 break;
53370 }
53371 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
53372 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
53373 if (A.unvendor($name.get$value($name)) === "keyframes")
53374 $async$self._async_evaluate$_inKeyframes = true;
53375 else
53376 $async$self._async_evaluate$_inUnknownAtRule = true;
53377 $async$goto = 5;
53378 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);
53379 case 5:
53380 // returning from await.
53381 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
53382 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
53383 $async$returnValue = null;
53384 // goto return
53385 $async$goto = 1;
53386 break;
53387 case 1:
53388 // return
53389 return A._asyncReturn($async$returnValue, $async$completer);
53390 }
53391 });
53392 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
53393 },
53394 visitForRule$1(node) {
53395 return this.visitForRule$body$_EvaluateVisitor(node);
53396 },
53397 visitForRule$body$_EvaluateVisitor(node) {
53398 var $async$goto = 0,
53399 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53400 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
53401 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53402 if ($async$errorCode === 1)
53403 return A._asyncRethrow($async$result, $async$completer);
53404 while (true)
53405 switch ($async$goto) {
53406 case 0:
53407 // Function start
53408 t1 = {};
53409 t2 = node.from;
53410 t3 = type$.SassNumber;
53411 $async$goto = 3;
53412 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
53413 case 3:
53414 // returning from await.
53415 fromNumber = $async$result;
53416 t4 = node.to;
53417 $async$goto = 4;
53418 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
53419 case 4:
53420 // returning from await.
53421 toNumber = $async$result;
53422 from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
53423 to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
53424 direction = from > to ? -1 : 1;
53425 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
53426 $async$returnValue = null;
53427 // goto return
53428 $async$goto = 1;
53429 break;
53430 }
53431 $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);
53432 // goto return
53433 $async$goto = 1;
53434 break;
53435 case 1:
53436 // return
53437 return A._asyncReturn($async$returnValue, $async$completer);
53438 }
53439 });
53440 return A._asyncStartSync($async$visitForRule$1, $async$completer);
53441 },
53442 visitForwardRule$1(node) {
53443 return this.visitForwardRule$body$_EvaluateVisitor(node);
53444 },
53445 visitForwardRule$body$_EvaluateVisitor(node) {
53446 var $async$goto = 0,
53447 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53448 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
53449 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53450 if ($async$errorCode === 1)
53451 return A._asyncRethrow($async$result, $async$completer);
53452 while (true)
53453 switch ($async$goto) {
53454 case 0:
53455 // Function start
53456 oldConfiguration = $async$self._async_evaluate$_configuration;
53457 adjustedConfiguration = oldConfiguration.throughForward$1(node);
53458 t1 = node.configuration;
53459 t2 = t1.length;
53460 t3 = node.url;
53461 $async$goto = t2 !== 0 ? 3 : 5;
53462 break;
53463 case 3:
53464 // then
53465 $async$goto = 6;
53466 return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
53467 case 6:
53468 // returning from await.
53469 newConfiguration = $async$result;
53470 $async$goto = 7;
53471 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);
53472 case 7:
53473 // returning from await.
53474 t3 = type$.String;
53475 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53476 for (_i = 0; _i < t2; ++_i) {
53477 variable = t1[_i];
53478 if (!variable.isGuarded)
53479 t4.add$1(0, variable.name);
53480 }
53481 $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
53482 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53483 for (_i = 0; _i < t2; ++_i)
53484 t3.add$1(0, t1[_i].name);
53485 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) {
53486 $name = t2[_i];
53487 if (!t3.contains$1(0, $name))
53488 if (!t1.get$isEmpty(t1))
53489 t1.remove$1(0, $name);
53490 }
53491 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
53492 // goto join
53493 $async$goto = 4;
53494 break;
53495 case 5:
53496 // else
53497 $async$self._async_evaluate$_configuration = adjustedConfiguration;
53498 $async$goto = 8;
53499 return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
53500 case 8:
53501 // returning from await.
53502 $async$self._async_evaluate$_configuration = oldConfiguration;
53503 case 4:
53504 // join
53505 $async$returnValue = null;
53506 // goto return
53507 $async$goto = 1;
53508 break;
53509 case 1:
53510 // return
53511 return A._asyncReturn($async$returnValue, $async$completer);
53512 }
53513 });
53514 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
53515 },
53516 _async_evaluate$_addForwardConfiguration$2(configuration, node) {
53517 return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
53518 },
53519 _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
53520 var $async$goto = 0,
53521 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
53522 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
53523 var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53524 if ($async$errorCode === 1)
53525 return A._asyncRethrow($async$result, $async$completer);
53526 while (true)
53527 switch ($async$goto) {
53528 case 0:
53529 // Function start
53530 t1 = configuration._values;
53531 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
53532 t2 = node.configuration, t3 = t2.length, _i = 0;
53533 case 3:
53534 // for condition
53535 if (!(_i < t3)) {
53536 // goto after for
53537 $async$goto = 5;
53538 break;
53539 }
53540 variable = t2[_i];
53541 if (variable.isGuarded) {
53542 t4 = variable.name;
53543 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
53544 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
53545 newValues.$indexSet(0, t4, t5);
53546 // goto for update
53547 $async$goto = 4;
53548 break;
53549 }
53550 }
53551 t4 = variable.expression;
53552 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
53553 $async$temp1 = newValues;
53554 $async$temp2 = variable.name;
53555 $async$temp3 = A;
53556 $async$goto = 6;
53557 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
53558 case 6:
53559 // returning from await.
53560 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
53561 case 4:
53562 // for update
53563 ++_i;
53564 // goto for condition
53565 $async$goto = 3;
53566 break;
53567 case 5:
53568 // after for
53569 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
53570 $async$returnValue = new A.ExplicitConfiguration(node, newValues);
53571 // goto return
53572 $async$goto = 1;
53573 break;
53574 } else {
53575 $async$returnValue = new A.Configuration(newValues);
53576 // goto return
53577 $async$goto = 1;
53578 break;
53579 }
53580 case 1:
53581 // return
53582 return A._asyncReturn($async$returnValue, $async$completer);
53583 }
53584 });
53585 return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
53586 },
53587 _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
53588 var t1, t2, t3, t4, _i, $name;
53589 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) {
53590 $name = t2[_i];
53591 if (except.contains$1(0, $name))
53592 continue;
53593 if (!t4.containsKey$1($name))
53594 if (!t1.get$isEmpty(t1))
53595 t1.remove$1(0, $name);
53596 }
53597 },
53598 _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
53599 var t1, entry;
53600 if (!(configuration instanceof A.ExplicitConfiguration))
53601 return;
53602 t1 = configuration._values;
53603 if (t1.get$isEmpty(t1))
53604 return;
53605 t1 = t1.get$entries(t1);
53606 entry = t1.get$first(t1);
53607 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
53608 throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
53609 },
53610 _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
53611 return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
53612 },
53613 visitFunctionRule$1(node) {
53614 return this.visitFunctionRule$body$_EvaluateVisitor(node);
53615 },
53616 visitFunctionRule$body$_EvaluateVisitor(node) {
53617 var $async$goto = 0,
53618 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53619 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
53620 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53621 if ($async$errorCode === 1)
53622 return A._asyncRethrow($async$result, $async$completer);
53623 while (true)
53624 switch ($async$goto) {
53625 case 0:
53626 // Function start
53627 t1 = $async$self._async_evaluate$_environment;
53628 t2 = t1.closure$0();
53629 t3 = $async$self._async_evaluate$_inDependency;
53630 t4 = t1._async_environment$_functions;
53631 index = t4.length - 1;
53632 t5 = node.name;
53633 t1._async_environment$_functionIndices.$indexSet(0, t5, index);
53634 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
53635 $async$returnValue = null;
53636 // goto return
53637 $async$goto = 1;
53638 break;
53639 case 1:
53640 // return
53641 return A._asyncReturn($async$returnValue, $async$completer);
53642 }
53643 });
53644 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
53645 },
53646 visitIfRule$1(node) {
53647 return this.visitIfRule$body$_EvaluateVisitor(node);
53648 },
53649 visitIfRule$body$_EvaluateVisitor(node) {
53650 var $async$goto = 0,
53651 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53652 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
53653 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53654 if ($async$errorCode === 1)
53655 return A._asyncRethrow($async$result, $async$completer);
53656 while (true)
53657 switch ($async$goto) {
53658 case 0:
53659 // Function start
53660 _box_0 = {};
53661 _box_0.clause = node.lastClause;
53662 t1 = node.clauses, t2 = t1.length, _i = 0;
53663 case 3:
53664 // for condition
53665 if (!(_i < t2)) {
53666 // goto after for
53667 $async$goto = 5;
53668 break;
53669 }
53670 clauseToCheck = t1[_i];
53671 $async$goto = 6;
53672 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
53673 case 6:
53674 // returning from await.
53675 if ($async$result.get$isTruthy()) {
53676 _box_0.clause = clauseToCheck;
53677 // goto after for
53678 $async$goto = 5;
53679 break;
53680 }
53681 case 4:
53682 // for update
53683 ++_i;
53684 // goto for condition
53685 $async$goto = 3;
53686 break;
53687 case 5:
53688 // after for
53689 t1 = _box_0.clause;
53690 if (t1 == null) {
53691 $async$returnValue = null;
53692 // goto return
53693 $async$goto = 1;
53694 break;
53695 }
53696 $async$goto = 7;
53697 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);
53698 case 7:
53699 // returning from await.
53700 $async$returnValue = $async$result;
53701 // goto return
53702 $async$goto = 1;
53703 break;
53704 case 1:
53705 // return
53706 return A._asyncReturn($async$returnValue, $async$completer);
53707 }
53708 });
53709 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
53710 },
53711 visitImportRule$1(node) {
53712 return this.visitImportRule$body$_EvaluateVisitor(node);
53713 },
53714 visitImportRule$body$_EvaluateVisitor(node) {
53715 var $async$goto = 0,
53716 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53717 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
53718 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53719 if ($async$errorCode === 1)
53720 return A._asyncRethrow($async$result, $async$completer);
53721 while (true)
53722 switch ($async$goto) {
53723 case 0:
53724 // Function start
53725 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
53726 case 3:
53727 // for condition
53728 if (!(_i < t2)) {
53729 // goto after for
53730 $async$goto = 5;
53731 break;
53732 }
53733 $import = t1[_i];
53734 $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
53735 break;
53736 case 6:
53737 // then
53738 $async$goto = 9;
53739 return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
53740 case 9:
53741 // returning from await.
53742 // goto join
53743 $async$goto = 7;
53744 break;
53745 case 8:
53746 // else
53747 $async$goto = 10;
53748 return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
53749 case 10:
53750 // returning from await.
53751 case 7:
53752 // join
53753 case 4:
53754 // for update
53755 ++_i;
53756 // goto for condition
53757 $async$goto = 3;
53758 break;
53759 case 5:
53760 // after for
53761 $async$returnValue = null;
53762 // goto return
53763 $async$goto = 1;
53764 break;
53765 case 1:
53766 // return
53767 return A._asyncReturn($async$returnValue, $async$completer);
53768 }
53769 });
53770 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
53771 },
53772 _async_evaluate$_visitDynamicImport$1($import) {
53773 return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
53774 },
53775 _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
53776 return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
53777 },
53778 _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
53779 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
53780 },
53781 _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
53782 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
53783 },
53784 _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
53785 var $async$goto = 0,
53786 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
53787 $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;
53788 var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53789 if ($async$errorCode === 1) {
53790 $async$currentError = $async$result;
53791 $async$goto = $async$handler;
53792 }
53793 while (true)
53794 switch ($async$goto) {
53795 case 0:
53796 // Function start
53797 baseUrl = baseUrl;
53798 $async$handler = 4;
53799 $async$self._async_evaluate$_importSpan = span;
53800 importCache = $async$self._async_evaluate$_importCache;
53801 $async$goto = importCache != null ? 7 : 9;
53802 break;
53803 case 7:
53804 // then
53805 if (baseUrl == null)
53806 baseUrl = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url;
53807 $async$goto = 10;
53808 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);
53809 case 10:
53810 // returning from await.
53811 tuple = $async$result;
53812 $async$goto = tuple != null ? 11 : 12;
53813 break;
53814 case 11:
53815 // then
53816 isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
53817 t1 = tuple.item1;
53818 t2 = tuple.item2;
53819 t3 = tuple.item3;
53820 t4 = $async$self._async_evaluate$_quietDeps && isDependency;
53821 $async$goto = 13;
53822 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53823 case 13:
53824 // returning from await.
53825 stylesheet = $async$result;
53826 if (stylesheet != null) {
53827 $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
53828 t1 = tuple.item1;
53829 $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
53830 $async$next = [1];
53831 // goto finally
53832 $async$goto = 5;
53833 break;
53834 }
53835 case 12:
53836 // join
53837 // goto join
53838 $async$goto = 8;
53839 break;
53840 case 9:
53841 // else
53842 t1 = baseUrl;
53843 $async$goto = 14;
53844 return A._asyncAwait($async$self._async_evaluate$_importLikeNode$3(url, t1 == null ? $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url : t1, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53845 case 14:
53846 // returning from await.
53847 result = $async$result;
53848 if (result != null) {
53849 t1 = $async$self._async_evaluate$_loadedUrls;
53850 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
53851 $async$returnValue = result;
53852 $async$next = [1];
53853 // goto finally
53854 $async$goto = 5;
53855 break;
53856 }
53857 case 8:
53858 // join
53859 if (B.JSString_methods.startsWith$1(url, "package:") && true)
53860 throw A.wrapException(string$.x22packa);
53861 else
53862 throw A.wrapException("Can't find stylesheet to import.");
53863 $async$next.push(6);
53864 // goto finally
53865 $async$goto = 5;
53866 break;
53867 case 4:
53868 // catch
53869 $async$handler = 3;
53870 $async$exception = $async$currentError;
53871 t1 = A.unwrapException($async$exception);
53872 if (t1 instanceof A.SassException) {
53873 error = t1;
53874 stackTrace = A.getTraceFromException($async$exception);
53875 t1 = error;
53876 t2 = J.getInterceptor$z(t1);
53877 A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
53878 } else {
53879 error0 = t1;
53880 stackTrace0 = A.getTraceFromException($async$exception);
53881 message = null;
53882 try {
53883 message = A._asString(J.get$message$x(error0));
53884 } catch (exception) {
53885 message0 = J.toString$0$(error0);
53886 message = message0;
53887 }
53888 A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
53889 }
53890 $async$next.push(6);
53891 // goto finally
53892 $async$goto = 5;
53893 break;
53894 case 3:
53895 // uncaught
53896 $async$next = [2];
53897 case 5:
53898 // finally
53899 $async$handler = 2;
53900 $async$self._async_evaluate$_importSpan = null;
53901 // goto the next finally handler
53902 $async$goto = $async$next.pop();
53903 break;
53904 case 6:
53905 // after finally
53906 case 1:
53907 // return
53908 return A._asyncReturn($async$returnValue, $async$completer);
53909 case 2:
53910 // rethrow
53911 return A._asyncRethrow($async$currentError, $async$completer);
53912 }
53913 });
53914 return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
53915 },
53916 _async_evaluate$_importLikeNode$3(originalUrl, previous, forImport) {
53917 return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
53918 },
53919 _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
53920 var $async$goto = 0,
53921 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
53922 $async$returnValue, $async$self = this, result, isDependency, url, t1, t2;
53923 var $async$_async_evaluate$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53924 if ($async$errorCode === 1)
53925 return A._asyncRethrow($async$result, $async$completer);
53926 while (true)
53927 switch ($async$goto) {
53928 case 0:
53929 // Function start
53930 result = $async$self._async_evaluate$_nodeImporter.loadRelative$3(originalUrl, previous, forImport);
53931 isDependency = $async$self._async_evaluate$_inDependency;
53932 url = result.item2;
53933 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
53934 t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
53935 $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
53936 // goto return
53937 $async$goto = 1;
53938 break;
53939 case 1:
53940 // return
53941 return A._asyncReturn($async$returnValue, $async$completer);
53942 }
53943 });
53944 return A._asyncStartSync($async$_async_evaluate$_importLikeNode$3, $async$completer);
53945 },
53946 _visitStaticImport$1($import) {
53947 return this._visitStaticImport$body$_EvaluateVisitor($import);
53948 },
53949 _visitStaticImport$body$_EvaluateVisitor($import) {
53950 var $async$goto = 0,
53951 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
53952 $async$self = this, t1, node, $async$temp1, $async$temp2;
53953 var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53954 if ($async$errorCode === 1)
53955 return A._asyncRethrow($async$result, $async$completer);
53956 while (true)
53957 switch ($async$goto) {
53958 case 0:
53959 // Function start
53960 $async$temp1 = A;
53961 $async$goto = 2;
53962 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
53963 case 2:
53964 // returning from await.
53965 $async$temp2 = $async$result;
53966 $async$goto = 3;
53967 return A._asyncAwait(A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue()), $async$_visitStaticImport$1);
53968 case 3:
53969 // returning from await.
53970 node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
53971 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"))
53972 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
53973 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)) {
53974 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
53975 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53976 } else {
53977 t1 = $async$self._async_evaluate$_outOfOrderImports;
53978 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
53979 }
53980 // implicit return
53981 return A._asyncReturn(null, $async$completer);
53982 }
53983 });
53984 return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
53985 },
53986 visitIncludeRule$1(node) {
53987 return this.visitIncludeRule$body$_EvaluateVisitor(node);
53988 },
53989 visitIncludeRule$body$_EvaluateVisitor(node) {
53990 var $async$goto = 0,
53991 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53992 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
53993 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53994 if ($async$errorCode === 1)
53995 return A._asyncRethrow($async$result, $async$completer);
53996 while (true)
53997 switch ($async$goto) {
53998 case 0:
53999 // Function start
54000 mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
54001 if (mixin == null)
54002 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
54003 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
54004 $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
54005 break;
54006 case 3:
54007 // then
54008 if (node.content != null)
54009 throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
54010 $async$goto = 6;
54011 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
54012 case 6:
54013 // returning from await.
54014 // goto join
54015 $async$goto = 4;
54016 break;
54017 case 5:
54018 // else
54019 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
54020 break;
54021 case 7:
54022 // then
54023 t1 = node.content;
54024 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
54025 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())));
54026 $async$goto = 10;
54027 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);
54028 case 10:
54029 // returning from await.
54030 // goto join
54031 $async$goto = 8;
54032 break;
54033 case 9:
54034 // else
54035 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
54036 case 8:
54037 // join
54038 case 4:
54039 // join
54040 $async$returnValue = null;
54041 // goto return
54042 $async$goto = 1;
54043 break;
54044 case 1:
54045 // return
54046 return A._asyncReturn($async$returnValue, $async$completer);
54047 }
54048 });
54049 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
54050 },
54051 visitMixinRule$1(node) {
54052 return this.visitMixinRule$body$_EvaluateVisitor(node);
54053 },
54054 visitMixinRule$body$_EvaluateVisitor(node) {
54055 var $async$goto = 0,
54056 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54057 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
54058 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54059 if ($async$errorCode === 1)
54060 return A._asyncRethrow($async$result, $async$completer);
54061 while (true)
54062 switch ($async$goto) {
54063 case 0:
54064 // Function start
54065 t1 = $async$self._async_evaluate$_environment;
54066 t2 = t1.closure$0();
54067 t3 = $async$self._async_evaluate$_inDependency;
54068 t4 = t1._async_environment$_mixins;
54069 index = t4.length - 1;
54070 t5 = node.name;
54071 t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
54072 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
54073 $async$returnValue = null;
54074 // goto return
54075 $async$goto = 1;
54076 break;
54077 case 1:
54078 // return
54079 return A._asyncReturn($async$returnValue, $async$completer);
54080 }
54081 });
54082 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
54083 },
54084 visitLoudComment$1(node) {
54085 return this.visitLoudComment$body$_EvaluateVisitor(node);
54086 },
54087 visitLoudComment$body$_EvaluateVisitor(node) {
54088 var $async$goto = 0,
54089 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54090 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54091 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54092 if ($async$errorCode === 1)
54093 return A._asyncRethrow($async$result, $async$completer);
54094 while (true)
54095 switch ($async$goto) {
54096 case 0:
54097 // Function start
54098 if ($async$self._async_evaluate$_inFunction) {
54099 $async$returnValue = null;
54100 // goto return
54101 $async$goto = 1;
54102 break;
54103 }
54104 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))
54105 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
54106 t1 = node.text;
54107 $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
54108 $async$temp2 = A;
54109 $async$goto = 3;
54110 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
54111 case 3:
54112 // returning from await.
54113 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
54114 $async$returnValue = null;
54115 // goto return
54116 $async$goto = 1;
54117 break;
54118 case 1:
54119 // return
54120 return A._asyncReturn($async$returnValue, $async$completer);
54121 }
54122 });
54123 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
54124 },
54125 visitMediaRule$1(node) {
54126 return this.visitMediaRule$body$_EvaluateVisitor(node);
54127 },
54128 visitMediaRule$body$_EvaluateVisitor(node) {
54129 var $async$goto = 0,
54130 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54131 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
54132 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54133 if ($async$errorCode === 1)
54134 return A._asyncRethrow($async$result, $async$completer);
54135 while (true)
54136 switch ($async$goto) {
54137 case 0:
54138 // Function start
54139 if ($async$self._async_evaluate$_declarationName != null)
54140 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
54141 $async$goto = 3;
54142 return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
54143 case 3:
54144 // returning from await.
54145 queries = $async$result;
54146 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
54147 t1 = mergedQueries == null;
54148 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
54149 $async$returnValue = null;
54150 // goto return
54151 $async$goto = 1;
54152 break;
54153 }
54154 t1 = t1 ? queries : mergedQueries;
54155 $async$goto = 4;
54156 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);
54157 case 4:
54158 // returning from await.
54159 $async$returnValue = null;
54160 // goto return
54161 $async$goto = 1;
54162 break;
54163 case 1:
54164 // return
54165 return A._asyncReturn($async$returnValue, $async$completer);
54166 }
54167 });
54168 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
54169 },
54170 _async_evaluate$_visitMediaQueries$1(interpolation) {
54171 return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
54172 },
54173 _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
54174 var $async$goto = 0,
54175 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
54176 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
54177 var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54178 if ($async$errorCode === 1)
54179 return A._asyncRethrow($async$result, $async$completer);
54180 while (true)
54181 switch ($async$goto) {
54182 case 0:
54183 // Function start
54184 $async$temp1 = interpolation;
54185 $async$temp2 = A;
54186 $async$goto = 3;
54187 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
54188 case 3:
54189 // returning from await.
54190 $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
54191 // goto return
54192 $async$goto = 1;
54193 break;
54194 case 1:
54195 // return
54196 return A._asyncReturn($async$returnValue, $async$completer);
54197 }
54198 });
54199 return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
54200 },
54201 _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
54202 var t1, t2, t3, t4, t5, result,
54203 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
54204 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
54205 t4 = t1.get$current(t1);
54206 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
54207 result = t4.merge$1(t5.get$current(t5));
54208 if (result === B._SingletonCssMediaQueryMergeResult_empty)
54209 continue;
54210 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
54211 return null;
54212 queries.push(t3._as(result).query);
54213 }
54214 }
54215 return queries;
54216 },
54217 visitReturnRule$1(node) {
54218 return this.visitReturnRule$body$_EvaluateVisitor(node);
54219 },
54220 visitReturnRule$body$_EvaluateVisitor(node) {
54221 var $async$goto = 0,
54222 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54223 $async$returnValue, $async$self = this, t1;
54224 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54225 if ($async$errorCode === 1)
54226 return A._asyncRethrow($async$result, $async$completer);
54227 while (true)
54228 switch ($async$goto) {
54229 case 0:
54230 // Function start
54231 t1 = node.expression;
54232 $async$goto = 3;
54233 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
54234 case 3:
54235 // returning from await.
54236 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
54237 // goto return
54238 $async$goto = 1;
54239 break;
54240 case 1:
54241 // return
54242 return A._asyncReturn($async$returnValue, $async$completer);
54243 }
54244 });
54245 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
54246 },
54247 visitSilentComment$1(node) {
54248 return this.visitSilentComment$body$_EvaluateVisitor(node);
54249 },
54250 visitSilentComment$body$_EvaluateVisitor(node) {
54251 var $async$goto = 0,
54252 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54253 $async$returnValue;
54254 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54255 if ($async$errorCode === 1)
54256 return A._asyncRethrow($async$result, $async$completer);
54257 while (true)
54258 switch ($async$goto) {
54259 case 0:
54260 // Function start
54261 $async$returnValue = null;
54262 // goto return
54263 $async$goto = 1;
54264 break;
54265 case 1:
54266 // return
54267 return A._asyncReturn($async$returnValue, $async$completer);
54268 }
54269 });
54270 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
54271 },
54272 visitStyleRule$1(node) {
54273 return this.visitStyleRule$body$_EvaluateVisitor(node);
54274 },
54275 visitStyleRule$body$_EvaluateVisitor(node) {
54276 var $async$goto = 0,
54277 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54278 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
54279 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54280 if ($async$errorCode === 1)
54281 return A._asyncRethrow($async$result, $async$completer);
54282 while (true)
54283 switch ($async$goto) {
54284 case 0:
54285 // Function start
54286 t1 = {};
54287 if ($async$self._async_evaluate$_declarationName != null)
54288 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
54289 t2 = node.selector;
54290 $async$goto = 3;
54291 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
54292 case 3:
54293 // returning from await.
54294 selectorText = $async$result;
54295 $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
54296 break;
54297 case 4:
54298 // then
54299 $async$goto = 6;
54300 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);
54301 case 6:
54302 // returning from await.
54303 $async$returnValue = null;
54304 // goto return
54305 $async$goto = 1;
54306 break;
54307 case 5:
54308 // join
54309 t1.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure9($async$self, selectorText));
54310 t1.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure10(t1, $async$self));
54311 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);
54312 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
54313 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
54314 $async$goto = 7;
54315 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);
54316 case 7:
54317 // returning from await.
54318 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
54319 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
54320 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54321 t1 = !t1.get$isEmpty(t1);
54322 }
54323 if (t1) {
54324 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54325 t1.get$last(t1).isGroupEnd = true;
54326 }
54327 $async$returnValue = null;
54328 // goto return
54329 $async$goto = 1;
54330 break;
54331 case 1:
54332 // return
54333 return A._asyncReturn($async$returnValue, $async$completer);
54334 }
54335 });
54336 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
54337 },
54338 visitSupportsRule$1(node) {
54339 return this.visitSupportsRule$body$_EvaluateVisitor(node);
54340 },
54341 visitSupportsRule$body$_EvaluateVisitor(node) {
54342 var $async$goto = 0,
54343 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54344 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54345 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54346 if ($async$errorCode === 1)
54347 return A._asyncRethrow($async$result, $async$completer);
54348 while (true)
54349 switch ($async$goto) {
54350 case 0:
54351 // Function start
54352 if ($async$self._async_evaluate$_declarationName != null)
54353 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
54354 t1 = node.condition;
54355 $async$temp1 = A;
54356 $async$temp2 = A;
54357 $async$goto = 4;
54358 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
54359 case 4:
54360 // returning from await.
54361 $async$goto = 3;
54362 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);
54363 case 3:
54364 // returning from await.
54365 $async$returnValue = null;
54366 // goto return
54367 $async$goto = 1;
54368 break;
54369 case 1:
54370 // return
54371 return A._asyncReturn($async$returnValue, $async$completer);
54372 }
54373 });
54374 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
54375 },
54376 _async_evaluate$_visitSupportsCondition$1(condition) {
54377 return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
54378 },
54379 _visitSupportsCondition$body$_EvaluateVisitor(condition) {
54380 var $async$goto = 0,
54381 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54382 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
54383 var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54384 if ($async$errorCode === 1)
54385 return A._asyncRethrow($async$result, $async$completer);
54386 while (true)
54387 switch ($async$goto) {
54388 case 0:
54389 // Function start
54390 $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
54391 break;
54392 case 3:
54393 // then
54394 t1 = condition.operator;
54395 $async$temp1 = A;
54396 $async$goto = 6;
54397 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54398 case 6:
54399 // returning from await.
54400 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
54401 $async$temp2 = A;
54402 $async$goto = 7;
54403 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54404 case 7:
54405 // returning from await.
54406 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
54407 // goto return
54408 $async$goto = 1;
54409 break;
54410 // goto join
54411 $async$goto = 4;
54412 break;
54413 case 5:
54414 // else
54415 $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
54416 break;
54417 case 8:
54418 // then
54419 $async$temp1 = A;
54420 $async$goto = 11;
54421 return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
54422 case 11:
54423 // returning from await.
54424 $async$returnValue = "not " + $async$temp1.S($async$result);
54425 // goto return
54426 $async$goto = 1;
54427 break;
54428 // goto join
54429 $async$goto = 9;
54430 break;
54431 case 10:
54432 // else
54433 $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
54434 break;
54435 case 12:
54436 // then
54437 $async$goto = 15;
54438 return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
54439 case 15:
54440 // returning from await.
54441 $async$returnValue = $async$result;
54442 // goto return
54443 $async$goto = 1;
54444 break;
54445 // goto join
54446 $async$goto = 13;
54447 break;
54448 case 14:
54449 // else
54450 $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
54451 break;
54452 case 16:
54453 // then
54454 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
54455 $async$self._async_evaluate$_inSupportsDeclaration = true;
54456 $async$temp1 = A;
54457 $async$goto = 19;
54458 return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54459 case 19:
54460 // returning from await.
54461 t1 = $async$temp1.S($async$result);
54462 t2 = condition.get$isCustomProperty() ? "" : " ";
54463 $async$temp1 = A;
54464 $async$goto = 20;
54465 return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
54466 case 20:
54467 // returning from await.
54468 t3 = $async$temp1.S($async$result);
54469 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
54470 $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
54471 // goto return
54472 $async$goto = 1;
54473 break;
54474 // goto join
54475 $async$goto = 17;
54476 break;
54477 case 18:
54478 // else
54479 $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
54480 break;
54481 case 21:
54482 // then
54483 $async$temp1 = A;
54484 $async$goto = 24;
54485 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54486 case 24:
54487 // returning from await.
54488 $async$temp1 = $async$temp1.S($async$result) + "(";
54489 $async$temp2 = A;
54490 $async$goto = 25;
54491 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
54492 case 25:
54493 // returning from await.
54494 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54495 // goto return
54496 $async$goto = 1;
54497 break;
54498 // goto join
54499 $async$goto = 22;
54500 break;
54501 case 23:
54502 // else
54503 $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
54504 break;
54505 case 26:
54506 // then
54507 $async$temp1 = A;
54508 $async$goto = 29;
54509 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
54510 case 29:
54511 // returning from await.
54512 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54513 // goto return
54514 $async$goto = 1;
54515 break;
54516 // goto join
54517 $async$goto = 27;
54518 break;
54519 case 28:
54520 // else
54521 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
54522 case 27:
54523 // join
54524 case 22:
54525 // join
54526 case 17:
54527 // join
54528 case 13:
54529 // join
54530 case 9:
54531 // join
54532 case 4:
54533 // join
54534 case 1:
54535 // return
54536 return A._asyncReturn($async$returnValue, $async$completer);
54537 }
54538 });
54539 return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
54540 },
54541 _async_evaluate$_parenthesize$2(condition, operator) {
54542 return this._parenthesize$body$_EvaluateVisitor(condition, operator);
54543 },
54544 _async_evaluate$_parenthesize$1(condition) {
54545 return this._async_evaluate$_parenthesize$2(condition, null);
54546 },
54547 _parenthesize$body$_EvaluateVisitor(condition, operator) {
54548 var $async$goto = 0,
54549 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54550 $async$returnValue, $async$self = this, t1, $async$temp1;
54551 var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54552 if ($async$errorCode === 1)
54553 return A._asyncRethrow($async$result, $async$completer);
54554 while (true)
54555 switch ($async$goto) {
54556 case 0:
54557 // Function start
54558 if (!(condition instanceof A.SupportsNegation))
54559 if (condition instanceof A.SupportsOperation)
54560 t1 = operator == null || operator !== condition.operator;
54561 else
54562 t1 = false;
54563 else
54564 t1 = true;
54565 $async$goto = t1 ? 3 : 5;
54566 break;
54567 case 3:
54568 // then
54569 $async$temp1 = A;
54570 $async$goto = 6;
54571 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54572 case 6:
54573 // returning from await.
54574 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54575 // goto return
54576 $async$goto = 1;
54577 break;
54578 // goto join
54579 $async$goto = 4;
54580 break;
54581 case 5:
54582 // else
54583 $async$goto = 7;
54584 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54585 case 7:
54586 // returning from await.
54587 $async$returnValue = $async$result;
54588 // goto return
54589 $async$goto = 1;
54590 break;
54591 case 4:
54592 // join
54593 case 1:
54594 // return
54595 return A._asyncReturn($async$returnValue, $async$completer);
54596 }
54597 });
54598 return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
54599 },
54600 visitVariableDeclaration$1(node) {
54601 return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
54602 },
54603 visitVariableDeclaration$body$_EvaluateVisitor(node) {
54604 var $async$goto = 0,
54605 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54606 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
54607 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54608 if ($async$errorCode === 1)
54609 return A._asyncRethrow($async$result, $async$completer);
54610 while (true)
54611 switch ($async$goto) {
54612 case 0:
54613 // Function start
54614 if (node.isGuarded) {
54615 if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
54616 t1 = $async$self._async_evaluate$_configuration._values;
54617 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
54618 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
54619 $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
54620 $async$returnValue = null;
54621 // goto return
54622 $async$goto = 1;
54623 break;
54624 }
54625 }
54626 value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
54627 if (value != null && !value.$eq(0, B.C__SassNull)) {
54628 $async$returnValue = null;
54629 // goto return
54630 $async$goto = 1;
54631 break;
54632 }
54633 }
54634 if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
54635 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.";
54636 $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
54637 }
54638 t1 = node.expression;
54639 $async$temp1 = node;
54640 $async$temp2 = A;
54641 $async$temp3 = node;
54642 $async$goto = 3;
54643 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
54644 case 3:
54645 // returning from await.
54646 $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)));
54647 $async$returnValue = null;
54648 // goto return
54649 $async$goto = 1;
54650 break;
54651 case 1:
54652 // return
54653 return A._asyncReturn($async$returnValue, $async$completer);
54654 }
54655 });
54656 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
54657 },
54658 visitUseRule$1(node) {
54659 return this.visitUseRule$body$_EvaluateVisitor(node);
54660 },
54661 visitUseRule$body$_EvaluateVisitor(node) {
54662 var $async$goto = 0,
54663 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54664 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
54665 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54666 if ($async$errorCode === 1)
54667 return A._asyncRethrow($async$result, $async$completer);
54668 while (true)
54669 switch ($async$goto) {
54670 case 0:
54671 // Function start
54672 t1 = node.configuration;
54673 t2 = t1.length;
54674 $async$goto = t2 !== 0 ? 3 : 5;
54675 break;
54676 case 3:
54677 // then
54678 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
54679 _i = 0;
54680 case 6:
54681 // for condition
54682 if (!(_i < t2)) {
54683 // goto after for
54684 $async$goto = 8;
54685 break;
54686 }
54687 variable = t1[_i];
54688 t3 = variable.expression;
54689 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
54690 $async$temp1 = values;
54691 $async$temp2 = variable.name;
54692 $async$temp3 = A;
54693 $async$goto = 9;
54694 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
54695 case 9:
54696 // returning from await.
54697 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
54698 case 7:
54699 // for update
54700 ++_i;
54701 // goto for condition
54702 $async$goto = 6;
54703 break;
54704 case 8:
54705 // after for
54706 configuration = new A.ExplicitConfiguration(node, values);
54707 // goto join
54708 $async$goto = 4;
54709 break;
54710 case 5:
54711 // else
54712 configuration = B.Configuration_Map_empty;
54713 case 4:
54714 // join
54715 $async$goto = 10;
54716 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);
54717 case 10:
54718 // returning from await.
54719 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
54720 $async$returnValue = null;
54721 // goto return
54722 $async$goto = 1;
54723 break;
54724 case 1:
54725 // return
54726 return A._asyncReturn($async$returnValue, $async$completer);
54727 }
54728 });
54729 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
54730 },
54731 visitWarnRule$1(node) {
54732 return this.visitWarnRule$body$_EvaluateVisitor(node);
54733 },
54734 visitWarnRule$body$_EvaluateVisitor(node) {
54735 var $async$goto = 0,
54736 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54737 $async$returnValue, $async$self = this, value, t1;
54738 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54739 if ($async$errorCode === 1)
54740 return A._asyncRethrow($async$result, $async$completer);
54741 while (true)
54742 switch ($async$goto) {
54743 case 0:
54744 // Function start
54745 $async$goto = 3;
54746 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
54747 case 3:
54748 // returning from await.
54749 value = $async$result;
54750 t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
54751 $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
54752 $async$returnValue = null;
54753 // goto return
54754 $async$goto = 1;
54755 break;
54756 case 1:
54757 // return
54758 return A._asyncReturn($async$returnValue, $async$completer);
54759 }
54760 });
54761 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
54762 },
54763 visitWhileRule$1(node) {
54764 return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
54765 },
54766 visitBinaryOperationExpression$1(node) {
54767 return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
54768 },
54769 visitValueExpression$1(node) {
54770 return this.visitValueExpression$body$_EvaluateVisitor(node);
54771 },
54772 visitValueExpression$body$_EvaluateVisitor(node) {
54773 var $async$goto = 0,
54774 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54775 $async$returnValue;
54776 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54777 if ($async$errorCode === 1)
54778 return A._asyncRethrow($async$result, $async$completer);
54779 while (true)
54780 switch ($async$goto) {
54781 case 0:
54782 // Function start
54783 $async$returnValue = node.value;
54784 // goto return
54785 $async$goto = 1;
54786 break;
54787 case 1:
54788 // return
54789 return A._asyncReturn($async$returnValue, $async$completer);
54790 }
54791 });
54792 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
54793 },
54794 visitVariableExpression$1(node) {
54795 return this.visitVariableExpression$body$_EvaluateVisitor(node);
54796 },
54797 visitVariableExpression$body$_EvaluateVisitor(node) {
54798 var $async$goto = 0,
54799 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54800 $async$returnValue, $async$self = this, result;
54801 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54802 if ($async$errorCode === 1)
54803 return A._asyncRethrow($async$result, $async$completer);
54804 while (true)
54805 switch ($async$goto) {
54806 case 0:
54807 // Function start
54808 result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
54809 if (result != null) {
54810 $async$returnValue = result;
54811 // goto return
54812 $async$goto = 1;
54813 break;
54814 }
54815 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
54816 case 1:
54817 // return
54818 return A._asyncReturn($async$returnValue, $async$completer);
54819 }
54820 });
54821 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
54822 },
54823 visitUnaryOperationExpression$1(node) {
54824 return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
54825 },
54826 visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
54827 var $async$goto = 0,
54828 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54829 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
54830 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54831 if ($async$errorCode === 1)
54832 return A._asyncRethrow($async$result, $async$completer);
54833 while (true)
54834 switch ($async$goto) {
54835 case 0:
54836 // Function start
54837 $async$temp1 = node;
54838 $async$temp2 = A;
54839 $async$temp3 = node;
54840 $async$goto = 3;
54841 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
54842 case 3:
54843 // returning from await.
54844 $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
54845 // goto return
54846 $async$goto = 1;
54847 break;
54848 case 1:
54849 // return
54850 return A._asyncReturn($async$returnValue, $async$completer);
54851 }
54852 });
54853 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
54854 },
54855 visitBooleanExpression$1(node) {
54856 return this.visitBooleanExpression$body$_EvaluateVisitor(node);
54857 },
54858 visitBooleanExpression$body$_EvaluateVisitor(node) {
54859 var $async$goto = 0,
54860 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
54861 $async$returnValue;
54862 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54863 if ($async$errorCode === 1)
54864 return A._asyncRethrow($async$result, $async$completer);
54865 while (true)
54866 switch ($async$goto) {
54867 case 0:
54868 // Function start
54869 $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
54870 // goto return
54871 $async$goto = 1;
54872 break;
54873 case 1:
54874 // return
54875 return A._asyncReturn($async$returnValue, $async$completer);
54876 }
54877 });
54878 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
54879 },
54880 visitIfExpression$1(node) {
54881 return this.visitIfExpression$body$_EvaluateVisitor(node);
54882 },
54883 visitIfExpression$body$_EvaluateVisitor(node) {
54884 var $async$goto = 0,
54885 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54886 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
54887 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54888 if ($async$errorCode === 1)
54889 return A._asyncRethrow($async$result, $async$completer);
54890 while (true)
54891 switch ($async$goto) {
54892 case 0:
54893 // Function start
54894 $async$goto = 3;
54895 return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
54896 case 3:
54897 // returning from await.
54898 pair = $async$result;
54899 positional = pair.item1;
54900 named = pair.item2;
54901 t1 = J.getInterceptor$asx(positional);
54902 $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
54903 if (t1.get$length(positional) > 0)
54904 condition = t1.$index(positional, 0);
54905 else {
54906 t2 = named.$index(0, "condition");
54907 t2.toString;
54908 condition = t2;
54909 }
54910 if (t1.get$length(positional) > 1)
54911 ifTrue = t1.$index(positional, 1);
54912 else {
54913 t2 = named.$index(0, "if-true");
54914 t2.toString;
54915 ifTrue = t2;
54916 }
54917 if (t1.get$length(positional) > 2)
54918 ifFalse = t1.$index(positional, 2);
54919 else {
54920 t1 = named.$index(0, "if-false");
54921 t1.toString;
54922 ifFalse = t1;
54923 }
54924 $async$goto = 4;
54925 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
54926 case 4:
54927 // returning from await.
54928 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
54929 $async$goto = 5;
54930 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
54931 case 5:
54932 // returning from await.
54933 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
54934 // goto return
54935 $async$goto = 1;
54936 break;
54937 case 1:
54938 // return
54939 return A._asyncReturn($async$returnValue, $async$completer);
54940 }
54941 });
54942 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
54943 },
54944 visitNullExpression$1(node) {
54945 return this.visitNullExpression$body$_EvaluateVisitor(node);
54946 },
54947 visitNullExpression$body$_EvaluateVisitor(node) {
54948 var $async$goto = 0,
54949 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54950 $async$returnValue;
54951 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54952 if ($async$errorCode === 1)
54953 return A._asyncRethrow($async$result, $async$completer);
54954 while (true)
54955 switch ($async$goto) {
54956 case 0:
54957 // Function start
54958 $async$returnValue = B.C__SassNull;
54959 // goto return
54960 $async$goto = 1;
54961 break;
54962 case 1:
54963 // return
54964 return A._asyncReturn($async$returnValue, $async$completer);
54965 }
54966 });
54967 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
54968 },
54969 visitNumberExpression$1(node) {
54970 return this.visitNumberExpression$body$_EvaluateVisitor(node);
54971 },
54972 visitNumberExpression$body$_EvaluateVisitor(node) {
54973 var $async$goto = 0,
54974 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
54975 $async$returnValue, t1, t2;
54976 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54977 if ($async$errorCode === 1)
54978 return A._asyncRethrow($async$result, $async$completer);
54979 while (true)
54980 switch ($async$goto) {
54981 case 0:
54982 // Function start
54983 t1 = node.value;
54984 t2 = node.unit;
54985 $async$returnValue = t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
54986 // goto return
54987 $async$goto = 1;
54988 break;
54989 case 1:
54990 // return
54991 return A._asyncReturn($async$returnValue, $async$completer);
54992 }
54993 });
54994 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
54995 },
54996 visitParenthesizedExpression$1(node) {
54997 return node.expression.accept$1(this);
54998 },
54999 visitCalculationExpression$1(node) {
55000 return this.visitCalculationExpression$body$_EvaluateVisitor(node);
55001 },
55002 visitCalculationExpression$body$_EvaluateVisitor(node) {
55003 var $async$goto = 0,
55004 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55005 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
55006 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55007 if ($async$errorCode === 1)
55008 return A._asyncRethrow($async$result, $async$completer);
55009 while (true)
55010 $async$outer:
55011 switch ($async$goto) {
55012 case 0:
55013 // Function start
55014 t1 = A._setArrayType([], type$.JSArray_Object);
55015 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
55016 case 3:
55017 // for condition
55018 if (!(_i < t3)) {
55019 // goto after for
55020 $async$goto = 5;
55021 break;
55022 }
55023 argument = t2[_i];
55024 $async$temp1 = t1;
55025 $async$goto = 6;
55026 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
55027 case 6:
55028 // returning from await.
55029 $async$temp1.push($async$result);
55030 case 4:
55031 // for update
55032 ++_i;
55033 // goto for condition
55034 $async$goto = 3;
55035 break;
55036 case 5:
55037 // after for
55038 $arguments = t1;
55039 if ($async$self._async_evaluate$_inSupportsDeclaration) {
55040 $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
55041 // goto return
55042 $async$goto = 1;
55043 break;
55044 }
55045 try {
55046 switch (t4) {
55047 case "calc":
55048 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
55049 $async$returnValue = t1;
55050 // goto return
55051 $async$goto = 1;
55052 break $async$outer;
55053 case "min":
55054 t1 = A.SassCalculation_min($arguments);
55055 $async$returnValue = t1;
55056 // goto return
55057 $async$goto = 1;
55058 break $async$outer;
55059 case "max":
55060 t1 = A.SassCalculation_max($arguments);
55061 $async$returnValue = t1;
55062 // goto return
55063 $async$goto = 1;
55064 break $async$outer;
55065 case "clamp":
55066 t1 = J.$index$asx($arguments, 0);
55067 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
55068 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
55069 $async$returnValue = t1;
55070 // goto return
55071 $async$goto = 1;
55072 break $async$outer;
55073 default:
55074 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
55075 throw A.wrapException(t1);
55076 }
55077 } catch (exception) {
55078 t1 = A.unwrapException(exception);
55079 if (t1 instanceof A.SassScriptException) {
55080 error = t1;
55081 stackTrace = A.getTraceFromException(exception);
55082 $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
55083 A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
55084 } else
55085 throw exception;
55086 }
55087 case 1:
55088 // return
55089 return A._asyncReturn($async$returnValue, $async$completer);
55090 }
55091 });
55092 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
55093 },
55094 _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
55095 var i, t1, arg, number1, j, number2;
55096 for (i = 0; t1 = args.length, i < t1; ++i) {
55097 arg = args[i];
55098 if (!(arg instanceof A.SassNumber))
55099 continue;
55100 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
55101 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])));
55102 }
55103 for (i = 0; i < t1 - 1; ++i) {
55104 number1 = args[i];
55105 if (!(number1 instanceof A.SassNumber))
55106 continue;
55107 for (j = i + 1; t1 = args.length, j < t1; ++j) {
55108 number2 = args[j];
55109 if (!(number2 instanceof A.SassNumber))
55110 continue;
55111 if (number1.hasPossiblyCompatibleUnits$1(number2))
55112 continue;
55113 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]))));
55114 }
55115 }
55116 },
55117 _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
55118 return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
55119 },
55120 _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
55121 var $async$goto = 0,
55122 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
55123 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
55124 var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55125 if ($async$errorCode === 1)
55126 return A._asyncRethrow($async$result, $async$completer);
55127 while (true)
55128 switch ($async$goto) {
55129 case 0:
55130 // Function start
55131 $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
55132 break;
55133 case 3:
55134 // then
55135 inner = node.expression;
55136 $async$goto = 6;
55137 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55138 case 6:
55139 // returning from await.
55140 result = $async$result;
55141 if (inner instanceof A.FunctionExpression)
55142 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
55143 else
55144 t1 = false;
55145 $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
55146 // goto return
55147 $async$goto = 1;
55148 break;
55149 // goto join
55150 $async$goto = 4;
55151 break;
55152 case 5:
55153 // else
55154 $async$goto = node instanceof A.StringExpression ? 7 : 9;
55155 break;
55156 case 7:
55157 // then
55158 $async$temp1 = A;
55159 $async$goto = 10;
55160 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55161 case 10:
55162 // returning from await.
55163 $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
55164 // goto return
55165 $async$goto = 1;
55166 break;
55167 // goto join
55168 $async$goto = 8;
55169 break;
55170 case 9:
55171 // else
55172 $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
55173 break;
55174 case 11:
55175 // then
55176 $async$goto = 14;
55177 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);
55178 case 14:
55179 // returning from await.
55180 $async$returnValue = $async$result;
55181 // goto return
55182 $async$goto = 1;
55183 break;
55184 // goto join
55185 $async$goto = 12;
55186 break;
55187 case 13:
55188 // else
55189 $async$goto = 15;
55190 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55191 case 15:
55192 // returning from await.
55193 result = $async$result;
55194 if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
55195 $async$returnValue = result;
55196 // goto return
55197 $async$goto = 1;
55198 break;
55199 }
55200 if (result instanceof A.SassString && !result._hasQuotes) {
55201 $async$returnValue = result;
55202 // goto return
55203 $async$goto = 1;
55204 break;
55205 }
55206 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)));
55207 case 12:
55208 // join
55209 case 8:
55210 // join
55211 case 4:
55212 // join
55213 case 1:
55214 // return
55215 return A._asyncReturn($async$returnValue, $async$completer);
55216 }
55217 });
55218 return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
55219 },
55220 _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
55221 switch (operator) {
55222 case B.BinaryOperator_AcR0:
55223 return B.CalculationOperator_Iem;
55224 case B.BinaryOperator_iyO:
55225 return B.CalculationOperator_uti;
55226 case B.BinaryOperator_O1M:
55227 return B.CalculationOperator_Dih;
55228 case B.BinaryOperator_RTB:
55229 return B.CalculationOperator_jB6;
55230 default:
55231 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
55232 }
55233 },
55234 visitColorExpression$1(node) {
55235 return this.visitColorExpression$body$_EvaluateVisitor(node);
55236 },
55237 visitColorExpression$body$_EvaluateVisitor(node) {
55238 var $async$goto = 0,
55239 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
55240 $async$returnValue;
55241 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55242 if ($async$errorCode === 1)
55243 return A._asyncRethrow($async$result, $async$completer);
55244 while (true)
55245 switch ($async$goto) {
55246 case 0:
55247 // Function start
55248 $async$returnValue = node.value;
55249 // goto return
55250 $async$goto = 1;
55251 break;
55252 case 1:
55253 // return
55254 return A._asyncReturn($async$returnValue, $async$completer);
55255 }
55256 });
55257 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
55258 },
55259 visitListExpression$1(node) {
55260 return this.visitListExpression$body$_EvaluateVisitor(node);
55261 },
55262 visitListExpression$body$_EvaluateVisitor(node) {
55263 var $async$goto = 0,
55264 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
55265 $async$returnValue, $async$self = this, $async$temp1;
55266 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55267 if ($async$errorCode === 1)
55268 return A._asyncRethrow($async$result, $async$completer);
55269 while (true)
55270 switch ($async$goto) {
55271 case 0:
55272 // Function start
55273 $async$temp1 = A;
55274 $async$goto = 3;
55275 return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
55276 case 3:
55277 // returning from await.
55278 $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
55279 // goto return
55280 $async$goto = 1;
55281 break;
55282 case 1:
55283 // return
55284 return A._asyncReturn($async$returnValue, $async$completer);
55285 }
55286 });
55287 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
55288 },
55289 visitMapExpression$1(node) {
55290 return this.visitMapExpression$body$_EvaluateVisitor(node);
55291 },
55292 visitMapExpression$body$_EvaluateVisitor(node) {
55293 var $async$goto = 0,
55294 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
55295 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
55296 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55297 if ($async$errorCode === 1)
55298 return A._asyncRethrow($async$result, $async$completer);
55299 while (true)
55300 switch ($async$goto) {
55301 case 0:
55302 // Function start
55303 t1 = type$.Value;
55304 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
55305 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
55306 t2 = node.pairs, t3 = t2.length, _i = 0;
55307 case 3:
55308 // for condition
55309 if (!(_i < t3)) {
55310 // goto after for
55311 $async$goto = 5;
55312 break;
55313 }
55314 pair = t2[_i];
55315 t4 = pair.item1;
55316 $async$goto = 6;
55317 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
55318 case 6:
55319 // returning from await.
55320 keyValue = $async$result;
55321 $async$goto = 7;
55322 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
55323 case 7:
55324 // returning from await.
55325 valueValue = $async$result;
55326 if (map.$index(0, keyValue) != null) {
55327 t1 = keyNodes.$index(0, keyValue);
55328 oldValueSpan = t1 == null ? null : t1.get$span(t1);
55329 t1 = J.getInterceptor$z(t4);
55330 t2 = t1.get$span(t4);
55331 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
55332 if (oldValueSpan != null)
55333 t3.$indexSet(0, oldValueSpan, "first key");
55334 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
55335 }
55336 map.$indexSet(0, keyValue, valueValue);
55337 keyNodes.$indexSet(0, keyValue, t4);
55338 case 4:
55339 // for update
55340 ++_i;
55341 // goto for condition
55342 $async$goto = 3;
55343 break;
55344 case 5:
55345 // after for
55346 $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
55347 // goto return
55348 $async$goto = 1;
55349 break;
55350 case 1:
55351 // return
55352 return A._asyncReturn($async$returnValue, $async$completer);
55353 }
55354 });
55355 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
55356 },
55357 visitFunctionExpression$1(node) {
55358 return this.visitFunctionExpression$body$_EvaluateVisitor(node);
55359 },
55360 visitFunctionExpression$body$_EvaluateVisitor(node) {
55361 var $async$goto = 0,
55362 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55363 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
55364 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55365 if ($async$errorCode === 1)
55366 return A._asyncRethrow($async$result, $async$completer);
55367 while (true)
55368 switch ($async$goto) {
55369 case 0:
55370 // Function start
55371 t1 = {};
55372 $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
55373 t1.$function = $function;
55374 if ($function == null) {
55375 if (node.namespace != null)
55376 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
55377 t1.$function = new A.PlainCssCallable(node.originalName);
55378 }
55379 oldInFunction = $async$self._async_evaluate$_inFunction;
55380 $async$self._async_evaluate$_inFunction = true;
55381 $async$goto = 3;
55382 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);
55383 case 3:
55384 // returning from await.
55385 result = $async$result;
55386 $async$self._async_evaluate$_inFunction = oldInFunction;
55387 $async$returnValue = result;
55388 // goto return
55389 $async$goto = 1;
55390 break;
55391 case 1:
55392 // return
55393 return A._asyncReturn($async$returnValue, $async$completer);
55394 }
55395 });
55396 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
55397 },
55398 visitInterpolatedFunctionExpression$1(node) {
55399 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
55400 },
55401 visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
55402 var $async$goto = 0,
55403 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55404 $async$returnValue, $async$self = this, result, t1, oldInFunction;
55405 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55406 if ($async$errorCode === 1)
55407 return A._asyncRethrow($async$result, $async$completer);
55408 while (true)
55409 switch ($async$goto) {
55410 case 0:
55411 // Function start
55412 $async$goto = 3;
55413 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
55414 case 3:
55415 // returning from await.
55416 t1 = $async$result;
55417 oldInFunction = $async$self._async_evaluate$_inFunction;
55418 $async$self._async_evaluate$_inFunction = true;
55419 $async$goto = 4;
55420 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);
55421 case 4:
55422 // returning from await.
55423 result = $async$result;
55424 $async$self._async_evaluate$_inFunction = oldInFunction;
55425 $async$returnValue = result;
55426 // goto return
55427 $async$goto = 1;
55428 break;
55429 case 1:
55430 // return
55431 return A._asyncReturn($async$returnValue, $async$completer);
55432 }
55433 });
55434 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
55435 },
55436 _async_evaluate$_getFunction$2$namespace($name, namespace) {
55437 var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
55438 if (local != null || namespace != null)
55439 return local;
55440 return this._async_evaluate$_builtInFunctions.$index(0, $name);
55441 },
55442 _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
55443 return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
55444 },
55445 _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
55446 var $async$goto = 0,
55447 $async$completer = A._makeAsyncAwaitCompleter($async$type),
55448 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
55449 var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55450 if ($async$errorCode === 1)
55451 return A._asyncRethrow($async$result, $async$completer);
55452 while (true)
55453 switch ($async$goto) {
55454 case 0:
55455 // Function start
55456 $async$goto = 3;
55457 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
55458 case 3:
55459 // returning from await.
55460 evaluated = $async$result;
55461 $name = callable.declaration.name;
55462 if ($name !== "@content")
55463 $name += "()";
55464 oldCallable = $async$self._async_evaluate$_currentCallable;
55465 $async$self._async_evaluate$_currentCallable = callable;
55466 $async$goto = 4;
55467 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);
55468 case 4:
55469 // returning from await.
55470 result = $async$result;
55471 $async$self._async_evaluate$_currentCallable = oldCallable;
55472 $async$returnValue = result;
55473 // goto return
55474 $async$goto = 1;
55475 break;
55476 case 1:
55477 // return
55478 return A._asyncReturn($async$returnValue, $async$completer);
55479 }
55480 });
55481 return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
55482 },
55483 _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
55484 return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55485 },
55486 _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55487 var $async$goto = 0,
55488 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55489 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
55490 var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55491 if ($async$errorCode === 1)
55492 return A._asyncRethrow($async$result, $async$completer);
55493 while (true)
55494 switch ($async$goto) {
55495 case 0:
55496 // Function start
55497 $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
55498 break;
55499 case 3:
55500 // then
55501 $async$goto = 6;
55502 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
55503 case 6:
55504 // returning from await.
55505 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
55506 // goto return
55507 $async$goto = 1;
55508 break;
55509 // goto join
55510 $async$goto = 4;
55511 break;
55512 case 5:
55513 // else
55514 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
55515 break;
55516 case 7:
55517 // then
55518 $async$goto = 10;
55519 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);
55520 case 10:
55521 // returning from await.
55522 $async$returnValue = $async$result;
55523 // goto return
55524 $async$goto = 1;
55525 break;
55526 // goto join
55527 $async$goto = 8;
55528 break;
55529 case 9:
55530 // else
55531 $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
55532 break;
55533 case 11:
55534 // then
55535 t1 = $arguments.named;
55536 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
55537 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
55538 t1 = callable.name + "(";
55539 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
55540 case 14:
55541 // for condition
55542 if (!(_i < t3)) {
55543 // goto after for
55544 $async$goto = 16;
55545 break;
55546 }
55547 argument = t2[_i];
55548 if (first)
55549 first = false;
55550 else
55551 t1 += ", ";
55552 $async$temp1 = A;
55553 $async$goto = 17;
55554 return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
55555 case 17:
55556 // returning from await.
55557 t1 += $async$temp1.S($async$result);
55558 case 15:
55559 // for update
55560 ++_i;
55561 // goto for condition
55562 $async$goto = 14;
55563 break;
55564 case 16:
55565 // after for
55566 restArg = $arguments.rest;
55567 $async$goto = restArg != null ? 18 : 19;
55568 break;
55569 case 18:
55570 // then
55571 $async$goto = 20;
55572 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
55573 case 20:
55574 // returning from await.
55575 rest = $async$result;
55576 if (!first)
55577 t1 += ", ";
55578 t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
55579 case 19:
55580 // join
55581 t1 += A.Primitives_stringFromCharCode(41);
55582 $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
55583 // goto return
55584 $async$goto = 1;
55585 break;
55586 // goto join
55587 $async$goto = 12;
55588 break;
55589 case 13:
55590 // else
55591 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
55592 case 12:
55593 // join
55594 case 8:
55595 // join
55596 case 4:
55597 // join
55598 case 1:
55599 // return
55600 return A._asyncReturn($async$returnValue, $async$completer);
55601 }
55602 });
55603 return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
55604 },
55605 _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
55606 return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55607 },
55608 _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55609 var $async$goto = 0,
55610 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55611 $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;
55612 var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55613 if ($async$errorCode === 1) {
55614 $async$currentError = $async$result;
55615 $async$goto = $async$handler;
55616 }
55617 while (true)
55618 switch ($async$goto) {
55619 case 0:
55620 // Function start
55621 $async$goto = 3;
55622 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
55623 case 3:
55624 // returning from await.
55625 evaluated = $async$result;
55626 oldCallableNode = $async$self._async_evaluate$_callableNode;
55627 $async$self._async_evaluate$_callableNode = nodeWithSpan;
55628 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
55629 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
55630 overload = tuple.item1;
55631 callback = tuple.item2;
55632 $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
55633 declaredArguments = overload.$arguments;
55634 i = evaluated.positional.length, t1 = declaredArguments.length;
55635 case 4:
55636 // for condition
55637 if (!(i < t1)) {
55638 // goto after for
55639 $async$goto = 6;
55640 break;
55641 }
55642 argument = declaredArguments[i];
55643 t2 = evaluated.positional;
55644 t3 = evaluated.named.remove$1(0, argument.name);
55645 $async$goto = t3 == null ? 7 : 8;
55646 break;
55647 case 7:
55648 // then
55649 t3 = argument.defaultValue;
55650 $async$goto = 9;
55651 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
55652 case 9:
55653 // returning from await.
55654 t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
55655 case 8:
55656 // join
55657 t2.push(t3);
55658 case 5:
55659 // for update
55660 ++i;
55661 // goto for condition
55662 $async$goto = 4;
55663 break;
55664 case 6:
55665 // after for
55666 if (overload.restArgument != null) {
55667 if (evaluated.positional.length > t1) {
55668 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
55669 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
55670 } else
55671 rest = B.List_empty5;
55672 t1 = evaluated.named;
55673 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
55674 evaluated.positional.push(argumentList);
55675 } else
55676 argumentList = null;
55677 result = null;
55678 $async$handler = 11;
55679 $async$goto = 14;
55680 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
55681 case 14:
55682 // returning from await.
55683 result = $async$result;
55684 $async$handler = 2;
55685 // goto after finally
55686 $async$goto = 13;
55687 break;
55688 case 11:
55689 // catch
55690 $async$handler = 10;
55691 $async$exception = $async$currentError;
55692 t1 = A.unwrapException($async$exception);
55693 if (type$.SassRuntimeException._is(t1))
55694 throw $async$exception;
55695 else if (t1 instanceof A.MultiSpanSassScriptException) {
55696 error = t1;
55697 stackTrace = A.getTraceFromException($async$exception);
55698 t1 = error.message;
55699 t2 = nodeWithSpan.get$span(nodeWithSpan);
55700 t3 = error.primaryLabel;
55701 t4 = error.secondarySpans;
55702 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);
55703 } else if (t1 instanceof A.MultiSpanSassException) {
55704 error0 = t1;
55705 stackTrace0 = A.getTraceFromException($async$exception);
55706 t1 = error0._span_exception$_message;
55707 t2 = error0;
55708 t3 = J.getInterceptor$z(t2);
55709 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
55710 t3 = error0.primaryLabel;
55711 t4 = error0.secondarySpans;
55712 t5 = error0;
55713 t6 = J.getInterceptor$z(t5);
55714 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);
55715 } else {
55716 error1 = t1;
55717 stackTrace1 = A.getTraceFromException($async$exception);
55718 message = null;
55719 try {
55720 message = A._asString(J.get$message$x(error1));
55721 } catch (exception) {
55722 message0 = J.toString$0$(error1);
55723 message = message0;
55724 }
55725 A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
55726 }
55727 // goto after finally
55728 $async$goto = 13;
55729 break;
55730 case 10:
55731 // uncaught
55732 // goto rethrow
55733 $async$goto = 2;
55734 break;
55735 case 13:
55736 // after finally
55737 $async$self._async_evaluate$_callableNode = oldCallableNode;
55738 if (argumentList == null) {
55739 $async$returnValue = result;
55740 // goto return
55741 $async$goto = 1;
55742 break;
55743 }
55744 if (evaluated.named.__js_helper$_length === 0) {
55745 $async$returnValue = result;
55746 // goto return
55747 $async$goto = 1;
55748 break;
55749 }
55750 if (argumentList._wereKeywordsAccessed) {
55751 $async$returnValue = result;
55752 // goto return
55753 $async$goto = 1;
55754 break;
55755 }
55756 t1 = evaluated.named;
55757 t1 = t1.get$keys(t1);
55758 t1 = A.pluralize("argument", t1.get$length(t1), null);
55759 t2 = evaluated.named;
55760 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))));
55761 case 1:
55762 // return
55763 return A._asyncReturn($async$returnValue, $async$completer);
55764 case 2:
55765 // rethrow
55766 return A._asyncRethrow($async$currentError, $async$completer);
55767 }
55768 });
55769 return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
55770 },
55771 _async_evaluate$_evaluateArguments$1($arguments) {
55772 return this._evaluateArguments$body$_EvaluateVisitor($arguments);
55773 },
55774 _evaluateArguments$body$_EvaluateVisitor($arguments) {
55775 var $async$goto = 0,
55776 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
55777 $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;
55778 var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55779 if ($async$errorCode === 1)
55780 return A._asyncRethrow($async$result, $async$completer);
55781 while (true)
55782 switch ($async$goto) {
55783 case 0:
55784 // Function start
55785 positional = A._setArrayType([], type$.JSArray_Value);
55786 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
55787 t1 = $arguments.positional, t2 = t1.length, _i = 0;
55788 case 3:
55789 // for condition
55790 if (!(_i < t2)) {
55791 // goto after for
55792 $async$goto = 5;
55793 break;
55794 }
55795 expression = t1[_i];
55796 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
55797 $async$temp1 = positional;
55798 $async$goto = 6;
55799 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55800 case 6:
55801 // returning from await.
55802 $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55803 positionalNodes.push(nodeForSpan);
55804 case 4:
55805 // for update
55806 ++_i;
55807 // goto for condition
55808 $async$goto = 3;
55809 break;
55810 case 5:
55811 // after for
55812 t1 = type$.String;
55813 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
55814 t2 = type$.AstNode;
55815 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55816 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
55817 case 7:
55818 // for condition
55819 if (!t3.moveNext$0()) {
55820 // goto after for
55821 $async$goto = 8;
55822 break;
55823 }
55824 t4 = t3.get$current(t3);
55825 t5 = t4.value;
55826 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
55827 t4 = t4.key;
55828 $async$temp1 = named;
55829 $async$temp2 = t4;
55830 $async$goto = 9;
55831 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55832 case 9:
55833 // returning from await.
55834 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55835 namedNodes.$indexSet(0, t4, nodeForSpan);
55836 // goto for condition
55837 $async$goto = 7;
55838 break;
55839 case 8:
55840 // after for
55841 restArgs = $arguments.rest;
55842 if (restArgs == null) {
55843 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
55844 // goto return
55845 $async$goto = 1;
55846 break;
55847 }
55848 $async$goto = 10;
55849 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55850 case 10:
55851 // returning from await.
55852 rest = $async$result;
55853 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
55854 if (rest instanceof A.SassMap) {
55855 $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
55856 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55857 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
55858 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
55859 namedNodes.addAll$1(0, t3);
55860 separator = B.ListSeparator_undecided_null;
55861 } else if (rest instanceof A.SassList) {
55862 t3 = rest._list$_contents;
55863 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>")));
55864 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
55865 separator = rest._separator;
55866 if (rest instanceof A.SassArgumentList) {
55867 rest._wereKeywordsAccessed = true;
55868 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
55869 }
55870 } else {
55871 positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
55872 positionalNodes.push(restNodeForSpan);
55873 separator = B.ListSeparator_undecided_null;
55874 }
55875 keywordRestArgs = $arguments.keywordRest;
55876 if (keywordRestArgs == null) {
55877 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55878 // goto return
55879 $async$goto = 1;
55880 break;
55881 }
55882 $async$goto = 11;
55883 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55884 case 11:
55885 // returning from await.
55886 keywordRest = $async$result;
55887 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
55888 if (keywordRest instanceof A.SassMap) {
55889 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
55890 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55891 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
55892 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
55893 namedNodes.addAll$1(0, t1);
55894 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55895 // goto return
55896 $async$goto = 1;
55897 break;
55898 } else
55899 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
55900 case 1:
55901 // return
55902 return A._asyncReturn($async$returnValue, $async$completer);
55903 }
55904 });
55905 return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
55906 },
55907 _async_evaluate$_evaluateMacroArguments$1(invocation) {
55908 return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
55909 },
55910 _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
55911 var $async$goto = 0,
55912 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
55913 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
55914 var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55915 if ($async$errorCode === 1)
55916 return A._asyncRethrow($async$result, $async$completer);
55917 while (true)
55918 switch ($async$goto) {
55919 case 0:
55920 // Function start
55921 t1 = invocation.$arguments;
55922 restArgs_ = t1.rest;
55923 if (restArgs_ == null) {
55924 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55925 // goto return
55926 $async$goto = 1;
55927 break;
55928 }
55929 t2 = t1.positional;
55930 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
55931 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
55932 $async$goto = 3;
55933 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55934 case 3:
55935 // returning from await.
55936 rest = $async$result;
55937 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
55938 if (rest instanceof A.SassMap)
55939 $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
55940 else if (rest instanceof A.SassList) {
55941 t2 = rest._list$_contents;
55942 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>")));
55943 if (rest instanceof A.SassArgumentList) {
55944 rest._wereKeywordsAccessed = true;
55945 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
55946 }
55947 } else
55948 positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
55949 keywordRestArgs_ = t1.keywordRest;
55950 if (keywordRestArgs_ == null) {
55951 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55952 // goto return
55953 $async$goto = 1;
55954 break;
55955 }
55956 $async$goto = 4;
55957 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55958 case 4:
55959 // returning from await.
55960 keywordRest = $async$result;
55961 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
55962 if (keywordRest instanceof A.SassMap) {
55963 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
55964 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55965 // goto return
55966 $async$goto = 1;
55967 break;
55968 } else
55969 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
55970 case 1:
55971 // return
55972 return A._asyncReturn($async$returnValue, $async$completer);
55973 }
55974 });
55975 return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
55976 },
55977 _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
55978 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
55979 },
55980 _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
55981 return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
55982 },
55983 _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
55984 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
55985 },
55986 visitSelectorExpression$1(node) {
55987 return this.visitSelectorExpression$body$_EvaluateVisitor(node);
55988 },
55989 visitSelectorExpression$body$_EvaluateVisitor(node) {
55990 var $async$goto = 0,
55991 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55992 $async$returnValue, $async$self = this, t1;
55993 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55994 if ($async$errorCode === 1)
55995 return A._asyncRethrow($async$result, $async$completer);
55996 while (true)
55997 switch ($async$goto) {
55998 case 0:
55999 // Function start
56000 t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56001 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
56002 $async$returnValue = t1 == null ? B.C__SassNull : t1;
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$visitSelectorExpression$1, $async$completer);
56012 },
56013 visitStringExpression$1(node) {
56014 return this.visitStringExpression$body$_EvaluateVisitor(node);
56015 },
56016 visitStringExpression$body$_EvaluateVisitor(node) {
56017 var $async$goto = 0,
56018 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
56019 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
56020 var $async$visitStringExpression$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 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
56028 $async$self._async_evaluate$_inSupportsDeclaration = false;
56029 $async$temp1 = J;
56030 $async$goto = 3;
56031 return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
56032 case 3:
56033 // returning from await.
56034 t1 = $async$temp1.join$0$ax($async$result);
56035 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
56036 $async$returnValue = new A.SassString(t1, node.hasQuotes);
56037 // goto return
56038 $async$goto = 1;
56039 break;
56040 case 1:
56041 // return
56042 return A._asyncReturn($async$returnValue, $async$completer);
56043 }
56044 });
56045 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
56046 },
56047 visitSupportsExpression$1(expression) {
56048 return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
56049 },
56050 visitSupportsExpression$body$_EvaluateVisitor(expression) {
56051 var $async$goto = 0,
56052 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
56053 $async$returnValue, $async$self = this, $async$temp1;
56054 var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56055 if ($async$errorCode === 1)
56056 return A._asyncRethrow($async$result, $async$completer);
56057 while (true)
56058 switch ($async$goto) {
56059 case 0:
56060 // Function start
56061 $async$temp1 = A;
56062 $async$goto = 3;
56063 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
56064 case 3:
56065 // returning from await.
56066 $async$returnValue = new $async$temp1.SassString($async$result, false);
56067 // goto return
56068 $async$goto = 1;
56069 break;
56070 case 1:
56071 // return
56072 return A._asyncReturn($async$returnValue, $async$completer);
56073 }
56074 });
56075 return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
56076 },
56077 visitCssAtRule$1(node) {
56078 return this.visitCssAtRule$body$_EvaluateVisitor(node);
56079 },
56080 visitCssAtRule$body$_EvaluateVisitor(node) {
56081 var $async$goto = 0,
56082 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56083 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
56084 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56085 if ($async$errorCode === 1)
56086 return A._asyncRethrow($async$result, $async$completer);
56087 while (true)
56088 switch ($async$goto) {
56089 case 0:
56090 // Function start
56091 if ($async$self._async_evaluate$_declarationName != null)
56092 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
56093 if (node.isChildless) {
56094 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
56095 // goto return
56096 $async$goto = 1;
56097 break;
56098 }
56099 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
56100 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
56101 t1 = node.name;
56102 if (A.unvendor(t1.get$value(t1)) === "keyframes")
56103 $async$self._async_evaluate$_inKeyframes = true;
56104 else
56105 $async$self._async_evaluate$_inUnknownAtRule = true;
56106 $async$goto = 3;
56107 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);
56108 case 3:
56109 // returning from await.
56110 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
56111 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
56112 case 1:
56113 // return
56114 return A._asyncReturn($async$returnValue, $async$completer);
56115 }
56116 });
56117 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
56118 },
56119 visitCssComment$1(node) {
56120 return this.visitCssComment$body$_EvaluateVisitor(node);
56121 },
56122 visitCssComment$body$_EvaluateVisitor(node) {
56123 var $async$goto = 0,
56124 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56125 $async$self = this;
56126 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56127 if ($async$errorCode === 1)
56128 return A._asyncRethrow($async$result, $async$completer);
56129 while (true)
56130 switch ($async$goto) {
56131 case 0:
56132 // Function start
56133 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))
56134 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
56135 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
56136 // implicit return
56137 return A._asyncReturn(null, $async$completer);
56138 }
56139 });
56140 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
56141 },
56142 visitCssDeclaration$1(node) {
56143 return this.visitCssDeclaration$body$_EvaluateVisitor(node);
56144 },
56145 visitCssDeclaration$body$_EvaluateVisitor(node) {
56146 var $async$goto = 0,
56147 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56148 $async$self = this, t1;
56149 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56150 if ($async$errorCode === 1)
56151 return A._asyncRethrow($async$result, $async$completer);
56152 while (true)
56153 switch ($async$goto) {
56154 case 0:
56155 // Function start
56156 t1 = node.name;
56157 $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));
56158 // implicit return
56159 return A._asyncReturn(null, $async$completer);
56160 }
56161 });
56162 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
56163 },
56164 visitCssImport$1(node) {
56165 return this.visitCssImport$body$_EvaluateVisitor(node);
56166 },
56167 visitCssImport$body$_EvaluateVisitor(node) {
56168 var $async$goto = 0,
56169 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56170 $async$self = this, t1, modifiableNode;
56171 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56172 if ($async$errorCode === 1)
56173 return A._asyncRethrow($async$result, $async$completer);
56174 while (true)
56175 switch ($async$goto) {
56176 case 0:
56177 // Function start
56178 modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
56179 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"))
56180 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
56181 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)) {
56182 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
56183 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
56184 } else {
56185 t1 = $async$self._async_evaluate$_outOfOrderImports;
56186 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
56187 }
56188 // implicit return
56189 return A._asyncReturn(null, $async$completer);
56190 }
56191 });
56192 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
56193 },
56194 visitCssKeyframeBlock$1(node) {
56195 return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
56196 },
56197 visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
56198 var $async$goto = 0,
56199 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56200 $async$self = this;
56201 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56202 if ($async$errorCode === 1)
56203 return A._asyncRethrow($async$result, $async$completer);
56204 while (true)
56205 switch ($async$goto) {
56206 case 0:
56207 // Function start
56208 $async$goto = 2;
56209 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);
56210 case 2:
56211 // returning from await.
56212 // implicit return
56213 return A._asyncReturn(null, $async$completer);
56214 }
56215 });
56216 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
56217 },
56218 visitCssMediaRule$1(node) {
56219 return this.visitCssMediaRule$body$_EvaluateVisitor(node);
56220 },
56221 visitCssMediaRule$body$_EvaluateVisitor(node) {
56222 var $async$goto = 0,
56223 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56224 $async$returnValue, $async$self = this, mergedQueries, t1;
56225 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56226 if ($async$errorCode === 1)
56227 return A._asyncRethrow($async$result, $async$completer);
56228 while (true)
56229 switch ($async$goto) {
56230 case 0:
56231 // Function start
56232 if ($async$self._async_evaluate$_declarationName != null)
56233 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
56234 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
56235 t1 = mergedQueries == null;
56236 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
56237 // goto return
56238 $async$goto = 1;
56239 break;
56240 }
56241 t1 = t1 ? node.queries : mergedQueries;
56242 $async$goto = 3;
56243 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);
56244 case 3:
56245 // returning from await.
56246 case 1:
56247 // return
56248 return A._asyncReturn($async$returnValue, $async$completer);
56249 }
56250 });
56251 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
56252 },
56253 visitCssStyleRule$1(node) {
56254 return this.visitCssStyleRule$body$_EvaluateVisitor(node);
56255 },
56256 visitCssStyleRule$body$_EvaluateVisitor(node) {
56257 var $async$goto = 0,
56258 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56259 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
56260 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56261 if ($async$errorCode === 1)
56262 return A._asyncRethrow($async$result, $async$completer);
56263 while (true)
56264 switch ($async$goto) {
56265 case 0:
56266 // Function start
56267 if ($async$self._async_evaluate$_declarationName != null)
56268 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
56269 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
56270 styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56271 t2 = node.selector;
56272 t3 = t2.value;
56273 t4 = styleRule == null;
56274 t5 = t4 ? null : styleRule.originalSelector;
56275 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
56276 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);
56277 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
56278 $async$self._async_evaluate$_atRootExcludingStyleRule = false;
56279 $async$goto = 2;
56280 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);
56281 case 2:
56282 // returning from await.
56283 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
56284 if (t4) {
56285 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56286 t1 = !t1.get$isEmpty(t1);
56287 } else
56288 t1 = false;
56289 if (t1) {
56290 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56291 t1.get$last(t1).isGroupEnd = true;
56292 }
56293 // implicit return
56294 return A._asyncReturn(null, $async$completer);
56295 }
56296 });
56297 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
56298 },
56299 visitCssStylesheet$1(node) {
56300 return this.visitCssStylesheet$body$_EvaluateVisitor(node);
56301 },
56302 visitCssStylesheet$body$_EvaluateVisitor(node) {
56303 var $async$goto = 0,
56304 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56305 $async$self = this, t1;
56306 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56307 if ($async$errorCode === 1)
56308 return A._asyncRethrow($async$result, $async$completer);
56309 while (true)
56310 switch ($async$goto) {
56311 case 0:
56312 // Function start
56313 t1 = J.get$iterator$ax(node.get$children(node));
56314 case 2:
56315 // for condition
56316 if (!t1.moveNext$0()) {
56317 // goto after for
56318 $async$goto = 3;
56319 break;
56320 }
56321 $async$goto = 4;
56322 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
56323 case 4:
56324 // returning from await.
56325 // goto for condition
56326 $async$goto = 2;
56327 break;
56328 case 3:
56329 // after for
56330 // implicit return
56331 return A._asyncReturn(null, $async$completer);
56332 }
56333 });
56334 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
56335 },
56336 visitCssSupportsRule$1(node) {
56337 return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
56338 },
56339 visitCssSupportsRule$body$_EvaluateVisitor(node) {
56340 var $async$goto = 0,
56341 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56342 $async$self = this;
56343 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56344 if ($async$errorCode === 1)
56345 return A._asyncRethrow($async$result, $async$completer);
56346 while (true)
56347 switch ($async$goto) {
56348 case 0:
56349 // Function start
56350 if ($async$self._async_evaluate$_declarationName != null)
56351 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
56352 $async$goto = 2;
56353 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);
56354 case 2:
56355 // returning from await.
56356 // implicit return
56357 return A._asyncReturn(null, $async$completer);
56358 }
56359 });
56360 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
56361 },
56362 _async_evaluate$_handleReturn$1$2(list, callback) {
56363 return this._handleReturn$body$_EvaluateVisitor(list, callback);
56364 },
56365 _async_evaluate$_handleReturn$2(list, callback) {
56366 return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
56367 },
56368 _handleReturn$body$_EvaluateVisitor(list, callback) {
56369 var $async$goto = 0,
56370 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
56371 $async$returnValue, t1, _i, result;
56372 var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56373 if ($async$errorCode === 1)
56374 return A._asyncRethrow($async$result, $async$completer);
56375 while (true)
56376 switch ($async$goto) {
56377 case 0:
56378 // Function start
56379 t1 = list.length, _i = 0;
56380 case 3:
56381 // for condition
56382 if (!(_i < list.length)) {
56383 // goto after for
56384 $async$goto = 5;
56385 break;
56386 }
56387 $async$goto = 6;
56388 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
56389 case 6:
56390 // returning from await.
56391 result = $async$result;
56392 if (result != null) {
56393 $async$returnValue = result;
56394 // goto return
56395 $async$goto = 1;
56396 break;
56397 }
56398 case 4:
56399 // for update
56400 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
56401 // goto for condition
56402 $async$goto = 3;
56403 break;
56404 case 5:
56405 // after for
56406 $async$returnValue = null;
56407 // goto return
56408 $async$goto = 1;
56409 break;
56410 case 1:
56411 // return
56412 return A._asyncReturn($async$returnValue, $async$completer);
56413 }
56414 });
56415 return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
56416 },
56417 _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
56418 return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
56419 },
56420 _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
56421 var $async$goto = 0,
56422 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56423 $async$returnValue, $async$self = this, result, oldEnvironment;
56424 var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56425 if ($async$errorCode === 1)
56426 return A._asyncRethrow($async$result, $async$completer);
56427 while (true)
56428 switch ($async$goto) {
56429 case 0:
56430 // Function start
56431 oldEnvironment = $async$self._async_evaluate$_environment;
56432 $async$self._async_evaluate$_environment = environment;
56433 $async$goto = 3;
56434 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
56435 case 3:
56436 // returning from await.
56437 result = $async$result;
56438 $async$self._async_evaluate$_environment = oldEnvironment;
56439 $async$returnValue = result;
56440 // goto return
56441 $async$goto = 1;
56442 break;
56443 case 1:
56444 // return
56445 return A._asyncReturn($async$returnValue, $async$completer);
56446 }
56447 });
56448 return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
56449 },
56450 _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
56451 return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
56452 },
56453 _async_evaluate$_interpolationToValue$1(interpolation) {
56454 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
56455 },
56456 _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
56457 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
56458 },
56459 _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
56460 var $async$goto = 0,
56461 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
56462 $async$returnValue, $async$self = this, result, t1;
56463 var $async$_async_evaluate$_interpolationToValue$3$trim$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 $async$goto = 3;
56471 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
56472 case 3:
56473 // returning from await.
56474 result = $async$result;
56475 t1 = trim ? A.trimAscii(result, true) : result;
56476 $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
56477 // goto return
56478 $async$goto = 1;
56479 break;
56480 case 1:
56481 // return
56482 return A._asyncReturn($async$returnValue, $async$completer);
56483 }
56484 });
56485 return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
56486 },
56487 _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
56488 return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
56489 },
56490 _async_evaluate$_performInterpolation$1(interpolation) {
56491 return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
56492 },
56493 _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
56494 var $async$goto = 0,
56495 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56496 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
56497 var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56498 if ($async$errorCode === 1)
56499 return A._asyncRethrow($async$result, $async$completer);
56500 while (true)
56501 switch ($async$goto) {
56502 case 0:
56503 // Function start
56504 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
56505 $async$self._async_evaluate$_inSupportsDeclaration = false;
56506 $async$temp1 = J;
56507 $async$goto = 3;
56508 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);
56509 case 3:
56510 // returning from await.
56511 result = $async$temp1.join$0$ax($async$result);
56512 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
56513 $async$returnValue = result;
56514 // goto return
56515 $async$goto = 1;
56516 break;
56517 case 1:
56518 // return
56519 return A._asyncReturn($async$returnValue, $async$completer);
56520 }
56521 });
56522 return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
56523 },
56524 _evaluateToCss$2$quote(expression, quote) {
56525 return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
56526 },
56527 _evaluateToCss$1(expression) {
56528 return this._evaluateToCss$2$quote(expression, true);
56529 },
56530 _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
56531 var $async$goto = 0,
56532 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56533 $async$returnValue, $async$self = this;
56534 var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56535 if ($async$errorCode === 1)
56536 return A._asyncRethrow($async$result, $async$completer);
56537 while (true)
56538 switch ($async$goto) {
56539 case 0:
56540 // Function start
56541 $async$goto = 3;
56542 return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
56543 case 3:
56544 // returning from await.
56545 $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
56546 // goto return
56547 $async$goto = 1;
56548 break;
56549 case 1:
56550 // return
56551 return A._asyncReturn($async$returnValue, $async$completer);
56552 }
56553 });
56554 return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
56555 },
56556 _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
56557 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
56558 },
56559 _async_evaluate$_serialize$2(value, nodeWithSpan) {
56560 return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
56561 },
56562 _async_evaluate$_expressionNode$1(expression) {
56563 var t1;
56564 if (expression instanceof A.VariableExpression) {
56565 t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
56566 return t1 == null ? expression : t1;
56567 } else
56568 return expression;
56569 },
56570 _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
56571 return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
56572 },
56573 _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
56574 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
56575 },
56576 _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
56577 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
56578 },
56579 _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
56580 var $async$goto = 0,
56581 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56582 $async$returnValue, $async$self = this, t1, result;
56583 var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56584 if ($async$errorCode === 1)
56585 return A._asyncRethrow($async$result, $async$completer);
56586 while (true)
56587 switch ($async$goto) {
56588 case 0:
56589 // Function start
56590 $async$self._async_evaluate$_addChild$2$through(node, through);
56591 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
56592 $async$self._async_evaluate$__parent = node;
56593 $async$goto = 3;
56594 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
56595 case 3:
56596 // returning from await.
56597 result = $async$result;
56598 $async$self._async_evaluate$__parent = t1;
56599 $async$returnValue = result;
56600 // goto return
56601 $async$goto = 1;
56602 break;
56603 case 1:
56604 // return
56605 return A._asyncReturn($async$returnValue, $async$completer);
56606 }
56607 });
56608 return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
56609 },
56610 _async_evaluate$_addChild$2$through(node, through) {
56611 var grandparent, t1,
56612 $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
56613 if (through != null) {
56614 for (; through.call$1($parent); $parent = grandparent) {
56615 grandparent = $parent._parent;
56616 if (grandparent == null)
56617 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
56618 }
56619 if ($parent.get$hasFollowingSibling()) {
56620 t1 = $parent._parent;
56621 t1.toString;
56622 $parent = $parent.copyWithoutChildren$0();
56623 t1.addChild$1($parent);
56624 }
56625 }
56626 $parent.addChild$1(node);
56627 },
56628 _async_evaluate$_addChild$1(node) {
56629 return this._async_evaluate$_addChild$2$through(node, null);
56630 },
56631 _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
56632 return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
56633 },
56634 _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
56635 var $async$goto = 0,
56636 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56637 $async$returnValue, $async$self = this, result, oldRule;
56638 var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56639 if ($async$errorCode === 1)
56640 return A._asyncRethrow($async$result, $async$completer);
56641 while (true)
56642 switch ($async$goto) {
56643 case 0:
56644 // Function start
56645 oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56646 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
56647 $async$goto = 3;
56648 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
56649 case 3:
56650 // returning from await.
56651 result = $async$result;
56652 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
56653 $async$returnValue = result;
56654 // goto return
56655 $async$goto = 1;
56656 break;
56657 case 1:
56658 // return
56659 return A._asyncReturn($async$returnValue, $async$completer);
56660 }
56661 });
56662 return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
56663 },
56664 _async_evaluate$_withMediaQueries$1$2(queries, callback, $T) {
56665 return this._withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $T);
56666 },
56667 _withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $async$type) {
56668 var $async$goto = 0,
56669 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56670 $async$returnValue, $async$self = this, result, oldMediaQueries;
56671 var $async$_async_evaluate$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56672 if ($async$errorCode === 1)
56673 return A._asyncRethrow($async$result, $async$completer);
56674 while (true)
56675 switch ($async$goto) {
56676 case 0:
56677 // Function start
56678 oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
56679 $async$self._async_evaluate$_mediaQueries = queries;
56680 $async$goto = 3;
56681 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$2);
56682 case 3:
56683 // returning from await.
56684 result = $async$result;
56685 $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
56686 $async$returnValue = result;
56687 // goto return
56688 $async$goto = 1;
56689 break;
56690 case 1:
56691 // return
56692 return A._asyncReturn($async$returnValue, $async$completer);
56693 }
56694 });
56695 return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$2, $async$completer);
56696 },
56697 _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
56698 return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
56699 },
56700 _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
56701 var $async$goto = 0,
56702 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56703 $async$returnValue, $async$self = this, oldMember, result, t1;
56704 var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56705 if ($async$errorCode === 1)
56706 return A._asyncRethrow($async$result, $async$completer);
56707 while (true)
56708 switch ($async$goto) {
56709 case 0:
56710 // Function start
56711 t1 = $async$self._async_evaluate$_stack;
56712 t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
56713 oldMember = $async$self._async_evaluate$_member;
56714 $async$self._async_evaluate$_member = member;
56715 $async$goto = 3;
56716 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
56717 case 3:
56718 // returning from await.
56719 result = $async$result;
56720 $async$self._async_evaluate$_member = oldMember;
56721 t1.pop();
56722 $async$returnValue = result;
56723 // goto return
56724 $async$goto = 1;
56725 break;
56726 case 1:
56727 // return
56728 return A._asyncReturn($async$returnValue, $async$completer);
56729 }
56730 });
56731 return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
56732 },
56733 _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
56734 if (value instanceof A.SassNumber && value.asSlash != null)
56735 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);
56736 return value.withoutSlash$0();
56737 },
56738 _async_evaluate$_stackFrame$2(member, span) {
56739 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure0(this)));
56740 },
56741 _async_evaluate$_stackTrace$1(span) {
56742 var _this = this,
56743 t1 = _this._async_evaluate$_stack;
56744 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);
56745 if (span != null)
56746 t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
56747 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
56748 },
56749 _async_evaluate$_stackTrace$0() {
56750 return this._async_evaluate$_stackTrace$1(null);
56751 },
56752 _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
56753 var t1, _this = this;
56754 if (_this._async_evaluate$_quietDeps)
56755 if (!_this._async_evaluate$_inDependency) {
56756 t1 = _this._async_evaluate$_currentCallable;
56757 t1 = t1 == null ? null : t1.inDependency;
56758 t1 = t1 === true;
56759 } else
56760 t1 = true;
56761 else
56762 t1 = false;
56763 if (t1)
56764 return;
56765 if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
56766 return;
56767 _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
56768 },
56769 _async_evaluate$_warn$2(message, span) {
56770 return this._async_evaluate$_warn$3$deprecation(message, span, false);
56771 },
56772 _async_evaluate$_exception$2(message, span) {
56773 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
56774 return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
56775 },
56776 _async_evaluate$_exception$1(message) {
56777 return this._async_evaluate$_exception$2(message, null);
56778 },
56779 _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
56780 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
56781 return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
56782 },
56783 _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
56784 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
56785 try {
56786 t1 = callback.call$0();
56787 return t1;
56788 } catch (exception) {
56789 t1 = A.unwrapException(exception);
56790 if (t1 instanceof A.SassFormatException) {
56791 error = t1;
56792 stackTrace = A.getTraceFromException(exception);
56793 t1 = error;
56794 t2 = J.getInterceptor$z(t1);
56795 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
56796 span = nodeWithSpan.get$span(nodeWithSpan);
56797 t1 = span;
56798 t2 = span;
56799 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);
56800 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
56801 t1 = span;
56802 t1 = A.FileLocation$_(t1.file, t1._file$_start);
56803 t3 = error;
56804 t4 = J.getInterceptor$z(t3);
56805 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
56806 t3 = A.FileLocation$_(t3.file, t3._file$_start);
56807 t4 = span;
56808 t4 = A.FileLocation$_(t4.file, t4._file$_start);
56809 t5 = error;
56810 t6 = J.getInterceptor$z(t5);
56811 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
56812 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
56813 A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
56814 } else
56815 throw exception;
56816 }
56817 },
56818 _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
56819 return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
56820 },
56821 _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
56822 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
56823 try {
56824 t1 = callback.call$0();
56825 return t1;
56826 } catch (exception) {
56827 t1 = A.unwrapException(exception);
56828 if (t1 instanceof A.MultiSpanSassScriptException) {
56829 error = t1;
56830 stackTrace = A.getTraceFromException(exception);
56831 t1 = error.message;
56832 t2 = nodeWithSpan.get$span(nodeWithSpan);
56833 t3 = error.primaryLabel;
56834 t4 = error.secondarySpans;
56835 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);
56836 } else if (t1 instanceof A.SassScriptException) {
56837 error0 = t1;
56838 stackTrace0 = A.getTraceFromException(exception);
56839 A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56840 } else
56841 throw exception;
56842 }
56843 },
56844 _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
56845 return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
56846 },
56847 _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
56848 return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56849 },
56850 _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56851 var $async$goto = 0,
56852 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56853 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
56854 var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56855 if ($async$errorCode === 1) {
56856 $async$currentError = $async$result;
56857 $async$goto = $async$handler;
56858 }
56859 while (true)
56860 switch ($async$goto) {
56861 case 0:
56862 // Function start
56863 $async$handler = 4;
56864 $async$goto = 7;
56865 return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
56866 case 7:
56867 // returning from await.
56868 t1 = $async$result;
56869 $async$returnValue = t1;
56870 // goto return
56871 $async$goto = 1;
56872 break;
56873 $async$handler = 2;
56874 // goto after finally
56875 $async$goto = 6;
56876 break;
56877 case 4:
56878 // catch
56879 $async$handler = 3;
56880 $async$exception = $async$currentError;
56881 t1 = A.unwrapException($async$exception);
56882 if (t1 instanceof A.MultiSpanSassScriptException) {
56883 error = t1;
56884 stackTrace = A.getTraceFromException($async$exception);
56885 t1 = error.message;
56886 t2 = nodeWithSpan.get$span(nodeWithSpan);
56887 t3 = error.primaryLabel;
56888 t4 = error.secondarySpans;
56889 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);
56890 } else if (t1 instanceof A.SassScriptException) {
56891 error0 = t1;
56892 stackTrace0 = A.getTraceFromException($async$exception);
56893 A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56894 } else
56895 throw $async$exception;
56896 // goto after finally
56897 $async$goto = 6;
56898 break;
56899 case 3:
56900 // uncaught
56901 // goto rethrow
56902 $async$goto = 2;
56903 break;
56904 case 6:
56905 // after finally
56906 case 1:
56907 // return
56908 return A._asyncReturn($async$returnValue, $async$completer);
56909 case 2:
56910 // rethrow
56911 return A._asyncRethrow($async$currentError, $async$completer);
56912 }
56913 });
56914 return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
56915 },
56916 _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
56917 return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56918 },
56919 _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56920 var $async$goto = 0,
56921 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56922 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
56923 var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56924 if ($async$errorCode === 1) {
56925 $async$currentError = $async$result;
56926 $async$goto = $async$handler;
56927 }
56928 while (true)
56929 switch ($async$goto) {
56930 case 0:
56931 // Function start
56932 $async$handler = 4;
56933 $async$goto = 7;
56934 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
56935 case 7:
56936 // returning from await.
56937 t1 = $async$result;
56938 $async$returnValue = t1;
56939 // goto return
56940 $async$goto = 1;
56941 break;
56942 $async$handler = 2;
56943 // goto after finally
56944 $async$goto = 6;
56945 break;
56946 case 4:
56947 // catch
56948 $async$handler = 3;
56949 $async$exception = $async$currentError;
56950 t1 = A.unwrapException($async$exception);
56951 if (type$.SassRuntimeException._is(t1)) {
56952 error = t1;
56953 stackTrace = A.getTraceFromException($async$exception);
56954 t1 = J.get$span$z(error);
56955 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"))
56956 throw $async$exception;
56957 t1 = error._span_exception$_message;
56958 t2 = nodeWithSpan.get$span(nodeWithSpan);
56959 A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
56960 } else
56961 throw $async$exception;
56962 // goto after finally
56963 $async$goto = 6;
56964 break;
56965 case 3:
56966 // uncaught
56967 // goto rethrow
56968 $async$goto = 2;
56969 break;
56970 case 6:
56971 // after finally
56972 case 1:
56973 // return
56974 return A._asyncReturn($async$returnValue, $async$completer);
56975 case 2:
56976 // rethrow
56977 return A._asyncRethrow($async$currentError, $async$completer);
56978 }
56979 });
56980 return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
56981 }
56982 };
56983 A._EvaluateVisitor_closure9.prototype = {
56984 call$1($arguments) {
56985 var module, t2,
56986 t1 = J.getInterceptor$asx($arguments),
56987 variable = t1.$index($arguments, 0).assertString$1("name");
56988 t1 = t1.$index($arguments, 1).get$realNull();
56989 module = t1 == null ? null : t1.assertString$1("module");
56990 t1 = this.$this._async_evaluate$_environment;
56991 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56992 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
56993 },
56994 $signature: 17
56995 };
56996 A._EvaluateVisitor_closure10.prototype = {
56997 call$1($arguments) {
56998 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
56999 t1 = this.$this._async_evaluate$_environment;
57000 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
57001 },
57002 $signature: 17
57003 };
57004 A._EvaluateVisitor_closure11.prototype = {
57005 call$1($arguments) {
57006 var module, t2, t3, t4,
57007 t1 = J.getInterceptor$asx($arguments),
57008 variable = t1.$index($arguments, 0).assertString$1("name");
57009 t1 = t1.$index($arguments, 1).get$realNull();
57010 module = t1 == null ? null : t1.assertString$1("module");
57011 t1 = this.$this;
57012 t2 = t1._async_evaluate$_environment;
57013 t3 = variable._string$_text;
57014 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
57015 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;
57016 },
57017 $signature: 17
57018 };
57019 A._EvaluateVisitor_closure12.prototype = {
57020 call$1($arguments) {
57021 var module, t2,
57022 t1 = J.getInterceptor$asx($arguments),
57023 variable = t1.$index($arguments, 0).assertString$1("name");
57024 t1 = t1.$index($arguments, 1).get$realNull();
57025 module = t1 == null ? null : t1.assertString$1("module");
57026 t1 = this.$this._async_evaluate$_environment;
57027 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
57028 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
57029 },
57030 $signature: 17
57031 };
57032 A._EvaluateVisitor_closure13.prototype = {
57033 call$1($arguments) {
57034 var t1 = this.$this._async_evaluate$_environment;
57035 if (!t1._async_environment$_inMixin)
57036 throw A.wrapException(A.SassScriptException$(string$.conten));
57037 return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
57038 },
57039 $signature: 17
57040 };
57041 A._EvaluateVisitor_closure14.prototype = {
57042 call$1($arguments) {
57043 var t2, t3, t4,
57044 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
57045 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
57046 if (module == null)
57047 throw A.wrapException('There is no module with namespace "' + t1 + '".');
57048 t1 = type$.Value;
57049 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
57050 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
57051 t4 = t3.get$current(t3);
57052 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
57053 }
57054 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
57055 },
57056 $signature: 37
57057 };
57058 A._EvaluateVisitor_closure15.prototype = {
57059 call$1($arguments) {
57060 var t2, t3, t4,
57061 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
57062 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
57063 if (module == null)
57064 throw A.wrapException('There is no module with namespace "' + t1 + '".');
57065 t1 = type$.Value;
57066 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
57067 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
57068 t4 = t3.get$current(t3);
57069 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
57070 }
57071 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
57072 },
57073 $signature: 37
57074 };
57075 A._EvaluateVisitor_closure16.prototype = {
57076 call$1($arguments) {
57077 var module, callable, t2,
57078 t1 = J.getInterceptor$asx($arguments),
57079 $name = t1.$index($arguments, 0).assertString$1("name"),
57080 css = t1.$index($arguments, 1).get$isTruthy();
57081 t1 = t1.$index($arguments, 2).get$realNull();
57082 module = t1 == null ? null : t1.assertString$1("module");
57083 if (css && module != null)
57084 throw A.wrapException(string$.x24css_a);
57085 if (css)
57086 callable = new A.PlainCssCallable($name._string$_text);
57087 else {
57088 t1 = this.$this;
57089 t2 = t1._async_evaluate$_callableNode;
57090 t2.toString;
57091 callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
57092 }
57093 if (callable != null)
57094 return new A.SassFunction(callable);
57095 throw A.wrapException("Function not found: " + $name.toString$0(0));
57096 },
57097 $signature: 164
57098 };
57099 A._EvaluateVisitor__closure4.prototype = {
57100 call$0() {
57101 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
57102 t2 = this.module;
57103 t2 = t2 == null ? null : t2._string$_text;
57104 return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
57105 },
57106 $signature: 129
57107 };
57108 A._EvaluateVisitor_closure17.prototype = {
57109 call$1($arguments) {
57110 return this.$call$body$_EvaluateVisitor_closure0($arguments);
57111 },
57112 $call$body$_EvaluateVisitor_closure0($arguments) {
57113 var $async$goto = 0,
57114 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
57115 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
57116 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57117 if ($async$errorCode === 1)
57118 return A._asyncRethrow($async$result, $async$completer);
57119 while (true)
57120 switch ($async$goto) {
57121 case 0:
57122 // Function start
57123 t1 = J.getInterceptor$asx($arguments);
57124 $function = t1.$index($arguments, 0);
57125 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
57126 t1 = $async$self.$this;
57127 t2 = t1._async_evaluate$_callableNode;
57128 t2.toString;
57129 t3 = A._setArrayType([], type$.JSArray_Expression);
57130 t4 = type$.String;
57131 t5 = type$.Expression;
57132 t6 = t2.get$span(t2);
57133 t7 = t2.get$span(t2);
57134 args._wereKeywordsAccessed = true;
57135 t8 = args._keywords;
57136 if (t8.get$isEmpty(t8))
57137 t2 = null;
57138 else {
57139 t9 = type$.Value;
57140 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
57141 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
57142 t11 = t8.get$current(t8);
57143 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
57144 }
57145 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
57146 }
57147 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);
57148 $async$goto = $function instanceof A.SassString ? 3 : 4;
57149 break;
57150 case 3:
57151 // then
57152 t2 = $function.toString$0(0);
57153 A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
57154 callableNode = t1._async_evaluate$_callableNode;
57155 $async$goto = 5;
57156 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
57157 case 5:
57158 // returning from await.
57159 $async$returnValue = $async$result;
57160 // goto return
57161 $async$goto = 1;
57162 break;
57163 case 4:
57164 // join
57165 t2 = $function.assertFunction$1("function");
57166 t3 = t1._async_evaluate$_callableNode;
57167 t3.toString;
57168 $async$goto = 6;
57169 return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
57170 case 6:
57171 // returning from await.
57172 t3 = $async$result;
57173 $async$returnValue = t3;
57174 // goto return
57175 $async$goto = 1;
57176 break;
57177 case 1:
57178 // return
57179 return A._asyncReturn($async$returnValue, $async$completer);
57180 }
57181 });
57182 return A._asyncStartSync($async$call$1, $async$completer);
57183 },
57184 $signature: 208
57185 };
57186 A._EvaluateVisitor_closure18.prototype = {
57187 call$1($arguments) {
57188 return this.$call$body$_EvaluateVisitor_closure($arguments);
57189 },
57190 $call$body$_EvaluateVisitor_closure($arguments) {
57191 var $async$goto = 0,
57192 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57193 $async$self = this, withMap, t2, values, configuration, t1, url;
57194 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57195 if ($async$errorCode === 1)
57196 return A._asyncRethrow($async$result, $async$completer);
57197 while (true)
57198 switch ($async$goto) {
57199 case 0:
57200 // Function start
57201 t1 = J.getInterceptor$asx($arguments);
57202 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
57203 t1 = t1.$index($arguments, 1).get$realNull();
57204 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
57205 t1 = $async$self.$this;
57206 t2 = t1._async_evaluate$_callableNode;
57207 t2.toString;
57208 if (withMap != null) {
57209 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
57210 withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
57211 configuration = new A.ExplicitConfiguration(t2, values);
57212 } else
57213 configuration = B.Configuration_Map_empty;
57214 $async$goto = 2;
57215 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);
57216 case 2:
57217 // returning from await.
57218 t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
57219 // implicit return
57220 return A._asyncReturn(null, $async$completer);
57221 }
57222 });
57223 return A._asyncStartSync($async$call$1, $async$completer);
57224 },
57225 $signature: 411
57226 };
57227 A._EvaluateVisitor__closure2.prototype = {
57228 call$2(variable, value) {
57229 var t1 = variable.assertString$1("with key"),
57230 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
57231 t1 = this.values;
57232 if (t1.containsKey$1($name))
57233 throw A.wrapException("The variable $" + $name + " was configured twice.");
57234 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
57235 },
57236 $signature: 52
57237 };
57238 A._EvaluateVisitor__closure3.prototype = {
57239 call$1(module) {
57240 var t1 = this.$this;
57241 return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
57242 },
57243 $signature: 163
57244 };
57245 A._EvaluateVisitor_run_closure0.prototype = {
57246 call$0() {
57247 var $async$goto = 0,
57248 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
57249 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
57250 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57251 if ($async$errorCode === 1)
57252 return A._asyncRethrow($async$result, $async$completer);
57253 while (true)
57254 switch ($async$goto) {
57255 case 0:
57256 // Function start
57257 t1 = $async$self.node;
57258 url = t1.span.file.url;
57259 if (url != null) {
57260 t2 = $async$self.$this;
57261 t2._async_evaluate$_activeModules.$indexSet(0, url, null);
57262 t2._async_evaluate$_loadedUrls.add$1(0, url);
57263 }
57264 t2 = $async$self.$this;
57265 $async$temp1 = A;
57266 $async$temp2 = t2;
57267 $async$goto = 3;
57268 return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
57269 case 3:
57270 // returning from await.
57271 $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
57272 // goto return
57273 $async$goto = 1;
57274 break;
57275 case 1:
57276 // return
57277 return A._asyncReturn($async$returnValue, $async$completer);
57278 }
57279 });
57280 return A._asyncStartSync($async$call$0, $async$completer);
57281 },
57282 $signature: 421
57283 };
57284 A._EvaluateVisitor__loadModule_closure1.prototype = {
57285 call$0() {
57286 return this.callback.call$1(this.builtInModule);
57287 },
57288 $signature: 0
57289 };
57290 A._EvaluateVisitor__loadModule_closure2.prototype = {
57291 call$0() {
57292 var $async$goto = 0,
57293 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57294 $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;
57295 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57296 if ($async$errorCode === 1) {
57297 $async$currentError = $async$result;
57298 $async$goto = $async$handler;
57299 }
57300 while (true)
57301 switch ($async$goto) {
57302 case 0:
57303 // Function start
57304 t1 = $async$self.$this;
57305 t2 = $async$self.nodeWithSpan;
57306 $async$goto = 2;
57307 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);
57308 case 2:
57309 // returning from await.
57310 result = $async$result;
57311 stylesheet = result.stylesheet;
57312 canonicalUrl = stylesheet.span.file.url;
57313 if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
57314 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
57315 t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
57316 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
57317 }
57318 if (canonicalUrl != null)
57319 t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
57320 oldInDependency = t1._async_evaluate$_inDependency;
57321 t1._async_evaluate$_inDependency = result.isDependency;
57322 module = null;
57323 $async$handler = 3;
57324 $async$goto = 6;
57325 return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
57326 case 6:
57327 // returning from await.
57328 module = $async$result;
57329 $async$next.push(5);
57330 // goto finally
57331 $async$goto = 4;
57332 break;
57333 case 3:
57334 // uncaught
57335 $async$next = [1];
57336 case 4:
57337 // finally
57338 $async$handler = 1;
57339 t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
57340 t1._async_evaluate$_inDependency = oldInDependency;
57341 // goto the next finally handler
57342 $async$goto = $async$next.pop();
57343 break;
57344 case 5:
57345 // after finally
57346 $async$handler = 8;
57347 $async$goto = 11;
57348 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
57349 case 11:
57350 // returning from await.
57351 $async$handler = 1;
57352 // goto after finally
57353 $async$goto = 10;
57354 break;
57355 case 8:
57356 // catch
57357 $async$handler = 7;
57358 $async$exception = $async$currentError;
57359 t2 = A.unwrapException($async$exception);
57360 if (type$.SassRuntimeException._is(t2))
57361 throw $async$exception;
57362 else if (t2 instanceof A.MultiSpanSassException) {
57363 error = t2;
57364 stackTrace = A.getTraceFromException($async$exception);
57365 t2 = error._span_exception$_message;
57366 t3 = error;
57367 t4 = J.getInterceptor$z(t3);
57368 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
57369 t4 = error.primaryLabel;
57370 t5 = error.secondarySpans;
57371 t6 = error;
57372 t7 = J.getInterceptor$z(t6);
57373 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);
57374 } else if (t2 instanceof A.SassException) {
57375 error0 = t2;
57376 stackTrace0 = A.getTraceFromException($async$exception);
57377 t2 = error0;
57378 t3 = J.getInterceptor$z(t2);
57379 A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
57380 } else if (t2 instanceof A.MultiSpanSassScriptException) {
57381 error1 = t2;
57382 stackTrace1 = A.getTraceFromException($async$exception);
57383 A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
57384 } else if (t2 instanceof A.SassScriptException) {
57385 error2 = t2;
57386 stackTrace2 = A.getTraceFromException($async$exception);
57387 A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
57388 } else
57389 throw $async$exception;
57390 // goto after finally
57391 $async$goto = 10;
57392 break;
57393 case 7:
57394 // uncaught
57395 // goto rethrow
57396 $async$goto = 1;
57397 break;
57398 case 10:
57399 // after finally
57400 // implicit return
57401 return A._asyncReturn(null, $async$completer);
57402 case 1:
57403 // rethrow
57404 return A._asyncRethrow($async$currentError, $async$completer);
57405 }
57406 });
57407 return A._asyncStartSync($async$call$0, $async$completer);
57408 },
57409 $signature: 2
57410 };
57411 A._EvaluateVisitor__loadModule__closure0.prototype = {
57412 call$1(previousLoad) {
57413 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));
57414 },
57415 $signature: 87
57416 };
57417 A._EvaluateVisitor__execute_closure0.prototype = {
57418 call$0() {
57419 var $async$goto = 0,
57420 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57421 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
57422 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57423 if ($async$errorCode === 1)
57424 return A._asyncRethrow($async$result, $async$completer);
57425 while (true)
57426 switch ($async$goto) {
57427 case 0:
57428 // Function start
57429 t1 = $async$self.$this;
57430 oldImporter = t1._async_evaluate$_importer;
57431 oldStylesheet = t1._async_evaluate$__stylesheet;
57432 oldRoot = t1._async_evaluate$__root;
57433 oldParent = t1._async_evaluate$__parent;
57434 oldEndOfImports = t1._async_evaluate$__endOfImports;
57435 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57436 oldExtensionStore = t1._async_evaluate$__extensionStore;
57437 t2 = t1._async_evaluate$_atRootExcludingStyleRule;
57438 oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57439 oldMediaQueries = t1._async_evaluate$_mediaQueries;
57440 oldDeclarationName = t1._async_evaluate$_declarationName;
57441 oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57442 oldInKeyframes = t1._async_evaluate$_inKeyframes;
57443 oldConfiguration = t1._async_evaluate$_configuration;
57444 t1._async_evaluate$_importer = $async$self.importer;
57445 t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57446 t4 = t3.span;
57447 t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
57448 t1._async_evaluate$__endOfImports = 0;
57449 t1._async_evaluate$_outOfOrderImports = null;
57450 t1._async_evaluate$__extensionStore = $async$self.extensionStore;
57451 t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
57452 t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
57453 t6 = $async$self.configuration;
57454 if (t6 != null)
57455 t1._async_evaluate$_configuration = t6;
57456 $async$goto = 2;
57457 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
57458 case 2:
57459 // returning from await.
57460 t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
57461 $async$self.css._value = t3;
57462 t1._async_evaluate$_importer = oldImporter;
57463 t1._async_evaluate$__stylesheet = oldStylesheet;
57464 t1._async_evaluate$__root = oldRoot;
57465 t1._async_evaluate$__parent = oldParent;
57466 t1._async_evaluate$__endOfImports = oldEndOfImports;
57467 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
57468 t1._async_evaluate$__extensionStore = oldExtensionStore;
57469 t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
57470 t1._async_evaluate$_mediaQueries = oldMediaQueries;
57471 t1._async_evaluate$_declarationName = oldDeclarationName;
57472 t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
57473 t1._async_evaluate$_atRootExcludingStyleRule = t2;
57474 t1._async_evaluate$_inKeyframes = oldInKeyframes;
57475 t1._async_evaluate$_configuration = oldConfiguration;
57476 // implicit return
57477 return A._asyncReturn(null, $async$completer);
57478 }
57479 });
57480 return A._asyncStartSync($async$call$0, $async$completer);
57481 },
57482 $signature: 2
57483 };
57484 A._EvaluateVisitor__combineCss_closure2.prototype = {
57485 call$1(module) {
57486 return module.get$transitivelyContainsCss();
57487 },
57488 $signature: 143
57489 };
57490 A._EvaluateVisitor__combineCss_closure3.prototype = {
57491 call$1(target) {
57492 return !this.selectors.contains$1(0, target);
57493 },
57494 $signature: 16
57495 };
57496 A._EvaluateVisitor__combineCss_closure4.prototype = {
57497 call$1(module) {
57498 return module.cloneCss$0();
57499 },
57500 $signature: 436
57501 };
57502 A._EvaluateVisitor__extendModules_closure1.prototype = {
57503 call$1(target) {
57504 return !this.originalSelectors.contains$1(0, target);
57505 },
57506 $signature: 16
57507 };
57508 A._EvaluateVisitor__extendModules_closure2.prototype = {
57509 call$0() {
57510 return A._setArrayType([], type$.JSArray_ExtensionStore);
57511 },
57512 $signature: 161
57513 };
57514 A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
57515 call$1(module) {
57516 var t1, t2, t3, _i, upstream;
57517 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
57518 upstream = t1[_i];
57519 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
57520 this.call$1(upstream);
57521 }
57522 this.sorted.addFirst$1(module);
57523 },
57524 $signature: 163
57525 };
57526 A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
57527 call$0() {
57528 var t1 = A.SpanScanner$(this.resolved, null);
57529 return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
57530 },
57531 $signature: 104
57532 };
57533 A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
57534 call$0() {
57535 var $async$goto = 0,
57536 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57537 $async$self = this, t1, t2, t3, _i;
57538 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57539 if ($async$errorCode === 1)
57540 return A._asyncRethrow($async$result, $async$completer);
57541 while (true)
57542 switch ($async$goto) {
57543 case 0:
57544 // Function start
57545 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57546 case 2:
57547 // for condition
57548 if (!(_i < t2)) {
57549 // goto after for
57550 $async$goto = 4;
57551 break;
57552 }
57553 $async$goto = 5;
57554 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57555 case 5:
57556 // returning from await.
57557 case 3:
57558 // for update
57559 ++_i;
57560 // goto for condition
57561 $async$goto = 2;
57562 break;
57563 case 4:
57564 // after for
57565 // implicit return
57566 return A._asyncReturn(null, $async$completer);
57567 }
57568 });
57569 return A._asyncStartSync($async$call$0, $async$completer);
57570 },
57571 $signature: 2
57572 };
57573 A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
57574 call$0() {
57575 var $async$goto = 0,
57576 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57577 $async$self = this, t1, t2, t3, _i;
57578 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57579 if ($async$errorCode === 1)
57580 return A._asyncRethrow($async$result, $async$completer);
57581 while (true)
57582 switch ($async$goto) {
57583 case 0:
57584 // Function start
57585 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57586 case 2:
57587 // for condition
57588 if (!(_i < t2)) {
57589 // goto after for
57590 $async$goto = 4;
57591 break;
57592 }
57593 $async$goto = 5;
57594 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57595 case 5:
57596 // returning from await.
57597 case 3:
57598 // for update
57599 ++_i;
57600 // goto for condition
57601 $async$goto = 2;
57602 break;
57603 case 4:
57604 // after for
57605 // implicit return
57606 return A._asyncReturn(null, $async$completer);
57607 }
57608 });
57609 return A._asyncStartSync($async$call$0, $async$completer);
57610 },
57611 $signature: 34
57612 };
57613 A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
57614 call$1(callback) {
57615 var $async$goto = 0,
57616 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57617 $async$self = this, t1, t2;
57618 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57619 if ($async$errorCode === 1)
57620 return A._asyncRethrow($async$result, $async$completer);
57621 while (true)
57622 switch ($async$goto) {
57623 case 0:
57624 // Function start
57625 t1 = $async$self.$this;
57626 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57627 t1._async_evaluate$__parent = $async$self.newParent;
57628 $async$goto = 2;
57629 return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
57630 case 2:
57631 // returning from await.
57632 t1._async_evaluate$__parent = t2;
57633 // implicit return
57634 return A._asyncReturn(null, $async$completer);
57635 }
57636 });
57637 return A._asyncStartSync($async$call$1, $async$completer);
57638 },
57639 $signature: 32
57640 };
57641 A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
57642 call$1(callback) {
57643 var $async$goto = 0,
57644 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57645 $async$self = this, t1, oldAtRootExcludingStyleRule;
57646 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57647 if ($async$errorCode === 1)
57648 return A._asyncRethrow($async$result, $async$completer);
57649 while (true)
57650 switch ($async$goto) {
57651 case 0:
57652 // Function start
57653 t1 = $async$self.$this;
57654 oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
57655 t1._async_evaluate$_atRootExcludingStyleRule = true;
57656 $async$goto = 2;
57657 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57658 case 2:
57659 // returning from await.
57660 t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
57661 // implicit return
57662 return A._asyncReturn(null, $async$completer);
57663 }
57664 });
57665 return A._asyncStartSync($async$call$1, $async$completer);
57666 },
57667 $signature: 32
57668 };
57669 A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
57670 call$1(callback) {
57671 return this.$this._async_evaluate$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
57672 },
57673 $signature: 32
57674 };
57675 A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
57676 call$0() {
57677 return this.innerScope.call$1(this.callback);
57678 },
57679 $signature: 2
57680 };
57681 A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
57682 call$1(callback) {
57683 var $async$goto = 0,
57684 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57685 $async$self = this, t1, wasInKeyframes;
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 wasInKeyframes = t1._async_evaluate$_inKeyframes;
57695 t1._async_evaluate$_inKeyframes = 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$_inKeyframes = wasInKeyframes;
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__scopeForAtRoot_closure9.prototype = {
57710 call$1($parent) {
57711 return type$.CssAtRule._is($parent);
57712 },
57713 $signature: 160
57714 };
57715 A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
57716 call$1(callback) {
57717 var $async$goto = 0,
57718 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57719 $async$self = this, t1, wasInUnknownAtRule;
57720 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57721 if ($async$errorCode === 1)
57722 return A._asyncRethrow($async$result, $async$completer);
57723 while (true)
57724 switch ($async$goto) {
57725 case 0:
57726 // Function start
57727 t1 = $async$self.$this;
57728 wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57729 t1._async_evaluate$_inUnknownAtRule = false;
57730 $async$goto = 2;
57731 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57732 case 2:
57733 // returning from await.
57734 t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
57735 // implicit return
57736 return A._asyncReturn(null, $async$completer);
57737 }
57738 });
57739 return A._asyncStartSync($async$call$1, $async$completer);
57740 },
57741 $signature: 32
57742 };
57743 A._EvaluateVisitor_visitContentRule_closure0.prototype = {
57744 call$0() {
57745 var $async$goto = 0,
57746 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57747 $async$returnValue, $async$self = this, t1, t2, t3, _i;
57748 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57749 if ($async$errorCode === 1)
57750 return A._asyncRethrow($async$result, $async$completer);
57751 while (true)
57752 switch ($async$goto) {
57753 case 0:
57754 // Function start
57755 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57756 case 3:
57757 // for condition
57758 if (!(_i < t2)) {
57759 // goto after for
57760 $async$goto = 5;
57761 break;
57762 }
57763 $async$goto = 6;
57764 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57765 case 6:
57766 // returning from await.
57767 case 4:
57768 // for update
57769 ++_i;
57770 // goto for condition
57771 $async$goto = 3;
57772 break;
57773 case 5:
57774 // after for
57775 $async$returnValue = null;
57776 // goto return
57777 $async$goto = 1;
57778 break;
57779 case 1:
57780 // return
57781 return A._asyncReturn($async$returnValue, $async$completer);
57782 }
57783 });
57784 return A._asyncStartSync($async$call$0, $async$completer);
57785 },
57786 $signature: 2
57787 };
57788 A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
57789 call$1(value) {
57790 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
57791 },
57792 $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
57793 var $async$goto = 0,
57794 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
57795 $async$returnValue, $async$self = this, $async$temp1;
57796 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57797 if ($async$errorCode === 1)
57798 return A._asyncRethrow($async$result, $async$completer);
57799 while (true)
57800 switch ($async$goto) {
57801 case 0:
57802 // Function start
57803 $async$temp1 = A;
57804 $async$goto = 3;
57805 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
57806 case 3:
57807 // returning from await.
57808 $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
57809 // goto return
57810 $async$goto = 1;
57811 break;
57812 case 1:
57813 // return
57814 return A._asyncReturn($async$returnValue, $async$completer);
57815 }
57816 });
57817 return A._asyncStartSync($async$call$1, $async$completer);
57818 },
57819 $signature: 448
57820 };
57821 A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
57822 call$0() {
57823 var $async$goto = 0,
57824 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57825 $async$self = this, t1, t2, t3, _i;
57826 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57827 if ($async$errorCode === 1)
57828 return A._asyncRethrow($async$result, $async$completer);
57829 while (true)
57830 switch ($async$goto) {
57831 case 0:
57832 // Function start
57833 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57834 case 2:
57835 // for condition
57836 if (!(_i < t2)) {
57837 // goto after for
57838 $async$goto = 4;
57839 break;
57840 }
57841 $async$goto = 5;
57842 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57843 case 5:
57844 // returning from await.
57845 case 3:
57846 // for update
57847 ++_i;
57848 // goto for condition
57849 $async$goto = 2;
57850 break;
57851 case 4:
57852 // after for
57853 // implicit return
57854 return A._asyncReturn(null, $async$completer);
57855 }
57856 });
57857 return A._asyncStartSync($async$call$0, $async$completer);
57858 },
57859 $signature: 2
57860 };
57861 A._EvaluateVisitor_visitEachRule_closure2.prototype = {
57862 call$1(value) {
57863 var t1 = this.$this,
57864 t2 = this.nodeWithSpan;
57865 return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
57866 },
57867 $signature: 56
57868 };
57869 A._EvaluateVisitor_visitEachRule_closure3.prototype = {
57870 call$1(value) {
57871 return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
57872 },
57873 $signature: 56
57874 };
57875 A._EvaluateVisitor_visitEachRule_closure4.prototype = {
57876 call$0() {
57877 var _this = this,
57878 t1 = _this.$this;
57879 return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
57880 },
57881 $signature: 68
57882 };
57883 A._EvaluateVisitor_visitEachRule__closure0.prototype = {
57884 call$1(element) {
57885 var t1;
57886 this.setVariables.call$1(element);
57887 t1 = this.$this;
57888 return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
57889 },
57890 $signature: 462
57891 };
57892 A._EvaluateVisitor_visitEachRule___closure0.prototype = {
57893 call$1(child) {
57894 return child.accept$1(this.$this);
57895 },
57896 $signature: 84
57897 };
57898 A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
57899 call$0() {
57900 var t1 = this.targetText;
57901 return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
57902 },
57903 $signature: 44
57904 };
57905 A._EvaluateVisitor_visitAtRule_closure2.prototype = {
57906 call$1(value) {
57907 return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
57908 },
57909 $signature: 472
57910 };
57911 A._EvaluateVisitor_visitAtRule_closure3.prototype = {
57912 call$0() {
57913 var $async$goto = 0,
57914 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57915 $async$self = this, t2, t3, _i, t1, styleRule;
57916 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57917 if ($async$errorCode === 1)
57918 return A._asyncRethrow($async$result, $async$completer);
57919 while (true)
57920 switch ($async$goto) {
57921 case 0:
57922 // Function start
57923 t1 = $async$self.$this;
57924 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57925 $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
57926 break;
57927 case 2:
57928 // then
57929 t2 = $async$self.children, t3 = t2.length, _i = 0;
57930 case 5:
57931 // for condition
57932 if (!(_i < t3)) {
57933 // goto after for
57934 $async$goto = 7;
57935 break;
57936 }
57937 $async$goto = 8;
57938 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
57939 case 8:
57940 // returning from await.
57941 case 6:
57942 // for update
57943 ++_i;
57944 // goto for condition
57945 $async$goto = 5;
57946 break;
57947 case 7:
57948 // after for
57949 // goto join
57950 $async$goto = 3;
57951 break;
57952 case 4:
57953 // else
57954 $async$goto = 9;
57955 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);
57956 case 9:
57957 // returning from await.
57958 case 3:
57959 // join
57960 // implicit return
57961 return A._asyncReturn(null, $async$completer);
57962 }
57963 });
57964 return A._asyncStartSync($async$call$0, $async$completer);
57965 },
57966 $signature: 2
57967 };
57968 A._EvaluateVisitor_visitAtRule__closure0.prototype = {
57969 call$0() {
57970 var $async$goto = 0,
57971 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57972 $async$self = this, t1, t2, t3, _i;
57973 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57974 if ($async$errorCode === 1)
57975 return A._asyncRethrow($async$result, $async$completer);
57976 while (true)
57977 switch ($async$goto) {
57978 case 0:
57979 // Function start
57980 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57981 case 2:
57982 // for condition
57983 if (!(_i < t2)) {
57984 // goto after for
57985 $async$goto = 4;
57986 break;
57987 }
57988 $async$goto = 5;
57989 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57990 case 5:
57991 // returning from await.
57992 case 3:
57993 // for update
57994 ++_i;
57995 // goto for condition
57996 $async$goto = 2;
57997 break;
57998 case 4:
57999 // after for
58000 // implicit return
58001 return A._asyncReturn(null, $async$completer);
58002 }
58003 });
58004 return A._asyncStartSync($async$call$0, $async$completer);
58005 },
58006 $signature: 2
58007 };
58008 A._EvaluateVisitor_visitAtRule_closure4.prototype = {
58009 call$1(node) {
58010 return type$.CssStyleRule._is(node);
58011 },
58012 $signature: 8
58013 };
58014 A._EvaluateVisitor_visitForRule_closure4.prototype = {
58015 call$0() {
58016 var $async$goto = 0,
58017 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
58018 $async$returnValue, $async$self = this;
58019 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58020 if ($async$errorCode === 1)
58021 return A._asyncRethrow($async$result, $async$completer);
58022 while (true)
58023 switch ($async$goto) {
58024 case 0:
58025 // Function start
58026 $async$goto = 3;
58027 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
58028 case 3:
58029 // returning from await.
58030 $async$returnValue = $async$result.assertNumber$0();
58031 // goto return
58032 $async$goto = 1;
58033 break;
58034 case 1:
58035 // return
58036 return A._asyncReturn($async$returnValue, $async$completer);
58037 }
58038 });
58039 return A._asyncStartSync($async$call$0, $async$completer);
58040 },
58041 $signature: 158
58042 };
58043 A._EvaluateVisitor_visitForRule_closure5.prototype = {
58044 call$0() {
58045 var $async$goto = 0,
58046 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
58047 $async$returnValue, $async$self = this;
58048 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58049 if ($async$errorCode === 1)
58050 return A._asyncRethrow($async$result, $async$completer);
58051 while (true)
58052 switch ($async$goto) {
58053 case 0:
58054 // Function start
58055 $async$goto = 3;
58056 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
58057 case 3:
58058 // returning from await.
58059 $async$returnValue = $async$result.assertNumber$0();
58060 // goto return
58061 $async$goto = 1;
58062 break;
58063 case 1:
58064 // return
58065 return A._asyncReturn($async$returnValue, $async$completer);
58066 }
58067 });
58068 return A._asyncStartSync($async$call$0, $async$completer);
58069 },
58070 $signature: 158
58071 };
58072 A._EvaluateVisitor_visitForRule_closure6.prototype = {
58073 call$0() {
58074 return this.fromNumber.assertInt$0();
58075 },
58076 $signature: 12
58077 };
58078 A._EvaluateVisitor_visitForRule_closure7.prototype = {
58079 call$0() {
58080 var t1 = this.fromNumber;
58081 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
58082 },
58083 $signature: 12
58084 };
58085 A._EvaluateVisitor_visitForRule_closure8.prototype = {
58086 call$0() {
58087 var $async$goto = 0,
58088 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58089 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
58090 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58091 if ($async$errorCode === 1)
58092 return A._asyncRethrow($async$result, $async$completer);
58093 while (true)
58094 switch ($async$goto) {
58095 case 0:
58096 // Function start
58097 t1 = $async$self.$this;
58098 t2 = $async$self.node;
58099 nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
58100 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
58101 case 3:
58102 // for condition
58103 if (!(i !== t3.to)) {
58104 // goto after for
58105 $async$goto = 5;
58106 break;
58107 }
58108 t7 = t1._async_evaluate$_environment;
58109 t8 = t6.get$numeratorUnits(t6);
58110 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
58111 $async$goto = 6;
58112 return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
58113 case 6:
58114 // returning from await.
58115 result = $async$result;
58116 if (result != null) {
58117 $async$returnValue = result;
58118 // goto return
58119 $async$goto = 1;
58120 break;
58121 }
58122 case 4:
58123 // for update
58124 i += t4;
58125 // goto for condition
58126 $async$goto = 3;
58127 break;
58128 case 5:
58129 // after for
58130 $async$returnValue = null;
58131 // goto return
58132 $async$goto = 1;
58133 break;
58134 case 1:
58135 // return
58136 return A._asyncReturn($async$returnValue, $async$completer);
58137 }
58138 });
58139 return A._asyncStartSync($async$call$0, $async$completer);
58140 },
58141 $signature: 68
58142 };
58143 A._EvaluateVisitor_visitForRule__closure0.prototype = {
58144 call$1(child) {
58145 return child.accept$1(this.$this);
58146 },
58147 $signature: 84
58148 };
58149 A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
58150 call$1(module) {
58151 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
58152 },
58153 $signature: 124
58154 };
58155 A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
58156 call$1(module) {
58157 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
58158 },
58159 $signature: 124
58160 };
58161 A._EvaluateVisitor_visitIfRule_closure0.prototype = {
58162 call$0() {
58163 var t1 = this.$this;
58164 return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
58165 },
58166 $signature: 68
58167 };
58168 A._EvaluateVisitor_visitIfRule__closure0.prototype = {
58169 call$1(child) {
58170 return child.accept$1(this.$this);
58171 },
58172 $signature: 84
58173 };
58174 A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
58175 call$0() {
58176 var $async$goto = 0,
58177 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58178 $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;
58179 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58180 if ($async$errorCode === 1)
58181 return A._asyncRethrow($async$result, $async$completer);
58182 while (true)
58183 switch ($async$goto) {
58184 case 0:
58185 // Function start
58186 t1 = $async$self.$this;
58187 t2 = $async$self.$import;
58188 $async$goto = 3;
58189 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
58190 case 3:
58191 // returning from await.
58192 result = $async$result;
58193 stylesheet = result.stylesheet;
58194 url = stylesheet.span.file.url;
58195 if (url != null) {
58196 t3 = t1._async_evaluate$_activeModules;
58197 if (t3.containsKey$1(url)) {
58198 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
58199 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
58200 }
58201 t3.$indexSet(0, url, t2);
58202 }
58203 t2 = stylesheet._uses;
58204 t3 = type$.UnmodifiableListView_UseRule;
58205 t4 = new A.UnmodifiableListView(t2, t3);
58206 if (t4.get$length(t4) === 0) {
58207 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
58208 t4 = t4.get$length(t4) === 0;
58209 } else
58210 t4 = false;
58211 $async$goto = t4 ? 4 : 5;
58212 break;
58213 case 4:
58214 // then
58215 oldImporter = t1._async_evaluate$_importer;
58216 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58217 oldInDependency = t1._async_evaluate$_inDependency;
58218 t1._async_evaluate$_importer = result.importer;
58219 t1._async_evaluate$__stylesheet = stylesheet;
58220 t1._async_evaluate$_inDependency = result.isDependency;
58221 $async$goto = 6;
58222 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
58223 case 6:
58224 // returning from await.
58225 t1._async_evaluate$_importer = oldImporter;
58226 t1._async_evaluate$__stylesheet = t2;
58227 t1._async_evaluate$_inDependency = oldInDependency;
58228 t1._async_evaluate$_activeModules.remove$1(0, url);
58229 // goto return
58230 $async$goto = 1;
58231 break;
58232 case 5:
58233 // join
58234 t2 = new A.UnmodifiableListView(t2, t3);
58235 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
58236 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
58237 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
58238 } else
58239 loadsUserDefinedModules = true;
58240 children = A._Cell$();
58241 t2 = t1._async_evaluate$_environment;
58242 t3 = type$.String;
58243 t4 = type$.Module_AsyncCallable;
58244 t5 = type$.AstNode;
58245 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
58246 t7 = t2._async_environment$_variables;
58247 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
58248 t8 = t2._async_environment$_variableNodes;
58249 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
58250 t9 = t2._async_environment$_functions;
58251 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
58252 t10 = t2._async_environment$_mixins;
58253 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
58254 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);
58255 $async$goto = 7;
58256 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);
58257 case 7:
58258 // returning from await.
58259 module = environment.toDummyModule$0();
58260 t1._async_evaluate$_environment.importForwards$1(module);
58261 $async$goto = loadsUserDefinedModules ? 8 : 9;
58262 break;
58263 case 8:
58264 // then
58265 $async$goto = module.transitivelyContainsCss ? 10 : 11;
58266 break;
58267 case 10:
58268 // then
58269 $async$goto = 12;
58270 return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
58271 case 12:
58272 // returning from await.
58273 case 11:
58274 // join
58275 visitor = new A._ImportedCssVisitor0(t1);
58276 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
58277 t2.get$current(t2).accept$1(visitor);
58278 case 9:
58279 // join
58280 t1._async_evaluate$_activeModules.remove$1(0, url);
58281 case 1:
58282 // return
58283 return A._asyncReturn($async$returnValue, $async$completer);
58284 }
58285 });
58286 return A._asyncStartSync($async$call$0, $async$completer);
58287 },
58288 $signature: 34
58289 };
58290 A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
58291 call$1(previousLoad) {
58292 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));
58293 },
58294 $signature: 87
58295 };
58296 A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
58297 call$1(rule) {
58298 return rule.url.get$scheme() !== "sass";
58299 },
58300 $signature: 154
58301 };
58302 A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
58303 call$1(rule) {
58304 return rule.url.get$scheme() !== "sass";
58305 },
58306 $signature: 153
58307 };
58308 A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
58309 call$0() {
58310 var $async$goto = 0,
58311 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58312 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
58313 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58314 if ($async$errorCode === 1)
58315 return A._asyncRethrow($async$result, $async$completer);
58316 while (true)
58317 switch ($async$goto) {
58318 case 0:
58319 // Function start
58320 t1 = $async$self.$this;
58321 oldImporter = t1._async_evaluate$_importer;
58322 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58323 t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
58324 t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
58325 t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
58326 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
58327 oldConfiguration = t1._async_evaluate$_configuration;
58328 oldInDependency = t1._async_evaluate$_inDependency;
58329 t6 = $async$self.result;
58330 t1._async_evaluate$_importer = t6.importer;
58331 t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
58332 t8 = $async$self.loadsUserDefinedModules;
58333 if (t8) {
58334 t9 = A.ModifiableCssStylesheet$(t7.span);
58335 t1._async_evaluate$__root = t9;
58336 t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
58337 t1._async_evaluate$__endOfImports = 0;
58338 t1._async_evaluate$_outOfOrderImports = null;
58339 }
58340 t1._async_evaluate$_inDependency = t6.isDependency;
58341 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
58342 if (!t6.get$isEmpty(t6))
58343 t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
58344 $async$goto = 2;
58345 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
58346 case 2:
58347 // returning from await.
58348 t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
58349 $async$self.children._value = t6;
58350 t1._async_evaluate$_importer = oldImporter;
58351 t1._async_evaluate$__stylesheet = t2;
58352 if (t8) {
58353 t1._async_evaluate$__root = t3;
58354 t1._async_evaluate$__parent = t4;
58355 t1._async_evaluate$__endOfImports = t5;
58356 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
58357 }
58358 t1._async_evaluate$_configuration = oldConfiguration;
58359 t1._async_evaluate$_inDependency = oldInDependency;
58360 // implicit return
58361 return A._asyncReturn(null, $async$completer);
58362 }
58363 });
58364 return A._asyncStartSync($async$call$0, $async$completer);
58365 },
58366 $signature: 2
58367 };
58368 A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
58369 call$0() {
58370 var t1 = this.node;
58371 return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
58372 },
58373 $signature: 129
58374 };
58375 A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
58376 call$0() {
58377 return this.node.get$spanWithoutContent();
58378 },
58379 $signature: 30
58380 };
58381 A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
58382 call$1($content) {
58383 var t1 = this.$this;
58384 return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
58385 },
58386 $signature: 502
58387 };
58388 A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
58389 call$0() {
58390 var $async$goto = 0,
58391 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58392 $async$self = this, t1;
58393 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58394 if ($async$errorCode === 1)
58395 return A._asyncRethrow($async$result, $async$completer);
58396 while (true)
58397 switch ($async$goto) {
58398 case 0:
58399 // Function start
58400 t1 = $async$self.$this;
58401 $async$goto = 2;
58402 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);
58403 case 2:
58404 // returning from await.
58405 // implicit return
58406 return A._asyncReturn(null, $async$completer);
58407 }
58408 });
58409 return A._asyncStartSync($async$call$0, $async$completer);
58410 },
58411 $signature: 2
58412 };
58413 A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
58414 call$0() {
58415 var $async$goto = 0,
58416 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58417 $async$self = this, t1;
58418 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58419 if ($async$errorCode === 1)
58420 return A._asyncRethrow($async$result, $async$completer);
58421 while (true)
58422 switch ($async$goto) {
58423 case 0:
58424 // Function start
58425 t1 = $async$self.$this;
58426 $async$goto = 2;
58427 return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58428 case 2:
58429 // returning from await.
58430 // implicit return
58431 return A._asyncReturn(null, $async$completer);
58432 }
58433 });
58434 return A._asyncStartSync($async$call$0, $async$completer);
58435 },
58436 $signature: 34
58437 };
58438 A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
58439 call$0() {
58440 var $async$goto = 0,
58441 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58442 $async$self = this, t1, t2, t3, t4, t5, _i;
58443 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58444 if ($async$errorCode === 1)
58445 return A._asyncRethrow($async$result, $async$completer);
58446 while (true)
58447 switch ($async$goto) {
58448 case 0:
58449 // Function start
58450 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
58451 case 2:
58452 // for condition
58453 if (!(_i < t2)) {
58454 // goto after for
58455 $async$goto = 4;
58456 break;
58457 }
58458 $async$goto = 5;
58459 return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
58460 case 5:
58461 // returning from await.
58462 case 3:
58463 // for update
58464 ++_i;
58465 // goto for condition
58466 $async$goto = 2;
58467 break;
58468 case 4:
58469 // after for
58470 // implicit return
58471 return A._asyncReturn(null, $async$completer);
58472 }
58473 });
58474 return A._asyncStartSync($async$call$0, $async$completer);
58475 },
58476 $signature: 34
58477 };
58478 A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
58479 call$0() {
58480 return this.statement.accept$1(this.$this);
58481 },
58482 $signature: 68
58483 };
58484 A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
58485 call$1(mediaQueries) {
58486 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
58487 },
58488 $signature: 83
58489 };
58490 A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
58491 call$0() {
58492 var $async$goto = 0,
58493 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58494 $async$self = this, t1, t2;
58495 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58496 if ($async$errorCode === 1)
58497 return A._asyncRethrow($async$result, $async$completer);
58498 while (true)
58499 switch ($async$goto) {
58500 case 0:
58501 // Function start
58502 t1 = $async$self.$this;
58503 t2 = $async$self.mergedQueries;
58504 if (t2 == null)
58505 t2 = $async$self.queries;
58506 $async$goto = 2;
58507 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
58508 case 2:
58509 // returning from await.
58510 // implicit return
58511 return A._asyncReturn(null, $async$completer);
58512 }
58513 });
58514 return A._asyncStartSync($async$call$0, $async$completer);
58515 },
58516 $signature: 2
58517 };
58518 A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
58519 call$0() {
58520 var $async$goto = 0,
58521 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58522 $async$self = this, t2, t3, _i, t1, styleRule;
58523 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58524 if ($async$errorCode === 1)
58525 return A._asyncRethrow($async$result, $async$completer);
58526 while (true)
58527 switch ($async$goto) {
58528 case 0:
58529 // Function start
58530 t1 = $async$self.$this;
58531 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58532 $async$goto = styleRule == null ? 2 : 4;
58533 break;
58534 case 2:
58535 // then
58536 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58537 case 5:
58538 // for condition
58539 if (!(_i < t3)) {
58540 // goto after for
58541 $async$goto = 7;
58542 break;
58543 }
58544 $async$goto = 8;
58545 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58546 case 8:
58547 // returning from await.
58548 case 6:
58549 // for update
58550 ++_i;
58551 // goto for condition
58552 $async$goto = 5;
58553 break;
58554 case 7:
58555 // after for
58556 // goto join
58557 $async$goto = 3;
58558 break;
58559 case 4:
58560 // else
58561 $async$goto = 9;
58562 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);
58563 case 9:
58564 // returning from await.
58565 case 3:
58566 // join
58567 // implicit return
58568 return A._asyncReturn(null, $async$completer);
58569 }
58570 });
58571 return A._asyncStartSync($async$call$0, $async$completer);
58572 },
58573 $signature: 2
58574 };
58575 A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
58576 call$0() {
58577 var $async$goto = 0,
58578 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58579 $async$self = this, t1, t2, t3, _i;
58580 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58581 if ($async$errorCode === 1)
58582 return A._asyncRethrow($async$result, $async$completer);
58583 while (true)
58584 switch ($async$goto) {
58585 case 0:
58586 // Function start
58587 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58588 case 2:
58589 // for condition
58590 if (!(_i < t2)) {
58591 // goto after for
58592 $async$goto = 4;
58593 break;
58594 }
58595 $async$goto = 5;
58596 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58597 case 5:
58598 // returning from await.
58599 case 3:
58600 // for update
58601 ++_i;
58602 // goto for condition
58603 $async$goto = 2;
58604 break;
58605 case 4:
58606 // after for
58607 // implicit return
58608 return A._asyncReturn(null, $async$completer);
58609 }
58610 });
58611 return A._asyncStartSync($async$call$0, $async$completer);
58612 },
58613 $signature: 2
58614 };
58615 A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
58616 call$1(node) {
58617 var t1;
58618 if (!type$.CssStyleRule._is(node))
58619 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
58620 else
58621 t1 = true;
58622 return t1;
58623 },
58624 $signature: 8
58625 };
58626 A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
58627 call$0() {
58628 var t1 = A.SpanScanner$(this.resolved, null);
58629 return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
58630 },
58631 $signature: 103
58632 };
58633 A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
58634 call$0() {
58635 var t1 = this.selectorText;
58636 return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
58637 },
58638 $signature: 46
58639 };
58640 A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
58641 call$0() {
58642 var $async$goto = 0,
58643 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58644 $async$self = this, t1, t2, t3, _i;
58645 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58646 if ($async$errorCode === 1)
58647 return A._asyncRethrow($async$result, $async$completer);
58648 while (true)
58649 switch ($async$goto) {
58650 case 0:
58651 // Function start
58652 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58653 case 2:
58654 // for condition
58655 if (!(_i < t2)) {
58656 // goto after for
58657 $async$goto = 4;
58658 break;
58659 }
58660 $async$goto = 5;
58661 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58662 case 5:
58663 // returning from await.
58664 case 3:
58665 // for update
58666 ++_i;
58667 // goto for condition
58668 $async$goto = 2;
58669 break;
58670 case 4:
58671 // after for
58672 // implicit return
58673 return A._asyncReturn(null, $async$completer);
58674 }
58675 });
58676 return A._asyncStartSync($async$call$0, $async$completer);
58677 },
58678 $signature: 2
58679 };
58680 A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
58681 call$1(node) {
58682 return type$.CssStyleRule._is(node);
58683 },
58684 $signature: 8
58685 };
58686 A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
58687 call$0() {
58688 var _s11_ = "_stylesheet",
58689 t1 = this.selectorText,
58690 t2 = this.$this;
58691 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);
58692 },
58693 $signature: 44
58694 };
58695 A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
58696 call$0() {
58697 var t1 = this._box_0.parsedSelector,
58698 t2 = this.$this,
58699 t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
58700 t3 = t3 == null ? null : t3.originalSelector;
58701 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
58702 },
58703 $signature: 44
58704 };
58705 A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
58706 call$0() {
58707 var $async$goto = 0,
58708 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58709 $async$self = this, t1;
58710 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58711 if ($async$errorCode === 1)
58712 return A._asyncRethrow($async$result, $async$completer);
58713 while (true)
58714 switch ($async$goto) {
58715 case 0:
58716 // Function start
58717 t1 = $async$self.$this;
58718 $async$goto = 2;
58719 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);
58720 case 2:
58721 // returning from await.
58722 // implicit return
58723 return A._asyncReturn(null, $async$completer);
58724 }
58725 });
58726 return A._asyncStartSync($async$call$0, $async$completer);
58727 },
58728 $signature: 2
58729 };
58730 A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
58731 call$0() {
58732 var $async$goto = 0,
58733 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58734 $async$self = this, t1, t2, t3, _i;
58735 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58736 if ($async$errorCode === 1)
58737 return A._asyncRethrow($async$result, $async$completer);
58738 while (true)
58739 switch ($async$goto) {
58740 case 0:
58741 // Function start
58742 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58743 case 2:
58744 // for condition
58745 if (!(_i < t2)) {
58746 // goto after for
58747 $async$goto = 4;
58748 break;
58749 }
58750 $async$goto = 5;
58751 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58752 case 5:
58753 // returning from await.
58754 case 3:
58755 // for update
58756 ++_i;
58757 // goto for condition
58758 $async$goto = 2;
58759 break;
58760 case 4:
58761 // after for
58762 // implicit return
58763 return A._asyncReturn(null, $async$completer);
58764 }
58765 });
58766 return A._asyncStartSync($async$call$0, $async$completer);
58767 },
58768 $signature: 2
58769 };
58770 A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
58771 call$1(node) {
58772 return type$.CssStyleRule._is(node);
58773 },
58774 $signature: 8
58775 };
58776 A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
58777 call$0() {
58778 var $async$goto = 0,
58779 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58780 $async$self = this, t2, t3, _i, t1, styleRule;
58781 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58782 if ($async$errorCode === 1)
58783 return A._asyncRethrow($async$result, $async$completer);
58784 while (true)
58785 switch ($async$goto) {
58786 case 0:
58787 // Function start
58788 t1 = $async$self.$this;
58789 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58790 $async$goto = styleRule == null ? 2 : 4;
58791 break;
58792 case 2:
58793 // then
58794 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58795 case 5:
58796 // for condition
58797 if (!(_i < t3)) {
58798 // goto after for
58799 $async$goto = 7;
58800 break;
58801 }
58802 $async$goto = 8;
58803 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58804 case 8:
58805 // returning from await.
58806 case 6:
58807 // for update
58808 ++_i;
58809 // goto for condition
58810 $async$goto = 5;
58811 break;
58812 case 7:
58813 // after for
58814 // goto join
58815 $async$goto = 3;
58816 break;
58817 case 4:
58818 // else
58819 $async$goto = 9;
58820 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);
58821 case 9:
58822 // returning from await.
58823 case 3:
58824 // join
58825 // implicit return
58826 return A._asyncReturn(null, $async$completer);
58827 }
58828 });
58829 return A._asyncStartSync($async$call$0, $async$completer);
58830 },
58831 $signature: 2
58832 };
58833 A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
58834 call$0() {
58835 var $async$goto = 0,
58836 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58837 $async$self = this, t1, t2, t3, _i;
58838 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58839 if ($async$errorCode === 1)
58840 return A._asyncRethrow($async$result, $async$completer);
58841 while (true)
58842 switch ($async$goto) {
58843 case 0:
58844 // Function start
58845 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58846 case 2:
58847 // for condition
58848 if (!(_i < t2)) {
58849 // goto after for
58850 $async$goto = 4;
58851 break;
58852 }
58853 $async$goto = 5;
58854 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58855 case 5:
58856 // returning from await.
58857 case 3:
58858 // for update
58859 ++_i;
58860 // goto for condition
58861 $async$goto = 2;
58862 break;
58863 case 4:
58864 // after for
58865 // implicit return
58866 return A._asyncReturn(null, $async$completer);
58867 }
58868 });
58869 return A._asyncStartSync($async$call$0, $async$completer);
58870 },
58871 $signature: 2
58872 };
58873 A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
58874 call$1(node) {
58875 return type$.CssStyleRule._is(node);
58876 },
58877 $signature: 8
58878 };
58879 A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
58880 call$0() {
58881 var t1 = this.override;
58882 this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
58883 },
58884 $signature: 1
58885 };
58886 A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
58887 call$0() {
58888 var t1 = this.node;
58889 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
58890 },
58891 $signature: 35
58892 };
58893 A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
58894 call$0() {
58895 var t1 = this.$this,
58896 t2 = this.node;
58897 t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
58898 },
58899 $signature: 1
58900 };
58901 A._EvaluateVisitor_visitUseRule_closure0.prototype = {
58902 call$1(module) {
58903 var t1 = this.node;
58904 this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
58905 },
58906 $signature: 124
58907 };
58908 A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
58909 call$0() {
58910 return this.node.expression.accept$1(this.$this);
58911 },
58912 $signature: 59
58913 };
58914 A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
58915 call$0() {
58916 var $async$goto = 0,
58917 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58918 $async$returnValue, $async$self = this, t1, t2, t3, result;
58919 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58920 if ($async$errorCode === 1)
58921 return A._asyncRethrow($async$result, $async$completer);
58922 while (true)
58923 switch ($async$goto) {
58924 case 0:
58925 // Function start
58926 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
58927 case 3:
58928 // for condition
58929 $async$goto = 5;
58930 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
58931 case 5:
58932 // returning from await.
58933 if (!$async$result.get$isTruthy()) {
58934 // goto after for
58935 $async$goto = 4;
58936 break;
58937 }
58938 $async$goto = 6;
58939 return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
58940 case 6:
58941 // returning from await.
58942 result = $async$result;
58943 if (result != null) {
58944 $async$returnValue = result;
58945 // goto return
58946 $async$goto = 1;
58947 break;
58948 }
58949 // goto for condition
58950 $async$goto = 3;
58951 break;
58952 case 4:
58953 // after for
58954 $async$returnValue = null;
58955 // goto return
58956 $async$goto = 1;
58957 break;
58958 case 1:
58959 // return
58960 return A._asyncReturn($async$returnValue, $async$completer);
58961 }
58962 });
58963 return A._asyncStartSync($async$call$0, $async$completer);
58964 },
58965 $signature: 68
58966 };
58967 A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
58968 call$1(child) {
58969 return child.accept$1(this.$this);
58970 },
58971 $signature: 84
58972 };
58973 A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
58974 call$0() {
58975 var $async$goto = 0,
58976 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
58977 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
58978 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58979 if ($async$errorCode === 1)
58980 return A._asyncRethrow($async$result, $async$completer);
58981 while (true)
58982 switch ($async$goto) {
58983 case 0:
58984 // Function start
58985 t1 = $async$self.node;
58986 t2 = $async$self.$this;
58987 $async$goto = 3;
58988 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
58989 case 3:
58990 // returning from await.
58991 left = $async$result;
58992 t3 = t1.operator;
58993 case 4:
58994 // switch
58995 switch (t3) {
58996 case B.BinaryOperator_kjl:
58997 // goto case
58998 $async$goto = 6;
58999 break;
59000 case B.BinaryOperator_or_or_1:
59001 // goto case
59002 $async$goto = 7;
59003 break;
59004 case B.BinaryOperator_and_and_2:
59005 // goto case
59006 $async$goto = 8;
59007 break;
59008 case B.BinaryOperator_YlX:
59009 // goto case
59010 $async$goto = 9;
59011 break;
59012 case B.BinaryOperator_i5H:
59013 // goto case
59014 $async$goto = 10;
59015 break;
59016 case B.BinaryOperator_AcR:
59017 // goto case
59018 $async$goto = 11;
59019 break;
59020 case B.BinaryOperator_1da:
59021 // goto case
59022 $async$goto = 12;
59023 break;
59024 case B.BinaryOperator_8qt:
59025 // goto case
59026 $async$goto = 13;
59027 break;
59028 case B.BinaryOperator_33h:
59029 // goto case
59030 $async$goto = 14;
59031 break;
59032 case B.BinaryOperator_AcR0:
59033 // goto case
59034 $async$goto = 15;
59035 break;
59036 case B.BinaryOperator_iyO:
59037 // goto case
59038 $async$goto = 16;
59039 break;
59040 case B.BinaryOperator_O1M:
59041 // goto case
59042 $async$goto = 17;
59043 break;
59044 case B.BinaryOperator_RTB:
59045 // goto case
59046 $async$goto = 18;
59047 break;
59048 case B.BinaryOperator_2ad:
59049 // goto case
59050 $async$goto = 19;
59051 break;
59052 default:
59053 // goto default
59054 $async$goto = 20;
59055 break;
59056 }
59057 break;
59058 case 6:
59059 // case
59060 $async$goto = 21;
59061 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59062 case 21:
59063 // returning from await.
59064 right = $async$result;
59065 $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
59066 // goto return
59067 $async$goto = 1;
59068 break;
59069 case 7:
59070 // case
59071 $async$goto = left.get$isTruthy() ? 22 : 24;
59072 break;
59073 case 22:
59074 // then
59075 $async$result = left;
59076 // goto join
59077 $async$goto = 23;
59078 break;
59079 case 24:
59080 // else
59081 $async$goto = 25;
59082 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59083 case 25:
59084 // returning from await.
59085 case 23:
59086 // join
59087 $async$returnValue = $async$result;
59088 // goto return
59089 $async$goto = 1;
59090 break;
59091 case 8:
59092 // case
59093 $async$goto = left.get$isTruthy() ? 26 : 28;
59094 break;
59095 case 26:
59096 // then
59097 $async$goto = 29;
59098 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59099 case 29:
59100 // returning from await.
59101 // goto join
59102 $async$goto = 27;
59103 break;
59104 case 28:
59105 // else
59106 $async$result = left;
59107 case 27:
59108 // join
59109 $async$returnValue = $async$result;
59110 // goto return
59111 $async$goto = 1;
59112 break;
59113 case 9:
59114 // case
59115 $async$temp1 = left;
59116 $async$goto = 30;
59117 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59118 case 30:
59119 // returning from await.
59120 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
59121 // goto return
59122 $async$goto = 1;
59123 break;
59124 case 10:
59125 // case
59126 $async$temp1 = left;
59127 $async$goto = 31;
59128 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59129 case 31:
59130 // returning from await.
59131 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
59132 // goto return
59133 $async$goto = 1;
59134 break;
59135 case 11:
59136 // case
59137 $async$temp1 = left;
59138 $async$goto = 32;
59139 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59140 case 32:
59141 // returning from await.
59142 $async$returnValue = $async$temp1.greaterThan$1($async$result);
59143 // goto return
59144 $async$goto = 1;
59145 break;
59146 case 12:
59147 // case
59148 $async$temp1 = left;
59149 $async$goto = 33;
59150 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59151 case 33:
59152 // returning from await.
59153 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
59154 // goto return
59155 $async$goto = 1;
59156 break;
59157 case 13:
59158 // case
59159 $async$temp1 = left;
59160 $async$goto = 34;
59161 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59162 case 34:
59163 // returning from await.
59164 $async$returnValue = $async$temp1.lessThan$1($async$result);
59165 // goto return
59166 $async$goto = 1;
59167 break;
59168 case 14:
59169 // case
59170 $async$temp1 = left;
59171 $async$goto = 35;
59172 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59173 case 35:
59174 // returning from await.
59175 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
59176 // goto return
59177 $async$goto = 1;
59178 break;
59179 case 15:
59180 // case
59181 $async$temp1 = left;
59182 $async$goto = 36;
59183 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59184 case 36:
59185 // returning from await.
59186 $async$returnValue = $async$temp1.plus$1($async$result);
59187 // goto return
59188 $async$goto = 1;
59189 break;
59190 case 16:
59191 // case
59192 $async$temp1 = left;
59193 $async$goto = 37;
59194 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59195 case 37:
59196 // returning from await.
59197 $async$returnValue = $async$temp1.minus$1($async$result);
59198 // goto return
59199 $async$goto = 1;
59200 break;
59201 case 17:
59202 // case
59203 $async$temp1 = left;
59204 $async$goto = 38;
59205 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59206 case 38:
59207 // returning from await.
59208 $async$returnValue = $async$temp1.times$1($async$result);
59209 // goto return
59210 $async$goto = 1;
59211 break;
59212 case 18:
59213 // case
59214 $async$goto = 39;
59215 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59216 case 39:
59217 // returning from await.
59218 right = $async$result;
59219 result = left.dividedBy$1(right);
59220 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
59221 $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
59222 // goto return
59223 $async$goto = 1;
59224 break;
59225 } else {
59226 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
59227 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);
59228 $async$returnValue = result;
59229 // goto return
59230 $async$goto = 1;
59231 break;
59232 }
59233 case 19:
59234 // case
59235 $async$temp1 = left;
59236 $async$goto = 40;
59237 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59238 case 40:
59239 // returning from await.
59240 $async$returnValue = $async$temp1.modulo$1($async$result);
59241 // goto return
59242 $async$goto = 1;
59243 break;
59244 case 20:
59245 // default
59246 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
59247 case 5:
59248 // after switch
59249 case 1:
59250 // return
59251 return A._asyncReturn($async$returnValue, $async$completer);
59252 }
59253 });
59254 return A._asyncStartSync($async$call$0, $async$completer);
59255 },
59256 $signature: 59
59257 };
59258 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
59259 call$1(expression) {
59260 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
59261 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
59262 else if (expression instanceof A.ParenthesizedExpression)
59263 return expression.expression.toString$0(0);
59264 else
59265 return expression.toString$0(0);
59266 },
59267 $signature: 135
59268 };
59269 A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
59270 call$0() {
59271 var t1 = this.node;
59272 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
59273 },
59274 $signature: 35
59275 };
59276 A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
59277 call$0() {
59278 var _this = this,
59279 t1 = _this.node.operator;
59280 switch (t1) {
59281 case B.UnaryOperator_j2w:
59282 return _this.operand.unaryPlus$0();
59283 case B.UnaryOperator_U4G:
59284 return _this.operand.unaryMinus$0();
59285 case B.UnaryOperator_zDx:
59286 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
59287 case B.UnaryOperator_not_not:
59288 return _this.operand.unaryNot$0();
59289 default:
59290 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
59291 }
59292 },
59293 $signature: 33
59294 };
59295 A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
59296 call$0() {
59297 var $async$goto = 0,
59298 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
59299 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
59300 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59301 if ($async$errorCode === 1)
59302 return A._asyncRethrow($async$result, $async$completer);
59303 while (true)
59304 switch ($async$goto) {
59305 case 0:
59306 // Function start
59307 t1 = $async$self.$this;
59308 t2 = $async$self.node;
59309 t3 = $async$self.inMinMax;
59310 $async$temp1 = A;
59311 $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
59312 $async$goto = 3;
59313 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
59314 case 3:
59315 // returning from await.
59316 $async$temp3 = $async$result;
59317 $async$goto = 4;
59318 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
59319 case 4:
59320 // returning from await.
59321 $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
59322 // goto return
59323 $async$goto = 1;
59324 break;
59325 case 1:
59326 // return
59327 return A._asyncReturn($async$returnValue, $async$completer);
59328 }
59329 });
59330 return A._asyncStartSync($async$call$0, $async$completer);
59331 },
59332 $signature: 152
59333 };
59334 A._EvaluateVisitor_visitListExpression_closure0.prototype = {
59335 call$1(expression) {
59336 return expression.accept$1(this.$this);
59337 },
59338 $signature: 511
59339 };
59340 A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
59341 call$0() {
59342 var t1 = this.node;
59343 return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
59344 },
59345 $signature: 129
59346 };
59347 A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
59348 call$0() {
59349 var t1 = this.node;
59350 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
59351 },
59352 $signature: 59
59353 };
59354 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
59355 call$0() {
59356 var t1 = this.node;
59357 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
59358 },
59359 $signature: 59
59360 };
59361 A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
59362 call$0() {
59363 var _this = this,
59364 t1 = _this.$this,
59365 t2 = _this.callable,
59366 t3 = _this.V;
59367 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);
59368 },
59369 $signature() {
59370 return this.V._eval$1("Future<0>()");
59371 }
59372 };
59373 A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
59374 call$0() {
59375 var _this = this,
59376 t1 = _this.$this,
59377 t2 = _this.V;
59378 return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
59379 },
59380 $signature() {
59381 return this.V._eval$1("Future<0>()");
59382 }
59383 };
59384 A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
59385 call$0() {
59386 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
59387 },
59388 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
59389 var $async$goto = 0,
59390 $async$completer = A._makeAsyncAwaitCompleter($async$type),
59391 $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;
59392 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59393 if ($async$errorCode === 1)
59394 return A._asyncRethrow($async$result, $async$completer);
59395 while (true)
59396 switch ($async$goto) {
59397 case 0:
59398 // Function start
59399 t1 = $async$self.$this;
59400 t2 = $async$self.evaluated;
59401 t3 = t2.positional;
59402 t4 = t2.named;
59403 t5 = $async$self.callable.declaration.$arguments;
59404 t6 = $async$self.nodeWithSpan;
59405 t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
59406 declaredArguments = t5.$arguments;
59407 t7 = declaredArguments.length;
59408 minLength = Math.min(t3.length, t7);
59409 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
59410 t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
59411 i = t3.length, t8 = t2.namedNodes;
59412 case 3:
59413 // for condition
59414 if (!(i < t7)) {
59415 // goto after for
59416 $async$goto = 5;
59417 break;
59418 }
59419 argument = declaredArguments[i];
59420 t9 = argument.name;
59421 value = t4.remove$1(0, t9);
59422 $async$goto = value == null ? 6 : 7;
59423 break;
59424 case 6:
59425 // then
59426 t10 = argument.defaultValue;
59427 $async$temp1 = t1;
59428 $async$goto = 8;
59429 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
59430 case 8:
59431 // returning from await.
59432 value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
59433 case 7:
59434 // join
59435 t10 = t1._async_evaluate$_environment;
59436 t11 = t8.$index(0, t9);
59437 if (t11 == null) {
59438 t11 = argument.defaultValue;
59439 t11.toString;
59440 t11 = t1._async_evaluate$_expressionNode$1(t11);
59441 }
59442 t10.setLocalVariable$3(t9, value, t11);
59443 case 4:
59444 // for update
59445 ++i;
59446 // goto for condition
59447 $async$goto = 3;
59448 break;
59449 case 5:
59450 // after for
59451 restArgument = t5.restArgument;
59452 if (restArgument != null) {
59453 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
59454 t2 = t2.separator;
59455 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
59456 t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
59457 } else
59458 argumentList = null;
59459 $async$goto = 9;
59460 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
59461 case 9:
59462 // returning from await.
59463 result = $async$result;
59464 if (argumentList == null) {
59465 $async$returnValue = result;
59466 // goto return
59467 $async$goto = 1;
59468 break;
59469 }
59470 t2 = t4.__js_helper$_length;
59471 if (t2 === 0) {
59472 $async$returnValue = result;
59473 // goto return
59474 $async$goto = 1;
59475 break;
59476 }
59477 if (argumentList._wereKeywordsAccessed) {
59478 $async$returnValue = result;
59479 // goto return
59480 $async$goto = 1;
59481 break;
59482 }
59483 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
59484 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))));
59485 case 1:
59486 // return
59487 return A._asyncReturn($async$returnValue, $async$completer);
59488 }
59489 });
59490 return A._asyncStartSync($async$call$0, $async$completer);
59491 },
59492 $signature() {
59493 return this.V._eval$1("Future<0>()");
59494 }
59495 };
59496 A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
59497 call$1($name) {
59498 return "$" + $name;
59499 },
59500 $signature: 5
59501 };
59502 A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
59503 call$0() {
59504 var $async$goto = 0,
59505 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
59506 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
59507 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59508 if ($async$errorCode === 1)
59509 return A._asyncRethrow($async$result, $async$completer);
59510 while (true)
59511 switch ($async$goto) {
59512 case 0:
59513 // Function start
59514 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
59515 case 3:
59516 // for condition
59517 if (!(_i < t3)) {
59518 // goto after for
59519 $async$goto = 5;
59520 break;
59521 }
59522 $async$goto = 6;
59523 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
59524 case 6:
59525 // returning from await.
59526 $returnValue = $async$result;
59527 if ($returnValue instanceof A.Value) {
59528 $async$returnValue = $returnValue;
59529 // goto return
59530 $async$goto = 1;
59531 break;
59532 }
59533 case 4:
59534 // for update
59535 ++_i;
59536 // goto for condition
59537 $async$goto = 3;
59538 break;
59539 case 5:
59540 // after for
59541 throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
59542 case 1:
59543 // return
59544 return A._asyncReturn($async$returnValue, $async$completer);
59545 }
59546 });
59547 return A._asyncStartSync($async$call$0, $async$completer);
59548 },
59549 $signature: 59
59550 };
59551 A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
59552 call$0() {
59553 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
59554 },
59555 $signature: 0
59556 };
59557 A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
59558 call$1($name) {
59559 return "$" + $name;
59560 },
59561 $signature: 5
59562 };
59563 A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
59564 call$1(value) {
59565 return value;
59566 },
59567 $signature: 36
59568 };
59569 A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
59570 call$1(value) {
59571 return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
59572 },
59573 $signature: 36
59574 };
59575 A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
59576 call$2(key, value) {
59577 var _this = this,
59578 t1 = _this.restNodeForSpan;
59579 _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
59580 _this.namedNodes.$indexSet(0, key, t1);
59581 },
59582 $signature: 95
59583 };
59584 A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
59585 call$1(value) {
59586 return value;
59587 },
59588 $signature: 36
59589 };
59590 A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
59591 call$1(value) {
59592 var t1 = this.restArgs;
59593 return new A.ValueExpression(value, t1.get$span(t1));
59594 },
59595 $signature: 51
59596 };
59597 A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
59598 call$1(value) {
59599 var t1 = this.restArgs;
59600 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
59601 },
59602 $signature: 51
59603 };
59604 A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
59605 call$2(key, value) {
59606 var _this = this,
59607 t1 = _this.restArgs;
59608 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
59609 },
59610 $signature: 95
59611 };
59612 A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
59613 call$1(value) {
59614 var t1 = this.keywordRestArgs;
59615 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
59616 },
59617 $signature: 51
59618 };
59619 A._EvaluateVisitor__addRestMap_closure0.prototype = {
59620 call$2(key, value) {
59621 var t2, _this = this,
59622 t1 = _this.$this;
59623 if (key instanceof A.SassString)
59624 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
59625 else {
59626 t2 = _this.nodeWithSpan;
59627 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)));
59628 }
59629 },
59630 $signature: 52
59631 };
59632 A._EvaluateVisitor__verifyArguments_closure0.prototype = {
59633 call$0() {
59634 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
59635 },
59636 $signature: 0
59637 };
59638 A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
59639 call$1(value) {
59640 var $async$goto = 0,
59641 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59642 $async$returnValue, $async$self = this, t1, result;
59643 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59644 if ($async$errorCode === 1)
59645 return A._asyncRethrow($async$result, $async$completer);
59646 while (true)
59647 switch ($async$goto) {
59648 case 0:
59649 // Function start
59650 if (typeof value == "string") {
59651 $async$returnValue = value;
59652 // goto return
59653 $async$goto = 1;
59654 break;
59655 }
59656 type$.Expression._as(value);
59657 t1 = $async$self.$this;
59658 $async$goto = 3;
59659 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59660 case 3:
59661 // returning from await.
59662 result = $async$result;
59663 $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
59664 // goto return
59665 $async$goto = 1;
59666 break;
59667 case 1:
59668 // return
59669 return A._asyncReturn($async$returnValue, $async$completer);
59670 }
59671 });
59672 return A._asyncStartSync($async$call$1, $async$completer);
59673 },
59674 $signature: 92
59675 };
59676 A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
59677 call$0() {
59678 var $async$goto = 0,
59679 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59680 $async$self = this, t1, t2, t3, t4;
59681 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59682 if ($async$errorCode === 1)
59683 return A._asyncRethrow($async$result, $async$completer);
59684 while (true)
59685 switch ($async$goto) {
59686 case 0:
59687 // Function start
59688 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59689 case 2:
59690 // for condition
59691 if (!t1.moveNext$0()) {
59692 // goto after for
59693 $async$goto = 3;
59694 break;
59695 }
59696 t4 = t1.__internal$_current;
59697 $async$goto = 4;
59698 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59699 case 4:
59700 // returning from await.
59701 // goto for condition
59702 $async$goto = 2;
59703 break;
59704 case 3:
59705 // after for
59706 // implicit return
59707 return A._asyncReturn(null, $async$completer);
59708 }
59709 });
59710 return A._asyncStartSync($async$call$0, $async$completer);
59711 },
59712 $signature: 2
59713 };
59714 A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
59715 call$1(node) {
59716 return type$.CssStyleRule._is(node);
59717 },
59718 $signature: 8
59719 };
59720 A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
59721 call$0() {
59722 var $async$goto = 0,
59723 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59724 $async$self = this, t1, t2, t3, t4;
59725 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59726 if ($async$errorCode === 1)
59727 return A._asyncRethrow($async$result, $async$completer);
59728 while (true)
59729 switch ($async$goto) {
59730 case 0:
59731 // Function start
59732 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59733 case 2:
59734 // for condition
59735 if (!t1.moveNext$0()) {
59736 // goto after for
59737 $async$goto = 3;
59738 break;
59739 }
59740 t4 = t1.__internal$_current;
59741 $async$goto = 4;
59742 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59743 case 4:
59744 // returning from await.
59745 // goto for condition
59746 $async$goto = 2;
59747 break;
59748 case 3:
59749 // after for
59750 // implicit return
59751 return A._asyncReturn(null, $async$completer);
59752 }
59753 });
59754 return A._asyncStartSync($async$call$0, $async$completer);
59755 },
59756 $signature: 2
59757 };
59758 A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
59759 call$1(node) {
59760 return type$.CssStyleRule._is(node);
59761 },
59762 $signature: 8
59763 };
59764 A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
59765 call$1(mediaQueries) {
59766 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
59767 },
59768 $signature: 83
59769 };
59770 A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
59771 call$0() {
59772 var $async$goto = 0,
59773 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59774 $async$self = this, t1, t2;
59775 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59776 if ($async$errorCode === 1)
59777 return A._asyncRethrow($async$result, $async$completer);
59778 while (true)
59779 switch ($async$goto) {
59780 case 0:
59781 // Function start
59782 t1 = $async$self.$this;
59783 t2 = $async$self.mergedQueries;
59784 if (t2 == null)
59785 t2 = $async$self.node.queries;
59786 $async$goto = 2;
59787 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
59788 case 2:
59789 // returning from await.
59790 // implicit return
59791 return A._asyncReturn(null, $async$completer);
59792 }
59793 });
59794 return A._asyncStartSync($async$call$0, $async$completer);
59795 },
59796 $signature: 2
59797 };
59798 A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
59799 call$0() {
59800 var $async$goto = 0,
59801 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59802 $async$self = this, t2, t3, t4, t1, styleRule;
59803 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59804 if ($async$errorCode === 1)
59805 return A._asyncRethrow($async$result, $async$completer);
59806 while (true)
59807 switch ($async$goto) {
59808 case 0:
59809 // Function start
59810 t1 = $async$self.$this;
59811 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59812 $async$goto = styleRule == null ? 2 : 4;
59813 break;
59814 case 2:
59815 // then
59816 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59817 case 5:
59818 // for condition
59819 if (!t2.moveNext$0()) {
59820 // goto after for
59821 $async$goto = 6;
59822 break;
59823 }
59824 t4 = t2.__internal$_current;
59825 $async$goto = 7;
59826 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
59827 case 7:
59828 // returning from await.
59829 // goto for condition
59830 $async$goto = 5;
59831 break;
59832 case 6:
59833 // after for
59834 // goto join
59835 $async$goto = 3;
59836 break;
59837 case 4:
59838 // else
59839 $async$goto = 8;
59840 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);
59841 case 8:
59842 // returning from await.
59843 case 3:
59844 // join
59845 // implicit return
59846 return A._asyncReturn(null, $async$completer);
59847 }
59848 });
59849 return A._asyncStartSync($async$call$0, $async$completer);
59850 },
59851 $signature: 2
59852 };
59853 A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
59854 call$0() {
59855 var $async$goto = 0,
59856 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59857 $async$self = this, t1, t2, t3, t4;
59858 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59859 if ($async$errorCode === 1)
59860 return A._asyncRethrow($async$result, $async$completer);
59861 while (true)
59862 switch ($async$goto) {
59863 case 0:
59864 // Function start
59865 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59866 case 2:
59867 // for condition
59868 if (!t1.moveNext$0()) {
59869 // goto after for
59870 $async$goto = 3;
59871 break;
59872 }
59873 t4 = t1.__internal$_current;
59874 $async$goto = 4;
59875 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59876 case 4:
59877 // returning from await.
59878 // goto for condition
59879 $async$goto = 2;
59880 break;
59881 case 3:
59882 // after for
59883 // implicit return
59884 return A._asyncReturn(null, $async$completer);
59885 }
59886 });
59887 return A._asyncStartSync($async$call$0, $async$completer);
59888 },
59889 $signature: 2
59890 };
59891 A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
59892 call$1(node) {
59893 var t1;
59894 if (!type$.CssStyleRule._is(node))
59895 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
59896 else
59897 t1 = true;
59898 return t1;
59899 },
59900 $signature: 8
59901 };
59902 A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
59903 call$0() {
59904 var $async$goto = 0,
59905 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59906 $async$self = this, t1;
59907 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59908 if ($async$errorCode === 1)
59909 return A._asyncRethrow($async$result, $async$completer);
59910 while (true)
59911 switch ($async$goto) {
59912 case 0:
59913 // Function start
59914 t1 = $async$self.$this;
59915 $async$goto = 2;
59916 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);
59917 case 2:
59918 // returning from await.
59919 // implicit return
59920 return A._asyncReturn(null, $async$completer);
59921 }
59922 });
59923 return A._asyncStartSync($async$call$0, $async$completer);
59924 },
59925 $signature: 2
59926 };
59927 A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
59928 call$0() {
59929 var $async$goto = 0,
59930 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59931 $async$self = this, t1, t2, t3, t4;
59932 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59933 if ($async$errorCode === 1)
59934 return A._asyncRethrow($async$result, $async$completer);
59935 while (true)
59936 switch ($async$goto) {
59937 case 0:
59938 // Function start
59939 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
59940 case 2:
59941 // for condition
59942 if (!t1.moveNext$0()) {
59943 // goto after for
59944 $async$goto = 3;
59945 break;
59946 }
59947 t4 = t1.__internal$_current;
59948 $async$goto = 4;
59949 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
59950 case 4:
59951 // returning from await.
59952 // goto for condition
59953 $async$goto = 2;
59954 break;
59955 case 3:
59956 // after for
59957 // implicit return
59958 return A._asyncReturn(null, $async$completer);
59959 }
59960 });
59961 return A._asyncStartSync($async$call$0, $async$completer);
59962 },
59963 $signature: 2
59964 };
59965 A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
59966 call$1(node) {
59967 return type$.CssStyleRule._is(node);
59968 },
59969 $signature: 8
59970 };
59971 A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
59972 call$0() {
59973 var $async$goto = 0,
59974 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59975 $async$self = this, t2, t3, t4, t1, styleRule;
59976 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59977 if ($async$errorCode === 1)
59978 return A._asyncRethrow($async$result, $async$completer);
59979 while (true)
59980 switch ($async$goto) {
59981 case 0:
59982 // Function start
59983 t1 = $async$self.$this;
59984 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59985 $async$goto = styleRule == null ? 2 : 4;
59986 break;
59987 case 2:
59988 // then
59989 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59990 case 5:
59991 // for condition
59992 if (!t2.moveNext$0()) {
59993 // goto after for
59994 $async$goto = 6;
59995 break;
59996 }
59997 t4 = t2.__internal$_current;
59998 $async$goto = 7;
59999 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
60000 case 7:
60001 // returning from await.
60002 // goto for condition
60003 $async$goto = 5;
60004 break;
60005 case 6:
60006 // after for
60007 // goto join
60008 $async$goto = 3;
60009 break;
60010 case 4:
60011 // else
60012 $async$goto = 8;
60013 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);
60014 case 8:
60015 // returning from await.
60016 case 3:
60017 // join
60018 // implicit return
60019 return A._asyncReturn(null, $async$completer);
60020 }
60021 });
60022 return A._asyncStartSync($async$call$0, $async$completer);
60023 },
60024 $signature: 2
60025 };
60026 A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
60027 call$0() {
60028 var $async$goto = 0,
60029 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60030 $async$self = this, t1, t2, t3, t4;
60031 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60032 if ($async$errorCode === 1)
60033 return A._asyncRethrow($async$result, $async$completer);
60034 while (true)
60035 switch ($async$goto) {
60036 case 0:
60037 // Function start
60038 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
60039 case 2:
60040 // for condition
60041 if (!t1.moveNext$0()) {
60042 // goto after for
60043 $async$goto = 3;
60044 break;
60045 }
60046 t4 = t1.__internal$_current;
60047 $async$goto = 4;
60048 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
60049 case 4:
60050 // returning from await.
60051 // goto for condition
60052 $async$goto = 2;
60053 break;
60054 case 3:
60055 // after for
60056 // implicit return
60057 return A._asyncReturn(null, $async$completer);
60058 }
60059 });
60060 return A._asyncStartSync($async$call$0, $async$completer);
60061 },
60062 $signature: 2
60063 };
60064 A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
60065 call$1(node) {
60066 return type$.CssStyleRule._is(node);
60067 },
60068 $signature: 8
60069 };
60070 A._EvaluateVisitor__performInterpolation_closure0.prototype = {
60071 call$1(value) {
60072 var $async$goto = 0,
60073 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
60074 $async$returnValue, $async$self = this, t1, result, t2, t3;
60075 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60076 if ($async$errorCode === 1)
60077 return A._asyncRethrow($async$result, $async$completer);
60078 while (true)
60079 switch ($async$goto) {
60080 case 0:
60081 // Function start
60082 if (typeof value == "string") {
60083 $async$returnValue = value;
60084 // goto return
60085 $async$goto = 1;
60086 break;
60087 }
60088 type$.Expression._as(value);
60089 t1 = $async$self.$this;
60090 $async$goto = 3;
60091 return A._asyncAwait(value.accept$1(t1), $async$call$1);
60092 case 3:
60093 // returning from await.
60094 result = $async$result;
60095 if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
60096 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
60097 t3 = $.$get$namesByColor();
60098 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));
60099 }
60100 $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
60101 // goto return
60102 $async$goto = 1;
60103 break;
60104 case 1:
60105 // return
60106 return A._asyncReturn($async$returnValue, $async$completer);
60107 }
60108 });
60109 return A._asyncStartSync($async$call$1, $async$completer);
60110 },
60111 $signature: 92
60112 };
60113 A._EvaluateVisitor__serialize_closure0.prototype = {
60114 call$0() {
60115 return A.serializeValue(this.value, false, this.quote);
60116 },
60117 $signature: 29
60118 };
60119 A._EvaluateVisitor__expressionNode_closure0.prototype = {
60120 call$0() {
60121 var t1 = this.expression;
60122 return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
60123 },
60124 $signature: 150
60125 };
60126 A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
60127 call$1(number) {
60128 var asSlash = number.asSlash;
60129 if (asSlash != null)
60130 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
60131 else
60132 return A.serializeValue(number, true, true);
60133 },
60134 $signature: 148
60135 };
60136 A._EvaluateVisitor__stackFrame_closure0.prototype = {
60137 call$1(url) {
60138 var t1 = this.$this._async_evaluate$_importCache;
60139 t1 = t1 == null ? null : t1.humanize$1(url);
60140 return t1 == null ? url : t1;
60141 },
60142 $signature: 90
60143 };
60144 A._EvaluateVisitor__stackTrace_closure0.prototype = {
60145 call$1(tuple) {
60146 return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
60147 },
60148 $signature: 182
60149 };
60150 A._ImportedCssVisitor0.prototype = {
60151 visitCssAtRule$1(node) {
60152 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
60153 this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
60154 },
60155 visitCssComment$1(node) {
60156 return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
60157 },
60158 visitCssDeclaration$1(node) {
60159 },
60160 visitCssImport$1(node) {
60161 var t2,
60162 _s13_ = "_endOfImports",
60163 t1 = this._async_evaluate$_visitor;
60164 if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
60165 t1._async_evaluate$_addChild$1(node);
60166 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)) {
60167 t1._async_evaluate$_addChild$1(node);
60168 t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
60169 } else {
60170 t2 = t1._async_evaluate$_outOfOrderImports;
60171 (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
60172 }
60173 },
60174 visitCssKeyframeBlock$1(node) {
60175 },
60176 visitCssMediaRule$1(node) {
60177 var t1 = this._async_evaluate$_visitor,
60178 mediaQueries = t1._async_evaluate$_mediaQueries;
60179 t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
60180 },
60181 visitCssStyleRule$1(node) {
60182 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
60183 },
60184 visitCssStylesheet$1(node) {
60185 var t1, t2, t3;
60186 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60187 t3 = t1.__internal$_current;
60188 (t3 == null ? t2._as(t3) : t3).accept$1(this);
60189 }
60190 },
60191 visitCssSupportsRule$1(node) {
60192 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
60193 }
60194 };
60195 A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
60196 call$1(node) {
60197 return type$.CssStyleRule._is(node);
60198 },
60199 $signature: 8
60200 };
60201 A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
60202 call$1(node) {
60203 var t1;
60204 if (!type$.CssStyleRule._is(node))
60205 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
60206 else
60207 t1 = true;
60208 return t1;
60209 },
60210 $signature: 8
60211 };
60212 A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
60213 call$1(node) {
60214 return type$.CssStyleRule._is(node);
60215 },
60216 $signature: 8
60217 };
60218 A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
60219 call$1(node) {
60220 return type$.CssStyleRule._is(node);
60221 },
60222 $signature: 8
60223 };
60224 A.EvaluateResult.prototype = {};
60225 A._EvaluationContext0.prototype = {
60226 get$currentCallableSpan() {
60227 var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
60228 if (callableNode != null)
60229 return callableNode.get$span(callableNode);
60230 throw A.wrapException(A.StateError$(string$.No_Sasc));
60231 },
60232 warn$2$deprecation(_, message, deprecation) {
60233 var t1 = this._async_evaluate$_visitor,
60234 t2 = t1._async_evaluate$_importSpan;
60235 if (t2 == null) {
60236 t2 = t1._async_evaluate$_callableNode;
60237 t2 = t2 == null ? null : t2.get$span(t2);
60238 }
60239 t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
60240 },
60241 $isEvaluationContext: 1
60242 };
60243 A._ArgumentResults0.prototype = {};
60244 A._LoadedStylesheet0.prototype = {};
60245 A._CloneCssVisitor.prototype = {
60246 visitCssAtRule$1(node) {
60247 var t1 = node.isChildless,
60248 rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
60249 return t1 ? rule : this._visitChildren$2(rule, node);
60250 },
60251 visitCssComment$1(node) {
60252 return new A.ModifiableCssComment(node.text, node.span);
60253 },
60254 visitCssDeclaration$1(node) {
60255 return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
60256 },
60257 visitCssImport$1(node) {
60258 return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
60259 },
60260 visitCssKeyframeBlock$1(node) {
60261 return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
60262 },
60263 visitCssMediaRule$1(node) {
60264 return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
60265 },
60266 visitCssStyleRule$1(node) {
60267 var newSelector = this._oldToNewSelectors.$index(0, node.selector);
60268 if (newSelector == null)
60269 throw A.wrapException(A.StateError$(string$.The_Ex));
60270 return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
60271 },
60272 visitCssStylesheet$1(node) {
60273 return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
60274 },
60275 visitCssSupportsRule$1(node) {
60276 return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
60277 },
60278 _visitChildren$1$2(newParent, oldParent) {
60279 var t1, t2, newChild;
60280 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
60281 t2 = t1.get$current(t1);
60282 newChild = t2.accept$1(this);
60283 newChild.isGroupEnd = t2.get$isGroupEnd();
60284 newParent.addChild$1(newChild);
60285 }
60286 return newParent;
60287 },
60288 _visitChildren$2(newParent, oldParent) {
60289 return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
60290 }
60291 };
60292 A.Evaluator.prototype = {};
60293 A._EvaluateVisitor.prototype = {
60294 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
60295 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
60296 _s20_ = "$name, $module: null",
60297 _s9_ = "sass:meta",
60298 t1 = type$.JSArray_BuiltInCallable,
60299 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),
60300 metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
60301 t1 = type$.BuiltInCallable;
60302 t2 = A.List_List$of($.$get$global(), true, t1);
60303 B.JSArray_methods.addAll$1(t2, $.$get$local());
60304 B.JSArray_methods.addAll$1(t2, metaFunctions);
60305 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
60306 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) {
60307 module = t1[_i];
60308 t3.$indexSet(0, module.url, module);
60309 }
60310 t1 = A._setArrayType([], type$.JSArray_Callable);
60311 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
60312 B.JSArray_methods.addAll$1(t1, metaFunctions);
60313 for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
60314 $function = t1[_i];
60315 t4 = J.get$name$x($function);
60316 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
60317 }
60318 },
60319 run$2(_, importer, node) {
60320 var t1 = type$.nullable_Object;
60321 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);
60322 },
60323 runExpression$2(importer, expression) {
60324 var t1 = type$.nullable_Object;
60325 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);
60326 },
60327 runStatement$2(importer, statement) {
60328 var t1 = type$.nullable_Object;
60329 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);
60330 },
60331 _assertInModule$1$2(value, $name) {
60332 if (value != null)
60333 return value;
60334 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
60335 },
60336 _assertInModule$2(value, $name) {
60337 return this._assertInModule$1$2(value, $name, type$.dynamic);
60338 },
60339 _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
60340 var t1, _this = this,
60341 oldImporter = _this._importer;
60342 _this._importer = importer;
60343 _this.__stylesheet = A.Stylesheet$(B.List_empty10, nodeWithSpan.get$span(nodeWithSpan));
60344 try {
60345 t1 = callback.call$0();
60346 return t1;
60347 } finally {
60348 _this._importer = oldImporter;
60349 _this.__stylesheet = null;
60350 }
60351 },
60352 _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
60353 return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
60354 },
60355 _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
60356 var t1, t2, _this = this,
60357 builtInModule = _this._builtInModules.$index(0, url);
60358 if (builtInModule != null) {
60359 if (configuration instanceof A.ExplicitConfiguration) {
60360 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
60361 t2 = configuration.nodeWithSpan;
60362 throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
60363 }
60364 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
60365 return;
60366 }
60367 _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
60368 },
60369 _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
60370 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
60371 },
60372 _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
60373 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
60374 },
60375 _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
60376 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
60377 url = stylesheet.span.file.url,
60378 t1 = _this._modules,
60379 alreadyLoaded = t1.$index(0, url);
60380 if (alreadyLoaded != null) {
60381 t1 = configuration == null;
60382 currentConfiguration = t1 ? _this._configuration : configuration;
60383 if (currentConfiguration instanceof A.ExplicitConfiguration) {
60384 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
60385 t2 = _this._moduleNodes.$index(0, url);
60386 existingSpan = t2 == null ? null : J.get$span$z(t2);
60387 if (t1) {
60388 t1 = currentConfiguration.nodeWithSpan;
60389 configurationSpan = t1.get$span(t1);
60390 } else
60391 configurationSpan = null;
60392 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
60393 if (existingSpan != null)
60394 t1.$indexSet(0, existingSpan, "original load");
60395 if (configurationSpan != null)
60396 t1.$indexSet(0, configurationSpan, "configuration");
60397 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
60398 }
60399 return alreadyLoaded;
60400 }
60401 environment = A.Environment$();
60402 css = A._Cell$();
60403 extensionStore = A.ExtensionStore$();
60404 _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
60405 module = environment.toModule$2(css._readLocal$0(), extensionStore);
60406 if (url != null) {
60407 t1.$indexSet(0, url, module);
60408 if (nodeWithSpan != null)
60409 _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
60410 }
60411 return module;
60412 },
60413 _execute$2(importer, stylesheet) {
60414 return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
60415 },
60416 _addOutOfOrderImports$0() {
60417 var t1, t2, _this = this, _s5_ = "_root",
60418 _s13_ = "_endOfImports",
60419 outOfOrderImports = _this._outOfOrderImports;
60420 if (outOfOrderImports == null)
60421 return _this._assertInModule$2(_this.__root, _s5_).children;
60422 t1 = _this._assertInModule$2(_this.__root, _s5_).children;
60423 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);
60424 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
60425 t2 = _this._assertInModule$2(_this.__root, _s5_).children;
60426 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
60427 return t1;
60428 },
60429 _combineCss$2$clone(root, clone) {
60430 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
60431 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
60432 selectors = root.get$extensionStore().get$simpleSelectors();
60433 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
60434 if (unsatisfiedExtension != null)
60435 _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
60436 return root.get$css(root);
60437 }
60438 sortedModules = _this._topologicalModules$1(root);
60439 if (clone) {
60440 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
60441 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
60442 }
60443 _this._extendModules$1(sortedModules);
60444 t1 = type$.JSArray_CssNode;
60445 imports = A._setArrayType([], t1);
60446 css = A._setArrayType([], t1);
60447 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60448 t3 = t1.__internal$_current;
60449 if (t3 == null)
60450 t3 = t2._as(t3);
60451 t3 = t3.get$css(t3);
60452 statements = t3.get$children(t3);
60453 index = _this._indexAfterImports$1(statements);
60454 t3 = J.getInterceptor$ax(statements);
60455 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
60456 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
60457 }
60458 t1 = B.JSArray_methods.$add(imports, css);
60459 t2 = root.get$css(root);
60460 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
60461 },
60462 _combineCss$1(root) {
60463 return this._combineCss$2$clone(root, false);
60464 },
60465 _extendModules$1(sortedModules) {
60466 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
60467 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
60468 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
60469 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
60470 t2 = t1.get$current(t1);
60471 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
60472 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
60473 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
60474 t3 = t2.get$extensionStore().get$addExtensions();
60475 if ($self != null)
60476 t3.call$1($self);
60477 t3 = t2.get$extensionStore();
60478 if (t3.get$isEmpty(t3))
60479 continue;
60480 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
60481 upstream = t3[_i];
60482 url = upstream.get$url(upstream);
60483 if (url == null)
60484 continue;
60485 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
60486 }
60487 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
60488 }
60489 if (unsatisfiedExtensions._collection$_length !== 0)
60490 this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
60491 },
60492 _throwForUnsatisfiedExtension$1(extension) {
60493 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
60494 },
60495 _topologicalModules$1(root) {
60496 var t1 = type$.Module_Callable,
60497 sorted = A.QueueList$(null, t1);
60498 new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
60499 return sorted;
60500 },
60501 _indexAfterImports$1(statements) {
60502 var t1, t2, t3, lastImport, i, statement;
60503 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
60504 statement = t1.$index(statements, i);
60505 if (t3._is(statement))
60506 lastImport = i;
60507 else if (!t2._is(statement))
60508 break;
60509 }
60510 return lastImport + 1;
60511 },
60512 visitStylesheet$1(node) {
60513 var t1, t2, _i;
60514 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
60515 t1[_i].accept$1(this);
60516 return null;
60517 },
60518 visitAtRootRule$1(node) {
60519 var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
60520 _s8_ = "__parent",
60521 unparsedQuery = node.query,
60522 query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
60523 $parent = _this._assertInModule$2(_this.__parent, _s8_),
60524 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
60525 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
60526 if (!query.excludes$1($parent))
60527 included.push($parent);
60528 grandparent = $parent._parent;
60529 if (grandparent == null)
60530 throw A.wrapException(A.StateError$(string$.CssNod));
60531 }
60532 root = _this._trimIncluded$1(included);
60533 if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
60534 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
60535 return null;
60536 }
60537 if (included.length !== 0) {
60538 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
60539 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) {
60540 t3 = t1.__internal$_current;
60541 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
60542 copy.addChild$1(outerCopy);
60543 }
60544 root.addChild$1(outerCopy);
60545 } else
60546 innerCopy = root;
60547 _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
60548 return null;
60549 },
60550 _trimIncluded$1(nodes) {
60551 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
60552 _s22_ = " to be an ancestor of ";
60553 if (nodes.length === 0)
60554 return _this._assertInModule$2(_this.__root, _s5_);
60555 $parent = _this._assertInModule$2(_this.__parent, "__parent");
60556 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
60557 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
60558 grandparent = $parent._parent;
60559 if (grandparent == null)
60560 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60561 }
60562 if (innermostContiguous == null)
60563 innermostContiguous = i;
60564 grandparent = $parent._parent;
60565 if (grandparent == null)
60566 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60567 }
60568 if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
60569 return _this._assertInModule$2(_this.__root, _s5_);
60570 innermostContiguous.toString;
60571 root = nodes[innermostContiguous];
60572 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
60573 return root;
60574 },
60575 _scopeForAtRoot$4(node, newParent, query, included) {
60576 var _this = this,
60577 scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
60578 t1 = query._all || query._at_root_query$_rule;
60579 if (t1 !== query.include)
60580 scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
60581 if (_this._mediaQueries != null && query.excludesName$1("media"))
60582 scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
60583 if (_this._inKeyframes && query.excludesName$1("keyframes"))
60584 scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
60585 return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
60586 },
60587 visitContentBlock$1(node) {
60588 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
60589 },
60590 visitContentRule$1(node) {
60591 var $content = this._environment._content;
60592 if ($content == null)
60593 return null;
60594 this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
60595 return null;
60596 },
60597 visitDebugRule$1(node) {
60598 var value = node.expression.accept$1(this),
60599 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
60600 this._evaluate$_logger.debug$2(0, t1, node.span);
60601 return null;
60602 },
60603 visitDeclaration$1(node) {
60604 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
60605 if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
60606 throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
60607 t1 = node.name;
60608 $name = _this._interpolationToValue$2$warnForColor(t1, true);
60609 t2 = _this._declarationName;
60610 if (t2 != null)
60611 $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
60612 t2 = node.value;
60613 cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
60614 t3 = cssValue != null;
60615 if (t3)
60616 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
60617 else
60618 t4 = false;
60619 if (t4) {
60620 t3 = _this._assertInModule$2(_this.__parent, "__parent");
60621 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
60622 if (_this._sourceMap) {
60623 t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
60624 t2 = t2 == null ? _null : J.get$span$z(t2);
60625 } else
60626 t2 = _null;
60627 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
60628 } else if (J.startsWith$1$s($name.value, "--") && t3)
60629 throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
60630 children = node.children;
60631 if (children != null) {
60632 oldDeclarationName = _this._declarationName;
60633 _this._declarationName = $name.value;
60634 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
60635 _this._declarationName = oldDeclarationName;
60636 }
60637 return _null;
60638 },
60639 visitEachRule$1(node) {
60640 var _this = this,
60641 t1 = node.list,
60642 list = t1.accept$1(_this),
60643 nodeWithSpan = _this._expressionNode$1(t1),
60644 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
60645 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
60646 },
60647 _setMultipleVariables$3(variables, value, nodeWithSpan) {
60648 var i,
60649 list = value.get$asList(),
60650 t1 = variables.length,
60651 minLength = Math.min(t1, list.length);
60652 for (i = 0; i < minLength; ++i)
60653 this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
60654 for (i = minLength; i < t1; ++i)
60655 this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
60656 },
60657 visitErrorRule$1(node) {
60658 throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
60659 },
60660 visitExtendRule$1(node) {
60661 var targetText, t1, t2, t3, _i, t4, _this = this,
60662 styleRule = _this._atRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot;
60663 if (styleRule == null || _this._declarationName != null)
60664 throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
60665 targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
60666 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) {
60667 t4 = t1[_i].components;
60668 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
60669 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
60670 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
60671 if (t4.length !== 1)
60672 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
60673 _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._mediaQueries);
60674 }
60675 return null;
60676 },
60677 visitAtRule$1(node) {
60678 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
60679 if (_this._declarationName != null)
60680 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
60681 $name = _this._interpolationToValue$1(node.name);
60682 value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
60683 children = node.children;
60684 if (children == null) {
60685 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
60686 return null;
60687 }
60688 wasInKeyframes = _this._inKeyframes;
60689 wasInUnknownAtRule = _this._inUnknownAtRule;
60690 if (A.unvendor($name.value) === "keyframes")
60691 _this._inKeyframes = true;
60692 else
60693 _this._inUnknownAtRule = true;
60694 _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);
60695 _this._inUnknownAtRule = wasInUnknownAtRule;
60696 _this._inKeyframes = wasInKeyframes;
60697 return null;
60698 },
60699 visitForRule$1(node) {
60700 var _this = this, t1 = {},
60701 t2 = node.from,
60702 fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
60703 t3 = node.to,
60704 toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
60705 from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
60706 to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
60707 direction = from > to ? -1 : 1;
60708 if (from === (!node.isExclusive ? t1.to = to + direction : to))
60709 return null;
60710 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
60711 },
60712 visitForwardRule$1(node) {
60713 var newConfiguration, t4, _i, variable, $name, _this = this,
60714 _s8_ = "@forward",
60715 oldConfiguration = _this._configuration,
60716 adjustedConfiguration = oldConfiguration.throughForward$1(node),
60717 t1 = node.configuration,
60718 t2 = t1.length,
60719 t3 = node.url;
60720 if (t2 !== 0) {
60721 newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
60722 _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
60723 t3 = type$.String;
60724 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60725 for (_i = 0; _i < t2; ++_i) {
60726 variable = t1[_i];
60727 if (!variable.isGuarded)
60728 t4.add$1(0, variable.name);
60729 }
60730 _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
60731 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60732 for (_i = 0; _i < t2; ++_i)
60733 t3.add$1(0, t1[_i].name);
60734 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) {
60735 $name = t2[_i];
60736 if (!t3.contains$1(0, $name))
60737 if (!t1.get$isEmpty(t1))
60738 t1.remove$1(0, $name);
60739 }
60740 _this._assertConfigurationIsEmpty$1(newConfiguration);
60741 } else {
60742 _this._configuration = adjustedConfiguration;
60743 _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
60744 _this._configuration = oldConfiguration;
60745 }
60746 return null;
60747 },
60748 _addForwardConfiguration$2(configuration, node) {
60749 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
60750 t1 = configuration._values,
60751 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
60752 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
60753 variable = t2[_i];
60754 if (variable.isGuarded) {
60755 t4 = variable.name;
60756 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
60757 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
60758 newValues.$indexSet(0, t4, t5);
60759 continue;
60760 }
60761 }
60762 t4 = variable.expression;
60763 variableNodeWithSpan = this._expressionNode$1(t4);
60764 newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60765 }
60766 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
60767 return new A.ExplicitConfiguration(node, newValues);
60768 else
60769 return new A.Configuration(newValues);
60770 },
60771 _removeUsedConfiguration$3$except(upstream, downstream, except) {
60772 var t1, t2, t3, t4, _i, $name;
60773 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) {
60774 $name = t2[_i];
60775 if (except.contains$1(0, $name))
60776 continue;
60777 if (!t4.containsKey$1($name))
60778 if (!t1.get$isEmpty(t1))
60779 t1.remove$1(0, $name);
60780 }
60781 },
60782 _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
60783 var t1, entry;
60784 if (!(configuration instanceof A.ExplicitConfiguration))
60785 return;
60786 t1 = configuration._values;
60787 if (t1.get$isEmpty(t1))
60788 return;
60789 t1 = t1.get$entries(t1);
60790 entry = t1.get$first(t1);
60791 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
60792 throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
60793 },
60794 _assertConfigurationIsEmpty$1(configuration) {
60795 return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
60796 },
60797 visitFunctionRule$1(node) {
60798 var t1 = this._environment,
60799 t2 = t1.closure$0(),
60800 t3 = this._inDependency,
60801 t4 = t1._functions,
60802 index = t4.length - 1,
60803 t5 = node.name;
60804 t1._functionIndices.$indexSet(0, t5, index);
60805 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
60806 return null;
60807 },
60808 visitIfRule$1(node) {
60809 var t1, t2, _i, clauseToCheck, _box_0 = {};
60810 _box_0.clause = node.lastClause;
60811 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
60812 clauseToCheck = t1[_i];
60813 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
60814 _box_0.clause = clauseToCheck;
60815 break;
60816 }
60817 }
60818 t1 = _box_0.clause;
60819 if (t1 == null)
60820 return null;
60821 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
60822 },
60823 visitImportRule$1(node) {
60824 var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
60825 _s8_ = "__parent",
60826 _s5_ = "_root",
60827 _s13_ = "_endOfImports";
60828 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) {
60829 $import = t1[_i];
60830 if ($import instanceof A.DynamicImport)
60831 _this._visitDynamicImport$1($import);
60832 else {
60833 t5._as($import);
60834 t7 = $import.url;
60835 result = _this._performInterpolation$2$warnForColor(t7, false);
60836 $self = $import.modifiers;
60837 t8 = $self == null ? null : t4.call$1($self);
60838 node = new A.ModifiableCssImport(new A.CssValue(result, t7.span, t3), t8, $import.span);
60839 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
60840 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
60841 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
60842 t7 = _this._assertInModule$2(_this.__root, _s5_);
60843 node._parent = t7;
60844 t7 = t7._children;
60845 node._indexInParent = t7.length;
60846 t7.push(node);
60847 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60848 } else {
60849 t7 = _this._outOfOrderImports;
60850 (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
60851 }
60852 }
60853 }
60854 return null;
60855 },
60856 _visitDynamicImport$1($import) {
60857 return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
60858 },
60859 _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
60860 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
60861 _s11_ = "_stylesheet";
60862 baseUrl = baseUrl;
60863 try {
60864 _this._importSpan = span;
60865 importCache = _this._evaluate$_importCache;
60866 if (importCache != null) {
60867 if (baseUrl == null)
60868 baseUrl = _this._assertInModule$2(_this.__stylesheet, _s11_).span.file.url;
60869 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
60870 if (tuple != null) {
60871 isDependency = _this._inDependency || tuple.item1 !== _this._importer;
60872 t1 = tuple.item1;
60873 t2 = tuple.item2;
60874 t3 = tuple.item3;
60875 t4 = _this._quietDeps && isDependency;
60876 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
60877 if (stylesheet != null) {
60878 _this._loadedUrls.add$1(0, tuple.item2);
60879 t1 = tuple.item1;
60880 return new A._LoadedStylesheet(stylesheet, t1, isDependency);
60881 }
60882 }
60883 } else {
60884 t1 = baseUrl;
60885 result = _this._importLikeNode$3(url, t1 == null ? _this._assertInModule$2(_this.__stylesheet, _s11_).span.file.url : t1, forImport);
60886 if (result != null) {
60887 t1 = _this._loadedUrls;
60888 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
60889 return result;
60890 }
60891 }
60892 if (B.JSString_methods.startsWith$1(url, "package:") && true)
60893 throw A.wrapException(string$.x22packa);
60894 else
60895 throw A.wrapException("Can't find stylesheet to import.");
60896 } catch (exception) {
60897 t1 = A.unwrapException(exception);
60898 if (t1 instanceof A.SassException) {
60899 error = t1;
60900 stackTrace = A.getTraceFromException(exception);
60901 t1 = error;
60902 t2 = J.getInterceptor$z(t1);
60903 A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
60904 } else {
60905 error0 = t1;
60906 stackTrace0 = A.getTraceFromException(exception);
60907 message = null;
60908 try {
60909 message = A._asString(J.get$message$x(error0));
60910 } catch (exception) {
60911 message0 = J.toString$0$(error0);
60912 message = message0;
60913 }
60914 A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
60915 }
60916 } finally {
60917 _this._importSpan = null;
60918 }
60919 },
60920 _loadStylesheet$3$baseUrl(url, span, baseUrl) {
60921 return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
60922 },
60923 _loadStylesheet$3$forImport(url, span, forImport) {
60924 return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
60925 },
60926 _importLikeNode$3(originalUrl, previous, forImport) {
60927 var _this = this,
60928 result = _this._nodeImporter.loadRelative$3(originalUrl, previous, forImport),
60929 isDependency = _this._inDependency,
60930 contents = result.get$item1(),
60931 url = result.get$item2(),
60932 t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
60933 return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
60934 },
60935 visitIncludeRule$1(node) {
60936 var nodeWithSpan, t1, _this = this,
60937 _s37_ = "Mixin doesn't accept a content block.",
60938 mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
60939 if (mixin == null)
60940 throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
60941 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
60942 if (mixin instanceof A.BuiltInCallable) {
60943 if (node.content != null)
60944 throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
60945 _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
60946 } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
60947 t1 = node.content;
60948 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
60949 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())));
60950 _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);
60951 } else
60952 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
60953 return null;
60954 },
60955 visitMixinRule$1(node) {
60956 var t1 = this._environment,
60957 t2 = t1.closure$0(),
60958 t3 = this._inDependency,
60959 t4 = t1._mixins,
60960 index = t4.length - 1,
60961 t5 = node.name;
60962 t1._mixinIndices.$indexSet(0, t5, index);
60963 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
60964 return null;
60965 },
60966 visitLoudComment$1(node) {
60967 var t1, _this = this,
60968 _s8_ = "__parent",
60969 _s13_ = "_endOfImports";
60970 if (_this._inFunction)
60971 return null;
60972 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))
60973 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60974 t1 = node.text;
60975 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
60976 return null;
60977 },
60978 visitMediaRule$1(node) {
60979 var queries, mergedQueries, t1, _this = this;
60980 if (_this._declarationName != null)
60981 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
60982 queries = _this._visitMediaQueries$1(node.query);
60983 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
60984 t1 = mergedQueries == null;
60985 if (!t1 && J.get$isEmpty$asx(mergedQueries))
60986 return null;
60987 t1 = t1 ? queries : mergedQueries;
60988 _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);
60989 return null;
60990 },
60991 _visitMediaQueries$1(interpolation) {
60992 return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
60993 },
60994 _mergeMediaQueries$2(queries1, queries2) {
60995 var t1, t2, t3, t4, t5, result,
60996 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
60997 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
60998 t4 = t1.get$current(t1);
60999 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
61000 result = t4.merge$1(t5.get$current(t5));
61001 if (result === B._SingletonCssMediaQueryMergeResult_empty)
61002 continue;
61003 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
61004 return null;
61005 queries.push(t3._as(result).query);
61006 }
61007 }
61008 return queries;
61009 },
61010 visitReturnRule$1(node) {
61011 var t1 = node.expression;
61012 return this._withoutSlash$2(t1.accept$1(this), t1);
61013 },
61014 visitSilentComment$1(node) {
61015 return null;
61016 },
61017 visitStyleRule$1(node) {
61018 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
61019 _s8_ = "__parent",
61020 t1 = {};
61021 if (_this._declarationName != null)
61022 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
61023 t2 = node.selector;
61024 selectorText = _this._interpolationToValue$3$trim$warnForColor(t2, true, true);
61025 if (_this._inKeyframes) {
61026 _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);
61027 return null;
61028 }
61029 t1.parsedSelector = _this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
61030 t1.parsedSelector = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure3(t1, _this));
61031 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._mediaQueries), node.span, t1.parsedSelector);
61032 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
61033 t1 = _this._atRootExcludingStyleRule = false;
61034 _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);
61035 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61036 if ((oldAtRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot) == null) {
61037 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61038 t1 = !t1.get$isEmpty(t1);
61039 }
61040 if (t1) {
61041 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61042 t1.get$last(t1).isGroupEnd = true;
61043 }
61044 return null;
61045 },
61046 visitSupportsRule$1(node) {
61047 var t1, _this = this;
61048 if (_this._declarationName != null)
61049 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61050 t1 = node.condition;
61051 _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);
61052 return null;
61053 },
61054 _visitSupportsCondition$1(condition) {
61055 var t1, oldInSupportsDeclaration, t2, t3, _this = this;
61056 if (condition instanceof A.SupportsOperation) {
61057 t1 = condition.operator;
61058 return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
61059 } else if (condition instanceof A.SupportsNegation)
61060 return "not " + _this._parenthesize$1(condition.condition);
61061 else if (condition instanceof A.SupportsInterpolation) {
61062 t1 = condition.expression;
61063 return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
61064 } else if (condition instanceof A.SupportsDeclaration) {
61065 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61066 _this._inSupportsDeclaration = true;
61067 t1 = condition.name;
61068 t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true);
61069 t2 = condition.get$isCustomProperty() ? "" : " ";
61070 t3 = condition.value;
61071 t3 = _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
61072 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61073 return "(" + t1 + ":" + t2 + t3 + ")";
61074 } else if (condition instanceof A.SupportsFunction)
61075 return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
61076 else if (condition instanceof A.SupportsAnything)
61077 return "(" + _this._performInterpolation$1(condition.contents) + ")";
61078 else
61079 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
61080 },
61081 _parenthesize$2(condition, operator) {
61082 var t1;
61083 if (!(condition instanceof A.SupportsNegation))
61084 if (condition instanceof A.SupportsOperation)
61085 t1 = operator == null || operator !== condition.operator;
61086 else
61087 t1 = false;
61088 else
61089 t1 = true;
61090 if (t1)
61091 return "(" + this._visitSupportsCondition$1(condition) + ")";
61092 else
61093 return this._visitSupportsCondition$1(condition);
61094 },
61095 _parenthesize$1(condition) {
61096 return this._parenthesize$2(condition, null);
61097 },
61098 visitVariableDeclaration$1(node) {
61099 var t1, value, _this = this, _null = null;
61100 if (node.isGuarded) {
61101 if (node.namespace == null && _this._environment._variables.length === 1) {
61102 t1 = _this._configuration._values;
61103 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
61104 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
61105 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
61106 return _null;
61107 }
61108 }
61109 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
61110 if (value != null && !value.$eq(0, B.C__SassNull))
61111 return _null;
61112 }
61113 if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
61114 t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
61115 _this._warn$3$deprecation(t1, node.span, true);
61116 }
61117 t1 = node.expression;
61118 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
61119 return _null;
61120 },
61121 visitUseRule$1(node) {
61122 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
61123 t1 = node.configuration,
61124 t2 = t1.length;
61125 if (t2 !== 0) {
61126 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
61127 for (_i = 0; _i < t2; ++_i) {
61128 variable = t1[_i];
61129 t3 = variable.expression;
61130 variableNodeWithSpan = _this._expressionNode$1(t3);
61131 values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
61132 }
61133 configuration = new A.ExplicitConfiguration(node, values);
61134 } else
61135 configuration = B.Configuration_Map_empty;
61136 _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
61137 _this._assertConfigurationIsEmpty$1(configuration);
61138 return null;
61139 },
61140 visitWarnRule$1(node) {
61141 var _this = this,
61142 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
61143 t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
61144 _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
61145 return null;
61146 },
61147 visitWhileRule$1(node) {
61148 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
61149 },
61150 visitBinaryOperationExpression$1(node) {
61151 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
61152 },
61153 visitValueExpression$1(node) {
61154 return node.value;
61155 },
61156 visitVariableExpression$1(node) {
61157 var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
61158 if (result != null)
61159 return result;
61160 throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
61161 },
61162 visitUnaryOperationExpression$1(node) {
61163 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
61164 },
61165 visitBooleanExpression$1(node) {
61166 return node.value ? B.SassBoolean_true : B.SassBoolean_false;
61167 },
61168 visitIfExpression$1(node) {
61169 var condition, t2, ifTrue, ifFalse, result, _this = this,
61170 pair = _this._evaluateMacroArguments$1(node),
61171 positional = pair.item1,
61172 named = pair.item2,
61173 t1 = J.getInterceptor$asx(positional);
61174 _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
61175 if (t1.get$length(positional) > 0)
61176 condition = t1.$index(positional, 0);
61177 else {
61178 t2 = named.$index(0, "condition");
61179 t2.toString;
61180 condition = t2;
61181 }
61182 if (t1.get$length(positional) > 1)
61183 ifTrue = t1.$index(positional, 1);
61184 else {
61185 t2 = named.$index(0, "if-true");
61186 t2.toString;
61187 ifTrue = t2;
61188 }
61189 if (t1.get$length(positional) > 2)
61190 ifFalse = t1.$index(positional, 2);
61191 else {
61192 t1 = named.$index(0, "if-false");
61193 t1.toString;
61194 ifFalse = t1;
61195 }
61196 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
61197 return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
61198 },
61199 visitNullExpression$1(node) {
61200 return B.C__SassNull;
61201 },
61202 visitNumberExpression$1(node) {
61203 var t1 = node.value,
61204 t2 = node.unit;
61205 return t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
61206 },
61207 visitParenthesizedExpression$1(node) {
61208 return node.expression.accept$1(this);
61209 },
61210 visitCalculationExpression$1(node) {
61211 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
61212 t1 = A._setArrayType([], type$.JSArray_Object);
61213 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
61214 argument = t2[_i];
61215 t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
61216 }
61217 $arguments = t1;
61218 if (_this._inSupportsDeclaration)
61219 return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
61220 try {
61221 switch (t4) {
61222 case "calc":
61223 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
61224 return t1;
61225 case "min":
61226 t1 = A.SassCalculation_min($arguments);
61227 return t1;
61228 case "max":
61229 t1 = A.SassCalculation_max($arguments);
61230 return t1;
61231 case "clamp":
61232 t1 = J.$index$asx($arguments, 0);
61233 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
61234 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
61235 return t1;
61236 default:
61237 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
61238 throw A.wrapException(t1);
61239 }
61240 } catch (exception) {
61241 t1 = A.unwrapException(exception);
61242 if (t1 instanceof A.SassScriptException) {
61243 error = t1;
61244 stackTrace = A.getTraceFromException(exception);
61245 _this._verifyCompatibleNumbers$2($arguments, t2);
61246 A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
61247 } else
61248 throw exception;
61249 }
61250 },
61251 _verifyCompatibleNumbers$2(args, nodesWithSpans) {
61252 var i, t1, arg, number1, j, number2;
61253 for (i = 0; t1 = args.length, i < t1; ++i) {
61254 arg = args[i];
61255 if (!(arg instanceof A.SassNumber))
61256 continue;
61257 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
61258 throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
61259 }
61260 for (i = 0; i < t1 - 1; ++i) {
61261 number1 = args[i];
61262 if (!(number1 instanceof A.SassNumber))
61263 continue;
61264 for (j = i + 1; t1 = args.length, j < t1; ++j) {
61265 number2 = args[j];
61266 if (!(number2 instanceof A.SassNumber))
61267 continue;
61268 if (number1.hasPossiblyCompatibleUnits$1(number2))
61269 continue;
61270 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]))));
61271 }
61272 }
61273 },
61274 _visitCalculationValue$2$inMinMax(node, inMinMax) {
61275 var inner, result, t1, _this = this;
61276 if (node instanceof A.ParenthesizedExpression) {
61277 inner = node.expression;
61278 result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
61279 if (inner instanceof A.FunctionExpression)
61280 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
61281 else
61282 t1 = false;
61283 return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
61284 } else if (node instanceof A.StringExpression)
61285 return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
61286 else if (node instanceof A.BinaryOperationExpression)
61287 return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
61288 else {
61289 result = node.accept$1(_this);
61290 if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
61291 return result;
61292 if (result instanceof A.SassString && !result._hasQuotes)
61293 return result;
61294 throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
61295 }
61296 },
61297 _binaryOperatorToCalculationOperator$1(operator) {
61298 switch (operator) {
61299 case B.BinaryOperator_AcR0:
61300 return B.CalculationOperator_Iem;
61301 case B.BinaryOperator_iyO:
61302 return B.CalculationOperator_uti;
61303 case B.BinaryOperator_O1M:
61304 return B.CalculationOperator_Dih;
61305 case B.BinaryOperator_RTB:
61306 return B.CalculationOperator_jB6;
61307 default:
61308 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
61309 }
61310 },
61311 visitColorExpression$1(node) {
61312 return node.value;
61313 },
61314 visitListExpression$1(node) {
61315 var t1 = node.contents;
61316 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);
61317 },
61318 visitMapExpression$1(node) {
61319 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
61320 t1 = type$.Value,
61321 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
61322 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
61323 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
61324 pair = t2[_i];
61325 t4 = pair.item1;
61326 keyValue = t4.accept$1(this);
61327 valueValue = pair.item2.accept$1(this);
61328 if (map.$index(0, keyValue) != null) {
61329 t1 = keyNodes.$index(0, keyValue);
61330 oldValueSpan = t1 == null ? null : t1.get$span(t1);
61331 t1 = J.getInterceptor$z(t4);
61332 t2 = t1.get$span(t4);
61333 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
61334 if (oldValueSpan != null)
61335 t3.$indexSet(0, oldValueSpan, "first key");
61336 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
61337 }
61338 map.$indexSet(0, keyValue, valueValue);
61339 keyNodes.$indexSet(0, keyValue, t4);
61340 }
61341 return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
61342 },
61343 visitFunctionExpression$1(node) {
61344 var oldInFunction, result, _this = this, t1 = {},
61345 $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
61346 t1.$function = $function;
61347 if ($function == null) {
61348 if (node.namespace != null)
61349 throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
61350 t1.$function = new A.PlainCssCallable(node.originalName);
61351 }
61352 oldInFunction = _this._inFunction;
61353 _this._inFunction = true;
61354 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
61355 _this._inFunction = oldInFunction;
61356 return result;
61357 },
61358 visitInterpolatedFunctionExpression$1(node) {
61359 var result, _this = this,
61360 t1 = _this._performInterpolation$1(node.name),
61361 oldInFunction = _this._inFunction;
61362 _this._inFunction = true;
61363 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
61364 _this._inFunction = oldInFunction;
61365 return result;
61366 },
61367 _getFunction$2$namespace($name, namespace) {
61368 var local = this._environment.getFunction$2$namespace($name, namespace);
61369 if (local != null || namespace != null)
61370 return local;
61371 return this._builtInFunctions.$index(0, $name);
61372 },
61373 _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
61374 var oldCallable, result, _this = this,
61375 evaluated = _this._evaluateArguments$1($arguments),
61376 $name = callable.declaration.name;
61377 if ($name !== "@content")
61378 $name += "()";
61379 oldCallable = _this._currentCallable;
61380 _this._currentCallable = callable;
61381 result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
61382 _this._currentCallable = oldCallable;
61383 return result;
61384 },
61385 _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
61386 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
61387 if (callable instanceof A.BuiltInCallable)
61388 return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
61389 else if (type$.UserDefinedCallable_Environment._is(callable))
61390 return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
61391 else if (callable instanceof A.PlainCssCallable) {
61392 t1 = $arguments.named;
61393 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
61394 throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
61395 t1 = callable.name + "(";
61396 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
61397 argument = t2[_i];
61398 if (first)
61399 first = false;
61400 else
61401 t1 += ", ";
61402 t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
61403 }
61404 restArg = $arguments.rest;
61405 if (restArg != null) {
61406 rest = restArg.accept$1(_this);
61407 if (!first)
61408 t1 += ", ";
61409 t1 += _this._evaluate$_serialize$2(rest, restArg);
61410 }
61411 t1 += A.Primitives_stringFromCharCode(41);
61412 return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
61413 } else
61414 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
61415 },
61416 _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
61417 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,
61418 evaluated = _this._evaluateArguments$1($arguments),
61419 oldCallableNode = _this._callableNode;
61420 _this._callableNode = nodeWithSpan;
61421 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
61422 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
61423 overload = tuple.item1;
61424 callback = tuple.item2;
61425 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
61426 declaredArguments = overload.$arguments;
61427 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
61428 argument = declaredArguments[i];
61429 t2 = evaluated.positional;
61430 t3 = evaluated.named.remove$1(0, argument.name);
61431 if (t3 == null) {
61432 t3 = argument.defaultValue;
61433 t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
61434 }
61435 t2.push(t3);
61436 }
61437 if (overload.restArgument != null) {
61438 if (evaluated.positional.length > t1) {
61439 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
61440 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
61441 } else
61442 rest = B.List_empty5;
61443 t1 = evaluated.named;
61444 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
61445 evaluated.positional.push(argumentList);
61446 } else
61447 argumentList = null;
61448 result = null;
61449 try {
61450 result = callback.call$1(evaluated.positional);
61451 } catch (exception) {
61452 t1 = A.unwrapException(exception);
61453 if (type$.SassRuntimeException._is(t1))
61454 throw exception;
61455 else if (t1 instanceof A.MultiSpanSassScriptException) {
61456 error = t1;
61457 stackTrace = A.getTraceFromException(exception);
61458 t1 = error.message;
61459 t2 = nodeWithSpan.get$span(nodeWithSpan);
61460 t3 = error.primaryLabel;
61461 t4 = error.secondarySpans;
61462 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);
61463 } else if (t1 instanceof A.MultiSpanSassException) {
61464 error0 = t1;
61465 stackTrace0 = A.getTraceFromException(exception);
61466 t1 = error0._span_exception$_message;
61467 t2 = error0;
61468 t3 = J.getInterceptor$z(t2);
61469 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
61470 t3 = error0.primaryLabel;
61471 t4 = error0.secondarySpans;
61472 t5 = error0;
61473 t6 = J.getInterceptor$z(t5);
61474 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);
61475 } else {
61476 error1 = t1;
61477 stackTrace1 = A.getTraceFromException(exception);
61478 message = null;
61479 try {
61480 message = A._asString(J.get$message$x(error1));
61481 } catch (exception) {
61482 message0 = J.toString$0$(error1);
61483 message = message0;
61484 }
61485 A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
61486 }
61487 }
61488 _this._callableNode = oldCallableNode;
61489 if (argumentList == null)
61490 return result;
61491 if (evaluated.named.__js_helper$_length === 0)
61492 return result;
61493 if (argumentList._wereKeywordsAccessed)
61494 return result;
61495 t1 = evaluated.named;
61496 t1 = t1.get$keys(t1);
61497 t1 = A.pluralize("argument", t1.get$length(t1), null);
61498 t2 = evaluated.named;
61499 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))));
61500 },
61501 _evaluateArguments$1($arguments) {
61502 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
61503 positional = A._setArrayType([], type$.JSArray_Value),
61504 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
61505 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
61506 expression = t1[_i];
61507 nodeForSpan = _this._expressionNode$1(expression);
61508 positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
61509 positionalNodes.push(nodeForSpan);
61510 }
61511 t1 = type$.String;
61512 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
61513 t2 = type$.AstNode;
61514 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61515 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61516 t4 = t3.get$current(t3);
61517 t5 = t4.value;
61518 nodeForSpan = _this._expressionNode$1(t5);
61519 t4 = t4.key;
61520 named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
61521 namedNodes.$indexSet(0, t4, nodeForSpan);
61522 }
61523 restArgs = $arguments.rest;
61524 if (restArgs == null)
61525 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
61526 rest = restArgs.accept$1(_this);
61527 restNodeForSpan = _this._expressionNode$1(restArgs);
61528 if (rest instanceof A.SassMap) {
61529 _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
61530 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61531 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
61532 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
61533 namedNodes.addAll$1(0, t3);
61534 separator = B.ListSeparator_undecided_null;
61535 } else if (rest instanceof A.SassList) {
61536 t3 = rest._list$_contents;
61537 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>")));
61538 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
61539 separator = rest._separator;
61540 if (rest instanceof A.SassArgumentList) {
61541 rest._wereKeywordsAccessed = true;
61542 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
61543 }
61544 } else {
61545 positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
61546 positionalNodes.push(restNodeForSpan);
61547 separator = B.ListSeparator_undecided_null;
61548 }
61549 keywordRestArgs = $arguments.keywordRest;
61550 if (keywordRestArgs == null)
61551 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61552 keywordRest = keywordRestArgs.accept$1(_this);
61553 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
61554 if (keywordRest instanceof A.SassMap) {
61555 _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
61556 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61557 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
61558 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
61559 namedNodes.addAll$1(0, t1);
61560 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61561 } else
61562 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
61563 },
61564 _evaluateMacroArguments$1(invocation) {
61565 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
61566 t1 = invocation.$arguments,
61567 restArgs_ = t1.rest;
61568 if (restArgs_ == null)
61569 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61570 t2 = t1.positional;
61571 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
61572 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
61573 rest = restArgs_.accept$1(_this);
61574 restNodeForSpan = _this._expressionNode$1(restArgs_);
61575 if (rest instanceof A.SassMap)
61576 _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
61577 else if (rest instanceof A.SassList) {
61578 t2 = rest._list$_contents;
61579 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>")));
61580 if (rest instanceof A.SassArgumentList) {
61581 rest._wereKeywordsAccessed = true;
61582 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
61583 }
61584 } else
61585 positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
61586 keywordRestArgs_ = t1.keywordRest;
61587 if (keywordRestArgs_ == null)
61588 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61589 keywordRest = keywordRestArgs_.accept$1(_this);
61590 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
61591 if (keywordRest instanceof A.SassMap) {
61592 _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
61593 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61594 } else
61595 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
61596 },
61597 _addRestMap$1$4(values, map, nodeWithSpan, convert) {
61598 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
61599 },
61600 _addRestMap$4(values, map, nodeWithSpan, convert) {
61601 return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
61602 },
61603 _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
61604 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
61605 },
61606 visitSelectorExpression$1(node) {
61607 var t1 = this._styleRuleIgnoringAtRoot;
61608 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
61609 return t1 == null ? B.C__SassNull : t1;
61610 },
61611 visitStringExpression$1(node) {
61612 var t1, _this = this,
61613 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61614 _this._inSupportsDeclaration = false;
61615 t1 = node.text.contents;
61616 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61617 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61618 return new A.SassString(t1, node.hasQuotes);
61619 },
61620 visitSupportsExpression$1(expression) {
61621 return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
61622 },
61623 visitCssAtRule$1(node) {
61624 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
61625 if (_this._declarationName != null)
61626 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
61627 if (node.isChildless) {
61628 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
61629 return;
61630 }
61631 wasInKeyframes = _this._inKeyframes;
61632 wasInUnknownAtRule = _this._inUnknownAtRule;
61633 t1 = node.name;
61634 if (A.unvendor(t1.get$value(t1)) === "keyframes")
61635 _this._inKeyframes = true;
61636 else
61637 _this._inUnknownAtRule = true;
61638 _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);
61639 _this._inUnknownAtRule = wasInUnknownAtRule;
61640 _this._inKeyframes = wasInKeyframes;
61641 },
61642 visitCssComment$1(node) {
61643 var _this = this,
61644 _s8_ = "__parent",
61645 _s13_ = "_endOfImports";
61646 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))
61647 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61648 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
61649 },
61650 visitCssDeclaration$1(node) {
61651 var t1 = node.name;
61652 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));
61653 },
61654 visitCssImport$1(node) {
61655 var t1, _this = this,
61656 _s8_ = "__parent",
61657 _s5_ = "_root",
61658 _s13_ = "_endOfImports",
61659 modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
61660 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
61661 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
61662 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
61663 _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
61664 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61665 } else {
61666 t1 = _this._outOfOrderImports;
61667 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
61668 }
61669 },
61670 visitCssKeyframeBlock$1(node) {
61671 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);
61672 },
61673 visitCssMediaRule$1(node) {
61674 var mergedQueries, t1, _this = this;
61675 if (_this._declarationName != null)
61676 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
61677 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
61678 t1 = mergedQueries == null;
61679 if (!t1 && J.get$isEmpty$asx(mergedQueries))
61680 return;
61681 t1 = t1 ? node.queries : mergedQueries;
61682 _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);
61683 },
61684 visitCssStyleRule$1(node) {
61685 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
61686 _s8_ = "__parent";
61687 if (_this._declarationName != null)
61688 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
61689 t1 = _this._atRootExcludingStyleRule;
61690 styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
61691 t2 = node.selector;
61692 t3 = t2.value;
61693 t4 = styleRule == null;
61694 t5 = t4 ? null : styleRule.originalSelector;
61695 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
61696 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
61697 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
61698 _this._atRootExcludingStyleRule = false;
61699 _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);
61700 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61701 if (t4) {
61702 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61703 t1 = !t1.get$isEmpty(t1);
61704 } else
61705 t1 = false;
61706 if (t1) {
61707 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61708 t1.get$last(t1).isGroupEnd = true;
61709 }
61710 },
61711 visitCssStylesheet$1(node) {
61712 var t1;
61713 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
61714 t1.get$current(t1).accept$1(this);
61715 },
61716 visitCssSupportsRule$1(node) {
61717 var _this = this;
61718 if (_this._declarationName != null)
61719 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61720 _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);
61721 },
61722 _handleReturn$1$2(list, callback) {
61723 var t1, _i, result;
61724 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
61725 result = callback.call$1(list[_i]);
61726 if (result != null)
61727 return result;
61728 }
61729 return null;
61730 },
61731 _handleReturn$2(list, callback) {
61732 return this._handleReturn$1$2(list, callback, type$.dynamic);
61733 },
61734 _withEnvironment$1$2(environment, callback) {
61735 var result,
61736 oldEnvironment = this._environment;
61737 this._environment = environment;
61738 result = callback.call$0();
61739 this._environment = oldEnvironment;
61740 return result;
61741 },
61742 _withEnvironment$2(environment, callback) {
61743 return this._withEnvironment$1$2(environment, callback, type$.dynamic);
61744 },
61745 _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
61746 var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
61747 t1 = trim ? A.trimAscii(result, true) : result;
61748 return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
61749 },
61750 _interpolationToValue$1(interpolation) {
61751 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
61752 },
61753 _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
61754 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
61755 },
61756 _performInterpolation$2$warnForColor(interpolation, warnForColor) {
61757 var t1, result, _this = this,
61758 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61759 _this._inSupportsDeclaration = false;
61760 t1 = interpolation.contents;
61761 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61762 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61763 return result;
61764 },
61765 _performInterpolation$1(interpolation) {
61766 return this._performInterpolation$2$warnForColor(interpolation, false);
61767 },
61768 _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
61769 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
61770 },
61771 _evaluate$_serialize$2(value, nodeWithSpan) {
61772 return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
61773 },
61774 _expressionNode$1(expression) {
61775 var t1;
61776 if (expression instanceof A.VariableExpression) {
61777 t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
61778 return t1 == null ? expression : t1;
61779 } else
61780 return expression;
61781 },
61782 _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
61783 var t1, result, _this = this;
61784 _this._addChild$2$through(node, through);
61785 t1 = _this._assertInModule$2(_this.__parent, "__parent");
61786 _this.__parent = node;
61787 result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
61788 _this.__parent = t1;
61789 return result;
61790 },
61791 _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
61792 return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
61793 },
61794 _withParent$2$2(node, callback, $S, $T) {
61795 return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
61796 },
61797 _addChild$2$through(node, through) {
61798 var grandparent, t1,
61799 $parent = this._assertInModule$2(this.__parent, "__parent");
61800 if (through != null) {
61801 for (; through.call$1($parent); $parent = grandparent) {
61802 grandparent = $parent._parent;
61803 if (grandparent == null)
61804 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
61805 }
61806 if ($parent.get$hasFollowingSibling()) {
61807 t1 = $parent._parent;
61808 t1.toString;
61809 $parent = $parent.copyWithoutChildren$0();
61810 t1.addChild$1($parent);
61811 }
61812 }
61813 $parent.addChild$1(node);
61814 },
61815 _addChild$1(node) {
61816 return this._addChild$2$through(node, null);
61817 },
61818 _withStyleRule$1$2(rule, callback) {
61819 var result,
61820 oldRule = this._styleRuleIgnoringAtRoot;
61821 this._styleRuleIgnoringAtRoot = rule;
61822 result = callback.call$0();
61823 this._styleRuleIgnoringAtRoot = oldRule;
61824 return result;
61825 },
61826 _withStyleRule$2(rule, callback) {
61827 return this._withStyleRule$1$2(rule, callback, type$.dynamic);
61828 },
61829 _withMediaQueries$1$2(queries, callback) {
61830 var result,
61831 oldMediaQueries = this._mediaQueries;
61832 this._mediaQueries = queries;
61833 result = callback.call$0();
61834 this._mediaQueries = oldMediaQueries;
61835 return result;
61836 },
61837 _withMediaQueries$2(queries, callback) {
61838 return this._withMediaQueries$1$2(queries, callback, type$.dynamic);
61839 },
61840 _withStackFrame$1$3(member, nodeWithSpan, callback) {
61841 var oldMember, result, _this = this,
61842 t1 = _this._stack;
61843 t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
61844 oldMember = _this._member;
61845 _this._member = member;
61846 result = callback.call$0();
61847 _this._member = oldMember;
61848 t1.pop();
61849 return result;
61850 },
61851 _withStackFrame$3(member, nodeWithSpan, callback) {
61852 return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
61853 },
61854 _withoutSlash$2(value, nodeForSpan) {
61855 if (value instanceof A.SassNumber && value.asSlash != null)
61856 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);
61857 return value.withoutSlash$0();
61858 },
61859 _stackFrame$2(member, span) {
61860 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure(this)));
61861 },
61862 _evaluate$_stackTrace$1(span) {
61863 var _this = this,
61864 t1 = _this._stack;
61865 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);
61866 if (span != null)
61867 t1.push(_this._stackFrame$2(_this._member, span));
61868 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
61869 },
61870 _evaluate$_stackTrace$0() {
61871 return this._evaluate$_stackTrace$1(null);
61872 },
61873 _warn$3$deprecation(message, span, deprecation) {
61874 var t1, _this = this;
61875 if (_this._quietDeps)
61876 if (!_this._inDependency) {
61877 t1 = _this._currentCallable;
61878 t1 = t1 == null ? null : t1.inDependency;
61879 t1 = t1 === true;
61880 } else
61881 t1 = true;
61882 else
61883 t1 = false;
61884 if (t1)
61885 return;
61886 if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
61887 return;
61888 _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
61889 },
61890 _warn$2(message, span) {
61891 return this._warn$3$deprecation(message, span, false);
61892 },
61893 _evaluate$_exception$2(message, span) {
61894 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
61895 return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
61896 },
61897 _evaluate$_exception$1(message) {
61898 return this._evaluate$_exception$2(message, null);
61899 },
61900 _multiSpanException$3(message, primaryLabel, secondaryLabels) {
61901 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
61902 return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
61903 },
61904 _adjustParseError$1$2(nodeWithSpan, callback) {
61905 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
61906 try {
61907 t1 = callback.call$0();
61908 return t1;
61909 } catch (exception) {
61910 t1 = A.unwrapException(exception);
61911 if (t1 instanceof A.SassFormatException) {
61912 error = t1;
61913 stackTrace = A.getTraceFromException(exception);
61914 t1 = error;
61915 t2 = J.getInterceptor$z(t1);
61916 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
61917 span = nodeWithSpan.get$span(nodeWithSpan);
61918 t1 = span;
61919 t2 = span;
61920 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);
61921 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
61922 t1 = span;
61923 t1 = A.FileLocation$_(t1.file, t1._file$_start);
61924 t3 = error;
61925 t4 = J.getInterceptor$z(t3);
61926 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
61927 t3 = A.FileLocation$_(t3.file, t3._file$_start);
61928 t4 = span;
61929 t4 = A.FileLocation$_(t4.file, t4._file$_start);
61930 t5 = error;
61931 t6 = J.getInterceptor$z(t5);
61932 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
61933 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
61934 A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
61935 } else
61936 throw exception;
61937 }
61938 },
61939 _adjustParseError$2(nodeWithSpan, callback) {
61940 return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
61941 },
61942 _addExceptionSpan$1$2(nodeWithSpan, callback) {
61943 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
61944 try {
61945 t1 = callback.call$0();
61946 return t1;
61947 } catch (exception) {
61948 t1 = A.unwrapException(exception);
61949 if (t1 instanceof A.MultiSpanSassScriptException) {
61950 error = t1;
61951 stackTrace = A.getTraceFromException(exception);
61952 t1 = error.message;
61953 t2 = nodeWithSpan.get$span(nodeWithSpan);
61954 t3 = error.primaryLabel;
61955 t4 = error.secondarySpans;
61956 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);
61957 } else if (t1 instanceof A.SassScriptException) {
61958 error0 = t1;
61959 stackTrace0 = A.getTraceFromException(exception);
61960 A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
61961 } else
61962 throw exception;
61963 }
61964 },
61965 _addExceptionSpan$2(nodeWithSpan, callback) {
61966 return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61967 },
61968 _addErrorSpan$1$2(nodeWithSpan, callback) {
61969 var error, stackTrace, t1, exception, t2;
61970 try {
61971 t1 = callback.call$0();
61972 return t1;
61973 } catch (exception) {
61974 t1 = A.unwrapException(exception);
61975 if (type$.SassRuntimeException._is(t1)) {
61976 error = t1;
61977 stackTrace = A.getTraceFromException(exception);
61978 t1 = J.get$span$z(error);
61979 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"))
61980 throw exception;
61981 t1 = error._span_exception$_message;
61982 t2 = nodeWithSpan.get$span(nodeWithSpan);
61983 A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
61984 } else
61985 throw exception;
61986 }
61987 },
61988 _addErrorSpan$2(nodeWithSpan, callback) {
61989 return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61990 }
61991 };
61992 A._EvaluateVisitor_closure.prototype = {
61993 call$1($arguments) {
61994 var module, t2,
61995 t1 = J.getInterceptor$asx($arguments),
61996 variable = t1.$index($arguments, 0).assertString$1("name");
61997 t1 = t1.$index($arguments, 1).get$realNull();
61998 module = t1 == null ? null : t1.assertString$1("module");
61999 t1 = this.$this._environment;
62000 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
62001 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
62002 },
62003 $signature: 17
62004 };
62005 A._EvaluateVisitor_closure0.prototype = {
62006 call$1($arguments) {
62007 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
62008 t1 = this.$this._environment;
62009 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
62010 },
62011 $signature: 17
62012 };
62013 A._EvaluateVisitor_closure1.prototype = {
62014 call$1($arguments) {
62015 var module, t2, t3, t4,
62016 t1 = J.getInterceptor$asx($arguments),
62017 variable = t1.$index($arguments, 0).assertString$1("name");
62018 t1 = t1.$index($arguments, 1).get$realNull();
62019 module = t1 == null ? null : t1.assertString$1("module");
62020 t1 = this.$this;
62021 t2 = t1._environment;
62022 t3 = variable._string$_text;
62023 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
62024 return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
62025 },
62026 $signature: 17
62027 };
62028 A._EvaluateVisitor_closure2.prototype = {
62029 call$1($arguments) {
62030 var module, t2,
62031 t1 = J.getInterceptor$asx($arguments),
62032 variable = t1.$index($arguments, 0).assertString$1("name");
62033 t1 = t1.$index($arguments, 1).get$realNull();
62034 module = t1 == null ? null : t1.assertString$1("module");
62035 t1 = this.$this._environment;
62036 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
62037 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
62038 },
62039 $signature: 17
62040 };
62041 A._EvaluateVisitor_closure3.prototype = {
62042 call$1($arguments) {
62043 var t1 = this.$this._environment;
62044 if (!t1._inMixin)
62045 throw A.wrapException(A.SassScriptException$(string$.conten));
62046 return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
62047 },
62048 $signature: 17
62049 };
62050 A._EvaluateVisitor_closure4.prototype = {
62051 call$1($arguments) {
62052 var t2, t3, t4,
62053 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
62054 module = this.$this._environment._environment$_modules.$index(0, t1);
62055 if (module == null)
62056 throw A.wrapException('There is no module with namespace "' + t1 + '".');
62057 t1 = type$.Value;
62058 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
62059 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
62060 t4 = t3.get$current(t3);
62061 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
62062 }
62063 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
62064 },
62065 $signature: 37
62066 };
62067 A._EvaluateVisitor_closure5.prototype = {
62068 call$1($arguments) {
62069 var t2, t3, t4,
62070 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
62071 module = this.$this._environment._environment$_modules.$index(0, t1);
62072 if (module == null)
62073 throw A.wrapException('There is no module with namespace "' + t1 + '".');
62074 t1 = type$.Value;
62075 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
62076 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
62077 t4 = t3.get$current(t3);
62078 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
62079 }
62080 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
62081 },
62082 $signature: 37
62083 };
62084 A._EvaluateVisitor_closure6.prototype = {
62085 call$1($arguments) {
62086 var module, callable, t2,
62087 t1 = J.getInterceptor$asx($arguments),
62088 $name = t1.$index($arguments, 0).assertString$1("name"),
62089 css = t1.$index($arguments, 1).get$isTruthy();
62090 t1 = t1.$index($arguments, 2).get$realNull();
62091 module = t1 == null ? null : t1.assertString$1("module");
62092 if (css && module != null)
62093 throw A.wrapException(string$.x24css_a);
62094 if (css)
62095 callable = new A.PlainCssCallable($name._string$_text);
62096 else {
62097 t1 = this.$this;
62098 t2 = t1._callableNode;
62099 t2.toString;
62100 callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
62101 }
62102 if (callable != null)
62103 return new A.SassFunction(callable);
62104 throw A.wrapException("Function not found: " + $name.toString$0(0));
62105 },
62106 $signature: 164
62107 };
62108 A._EvaluateVisitor__closure1.prototype = {
62109 call$0() {
62110 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
62111 t2 = this.module;
62112 t2 = t2 == null ? null : t2._string$_text;
62113 return this.$this._getFunction$2$namespace(t1, t2);
62114 },
62115 $signature: 139
62116 };
62117 A._EvaluateVisitor_closure7.prototype = {
62118 call$1($arguments) {
62119 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
62120 t1 = J.getInterceptor$asx($arguments),
62121 $function = t1.$index($arguments, 0),
62122 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
62123 t1 = this.$this;
62124 t2 = t1._callableNode;
62125 t2.toString;
62126 t3 = A._setArrayType([], type$.JSArray_Expression);
62127 t4 = type$.String;
62128 t5 = type$.Expression;
62129 t6 = t2.get$span(t2);
62130 t7 = t2.get$span(t2);
62131 args._wereKeywordsAccessed = true;
62132 t8 = args._keywords;
62133 if (t8.get$isEmpty(t8))
62134 t2 = null;
62135 else {
62136 t9 = type$.Value;
62137 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
62138 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
62139 t11 = t8.get$current(t8);
62140 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
62141 }
62142 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
62143 }
62144 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);
62145 if ($function instanceof A.SassString) {
62146 t2 = $function.toString$0(0);
62147 A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
62148 callableNode = t1._callableNode;
62149 return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
62150 }
62151 callable = $function.assertFunction$1("function").callable;
62152 if (type$.Callable._is(callable)) {
62153 t2 = t1._callableNode;
62154 t2.toString;
62155 return t1._runFunctionCallable$3(invocation, callable, t2);
62156 } else
62157 throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as));
62158 },
62159 $signature: 4
62160 };
62161 A._EvaluateVisitor_closure8.prototype = {
62162 call$1($arguments) {
62163 var withMap, t2, values, configuration,
62164 t1 = J.getInterceptor$asx($arguments),
62165 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
62166 t1 = t1.$index($arguments, 1).get$realNull();
62167 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
62168 t1 = this.$this;
62169 t2 = t1._callableNode;
62170 t2.toString;
62171 if (withMap != null) {
62172 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
62173 withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
62174 configuration = new A.ExplicitConfiguration(t2, values);
62175 } else
62176 configuration = B.Configuration_Map_empty;
62177 t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t2.get$span(t2).file.url, configuration, true);
62178 t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
62179 },
62180 $signature: 567
62181 };
62182 A._EvaluateVisitor__closure.prototype = {
62183 call$2(variable, value) {
62184 var t1 = variable.assertString$1("with key"),
62185 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
62186 t1 = this.values;
62187 if (t1.containsKey$1($name))
62188 throw A.wrapException("The variable $" + $name + " was configured twice.");
62189 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
62190 },
62191 $signature: 52
62192 };
62193 A._EvaluateVisitor__closure0.prototype = {
62194 call$1(module) {
62195 var t1 = this.$this;
62196 return t1._combineCss$2$clone(module, true).accept$1(t1);
62197 },
62198 $signature: 60
62199 };
62200 A._EvaluateVisitor_run_closure.prototype = {
62201 call$0() {
62202 var t2, _this = this,
62203 t1 = _this.node,
62204 url = t1.span.file.url;
62205 if (url != null) {
62206 t2 = _this.$this;
62207 t2._activeModules.$indexSet(0, url, null);
62208 t2._loadedUrls.add$1(0, url);
62209 }
62210 t2 = _this.$this;
62211 return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
62212 },
62213 $signature: 582
62214 };
62215 A._EvaluateVisitor_runExpression_closure.prototype = {
62216 call$0() {
62217 var t1 = this.$this,
62218 t2 = this.expression;
62219 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
62220 },
62221 $signature: 33
62222 };
62223 A._EvaluateVisitor_runExpression__closure.prototype = {
62224 call$0() {
62225 return this.expression.accept$1(this.$this);
62226 },
62227 $signature: 33
62228 };
62229 A._EvaluateVisitor_runStatement_closure.prototype = {
62230 call$0() {
62231 var t1 = this.$this,
62232 t2 = this.statement;
62233 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
62234 },
62235 $signature: 0
62236 };
62237 A._EvaluateVisitor_runStatement__closure.prototype = {
62238 call$0() {
62239 return this.statement.accept$1(this.$this);
62240 },
62241 $signature: 0
62242 };
62243 A._EvaluateVisitor__loadModule_closure.prototype = {
62244 call$0() {
62245 return this.callback.call$1(this.builtInModule);
62246 },
62247 $signature: 0
62248 };
62249 A._EvaluateVisitor__loadModule_closure0.prototype = {
62250 call$0() {
62251 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
62252 t1 = _this.$this,
62253 t2 = _this.nodeWithSpan,
62254 result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
62255 stylesheet = result.stylesheet,
62256 canonicalUrl = stylesheet.span.file.url;
62257 if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
62258 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
62259 t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
62260 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
62261 }
62262 if (canonicalUrl != null)
62263 t1._activeModules.$indexSet(0, canonicalUrl, t2);
62264 oldInDependency = t1._inDependency;
62265 t1._inDependency = result.isDependency;
62266 module = null;
62267 try {
62268 module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
62269 } finally {
62270 t1._activeModules.remove$1(0, canonicalUrl);
62271 t1._inDependency = oldInDependency;
62272 }
62273 try {
62274 _this.callback.call$1(module);
62275 } catch (exception) {
62276 t2 = A.unwrapException(exception);
62277 if (type$.SassRuntimeException._is(t2))
62278 throw exception;
62279 else if (t2 instanceof A.MultiSpanSassException) {
62280 error = t2;
62281 stackTrace = A.getTraceFromException(exception);
62282 t2 = error._span_exception$_message;
62283 t3 = error;
62284 t4 = J.getInterceptor$z(t3);
62285 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
62286 t4 = error.primaryLabel;
62287 t5 = error.secondarySpans;
62288 t6 = error;
62289 t7 = J.getInterceptor$z(t6);
62290 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);
62291 } else if (t2 instanceof A.SassException) {
62292 error0 = t2;
62293 stackTrace0 = A.getTraceFromException(exception);
62294 t2 = error0;
62295 t3 = J.getInterceptor$z(t2);
62296 A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
62297 } else if (t2 instanceof A.MultiSpanSassScriptException) {
62298 error1 = t2;
62299 stackTrace1 = A.getTraceFromException(exception);
62300 A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
62301 } else if (t2 instanceof A.SassScriptException) {
62302 error2 = t2;
62303 stackTrace2 = A.getTraceFromException(exception);
62304 A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
62305 } else
62306 throw exception;
62307 }
62308 },
62309 $signature: 1
62310 };
62311 A._EvaluateVisitor__loadModule__closure.prototype = {
62312 call$1(previousLoad) {
62313 return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
62314 },
62315 $signature: 87
62316 };
62317 A._EvaluateVisitor__execute_closure.prototype = {
62318 call$0() {
62319 var t3, t4, t5, t6, _this = this,
62320 t1 = _this.$this,
62321 oldImporter = t1._importer,
62322 oldStylesheet = t1.__stylesheet,
62323 oldRoot = t1.__root,
62324 oldParent = t1.__parent,
62325 oldEndOfImports = t1.__endOfImports,
62326 oldOutOfOrderImports = t1._outOfOrderImports,
62327 oldExtensionStore = t1.__extensionStore,
62328 t2 = t1._atRootExcludingStyleRule,
62329 oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
62330 oldMediaQueries = t1._mediaQueries,
62331 oldDeclarationName = t1._declarationName,
62332 oldInUnknownAtRule = t1._inUnknownAtRule,
62333 oldInKeyframes = t1._inKeyframes,
62334 oldConfiguration = t1._configuration;
62335 t1._importer = _this.importer;
62336 t3 = t1.__stylesheet = _this.stylesheet;
62337 t4 = t3.span;
62338 t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
62339 t1.__endOfImports = 0;
62340 t1._outOfOrderImports = null;
62341 t1.__extensionStore = _this.extensionStore;
62342 t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
62343 t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
62344 t6 = _this.configuration;
62345 if (t6 != null)
62346 t1._configuration = t6;
62347 t1.visitStylesheet$1(t3);
62348 t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
62349 _this.css._value = t3;
62350 t1._importer = oldImporter;
62351 t1.__stylesheet = oldStylesheet;
62352 t1.__root = oldRoot;
62353 t1.__parent = oldParent;
62354 t1.__endOfImports = oldEndOfImports;
62355 t1._outOfOrderImports = oldOutOfOrderImports;
62356 t1.__extensionStore = oldExtensionStore;
62357 t1._styleRuleIgnoringAtRoot = oldStyleRule;
62358 t1._mediaQueries = oldMediaQueries;
62359 t1._declarationName = oldDeclarationName;
62360 t1._inUnknownAtRule = oldInUnknownAtRule;
62361 t1._atRootExcludingStyleRule = t2;
62362 t1._inKeyframes = oldInKeyframes;
62363 t1._configuration = oldConfiguration;
62364 },
62365 $signature: 1
62366 };
62367 A._EvaluateVisitor__combineCss_closure.prototype = {
62368 call$1(module) {
62369 return module.get$transitivelyContainsCss();
62370 },
62371 $signature: 118
62372 };
62373 A._EvaluateVisitor__combineCss_closure0.prototype = {
62374 call$1(target) {
62375 return !this.selectors.contains$1(0, target);
62376 },
62377 $signature: 16
62378 };
62379 A._EvaluateVisitor__combineCss_closure1.prototype = {
62380 call$1(module) {
62381 return module.cloneCss$0();
62382 },
62383 $signature: 584
62384 };
62385 A._EvaluateVisitor__extendModules_closure.prototype = {
62386 call$1(target) {
62387 return !this.originalSelectors.contains$1(0, target);
62388 },
62389 $signature: 16
62390 };
62391 A._EvaluateVisitor__extendModules_closure0.prototype = {
62392 call$0() {
62393 return A._setArrayType([], type$.JSArray_ExtensionStore);
62394 },
62395 $signature: 161
62396 };
62397 A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
62398 call$1(module) {
62399 var t1, t2, t3, _i, upstream;
62400 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
62401 upstream = t1[_i];
62402 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
62403 this.call$1(upstream);
62404 }
62405 this.sorted.addFirst$1(module);
62406 },
62407 $signature: 60
62408 };
62409 A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
62410 call$0() {
62411 var t1 = A.SpanScanner$(this.resolved, null);
62412 return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62413 },
62414 $signature: 104
62415 };
62416 A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
62417 call$0() {
62418 var t1, t2, t3, _i;
62419 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62420 t1[_i].accept$1(t3);
62421 },
62422 $signature: 1
62423 };
62424 A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
62425 call$0() {
62426 var t1, t2, t3, _i;
62427 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62428 t1[_i].accept$1(t3);
62429 },
62430 $signature: 0
62431 };
62432 A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
62433 call$1(callback) {
62434 var t1 = this.$this,
62435 t2 = t1._assertInModule$2(t1.__parent, "__parent");
62436 t1.__parent = this.newParent;
62437 t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
62438 t1.__parent = t2;
62439 },
62440 $signature: 28
62441 };
62442 A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
62443 call$1(callback) {
62444 var t1 = this.$this,
62445 oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
62446 t1._atRootExcludingStyleRule = true;
62447 this.innerScope.call$1(callback);
62448 t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
62449 },
62450 $signature: 28
62451 };
62452 A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
62453 call$1(callback) {
62454 return this.$this._withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
62455 },
62456 $signature: 28
62457 };
62458 A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
62459 call$0() {
62460 return this.innerScope.call$1(this.callback);
62461 },
62462 $signature: 1
62463 };
62464 A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
62465 call$1(callback) {
62466 var t1 = this.$this,
62467 wasInKeyframes = t1._inKeyframes;
62468 t1._inKeyframes = false;
62469 this.innerScope.call$1(callback);
62470 t1._inKeyframes = wasInKeyframes;
62471 },
62472 $signature: 28
62473 };
62474 A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
62475 call$1($parent) {
62476 return type$.CssAtRule._is($parent);
62477 },
62478 $signature: 160
62479 };
62480 A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
62481 call$1(callback) {
62482 var t1 = this.$this,
62483 wasInUnknownAtRule = t1._inUnknownAtRule;
62484 t1._inUnknownAtRule = false;
62485 this.innerScope.call$1(callback);
62486 t1._inUnknownAtRule = wasInUnknownAtRule;
62487 },
62488 $signature: 28
62489 };
62490 A._EvaluateVisitor_visitContentRule_closure.prototype = {
62491 call$0() {
62492 var t1, t2, t3, _i;
62493 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62494 t1[_i].accept$1(t3);
62495 return null;
62496 },
62497 $signature: 1
62498 };
62499 A._EvaluateVisitor_visitDeclaration_closure.prototype = {
62500 call$1(value) {
62501 return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
62502 },
62503 $signature: 599
62504 };
62505 A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
62506 call$0() {
62507 var t1, t2, t3, _i;
62508 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62509 t1[_i].accept$1(t3);
62510 },
62511 $signature: 1
62512 };
62513 A._EvaluateVisitor_visitEachRule_closure.prototype = {
62514 call$1(value) {
62515 var t1 = this.$this,
62516 t2 = this.nodeWithSpan;
62517 return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
62518 },
62519 $signature: 56
62520 };
62521 A._EvaluateVisitor_visitEachRule_closure0.prototype = {
62522 call$1(value) {
62523 return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
62524 },
62525 $signature: 56
62526 };
62527 A._EvaluateVisitor_visitEachRule_closure1.prototype = {
62528 call$0() {
62529 var _this = this,
62530 t1 = _this.$this;
62531 return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
62532 },
62533 $signature: 35
62534 };
62535 A._EvaluateVisitor_visitEachRule__closure.prototype = {
62536 call$1(element) {
62537 var t1;
62538 this.setVariables.call$1(element);
62539 t1 = this.$this;
62540 return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
62541 },
62542 $signature: 260
62543 };
62544 A._EvaluateVisitor_visitEachRule___closure.prototype = {
62545 call$1(child) {
62546 return child.accept$1(this.$this);
62547 },
62548 $signature: 89
62549 };
62550 A._EvaluateVisitor_visitExtendRule_closure.prototype = {
62551 call$0() {
62552 return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
62553 },
62554 $signature: 44
62555 };
62556 A._EvaluateVisitor_visitAtRule_closure.prototype = {
62557 call$1(value) {
62558 return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
62559 },
62560 $signature: 262
62561 };
62562 A._EvaluateVisitor_visitAtRule_closure0.prototype = {
62563 call$0() {
62564 var t2, t3, _i,
62565 t1 = this.$this,
62566 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62567 if (styleRule == null || t1._inKeyframes)
62568 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62569 t2[_i].accept$1(t1);
62570 else
62571 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);
62572 },
62573 $signature: 1
62574 };
62575 A._EvaluateVisitor_visitAtRule__closure.prototype = {
62576 call$0() {
62577 var t1, t2, t3, _i;
62578 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62579 t1[_i].accept$1(t3);
62580 },
62581 $signature: 1
62582 };
62583 A._EvaluateVisitor_visitAtRule_closure1.prototype = {
62584 call$1(node) {
62585 return type$.CssStyleRule._is(node);
62586 },
62587 $signature: 8
62588 };
62589 A._EvaluateVisitor_visitForRule_closure.prototype = {
62590 call$0() {
62591 return this.node.from.accept$1(this.$this).assertNumber$0();
62592 },
62593 $signature: 220
62594 };
62595 A._EvaluateVisitor_visitForRule_closure0.prototype = {
62596 call$0() {
62597 return this.node.to.accept$1(this.$this).assertNumber$0();
62598 },
62599 $signature: 220
62600 };
62601 A._EvaluateVisitor_visitForRule_closure1.prototype = {
62602 call$0() {
62603 return this.fromNumber.assertInt$0();
62604 },
62605 $signature: 12
62606 };
62607 A._EvaluateVisitor_visitForRule_closure2.prototype = {
62608 call$0() {
62609 var t1 = this.fromNumber;
62610 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
62611 },
62612 $signature: 12
62613 };
62614 A._EvaluateVisitor_visitForRule_closure3.prototype = {
62615 call$0() {
62616 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
62617 t1 = _this.$this,
62618 t2 = _this.node,
62619 nodeWithSpan = t1._expressionNode$1(t2.from);
62620 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) {
62621 t7 = t1._environment;
62622 t8 = t6.get$numeratorUnits(t6);
62623 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
62624 result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
62625 if (result != null)
62626 return result;
62627 }
62628 return null;
62629 },
62630 $signature: 35
62631 };
62632 A._EvaluateVisitor_visitForRule__closure.prototype = {
62633 call$1(child) {
62634 return child.accept$1(this.$this);
62635 },
62636 $signature: 89
62637 };
62638 A._EvaluateVisitor_visitForwardRule_closure.prototype = {
62639 call$1(module) {
62640 this.$this._environment.forwardModule$2(module, this.node);
62641 },
62642 $signature: 60
62643 };
62644 A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
62645 call$1(module) {
62646 this.$this._environment.forwardModule$2(module, this.node);
62647 },
62648 $signature: 60
62649 };
62650 A._EvaluateVisitor_visitIfRule_closure.prototype = {
62651 call$0() {
62652 var t1 = this.$this;
62653 return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
62654 },
62655 $signature: 35
62656 };
62657 A._EvaluateVisitor_visitIfRule__closure.prototype = {
62658 call$1(child) {
62659 return child.accept$1(this.$this);
62660 },
62661 $signature: 89
62662 };
62663 A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
62664 call$0() {
62665 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
62666 t1 = this.$this,
62667 t2 = this.$import,
62668 result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
62669 stylesheet = result.stylesheet,
62670 url = stylesheet.span.file.url;
62671 if (url != null) {
62672 t3 = t1._activeModules;
62673 if (t3.containsKey$1(url)) {
62674 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
62675 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
62676 }
62677 t3.$indexSet(0, url, t2);
62678 }
62679 t2 = stylesheet._uses;
62680 t3 = type$.UnmodifiableListView_UseRule;
62681 t4 = new A.UnmodifiableListView(t2, t3);
62682 if (t4.get$length(t4) === 0) {
62683 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62684 t4 = t4.get$length(t4) === 0;
62685 } else
62686 t4 = false;
62687 if (t4) {
62688 oldImporter = t1._importer;
62689 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
62690 oldInDependency = t1._inDependency;
62691 t1._importer = result.importer;
62692 t1.__stylesheet = stylesheet;
62693 t1._inDependency = result.isDependency;
62694 t1.visitStylesheet$1(stylesheet);
62695 t1._importer = oldImporter;
62696 t1.__stylesheet = t2;
62697 t1._inDependency = oldInDependency;
62698 t1._activeModules.remove$1(0, url);
62699 return;
62700 }
62701 t2 = new A.UnmodifiableListView(t2, t3);
62702 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
62703 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62704 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
62705 } else
62706 loadsUserDefinedModules = true;
62707 children = A._Cell$();
62708 t2 = t1._environment;
62709 t3 = type$.String;
62710 t4 = type$.Module_Callable;
62711 t5 = type$.AstNode;
62712 t6 = A._setArrayType([], type$.JSArray_Module_Callable);
62713 t7 = t2._variables;
62714 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
62715 t8 = t2._variableNodes;
62716 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
62717 t9 = t2._functions;
62718 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
62719 t10 = t2._mixins;
62720 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
62721 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);
62722 t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
62723 module = environment.toDummyModule$0();
62724 t1._environment.importForwards$1(module);
62725 if (loadsUserDefinedModules) {
62726 if (module.transitivelyContainsCss)
62727 t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
62728 visitor = new A._ImportedCssVisitor(t1);
62729 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
62730 t2.get$current(t2).accept$1(visitor);
62731 }
62732 t1._activeModules.remove$1(0, url);
62733 },
62734 $signature: 0
62735 };
62736 A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
62737 call$1(previousLoad) {
62738 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));
62739 },
62740 $signature: 87
62741 };
62742 A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
62743 call$1(rule) {
62744 return rule.url.get$scheme() !== "sass";
62745 },
62746 $signature: 154
62747 };
62748 A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
62749 call$1(rule) {
62750 return rule.url.get$scheme() !== "sass";
62751 },
62752 $signature: 153
62753 };
62754 A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
62755 call$0() {
62756 var t7, t8, t9, _this = this,
62757 t1 = _this.$this,
62758 oldImporter = t1._importer,
62759 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
62760 t3 = t1._assertInModule$2(t1.__root, "_root"),
62761 t4 = t1._assertInModule$2(t1.__parent, "__parent"),
62762 t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
62763 oldOutOfOrderImports = t1._outOfOrderImports,
62764 oldConfiguration = t1._configuration,
62765 oldInDependency = t1._inDependency,
62766 t6 = _this.result;
62767 t1._importer = t6.importer;
62768 t7 = t1.__stylesheet = _this.stylesheet;
62769 t8 = _this.loadsUserDefinedModules;
62770 if (t8) {
62771 t9 = A.ModifiableCssStylesheet$(t7.span);
62772 t1.__root = t9;
62773 t1.__parent = t1._assertInModule$2(t9, "_root");
62774 t1.__endOfImports = 0;
62775 t1._outOfOrderImports = null;
62776 }
62777 t1._inDependency = t6.isDependency;
62778 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
62779 if (!t6.get$isEmpty(t6))
62780 t1._configuration = _this.environment.toImplicitConfiguration$0();
62781 t1.visitStylesheet$1(t7);
62782 t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
62783 _this.children._value = t6;
62784 t1._importer = oldImporter;
62785 t1.__stylesheet = t2;
62786 if (t8) {
62787 t1.__root = t3;
62788 t1.__parent = t4;
62789 t1.__endOfImports = t5;
62790 t1._outOfOrderImports = oldOutOfOrderImports;
62791 }
62792 t1._configuration = oldConfiguration;
62793 t1._inDependency = oldInDependency;
62794 },
62795 $signature: 1
62796 };
62797 A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
62798 call$0() {
62799 var t1 = this.node;
62800 return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
62801 },
62802 $signature: 139
62803 };
62804 A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
62805 call$0() {
62806 return this.node.get$spanWithoutContent();
62807 },
62808 $signature: 30
62809 };
62810 A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
62811 call$1($content) {
62812 var t1 = this.$this;
62813 return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
62814 },
62815 $signature: 264
62816 };
62817 A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
62818 call$0() {
62819 var _this = this,
62820 t1 = _this.$this,
62821 t2 = t1._environment,
62822 oldContent = t2._content;
62823 t2._content = _this.contentCallable;
62824 new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
62825 t2._content = oldContent;
62826 },
62827 $signature: 1
62828 };
62829 A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
62830 call$0() {
62831 var t1 = this.$this,
62832 t2 = t1._environment,
62833 oldInMixin = t2._inMixin;
62834 t2._inMixin = true;
62835 new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
62836 t2._inMixin = oldInMixin;
62837 },
62838 $signature: 0
62839 };
62840 A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
62841 call$0() {
62842 var t1, t2, t3, t4, _i;
62843 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
62844 t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
62845 },
62846 $signature: 0
62847 };
62848 A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
62849 call$0() {
62850 return this.statement.accept$1(this.$this);
62851 },
62852 $signature: 35
62853 };
62854 A._EvaluateVisitor_visitMediaRule_closure.prototype = {
62855 call$1(mediaQueries) {
62856 return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
62857 },
62858 $signature: 83
62859 };
62860 A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
62861 call$0() {
62862 var _this = this,
62863 t1 = _this.$this,
62864 t2 = _this.mergedQueries;
62865 if (t2 == null)
62866 t2 = _this.queries;
62867 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
62868 },
62869 $signature: 1
62870 };
62871 A._EvaluateVisitor_visitMediaRule__closure.prototype = {
62872 call$0() {
62873 var t2, t3, _i,
62874 t1 = this.$this,
62875 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62876 if (styleRule == null)
62877 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62878 t2[_i].accept$1(t1);
62879 else
62880 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);
62881 },
62882 $signature: 1
62883 };
62884 A._EvaluateVisitor_visitMediaRule___closure.prototype = {
62885 call$0() {
62886 var t1, t2, t3, _i;
62887 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62888 t1[_i].accept$1(t3);
62889 },
62890 $signature: 1
62891 };
62892 A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
62893 call$1(node) {
62894 var t1;
62895 if (!type$.CssStyleRule._is(node))
62896 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
62897 else
62898 t1 = true;
62899 return t1;
62900 },
62901 $signature: 8
62902 };
62903 A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
62904 call$0() {
62905 var t1 = A.SpanScanner$(this.resolved, null);
62906 return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62907 },
62908 $signature: 103
62909 };
62910 A._EvaluateVisitor_visitStyleRule_closure.prototype = {
62911 call$0() {
62912 return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
62913 },
62914 $signature: 46
62915 };
62916 A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
62917 call$0() {
62918 var t1, t2, t3, _i;
62919 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62920 t1[_i].accept$1(t3);
62921 },
62922 $signature: 1
62923 };
62924 A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
62925 call$1(node) {
62926 return type$.CssStyleRule._is(node);
62927 },
62928 $signature: 8
62929 };
62930 A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
62931 call$0() {
62932 var _s11_ = "_stylesheet",
62933 t1 = this.$this;
62934 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);
62935 },
62936 $signature: 44
62937 };
62938 A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
62939 call$0() {
62940 var t1 = this._box_0.parsedSelector,
62941 t2 = this.$this,
62942 t3 = t2._styleRuleIgnoringAtRoot;
62943 t3 = t3 == null ? null : t3.originalSelector;
62944 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
62945 },
62946 $signature: 44
62947 };
62948 A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
62949 call$0() {
62950 var t1 = this.$this;
62951 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
62952 },
62953 $signature: 1
62954 };
62955 A._EvaluateVisitor_visitStyleRule__closure.prototype = {
62956 call$0() {
62957 var t1, t2, t3, _i;
62958 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62959 t1[_i].accept$1(t3);
62960 },
62961 $signature: 1
62962 };
62963 A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
62964 call$1(node) {
62965 return type$.CssStyleRule._is(node);
62966 },
62967 $signature: 8
62968 };
62969 A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
62970 call$0() {
62971 var t2, t3, _i,
62972 t1 = this.$this,
62973 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62974 if (styleRule == null)
62975 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62976 t2[_i].accept$1(t1);
62977 else
62978 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
62979 },
62980 $signature: 1
62981 };
62982 A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
62983 call$0() {
62984 var t1, t2, t3, _i;
62985 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62986 t1[_i].accept$1(t3);
62987 },
62988 $signature: 1
62989 };
62990 A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
62991 call$1(node) {
62992 return type$.CssStyleRule._is(node);
62993 },
62994 $signature: 8
62995 };
62996 A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
62997 call$0() {
62998 var t1 = this.override;
62999 this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
63000 },
63001 $signature: 1
63002 };
63003 A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
63004 call$0() {
63005 var t1 = this.node;
63006 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
63007 },
63008 $signature: 35
63009 };
63010 A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
63011 call$0() {
63012 var t1 = this.$this,
63013 t2 = this.node;
63014 t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
63015 },
63016 $signature: 1
63017 };
63018 A._EvaluateVisitor_visitUseRule_closure.prototype = {
63019 call$1(module) {
63020 var t1 = this.node;
63021 this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
63022 },
63023 $signature: 60
63024 };
63025 A._EvaluateVisitor_visitWarnRule_closure.prototype = {
63026 call$0() {
63027 return this.node.expression.accept$1(this.$this);
63028 },
63029 $signature: 33
63030 };
63031 A._EvaluateVisitor_visitWhileRule_closure.prototype = {
63032 call$0() {
63033 var t1, t2, t3, result;
63034 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
63035 result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
63036 if (result != null)
63037 return result;
63038 }
63039 return null;
63040 },
63041 $signature: 35
63042 };
63043 A._EvaluateVisitor_visitWhileRule__closure.prototype = {
63044 call$1(child) {
63045 return child.accept$1(this.$this);
63046 },
63047 $signature: 89
63048 };
63049 A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
63050 call$0() {
63051 var right, result,
63052 t1 = this.node,
63053 t2 = this.$this,
63054 left = t1.left.accept$1(t2),
63055 t3 = t1.operator;
63056 switch (t3) {
63057 case B.BinaryOperator_kjl:
63058 right = t1.right.accept$1(t2);
63059 return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
63060 case B.BinaryOperator_or_or_1:
63061 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
63062 case B.BinaryOperator_and_and_2:
63063 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
63064 case B.BinaryOperator_YlX:
63065 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
63066 case B.BinaryOperator_i5H:
63067 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
63068 case B.BinaryOperator_AcR:
63069 return left.greaterThan$1(t1.right.accept$1(t2));
63070 case B.BinaryOperator_1da:
63071 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
63072 case B.BinaryOperator_8qt:
63073 return left.lessThan$1(t1.right.accept$1(t2));
63074 case B.BinaryOperator_33h:
63075 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
63076 case B.BinaryOperator_AcR0:
63077 return left.plus$1(t1.right.accept$1(t2));
63078 case B.BinaryOperator_iyO:
63079 return left.minus$1(t1.right.accept$1(t2));
63080 case B.BinaryOperator_O1M:
63081 return left.times$1(t1.right.accept$1(t2));
63082 case B.BinaryOperator_RTB:
63083 right = t1.right.accept$1(t2);
63084 result = left.dividedBy$1(right);
63085 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
63086 return type$.SassNumber._as(result).withSlash$2(left, right);
63087 else {
63088 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
63089 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);
63090 return result;
63091 }
63092 case B.BinaryOperator_2ad:
63093 return left.modulo$1(t1.right.accept$1(t2));
63094 default:
63095 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
63096 }
63097 },
63098 $signature: 33
63099 };
63100 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
63101 call$1(expression) {
63102 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
63103 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
63104 else if (expression instanceof A.ParenthesizedExpression)
63105 return expression.expression.toString$0(0);
63106 else
63107 return expression.toString$0(0);
63108 },
63109 $signature: 135
63110 };
63111 A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
63112 call$0() {
63113 var t1 = this.node;
63114 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
63115 },
63116 $signature: 35
63117 };
63118 A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
63119 call$0() {
63120 var _this = this,
63121 t1 = _this.node.operator;
63122 switch (t1) {
63123 case B.UnaryOperator_j2w:
63124 return _this.operand.unaryPlus$0();
63125 case B.UnaryOperator_U4G:
63126 return _this.operand.unaryMinus$0();
63127 case B.UnaryOperator_zDx:
63128 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
63129 case B.UnaryOperator_not_not:
63130 return _this.operand.unaryNot$0();
63131 default:
63132 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
63133 }
63134 },
63135 $signature: 33
63136 };
63137 A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
63138 call$0() {
63139 var t1 = this.$this,
63140 t2 = this.node,
63141 t3 = this.inMinMax;
63142 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);
63143 },
63144 $signature: 88
63145 };
63146 A._EvaluateVisitor_visitListExpression_closure.prototype = {
63147 call$1(expression) {
63148 return expression.accept$1(this.$this);
63149 },
63150 $signature: 266
63151 };
63152 A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
63153 call$0() {
63154 var t1 = this.node;
63155 return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
63156 },
63157 $signature: 139
63158 };
63159 A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
63160 call$0() {
63161 var t1 = this.node;
63162 return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
63163 },
63164 $signature: 33
63165 };
63166 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
63167 call$0() {
63168 var t1 = this.node;
63169 return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
63170 },
63171 $signature: 33
63172 };
63173 A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
63174 call$0() {
63175 var _this = this,
63176 t1 = _this.$this,
63177 t2 = _this.callable;
63178 return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
63179 },
63180 $signature() {
63181 return this.V._eval$1("0()");
63182 }
63183 };
63184 A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
63185 call$0() {
63186 var _this = this,
63187 t1 = _this.$this,
63188 t2 = _this.V;
63189 return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
63190 },
63191 $signature() {
63192 return this.V._eval$1("0()");
63193 }
63194 };
63195 A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
63196 call$0() {
63197 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
63198 t1 = _this.$this,
63199 t2 = _this.evaluated,
63200 t3 = t2.positional,
63201 t4 = t2.named,
63202 t5 = _this.callable.declaration.$arguments,
63203 t6 = _this.nodeWithSpan;
63204 t1._verifyArguments$4(t3.length, t4, t5, t6);
63205 declaredArguments = t5.$arguments;
63206 t7 = declaredArguments.length;
63207 minLength = Math.min(t3.length, t7);
63208 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
63209 t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
63210 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
63211 argument = declaredArguments[i];
63212 t9 = argument.name;
63213 value = t4.remove$1(0, t9);
63214 if (value == null) {
63215 t10 = argument.defaultValue;
63216 value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
63217 }
63218 t10 = t1._environment;
63219 t11 = t8.$index(0, t9);
63220 if (t11 == null) {
63221 t11 = argument.defaultValue;
63222 t11.toString;
63223 t11 = t1._expressionNode$1(t11);
63224 }
63225 t10.setLocalVariable$3(t9, value, t11);
63226 }
63227 restArgument = t5.restArgument;
63228 if (restArgument != null) {
63229 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
63230 t2 = t2.separator;
63231 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
63232 t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
63233 } else
63234 argumentList = null;
63235 result = _this.run.call$0();
63236 if (argumentList == null)
63237 return result;
63238 t2 = t4.__js_helper$_length;
63239 if (t2 === 0)
63240 return result;
63241 if (argumentList._wereKeywordsAccessed)
63242 return result;
63243 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
63244 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))));
63245 },
63246 $signature() {
63247 return this.V._eval$1("0()");
63248 }
63249 };
63250 A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
63251 call$1($name) {
63252 return "$" + $name;
63253 },
63254 $signature: 5
63255 };
63256 A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
63257 call$0() {
63258 var t1, t2, t3, t4, _i, $returnValue;
63259 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
63260 $returnValue = t2[_i].accept$1(t4);
63261 if ($returnValue instanceof A.Value)
63262 return $returnValue;
63263 }
63264 throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
63265 },
63266 $signature: 33
63267 };
63268 A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
63269 call$0() {
63270 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
63271 },
63272 $signature: 0
63273 };
63274 A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
63275 call$1($name) {
63276 return "$" + $name;
63277 },
63278 $signature: 5
63279 };
63280 A._EvaluateVisitor__evaluateArguments_closure.prototype = {
63281 call$1(value) {
63282 return value;
63283 },
63284 $signature: 36
63285 };
63286 A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
63287 call$1(value) {
63288 return this.$this._withoutSlash$2(value, this.restNodeForSpan);
63289 },
63290 $signature: 36
63291 };
63292 A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
63293 call$2(key, value) {
63294 var _this = this,
63295 t1 = _this.restNodeForSpan;
63296 _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
63297 _this.namedNodes.$indexSet(0, key, t1);
63298 },
63299 $signature: 95
63300 };
63301 A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
63302 call$1(value) {
63303 return value;
63304 },
63305 $signature: 36
63306 };
63307 A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
63308 call$1(value) {
63309 var t1 = this.restArgs;
63310 return new A.ValueExpression(value, t1.get$span(t1));
63311 },
63312 $signature: 51
63313 };
63314 A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
63315 call$1(value) {
63316 var t1 = this.restArgs;
63317 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
63318 },
63319 $signature: 51
63320 };
63321 A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
63322 call$2(key, value) {
63323 var _this = this,
63324 t1 = _this.restArgs;
63325 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
63326 },
63327 $signature: 95
63328 };
63329 A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
63330 call$1(value) {
63331 var t1 = this.keywordRestArgs;
63332 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
63333 },
63334 $signature: 51
63335 };
63336 A._EvaluateVisitor__addRestMap_closure.prototype = {
63337 call$2(key, value) {
63338 var t2, _this = this,
63339 t1 = _this.$this;
63340 if (key instanceof A.SassString)
63341 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
63342 else {
63343 t2 = _this.nodeWithSpan;
63344 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)));
63345 }
63346 },
63347 $signature: 52
63348 };
63349 A._EvaluateVisitor__verifyArguments_closure.prototype = {
63350 call$0() {
63351 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
63352 },
63353 $signature: 0
63354 };
63355 A._EvaluateVisitor_visitStringExpression_closure.prototype = {
63356 call$1(value) {
63357 var t1, result;
63358 if (typeof value == "string")
63359 return value;
63360 type$.Expression._as(value);
63361 t1 = this.$this;
63362 result = value.accept$1(t1);
63363 return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
63364 },
63365 $signature: 48
63366 };
63367 A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
63368 call$0() {
63369 var t1, t2, t3, t4;
63370 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();) {
63371 t4 = t1.__internal$_current;
63372 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63373 }
63374 },
63375 $signature: 1
63376 };
63377 A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
63378 call$1(node) {
63379 return type$.CssStyleRule._is(node);
63380 },
63381 $signature: 8
63382 };
63383 A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
63384 call$0() {
63385 var t1, t2, t3, t4;
63386 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();) {
63387 t4 = t1.__internal$_current;
63388 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63389 }
63390 },
63391 $signature: 1
63392 };
63393 A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
63394 call$1(node) {
63395 return type$.CssStyleRule._is(node);
63396 },
63397 $signature: 8
63398 };
63399 A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
63400 call$1(mediaQueries) {
63401 return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
63402 },
63403 $signature: 83
63404 };
63405 A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
63406 call$0() {
63407 var _this = this,
63408 t1 = _this.$this,
63409 t2 = _this.mergedQueries;
63410 if (t2 == null)
63411 t2 = _this.node.queries;
63412 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
63413 },
63414 $signature: 1
63415 };
63416 A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
63417 call$0() {
63418 var t2, t3, t4,
63419 t1 = this.$this,
63420 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63421 if (styleRule == null)
63422 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
63423 t4 = t2.__internal$_current;
63424 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
63425 }
63426 else
63427 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);
63428 },
63429 $signature: 1
63430 };
63431 A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
63432 call$0() {
63433 var t1, t2, t3, t4;
63434 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();) {
63435 t4 = t1.__internal$_current;
63436 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63437 }
63438 },
63439 $signature: 1
63440 };
63441 A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
63442 call$1(node) {
63443 var t1;
63444 if (!type$.CssStyleRule._is(node))
63445 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
63446 else
63447 t1 = true;
63448 return t1;
63449 },
63450 $signature: 8
63451 };
63452 A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
63453 call$0() {
63454 var t1 = this.$this;
63455 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
63456 },
63457 $signature: 1
63458 };
63459 A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
63460 call$0() {
63461 var t1, t2, t3, t4;
63462 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();) {
63463 t4 = t1.__internal$_current;
63464 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63465 }
63466 },
63467 $signature: 1
63468 };
63469 A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
63470 call$1(node) {
63471 return type$.CssStyleRule._is(node);
63472 },
63473 $signature: 8
63474 };
63475 A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
63476 call$0() {
63477 var t2, t3, t4,
63478 t1 = this.$this,
63479 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63480 if (styleRule == null)
63481 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
63482 t4 = t2.__internal$_current;
63483 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
63484 }
63485 else
63486 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
63487 },
63488 $signature: 1
63489 };
63490 A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
63491 call$0() {
63492 var t1, t2, t3, t4;
63493 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();) {
63494 t4 = t1.__internal$_current;
63495 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
63496 }
63497 },
63498 $signature: 1
63499 };
63500 A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
63501 call$1(node) {
63502 return type$.CssStyleRule._is(node);
63503 },
63504 $signature: 8
63505 };
63506 A._EvaluateVisitor__performInterpolation_closure.prototype = {
63507 call$1(value) {
63508 var t1, result, t2, t3;
63509 if (typeof value == "string")
63510 return value;
63511 type$.Expression._as(value);
63512 t1 = this.$this;
63513 result = value.accept$1(t1);
63514 if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
63515 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
63516 t3 = $.$get$namesByColor();
63517 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));
63518 }
63519 return t1._evaluate$_serialize$3$quote(result, value, false);
63520 },
63521 $signature: 48
63522 };
63523 A._EvaluateVisitor__serialize_closure.prototype = {
63524 call$0() {
63525 return A.serializeValue(this.value, false, this.quote);
63526 },
63527 $signature: 29
63528 };
63529 A._EvaluateVisitor__expressionNode_closure.prototype = {
63530 call$0() {
63531 var t1 = this.expression;
63532 return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
63533 },
63534 $signature: 150
63535 };
63536 A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
63537 call$1(number) {
63538 var asSlash = number.asSlash;
63539 if (asSlash != null)
63540 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
63541 else
63542 return A.serializeValue(number, true, true);
63543 },
63544 $signature: 148
63545 };
63546 A._EvaluateVisitor__stackFrame_closure.prototype = {
63547 call$1(url) {
63548 var t1 = this.$this._evaluate$_importCache;
63549 t1 = t1 == null ? null : t1.humanize$1(url);
63550 return t1 == null ? url : t1;
63551 },
63552 $signature: 90
63553 };
63554 A._EvaluateVisitor__stackTrace_closure.prototype = {
63555 call$1(tuple) {
63556 return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
63557 },
63558 $signature: 182
63559 };
63560 A._ImportedCssVisitor.prototype = {
63561 visitCssAtRule$1(node) {
63562 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
63563 this._visitor._addChild$2$through(node, t1);
63564 },
63565 visitCssComment$1(node) {
63566 return this._visitor._addChild$1(node);
63567 },
63568 visitCssDeclaration$1(node) {
63569 },
63570 visitCssImport$1(node) {
63571 var t2,
63572 _s13_ = "_endOfImports",
63573 t1 = this._visitor;
63574 if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
63575 t1._addChild$1(node);
63576 else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
63577 t1._addChild$1(node);
63578 t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
63579 } else {
63580 t2 = t1._outOfOrderImports;
63581 (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
63582 }
63583 },
63584 visitCssKeyframeBlock$1(node) {
63585 },
63586 visitCssMediaRule$1(node) {
63587 var t1 = this._visitor,
63588 mediaQueries = t1._mediaQueries;
63589 t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
63590 },
63591 visitCssStyleRule$1(node) {
63592 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
63593 },
63594 visitCssStylesheet$1(node) {
63595 var t1, t2, t3;
63596 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
63597 t3 = t1.__internal$_current;
63598 (t3 == null ? t2._as(t3) : t3).accept$1(this);
63599 }
63600 },
63601 visitCssSupportsRule$1(node) {
63602 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
63603 }
63604 };
63605 A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
63606 call$1(node) {
63607 return type$.CssStyleRule._is(node);
63608 },
63609 $signature: 8
63610 };
63611 A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
63612 call$1(node) {
63613 var t1;
63614 if (!type$.CssStyleRule._is(node))
63615 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
63616 else
63617 t1 = true;
63618 return t1;
63619 },
63620 $signature: 8
63621 };
63622 A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
63623 call$1(node) {
63624 return type$.CssStyleRule._is(node);
63625 },
63626 $signature: 8
63627 };
63628 A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
63629 call$1(node) {
63630 return type$.CssStyleRule._is(node);
63631 },
63632 $signature: 8
63633 };
63634 A._EvaluationContext.prototype = {
63635 get$currentCallableSpan() {
63636 var callableNode = this._visitor._callableNode;
63637 if (callableNode != null)
63638 return callableNode.get$span(callableNode);
63639 throw A.wrapException(A.StateError$(string$.No_Sasc));
63640 },
63641 warn$2$deprecation(_, message, deprecation) {
63642 var t1 = this._visitor,
63643 t2 = t1._importSpan;
63644 if (t2 == null) {
63645 t2 = t1._callableNode;
63646 t2 = t2 == null ? null : t2.get$span(t2);
63647 }
63648 if (t2 == null) {
63649 t2 = this._defaultWarnNodeWithSpan;
63650 t2 = t2.get$span(t2);
63651 }
63652 t1._warn$3$deprecation(message, t2, deprecation);
63653 },
63654 $isEvaluationContext: 1
63655 };
63656 A._ArgumentResults.prototype = {};
63657 A._LoadedStylesheet.prototype = {};
63658 A._FindDependenciesVisitor.prototype = {
63659 visitEachRule$1(node) {
63660 },
63661 visitForRule$1(node) {
63662 },
63663 visitIfRule$1(node) {
63664 },
63665 visitWhileRule$1(node) {
63666 },
63667 visitUseRule$1(node) {
63668 var t1 = node.url;
63669 if (t1.get$scheme() !== "sass")
63670 this._usesAndForwards.push(t1);
63671 },
63672 visitForwardRule$1(node) {
63673 var t1 = node.url;
63674 if (t1.get$scheme() !== "sass")
63675 this._usesAndForwards.push(t1);
63676 },
63677 visitImportRule$1(node) {
63678 var t1, t2, t3, _i, $import;
63679 for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
63680 $import = t1[_i];
63681 if ($import instanceof A.DynamicImport)
63682 t3.push(A.Uri_parse($import.urlString));
63683 }
63684 }
63685 };
63686 A.RecursiveStatementVisitor.prototype = {
63687 visitAtRootRule$1(node) {
63688 this.visitChildren$1(node.children);
63689 },
63690 visitAtRule$1(node) {
63691 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63692 },
63693 visitContentBlock$1(node) {
63694 return null;
63695 },
63696 visitContentRule$1(node) {
63697 },
63698 visitDebugRule$1(node) {
63699 },
63700 visitDeclaration$1(node) {
63701 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63702 },
63703 visitErrorRule$1(node) {
63704 },
63705 visitExtendRule$1(node) {
63706 },
63707 visitFunctionRule$1(node) {
63708 return null;
63709 },
63710 visitIncludeRule$1(node) {
63711 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
63712 },
63713 visitLoudComment$1(node) {
63714 },
63715 visitMediaRule$1(node) {
63716 return this.visitChildren$1(node.children);
63717 },
63718 visitMixinRule$1(node) {
63719 return null;
63720 },
63721 visitReturnRule$1(node) {
63722 },
63723 visitSilentComment$1(node) {
63724 },
63725 visitStyleRule$1(node) {
63726 return this.visitChildren$1(node.children);
63727 },
63728 visitStylesheet$1(node) {
63729 return this.visitChildren$1(node.children);
63730 },
63731 visitSupportsRule$1(node) {
63732 return this.visitChildren$1(node.children);
63733 },
63734 visitVariableDeclaration$1(node) {
63735 },
63736 visitWarnRule$1(node) {
63737 },
63738 visitChildren$1(children) {
63739 var t1;
63740 for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
63741 t1.get$current(t1).accept$1(this);
63742 }
63743 };
63744 A.serialize_closure.prototype = {
63745 call$1(codeUnit) {
63746 return codeUnit > 127;
63747 },
63748 $signature: 57
63749 };
63750 A._SerializeVisitor.prototype = {
63751 visitCssStylesheet$1(node) {
63752 var t1, t2, t3, t4, t5, previous, previous0, _this = this;
63753 for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = _this._style !== B.OutputStyle_compressed, t3 = type$.CssComment, t4 = type$.CssParentNode, t5 = _this._serialize$_buffer, previous = null; t1.moveNext$0();) {
63754 previous0 = t1.get$current(t1);
63755 if (_this._isInvisible$1(previous0))
63756 continue;
63757 if (previous != null) {
63758 if (t4._is(previous) ? previous.get$isChildless() : !t3._is(previous))
63759 t5.writeCharCode$1(59);
63760 if (_this._isTrailingComment$2(previous0, previous)) {
63761 if (t2)
63762 t5.writeCharCode$1(32);
63763 } else {
63764 if (t2)
63765 t5.write$1(0, "\n");
63766 if (previous.get$isGroupEnd())
63767 if (t2)
63768 t5.write$1(0, "\n");
63769 }
63770 }
63771 previous0.accept$1(_this);
63772 previous = previous0;
63773 }
63774 if (previous != null)
63775 t1 = (t4._is(previous) ? previous.get$isChildless() : !t3._is(previous)) && t2;
63776 else
63777 t1 = false;
63778 if (t1)
63779 t5.writeCharCode$1(59);
63780 },
63781 visitCssComment$1(node) {
63782 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
63783 },
63784 visitCssAtRule$1(node) {
63785 var t1, _this = this;
63786 _this._writeIndentation$0();
63787 t1 = _this._serialize$_buffer;
63788 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
63789 if (!node.isChildless) {
63790 if (_this._style !== B.OutputStyle_compressed)
63791 t1.writeCharCode$1(32);
63792 _this._serialize$_visitChildren$1(node);
63793 }
63794 },
63795 visitCssMediaRule$1(node) {
63796 var t1, _this = this;
63797 _this._writeIndentation$0();
63798 t1 = _this._serialize$_buffer;
63799 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
63800 if (_this._style !== B.OutputStyle_compressed)
63801 t1.writeCharCode$1(32);
63802 _this._serialize$_visitChildren$1(node);
63803 },
63804 visitCssImport$1(node) {
63805 this._writeIndentation$0();
63806 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
63807 },
63808 _writeImportUrl$1(url) {
63809 var urlContents, maybeQuote, _this = this;
63810 if (_this._style !== B.OutputStyle_compressed || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
63811 _this._serialize$_buffer.write$1(0, url);
63812 return;
63813 }
63814 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
63815 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
63816 if (maybeQuote === 39 || maybeQuote === 34)
63817 _this._serialize$_buffer.write$1(0, urlContents);
63818 else
63819 _this._visitQuotedString$1(urlContents);
63820 },
63821 visitCssKeyframeBlock$1(node) {
63822 var t1, _this = this;
63823 _this._writeIndentation$0();
63824 t1 = _this._serialize$_buffer;
63825 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
63826 if (_this._style !== B.OutputStyle_compressed)
63827 t1.writeCharCode$1(32);
63828 _this._serialize$_visitChildren$1(node);
63829 },
63830 _visitMediaQuery$1(query) {
63831 var t2, t3, _this = this,
63832 t1 = query.modifier;
63833 if (t1 != null) {
63834 t2 = _this._serialize$_buffer;
63835 t2.write$1(0, t1);
63836 t2.writeCharCode$1(32);
63837 }
63838 t1 = query.type;
63839 if (t1 != null) {
63840 t2 = _this._serialize$_buffer;
63841 t2.write$1(0, t1);
63842 if (query.features.length !== 0)
63843 t2.write$1(0, " and ");
63844 }
63845 t1 = query.features;
63846 t2 = _this._style === B.OutputStyle_compressed ? "and " : " and ";
63847 t3 = _this._serialize$_buffer;
63848 _this._writeBetween$3(t1, t2, t3.get$write(t3));
63849 },
63850 visitCssStyleRule$1(node) {
63851 var t1, _this = this;
63852 _this._writeIndentation$0();
63853 t1 = _this._serialize$_buffer;
63854 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
63855 if (_this._style !== B.OutputStyle_compressed)
63856 t1.writeCharCode$1(32);
63857 _this._serialize$_visitChildren$1(node);
63858 },
63859 visitCssSupportsRule$1(node) {
63860 var t1, _this = this;
63861 _this._writeIndentation$0();
63862 t1 = _this._serialize$_buffer;
63863 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
63864 if (_this._style !== B.OutputStyle_compressed)
63865 t1.writeCharCode$1(32);
63866 _this._serialize$_visitChildren$1(node);
63867 },
63868 visitCssDeclaration$1(node) {
63869 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
63870 _this._writeIndentation$0();
63871 t1 = node.name;
63872 _this._serialize$_write$1(t1);
63873 t2 = _this._serialize$_buffer;
63874 t2.writeCharCode$1(58);
63875 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
63876 t1 = node.value;
63877 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
63878 } else {
63879 if (_this._style !== B.OutputStyle_compressed)
63880 t2.writeCharCode$1(32);
63881 try {
63882 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
63883 } catch (exception) {
63884 t1 = A.unwrapException(exception);
63885 if (t1 instanceof A.MultiSpanSassScriptException) {
63886 error = t1;
63887 stackTrace = A.getTraceFromException(exception);
63888 t1 = error.message;
63889 t2 = node.value;
63890 t2 = t2.get$span(t2);
63891 A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
63892 } else if (t1 instanceof A.SassScriptException) {
63893 error0 = t1;
63894 stackTrace0 = A.getTraceFromException(exception);
63895 t1 = node.value;
63896 A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
63897 } else
63898 throw exception;
63899 }
63900 }
63901 },
63902 _writeFoldedValue$1(node) {
63903 var t2, next, t3,
63904 t1 = node.value,
63905 scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
63906 for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
63907 next = scanner.readChar$0();
63908 if (next !== 10) {
63909 t2.writeCharCode$1(next);
63910 continue;
63911 }
63912 t2.writeCharCode$1(32);
63913 while (true) {
63914 t3 = scanner.peekChar$0();
63915 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
63916 break;
63917 scanner.readChar$0();
63918 }
63919 }
63920 },
63921 _writeReindentedValue$1(node) {
63922 var _this = this,
63923 t1 = node.value,
63924 value = type$.SassString._as(t1.get$value(t1))._string$_text,
63925 minimumIndentation = _this._minimumIndentation$1(value);
63926 if (minimumIndentation == null) {
63927 _this._serialize$_buffer.write$1(0, value);
63928 return;
63929 } else if (minimumIndentation === -1) {
63930 t1 = _this._serialize$_buffer;
63931 t1.write$1(0, A.trimAsciiRight(value, true));
63932 t1.writeCharCode$1(32);
63933 return;
63934 }
63935 t1 = node.name;
63936 t1 = t1.get$span(t1);
63937 t1 = A.FileLocation$_(t1.file, t1._file$_start);
63938 _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
63939 },
63940 _minimumIndentation$1(text) {
63941 var character, t2, min, next, min0,
63942 scanner = A.LineScanner$(text),
63943 t1 = scanner.string.length;
63944 while (true) {
63945 if (scanner._string_scanner$_position !== t1) {
63946 character = scanner.super$StringScanner$readChar();
63947 scanner._adjustLineAndColumn$1(character);
63948 t2 = character !== 10;
63949 } else
63950 t2 = false;
63951 if (!t2)
63952 break;
63953 }
63954 if (scanner._string_scanner$_position === t1)
63955 return scanner.peekChar$1(-1) === 10 ? -1 : null;
63956 for (min = null; scanner._string_scanner$_position !== t1;) {
63957 for (; scanner._string_scanner$_position !== t1;) {
63958 next = scanner.peekChar$0();
63959 if (next !== 32 && next !== 9)
63960 break;
63961 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
63962 }
63963 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
63964 continue;
63965 min0 = scanner._line_scanner$_column;
63966 min = min == null ? min0 : Math.min(min, min0);
63967 while (true) {
63968 if (scanner._string_scanner$_position !== t1) {
63969 character = scanner.super$StringScanner$readChar();
63970 scanner._adjustLineAndColumn$1(character);
63971 t2 = character !== 10;
63972 } else
63973 t2 = false;
63974 if (!t2)
63975 break;
63976 }
63977 }
63978 return min == null ? -1 : min;
63979 },
63980 _writeWithIndent$2(text, minimumIndentation) {
63981 var t1, t2, t3, character, lineStart, newlines, end,
63982 scanner = A.LineScanner$(text);
63983 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
63984 character = scanner.super$StringScanner$readChar();
63985 scanner._adjustLineAndColumn$1(character);
63986 if (character === 10)
63987 break;
63988 t3.writeCharCode$1(character);
63989 }
63990 for (; true;) {
63991 lineStart = scanner._string_scanner$_position;
63992 for (newlines = 1; true;) {
63993 if (scanner._string_scanner$_position === t2) {
63994 t3.writeCharCode$1(32);
63995 return;
63996 }
63997 character = scanner.super$StringScanner$readChar();
63998 scanner._adjustLineAndColumn$1(character);
63999 if (character === 32 || character === 9)
64000 continue;
64001 if (character !== 10)
64002 break;
64003 lineStart = scanner._string_scanner$_position;
64004 ++newlines;
64005 }
64006 this._writeTimes$2(10, newlines);
64007 this._writeIndentation$0();
64008 end = scanner._string_scanner$_position;
64009 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
64010 for (; true;) {
64011 if (scanner._string_scanner$_position === t2)
64012 return;
64013 character = scanner.super$StringScanner$readChar();
64014 scanner._adjustLineAndColumn$1(character);
64015 if (character === 10)
64016 break;
64017 t3.writeCharCode$1(character);
64018 }
64019 }
64020 },
64021 _writeCalculationValue$1(value) {
64022 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
64023 if (value instanceof A.Value)
64024 value.accept$1(_this);
64025 else if (value instanceof A.CalculationInterpolation)
64026 _this._serialize$_buffer.write$1(0, value.value);
64027 else if (value instanceof A.CalculationOperation) {
64028 left = value.left;
64029 if (!(left instanceof A.CalculationInterpolation))
64030 parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
64031 else
64032 parenthesizeLeft = true;
64033 if (parenthesizeLeft)
64034 _this._serialize$_buffer.writeCharCode$1(40);
64035 _this._writeCalculationValue$1(left);
64036 if (parenthesizeLeft)
64037 _this._serialize$_buffer.writeCharCode$1(41);
64038 operatorWhitespace = _this._style !== B.OutputStyle_compressed || value.operator.precedence === 1;
64039 if (operatorWhitespace)
64040 _this._serialize$_buffer.writeCharCode$1(32);
64041 t1 = _this._serialize$_buffer;
64042 t2 = value.operator;
64043 t1.write$1(0, t2.operator);
64044 if (operatorWhitespace)
64045 t1.writeCharCode$1(32);
64046 right = value.right;
64047 if (!(right instanceof A.CalculationInterpolation))
64048 parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
64049 else
64050 parenthesizeRight = true;
64051 if (parenthesizeRight)
64052 t1.writeCharCode$1(40);
64053 _this._writeCalculationValue$1(right);
64054 if (parenthesizeRight)
64055 t1.writeCharCode$1(41);
64056 }
64057 },
64058 _parenthesizeCalculationRhs$2(outer, right) {
64059 if (outer === B.CalculationOperator_jB6)
64060 return true;
64061 if (outer === B.CalculationOperator_Iem)
64062 return false;
64063 return right === B.CalculationOperator_Iem || right === B.CalculationOperator_uti;
64064 },
64065 _writeRgb$1(value) {
64066 var t3,
64067 t1 = value._alpha,
64068 opaque = Math.abs(t1 - 1) < $.$get$epsilon(),
64069 t2 = this._serialize$_buffer;
64070 t2.write$1(0, opaque ? "rgb(" : "rgba(");
64071 t2.write$1(0, value.get$red(value));
64072 t3 = this._style === B.OutputStyle_compressed;
64073 t2.write$1(0, t3 ? "," : ", ");
64074 t2.write$1(0, value.get$green(value));
64075 t2.write$1(0, t3 ? "," : ", ");
64076 t2.write$1(0, value.get$blue(value));
64077 if (!opaque) {
64078 t2.write$1(0, t3 ? "," : ", ");
64079 this._writeNumber$1(t1);
64080 }
64081 t2.writeCharCode$1(41);
64082 },
64083 _canUseShortHex$1(color) {
64084 var t1 = color.get$red(color);
64085 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
64086 t1 = color.get$green(color);
64087 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
64088 t1 = color.get$blue(color);
64089 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
64090 } else
64091 t1 = false;
64092 } else
64093 t1 = false;
64094 return t1;
64095 },
64096 _writeHexComponent$1(color) {
64097 var t1 = this._serialize$_buffer;
64098 t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
64099 t1.writeCharCode$1(A.hexCharFor(color & 15));
64100 },
64101 visitList$1(value) {
64102 var t2, t3, singleton, t4, t5, _this = this,
64103 t1 = value._hasBrackets;
64104 if (t1)
64105 _this._serialize$_buffer.writeCharCode$1(91);
64106 else if (value._list$_contents.length === 0) {
64107 if (!_this._inspect)
64108 throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value."));
64109 _this._serialize$_buffer.write$1(0, "()");
64110 return;
64111 }
64112 t2 = _this._inspect;
64113 if (t2)
64114 if (value._list$_contents.length === 1) {
64115 t3 = value._separator;
64116 t3 = t3 === B.ListSeparator_kWM || t3 === B.ListSeparator_1gm;
64117 singleton = t3;
64118 } else
64119 singleton = false;
64120 else
64121 singleton = false;
64122 if (singleton && !t1)
64123 _this._serialize$_buffer.writeCharCode$1(40);
64124 t3 = value._list$_contents;
64125 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
64126 t4 = value._separator;
64127 t5 = _this._separatorString$1(t4);
64128 _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
64129 if (singleton) {
64130 t2 = _this._serialize$_buffer;
64131 t2.write$1(0, t4.separator);
64132 if (!t1)
64133 t2.writeCharCode$1(41);
64134 }
64135 if (t1)
64136 _this._serialize$_buffer.writeCharCode$1(93);
64137 },
64138 _separatorString$1(separator) {
64139 switch (separator) {
64140 case B.ListSeparator_kWM:
64141 return this._style === B.OutputStyle_compressed ? "," : ", ";
64142 case B.ListSeparator_1gm:
64143 return this._style === B.OutputStyle_compressed ? "/" : " / ";
64144 case B.ListSeparator_woc:
64145 return " ";
64146 default:
64147 return "";
64148 }
64149 },
64150 _elementNeedsParens$2(separator, value) {
64151 var t1;
64152 if (value instanceof A.SassList) {
64153 if (value._list$_contents.length < 2)
64154 return false;
64155 if (value._hasBrackets)
64156 return false;
64157 switch (separator) {
64158 case B.ListSeparator_kWM:
64159 return value._separator === B.ListSeparator_kWM;
64160 case B.ListSeparator_1gm:
64161 t1 = value._separator;
64162 return t1 === B.ListSeparator_kWM || t1 === B.ListSeparator_1gm;
64163 default:
64164 return value._separator !== B.ListSeparator_undecided_null;
64165 }
64166 }
64167 return false;
64168 },
64169 visitMap$1(map) {
64170 var t1, t2, _this = this;
64171 if (!_this._inspect)
64172 throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value."));
64173 t1 = _this._serialize$_buffer;
64174 t1.writeCharCode$1(40);
64175 t2 = map._map$_contents;
64176 _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
64177 t1.writeCharCode$1(41);
64178 },
64179 _writeMapElement$1(value) {
64180 var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_kWM && !value._hasBrackets;
64181 if (needsParens)
64182 this._serialize$_buffer.writeCharCode$1(40);
64183 value.accept$1(this);
64184 if (needsParens)
64185 this._serialize$_buffer.writeCharCode$1(41);
64186 },
64187 visitNumber$1(value) {
64188 var _this = this,
64189 asSlash = value.asSlash;
64190 if (asSlash != null) {
64191 _this.visitNumber$1(asSlash.item1);
64192 _this._serialize$_buffer.writeCharCode$1(47);
64193 _this.visitNumber$1(asSlash.item2);
64194 return;
64195 }
64196 _this._writeNumber$1(value._number$_value);
64197 if (!_this._inspect) {
64198 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
64199 throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value."));
64200 if (value.get$numeratorUnits(value).length !== 0)
64201 _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
64202 } else
64203 _this._serialize$_buffer.write$1(0, value.get$unitString());
64204 },
64205 _writeNumber$1(number) {
64206 var text, _this = this,
64207 integer = A.fuzzyIsInt(number) ? B.JSNumber_methods.round$0(number) : null;
64208 if (integer != null) {
64209 _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
64210 return;
64211 }
64212 text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
64213 if (text.length < 12) {
64214 if (_this._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
64215 text = B.JSString_methods.substring$1(text, 1);
64216 _this._serialize$_buffer.write$1(0, text);
64217 return;
64218 }
64219 _this._writeRounded$1(text);
64220 },
64221 _removeExponent$1(text) {
64222 var buffer, t3, additionalZeroes,
64223 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
64224 negative = t1 === 45,
64225 exponent = A._Cell$(),
64226 t2 = text.length,
64227 i = 0;
64228 while (true) {
64229 if (!(i < t2)) {
64230 buffer = null;
64231 break;
64232 }
64233 c$0: {
64234 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
64235 break c$0;
64236 buffer = new A.StringBuffer("");
64237 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
64238 if (negative) {
64239 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
64240 buffer._contents = t1;
64241 if (i > 3)
64242 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
64243 } else if (i > 2)
64244 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
64245 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
64246 break;
64247 }
64248 ++i;
64249 }
64250 if (buffer == null)
64251 return text;
64252 if (exponent._readLocal$0() > 0) {
64253 t1 = exponent._readLocal$0();
64254 t2 = buffer._contents;
64255 t3 = negative ? 1 : 0;
64256 additionalZeroes = t1 - (t2.length - 1 - t3);
64257 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
64258 t1 += A.Primitives_stringFromCharCode(48);
64259 buffer._contents = t1;
64260 }
64261 return t1.charCodeAt(0) == 0 ? t1 : t1;
64262 } else {
64263 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
64264 t2 = exponent.__late_helper$_name;
64265 i = -1;
64266 while (true) {
64267 t3 = exponent._value;
64268 if (t3 === exponent)
64269 A.throwExpression(A.LateError$localNI(t2));
64270 if (!(i > t3))
64271 break;
64272 t1 += A.Primitives_stringFromCharCode(48);
64273 --i;
64274 }
64275 if (negative) {
64276 t2 = buffer._contents;
64277 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
64278 } else
64279 t2 = buffer;
64280 t2 = t1 + A.S(t2);
64281 return t2.charCodeAt(0) == 0 ? t2 : t2;
64282 }
64283 },
64284 _writeRounded$1(text) {
64285 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
64286 if (B.JSString_methods.endsWith$1(text, ".0")) {
64287 _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
64288 return;
64289 }
64290 t1 = text.length;
64291 digits = new Uint8Array(t1 + 1);
64292 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
64293 textIndex = negative ? 1 : 0;
64294 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
64295 if (textIndex === t1) {
64296 _this._serialize$_buffer.write$1(0, text);
64297 return;
64298 }
64299 textIndex0 = textIndex + 1;
64300 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
64301 if (codeUnit === 46) {
64302 textIndex = textIndex0;
64303 break;
64304 }
64305 digitsIndex0 = digitsIndex + 1;
64306 digits[digitsIndex] = codeUnit - 48;
64307 }
64308 indexAfterPrecision = textIndex + 10;
64309 if (indexAfterPrecision >= t1) {
64310 _this._serialize$_buffer.write$1(0, text);
64311 return;
64312 }
64313 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
64314 digitsIndex1 = digitsIndex0 + 1;
64315 textIndex0 = textIndex + 1;
64316 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
64317 }
64318 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
64319 for (; true; digitsIndex0 = digitsIndex1) {
64320 digitsIndex1 = digitsIndex0 - 1;
64321 newDigit = digits[digitsIndex1] + 1;
64322 digits[digitsIndex1] = newDigit;
64323 if (newDigit !== 10)
64324 break;
64325 }
64326 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
64327 digits[digitsIndex0] = 0;
64328 while (true) {
64329 t1 = digitsIndex0 > digitsIndex;
64330 if (!(t1 && digits[digitsIndex0 - 1] === 0))
64331 break;
64332 --digitsIndex0;
64333 }
64334 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
64335 _this._serialize$_buffer.writeCharCode$1(48);
64336 return;
64337 }
64338 if (negative)
64339 _this._serialize$_buffer.writeCharCode$1(45);
64340 if (digits[0] === 0)
64341 writtenIndex = _this._style === B.OutputStyle_compressed && digits[1] === 0 ? 2 : 1;
64342 else
64343 writtenIndex = 0;
64344 for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
64345 t2.writeCharCode$1(48 + digits[writtenIndex]);
64346 if (t1) {
64347 t2.writeCharCode$1(46);
64348 for (; writtenIndex < digitsIndex0; ++writtenIndex)
64349 t2.writeCharCode$1(48 + digits[writtenIndex]);
64350 }
64351 },
64352 _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
64353 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
64354 buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
64355 if (forceDoubleQuote)
64356 buffer.writeCharCode$1(34);
64357 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
64358 char = B.JSString_methods._codeUnitAt$1(string, i);
64359 switch (char) {
64360 case 39:
64361 if (forceDoubleQuote)
64362 buffer.writeCharCode$1(39);
64363 else {
64364 if (includesDoubleQuote) {
64365 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64366 return;
64367 } else
64368 buffer.writeCharCode$1(39);
64369 includesSingleQuote = true;
64370 }
64371 break;
64372 case 34:
64373 if (forceDoubleQuote) {
64374 buffer.writeCharCode$1(92);
64375 buffer.writeCharCode$1(34);
64376 } else {
64377 if (includesSingleQuote) {
64378 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64379 return;
64380 } else
64381 buffer.writeCharCode$1(34);
64382 includesDoubleQuote = true;
64383 }
64384 break;
64385 case 0:
64386 case 1:
64387 case 2:
64388 case 3:
64389 case 4:
64390 case 5:
64391 case 6:
64392 case 7:
64393 case 8:
64394 case 10:
64395 case 11:
64396 case 12:
64397 case 13:
64398 case 14:
64399 case 15:
64400 case 16:
64401 case 17:
64402 case 18:
64403 case 19:
64404 case 20:
64405 case 21:
64406 case 22:
64407 case 23:
64408 case 24:
64409 case 25:
64410 case 26:
64411 case 27:
64412 case 28:
64413 case 29:
64414 case 30:
64415 case 31:
64416 _this._writeEscape$4(buffer, char, string, i);
64417 break;
64418 case 92:
64419 buffer.writeCharCode$1(92);
64420 buffer.writeCharCode$1(92);
64421 break;
64422 default:
64423 newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
64424 if (newIndex != null) {
64425 i = newIndex;
64426 break;
64427 }
64428 buffer.writeCharCode$1(char);
64429 break;
64430 }
64431 }
64432 if (forceDoubleQuote)
64433 buffer.writeCharCode$1(34);
64434 else {
64435 quote = includesDoubleQuote ? 39 : 34;
64436 t1 = _this._serialize$_buffer;
64437 t1.writeCharCode$1(quote);
64438 t1.write$1(0, buffer);
64439 t1.writeCharCode$1(quote);
64440 }
64441 },
64442 _visitQuotedString$1(string) {
64443 return this._visitQuotedString$2$forceDoubleQuote(string, false);
64444 },
64445 _visitUnquotedString$1(string) {
64446 var t1, t2, afterNewline, i, char, newIndex;
64447 for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
64448 char = B.JSString_methods._codeUnitAt$1(string, i);
64449 switch (char) {
64450 case 10:
64451 t2.writeCharCode$1(32);
64452 afterNewline = true;
64453 break;
64454 case 32:
64455 if (!afterNewline)
64456 t2.writeCharCode$1(32);
64457 break;
64458 default:
64459 newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
64460 if (newIndex != null) {
64461 i = newIndex;
64462 afterNewline = false;
64463 break;
64464 }
64465 t2.writeCharCode$1(char);
64466 afterNewline = false;
64467 break;
64468 }
64469 }
64470 },
64471 _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
64472 var t1;
64473 if (this._style === B.OutputStyle_compressed)
64474 return null;
64475 if (codeUnit >= 57344 && codeUnit <= 63743) {
64476 this._writeEscape$4(buffer, codeUnit, string, i);
64477 return i;
64478 }
64479 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
64480 t1 = i + 1;
64481 this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
64482 return t1;
64483 }
64484 return null;
64485 },
64486 _writeEscape$4(buffer, character, string, i) {
64487 var t1, next;
64488 buffer.writeCharCode$1(92);
64489 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
64490 t1 = i + 1;
64491 if (string.length === t1)
64492 return;
64493 next = B.JSString_methods._codeUnitAt$1(string, t1);
64494 if (A.isHex(next) || next === 32 || next === 9)
64495 buffer.writeCharCode$1(32);
64496 },
64497 visitComplexSelector$1(complex) {
64498 var t1, t2, t3, t4, lastComponent, _i, component, t5;
64499 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) {
64500 component = t1[_i];
64501 if (lastComponent != null)
64502 if (!(t4 && lastComponent instanceof A.Combinator))
64503 t5 = !(t4 && component instanceof A.Combinator);
64504 else
64505 t5 = false;
64506 else
64507 t5 = false;
64508 if (t5)
64509 t3.write$1(0, " ");
64510 if (component instanceof A.CompoundSelector)
64511 this.visitCompoundSelector$1(component);
64512 else
64513 t3.write$1(0, component);
64514 }
64515 },
64516 visitCompoundSelector$1(compound) {
64517 var t2, t3, _i,
64518 t1 = this._serialize$_buffer,
64519 start = t1.get$length(t1);
64520 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
64521 t2[_i].accept$1(this);
64522 if (t1.get$length(t1) === start)
64523 t1.writeCharCode$1(42);
64524 },
64525 visitSelectorList$1(list) {
64526 var t1, t2, t3, first, t4, _this = this,
64527 complexes = list.components;
64528 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();) {
64529 t4 = t1.get$current(t1);
64530 if (first)
64531 first = false;
64532 else {
64533 t3.writeCharCode$1(44);
64534 if (t4.lineBreak) {
64535 if (t2)
64536 t3.write$1(0, "\n");
64537 } else if (t2)
64538 t3.writeCharCode$1(32);
64539 }
64540 _this.visitComplexSelector$1(t4);
64541 }
64542 },
64543 visitPseudoSelector$1(pseudo) {
64544 var t3, t4, t5,
64545 innerSelector = pseudo.selector,
64546 t1 = innerSelector == null,
64547 t2 = !t1;
64548 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
64549 return;
64550 t3 = this._serialize$_buffer;
64551 t3.writeCharCode$1(58);
64552 if (!pseudo.isSyntacticClass)
64553 t3.writeCharCode$1(58);
64554 t3.write$1(0, pseudo.name);
64555 t4 = pseudo.argument;
64556 t5 = t4 == null;
64557 if (t5 && t1)
64558 return;
64559 t3.writeCharCode$1(40);
64560 if (!t5) {
64561 t3.write$1(0, t4);
64562 if (t2)
64563 t3.writeCharCode$1(32);
64564 }
64565 if (t2)
64566 this.visitSelectorList$1(innerSelector);
64567 t3.writeCharCode$1(41);
64568 },
64569 _serialize$_write$1(value) {
64570 return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
64571 },
64572 _serialize$_visitChildren$1($parent) {
64573 var t2, t3, t4, t5, t6, prePrevious, previous, t7, previous0, t8, savedIndentation, _this = this,
64574 t1 = _this._serialize$_buffer;
64575 t1.writeCharCode$1(123);
64576 for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._style !== B.OutputStyle_compressed, t4 = A._instanceType(t2)._precomputed1, t5 = type$.CssComment, t6 = type$.CssParentNode, prePrevious = null, previous = null; t2.moveNext$0();) {
64577 t7 = t2.__internal$_current;
64578 previous0 = t7 == null ? t4._as(t7) : t7;
64579 if (_this._isInvisible$1(previous0))
64580 continue;
64581 t7 = previous == null;
64582 if (!t7)
64583 t8 = t6._is(previous) ? previous.get$isChildless() : !t5._is(previous);
64584 else
64585 t8 = false;
64586 if (t8)
64587 t1.writeCharCode$1(59);
64588 if (_this._isTrailingComment$2(previous0, t7 ? $parent : previous)) {
64589 if (t3)
64590 t1.writeCharCode$1(32);
64591 savedIndentation = _this._indentation;
64592 _this._indentation = 0;
64593 new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
64594 _this._indentation = savedIndentation;
64595 } else {
64596 if (t3)
64597 t1.write$1(0, "\n");
64598 ++_this._indentation;
64599 new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
64600 --_this._indentation;
64601 }
64602 prePrevious = previous;
64603 previous = previous0;
64604 }
64605 if (previous != null) {
64606 if ((t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t3)
64607 t1.writeCharCode$1(59);
64608 if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
64609 if (t3)
64610 t1.writeCharCode$1(32);
64611 } else {
64612 _this._writeLineFeed$0();
64613 _this._writeIndentation$0();
64614 }
64615 }
64616 t1.writeCharCode$1(125);
64617 },
64618 _isTrailingComment$2(node, previous) {
64619 var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
64620 if (this._style === B.OutputStyle_compressed)
64621 return false;
64622 if (!type$.CssComment._is(node))
64623 return false;
64624 t1 = previous.get$span(previous);
64625 t2 = node.span;
64626 t3 = t1.file;
64627 t4 = t2.file;
64628 if (!(J.$eq$(t3.url, t4.url) && A.FileLocation$_(t3, t1._file$_start).offset <= A.FileLocation$_(t4, t2._file$_start).offset && A.FileLocation$_(t3, t1._end).offset >= A.FileLocation$_(t4, t2._end).offset)) {
64629 t1 = A.FileLocation$_(t4, t2._file$_start);
64630 t1 = t1.file.getLine$1(t1.offset);
64631 t2 = previous.get$span(previous);
64632 t2 = A.FileLocation$_(t2.file, t2._end);
64633 return t1 === t2.file.getLine$1(t2.offset);
64634 }
64635 t1 = t2._file$_start;
64636 t2 = A.FileLocation$_(t4, t1);
64637 t3 = previous.get$span(previous);
64638 searchFrom = t2.offset - A.FileLocation$_(t3.file, t3._file$_start).offset - 1;
64639 if (searchFrom < 0)
64640 return false;
64641 t2 = previous.get$span(previous);
64642 endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null), "{", searchFrom));
64643 t2 = previous.get$span(previous);
64644 t3 = previous.get$span(previous);
64645 t3 = A.FileLocation$_(t3.file, t3._file$_start);
64646 t5 = previous.get$span(previous);
64647 span = t2.file.span$2(0, t3.offset, A.FileLocation$_(t5.file, t5._file$_start).offset + endOffset);
64648 t1 = A.FileLocation$_(t4, t1);
64649 t1 = t1.file.getLine$1(t1.offset);
64650 t4 = A.FileLocation$_(span.file, span._end);
64651 return t1 === t4.file.getLine$1(t4.offset);
64652 },
64653 _writeLineFeed$0() {
64654 if (this._style !== B.OutputStyle_compressed)
64655 this._serialize$_buffer.write$1(0, "\n");
64656 },
64657 _writeIndentation$0() {
64658 var _this = this;
64659 if (_this._style === B.OutputStyle_compressed)
64660 return;
64661 _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
64662 },
64663 _writeTimes$2(char, times) {
64664 var t1, i;
64665 for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
64666 t1.writeCharCode$1(char);
64667 },
64668 _writeBetween$1$3(iterable, text, callback) {
64669 var t1, t2, first, value;
64670 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
64671 value = t1.get$current(t1);
64672 if (first)
64673 first = false;
64674 else
64675 t2.write$1(0, text);
64676 callback.call$1(value);
64677 }
64678 },
64679 _writeBetween$3(iterable, text, callback) {
64680 return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
64681 },
64682 _isInvisible$1(node) {
64683 if (this._inspect)
64684 return false;
64685 if (this._style === B.OutputStyle_compressed && type$.CssComment._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
64686 return true;
64687 if (type$.CssParentNode._is(node)) {
64688 if (type$.CssAtRule._is(node))
64689 return false;
64690 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
64691 return true;
64692 return J.every$1$ax(node.get$children(node), this.get$_isInvisible());
64693 } else
64694 return false;
64695 }
64696 };
64697 A._SerializeVisitor_visitCssComment_closure.prototype = {
64698 call$0() {
64699 var t2, t3, minimumIndentation,
64700 t1 = this.$this;
64701 if (t1._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
64702 return;
64703 t2 = this.node;
64704 t3 = t2.text;
64705 minimumIndentation = t1._minimumIndentation$1(t3);
64706 if (minimumIndentation == null) {
64707 t1._writeIndentation$0();
64708 t1._serialize$_buffer.write$1(0, t3);
64709 return;
64710 }
64711 t2 = t2.span;
64712 t2 = A.FileLocation$_(t2.file, t2._file$_start);
64713 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
64714 t1._writeIndentation$0();
64715 t1._writeWithIndent$2(t3, minimumIndentation);
64716 },
64717 $signature: 1
64718 };
64719 A._SerializeVisitor_visitCssAtRule_closure.prototype = {
64720 call$0() {
64721 var t3, value,
64722 t1 = this.$this,
64723 t2 = t1._serialize$_buffer;
64724 t2.writeCharCode$1(64);
64725 t3 = this.node;
64726 t1._serialize$_write$1(t3.name);
64727 value = t3.value;
64728 if (value != null) {
64729 t2.writeCharCode$1(32);
64730 t1._serialize$_write$1(value);
64731 }
64732 },
64733 $signature: 1
64734 };
64735 A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
64736 call$0() {
64737 var t3, t4,
64738 t1 = this.$this,
64739 t2 = t1._serialize$_buffer;
64740 t2.write$1(0, "@media");
64741 t3 = t1._style === B.OutputStyle_compressed;
64742 if (t3) {
64743 t4 = B.JSArray_methods.get$first(this.node.queries);
64744 t4 = !(t4.modifier == null && t4.type == null);
64745 } else
64746 t4 = true;
64747 if (t4)
64748 t2.writeCharCode$1(32);
64749 t2 = t3 ? "," : ", ";
64750 t1._writeBetween$3(this.node.queries, t2, t1.get$_visitMediaQuery());
64751 },
64752 $signature: 1
64753 };
64754 A._SerializeVisitor_visitCssImport_closure.prototype = {
64755 call$0() {
64756 var t3, t4, t5, modifiers,
64757 t1 = this.$this,
64758 t2 = t1._serialize$_buffer;
64759 t2.write$1(0, "@import");
64760 t3 = t1._style !== B.OutputStyle_compressed;
64761 if (t3)
64762 t2.writeCharCode$1(32);
64763 t4 = this.node;
64764 t5 = t4.url;
64765 t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure(t1, t4));
64766 modifiers = t4.modifiers;
64767 if (modifiers != null) {
64768 if (t3)
64769 t2.writeCharCode$1(32);
64770 t2.write$1(0, modifiers);
64771 }
64772 },
64773 $signature: 1
64774 };
64775 A._SerializeVisitor_visitCssImport__closure.prototype = {
64776 call$0() {
64777 var t1 = this.node.url;
64778 return this.$this._writeImportUrl$1(t1.get$value(t1));
64779 },
64780 $signature: 0
64781 };
64782 A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
64783 call$0() {
64784 var t1 = this.$this,
64785 t2 = t1._style === B.OutputStyle_compressed ? "," : ", ",
64786 t3 = t1._serialize$_buffer;
64787 return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
64788 },
64789 $signature: 0
64790 };
64791 A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
64792 call$0() {
64793 return this.$this.visitSelectorList$1(this.node.selector.value);
64794 },
64795 $signature: 0
64796 };
64797 A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
64798 call$0() {
64799 var t1 = this.$this,
64800 t2 = t1._serialize$_buffer;
64801 t2.write$1(0, "@supports");
64802 if (!(t1._style === B.OutputStyle_compressed && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
64803 t2.writeCharCode$1(32);
64804 t1._serialize$_write$1(this.node.condition);
64805 },
64806 $signature: 1
64807 };
64808 A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
64809 call$0() {
64810 var t1 = this.$this,
64811 t2 = this.node;
64812 if (t1._style === B.OutputStyle_compressed)
64813 t1._writeFoldedValue$1(t2);
64814 else
64815 t1._writeReindentedValue$1(t2);
64816 },
64817 $signature: 1
64818 };
64819 A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
64820 call$0() {
64821 var t1 = this.node.value;
64822 return t1.get$value(t1).accept$1(this.$this);
64823 },
64824 $signature: 0
64825 };
64826 A._SerializeVisitor_visitList_closure.prototype = {
64827 call$1(element) {
64828 return !element.get$isBlank();
64829 },
64830 $signature: 62
64831 };
64832 A._SerializeVisitor_visitList_closure0.prototype = {
64833 call$1(element) {
64834 var t1 = this.$this,
64835 needsParens = t1._elementNeedsParens$2(this.value._separator, element);
64836 if (needsParens)
64837 t1._serialize$_buffer.writeCharCode$1(40);
64838 element.accept$1(t1);
64839 if (needsParens)
64840 t1._serialize$_buffer.writeCharCode$1(41);
64841 },
64842 $signature: 56
64843 };
64844 A._SerializeVisitor_visitList_closure1.prototype = {
64845 call$1(element) {
64846 element.accept$1(this.$this);
64847 },
64848 $signature: 56
64849 };
64850 A._SerializeVisitor_visitMap_closure.prototype = {
64851 call$1(entry) {
64852 var t1 = this.$this;
64853 t1._writeMapElement$1(entry.key);
64854 t1._serialize$_buffer.write$1(0, ": ");
64855 t1._writeMapElement$1(entry.value);
64856 },
64857 $signature: 270
64858 };
64859 A._SerializeVisitor_visitSelectorList_closure.prototype = {
64860 call$1(complex) {
64861 return !complex.get$isInvisible();
64862 },
64863 $signature: 19
64864 };
64865 A._SerializeVisitor__write_closure.prototype = {
64866 call$0() {
64867 var t1 = this.value;
64868 return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
64869 },
64870 $signature: 0
64871 };
64872 A._SerializeVisitor__visitChildren_closure.prototype = {
64873 call$0() {
64874 return this.child.accept$1(this.$this);
64875 },
64876 $signature: 0
64877 };
64878 A._SerializeVisitor__visitChildren_closure0.prototype = {
64879 call$0() {
64880 this.child.accept$1(this.$this);
64881 },
64882 $signature: 0
64883 };
64884 A.OutputStyle.prototype = {
64885 toString$0(_) {
64886 return this._name;
64887 }
64888 };
64889 A.LineFeed.prototype = {
64890 toString$0(_) {
64891 return "lf";
64892 }
64893 };
64894 A.SerializeResult.prototype = {};
64895 A.StatementSearchVisitor.prototype = {
64896 visitAtRootRule$1(node) {
64897 return this.visitChildren$1(node.children);
64898 },
64899 visitAtRule$1(node) {
64900 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64901 },
64902 visitContentBlock$1(node) {
64903 return this.visitChildren$1(node.children);
64904 },
64905 visitDebugRule$1(node) {
64906 return null;
64907 },
64908 visitDeclaration$1(node) {
64909 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64910 },
64911 visitEachRule$1(node) {
64912 return this.visitChildren$1(node.children);
64913 },
64914 visitErrorRule$1(node) {
64915 return null;
64916 },
64917 visitExtendRule$1(node) {
64918 return null;
64919 },
64920 visitForRule$1(node) {
64921 return this.visitChildren$1(node.children);
64922 },
64923 visitForwardRule$1(node) {
64924 return null;
64925 },
64926 visitFunctionRule$1(node) {
64927 return this.visitChildren$1(node.children);
64928 },
64929 visitIfRule$1(node) {
64930 var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
64931 return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
64932 },
64933 visitImportRule$1(node) {
64934 return null;
64935 },
64936 visitIncludeRule$1(node) {
64937 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
64938 },
64939 visitLoudComment$1(node) {
64940 return null;
64941 },
64942 visitMediaRule$1(node) {
64943 return this.visitChildren$1(node.children);
64944 },
64945 visitMixinRule$1(node) {
64946 return this.visitChildren$1(node.children);
64947 },
64948 visitReturnRule$1(node) {
64949 return null;
64950 },
64951 visitSilentComment$1(node) {
64952 return null;
64953 },
64954 visitStyleRule$1(node) {
64955 return this.visitChildren$1(node.children);
64956 },
64957 visitStylesheet$1(node) {
64958 return this.visitChildren$1(node.children);
64959 },
64960 visitSupportsRule$1(node) {
64961 return this.visitChildren$1(node.children);
64962 },
64963 visitUseRule$1(node) {
64964 return null;
64965 },
64966 visitVariableDeclaration$1(node) {
64967 return null;
64968 },
64969 visitWarnRule$1(node) {
64970 return null;
64971 },
64972 visitWhileRule$1(node) {
64973 return this.visitChildren$1(node.children);
64974 },
64975 visitChildren$1(children) {
64976 return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
64977 }
64978 };
64979 A.StatementSearchVisitor_visitIfRule_closure.prototype = {
64980 call$1(clause) {
64981 return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
64982 },
64983 $signature() {
64984 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
64985 }
64986 };
64987 A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
64988 call$1(child) {
64989 return child.accept$1(this.$this);
64990 },
64991 $signature() {
64992 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64993 }
64994 };
64995 A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
64996 call$1(lastClause) {
64997 return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
64998 },
64999 $signature() {
65000 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
65001 }
65002 };
65003 A.StatementSearchVisitor_visitIfRule__closure.prototype = {
65004 call$1(child) {
65005 return child.accept$1(this.$this);
65006 },
65007 $signature() {
65008 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
65009 }
65010 };
65011 A.StatementSearchVisitor_visitChildren_closure.prototype = {
65012 call$1(child) {
65013 return child.accept$1(this.$this);
65014 },
65015 $signature() {
65016 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
65017 }
65018 };
65019 A.Entry.prototype = {
65020 compareTo$1(_, other) {
65021 var t1, t2,
65022 res = this.target.compareTo$1(0, other.target);
65023 if (res !== 0)
65024 return res;
65025 t1 = this.source;
65026 t2 = other.source;
65027 res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
65028 if (res !== 0)
65029 return res;
65030 return t1.compareTo$1(0, t2);
65031 },
65032 $isComparable: 1
65033 };
65034 A.Mapping.prototype = {};
65035 A.SingleMapping.prototype = {
65036 toJson$1$includeSourceContents(includeSourceContents) {
65037 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,
65038 buff = new A.StringBuffer("");
65039 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) {
65040 entry = t1[_i];
65041 nextLine = entry.line;
65042 if (nextLine > line) {
65043 for (i = line; i < nextLine; ++i)
65044 buff._contents += ";";
65045 line = nextLine;
65046 column = 0;
65047 first = true;
65048 }
65049 for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
65050 t4 = t3.get$current(t3);
65051 if (!first)
65052 buff._contents += ",";
65053 column0 = t4.column;
65054 t5 = A.encodeVlq(column0 - column);
65055 t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
65056 buff._contents = t5;
65057 newUrlId = t4.sourceUrlId;
65058 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
65059 buff._contents = t5;
65060 srcLine0 = t4.sourceLine;
65061 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
65062 buff._contents = t5;
65063 srcColumn0 = t4.sourceColumn;
65064 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
65065 buff._contents = t5;
65066 srcNameId0 = t4.sourceNameId;
65067 if (srcNameId0 == null) {
65068 srcUrlId = newUrlId;
65069 srcColumn = srcColumn0;
65070 srcLine = srcLine0;
65071 continue;
65072 }
65073 buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
65074 srcNameId = srcNameId0;
65075 srcUrlId = newUrlId;
65076 srcColumn = srcColumn0;
65077 srcLine = srcLine0;
65078 }
65079 }
65080 t1 = _this.sourceRoot;
65081 if (t1 == null)
65082 t1 = "";
65083 t2 = buff._contents;
65084 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);
65085 t1 = _this.targetUrl;
65086 if (t1 != null)
65087 result.$indexSet(0, "file", t1);
65088 if (includeSourceContents) {
65089 t1 = _this.files;
65090 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
65091 result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
65092 }
65093 _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
65094 return result;
65095 },
65096 toJson$0() {
65097 return this.toJson$1$includeSourceContents(false);
65098 },
65099 toString$0(_) {
65100 var _this = this,
65101 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) + "]";
65102 return t1.charCodeAt(0) == 0 ? t1 : t1;
65103 }
65104 };
65105 A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
65106 call$0() {
65107 return this.urls.__js_helper$_length;
65108 },
65109 $signature: 12
65110 };
65111 A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
65112 call$0() {
65113 return this.sourceEntry.source.file;
65114 },
65115 $signature: 271
65116 };
65117 A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
65118 call$1(i) {
65119 return this.files.$index(0, i);
65120 },
65121 $signature: 272
65122 };
65123 A.SingleMapping_toJson_closure.prototype = {
65124 call$1(file) {
65125 return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
65126 },
65127 $signature: 273
65128 };
65129 A.SingleMapping_toJson_closure0.prototype = {
65130 call$2($name, value) {
65131 this.result.$indexSet(0, $name, value);
65132 return value;
65133 },
65134 $signature: 255
65135 };
65136 A.TargetLineEntry.prototype = {
65137 toString$0(_) {
65138 return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
65139 }
65140 };
65141 A.TargetEntry.prototype = {
65142 toString$0(_) {
65143 var _this = this;
65144 return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
65145 }
65146 };
65147 A.SourceFile.prototype = {
65148 get$length(_) {
65149 return this._decodedChars.length;
65150 },
65151 get$lines() {
65152 return this._lineStarts.length;
65153 },
65154 SourceFile$decoded$2$url(decodedChars, url) {
65155 var t1, t2, t3, i, c, j;
65156 for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
65157 c = t1[i];
65158 if (c === 13) {
65159 j = i + 1;
65160 if (j >= t2 || t1[j] !== 10)
65161 c = 10;
65162 }
65163 if (c === 10)
65164 t3.push(i + 1);
65165 }
65166 },
65167 span$2(_, start, end) {
65168 return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
65169 },
65170 span$1($receiver, start) {
65171 return this.span$2($receiver, start, null);
65172 },
65173 getLine$1(offset) {
65174 var t1, _this = this;
65175 if (offset < 0)
65176 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
65177 else if (offset > _this._decodedChars.length)
65178 throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
65179 t1 = _this._lineStarts;
65180 if (offset < B.JSArray_methods.get$first(t1))
65181 return -1;
65182 if (offset >= B.JSArray_methods.get$last(t1))
65183 return t1.length - 1;
65184 if (_this._isNearCachedLine$1(offset)) {
65185 t1 = _this._cachedLine;
65186 t1.toString;
65187 return t1;
65188 }
65189 return _this._cachedLine = _this._binarySearch$1(offset) - 1;
65190 },
65191 _isNearCachedLine$1(offset) {
65192 var t2, t3,
65193 t1 = this._cachedLine;
65194 if (t1 == null)
65195 return false;
65196 t2 = this._lineStarts;
65197 if (offset < t2[t1])
65198 return false;
65199 t3 = t2.length;
65200 if (t1 >= t3 - 1 || offset < t2[t1 + 1])
65201 return true;
65202 if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
65203 this._cachedLine = t1 + 1;
65204 return true;
65205 }
65206 return false;
65207 },
65208 _binarySearch$1(offset) {
65209 var min, half,
65210 t1 = this._lineStarts,
65211 max = t1.length - 1;
65212 for (min = 0; min < max;) {
65213 half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
65214 if (t1[half] > offset)
65215 max = half;
65216 else
65217 min = half + 1;
65218 }
65219 return max;
65220 },
65221 getColumn$1(offset) {
65222 var line, lineStart, _this = this;
65223 if (offset < 0)
65224 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
65225 else if (offset > _this._decodedChars.length)
65226 throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
65227 line = _this.getLine$1(offset);
65228 lineStart = _this._lineStarts[line];
65229 if (lineStart > offset)
65230 throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
65231 return offset - lineStart;
65232 },
65233 getOffset$1(line) {
65234 var t1, t2, result, t3;
65235 if (line < 0)
65236 throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
65237 else {
65238 t1 = this._lineStarts;
65239 t2 = t1.length;
65240 if (line >= t2)
65241 throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
65242 }
65243 result = t1[line];
65244 if (result <= this._decodedChars.length) {
65245 t3 = line + 1;
65246 t1 = t3 < t2 && result >= t1[t3];
65247 } else
65248 t1 = true;
65249 if (t1)
65250 throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
65251 return result;
65252 }
65253 };
65254 A.FileLocation.prototype = {
65255 get$sourceUrl(_) {
65256 return this.file.url;
65257 },
65258 get$line() {
65259 return this.file.getLine$1(this.offset);
65260 },
65261 get$column() {
65262 return this.file.getColumn$1(this.offset);
65263 },
65264 FileLocation$_$2(file, offset) {
65265 var t2,
65266 t1 = this.offset;
65267 if (t1 < 0)
65268 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
65269 else {
65270 t2 = this.file;
65271 if (t1 > t2._decodedChars.length)
65272 throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_ + t2.get$length(t2) + "."));
65273 }
65274 },
65275 pointSpan$0() {
65276 var t1 = this.offset;
65277 return A._FileSpan$(this.file, t1, t1);
65278 },
65279 get$offset() {
65280 return this.offset;
65281 }
65282 };
65283 A._FileSpan.prototype = {
65284 get$sourceUrl(_) {
65285 return this.file.url;
65286 },
65287 get$length(_) {
65288 return this._end - this._file$_start;
65289 },
65290 get$start(_) {
65291 return A.FileLocation$_(this.file, this._file$_start);
65292 },
65293 get$end(_) {
65294 return A.FileLocation$_(this.file, this._end);
65295 },
65296 get$text() {
65297 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
65298 },
65299 get$context(_) {
65300 var _this = this,
65301 t1 = _this.file,
65302 endOffset = _this._end,
65303 endLine = t1.getLine$1(endOffset);
65304 if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
65305 if (endOffset - _this._file$_start === 0)
65306 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);
65307 } else
65308 endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
65309 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
65310 },
65311 _FileSpan$3(file, _start, _end) {
65312 var t3,
65313 t1 = this._end,
65314 t2 = this._file$_start;
65315 if (t1 < t2)
65316 throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
65317 else {
65318 t3 = this.file;
65319 if (t1 > t3._decodedChars.length)
65320 throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
65321 else if (t2 < 0)
65322 throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
65323 }
65324 },
65325 compareTo$1(_, other) {
65326 var result;
65327 if (!(other instanceof A._FileSpan))
65328 return this.super$SourceSpanMixin$compareTo(0, other);
65329 result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
65330 return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
65331 },
65332 $eq(_, other) {
65333 var _this = this;
65334 if (other == null)
65335 return false;
65336 if (!type$.FileSpan._is(other))
65337 return _this.super$SourceSpanMixin$$eq(0, other);
65338 return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
65339 },
65340 get$hashCode(_) {
65341 return A.Object_hash(this._file$_start, this._end, this.file.url);
65342 },
65343 expand$1(_, other) {
65344 var start, _this = this,
65345 t1 = _this.file;
65346 if (!J.$eq$(t1.url, other.file.url))
65347 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65348 start = Math.min(_this._file$_start, other._file$_start);
65349 return A._FileSpan$(t1, start, Math.max(_this._end, other._end));
65350 },
65351 $isFileSpan: 1,
65352 $isSourceSpanWithContext: 1
65353 };
65354 A.Highlighter.prototype = {
65355 highlight$0() {
65356 var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
65357 t1 = _this._lines;
65358 _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
65359 t2 = _this._maxMultilineSpans;
65360 highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
65361 for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
65362 line = t1[i];
65363 if (i > 0) {
65364 lastLine = t1[i - 1];
65365 t5 = lastLine.url;
65366 t6 = line.url;
65367 if (!J.$eq$(t5, t6)) {
65368 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65369 t3._contents += "\n";
65370 _this._writeFileStart$1(t6);
65371 } else if (lastLine.number + 1 !== line.number) {
65372 _this._writeSidebar$1$text("...");
65373 t3._contents += "\n";
65374 }
65375 }
65376 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();) {
65377 t10 = t6.__internal$_current;
65378 if (t10 == null)
65379 t10 = t7._as(t10);
65380 t11 = t10.span;
65381 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()))) {
65382 index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
65383 if (index < 0)
65384 A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
65385 highlightsByColumn[index] = t10;
65386 }
65387 }
65388 _this._writeSidebar$1$line(t8);
65389 t3._contents += " ";
65390 _this._writeMultilineHighlights$2(line, highlightsByColumn);
65391 if (t2)
65392 t3._contents += " ";
65393 primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
65394 primary = primaryIdx === -1 ? _null : t5[primaryIdx];
65395 t6 = primary != null;
65396 if (t6) {
65397 t7 = primary.span;
65398 t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
65399 _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
65400 } else
65401 _this._writeText$1(t9);
65402 t3._contents += "\n";
65403 if (t6)
65404 _this._writeIndicator$3(line, primary, highlightsByColumn);
65405 for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
65406 highlight = t5[_i];
65407 if (highlight.isPrimary)
65408 continue;
65409 _this._writeIndicator$3(line, highlight, highlightsByColumn);
65410 }
65411 }
65412 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65413 t1 = t3._contents;
65414 return t1.charCodeAt(0) == 0 ? t1 : t1;
65415 },
65416 _writeFileStart$1(url) {
65417 var _this = this,
65418 t1 = !_this._multipleFiles || !type$.Uri._is(url),
65419 t2 = $._glyphs;
65420 if (t1)
65421 _this._writeSidebar$1$end(t2.get$downEnd());
65422 else {
65423 _this._writeSidebar$1$end(t2.get$topLeftCorner());
65424 _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
65425 _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
65426 }
65427 _this._highlighter$_buffer._contents += "\n";
65428 },
65429 _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
65430 var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
65431 _box_0.openedOnThisLine = false;
65432 _box_0.openedOnThisLineColor = null;
65433 t1 = current == null;
65434 if (t1)
65435 currentColor = null;
65436 else
65437 currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
65438 for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
65439 highlight = highlightsByColumn[_i];
65440 t6 = highlight == null;
65441 if (t6)
65442 startLine = null;
65443 else {
65444 t7 = highlight.span;
65445 startLine = t7.get$start(t7).get$line();
65446 }
65447 if (t6)
65448 endLine = null;
65449 else {
65450 t7 = highlight.span;
65451 endLine = t7.get$end(t7).get$line();
65452 }
65453 if (t1 && highlight === current) {
65454 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
65455 foundCurrent = true;
65456 } else if (foundCurrent)
65457 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
65458 else if (t6)
65459 if (_box_0.openedOnThisLine)
65460 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
65461 else
65462 t5._contents += " ";
65463 else {
65464 t6 = highlight.isPrimary ? t4 : t3;
65465 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
65466 }
65467 }
65468 },
65469 _writeMultilineHighlights$2(line, highlightsByColumn) {
65470 return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
65471 },
65472 _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
65473 var _this = this;
65474 _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
65475 _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
65476 _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
65477 },
65478 _writeIndicator$3(line, highlight, highlightsByColumn) {
65479 var t2, coversWholeLine, _this = this,
65480 color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
65481 t1 = highlight.span;
65482 if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
65483 _this._writeSidebar$0();
65484 t1 = _this._highlighter$_buffer;
65485 t1._contents += " ";
65486 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65487 if (highlightsByColumn.length !== 0)
65488 t1._contents += " ";
65489 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color);
65490 t1._contents += "\n";
65491 } else {
65492 t2 = line.number;
65493 if (t1.get$start(t1).get$line() === t2) {
65494 if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
65495 return;
65496 A.replaceFirstNull(highlightsByColumn, highlight);
65497 _this._writeSidebar$0();
65498 t1 = _this._highlighter$_buffer;
65499 t1._contents += " ";
65500 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65501 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
65502 t1._contents += "\n";
65503 } else if (t1.get$end(t1).get$line() === t2) {
65504 coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
65505 if (coversWholeLine && highlight.label == null) {
65506 A.replaceWithNull(highlightsByColumn, highlight);
65507 return;
65508 }
65509 _this._writeSidebar$0();
65510 t1 = _this._highlighter$_buffer;
65511 t1._contents += " ";
65512 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65513 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color);
65514 t1._contents += "\n";
65515 A.replaceWithNull(highlightsByColumn, highlight);
65516 }
65517 }
65518 },
65519 _writeArrow$3$beginning(line, column, beginning) {
65520 var t2,
65521 t1 = beginning ? 0 : 1,
65522 tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
65523 t1 = this._highlighter$_buffer;
65524 t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
65525 t1._contents = t2 + "^";
65526 },
65527 _writeArrow$2(line, column) {
65528 return this._writeArrow$3$beginning(line, column, true);
65529 },
65530 _writeText$1(text) {
65531 var t1, t2, t3, t4;
65532 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();) {
65533 t4 = t1.__internal$_current;
65534 if (t4 == null)
65535 t4 = t3._as(t4);
65536 if (t4 === 9)
65537 t2._contents += B.JSString_methods.$mul(" ", 4);
65538 else
65539 t2._contents += A.Primitives_stringFromCharCode(t4);
65540 }
65541 },
65542 _writeSidebar$3$end$line$text(end, line, text) {
65543 var t1 = {};
65544 t1.text = text;
65545 if (line != null)
65546 t1.text = B.JSInt_methods.toString$0(line + 1);
65547 this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
65548 },
65549 _writeSidebar$1$end(end) {
65550 return this._writeSidebar$3$end$line$text(end, null, null);
65551 },
65552 _writeSidebar$1$text(text) {
65553 return this._writeSidebar$3$end$line$text(null, null, text);
65554 },
65555 _writeSidebar$1$line(line) {
65556 return this._writeSidebar$3$end$line$text(null, line, null);
65557 },
65558 _writeSidebar$0() {
65559 return this._writeSidebar$3$end$line$text(null, null, null);
65560 },
65561 _countTabs$1(text) {
65562 var t1, t2, count, t3;
65563 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();) {
65564 t3 = t1.__internal$_current;
65565 if ((t3 == null ? t2._as(t3) : t3) === 9)
65566 ++count;
65567 }
65568 return count;
65569 },
65570 _isOnlyWhitespace$1(text) {
65571 var t1, t2, t3;
65572 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65573 t3 = t1.__internal$_current;
65574 if (t3 == null)
65575 t3 = t2._as(t3);
65576 if (t3 !== 32 && t3 !== 9)
65577 return false;
65578 }
65579 return true;
65580 },
65581 _colorize$2$color(callback, color) {
65582 var t1 = this._primaryColor != null;
65583 if (t1 && color != null)
65584 this._highlighter$_buffer._contents += color;
65585 callback.call$0();
65586 if (t1 && color != null)
65587 this._highlighter$_buffer._contents += "\x1b[0m";
65588 }
65589 };
65590 A.Highlighter_closure.prototype = {
65591 call$0() {
65592 var t1 = this.color,
65593 t2 = J.getInterceptor$(t1);
65594 if (t2.$eq(t1, true))
65595 return "\x1b[31m";
65596 if (t2.$eq(t1, false))
65597 return null;
65598 return A._asStringQ(t1);
65599 },
65600 $signature: 41
65601 };
65602 A.Highlighter$__closure.prototype = {
65603 call$1(line) {
65604 var t1 = line.highlights;
65605 t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
65606 return t1.get$length(t1);
65607 },
65608 $signature: 274
65609 };
65610 A.Highlighter$___closure.prototype = {
65611 call$1(highlight) {
65612 var t1 = highlight.span;
65613 return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
65614 },
65615 $signature: 138
65616 };
65617 A.Highlighter$__closure0.prototype = {
65618 call$1(line) {
65619 return line.url;
65620 },
65621 $signature: 276
65622 };
65623 A.Highlighter__collateLines_closure.prototype = {
65624 call$1(highlight) {
65625 var t1 = highlight.span;
65626 t1 = t1.get$sourceUrl(t1);
65627 return t1 == null ? new A.Object() : t1;
65628 },
65629 $signature: 277
65630 };
65631 A.Highlighter__collateLines_closure0.prototype = {
65632 call$2(highlight1, highlight2) {
65633 return highlight1.span.compareTo$1(0, highlight2.span);
65634 },
65635 $signature: 278
65636 };
65637 A.Highlighter__collateLines_closure1.prototype = {
65638 call$1(entry) {
65639 var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65640 url = entry.key,
65641 highlightsForFile = entry.value,
65642 lines = A._setArrayType([], type$.JSArray__Line);
65643 for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
65644 t4 = t2.get$current(t2).span;
65645 context = t4.get$context(t4);
65646 t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
65647 t5.toString;
65648 t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
65649 linesBeforeSpan = t5.get$length(t5);
65650 lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
65651 for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
65652 line = t4[_i];
65653 if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
65654 lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
65655 ++lineNumber;
65656 }
65657 }
65658 activeHighlights = A._setArrayType([], t3);
65659 for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
65660 line = lines[_i];
65661 if (!!activeHighlights.fixed$length)
65662 A.throwExpression(A.UnsupportedError$("removeWhere"));
65663 B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
65664 oldHighlightLength = activeHighlights.length;
65665 for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
65666 t4 = t3.get$current(t3);
65667 t5 = t4.span;
65668 if (t5.get$start(t5).get$line() > line.number)
65669 break;
65670 activeHighlights.push(t4);
65671 }
65672 highlightIndex += activeHighlights.length - oldHighlightLength;
65673 B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
65674 }
65675 return lines;
65676 },
65677 $signature: 279
65678 };
65679 A.Highlighter__collateLines__closure.prototype = {
65680 call$1(highlight) {
65681 var t1 = highlight.span;
65682 return t1.get$end(t1).get$line() < this.line.number;
65683 },
65684 $signature: 138
65685 };
65686 A.Highlighter_highlight_closure.prototype = {
65687 call$1(highlight) {
65688 return highlight.isPrimary;
65689 },
65690 $signature: 138
65691 };
65692 A.Highlighter__writeFileStart_closure.prototype = {
65693 call$0() {
65694 this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
65695 return null;
65696 },
65697 $signature: 0
65698 };
65699 A.Highlighter__writeMultilineHighlights_closure.prototype = {
65700 call$0() {
65701 var t1 = $._glyphs;
65702 t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
65703 this.$this._highlighter$_buffer._contents += t1;
65704 },
65705 $signature: 0
65706 };
65707 A.Highlighter__writeMultilineHighlights_closure0.prototype = {
65708 call$0() {
65709 var t1 = $._glyphs;
65710 t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
65711 this.$this._highlighter$_buffer._contents += t1;
65712 },
65713 $signature: 0
65714 };
65715 A.Highlighter__writeMultilineHighlights_closure1.prototype = {
65716 call$0() {
65717 this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
65718 return null;
65719 },
65720 $signature: 0
65721 };
65722 A.Highlighter__writeMultilineHighlights_closure2.prototype = {
65723 call$0() {
65724 var _this = this,
65725 t1 = _this._box_0,
65726 t2 = t1.openedOnThisLine,
65727 t3 = $._glyphs,
65728 vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
65729 if (_this.current != null)
65730 _this.$this._highlighter$_buffer._contents += vertical;
65731 else {
65732 t2 = _this.line;
65733 t3 = t2.number;
65734 if (_this.startLine === t3) {
65735 t2 = _this.$this;
65736 t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
65737 t1.openedOnThisLine = true;
65738 if (t1.openedOnThisLineColor == null)
65739 t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
65740 } else {
65741 if (_this.endLine === t3) {
65742 t3 = _this.highlight.span;
65743 t2 = t3.get$end(t3).get$column() === t2.text.length;
65744 } else
65745 t2 = false;
65746 t3 = _this.$this;
65747 if (t2) {
65748 t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
65749 t3._highlighter$_buffer._contents += t1;
65750 } else
65751 t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
65752 }
65753 }
65754 },
65755 $signature: 0
65756 };
65757 A.Highlighter__writeMultilineHighlights__closure.prototype = {
65758 call$0() {
65759 var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
65760 this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
65761 },
65762 $signature: 0
65763 };
65764 A.Highlighter__writeMultilineHighlights__closure0.prototype = {
65765 call$0() {
65766 this.$this._highlighter$_buffer._contents += this.vertical;
65767 },
65768 $signature: 0
65769 };
65770 A.Highlighter__writeHighlightedText_closure.prototype = {
65771 call$0() {
65772 var _this = this;
65773 return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
65774 },
65775 $signature: 0
65776 };
65777 A.Highlighter__writeIndicator_closure.prototype = {
65778 call$0() {
65779 var tabsBefore, tabsInside,
65780 t1 = this.$this,
65781 t2 = this.highlight,
65782 t3 = t2.span,
65783 t4 = t2.isPrimary ? "^" : $._glyphs.get$horizontalLineBold(),
65784 startColumn = t3.get$start(t3).get$column(),
65785 endColumn = t3.get$end(t3).get$column();
65786 t3 = this.line.text;
65787 tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t3, 0, startColumn));
65788 tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t3, startColumn, endColumn));
65789 startColumn += tabsBefore * 3;
65790 t1 = t1._highlighter$_buffer;
65791 t1._contents += B.JSString_methods.$mul(" ", startColumn);
65792 t4 = t1._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
65793 t2 = t2.label;
65794 if (t2 != null)
65795 t1._contents = t4 + (" " + t2);
65796 },
65797 $signature: 0
65798 };
65799 A.Highlighter__writeIndicator_closure0.prototype = {
65800 call$0() {
65801 var t1 = this.highlight.span;
65802 return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
65803 },
65804 $signature: 0
65805 };
65806 A.Highlighter__writeIndicator_closure1.prototype = {
65807 call$0() {
65808 var t2, _this = this,
65809 t1 = _this.$this;
65810 if (_this.coversWholeLine)
65811 t1._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
65812 else {
65813 t2 = _this.highlight.span;
65814 t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false);
65815 }
65816 t2 = _this.highlight.label;
65817 if (t2 != null)
65818 t1._highlighter$_buffer._contents += " " + t2;
65819 },
65820 $signature: 0
65821 };
65822 A.Highlighter__writeSidebar_closure.prototype = {
65823 call$0() {
65824 var t1 = this.$this,
65825 t2 = t1._highlighter$_buffer,
65826 t3 = this._box_0.text;
65827 if (t3 == null)
65828 t3 = "";
65829 t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
65830 t1 = this.end;
65831 t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
65832 },
65833 $signature: 0
65834 };
65835 A._Highlight.prototype = {
65836 toString$0(_) {
65837 var t1 = this.isPrimary ? "" + "primary " : "",
65838 t2 = this.span;
65839 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());
65840 t1 = this.label;
65841 t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
65842 return t1.charCodeAt(0) == 0 ? t1 : t1;
65843 }
65844 };
65845 A._Highlight_closure.prototype = {
65846 call$0() {
65847 var t2, t3, t4, t5,
65848 t1 = this.span;
65849 if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
65850 t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
65851 t3 = t1.get$end(t1).get$offset();
65852 t4 = t1.get$sourceUrl(t1);
65853 t5 = A.countCodeUnits(t1.get$text(), 10);
65854 t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
65855 }
65856 return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
65857 },
65858 $signature: 280
65859 };
65860 A._Line.prototype = {
65861 toString$0(_) {
65862 return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
65863 }
65864 };
65865 A.SourceLocation.prototype = {
65866 distance$1(other) {
65867 var t1 = this.sourceUrl;
65868 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65869 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65870 return Math.abs(this.offset - other.get$offset());
65871 },
65872 compareTo$1(_, other) {
65873 var t1 = this.sourceUrl;
65874 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65875 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65876 return this.offset - other.get$offset();
65877 },
65878 $eq(_, other) {
65879 if (other == null)
65880 return false;
65881 return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65882 },
65883 get$hashCode(_) {
65884 var t1 = this.sourceUrl;
65885 t1 = t1 == null ? null : t1.get$hashCode(t1);
65886 if (t1 == null)
65887 t1 = 0;
65888 return t1 + this.offset;
65889 },
65890 toString$0(_) {
65891 var _this = this,
65892 t1 = A.getRuntimeType(_this).toString$0(0),
65893 source = _this.sourceUrl;
65894 return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
65895 },
65896 $isComparable: 1,
65897 get$sourceUrl(receiver) {
65898 return this.sourceUrl;
65899 },
65900 get$offset() {
65901 return this.offset;
65902 },
65903 get$line() {
65904 return this.line;
65905 },
65906 get$column() {
65907 return this.column;
65908 }
65909 };
65910 A.SourceLocationMixin.prototype = {
65911 distance$1(other) {
65912 var _this = this;
65913 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65914 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65915 return Math.abs(_this.offset - other.get$offset());
65916 },
65917 compareTo$1(_, other) {
65918 var _this = this;
65919 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65920 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65921 return _this.offset - other.get$offset();
65922 },
65923 $eq(_, other) {
65924 if (other == null)
65925 return false;
65926 return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65927 },
65928 get$hashCode(_) {
65929 var t1 = this.file.url;
65930 t1 = t1 == null ? null : t1.get$hashCode(t1);
65931 if (t1 == null)
65932 t1 = 0;
65933 return t1 + this.offset;
65934 },
65935 toString$0(_) {
65936 var t1 = A.getRuntimeType(this).toString$0(0),
65937 t2 = this.offset,
65938 t3 = this.file,
65939 source = t3.url;
65940 return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
65941 },
65942 $isComparable: 1,
65943 $isSourceLocation: 1
65944 };
65945 A.SourceSpanBase.prototype = {
65946 SourceSpanBase$3(start, end, text) {
65947 var t3,
65948 t1 = this.end,
65949 t2 = this.start;
65950 if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
65951 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
65952 else if (t1.get$offset() < t2.get$offset())
65953 throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
65954 else {
65955 t3 = this.text;
65956 if (t3.length !== t2.distance$1(t1))
65957 throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
65958 }
65959 },
65960 get$start(receiver) {
65961 return this.start;
65962 },
65963 get$end(receiver) {
65964 return this.end;
65965 },
65966 get$text() {
65967 return this.text;
65968 }
65969 };
65970 A.SourceSpanException.prototype = {
65971 get$message(_) {
65972 return this._span_exception$_message;
65973 },
65974 get$span(_) {
65975 return this._span;
65976 },
65977 toString$1$color(_, color) {
65978 var _this = this;
65979 _this.get$span(_this);
65980 return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
65981 },
65982 toString$0($receiver) {
65983 return this.toString$1$color($receiver, null);
65984 },
65985 $isException: 1
65986 };
65987 A.SourceSpanFormatException.prototype = {$isFormatException: 1,
65988 get$source() {
65989 return this.source;
65990 }
65991 };
65992 A.SourceSpanMixin.prototype = {
65993 get$sourceUrl(_) {
65994 var t1 = this.get$start(this);
65995 return t1.get$sourceUrl(t1);
65996 },
65997 get$length(_) {
65998 var _this = this;
65999 return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
66000 },
66001 compareTo$1(_, other) {
66002 var _this = this,
66003 result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
66004 return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
66005 },
66006 message$2$color(_, message, color) {
66007 var t2, highlight, _this = this,
66008 t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
66009 if (_this.get$sourceUrl(_this) != null) {
66010 t2 = _this.get$sourceUrl(_this);
66011 t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
66012 t1 = t2;
66013 }
66014 t1 += ": " + message;
66015 highlight = _this.highlight$1$color(color);
66016 if (highlight.length !== 0)
66017 t1 = t1 + "\n" + highlight;
66018 return t1.charCodeAt(0) == 0 ? t1 : t1;
66019 },
66020 message$1($receiver, message) {
66021 return this.message$2$color($receiver, message, null);
66022 },
66023 highlight$1$color(color) {
66024 var _this = this;
66025 if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
66026 return "";
66027 return A.Highlighter$(_this, color).highlight$0();
66028 },
66029 $eq(_, other) {
66030 var _this = this;
66031 if (other == null)
66032 return false;
66033 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));
66034 },
66035 get$hashCode(_) {
66036 var _this = this;
66037 return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue);
66038 },
66039 toString$0(_) {
66040 var _this = this;
66041 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() + '">';
66042 },
66043 $isComparable: 1,
66044 $isSourceSpan: 1
66045 };
66046 A.SourceSpanWithContext.prototype = {
66047 get$context(_) {
66048 return this._context;
66049 }
66050 };
66051 A.Chain.prototype = {
66052 toTrace$0() {
66053 var t1 = this.traces;
66054 return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
66055 },
66056 toString$0(_) {
66057 var t1 = this.traces,
66058 t2 = A._arrayInstanceType(t1);
66059 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_____);
66060 },
66061 $isStackTrace: 1
66062 };
66063 A.Chain_Chain$parse_closure.prototype = {
66064 call$1(line) {
66065 return line.length !== 0;
66066 },
66067 $signature: 6
66068 };
66069 A.Chain_Chain$parse_closure0.prototype = {
66070 call$1(trace) {
66071 return A.Trace$parseVM(trace);
66072 },
66073 $signature: 145
66074 };
66075 A.Chain_Chain$parse_closure1.prototype = {
66076 call$1(trace) {
66077 return A.Trace$parseFriendly(trace);
66078 },
66079 $signature: 145
66080 };
66081 A.Chain_toTrace_closure.prototype = {
66082 call$1(trace) {
66083 return trace.get$frames();
66084 },
66085 $signature: 283
66086 };
66087 A.Chain_toString_closure0.prototype = {
66088 call$1(trace) {
66089 var t1 = trace.get$frames();
66090 return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
66091 },
66092 $signature: 284
66093 };
66094 A.Chain_toString__closure0.prototype = {
66095 call$1(frame) {
66096 return frame.get$location().length;
66097 },
66098 $signature: 146
66099 };
66100 A.Chain_toString_closure.prototype = {
66101 call$1(trace) {
66102 var t1 = trace.get$frames();
66103 return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
66104 },
66105 $signature: 286
66106 };
66107 A.Chain_toString__closure.prototype = {
66108 call$1(frame) {
66109 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66110 },
66111 $signature: 147
66112 };
66113 A.Frame.prototype = {
66114 get$isCore() {
66115 return this.uri.get$scheme() === "dart";
66116 },
66117 get$library() {
66118 var t1 = this.uri;
66119 if (t1.get$scheme() === "data")
66120 return "data:...";
66121 return $.$get$context().prettyUri$1(t1);
66122 },
66123 get$$package() {
66124 var t1 = this.uri;
66125 if (t1.get$scheme() !== "package")
66126 return null;
66127 return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
66128 },
66129 get$location() {
66130 var t2, _this = this,
66131 t1 = _this.line;
66132 if (t1 == null)
66133 return _this.get$library();
66134 t2 = _this.column;
66135 if (t2 == null)
66136 return _this.get$library() + " " + A.S(t1);
66137 return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
66138 },
66139 toString$0(_) {
66140 return this.get$location() + " in " + A.S(this.member);
66141 },
66142 get$uri() {
66143 return this.uri;
66144 },
66145 get$line() {
66146 return this.line;
66147 },
66148 get$column() {
66149 return this.column;
66150 },
66151 get$member() {
66152 return this.member;
66153 }
66154 };
66155 A.Frame_Frame$parseVM_closure.prototype = {
66156 call$0() {
66157 var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
66158 t1 = this.frame;
66159 if (t1 === "...")
66160 return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
66161 match = $.$get$_vmFrame().firstMatch$1(t1);
66162 if (match == null)
66163 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66164 t1 = match._match;
66165 t2 = t1[1];
66166 t2.toString;
66167 t3 = $.$get$_asyncBody();
66168 t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
66169 member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
66170 t2 = t1[2];
66171 t3 = t2;
66172 t3.toString;
66173 if (B.JSString_methods.startsWith$1(t3, "<data:"))
66174 uri = A.Uri_Uri$dataFromString("", _null, _null);
66175 else {
66176 t2 = t2;
66177 t2.toString;
66178 uri = A.Uri_parse(t2);
66179 }
66180 lineAndColumn = t1[3].split(":");
66181 t1 = lineAndColumn.length;
66182 line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
66183 return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
66184 },
66185 $signature: 70
66186 };
66187 A.Frame_Frame$parseV8_closure.prototype = {
66188 call$0() {
66189 var t2, t3, _s4_ = "<fn>",
66190 t1 = this.frame,
66191 match = $.$get$_v8Frame().firstMatch$1(t1);
66192 if (match == null)
66193 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
66194 t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
66195 t2 = match._match;
66196 t3 = t2[2];
66197 if (t3 != null) {
66198 t3 = t3;
66199 t3.toString;
66200 t2 = t2[1];
66201 t2.toString;
66202 t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
66203 t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
66204 return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
66205 } else {
66206 t2 = t2[3];
66207 t2.toString;
66208 return t1.call$2(t2, _s4_);
66209 }
66210 },
66211 $signature: 70
66212 };
66213 A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
66214 call$2($location, member) {
66215 var t2, urlMatch, uri, line, columnMatch, _null = null,
66216 t1 = $.$get$_v8EvalLocation(),
66217 evalMatch = t1.firstMatch$1($location);
66218 for (; evalMatch != null; $location = t2) {
66219 t2 = evalMatch._match[1];
66220 t2.toString;
66221 evalMatch = t1.firstMatch$1(t2);
66222 }
66223 if ($location === "native")
66224 return new A.Frame(A.Uri_parse("native"), _null, _null, member);
66225 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
66226 if (urlMatch == null)
66227 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
66228 t1 = urlMatch._match;
66229 t2 = t1[1];
66230 t2.toString;
66231 uri = A.Frame__uriOrPathToUri(t2);
66232 t2 = t1[2];
66233 t2.toString;
66234 line = A.int_parse(t2, _null);
66235 columnMatch = t1[3];
66236 return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
66237 },
66238 $signature: 289
66239 };
66240 A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
66241 call$0() {
66242 var t2, member, uri, line, _null = null,
66243 t1 = this.frame,
66244 match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
66245 if (match == null)
66246 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66247 t1 = match._match;
66248 t2 = t1[1];
66249 t2.toString;
66250 member = A.stringReplaceAllUnchecked(t2, "/<", "");
66251 t2 = t1[2];
66252 t2.toString;
66253 uri = A.Frame__uriOrPathToUri(t2);
66254 t1 = t1[3];
66255 t1.toString;
66256 line = A.int_parse(t1, _null);
66257 return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
66258 },
66259 $signature: 70
66260 };
66261 A.Frame_Frame$parseFirefox_closure.prototype = {
66262 call$0() {
66263 var t2, t3, t4, uri, member, line, column, _null = null,
66264 t1 = this.frame,
66265 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
66266 if (match == null)
66267 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66268 t2 = match._match;
66269 t3 = t2[3];
66270 t4 = t3;
66271 t4.toString;
66272 if (B.JSString_methods.contains$1(t4, " line "))
66273 return A.Frame_Frame$_parseFirefoxEval(t1);
66274 t1 = t3;
66275 t1.toString;
66276 uri = A.Frame__uriOrPathToUri(t1);
66277 member = t2[1];
66278 if (member != null) {
66279 t1 = t2[2];
66280 t1.toString;
66281 t1 = B.JSString_methods.allMatches$1("/", t1);
66282 member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
66283 if (member === "")
66284 member = "<fn>";
66285 member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
66286 } else
66287 member = "<fn>";
66288 t1 = t2[4];
66289 if (t1 === "")
66290 line = _null;
66291 else {
66292 t1 = t1;
66293 t1.toString;
66294 line = A.int_parse(t1, _null);
66295 }
66296 t1 = t2[5];
66297 if (t1 == null || t1 === "")
66298 column = _null;
66299 else {
66300 t1 = t1;
66301 t1.toString;
66302 column = A.int_parse(t1, _null);
66303 }
66304 return new A.Frame(uri, line, column, member);
66305 },
66306 $signature: 70
66307 };
66308 A.Frame_Frame$parseFriendly_closure.prototype = {
66309 call$0() {
66310 var t2, uri, line, column, _null = null,
66311 t1 = this.frame,
66312 match = $.$get$_friendlyFrame().firstMatch$1(t1);
66313 if (match == null)
66314 throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
66315 t1 = match._match;
66316 t2 = t1[1];
66317 if (t2 === "data:...")
66318 uri = A.Uri_Uri$dataFromString("", _null, _null);
66319 else {
66320 t2 = t2;
66321 t2.toString;
66322 uri = A.Uri_parse(t2);
66323 }
66324 if (uri.get$scheme() === "") {
66325 t2 = $.$get$context();
66326 uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
66327 }
66328 t2 = t1[2];
66329 if (t2 == null)
66330 line = _null;
66331 else {
66332 t2 = t2;
66333 t2.toString;
66334 line = A.int_parse(t2, _null);
66335 }
66336 t2 = t1[3];
66337 if (t2 == null)
66338 column = _null;
66339 else {
66340 t2 = t2;
66341 t2.toString;
66342 column = A.int_parse(t2, _null);
66343 }
66344 return new A.Frame(uri, line, column, t1[4]);
66345 },
66346 $signature: 70
66347 };
66348 A.LazyTrace.prototype = {
66349 get$_lazy_trace$_trace() {
66350 var result, _this = this,
66351 value = _this.__LazyTrace__trace;
66352 if (value === $) {
66353 result = _this._thunk.call$0();
66354 A._lateInitializeOnceCheck(_this.__LazyTrace__trace, "_trace");
66355 _this.__LazyTrace__trace = result;
66356 value = result;
66357 }
66358 return value;
66359 },
66360 get$frames() {
66361 return this.get$_lazy_trace$_trace().get$frames();
66362 },
66363 get$terse() {
66364 return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
66365 },
66366 toString$0(_) {
66367 return this.get$_lazy_trace$_trace().toString$0(0);
66368 },
66369 $isStackTrace: 1,
66370 $isTrace: 1
66371 };
66372 A.LazyTrace_terse_closure.prototype = {
66373 call$0() {
66374 return this.$this.get$_lazy_trace$_trace().get$terse();
66375 },
66376 $signature: 149
66377 };
66378 A.Trace.prototype = {
66379 get$terse() {
66380 return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
66381 },
66382 foldFrames$2$terse(predicate, terse) {
66383 var newFrames, t1, t2, t3, _box_0 = {};
66384 _box_0.predicate = predicate;
66385 _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
66386 newFrames = A._setArrayType([], type$.JSArray_Frame);
66387 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();) {
66388 t3 = t1.__internal$_current;
66389 if (t3 == null)
66390 t3 = t2._as(t3);
66391 if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
66392 newFrames.push(t3);
66393 else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
66394 newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
66395 }
66396 t1 = type$.MappedListIterable_Frame_Frame;
66397 newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
66398 if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
66399 B.JSArray_methods.removeAt$1(newFrames, 0);
66400 return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
66401 },
66402 toString$0(_) {
66403 var t1 = this.frames,
66404 t2 = A._arrayInstanceType(t1);
66405 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);
66406 },
66407 $isStackTrace: 1,
66408 get$frames() {
66409 return this.frames;
66410 }
66411 };
66412 A.Trace_Trace$from_closure.prototype = {
66413 call$0() {
66414 return A.Trace_Trace$parse(this.trace.toString$0(0));
66415 },
66416 $signature: 149
66417 };
66418 A.Trace__parseVM_closure.prototype = {
66419 call$1(line) {
66420 return line.length !== 0;
66421 },
66422 $signature: 6
66423 };
66424 A.Trace__parseVM_closure0.prototype = {
66425 call$1(line) {
66426 return A.Frame_Frame$parseVM(line);
66427 },
66428 $signature: 69
66429 };
66430 A.Trace$parseV8_closure.prototype = {
66431 call$1(line) {
66432 return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
66433 },
66434 $signature: 6
66435 };
66436 A.Trace$parseV8_closure0.prototype = {
66437 call$1(line) {
66438 return A.Frame_Frame$parseV8(line);
66439 },
66440 $signature: 69
66441 };
66442 A.Trace$parseJSCore_closure.prototype = {
66443 call$1(line) {
66444 return line !== "\tat ";
66445 },
66446 $signature: 6
66447 };
66448 A.Trace$parseJSCore_closure0.prototype = {
66449 call$1(line) {
66450 return A.Frame_Frame$parseV8(line);
66451 },
66452 $signature: 69
66453 };
66454 A.Trace$parseFirefox_closure.prototype = {
66455 call$1(line) {
66456 return line.length !== 0 && line !== "[native code]";
66457 },
66458 $signature: 6
66459 };
66460 A.Trace$parseFirefox_closure0.prototype = {
66461 call$1(line) {
66462 return A.Frame_Frame$parseFirefox(line);
66463 },
66464 $signature: 69
66465 };
66466 A.Trace$parseFriendly_closure.prototype = {
66467 call$1(line) {
66468 return !B.JSString_methods.startsWith$1(line, "=====");
66469 },
66470 $signature: 6
66471 };
66472 A.Trace$parseFriendly_closure0.prototype = {
66473 call$1(line) {
66474 return A.Frame_Frame$parseFriendly(line);
66475 },
66476 $signature: 69
66477 };
66478 A.Trace_terse_closure.prototype = {
66479 call$1(_) {
66480 return false;
66481 },
66482 $signature: 151
66483 };
66484 A.Trace_foldFrames_closure.prototype = {
66485 call$1(frame) {
66486 var t1;
66487 if (this.oldPredicate.call$1(frame))
66488 return true;
66489 if (frame.get$isCore())
66490 return true;
66491 if (frame.get$$package() === "stack_trace")
66492 return true;
66493 t1 = frame.get$member();
66494 t1.toString;
66495 if (!B.JSString_methods.contains$1(t1, "<async>"))
66496 return false;
66497 return frame.get$line() == null;
66498 },
66499 $signature: 151
66500 };
66501 A.Trace_foldFrames_closure0.prototype = {
66502 call$1(frame) {
66503 var t1, t2;
66504 if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
66505 return frame;
66506 t1 = frame.get$library();
66507 t2 = $.$get$_terseRegExp();
66508 return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
66509 },
66510 $signature: 293
66511 };
66512 A.Trace_toString_closure0.prototype = {
66513 call$1(frame) {
66514 return frame.get$location().length;
66515 },
66516 $signature: 146
66517 };
66518 A.Trace_toString_closure.prototype = {
66519 call$1(frame) {
66520 if (frame instanceof A.UnparsedFrame)
66521 return frame.toString$0(0) + "\n";
66522 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66523 },
66524 $signature: 147
66525 };
66526 A.UnparsedFrame.prototype = {
66527 toString$0(_) {
66528 return this.member;
66529 },
66530 $isFrame: 1,
66531 get$uri() {
66532 return this.uri;
66533 },
66534 get$line() {
66535 return null;
66536 },
66537 get$column() {
66538 return null;
66539 },
66540 get$isCore() {
66541 return false;
66542 },
66543 get$library() {
66544 return "unparsed";
66545 },
66546 get$$package() {
66547 return null;
66548 },
66549 get$location() {
66550 return "unparsed";
66551 },
66552 get$member() {
66553 return this.member;
66554 }
66555 };
66556 A.TransformByHandlers_transformByHandlers_closure.prototype = {
66557 call$0() {
66558 var t2, subscription, t3, t4, _this = this, t1 = {};
66559 t1.valuesDone = false;
66560 t2 = _this.controller;
66561 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));
66562 t3 = _this._box_1;
66563 t3.subscription = subscription;
66564 t2.set$onPause(subscription.get$pause(subscription));
66565 t4 = t3.subscription;
66566 t2.set$onResume(t4.get$resume(t4));
66567 t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
66568 },
66569 $signature: 0
66570 };
66571 A.TransformByHandlers_transformByHandlers__closure.prototype = {
66572 call$1(value) {
66573 return this.handleData.call$2(value, this.controller);
66574 },
66575 $signature() {
66576 return this.S._eval$1("~(0)");
66577 }
66578 };
66579 A.TransformByHandlers_transformByHandlers__closure1.prototype = {
66580 call$2(error, stackTrace) {
66581 this.handleError.call$3(error, stackTrace, this.controller);
66582 },
66583 $signature: 63
66584 };
66585 A.TransformByHandlers_transformByHandlers__closure0.prototype = {
66586 call$0() {
66587 this._box_0.valuesDone = true;
66588 this.handleDone.call$1(this.controller);
66589 },
66590 $signature: 0
66591 };
66592 A.TransformByHandlers_transformByHandlers__closure2.prototype = {
66593 call$0() {
66594 var t1 = this._box_1,
66595 toCancel = t1.subscription;
66596 t1.subscription = null;
66597 if (!this._box_0.valuesDone)
66598 return toCancel.cancel$0();
66599 return null;
66600 },
66601 $signature: 224
66602 };
66603 A.RateLimit__debounceAggregate_closure.prototype = {
66604 call$2(value, sink) {
66605 var _this = this,
66606 t1 = _this._box_0,
66607 t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
66608 t3 = t1.timer;
66609 if (t3 != null)
66610 t3.cancel$0();
66611 t1.soFar = _this.collect.call$2(value, t1.soFar);
66612 t1.hasPending = true;
66613 if (t1.timer == null && _this.leading) {
66614 t1.emittedLatestAsLeading = true;
66615 t2.call$0();
66616 } else
66617 t1.emittedLatestAsLeading = false;
66618 t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
66619 },
66620 $signature() {
66621 return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
66622 }
66623 };
66624 A.RateLimit__debounceAggregate_closure_emit.prototype = {
66625 call$0() {
66626 var t1 = this._box_0,
66627 t2 = t1.soFar;
66628 if (t2 == null)
66629 t2 = this.S._as(t2);
66630 this.sink.add$1(0, t2);
66631 t1.soFar = null;
66632 t1.hasPending = false;
66633 },
66634 $signature: 0
66635 };
66636 A.RateLimit__debounceAggregate__closure.prototype = {
66637 call$0() {
66638 var t1 = this._box_0,
66639 t2 = t1.emittedLatestAsLeading;
66640 if (!t2)
66641 this.emit.call$0();
66642 if (t1.shouldClose)
66643 this.sink.close$0(0);
66644 t1.timer = null;
66645 },
66646 $signature: 0
66647 };
66648 A.RateLimit__debounceAggregate_closure0.prototype = {
66649 call$1(sink) {
66650 var t1 = this._box_0;
66651 if (t1.hasPending && this.trailing)
66652 t1.shouldClose = true;
66653 else {
66654 t1 = t1.timer;
66655 if (t1 != null)
66656 t1.cancel$0();
66657 sink.close$0(0);
66658 }
66659 },
66660 $signature() {
66661 return this.S._eval$1("~(EventSink<0>)");
66662 }
66663 };
66664 A.StringScannerException.prototype = {
66665 get$source() {
66666 return A._asString(this.source);
66667 }
66668 };
66669 A.LineScanner.prototype = {
66670 scanChar$1(character) {
66671 if (!this.super$StringScanner$scanChar(character))
66672 return false;
66673 this._adjustLineAndColumn$1(character);
66674 return true;
66675 },
66676 _adjustLineAndColumn$1(character) {
66677 var t1, _this = this;
66678 if (character !== 10)
66679 t1 = character === 13 && _this.peekChar$0() !== 10;
66680 else
66681 t1 = true;
66682 if (t1) {
66683 ++_this._line_scanner$_line;
66684 _this._line_scanner$_column = 0;
66685 } else
66686 ++_this._line_scanner$_column;
66687 },
66688 scan$1(pattern) {
66689 var t1, newlines, t2, _this = this;
66690 if (!_this.super$StringScanner$scan(pattern))
66691 return false;
66692 t1 = _this.get$lastMatch();
66693 newlines = _this._newlinesIn$1(t1.pattern);
66694 t1 = _this._line_scanner$_line;
66695 t2 = newlines.length;
66696 _this._line_scanner$_line = t1 + t2;
66697 if (t2 === 0) {
66698 t1 = _this._line_scanner$_column;
66699 t2 = _this.get$lastMatch();
66700 _this._line_scanner$_column = t1 + t2.pattern.length;
66701 } else {
66702 t1 = _this.get$lastMatch();
66703 _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
66704 }
66705 return true;
66706 },
66707 _newlinesIn$1(text) {
66708 var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
66709 newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
66710 if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
66711 B.JSArray_methods.removeLast$0(newlines);
66712 return newlines;
66713 }
66714 };
66715 A.SpanScanner.prototype = {
66716 set$state(state) {
66717 if (state._scanner !== this)
66718 throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
66719 this.set$position(state.position);
66720 },
66721 spanFrom$2(startState, endState) {
66722 var endPosition = endState == null ? this._string_scanner$_position : endState.position;
66723 return this._sourceFile.span$2(0, startState.position, endPosition);
66724 },
66725 spanFrom$1(startState) {
66726 return this.spanFrom$2(startState, null);
66727 },
66728 matches$1(pattern) {
66729 var t1, t2, _this = this;
66730 if (!_this.super$StringScanner$matches(pattern))
66731 return false;
66732 t1 = _this._string_scanner$_position;
66733 t2 = _this.get$lastMatch();
66734 _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
66735 return true;
66736 },
66737 error$3$length$position(_, message, $length, position) {
66738 var t2, match, _this = this,
66739 t1 = _this.string;
66740 A.validateErrorArgs(t1, null, position, $length);
66741 t2 = position == null && $length == null;
66742 match = t2 ? _this.get$lastMatch() : null;
66743 if (position == null)
66744 position = match == null ? _this._string_scanner$_position : match.start;
66745 if ($length == null)
66746 if (match == null)
66747 $length = 0;
66748 else {
66749 t2 = match.start;
66750 $length = t2 + match.pattern.length - t2;
66751 }
66752 throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
66753 },
66754 error$1($receiver, message) {
66755 return this.error$3$length$position($receiver, message, null, null);
66756 },
66757 error$2$position($receiver, message, position) {
66758 return this.error$3$length$position($receiver, message, null, position);
66759 },
66760 error$2$length($receiver, message, $length) {
66761 return this.error$3$length$position($receiver, message, $length, null);
66762 }
66763 };
66764 A._SpanScannerState.prototype = {};
66765 A.StringScanner.prototype = {
66766 set$position(position) {
66767 if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
66768 throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
66769 this._string_scanner$_position = position;
66770 this._lastMatch = null;
66771 },
66772 get$lastMatch() {
66773 var _this = this;
66774 if (_this._string_scanner$_position !== _this._lastMatchPosition)
66775 _this._lastMatch = null;
66776 return _this._lastMatch;
66777 },
66778 readChar$0() {
66779 var _this = this,
66780 t1 = _this._string_scanner$_position,
66781 t2 = _this.string;
66782 if (t1 === t2.length)
66783 _this.error$3$length$position(0, "expected more input.", 0, t1);
66784 return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
66785 },
66786 peekChar$1(offset) {
66787 var index;
66788 if (offset == null)
66789 offset = 0;
66790 index = this._string_scanner$_position + offset;
66791 if (index < 0 || index >= this.string.length)
66792 return null;
66793 return B.JSString_methods.codeUnitAt$1(this.string, index);
66794 },
66795 peekChar$0() {
66796 return this.peekChar$1(null);
66797 },
66798 scanChar$1(character) {
66799 var t1 = this._string_scanner$_position,
66800 t2 = this.string;
66801 if (t1 === t2.length)
66802 return false;
66803 if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
66804 return false;
66805 this._string_scanner$_position = t1 + 1;
66806 return true;
66807 },
66808 expectChar$2$name(character, $name) {
66809 if (this.scanChar$1(character))
66810 return;
66811 if ($name == null)
66812 if (character === 92)
66813 $name = '"\\"';
66814 else
66815 $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
66816 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66817 },
66818 expectChar$1(character) {
66819 return this.expectChar$2$name(character, null);
66820 },
66821 scan$1(pattern) {
66822 var t1, _this = this,
66823 success = _this.matches$1(pattern);
66824 if (success) {
66825 t1 = _this._lastMatch;
66826 _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
66827 }
66828 return success;
66829 },
66830 expect$1(pattern) {
66831 var t1, $name;
66832 if (this.scan$1(pattern))
66833 return;
66834 t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
66835 $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
66836 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66837 },
66838 expectDone$0() {
66839 var t1 = this._string_scanner$_position;
66840 if (t1 === this.string.length)
66841 return;
66842 this.error$3$length$position(0, "expected no more input.", 0, t1);
66843 },
66844 matches$1(pattern) {
66845 var _this = this,
66846 t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
66847 _this._lastMatch = t1;
66848 _this._lastMatchPosition = _this._string_scanner$_position;
66849 return t1 != null;
66850 },
66851 substring$1(_, start) {
66852 var end = this._string_scanner$_position;
66853 return B.JSString_methods.substring$2(this.string, start, end);
66854 },
66855 error$3$length$position(_, message, $length, position) {
66856 var t1 = this.string;
66857 A.validateErrorArgs(t1, null, position, $length);
66858 throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
66859 }
66860 };
66861 A.AsciiGlyphSet.prototype = {
66862 glyphOrAscii$2(glyph, alternative) {
66863 return alternative;
66864 },
66865 get$horizontalLine() {
66866 return "-";
66867 },
66868 get$verticalLine() {
66869 return "|";
66870 },
66871 get$topLeftCorner() {
66872 return ",";
66873 },
66874 get$bottomLeftCorner() {
66875 return "'";
66876 },
66877 get$cross() {
66878 return "+";
66879 },
66880 get$upEnd() {
66881 return "'";
66882 },
66883 get$downEnd() {
66884 return ",";
66885 },
66886 get$horizontalLineBold() {
66887 return "=";
66888 }
66889 };
66890 A.UnicodeGlyphSet.prototype = {
66891 glyphOrAscii$2(glyph, alternative) {
66892 return glyph;
66893 },
66894 get$horizontalLine() {
66895 return "\u2500";
66896 },
66897 get$verticalLine() {
66898 return "\u2502";
66899 },
66900 get$topLeftCorner() {
66901 return "\u250c";
66902 },
66903 get$bottomLeftCorner() {
66904 return "\u2514";
66905 },
66906 get$cross() {
66907 return "\u253c";
66908 },
66909 get$upEnd() {
66910 return "\u2575";
66911 },
66912 get$downEnd() {
66913 return "\u2577";
66914 },
66915 get$horizontalLineBold() {
66916 return "\u2501";
66917 }
66918 };
66919 A.Tuple2.prototype = {
66920 toString$0(_) {
66921 return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
66922 },
66923 $eq(_, other) {
66924 if (other == null)
66925 return false;
66926 return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
66927 },
66928 get$hashCode(_) {
66929 var t1 = J.get$hashCode$(this.item1),
66930 t2 = J.get$hashCode$(this.item2);
66931 return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)));
66932 }
66933 };
66934 A.Tuple3.prototype = {
66935 toString$0(_) {
66936 return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
66937 },
66938 $eq(_, other) {
66939 if (other == null)
66940 return false;
66941 return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
66942 },
66943 get$hashCode(_) {
66944 var t3,
66945 t1 = A.Primitives_objectHashCode(this.item1),
66946 t2 = this.item2;
66947 t2 = t2.get$hashCode(t2);
66948 t3 = this.item3;
66949 t3 = t3.get$hashCode(t3);
66950 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)));
66951 }
66952 };
66953 A.Tuple4.prototype = {
66954 toString$0(_) {
66955 var _this = this;
66956 return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
66957 },
66958 $eq(_, other) {
66959 var _this = this;
66960 if (other == null)
66961 return false;
66962 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);
66963 },
66964 get$hashCode(_) {
66965 var t2, t3, t4, _this = this,
66966 t1 = _this.item1;
66967 t1 = t1.get$hashCode(t1);
66968 t2 = B.JSBool_methods.get$hashCode(_this.item2);
66969 t3 = A.Primitives_objectHashCode(_this.item3);
66970 t4 = J.get$hashCode$(_this.item4);
66971 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)));
66972 }
66973 };
66974 A.WatchEvent.prototype = {
66975 toString$0(_) {
66976 return this.type.toString$0(0) + " " + this.path;
66977 }
66978 };
66979 A.ChangeType.prototype = {
66980 toString$0(_) {
66981 return this._watch_event$_name;
66982 }
66983 };
66984 A.SupportsAnything0.prototype = {
66985 toString$0(_) {
66986 return "(" + this.contents.toString$0(0) + ")";
66987 },
66988 $isAstNode0: 1,
66989 get$span(receiver) {
66990 return this.span;
66991 }
66992 };
66993 A.Argument0.prototype = {
66994 toString$0(_) {
66995 var t1 = this.defaultValue,
66996 t2 = this.name;
66997 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
66998 },
66999 $isAstNode0: 1,
67000 get$span(receiver) {
67001 return this.span;
67002 }
67003 };
67004 A.ArgumentDeclaration0.prototype = {
67005 get$spanWithName() {
67006 var t3, t4,
67007 t1 = this.span,
67008 t2 = t1.file,
67009 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
67010 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
67011 while (true) {
67012 if (i > 0) {
67013 t3 = B.JSString_methods.codeUnitAt$1(text, i);
67014 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
67015 } else
67016 t3 = false;
67017 if (!t3)
67018 break;
67019 --i;
67020 }
67021 t3 = B.JSString_methods.codeUnitAt$1(text, i);
67022 if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
67023 return t1;
67024 --i;
67025 while (true) {
67026 if (i >= 0) {
67027 t3 = B.JSString_methods.codeUnitAt$1(text, i);
67028 if (t3 !== 95) {
67029 if (!(t3 >= 97 && t3 <= 122))
67030 t4 = t3 >= 65 && t3 <= 90;
67031 else
67032 t4 = true;
67033 t4 = t4 || t3 >= 128;
67034 } else
67035 t4 = true;
67036 if (!t4) {
67037 t4 = t3 >= 48 && t3 <= 57;
67038 t3 = t4 || t3 === 45;
67039 } else
67040 t3 = true;
67041 } else
67042 t3 = false;
67043 if (!t3)
67044 break;
67045 --i;
67046 }
67047 t3 = i + 1;
67048 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
67049 if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
67050 return t1;
67051 return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
67052 },
67053 verify$2(positional, names) {
67054 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
67055 _s10_ = "invocation",
67056 _s8_ = "argument";
67057 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
67058 argument = t1[i];
67059 if (i < positional) {
67060 t4 = argument.name;
67061 if (t3.containsKey$1(t4))
67062 throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p));
67063 } else {
67064 t4 = argument.name;
67065 if (t3.containsKey$1(t4))
67066 ++namedUsed;
67067 else if (argument.defaultValue == null)
67068 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)));
67069 }
67070 }
67071 if (_this.restArgument != null)
67072 return;
67073 if (positional > t2) {
67074 t1 = names.get$isEmpty(names) ? "" : "positional ";
67075 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)));
67076 }
67077 if (namedUsed < t3.get$length(t3)) {
67078 t2 = type$.String;
67079 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
67080 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
67081 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)));
67082 }
67083 },
67084 _argument_declaration$_originalArgumentName$1($name) {
67085 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
67086 if ($name === this.restArgument) {
67087 t1 = this.span;
67088 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
67089 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, "."));
67090 }
67091 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
67092 argument = t1[_i];
67093 if (argument.name === $name) {
67094 t1 = argument.defaultValue;
67095 t2 = argument.span;
67096 t3 = t2.file;
67097 t4 = t2._file$_start;
67098 t2 = t2._end;
67099 if (t1 == null) {
67100 t1 = t3._decodedChars;
67101 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
67102 } else {
67103 t1 = t3._decodedChars;
67104 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
67105 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
67106 end = A._lastNonWhitespace0(t1, false);
67107 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
67108 }
67109 return t1;
67110 }
67111 }
67112 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
67113 },
67114 matches$2(positional, names) {
67115 var t1, t2, t3, namedUsed, i, argument;
67116 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
67117 argument = t1[i];
67118 if (i < positional) {
67119 if (t3.containsKey$1(argument.name))
67120 return false;
67121 } else if (t3.containsKey$1(argument.name))
67122 ++namedUsed;
67123 else if (argument.defaultValue == null)
67124 return false;
67125 }
67126 if (this.restArgument != null)
67127 return true;
67128 if (positional > t2)
67129 return false;
67130 if (namedUsed < t3.get$length(t3))
67131 return false;
67132 return true;
67133 },
67134 toString$0(_) {
67135 var t2, t3, _i,
67136 t1 = A._setArrayType([], type$.JSArray_String);
67137 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
67138 t1.push("$" + A.S(t2[_i]));
67139 t2 = this.restArgument;
67140 if (t2 != null)
67141 t1.push("$" + t2 + "...");
67142 return B.JSArray_methods.join$1(t1, ", ");
67143 },
67144 $isAstNode0: 1,
67145 get$span(receiver) {
67146 return this.span;
67147 }
67148 };
67149 A.ArgumentDeclaration_verify_closure1.prototype = {
67150 call$1(argument) {
67151 return argument.name;
67152 },
67153 $signature: 294
67154 };
67155 A.ArgumentDeclaration_verify_closure2.prototype = {
67156 call$1($name) {
67157 return "$" + $name;
67158 },
67159 $signature: 5
67160 };
67161 A.ArgumentInvocation0.prototype = {
67162 get$isEmpty(_) {
67163 var t1;
67164 if (this.positional.length === 0) {
67165 t1 = this.named;
67166 t1 = t1.get$isEmpty(t1) && this.rest == null;
67167 } else
67168 t1 = false;
67169 return t1;
67170 },
67171 toString$0(_) {
67172 var t2, t3, t4, _this = this,
67173 t1 = A.List_List$of(_this.positional, true, type$.Object);
67174 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
67175 t4 = t3.get$current(t3);
67176 t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
67177 }
67178 t2 = _this.rest;
67179 if (t2 != null)
67180 t1.push(t2.toString$0(0) + "...");
67181 t2 = _this.keywordRest;
67182 if (t2 != null)
67183 t1.push(t2.toString$0(0) + "...");
67184 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
67185 },
67186 $isAstNode0: 1,
67187 get$span(receiver) {
67188 return this.span;
67189 }
67190 };
67191 A.argumentListClass_closure.prototype = {
67192 call$0() {
67193 var t1 = type$.JSClass,
67194 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
67195 A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
67196 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);
67197 return jsClass;
67198 },
67199 $signature: 23
67200 };
67201 A.argumentListClass__closure.prototype = {
67202 call$4($self, contents, keywords, separator) {
67203 var t3,
67204 t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
67205 t2 = type$.Value_2;
67206 t1 = J.cast$1$0$ax(t1, t2);
67207 t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
67208 return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
67209 },
67210 call$3($self, contents, keywords) {
67211 return this.call$4($self, contents, keywords, ",");
67212 },
67213 "call*": "call$4",
67214 $requiredArgCount: 3,
67215 $defaultValues() {
67216 return [","];
67217 },
67218 $signature: 296
67219 };
67220 A.argumentListClass__closure0.prototype = {
67221 call$1($self) {
67222 $self._argument_list$_wereKeywordsAccessed = true;
67223 return A.dartMapToImmutableMap($self._argument_list$_keywords);
67224 },
67225 $signature: 297
67226 };
67227 A.SassArgumentList0.prototype = {};
67228 A.JSArray1.prototype = {};
67229 A.AsyncImporter0.prototype = {};
67230 A.NodeToDartAsyncImporter.prototype = {
67231 canonicalize$1(_, url) {
67232 return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
67233 },
67234 canonicalize$body$NodeToDartAsyncImporter(_, url) {
67235 var $async$goto = 0,
67236 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
67237 $async$returnValue, $async$self = this, t1, result;
67238 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67239 if ($async$errorCode === 1)
67240 return A._asyncRethrow($async$result, $async$completer);
67241 while (true)
67242 switch ($async$goto) {
67243 case 0:
67244 // Function start
67245 result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
67246 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67247 break;
67248 case 3:
67249 // then
67250 $async$goto = 5;
67251 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
67252 case 5:
67253 // returning from await.
67254 result = $async$result;
67255 case 4:
67256 // join
67257 if (result == null) {
67258 $async$returnValue = null;
67259 // goto return
67260 $async$goto = 1;
67261 break;
67262 }
67263 t1 = self.URL;
67264 if (result instanceof t1) {
67265 $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
67266 // goto return
67267 $async$goto = 1;
67268 break;
67269 }
67270 A.jsThrow(new self.Error(string$.The_ca));
67271 case 1:
67272 // return
67273 return A._asyncReturn($async$returnValue, $async$completer);
67274 }
67275 });
67276 return A._asyncStartSync($async$canonicalize$1, $async$completer);
67277 },
67278 load$1(_, url) {
67279 return this.load$body$NodeToDartAsyncImporter(0, url);
67280 },
67281 load$body$NodeToDartAsyncImporter(_, url) {
67282 var $async$goto = 0,
67283 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
67284 $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
67285 var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67286 if ($async$errorCode === 1)
67287 return A._asyncRethrow($async$result, $async$completer);
67288 while (true)
67289 switch ($async$goto) {
67290 case 0:
67291 // Function start
67292 result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
67293 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67294 break;
67295 case 3:
67296 // then
67297 $async$goto = 5;
67298 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
67299 case 5:
67300 // returning from await.
67301 result = $async$result;
67302 case 4:
67303 // join
67304 if (result == null) {
67305 $async$returnValue = null;
67306 // goto return
67307 $async$goto = 1;
67308 break;
67309 }
67310 type$.NodeImporterResult._as(result);
67311 t1 = J.getInterceptor$x(result);
67312 contents = t1.get$contents(result);
67313 syntax = t1.get$syntax(result);
67314 if (contents == null || syntax == null)
67315 A.jsThrow(new self.Error(string$.The_lo));
67316 t2 = A.parseSyntax(syntax);
67317 $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
67318 // goto return
67319 $async$goto = 1;
67320 break;
67321 case 1:
67322 // return
67323 return A._asyncReturn($async$returnValue, $async$completer);
67324 }
67325 });
67326 return A._asyncStartSync($async$load$1, $async$completer);
67327 }
67328 };
67329 A.AsyncBuiltInCallable0.prototype = {
67330 callbackFor$2(positional, names) {
67331 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);
67332 },
67333 $isAsyncCallable0: 1,
67334 get$name(receiver) {
67335 return this.name;
67336 }
67337 };
67338 A.AsyncBuiltInCallable$mixin_closure0.prototype = {
67339 call$1($arguments) {
67340 return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
67341 },
67342 $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
67343 var $async$goto = 0,
67344 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
67345 $async$returnValue, $async$self = this;
67346 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67347 if ($async$errorCode === 1)
67348 return A._asyncRethrow($async$result, $async$completer);
67349 while (true)
67350 switch ($async$goto) {
67351 case 0:
67352 // Function start
67353 $async$goto = 3;
67354 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
67355 case 3:
67356 // returning from await.
67357 $async$returnValue = B.C__SassNull0;
67358 // goto return
67359 $async$goto = 1;
67360 break;
67361 case 1:
67362 // return
67363 return A._asyncReturn($async$returnValue, $async$completer);
67364 }
67365 });
67366 return A._asyncStartSync($async$call$1, $async$completer);
67367 },
67368 $signature: 99
67369 };
67370 A._compileStylesheet_closure2.prototype = {
67371 call$1(url) {
67372 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);
67373 },
67374 $signature: 5
67375 };
67376 A.AsyncEnvironment0.prototype = {
67377 closure$0() {
67378 var t4, t5, t6, _this = this,
67379 t1 = _this._async_environment0$_forwardedModules,
67380 t2 = _this._async_environment0$_nestedForwardedModules,
67381 t3 = _this._async_environment0$_variables;
67382 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
67383 t4 = _this._async_environment0$_variableNodes;
67384 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
67385 t5 = _this._async_environment0$_functions;
67386 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
67387 t6 = _this._async_environment0$_mixins;
67388 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
67389 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);
67390 },
67391 addModule$3$namespace(module, nodeWithSpan, namespace) {
67392 var t1, t2, span, _this = this;
67393 if (namespace == null) {
67394 _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
67395 _this._async_environment0$_allModules.push(module);
67396 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
67397 t2 = t1.get$current(t1);
67398 if (module.get$variables().containsKey$1(t2))
67399 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
67400 }
67401 } else {
67402 t1 = _this._async_environment0$_modules;
67403 if (t1.containsKey$1(namespace)) {
67404 t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
67405 span = t1 == null ? null : t1.span;
67406 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67407 if (span != null)
67408 t1.$indexSet(0, span, "original @use");
67409 throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
67410 }
67411 t1.$indexSet(0, namespace, module);
67412 _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
67413 _this._async_environment0$_allModules.push(module);
67414 }
67415 },
67416 forwardModule$2(module, rule) {
67417 var view, t1, t2, _this = this,
67418 forwardedModules = _this._async_environment0$_forwardedModules;
67419 if (forwardedModules == null)
67420 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67421 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
67422 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
67423 t2 = t1.__js_helper$_current;
67424 _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
67425 _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
67426 _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
67427 }
67428 _this._async_environment0$_allModules.push(module);
67429 forwardedModules.$indexSet(0, view, rule);
67430 },
67431 _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
67432 var larger, smaller, t1, t2, $name, span;
67433 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
67434 larger = oldMembers;
67435 smaller = newMembers;
67436 } else {
67437 larger = newMembers;
67438 smaller = oldMembers;
67439 }
67440 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
67441 $name = t1.get$current(t1);
67442 if (!larger.containsKey$1($name))
67443 continue;
67444 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
67445 continue;
67446 if (t2)
67447 $name = "$" + $name;
67448 t1 = this._async_environment0$_forwardedModules;
67449 if (t1 == null)
67450 span = null;
67451 else {
67452 t1 = t1.$index(0, oldModule);
67453 span = t1 == null ? null : J.get$span$z(t1);
67454 }
67455 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67456 if (span != null)
67457 t1.$indexSet(0, span, "original @forward");
67458 throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
67459 }
67460 },
67461 importForwards$1(module) {
67462 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
67463 forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
67464 if (forwarded == null)
67465 return;
67466 forwardedModules = _this._async_environment0$_forwardedModules;
67467 if (forwardedModules != null) {
67468 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67469 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
67470 t4 = t2.get$current(t2);
67471 t5 = t4.key;
67472 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
67473 t1.$indexSet(0, t5, t4.value);
67474 }
67475 forwarded = t1;
67476 } else
67477 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67478 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
67479 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
67480 t3 = t2._eval$1("Iterable.E");
67481 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure2(), t2), t3);
67482 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure3(), t2), t3);
67483 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure4(), t2), t3);
67484 t2 = _this._async_environment0$_variables;
67485 t3 = t2.length;
67486 if (t3 === 1) {
67487 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) {
67488 entry = t3[_i];
67489 module = entry.key;
67490 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67491 if (shadowed != null) {
67492 t1.remove$1(0, module);
67493 t6 = shadowed.variables;
67494 if (t6.get$isEmpty(t6)) {
67495 t6 = shadowed.functions;
67496 if (t6.get$isEmpty(t6)) {
67497 t6 = shadowed.mixins;
67498 if (t6.get$isEmpty(t6)) {
67499 t6 = shadowed._shadowed_view0$_inner;
67500 t6 = t6.get$css(t6);
67501 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67502 } else
67503 t6 = false;
67504 } else
67505 t6 = false;
67506 } else
67507 t6 = false;
67508 if (!t6)
67509 t1.$indexSet(0, shadowed, entry.value);
67510 }
67511 }
67512 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) {
67513 entry = t3[_i];
67514 module = entry.key;
67515 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67516 if (shadowed != null) {
67517 forwardedModules.remove$1(0, module);
67518 t6 = shadowed.variables;
67519 if (t6.get$isEmpty(t6)) {
67520 t6 = shadowed.functions;
67521 if (t6.get$isEmpty(t6)) {
67522 t6 = shadowed.mixins;
67523 if (t6.get$isEmpty(t6)) {
67524 t6 = shadowed._shadowed_view0$_inner;
67525 t6 = t6.get$css(t6);
67526 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67527 } else
67528 t6 = false;
67529 } else
67530 t6 = false;
67531 } else
67532 t6 = false;
67533 if (!t6)
67534 forwardedModules.$indexSet(0, shadowed, entry.value);
67535 }
67536 }
67537 t1.addAll$1(0, forwarded);
67538 forwardedModules.addAll$1(0, forwarded);
67539 } else {
67540 t4 = _this._async_environment0$_nestedForwardedModules;
67541 if (t4 == null) {
67542 _length = t3 - 1;
67543 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
67544 for (t3 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
67545 _list[_i] = A._setArrayType([], t3);
67546 _this._async_environment0$_nestedForwardedModules = _list;
67547 t3 = _list;
67548 } else
67549 t3 = t4;
67550 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
67551 }
67552 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();) {
67553 t6 = t1._collection$_current;
67554 if (t6 == null)
67555 t6 = t5._as(t6);
67556 t3.remove$1(0, t6);
67557 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
67558 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
67559 }
67560 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();) {
67561 t5 = t1._collection$_current;
67562 if (t5 == null)
67563 t5 = t4._as(t5);
67564 t2.remove$1(0, t5);
67565 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
67566 }
67567 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();) {
67568 t5 = t1._collection$_current;
67569 if (t5 == null)
67570 t5 = t4._as(t5);
67571 t2.remove$1(0, t5);
67572 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
67573 }
67574 },
67575 getVariable$2$namespace($name, namespace) {
67576 var t1, index, _this = this;
67577 if (namespace != null)
67578 return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
67579 if (_this._async_environment0$_lastVariableName === $name) {
67580 t1 = _this._async_environment0$_lastVariableIndex;
67581 t1.toString;
67582 t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
67583 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67584 }
67585 t1 = _this._async_environment0$_variableIndices;
67586 index = t1.$index(0, $name);
67587 if (index != null) {
67588 _this._async_environment0$_lastVariableName = $name;
67589 _this._async_environment0$_lastVariableIndex = index;
67590 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67591 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67592 }
67593 index = _this._async_environment0$_variableIndex$1($name);
67594 if (index == null)
67595 return _this._async_environment0$_getVariableFromGlobalModule$1($name);
67596 _this._async_environment0$_lastVariableName = $name;
67597 _this._async_environment0$_lastVariableIndex = index;
67598 t1.$indexSet(0, $name, index);
67599 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67600 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67601 },
67602 getVariable$1($name) {
67603 return this.getVariable$2$namespace($name, null);
67604 },
67605 _async_environment0$_getVariableFromGlobalModule$1($name) {
67606 return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
67607 },
67608 getVariableNode$2$namespace($name, namespace) {
67609 var t1, index, _this = this;
67610 if (namespace != null)
67611 return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
67612 if (_this._async_environment0$_lastVariableName === $name) {
67613 t1 = _this._async_environment0$_lastVariableIndex;
67614 t1.toString;
67615 t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
67616 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67617 }
67618 t1 = _this._async_environment0$_variableIndices;
67619 index = t1.$index(0, $name);
67620 if (index != null) {
67621 _this._async_environment0$_lastVariableName = $name;
67622 _this._async_environment0$_lastVariableIndex = index;
67623 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67624 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67625 }
67626 index = _this._async_environment0$_variableIndex$1($name);
67627 if (index == null)
67628 return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
67629 _this._async_environment0$_lastVariableName = $name;
67630 _this._async_environment0$_lastVariableIndex = index;
67631 t1.$indexSet(0, $name, index);
67632 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67633 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67634 },
67635 _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
67636 var t1, t2, value;
67637 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();) {
67638 t1 = t2._currentIterator;
67639 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
67640 if (value != null)
67641 return value;
67642 }
67643 return null;
67644 },
67645 globalVariableExists$2$namespace($name, namespace) {
67646 if (namespace != null)
67647 return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
67648 if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
67649 return true;
67650 return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
67651 },
67652 globalVariableExists$1($name) {
67653 return this.globalVariableExists$2$namespace($name, null);
67654 },
67655 _async_environment0$_variableIndex$1($name) {
67656 var t1, i;
67657 for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
67658 if (t1[i].containsKey$1($name))
67659 return i;
67660 return null;
67661 },
67662 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
67663 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
67664 if (namespace != null) {
67665 _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
67666 return;
67667 }
67668 if (global || _this._async_environment0$_variables.length === 1) {
67669 _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
67670 t1 = _this._async_environment0$_variables;
67671 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
67672 moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
67673 if (moduleWithName != null) {
67674 moduleWithName.setVariable$3($name, value, nodeWithSpan);
67675 return;
67676 }
67677 }
67678 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
67679 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
67680 return;
67681 }
67682 nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
67683 if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
67684 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();) {
67685 t3 = t1.__internal$_current;
67686 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();) {
67687 t5 = t3.__internal$_current;
67688 if (t5 == null)
67689 t5 = t4._as(t5);
67690 if (t5.get$variables().containsKey$1($name)) {
67691 t5.setVariable$3($name, value, nodeWithSpan);
67692 return;
67693 }
67694 }
67695 }
67696 if (_this._async_environment0$_lastVariableName === $name) {
67697 t1 = _this._async_environment0$_lastVariableIndex;
67698 t1.toString;
67699 index = t1;
67700 } else
67701 index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
67702 if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
67703 index = _this._async_environment0$_variables.length - 1;
67704 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67705 }
67706 _this._async_environment0$_lastVariableName = $name;
67707 _this._async_environment0$_lastVariableIndex = index;
67708 J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
67709 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67710 },
67711 setVariable$4$global($name, value, nodeWithSpan, global) {
67712 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
67713 },
67714 setLocalVariable$3($name, value, nodeWithSpan) {
67715 var index, _this = this,
67716 t1 = _this._async_environment0$_variables,
67717 t2 = t1.length;
67718 _this._async_environment0$_lastVariableName = $name;
67719 index = _this._async_environment0$_lastVariableIndex = t2 - 1;
67720 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67721 J.$indexSet$ax(t1[index], $name, value);
67722 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67723 },
67724 getFunction$2$namespace($name, namespace) {
67725 var t1, index, _this = this;
67726 if (namespace != null) {
67727 t1 = _this._async_environment0$_getModule$1(namespace);
67728 return t1.get$functions(t1).$index(0, $name);
67729 }
67730 t1 = _this._async_environment0$_functionIndices;
67731 index = t1.$index(0, $name);
67732 if (index != null) {
67733 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67734 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67735 }
67736 index = _this._async_environment0$_functionIndex$1($name);
67737 if (index == null)
67738 return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
67739 t1.$indexSet(0, $name, index);
67740 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67741 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67742 },
67743 _async_environment0$_getFunctionFromGlobalModule$1($name) {
67744 return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67745 },
67746 _async_environment0$_functionIndex$1($name) {
67747 var t1, i;
67748 for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
67749 if (t1[i].containsKey$1($name))
67750 return i;
67751 return null;
67752 },
67753 getMixin$2$namespace($name, namespace) {
67754 var t1, index, _this = this;
67755 if (namespace != null)
67756 return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
67757 t1 = _this._async_environment0$_mixinIndices;
67758 index = t1.$index(0, $name);
67759 if (index != null) {
67760 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67761 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67762 }
67763 index = _this._async_environment0$_mixinIndex$1($name);
67764 if (index == null)
67765 return _this._async_environment0$_getMixinFromGlobalModule$1($name);
67766 t1.$indexSet(0, $name, index);
67767 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67768 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67769 },
67770 _async_environment0$_getMixinFromGlobalModule$1($name) {
67771 return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67772 },
67773 _async_environment0$_mixinIndex$1($name) {
67774 var t1, i;
67775 for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
67776 if (t1[i].containsKey$1($name))
67777 return i;
67778 return null;
67779 },
67780 withContent$2($content, callback) {
67781 return this.withContent$body$AsyncEnvironment0($content, callback);
67782 },
67783 withContent$body$AsyncEnvironment0($content, callback) {
67784 var $async$goto = 0,
67785 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67786 $async$self = this, oldContent;
67787 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67788 if ($async$errorCode === 1)
67789 return A._asyncRethrow($async$result, $async$completer);
67790 while (true)
67791 switch ($async$goto) {
67792 case 0:
67793 // Function start
67794 oldContent = $async$self._async_environment0$_content;
67795 $async$self._async_environment0$_content = $content;
67796 $async$goto = 2;
67797 return A._asyncAwait(callback.call$0(), $async$withContent$2);
67798 case 2:
67799 // returning from await.
67800 $async$self._async_environment0$_content = oldContent;
67801 // implicit return
67802 return A._asyncReturn(null, $async$completer);
67803 }
67804 });
67805 return A._asyncStartSync($async$withContent$2, $async$completer);
67806 },
67807 asMixin$1(callback) {
67808 var $async$goto = 0,
67809 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67810 $async$self = this, oldInMixin;
67811 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67812 if ($async$errorCode === 1)
67813 return A._asyncRethrow($async$result, $async$completer);
67814 while (true)
67815 switch ($async$goto) {
67816 case 0:
67817 // Function start
67818 oldInMixin = $async$self._async_environment0$_inMixin;
67819 $async$self._async_environment0$_inMixin = true;
67820 $async$goto = 2;
67821 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
67822 case 2:
67823 // returning from await.
67824 $async$self._async_environment0$_inMixin = oldInMixin;
67825 // implicit return
67826 return A._asyncReturn(null, $async$completer);
67827 }
67828 });
67829 return A._asyncStartSync($async$asMixin$1, $async$completer);
67830 },
67831 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
67832 return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
67833 },
67834 scope$1$1(callback, $T) {
67835 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
67836 },
67837 scope$1$2$when(callback, when, $T) {
67838 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
67839 },
67840 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
67841 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
67842 },
67843 scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
67844 var $async$goto = 0,
67845 $async$completer = A._makeAsyncAwaitCompleter($async$type),
67846 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
67847 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67848 if ($async$errorCode === 1) {
67849 $async$currentError = $async$result;
67850 $async$goto = $async$handler;
67851 }
67852 while (true)
67853 switch ($async$goto) {
67854 case 0:
67855 // Function start
67856 semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
67857 wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
67858 $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
67859 $async$goto = !when ? 3 : 4;
67860 break;
67861 case 3:
67862 // then
67863 $async$handler = 5;
67864 $async$goto = 8;
67865 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67866 case 8:
67867 // returning from await.
67868 t1 = $async$result;
67869 $async$returnValue = t1;
67870 $async$next = [1];
67871 // goto finally
67872 $async$goto = 6;
67873 break;
67874 $async$next.push(7);
67875 // goto finally
67876 $async$goto = 6;
67877 break;
67878 case 5:
67879 // uncaught
67880 $async$next = [2];
67881 case 6:
67882 // finally
67883 $async$handler = 2;
67884 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67885 // goto the next finally handler
67886 $async$goto = $async$next.pop();
67887 break;
67888 case 7:
67889 // after finally
67890 case 4:
67891 // join
67892 t1 = $async$self._async_environment0$_variables;
67893 t2 = type$.String;
67894 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
67895 t3 = $async$self._async_environment0$_variableNodes;
67896 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
67897 t4 = $async$self._async_environment0$_functions;
67898 t5 = type$.AsyncCallable_2;
67899 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
67900 t6 = $async$self._async_environment0$_mixins;
67901 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
67902 t5 = $async$self._async_environment0$_nestedForwardedModules;
67903 if (t5 != null)
67904 t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
67905 $async$handler = 9;
67906 $async$goto = 12;
67907 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67908 case 12:
67909 // returning from await.
67910 t2 = $async$result;
67911 $async$returnValue = t2;
67912 $async$next = [1];
67913 // goto finally
67914 $async$goto = 10;
67915 break;
67916 $async$next.push(11);
67917 // goto finally
67918 $async$goto = 10;
67919 break;
67920 case 9:
67921 // uncaught
67922 $async$next = [2];
67923 case 10:
67924 // finally
67925 $async$handler = 2;
67926 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67927 $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
67928 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();) {
67929 $name = t1.get$current(t1);
67930 t2.remove$1(0, $name);
67931 }
67932 B.JSArray_methods.removeLast$0(t3);
67933 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();) {
67934 name0 = t1.get$current(t1);
67935 t2.remove$1(0, name0);
67936 }
67937 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();) {
67938 name1 = t1.get$current(t1);
67939 t2.remove$1(0, name1);
67940 }
67941 t1 = $async$self._async_environment0$_nestedForwardedModules;
67942 if (t1 != null)
67943 t1.pop();
67944 // goto the next finally handler
67945 $async$goto = $async$next.pop();
67946 break;
67947 case 11:
67948 // after finally
67949 case 1:
67950 // return
67951 return A._asyncReturn($async$returnValue, $async$completer);
67952 case 2:
67953 // rethrow
67954 return A._asyncRethrow($async$currentError, $async$completer);
67955 }
67956 });
67957 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
67958 },
67959 toImplicitConfiguration$0() {
67960 var t1, t2, i, values, nodes, t3, t4, t5, t6,
67961 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
67962 for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
67963 values = t1[i];
67964 nodes = t2[i];
67965 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
67966 t4 = t3.get$current(t3);
67967 t5 = t4.key;
67968 t4 = t4.value;
67969 t6 = nodes.$index(0, t5);
67970 t6.toString;
67971 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
67972 }
67973 }
67974 return new A.Configuration0(configuration);
67975 },
67976 toModule$2(css, extensionStore) {
67977 return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
67978 },
67979 toDummyModule$0() {
67980 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()));
67981 },
67982 _async_environment0$_getModule$1(namespace) {
67983 var module = this._async_environment0$_modules.$index(0, namespace);
67984 if (module != null)
67985 return module;
67986 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
67987 },
67988 _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
67989 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
67990 nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
67991 if (nestedForwardedModules != null)
67992 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();) {
67993 t3 = t1.__internal$_current;
67994 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();) {
67995 t5 = t3.__internal$_current;
67996 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
67997 if (value != null)
67998 return value;
67999 }
68000 }
68001 for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
68002 value = callback.call$1(t1.__js_helper$_current);
68003 if (value != null)
68004 return value;
68005 }
68006 for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
68007 t4 = t2.__js_helper$_current;
68008 valueInModule = callback.call$1(t4);
68009 if (valueInModule == null)
68010 continue;
68011 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
68012 if (identityFromModule.$eq(0, identity))
68013 continue;
68014 if (value != null) {
68015 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
68016 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
68017 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
68018 t4 = t1.get$current(t1);
68019 if (t4 != null)
68020 t2.$indexSet(0, t4, t3);
68021 }
68022 throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
68023 }
68024 identity = identityFromModule;
68025 value = valueInModule;
68026 }
68027 return value;
68028 }
68029 };
68030 A.AsyncEnvironment_importForwards_closure2.prototype = {
68031 call$1(module) {
68032 var t1 = module.get$variables();
68033 return t1.get$keys(t1);
68034 },
68035 $signature: 125
68036 };
68037 A.AsyncEnvironment_importForwards_closure3.prototype = {
68038 call$1(module) {
68039 var t1 = module.get$functions(module);
68040 return t1.get$keys(t1);
68041 },
68042 $signature: 125
68043 };
68044 A.AsyncEnvironment_importForwards_closure4.prototype = {
68045 call$1(module) {
68046 var t1 = module.get$mixins();
68047 return t1.get$keys(t1);
68048 },
68049 $signature: 125
68050 };
68051 A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
68052 call$1(module) {
68053 return module.get$variables().$index(0, this.name);
68054 },
68055 $signature: 300
68056 };
68057 A.AsyncEnvironment_setVariable_closure2.prototype = {
68058 call$0() {
68059 var t1 = this.$this;
68060 t1._async_environment0$_lastVariableName = this.name;
68061 return t1._async_environment0$_lastVariableIndex = 0;
68062 },
68063 $signature: 12
68064 };
68065 A.AsyncEnvironment_setVariable_closure3.prototype = {
68066 call$1(module) {
68067 return module.get$variables().containsKey$1(this.name) ? module : null;
68068 },
68069 $signature: 301
68070 };
68071 A.AsyncEnvironment_setVariable_closure4.prototype = {
68072 call$0() {
68073 var t1 = this.$this,
68074 t2 = t1._async_environment0$_variableIndex$1(this.name);
68075 return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
68076 },
68077 $signature: 12
68078 };
68079 A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
68080 call$1(module) {
68081 return module.get$functions(module).$index(0, this.name);
68082 },
68083 $signature: 155
68084 };
68085 A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
68086 call$1(module) {
68087 return module.get$mixins().$index(0, this.name);
68088 },
68089 $signature: 155
68090 };
68091 A.AsyncEnvironment_toModule_closure0.prototype = {
68092 call$1(modules) {
68093 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
68094 },
68095 $signature: 156
68096 };
68097 A.AsyncEnvironment_toDummyModule_closure0.prototype = {
68098 call$1(modules) {
68099 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
68100 },
68101 $signature: 156
68102 };
68103 A.AsyncEnvironment__fromOneModule_closure0.prototype = {
68104 call$1(entry) {
68105 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
68106 },
68107 $signature: 304
68108 };
68109 A.AsyncEnvironment__fromOneModule__closure0.prototype = {
68110 call$1(_) {
68111 return J.get$span$z(this.entry.value);
68112 },
68113 $signature() {
68114 return this.T._eval$1("FileSpan(0)");
68115 }
68116 };
68117 A._EnvironmentModule2.prototype = {
68118 get$url(_) {
68119 var t1 = this.css;
68120 return t1.get$span(t1).file.url;
68121 },
68122 setVariable$3($name, value, nodeWithSpan) {
68123 var t1, t2,
68124 module = this._async_environment0$_modulesByVariable.$index(0, $name);
68125 if (module != null) {
68126 module.setVariable$3($name, value, nodeWithSpan);
68127 return;
68128 }
68129 t1 = this._async_environment0$_environment;
68130 t2 = t1._async_environment0$_variables;
68131 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
68132 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
68133 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
68134 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
68135 return;
68136 },
68137 variableIdentity$1($name) {
68138 var module = this._async_environment0$_modulesByVariable.$index(0, $name);
68139 return module == null ? this : module.variableIdentity$1($name);
68140 },
68141 cloneCss$0() {
68142 var newCssAndExtensionStore, _this = this,
68143 t1 = _this.css;
68144 if (J.get$isEmpty$asx(t1.get$children(t1)))
68145 return _this;
68146 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
68147 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);
68148 },
68149 toString$0(_) {
68150 var t1 = this.css;
68151 if (t1.get$span(t1).file.url == null)
68152 t1 = "<unknown url>";
68153 else {
68154 t1 = t1.get$span(t1);
68155 t1 = $.$get$context().prettyUri$1(t1.file.url);
68156 }
68157 return t1;
68158 },
68159 $isModule0: 1,
68160 get$upstream() {
68161 return this.upstream;
68162 },
68163 get$variables() {
68164 return this.variables;
68165 },
68166 get$variableNodes() {
68167 return this.variableNodes;
68168 },
68169 get$functions(receiver) {
68170 return this.functions;
68171 },
68172 get$mixins() {
68173 return this.mixins;
68174 },
68175 get$extensionStore() {
68176 return this.extensionStore;
68177 },
68178 get$css(receiver) {
68179 return this.css;
68180 },
68181 get$transitivelyContainsCss() {
68182 return this.transitivelyContainsCss;
68183 },
68184 get$transitivelyContainsExtensions() {
68185 return this.transitivelyContainsExtensions;
68186 }
68187 };
68188 A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
68189 call$1(module) {
68190 return module.get$variables();
68191 },
68192 $signature: 305
68193 };
68194 A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
68195 call$1(module) {
68196 return module.get$variableNodes();
68197 },
68198 $signature: 306
68199 };
68200 A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
68201 call$1(module) {
68202 return module.get$functions(module);
68203 },
68204 $signature: 157
68205 };
68206 A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
68207 call$1(module) {
68208 return module.get$mixins();
68209 },
68210 $signature: 157
68211 };
68212 A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
68213 call$1(module) {
68214 return module.get$transitivelyContainsCss();
68215 },
68216 $signature: 123
68217 };
68218 A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
68219 call$1(module) {
68220 return module.get$transitivelyContainsExtensions();
68221 },
68222 $signature: 123
68223 };
68224 A._EvaluateVisitor2.prototype = {
68225 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
68226 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
68227 _s20_ = "$name, $module: null",
68228 _s9_ = "sass:meta",
68229 t1 = type$.JSArray_AsyncBuiltInCallable_2,
68230 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),
68231 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
68232 t1 = type$.AsyncBuiltInCallable_2;
68233 t2 = A.List_List$of($.$get$global6(), true, t1);
68234 B.JSArray_methods.addAll$1(t2, $.$get$local0());
68235 B.JSArray_methods.addAll$1(t2, metaFunctions);
68236 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
68237 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) {
68238 module = t1[_i];
68239 t3.$indexSet(0, module.url, module);
68240 }
68241 t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
68242 B.JSArray_methods.addAll$1(t1, functions);
68243 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
68244 B.JSArray_methods.addAll$1(t1, metaFunctions);
68245 for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
68246 $function = t1[_i];
68247 t4 = J.get$name$x($function);
68248 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
68249 }
68250 },
68251 run$2(_, importer, node) {
68252 return this.run$body$_EvaluateVisitor0(0, importer, node);
68253 },
68254 run$body$_EvaluateVisitor0(_, importer, node) {
68255 var $async$goto = 0,
68256 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
68257 $async$returnValue, $async$self = this, t1;
68258 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68259 if ($async$errorCode === 1)
68260 return A._asyncRethrow($async$result, $async$completer);
68261 while (true)
68262 switch ($async$goto) {
68263 case 0:
68264 // Function start
68265 t1 = type$.nullable_Object;
68266 $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);
68267 // goto return
68268 $async$goto = 1;
68269 break;
68270 case 1:
68271 // return
68272 return A._asyncReturn($async$returnValue, $async$completer);
68273 }
68274 });
68275 return A._asyncStartSync($async$run$2, $async$completer);
68276 },
68277 _async_evaluate0$_assertInModule$1$2(value, $name) {
68278 if (value != null)
68279 return value;
68280 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
68281 },
68282 _async_evaluate0$_assertInModule$2(value, $name) {
68283 return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
68284 },
68285 _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68286 return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
68287 },
68288 _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
68289 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
68290 },
68291 _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
68292 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
68293 },
68294 _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68295 var $async$goto = 0,
68296 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
68297 $async$returnValue, $async$self = this, t1, t2, builtInModule;
68298 var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68299 if ($async$errorCode === 1)
68300 return A._asyncRethrow($async$result, $async$completer);
68301 while (true)
68302 switch ($async$goto) {
68303 case 0:
68304 // Function start
68305 builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
68306 $async$goto = builtInModule != null ? 3 : 4;
68307 break;
68308 case 3:
68309 // then
68310 if (configuration instanceof A.ExplicitConfiguration0) {
68311 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
68312 t2 = configuration.nodeWithSpan;
68313 throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
68314 }
68315 $async$goto = 5;
68316 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);
68317 case 5:
68318 // returning from await.
68319 // goto return
68320 $async$goto = 1;
68321 break;
68322 case 4:
68323 // join
68324 $async$goto = 6;
68325 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);
68326 case 6:
68327 // returning from await.
68328 case 1:
68329 // return
68330 return A._asyncReturn($async$returnValue, $async$completer);
68331 }
68332 });
68333 return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
68334 },
68335 _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68336 return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
68337 },
68338 _async_evaluate0$_execute$2(importer, stylesheet) {
68339 return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
68340 },
68341 _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68342 var $async$goto = 0,
68343 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
68344 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
68345 var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68346 if ($async$errorCode === 1)
68347 return A._asyncRethrow($async$result, $async$completer);
68348 while (true)
68349 switch ($async$goto) {
68350 case 0:
68351 // Function start
68352 url = stylesheet.span.file.url;
68353 t1 = $async$self._async_evaluate0$_modules;
68354 alreadyLoaded = t1.$index(0, url);
68355 if (alreadyLoaded != null) {
68356 t1 = configuration == null;
68357 currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
68358 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
68359 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
68360 t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
68361 existingSpan = t2 == null ? null : J.get$span$z(t2);
68362 if (t1) {
68363 t1 = currentConfiguration.nodeWithSpan;
68364 configurationSpan = t1.get$span(t1);
68365 } else
68366 configurationSpan = null;
68367 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
68368 if (existingSpan != null)
68369 t1.$indexSet(0, existingSpan, "original load");
68370 if (configurationSpan != null)
68371 t1.$indexSet(0, configurationSpan, "configuration");
68372 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
68373 }
68374 $async$returnValue = alreadyLoaded;
68375 // goto return
68376 $async$goto = 1;
68377 break;
68378 }
68379 environment = A.AsyncEnvironment$0();
68380 css = A._Cell$();
68381 extensionStore = A.ExtensionStore$0();
68382 $async$goto = 3;
68383 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);
68384 case 3:
68385 // returning from await.
68386 module = environment.toModule$2(css._readLocal$0(), extensionStore);
68387 if (url != null) {
68388 t1.$indexSet(0, url, module);
68389 if (nodeWithSpan != null)
68390 $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
68391 }
68392 $async$returnValue = module;
68393 // goto return
68394 $async$goto = 1;
68395 break;
68396 case 1:
68397 // return
68398 return A._asyncReturn($async$returnValue, $async$completer);
68399 }
68400 });
68401 return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
68402 },
68403 _async_evaluate0$_addOutOfOrderImports$0() {
68404 var t1, t2, _this = this, _s5_ = "_root",
68405 _s13_ = "_endOfImports",
68406 outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
68407 if (outOfOrderImports == null)
68408 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68409 t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68410 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);
68411 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
68412 t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68413 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")));
68414 return t1;
68415 },
68416 _async_evaluate0$_combineCss$2$clone(root, clone) {
68417 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
68418 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
68419 selectors = root.get$extensionStore().get$simpleSelectors();
68420 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
68421 if (unsatisfiedExtension != null)
68422 _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
68423 return root.get$css(root);
68424 }
68425 sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
68426 if (clone) {
68427 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
68428 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
68429 }
68430 _this._async_evaluate0$_extendModules$1(sortedModules);
68431 t1 = type$.JSArray_CssNode_2;
68432 imports = A._setArrayType([], t1);
68433 css = A._setArrayType([], t1);
68434 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
68435 t3 = t1.__internal$_current;
68436 if (t3 == null)
68437 t3 = t2._as(t3);
68438 t3 = t3.get$css(t3);
68439 statements = t3.get$children(t3);
68440 index = _this._async_evaluate0$_indexAfterImports$1(statements);
68441 t3 = J.getInterceptor$ax(statements);
68442 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
68443 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
68444 }
68445 t1 = B.JSArray_methods.$add(imports, css);
68446 t2 = root.get$css(root);
68447 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
68448 },
68449 _async_evaluate0$_combineCss$1(root) {
68450 return this._async_evaluate0$_combineCss$2$clone(root, false);
68451 },
68452 _async_evaluate0$_extendModules$1(sortedModules) {
68453 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
68454 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
68455 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
68456 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
68457 t2 = t1.get$current(t1);
68458 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
68459 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
68460 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
68461 t3 = t2.get$extensionStore().get$addExtensions();
68462 if ($self != null)
68463 t3.call$1($self);
68464 t3 = t2.get$extensionStore();
68465 if (t3.get$isEmpty(t3))
68466 continue;
68467 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
68468 upstream = t3[_i];
68469 url = upstream.get$url(upstream);
68470 if (url == null)
68471 continue;
68472 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
68473 }
68474 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
68475 }
68476 if (unsatisfiedExtensions._collection$_length !== 0)
68477 this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
68478 },
68479 _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
68480 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
68481 },
68482 _async_evaluate0$_topologicalModules$1(root) {
68483 var t1 = type$.Module_AsyncCallable_2,
68484 sorted = A.QueueList$(null, t1);
68485 new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
68486 return sorted;
68487 },
68488 _async_evaluate0$_indexAfterImports$1(statements) {
68489 var t1, t2, t3, lastImport, i, statement;
68490 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
68491 statement = t1.$index(statements, i);
68492 if (t3._is(statement))
68493 lastImport = i;
68494 else if (!t2._is(statement))
68495 break;
68496 }
68497 return lastImport + 1;
68498 },
68499 visitStylesheet$1(node) {
68500 return this.visitStylesheet$body$_EvaluateVisitor0(node);
68501 },
68502 visitStylesheet$body$_EvaluateVisitor0(node) {
68503 var $async$goto = 0,
68504 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68505 $async$returnValue, $async$self = this, t1, t2, _i;
68506 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68507 if ($async$errorCode === 1)
68508 return A._asyncRethrow($async$result, $async$completer);
68509 while (true)
68510 switch ($async$goto) {
68511 case 0:
68512 // Function start
68513 t1 = node.children, t2 = t1.length, _i = 0;
68514 case 3:
68515 // for condition
68516 if (!(_i < t2)) {
68517 // goto after for
68518 $async$goto = 5;
68519 break;
68520 }
68521 $async$goto = 6;
68522 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
68523 case 6:
68524 // returning from await.
68525 case 4:
68526 // for update
68527 ++_i;
68528 // goto for condition
68529 $async$goto = 3;
68530 break;
68531 case 5:
68532 // after for
68533 $async$returnValue = null;
68534 // goto return
68535 $async$goto = 1;
68536 break;
68537 case 1:
68538 // return
68539 return A._asyncReturn($async$returnValue, $async$completer);
68540 }
68541 });
68542 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
68543 },
68544 visitAtRootRule$1(node) {
68545 return this.visitAtRootRule$body$_EvaluateVisitor0(node);
68546 },
68547 visitAtRootRule$body$_EvaluateVisitor0(node) {
68548 var $async$goto = 0,
68549 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68550 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
68551 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68552 if ($async$errorCode === 1)
68553 return A._asyncRethrow($async$result, $async$completer);
68554 while (true)
68555 switch ($async$goto) {
68556 case 0:
68557 // Function start
68558 unparsedQuery = node.query;
68559 $async$goto = unparsedQuery != null ? 3 : 5;
68560 break;
68561 case 3:
68562 // then
68563 $async$temp1 = unparsedQuery;
68564 $async$temp2 = A;
68565 $async$goto = 6;
68566 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
68567 case 6:
68568 // returning from await.
68569 $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
68570 // goto join
68571 $async$goto = 4;
68572 break;
68573 case 5:
68574 // else
68575 $async$result = B.AtRootQuery_UsS0;
68576 case 4:
68577 // join
68578 query = $async$result;
68579 $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68580 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
68581 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
68582 if (!query.excludes$1($parent))
68583 included.push($parent);
68584 grandparent = $parent._node1$_parent;
68585 if (grandparent == null)
68586 throw A.wrapException(A.StateError$(string$.CssNod));
68587 }
68588 root = $async$self._async_evaluate0$_trimIncluded$1(included);
68589 $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
68590 break;
68591 case 7:
68592 // then
68593 $async$goto = 9;
68594 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);
68595 case 9:
68596 // returning from await.
68597 $async$returnValue = null;
68598 // goto return
68599 $async$goto = 1;
68600 break;
68601 case 8:
68602 // join
68603 if (included.length !== 0) {
68604 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
68605 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) {
68606 t3 = t1.__internal$_current;
68607 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
68608 copy.addChild$1(outerCopy);
68609 }
68610 root.addChild$1(outerCopy);
68611 } else
68612 innerCopy = root;
68613 $async$goto = 10;
68614 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);
68615 case 10:
68616 // returning from await.
68617 $async$returnValue = null;
68618 // goto return
68619 $async$goto = 1;
68620 break;
68621 case 1:
68622 // return
68623 return A._asyncReturn($async$returnValue, $async$completer);
68624 }
68625 });
68626 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
68627 },
68628 _async_evaluate0$_trimIncluded$1(nodes) {
68629 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
68630 _s22_ = " to be an ancestor of ";
68631 if (nodes.length === 0)
68632 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68633 $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
68634 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
68635 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
68636 grandparent = $parent._node1$_parent;
68637 if (grandparent == null)
68638 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68639 }
68640 if (innermostContiguous == null)
68641 innermostContiguous = i;
68642 grandparent = $parent._node1$_parent;
68643 if (grandparent == null)
68644 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68645 }
68646 if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
68647 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68648 innermostContiguous.toString;
68649 root = nodes[innermostContiguous];
68650 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
68651 return root;
68652 },
68653 _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
68654 var _this = this,
68655 scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
68656 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
68657 if (t1 !== query.include)
68658 scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
68659 if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
68660 scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
68661 if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
68662 scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
68663 return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
68664 },
68665 visitContentBlock$1(node) {
68666 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
68667 },
68668 visitContentRule$1(node) {
68669 return this.visitContentRule$body$_EvaluateVisitor0(node);
68670 },
68671 visitContentRule$body$_EvaluateVisitor0(node) {
68672 var $async$goto = 0,
68673 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68674 $async$returnValue, $async$self = this, $content;
68675 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68676 if ($async$errorCode === 1)
68677 return A._asyncRethrow($async$result, $async$completer);
68678 while (true)
68679 switch ($async$goto) {
68680 case 0:
68681 // Function start
68682 $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
68683 if ($content == null) {
68684 $async$returnValue = null;
68685 // goto return
68686 $async$goto = 1;
68687 break;
68688 }
68689 $async$goto = 3;
68690 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);
68691 case 3:
68692 // returning from await.
68693 $async$returnValue = null;
68694 // goto return
68695 $async$goto = 1;
68696 break;
68697 case 1:
68698 // return
68699 return A._asyncReturn($async$returnValue, $async$completer);
68700 }
68701 });
68702 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
68703 },
68704 visitDebugRule$1(node) {
68705 return this.visitDebugRule$body$_EvaluateVisitor0(node);
68706 },
68707 visitDebugRule$body$_EvaluateVisitor0(node) {
68708 var $async$goto = 0,
68709 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68710 $async$returnValue, $async$self = this, value, t1;
68711 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68712 if ($async$errorCode === 1)
68713 return A._asyncRethrow($async$result, $async$completer);
68714 while (true)
68715 switch ($async$goto) {
68716 case 0:
68717 // Function start
68718 $async$goto = 3;
68719 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
68720 case 3:
68721 // returning from await.
68722 value = $async$result;
68723 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
68724 $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
68725 $async$returnValue = null;
68726 // goto return
68727 $async$goto = 1;
68728 break;
68729 case 1:
68730 // return
68731 return A._asyncReturn($async$returnValue, $async$completer);
68732 }
68733 });
68734 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
68735 },
68736 visitDeclaration$1(node) {
68737 return this.visitDeclaration$body$_EvaluateVisitor0(node);
68738 },
68739 visitDeclaration$body$_EvaluateVisitor0(node) {
68740 var $async$goto = 0,
68741 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68742 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
68743 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68744 if ($async$errorCode === 1)
68745 return A._asyncRethrow($async$result, $async$completer);
68746 while (true)
68747 switch ($async$goto) {
68748 case 0:
68749 // Function start
68750 if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
68751 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
68752 t1 = node.name;
68753 $async$goto = 3;
68754 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
68755 case 3:
68756 // returning from await.
68757 $name = $async$result;
68758 t2 = $async$self._async_evaluate0$_declarationName;
68759 if (t2 != null)
68760 $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
68761 t2 = node.value;
68762 $async$goto = 4;
68763 return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
68764 case 4:
68765 // returning from await.
68766 cssValue = $async$result;
68767 t3 = cssValue != null;
68768 if (t3)
68769 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
68770 else
68771 t4 = false;
68772 if (t4) {
68773 t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68774 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
68775 if ($async$self._async_evaluate0$_sourceMap) {
68776 t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
68777 t2 = t2 == null ? null : J.get$span$z(t2);
68778 } else
68779 t2 = null;
68780 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
68781 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
68782 throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
68783 children = node.children;
68784 $async$goto = children != null ? 5 : 6;
68785 break;
68786 case 5:
68787 // then
68788 oldDeclarationName = $async$self._async_evaluate0$_declarationName;
68789 $async$self._async_evaluate0$_declarationName = $name.get$value($name);
68790 $async$goto = 7;
68791 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);
68792 case 7:
68793 // returning from await.
68794 $async$self._async_evaluate0$_declarationName = oldDeclarationName;
68795 case 6:
68796 // join
68797 $async$returnValue = null;
68798 // goto return
68799 $async$goto = 1;
68800 break;
68801 case 1:
68802 // return
68803 return A._asyncReturn($async$returnValue, $async$completer);
68804 }
68805 });
68806 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
68807 },
68808 visitEachRule$1(node) {
68809 return this.visitEachRule$body$_EvaluateVisitor0(node);
68810 },
68811 visitEachRule$body$_EvaluateVisitor0(node) {
68812 var $async$goto = 0,
68813 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68814 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
68815 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68816 if ($async$errorCode === 1)
68817 return A._asyncRethrow($async$result, $async$completer);
68818 while (true)
68819 switch ($async$goto) {
68820 case 0:
68821 // Function start
68822 t1 = node.list;
68823 $async$goto = 3;
68824 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
68825 case 3:
68826 // returning from await.
68827 list = $async$result;
68828 nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
68829 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
68830 $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);
68831 // goto return
68832 $async$goto = 1;
68833 break;
68834 case 1:
68835 // return
68836 return A._asyncReturn($async$returnValue, $async$completer);
68837 }
68838 });
68839 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
68840 },
68841 _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
68842 var i,
68843 list = value.get$asList(),
68844 t1 = variables.length,
68845 minLength = Math.min(t1, list.length);
68846 for (i = 0; i < minLength; ++i)
68847 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
68848 for (i = minLength; i < t1; ++i)
68849 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
68850 },
68851 visitErrorRule$1(node) {
68852 return this.visitErrorRule$body$_EvaluateVisitor0(node);
68853 },
68854 visitErrorRule$body$_EvaluateVisitor0(node) {
68855 var $async$goto = 0,
68856 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
68857 $async$self = this, $async$temp1, $async$temp2;
68858 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68859 if ($async$errorCode === 1)
68860 return A._asyncRethrow($async$result, $async$completer);
68861 while (true)
68862 switch ($async$goto) {
68863 case 0:
68864 // Function start
68865 $async$temp1 = A;
68866 $async$temp2 = J;
68867 $async$goto = 2;
68868 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
68869 case 2:
68870 // returning from await.
68871 throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
68872 // implicit return
68873 return A._asyncReturn(null, $async$completer);
68874 }
68875 });
68876 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
68877 },
68878 visitExtendRule$1(node) {
68879 return this.visitExtendRule$body$_EvaluateVisitor0(node);
68880 },
68881 visitExtendRule$body$_EvaluateVisitor0(node) {
68882 var $async$goto = 0,
68883 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68884 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
68885 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68886 if ($async$errorCode === 1)
68887 return A._asyncRethrow($async$result, $async$completer);
68888 while (true)
68889 switch ($async$goto) {
68890 case 0:
68891 // Function start
68892 styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
68893 if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
68894 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
68895 $async$goto = 3;
68896 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
68897 case 3:
68898 // returning from await.
68899 targetText = $async$result;
68900 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) {
68901 t4 = t1[_i].components;
68902 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
68903 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
68904 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
68905 if (t4.length !== 1)
68906 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
68907 $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);
68908 }
68909 $async$returnValue = null;
68910 // goto return
68911 $async$goto = 1;
68912 break;
68913 case 1:
68914 // return
68915 return A._asyncReturn($async$returnValue, $async$completer);
68916 }
68917 });
68918 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
68919 },
68920 visitAtRule$1(node) {
68921 return this.visitAtRule$body$_EvaluateVisitor0(node);
68922 },
68923 visitAtRule$body$_EvaluateVisitor0(node) {
68924 var $async$goto = 0,
68925 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68926 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
68927 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68928 if ($async$errorCode === 1)
68929 return A._asyncRethrow($async$result, $async$completer);
68930 while (true)
68931 switch ($async$goto) {
68932 case 0:
68933 // Function start
68934 if ($async$self._async_evaluate0$_declarationName != null)
68935 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
68936 $async$goto = 3;
68937 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
68938 case 3:
68939 // returning from await.
68940 $name = $async$result;
68941 $async$goto = 4;
68942 return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
68943 case 4:
68944 // returning from await.
68945 value = $async$result;
68946 children = node.children;
68947 if (children == null) {
68948 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
68949 $async$returnValue = null;
68950 // goto return
68951 $async$goto = 1;
68952 break;
68953 }
68954 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
68955 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
68956 if (A.unvendor0($name.get$value($name)) === "keyframes")
68957 $async$self._async_evaluate0$_inKeyframes = true;
68958 else
68959 $async$self._async_evaluate0$_inUnknownAtRule = true;
68960 $async$goto = 5;
68961 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);
68962 case 5:
68963 // returning from await.
68964 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
68965 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
68966 $async$returnValue = null;
68967 // goto return
68968 $async$goto = 1;
68969 break;
68970 case 1:
68971 // return
68972 return A._asyncReturn($async$returnValue, $async$completer);
68973 }
68974 });
68975 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
68976 },
68977 visitForRule$1(node) {
68978 return this.visitForRule$body$_EvaluateVisitor0(node);
68979 },
68980 visitForRule$body$_EvaluateVisitor0(node) {
68981 var $async$goto = 0,
68982 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68983 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
68984 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68985 if ($async$errorCode === 1)
68986 return A._asyncRethrow($async$result, $async$completer);
68987 while (true)
68988 switch ($async$goto) {
68989 case 0:
68990 // Function start
68991 t1 = {};
68992 t2 = node.from;
68993 t3 = type$.SassNumber_2;
68994 $async$goto = 3;
68995 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
68996 case 3:
68997 // returning from await.
68998 fromNumber = $async$result;
68999 t4 = node.to;
69000 $async$goto = 4;
69001 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
69002 case 4:
69003 // returning from await.
69004 toNumber = $async$result;
69005 from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
69006 to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
69007 direction = from > to ? -1 : 1;
69008 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
69009 $async$returnValue = null;
69010 // goto return
69011 $async$goto = 1;
69012 break;
69013 }
69014 $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);
69015 // goto return
69016 $async$goto = 1;
69017 break;
69018 case 1:
69019 // return
69020 return A._asyncReturn($async$returnValue, $async$completer);
69021 }
69022 });
69023 return A._asyncStartSync($async$visitForRule$1, $async$completer);
69024 },
69025 visitForwardRule$1(node) {
69026 return this.visitForwardRule$body$_EvaluateVisitor0(node);
69027 },
69028 visitForwardRule$body$_EvaluateVisitor0(node) {
69029 var $async$goto = 0,
69030 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69031 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
69032 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69033 if ($async$errorCode === 1)
69034 return A._asyncRethrow($async$result, $async$completer);
69035 while (true)
69036 switch ($async$goto) {
69037 case 0:
69038 // Function start
69039 oldConfiguration = $async$self._async_evaluate0$_configuration;
69040 adjustedConfiguration = oldConfiguration.throughForward$1(node);
69041 t1 = node.configuration;
69042 t2 = t1.length;
69043 t3 = node.url;
69044 $async$goto = t2 !== 0 ? 3 : 5;
69045 break;
69046 case 3:
69047 // then
69048 $async$goto = 6;
69049 return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
69050 case 6:
69051 // returning from await.
69052 newConfiguration = $async$result;
69053 $async$goto = 7;
69054 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);
69055 case 7:
69056 // returning from await.
69057 t3 = type$.String;
69058 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
69059 for (_i = 0; _i < t2; ++_i) {
69060 variable = t1[_i];
69061 if (!variable.isGuarded)
69062 t4.add$1(0, variable.name);
69063 }
69064 $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
69065 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
69066 for (_i = 0; _i < t2; ++_i)
69067 t3.add$1(0, t1[_i].name);
69068 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) {
69069 $name = t2[_i];
69070 if (!t3.contains$1(0, $name))
69071 if (!t1.get$isEmpty(t1))
69072 t1.remove$1(0, $name);
69073 }
69074 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
69075 // goto join
69076 $async$goto = 4;
69077 break;
69078 case 5:
69079 // else
69080 $async$self._async_evaluate0$_configuration = adjustedConfiguration;
69081 $async$goto = 8;
69082 return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
69083 case 8:
69084 // returning from await.
69085 $async$self._async_evaluate0$_configuration = oldConfiguration;
69086 case 4:
69087 // join
69088 $async$returnValue = null;
69089 // goto return
69090 $async$goto = 1;
69091 break;
69092 case 1:
69093 // return
69094 return A._asyncReturn($async$returnValue, $async$completer);
69095 }
69096 });
69097 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
69098 },
69099 _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
69100 return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
69101 },
69102 _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
69103 var $async$goto = 0,
69104 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
69105 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
69106 var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69107 if ($async$errorCode === 1)
69108 return A._asyncRethrow($async$result, $async$completer);
69109 while (true)
69110 switch ($async$goto) {
69111 case 0:
69112 // Function start
69113 t1 = configuration._configuration$_values;
69114 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
69115 t2 = node.configuration, t3 = t2.length, _i = 0;
69116 case 3:
69117 // for condition
69118 if (!(_i < t3)) {
69119 // goto after for
69120 $async$goto = 5;
69121 break;
69122 }
69123 variable = t2[_i];
69124 if (variable.isGuarded) {
69125 t4 = variable.name;
69126 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
69127 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
69128 newValues.$indexSet(0, t4, t5);
69129 // goto for update
69130 $async$goto = 4;
69131 break;
69132 }
69133 }
69134 t4 = variable.expression;
69135 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
69136 $async$temp1 = newValues;
69137 $async$temp2 = variable.name;
69138 $async$temp3 = A;
69139 $async$goto = 6;
69140 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
69141 case 6:
69142 // returning from await.
69143 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
69144 case 4:
69145 // for update
69146 ++_i;
69147 // goto for condition
69148 $async$goto = 3;
69149 break;
69150 case 5:
69151 // after for
69152 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
69153 $async$returnValue = new A.ExplicitConfiguration0(node, newValues);
69154 // goto return
69155 $async$goto = 1;
69156 break;
69157 } else {
69158 $async$returnValue = new A.Configuration0(newValues);
69159 // goto return
69160 $async$goto = 1;
69161 break;
69162 }
69163 case 1:
69164 // return
69165 return A._asyncReturn($async$returnValue, $async$completer);
69166 }
69167 });
69168 return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
69169 },
69170 _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
69171 var t1, t2, t3, t4, _i, $name;
69172 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) {
69173 $name = t2[_i];
69174 if (except.contains$1(0, $name))
69175 continue;
69176 if (!t4.containsKey$1($name))
69177 if (!t1.get$isEmpty(t1))
69178 t1.remove$1(0, $name);
69179 }
69180 },
69181 _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
69182 var t1, entry;
69183 if (!(configuration instanceof A.ExplicitConfiguration0))
69184 return;
69185 t1 = configuration._configuration$_values;
69186 if (t1.get$isEmpty(t1))
69187 return;
69188 t1 = t1.get$entries(t1);
69189 entry = t1.get$first(t1);
69190 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
69191 throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
69192 },
69193 _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
69194 return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
69195 },
69196 visitFunctionRule$1(node) {
69197 return this.visitFunctionRule$body$_EvaluateVisitor0(node);
69198 },
69199 visitFunctionRule$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, t4, index, t5;
69203 var $async$visitFunctionRule$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 = $async$self._async_evaluate0$_environment;
69211 t2 = t1.closure$0();
69212 t3 = $async$self._async_evaluate0$_inDependency;
69213 t4 = t1._async_environment0$_functions;
69214 index = t4.length - 1;
69215 t5 = node.name;
69216 t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
69217 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
69218 $async$returnValue = null;
69219 // goto return
69220 $async$goto = 1;
69221 break;
69222 case 1:
69223 // return
69224 return A._asyncReturn($async$returnValue, $async$completer);
69225 }
69226 });
69227 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
69228 },
69229 visitIfRule$1(node) {
69230 return this.visitIfRule$body$_EvaluateVisitor0(node);
69231 },
69232 visitIfRule$body$_EvaluateVisitor0(node) {
69233 var $async$goto = 0,
69234 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69235 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
69236 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69237 if ($async$errorCode === 1)
69238 return A._asyncRethrow($async$result, $async$completer);
69239 while (true)
69240 switch ($async$goto) {
69241 case 0:
69242 // Function start
69243 _box_0 = {};
69244 _box_0.clause = node.lastClause;
69245 t1 = node.clauses, t2 = t1.length, _i = 0;
69246 case 3:
69247 // for condition
69248 if (!(_i < t2)) {
69249 // goto after for
69250 $async$goto = 5;
69251 break;
69252 }
69253 clauseToCheck = t1[_i];
69254 $async$goto = 6;
69255 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
69256 case 6:
69257 // returning from await.
69258 if ($async$result.get$isTruthy()) {
69259 _box_0.clause = clauseToCheck;
69260 // goto after for
69261 $async$goto = 5;
69262 break;
69263 }
69264 case 4:
69265 // for update
69266 ++_i;
69267 // goto for condition
69268 $async$goto = 3;
69269 break;
69270 case 5:
69271 // after for
69272 t1 = _box_0.clause;
69273 if (t1 == null) {
69274 $async$returnValue = null;
69275 // goto return
69276 $async$goto = 1;
69277 break;
69278 }
69279 $async$goto = 7;
69280 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);
69281 case 7:
69282 // returning from await.
69283 $async$returnValue = $async$result;
69284 // goto return
69285 $async$goto = 1;
69286 break;
69287 case 1:
69288 // return
69289 return A._asyncReturn($async$returnValue, $async$completer);
69290 }
69291 });
69292 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
69293 },
69294 visitImportRule$1(node) {
69295 return this.visitImportRule$body$_EvaluateVisitor0(node);
69296 },
69297 visitImportRule$body$_EvaluateVisitor0(node) {
69298 var $async$goto = 0,
69299 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69300 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
69301 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69302 if ($async$errorCode === 1)
69303 return A._asyncRethrow($async$result, $async$completer);
69304 while (true)
69305 switch ($async$goto) {
69306 case 0:
69307 // Function start
69308 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
69309 case 3:
69310 // for condition
69311 if (!(_i < t2)) {
69312 // goto after for
69313 $async$goto = 5;
69314 break;
69315 }
69316 $import = t1[_i];
69317 $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
69318 break;
69319 case 6:
69320 // then
69321 $async$goto = 9;
69322 return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
69323 case 9:
69324 // returning from await.
69325 // goto join
69326 $async$goto = 7;
69327 break;
69328 case 8:
69329 // else
69330 $async$goto = 10;
69331 return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
69332 case 10:
69333 // returning from await.
69334 case 7:
69335 // join
69336 case 4:
69337 // for update
69338 ++_i;
69339 // goto for condition
69340 $async$goto = 3;
69341 break;
69342 case 5:
69343 // after for
69344 $async$returnValue = null;
69345 // goto return
69346 $async$goto = 1;
69347 break;
69348 case 1:
69349 // return
69350 return A._asyncReturn($async$returnValue, $async$completer);
69351 }
69352 });
69353 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
69354 },
69355 _async_evaluate0$_visitDynamicImport$1($import) {
69356 return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
69357 },
69358 _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
69359 return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
69360 },
69361 _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
69362 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
69363 },
69364 _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
69365 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
69366 },
69367 _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
69368 var $async$goto = 0,
69369 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
69370 $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;
69371 var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69372 if ($async$errorCode === 1) {
69373 $async$currentError = $async$result;
69374 $async$goto = $async$handler;
69375 }
69376 while (true)
69377 switch ($async$goto) {
69378 case 0:
69379 // Function start
69380 baseUrl = baseUrl;
69381 $async$handler = 4;
69382 $async$self._async_evaluate0$_importSpan = span;
69383 importCache = $async$self._async_evaluate0$_importCache;
69384 $async$goto = importCache != null ? 7 : 9;
69385 break;
69386 case 7:
69387 // then
69388 if (baseUrl == null)
69389 baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
69390 $async$goto = 10;
69391 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);
69392 case 10:
69393 // returning from await.
69394 tuple = $async$result;
69395 $async$goto = tuple != null ? 11 : 12;
69396 break;
69397 case 11:
69398 // then
69399 isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
69400 t1 = tuple.item1;
69401 t2 = tuple.item2;
69402 t3 = tuple.item3;
69403 t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
69404 $async$goto = 13;
69405 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69406 case 13:
69407 // returning from await.
69408 stylesheet = $async$result;
69409 if (stylesheet != null) {
69410 $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
69411 t1 = tuple.item1;
69412 $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
69413 $async$next = [1];
69414 // goto finally
69415 $async$goto = 5;
69416 break;
69417 }
69418 case 12:
69419 // join
69420 // goto join
69421 $async$goto = 8;
69422 break;
69423 case 9:
69424 // else
69425 t1 = baseUrl;
69426 $async$goto = 14;
69427 return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$3(url, t1 == null ? $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url : t1, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69428 case 14:
69429 // returning from await.
69430 result = $async$result;
69431 if (result != null) {
69432 t1 = $async$self._async_evaluate0$_loadedUrls;
69433 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
69434 $async$returnValue = result;
69435 $async$next = [1];
69436 // goto finally
69437 $async$goto = 5;
69438 break;
69439 }
69440 case 8:
69441 // join
69442 if (B.JSString_methods.startsWith$1(url, "package:") && true)
69443 throw A.wrapException(string$.x22packa);
69444 else
69445 throw A.wrapException("Can't find stylesheet to import.");
69446 $async$next.push(6);
69447 // goto finally
69448 $async$goto = 5;
69449 break;
69450 case 4:
69451 // catch
69452 $async$handler = 3;
69453 $async$exception = $async$currentError;
69454 t1 = A.unwrapException($async$exception);
69455 if (t1 instanceof A.SassException0) {
69456 error = t1;
69457 stackTrace = A.getTraceFromException($async$exception);
69458 t1 = error;
69459 t2 = J.getInterceptor$z(t1);
69460 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
69461 } else {
69462 error0 = t1;
69463 stackTrace0 = A.getTraceFromException($async$exception);
69464 message = null;
69465 try {
69466 message = A._asString(J.get$message$x(error0));
69467 } catch (exception) {
69468 message0 = J.toString$0$(error0);
69469 message = message0;
69470 }
69471 A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
69472 }
69473 $async$next.push(6);
69474 // goto finally
69475 $async$goto = 5;
69476 break;
69477 case 3:
69478 // uncaught
69479 $async$next = [2];
69480 case 5:
69481 // finally
69482 $async$handler = 2;
69483 $async$self._async_evaluate0$_importSpan = null;
69484 // goto the next finally handler
69485 $async$goto = $async$next.pop();
69486 break;
69487 case 6:
69488 // after finally
69489 case 1:
69490 // return
69491 return A._asyncReturn($async$returnValue, $async$completer);
69492 case 2:
69493 // rethrow
69494 return A._asyncRethrow($async$currentError, $async$completer);
69495 }
69496 });
69497 return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
69498 },
69499 _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
69500 return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport);
69501 },
69502 _importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport) {
69503 var $async$goto = 0,
69504 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
69505 $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
69506 var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69507 if ($async$errorCode === 1)
69508 return A._asyncRethrow($async$result, $async$completer);
69509 while (true)
69510 switch ($async$goto) {
69511 case 0:
69512 // Function start
69513 t1 = $async$self._async_evaluate0$_nodeImporter;
69514 result = t1.loadRelative$3(originalUrl, previous, forImport);
69515 $async$goto = result != null ? 3 : 5;
69516 break;
69517 case 3:
69518 // then
69519 isDependency = $async$self._async_evaluate0$_inDependency;
69520 // goto join
69521 $async$goto = 4;
69522 break;
69523 case 5:
69524 // else
69525 $async$goto = 6;
69526 return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
69527 case 6:
69528 // returning from await.
69529 result = $async$result;
69530 if (result == null) {
69531 $async$returnValue = null;
69532 // goto return
69533 $async$goto = 1;
69534 break;
69535 }
69536 isDependency = true;
69537 case 4:
69538 // join
69539 url = result.item2;
69540 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
69541 t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
69542 $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
69543 // goto return
69544 $async$goto = 1;
69545 break;
69546 case 1:
69547 // return
69548 return A._asyncReturn($async$returnValue, $async$completer);
69549 }
69550 });
69551 return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
69552 },
69553 _async_evaluate0$_visitStaticImport$1($import) {
69554 return this._visitStaticImport$body$_EvaluateVisitor0($import);
69555 },
69556 _visitStaticImport$body$_EvaluateVisitor0($import) {
69557 var $async$goto = 0,
69558 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
69559 $async$self = this, t1, node, $async$temp1, $async$temp2;
69560 var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69561 if ($async$errorCode === 1)
69562 return A._asyncRethrow($async$result, $async$completer);
69563 while (true)
69564 switch ($async$goto) {
69565 case 0:
69566 // Function start
69567 $async$temp1 = A;
69568 $async$goto = 2;
69569 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
69570 case 2:
69571 // returning from await.
69572 $async$temp2 = $async$result;
69573 $async$goto = 3;
69574 return A._asyncAwait(A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue()), $async$_async_evaluate0$_visitStaticImport$1);
69575 case 3:
69576 // returning from await.
69577 node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
69578 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"))
69579 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
69580 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)) {
69581 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
69582 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69583 } else {
69584 t1 = $async$self._async_evaluate0$_outOfOrderImports;
69585 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
69586 }
69587 // implicit return
69588 return A._asyncReturn(null, $async$completer);
69589 }
69590 });
69591 return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
69592 },
69593 visitIncludeRule$1(node) {
69594 return this.visitIncludeRule$body$_EvaluateVisitor0(node);
69595 },
69596 visitIncludeRule$body$_EvaluateVisitor0(node) {
69597 var $async$goto = 0,
69598 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69599 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
69600 var $async$visitIncludeRule$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 mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
69608 if (mixin == null)
69609 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
69610 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
69611 $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
69612 break;
69613 case 3:
69614 // then
69615 if (node.content != null)
69616 throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
69617 $async$goto = 6;
69618 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
69619 case 6:
69620 // returning from await.
69621 // goto join
69622 $async$goto = 4;
69623 break;
69624 case 5:
69625 // else
69626 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
69627 break;
69628 case 7:
69629 // then
69630 t1 = node.content;
69631 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
69632 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())));
69633 $async$goto = 10;
69634 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);
69635 case 10:
69636 // returning from await.
69637 // goto join
69638 $async$goto = 8;
69639 break;
69640 case 9:
69641 // else
69642 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
69643 case 8:
69644 // join
69645 case 4:
69646 // join
69647 $async$returnValue = null;
69648 // goto return
69649 $async$goto = 1;
69650 break;
69651 case 1:
69652 // return
69653 return A._asyncReturn($async$returnValue, $async$completer);
69654 }
69655 });
69656 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
69657 },
69658 visitMixinRule$1(node) {
69659 return this.visitMixinRule$body$_EvaluateVisitor0(node);
69660 },
69661 visitMixinRule$body$_EvaluateVisitor0(node) {
69662 var $async$goto = 0,
69663 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69664 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
69665 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69666 if ($async$errorCode === 1)
69667 return A._asyncRethrow($async$result, $async$completer);
69668 while (true)
69669 switch ($async$goto) {
69670 case 0:
69671 // Function start
69672 t1 = $async$self._async_evaluate0$_environment;
69673 t2 = t1.closure$0();
69674 t3 = $async$self._async_evaluate0$_inDependency;
69675 t4 = t1._async_environment0$_mixins;
69676 index = t4.length - 1;
69677 t5 = node.name;
69678 t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
69679 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
69680 $async$returnValue = null;
69681 // goto return
69682 $async$goto = 1;
69683 break;
69684 case 1:
69685 // return
69686 return A._asyncReturn($async$returnValue, $async$completer);
69687 }
69688 });
69689 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
69690 },
69691 visitLoudComment$1(node) {
69692 return this.visitLoudComment$body$_EvaluateVisitor0(node);
69693 },
69694 visitLoudComment$body$_EvaluateVisitor0(node) {
69695 var $async$goto = 0,
69696 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69697 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69698 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69699 if ($async$errorCode === 1)
69700 return A._asyncRethrow($async$result, $async$completer);
69701 while (true)
69702 switch ($async$goto) {
69703 case 0:
69704 // Function start
69705 if ($async$self._async_evaluate0$_inFunction) {
69706 $async$returnValue = null;
69707 // goto return
69708 $async$goto = 1;
69709 break;
69710 }
69711 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))
69712 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69713 t1 = node.text;
69714 $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
69715 $async$temp2 = A;
69716 $async$goto = 3;
69717 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
69718 case 3:
69719 // returning from await.
69720 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
69721 $async$returnValue = null;
69722 // goto return
69723 $async$goto = 1;
69724 break;
69725 case 1:
69726 // return
69727 return A._asyncReturn($async$returnValue, $async$completer);
69728 }
69729 });
69730 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
69731 },
69732 visitMediaRule$1(node) {
69733 return this.visitMediaRule$body$_EvaluateVisitor0(node);
69734 },
69735 visitMediaRule$body$_EvaluateVisitor0(node) {
69736 var $async$goto = 0,
69737 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69738 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
69739 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69740 if ($async$errorCode === 1)
69741 return A._asyncRethrow($async$result, $async$completer);
69742 while (true)
69743 switch ($async$goto) {
69744 case 0:
69745 // Function start
69746 if ($async$self._async_evaluate0$_declarationName != null)
69747 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
69748 $async$goto = 3;
69749 return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
69750 case 3:
69751 // returning from await.
69752 queries = $async$result;
69753 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
69754 t1 = mergedQueries == null;
69755 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
69756 $async$returnValue = null;
69757 // goto return
69758 $async$goto = 1;
69759 break;
69760 }
69761 t1 = t1 ? queries : mergedQueries;
69762 $async$goto = 4;
69763 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);
69764 case 4:
69765 // returning from await.
69766 $async$returnValue = null;
69767 // goto return
69768 $async$goto = 1;
69769 break;
69770 case 1:
69771 // return
69772 return A._asyncReturn($async$returnValue, $async$completer);
69773 }
69774 });
69775 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
69776 },
69777 _async_evaluate0$_visitMediaQueries$1(interpolation) {
69778 return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
69779 },
69780 _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
69781 var $async$goto = 0,
69782 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
69783 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
69784 var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69785 if ($async$errorCode === 1)
69786 return A._asyncRethrow($async$result, $async$completer);
69787 while (true)
69788 switch ($async$goto) {
69789 case 0:
69790 // Function start
69791 $async$temp1 = interpolation;
69792 $async$temp2 = A;
69793 $async$goto = 3;
69794 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
69795 case 3:
69796 // returning from await.
69797 $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
69798 // goto return
69799 $async$goto = 1;
69800 break;
69801 case 1:
69802 // return
69803 return A._asyncReturn($async$returnValue, $async$completer);
69804 }
69805 });
69806 return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
69807 },
69808 _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
69809 var t1, t2, t3, t4, t5, result,
69810 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
69811 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
69812 t4 = t1.get$current(t1);
69813 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
69814 result = t4.merge$1(t5.get$current(t5));
69815 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
69816 continue;
69817 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
69818 return null;
69819 queries.push(t3._as(result).query);
69820 }
69821 }
69822 return queries;
69823 },
69824 visitReturnRule$1(node) {
69825 return this.visitReturnRule$body$_EvaluateVisitor0(node);
69826 },
69827 visitReturnRule$body$_EvaluateVisitor0(node) {
69828 var $async$goto = 0,
69829 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69830 $async$returnValue, $async$self = this, t1;
69831 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69832 if ($async$errorCode === 1)
69833 return A._asyncRethrow($async$result, $async$completer);
69834 while (true)
69835 switch ($async$goto) {
69836 case 0:
69837 // Function start
69838 t1 = node.expression;
69839 $async$goto = 3;
69840 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
69841 case 3:
69842 // returning from await.
69843 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
69844 // goto return
69845 $async$goto = 1;
69846 break;
69847 case 1:
69848 // return
69849 return A._asyncReturn($async$returnValue, $async$completer);
69850 }
69851 });
69852 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
69853 },
69854 visitSilentComment$1(node) {
69855 return this.visitSilentComment$body$_EvaluateVisitor0(node);
69856 },
69857 visitSilentComment$body$_EvaluateVisitor0(node) {
69858 var $async$goto = 0,
69859 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69860 $async$returnValue;
69861 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69862 if ($async$errorCode === 1)
69863 return A._asyncRethrow($async$result, $async$completer);
69864 while (true)
69865 switch ($async$goto) {
69866 case 0:
69867 // Function start
69868 $async$returnValue = null;
69869 // goto return
69870 $async$goto = 1;
69871 break;
69872 case 1:
69873 // return
69874 return A._asyncReturn($async$returnValue, $async$completer);
69875 }
69876 });
69877 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
69878 },
69879 visitStyleRule$1(node) {
69880 return this.visitStyleRule$body$_EvaluateVisitor0(node);
69881 },
69882 visitStyleRule$body$_EvaluateVisitor0(node) {
69883 var $async$goto = 0,
69884 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69885 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
69886 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69887 if ($async$errorCode === 1)
69888 return A._asyncRethrow($async$result, $async$completer);
69889 while (true)
69890 switch ($async$goto) {
69891 case 0:
69892 // Function start
69893 t1 = {};
69894 if ($async$self._async_evaluate0$_declarationName != null)
69895 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
69896 t2 = node.selector;
69897 $async$goto = 3;
69898 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
69899 case 3:
69900 // returning from await.
69901 selectorText = $async$result;
69902 $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
69903 break;
69904 case 4:
69905 // then
69906 $async$goto = 6;
69907 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);
69908 case 6:
69909 // returning from await.
69910 $async$returnValue = null;
69911 // goto return
69912 $async$goto = 1;
69913 break;
69914 case 5:
69915 // join
69916 t1.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText));
69917 t1.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure24(t1, $async$self));
69918 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);
69919 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
69920 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
69921 $async$goto = 7;
69922 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);
69923 case 7:
69924 // returning from await.
69925 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
69926 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
69927 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69928 t1 = !t1.get$isEmpty(t1);
69929 }
69930 if (t1) {
69931 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69932 t1.get$last(t1).isGroupEnd = true;
69933 }
69934 $async$returnValue = null;
69935 // goto return
69936 $async$goto = 1;
69937 break;
69938 case 1:
69939 // return
69940 return A._asyncReturn($async$returnValue, $async$completer);
69941 }
69942 });
69943 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
69944 },
69945 visitSupportsRule$1(node) {
69946 return this.visitSupportsRule$body$_EvaluateVisitor0(node);
69947 },
69948 visitSupportsRule$body$_EvaluateVisitor0(node) {
69949 var $async$goto = 0,
69950 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69951 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69952 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69953 if ($async$errorCode === 1)
69954 return A._asyncRethrow($async$result, $async$completer);
69955 while (true)
69956 switch ($async$goto) {
69957 case 0:
69958 // Function start
69959 if ($async$self._async_evaluate0$_declarationName != null)
69960 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
69961 t1 = node.condition;
69962 $async$temp1 = A;
69963 $async$temp2 = A;
69964 $async$goto = 4;
69965 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
69966 case 4:
69967 // returning from await.
69968 $async$goto = 3;
69969 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);
69970 case 3:
69971 // returning from await.
69972 $async$returnValue = null;
69973 // goto return
69974 $async$goto = 1;
69975 break;
69976 case 1:
69977 // return
69978 return A._asyncReturn($async$returnValue, $async$completer);
69979 }
69980 });
69981 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
69982 },
69983 _async_evaluate0$_visitSupportsCondition$1(condition) {
69984 return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
69985 },
69986 _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
69987 var $async$goto = 0,
69988 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69989 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
69990 var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69991 if ($async$errorCode === 1)
69992 return A._asyncRethrow($async$result, $async$completer);
69993 while (true)
69994 switch ($async$goto) {
69995 case 0:
69996 // Function start
69997 $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
69998 break;
69999 case 3:
70000 // then
70001 t1 = condition.operator;
70002 $async$temp1 = A;
70003 $async$goto = 6;
70004 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
70005 case 6:
70006 // returning from await.
70007 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
70008 $async$temp2 = A;
70009 $async$goto = 7;
70010 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
70011 case 7:
70012 // returning from await.
70013 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
70014 // goto return
70015 $async$goto = 1;
70016 break;
70017 // goto join
70018 $async$goto = 4;
70019 break;
70020 case 5:
70021 // else
70022 $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
70023 break;
70024 case 8:
70025 // then
70026 $async$temp1 = A;
70027 $async$goto = 11;
70028 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
70029 case 11:
70030 // returning from await.
70031 $async$returnValue = "not " + $async$temp1.S($async$result);
70032 // goto return
70033 $async$goto = 1;
70034 break;
70035 // goto join
70036 $async$goto = 9;
70037 break;
70038 case 10:
70039 // else
70040 $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
70041 break;
70042 case 12:
70043 // then
70044 $async$goto = 15;
70045 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
70046 case 15:
70047 // returning from await.
70048 $async$returnValue = $async$result;
70049 // goto return
70050 $async$goto = 1;
70051 break;
70052 // goto join
70053 $async$goto = 13;
70054 break;
70055 case 14:
70056 // else
70057 $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
70058 break;
70059 case 16:
70060 // then
70061 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
70062 $async$self._async_evaluate0$_inSupportsDeclaration = true;
70063 $async$temp1 = A;
70064 $async$goto = 19;
70065 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
70066 case 19:
70067 // returning from await.
70068 t1 = $async$temp1.S($async$result);
70069 t2 = condition.get$isCustomProperty() ? "" : " ";
70070 $async$temp1 = A;
70071 $async$goto = 20;
70072 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
70073 case 20:
70074 // returning from await.
70075 t3 = $async$temp1.S($async$result);
70076 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
70077 $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
70078 // goto return
70079 $async$goto = 1;
70080 break;
70081 // goto join
70082 $async$goto = 17;
70083 break;
70084 case 18:
70085 // else
70086 $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
70087 break;
70088 case 21:
70089 // then
70090 $async$temp1 = A;
70091 $async$goto = 24;
70092 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
70093 case 24:
70094 // returning from await.
70095 $async$temp1 = $async$temp1.S($async$result) + "(";
70096 $async$temp2 = A;
70097 $async$goto = 25;
70098 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
70099 case 25:
70100 // returning from await.
70101 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
70102 // goto return
70103 $async$goto = 1;
70104 break;
70105 // goto join
70106 $async$goto = 22;
70107 break;
70108 case 23:
70109 // else
70110 $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
70111 break;
70112 case 26:
70113 // then
70114 $async$temp1 = A;
70115 $async$goto = 29;
70116 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
70117 case 29:
70118 // returning from await.
70119 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
70120 // goto return
70121 $async$goto = 1;
70122 break;
70123 // goto join
70124 $async$goto = 27;
70125 break;
70126 case 28:
70127 // else
70128 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
70129 case 27:
70130 // join
70131 case 22:
70132 // join
70133 case 17:
70134 // join
70135 case 13:
70136 // join
70137 case 9:
70138 // join
70139 case 4:
70140 // join
70141 case 1:
70142 // return
70143 return A._asyncReturn($async$returnValue, $async$completer);
70144 }
70145 });
70146 return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
70147 },
70148 _async_evaluate0$_parenthesize$2(condition, operator) {
70149 return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
70150 },
70151 _async_evaluate0$_parenthesize$1(condition) {
70152 return this._async_evaluate0$_parenthesize$2(condition, null);
70153 },
70154 _parenthesize$body$_EvaluateVisitor0(condition, operator) {
70155 var $async$goto = 0,
70156 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
70157 $async$returnValue, $async$self = this, t1, $async$temp1;
70158 var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70159 if ($async$errorCode === 1)
70160 return A._asyncRethrow($async$result, $async$completer);
70161 while (true)
70162 switch ($async$goto) {
70163 case 0:
70164 // Function start
70165 if (!(condition instanceof A.SupportsNegation0))
70166 if (condition instanceof A.SupportsOperation0)
70167 t1 = operator == null || operator !== condition.operator;
70168 else
70169 t1 = false;
70170 else
70171 t1 = true;
70172 $async$goto = t1 ? 3 : 5;
70173 break;
70174 case 3:
70175 // then
70176 $async$temp1 = A;
70177 $async$goto = 6;
70178 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
70179 case 6:
70180 // returning from await.
70181 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
70182 // goto return
70183 $async$goto = 1;
70184 break;
70185 // goto join
70186 $async$goto = 4;
70187 break;
70188 case 5:
70189 // else
70190 $async$goto = 7;
70191 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
70192 case 7:
70193 // returning from await.
70194 $async$returnValue = $async$result;
70195 // goto return
70196 $async$goto = 1;
70197 break;
70198 case 4:
70199 // join
70200 case 1:
70201 // return
70202 return A._asyncReturn($async$returnValue, $async$completer);
70203 }
70204 });
70205 return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
70206 },
70207 visitVariableDeclaration$1(node) {
70208 return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
70209 },
70210 visitVariableDeclaration$body$_EvaluateVisitor0(node) {
70211 var $async$goto = 0,
70212 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70213 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
70214 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70215 if ($async$errorCode === 1)
70216 return A._asyncRethrow($async$result, $async$completer);
70217 while (true)
70218 switch ($async$goto) {
70219 case 0:
70220 // Function start
70221 if (node.isGuarded) {
70222 if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
70223 t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
70224 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
70225 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
70226 $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
70227 $async$returnValue = null;
70228 // goto return
70229 $async$goto = 1;
70230 break;
70231 }
70232 }
70233 value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
70234 if (value != null && !value.$eq(0, B.C__SassNull0)) {
70235 $async$returnValue = null;
70236 // goto return
70237 $async$goto = 1;
70238 break;
70239 }
70240 }
70241 if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
70242 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.";
70243 $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
70244 }
70245 t1 = node.expression;
70246 $async$temp1 = node;
70247 $async$temp2 = A;
70248 $async$temp3 = node;
70249 $async$goto = 3;
70250 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
70251 case 3:
70252 // returning from await.
70253 $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)));
70254 $async$returnValue = null;
70255 // goto return
70256 $async$goto = 1;
70257 break;
70258 case 1:
70259 // return
70260 return A._asyncReturn($async$returnValue, $async$completer);
70261 }
70262 });
70263 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
70264 },
70265 visitUseRule$1(node) {
70266 return this.visitUseRule$body$_EvaluateVisitor0(node);
70267 },
70268 visitUseRule$body$_EvaluateVisitor0(node) {
70269 var $async$goto = 0,
70270 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70271 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
70272 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70273 if ($async$errorCode === 1)
70274 return A._asyncRethrow($async$result, $async$completer);
70275 while (true)
70276 switch ($async$goto) {
70277 case 0:
70278 // Function start
70279 t1 = node.configuration;
70280 t2 = t1.length;
70281 $async$goto = t2 !== 0 ? 3 : 5;
70282 break;
70283 case 3:
70284 // then
70285 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
70286 _i = 0;
70287 case 6:
70288 // for condition
70289 if (!(_i < t2)) {
70290 // goto after for
70291 $async$goto = 8;
70292 break;
70293 }
70294 variable = t1[_i];
70295 t3 = variable.expression;
70296 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
70297 $async$temp1 = values;
70298 $async$temp2 = variable.name;
70299 $async$temp3 = A;
70300 $async$goto = 9;
70301 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
70302 case 9:
70303 // returning from await.
70304 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
70305 case 7:
70306 // for update
70307 ++_i;
70308 // goto for condition
70309 $async$goto = 6;
70310 break;
70311 case 8:
70312 // after for
70313 configuration = new A.ExplicitConfiguration0(node, values);
70314 // goto join
70315 $async$goto = 4;
70316 break;
70317 case 5:
70318 // else
70319 configuration = B.Configuration_Map_empty0;
70320 case 4:
70321 // join
70322 $async$goto = 10;
70323 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);
70324 case 10:
70325 // returning from await.
70326 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
70327 $async$returnValue = null;
70328 // goto return
70329 $async$goto = 1;
70330 break;
70331 case 1:
70332 // return
70333 return A._asyncReturn($async$returnValue, $async$completer);
70334 }
70335 });
70336 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
70337 },
70338 visitWarnRule$1(node) {
70339 return this.visitWarnRule$body$_EvaluateVisitor0(node);
70340 },
70341 visitWarnRule$body$_EvaluateVisitor0(node) {
70342 var $async$goto = 0,
70343 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70344 $async$returnValue, $async$self = this, value, t1;
70345 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70346 if ($async$errorCode === 1)
70347 return A._asyncRethrow($async$result, $async$completer);
70348 while (true)
70349 switch ($async$goto) {
70350 case 0:
70351 // Function start
70352 $async$goto = 3;
70353 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);
70354 case 3:
70355 // returning from await.
70356 value = $async$result;
70357 t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
70358 $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
70359 $async$returnValue = null;
70360 // goto return
70361 $async$goto = 1;
70362 break;
70363 case 1:
70364 // return
70365 return A._asyncReturn($async$returnValue, $async$completer);
70366 }
70367 });
70368 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
70369 },
70370 visitWhileRule$1(node) {
70371 return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
70372 },
70373 visitBinaryOperationExpression$1(node) {
70374 return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
70375 },
70376 visitValueExpression$1(node) {
70377 return this.visitValueExpression$body$_EvaluateVisitor0(node);
70378 },
70379 visitValueExpression$body$_EvaluateVisitor0(node) {
70380 var $async$goto = 0,
70381 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70382 $async$returnValue;
70383 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70384 if ($async$errorCode === 1)
70385 return A._asyncRethrow($async$result, $async$completer);
70386 while (true)
70387 switch ($async$goto) {
70388 case 0:
70389 // Function start
70390 $async$returnValue = node.value;
70391 // goto return
70392 $async$goto = 1;
70393 break;
70394 case 1:
70395 // return
70396 return A._asyncReturn($async$returnValue, $async$completer);
70397 }
70398 });
70399 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
70400 },
70401 visitVariableExpression$1(node) {
70402 return this.visitVariableExpression$body$_EvaluateVisitor0(node);
70403 },
70404 visitVariableExpression$body$_EvaluateVisitor0(node) {
70405 var $async$goto = 0,
70406 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70407 $async$returnValue, $async$self = this, result;
70408 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70409 if ($async$errorCode === 1)
70410 return A._asyncRethrow($async$result, $async$completer);
70411 while (true)
70412 switch ($async$goto) {
70413 case 0:
70414 // Function start
70415 result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
70416 if (result != null) {
70417 $async$returnValue = result;
70418 // goto return
70419 $async$goto = 1;
70420 break;
70421 }
70422 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
70423 case 1:
70424 // return
70425 return A._asyncReturn($async$returnValue, $async$completer);
70426 }
70427 });
70428 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
70429 },
70430 visitUnaryOperationExpression$1(node) {
70431 return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
70432 },
70433 visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
70434 var $async$goto = 0,
70435 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70436 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
70437 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70438 if ($async$errorCode === 1)
70439 return A._asyncRethrow($async$result, $async$completer);
70440 while (true)
70441 switch ($async$goto) {
70442 case 0:
70443 // Function start
70444 $async$temp1 = node;
70445 $async$temp2 = A;
70446 $async$temp3 = node;
70447 $async$goto = 3;
70448 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
70449 case 3:
70450 // returning from await.
70451 $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
70452 // goto return
70453 $async$goto = 1;
70454 break;
70455 case 1:
70456 // return
70457 return A._asyncReturn($async$returnValue, $async$completer);
70458 }
70459 });
70460 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
70461 },
70462 visitBooleanExpression$1(node) {
70463 return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
70464 },
70465 visitBooleanExpression$body$_EvaluateVisitor0(node) {
70466 var $async$goto = 0,
70467 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
70468 $async$returnValue;
70469 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70470 if ($async$errorCode === 1)
70471 return A._asyncRethrow($async$result, $async$completer);
70472 while (true)
70473 switch ($async$goto) {
70474 case 0:
70475 // Function start
70476 $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
70477 // goto return
70478 $async$goto = 1;
70479 break;
70480 case 1:
70481 // return
70482 return A._asyncReturn($async$returnValue, $async$completer);
70483 }
70484 });
70485 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
70486 },
70487 visitIfExpression$1(node) {
70488 return this.visitIfExpression$body$_EvaluateVisitor0(node);
70489 },
70490 visitIfExpression$body$_EvaluateVisitor0(node) {
70491 var $async$goto = 0,
70492 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70493 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
70494 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70495 if ($async$errorCode === 1)
70496 return A._asyncRethrow($async$result, $async$completer);
70497 while (true)
70498 switch ($async$goto) {
70499 case 0:
70500 // Function start
70501 $async$goto = 3;
70502 return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
70503 case 3:
70504 // returning from await.
70505 pair = $async$result;
70506 positional = pair.item1;
70507 named = pair.item2;
70508 t1 = J.getInterceptor$asx(positional);
70509 $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
70510 if (t1.get$length(positional) > 0)
70511 condition = t1.$index(positional, 0);
70512 else {
70513 t2 = named.$index(0, "condition");
70514 t2.toString;
70515 condition = t2;
70516 }
70517 if (t1.get$length(positional) > 1)
70518 ifTrue = t1.$index(positional, 1);
70519 else {
70520 t2 = named.$index(0, "if-true");
70521 t2.toString;
70522 ifTrue = t2;
70523 }
70524 if (t1.get$length(positional) > 2)
70525 ifFalse = t1.$index(positional, 2);
70526 else {
70527 t1 = named.$index(0, "if-false");
70528 t1.toString;
70529 ifFalse = t1;
70530 }
70531 $async$goto = 4;
70532 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
70533 case 4:
70534 // returning from await.
70535 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
70536 $async$goto = 5;
70537 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
70538 case 5:
70539 // returning from await.
70540 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
70541 // goto return
70542 $async$goto = 1;
70543 break;
70544 case 1:
70545 // return
70546 return A._asyncReturn($async$returnValue, $async$completer);
70547 }
70548 });
70549 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
70550 },
70551 visitNullExpression$1(node) {
70552 return this.visitNullExpression$body$_EvaluateVisitor0(node);
70553 },
70554 visitNullExpression$body$_EvaluateVisitor0(node) {
70555 var $async$goto = 0,
70556 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70557 $async$returnValue;
70558 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70559 if ($async$errorCode === 1)
70560 return A._asyncRethrow($async$result, $async$completer);
70561 while (true)
70562 switch ($async$goto) {
70563 case 0:
70564 // Function start
70565 $async$returnValue = B.C__SassNull0;
70566 // goto return
70567 $async$goto = 1;
70568 break;
70569 case 1:
70570 // return
70571 return A._asyncReturn($async$returnValue, $async$completer);
70572 }
70573 });
70574 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
70575 },
70576 visitNumberExpression$1(node) {
70577 return this.visitNumberExpression$body$_EvaluateVisitor0(node);
70578 },
70579 visitNumberExpression$body$_EvaluateVisitor0(node) {
70580 var $async$goto = 0,
70581 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
70582 $async$returnValue, t1, t2;
70583 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70584 if ($async$errorCode === 1)
70585 return A._asyncRethrow($async$result, $async$completer);
70586 while (true)
70587 switch ($async$goto) {
70588 case 0:
70589 // Function start
70590 t1 = node.value;
70591 t2 = node.unit;
70592 $async$returnValue = t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
70593 // goto return
70594 $async$goto = 1;
70595 break;
70596 case 1:
70597 // return
70598 return A._asyncReturn($async$returnValue, $async$completer);
70599 }
70600 });
70601 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
70602 },
70603 visitParenthesizedExpression$1(node) {
70604 return node.expression.accept$1(this);
70605 },
70606 visitCalculationExpression$1(node) {
70607 return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
70608 },
70609 visitCalculationExpression$body$_EvaluateVisitor0(node) {
70610 var $async$goto = 0,
70611 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70612 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
70613 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70614 if ($async$errorCode === 1)
70615 return A._asyncRethrow($async$result, $async$completer);
70616 while (true)
70617 $async$outer:
70618 switch ($async$goto) {
70619 case 0:
70620 // Function start
70621 t1 = A._setArrayType([], type$.JSArray_Object);
70622 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
70623 case 3:
70624 // for condition
70625 if (!(_i < t3)) {
70626 // goto after for
70627 $async$goto = 5;
70628 break;
70629 }
70630 argument = t2[_i];
70631 $async$temp1 = t1;
70632 $async$goto = 6;
70633 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
70634 case 6:
70635 // returning from await.
70636 $async$temp1.push($async$result);
70637 case 4:
70638 // for update
70639 ++_i;
70640 // goto for condition
70641 $async$goto = 3;
70642 break;
70643 case 5:
70644 // after for
70645 $arguments = t1;
70646 if ($async$self._async_evaluate0$_inSupportsDeclaration) {
70647 $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
70648 // goto return
70649 $async$goto = 1;
70650 break;
70651 }
70652 try {
70653 switch (t4) {
70654 case "calc":
70655 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
70656 $async$returnValue = t1;
70657 // goto return
70658 $async$goto = 1;
70659 break $async$outer;
70660 case "min":
70661 t1 = A.SassCalculation_min0($arguments);
70662 $async$returnValue = t1;
70663 // goto return
70664 $async$goto = 1;
70665 break $async$outer;
70666 case "max":
70667 t1 = A.SassCalculation_max0($arguments);
70668 $async$returnValue = t1;
70669 // goto return
70670 $async$goto = 1;
70671 break $async$outer;
70672 case "clamp":
70673 t1 = J.$index$asx($arguments, 0);
70674 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
70675 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
70676 $async$returnValue = t1;
70677 // goto return
70678 $async$goto = 1;
70679 break $async$outer;
70680 default:
70681 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
70682 throw A.wrapException(t1);
70683 }
70684 } catch (exception) {
70685 t1 = A.unwrapException(exception);
70686 if (t1 instanceof A.SassScriptException0) {
70687 error = t1;
70688 stackTrace = A.getTraceFromException(exception);
70689 $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
70690 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
70691 } else
70692 throw exception;
70693 }
70694 case 1:
70695 // return
70696 return A._asyncReturn($async$returnValue, $async$completer);
70697 }
70698 });
70699 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
70700 },
70701 _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
70702 var i, t1, arg, number1, j, number2;
70703 for (i = 0; t1 = args.length, i < t1; ++i) {
70704 arg = args[i];
70705 if (!(arg instanceof A.SassNumber0))
70706 continue;
70707 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
70708 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])));
70709 }
70710 for (i = 0; i < t1 - 1; ++i) {
70711 number1 = args[i];
70712 if (!(number1 instanceof A.SassNumber0))
70713 continue;
70714 for (j = i + 1; t1 = args.length, j < t1; ++j) {
70715 number2 = args[j];
70716 if (!(number2 instanceof A.SassNumber0))
70717 continue;
70718 if (number1.hasPossiblyCompatibleUnits$1(number2))
70719 continue;
70720 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]))));
70721 }
70722 }
70723 },
70724 _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
70725 return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
70726 },
70727 _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
70728 var $async$goto = 0,
70729 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
70730 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
70731 var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70732 if ($async$errorCode === 1)
70733 return A._asyncRethrow($async$result, $async$completer);
70734 while (true)
70735 switch ($async$goto) {
70736 case 0:
70737 // Function start
70738 $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
70739 break;
70740 case 3:
70741 // then
70742 inner = node.expression;
70743 $async$goto = 6;
70744 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70745 case 6:
70746 // returning from await.
70747 result = $async$result;
70748 if (inner instanceof A.FunctionExpression0)
70749 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
70750 else
70751 t1 = false;
70752 $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
70753 // goto return
70754 $async$goto = 1;
70755 break;
70756 // goto join
70757 $async$goto = 4;
70758 break;
70759 case 5:
70760 // else
70761 $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
70762 break;
70763 case 7:
70764 // then
70765 $async$temp1 = A;
70766 $async$goto = 10;
70767 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70768 case 10:
70769 // returning from await.
70770 $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
70771 // goto return
70772 $async$goto = 1;
70773 break;
70774 // goto join
70775 $async$goto = 8;
70776 break;
70777 case 9:
70778 // else
70779 $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
70780 break;
70781 case 11:
70782 // then
70783 $async$goto = 14;
70784 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);
70785 case 14:
70786 // returning from await.
70787 $async$returnValue = $async$result;
70788 // goto return
70789 $async$goto = 1;
70790 break;
70791 // goto join
70792 $async$goto = 12;
70793 break;
70794 case 13:
70795 // else
70796 $async$goto = 15;
70797 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70798 case 15:
70799 // returning from await.
70800 result = $async$result;
70801 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
70802 $async$returnValue = result;
70803 // goto return
70804 $async$goto = 1;
70805 break;
70806 }
70807 if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
70808 $async$returnValue = result;
70809 // goto return
70810 $async$goto = 1;
70811 break;
70812 }
70813 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)));
70814 case 12:
70815 // join
70816 case 8:
70817 // join
70818 case 4:
70819 // join
70820 case 1:
70821 // return
70822 return A._asyncReturn($async$returnValue, $async$completer);
70823 }
70824 });
70825 return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
70826 },
70827 _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
70828 switch (operator) {
70829 case B.BinaryOperator_AcR2:
70830 return B.CalculationOperator_Iem0;
70831 case B.BinaryOperator_iyO0:
70832 return B.CalculationOperator_uti0;
70833 case B.BinaryOperator_O1M0:
70834 return B.CalculationOperator_Dih0;
70835 case B.BinaryOperator_RTB0:
70836 return B.CalculationOperator_jB60;
70837 default:
70838 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
70839 }
70840 },
70841 visitColorExpression$1(node) {
70842 return this.visitColorExpression$body$_EvaluateVisitor0(node);
70843 },
70844 visitColorExpression$body$_EvaluateVisitor0(node) {
70845 var $async$goto = 0,
70846 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
70847 $async$returnValue;
70848 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70849 if ($async$errorCode === 1)
70850 return A._asyncRethrow($async$result, $async$completer);
70851 while (true)
70852 switch ($async$goto) {
70853 case 0:
70854 // Function start
70855 $async$returnValue = node.value;
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$visitColorExpression$1, $async$completer);
70865 },
70866 visitListExpression$1(node) {
70867 return this.visitListExpression$body$_EvaluateVisitor0(node);
70868 },
70869 visitListExpression$body$_EvaluateVisitor0(node) {
70870 var $async$goto = 0,
70871 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
70872 $async$returnValue, $async$self = this, $async$temp1;
70873 var $async$visitListExpression$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 $async$temp1 = A;
70881 $async$goto = 3;
70882 return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
70883 case 3:
70884 // returning from await.
70885 $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
70886 // goto return
70887 $async$goto = 1;
70888 break;
70889 case 1:
70890 // return
70891 return A._asyncReturn($async$returnValue, $async$completer);
70892 }
70893 });
70894 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
70895 },
70896 visitMapExpression$1(node) {
70897 return this.visitMapExpression$body$_EvaluateVisitor0(node);
70898 },
70899 visitMapExpression$body$_EvaluateVisitor0(node) {
70900 var $async$goto = 0,
70901 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
70902 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
70903 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70904 if ($async$errorCode === 1)
70905 return A._asyncRethrow($async$result, $async$completer);
70906 while (true)
70907 switch ($async$goto) {
70908 case 0:
70909 // Function start
70910 t1 = type$.Value_2;
70911 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
70912 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
70913 t2 = node.pairs, t3 = t2.length, _i = 0;
70914 case 3:
70915 // for condition
70916 if (!(_i < t3)) {
70917 // goto after for
70918 $async$goto = 5;
70919 break;
70920 }
70921 pair = t2[_i];
70922 t4 = pair.item1;
70923 $async$goto = 6;
70924 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
70925 case 6:
70926 // returning from await.
70927 keyValue = $async$result;
70928 $async$goto = 7;
70929 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
70930 case 7:
70931 // returning from await.
70932 valueValue = $async$result;
70933 if (map.$index(0, keyValue) != null) {
70934 t1 = keyNodes.$index(0, keyValue);
70935 oldValueSpan = t1 == null ? null : t1.get$span(t1);
70936 t1 = J.getInterceptor$z(t4);
70937 t2 = t1.get$span(t4);
70938 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
70939 if (oldValueSpan != null)
70940 t3.$indexSet(0, oldValueSpan, "first key");
70941 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
70942 }
70943 map.$indexSet(0, keyValue, valueValue);
70944 keyNodes.$indexSet(0, keyValue, t4);
70945 case 4:
70946 // for update
70947 ++_i;
70948 // goto for condition
70949 $async$goto = 3;
70950 break;
70951 case 5:
70952 // after for
70953 $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
70954 // goto return
70955 $async$goto = 1;
70956 break;
70957 case 1:
70958 // return
70959 return A._asyncReturn($async$returnValue, $async$completer);
70960 }
70961 });
70962 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
70963 },
70964 visitFunctionExpression$1(node) {
70965 return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
70966 },
70967 visitFunctionExpression$body$_EvaluateVisitor0(node) {
70968 var $async$goto = 0,
70969 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70970 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
70971 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70972 if ($async$errorCode === 1)
70973 return A._asyncRethrow($async$result, $async$completer);
70974 while (true)
70975 switch ($async$goto) {
70976 case 0:
70977 // Function start
70978 t1 = {};
70979 $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
70980 t1.$function = $function;
70981 if ($function == null) {
70982 if (node.namespace != null)
70983 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
70984 t1.$function = new A.PlainCssCallable0(node.originalName);
70985 }
70986 oldInFunction = $async$self._async_evaluate0$_inFunction;
70987 $async$self._async_evaluate0$_inFunction = true;
70988 $async$goto = 3;
70989 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);
70990 case 3:
70991 // returning from await.
70992 result = $async$result;
70993 $async$self._async_evaluate0$_inFunction = oldInFunction;
70994 $async$returnValue = result;
70995 // goto return
70996 $async$goto = 1;
70997 break;
70998 case 1:
70999 // return
71000 return A._asyncReturn($async$returnValue, $async$completer);
71001 }
71002 });
71003 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
71004 },
71005 visitInterpolatedFunctionExpression$1(node) {
71006 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
71007 },
71008 visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
71009 var $async$goto = 0,
71010 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71011 $async$returnValue, $async$self = this, result, t1, oldInFunction;
71012 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71013 if ($async$errorCode === 1)
71014 return A._asyncRethrow($async$result, $async$completer);
71015 while (true)
71016 switch ($async$goto) {
71017 case 0:
71018 // Function start
71019 $async$goto = 3;
71020 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
71021 case 3:
71022 // returning from await.
71023 t1 = $async$result;
71024 oldInFunction = $async$self._async_evaluate0$_inFunction;
71025 $async$self._async_evaluate0$_inFunction = true;
71026 $async$goto = 4;
71027 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);
71028 case 4:
71029 // returning from await.
71030 result = $async$result;
71031 $async$self._async_evaluate0$_inFunction = oldInFunction;
71032 $async$returnValue = result;
71033 // goto return
71034 $async$goto = 1;
71035 break;
71036 case 1:
71037 // return
71038 return A._asyncReturn($async$returnValue, $async$completer);
71039 }
71040 });
71041 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
71042 },
71043 _async_evaluate0$_getFunction$2$namespace($name, namespace) {
71044 var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
71045 if (local != null || namespace != null)
71046 return local;
71047 return this._async_evaluate0$_builtInFunctions.$index(0, $name);
71048 },
71049 _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
71050 return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
71051 },
71052 _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
71053 var $async$goto = 0,
71054 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71055 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
71056 var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71057 if ($async$errorCode === 1)
71058 return A._asyncRethrow($async$result, $async$completer);
71059 while (true)
71060 switch ($async$goto) {
71061 case 0:
71062 // Function start
71063 $async$goto = 3;
71064 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
71065 case 3:
71066 // returning from await.
71067 evaluated = $async$result;
71068 $name = callable.declaration.name;
71069 if ($name !== "@content")
71070 $name += "()";
71071 oldCallable = $async$self._async_evaluate0$_currentCallable;
71072 $async$self._async_evaluate0$_currentCallable = callable;
71073 $async$goto = 4;
71074 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);
71075 case 4:
71076 // returning from await.
71077 result = $async$result;
71078 $async$self._async_evaluate0$_currentCallable = oldCallable;
71079 $async$returnValue = result;
71080 // goto return
71081 $async$goto = 1;
71082 break;
71083 case 1:
71084 // return
71085 return A._asyncReturn($async$returnValue, $async$completer);
71086 }
71087 });
71088 return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
71089 },
71090 _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
71091 return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
71092 },
71093 _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
71094 var $async$goto = 0,
71095 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71096 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
71097 var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71098 if ($async$errorCode === 1)
71099 return A._asyncRethrow($async$result, $async$completer);
71100 while (true)
71101 switch ($async$goto) {
71102 case 0:
71103 // Function start
71104 $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
71105 break;
71106 case 3:
71107 // then
71108 $async$goto = 6;
71109 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
71110 case 6:
71111 // returning from await.
71112 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
71113 // goto return
71114 $async$goto = 1;
71115 break;
71116 // goto join
71117 $async$goto = 4;
71118 break;
71119 case 5:
71120 // else
71121 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
71122 break;
71123 case 7:
71124 // then
71125 $async$goto = 10;
71126 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);
71127 case 10:
71128 // returning from await.
71129 $async$returnValue = $async$result;
71130 // goto return
71131 $async$goto = 1;
71132 break;
71133 // goto join
71134 $async$goto = 8;
71135 break;
71136 case 9:
71137 // else
71138 $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
71139 break;
71140 case 11:
71141 // then
71142 t1 = $arguments.named;
71143 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
71144 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
71145 t1 = callable.name + "(";
71146 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
71147 case 14:
71148 // for condition
71149 if (!(_i < t3)) {
71150 // goto after for
71151 $async$goto = 16;
71152 break;
71153 }
71154 argument = t2[_i];
71155 if (first)
71156 first = false;
71157 else
71158 t1 += ", ";
71159 $async$temp1 = A;
71160 $async$goto = 17;
71161 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
71162 case 17:
71163 // returning from await.
71164 t1 += $async$temp1.S($async$result);
71165 case 15:
71166 // for update
71167 ++_i;
71168 // goto for condition
71169 $async$goto = 14;
71170 break;
71171 case 16:
71172 // after for
71173 restArg = $arguments.rest;
71174 $async$goto = restArg != null ? 18 : 19;
71175 break;
71176 case 18:
71177 // then
71178 $async$goto = 20;
71179 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
71180 case 20:
71181 // returning from await.
71182 rest = $async$result;
71183 if (!first)
71184 t1 += ", ";
71185 t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
71186 case 19:
71187 // join
71188 t1 += A.Primitives_stringFromCharCode(41);
71189 $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
71190 // goto return
71191 $async$goto = 1;
71192 break;
71193 // goto join
71194 $async$goto = 12;
71195 break;
71196 case 13:
71197 // else
71198 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
71199 case 12:
71200 // join
71201 case 8:
71202 // join
71203 case 4:
71204 // join
71205 case 1:
71206 // return
71207 return A._asyncReturn($async$returnValue, $async$completer);
71208 }
71209 });
71210 return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
71211 },
71212 _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
71213 return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
71214 },
71215 _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
71216 var $async$goto = 0,
71217 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71218 $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;
71219 var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71220 if ($async$errorCode === 1) {
71221 $async$currentError = $async$result;
71222 $async$goto = $async$handler;
71223 }
71224 while (true)
71225 switch ($async$goto) {
71226 case 0:
71227 // Function start
71228 $async$goto = 3;
71229 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
71230 case 3:
71231 // returning from await.
71232 evaluated = $async$result;
71233 oldCallableNode = $async$self._async_evaluate0$_callableNode;
71234 $async$self._async_evaluate0$_callableNode = nodeWithSpan;
71235 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
71236 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
71237 overload = tuple.item1;
71238 callback = tuple.item2;
71239 $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
71240 declaredArguments = overload.$arguments;
71241 i = evaluated.positional.length, t1 = declaredArguments.length;
71242 case 4:
71243 // for condition
71244 if (!(i < t1)) {
71245 // goto after for
71246 $async$goto = 6;
71247 break;
71248 }
71249 argument = declaredArguments[i];
71250 t2 = evaluated.positional;
71251 t3 = evaluated.named.remove$1(0, argument.name);
71252 $async$goto = t3 == null ? 7 : 8;
71253 break;
71254 case 7:
71255 // then
71256 t3 = argument.defaultValue;
71257 $async$goto = 9;
71258 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
71259 case 9:
71260 // returning from await.
71261 t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
71262 case 8:
71263 // join
71264 t2.push(t3);
71265 case 5:
71266 // for update
71267 ++i;
71268 // goto for condition
71269 $async$goto = 4;
71270 break;
71271 case 6:
71272 // after for
71273 if (overload.restArgument != null) {
71274 if (evaluated.positional.length > t1) {
71275 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
71276 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
71277 } else
71278 rest = B.List_empty15;
71279 t1 = evaluated.named;
71280 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
71281 evaluated.positional.push(argumentList);
71282 } else
71283 argumentList = null;
71284 result = null;
71285 $async$handler = 11;
71286 $async$goto = 14;
71287 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
71288 case 14:
71289 // returning from await.
71290 result = $async$result;
71291 $async$handler = 2;
71292 // goto after finally
71293 $async$goto = 13;
71294 break;
71295 case 11:
71296 // catch
71297 $async$handler = 10;
71298 $async$exception = $async$currentError;
71299 t1 = A.unwrapException($async$exception);
71300 if (type$.SassRuntimeException_2._is(t1))
71301 throw $async$exception;
71302 else if (t1 instanceof A.MultiSpanSassScriptException0) {
71303 error = t1;
71304 stackTrace = A.getTraceFromException($async$exception);
71305 t1 = error.message;
71306 t2 = nodeWithSpan.get$span(nodeWithSpan);
71307 t3 = error.primaryLabel;
71308 t4 = error.secondarySpans;
71309 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);
71310 } else if (t1 instanceof A.MultiSpanSassException0) {
71311 error0 = t1;
71312 stackTrace0 = A.getTraceFromException($async$exception);
71313 t1 = error0._span_exception$_message;
71314 t2 = error0;
71315 t3 = J.getInterceptor$z(t2);
71316 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
71317 t3 = error0.primaryLabel;
71318 t4 = error0.secondarySpans;
71319 t5 = error0;
71320 t6 = J.getInterceptor$z(t5);
71321 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);
71322 } else {
71323 error1 = t1;
71324 stackTrace1 = A.getTraceFromException($async$exception);
71325 message = null;
71326 try {
71327 message = A._asString(J.get$message$x(error1));
71328 } catch (exception) {
71329 message0 = J.toString$0$(error1);
71330 message = message0;
71331 }
71332 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
71333 }
71334 // goto after finally
71335 $async$goto = 13;
71336 break;
71337 case 10:
71338 // uncaught
71339 // goto rethrow
71340 $async$goto = 2;
71341 break;
71342 case 13:
71343 // after finally
71344 $async$self._async_evaluate0$_callableNode = oldCallableNode;
71345 if (argumentList == null) {
71346 $async$returnValue = result;
71347 // goto return
71348 $async$goto = 1;
71349 break;
71350 }
71351 if (evaluated.named.__js_helper$_length === 0) {
71352 $async$returnValue = result;
71353 // goto return
71354 $async$goto = 1;
71355 break;
71356 }
71357 if (argumentList._argument_list$_wereKeywordsAccessed) {
71358 $async$returnValue = result;
71359 // goto return
71360 $async$goto = 1;
71361 break;
71362 }
71363 t1 = evaluated.named;
71364 t1 = t1.get$keys(t1);
71365 t1 = A.pluralize0("argument", t1.get$length(t1), null);
71366 t2 = evaluated.named;
71367 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))));
71368 case 1:
71369 // return
71370 return A._asyncReturn($async$returnValue, $async$completer);
71371 case 2:
71372 // rethrow
71373 return A._asyncRethrow($async$currentError, $async$completer);
71374 }
71375 });
71376 return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
71377 },
71378 _async_evaluate0$_evaluateArguments$1($arguments) {
71379 return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
71380 },
71381 _evaluateArguments$body$_EvaluateVisitor0($arguments) {
71382 var $async$goto = 0,
71383 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
71384 $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;
71385 var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71386 if ($async$errorCode === 1)
71387 return A._asyncRethrow($async$result, $async$completer);
71388 while (true)
71389 switch ($async$goto) {
71390 case 0:
71391 // Function start
71392 positional = A._setArrayType([], type$.JSArray_Value_2);
71393 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
71394 t1 = $arguments.positional, t2 = t1.length, _i = 0;
71395 case 3:
71396 // for condition
71397 if (!(_i < t2)) {
71398 // goto after for
71399 $async$goto = 5;
71400 break;
71401 }
71402 expression = t1[_i];
71403 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
71404 $async$temp1 = positional;
71405 $async$goto = 6;
71406 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71407 case 6:
71408 // returning from await.
71409 $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71410 positionalNodes.push(nodeForSpan);
71411 case 4:
71412 // for update
71413 ++_i;
71414 // goto for condition
71415 $async$goto = 3;
71416 break;
71417 case 5:
71418 // after for
71419 t1 = type$.String;
71420 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
71421 t2 = type$.AstNode_2;
71422 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71423 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
71424 case 7:
71425 // for condition
71426 if (!t3.moveNext$0()) {
71427 // goto after for
71428 $async$goto = 8;
71429 break;
71430 }
71431 t4 = t3.get$current(t3);
71432 t5 = t4.value;
71433 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
71434 t4 = t4.key;
71435 $async$temp1 = named;
71436 $async$temp2 = t4;
71437 $async$goto = 9;
71438 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71439 case 9:
71440 // returning from await.
71441 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71442 namedNodes.$indexSet(0, t4, nodeForSpan);
71443 // goto for condition
71444 $async$goto = 7;
71445 break;
71446 case 8:
71447 // after for
71448 restArgs = $arguments.rest;
71449 if (restArgs == null) {
71450 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
71451 // goto return
71452 $async$goto = 1;
71453 break;
71454 }
71455 $async$goto = 10;
71456 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71457 case 10:
71458 // returning from await.
71459 rest = $async$result;
71460 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
71461 if (rest instanceof A.SassMap0) {
71462 $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
71463 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71464 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
71465 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
71466 namedNodes.addAll$1(0, t3);
71467 separator = B.ListSeparator_undecided_null0;
71468 } else if (rest instanceof A.SassList0) {
71469 t3 = rest._list1$_contents;
71470 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>")));
71471 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
71472 separator = rest._list1$_separator;
71473 if (rest instanceof A.SassArgumentList0) {
71474 rest._argument_list$_wereKeywordsAccessed = true;
71475 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
71476 }
71477 } else {
71478 positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
71479 positionalNodes.push(restNodeForSpan);
71480 separator = B.ListSeparator_undecided_null0;
71481 }
71482 keywordRestArgs = $arguments.keywordRest;
71483 if (keywordRestArgs == null) {
71484 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71485 // goto return
71486 $async$goto = 1;
71487 break;
71488 }
71489 $async$goto = 11;
71490 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71491 case 11:
71492 // returning from await.
71493 keywordRest = $async$result;
71494 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
71495 if (keywordRest instanceof A.SassMap0) {
71496 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
71497 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71498 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
71499 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
71500 namedNodes.addAll$1(0, t1);
71501 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71502 // goto return
71503 $async$goto = 1;
71504 break;
71505 } else
71506 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
71507 case 1:
71508 // return
71509 return A._asyncReturn($async$returnValue, $async$completer);
71510 }
71511 });
71512 return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
71513 },
71514 _async_evaluate0$_evaluateMacroArguments$1(invocation) {
71515 return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
71516 },
71517 _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
71518 var $async$goto = 0,
71519 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
71520 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
71521 var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71522 if ($async$errorCode === 1)
71523 return A._asyncRethrow($async$result, $async$completer);
71524 while (true)
71525 switch ($async$goto) {
71526 case 0:
71527 // Function start
71528 t1 = invocation.$arguments;
71529 restArgs_ = t1.rest;
71530 if (restArgs_ == null) {
71531 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71532 // goto return
71533 $async$goto = 1;
71534 break;
71535 }
71536 t2 = t1.positional;
71537 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
71538 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
71539 $async$goto = 3;
71540 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71541 case 3:
71542 // returning from await.
71543 rest = $async$result;
71544 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
71545 if (rest instanceof A.SassMap0)
71546 $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
71547 else if (rest instanceof A.SassList0) {
71548 t2 = rest._list1$_contents;
71549 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>")));
71550 if (rest instanceof A.SassArgumentList0) {
71551 rest._argument_list$_wereKeywordsAccessed = true;
71552 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
71553 }
71554 } else
71555 positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
71556 keywordRestArgs_ = t1.keywordRest;
71557 if (keywordRestArgs_ == null) {
71558 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71559 // goto return
71560 $async$goto = 1;
71561 break;
71562 }
71563 $async$goto = 4;
71564 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71565 case 4:
71566 // returning from await.
71567 keywordRest = $async$result;
71568 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
71569 if (keywordRest instanceof A.SassMap0) {
71570 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
71571 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71572 // goto return
71573 $async$goto = 1;
71574 break;
71575 } else
71576 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
71577 case 1:
71578 // return
71579 return A._asyncReturn($async$returnValue, $async$completer);
71580 }
71581 });
71582 return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
71583 },
71584 _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
71585 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
71586 },
71587 _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
71588 return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
71589 },
71590 _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
71591 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
71592 },
71593 visitSelectorExpression$1(node) {
71594 return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
71595 },
71596 visitSelectorExpression$body$_EvaluateVisitor0(node) {
71597 var $async$goto = 0,
71598 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71599 $async$returnValue, $async$self = this, t1;
71600 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71601 if ($async$errorCode === 1)
71602 return A._asyncRethrow($async$result, $async$completer);
71603 while (true)
71604 switch ($async$goto) {
71605 case 0:
71606 // Function start
71607 t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71608 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
71609 $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
71610 // goto return
71611 $async$goto = 1;
71612 break;
71613 case 1:
71614 // return
71615 return A._asyncReturn($async$returnValue, $async$completer);
71616 }
71617 });
71618 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
71619 },
71620 visitStringExpression$1(node) {
71621 return this.visitStringExpression$body$_EvaluateVisitor0(node);
71622 },
71623 visitStringExpression$body$_EvaluateVisitor0(node) {
71624 var $async$goto = 0,
71625 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71626 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
71627 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71628 if ($async$errorCode === 1)
71629 return A._asyncRethrow($async$result, $async$completer);
71630 while (true)
71631 switch ($async$goto) {
71632 case 0:
71633 // Function start
71634 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
71635 $async$self._async_evaluate0$_inSupportsDeclaration = false;
71636 $async$temp1 = J;
71637 $async$goto = 3;
71638 return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
71639 case 3:
71640 // returning from await.
71641 t1 = $async$temp1.join$0$ax($async$result);
71642 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
71643 $async$returnValue = new A.SassString0(t1, node.hasQuotes);
71644 // goto return
71645 $async$goto = 1;
71646 break;
71647 case 1:
71648 // return
71649 return A._asyncReturn($async$returnValue, $async$completer);
71650 }
71651 });
71652 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
71653 },
71654 visitSupportsExpression$1(expression) {
71655 return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
71656 },
71657 visitSupportsExpression$body$_EvaluateVisitor0(expression) {
71658 var $async$goto = 0,
71659 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71660 $async$returnValue, $async$self = this, $async$temp1;
71661 var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71662 if ($async$errorCode === 1)
71663 return A._asyncRethrow($async$result, $async$completer);
71664 while (true)
71665 switch ($async$goto) {
71666 case 0:
71667 // Function start
71668 $async$temp1 = A;
71669 $async$goto = 3;
71670 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
71671 case 3:
71672 // returning from await.
71673 $async$returnValue = new $async$temp1.SassString0($async$result, false);
71674 // goto return
71675 $async$goto = 1;
71676 break;
71677 case 1:
71678 // return
71679 return A._asyncReturn($async$returnValue, $async$completer);
71680 }
71681 });
71682 return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
71683 },
71684 visitCssAtRule$1(node) {
71685 return this.visitCssAtRule$body$_EvaluateVisitor0(node);
71686 },
71687 visitCssAtRule$body$_EvaluateVisitor0(node) {
71688 var $async$goto = 0,
71689 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71690 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
71691 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71692 if ($async$errorCode === 1)
71693 return A._asyncRethrow($async$result, $async$completer);
71694 while (true)
71695 switch ($async$goto) {
71696 case 0:
71697 // Function start
71698 if ($async$self._async_evaluate0$_declarationName != null)
71699 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
71700 if (node.isChildless) {
71701 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
71702 // goto return
71703 $async$goto = 1;
71704 break;
71705 }
71706 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
71707 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
71708 t1 = node.name;
71709 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
71710 $async$self._async_evaluate0$_inKeyframes = true;
71711 else
71712 $async$self._async_evaluate0$_inUnknownAtRule = true;
71713 $async$goto = 3;
71714 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);
71715 case 3:
71716 // returning from await.
71717 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
71718 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
71719 case 1:
71720 // return
71721 return A._asyncReturn($async$returnValue, $async$completer);
71722 }
71723 });
71724 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
71725 },
71726 visitCssComment$1(node) {
71727 return this.visitCssComment$body$_EvaluateVisitor0(node);
71728 },
71729 visitCssComment$body$_EvaluateVisitor0(node) {
71730 var $async$goto = 0,
71731 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71732 $async$self = this;
71733 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71734 if ($async$errorCode === 1)
71735 return A._asyncRethrow($async$result, $async$completer);
71736 while (true)
71737 switch ($async$goto) {
71738 case 0:
71739 // Function start
71740 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))
71741 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71742 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
71743 // implicit return
71744 return A._asyncReturn(null, $async$completer);
71745 }
71746 });
71747 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
71748 },
71749 visitCssDeclaration$1(node) {
71750 return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
71751 },
71752 visitCssDeclaration$body$_EvaluateVisitor0(node) {
71753 var $async$goto = 0,
71754 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71755 $async$self = this, t1;
71756 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71757 if ($async$errorCode === 1)
71758 return A._asyncRethrow($async$result, $async$completer);
71759 while (true)
71760 switch ($async$goto) {
71761 case 0:
71762 // Function start
71763 t1 = node.name;
71764 $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));
71765 // implicit return
71766 return A._asyncReturn(null, $async$completer);
71767 }
71768 });
71769 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
71770 },
71771 visitCssImport$1(node) {
71772 return this.visitCssImport$body$_EvaluateVisitor0(node);
71773 },
71774 visitCssImport$body$_EvaluateVisitor0(node) {
71775 var $async$goto = 0,
71776 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71777 $async$self = this, t1, modifiableNode;
71778 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71779 if ($async$errorCode === 1)
71780 return A._asyncRethrow($async$result, $async$completer);
71781 while (true)
71782 switch ($async$goto) {
71783 case 0:
71784 // Function start
71785 modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
71786 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"))
71787 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
71788 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)) {
71789 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
71790 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71791 } else {
71792 t1 = $async$self._async_evaluate0$_outOfOrderImports;
71793 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
71794 }
71795 // implicit return
71796 return A._asyncReturn(null, $async$completer);
71797 }
71798 });
71799 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
71800 },
71801 visitCssKeyframeBlock$1(node) {
71802 return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
71803 },
71804 visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
71805 var $async$goto = 0,
71806 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71807 $async$self = this;
71808 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71809 if ($async$errorCode === 1)
71810 return A._asyncRethrow($async$result, $async$completer);
71811 while (true)
71812 switch ($async$goto) {
71813 case 0:
71814 // Function start
71815 $async$goto = 2;
71816 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);
71817 case 2:
71818 // returning from await.
71819 // implicit return
71820 return A._asyncReturn(null, $async$completer);
71821 }
71822 });
71823 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
71824 },
71825 visitCssMediaRule$1(node) {
71826 return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
71827 },
71828 visitCssMediaRule$body$_EvaluateVisitor0(node) {
71829 var $async$goto = 0,
71830 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71831 $async$returnValue, $async$self = this, mergedQueries, t1;
71832 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71833 if ($async$errorCode === 1)
71834 return A._asyncRethrow($async$result, $async$completer);
71835 while (true)
71836 switch ($async$goto) {
71837 case 0:
71838 // Function start
71839 if ($async$self._async_evaluate0$_declarationName != null)
71840 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
71841 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
71842 t1 = mergedQueries == null;
71843 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
71844 // goto return
71845 $async$goto = 1;
71846 break;
71847 }
71848 t1 = t1 ? node.queries : mergedQueries;
71849 $async$goto = 3;
71850 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);
71851 case 3:
71852 // returning from await.
71853 case 1:
71854 // return
71855 return A._asyncReturn($async$returnValue, $async$completer);
71856 }
71857 });
71858 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
71859 },
71860 visitCssStyleRule$1(node) {
71861 return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
71862 },
71863 visitCssStyleRule$body$_EvaluateVisitor0(node) {
71864 var $async$goto = 0,
71865 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71866 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
71867 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71868 if ($async$errorCode === 1)
71869 return A._asyncRethrow($async$result, $async$completer);
71870 while (true)
71871 switch ($async$goto) {
71872 case 0:
71873 // Function start
71874 if ($async$self._async_evaluate0$_declarationName != null)
71875 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
71876 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71877 styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71878 t2 = node.selector;
71879 t3 = t2.value;
71880 t4 = styleRule == null;
71881 t5 = t4 ? null : styleRule.originalSelector;
71882 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
71883 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);
71884 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71885 $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
71886 $async$goto = 2;
71887 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);
71888 case 2:
71889 // returning from await.
71890 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
71891 if (t4) {
71892 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71893 t1 = !t1.get$isEmpty(t1);
71894 } else
71895 t1 = false;
71896 if (t1) {
71897 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71898 t1.get$last(t1).isGroupEnd = true;
71899 }
71900 // implicit return
71901 return A._asyncReturn(null, $async$completer);
71902 }
71903 });
71904 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
71905 },
71906 visitCssStylesheet$1(node) {
71907 return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
71908 },
71909 visitCssStylesheet$body$_EvaluateVisitor0(node) {
71910 var $async$goto = 0,
71911 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71912 $async$self = this, t1;
71913 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71914 if ($async$errorCode === 1)
71915 return A._asyncRethrow($async$result, $async$completer);
71916 while (true)
71917 switch ($async$goto) {
71918 case 0:
71919 // Function start
71920 t1 = J.get$iterator$ax(node.get$children(node));
71921 case 2:
71922 // for condition
71923 if (!t1.moveNext$0()) {
71924 // goto after for
71925 $async$goto = 3;
71926 break;
71927 }
71928 $async$goto = 4;
71929 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
71930 case 4:
71931 // returning from await.
71932 // goto for condition
71933 $async$goto = 2;
71934 break;
71935 case 3:
71936 // after for
71937 // implicit return
71938 return A._asyncReturn(null, $async$completer);
71939 }
71940 });
71941 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
71942 },
71943 visitCssSupportsRule$1(node) {
71944 return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
71945 },
71946 visitCssSupportsRule$body$_EvaluateVisitor0(node) {
71947 var $async$goto = 0,
71948 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71949 $async$self = this;
71950 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71951 if ($async$errorCode === 1)
71952 return A._asyncRethrow($async$result, $async$completer);
71953 while (true)
71954 switch ($async$goto) {
71955 case 0:
71956 // Function start
71957 if ($async$self._async_evaluate0$_declarationName != null)
71958 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
71959 $async$goto = 2;
71960 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);
71961 case 2:
71962 // returning from await.
71963 // implicit return
71964 return A._asyncReturn(null, $async$completer);
71965 }
71966 });
71967 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
71968 },
71969 _async_evaluate0$_handleReturn$1$2(list, callback) {
71970 return this._handleReturn$body$_EvaluateVisitor0(list, callback);
71971 },
71972 _async_evaluate0$_handleReturn$2(list, callback) {
71973 return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
71974 },
71975 _handleReturn$body$_EvaluateVisitor0(list, callback) {
71976 var $async$goto = 0,
71977 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
71978 $async$returnValue, t1, _i, result;
71979 var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71980 if ($async$errorCode === 1)
71981 return A._asyncRethrow($async$result, $async$completer);
71982 while (true)
71983 switch ($async$goto) {
71984 case 0:
71985 // Function start
71986 t1 = list.length, _i = 0;
71987 case 3:
71988 // for condition
71989 if (!(_i < list.length)) {
71990 // goto after for
71991 $async$goto = 5;
71992 break;
71993 }
71994 $async$goto = 6;
71995 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
71996 case 6:
71997 // returning from await.
71998 result = $async$result;
71999 if (result != null) {
72000 $async$returnValue = result;
72001 // goto return
72002 $async$goto = 1;
72003 break;
72004 }
72005 case 4:
72006 // for update
72007 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
72008 // goto for condition
72009 $async$goto = 3;
72010 break;
72011 case 5:
72012 // after for
72013 $async$returnValue = null;
72014 // goto return
72015 $async$goto = 1;
72016 break;
72017 case 1:
72018 // return
72019 return A._asyncReturn($async$returnValue, $async$completer);
72020 }
72021 });
72022 return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
72023 },
72024 _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
72025 return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
72026 },
72027 _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
72028 var $async$goto = 0,
72029 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72030 $async$returnValue, $async$self = this, result, oldEnvironment;
72031 var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72032 if ($async$errorCode === 1)
72033 return A._asyncRethrow($async$result, $async$completer);
72034 while (true)
72035 switch ($async$goto) {
72036 case 0:
72037 // Function start
72038 oldEnvironment = $async$self._async_evaluate0$_environment;
72039 $async$self._async_evaluate0$_environment = environment;
72040 $async$goto = 3;
72041 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
72042 case 3:
72043 // returning from await.
72044 result = $async$result;
72045 $async$self._async_evaluate0$_environment = oldEnvironment;
72046 $async$returnValue = result;
72047 // goto return
72048 $async$goto = 1;
72049 break;
72050 case 1:
72051 // return
72052 return A._asyncReturn($async$returnValue, $async$completer);
72053 }
72054 });
72055 return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
72056 },
72057 _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
72058 return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
72059 },
72060 _async_evaluate0$_interpolationToValue$1(interpolation) {
72061 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
72062 },
72063 _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
72064 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
72065 },
72066 _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
72067 var $async$goto = 0,
72068 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
72069 $async$returnValue, $async$self = this, result, t1;
72070 var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72071 if ($async$errorCode === 1)
72072 return A._asyncRethrow($async$result, $async$completer);
72073 while (true)
72074 switch ($async$goto) {
72075 case 0:
72076 // Function start
72077 $async$goto = 3;
72078 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
72079 case 3:
72080 // returning from await.
72081 result = $async$result;
72082 t1 = trim ? A.trimAscii0(result, true) : result;
72083 $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
72084 // goto return
72085 $async$goto = 1;
72086 break;
72087 case 1:
72088 // return
72089 return A._asyncReturn($async$returnValue, $async$completer);
72090 }
72091 });
72092 return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
72093 },
72094 _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
72095 return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
72096 },
72097 _async_evaluate0$_performInterpolation$1(interpolation) {
72098 return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
72099 },
72100 _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
72101 var $async$goto = 0,
72102 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
72103 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
72104 var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72105 if ($async$errorCode === 1)
72106 return A._asyncRethrow($async$result, $async$completer);
72107 while (true)
72108 switch ($async$goto) {
72109 case 0:
72110 // Function start
72111 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
72112 $async$self._async_evaluate0$_inSupportsDeclaration = false;
72113 $async$temp1 = J;
72114 $async$goto = 3;
72115 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);
72116 case 3:
72117 // returning from await.
72118 result = $async$temp1.join$0$ax($async$result);
72119 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
72120 $async$returnValue = result;
72121 // goto return
72122 $async$goto = 1;
72123 break;
72124 case 1:
72125 // return
72126 return A._asyncReturn($async$returnValue, $async$completer);
72127 }
72128 });
72129 return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
72130 },
72131 _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
72132 return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
72133 },
72134 _async_evaluate0$_evaluateToCss$1(expression) {
72135 return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
72136 },
72137 _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
72138 var $async$goto = 0,
72139 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
72140 $async$returnValue, $async$self = this;
72141 var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72142 if ($async$errorCode === 1)
72143 return A._asyncRethrow($async$result, $async$completer);
72144 while (true)
72145 switch ($async$goto) {
72146 case 0:
72147 // Function start
72148 $async$goto = 3;
72149 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
72150 case 3:
72151 // returning from await.
72152 $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
72153 // goto return
72154 $async$goto = 1;
72155 break;
72156 case 1:
72157 // return
72158 return A._asyncReturn($async$returnValue, $async$completer);
72159 }
72160 });
72161 return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
72162 },
72163 _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
72164 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
72165 },
72166 _async_evaluate0$_serialize$2(value, nodeWithSpan) {
72167 return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
72168 },
72169 _async_evaluate0$_expressionNode$1(expression) {
72170 var t1;
72171 if (expression instanceof A.VariableExpression0) {
72172 t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
72173 return t1 == null ? expression : t1;
72174 } else
72175 return expression;
72176 },
72177 _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
72178 return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
72179 },
72180 _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
72181 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
72182 },
72183 _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
72184 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
72185 },
72186 _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
72187 var $async$goto = 0,
72188 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72189 $async$returnValue, $async$self = this, t1, result;
72190 var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72191 if ($async$errorCode === 1)
72192 return A._asyncRethrow($async$result, $async$completer);
72193 while (true)
72194 switch ($async$goto) {
72195 case 0:
72196 // Function start
72197 $async$self._async_evaluate0$_addChild$2$through(node, through);
72198 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
72199 $async$self._async_evaluate0$__parent = node;
72200 $async$goto = 3;
72201 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
72202 case 3:
72203 // returning from await.
72204 result = $async$result;
72205 $async$self._async_evaluate0$__parent = t1;
72206 $async$returnValue = result;
72207 // goto return
72208 $async$goto = 1;
72209 break;
72210 case 1:
72211 // return
72212 return A._asyncReturn($async$returnValue, $async$completer);
72213 }
72214 });
72215 return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
72216 },
72217 _async_evaluate0$_addChild$2$through(node, through) {
72218 var grandparent, t1,
72219 $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
72220 if (through != null) {
72221 for (; through.call$1($parent); $parent = grandparent) {
72222 grandparent = $parent._node1$_parent;
72223 if (grandparent == null)
72224 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
72225 }
72226 if ($parent.get$hasFollowingSibling()) {
72227 t1 = $parent._node1$_parent;
72228 t1.toString;
72229 $parent = $parent.copyWithoutChildren$0();
72230 t1.addChild$1($parent);
72231 }
72232 }
72233 $parent.addChild$1(node);
72234 },
72235 _async_evaluate0$_addChild$1(node) {
72236 return this._async_evaluate0$_addChild$2$through(node, null);
72237 },
72238 _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
72239 return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
72240 },
72241 _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
72242 var $async$goto = 0,
72243 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72244 $async$returnValue, $async$self = this, result, oldRule;
72245 var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72246 if ($async$errorCode === 1)
72247 return A._asyncRethrow($async$result, $async$completer);
72248 while (true)
72249 switch ($async$goto) {
72250 case 0:
72251 // Function start
72252 oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
72253 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
72254 $async$goto = 3;
72255 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
72256 case 3:
72257 // returning from await.
72258 result = $async$result;
72259 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
72260 $async$returnValue = result;
72261 // goto return
72262 $async$goto = 1;
72263 break;
72264 case 1:
72265 // return
72266 return A._asyncReturn($async$returnValue, $async$completer);
72267 }
72268 });
72269 return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
72270 },
72271 _async_evaluate0$_withMediaQueries$1$2(queries, callback, $T) {
72272 return this._withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $T);
72273 },
72274 _withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $async$type) {
72275 var $async$goto = 0,
72276 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72277 $async$returnValue, $async$self = this, result, oldMediaQueries;
72278 var $async$_async_evaluate0$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72279 if ($async$errorCode === 1)
72280 return A._asyncRethrow($async$result, $async$completer);
72281 while (true)
72282 switch ($async$goto) {
72283 case 0:
72284 // Function start
72285 oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
72286 $async$self._async_evaluate0$_mediaQueries = queries;
72287 $async$goto = 3;
72288 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$2);
72289 case 3:
72290 // returning from await.
72291 result = $async$result;
72292 $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
72293 $async$returnValue = result;
72294 // goto return
72295 $async$goto = 1;
72296 break;
72297 case 1:
72298 // return
72299 return A._asyncReturn($async$returnValue, $async$completer);
72300 }
72301 });
72302 return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$2, $async$completer);
72303 },
72304 _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
72305 return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
72306 },
72307 _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
72308 var $async$goto = 0,
72309 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72310 $async$returnValue, $async$self = this, oldMember, result, t1;
72311 var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72312 if ($async$errorCode === 1)
72313 return A._asyncRethrow($async$result, $async$completer);
72314 while (true)
72315 switch ($async$goto) {
72316 case 0:
72317 // Function start
72318 t1 = $async$self._async_evaluate0$_stack;
72319 t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
72320 oldMember = $async$self._async_evaluate0$_member;
72321 $async$self._async_evaluate0$_member = member;
72322 $async$goto = 3;
72323 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
72324 case 3:
72325 // returning from await.
72326 result = $async$result;
72327 $async$self._async_evaluate0$_member = oldMember;
72328 t1.pop();
72329 $async$returnValue = result;
72330 // goto return
72331 $async$goto = 1;
72332 break;
72333 case 1:
72334 // return
72335 return A._asyncReturn($async$returnValue, $async$completer);
72336 }
72337 });
72338 return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
72339 },
72340 _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
72341 if (value instanceof A.SassNumber0 && value.asSlash != null)
72342 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);
72343 return value.withoutSlash$0();
72344 },
72345 _async_evaluate0$_stackFrame$2(member, span) {
72346 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure2(this)));
72347 },
72348 _async_evaluate0$_stackTrace$1(span) {
72349 var _this = this,
72350 t1 = _this._async_evaluate0$_stack;
72351 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);
72352 if (span != null)
72353 t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
72354 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
72355 },
72356 _async_evaluate0$_stackTrace$0() {
72357 return this._async_evaluate0$_stackTrace$1(null);
72358 },
72359 _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
72360 var t1, _this = this;
72361 if (_this._async_evaluate0$_quietDeps)
72362 if (!_this._async_evaluate0$_inDependency) {
72363 t1 = _this._async_evaluate0$_currentCallable;
72364 t1 = t1 == null ? null : t1.inDependency;
72365 t1 = t1 === true;
72366 } else
72367 t1 = true;
72368 else
72369 t1 = false;
72370 if (t1)
72371 return;
72372 if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
72373 return;
72374 _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
72375 },
72376 _async_evaluate0$_warn$2(message, span) {
72377 return this._async_evaluate0$_warn$3$deprecation(message, span, false);
72378 },
72379 _async_evaluate0$_exception$2(message, span) {
72380 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
72381 return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
72382 },
72383 _async_evaluate0$_exception$1(message) {
72384 return this._async_evaluate0$_exception$2(message, null);
72385 },
72386 _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
72387 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
72388 return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
72389 },
72390 _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
72391 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
72392 try {
72393 t1 = callback.call$0();
72394 return t1;
72395 } catch (exception) {
72396 t1 = A.unwrapException(exception);
72397 if (t1 instanceof A.SassFormatException0) {
72398 error = t1;
72399 stackTrace = A.getTraceFromException(exception);
72400 t1 = error;
72401 t2 = J.getInterceptor$z(t1);
72402 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
72403 span = nodeWithSpan.get$span(nodeWithSpan);
72404 t1 = span;
72405 t2 = span;
72406 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);
72407 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
72408 t1 = span;
72409 t1 = A.FileLocation$_(t1.file, t1._file$_start);
72410 t3 = error;
72411 t4 = J.getInterceptor$z(t3);
72412 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72413 t3 = A.FileLocation$_(t3.file, t3._file$_start);
72414 t4 = span;
72415 t4 = A.FileLocation$_(t4.file, t4._file$_start);
72416 t5 = error;
72417 t6 = J.getInterceptor$z(t5);
72418 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
72419 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
72420 A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
72421 } else
72422 throw exception;
72423 }
72424 },
72425 _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
72426 return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
72427 },
72428 _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
72429 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
72430 try {
72431 t1 = callback.call$0();
72432 return t1;
72433 } catch (exception) {
72434 t1 = A.unwrapException(exception);
72435 if (t1 instanceof A.MultiSpanSassScriptException0) {
72436 error = t1;
72437 stackTrace = A.getTraceFromException(exception);
72438 t1 = error.message;
72439 t2 = nodeWithSpan.get$span(nodeWithSpan);
72440 t3 = error.primaryLabel;
72441 t4 = error.secondarySpans;
72442 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);
72443 } else if (t1 instanceof A.SassScriptException0) {
72444 error0 = t1;
72445 stackTrace0 = A.getTraceFromException(exception);
72446 A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72447 } else
72448 throw exception;
72449 }
72450 },
72451 _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
72452 return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
72453 },
72454 _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
72455 return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72456 },
72457 _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72458 var $async$goto = 0,
72459 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72460 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
72461 var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72462 if ($async$errorCode === 1) {
72463 $async$currentError = $async$result;
72464 $async$goto = $async$handler;
72465 }
72466 while (true)
72467 switch ($async$goto) {
72468 case 0:
72469 // Function start
72470 $async$handler = 4;
72471 $async$goto = 7;
72472 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
72473 case 7:
72474 // returning from await.
72475 t1 = $async$result;
72476 $async$returnValue = t1;
72477 // goto return
72478 $async$goto = 1;
72479 break;
72480 $async$handler = 2;
72481 // goto after finally
72482 $async$goto = 6;
72483 break;
72484 case 4:
72485 // catch
72486 $async$handler = 3;
72487 $async$exception = $async$currentError;
72488 t1 = A.unwrapException($async$exception);
72489 if (t1 instanceof A.MultiSpanSassScriptException0) {
72490 error = t1;
72491 stackTrace = A.getTraceFromException($async$exception);
72492 t1 = error.message;
72493 t2 = nodeWithSpan.get$span(nodeWithSpan);
72494 t3 = error.primaryLabel;
72495 t4 = error.secondarySpans;
72496 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);
72497 } else if (t1 instanceof A.SassScriptException0) {
72498 error0 = t1;
72499 stackTrace0 = A.getTraceFromException($async$exception);
72500 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72501 } else
72502 throw $async$exception;
72503 // goto after finally
72504 $async$goto = 6;
72505 break;
72506 case 3:
72507 // uncaught
72508 // goto rethrow
72509 $async$goto = 2;
72510 break;
72511 case 6:
72512 // after finally
72513 case 1:
72514 // return
72515 return A._asyncReturn($async$returnValue, $async$completer);
72516 case 2:
72517 // rethrow
72518 return A._asyncRethrow($async$currentError, $async$completer);
72519 }
72520 });
72521 return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
72522 },
72523 _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
72524 return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72525 },
72526 _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72527 var $async$goto = 0,
72528 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72529 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
72530 var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72531 if ($async$errorCode === 1) {
72532 $async$currentError = $async$result;
72533 $async$goto = $async$handler;
72534 }
72535 while (true)
72536 switch ($async$goto) {
72537 case 0:
72538 // Function start
72539 $async$handler = 4;
72540 $async$goto = 7;
72541 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
72542 case 7:
72543 // returning from await.
72544 t1 = $async$result;
72545 $async$returnValue = t1;
72546 // goto return
72547 $async$goto = 1;
72548 break;
72549 $async$handler = 2;
72550 // goto after finally
72551 $async$goto = 6;
72552 break;
72553 case 4:
72554 // catch
72555 $async$handler = 3;
72556 $async$exception = $async$currentError;
72557 t1 = A.unwrapException($async$exception);
72558 if (type$.SassRuntimeException_2._is(t1)) {
72559 error = t1;
72560 stackTrace = A.getTraceFromException($async$exception);
72561 t1 = J.get$span$z(error);
72562 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"))
72563 throw $async$exception;
72564 t1 = error._span_exception$_message;
72565 t2 = nodeWithSpan.get$span(nodeWithSpan);
72566 A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
72567 } else
72568 throw $async$exception;
72569 // goto after finally
72570 $async$goto = 6;
72571 break;
72572 case 3:
72573 // uncaught
72574 // goto rethrow
72575 $async$goto = 2;
72576 break;
72577 case 6:
72578 // after finally
72579 case 1:
72580 // return
72581 return A._asyncReturn($async$returnValue, $async$completer);
72582 case 2:
72583 // rethrow
72584 return A._asyncRethrow($async$currentError, $async$completer);
72585 }
72586 });
72587 return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
72588 }
72589 };
72590 A._EvaluateVisitor_closure29.prototype = {
72591 call$1($arguments) {
72592 var module, t2,
72593 t1 = J.getInterceptor$asx($arguments),
72594 variable = t1.$index($arguments, 0).assertString$1("name");
72595 t1 = t1.$index($arguments, 1).get$realNull();
72596 module = t1 == null ? null : t1.assertString$1("module");
72597 t1 = this.$this._async_evaluate0$_environment;
72598 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72599 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
72600 },
72601 $signature: 18
72602 };
72603 A._EvaluateVisitor_closure30.prototype = {
72604 call$1($arguments) {
72605 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
72606 t1 = this.$this._async_evaluate0$_environment;
72607 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72608 },
72609 $signature: 18
72610 };
72611 A._EvaluateVisitor_closure31.prototype = {
72612 call$1($arguments) {
72613 var module, t2, t3, t4,
72614 t1 = J.getInterceptor$asx($arguments),
72615 variable = t1.$index($arguments, 0).assertString$1("name");
72616 t1 = t1.$index($arguments, 1).get$realNull();
72617 module = t1 == null ? null : t1.assertString$1("module");
72618 t1 = this.$this;
72619 t2 = t1._async_evaluate0$_environment;
72620 t3 = variable._string0$_text;
72621 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
72622 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;
72623 },
72624 $signature: 18
72625 };
72626 A._EvaluateVisitor_closure32.prototype = {
72627 call$1($arguments) {
72628 var module, t2,
72629 t1 = J.getInterceptor$asx($arguments),
72630 variable = t1.$index($arguments, 0).assertString$1("name");
72631 t1 = t1.$index($arguments, 1).get$realNull();
72632 module = t1 == null ? null : t1.assertString$1("module");
72633 t1 = this.$this._async_evaluate0$_environment;
72634 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72635 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72636 },
72637 $signature: 18
72638 };
72639 A._EvaluateVisitor_closure33.prototype = {
72640 call$1($arguments) {
72641 var t1 = this.$this._async_evaluate0$_environment;
72642 if (!t1._async_environment0$_inMixin)
72643 throw A.wrapException(A.SassScriptException$0(string$.conten));
72644 return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72645 },
72646 $signature: 18
72647 };
72648 A._EvaluateVisitor_closure34.prototype = {
72649 call$1($arguments) {
72650 var t2, t3, t4,
72651 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72652 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72653 if (module == null)
72654 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72655 t1 = type$.Value_2;
72656 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72657 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72658 t4 = t3.get$current(t3);
72659 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
72660 }
72661 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72662 },
72663 $signature: 40
72664 };
72665 A._EvaluateVisitor_closure35.prototype = {
72666 call$1($arguments) {
72667 var t2, t3, t4,
72668 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72669 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72670 if (module == null)
72671 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72672 t1 = type$.Value_2;
72673 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72674 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72675 t4 = t3.get$current(t3);
72676 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
72677 }
72678 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72679 },
72680 $signature: 40
72681 };
72682 A._EvaluateVisitor_closure36.prototype = {
72683 call$1($arguments) {
72684 var module, callable, t2,
72685 t1 = J.getInterceptor$asx($arguments),
72686 $name = t1.$index($arguments, 0).assertString$1("name"),
72687 css = t1.$index($arguments, 1).get$isTruthy();
72688 t1 = t1.$index($arguments, 2).get$realNull();
72689 module = t1 == null ? null : t1.assertString$1("module");
72690 if (css && module != null)
72691 throw A.wrapException(string$.x24css_a);
72692 if (css)
72693 callable = new A.PlainCssCallable0($name._string0$_text);
72694 else {
72695 t1 = this.$this;
72696 t2 = t1._async_evaluate0$_callableNode;
72697 t2.toString;
72698 callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
72699 }
72700 if (callable != null)
72701 return new A.SassFunction0(callable);
72702 throw A.wrapException("Function not found: " + $name.toString$0(0));
72703 },
72704 $signature: 162
72705 };
72706 A._EvaluateVisitor__closure10.prototype = {
72707 call$0() {
72708 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
72709 t2 = this.module;
72710 t2 = t2 == null ? null : t2._string0$_text;
72711 return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
72712 },
72713 $signature: 115
72714 };
72715 A._EvaluateVisitor_closure37.prototype = {
72716 call$1($arguments) {
72717 return this.$call$body$_EvaluateVisitor_closure2($arguments);
72718 },
72719 $call$body$_EvaluateVisitor_closure2($arguments) {
72720 var $async$goto = 0,
72721 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
72722 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
72723 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72724 if ($async$errorCode === 1)
72725 return A._asyncRethrow($async$result, $async$completer);
72726 while (true)
72727 switch ($async$goto) {
72728 case 0:
72729 // Function start
72730 t1 = J.getInterceptor$asx($arguments);
72731 $function = t1.$index($arguments, 0);
72732 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
72733 t1 = $async$self.$this;
72734 t2 = t1._async_evaluate0$_callableNode;
72735 t2.toString;
72736 t3 = A._setArrayType([], type$.JSArray_Expression_2);
72737 t4 = type$.String;
72738 t5 = type$.Expression_2;
72739 t6 = t2.get$span(t2);
72740 t7 = t2.get$span(t2);
72741 args._argument_list$_wereKeywordsAccessed = true;
72742 t8 = args._argument_list$_keywords;
72743 if (t8.get$isEmpty(t8))
72744 t2 = null;
72745 else {
72746 t9 = type$.Value_2;
72747 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
72748 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
72749 t11 = t8.get$current(t8);
72750 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
72751 }
72752 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
72753 }
72754 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);
72755 $async$goto = $function instanceof A.SassString0 ? 3 : 4;
72756 break;
72757 case 3:
72758 // then
72759 t2 = $function.toString$0(0);
72760 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
72761 callableNode = t1._async_evaluate0$_callableNode;
72762 $async$goto = 5;
72763 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
72764 case 5:
72765 // returning from await.
72766 $async$returnValue = $async$result;
72767 // goto return
72768 $async$goto = 1;
72769 break;
72770 case 4:
72771 // join
72772 t2 = $function.assertFunction$1("function");
72773 t3 = t1._async_evaluate0$_callableNode;
72774 t3.toString;
72775 $async$goto = 6;
72776 return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
72777 case 6:
72778 // returning from await.
72779 t3 = $async$result;
72780 $async$returnValue = t3;
72781 // goto return
72782 $async$goto = 1;
72783 break;
72784 case 1:
72785 // return
72786 return A._asyncReturn($async$returnValue, $async$completer);
72787 }
72788 });
72789 return A._asyncStartSync($async$call$1, $async$completer);
72790 },
72791 $signature: 99
72792 };
72793 A._EvaluateVisitor_closure38.prototype = {
72794 call$1($arguments) {
72795 return this.$call$body$_EvaluateVisitor_closure1($arguments);
72796 },
72797 $call$body$_EvaluateVisitor_closure1($arguments) {
72798 var $async$goto = 0,
72799 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72800 $async$self = this, withMap, t2, values, configuration, t1, url;
72801 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72802 if ($async$errorCode === 1)
72803 return A._asyncRethrow($async$result, $async$completer);
72804 while (true)
72805 switch ($async$goto) {
72806 case 0:
72807 // Function start
72808 t1 = J.getInterceptor$asx($arguments);
72809 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
72810 t1 = t1.$index($arguments, 1).get$realNull();
72811 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
72812 t1 = $async$self.$this;
72813 t2 = t1._async_evaluate0$_callableNode;
72814 t2.toString;
72815 if (withMap != null) {
72816 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
72817 withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
72818 configuration = new A.ExplicitConfiguration0(t2, values);
72819 } else
72820 configuration = B.Configuration_Map_empty0;
72821 $async$goto = 2;
72822 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);
72823 case 2:
72824 // returning from await.
72825 t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
72826 // implicit return
72827 return A._asyncReturn(null, $async$completer);
72828 }
72829 });
72830 return A._asyncStartSync($async$call$1, $async$completer);
72831 },
72832 $signature: 315
72833 };
72834 A._EvaluateVisitor__closure8.prototype = {
72835 call$2(variable, value) {
72836 var t1 = variable.assertString$1("with key"),
72837 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
72838 t1 = this.values;
72839 if (t1.containsKey$1($name))
72840 throw A.wrapException("The variable $" + $name + " was configured twice.");
72841 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
72842 },
72843 $signature: 55
72844 };
72845 A._EvaluateVisitor__closure9.prototype = {
72846 call$1(module) {
72847 var t1 = this.$this;
72848 return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
72849 },
72850 $signature: 165
72851 };
72852 A._EvaluateVisitor_run_closure2.prototype = {
72853 call$0() {
72854 var $async$goto = 0,
72855 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
72856 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
72857 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72858 if ($async$errorCode === 1)
72859 return A._asyncRethrow($async$result, $async$completer);
72860 while (true)
72861 switch ($async$goto) {
72862 case 0:
72863 // Function start
72864 t1 = $async$self.node;
72865 url = t1.span.file.url;
72866 if (url != null) {
72867 t2 = $async$self.$this;
72868 t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
72869 if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
72870 t2._async_evaluate0$_loadedUrls.add$1(0, url);
72871 }
72872 t2 = $async$self.$this;
72873 $async$temp1 = A;
72874 $async$temp2 = t2;
72875 $async$goto = 3;
72876 return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
72877 case 3:
72878 // returning from await.
72879 $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
72880 // goto return
72881 $async$goto = 1;
72882 break;
72883 case 1:
72884 // return
72885 return A._asyncReturn($async$returnValue, $async$completer);
72886 }
72887 });
72888 return A._asyncStartSync($async$call$0, $async$completer);
72889 },
72890 $signature: 318
72891 };
72892 A._EvaluateVisitor__loadModule_closure5.prototype = {
72893 call$0() {
72894 return this.callback.call$1(this.builtInModule);
72895 },
72896 $signature: 0
72897 };
72898 A._EvaluateVisitor__loadModule_closure6.prototype = {
72899 call$0() {
72900 var $async$goto = 0,
72901 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72902 $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;
72903 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72904 if ($async$errorCode === 1) {
72905 $async$currentError = $async$result;
72906 $async$goto = $async$handler;
72907 }
72908 while (true)
72909 switch ($async$goto) {
72910 case 0:
72911 // Function start
72912 t1 = $async$self.$this;
72913 t2 = $async$self.nodeWithSpan;
72914 $async$goto = 2;
72915 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);
72916 case 2:
72917 // returning from await.
72918 result = $async$result;
72919 stylesheet = result.stylesheet;
72920 canonicalUrl = stylesheet.span.file.url;
72921 if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
72922 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
72923 t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
72924 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
72925 }
72926 if (canonicalUrl != null)
72927 t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
72928 oldInDependency = t1._async_evaluate0$_inDependency;
72929 t1._async_evaluate0$_inDependency = result.isDependency;
72930 module = null;
72931 $async$handler = 3;
72932 $async$goto = 6;
72933 return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
72934 case 6:
72935 // returning from await.
72936 module = $async$result;
72937 $async$next.push(5);
72938 // goto finally
72939 $async$goto = 4;
72940 break;
72941 case 3:
72942 // uncaught
72943 $async$next = [1];
72944 case 4:
72945 // finally
72946 $async$handler = 1;
72947 t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
72948 t1._async_evaluate0$_inDependency = oldInDependency;
72949 // goto the next finally handler
72950 $async$goto = $async$next.pop();
72951 break;
72952 case 5:
72953 // after finally
72954 $async$handler = 8;
72955 $async$goto = 11;
72956 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
72957 case 11:
72958 // returning from await.
72959 $async$handler = 1;
72960 // goto after finally
72961 $async$goto = 10;
72962 break;
72963 case 8:
72964 // catch
72965 $async$handler = 7;
72966 $async$exception = $async$currentError;
72967 t2 = A.unwrapException($async$exception);
72968 if (type$.SassRuntimeException_2._is(t2))
72969 throw $async$exception;
72970 else if (t2 instanceof A.MultiSpanSassException0) {
72971 error = t2;
72972 stackTrace = A.getTraceFromException($async$exception);
72973 t2 = error._span_exception$_message;
72974 t3 = error;
72975 t4 = J.getInterceptor$z(t3);
72976 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72977 t4 = error.primaryLabel;
72978 t5 = error.secondarySpans;
72979 t6 = error;
72980 t7 = J.getInterceptor$z(t6);
72981 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);
72982 } else if (t2 instanceof A.SassException0) {
72983 error0 = t2;
72984 stackTrace0 = A.getTraceFromException($async$exception);
72985 t2 = error0;
72986 t3 = J.getInterceptor$z(t2);
72987 A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
72988 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
72989 error1 = t2;
72990 stackTrace1 = A.getTraceFromException($async$exception);
72991 A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
72992 } else if (t2 instanceof A.SassScriptException0) {
72993 error2 = t2;
72994 stackTrace2 = A.getTraceFromException($async$exception);
72995 A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
72996 } else
72997 throw $async$exception;
72998 // goto after finally
72999 $async$goto = 10;
73000 break;
73001 case 7:
73002 // uncaught
73003 // goto rethrow
73004 $async$goto = 1;
73005 break;
73006 case 10:
73007 // after finally
73008 // implicit return
73009 return A._asyncReturn(null, $async$completer);
73010 case 1:
73011 // rethrow
73012 return A._asyncRethrow($async$currentError, $async$completer);
73013 }
73014 });
73015 return A._asyncStartSync($async$call$0, $async$completer);
73016 },
73017 $signature: 2
73018 };
73019 A._EvaluateVisitor__loadModule__closure2.prototype = {
73020 call$1(previousLoad) {
73021 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));
73022 },
73023 $signature: 93
73024 };
73025 A._EvaluateVisitor__execute_closure2.prototype = {
73026 call$0() {
73027 var $async$goto = 0,
73028 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73029 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
73030 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73031 if ($async$errorCode === 1)
73032 return A._asyncRethrow($async$result, $async$completer);
73033 while (true)
73034 switch ($async$goto) {
73035 case 0:
73036 // Function start
73037 t1 = $async$self.$this;
73038 oldImporter = t1._async_evaluate0$_importer;
73039 oldStylesheet = t1._async_evaluate0$__stylesheet;
73040 oldRoot = t1._async_evaluate0$__root;
73041 oldParent = t1._async_evaluate0$__parent;
73042 oldEndOfImports = t1._async_evaluate0$__endOfImports;
73043 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
73044 oldExtensionStore = t1._async_evaluate0$__extensionStore;
73045 t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
73046 oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73047 oldMediaQueries = t1._async_evaluate0$_mediaQueries;
73048 oldDeclarationName = t1._async_evaluate0$_declarationName;
73049 oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
73050 oldInKeyframes = t1._async_evaluate0$_inKeyframes;
73051 oldConfiguration = t1._async_evaluate0$_configuration;
73052 t1._async_evaluate0$_importer = $async$self.importer;
73053 t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
73054 t4 = t3.span;
73055 t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
73056 t1._async_evaluate0$__endOfImports = 0;
73057 t1._async_evaluate0$_outOfOrderImports = null;
73058 t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
73059 t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
73060 t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
73061 t6 = $async$self.configuration;
73062 if (t6 != null)
73063 t1._async_evaluate0$_configuration = t6;
73064 $async$goto = 2;
73065 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
73066 case 2:
73067 // returning from await.
73068 t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
73069 $async$self.css._value = t3;
73070 t1._async_evaluate0$_importer = oldImporter;
73071 t1._async_evaluate0$__stylesheet = oldStylesheet;
73072 t1._async_evaluate0$__root = oldRoot;
73073 t1._async_evaluate0$__parent = oldParent;
73074 t1._async_evaluate0$__endOfImports = oldEndOfImports;
73075 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
73076 t1._async_evaluate0$__extensionStore = oldExtensionStore;
73077 t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
73078 t1._async_evaluate0$_mediaQueries = oldMediaQueries;
73079 t1._async_evaluate0$_declarationName = oldDeclarationName;
73080 t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
73081 t1._async_evaluate0$_atRootExcludingStyleRule = t2;
73082 t1._async_evaluate0$_inKeyframes = oldInKeyframes;
73083 t1._async_evaluate0$_configuration = oldConfiguration;
73084 // implicit return
73085 return A._asyncReturn(null, $async$completer);
73086 }
73087 });
73088 return A._asyncStartSync($async$call$0, $async$completer);
73089 },
73090 $signature: 2
73091 };
73092 A._EvaluateVisitor__combineCss_closure8.prototype = {
73093 call$1(module) {
73094 return module.get$transitivelyContainsCss();
73095 },
73096 $signature: 123
73097 };
73098 A._EvaluateVisitor__combineCss_closure9.prototype = {
73099 call$1(target) {
73100 return !this.selectors.contains$1(0, target);
73101 },
73102 $signature: 15
73103 };
73104 A._EvaluateVisitor__combineCss_closure10.prototype = {
73105 call$1(module) {
73106 return module.cloneCss$0();
73107 },
73108 $signature: 321
73109 };
73110 A._EvaluateVisitor__extendModules_closure5.prototype = {
73111 call$1(target) {
73112 return !this.originalSelectors.contains$1(0, target);
73113 },
73114 $signature: 15
73115 };
73116 A._EvaluateVisitor__extendModules_closure6.prototype = {
73117 call$0() {
73118 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
73119 },
73120 $signature: 168
73121 };
73122 A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
73123 call$1(module) {
73124 var t1, t2, t3, _i, upstream;
73125 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
73126 upstream = t1[_i];
73127 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
73128 this.call$1(upstream);
73129 }
73130 this.sorted.addFirst$1(module);
73131 },
73132 $signature: 165
73133 };
73134 A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
73135 call$0() {
73136 var t1 = A.SpanScanner$(this.resolved, null);
73137 return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
73138 },
73139 $signature: 108
73140 };
73141 A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
73142 call$0() {
73143 var $async$goto = 0,
73144 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73145 $async$self = this, t1, t2, t3, _i;
73146 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73147 if ($async$errorCode === 1)
73148 return A._asyncRethrow($async$result, $async$completer);
73149 while (true)
73150 switch ($async$goto) {
73151 case 0:
73152 // Function start
73153 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73154 case 2:
73155 // for condition
73156 if (!(_i < t2)) {
73157 // goto after for
73158 $async$goto = 4;
73159 break;
73160 }
73161 $async$goto = 5;
73162 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73163 case 5:
73164 // returning from await.
73165 case 3:
73166 // for update
73167 ++_i;
73168 // goto for condition
73169 $async$goto = 2;
73170 break;
73171 case 4:
73172 // after for
73173 // implicit return
73174 return A._asyncReturn(null, $async$completer);
73175 }
73176 });
73177 return A._asyncStartSync($async$call$0, $async$completer);
73178 },
73179 $signature: 2
73180 };
73181 A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
73182 call$0() {
73183 var $async$goto = 0,
73184 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73185 $async$self = this, t1, t2, t3, _i;
73186 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73187 if ($async$errorCode === 1)
73188 return A._asyncRethrow($async$result, $async$completer);
73189 while (true)
73190 switch ($async$goto) {
73191 case 0:
73192 // Function start
73193 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73194 case 2:
73195 // for condition
73196 if (!(_i < t2)) {
73197 // goto after for
73198 $async$goto = 4;
73199 break;
73200 }
73201 $async$goto = 5;
73202 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73203 case 5:
73204 // returning from await.
73205 case 3:
73206 // for update
73207 ++_i;
73208 // goto for condition
73209 $async$goto = 2;
73210 break;
73211 case 4:
73212 // after for
73213 // implicit return
73214 return A._asyncReturn(null, $async$completer);
73215 }
73216 });
73217 return A._asyncStartSync($async$call$0, $async$completer);
73218 },
73219 $signature: 34
73220 };
73221 A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
73222 call$1(callback) {
73223 var $async$goto = 0,
73224 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73225 $async$self = this, t1, t2;
73226 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73227 if ($async$errorCode === 1)
73228 return A._asyncRethrow($async$result, $async$completer);
73229 while (true)
73230 switch ($async$goto) {
73231 case 0:
73232 // Function start
73233 t1 = $async$self.$this;
73234 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73235 t1._async_evaluate0$__parent = $async$self.newParent;
73236 $async$goto = 2;
73237 return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
73238 case 2:
73239 // returning from await.
73240 t1._async_evaluate0$__parent = t2;
73241 // implicit return
73242 return A._asyncReturn(null, $async$completer);
73243 }
73244 });
73245 return A._asyncStartSync($async$call$1, $async$completer);
73246 },
73247 $signature: 32
73248 };
73249 A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
73250 call$1(callback) {
73251 var $async$goto = 0,
73252 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73253 $async$self = this, t1, oldAtRootExcludingStyleRule;
73254 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73255 if ($async$errorCode === 1)
73256 return A._asyncRethrow($async$result, $async$completer);
73257 while (true)
73258 switch ($async$goto) {
73259 case 0:
73260 // Function start
73261 t1 = $async$self.$this;
73262 oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
73263 t1._async_evaluate0$_atRootExcludingStyleRule = true;
73264 $async$goto = 2;
73265 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73266 case 2:
73267 // returning from await.
73268 t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
73269 // implicit return
73270 return A._asyncReturn(null, $async$completer);
73271 }
73272 });
73273 return A._asyncStartSync($async$call$1, $async$completer);
73274 },
73275 $signature: 32
73276 };
73277 A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
73278 call$1(callback) {
73279 return this.$this._async_evaluate0$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
73280 },
73281 $signature: 32
73282 };
73283 A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
73284 call$0() {
73285 return this.innerScope.call$1(this.callback);
73286 },
73287 $signature: 2
73288 };
73289 A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
73290 call$1(callback) {
73291 var $async$goto = 0,
73292 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73293 $async$self = this, t1, wasInKeyframes;
73294 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73295 if ($async$errorCode === 1)
73296 return A._asyncRethrow($async$result, $async$completer);
73297 while (true)
73298 switch ($async$goto) {
73299 case 0:
73300 // Function start
73301 t1 = $async$self.$this;
73302 wasInKeyframes = t1._async_evaluate0$_inKeyframes;
73303 t1._async_evaluate0$_inKeyframes = false;
73304 $async$goto = 2;
73305 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73306 case 2:
73307 // returning from await.
73308 t1._async_evaluate0$_inKeyframes = wasInKeyframes;
73309 // implicit return
73310 return A._asyncReturn(null, $async$completer);
73311 }
73312 });
73313 return A._asyncStartSync($async$call$1, $async$completer);
73314 },
73315 $signature: 32
73316 };
73317 A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
73318 call$1($parent) {
73319 return type$.CssAtRule_2._is($parent);
73320 },
73321 $signature: 170
73322 };
73323 A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
73324 call$1(callback) {
73325 var $async$goto = 0,
73326 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73327 $async$self = this, t1, wasInUnknownAtRule;
73328 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73329 if ($async$errorCode === 1)
73330 return A._asyncRethrow($async$result, $async$completer);
73331 while (true)
73332 switch ($async$goto) {
73333 case 0:
73334 // Function start
73335 t1 = $async$self.$this;
73336 wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
73337 t1._async_evaluate0$_inUnknownAtRule = false;
73338 $async$goto = 2;
73339 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73340 case 2:
73341 // returning from await.
73342 t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
73343 // implicit return
73344 return A._asyncReturn(null, $async$completer);
73345 }
73346 });
73347 return A._asyncStartSync($async$call$1, $async$completer);
73348 },
73349 $signature: 32
73350 };
73351 A._EvaluateVisitor_visitContentRule_closure2.prototype = {
73352 call$0() {
73353 var $async$goto = 0,
73354 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73355 $async$returnValue, $async$self = this, t1, t2, t3, _i;
73356 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73357 if ($async$errorCode === 1)
73358 return A._asyncRethrow($async$result, $async$completer);
73359 while (true)
73360 switch ($async$goto) {
73361 case 0:
73362 // Function start
73363 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73364 case 3:
73365 // for condition
73366 if (!(_i < t2)) {
73367 // goto after for
73368 $async$goto = 5;
73369 break;
73370 }
73371 $async$goto = 6;
73372 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73373 case 6:
73374 // returning from await.
73375 case 4:
73376 // for update
73377 ++_i;
73378 // goto for condition
73379 $async$goto = 3;
73380 break;
73381 case 5:
73382 // after for
73383 $async$returnValue = null;
73384 // goto return
73385 $async$goto = 1;
73386 break;
73387 case 1:
73388 // return
73389 return A._asyncReturn($async$returnValue, $async$completer);
73390 }
73391 });
73392 return A._asyncStartSync($async$call$0, $async$completer);
73393 },
73394 $signature: 2
73395 };
73396 A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
73397 call$1(value) {
73398 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
73399 },
73400 $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
73401 var $async$goto = 0,
73402 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
73403 $async$returnValue, $async$self = this, $async$temp1;
73404 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73405 if ($async$errorCode === 1)
73406 return A._asyncRethrow($async$result, $async$completer);
73407 while (true)
73408 switch ($async$goto) {
73409 case 0:
73410 // Function start
73411 $async$temp1 = A;
73412 $async$goto = 3;
73413 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
73414 case 3:
73415 // returning from await.
73416 $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
73417 // goto return
73418 $async$goto = 1;
73419 break;
73420 case 1:
73421 // return
73422 return A._asyncReturn($async$returnValue, $async$completer);
73423 }
73424 });
73425 return A._asyncStartSync($async$call$1, $async$completer);
73426 },
73427 $signature: 325
73428 };
73429 A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
73430 call$0() {
73431 var $async$goto = 0,
73432 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73433 $async$self = this, t1, t2, t3, _i;
73434 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73435 if ($async$errorCode === 1)
73436 return A._asyncRethrow($async$result, $async$completer);
73437 while (true)
73438 switch ($async$goto) {
73439 case 0:
73440 // Function start
73441 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73442 case 2:
73443 // for condition
73444 if (!(_i < t2)) {
73445 // goto after for
73446 $async$goto = 4;
73447 break;
73448 }
73449 $async$goto = 5;
73450 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73451 case 5:
73452 // returning from await.
73453 case 3:
73454 // for update
73455 ++_i;
73456 // goto for condition
73457 $async$goto = 2;
73458 break;
73459 case 4:
73460 // after for
73461 // implicit return
73462 return A._asyncReturn(null, $async$completer);
73463 }
73464 });
73465 return A._asyncStartSync($async$call$0, $async$completer);
73466 },
73467 $signature: 2
73468 };
73469 A._EvaluateVisitor_visitEachRule_closure8.prototype = {
73470 call$1(value) {
73471 var t1 = this.$this,
73472 t2 = this.nodeWithSpan;
73473 return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
73474 },
73475 $signature: 53
73476 };
73477 A._EvaluateVisitor_visitEachRule_closure9.prototype = {
73478 call$1(value) {
73479 return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
73480 },
73481 $signature: 53
73482 };
73483 A._EvaluateVisitor_visitEachRule_closure10.prototype = {
73484 call$0() {
73485 var _this = this,
73486 t1 = _this.$this;
73487 return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
73488 },
73489 $signature: 64
73490 };
73491 A._EvaluateVisitor_visitEachRule__closure2.prototype = {
73492 call$1(element) {
73493 var t1;
73494 this.setVariables.call$1(element);
73495 t1 = this.$this;
73496 return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
73497 },
73498 $signature: 328
73499 };
73500 A._EvaluateVisitor_visitEachRule___closure2.prototype = {
73501 call$1(child) {
73502 return child.accept$1(this.$this);
73503 },
73504 $signature: 97
73505 };
73506 A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
73507 call$0() {
73508 var t1 = this.targetText;
73509 return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
73510 },
73511 $signature: 45
73512 };
73513 A._EvaluateVisitor_visitAtRule_closure8.prototype = {
73514 call$1(value) {
73515 return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
73516 },
73517 $signature: 331
73518 };
73519 A._EvaluateVisitor_visitAtRule_closure9.prototype = {
73520 call$0() {
73521 var $async$goto = 0,
73522 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73523 $async$self = this, t2, t3, _i, t1, styleRule;
73524 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73525 if ($async$errorCode === 1)
73526 return A._asyncRethrow($async$result, $async$completer);
73527 while (true)
73528 switch ($async$goto) {
73529 case 0:
73530 // Function start
73531 t1 = $async$self.$this;
73532 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73533 $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
73534 break;
73535 case 2:
73536 // then
73537 t2 = $async$self.children, t3 = t2.length, _i = 0;
73538 case 5:
73539 // for condition
73540 if (!(_i < t3)) {
73541 // goto after for
73542 $async$goto = 7;
73543 break;
73544 }
73545 $async$goto = 8;
73546 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73547 case 8:
73548 // returning from await.
73549 case 6:
73550 // for update
73551 ++_i;
73552 // goto for condition
73553 $async$goto = 5;
73554 break;
73555 case 7:
73556 // after for
73557 // goto join
73558 $async$goto = 3;
73559 break;
73560 case 4:
73561 // else
73562 $async$goto = 9;
73563 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);
73564 case 9:
73565 // returning from await.
73566 case 3:
73567 // join
73568 // implicit return
73569 return A._asyncReturn(null, $async$completer);
73570 }
73571 });
73572 return A._asyncStartSync($async$call$0, $async$completer);
73573 },
73574 $signature: 2
73575 };
73576 A._EvaluateVisitor_visitAtRule__closure2.prototype = {
73577 call$0() {
73578 var $async$goto = 0,
73579 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73580 $async$self = this, t1, t2, t3, _i;
73581 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73582 if ($async$errorCode === 1)
73583 return A._asyncRethrow($async$result, $async$completer);
73584 while (true)
73585 switch ($async$goto) {
73586 case 0:
73587 // Function start
73588 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73589 case 2:
73590 // for condition
73591 if (!(_i < t2)) {
73592 // goto after for
73593 $async$goto = 4;
73594 break;
73595 }
73596 $async$goto = 5;
73597 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73598 case 5:
73599 // returning from await.
73600 case 3:
73601 // for update
73602 ++_i;
73603 // goto for condition
73604 $async$goto = 2;
73605 break;
73606 case 4:
73607 // after for
73608 // implicit return
73609 return A._asyncReturn(null, $async$completer);
73610 }
73611 });
73612 return A._asyncStartSync($async$call$0, $async$completer);
73613 },
73614 $signature: 2
73615 };
73616 A._EvaluateVisitor_visitAtRule_closure10.prototype = {
73617 call$1(node) {
73618 return type$.CssStyleRule_2._is(node);
73619 },
73620 $signature: 7
73621 };
73622 A._EvaluateVisitor_visitForRule_closure14.prototype = {
73623 call$0() {
73624 var $async$goto = 0,
73625 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73626 $async$returnValue, $async$self = this;
73627 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73628 if ($async$errorCode === 1)
73629 return A._asyncRethrow($async$result, $async$completer);
73630 while (true)
73631 switch ($async$goto) {
73632 case 0:
73633 // Function start
73634 $async$goto = 3;
73635 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
73636 case 3:
73637 // returning from await.
73638 $async$returnValue = $async$result.assertNumber$0();
73639 // goto return
73640 $async$goto = 1;
73641 break;
73642 case 1:
73643 // return
73644 return A._asyncReturn($async$returnValue, $async$completer);
73645 }
73646 });
73647 return A._asyncStartSync($async$call$0, $async$completer);
73648 },
73649 $signature: 176
73650 };
73651 A._EvaluateVisitor_visitForRule_closure15.prototype = {
73652 call$0() {
73653 var $async$goto = 0,
73654 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73655 $async$returnValue, $async$self = this;
73656 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73657 if ($async$errorCode === 1)
73658 return A._asyncRethrow($async$result, $async$completer);
73659 while (true)
73660 switch ($async$goto) {
73661 case 0:
73662 // Function start
73663 $async$goto = 3;
73664 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
73665 case 3:
73666 // returning from await.
73667 $async$returnValue = $async$result.assertNumber$0();
73668 // goto return
73669 $async$goto = 1;
73670 break;
73671 case 1:
73672 // return
73673 return A._asyncReturn($async$returnValue, $async$completer);
73674 }
73675 });
73676 return A._asyncStartSync($async$call$0, $async$completer);
73677 },
73678 $signature: 176
73679 };
73680 A._EvaluateVisitor_visitForRule_closure16.prototype = {
73681 call$0() {
73682 return this.fromNumber.assertInt$0();
73683 },
73684 $signature: 12
73685 };
73686 A._EvaluateVisitor_visitForRule_closure17.prototype = {
73687 call$0() {
73688 var t1 = this.fromNumber;
73689 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
73690 },
73691 $signature: 12
73692 };
73693 A._EvaluateVisitor_visitForRule_closure18.prototype = {
73694 call$0() {
73695 var $async$goto = 0,
73696 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
73697 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
73698 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73699 if ($async$errorCode === 1)
73700 return A._asyncRethrow($async$result, $async$completer);
73701 while (true)
73702 switch ($async$goto) {
73703 case 0:
73704 // Function start
73705 t1 = $async$self.$this;
73706 t2 = $async$self.node;
73707 nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
73708 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
73709 case 3:
73710 // for condition
73711 if (!(i !== t3.to)) {
73712 // goto after for
73713 $async$goto = 5;
73714 break;
73715 }
73716 t7 = t1._async_evaluate0$_environment;
73717 t8 = t6.get$numeratorUnits(t6);
73718 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
73719 $async$goto = 6;
73720 return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
73721 case 6:
73722 // returning from await.
73723 result = $async$result;
73724 if (result != null) {
73725 $async$returnValue = result;
73726 // goto return
73727 $async$goto = 1;
73728 break;
73729 }
73730 case 4:
73731 // for update
73732 i += t4;
73733 // goto for condition
73734 $async$goto = 3;
73735 break;
73736 case 5:
73737 // after for
73738 $async$returnValue = null;
73739 // goto return
73740 $async$goto = 1;
73741 break;
73742 case 1:
73743 // return
73744 return A._asyncReturn($async$returnValue, $async$completer);
73745 }
73746 });
73747 return A._asyncStartSync($async$call$0, $async$completer);
73748 },
73749 $signature: 64
73750 };
73751 A._EvaluateVisitor_visitForRule__closure2.prototype = {
73752 call$1(child) {
73753 return child.accept$1(this.$this);
73754 },
73755 $signature: 97
73756 };
73757 A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
73758 call$1(module) {
73759 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73760 },
73761 $signature: 112
73762 };
73763 A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
73764 call$1(module) {
73765 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73766 },
73767 $signature: 112
73768 };
73769 A._EvaluateVisitor_visitIfRule_closure2.prototype = {
73770 call$0() {
73771 var t1 = this.$this;
73772 return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
73773 },
73774 $signature: 64
73775 };
73776 A._EvaluateVisitor_visitIfRule__closure2.prototype = {
73777 call$1(child) {
73778 return child.accept$1(this.$this);
73779 },
73780 $signature: 97
73781 };
73782 A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
73783 call$0() {
73784 var $async$goto = 0,
73785 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73786 $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;
73787 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73788 if ($async$errorCode === 1)
73789 return A._asyncRethrow($async$result, $async$completer);
73790 while (true)
73791 switch ($async$goto) {
73792 case 0:
73793 // Function start
73794 t1 = $async$self.$this;
73795 t2 = $async$self.$import;
73796 $async$goto = 3;
73797 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
73798 case 3:
73799 // returning from await.
73800 result = $async$result;
73801 stylesheet = result.stylesheet;
73802 url = stylesheet.span.file.url;
73803 if (url != null) {
73804 t3 = t1._async_evaluate0$_activeModules;
73805 if (t3.containsKey$1(url)) {
73806 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
73807 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
73808 }
73809 t3.$indexSet(0, url, t2);
73810 }
73811 t2 = stylesheet._stylesheet1$_uses;
73812 t3 = type$.UnmodifiableListView_UseRule_2;
73813 t4 = new A.UnmodifiableListView(t2, t3);
73814 if (t4.get$length(t4) === 0) {
73815 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73816 t4 = t4.get$length(t4) === 0;
73817 } else
73818 t4 = false;
73819 $async$goto = t4 ? 4 : 5;
73820 break;
73821 case 4:
73822 // then
73823 oldImporter = t1._async_evaluate0$_importer;
73824 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73825 oldInDependency = t1._async_evaluate0$_inDependency;
73826 t1._async_evaluate0$_importer = result.importer;
73827 t1._async_evaluate0$__stylesheet = stylesheet;
73828 t1._async_evaluate0$_inDependency = result.isDependency;
73829 $async$goto = 6;
73830 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
73831 case 6:
73832 // returning from await.
73833 t1._async_evaluate0$_importer = oldImporter;
73834 t1._async_evaluate0$__stylesheet = t2;
73835 t1._async_evaluate0$_inDependency = oldInDependency;
73836 t1._async_evaluate0$_activeModules.remove$1(0, url);
73837 // goto return
73838 $async$goto = 1;
73839 break;
73840 case 5:
73841 // join
73842 t2 = new A.UnmodifiableListView(t2, t3);
73843 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
73844 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73845 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
73846 } else
73847 loadsUserDefinedModules = true;
73848 children = A._Cell$();
73849 t2 = t1._async_evaluate0$_environment;
73850 t3 = type$.String;
73851 t4 = type$.Module_AsyncCallable_2;
73852 t5 = type$.AstNode_2;
73853 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
73854 t7 = t2._async_environment0$_variables;
73855 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
73856 t8 = t2._async_environment0$_variableNodes;
73857 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
73858 t9 = t2._async_environment0$_functions;
73859 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
73860 t10 = t2._async_environment0$_mixins;
73861 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
73862 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);
73863 $async$goto = 7;
73864 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);
73865 case 7:
73866 // returning from await.
73867 module = environment.toDummyModule$0();
73868 t1._async_evaluate0$_environment.importForwards$1(module);
73869 $async$goto = loadsUserDefinedModules ? 8 : 9;
73870 break;
73871 case 8:
73872 // then
73873 $async$goto = module.transitivelyContainsCss ? 10 : 11;
73874 break;
73875 case 10:
73876 // then
73877 $async$goto = 12;
73878 return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
73879 case 12:
73880 // returning from await.
73881 case 11:
73882 // join
73883 visitor = new A._ImportedCssVisitor2(t1);
73884 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
73885 t2.get$current(t2).accept$1(visitor);
73886 case 9:
73887 // join
73888 t1._async_evaluate0$_activeModules.remove$1(0, url);
73889 case 1:
73890 // return
73891 return A._asyncReturn($async$returnValue, $async$completer);
73892 }
73893 });
73894 return A._asyncStartSync($async$call$0, $async$completer);
73895 },
73896 $signature: 34
73897 };
73898 A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
73899 call$1(previousLoad) {
73900 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));
73901 },
73902 $signature: 93
73903 };
73904 A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
73905 call$1(rule) {
73906 return rule.url.get$scheme() !== "sass";
73907 },
73908 $signature: 178
73909 };
73910 A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
73911 call$1(rule) {
73912 return rule.url.get$scheme() !== "sass";
73913 },
73914 $signature: 179
73915 };
73916 A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
73917 call$0() {
73918 var $async$goto = 0,
73919 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73920 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
73921 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73922 if ($async$errorCode === 1)
73923 return A._asyncRethrow($async$result, $async$completer);
73924 while (true)
73925 switch ($async$goto) {
73926 case 0:
73927 // Function start
73928 t1 = $async$self.$this;
73929 oldImporter = t1._async_evaluate0$_importer;
73930 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73931 t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
73932 t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73933 t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
73934 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
73935 oldConfiguration = t1._async_evaluate0$_configuration;
73936 oldInDependency = t1._async_evaluate0$_inDependency;
73937 t6 = $async$self.result;
73938 t1._async_evaluate0$_importer = t6.importer;
73939 t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
73940 t8 = $async$self.loadsUserDefinedModules;
73941 if (t8) {
73942 t9 = A.ModifiableCssStylesheet$0(t7.span);
73943 t1._async_evaluate0$__root = t9;
73944 t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
73945 t1._async_evaluate0$__endOfImports = 0;
73946 t1._async_evaluate0$_outOfOrderImports = null;
73947 }
73948 t1._async_evaluate0$_inDependency = t6.isDependency;
73949 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73950 if (!t6.get$isEmpty(t6))
73951 t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
73952 $async$goto = 2;
73953 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
73954 case 2:
73955 // returning from await.
73956 t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
73957 $async$self.children._value = t6;
73958 t1._async_evaluate0$_importer = oldImporter;
73959 t1._async_evaluate0$__stylesheet = t2;
73960 if (t8) {
73961 t1._async_evaluate0$__root = t3;
73962 t1._async_evaluate0$__parent = t4;
73963 t1._async_evaluate0$__endOfImports = t5;
73964 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
73965 }
73966 t1._async_evaluate0$_configuration = oldConfiguration;
73967 t1._async_evaluate0$_inDependency = oldInDependency;
73968 // implicit return
73969 return A._asyncReturn(null, $async$completer);
73970 }
73971 });
73972 return A._asyncStartSync($async$call$0, $async$completer);
73973 },
73974 $signature: 2
73975 };
73976 A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
73977 call$0() {
73978 var t1 = this.node;
73979 return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
73980 },
73981 $signature: 115
73982 };
73983 A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
73984 call$0() {
73985 return this.node.get$spanWithoutContent();
73986 },
73987 $signature: 30
73988 };
73989 A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
73990 call$1($content) {
73991 var t1 = this.$this;
73992 return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
73993 },
73994 $signature: 337
73995 };
73996 A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
73997 call$0() {
73998 var $async$goto = 0,
73999 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74000 $async$self = this, t1;
74001 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74002 if ($async$errorCode === 1)
74003 return A._asyncRethrow($async$result, $async$completer);
74004 while (true)
74005 switch ($async$goto) {
74006 case 0:
74007 // Function start
74008 t1 = $async$self.$this;
74009 $async$goto = 2;
74010 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);
74011 case 2:
74012 // returning from await.
74013 // implicit return
74014 return A._asyncReturn(null, $async$completer);
74015 }
74016 });
74017 return A._asyncStartSync($async$call$0, $async$completer);
74018 },
74019 $signature: 2
74020 };
74021 A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
74022 call$0() {
74023 var $async$goto = 0,
74024 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
74025 $async$self = this, t1;
74026 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74027 if ($async$errorCode === 1)
74028 return A._asyncRethrow($async$result, $async$completer);
74029 while (true)
74030 switch ($async$goto) {
74031 case 0:
74032 // Function start
74033 t1 = $async$self.$this;
74034 $async$goto = 2;
74035 return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
74036 case 2:
74037 // returning from await.
74038 // implicit return
74039 return A._asyncReturn(null, $async$completer);
74040 }
74041 });
74042 return A._asyncStartSync($async$call$0, $async$completer);
74043 },
74044 $signature: 34
74045 };
74046 A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
74047 call$0() {
74048 var $async$goto = 0,
74049 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
74050 $async$self = this, t1, t2, t3, t4, t5, _i;
74051 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74052 if ($async$errorCode === 1)
74053 return A._asyncRethrow($async$result, $async$completer);
74054 while (true)
74055 switch ($async$goto) {
74056 case 0:
74057 // Function start
74058 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
74059 case 2:
74060 // for condition
74061 if (!(_i < t2)) {
74062 // goto after for
74063 $async$goto = 4;
74064 break;
74065 }
74066 $async$goto = 5;
74067 return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
74068 case 5:
74069 // returning from await.
74070 case 3:
74071 // for update
74072 ++_i;
74073 // goto for condition
74074 $async$goto = 2;
74075 break;
74076 case 4:
74077 // after for
74078 // implicit return
74079 return A._asyncReturn(null, $async$completer);
74080 }
74081 });
74082 return A._asyncStartSync($async$call$0, $async$completer);
74083 },
74084 $signature: 34
74085 };
74086 A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
74087 call$0() {
74088 return this.statement.accept$1(this.$this);
74089 },
74090 $signature: 64
74091 };
74092 A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
74093 call$1(mediaQueries) {
74094 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
74095 },
74096 $signature: 80
74097 };
74098 A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
74099 call$0() {
74100 var $async$goto = 0,
74101 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74102 $async$self = this, t1, t2;
74103 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74104 if ($async$errorCode === 1)
74105 return A._asyncRethrow($async$result, $async$completer);
74106 while (true)
74107 switch ($async$goto) {
74108 case 0:
74109 // Function start
74110 t1 = $async$self.$this;
74111 t2 = $async$self.mergedQueries;
74112 if (t2 == null)
74113 t2 = $async$self.queries;
74114 $async$goto = 2;
74115 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
74116 case 2:
74117 // returning from await.
74118 // implicit return
74119 return A._asyncReturn(null, $async$completer);
74120 }
74121 });
74122 return A._asyncStartSync($async$call$0, $async$completer);
74123 },
74124 $signature: 2
74125 };
74126 A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
74127 call$0() {
74128 var $async$goto = 0,
74129 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74130 $async$self = this, t2, t3, _i, t1, styleRule;
74131 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74132 if ($async$errorCode === 1)
74133 return A._asyncRethrow($async$result, $async$completer);
74134 while (true)
74135 switch ($async$goto) {
74136 case 0:
74137 // Function start
74138 t1 = $async$self.$this;
74139 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74140 $async$goto = styleRule == null ? 2 : 4;
74141 break;
74142 case 2:
74143 // then
74144 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74145 case 5:
74146 // for condition
74147 if (!(_i < t3)) {
74148 // goto after for
74149 $async$goto = 7;
74150 break;
74151 }
74152 $async$goto = 8;
74153 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74154 case 8:
74155 // returning from await.
74156 case 6:
74157 // for update
74158 ++_i;
74159 // goto for condition
74160 $async$goto = 5;
74161 break;
74162 case 7:
74163 // after for
74164 // goto join
74165 $async$goto = 3;
74166 break;
74167 case 4:
74168 // else
74169 $async$goto = 9;
74170 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);
74171 case 9:
74172 // returning from await.
74173 case 3:
74174 // join
74175 // implicit return
74176 return A._asyncReturn(null, $async$completer);
74177 }
74178 });
74179 return A._asyncStartSync($async$call$0, $async$completer);
74180 },
74181 $signature: 2
74182 };
74183 A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
74184 call$0() {
74185 var $async$goto = 0,
74186 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74187 $async$self = this, t1, t2, t3, _i;
74188 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74189 if ($async$errorCode === 1)
74190 return A._asyncRethrow($async$result, $async$completer);
74191 while (true)
74192 switch ($async$goto) {
74193 case 0:
74194 // Function start
74195 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74196 case 2:
74197 // for condition
74198 if (!(_i < t2)) {
74199 // goto after for
74200 $async$goto = 4;
74201 break;
74202 }
74203 $async$goto = 5;
74204 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74205 case 5:
74206 // returning from await.
74207 case 3:
74208 // for update
74209 ++_i;
74210 // goto for condition
74211 $async$goto = 2;
74212 break;
74213 case 4:
74214 // after for
74215 // implicit return
74216 return A._asyncReturn(null, $async$completer);
74217 }
74218 });
74219 return A._asyncStartSync($async$call$0, $async$completer);
74220 },
74221 $signature: 2
74222 };
74223 A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
74224 call$1(node) {
74225 var t1;
74226 if (!type$.CssStyleRule_2._is(node))
74227 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
74228 else
74229 t1 = true;
74230 return t1;
74231 },
74232 $signature: 7
74233 };
74234 A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
74235 call$0() {
74236 var t1 = A.SpanScanner$(this.resolved, null);
74237 return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
74238 },
74239 $signature: 113
74240 };
74241 A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
74242 call$0() {
74243 var t1 = this.selectorText;
74244 return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
74245 },
74246 $signature: 46
74247 };
74248 A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
74249 call$0() {
74250 var $async$goto = 0,
74251 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74252 $async$self = this, t1, t2, t3, _i;
74253 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74254 if ($async$errorCode === 1)
74255 return A._asyncRethrow($async$result, $async$completer);
74256 while (true)
74257 switch ($async$goto) {
74258 case 0:
74259 // Function start
74260 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74261 case 2:
74262 // for condition
74263 if (!(_i < t2)) {
74264 // goto after for
74265 $async$goto = 4;
74266 break;
74267 }
74268 $async$goto = 5;
74269 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74270 case 5:
74271 // returning from await.
74272 case 3:
74273 // for update
74274 ++_i;
74275 // goto for condition
74276 $async$goto = 2;
74277 break;
74278 case 4:
74279 // after for
74280 // implicit return
74281 return A._asyncReturn(null, $async$completer);
74282 }
74283 });
74284 return A._asyncStartSync($async$call$0, $async$completer);
74285 },
74286 $signature: 2
74287 };
74288 A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
74289 call$1(node) {
74290 return type$.CssStyleRule_2._is(node);
74291 },
74292 $signature: 7
74293 };
74294 A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
74295 call$0() {
74296 var _s11_ = "_stylesheet",
74297 t1 = this.selectorText,
74298 t2 = this.$this;
74299 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);
74300 },
74301 $signature: 45
74302 };
74303 A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
74304 call$0() {
74305 var t1 = this._box_0.parsedSelector,
74306 t2 = this.$this,
74307 t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
74308 t3 = t3 == null ? null : t3.originalSelector;
74309 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
74310 },
74311 $signature: 45
74312 };
74313 A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
74314 call$0() {
74315 var $async$goto = 0,
74316 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74317 $async$self = this, t1;
74318 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74319 if ($async$errorCode === 1)
74320 return A._asyncRethrow($async$result, $async$completer);
74321 while (true)
74322 switch ($async$goto) {
74323 case 0:
74324 // Function start
74325 t1 = $async$self.$this;
74326 $async$goto = 2;
74327 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);
74328 case 2:
74329 // returning from await.
74330 // implicit return
74331 return A._asyncReturn(null, $async$completer);
74332 }
74333 });
74334 return A._asyncStartSync($async$call$0, $async$completer);
74335 },
74336 $signature: 2
74337 };
74338 A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
74339 call$0() {
74340 var $async$goto = 0,
74341 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74342 $async$self = this, t1, t2, t3, _i;
74343 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74344 if ($async$errorCode === 1)
74345 return A._asyncRethrow($async$result, $async$completer);
74346 while (true)
74347 switch ($async$goto) {
74348 case 0:
74349 // Function start
74350 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74351 case 2:
74352 // for condition
74353 if (!(_i < t2)) {
74354 // goto after for
74355 $async$goto = 4;
74356 break;
74357 }
74358 $async$goto = 5;
74359 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74360 case 5:
74361 // returning from await.
74362 case 3:
74363 // for update
74364 ++_i;
74365 // goto for condition
74366 $async$goto = 2;
74367 break;
74368 case 4:
74369 // after for
74370 // implicit return
74371 return A._asyncReturn(null, $async$completer);
74372 }
74373 });
74374 return A._asyncStartSync($async$call$0, $async$completer);
74375 },
74376 $signature: 2
74377 };
74378 A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
74379 call$1(node) {
74380 return type$.CssStyleRule_2._is(node);
74381 },
74382 $signature: 7
74383 };
74384 A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
74385 call$0() {
74386 var $async$goto = 0,
74387 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74388 $async$self = this, t2, t3, _i, t1, styleRule;
74389 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74390 if ($async$errorCode === 1)
74391 return A._asyncRethrow($async$result, $async$completer);
74392 while (true)
74393 switch ($async$goto) {
74394 case 0:
74395 // Function start
74396 t1 = $async$self.$this;
74397 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74398 $async$goto = styleRule == null ? 2 : 4;
74399 break;
74400 case 2:
74401 // then
74402 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74403 case 5:
74404 // for condition
74405 if (!(_i < t3)) {
74406 // goto after for
74407 $async$goto = 7;
74408 break;
74409 }
74410 $async$goto = 8;
74411 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74412 case 8:
74413 // returning from await.
74414 case 6:
74415 // for update
74416 ++_i;
74417 // goto for condition
74418 $async$goto = 5;
74419 break;
74420 case 7:
74421 // after for
74422 // goto join
74423 $async$goto = 3;
74424 break;
74425 case 4:
74426 // else
74427 $async$goto = 9;
74428 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);
74429 case 9:
74430 // returning from await.
74431 case 3:
74432 // join
74433 // implicit return
74434 return A._asyncReturn(null, $async$completer);
74435 }
74436 });
74437 return A._asyncStartSync($async$call$0, $async$completer);
74438 },
74439 $signature: 2
74440 };
74441 A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
74442 call$0() {
74443 var $async$goto = 0,
74444 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74445 $async$self = this, t1, t2, t3, _i;
74446 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74447 if ($async$errorCode === 1)
74448 return A._asyncRethrow($async$result, $async$completer);
74449 while (true)
74450 switch ($async$goto) {
74451 case 0:
74452 // Function start
74453 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74454 case 2:
74455 // for condition
74456 if (!(_i < t2)) {
74457 // goto after for
74458 $async$goto = 4;
74459 break;
74460 }
74461 $async$goto = 5;
74462 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74463 case 5:
74464 // returning from await.
74465 case 3:
74466 // for update
74467 ++_i;
74468 // goto for condition
74469 $async$goto = 2;
74470 break;
74471 case 4:
74472 // after for
74473 // implicit return
74474 return A._asyncReturn(null, $async$completer);
74475 }
74476 });
74477 return A._asyncStartSync($async$call$0, $async$completer);
74478 },
74479 $signature: 2
74480 };
74481 A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
74482 call$1(node) {
74483 return type$.CssStyleRule_2._is(node);
74484 },
74485 $signature: 7
74486 };
74487 A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
74488 call$0() {
74489 var t1 = this.override;
74490 this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
74491 },
74492 $signature: 1
74493 };
74494 A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
74495 call$0() {
74496 var t1 = this.node;
74497 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74498 },
74499 $signature: 39
74500 };
74501 A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
74502 call$0() {
74503 var t1 = this.$this,
74504 t2 = this.node;
74505 t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
74506 },
74507 $signature: 1
74508 };
74509 A._EvaluateVisitor_visitUseRule_closure2.prototype = {
74510 call$1(module) {
74511 var t1 = this.node;
74512 this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
74513 },
74514 $signature: 112
74515 };
74516 A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
74517 call$0() {
74518 return this.node.expression.accept$1(this.$this);
74519 },
74520 $signature: 65
74521 };
74522 A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
74523 call$0() {
74524 var $async$goto = 0,
74525 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
74526 $async$returnValue, $async$self = this, t1, t2, t3, result;
74527 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74528 if ($async$errorCode === 1)
74529 return A._asyncRethrow($async$result, $async$completer);
74530 while (true)
74531 switch ($async$goto) {
74532 case 0:
74533 // Function start
74534 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
74535 case 3:
74536 // for condition
74537 $async$goto = 5;
74538 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
74539 case 5:
74540 // returning from await.
74541 if (!$async$result.get$isTruthy()) {
74542 // goto after for
74543 $async$goto = 4;
74544 break;
74545 }
74546 $async$goto = 6;
74547 return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
74548 case 6:
74549 // returning from await.
74550 result = $async$result;
74551 if (result != null) {
74552 $async$returnValue = result;
74553 // goto return
74554 $async$goto = 1;
74555 break;
74556 }
74557 // goto for condition
74558 $async$goto = 3;
74559 break;
74560 case 4:
74561 // after for
74562 $async$returnValue = null;
74563 // goto return
74564 $async$goto = 1;
74565 break;
74566 case 1:
74567 // return
74568 return A._asyncReturn($async$returnValue, $async$completer);
74569 }
74570 });
74571 return A._asyncStartSync($async$call$0, $async$completer);
74572 },
74573 $signature: 64
74574 };
74575 A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
74576 call$1(child) {
74577 return child.accept$1(this.$this);
74578 },
74579 $signature: 97
74580 };
74581 A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
74582 call$0() {
74583 var $async$goto = 0,
74584 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74585 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
74586 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74587 if ($async$errorCode === 1)
74588 return A._asyncRethrow($async$result, $async$completer);
74589 while (true)
74590 switch ($async$goto) {
74591 case 0:
74592 // Function start
74593 t1 = $async$self.node;
74594 t2 = $async$self.$this;
74595 $async$goto = 3;
74596 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
74597 case 3:
74598 // returning from await.
74599 left = $async$result;
74600 t3 = t1.operator;
74601 case 4:
74602 // switch
74603 switch (t3) {
74604 case B.BinaryOperator_kjl0:
74605 // goto case
74606 $async$goto = 6;
74607 break;
74608 case B.BinaryOperator_or_or_10:
74609 // goto case
74610 $async$goto = 7;
74611 break;
74612 case B.BinaryOperator_and_and_20:
74613 // goto case
74614 $async$goto = 8;
74615 break;
74616 case B.BinaryOperator_YlX0:
74617 // goto case
74618 $async$goto = 9;
74619 break;
74620 case B.BinaryOperator_i5H0:
74621 // goto case
74622 $async$goto = 10;
74623 break;
74624 case B.BinaryOperator_AcR1:
74625 // goto case
74626 $async$goto = 11;
74627 break;
74628 case B.BinaryOperator_1da0:
74629 // goto case
74630 $async$goto = 12;
74631 break;
74632 case B.BinaryOperator_8qt0:
74633 // goto case
74634 $async$goto = 13;
74635 break;
74636 case B.BinaryOperator_33h0:
74637 // goto case
74638 $async$goto = 14;
74639 break;
74640 case B.BinaryOperator_AcR2:
74641 // goto case
74642 $async$goto = 15;
74643 break;
74644 case B.BinaryOperator_iyO0:
74645 // goto case
74646 $async$goto = 16;
74647 break;
74648 case B.BinaryOperator_O1M0:
74649 // goto case
74650 $async$goto = 17;
74651 break;
74652 case B.BinaryOperator_RTB0:
74653 // goto case
74654 $async$goto = 18;
74655 break;
74656 case B.BinaryOperator_2ad0:
74657 // goto case
74658 $async$goto = 19;
74659 break;
74660 default:
74661 // goto default
74662 $async$goto = 20;
74663 break;
74664 }
74665 break;
74666 case 6:
74667 // case
74668 $async$goto = 21;
74669 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74670 case 21:
74671 // returning from await.
74672 right = $async$result;
74673 $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
74674 // goto return
74675 $async$goto = 1;
74676 break;
74677 case 7:
74678 // case
74679 $async$goto = left.get$isTruthy() ? 22 : 24;
74680 break;
74681 case 22:
74682 // then
74683 $async$result = left;
74684 // goto join
74685 $async$goto = 23;
74686 break;
74687 case 24:
74688 // else
74689 $async$goto = 25;
74690 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74691 case 25:
74692 // returning from await.
74693 case 23:
74694 // join
74695 $async$returnValue = $async$result;
74696 // goto return
74697 $async$goto = 1;
74698 break;
74699 case 8:
74700 // case
74701 $async$goto = left.get$isTruthy() ? 26 : 28;
74702 break;
74703 case 26:
74704 // then
74705 $async$goto = 29;
74706 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74707 case 29:
74708 // returning from await.
74709 // goto join
74710 $async$goto = 27;
74711 break;
74712 case 28:
74713 // else
74714 $async$result = left;
74715 case 27:
74716 // join
74717 $async$returnValue = $async$result;
74718 // goto return
74719 $async$goto = 1;
74720 break;
74721 case 9:
74722 // case
74723 $async$temp1 = left;
74724 $async$goto = 30;
74725 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74726 case 30:
74727 // returning from await.
74728 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74729 // goto return
74730 $async$goto = 1;
74731 break;
74732 case 10:
74733 // case
74734 $async$temp1 = left;
74735 $async$goto = 31;
74736 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74737 case 31:
74738 // returning from await.
74739 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74740 // goto return
74741 $async$goto = 1;
74742 break;
74743 case 11:
74744 // case
74745 $async$temp1 = left;
74746 $async$goto = 32;
74747 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74748 case 32:
74749 // returning from await.
74750 $async$returnValue = $async$temp1.greaterThan$1($async$result);
74751 // goto return
74752 $async$goto = 1;
74753 break;
74754 case 12:
74755 // case
74756 $async$temp1 = left;
74757 $async$goto = 33;
74758 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74759 case 33:
74760 // returning from await.
74761 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
74762 // goto return
74763 $async$goto = 1;
74764 break;
74765 case 13:
74766 // case
74767 $async$temp1 = left;
74768 $async$goto = 34;
74769 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74770 case 34:
74771 // returning from await.
74772 $async$returnValue = $async$temp1.lessThan$1($async$result);
74773 // goto return
74774 $async$goto = 1;
74775 break;
74776 case 14:
74777 // case
74778 $async$temp1 = left;
74779 $async$goto = 35;
74780 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74781 case 35:
74782 // returning from await.
74783 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
74784 // goto return
74785 $async$goto = 1;
74786 break;
74787 case 15:
74788 // case
74789 $async$temp1 = left;
74790 $async$goto = 36;
74791 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74792 case 36:
74793 // returning from await.
74794 $async$returnValue = $async$temp1.plus$1($async$result);
74795 // goto return
74796 $async$goto = 1;
74797 break;
74798 case 16:
74799 // case
74800 $async$temp1 = left;
74801 $async$goto = 37;
74802 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74803 case 37:
74804 // returning from await.
74805 $async$returnValue = $async$temp1.minus$1($async$result);
74806 // goto return
74807 $async$goto = 1;
74808 break;
74809 case 17:
74810 // case
74811 $async$temp1 = left;
74812 $async$goto = 38;
74813 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74814 case 38:
74815 // returning from await.
74816 $async$returnValue = $async$temp1.times$1($async$result);
74817 // goto return
74818 $async$goto = 1;
74819 break;
74820 case 18:
74821 // case
74822 $async$goto = 39;
74823 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74824 case 39:
74825 // returning from await.
74826 right = $async$result;
74827 result = left.dividedBy$1(right);
74828 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
74829 $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
74830 // goto return
74831 $async$goto = 1;
74832 break;
74833 } else {
74834 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
74835 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);
74836 $async$returnValue = result;
74837 // goto return
74838 $async$goto = 1;
74839 break;
74840 }
74841 case 19:
74842 // case
74843 $async$temp1 = left;
74844 $async$goto = 40;
74845 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74846 case 40:
74847 // returning from await.
74848 $async$returnValue = $async$temp1.modulo$1($async$result);
74849 // goto return
74850 $async$goto = 1;
74851 break;
74852 case 20:
74853 // default
74854 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
74855 case 5:
74856 // after switch
74857 case 1:
74858 // return
74859 return A._asyncReturn($async$returnValue, $async$completer);
74860 }
74861 });
74862 return A._asyncStartSync($async$call$0, $async$completer);
74863 },
74864 $signature: 65
74865 };
74866 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
74867 call$1(expression) {
74868 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
74869 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
74870 else if (expression instanceof A.ParenthesizedExpression0)
74871 return expression.expression.toString$0(0);
74872 else
74873 return expression.toString$0(0);
74874 },
74875 $signature: 122
74876 };
74877 A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
74878 call$0() {
74879 var t1 = this.node;
74880 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74881 },
74882 $signature: 39
74883 };
74884 A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
74885 call$0() {
74886 var _this = this,
74887 t1 = _this.node.operator;
74888 switch (t1) {
74889 case B.UnaryOperator_j2w0:
74890 return _this.operand.unaryPlus$0();
74891 case B.UnaryOperator_U4G0:
74892 return _this.operand.unaryMinus$0();
74893 case B.UnaryOperator_zDx0:
74894 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
74895 case B.UnaryOperator_not_not0:
74896 return _this.operand.unaryNot$0();
74897 default:
74898 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
74899 }
74900 },
74901 $signature: 47
74902 };
74903 A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
74904 call$0() {
74905 var $async$goto = 0,
74906 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
74907 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
74908 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74909 if ($async$errorCode === 1)
74910 return A._asyncRethrow($async$result, $async$completer);
74911 while (true)
74912 switch ($async$goto) {
74913 case 0:
74914 // Function start
74915 t1 = $async$self.$this;
74916 t2 = $async$self.node;
74917 t3 = $async$self.inMinMax;
74918 $async$temp1 = A;
74919 $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
74920 $async$goto = 3;
74921 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
74922 case 3:
74923 // returning from await.
74924 $async$temp3 = $async$result;
74925 $async$goto = 4;
74926 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
74927 case 4:
74928 // returning from await.
74929 $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
74930 // goto return
74931 $async$goto = 1;
74932 break;
74933 case 1:
74934 // return
74935 return A._asyncReturn($async$returnValue, $async$completer);
74936 }
74937 });
74938 return A._asyncStartSync($async$call$0, $async$completer);
74939 },
74940 $signature: 152
74941 };
74942 A._EvaluateVisitor_visitListExpression_closure2.prototype = {
74943 call$1(expression) {
74944 return expression.accept$1(this.$this);
74945 },
74946 $signature: 344
74947 };
74948 A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
74949 call$0() {
74950 var t1 = this.node;
74951 return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
74952 },
74953 $signature: 115
74954 };
74955 A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
74956 call$0() {
74957 var t1 = this.node;
74958 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
74959 },
74960 $signature: 65
74961 };
74962 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
74963 call$0() {
74964 var t1 = this.node;
74965 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
74966 },
74967 $signature: 65
74968 };
74969 A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
74970 call$0() {
74971 var _this = this,
74972 t1 = _this.$this,
74973 t2 = _this.callable,
74974 t3 = _this.V;
74975 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);
74976 },
74977 $signature() {
74978 return this.V._eval$1("Future<0>()");
74979 }
74980 };
74981 A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
74982 call$0() {
74983 var _this = this,
74984 t1 = _this.$this,
74985 t2 = _this.V;
74986 return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
74987 },
74988 $signature() {
74989 return this.V._eval$1("Future<0>()");
74990 }
74991 };
74992 A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
74993 call$0() {
74994 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
74995 },
74996 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
74997 var $async$goto = 0,
74998 $async$completer = A._makeAsyncAwaitCompleter($async$type),
74999 $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;
75000 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75001 if ($async$errorCode === 1)
75002 return A._asyncRethrow($async$result, $async$completer);
75003 while (true)
75004 switch ($async$goto) {
75005 case 0:
75006 // Function start
75007 t1 = $async$self.$this;
75008 t2 = $async$self.evaluated;
75009 t3 = t2.positional;
75010 t4 = t2.named;
75011 t5 = $async$self.callable.declaration.$arguments;
75012 t6 = $async$self.nodeWithSpan;
75013 t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
75014 declaredArguments = t5.$arguments;
75015 t7 = declaredArguments.length;
75016 minLength = Math.min(t3.length, t7);
75017 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
75018 t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
75019 i = t3.length, t8 = t2.namedNodes;
75020 case 3:
75021 // for condition
75022 if (!(i < t7)) {
75023 // goto after for
75024 $async$goto = 5;
75025 break;
75026 }
75027 argument = declaredArguments[i];
75028 t9 = argument.name;
75029 value = t4.remove$1(0, t9);
75030 $async$goto = value == null ? 6 : 7;
75031 break;
75032 case 6:
75033 // then
75034 t10 = argument.defaultValue;
75035 $async$temp1 = t1;
75036 $async$goto = 8;
75037 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
75038 case 8:
75039 // returning from await.
75040 value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
75041 case 7:
75042 // join
75043 t10 = t1._async_evaluate0$_environment;
75044 t11 = t8.$index(0, t9);
75045 if (t11 == null) {
75046 t11 = argument.defaultValue;
75047 t11.toString;
75048 t11 = t1._async_evaluate0$_expressionNode$1(t11);
75049 }
75050 t10.setLocalVariable$3(t9, value, t11);
75051 case 4:
75052 // for update
75053 ++i;
75054 // goto for condition
75055 $async$goto = 3;
75056 break;
75057 case 5:
75058 // after for
75059 restArgument = t5.restArgument;
75060 if (restArgument != null) {
75061 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
75062 t2 = t2.separator;
75063 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
75064 t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
75065 } else
75066 argumentList = null;
75067 $async$goto = 9;
75068 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
75069 case 9:
75070 // returning from await.
75071 result = $async$result;
75072 if (argumentList == null) {
75073 $async$returnValue = result;
75074 // goto return
75075 $async$goto = 1;
75076 break;
75077 }
75078 t2 = t4.__js_helper$_length;
75079 if (t2 === 0) {
75080 $async$returnValue = result;
75081 // goto return
75082 $async$goto = 1;
75083 break;
75084 }
75085 if (argumentList._argument_list$_wereKeywordsAccessed) {
75086 $async$returnValue = result;
75087 // goto return
75088 $async$goto = 1;
75089 break;
75090 }
75091 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
75092 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))));
75093 case 1:
75094 // return
75095 return A._asyncReturn($async$returnValue, $async$completer);
75096 }
75097 });
75098 return A._asyncStartSync($async$call$0, $async$completer);
75099 },
75100 $signature() {
75101 return this.V._eval$1("Future<0>()");
75102 }
75103 };
75104 A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
75105 call$1($name) {
75106 return "$" + $name;
75107 },
75108 $signature: 5
75109 };
75110 A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
75111 call$0() {
75112 var $async$goto = 0,
75113 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
75114 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
75115 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75116 if ($async$errorCode === 1)
75117 return A._asyncRethrow($async$result, $async$completer);
75118 while (true)
75119 switch ($async$goto) {
75120 case 0:
75121 // Function start
75122 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
75123 case 3:
75124 // for condition
75125 if (!(_i < t3)) {
75126 // goto after for
75127 $async$goto = 5;
75128 break;
75129 }
75130 $async$goto = 6;
75131 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
75132 case 6:
75133 // returning from await.
75134 $returnValue = $async$result;
75135 if ($returnValue instanceof A.Value0) {
75136 $async$returnValue = $returnValue;
75137 // goto return
75138 $async$goto = 1;
75139 break;
75140 }
75141 case 4:
75142 // for update
75143 ++_i;
75144 // goto for condition
75145 $async$goto = 3;
75146 break;
75147 case 5:
75148 // after for
75149 throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
75150 case 1:
75151 // return
75152 return A._asyncReturn($async$returnValue, $async$completer);
75153 }
75154 });
75155 return A._asyncStartSync($async$call$0, $async$completer);
75156 },
75157 $signature: 65
75158 };
75159 A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
75160 call$0() {
75161 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
75162 },
75163 $signature: 0
75164 };
75165 A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
75166 call$1($name) {
75167 return "$" + $name;
75168 },
75169 $signature: 5
75170 };
75171 A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
75172 call$1(value) {
75173 return value;
75174 },
75175 $signature: 38
75176 };
75177 A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
75178 call$1(value) {
75179 return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
75180 },
75181 $signature: 38
75182 };
75183 A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
75184 call$2(key, value) {
75185 var _this = this,
75186 t1 = _this.restNodeForSpan;
75187 _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
75188 _this.namedNodes.$indexSet(0, key, t1);
75189 },
75190 $signature: 74
75191 };
75192 A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
75193 call$1(value) {
75194 return value;
75195 },
75196 $signature: 38
75197 };
75198 A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
75199 call$1(value) {
75200 var t1 = this.restArgs;
75201 return new A.ValueExpression0(value, t1.get$span(t1));
75202 },
75203 $signature: 58
75204 };
75205 A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
75206 call$1(value) {
75207 var t1 = this.restArgs;
75208 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
75209 },
75210 $signature: 58
75211 };
75212 A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
75213 call$2(key, value) {
75214 var _this = this,
75215 t1 = _this.restArgs;
75216 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
75217 },
75218 $signature: 74
75219 };
75220 A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
75221 call$1(value) {
75222 var t1 = this.keywordRestArgs;
75223 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
75224 },
75225 $signature: 58
75226 };
75227 A._EvaluateVisitor__addRestMap_closure2.prototype = {
75228 call$2(key, value) {
75229 var t2, _this = this,
75230 t1 = _this.$this;
75231 if (key instanceof A.SassString0)
75232 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
75233 else {
75234 t2 = _this.nodeWithSpan;
75235 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)));
75236 }
75237 },
75238 $signature: 55
75239 };
75240 A._EvaluateVisitor__verifyArguments_closure2.prototype = {
75241 call$0() {
75242 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
75243 },
75244 $signature: 0
75245 };
75246 A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
75247 call$1(value) {
75248 var $async$goto = 0,
75249 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75250 $async$returnValue, $async$self = this, t1, result;
75251 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75252 if ($async$errorCode === 1)
75253 return A._asyncRethrow($async$result, $async$completer);
75254 while (true)
75255 switch ($async$goto) {
75256 case 0:
75257 // Function start
75258 if (typeof value == "string") {
75259 $async$returnValue = value;
75260 // goto return
75261 $async$goto = 1;
75262 break;
75263 }
75264 type$.Expression_2._as(value);
75265 t1 = $async$self.$this;
75266 $async$goto = 3;
75267 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75268 case 3:
75269 // returning from await.
75270 result = $async$result;
75271 $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
75272 // goto return
75273 $async$goto = 1;
75274 break;
75275 case 1:
75276 // return
75277 return A._asyncReturn($async$returnValue, $async$completer);
75278 }
75279 });
75280 return A._asyncStartSync($async$call$1, $async$completer);
75281 },
75282 $signature: 92
75283 };
75284 A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
75285 call$0() {
75286 var $async$goto = 0,
75287 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75288 $async$self = this, t1, t2, t3, t4;
75289 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75290 if ($async$errorCode === 1)
75291 return A._asyncRethrow($async$result, $async$completer);
75292 while (true)
75293 switch ($async$goto) {
75294 case 0:
75295 // Function start
75296 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75297 case 2:
75298 // for condition
75299 if (!t1.moveNext$0()) {
75300 // goto after for
75301 $async$goto = 3;
75302 break;
75303 }
75304 t4 = t1.__internal$_current;
75305 $async$goto = 4;
75306 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75307 case 4:
75308 // returning from await.
75309 // goto for condition
75310 $async$goto = 2;
75311 break;
75312 case 3:
75313 // after for
75314 // implicit return
75315 return A._asyncReturn(null, $async$completer);
75316 }
75317 });
75318 return A._asyncStartSync($async$call$0, $async$completer);
75319 },
75320 $signature: 2
75321 };
75322 A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
75323 call$1(node) {
75324 return type$.CssStyleRule_2._is(node);
75325 },
75326 $signature: 7
75327 };
75328 A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
75329 call$0() {
75330 var $async$goto = 0,
75331 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75332 $async$self = this, t1, t2, t3, t4;
75333 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75334 if ($async$errorCode === 1)
75335 return A._asyncRethrow($async$result, $async$completer);
75336 while (true)
75337 switch ($async$goto) {
75338 case 0:
75339 // Function start
75340 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75341 case 2:
75342 // for condition
75343 if (!t1.moveNext$0()) {
75344 // goto after for
75345 $async$goto = 3;
75346 break;
75347 }
75348 t4 = t1.__internal$_current;
75349 $async$goto = 4;
75350 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75351 case 4:
75352 // returning from await.
75353 // goto for condition
75354 $async$goto = 2;
75355 break;
75356 case 3:
75357 // after for
75358 // implicit return
75359 return A._asyncReturn(null, $async$completer);
75360 }
75361 });
75362 return A._asyncStartSync($async$call$0, $async$completer);
75363 },
75364 $signature: 2
75365 };
75366 A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
75367 call$1(node) {
75368 return type$.CssStyleRule_2._is(node);
75369 },
75370 $signature: 7
75371 };
75372 A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
75373 call$1(mediaQueries) {
75374 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
75375 },
75376 $signature: 80
75377 };
75378 A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
75379 call$0() {
75380 var $async$goto = 0,
75381 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75382 $async$self = this, t1, t2;
75383 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75384 if ($async$errorCode === 1)
75385 return A._asyncRethrow($async$result, $async$completer);
75386 while (true)
75387 switch ($async$goto) {
75388 case 0:
75389 // Function start
75390 t1 = $async$self.$this;
75391 t2 = $async$self.mergedQueries;
75392 if (t2 == null)
75393 t2 = $async$self.node.queries;
75394 $async$goto = 2;
75395 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
75396 case 2:
75397 // returning from await.
75398 // implicit return
75399 return A._asyncReturn(null, $async$completer);
75400 }
75401 });
75402 return A._asyncStartSync($async$call$0, $async$completer);
75403 },
75404 $signature: 2
75405 };
75406 A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
75407 call$0() {
75408 var $async$goto = 0,
75409 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75410 $async$self = this, t2, t3, t4, t1, styleRule;
75411 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75412 if ($async$errorCode === 1)
75413 return A._asyncRethrow($async$result, $async$completer);
75414 while (true)
75415 switch ($async$goto) {
75416 case 0:
75417 // Function start
75418 t1 = $async$self.$this;
75419 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75420 $async$goto = styleRule == null ? 2 : 4;
75421 break;
75422 case 2:
75423 // then
75424 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75425 case 5:
75426 // for condition
75427 if (!t2.moveNext$0()) {
75428 // goto after for
75429 $async$goto = 6;
75430 break;
75431 }
75432 t4 = t2.__internal$_current;
75433 $async$goto = 7;
75434 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
75435 case 7:
75436 // returning from await.
75437 // goto for condition
75438 $async$goto = 5;
75439 break;
75440 case 6:
75441 // after for
75442 // goto join
75443 $async$goto = 3;
75444 break;
75445 case 4:
75446 // else
75447 $async$goto = 8;
75448 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);
75449 case 8:
75450 // returning from await.
75451 case 3:
75452 // join
75453 // implicit return
75454 return A._asyncReturn(null, $async$completer);
75455 }
75456 });
75457 return A._asyncStartSync($async$call$0, $async$completer);
75458 },
75459 $signature: 2
75460 };
75461 A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
75462 call$0() {
75463 var $async$goto = 0,
75464 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75465 $async$self = this, t1, t2, t3, t4;
75466 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75467 if ($async$errorCode === 1)
75468 return A._asyncRethrow($async$result, $async$completer);
75469 while (true)
75470 switch ($async$goto) {
75471 case 0:
75472 // Function start
75473 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75474 case 2:
75475 // for condition
75476 if (!t1.moveNext$0()) {
75477 // goto after for
75478 $async$goto = 3;
75479 break;
75480 }
75481 t4 = t1.__internal$_current;
75482 $async$goto = 4;
75483 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75484 case 4:
75485 // returning from await.
75486 // goto for condition
75487 $async$goto = 2;
75488 break;
75489 case 3:
75490 // after for
75491 // implicit return
75492 return A._asyncReturn(null, $async$completer);
75493 }
75494 });
75495 return A._asyncStartSync($async$call$0, $async$completer);
75496 },
75497 $signature: 2
75498 };
75499 A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
75500 call$1(node) {
75501 var t1;
75502 if (!type$.CssStyleRule_2._is(node))
75503 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
75504 else
75505 t1 = true;
75506 return t1;
75507 },
75508 $signature: 7
75509 };
75510 A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
75511 call$0() {
75512 var $async$goto = 0,
75513 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75514 $async$self = this, t1;
75515 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75516 if ($async$errorCode === 1)
75517 return A._asyncRethrow($async$result, $async$completer);
75518 while (true)
75519 switch ($async$goto) {
75520 case 0:
75521 // Function start
75522 t1 = $async$self.$this;
75523 $async$goto = 2;
75524 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);
75525 case 2:
75526 // returning from await.
75527 // implicit return
75528 return A._asyncReturn(null, $async$completer);
75529 }
75530 });
75531 return A._asyncStartSync($async$call$0, $async$completer);
75532 },
75533 $signature: 2
75534 };
75535 A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
75536 call$0() {
75537 var $async$goto = 0,
75538 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75539 $async$self = this, t1, t2, t3, t4;
75540 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75541 if ($async$errorCode === 1)
75542 return A._asyncRethrow($async$result, $async$completer);
75543 while (true)
75544 switch ($async$goto) {
75545 case 0:
75546 // Function start
75547 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75548 case 2:
75549 // for condition
75550 if (!t1.moveNext$0()) {
75551 // goto after for
75552 $async$goto = 3;
75553 break;
75554 }
75555 t4 = t1.__internal$_current;
75556 $async$goto = 4;
75557 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75558 case 4:
75559 // returning from await.
75560 // goto for condition
75561 $async$goto = 2;
75562 break;
75563 case 3:
75564 // after for
75565 // implicit return
75566 return A._asyncReturn(null, $async$completer);
75567 }
75568 });
75569 return A._asyncStartSync($async$call$0, $async$completer);
75570 },
75571 $signature: 2
75572 };
75573 A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
75574 call$1(node) {
75575 return type$.CssStyleRule_2._is(node);
75576 },
75577 $signature: 7
75578 };
75579 A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
75580 call$0() {
75581 var $async$goto = 0,
75582 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75583 $async$self = this, t2, t3, t4, t1, styleRule;
75584 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75585 if ($async$errorCode === 1)
75586 return A._asyncRethrow($async$result, $async$completer);
75587 while (true)
75588 switch ($async$goto) {
75589 case 0:
75590 // Function start
75591 t1 = $async$self.$this;
75592 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75593 $async$goto = styleRule == null ? 2 : 4;
75594 break;
75595 case 2:
75596 // then
75597 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75598 case 5:
75599 // for condition
75600 if (!t2.moveNext$0()) {
75601 // goto after for
75602 $async$goto = 6;
75603 break;
75604 }
75605 t4 = t2.__internal$_current;
75606 $async$goto = 7;
75607 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
75608 case 7:
75609 // returning from await.
75610 // goto for condition
75611 $async$goto = 5;
75612 break;
75613 case 6:
75614 // after for
75615 // goto join
75616 $async$goto = 3;
75617 break;
75618 case 4:
75619 // else
75620 $async$goto = 8;
75621 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);
75622 case 8:
75623 // returning from await.
75624 case 3:
75625 // join
75626 // implicit return
75627 return A._asyncReturn(null, $async$completer);
75628 }
75629 });
75630 return A._asyncStartSync($async$call$0, $async$completer);
75631 },
75632 $signature: 2
75633 };
75634 A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
75635 call$0() {
75636 var $async$goto = 0,
75637 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75638 $async$self = this, t1, t2, t3, t4;
75639 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75640 if ($async$errorCode === 1)
75641 return A._asyncRethrow($async$result, $async$completer);
75642 while (true)
75643 switch ($async$goto) {
75644 case 0:
75645 // Function start
75646 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
75647 case 2:
75648 // for condition
75649 if (!t1.moveNext$0()) {
75650 // goto after for
75651 $async$goto = 3;
75652 break;
75653 }
75654 t4 = t1.__internal$_current;
75655 $async$goto = 4;
75656 return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
75657 case 4:
75658 // returning from await.
75659 // goto for condition
75660 $async$goto = 2;
75661 break;
75662 case 3:
75663 // after for
75664 // implicit return
75665 return A._asyncReturn(null, $async$completer);
75666 }
75667 });
75668 return A._asyncStartSync($async$call$0, $async$completer);
75669 },
75670 $signature: 2
75671 };
75672 A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
75673 call$1(node) {
75674 return type$.CssStyleRule_2._is(node);
75675 },
75676 $signature: 7
75677 };
75678 A._EvaluateVisitor__performInterpolation_closure2.prototype = {
75679 call$1(value) {
75680 var $async$goto = 0,
75681 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75682 $async$returnValue, $async$self = this, t1, result, t2, t3;
75683 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75684 if ($async$errorCode === 1)
75685 return A._asyncRethrow($async$result, $async$completer);
75686 while (true)
75687 switch ($async$goto) {
75688 case 0:
75689 // Function start
75690 if (typeof value == "string") {
75691 $async$returnValue = value;
75692 // goto return
75693 $async$goto = 1;
75694 break;
75695 }
75696 type$.Expression_2._as(value);
75697 t1 = $async$self.$this;
75698 $async$goto = 3;
75699 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75700 case 3:
75701 // returning from await.
75702 result = $async$result;
75703 if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
75704 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
75705 t3 = $.$get$namesByColor0();
75706 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));
75707 }
75708 $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
75709 // goto return
75710 $async$goto = 1;
75711 break;
75712 case 1:
75713 // return
75714 return A._asyncReturn($async$returnValue, $async$completer);
75715 }
75716 });
75717 return A._asyncStartSync($async$call$1, $async$completer);
75718 },
75719 $signature: 92
75720 };
75721 A._EvaluateVisitor__serialize_closure2.prototype = {
75722 call$0() {
75723 return A.serializeValue0(this.value, false, this.quote);
75724 },
75725 $signature: 29
75726 };
75727 A._EvaluateVisitor__expressionNode_closure2.prototype = {
75728 call$0() {
75729 var t1 = this.expression;
75730 return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
75731 },
75732 $signature: 189
75733 };
75734 A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
75735 call$1(number) {
75736 var asSlash = number.asSlash;
75737 if (asSlash != null)
75738 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
75739 else
75740 return A.serializeValue0(number, true, true);
75741 },
75742 $signature: 190
75743 };
75744 A._EvaluateVisitor__stackFrame_closure2.prototype = {
75745 call$1(url) {
75746 var t1 = this.$this._async_evaluate0$_importCache;
75747 t1 = t1 == null ? null : t1.humanize$1(url);
75748 return t1 == null ? url : t1;
75749 },
75750 $signature: 90
75751 };
75752 A._EvaluateVisitor__stackTrace_closure2.prototype = {
75753 call$1(tuple) {
75754 return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
75755 },
75756 $signature: 191
75757 };
75758 A._ImportedCssVisitor2.prototype = {
75759 visitCssAtRule$1(node) {
75760 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
75761 this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
75762 },
75763 visitCssComment$1(node) {
75764 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
75765 },
75766 visitCssDeclaration$1(node) {
75767 },
75768 visitCssImport$1(node) {
75769 var t2,
75770 _s13_ = "_endOfImports",
75771 t1 = this._async_evaluate0$_visitor;
75772 if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
75773 t1._async_evaluate0$_addChild$1(node);
75774 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)) {
75775 t1._async_evaluate0$_addChild$1(node);
75776 t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
75777 } else {
75778 t2 = t1._async_evaluate0$_outOfOrderImports;
75779 (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
75780 }
75781 },
75782 visitCssKeyframeBlock$1(node) {
75783 },
75784 visitCssMediaRule$1(node) {
75785 var t1 = this._async_evaluate0$_visitor,
75786 mediaQueries = t1._async_evaluate0$_mediaQueries;
75787 t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
75788 },
75789 visitCssStyleRule$1(node) {
75790 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
75791 },
75792 visitCssStylesheet$1(node) {
75793 var t1, t2, t3;
75794 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
75795 t3 = t1.__internal$_current;
75796 (t3 == null ? t2._as(t3) : t3).accept$1(this);
75797 }
75798 },
75799 visitCssSupportsRule$1(node) {
75800 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
75801 }
75802 };
75803 A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
75804 call$1(node) {
75805 return type$.CssStyleRule_2._is(node);
75806 },
75807 $signature: 7
75808 };
75809 A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
75810 call$1(node) {
75811 var t1;
75812 if (!type$.CssStyleRule_2._is(node))
75813 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
75814 else
75815 t1 = true;
75816 return t1;
75817 },
75818 $signature: 7
75819 };
75820 A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
75821 call$1(node) {
75822 return type$.CssStyleRule_2._is(node);
75823 },
75824 $signature: 7
75825 };
75826 A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
75827 call$1(node) {
75828 return type$.CssStyleRule_2._is(node);
75829 },
75830 $signature: 7
75831 };
75832 A.EvaluateResult0.prototype = {};
75833 A._EvaluationContext2.prototype = {
75834 get$currentCallableSpan() {
75835 var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
75836 if (callableNode != null)
75837 return callableNode.get$span(callableNode);
75838 throw A.wrapException(A.StateError$(string$.No_Sasc));
75839 },
75840 warn$2$deprecation(_, message, deprecation) {
75841 var t1 = this._async_evaluate0$_visitor,
75842 t2 = t1._async_evaluate0$_importSpan;
75843 if (t2 == null) {
75844 t2 = t1._async_evaluate0$_callableNode;
75845 t2 = t2 == null ? null : t2.get$span(t2);
75846 }
75847 t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
75848 },
75849 $isEvaluationContext0: 1
75850 };
75851 A._ArgumentResults2.prototype = {};
75852 A._LoadedStylesheet2.prototype = {};
75853 A.NodeToDartAsyncFileImporter.prototype = {
75854 canonicalize$1(_, url) {
75855 return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
75856 },
75857 canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
75858 var $async$goto = 0,
75859 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75860 $async$returnValue, $async$self = this, result, t1, resultUrl;
75861 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75862 if ($async$errorCode === 1)
75863 return A._asyncRethrow($async$result, $async$completer);
75864 while (true)
75865 switch ($async$goto) {
75866 case 0:
75867 // Function start
75868 if (url.get$scheme() === "file") {
75869 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
75870 // goto return
75871 $async$goto = 1;
75872 break;
75873 }
75874 result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
75875 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
75876 break;
75877 case 3:
75878 // then
75879 $async$goto = 5;
75880 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
75881 case 5:
75882 // returning from await.
75883 result = $async$result;
75884 case 4:
75885 // join
75886 if (result == null) {
75887 $async$returnValue = null;
75888 // goto return
75889 $async$goto = 1;
75890 break;
75891 }
75892 t1 = self.URL;
75893 if (!(result instanceof t1))
75894 A.jsThrow(new self.Error(string$.The_fie));
75895 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
75896 if (resultUrl.get$scheme() !== "file")
75897 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
75898 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
75899 // goto return
75900 $async$goto = 1;
75901 break;
75902 case 1:
75903 // return
75904 return A._asyncReturn($async$returnValue, $async$completer);
75905 }
75906 });
75907 return A._asyncStartSync($async$canonicalize$1, $async$completer);
75908 },
75909 load$1(_, url) {
75910 return $.$get$_filesystemImporter().load$1(0, url);
75911 }
75912 };
75913 A.AsyncImportCache0.prototype = {
75914 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
75915 return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
75916 },
75917 canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
75918 var $async$goto = 0,
75919 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75920 $async$returnValue, $async$self = this, t1, relativeResult;
75921 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75922 if ($async$errorCode === 1)
75923 return A._asyncRethrow($async$result, $async$completer);
75924 while (true)
75925 switch ($async$goto) {
75926 case 0:
75927 // Function start
75928 $async$goto = baseImporter != null ? 3 : 4;
75929 break;
75930 case 3:
75931 // then
75932 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
75933 $async$goto = 5;
75934 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);
75935 case 5:
75936 // returning from await.
75937 relativeResult = $async$result;
75938 if (relativeResult != null) {
75939 $async$returnValue = relativeResult;
75940 // goto return
75941 $async$goto = 1;
75942 break;
75943 }
75944 case 4:
75945 // join
75946 t1 = type$.Tuple2_Uri_bool;
75947 $async$goto = 6;
75948 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);
75949 case 6:
75950 // returning from await.
75951 $async$returnValue = $async$result;
75952 // goto return
75953 $async$goto = 1;
75954 break;
75955 case 1:
75956 // return
75957 return A._asyncReturn($async$returnValue, $async$completer);
75958 }
75959 });
75960 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
75961 },
75962 _async_import_cache0$_canonicalize$3(importer, url, forImport) {
75963 return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
75964 },
75965 _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
75966 var $async$goto = 0,
75967 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75968 $async$returnValue, $async$self = this, t1, result;
75969 var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75970 if ($async$errorCode === 1)
75971 return A._asyncRethrow($async$result, $async$completer);
75972 while (true)
75973 switch ($async$goto) {
75974 case 0:
75975 // Function start
75976 if (forImport) {
75977 t1 = type$.nullable_Object;
75978 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
75979 } else
75980 t1 = importer.canonicalize$1(0, url);
75981 $async$goto = 3;
75982 return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
75983 case 3:
75984 // returning from await.
75985 result = $async$result;
75986 if ((result == null ? null : result.get$scheme()) === "")
75987 $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);
75988 $async$returnValue = result;
75989 // goto return
75990 $async$goto = 1;
75991 break;
75992 case 1:
75993 // return
75994 return A._asyncReturn($async$returnValue, $async$completer);
75995 }
75996 });
75997 return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
75998 },
75999 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
76000 return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
76001 },
76002 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
76003 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
76004 },
76005 importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
76006 var $async$goto = 0,
76007 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
76008 $async$returnValue, $async$self = this;
76009 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76010 if ($async$errorCode === 1)
76011 return A._asyncRethrow($async$result, $async$completer);
76012 while (true)
76013 switch ($async$goto) {
76014 case 0:
76015 // Function start
76016 $async$goto = 3;
76017 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);
76018 case 3:
76019 // returning from await.
76020 $async$returnValue = $async$result;
76021 // goto return
76022 $async$goto = 1;
76023 break;
76024 case 1:
76025 // return
76026 return A._asyncReturn($async$returnValue, $async$completer);
76027 }
76028 });
76029 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
76030 },
76031 humanize$1(canonicalUrl) {
76032 var t2, url,
76033 t1 = this._async_import_cache0$_canonicalizeCache;
76034 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
76035 t2 = t1.$ti;
76036 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());
76037 if (url == null)
76038 return canonicalUrl;
76039 t1 = $.$get$url();
76040 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
76041 },
76042 sourceMapUrl$1(_, canonicalUrl) {
76043 var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
76044 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
76045 return t1 == null ? canonicalUrl : t1;
76046 }
76047 };
76048 A.AsyncImportCache_canonicalize_closure1.prototype = {
76049 call$0() {
76050 var $async$goto = 0,
76051 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
76052 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
76053 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76054 if ($async$errorCode === 1)
76055 return A._asyncRethrow($async$result, $async$completer);
76056 while (true)
76057 switch ($async$goto) {
76058 case 0:
76059 // Function start
76060 t1 = $async$self.baseUrl;
76061 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
76062 if (resolvedUrl == null)
76063 resolvedUrl = $async$self.url;
76064 t1 = $async$self.baseImporter;
76065 $async$goto = 3;
76066 return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
76067 case 3:
76068 // returning from await.
76069 canonicalUrl = $async$result;
76070 if (canonicalUrl == null) {
76071 $async$returnValue = null;
76072 // goto return
76073 $async$goto = 1;
76074 break;
76075 }
76076 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
76077 // goto return
76078 $async$goto = 1;
76079 break;
76080 case 1:
76081 // return
76082 return A._asyncReturn($async$returnValue, $async$completer);
76083 }
76084 });
76085 return A._asyncStartSync($async$call$0, $async$completer);
76086 },
76087 $signature: 192
76088 };
76089 A.AsyncImportCache_canonicalize_closure2.prototype = {
76090 call$0() {
76091 var $async$goto = 0,
76092 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
76093 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
76094 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76095 if ($async$errorCode === 1)
76096 return A._asyncRethrow($async$result, $async$completer);
76097 while (true)
76098 switch ($async$goto) {
76099 case 0:
76100 // Function start
76101 t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
76102 case 3:
76103 // for condition
76104 if (!(_i < t2.length)) {
76105 // goto after for
76106 $async$goto = 5;
76107 break;
76108 }
76109 importer = t2[_i];
76110 $async$goto = 6;
76111 return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
76112 case 6:
76113 // returning from await.
76114 canonicalUrl = $async$result;
76115 if (canonicalUrl != null) {
76116 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
76117 // goto return
76118 $async$goto = 1;
76119 break;
76120 }
76121 case 4:
76122 // for update
76123 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
76124 // goto for condition
76125 $async$goto = 3;
76126 break;
76127 case 5:
76128 // after for
76129 $async$returnValue = null;
76130 // goto return
76131 $async$goto = 1;
76132 break;
76133 case 1:
76134 // return
76135 return A._asyncReturn($async$returnValue, $async$completer);
76136 }
76137 });
76138 return A._asyncStartSync($async$call$0, $async$completer);
76139 },
76140 $signature: 192
76141 };
76142 A.AsyncImportCache__canonicalize_closure0.prototype = {
76143 call$0() {
76144 return this.importer.canonicalize$1(0, this.url);
76145 },
76146 $signature: 210
76147 };
76148 A.AsyncImportCache_importCanonical_closure0.prototype = {
76149 call$0() {
76150 var $async$goto = 0,
76151 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
76152 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
76153 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76154 if ($async$errorCode === 1)
76155 return A._asyncRethrow($async$result, $async$completer);
76156 while (true)
76157 switch ($async$goto) {
76158 case 0:
76159 // Function start
76160 t1 = $async$self.canonicalUrl;
76161 $async$goto = 3;
76162 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
76163 case 3:
76164 // returning from await.
76165 result = $async$result;
76166 if (result == null) {
76167 $async$returnValue = null;
76168 // goto return
76169 $async$goto = 1;
76170 break;
76171 }
76172 t2 = $async$self.$this;
76173 t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
76174 t3 = result.contents;
76175 t4 = result.syntax;
76176 t1 = $async$self.originalUrl.resolveUri$1(t1);
76177 $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
76178 // goto return
76179 $async$goto = 1;
76180 break;
76181 case 1:
76182 // return
76183 return A._asyncReturn($async$returnValue, $async$completer);
76184 }
76185 });
76186 return A._asyncStartSync($async$call$0, $async$completer);
76187 },
76188 $signature: 352
76189 };
76190 A.AsyncImportCache_humanize_closure2.prototype = {
76191 call$1(tuple) {
76192 return tuple.item2.$eq(0, this.canonicalUrl);
76193 },
76194 $signature: 353
76195 };
76196 A.AsyncImportCache_humanize_closure3.prototype = {
76197 call$1(tuple) {
76198 return tuple.item3;
76199 },
76200 $signature: 354
76201 };
76202 A.AsyncImportCache_humanize_closure4.prototype = {
76203 call$1(url) {
76204 return url.get$path(url).length;
76205 },
76206 $signature: 96
76207 };
76208 A.AtRootQueryParser0.prototype = {
76209 parse$0() {
76210 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
76211 }
76212 };
76213 A.AtRootQueryParser_parse_closure0.prototype = {
76214 call$0() {
76215 var include, atRules,
76216 t1 = this.$this,
76217 t2 = t1.scanner;
76218 t2.expectChar$1(40);
76219 t1.whitespace$0();
76220 include = t1.scanIdentifier$1("with");
76221 if (!include)
76222 t1.expectIdentifier$2$name("without", '"with" or "without"');
76223 t1.whitespace$0();
76224 t2.expectChar$1(58);
76225 t1.whitespace$0();
76226 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
76227 do {
76228 atRules.add$1(0, t1.identifier$0().toLowerCase());
76229 t1.whitespace$0();
76230 } while (t1.lookingAtIdentifier$0());
76231 t2.expectChar$1(41);
76232 t2.expectDone$0();
76233 return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
76234 },
76235 $signature: 108
76236 };
76237 A.AtRootQuery0.prototype = {
76238 excludes$1(node) {
76239 var t1, _this = this;
76240 if (_this._at_root_query0$_all)
76241 return !_this.include;
76242 if (type$.CssStyleRule_2._is(node))
76243 return _this._at_root_query0$_rule !== _this.include;
76244 if (type$.CssMediaRule_2._is(node))
76245 return _this.excludesName$1("media");
76246 if (type$.CssSupportsRule_2._is(node))
76247 return _this.excludesName$1("supports");
76248 if (type$.CssAtRule_2._is(node)) {
76249 t1 = node.name;
76250 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
76251 }
76252 return false;
76253 },
76254 excludesName$1($name) {
76255 var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
76256 return t1 !== this.include;
76257 }
76258 };
76259 A.AtRootRule0.prototype = {
76260 accept$1$1(visitor) {
76261 return visitor.visitAtRootRule$1(this);
76262 },
76263 accept$1(visitor) {
76264 return this.accept$1$1(visitor, type$.dynamic);
76265 },
76266 toString$0(_) {
76267 var buffer = new A.StringBuffer("@at-root "),
76268 t1 = this.query;
76269 if (t1 != null)
76270 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
76271 t1 = this.children;
76272 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
76273 },
76274 get$span(receiver) {
76275 return this.span;
76276 }
76277 };
76278 A.ModifiableCssAtRule0.prototype = {
76279 accept$1$1(visitor) {
76280 return visitor.visitCssAtRule$1(this);
76281 },
76282 accept$1(visitor) {
76283 return this.accept$1$1(visitor, type$.dynamic);
76284 },
76285 copyWithoutChildren$0() {
76286 var _this = this;
76287 return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
76288 },
76289 addChild$1(child) {
76290 this.super$ModifiableCssParentNode$addChild0(child);
76291 },
76292 $isCssAtRule0: 1,
76293 get$isChildless() {
76294 return this.isChildless;
76295 },
76296 get$span(receiver) {
76297 return this.span;
76298 }
76299 };
76300 A.AtRule0.prototype = {
76301 accept$1$1(visitor) {
76302 return visitor.visitAtRule$1(this);
76303 },
76304 accept$1(visitor) {
76305 return this.accept$1$1(visitor, type$.dynamic);
76306 },
76307 toString$0(_) {
76308 var children,
76309 t1 = "@" + this.name.toString$0(0),
76310 buffer = new A.StringBuffer(t1),
76311 t2 = this.value;
76312 if (t2 != null)
76313 buffer._contents = t1 + (" " + t2.toString$0(0));
76314 children = this.children;
76315 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
76316 },
76317 get$span(receiver) {
76318 return this.span;
76319 }
76320 };
76321 A.AttributeSelector0.prototype = {
76322 accept$1$1(visitor) {
76323 var value, t2, _this = this,
76324 t1 = visitor._serialize0$_buffer;
76325 t1.writeCharCode$1(91);
76326 t1.write$1(0, _this.name);
76327 value = _this.value;
76328 if (value != null) {
76329 t1.write$1(0, _this.op);
76330 if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
76331 t1.write$1(0, value);
76332 t2 = _this.modifier;
76333 if (t2 != null)
76334 t1.writeCharCode$1(32);
76335 } else {
76336 visitor._serialize0$_visitQuotedString$1(value);
76337 t2 = _this.modifier;
76338 if (t2 != null)
76339 if (visitor._serialize0$_style !== B.OutputStyle_compressed0)
76340 t1.writeCharCode$1(32);
76341 }
76342 if (t2 != null)
76343 t1.write$1(0, t2);
76344 }
76345 t1.writeCharCode$1(93);
76346 return null;
76347 },
76348 accept$1(visitor) {
76349 return this.accept$1$1(visitor, type$.dynamic);
76350 },
76351 $eq(_, other) {
76352 var _this = this;
76353 if (other == null)
76354 return false;
76355 return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
76356 },
76357 get$hashCode(_) {
76358 var _this = this,
76359 t1 = _this.name;
76360 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;
76361 }
76362 };
76363 A.AttributeOperator0.prototype = {
76364 toString$0(_) {
76365 return this._attribute0$_text;
76366 }
76367 };
76368 A.BinaryOperationExpression0.prototype = {
76369 get$span(_) {
76370 var right,
76371 left = this.left;
76372 for (; left instanceof A.BinaryOperationExpression0;)
76373 left = left.left;
76374 right = this.right;
76375 for (; right instanceof A.BinaryOperationExpression0;)
76376 right = right.right;
76377 return left.get$span(left).expand$1(0, right.get$span(right));
76378 },
76379 accept$1$1(visitor) {
76380 return visitor.visitBinaryOperationExpression$1(this);
76381 },
76382 accept$1(visitor) {
76383 return this.accept$1$1(visitor, type$.dynamic);
76384 },
76385 toString$0(_) {
76386 var t2, right, rightNeedsParens, _this = this,
76387 left = _this.left,
76388 leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
76389 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
76390 t1 += left.toString$0(0);
76391 if (leftNeedsParens)
76392 t1 += A.Primitives_stringFromCharCode(41);
76393 t2 = _this.operator;
76394 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
76395 right = _this.right;
76396 rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
76397 if (rightNeedsParens)
76398 t1 += A.Primitives_stringFromCharCode(40);
76399 t1 += right.toString$0(0);
76400 if (rightNeedsParens)
76401 t1 += A.Primitives_stringFromCharCode(41);
76402 return t1.charCodeAt(0) == 0 ? t1 : t1;
76403 },
76404 $isExpression0: 1,
76405 $isAstNode0: 1
76406 };
76407 A.BinaryOperator0.prototype = {
76408 toString$0(_) {
76409 return this.name;
76410 }
76411 };
76412 A.BooleanExpression0.prototype = {
76413 accept$1$1(visitor) {
76414 return visitor.visitBooleanExpression$1(this);
76415 },
76416 accept$1(visitor) {
76417 return this.accept$1$1(visitor, type$.dynamic);
76418 },
76419 toString$0(_) {
76420 return String(this.value);
76421 },
76422 $isExpression0: 1,
76423 $isAstNode0: 1,
76424 get$span(receiver) {
76425 return this.span;
76426 }
76427 };
76428 A.legacyBooleanClass_closure.prototype = {
76429 call$0() {
76430 var t1 = type$.JSClass,
76431 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
76432 J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
76433 jsClass.TRUE = B.SassBoolean_true0;
76434 jsClass.FALSE = B.SassBoolean_false0;
76435 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76436 return jsClass;
76437 },
76438 $signature: 23
76439 };
76440 A.legacyBooleanClass__closure.prototype = {
76441 call$2(_, __) {
76442 throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
76443 },
76444 call$1(_) {
76445 return this.call$2(_, null);
76446 },
76447 "call*": "call$2",
76448 $requiredArgCount: 1,
76449 $defaultValues() {
76450 return [null];
76451 },
76452 $signature: 193
76453 };
76454 A.legacyBooleanClass__closure0.prototype = {
76455 call$1($self) {
76456 return $self === B.SassBoolean_true0;
76457 },
76458 $signature: 109
76459 };
76460 A.booleanClass_closure.prototype = {
76461 call$0() {
76462 var t1 = type$.JSClass,
76463 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
76464 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76465 return jsClass;
76466 },
76467 $signature: 23
76468 };
76469 A.booleanClass__closure.prototype = {
76470 call$2($self, _) {
76471 A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
76472 },
76473 call$1($self) {
76474 return this.call$2($self, null);
76475 },
76476 "call*": "call$2",
76477 $requiredArgCount: 1,
76478 $defaultValues() {
76479 return [null];
76480 },
76481 $signature: 356
76482 };
76483 A.SassBoolean0.prototype = {
76484 get$isTruthy() {
76485 return this.value;
76486 },
76487 accept$1$1(visitor) {
76488 return visitor._serialize0$_buffer.write$1(0, String(this.value));
76489 },
76490 accept$1(visitor) {
76491 return this.accept$1$1(visitor, type$.dynamic);
76492 },
76493 assertBoolean$1($name) {
76494 return this;
76495 },
76496 unaryNot$0() {
76497 return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
76498 }
76499 };
76500 A.BuiltInCallable0.prototype = {
76501 callbackFor$2(positional, names) {
76502 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
76503 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) {
76504 overload = t1[_i];
76505 t3 = overload.item1;
76506 if (t3.matches$2(positional, names))
76507 return overload;
76508 mismatchDistance = t3.$arguments.length - positional;
76509 if (minMismatchDistance != null) {
76510 t3 = Math.abs(mismatchDistance);
76511 t4 = Math.abs(minMismatchDistance);
76512 if (t3 > t4)
76513 continue;
76514 if (t3 === t4 && mismatchDistance < 0)
76515 continue;
76516 }
76517 minMismatchDistance = mismatchDistance;
76518 fuzzyMatch = overload;
76519 }
76520 if (fuzzyMatch != null)
76521 return fuzzyMatch;
76522 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
76523 },
76524 withName$1($name) {
76525 return new A.BuiltInCallable0($name, this._built_in$_overloads);
76526 },
76527 $isAsyncCallable0: 1,
76528 $isAsyncBuiltInCallable0: 1,
76529 $isCallable0: 1,
76530 get$name(receiver) {
76531 return this.name;
76532 }
76533 };
76534 A.BuiltInCallable$mixin_closure0.prototype = {
76535 call$1($arguments) {
76536 this.callback.call$1($arguments);
76537 return B.C__SassNull0;
76538 },
76539 $signature: 3
76540 };
76541 A.BuiltInModule0.prototype = {
76542 get$upstream() {
76543 return B.List_empty13;
76544 },
76545 get$variableNodes() {
76546 return B.Map_empty7;
76547 },
76548 get$extensionStore() {
76549 return B.C_EmptyExtensionStore0;
76550 },
76551 get$css(_) {
76552 return new A.CssStylesheet0(B.List_empty11, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
76553 },
76554 get$transitivelyContainsCss() {
76555 return false;
76556 },
76557 get$transitivelyContainsExtensions() {
76558 return false;
76559 },
76560 setVariable$3($name, value, nodeWithSpan) {
76561 if (!this.variables.containsKey$1($name))
76562 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
76563 throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable."));
76564 },
76565 variableIdentity$1($name) {
76566 return this;
76567 },
76568 cloneCss$0() {
76569 return this;
76570 },
76571 $isModule0: 1,
76572 get$url(receiver) {
76573 return this.url;
76574 },
76575 get$functions(receiver) {
76576 return this.functions;
76577 },
76578 get$mixins() {
76579 return this.mixins;
76580 },
76581 get$variables() {
76582 return this.variables;
76583 }
76584 };
76585 A.CalculationExpression0.prototype = {
76586 accept$1$1(visitor) {
76587 return visitor.visitCalculationExpression$1(this);
76588 },
76589 accept$1(visitor) {
76590 return this.accept$1$1(visitor, type$.dynamic);
76591 },
76592 toString$0(_) {
76593 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
76594 },
76595 $isExpression0: 1,
76596 $isAstNode0: 1,
76597 get$span(receiver) {
76598 return this.span;
76599 }
76600 };
76601 A.CalculationExpression__verifyArguments_closure0.prototype = {
76602 call$1(arg) {
76603 A.CalculationExpression__verify0(arg);
76604 return arg;
76605 },
76606 $signature: 358
76607 };
76608 A.SassCalculation0.prototype = {
76609 get$isSpecialNumber() {
76610 return true;
76611 },
76612 accept$1$1(visitor) {
76613 var t2,
76614 t1 = visitor._serialize0$_buffer;
76615 t1.write$1(0, this.name);
76616 t1.writeCharCode$1(40);
76617 t2 = visitor._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
76618 visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
76619 t1.writeCharCode$1(41);
76620 return null;
76621 },
76622 accept$1(visitor) {
76623 return this.accept$1$1(visitor, type$.dynamic);
76624 },
76625 assertCalculation$1($name) {
76626 return this;
76627 },
76628 plus$1(other) {
76629 if (other instanceof A.SassString0)
76630 return this.super$Value$plus0(other);
76631 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
76632 },
76633 minus$1(other) {
76634 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
76635 },
76636 unaryPlus$0() {
76637 return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".'));
76638 },
76639 unaryMinus$0() {
76640 return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".'));
76641 },
76642 $eq(_, other) {
76643 if (other == null)
76644 return false;
76645 return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
76646 },
76647 get$hashCode(_) {
76648 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
76649 }
76650 };
76651 A.SassCalculation__verifyLength_closure0.prototype = {
76652 call$1(arg) {
76653 return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
76654 },
76655 $signature: 109
76656 };
76657 A.CalculationOperation0.prototype = {
76658 $eq(_, other) {
76659 if (other == null)
76660 return false;
76661 return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
76662 },
76663 get$hashCode(_) {
76664 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
76665 },
76666 toString$0(_) {
76667 var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
76668 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
76669 }
76670 };
76671 A.CalculationOperator0.prototype = {
76672 toString$0(_) {
76673 return this.name;
76674 }
76675 };
76676 A.CalculationInterpolation0.prototype = {
76677 $eq(_, other) {
76678 if (other == null)
76679 return false;
76680 return other instanceof A.CalculationInterpolation0 && this.value === other.value;
76681 },
76682 get$hashCode(_) {
76683 return B.JSString_methods.get$hashCode(this.value);
76684 },
76685 toString$0(_) {
76686 return this.value;
76687 }
76688 };
76689 A.CallableDeclaration0.prototype = {
76690 get$span(receiver) {
76691 return this.span;
76692 }
76693 };
76694 A.Chokidar0.prototype = {};
76695 A.ChokidarOptions0.prototype = {};
76696 A.ChokidarWatcher0.prototype = {};
76697 A.ClassSelector0.prototype = {
76698 $eq(_, other) {
76699 if (other == null)
76700 return false;
76701 return other instanceof A.ClassSelector0 && other.name === this.name;
76702 },
76703 accept$1$1(visitor) {
76704 var t1 = visitor._serialize0$_buffer;
76705 t1.writeCharCode$1(46);
76706 t1.write$1(0, this.name);
76707 return null;
76708 },
76709 accept$1(visitor) {
76710 return this.accept$1$1(visitor, type$.dynamic);
76711 },
76712 addSuffix$1(suffix) {
76713 return new A.ClassSelector0(this.name + suffix);
76714 },
76715 get$hashCode(_) {
76716 return B.JSString_methods.get$hashCode(this.name);
76717 }
76718 };
76719 A._CloneCssVisitor0.prototype = {
76720 visitCssAtRule$1(node) {
76721 var t1 = node.isChildless,
76722 rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
76723 return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
76724 },
76725 visitCssComment$1(node) {
76726 return new A.ModifiableCssComment0(node.text, node.span);
76727 },
76728 visitCssDeclaration$1(node) {
76729 return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
76730 },
76731 visitCssImport$1(node) {
76732 return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
76733 },
76734 visitCssKeyframeBlock$1(node) {
76735 return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
76736 },
76737 visitCssMediaRule$1(node) {
76738 return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
76739 },
76740 visitCssStyleRule$1(node) {
76741 var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
76742 if (newSelector == null)
76743 throw A.wrapException(A.StateError$(string$.The_Ex));
76744 return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
76745 },
76746 visitCssStylesheet$1(node) {
76747 return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
76748 },
76749 visitCssSupportsRule$1(node) {
76750 return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
76751 },
76752 _clone_css$_visitChildren$1$2(newParent, oldParent) {
76753 var t1, t2, newChild;
76754 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
76755 t2 = t1.get$current(t1);
76756 newChild = t2.accept$1(this);
76757 newChild.isGroupEnd = t2.get$isGroupEnd();
76758 newParent.addChild$1(newChild);
76759 }
76760 return newParent;
76761 },
76762 _clone_css$_visitChildren$2(newParent, oldParent) {
76763 return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
76764 }
76765 };
76766 A.ColorExpression0.prototype = {
76767 accept$1$1(visitor) {
76768 return visitor.visitColorExpression$1(this);
76769 },
76770 accept$1(visitor) {
76771 return this.accept$1$1(visitor, type$.dynamic);
76772 },
76773 toString$0(_) {
76774 return A.serializeValue0(this.value, true, true);
76775 },
76776 $isExpression0: 1,
76777 $isAstNode0: 1,
76778 get$span(receiver) {
76779 return this.span;
76780 }
76781 };
76782 A.global_closure30.prototype = {
76783 call$1($arguments) {
76784 return A._rgb0("rgb", $arguments);
76785 },
76786 $signature: 3
76787 };
76788 A.global_closure31.prototype = {
76789 call$1($arguments) {
76790 return A._rgb0("rgb", $arguments);
76791 },
76792 $signature: 3
76793 };
76794 A.global_closure32.prototype = {
76795 call$1($arguments) {
76796 return A._rgbTwoArg0("rgb", $arguments);
76797 },
76798 $signature: 3
76799 };
76800 A.global_closure33.prototype = {
76801 call$1($arguments) {
76802 var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76803 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
76804 },
76805 $signature: 3
76806 };
76807 A.global_closure34.prototype = {
76808 call$1($arguments) {
76809 return A._rgb0("rgba", $arguments);
76810 },
76811 $signature: 3
76812 };
76813 A.global_closure35.prototype = {
76814 call$1($arguments) {
76815 return A._rgb0("rgba", $arguments);
76816 },
76817 $signature: 3
76818 };
76819 A.global_closure36.prototype = {
76820 call$1($arguments) {
76821 return A._rgbTwoArg0("rgba", $arguments);
76822 },
76823 $signature: 3
76824 };
76825 A.global_closure37.prototype = {
76826 call$1($arguments) {
76827 var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76828 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
76829 },
76830 $signature: 3
76831 };
76832 A.global_closure38.prototype = {
76833 call$1($arguments) {
76834 var color, t2,
76835 t1 = J.getInterceptor$asx($arguments),
76836 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76837 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76838 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76839 throw A.wrapException(string$.Only_oa);
76840 return A._functionString0("invert", t1.take$1($arguments, 1));
76841 }
76842 color = t1.$index($arguments, 0).assertColor$1("color");
76843 t1 = color.get$red(color);
76844 t2 = color.get$green(color);
76845 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76846 },
76847 $signature: 3
76848 };
76849 A.global_closure39.prototype = {
76850 call$1($arguments) {
76851 return A._hsl0("hsl", $arguments);
76852 },
76853 $signature: 3
76854 };
76855 A.global_closure40.prototype = {
76856 call$1($arguments) {
76857 return A._hsl0("hsl", $arguments);
76858 },
76859 $signature: 3
76860 };
76861 A.global_closure41.prototype = {
76862 call$1($arguments) {
76863 var t1 = J.getInterceptor$asx($arguments);
76864 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76865 return A._functionString0("hsl", $arguments);
76866 else
76867 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76868 },
76869 $signature: 13
76870 };
76871 A.global_closure42.prototype = {
76872 call$1($arguments) {
76873 var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76874 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
76875 },
76876 $signature: 3
76877 };
76878 A.global_closure43.prototype = {
76879 call$1($arguments) {
76880 return A._hsl0("hsla", $arguments);
76881 },
76882 $signature: 3
76883 };
76884 A.global_closure44.prototype = {
76885 call$1($arguments) {
76886 return A._hsl0("hsla", $arguments);
76887 },
76888 $signature: 3
76889 };
76890 A.global_closure45.prototype = {
76891 call$1($arguments) {
76892 var t1 = J.getInterceptor$asx($arguments);
76893 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76894 return A._functionString0("hsla", $arguments);
76895 else
76896 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76897 },
76898 $signature: 13
76899 };
76900 A.global_closure46.prototype = {
76901 call$1($arguments) {
76902 var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76903 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
76904 },
76905 $signature: 3
76906 };
76907 A.global_closure47.prototype = {
76908 call$1($arguments) {
76909 var t1 = J.getInterceptor$asx($arguments);
76910 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76911 return A._functionString0("grayscale", $arguments);
76912 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76913 },
76914 $signature: 3
76915 };
76916 A.global_closure48.prototype = {
76917 call$1($arguments) {
76918 var t1 = J.getInterceptor$asx($arguments),
76919 color = t1.$index($arguments, 0).assertColor$1("color"),
76920 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
76921 A._checkAngle0(degrees, null);
76922 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number1$_value);
76923 },
76924 $signature: 25
76925 };
76926 A.global_closure49.prototype = {
76927 call$1($arguments) {
76928 var t1 = J.getInterceptor$asx($arguments),
76929 color = t1.$index($arguments, 0).assertColor$1("color"),
76930 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76931 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76932 },
76933 $signature: 25
76934 };
76935 A.global_closure50.prototype = {
76936 call$1($arguments) {
76937 var t1 = J.getInterceptor$asx($arguments),
76938 color = t1.$index($arguments, 0).assertColor$1("color"),
76939 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76940 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76941 },
76942 $signature: 25
76943 };
76944 A.global_closure51.prototype = {
76945 call$1($arguments) {
76946 return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
76947 },
76948 $signature: 13
76949 };
76950 A.global_closure52.prototype = {
76951 call$1($arguments) {
76952 var t1 = J.getInterceptor$asx($arguments),
76953 color = t1.$index($arguments, 0).assertColor$1("color"),
76954 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76955 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76956 },
76957 $signature: 25
76958 };
76959 A.global_closure53.prototype = {
76960 call$1($arguments) {
76961 var t1 = J.getInterceptor$asx($arguments),
76962 color = t1.$index($arguments, 0).assertColor$1("color"),
76963 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76964 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76965 },
76966 $signature: 25
76967 };
76968 A.global_closure54.prototype = {
76969 call$1($arguments) {
76970 var color,
76971 argument = J.$index$asx($arguments, 0);
76972 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
76973 return A._functionString0("alpha", $arguments);
76974 color = argument.assertColor$1("color");
76975 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76976 },
76977 $signature: 3
76978 };
76979 A.global_closure55.prototype = {
76980 call$1($arguments) {
76981 var t1,
76982 argList = J.$index$asx($arguments, 0).get$asList();
76983 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
76984 return A._functionString0("alpha", $arguments);
76985 t1 = argList.length;
76986 if (t1 === 0)
76987 throw A.wrapException(A.SassScriptException$0("Missing argument $color."));
76988 else
76989 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed."));
76990 },
76991 $signature: 13
76992 };
76993 A.global__closure0.prototype = {
76994 call$1(argument) {
76995 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76996 },
76997 $signature: 49
76998 };
76999 A.global_closure56.prototype = {
77000 call$1($arguments) {
77001 var color,
77002 t1 = J.getInterceptor$asx($arguments);
77003 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
77004 return A._functionString0("opacity", $arguments);
77005 color = t1.$index($arguments, 0).assertColor$1("color");
77006 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77007 },
77008 $signature: 3
77009 };
77010 A.module_closure8.prototype = {
77011 call$1($arguments) {
77012 var result, t2, color,
77013 t1 = J.getInterceptor$asx($arguments),
77014 weight = t1.$index($arguments, 1).assertNumber$1("weight");
77015 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77016 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
77017 throw A.wrapException(string$.Only_oa);
77018 result = A._functionString0("invert", t1.take$1($arguments, 1));
77019 t1 = A.S(t1.$index($arguments, 0));
77020 t2 = result.toString$0(0);
77021 A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
77022 return result;
77023 }
77024 color = t1.$index($arguments, 0).assertColor$1("color");
77025 t1 = color.get$red(color);
77026 t2 = color.get$green(color);
77027 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
77028 },
77029 $signature: 3
77030 };
77031 A.module_closure9.prototype = {
77032 call$1($arguments) {
77033 var result, t2,
77034 t1 = J.getInterceptor$asx($arguments);
77035 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77036 result = A._functionString0("grayscale", t1.take$1($arguments, 1));
77037 t1 = A.S(t1.$index($arguments, 0));
77038 t2 = result.toString$0(0);
77039 A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
77040 return result;
77041 }
77042 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
77043 },
77044 $signature: 3
77045 };
77046 A.module_closure10.prototype = {
77047 call$1($arguments) {
77048 return A._hwb0($arguments);
77049 },
77050 $signature: 3
77051 };
77052 A.module_closure11.prototype = {
77053 call$1($arguments) {
77054 var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
77055 if (parsed instanceof A.SassString0)
77056 throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
77057 else
77058 return A._hwb0(type$.List_Value_2._as(parsed));
77059 },
77060 $signature: 3
77061 };
77062 A.module_closure12.prototype = {
77063 call$1($arguments) {
77064 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77065 t1 = t1.get$whiteness(t1);
77066 return new A.SingleUnitSassNumber0("%", t1, null);
77067 },
77068 $signature: 10
77069 };
77070 A.module_closure13.prototype = {
77071 call$1($arguments) {
77072 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77073 t1 = t1.get$blackness(t1);
77074 return new A.SingleUnitSassNumber0("%", t1, null);
77075 },
77076 $signature: 10
77077 };
77078 A.module_closure14.prototype = {
77079 call$1($arguments) {
77080 var result, t1, color,
77081 argument = J.$index$asx($arguments, 0);
77082 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
77083 result = A._functionString0("alpha", $arguments);
77084 t1 = result.toString$0(0);
77085 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
77086 return result;
77087 }
77088 color = argument.assertColor$1("color");
77089 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77090 },
77091 $signature: 3
77092 };
77093 A.module_closure15.prototype = {
77094 call$1($arguments) {
77095 var result,
77096 t1 = J.getInterceptor$asx($arguments);
77097 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
77098 result = A._functionString0("alpha", $arguments);
77099 t1 = result.toString$0(0);
77100 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
77101 return result;
77102 }
77103 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
77104 },
77105 $signature: 13
77106 };
77107 A.module__closure0.prototype = {
77108 call$1(argument) {
77109 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
77110 },
77111 $signature: 49
77112 };
77113 A.module_closure16.prototype = {
77114 call$1($arguments) {
77115 var result, t2, color,
77116 t1 = J.getInterceptor$asx($arguments);
77117 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77118 result = A._functionString0("opacity", $arguments);
77119 t1 = A.S(t1.$index($arguments, 0));
77120 t2 = result.toString$0(0);
77121 A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
77122 return result;
77123 }
77124 color = t1.$index($arguments, 0).assertColor$1("color");
77125 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77126 },
77127 $signature: 3
77128 };
77129 A._red_closure0.prototype = {
77130 call$1($arguments) {
77131 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77132 t1 = t1.get$red(t1);
77133 return new A.UnitlessSassNumber0(t1, null);
77134 },
77135 $signature: 10
77136 };
77137 A._green_closure0.prototype = {
77138 call$1($arguments) {
77139 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77140 t1 = t1.get$green(t1);
77141 return new A.UnitlessSassNumber0(t1, null);
77142 },
77143 $signature: 10
77144 };
77145 A._blue_closure0.prototype = {
77146 call$1($arguments) {
77147 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77148 t1 = t1.get$blue(t1);
77149 return new A.UnitlessSassNumber0(t1, null);
77150 },
77151 $signature: 10
77152 };
77153 A._mix_closure0.prototype = {
77154 call$1($arguments) {
77155 var t1 = J.getInterceptor$asx($arguments);
77156 return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
77157 },
77158 $signature: 25
77159 };
77160 A._hue_closure0.prototype = {
77161 call$1($arguments) {
77162 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77163 t1 = t1.get$hue(t1);
77164 return new A.SingleUnitSassNumber0("deg", t1, null);
77165 },
77166 $signature: 10
77167 };
77168 A._saturation_closure0.prototype = {
77169 call$1($arguments) {
77170 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77171 t1 = t1.get$saturation(t1);
77172 return new A.SingleUnitSassNumber0("%", t1, null);
77173 },
77174 $signature: 10
77175 };
77176 A._lightness_closure0.prototype = {
77177 call$1($arguments) {
77178 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77179 t1 = t1.get$lightness(t1);
77180 return new A.SingleUnitSassNumber0("%", t1, null);
77181 },
77182 $signature: 10
77183 };
77184 A._complement_closure0.prototype = {
77185 call$1($arguments) {
77186 var color = J.$index$asx($arguments, 0).assertColor$1("color");
77187 return color.changeHsl$1$hue(color.get$hue(color) + 180);
77188 },
77189 $signature: 25
77190 };
77191 A._adjust_closure0.prototype = {
77192 call$1($arguments) {
77193 return A._updateComponents0($arguments, true, false, false);
77194 },
77195 $signature: 25
77196 };
77197 A._scale_closure0.prototype = {
77198 call$1($arguments) {
77199 return A._updateComponents0($arguments, false, false, true);
77200 },
77201 $signature: 25
77202 };
77203 A._change_closure0.prototype = {
77204 call$1($arguments) {
77205 return A._updateComponents0($arguments, false, true, false);
77206 },
77207 $signature: 25
77208 };
77209 A._ieHexStr_closure0.prototype = {
77210 call$1($arguments) {
77211 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
77212 t1 = new A._ieHexStr_closure_hexString0();
77213 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);
77214 },
77215 $signature: 13
77216 };
77217 A._ieHexStr_closure_hexString0.prototype = {
77218 call$1(component) {
77219 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
77220 },
77221 $signature: 196
77222 };
77223 A._updateComponents_getParam0.prototype = {
77224 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
77225 var t2,
77226 t1 = this.keywords.remove$1(0, $name),
77227 number = t1 == null ? null : t1.assertNumber$1($name);
77228 if (number == null)
77229 return null;
77230 t1 = this.scale;
77231 t2 = !t1;
77232 if (t2 && checkPercent)
77233 A._checkPercent0(number, $name);
77234 if (!t2 || assertPercent)
77235 number.assertUnit$2("%", $name);
77236 if (t1)
77237 max = 100;
77238 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
77239 },
77240 call$2($name, max) {
77241 return this.call$4$assertPercent$checkPercent($name, max, false, false);
77242 },
77243 call$3$checkPercent($name, max, checkPercent) {
77244 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
77245 },
77246 call$3$assertPercent($name, max, assertPercent) {
77247 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
77248 },
77249 $signature: 195
77250 };
77251 A._updateComponents_closure0.prototype = {
77252 call$1($name) {
77253 return "$" + $name;
77254 },
77255 $signature: 5
77256 };
77257 A._updateComponents_updateValue0.prototype = {
77258 call$3(current, param, max) {
77259 var t1;
77260 if (param == null)
77261 return current;
77262 if (this.change)
77263 return param;
77264 if (this.adjust)
77265 return B.JSNumber_methods.clamp$2(current + param, 0, max);
77266 t1 = param > 0 ? max - current : current;
77267 return current + t1 * (param / 100);
77268 },
77269 $signature: 194
77270 };
77271 A._updateComponents_updateRgb0.prototype = {
77272 call$2(current, param) {
77273 return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
77274 },
77275 $signature: 188
77276 };
77277 A._functionString_closure0.prototype = {
77278 call$1(argument) {
77279 return A.serializeValue0(argument, false, true);
77280 },
77281 $signature: 199
77282 };
77283 A._removedColorFunction_closure0.prototype = {
77284 call$1($arguments) {
77285 var t1 = this.name,
77286 t2 = J.getInterceptor$asx($arguments),
77287 t3 = A.S(t2.$index($arguments, 0)),
77288 t4 = this.negative ? "-" : "";
77289 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));
77290 },
77291 $signature: 364
77292 };
77293 A._rgb_closure0.prototype = {
77294 call$1(alpha) {
77295 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77296 },
77297 $signature: 131
77298 };
77299 A._hsl_closure0.prototype = {
77300 call$1(alpha) {
77301 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77302 },
77303 $signature: 131
77304 };
77305 A._removeUnits_closure1.prototype = {
77306 call$1(unit) {
77307 return " * 1" + unit;
77308 },
77309 $signature: 5
77310 };
77311 A._removeUnits_closure2.prototype = {
77312 call$1(unit) {
77313 return " / 1" + unit;
77314 },
77315 $signature: 5
77316 };
77317 A._hwb_closure0.prototype = {
77318 call$1(alpha) {
77319 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77320 },
77321 $signature: 131
77322 };
77323 A._parseChannels_closure0.prototype = {
77324 call$1(value) {
77325 return value.get$isVar();
77326 },
77327 $signature: 49
77328 };
77329 A._NodeSassColor.prototype = {};
77330 A.legacyColorClass_closure.prototype = {
77331 call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
77332 var red, t1, t2, t3, t4;
77333 if (dartValue != null) {
77334 J.set$dartValue$x(thisArg, dartValue);
77335 return;
77336 }
77337 if (green == null || blue == null) {
77338 A._asInt(redOrArgb);
77339 alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
77340 red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
77341 green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
77342 blue = B.JSInt_methods.$mod(redOrArgb, 256);
77343 } else {
77344 redOrArgb.toString;
77345 red = redOrArgb;
77346 }
77347 t1 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(red, 0, 255));
77348 t2 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(green, 0, 255));
77349 t3 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(blue, 0, 255));
77350 t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
77351 J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
77352 },
77353 call$2(thisArg, redOrArgb) {
77354 return this.call$6(thisArg, redOrArgb, null, null, null, null);
77355 },
77356 call$3(thisArg, redOrArgb, green) {
77357 return this.call$6(thisArg, redOrArgb, green, null, null, null);
77358 },
77359 call$4(thisArg, redOrArgb, green, blue) {
77360 return this.call$6(thisArg, redOrArgb, green, blue, null, null);
77361 },
77362 call$5(thisArg, redOrArgb, green, blue, alpha) {
77363 return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
77364 },
77365 "call*": "call$6",
77366 $requiredArgCount: 2,
77367 $defaultValues() {
77368 return [null, null, null, null];
77369 },
77370 $signature: 366
77371 };
77372 A.legacyColorClass_closure0.prototype = {
77373 call$1(thisArg) {
77374 return J.get$red$x(J.get$dartValue$x(thisArg));
77375 },
77376 $signature: 128
77377 };
77378 A.legacyColorClass_closure1.prototype = {
77379 call$1(thisArg) {
77380 return J.get$green$x(J.get$dartValue$x(thisArg));
77381 },
77382 $signature: 128
77383 };
77384 A.legacyColorClass_closure2.prototype = {
77385 call$1(thisArg) {
77386 return J.get$blue$x(J.get$dartValue$x(thisArg));
77387 },
77388 $signature: 128
77389 };
77390 A.legacyColorClass_closure3.prototype = {
77391 call$1(thisArg) {
77392 return J.get$dartValue$x(thisArg)._color1$_alpha;
77393 },
77394 $signature: 368
77395 };
77396 A.legacyColorClass_closure4.prototype = {
77397 call$2(thisArg, value) {
77398 var t1 = J.getInterceptor$x(thisArg);
77399 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77400 },
77401 $signature: 85
77402 };
77403 A.legacyColorClass_closure5.prototype = {
77404 call$2(thisArg, value) {
77405 var t1 = J.getInterceptor$x(thisArg);
77406 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77407 },
77408 $signature: 85
77409 };
77410 A.legacyColorClass_closure6.prototype = {
77411 call$2(thisArg, value) {
77412 var t1 = J.getInterceptor$x(thisArg);
77413 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77414 },
77415 $signature: 85
77416 };
77417 A.legacyColorClass_closure7.prototype = {
77418 call$2(thisArg, value) {
77419 var t1 = J.getInterceptor$x(thisArg);
77420 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
77421 },
77422 $signature: 85
77423 };
77424 A.colorClass_closure.prototype = {
77425 call$0() {
77426 var t1 = type$.JSClass,
77427 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
77428 J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
77429 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));
77430 A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
77431 return jsClass;
77432 },
77433 $signature: 23
77434 };
77435 A.colorClass__closure.prototype = {
77436 call$2($self, color) {
77437 var t2, t3, t4,
77438 t1 = J.getInterceptor$x(color);
77439 if (t1.get$red(color) != null) {
77440 t2 = t1.get$red(color);
77441 t2.toString;
77442 t2 = A.fuzzyRound0(t2);
77443 t3 = t1.get$green(color);
77444 t3.toString;
77445 t3 = A.fuzzyRound0(t3);
77446 t4 = t1.get$blue(color);
77447 t4.toString;
77448 return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
77449 } else if (t1.get$saturation(color) != null) {
77450 t2 = t1.get$hue(color);
77451 t2.toString;
77452 t3 = t1.get$saturation(color);
77453 t3.toString;
77454 t4 = t1.get$lightness(color);
77455 t4.toString;
77456 return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
77457 } else {
77458 t2 = t1.get$hue(color);
77459 t2.toString;
77460 t3 = t1.get$whiteness(color);
77461 t3.toString;
77462 t4 = t1.get$blackness(color);
77463 t4.toString;
77464 return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
77465 }
77466 },
77467 $signature: 370
77468 };
77469 A.colorClass__closure0.prototype = {
77470 call$2($self, options) {
77471 var t2, t3, t4,
77472 t1 = J.getInterceptor$x(options);
77473 if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
77474 t2 = t1.get$hue(options);
77475 if (t2 == null)
77476 t2 = $self.get$hue($self);
77477 t3 = t1.get$whiteness(options);
77478 if (t3 == null)
77479 t3 = $self.get$whiteness($self);
77480 t4 = t1.get$blackness(options);
77481 if (t4 == null)
77482 t4 = $self.get$blackness($self);
77483 t1 = t1.get$alpha(options);
77484 return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
77485 } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
77486 t2 = t1.get$hue(options);
77487 if (t2 == null)
77488 t2 = $self.get$hue($self);
77489 t3 = t1.get$saturation(options);
77490 if (t3 == null)
77491 t3 = $self.get$saturation($self);
77492 t4 = t1.get$lightness(options);
77493 if (t4 == null)
77494 t4 = $self.get$lightness($self);
77495 t1 = t1.get$alpha(options);
77496 return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
77497 } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
77498 t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
77499 if (t2 == null)
77500 t2 = $self.get$red($self);
77501 t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
77502 if (t3 == null)
77503 t3 = $self.get$green($self);
77504 t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
77505 if (t4 == null)
77506 t4 = $self.get$blue($self);
77507 t1 = t1.get$alpha(options);
77508 return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
77509 } else {
77510 t1 = t1.get$alpha(options);
77511 return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
77512 }
77513 },
77514 $signature: 371
77515 };
77516 A.colorClass__closure1.prototype = {
77517 call$1($self) {
77518 return $self.get$red($self);
77519 },
77520 $signature: 117
77521 };
77522 A.colorClass__closure2.prototype = {
77523 call$1($self) {
77524 return $self.get$green($self);
77525 },
77526 $signature: 117
77527 };
77528 A.colorClass__closure3.prototype = {
77529 call$1($self) {
77530 return $self.get$blue($self);
77531 },
77532 $signature: 117
77533 };
77534 A.colorClass__closure4.prototype = {
77535 call$1($self) {
77536 return $self.get$hue($self);
77537 },
77538 $signature: 50
77539 };
77540 A.colorClass__closure5.prototype = {
77541 call$1($self) {
77542 return $self.get$saturation($self);
77543 },
77544 $signature: 50
77545 };
77546 A.colorClass__closure6.prototype = {
77547 call$1($self) {
77548 return $self.get$lightness($self);
77549 },
77550 $signature: 50
77551 };
77552 A.colorClass__closure7.prototype = {
77553 call$1($self) {
77554 return $self.get$whiteness($self);
77555 },
77556 $signature: 50
77557 };
77558 A.colorClass__closure8.prototype = {
77559 call$1($self) {
77560 return $self.get$blackness($self);
77561 },
77562 $signature: 50
77563 };
77564 A.colorClass__closure9.prototype = {
77565 call$1($self) {
77566 return $self._color1$_alpha;
77567 },
77568 $signature: 50
77569 };
77570 A._Channels.prototype = {};
77571 A.SassColor0.prototype = {
77572 get$red(_) {
77573 var t1;
77574 if (this._color1$_red == null)
77575 this._color1$_hslToRgb$0();
77576 t1 = this._color1$_red;
77577 t1.toString;
77578 return t1;
77579 },
77580 get$green(_) {
77581 var t1;
77582 if (this._color1$_green == null)
77583 this._color1$_hslToRgb$0();
77584 t1 = this._color1$_green;
77585 t1.toString;
77586 return t1;
77587 },
77588 get$blue(_) {
77589 var t1;
77590 if (this._color1$_blue == null)
77591 this._color1$_hslToRgb$0();
77592 t1 = this._color1$_blue;
77593 t1.toString;
77594 return t1;
77595 },
77596 get$hue(_) {
77597 var t1;
77598 if (this._color1$_hue == null)
77599 this._color1$_rgbToHsl$0();
77600 t1 = this._color1$_hue;
77601 t1.toString;
77602 return t1;
77603 },
77604 get$saturation(_) {
77605 var t1;
77606 if (this._color1$_saturation == null)
77607 this._color1$_rgbToHsl$0();
77608 t1 = this._color1$_saturation;
77609 t1.toString;
77610 return t1;
77611 },
77612 get$lightness(_) {
77613 var t1;
77614 if (this._color1$_lightness == null)
77615 this._color1$_rgbToHsl$0();
77616 t1 = this._color1$_lightness;
77617 t1.toString;
77618 return t1;
77619 },
77620 get$whiteness(_) {
77621 var _this = this;
77622 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77623 },
77624 get$blackness(_) {
77625 var _this = this;
77626 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77627 },
77628 accept$1$1(visitor) {
77629 var $name, hexLength, t1, format, t2, opaque, _this = this;
77630 if (visitor._serialize0$_style === B.OutputStyle_compressed0)
77631 if (!(Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()))
77632 visitor._serialize0$_writeRgb$1(_this);
77633 else {
77634 $name = $.$get$namesByColor0().$index(0, _this);
77635 hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
77636 if ($name != null && $name.length <= hexLength)
77637 visitor._serialize0$_buffer.write$1(0, $name);
77638 else {
77639 t1 = visitor._serialize0$_buffer;
77640 if (visitor._serialize0$_canUseShortHex$1(_this)) {
77641 t1.writeCharCode$1(35);
77642 t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
77643 t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
77644 t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
77645 } else {
77646 t1.writeCharCode$1(35);
77647 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77648 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77649 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77650 }
77651 }
77652 }
77653 else {
77654 format = _this.format;
77655 if (format != null)
77656 if (format === B._ColorFormatEnum_rgbFunction0)
77657 visitor._serialize0$_writeRgb$1(_this);
77658 else {
77659 t1 = visitor._serialize0$_buffer;
77660 if (format === B._ColorFormatEnum_hslFunction0) {
77661 t2 = _this._color1$_alpha;
77662 opaque = Math.abs(t2 - 1) < $.$get$epsilon0();
77663 t1.write$1(0, opaque ? "hsl(" : "hsla(");
77664 visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
77665 t1.write$1(0, "deg");
77666 t1.write$1(0, ", ");
77667 visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
77668 t1.writeCharCode$1(37);
77669 t1.write$1(0, ", ");
77670 visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
77671 t1.writeCharCode$1(37);
77672 if (!opaque) {
77673 t1.write$1(0, ", ");
77674 visitor._serialize0$_writeNumber$1(t2);
77675 }
77676 t1.writeCharCode$1(41);
77677 } else {
77678 t2 = type$.SpanColorFormat_2._as(format)._color1$_span;
77679 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
77680 }
77681 }
77682 else {
77683 t1 = $.$get$namesByColor0();
77684 if (t1.containsKey$1(_this) && !(Math.abs(_this._color1$_alpha - 0) < $.$get$epsilon0()))
77685 visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
77686 else if (Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()) {
77687 visitor._serialize0$_buffer.writeCharCode$1(35);
77688 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77689 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77690 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77691 } else
77692 visitor._serialize0$_writeRgb$1(_this);
77693 }
77694 }
77695 return null;
77696 },
77697 accept$1(visitor) {
77698 return this.accept$1$1(visitor, type$.dynamic);
77699 },
77700 assertColor$1($name) {
77701 return this;
77702 },
77703 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
77704 var _this = this,
77705 t1 = red == null ? _this.get$red(_this) : red,
77706 t2 = green == null ? _this.get$green(_this) : green,
77707 t3 = blue == null ? _this.get$blue(_this) : blue;
77708 return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
77709 },
77710 changeRgb$3$blue$green$red(blue, green, red) {
77711 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
77712 },
77713 changeRgb$1$alpha(alpha) {
77714 return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
77715 },
77716 changeRgb$1$blue(blue) {
77717 return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
77718 },
77719 changeRgb$1$green(green) {
77720 return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
77721 },
77722 changeRgb$1$red(red) {
77723 return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
77724 },
77725 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
77726 var _this = this,
77727 t1 = hue == null ? _this.get$hue(_this) : hue,
77728 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
77729 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
77730 return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
77731 },
77732 changeHsl$1$saturation(saturation) {
77733 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
77734 },
77735 changeHsl$1$lightness(lightness) {
77736 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
77737 },
77738 changeHsl$1$hue(hue) {
77739 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
77740 },
77741 changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
77742 var t1 = hue == null ? this.get$hue(this) : hue;
77743 return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
77744 },
77745 changeAlpha$1(alpha) {
77746 var _this = this;
77747 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);
77748 },
77749 plus$1(other) {
77750 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77751 return this.super$Value$plus0(other);
77752 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
77753 },
77754 minus$1(other) {
77755 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77756 return this.super$Value$minus0(other);
77757 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
77758 },
77759 dividedBy$1(other) {
77760 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77761 return this.super$Value$dividedBy0(other);
77762 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
77763 },
77764 $eq(_, other) {
77765 var _this = this;
77766 if (other == null)
77767 return false;
77768 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;
77769 },
77770 get$hashCode(_) {
77771 var _this = this;
77772 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);
77773 },
77774 _color1$_rgbToHsl$0() {
77775 var t2, lightness, _this = this,
77776 scaledRed = _this.get$red(_this) / 255,
77777 scaledGreen = _this.get$green(_this) / 255,
77778 scaledBlue = _this.get$blue(_this) / 255,
77779 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
77780 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
77781 delta = max - min,
77782 t1 = max === min;
77783 if (t1)
77784 _this._color1$_hue = 0;
77785 else if (max === scaledRed)
77786 _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
77787 else if (max === scaledGreen)
77788 _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
77789 else if (max === scaledBlue)
77790 _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
77791 t2 = max + min;
77792 lightness = 50 * t2;
77793 _this._color1$_lightness = lightness;
77794 if (t1)
77795 _this._color1$_saturation = 0;
77796 else {
77797 t1 = 100 * delta;
77798 if (lightness < 50)
77799 _this._color1$_saturation = t1 / t2;
77800 else
77801 _this._color1$_saturation = t1 / (2 - max - min);
77802 }
77803 },
77804 _color1$_hslToRgb$0() {
77805 var _this = this,
77806 scaledHue = _this.get$hue(_this) / 360,
77807 scaledSaturation = _this.get$saturation(_this) / 100,
77808 scaledLightness = _this.get$lightness(_this) / 100,
77809 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
77810 m1 = scaledLightness * 2 - m2;
77811 _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
77812 _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
77813 _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
77814 }
77815 };
77816 A.SassColor_SassColor$hwb_toRgb0.prototype = {
77817 call$1(hue) {
77818 return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
77819 },
77820 $signature: 42
77821 };
77822 A._ColorFormatEnum0.prototype = {
77823 toString$0(_) {
77824 return this._color1$_name;
77825 }
77826 };
77827 A.SpanColorFormat0.prototype = {};
77828 A.ModifiableCssComment0.prototype = {
77829 accept$1$1(visitor) {
77830 return visitor.visitCssComment$1(this);
77831 },
77832 accept$1(visitor) {
77833 return this.accept$1$1(visitor, type$.dynamic);
77834 },
77835 $isCssComment0: 1,
77836 get$span(receiver) {
77837 return this.span;
77838 }
77839 };
77840 A.compileAsync_closure.prototype = {
77841 call$0() {
77842 var $async$goto = 0,
77843 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77844 $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, result, t1, t2, t3, t4;
77845 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77846 if ($async$errorCode === 1)
77847 return A._asyncRethrow($async$result, $async$completer);
77848 while (true)
77849 switch ($async$goto) {
77850 case 0:
77851 // Function start
77852 t1 = $async$self.options;
77853 t2 = t1 == null;
77854 t3 = t2 ? null : J.get$loadPaths$x(t1);
77855 t4 = t2 ? null : J.get$quietDeps$x(t1);
77856 if (t4 == null)
77857 t4 = false;
77858 t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77859 t6 = t2 ? null : J.get$verbose$x(t1);
77860 if (t6 == null)
77861 t6 = false;
77862 t7 = t2 ? null : J.get$sourceMap$x(t1);
77863 if (t7 == null)
77864 t7 = false;
77865 t8 = t2 ? null : J.get$logger$x(t1);
77866 t8 = new A.NodeToDartLogger(t8, new A.StderrLogger0($async$self.color), $async$self.ascii);
77867 if (t2)
77868 t9 = null;
77869 else {
77870 t9 = J.get$importers$x(t1);
77871 t9 = t9 == null ? null : J.map$1$1$ax(t9, new A.compileAsync__closure(), type$.AsyncImporter);
77872 }
77873 t10 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77874 $async$goto = 3;
77875 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);
77876 case 3:
77877 // returning from await.
77878 result = $async$result;
77879 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77880 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77881 // goto return
77882 $async$goto = 1;
77883 break;
77884 case 1:
77885 // return
77886 return A._asyncReturn($async$returnValue, $async$completer);
77887 }
77888 });
77889 return A._asyncStartSync($async$call$0, $async$completer);
77890 },
77891 $signature: 205
77892 };
77893 A.compileAsync__closure.prototype = {
77894 call$1(importer) {
77895 return A._parseAsyncImporter(importer);
77896 },
77897 $signature: 206
77898 };
77899 A.compileStringAsync_closure.prototype = {
77900 call$0() {
77901 var $async$goto = 0,
77902 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77903 $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4, t5, t6;
77904 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77905 if ($async$errorCode === 1)
77906 return A._asyncRethrow($async$result, $async$completer);
77907 while (true)
77908 switch ($async$goto) {
77909 case 0:
77910 // Function start
77911 t1 = $async$self.options;
77912 t2 = t1 == null;
77913 t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
77914 t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
77915 t5 = t2 ? null : J.get$loadPaths$x(t1);
77916 t6 = t2 ? null : J.get$quietDeps$x(t1);
77917 if (t6 == null)
77918 t6 = false;
77919 t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77920 t8 = t2 ? null : J.get$verbose$x(t1);
77921 if (t8 == null)
77922 t8 = false;
77923 t9 = t2 ? null : J.get$sourceMap$x(t1);
77924 if (t9 == null)
77925 t9 = false;
77926 t10 = t2 ? null : J.get$logger$x(t1);
77927 t10 = new A.NodeToDartLogger(t10, new A.StderrLogger0($async$self.color), $async$self.ascii);
77928 if (t2)
77929 t11 = null;
77930 else {
77931 t11 = J.get$importers$x(t1);
77932 t11 = t11 == null ? null : J.map$1$1$ax(t11, new A.compileStringAsync__closure(), type$.AsyncImporter);
77933 }
77934 t12 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
77935 if (t12 == null)
77936 t12 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
77937 t13 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77938 $async$goto = 3;
77939 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);
77940 case 3:
77941 // returning from await.
77942 result = $async$result;
77943 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77944 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77945 // goto return
77946 $async$goto = 1;
77947 break;
77948 case 1:
77949 // return
77950 return A._asyncReturn($async$returnValue, $async$completer);
77951 }
77952 });
77953 return A._asyncStartSync($async$call$0, $async$completer);
77954 },
77955 $signature: 205
77956 };
77957 A.compileStringAsync__closure.prototype = {
77958 call$1(importer) {
77959 return A._parseAsyncImporter(importer);
77960 },
77961 $signature: 206
77962 };
77963 A.compileStringAsync__closure0.prototype = {
77964 call$1(importer) {
77965 return A._parseAsyncImporter(importer);
77966 },
77967 $signature: 376
77968 };
77969 A._wrapAsyncSassExceptions_closure.prototype = {
77970 call$1(error) {
77971 var t1;
77972 if (error instanceof A.SassException0)
77973 t1 = A.throwNodeException(error, this.ascii, this.color, null);
77974 else
77975 t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
77976 return t1;
77977 },
77978 $signature: 377
77979 };
77980 A._parseFunctions_closure0.prototype = {
77981 call$2(signature, callback) {
77982 var error, stackTrace, exception, t2, t3, t4, t1 = {};
77983 t1.tuple = null;
77984 try {
77985 t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
77986 } catch (exception) {
77987 t2 = A.unwrapException(exception);
77988 if (t2 instanceof A.SassFormatException0) {
77989 error = t2;
77990 stackTrace = A.getTraceFromException(exception);
77991 t2 = error;
77992 t3 = J.getInterceptor$z(t2);
77993 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
77994 } else
77995 throw exception;
77996 }
77997 t2 = this.result;
77998 t3 = t1.tuple;
77999 t4 = t3.item1;
78000 t3 = t3.item2;
78001 if (!this.asynch)
78002 t2.push(A.BuiltInCallable$parsed(t4, t3, new A._parseFunctions__closure2(t1, callback)));
78003 else
78004 t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
78005 },
78006 $signature: 111
78007 };
78008 A._parseFunctions__closure2.prototype = {
78009 call$1($arguments) {
78010 var t1, t2,
78011 _s42_ = string$.Invali,
78012 result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
78013 if (result instanceof A.Value0)
78014 return result;
78015 t1 = result != null && result instanceof self.Promise;
78016 t2 = this._box_0.tuple;
78017 if (t1)
78018 throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
78019 else
78020 throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
78021 },
78022 $signature: 3
78023 };
78024 A._parseFunctions__closure3.prototype = {
78025 call$1($arguments) {
78026 return this.$call$body$_parseFunctions__closure0($arguments);
78027 },
78028 $call$body$_parseFunctions__closure0($arguments) {
78029 var $async$goto = 0,
78030 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
78031 $async$returnValue, $async$self = this, result;
78032 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
78033 if ($async$errorCode === 1)
78034 return A._asyncRethrow($async$result, $async$completer);
78035 while (true)
78036 switch ($async$goto) {
78037 case 0:
78038 // Function start
78039 result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
78040 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
78041 break;
78042 case 3:
78043 // then
78044 $async$goto = 5;
78045 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
78046 case 5:
78047 // returning from await.
78048 result = $async$result;
78049 case 4:
78050 // join
78051 if (result instanceof A.Value0) {
78052 $async$returnValue = result;
78053 // goto return
78054 $async$goto = 1;
78055 break;
78056 }
78057 throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
78058 case 1:
78059 // return
78060 return A._asyncReturn($async$returnValue, $async$completer);
78061 }
78062 });
78063 return A._asyncStartSync($async$call$1, $async$completer);
78064 },
78065 $signature: 99
78066 };
78067 A._compileStylesheet_closure1.prototype = {
78068 call$1(url) {
78069 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);
78070 },
78071 $signature: 5
78072 };
78073 A.CompileOptions.prototype = {};
78074 A.CompileStringOptions.prototype = {};
78075 A.NodeCompileResult.prototype = {};
78076 A.CompileResult0.prototype = {};
78077 A.ComplexSassNumber0.prototype = {
78078 get$numeratorUnits(_) {
78079 return this._complex1$_numeratorUnits;
78080 },
78081 get$denominatorUnits(_) {
78082 return this._complex1$_denominatorUnits;
78083 },
78084 get$hasUnits() {
78085 return true;
78086 },
78087 hasUnit$1(unit) {
78088 return false;
78089 },
78090 compatibleWithUnit$1(unit) {
78091 return false;
78092 },
78093 hasPossiblyCompatibleUnits$1(other) {
78094 throw A.wrapException(A.UnimplementedError$(string$.Comple));
78095 },
78096 withValue$1(value) {
78097 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, value, null);
78098 },
78099 withSlash$2(numerator, denominator) {
78100 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
78101 }
78102 };
78103 A.ComplexSelector0.prototype = {
78104 get$minSpecificity() {
78105 if (this._complex0$_minSpecificity == null)
78106 this._complex0$_computeSpecificity$0();
78107 var t1 = this._complex0$_minSpecificity;
78108 t1.toString;
78109 return t1;
78110 },
78111 get$maxSpecificity() {
78112 if (this._complex0$_maxSpecificity == null)
78113 this._complex0$_computeSpecificity$0();
78114 var t1 = this._complex0$_maxSpecificity;
78115 t1.toString;
78116 return t1;
78117 },
78118 get$isInvisible() {
78119 var result, _this = this,
78120 value = _this._complex0$__ComplexSelector_isInvisible;
78121 if (value === $) {
78122 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure0());
78123 A._lateInitializeOnceCheck(_this._complex0$__ComplexSelector_isInvisible, "isInvisible");
78124 _this._complex0$__ComplexSelector_isInvisible = result;
78125 value = result;
78126 }
78127 return value;
78128 },
78129 accept$1$1(visitor) {
78130 return visitor.visitComplexSelector$1(this);
78131 },
78132 accept$1(visitor) {
78133 return this.accept$1$1(visitor, type$.dynamic);
78134 },
78135 _complex0$_computeSpecificity$0() {
78136 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
78137 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
78138 component = t1[_i];
78139 if (component instanceof A.CompoundSelector0) {
78140 if (component._compound0$_minSpecificity == null)
78141 component._compound0$_computeSpecificity$0();
78142 t3 = component._compound0$_minSpecificity;
78143 t3.toString;
78144 minSpecificity += t3;
78145 if (component._compound0$_maxSpecificity == null)
78146 component._compound0$_computeSpecificity$0();
78147 t3 = component._compound0$_maxSpecificity;
78148 t3.toString;
78149 maxSpecificity += t3;
78150 }
78151 }
78152 this._complex0$_minSpecificity = minSpecificity;
78153 this._complex0$_maxSpecificity = maxSpecificity;
78154 },
78155 get$hashCode(_) {
78156 return B.C_ListEquality0.hash$1(this.components);
78157 },
78158 $eq(_, other) {
78159 if (other == null)
78160 return false;
78161 return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
78162 }
78163 };
78164 A.ComplexSelector_isInvisible_closure0.prototype = {
78165 call$1(component) {
78166 return component instanceof A.CompoundSelector0 && component.get$isInvisible();
78167 },
78168 $signature: 106
78169 };
78170 A.Combinator0.prototype = {
78171 toString$0(_) {
78172 return this._complex0$_text;
78173 },
78174 $isComplexSelectorComponent0: 1
78175 };
78176 A.CompoundSelector0.prototype = {
78177 get$isInvisible() {
78178 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure0());
78179 },
78180 accept$1$1(visitor) {
78181 return visitor.visitCompoundSelector$1(this);
78182 },
78183 accept$1(visitor) {
78184 return this.accept$1$1(visitor, type$.dynamic);
78185 },
78186 _compound0$_computeSpecificity$0() {
78187 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
78188 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
78189 simple = t1[_i];
78190 minSpecificity += simple.get$minSpecificity();
78191 maxSpecificity += simple.get$maxSpecificity();
78192 }
78193 this._compound0$_minSpecificity = minSpecificity;
78194 this._compound0$_maxSpecificity = maxSpecificity;
78195 },
78196 get$hashCode(_) {
78197 return B.C_ListEquality0.hash$1(this.components);
78198 },
78199 $eq(_, other) {
78200 if (other == null)
78201 return false;
78202 return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
78203 },
78204 $isComplexSelectorComponent0: 1
78205 };
78206 A.CompoundSelector_isInvisible_closure0.prototype = {
78207 call$1(component) {
78208 return component.get$isInvisible();
78209 },
78210 $signature: 15
78211 };
78212 A.Configuration0.prototype = {
78213 throughForward$1($forward) {
78214 var prefix, shownVariables, hiddenVariables, t1,
78215 newValues = this._configuration$_values;
78216 if (newValues.get$isEmpty(newValues))
78217 return B.Configuration_Map_empty0;
78218 prefix = $forward.prefix;
78219 if (prefix != null)
78220 newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
78221 shownVariables = $forward.shownVariables;
78222 hiddenVariables = $forward.hiddenVariables;
78223 if (shownVariables != null)
78224 newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
78225 else {
78226 if (hiddenVariables != null) {
78227 t1 = hiddenVariables._base;
78228 t1 = t1.get$isNotEmpty(t1);
78229 } else
78230 t1 = false;
78231 if (t1)
78232 newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
78233 }
78234 return this._configuration$_withValues$1(newValues);
78235 },
78236 _configuration$_withValues$1(values) {
78237 return new A.Configuration0(values);
78238 },
78239 toString$0(_) {
78240 var t1 = this._configuration$_values;
78241 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
78242 }
78243 };
78244 A.Configuration_toString_closure0.prototype = {
78245 call$1(entry) {
78246 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
78247 },
78248 $signature: 380
78249 };
78250 A.ExplicitConfiguration0.prototype = {
78251 _configuration$_withValues$1(values) {
78252 return new A.ExplicitConfiguration0(this.nodeWithSpan, values);
78253 }
78254 };
78255 A.ConfiguredValue0.prototype = {
78256 toString$0(_) {
78257 return A.serializeValue0(this.value, true, true);
78258 }
78259 };
78260 A.ConfiguredVariable0.prototype = {
78261 toString$0(_) {
78262 var t1 = this.expression.toString$0(0),
78263 t2 = this.isGuarded ? " !default" : "";
78264 return "$" + this.name + ": " + t1 + t2;
78265 },
78266 $isAstNode0: 1,
78267 get$span(receiver) {
78268 return this.span;
78269 }
78270 };
78271 A.ContentBlock0.prototype = {
78272 accept$1$1(visitor) {
78273 return visitor.visitContentBlock$1(this);
78274 },
78275 accept$1(visitor) {
78276 return this.accept$1$1(visitor, type$.dynamic);
78277 },
78278 toString$0(_) {
78279 var t2,
78280 t1 = this.$arguments;
78281 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
78282 t2 = this.children;
78283 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
78284 }
78285 };
78286 A.ContentRule0.prototype = {
78287 accept$1$1(visitor) {
78288 return visitor.visitContentRule$1(this);
78289 },
78290 accept$1(visitor) {
78291 return this.accept$1$1(visitor, type$.dynamic);
78292 },
78293 toString$0(_) {
78294 var t1 = this.$arguments;
78295 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
78296 },
78297 $isAstNode0: 1,
78298 $isStatement0: 1,
78299 get$span(receiver) {
78300 return this.span;
78301 }
78302 };
78303 A._disallowedFunctionNames_closure0.prototype = {
78304 call$1($function) {
78305 return $function.name;
78306 },
78307 $signature: 381
78308 };
78309 A.CssParser0.prototype = {
78310 get$plainCss() {
78311 return true;
78312 },
78313 silentComment$0() {
78314 var t1 = this.scanner,
78315 t2 = t1._string_scanner$_position;
78316 this.super$Parser$silentComment0();
78317 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
78318 },
78319 atRule$2$root(child, root) {
78320 var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
78321 t1 = _this.scanner,
78322 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
78323 t1.expectChar$1(64);
78324 $name = _this.interpolatedIdentifier$0();
78325 _this.whitespace$0();
78326 switch ($name.get$asPlain()) {
78327 case "at-root":
78328 case "content":
78329 case "debug":
78330 case "each":
78331 case "error":
78332 case "extend":
78333 case "for":
78334 case "function":
78335 case "if":
78336 case "include":
78337 case "mixin":
78338 case "return":
78339 case "warn":
78340 case "while":
78341 _this.almostAnyValue$0();
78342 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
78343 break;
78344 case "import":
78345 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
78346 next = t1.peekChar$0();
78347 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
78348 urlSpan = t1.spanFrom$1(urlStart);
78349 _this.whitespace$0();
78350 modifiers = _this.tryImportModifiers$0();
78351 _this.expectStatementSeparator$1("@import rule");
78352 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);
78353 t1 = t1.spanFrom$1(start);
78354 return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
78355 case "media":
78356 return _this.mediaRule$1(start);
78357 case "-moz-document":
78358 return _this.mozDocumentRule$2(start, $name);
78359 case "supports":
78360 return _this.supportsRule$1(start);
78361 default:
78362 return _this.unknownAtRule$2(start, $name);
78363 }
78364 },
78365 identifierLike$0() {
78366 var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
78367 t1 = _this.scanner,
78368 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
78369 identifier = _this.interpolatedIdentifier$0(),
78370 plain = identifier.get$asPlain(),
78371 lower = plain.toLowerCase(),
78372 specialFunction = _this.trySpecialFunction$2(lower, start);
78373 if (specialFunction != null)
78374 return specialFunction;
78375 t2 = t1._string_scanner$_position;
78376 if (!t1.scanChar$1(40))
78377 return new A.StringExpression0(identifier, false);
78378 allowEmptySecondArg = lower === "var";
78379 $arguments = A._setArrayType([], type$.JSArray_Expression_2);
78380 if (!t1.scanChar$1(41)) {
78381 do {
78382 _this.whitespace$0();
78383 if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
78384 t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
78385 t4 = t3.offset;
78386 t4 = A._FileSpan$(t3.file, t4, t4);
78387 $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
78388 break;
78389 }
78390 $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
78391 _this.whitespace$0();
78392 } while (t1.scanChar$1(44));
78393 t1.expectChar$1(41);
78394 }
78395 if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
78396 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
78397 t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
78398 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
78399 t4 = type$.Expression_2;
78400 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));
78401 },
78402 namespacedExpression$2(namespace, start) {
78403 var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
78404 this.error$2(0, string$.Modulen, expression.get$span(expression));
78405 }
78406 };
78407 A.DebugRule0.prototype = {
78408 accept$1$1(visitor) {
78409 return visitor.visitDebugRule$1(this);
78410 },
78411 accept$1(visitor) {
78412 return this.accept$1$1(visitor, type$.dynamic);
78413 },
78414 toString$0(_) {
78415 return "@debug " + this.expression.toString$0(0) + ";";
78416 },
78417 $isAstNode0: 1,
78418 $isStatement0: 1,
78419 get$span(receiver) {
78420 return this.span;
78421 }
78422 };
78423 A.ModifiableCssDeclaration0.prototype = {
78424 accept$1$1(visitor) {
78425 return visitor.visitCssDeclaration$1(this);
78426 },
78427 accept$1(visitor) {
78428 return this.accept$1$1(visitor, type$.dynamic);
78429 },
78430 toString$0(_) {
78431 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
78432 },
78433 get$span(receiver) {
78434 return this.span;
78435 }
78436 };
78437 A.Declaration0.prototype = {
78438 accept$1$1(visitor) {
78439 return visitor.visitDeclaration$1(this);
78440 },
78441 accept$1(visitor) {
78442 return this.accept$1$1(visitor, type$.dynamic);
78443 },
78444 toString$0(_) {
78445 var t3, children,
78446 buffer = new A.StringBuffer(""),
78447 t1 = this.name,
78448 t2 = "" + t1.toString$0(0);
78449 buffer._contents = t2;
78450 t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
78451 t3 = this.value;
78452 if (t3 != null) {
78453 t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
78454 buffer._contents = t1 + t3.toString$0(0);
78455 }
78456 children = this.children;
78457 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
78458 },
78459 get$span(receiver) {
78460 return this.span;
78461 }
78462 };
78463 A.SupportsDeclaration0.prototype = {
78464 get$isCustomProperty() {
78465 var $name = this.name;
78466 return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
78467 },
78468 toString$0(_) {
78469 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
78470 },
78471 $isAstNode0: 1,
78472 get$span(receiver) {
78473 return this.span;
78474 }
78475 };
78476 A.DynamicImport0.prototype = {
78477 toString$0(_) {
78478 return A.StringExpression_quoteText0(this.urlString);
78479 },
78480 $isImport0: 1,
78481 $isAstNode0: 1,
78482 get$span(receiver) {
78483 return this.span;
78484 }
78485 };
78486 A.EachRule0.prototype = {
78487 accept$1$1(visitor) {
78488 return visitor.visitEachRule$1(this);
78489 },
78490 accept$1(visitor) {
78491 return this.accept$1$1(visitor, type$.dynamic);
78492 },
78493 toString$0(_) {
78494 var t1 = this.variables,
78495 t2 = this.children;
78496 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, " ") + "}";
78497 },
78498 get$span(receiver) {
78499 return this.span;
78500 }
78501 };
78502 A.EachRule_toString_closure0.prototype = {
78503 call$1(variable) {
78504 return "$" + variable;
78505 },
78506 $signature: 5
78507 };
78508 A.EmptyExtensionStore0.prototype = {
78509 get$isEmpty(_) {
78510 return true;
78511 },
78512 get$simpleSelectors() {
78513 return B.C_EmptyUnmodifiableSet0;
78514 },
78515 extensionsWhereTarget$1(callback) {
78516 return B.List_empty12;
78517 },
78518 addSelector$3(selector, span, mediaContext) {
78519 throw A.wrapException(A.UnsupportedError$(string$.addSel));
78520 },
78521 addExtension$4(extender, target, extend, mediaContext) {
78522 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
78523 },
78524 addExtensions$1(extenders) {
78525 throw A.wrapException(A.UnsupportedError$(string$.addExts));
78526 },
78527 clone$0() {
78528 return B.Tuple2_EmptyExtensionStore_Map_empty0;
78529 },
78530 $isExtensionStore0: 1
78531 };
78532 A.Environment0.prototype = {
78533 closure$0() {
78534 var t4, t5, t6, _this = this,
78535 t1 = _this._environment0$_forwardedModules,
78536 t2 = _this._environment0$_nestedForwardedModules,
78537 t3 = _this._environment0$_variables;
78538 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
78539 t4 = _this._environment0$_variableNodes;
78540 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
78541 t5 = _this._environment0$_functions;
78542 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
78543 t6 = _this._environment0$_mixins;
78544 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
78545 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);
78546 },
78547 addModule$3$namespace(module, nodeWithSpan, namespace) {
78548 var t1, t2, span, _this = this;
78549 if (namespace == null) {
78550 _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
78551 _this._environment0$_allModules.push(module);
78552 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
78553 t2 = t1.get$current(t1);
78554 if (module.get$variables().containsKey$1(t2))
78555 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
78556 }
78557 } else {
78558 t1 = _this._environment0$_modules;
78559 if (t1.containsKey$1(namespace)) {
78560 t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
78561 span = t1 == null ? null : t1.span;
78562 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78563 if (span != null)
78564 t1.$indexSet(0, span, "original @use");
78565 throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
78566 }
78567 t1.$indexSet(0, namespace, module);
78568 _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
78569 _this._environment0$_allModules.push(module);
78570 }
78571 },
78572 forwardModule$2(module, rule) {
78573 var view, t1, t2, _this = this,
78574 forwardedModules = _this._environment0$_forwardedModules;
78575 if (forwardedModules == null)
78576 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78577 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
78578 for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
78579 t2 = t1.__js_helper$_current;
78580 _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
78581 _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
78582 _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
78583 }
78584 _this._environment0$_allModules.push(module);
78585 forwardedModules.$indexSet(0, view, rule);
78586 },
78587 _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
78588 var larger, smaller, t1, t2, $name, span;
78589 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
78590 larger = oldMembers;
78591 smaller = newMembers;
78592 } else {
78593 larger = newMembers;
78594 smaller = oldMembers;
78595 }
78596 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
78597 $name = t1.get$current(t1);
78598 if (!larger.containsKey$1($name))
78599 continue;
78600 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
78601 continue;
78602 if (t2)
78603 $name = "$" + $name;
78604 t1 = this._environment0$_forwardedModules;
78605 if (t1 == null)
78606 span = null;
78607 else {
78608 t1 = t1.$index(0, oldModule);
78609 span = t1 == null ? null : J.get$span$z(t1);
78610 }
78611 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78612 if (span != null)
78613 t1.$indexSet(0, span, "original @forward");
78614 throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
78615 }
78616 },
78617 importForwards$1(module) {
78618 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
78619 forwarded = module._environment0$_environment._environment0$_forwardedModules;
78620 if (forwarded == null)
78621 return;
78622 forwardedModules = _this._environment0$_forwardedModules;
78623 if (forwardedModules != null) {
78624 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78625 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
78626 t4 = t2.get$current(t2);
78627 t5 = t4.key;
78628 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
78629 t1.$indexSet(0, t5, t4.value);
78630 }
78631 forwarded = t1;
78632 } else
78633 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78634 t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
78635 t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
78636 t3 = t2._eval$1("Iterable.E");
78637 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure2(), t2), t3);
78638 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure3(), t2), t3);
78639 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure4(), t2), t3);
78640 t2 = _this._environment0$_variables;
78641 t3 = t2.length;
78642 if (t3 === 1) {
78643 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) {
78644 entry = t3[_i];
78645 module = entry.key;
78646 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78647 if (shadowed != null) {
78648 t1.remove$1(0, module);
78649 t6 = shadowed.variables;
78650 if (t6.get$isEmpty(t6)) {
78651 t6 = shadowed.functions;
78652 if (t6.get$isEmpty(t6)) {
78653 t6 = shadowed.mixins;
78654 if (t6.get$isEmpty(t6)) {
78655 t6 = shadowed._shadowed_view0$_inner;
78656 t6 = t6.get$css(t6);
78657 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78658 } else
78659 t6 = false;
78660 } else
78661 t6 = false;
78662 } else
78663 t6 = false;
78664 if (!t6)
78665 t1.$indexSet(0, shadowed, entry.value);
78666 }
78667 }
78668 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) {
78669 entry = t3[_i];
78670 module = entry.key;
78671 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78672 if (shadowed != null) {
78673 forwardedModules.remove$1(0, module);
78674 t6 = shadowed.variables;
78675 if (t6.get$isEmpty(t6)) {
78676 t6 = shadowed.functions;
78677 if (t6.get$isEmpty(t6)) {
78678 t6 = shadowed.mixins;
78679 if (t6.get$isEmpty(t6)) {
78680 t6 = shadowed._shadowed_view0$_inner;
78681 t6 = t6.get$css(t6);
78682 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78683 } else
78684 t6 = false;
78685 } else
78686 t6 = false;
78687 } else
78688 t6 = false;
78689 if (!t6)
78690 forwardedModules.$indexSet(0, shadowed, entry.value);
78691 }
78692 }
78693 t1.addAll$1(0, forwarded);
78694 forwardedModules.addAll$1(0, forwarded);
78695 } else {
78696 t4 = _this._environment0$_nestedForwardedModules;
78697 if (t4 == null) {
78698 _length = t3 - 1;
78699 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
78700 for (t3 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
78701 _list[_i] = A._setArrayType([], t3);
78702 _this._environment0$_nestedForwardedModules = _list;
78703 t3 = _list;
78704 } else
78705 t3 = t4;
78706 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
78707 }
78708 for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._environment0$_variableIndices, t4 = _this._environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78709 t6 = t1._collection$_current;
78710 if (t6 == null)
78711 t6 = t5._as(t6);
78712 t3.remove$1(0, t6);
78713 J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
78714 J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
78715 }
78716 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._environment0$_functionIndices, t3 = _this._environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78717 t5 = t1._collection$_current;
78718 if (t5 == null)
78719 t5 = t4._as(t5);
78720 t2.remove$1(0, t5);
78721 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
78722 }
78723 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78724 t5 = t1._collection$_current;
78725 if (t5 == null)
78726 t5 = t4._as(t5);
78727 t2.remove$1(0, t5);
78728 J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
78729 }
78730 },
78731 getVariable$2$namespace($name, namespace) {
78732 var t1, index, _this = this;
78733 if (namespace != null)
78734 return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
78735 if (_this._environment0$_lastVariableName === $name) {
78736 t1 = _this._environment0$_lastVariableIndex;
78737 t1.toString;
78738 t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
78739 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78740 }
78741 t1 = _this._environment0$_variableIndices;
78742 index = t1.$index(0, $name);
78743 if (index != null) {
78744 _this._environment0$_lastVariableName = $name;
78745 _this._environment0$_lastVariableIndex = index;
78746 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78747 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78748 }
78749 index = _this._environment0$_variableIndex$1($name);
78750 if (index == null)
78751 return _this._environment0$_getVariableFromGlobalModule$1($name);
78752 _this._environment0$_lastVariableName = $name;
78753 _this._environment0$_lastVariableIndex = index;
78754 t1.$indexSet(0, $name, index);
78755 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78756 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78757 },
78758 getVariable$1($name) {
78759 return this.getVariable$2$namespace($name, null);
78760 },
78761 _environment0$_getVariableFromGlobalModule$1($name) {
78762 return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
78763 },
78764 getVariableNode$2$namespace($name, namespace) {
78765 var t1, index, _this = this;
78766 if (namespace != null)
78767 return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
78768 if (_this._environment0$_lastVariableName === $name) {
78769 t1 = _this._environment0$_lastVariableIndex;
78770 t1.toString;
78771 t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
78772 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78773 }
78774 t1 = _this._environment0$_variableIndices;
78775 index = t1.$index(0, $name);
78776 if (index != null) {
78777 _this._environment0$_lastVariableName = $name;
78778 _this._environment0$_lastVariableIndex = index;
78779 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78780 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78781 }
78782 index = _this._environment0$_variableIndex$1($name);
78783 if (index == null)
78784 return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
78785 _this._environment0$_lastVariableName = $name;
78786 _this._environment0$_lastVariableIndex = index;
78787 t1.$indexSet(0, $name, index);
78788 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78789 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78790 },
78791 _environment0$_getVariableNodeFromGlobalModule$1($name) {
78792 var t1, t2, value;
78793 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();) {
78794 t1 = t2._currentIterator;
78795 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
78796 if (value != null)
78797 return value;
78798 }
78799 return null;
78800 },
78801 globalVariableExists$2$namespace($name, namespace) {
78802 if (namespace != null)
78803 return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
78804 if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
78805 return true;
78806 return this._environment0$_getVariableFromGlobalModule$1($name) != null;
78807 },
78808 globalVariableExists$1($name) {
78809 return this.globalVariableExists$2$namespace($name, null);
78810 },
78811 _environment0$_variableIndex$1($name) {
78812 var t1, i;
78813 for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
78814 if (t1[i].containsKey$1($name))
78815 return i;
78816 return null;
78817 },
78818 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
78819 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
78820 if (namespace != null) {
78821 _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
78822 return;
78823 }
78824 if (global || _this._environment0$_variables.length === 1) {
78825 _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
78826 t1 = _this._environment0$_variables;
78827 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
78828 moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
78829 if (moduleWithName != null) {
78830 moduleWithName.setVariable$3($name, value, nodeWithSpan);
78831 return;
78832 }
78833 }
78834 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
78835 J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
78836 return;
78837 }
78838 nestedForwardedModules = _this._environment0$_nestedForwardedModules;
78839 if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
78840 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();) {
78841 t3 = t1.__internal$_current;
78842 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();) {
78843 t5 = t3.__internal$_current;
78844 if (t5 == null)
78845 t5 = t4._as(t5);
78846 if (t5.get$variables().containsKey$1($name)) {
78847 t5.setVariable$3($name, value, nodeWithSpan);
78848 return;
78849 }
78850 }
78851 }
78852 if (_this._environment0$_lastVariableName === $name) {
78853 t1 = _this._environment0$_lastVariableIndex;
78854 t1.toString;
78855 index = t1;
78856 } else
78857 index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
78858 if (!_this._environment0$_inSemiGlobalScope && index === 0) {
78859 index = _this._environment0$_variables.length - 1;
78860 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78861 }
78862 _this._environment0$_lastVariableName = $name;
78863 _this._environment0$_lastVariableIndex = index;
78864 J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
78865 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78866 },
78867 setVariable$4$global($name, value, nodeWithSpan, global) {
78868 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
78869 },
78870 setLocalVariable$3($name, value, nodeWithSpan) {
78871 var index, _this = this,
78872 t1 = _this._environment0$_variables,
78873 t2 = t1.length;
78874 _this._environment0$_lastVariableName = $name;
78875 index = _this._environment0$_lastVariableIndex = t2 - 1;
78876 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78877 J.$indexSet$ax(t1[index], $name, value);
78878 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78879 },
78880 getFunction$2$namespace($name, namespace) {
78881 var t1, index, _this = this;
78882 if (namespace != null) {
78883 t1 = _this._environment0$_getModule$1(namespace);
78884 return t1.get$functions(t1).$index(0, $name);
78885 }
78886 t1 = _this._environment0$_functionIndices;
78887 index = t1.$index(0, $name);
78888 if (index != null) {
78889 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78890 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78891 }
78892 index = _this._environment0$_functionIndex$1($name);
78893 if (index == null)
78894 return _this._environment0$_getFunctionFromGlobalModule$1($name);
78895 t1.$indexSet(0, $name, index);
78896 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78897 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78898 },
78899 _environment0$_getFunctionFromGlobalModule$1($name) {
78900 return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
78901 },
78902 _environment0$_functionIndex$1($name) {
78903 var t1, i;
78904 for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
78905 if (t1[i].containsKey$1($name))
78906 return i;
78907 return null;
78908 },
78909 getMixin$2$namespace($name, namespace) {
78910 var t1, index, _this = this;
78911 if (namespace != null)
78912 return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
78913 t1 = _this._environment0$_mixinIndices;
78914 index = t1.$index(0, $name);
78915 if (index != null) {
78916 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78917 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78918 }
78919 index = _this._environment0$_mixinIndex$1($name);
78920 if (index == null)
78921 return _this._environment0$_getMixinFromGlobalModule$1($name);
78922 t1.$indexSet(0, $name, index);
78923 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78924 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78925 },
78926 _environment0$_getMixinFromGlobalModule$1($name) {
78927 return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
78928 },
78929 _environment0$_mixinIndex$1($name) {
78930 var t1, i;
78931 for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
78932 if (t1[i].containsKey$1($name))
78933 return i;
78934 return null;
78935 },
78936 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
78937 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
78938 semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
78939 wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
78940 _this._environment0$_inSemiGlobalScope = semiGlobal;
78941 if (!when)
78942 try {
78943 t1 = callback.call$0();
78944 return t1;
78945 } finally {
78946 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78947 }
78948 t1 = _this._environment0$_variables;
78949 t2 = type$.String;
78950 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
78951 t3 = _this._environment0$_variableNodes;
78952 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
78953 t4 = _this._environment0$_functions;
78954 t5 = type$.Callable_2;
78955 B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
78956 t6 = _this._environment0$_mixins;
78957 B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
78958 t5 = _this._environment0$_nestedForwardedModules;
78959 if (t5 != null)
78960 t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
78961 try {
78962 t2 = callback.call$0();
78963 return t2;
78964 } finally {
78965 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78966 _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
78967 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
78968 $name = t1.get$current(t1);
78969 t2.remove$1(0, $name);
78970 }
78971 B.JSArray_methods.removeLast$0(t3);
78972 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
78973 name0 = t1.get$current(t1);
78974 t2.remove$1(0, name0);
78975 }
78976 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
78977 name1 = t1.get$current(t1);
78978 t2.remove$1(0, name1);
78979 }
78980 t1 = _this._environment0$_nestedForwardedModules;
78981 if (t1 != null)
78982 t1.pop();
78983 }
78984 },
78985 scope$1$1(callback, $T) {
78986 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
78987 },
78988 scope$1$2$when(callback, when, $T) {
78989 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
78990 },
78991 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
78992 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
78993 },
78994 toImplicitConfiguration$0() {
78995 var t1, t2, i, values, nodes, t3, t4, t5, t6,
78996 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
78997 for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
78998 values = t1[i];
78999 nodes = t2[i];
79000 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
79001 t4 = t3.get$current(t3);
79002 t5 = t4.key;
79003 t4 = t4.value;
79004 t6 = nodes.$index(0, t5);
79005 t6.toString;
79006 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
79007 }
79008 }
79009 return new A.Configuration0(configuration);
79010 },
79011 toModule$2(css, extensionStore) {
79012 return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
79013 },
79014 toDummyModule$0() {
79015 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()));
79016 },
79017 _environment0$_getModule$1(namespace) {
79018 var module = this._environment0$_modules.$index(0, namespace);
79019 if (module != null)
79020 return module;
79021 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
79022 },
79023 _environment0$_fromOneModule$1$3($name, type, callback, $T) {
79024 var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
79025 nestedForwardedModules = this._environment0$_nestedForwardedModules;
79026 if (nestedForwardedModules != null)
79027 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();) {
79028 t3 = t1.__internal$_current;
79029 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();) {
79030 t5 = t3.__internal$_current;
79031 value = callback.call$1(t5 == null ? t4._as(t5) : t5);
79032 if (value != null)
79033 return value;
79034 }
79035 }
79036 for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
79037 value = callback.call$1(t1.__js_helper$_current);
79038 if (value != null)
79039 return value;
79040 }
79041 for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
79042 t4 = t2.__js_helper$_current;
79043 valueInModule = callback.call$1(t4);
79044 if (valueInModule == null)
79045 continue;
79046 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
79047 if (identityFromModule.$eq(0, identity))
79048 continue;
79049 if (value != null) {
79050 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
79051 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79052 for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
79053 t4 = t1.get$current(t1);
79054 if (t4 != null)
79055 t2.$indexSet(0, t4, t3);
79056 }
79057 throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
79058 }
79059 identity = identityFromModule;
79060 value = valueInModule;
79061 }
79062 return value;
79063 }
79064 };
79065 A.Environment_importForwards_closure2.prototype = {
79066 call$1(module) {
79067 var t1 = module.get$variables();
79068 return t1.get$keys(t1);
79069 },
79070 $signature: 102
79071 };
79072 A.Environment_importForwards_closure3.prototype = {
79073 call$1(module) {
79074 var t1 = module.get$functions(module);
79075 return t1.get$keys(t1);
79076 },
79077 $signature: 102
79078 };
79079 A.Environment_importForwards_closure4.prototype = {
79080 call$1(module) {
79081 var t1 = module.get$mixins();
79082 return t1.get$keys(t1);
79083 },
79084 $signature: 102
79085 };
79086 A.Environment__getVariableFromGlobalModule_closure0.prototype = {
79087 call$1(module) {
79088 return module.get$variables().$index(0, this.name);
79089 },
79090 $signature: 384
79091 };
79092 A.Environment_setVariable_closure2.prototype = {
79093 call$0() {
79094 var t1 = this.$this;
79095 t1._environment0$_lastVariableName = this.name;
79096 return t1._environment0$_lastVariableIndex = 0;
79097 },
79098 $signature: 12
79099 };
79100 A.Environment_setVariable_closure3.prototype = {
79101 call$1(module) {
79102 return module.get$variables().containsKey$1(this.name) ? module : null;
79103 },
79104 $signature: 385
79105 };
79106 A.Environment_setVariable_closure4.prototype = {
79107 call$0() {
79108 var t1 = this.$this,
79109 t2 = t1._environment0$_variableIndex$1(this.name);
79110 return t2 == null ? t1._environment0$_variables.length - 1 : t2;
79111 },
79112 $signature: 12
79113 };
79114 A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
79115 call$1(module) {
79116 return module.get$functions(module).$index(0, this.name);
79117 },
79118 $signature: 211
79119 };
79120 A.Environment__getMixinFromGlobalModule_closure0.prototype = {
79121 call$1(module) {
79122 return module.get$mixins().$index(0, this.name);
79123 },
79124 $signature: 211
79125 };
79126 A.Environment_toModule_closure0.prototype = {
79127 call$1(modules) {
79128 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
79129 },
79130 $signature: 212
79131 };
79132 A.Environment_toDummyModule_closure0.prototype = {
79133 call$1(modules) {
79134 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
79135 },
79136 $signature: 212
79137 };
79138 A.Environment__fromOneModule_closure0.prototype = {
79139 call$1(entry) {
79140 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
79141 },
79142 $signature: 388
79143 };
79144 A.Environment__fromOneModule__closure0.prototype = {
79145 call$1(_) {
79146 return J.get$span$z(this.entry.value);
79147 },
79148 $signature() {
79149 return this.T._eval$1("FileSpan(0)");
79150 }
79151 };
79152 A._EnvironmentModule1.prototype = {
79153 get$url(_) {
79154 var t1 = this.css;
79155 return t1.get$span(t1).file.url;
79156 },
79157 setVariable$3($name, value, nodeWithSpan) {
79158 var t1, t2,
79159 module = this._environment0$_modulesByVariable.$index(0, $name);
79160 if (module != null) {
79161 module.setVariable$3($name, value, nodeWithSpan);
79162 return;
79163 }
79164 t1 = this._environment0$_environment;
79165 t2 = t1._environment0$_variables;
79166 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
79167 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
79168 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
79169 J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
79170 return;
79171 },
79172 variableIdentity$1($name) {
79173 var module = this._environment0$_modulesByVariable.$index(0, $name);
79174 return module == null ? this : module.variableIdentity$1($name);
79175 },
79176 cloneCss$0() {
79177 var newCssAndExtensionStore, _this = this,
79178 t1 = _this.css;
79179 if (J.get$isEmpty$asx(t1.get$children(t1)))
79180 return _this;
79181 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
79182 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);
79183 },
79184 toString$0(_) {
79185 var t1 = this.css;
79186 if (t1.get$span(t1).file.url == null)
79187 t1 = "<unknown url>";
79188 else {
79189 t1 = t1.get$span(t1);
79190 t1 = $.$get$context().prettyUri$1(t1.file.url);
79191 }
79192 return t1;
79193 },
79194 $isModule0: 1,
79195 get$upstream() {
79196 return this.upstream;
79197 },
79198 get$variables() {
79199 return this.variables;
79200 },
79201 get$variableNodes() {
79202 return this.variableNodes;
79203 },
79204 get$functions(receiver) {
79205 return this.functions;
79206 },
79207 get$mixins() {
79208 return this.mixins;
79209 },
79210 get$extensionStore() {
79211 return this.extensionStore;
79212 },
79213 get$css(receiver) {
79214 return this.css;
79215 },
79216 get$transitivelyContainsCss() {
79217 return this.transitivelyContainsCss;
79218 },
79219 get$transitivelyContainsExtensions() {
79220 return this.transitivelyContainsExtensions;
79221 }
79222 };
79223 A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
79224 call$1(module) {
79225 return module.get$variables();
79226 },
79227 $signature: 389
79228 };
79229 A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
79230 call$1(module) {
79231 return module.get$variableNodes();
79232 },
79233 $signature: 390
79234 };
79235 A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
79236 call$1(module) {
79237 return module.get$functions(module);
79238 },
79239 $signature: 213
79240 };
79241 A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
79242 call$1(module) {
79243 return module.get$mixins();
79244 },
79245 $signature: 213
79246 };
79247 A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
79248 call$1(module) {
79249 return module.get$transitivelyContainsCss();
79250 },
79251 $signature: 142
79252 };
79253 A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
79254 call$1(module) {
79255 return module.get$transitivelyContainsExtensions();
79256 },
79257 $signature: 142
79258 };
79259 A.ErrorRule0.prototype = {
79260 accept$1$1(visitor) {
79261 return visitor.visitErrorRule$1(this);
79262 },
79263 accept$1(visitor) {
79264 return this.accept$1$1(visitor, type$.dynamic);
79265 },
79266 toString$0(_) {
79267 return "@error " + this.expression.toString$0(0) + ";";
79268 },
79269 $isAstNode0: 1,
79270 $isStatement0: 1,
79271 get$span(receiver) {
79272 return this.span;
79273 }
79274 };
79275 A._EvaluateVisitor1.prototype = {
79276 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
79277 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
79278 _s20_ = "$name, $module: null",
79279 _s9_ = "sass:meta",
79280 t1 = type$.JSArray_BuiltInCallable_2,
79281 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),
79282 metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
79283 t1 = type$.BuiltInCallable_2;
79284 t2 = A.List_List$of($.$get$global6(), true, t1);
79285 B.JSArray_methods.addAll$1(t2, $.$get$local0());
79286 B.JSArray_methods.addAll$1(t2, metaFunctions);
79287 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
79288 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) {
79289 module = t1[_i];
79290 t3.$indexSet(0, module.url, module);
79291 }
79292 t1 = A._setArrayType([], type$.JSArray_Callable_2);
79293 B.JSArray_methods.addAll$1(t1, functions);
79294 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
79295 B.JSArray_methods.addAll$1(t1, metaFunctions);
79296 for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
79297 $function = t1[_i];
79298 t4 = J.get$name$x($function);
79299 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
79300 }
79301 },
79302 run$2(_, importer, node) {
79303 var t1 = type$.nullable_Object;
79304 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);
79305 },
79306 _evaluate0$_assertInModule$1$2(value, $name) {
79307 if (value != null)
79308 return value;
79309 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
79310 },
79311 _evaluate0$_assertInModule$2(value, $name) {
79312 return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
79313 },
79314 _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
79315 var t1, t2, _this = this,
79316 builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
79317 if (builtInModule != null) {
79318 if (configuration instanceof A.ExplicitConfiguration0) {
79319 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
79320 t2 = configuration.nodeWithSpan;
79321 throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
79322 }
79323 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
79324 return;
79325 }
79326 _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
79327 },
79328 _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
79329 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
79330 },
79331 _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
79332 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
79333 },
79334 _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
79335 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
79336 url = stylesheet.span.file.url,
79337 t1 = _this._evaluate0$_modules,
79338 alreadyLoaded = t1.$index(0, url);
79339 if (alreadyLoaded != null) {
79340 t1 = configuration == null;
79341 currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
79342 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
79343 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
79344 t2 = _this._evaluate0$_moduleNodes.$index(0, url);
79345 existingSpan = t2 == null ? null : J.get$span$z(t2);
79346 if (t1) {
79347 t1 = currentConfiguration.nodeWithSpan;
79348 configurationSpan = t1.get$span(t1);
79349 } else
79350 configurationSpan = null;
79351 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79352 if (existingSpan != null)
79353 t1.$indexSet(0, existingSpan, "original load");
79354 if (configurationSpan != null)
79355 t1.$indexSet(0, configurationSpan, "configuration");
79356 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
79357 }
79358 return alreadyLoaded;
79359 }
79360 environment = A.Environment$0();
79361 css = A._Cell$();
79362 extensionStore = A.ExtensionStore$0();
79363 _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
79364 module = environment.toModule$2(css._readLocal$0(), extensionStore);
79365 if (url != null) {
79366 t1.$indexSet(0, url, module);
79367 if (nodeWithSpan != null)
79368 _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
79369 }
79370 return module;
79371 },
79372 _evaluate0$_execute$2(importer, stylesheet) {
79373 return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
79374 },
79375 _evaluate0$_addOutOfOrderImports$0() {
79376 var t1, t2, _this = this, _s5_ = "_root",
79377 _s13_ = "_endOfImports",
79378 outOfOrderImports = _this._evaluate0$_outOfOrderImports;
79379 if (outOfOrderImports == null)
79380 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79381 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79382 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);
79383 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
79384 t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79385 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
79386 return t1;
79387 },
79388 _evaluate0$_combineCss$2$clone(root, clone) {
79389 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
79390 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
79391 selectors = root.get$extensionStore().get$simpleSelectors();
79392 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
79393 if (unsatisfiedExtension != null)
79394 _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
79395 return root.get$css(root);
79396 }
79397 sortedModules = _this._evaluate0$_topologicalModules$1(root);
79398 if (clone) {
79399 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
79400 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
79401 }
79402 _this._evaluate0$_extendModules$1(sortedModules);
79403 t1 = type$.JSArray_CssNode_2;
79404 imports = A._setArrayType([], t1);
79405 css = A._setArrayType([], t1);
79406 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
79407 t3 = t1.__internal$_current;
79408 if (t3 == null)
79409 t3 = t2._as(t3);
79410 t3 = t3.get$css(t3);
79411 statements = t3.get$children(t3);
79412 index = _this._evaluate0$_indexAfterImports$1(statements);
79413 t3 = J.getInterceptor$ax(statements);
79414 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
79415 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
79416 }
79417 t1 = B.JSArray_methods.$add(imports, css);
79418 t2 = root.get$css(root);
79419 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
79420 },
79421 _evaluate0$_combineCss$1(root) {
79422 return this._evaluate0$_combineCss$2$clone(root, false);
79423 },
79424 _evaluate0$_extendModules$1(sortedModules) {
79425 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
79426 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
79427 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
79428 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
79429 t2 = t1.get$current(t1);
79430 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
79431 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
79432 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
79433 t3 = t2.get$extensionStore().get$addExtensions();
79434 if ($self != null)
79435 t3.call$1($self);
79436 t3 = t2.get$extensionStore();
79437 if (t3.get$isEmpty(t3))
79438 continue;
79439 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
79440 upstream = t3[_i];
79441 url = upstream.get$url(upstream);
79442 if (url == null)
79443 continue;
79444 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
79445 }
79446 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
79447 }
79448 if (unsatisfiedExtensions._collection$_length !== 0)
79449 this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
79450 },
79451 _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
79452 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
79453 },
79454 _evaluate0$_topologicalModules$1(root) {
79455 var t1 = type$.Module_Callable_2,
79456 sorted = A.QueueList$(null, t1);
79457 new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
79458 return sorted;
79459 },
79460 _evaluate0$_indexAfterImports$1(statements) {
79461 var t1, t2, t3, lastImport, i, statement;
79462 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
79463 statement = t1.$index(statements, i);
79464 if (t3._is(statement))
79465 lastImport = i;
79466 else if (!t2._is(statement))
79467 break;
79468 }
79469 return lastImport + 1;
79470 },
79471 visitStylesheet$1(node) {
79472 var t1, t2, _i;
79473 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
79474 t1[_i].accept$1(this);
79475 return null;
79476 },
79477 visitAtRootRule$1(node) {
79478 var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
79479 _s8_ = "__parent",
79480 unparsedQuery = node.query,
79481 query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
79482 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
79483 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
79484 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
79485 if (!query.excludes$1($parent))
79486 included.push($parent);
79487 grandparent = $parent._node1$_parent;
79488 if (grandparent == null)
79489 throw A.wrapException(A.StateError$(string$.CssNod));
79490 }
79491 root = _this._evaluate0$_trimIncluded$1(included);
79492 if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
79493 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
79494 return null;
79495 }
79496 if (included.length !== 0) {
79497 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
79498 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) {
79499 t3 = t1.__internal$_current;
79500 copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
79501 copy.addChild$1(outerCopy);
79502 }
79503 root.addChild$1(outerCopy);
79504 } else
79505 innerCopy = root;
79506 _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
79507 return null;
79508 },
79509 _evaluate0$_trimIncluded$1(nodes) {
79510 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
79511 _s22_ = " to be an ancestor of ";
79512 if (nodes.length === 0)
79513 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79514 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79515 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
79516 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
79517 grandparent = $parent._node1$_parent;
79518 if (grandparent == null)
79519 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79520 }
79521 if (innermostContiguous == null)
79522 innermostContiguous = i;
79523 grandparent = $parent._node1$_parent;
79524 if (grandparent == null)
79525 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79526 }
79527 if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79528 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79529 innermostContiguous.toString;
79530 root = nodes[innermostContiguous];
79531 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
79532 return root;
79533 },
79534 _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
79535 var _this = this,
79536 scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
79537 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
79538 if (t1 !== query.include)
79539 scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
79540 if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
79541 scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
79542 if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
79543 scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
79544 return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
79545 },
79546 visitContentBlock$1(node) {
79547 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
79548 },
79549 visitContentRule$1(node) {
79550 var $content = this._evaluate0$_environment._environment0$_content;
79551 if ($content == null)
79552 return null;
79553 this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
79554 return null;
79555 },
79556 visitDebugRule$1(node) {
79557 var value = node.expression.accept$1(this),
79558 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
79559 this._evaluate0$_logger.debug$2(0, t1, node.span);
79560 return null;
79561 },
79562 visitDeclaration$1(node) {
79563 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
79564 if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
79565 throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
79566 t1 = node.name;
79567 $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
79568 t2 = _this._evaluate0$_declarationName;
79569 if (t2 != null)
79570 $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
79571 t2 = node.value;
79572 cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
79573 t3 = cssValue != null;
79574 if (t3)
79575 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
79576 else
79577 t4 = false;
79578 if (t4) {
79579 t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79580 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
79581 if (_this._evaluate0$_sourceMap) {
79582 t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
79583 t2 = t2 == null ? _null : J.get$span$z(t2);
79584 } else
79585 t2 = _null;
79586 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
79587 } else if (J.startsWith$1$s($name.value, "--") && t3)
79588 throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
79589 children = node.children;
79590 if (children != null) {
79591 oldDeclarationName = _this._evaluate0$_declarationName;
79592 _this._evaluate0$_declarationName = $name.value;
79593 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
79594 _this._evaluate0$_declarationName = oldDeclarationName;
79595 }
79596 return _null;
79597 },
79598 visitEachRule$1(node) {
79599 var _this = this,
79600 t1 = node.list,
79601 list = t1.accept$1(_this),
79602 nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
79603 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
79604 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
79605 },
79606 _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
79607 var i,
79608 list = value.get$asList(),
79609 t1 = variables.length,
79610 minLength = Math.min(t1, list.length);
79611 for (i = 0; i < minLength; ++i)
79612 this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
79613 for (i = minLength; i < t1; ++i)
79614 this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
79615 },
79616 visitErrorRule$1(node) {
79617 throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
79618 },
79619 visitExtendRule$1(node) {
79620 var targetText, t1, t2, t3, _i, t4, _this = this,
79621 styleRule = _this._evaluate0$_atRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
79622 if (styleRule == null || _this._evaluate0$_declarationName != null)
79623 throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
79624 targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
79625 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) {
79626 t4 = t1[_i].components;
79627 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
79628 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
79629 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
79630 if (t4.length !== 1)
79631 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
79632 _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._evaluate0$_mediaQueries);
79633 }
79634 return null;
79635 },
79636 visitAtRule$1(node) {
79637 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
79638 if (_this._evaluate0$_declarationName != null)
79639 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
79640 $name = _this._evaluate0$_interpolationToValue$1(node.name);
79641 value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
79642 children = node.children;
79643 if (children == null) {
79644 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
79645 return null;
79646 }
79647 wasInKeyframes = _this._evaluate0$_inKeyframes;
79648 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
79649 if (A.unvendor0($name.value) === "keyframes")
79650 _this._evaluate0$_inKeyframes = true;
79651 else
79652 _this._evaluate0$_inUnknownAtRule = true;
79653 _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);
79654 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
79655 _this._evaluate0$_inKeyframes = wasInKeyframes;
79656 return null;
79657 },
79658 visitForRule$1(node) {
79659 var _this = this, t1 = {},
79660 t2 = node.from,
79661 fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
79662 t3 = node.to,
79663 toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
79664 from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
79665 to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
79666 direction = from > to ? -1 : 1;
79667 if (from === (!node.isExclusive ? t1.to = to + direction : to))
79668 return null;
79669 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
79670 },
79671 visitForwardRule$1(node) {
79672 var newConfiguration, t4, _i, variable, $name, _this = this,
79673 _s8_ = "@forward",
79674 oldConfiguration = _this._evaluate0$_configuration,
79675 adjustedConfiguration = oldConfiguration.throughForward$1(node),
79676 t1 = node.configuration,
79677 t2 = t1.length,
79678 t3 = node.url;
79679 if (t2 !== 0) {
79680 newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
79681 _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
79682 t3 = type$.String;
79683 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79684 for (_i = 0; _i < t2; ++_i) {
79685 variable = t1[_i];
79686 if (!variable.isGuarded)
79687 t4.add$1(0, variable.name);
79688 }
79689 _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
79690 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79691 for (_i = 0; _i < t2; ++_i)
79692 t3.add$1(0, t1[_i].name);
79693 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) {
79694 $name = t2[_i];
79695 if (!t3.contains$1(0, $name))
79696 if (!t1.get$isEmpty(t1))
79697 t1.remove$1(0, $name);
79698 }
79699 _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
79700 } else {
79701 _this._evaluate0$_configuration = adjustedConfiguration;
79702 _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
79703 _this._evaluate0$_configuration = oldConfiguration;
79704 }
79705 return null;
79706 },
79707 _evaluate0$_addForwardConfiguration$2(configuration, node) {
79708 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
79709 t1 = configuration._configuration$_values,
79710 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
79711 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79712 variable = t2[_i];
79713 if (variable.isGuarded) {
79714 t4 = variable.name;
79715 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
79716 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
79717 newValues.$indexSet(0, t4, t5);
79718 continue;
79719 }
79720 }
79721 t4 = variable.expression;
79722 variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
79723 newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79724 }
79725 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
79726 return new A.ExplicitConfiguration0(node, newValues);
79727 else
79728 return new A.Configuration0(newValues);
79729 },
79730 _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
79731 var t1, t2, t3, t4, _i, $name;
79732 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) {
79733 $name = t2[_i];
79734 if (except.contains$1(0, $name))
79735 continue;
79736 if (!t4.containsKey$1($name))
79737 if (!t1.get$isEmpty(t1))
79738 t1.remove$1(0, $name);
79739 }
79740 },
79741 _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
79742 var t1, entry;
79743 if (!(configuration instanceof A.ExplicitConfiguration0))
79744 return;
79745 t1 = configuration._configuration$_values;
79746 if (t1.get$isEmpty(t1))
79747 return;
79748 t1 = t1.get$entries(t1);
79749 entry = t1.get$first(t1);
79750 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
79751 throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
79752 },
79753 _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
79754 return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
79755 },
79756 visitFunctionRule$1(node) {
79757 var t1 = this._evaluate0$_environment,
79758 t2 = t1.closure$0(),
79759 t3 = this._evaluate0$_inDependency,
79760 t4 = t1._environment0$_functions,
79761 index = t4.length - 1,
79762 t5 = node.name;
79763 t1._environment0$_functionIndices.$indexSet(0, t5, index);
79764 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
79765 return null;
79766 },
79767 visitIfRule$1(node) {
79768 var t1, t2, _i, clauseToCheck, _box_0 = {};
79769 _box_0.clause = node.lastClause;
79770 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
79771 clauseToCheck = t1[_i];
79772 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
79773 _box_0.clause = clauseToCheck;
79774 break;
79775 }
79776 }
79777 t1 = _box_0.clause;
79778 if (t1 == null)
79779 return null;
79780 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
79781 },
79782 visitImportRule$1(node) {
79783 var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
79784 _s8_ = "__parent",
79785 _s5_ = "_root",
79786 _s13_ = "_endOfImports";
79787 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) {
79788 $import = t1[_i];
79789 if ($import instanceof A.DynamicImport0)
79790 _this._evaluate0$_visitDynamicImport$1($import);
79791 else {
79792 t5._as($import);
79793 t7 = $import.url;
79794 result = _this._evaluate0$_performInterpolation$2$warnForColor(t7, false);
79795 $self = $import.modifiers;
79796 t8 = $self == null ? null : t4.call$1($self);
79797 node = new A.ModifiableCssImport0(new A.CssValue0(result, t7.span, t3), t8, $import.span);
79798 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79799 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
79800 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)) {
79801 t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79802 node._node1$_parent = t7;
79803 t7 = t7._node1$_children;
79804 node._node1$_indexInParent = t7.length;
79805 t7.push(node);
79806 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79807 } else {
79808 t7 = _this._evaluate0$_outOfOrderImports;
79809 (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
79810 }
79811 }
79812 }
79813 return null;
79814 },
79815 _evaluate0$_visitDynamicImport$1($import) {
79816 return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
79817 },
79818 _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
79819 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
79820 _s11_ = "_stylesheet";
79821 baseUrl = baseUrl;
79822 try {
79823 _this._evaluate0$_importSpan = span;
79824 importCache = _this._evaluate0$_importCache;
79825 if (importCache != null) {
79826 if (baseUrl == null)
79827 baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
79828 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
79829 if (tuple != null) {
79830 isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
79831 t1 = tuple.item1;
79832 t2 = tuple.item2;
79833 t3 = tuple.item3;
79834 t4 = _this._evaluate0$_quietDeps && isDependency;
79835 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
79836 if (stylesheet != null) {
79837 _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
79838 t1 = tuple.item1;
79839 return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
79840 }
79841 }
79842 } else {
79843 t1 = baseUrl;
79844 result = _this._evaluate0$_importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
79845 if (result != null) {
79846 t1 = _this._evaluate0$_loadedUrls;
79847 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
79848 return result;
79849 }
79850 }
79851 if (B.JSString_methods.startsWith$1(url, "package:") && true)
79852 throw A.wrapException(string$.x22packa);
79853 else
79854 throw A.wrapException("Can't find stylesheet to import.");
79855 } catch (exception) {
79856 t1 = A.unwrapException(exception);
79857 if (t1 instanceof A.SassException0) {
79858 error = t1;
79859 stackTrace = A.getTraceFromException(exception);
79860 t1 = error;
79861 t2 = J.getInterceptor$z(t1);
79862 A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
79863 } else {
79864 error0 = t1;
79865 stackTrace0 = A.getTraceFromException(exception);
79866 message = null;
79867 try {
79868 message = A._asString(J.get$message$x(error0));
79869 } catch (exception) {
79870 message0 = J.toString$0$(error0);
79871 message = message0;
79872 }
79873 A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
79874 }
79875 } finally {
79876 _this._evaluate0$_importSpan = null;
79877 }
79878 },
79879 _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
79880 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
79881 },
79882 _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
79883 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
79884 },
79885 _evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
79886 var isDependency, url, t2, _this = this,
79887 t1 = _this._evaluate0$_nodeImporter,
79888 result = t1.loadRelative$3(originalUrl, previous, forImport);
79889 if (result != null)
79890 isDependency = _this._evaluate0$_inDependency;
79891 else {
79892 result = t1.load$3(0, originalUrl, previous, forImport);
79893 if (result == null)
79894 return null;
79895 isDependency = true;
79896 }
79897 url = result.item2;
79898 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
79899 t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
79900 return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
79901 },
79902 visitIncludeRule$1(node) {
79903 var nodeWithSpan, t1, _this = this,
79904 _s37_ = "Mixin doesn't accept a content block.",
79905 mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
79906 if (mixin == null)
79907 throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
79908 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
79909 if (mixin instanceof A.BuiltInCallable0) {
79910 if (node.content != null)
79911 throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
79912 _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
79913 } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
79914 t1 = node.content;
79915 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
79916 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())));
79917 _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);
79918 } else
79919 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
79920 return null;
79921 },
79922 visitMixinRule$1(node) {
79923 var t1 = this._evaluate0$_environment,
79924 t2 = t1.closure$0(),
79925 t3 = this._evaluate0$_inDependency,
79926 t4 = t1._environment0$_mixins,
79927 index = t4.length - 1,
79928 t5 = node.name;
79929 t1._environment0$_mixinIndices.$indexSet(0, t5, index);
79930 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
79931 return null;
79932 },
79933 visitLoudComment$1(node) {
79934 var t1, _this = this,
79935 _s8_ = "__parent",
79936 _s13_ = "_endOfImports";
79937 if (_this._evaluate0$_inFunction)
79938 return null;
79939 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))
79940 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79941 t1 = node.text;
79942 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
79943 return null;
79944 },
79945 visitMediaRule$1(node) {
79946 var queries, mergedQueries, t1, _this = this;
79947 if (_this._evaluate0$_declarationName != null)
79948 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
79949 queries = _this._evaluate0$_visitMediaQueries$1(node.query);
79950 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
79951 t1 = mergedQueries == null;
79952 if (!t1 && J.get$isEmpty$asx(mergedQueries))
79953 return null;
79954 t1 = t1 ? queries : mergedQueries;
79955 _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);
79956 return null;
79957 },
79958 _evaluate0$_visitMediaQueries$1(interpolation) {
79959 return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
79960 },
79961 _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
79962 var t1, t2, t3, t4, t5, result,
79963 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
79964 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
79965 t4 = t1.get$current(t1);
79966 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
79967 result = t4.merge$1(t5.get$current(t5));
79968 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
79969 continue;
79970 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
79971 return null;
79972 queries.push(t3._as(result).query);
79973 }
79974 }
79975 return queries;
79976 },
79977 visitReturnRule$1(node) {
79978 var t1 = node.expression;
79979 return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
79980 },
79981 visitSilentComment$1(node) {
79982 return null;
79983 },
79984 visitStyleRule$1(node) {
79985 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
79986 _s8_ = "__parent",
79987 t1 = {};
79988 if (_this._evaluate0$_declarationName != null)
79989 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
79990 t2 = node.selector;
79991 selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true);
79992 if (_this._evaluate0$_inKeyframes) {
79993 _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);
79994 return null;
79995 }
79996 t1.parsedSelector = _this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure16(_this, selectorText));
79997 t1.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure17(t1, _this));
79998 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);
79999 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80000 t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
80001 _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);
80002 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80003 if ((oldAtRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
80004 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80005 t1 = !t1.get$isEmpty(t1);
80006 }
80007 if (t1) {
80008 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80009 t1.get$last(t1).isGroupEnd = true;
80010 }
80011 return null;
80012 },
80013 visitSupportsRule$1(node) {
80014 var t1, _this = this;
80015 if (_this._evaluate0$_declarationName != null)
80016 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80017 t1 = node.condition;
80018 _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);
80019 return null;
80020 },
80021 _evaluate0$_visitSupportsCondition$1(condition) {
80022 var t1, oldInSupportsDeclaration, t2, t3, _this = this;
80023 if (condition instanceof A.SupportsOperation0) {
80024 t1 = condition.operator;
80025 return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
80026 } else if (condition instanceof A.SupportsNegation0)
80027 return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
80028 else if (condition instanceof A.SupportsInterpolation0) {
80029 t1 = condition.expression;
80030 return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
80031 } else if (condition instanceof A.SupportsDeclaration0) {
80032 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80033 _this._evaluate0$_inSupportsDeclaration = true;
80034 t1 = condition.name;
80035 t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true);
80036 t2 = condition.get$isCustomProperty() ? "" : " ";
80037 t3 = condition.value;
80038 t3 = _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
80039 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80040 return "(" + t1 + ":" + t2 + t3 + ")";
80041 } else if (condition instanceof A.SupportsFunction0)
80042 return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
80043 else if (condition instanceof A.SupportsAnything0)
80044 return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
80045 else
80046 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
80047 },
80048 _evaluate0$_parenthesize$2(condition, operator) {
80049 var t1;
80050 if (!(condition instanceof A.SupportsNegation0))
80051 if (condition instanceof A.SupportsOperation0)
80052 t1 = operator == null || operator !== condition.operator;
80053 else
80054 t1 = false;
80055 else
80056 t1 = true;
80057 if (t1)
80058 return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
80059 else
80060 return this._evaluate0$_visitSupportsCondition$1(condition);
80061 },
80062 _evaluate0$_parenthesize$1(condition) {
80063 return this._evaluate0$_parenthesize$2(condition, null);
80064 },
80065 visitVariableDeclaration$1(node) {
80066 var t1, value, _this = this, _null = null;
80067 if (node.isGuarded) {
80068 if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
80069 t1 = _this._evaluate0$_configuration._configuration$_values;
80070 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
80071 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
80072 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
80073 return _null;
80074 }
80075 }
80076 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
80077 if (value != null && !value.$eq(0, B.C__SassNull0))
80078 return _null;
80079 }
80080 if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
80081 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.";
80082 _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
80083 }
80084 t1 = node.expression;
80085 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
80086 return _null;
80087 },
80088 visitUseRule$1(node) {
80089 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
80090 t1 = node.configuration,
80091 t2 = t1.length;
80092 if (t2 !== 0) {
80093 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
80094 for (_i = 0; _i < t2; ++_i) {
80095 variable = t1[_i];
80096 t3 = variable.expression;
80097 variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
80098 values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
80099 }
80100 configuration = new A.ExplicitConfiguration0(node, values);
80101 } else
80102 configuration = B.Configuration_Map_empty0;
80103 _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
80104 _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
80105 return null;
80106 },
80107 visitWarnRule$1(node) {
80108 var _this = this,
80109 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
80110 t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
80111 _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
80112 return null;
80113 },
80114 visitWhileRule$1(node) {
80115 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
80116 },
80117 visitBinaryOperationExpression$1(node) {
80118 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
80119 },
80120 visitValueExpression$1(node) {
80121 return node.value;
80122 },
80123 visitVariableExpression$1(node) {
80124 var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
80125 if (result != null)
80126 return result;
80127 throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
80128 },
80129 visitUnaryOperationExpression$1(node) {
80130 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
80131 },
80132 visitBooleanExpression$1(node) {
80133 return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
80134 },
80135 visitIfExpression$1(node) {
80136 var condition, t2, ifTrue, ifFalse, result, _this = this,
80137 pair = _this._evaluate0$_evaluateMacroArguments$1(node),
80138 positional = pair.item1,
80139 named = pair.item2,
80140 t1 = J.getInterceptor$asx(positional);
80141 _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
80142 if (t1.get$length(positional) > 0)
80143 condition = t1.$index(positional, 0);
80144 else {
80145 t2 = named.$index(0, "condition");
80146 t2.toString;
80147 condition = t2;
80148 }
80149 if (t1.get$length(positional) > 1)
80150 ifTrue = t1.$index(positional, 1);
80151 else {
80152 t2 = named.$index(0, "if-true");
80153 t2.toString;
80154 ifTrue = t2;
80155 }
80156 if (t1.get$length(positional) > 2)
80157 ifFalse = t1.$index(positional, 2);
80158 else {
80159 t1 = named.$index(0, "if-false");
80160 t1.toString;
80161 ifFalse = t1;
80162 }
80163 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
80164 return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
80165 },
80166 visitNullExpression$1(node) {
80167 return B.C__SassNull0;
80168 },
80169 visitNumberExpression$1(node) {
80170 var t1 = node.value,
80171 t2 = node.unit;
80172 return t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
80173 },
80174 visitParenthesizedExpression$1(node) {
80175 return node.expression.accept$1(this);
80176 },
80177 visitCalculationExpression$1(node) {
80178 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
80179 t1 = A._setArrayType([], type$.JSArray_Object);
80180 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
80181 argument = t2[_i];
80182 t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
80183 }
80184 $arguments = t1;
80185 if (_this._evaluate0$_inSupportsDeclaration)
80186 return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
80187 try {
80188 switch (t4) {
80189 case "calc":
80190 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
80191 return t1;
80192 case "min":
80193 t1 = A.SassCalculation_min0($arguments);
80194 return t1;
80195 case "max":
80196 t1 = A.SassCalculation_max0($arguments);
80197 return t1;
80198 case "clamp":
80199 t1 = J.$index$asx($arguments, 0);
80200 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
80201 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
80202 return t1;
80203 default:
80204 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
80205 throw A.wrapException(t1);
80206 }
80207 } catch (exception) {
80208 t1 = A.unwrapException(exception);
80209 if (t1 instanceof A.SassScriptException0) {
80210 error = t1;
80211 stackTrace = A.getTraceFromException(exception);
80212 _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
80213 A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
80214 } else
80215 throw exception;
80216 }
80217 },
80218 _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
80219 var i, t1, arg, number1, j, number2;
80220 for (i = 0; t1 = args.length, i < t1; ++i) {
80221 arg = args[i];
80222 if (!(arg instanceof A.SassNumber0))
80223 continue;
80224 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
80225 throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
80226 }
80227 for (i = 0; i < t1 - 1; ++i) {
80228 number1 = args[i];
80229 if (!(number1 instanceof A.SassNumber0))
80230 continue;
80231 for (j = i + 1; t1 = args.length, j < t1; ++j) {
80232 number2 = args[j];
80233 if (!(number2 instanceof A.SassNumber0))
80234 continue;
80235 if (number1.hasPossiblyCompatibleUnits$1(number2))
80236 continue;
80237 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]))));
80238 }
80239 }
80240 },
80241 _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
80242 var inner, result, t1, _this = this;
80243 if (node instanceof A.ParenthesizedExpression0) {
80244 inner = node.expression;
80245 result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
80246 if (inner instanceof A.FunctionExpression0)
80247 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
80248 else
80249 t1 = false;
80250 return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
80251 } else if (node instanceof A.StringExpression0)
80252 return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
80253 else if (node instanceof A.BinaryOperationExpression0)
80254 return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
80255 else {
80256 result = node.accept$1(_this);
80257 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
80258 return result;
80259 if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
80260 return result;
80261 throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
80262 }
80263 },
80264 _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
80265 switch (operator) {
80266 case B.BinaryOperator_AcR2:
80267 return B.CalculationOperator_Iem0;
80268 case B.BinaryOperator_iyO0:
80269 return B.CalculationOperator_uti0;
80270 case B.BinaryOperator_O1M0:
80271 return B.CalculationOperator_Dih0;
80272 case B.BinaryOperator_RTB0:
80273 return B.CalculationOperator_jB60;
80274 default:
80275 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
80276 }
80277 },
80278 visitColorExpression$1(node) {
80279 return node.value;
80280 },
80281 visitListExpression$1(node) {
80282 var t1 = node.contents;
80283 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);
80284 },
80285 visitMapExpression$1(node) {
80286 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
80287 t1 = type$.Value_2,
80288 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
80289 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
80290 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
80291 pair = t2[_i];
80292 t4 = pair.item1;
80293 keyValue = t4.accept$1(this);
80294 valueValue = pair.item2.accept$1(this);
80295 if (map.$index(0, keyValue) != null) {
80296 t1 = keyNodes.$index(0, keyValue);
80297 oldValueSpan = t1 == null ? null : t1.get$span(t1);
80298 t1 = J.getInterceptor$z(t4);
80299 t2 = t1.get$span(t4);
80300 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
80301 if (oldValueSpan != null)
80302 t3.$indexSet(0, oldValueSpan, "first key");
80303 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
80304 }
80305 map.$indexSet(0, keyValue, valueValue);
80306 keyNodes.$indexSet(0, keyValue, t4);
80307 }
80308 return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
80309 },
80310 visitFunctionExpression$1(node) {
80311 var oldInFunction, result, _this = this, t1 = {},
80312 $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
80313 t1.$function = $function;
80314 if ($function == null) {
80315 if (node.namespace != null)
80316 throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
80317 t1.$function = new A.PlainCssCallable0(node.originalName);
80318 }
80319 oldInFunction = _this._evaluate0$_inFunction;
80320 _this._evaluate0$_inFunction = true;
80321 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
80322 _this._evaluate0$_inFunction = oldInFunction;
80323 return result;
80324 },
80325 visitInterpolatedFunctionExpression$1(node) {
80326 var result, _this = this,
80327 t1 = _this._evaluate0$_performInterpolation$1(node.name),
80328 oldInFunction = _this._evaluate0$_inFunction;
80329 _this._evaluate0$_inFunction = true;
80330 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
80331 _this._evaluate0$_inFunction = oldInFunction;
80332 return result;
80333 },
80334 _evaluate0$_getFunction$2$namespace($name, namespace) {
80335 var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
80336 if (local != null || namespace != null)
80337 return local;
80338 return this._evaluate0$_builtInFunctions.$index(0, $name);
80339 },
80340 _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
80341 var oldCallable, result, _this = this,
80342 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80343 $name = callable.declaration.name;
80344 if ($name !== "@content")
80345 $name += "()";
80346 oldCallable = _this._evaluate0$_currentCallable;
80347 _this._evaluate0$_currentCallable = callable;
80348 result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
80349 _this._evaluate0$_currentCallable = oldCallable;
80350 return result;
80351 },
80352 _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
80353 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
80354 if (callable instanceof A.BuiltInCallable0)
80355 return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
80356 else if (type$.UserDefinedCallable_Environment_2._is(callable))
80357 return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
80358 else if (callable instanceof A.PlainCssCallable0) {
80359 t1 = $arguments.named;
80360 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
80361 throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
80362 t1 = callable.name + "(";
80363 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
80364 argument = t2[_i];
80365 if (first)
80366 first = false;
80367 else
80368 t1 += ", ";
80369 t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
80370 }
80371 restArg = $arguments.rest;
80372 if (restArg != null) {
80373 rest = restArg.accept$1(_this);
80374 if (!first)
80375 t1 += ", ";
80376 t1 += _this._evaluate0$_serialize$2(rest, restArg);
80377 }
80378 t1 += A.Primitives_stringFromCharCode(41);
80379 return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
80380 } else
80381 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
80382 },
80383 _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
80384 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,
80385 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80386 oldCallableNode = _this._evaluate0$_callableNode;
80387 _this._evaluate0$_callableNode = nodeWithSpan;
80388 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
80389 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
80390 overload = tuple.item1;
80391 callback = tuple.item2;
80392 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
80393 declaredArguments = overload.$arguments;
80394 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
80395 argument = declaredArguments[i];
80396 t2 = evaluated.positional;
80397 t3 = evaluated.named.remove$1(0, argument.name);
80398 if (t3 == null) {
80399 t3 = argument.defaultValue;
80400 t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
80401 }
80402 t2.push(t3);
80403 }
80404 if (overload.restArgument != null) {
80405 if (evaluated.positional.length > t1) {
80406 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
80407 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
80408 } else
80409 rest = B.List_empty15;
80410 t1 = evaluated.named;
80411 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
80412 evaluated.positional.push(argumentList);
80413 } else
80414 argumentList = null;
80415 result = null;
80416 try {
80417 result = callback.call$1(evaluated.positional);
80418 } catch (exception) {
80419 t1 = A.unwrapException(exception);
80420 if (type$.SassRuntimeException_2._is(t1))
80421 throw exception;
80422 else if (t1 instanceof A.MultiSpanSassScriptException0) {
80423 error = t1;
80424 stackTrace = A.getTraceFromException(exception);
80425 t1 = error.message;
80426 t2 = nodeWithSpan.get$span(nodeWithSpan);
80427 t3 = error.primaryLabel;
80428 t4 = error.secondarySpans;
80429 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);
80430 } else if (t1 instanceof A.MultiSpanSassException0) {
80431 error0 = t1;
80432 stackTrace0 = A.getTraceFromException(exception);
80433 t1 = error0._span_exception$_message;
80434 t2 = error0;
80435 t3 = J.getInterceptor$z(t2);
80436 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
80437 t3 = error0.primaryLabel;
80438 t4 = error0.secondarySpans;
80439 t5 = error0;
80440 t6 = J.getInterceptor$z(t5);
80441 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);
80442 } else {
80443 error1 = t1;
80444 stackTrace1 = A.getTraceFromException(exception);
80445 message = null;
80446 try {
80447 message = A._asString(J.get$message$x(error1));
80448 } catch (exception) {
80449 message0 = J.toString$0$(error1);
80450 message = message0;
80451 }
80452 A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
80453 }
80454 }
80455 _this._evaluate0$_callableNode = oldCallableNode;
80456 if (argumentList == null)
80457 return result;
80458 if (evaluated.named.__js_helper$_length === 0)
80459 return result;
80460 if (argumentList._argument_list$_wereKeywordsAccessed)
80461 return result;
80462 t1 = evaluated.named;
80463 t1 = t1.get$keys(t1);
80464 t1 = A.pluralize0("argument", t1.get$length(t1), null);
80465 t2 = evaluated.named;
80466 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))));
80467 },
80468 _evaluate0$_evaluateArguments$1($arguments) {
80469 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
80470 positional = A._setArrayType([], type$.JSArray_Value_2),
80471 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
80472 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
80473 expression = t1[_i];
80474 nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
80475 positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
80476 positionalNodes.push(nodeForSpan);
80477 }
80478 t1 = type$.String;
80479 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
80480 t2 = type$.AstNode_2;
80481 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80482 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80483 t4 = t3.get$current(t3);
80484 t5 = t4.value;
80485 nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
80486 t4 = t4.key;
80487 named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
80488 namedNodes.$indexSet(0, t4, nodeForSpan);
80489 }
80490 restArgs = $arguments.rest;
80491 if (restArgs == null)
80492 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
80493 rest = restArgs.accept$1(_this);
80494 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
80495 if (rest instanceof A.SassMap0) {
80496 _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
80497 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80498 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
80499 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
80500 namedNodes.addAll$1(0, t3);
80501 separator = B.ListSeparator_undecided_null0;
80502 } else if (rest instanceof A.SassList0) {
80503 t3 = rest._list1$_contents;
80504 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>")));
80505 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
80506 separator = rest._list1$_separator;
80507 if (rest instanceof A.SassArgumentList0) {
80508 rest._argument_list$_wereKeywordsAccessed = true;
80509 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
80510 }
80511 } else {
80512 positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
80513 positionalNodes.push(restNodeForSpan);
80514 separator = B.ListSeparator_undecided_null0;
80515 }
80516 keywordRestArgs = $arguments.keywordRest;
80517 if (keywordRestArgs == null)
80518 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80519 keywordRest = keywordRestArgs.accept$1(_this);
80520 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
80521 if (keywordRest instanceof A.SassMap0) {
80522 _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
80523 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80524 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
80525 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
80526 namedNodes.addAll$1(0, t1);
80527 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80528 } else
80529 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
80530 },
80531 _evaluate0$_evaluateMacroArguments$1(invocation) {
80532 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
80533 t1 = invocation.$arguments,
80534 restArgs_ = t1.rest;
80535 if (restArgs_ == null)
80536 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80537 t2 = t1.positional;
80538 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
80539 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
80540 rest = restArgs_.accept$1(_this);
80541 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
80542 if (rest instanceof A.SassMap0)
80543 _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
80544 else if (rest instanceof A.SassList0) {
80545 t2 = rest._list1$_contents;
80546 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>")));
80547 if (rest instanceof A.SassArgumentList0) {
80548 rest._argument_list$_wereKeywordsAccessed = true;
80549 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
80550 }
80551 } else
80552 positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
80553 keywordRestArgs_ = t1.keywordRest;
80554 if (keywordRestArgs_ == null)
80555 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80556 keywordRest = keywordRestArgs_.accept$1(_this);
80557 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
80558 if (keywordRest instanceof A.SassMap0) {
80559 _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
80560 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80561 } else
80562 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
80563 },
80564 _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
80565 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
80566 },
80567 _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
80568 return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
80569 },
80570 _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
80571 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
80572 },
80573 visitSelectorExpression$1(node) {
80574 var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
80575 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
80576 return t1 == null ? B.C__SassNull0 : t1;
80577 },
80578 visitStringExpression$1(node) {
80579 var t1, _this = this,
80580 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80581 _this._evaluate0$_inSupportsDeclaration = false;
80582 t1 = node.text.contents;
80583 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80584 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80585 return new A.SassString0(t1, node.hasQuotes);
80586 },
80587 visitSupportsExpression$1(expression) {
80588 return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
80589 },
80590 visitCssAtRule$1(node) {
80591 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
80592 if (_this._evaluate0$_declarationName != null)
80593 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
80594 if (node.isChildless) {
80595 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
80596 return;
80597 }
80598 wasInKeyframes = _this._evaluate0$_inKeyframes;
80599 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
80600 t1 = node.name;
80601 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
80602 _this._evaluate0$_inKeyframes = true;
80603 else
80604 _this._evaluate0$_inUnknownAtRule = true;
80605 _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);
80606 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80607 _this._evaluate0$_inKeyframes = wasInKeyframes;
80608 },
80609 visitCssComment$1(node) {
80610 var _this = this,
80611 _s8_ = "__parent",
80612 _s13_ = "_endOfImports";
80613 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))
80614 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80615 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
80616 },
80617 visitCssDeclaration$1(node) {
80618 var t1 = node.name;
80619 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));
80620 },
80621 visitCssImport$1(node) {
80622 var t1, _this = this,
80623 _s8_ = "__parent",
80624 _s5_ = "_root",
80625 _s13_ = "_endOfImports",
80626 modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
80627 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
80628 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
80629 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)) {
80630 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
80631 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80632 } else {
80633 t1 = _this._evaluate0$_outOfOrderImports;
80634 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
80635 }
80636 },
80637 visitCssKeyframeBlock$1(node) {
80638 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);
80639 },
80640 visitCssMediaRule$1(node) {
80641 var mergedQueries, t1, _this = this;
80642 if (_this._evaluate0$_declarationName != null)
80643 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
80644 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
80645 t1 = mergedQueries == null;
80646 if (!t1 && J.get$isEmpty$asx(mergedQueries))
80647 return;
80648 t1 = t1 ? node.queries : mergedQueries;
80649 _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);
80650 },
80651 visitCssStyleRule$1(node) {
80652 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
80653 _s8_ = "__parent";
80654 if (_this._evaluate0$_declarationName != null)
80655 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
80656 t1 = _this._evaluate0$_atRootExcludingStyleRule;
80657 styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
80658 t2 = node.selector;
80659 t3 = t2.value;
80660 t4 = styleRule == null;
80661 t5 = t4 ? null : styleRule.originalSelector;
80662 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
80663 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
80664 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80665 _this._evaluate0$_atRootExcludingStyleRule = false;
80666 _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);
80667 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80668 if (t4) {
80669 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80670 t1 = !t1.get$isEmpty(t1);
80671 } else
80672 t1 = false;
80673 if (t1) {
80674 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80675 t1.get$last(t1).isGroupEnd = true;
80676 }
80677 },
80678 visitCssStylesheet$1(node) {
80679 var t1;
80680 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
80681 t1.get$current(t1).accept$1(this);
80682 },
80683 visitCssSupportsRule$1(node) {
80684 var _this = this;
80685 if (_this._evaluate0$_declarationName != null)
80686 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80687 _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);
80688 },
80689 _evaluate0$_handleReturn$1$2(list, callback) {
80690 var t1, _i, result;
80691 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
80692 result = callback.call$1(list[_i]);
80693 if (result != null)
80694 return result;
80695 }
80696 return null;
80697 },
80698 _evaluate0$_handleReturn$2(list, callback) {
80699 return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
80700 },
80701 _evaluate0$_withEnvironment$1$2(environment, callback) {
80702 var result,
80703 oldEnvironment = this._evaluate0$_environment;
80704 this._evaluate0$_environment = environment;
80705 result = callback.call$0();
80706 this._evaluate0$_environment = oldEnvironment;
80707 return result;
80708 },
80709 _evaluate0$_withEnvironment$2(environment, callback) {
80710 return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
80711 },
80712 _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
80713 var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
80714 t1 = trim ? A.trimAscii0(result, true) : result;
80715 return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
80716 },
80717 _evaluate0$_interpolationToValue$1(interpolation) {
80718 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
80719 },
80720 _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
80721 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
80722 },
80723 _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
80724 var t1, result, _this = this,
80725 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80726 _this._evaluate0$_inSupportsDeclaration = false;
80727 t1 = interpolation.contents;
80728 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80729 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80730 return result;
80731 },
80732 _evaluate0$_performInterpolation$1(interpolation) {
80733 return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
80734 },
80735 _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
80736 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
80737 },
80738 _evaluate0$_serialize$2(value, nodeWithSpan) {
80739 return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
80740 },
80741 _evaluate0$_expressionNode$1(expression) {
80742 var t1;
80743 if (expression instanceof A.VariableExpression0) {
80744 t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
80745 return t1 == null ? expression : t1;
80746 } else
80747 return expression;
80748 },
80749 _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
80750 var t1, result, _this = this;
80751 _this._evaluate0$_addChild$2$through(node, through);
80752 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
80753 _this._evaluate0$__parent = node;
80754 result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
80755 _this._evaluate0$__parent = t1;
80756 return result;
80757 },
80758 _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
80759 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
80760 },
80761 _evaluate0$_withParent$2$2(node, callback, $S, $T) {
80762 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
80763 },
80764 _evaluate0$_addChild$2$through(node, through) {
80765 var grandparent, t1,
80766 $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
80767 if (through != null) {
80768 for (; through.call$1($parent); $parent = grandparent) {
80769 grandparent = $parent._node1$_parent;
80770 if (grandparent == null)
80771 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
80772 }
80773 if ($parent.get$hasFollowingSibling()) {
80774 t1 = $parent._node1$_parent;
80775 t1.toString;
80776 $parent = $parent.copyWithoutChildren$0();
80777 t1.addChild$1($parent);
80778 }
80779 }
80780 $parent.addChild$1(node);
80781 },
80782 _evaluate0$_addChild$1(node) {
80783 return this._evaluate0$_addChild$2$through(node, null);
80784 },
80785 _evaluate0$_withStyleRule$1$2(rule, callback) {
80786 var result,
80787 oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
80788 this._evaluate0$_styleRuleIgnoringAtRoot = rule;
80789 result = callback.call$0();
80790 this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
80791 return result;
80792 },
80793 _evaluate0$_withStyleRule$2(rule, callback) {
80794 return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
80795 },
80796 _evaluate0$_withMediaQueries$1$2(queries, callback) {
80797 var result,
80798 oldMediaQueries = this._evaluate0$_mediaQueries;
80799 this._evaluate0$_mediaQueries = queries;
80800 result = callback.call$0();
80801 this._evaluate0$_mediaQueries = oldMediaQueries;
80802 return result;
80803 },
80804 _evaluate0$_withMediaQueries$2(queries, callback) {
80805 return this._evaluate0$_withMediaQueries$1$2(queries, callback, type$.dynamic);
80806 },
80807 _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
80808 var oldMember, result, _this = this,
80809 t1 = _this._evaluate0$_stack;
80810 t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
80811 oldMember = _this._evaluate0$_member;
80812 _this._evaluate0$_member = member;
80813 result = callback.call$0();
80814 _this._evaluate0$_member = oldMember;
80815 t1.pop();
80816 return result;
80817 },
80818 _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
80819 return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
80820 },
80821 _evaluate0$_withoutSlash$2(value, nodeForSpan) {
80822 if (value instanceof A.SassNumber0 && value.asSlash != null)
80823 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);
80824 return value.withoutSlash$0();
80825 },
80826 _evaluate0$_stackFrame$2(member, span) {
80827 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure1(this)));
80828 },
80829 _evaluate0$_stackTrace$1(span) {
80830 var _this = this,
80831 t1 = _this._evaluate0$_stack;
80832 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);
80833 if (span != null)
80834 t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
80835 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
80836 },
80837 _evaluate0$_stackTrace$0() {
80838 return this._evaluate0$_stackTrace$1(null);
80839 },
80840 _evaluate0$_warn$3$deprecation(message, span, deprecation) {
80841 var t1, _this = this;
80842 if (_this._evaluate0$_quietDeps)
80843 if (!_this._evaluate0$_inDependency) {
80844 t1 = _this._evaluate0$_currentCallable;
80845 t1 = t1 == null ? null : t1.inDependency;
80846 t1 = t1 === true;
80847 } else
80848 t1 = true;
80849 else
80850 t1 = false;
80851 if (t1)
80852 return;
80853 if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
80854 return;
80855 _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
80856 },
80857 _evaluate0$_warn$2(message, span) {
80858 return this._evaluate0$_warn$3$deprecation(message, span, false);
80859 },
80860 _evaluate0$_exception$2(message, span) {
80861 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
80862 return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
80863 },
80864 _evaluate0$_exception$1(message) {
80865 return this._evaluate0$_exception$2(message, null);
80866 },
80867 _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
80868 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
80869 return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
80870 },
80871 _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
80872 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
80873 try {
80874 t1 = callback.call$0();
80875 return t1;
80876 } catch (exception) {
80877 t1 = A.unwrapException(exception);
80878 if (t1 instanceof A.SassFormatException0) {
80879 error = t1;
80880 stackTrace = A.getTraceFromException(exception);
80881 t1 = error;
80882 t2 = J.getInterceptor$z(t1);
80883 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
80884 span = nodeWithSpan.get$span(nodeWithSpan);
80885 t1 = span;
80886 t2 = span;
80887 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);
80888 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
80889 t1 = span;
80890 t1 = A.FileLocation$_(t1.file, t1._file$_start);
80891 t3 = error;
80892 t4 = J.getInterceptor$z(t3);
80893 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80894 t3 = A.FileLocation$_(t3.file, t3._file$_start);
80895 t4 = span;
80896 t4 = A.FileLocation$_(t4.file, t4._file$_start);
80897 t5 = error;
80898 t6 = J.getInterceptor$z(t5);
80899 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
80900 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
80901 A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
80902 } else
80903 throw exception;
80904 }
80905 },
80906 _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
80907 return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
80908 },
80909 _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
80910 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
80911 try {
80912 t1 = callback.call$0();
80913 return t1;
80914 } catch (exception) {
80915 t1 = A.unwrapException(exception);
80916 if (t1 instanceof A.MultiSpanSassScriptException0) {
80917 error = t1;
80918 stackTrace = A.getTraceFromException(exception);
80919 t1 = error.message;
80920 t2 = nodeWithSpan.get$span(nodeWithSpan);
80921 t3 = error.primaryLabel;
80922 t4 = error.secondarySpans;
80923 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);
80924 } else if (t1 instanceof A.SassScriptException0) {
80925 error0 = t1;
80926 stackTrace0 = A.getTraceFromException(exception);
80927 A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
80928 } else
80929 throw exception;
80930 }
80931 },
80932 _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
80933 return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80934 },
80935 _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
80936 var error, stackTrace, t1, exception, t2;
80937 try {
80938 t1 = callback.call$0();
80939 return t1;
80940 } catch (exception) {
80941 t1 = A.unwrapException(exception);
80942 if (type$.SassRuntimeException_2._is(t1)) {
80943 error = t1;
80944 stackTrace = A.getTraceFromException(exception);
80945 t1 = J.get$span$z(error);
80946 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"))
80947 throw exception;
80948 t1 = error._span_exception$_message;
80949 t2 = nodeWithSpan.get$span(nodeWithSpan);
80950 A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
80951 } else
80952 throw exception;
80953 }
80954 },
80955 _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
80956 return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80957 }
80958 };
80959 A._EvaluateVisitor_closure19.prototype = {
80960 call$1($arguments) {
80961 var module, t2,
80962 t1 = J.getInterceptor$asx($arguments),
80963 variable = t1.$index($arguments, 0).assertString$1("name");
80964 t1 = t1.$index($arguments, 1).get$realNull();
80965 module = t1 == null ? null : t1.assertString$1("module");
80966 t1 = this.$this._evaluate0$_environment;
80967 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80968 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
80969 },
80970 $signature: 18
80971 };
80972 A._EvaluateVisitor_closure20.prototype = {
80973 call$1($arguments) {
80974 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
80975 t1 = this.$this._evaluate0$_environment;
80976 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80977 },
80978 $signature: 18
80979 };
80980 A._EvaluateVisitor_closure21.prototype = {
80981 call$1($arguments) {
80982 var module, t2, t3, t4,
80983 t1 = J.getInterceptor$asx($arguments),
80984 variable = t1.$index($arguments, 0).assertString$1("name");
80985 t1 = t1.$index($arguments, 1).get$realNull();
80986 module = t1 == null ? null : t1.assertString$1("module");
80987 t1 = this.$this;
80988 t2 = t1._evaluate0$_environment;
80989 t3 = variable._string0$_text;
80990 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
80991 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;
80992 },
80993 $signature: 18
80994 };
80995 A._EvaluateVisitor_closure22.prototype = {
80996 call$1($arguments) {
80997 var module, t2,
80998 t1 = J.getInterceptor$asx($arguments),
80999 variable = t1.$index($arguments, 0).assertString$1("name");
81000 t1 = t1.$index($arguments, 1).get$realNull();
81001 module = t1 == null ? null : t1.assertString$1("module");
81002 t1 = this.$this._evaluate0$_environment;
81003 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
81004 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
81005 },
81006 $signature: 18
81007 };
81008 A._EvaluateVisitor_closure23.prototype = {
81009 call$1($arguments) {
81010 var t1 = this.$this._evaluate0$_environment;
81011 if (!t1._environment0$_inMixin)
81012 throw A.wrapException(A.SassScriptException$0(string$.conten));
81013 return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
81014 },
81015 $signature: 18
81016 };
81017 A._EvaluateVisitor_closure24.prototype = {
81018 call$1($arguments) {
81019 var t2, t3, t4,
81020 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
81021 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
81022 if (module == null)
81023 throw A.wrapException('There is no module with namespace "' + t1 + '".');
81024 t1 = type$.Value_2;
81025 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
81026 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
81027 t4 = t3.get$current(t3);
81028 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
81029 }
81030 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
81031 },
81032 $signature: 40
81033 };
81034 A._EvaluateVisitor_closure25.prototype = {
81035 call$1($arguments) {
81036 var t2, t3, t4,
81037 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
81038 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
81039 if (module == null)
81040 throw A.wrapException('There is no module with namespace "' + t1 + '".');
81041 t1 = type$.Value_2;
81042 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
81043 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
81044 t4 = t3.get$current(t3);
81045 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
81046 }
81047 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
81048 },
81049 $signature: 40
81050 };
81051 A._EvaluateVisitor_closure26.prototype = {
81052 call$1($arguments) {
81053 var module, callable, t2,
81054 t1 = J.getInterceptor$asx($arguments),
81055 $name = t1.$index($arguments, 0).assertString$1("name"),
81056 css = t1.$index($arguments, 1).get$isTruthy();
81057 t1 = t1.$index($arguments, 2).get$realNull();
81058 module = t1 == null ? null : t1.assertString$1("module");
81059 if (css && module != null)
81060 throw A.wrapException(string$.x24css_a);
81061 if (css)
81062 callable = new A.PlainCssCallable0($name._string0$_text);
81063 else {
81064 t1 = this.$this;
81065 t2 = t1._evaluate0$_callableNode;
81066 t2.toString;
81067 callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
81068 }
81069 if (callable != null)
81070 return new A.SassFunction0(callable);
81071 throw A.wrapException("Function not found: " + $name.toString$0(0));
81072 },
81073 $signature: 162
81074 };
81075 A._EvaluateVisitor__closure7.prototype = {
81076 call$0() {
81077 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
81078 t2 = this.module;
81079 t2 = t2 == null ? null : t2._string0$_text;
81080 return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
81081 },
81082 $signature: 105
81083 };
81084 A._EvaluateVisitor_closure27.prototype = {
81085 call$1($arguments) {
81086 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
81087 t1 = J.getInterceptor$asx($arguments),
81088 $function = t1.$index($arguments, 0),
81089 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
81090 t1 = this.$this;
81091 t2 = t1._evaluate0$_callableNode;
81092 t2.toString;
81093 t3 = A._setArrayType([], type$.JSArray_Expression_2);
81094 t4 = type$.String;
81095 t5 = type$.Expression_2;
81096 t6 = t2.get$span(t2);
81097 t7 = t2.get$span(t2);
81098 args._argument_list$_wereKeywordsAccessed = true;
81099 t8 = args._argument_list$_keywords;
81100 if (t8.get$isEmpty(t8))
81101 t2 = null;
81102 else {
81103 t9 = type$.Value_2;
81104 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
81105 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
81106 t11 = t8.get$current(t8);
81107 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
81108 }
81109 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
81110 }
81111 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);
81112 if ($function instanceof A.SassString0) {
81113 t2 = $function.toString$0(0);
81114 A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
81115 callableNode = t1._evaluate0$_callableNode;
81116 return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
81117 }
81118 callable = $function.assertFunction$1("function").callable;
81119 if (type$.Callable_2._is(callable)) {
81120 t2 = t1._evaluate0$_callableNode;
81121 t2.toString;
81122 return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
81123 } else
81124 throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as));
81125 },
81126 $signature: 3
81127 };
81128 A._EvaluateVisitor_closure28.prototype = {
81129 call$1($arguments) {
81130 var withMap, t2, values, configuration,
81131 t1 = J.getInterceptor$asx($arguments),
81132 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
81133 t1 = t1.$index($arguments, 1).get$realNull();
81134 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
81135 t1 = this.$this;
81136 t2 = t1._evaluate0$_callableNode;
81137 t2.toString;
81138 if (withMap != null) {
81139 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
81140 withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
81141 configuration = new A.ExplicitConfiguration0(t2, values);
81142 } else
81143 configuration = B.Configuration_Map_empty0;
81144 t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t2.get$span(t2).file.url, configuration, true);
81145 t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
81146 },
81147 $signature: 395
81148 };
81149 A._EvaluateVisitor__closure5.prototype = {
81150 call$2(variable, value) {
81151 var t1 = variable.assertString$1("with key"),
81152 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
81153 t1 = this.values;
81154 if (t1.containsKey$1($name))
81155 throw A.wrapException("The variable $" + $name + " was configured twice.");
81156 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
81157 },
81158 $signature: 55
81159 };
81160 A._EvaluateVisitor__closure6.prototype = {
81161 call$1(module) {
81162 var t1 = this.$this;
81163 return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
81164 },
81165 $signature: 66
81166 };
81167 A._EvaluateVisitor_run_closure1.prototype = {
81168 call$0() {
81169 var t2, _this = this,
81170 t1 = _this.node,
81171 url = t1.span.file.url;
81172 if (url != null) {
81173 t2 = _this.$this;
81174 t2._evaluate0$_activeModules.$indexSet(0, url, null);
81175 if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
81176 t2._evaluate0$_loadedUrls.add$1(0, url);
81177 }
81178 t2 = _this.$this;
81179 return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
81180 },
81181 $signature: 397
81182 };
81183 A._EvaluateVisitor__loadModule_closure3.prototype = {
81184 call$0() {
81185 return this.callback.call$1(this.builtInModule);
81186 },
81187 $signature: 0
81188 };
81189 A._EvaluateVisitor__loadModule_closure4.prototype = {
81190 call$0() {
81191 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
81192 t1 = _this.$this,
81193 t2 = _this.nodeWithSpan,
81194 result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
81195 stylesheet = result.stylesheet,
81196 canonicalUrl = stylesheet.span.file.url;
81197 if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
81198 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
81199 t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
81200 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
81201 }
81202 if (canonicalUrl != null)
81203 t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
81204 oldInDependency = t1._evaluate0$_inDependency;
81205 t1._evaluate0$_inDependency = result.isDependency;
81206 module = null;
81207 try {
81208 module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
81209 } finally {
81210 t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
81211 t1._evaluate0$_inDependency = oldInDependency;
81212 }
81213 try {
81214 _this.callback.call$1(module);
81215 } catch (exception) {
81216 t2 = A.unwrapException(exception);
81217 if (type$.SassRuntimeException_2._is(t2))
81218 throw exception;
81219 else if (t2 instanceof A.MultiSpanSassException0) {
81220 error = t2;
81221 stackTrace = A.getTraceFromException(exception);
81222 t2 = error._span_exception$_message;
81223 t3 = error;
81224 t4 = J.getInterceptor$z(t3);
81225 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
81226 t4 = error.primaryLabel;
81227 t5 = error.secondarySpans;
81228 t6 = error;
81229 t7 = J.getInterceptor$z(t6);
81230 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);
81231 } else if (t2 instanceof A.SassException0) {
81232 error0 = t2;
81233 stackTrace0 = A.getTraceFromException(exception);
81234 t2 = error0;
81235 t3 = J.getInterceptor$z(t2);
81236 A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
81237 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
81238 error1 = t2;
81239 stackTrace1 = A.getTraceFromException(exception);
81240 A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
81241 } else if (t2 instanceof A.SassScriptException0) {
81242 error2 = t2;
81243 stackTrace2 = A.getTraceFromException(exception);
81244 A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
81245 } else
81246 throw exception;
81247 }
81248 },
81249 $signature: 1
81250 };
81251 A._EvaluateVisitor__loadModule__closure1.prototype = {
81252 call$1(previousLoad) {
81253 return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
81254 },
81255 $signature: 93
81256 };
81257 A._EvaluateVisitor__execute_closure1.prototype = {
81258 call$0() {
81259 var t3, t4, t5, t6, _this = this,
81260 t1 = _this.$this,
81261 oldImporter = t1._evaluate0$_importer,
81262 oldStylesheet = t1._evaluate0$__stylesheet,
81263 oldRoot = t1._evaluate0$__root,
81264 oldParent = t1._evaluate0$__parent,
81265 oldEndOfImports = t1._evaluate0$__endOfImports,
81266 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81267 oldExtensionStore = t1._evaluate0$__extensionStore,
81268 t2 = t1._evaluate0$_atRootExcludingStyleRule,
81269 oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
81270 oldMediaQueries = t1._evaluate0$_mediaQueries,
81271 oldDeclarationName = t1._evaluate0$_declarationName,
81272 oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
81273 oldInKeyframes = t1._evaluate0$_inKeyframes,
81274 oldConfiguration = t1._evaluate0$_configuration;
81275 t1._evaluate0$_importer = _this.importer;
81276 t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
81277 t4 = t3.span;
81278 t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
81279 t1._evaluate0$__endOfImports = 0;
81280 t1._evaluate0$_outOfOrderImports = null;
81281 t1._evaluate0$__extensionStore = _this.extensionStore;
81282 t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
81283 t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
81284 t6 = _this.configuration;
81285 if (t6 != null)
81286 t1._evaluate0$_configuration = t6;
81287 t1.visitStylesheet$1(t3);
81288 t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
81289 _this.css._value = t3;
81290 t1._evaluate0$_importer = oldImporter;
81291 t1._evaluate0$__stylesheet = oldStylesheet;
81292 t1._evaluate0$__root = oldRoot;
81293 t1._evaluate0$__parent = oldParent;
81294 t1._evaluate0$__endOfImports = oldEndOfImports;
81295 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81296 t1._evaluate0$__extensionStore = oldExtensionStore;
81297 t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
81298 t1._evaluate0$_mediaQueries = oldMediaQueries;
81299 t1._evaluate0$_declarationName = oldDeclarationName;
81300 t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
81301 t1._evaluate0$_atRootExcludingStyleRule = t2;
81302 t1._evaluate0$_inKeyframes = oldInKeyframes;
81303 t1._evaluate0$_configuration = oldConfiguration;
81304 },
81305 $signature: 1
81306 };
81307 A._EvaluateVisitor__combineCss_closure5.prototype = {
81308 call$1(module) {
81309 return module.get$transitivelyContainsCss();
81310 },
81311 $signature: 142
81312 };
81313 A._EvaluateVisitor__combineCss_closure6.prototype = {
81314 call$1(target) {
81315 return !this.selectors.contains$1(0, target);
81316 },
81317 $signature: 15
81318 };
81319 A._EvaluateVisitor__combineCss_closure7.prototype = {
81320 call$1(module) {
81321 return module.cloneCss$0();
81322 },
81323 $signature: 398
81324 };
81325 A._EvaluateVisitor__extendModules_closure3.prototype = {
81326 call$1(target) {
81327 return !this.originalSelectors.contains$1(0, target);
81328 },
81329 $signature: 15
81330 };
81331 A._EvaluateVisitor__extendModules_closure4.prototype = {
81332 call$0() {
81333 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
81334 },
81335 $signature: 168
81336 };
81337 A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
81338 call$1(module) {
81339 var t1, t2, t3, _i, upstream;
81340 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
81341 upstream = t1[_i];
81342 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
81343 this.call$1(upstream);
81344 }
81345 this.sorted.addFirst$1(module);
81346 },
81347 $signature: 66
81348 };
81349 A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
81350 call$0() {
81351 var t1 = A.SpanScanner$(this.resolved, null);
81352 return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81353 },
81354 $signature: 108
81355 };
81356 A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
81357 call$0() {
81358 var t1, t2, t3, _i;
81359 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81360 t1[_i].accept$1(t3);
81361 },
81362 $signature: 1
81363 };
81364 A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
81365 call$0() {
81366 var t1, t2, t3, _i;
81367 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81368 t1[_i].accept$1(t3);
81369 },
81370 $signature: 0
81371 };
81372 A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
81373 call$1(callback) {
81374 var t1 = this.$this,
81375 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
81376 t1._evaluate0$__parent = this.newParent;
81377 t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
81378 t1._evaluate0$__parent = t2;
81379 },
81380 $signature: 28
81381 };
81382 A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
81383 call$1(callback) {
81384 var t1 = this.$this,
81385 oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
81386 t1._evaluate0$_atRootExcludingStyleRule = true;
81387 this.innerScope.call$1(callback);
81388 t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
81389 },
81390 $signature: 28
81391 };
81392 A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
81393 call$1(callback) {
81394 return this.$this._evaluate0$_withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
81395 },
81396 $signature: 28
81397 };
81398 A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
81399 call$0() {
81400 return this.innerScope.call$1(this.callback);
81401 },
81402 $signature: 1
81403 };
81404 A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
81405 call$1(callback) {
81406 var t1 = this.$this,
81407 wasInKeyframes = t1._evaluate0$_inKeyframes;
81408 t1._evaluate0$_inKeyframes = false;
81409 this.innerScope.call$1(callback);
81410 t1._evaluate0$_inKeyframes = wasInKeyframes;
81411 },
81412 $signature: 28
81413 };
81414 A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
81415 call$1($parent) {
81416 return type$.CssAtRule_2._is($parent);
81417 },
81418 $signature: 170
81419 };
81420 A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
81421 call$1(callback) {
81422 var t1 = this.$this,
81423 wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
81424 t1._evaluate0$_inUnknownAtRule = false;
81425 this.innerScope.call$1(callback);
81426 t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
81427 },
81428 $signature: 28
81429 };
81430 A._EvaluateVisitor_visitContentRule_closure1.prototype = {
81431 call$0() {
81432 var t1, t2, t3, _i;
81433 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81434 t1[_i].accept$1(t3);
81435 return null;
81436 },
81437 $signature: 1
81438 };
81439 A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
81440 call$1(value) {
81441 return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
81442 },
81443 $signature: 399
81444 };
81445 A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
81446 call$0() {
81447 var t1, t2, t3, _i;
81448 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81449 t1[_i].accept$1(t3);
81450 },
81451 $signature: 1
81452 };
81453 A._EvaluateVisitor_visitEachRule_closure5.prototype = {
81454 call$1(value) {
81455 var t1 = this.$this,
81456 t2 = this.nodeWithSpan;
81457 return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
81458 },
81459 $signature: 53
81460 };
81461 A._EvaluateVisitor_visitEachRule_closure6.prototype = {
81462 call$1(value) {
81463 return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
81464 },
81465 $signature: 53
81466 };
81467 A._EvaluateVisitor_visitEachRule_closure7.prototype = {
81468 call$0() {
81469 var _this = this,
81470 t1 = _this.$this;
81471 return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
81472 },
81473 $signature: 39
81474 };
81475 A._EvaluateVisitor_visitEachRule__closure1.prototype = {
81476 call$1(element) {
81477 var t1;
81478 this.setVariables.call$1(element);
81479 t1 = this.$this;
81480 return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
81481 },
81482 $signature: 201
81483 };
81484 A._EvaluateVisitor_visitEachRule___closure1.prototype = {
81485 call$1(child) {
81486 return child.accept$1(this.$this);
81487 },
81488 $signature: 79
81489 };
81490 A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
81491 call$0() {
81492 return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
81493 },
81494 $signature: 45
81495 };
81496 A._EvaluateVisitor_visitAtRule_closure5.prototype = {
81497 call$1(value) {
81498 return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
81499 },
81500 $signature: 402
81501 };
81502 A._EvaluateVisitor_visitAtRule_closure6.prototype = {
81503 call$0() {
81504 var t2, t3, _i,
81505 t1 = this.$this,
81506 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81507 if (styleRule == null || t1._evaluate0$_inKeyframes)
81508 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81509 t2[_i].accept$1(t1);
81510 else
81511 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);
81512 },
81513 $signature: 1
81514 };
81515 A._EvaluateVisitor_visitAtRule__closure1.prototype = {
81516 call$0() {
81517 var t1, t2, t3, _i;
81518 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81519 t1[_i].accept$1(t3);
81520 },
81521 $signature: 1
81522 };
81523 A._EvaluateVisitor_visitAtRule_closure7.prototype = {
81524 call$1(node) {
81525 return type$.CssStyleRule_2._is(node);
81526 },
81527 $signature: 7
81528 };
81529 A._EvaluateVisitor_visitForRule_closure9.prototype = {
81530 call$0() {
81531 return this.node.from.accept$1(this.$this).assertNumber$0();
81532 },
81533 $signature: 218
81534 };
81535 A._EvaluateVisitor_visitForRule_closure10.prototype = {
81536 call$0() {
81537 return this.node.to.accept$1(this.$this).assertNumber$0();
81538 },
81539 $signature: 218
81540 };
81541 A._EvaluateVisitor_visitForRule_closure11.prototype = {
81542 call$0() {
81543 return this.fromNumber.assertInt$0();
81544 },
81545 $signature: 12
81546 };
81547 A._EvaluateVisitor_visitForRule_closure12.prototype = {
81548 call$0() {
81549 var t1 = this.fromNumber;
81550 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
81551 },
81552 $signature: 12
81553 };
81554 A._EvaluateVisitor_visitForRule_closure13.prototype = {
81555 call$0() {
81556 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
81557 t1 = _this.$this,
81558 t2 = _this.node,
81559 nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
81560 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) {
81561 t7 = t1._evaluate0$_environment;
81562 t8 = t6.get$numeratorUnits(t6);
81563 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
81564 result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
81565 if (result != null)
81566 return result;
81567 }
81568 return null;
81569 },
81570 $signature: 39
81571 };
81572 A._EvaluateVisitor_visitForRule__closure1.prototype = {
81573 call$1(child) {
81574 return child.accept$1(this.$this);
81575 },
81576 $signature: 79
81577 };
81578 A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
81579 call$1(module) {
81580 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81581 },
81582 $signature: 66
81583 };
81584 A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
81585 call$1(module) {
81586 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81587 },
81588 $signature: 66
81589 };
81590 A._EvaluateVisitor_visitIfRule_closure1.prototype = {
81591 call$0() {
81592 var t1 = this.$this;
81593 return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
81594 },
81595 $signature: 39
81596 };
81597 A._EvaluateVisitor_visitIfRule__closure1.prototype = {
81598 call$1(child) {
81599 return child.accept$1(this.$this);
81600 },
81601 $signature: 79
81602 };
81603 A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
81604 call$0() {
81605 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
81606 t1 = this.$this,
81607 t2 = this.$import,
81608 result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
81609 stylesheet = result.stylesheet,
81610 url = stylesheet.span.file.url;
81611 if (url != null) {
81612 t3 = t1._evaluate0$_activeModules;
81613 if (t3.containsKey$1(url)) {
81614 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
81615 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
81616 }
81617 t3.$indexSet(0, url, t2);
81618 }
81619 t2 = stylesheet._stylesheet1$_uses;
81620 t3 = type$.UnmodifiableListView_UseRule_2;
81621 t4 = new A.UnmodifiableListView(t2, t3);
81622 if (t4.get$length(t4) === 0) {
81623 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81624 t4 = t4.get$length(t4) === 0;
81625 } else
81626 t4 = false;
81627 if (t4) {
81628 oldImporter = t1._evaluate0$_importer;
81629 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
81630 oldInDependency = t1._evaluate0$_inDependency;
81631 t1._evaluate0$_importer = result.importer;
81632 t1._evaluate0$__stylesheet = stylesheet;
81633 t1._evaluate0$_inDependency = result.isDependency;
81634 t1.visitStylesheet$1(stylesheet);
81635 t1._evaluate0$_importer = oldImporter;
81636 t1._evaluate0$__stylesheet = t2;
81637 t1._evaluate0$_inDependency = oldInDependency;
81638 t1._evaluate0$_activeModules.remove$1(0, url);
81639 return;
81640 }
81641 t2 = new A.UnmodifiableListView(t2, t3);
81642 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
81643 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81644 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
81645 } else
81646 loadsUserDefinedModules = true;
81647 children = A._Cell$();
81648 t2 = t1._evaluate0$_environment;
81649 t3 = type$.String;
81650 t4 = type$.Module_Callable_2;
81651 t5 = type$.AstNode_2;
81652 t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
81653 t7 = t2._environment0$_variables;
81654 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
81655 t8 = t2._environment0$_variableNodes;
81656 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
81657 t9 = t2._environment0$_functions;
81658 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
81659 t10 = t2._environment0$_mixins;
81660 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
81661 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);
81662 t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
81663 module = environment.toDummyModule$0();
81664 t1._evaluate0$_environment.importForwards$1(module);
81665 if (loadsUserDefinedModules) {
81666 if (module.transitivelyContainsCss)
81667 t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
81668 visitor = new A._ImportedCssVisitor1(t1);
81669 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
81670 t2.get$current(t2).accept$1(visitor);
81671 }
81672 t1._evaluate0$_activeModules.remove$1(0, url);
81673 },
81674 $signature: 0
81675 };
81676 A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
81677 call$1(previousLoad) {
81678 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));
81679 },
81680 $signature: 93
81681 };
81682 A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
81683 call$1(rule) {
81684 return rule.url.get$scheme() !== "sass";
81685 },
81686 $signature: 178
81687 };
81688 A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
81689 call$1(rule) {
81690 return rule.url.get$scheme() !== "sass";
81691 },
81692 $signature: 179
81693 };
81694 A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
81695 call$0() {
81696 var t7, t8, t9, _this = this,
81697 t1 = _this.$this,
81698 oldImporter = t1._evaluate0$_importer,
81699 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
81700 t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
81701 t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
81702 t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
81703 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81704 oldConfiguration = t1._evaluate0$_configuration,
81705 oldInDependency = t1._evaluate0$_inDependency,
81706 t6 = _this.result;
81707 t1._evaluate0$_importer = t6.importer;
81708 t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
81709 t8 = _this.loadsUserDefinedModules;
81710 if (t8) {
81711 t9 = A.ModifiableCssStylesheet$0(t7.span);
81712 t1._evaluate0$__root = t9;
81713 t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
81714 t1._evaluate0$__endOfImports = 0;
81715 t1._evaluate0$_outOfOrderImports = null;
81716 }
81717 t1._evaluate0$_inDependency = t6.isDependency;
81718 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81719 if (!t6.get$isEmpty(t6))
81720 t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
81721 t1.visitStylesheet$1(t7);
81722 t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
81723 _this.children._value = t6;
81724 t1._evaluate0$_importer = oldImporter;
81725 t1._evaluate0$__stylesheet = t2;
81726 if (t8) {
81727 t1._evaluate0$__root = t3;
81728 t1._evaluate0$__parent = t4;
81729 t1._evaluate0$__endOfImports = t5;
81730 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81731 }
81732 t1._evaluate0$_configuration = oldConfiguration;
81733 t1._evaluate0$_inDependency = oldInDependency;
81734 },
81735 $signature: 1
81736 };
81737 A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
81738 call$0() {
81739 var t1 = this.node;
81740 return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
81741 },
81742 $signature: 105
81743 };
81744 A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
81745 call$0() {
81746 return this.node.get$spanWithoutContent();
81747 },
81748 $signature: 30
81749 };
81750 A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
81751 call$1($content) {
81752 var t1 = this.$this;
81753 return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
81754 },
81755 $signature: 404
81756 };
81757 A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
81758 call$0() {
81759 var _this = this,
81760 t1 = _this.$this,
81761 t2 = t1._evaluate0$_environment,
81762 oldContent = t2._environment0$_content;
81763 t2._environment0$_content = _this.contentCallable;
81764 new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
81765 t2._environment0$_content = oldContent;
81766 },
81767 $signature: 1
81768 };
81769 A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
81770 call$0() {
81771 var t1 = this.$this,
81772 t2 = t1._evaluate0$_environment,
81773 oldInMixin = t2._environment0$_inMixin;
81774 t2._environment0$_inMixin = true;
81775 new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
81776 t2._environment0$_inMixin = oldInMixin;
81777 },
81778 $signature: 0
81779 };
81780 A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
81781 call$0() {
81782 var t1, t2, t3, t4, _i;
81783 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
81784 t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
81785 },
81786 $signature: 0
81787 };
81788 A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
81789 call$0() {
81790 return this.statement.accept$1(this.$this);
81791 },
81792 $signature: 39
81793 };
81794 A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
81795 call$1(mediaQueries) {
81796 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
81797 },
81798 $signature: 80
81799 };
81800 A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
81801 call$0() {
81802 var _this = this,
81803 t1 = _this.$this,
81804 t2 = _this.mergedQueries;
81805 if (t2 == null)
81806 t2 = _this.queries;
81807 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
81808 },
81809 $signature: 1
81810 };
81811 A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
81812 call$0() {
81813 var t2, t3, _i,
81814 t1 = this.$this,
81815 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81816 if (styleRule == null)
81817 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81818 t2[_i].accept$1(t1);
81819 else
81820 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);
81821 },
81822 $signature: 1
81823 };
81824 A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
81825 call$0() {
81826 var t1, t2, t3, _i;
81827 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81828 t1[_i].accept$1(t3);
81829 },
81830 $signature: 1
81831 };
81832 A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
81833 call$1(node) {
81834 var t1;
81835 if (!type$.CssStyleRule_2._is(node))
81836 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
81837 else
81838 t1 = true;
81839 return t1;
81840 },
81841 $signature: 7
81842 };
81843 A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
81844 call$0() {
81845 var t1 = A.SpanScanner$(this.resolved, null);
81846 return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81847 },
81848 $signature: 113
81849 };
81850 A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
81851 call$0() {
81852 return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
81853 },
81854 $signature: 46
81855 };
81856 A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
81857 call$0() {
81858 var t1, t2, t3, _i;
81859 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81860 t1[_i].accept$1(t3);
81861 },
81862 $signature: 1
81863 };
81864 A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
81865 call$1(node) {
81866 return type$.CssStyleRule_2._is(node);
81867 },
81868 $signature: 7
81869 };
81870 A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
81871 call$0() {
81872 var _s11_ = "_stylesheet",
81873 t1 = this.$this;
81874 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);
81875 },
81876 $signature: 45
81877 };
81878 A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
81879 call$0() {
81880 var t1 = this._box_0.parsedSelector,
81881 t2 = this.$this,
81882 t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
81883 t3 = t3 == null ? null : t3.originalSelector;
81884 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
81885 },
81886 $signature: 45
81887 };
81888 A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
81889 call$0() {
81890 var t1 = this.$this;
81891 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
81892 },
81893 $signature: 1
81894 };
81895 A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
81896 call$0() {
81897 var t1, t2, t3, _i;
81898 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81899 t1[_i].accept$1(t3);
81900 },
81901 $signature: 1
81902 };
81903 A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
81904 call$1(node) {
81905 return type$.CssStyleRule_2._is(node);
81906 },
81907 $signature: 7
81908 };
81909 A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
81910 call$0() {
81911 var t2, t3, _i,
81912 t1 = this.$this,
81913 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81914 if (styleRule == null)
81915 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81916 t2[_i].accept$1(t1);
81917 else
81918 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);
81919 },
81920 $signature: 1
81921 };
81922 A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
81923 call$0() {
81924 var t1, t2, t3, _i;
81925 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81926 t1[_i].accept$1(t3);
81927 },
81928 $signature: 1
81929 };
81930 A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
81931 call$1(node) {
81932 return type$.CssStyleRule_2._is(node);
81933 },
81934 $signature: 7
81935 };
81936 A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
81937 call$0() {
81938 var t1 = this.override;
81939 this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
81940 },
81941 $signature: 1
81942 };
81943 A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
81944 call$0() {
81945 var t1 = this.node;
81946 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81947 },
81948 $signature: 39
81949 };
81950 A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
81951 call$0() {
81952 var t1 = this.$this,
81953 t2 = this.node;
81954 t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
81955 },
81956 $signature: 1
81957 };
81958 A._EvaluateVisitor_visitUseRule_closure1.prototype = {
81959 call$1(module) {
81960 var t1 = this.node;
81961 this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
81962 },
81963 $signature: 66
81964 };
81965 A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
81966 call$0() {
81967 return this.node.expression.accept$1(this.$this);
81968 },
81969 $signature: 47
81970 };
81971 A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
81972 call$0() {
81973 var t1, t2, t3, result;
81974 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
81975 result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
81976 if (result != null)
81977 return result;
81978 }
81979 return null;
81980 },
81981 $signature: 39
81982 };
81983 A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
81984 call$1(child) {
81985 return child.accept$1(this.$this);
81986 },
81987 $signature: 79
81988 };
81989 A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
81990 call$0() {
81991 var right, result,
81992 t1 = this.node,
81993 t2 = this.$this,
81994 left = t1.left.accept$1(t2),
81995 t3 = t1.operator;
81996 switch (t3) {
81997 case B.BinaryOperator_kjl0:
81998 right = t1.right.accept$1(t2);
81999 return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
82000 case B.BinaryOperator_or_or_10:
82001 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
82002 case B.BinaryOperator_and_and_20:
82003 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
82004 case B.BinaryOperator_YlX0:
82005 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
82006 case B.BinaryOperator_i5H0:
82007 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
82008 case B.BinaryOperator_AcR1:
82009 return left.greaterThan$1(t1.right.accept$1(t2));
82010 case B.BinaryOperator_1da0:
82011 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
82012 case B.BinaryOperator_8qt0:
82013 return left.lessThan$1(t1.right.accept$1(t2));
82014 case B.BinaryOperator_33h0:
82015 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
82016 case B.BinaryOperator_AcR2:
82017 return left.plus$1(t1.right.accept$1(t2));
82018 case B.BinaryOperator_iyO0:
82019 return left.minus$1(t1.right.accept$1(t2));
82020 case B.BinaryOperator_O1M0:
82021 return left.times$1(t1.right.accept$1(t2));
82022 case B.BinaryOperator_RTB0:
82023 right = t1.right.accept$1(t2);
82024 result = left.dividedBy$1(right);
82025 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
82026 return type$.SassNumber_2._as(result).withSlash$2(left, right);
82027 else {
82028 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
82029 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);
82030 return result;
82031 }
82032 case B.BinaryOperator_2ad0:
82033 return left.modulo$1(t1.right.accept$1(t2));
82034 default:
82035 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
82036 }
82037 },
82038 $signature: 47
82039 };
82040 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
82041 call$1(expression) {
82042 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
82043 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
82044 else if (expression instanceof A.ParenthesizedExpression0)
82045 return expression.expression.toString$0(0);
82046 else
82047 return expression.toString$0(0);
82048 },
82049 $signature: 122
82050 };
82051 A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
82052 call$0() {
82053 var t1 = this.node;
82054 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
82055 },
82056 $signature: 39
82057 };
82058 A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
82059 call$0() {
82060 var _this = this,
82061 t1 = _this.node.operator;
82062 switch (t1) {
82063 case B.UnaryOperator_j2w0:
82064 return _this.operand.unaryPlus$0();
82065 case B.UnaryOperator_U4G0:
82066 return _this.operand.unaryMinus$0();
82067 case B.UnaryOperator_zDx0:
82068 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
82069 case B.UnaryOperator_not_not0:
82070 return _this.operand.unaryNot$0();
82071 default:
82072 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
82073 }
82074 },
82075 $signature: 47
82076 };
82077 A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
82078 call$0() {
82079 var t1 = this.$this,
82080 t2 = this.node,
82081 t3 = this.inMinMax;
82082 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);
82083 },
82084 $signature: 88
82085 };
82086 A._EvaluateVisitor_visitListExpression_closure1.prototype = {
82087 call$1(expression) {
82088 return expression.accept$1(this.$this);
82089 },
82090 $signature: 405
82091 };
82092 A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
82093 call$0() {
82094 var t1 = this.node;
82095 return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
82096 },
82097 $signature: 105
82098 };
82099 A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
82100 call$0() {
82101 var t1 = this.node;
82102 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
82103 },
82104 $signature: 47
82105 };
82106 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
82107 call$0() {
82108 var t1 = this.node;
82109 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
82110 },
82111 $signature: 47
82112 };
82113 A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
82114 call$0() {
82115 var _this = this,
82116 t1 = _this.$this,
82117 t2 = _this.callable;
82118 return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
82119 },
82120 $signature() {
82121 return this.V._eval$1("0()");
82122 }
82123 };
82124 A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
82125 call$0() {
82126 var _this = this,
82127 t1 = _this.$this,
82128 t2 = _this.V;
82129 return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
82130 },
82131 $signature() {
82132 return this.V._eval$1("0()");
82133 }
82134 };
82135 A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
82136 call$0() {
82137 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
82138 t1 = _this.$this,
82139 t2 = _this.evaluated,
82140 t3 = t2.positional,
82141 t4 = t2.named,
82142 t5 = _this.callable.declaration.$arguments,
82143 t6 = _this.nodeWithSpan;
82144 t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
82145 declaredArguments = t5.$arguments;
82146 t7 = declaredArguments.length;
82147 minLength = Math.min(t3.length, t7);
82148 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
82149 t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
82150 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
82151 argument = declaredArguments[i];
82152 t9 = argument.name;
82153 value = t4.remove$1(0, t9);
82154 if (value == null) {
82155 t10 = argument.defaultValue;
82156 value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
82157 }
82158 t10 = t1._evaluate0$_environment;
82159 t11 = t8.$index(0, t9);
82160 if (t11 == null) {
82161 t11 = argument.defaultValue;
82162 t11.toString;
82163 t11 = t1._evaluate0$_expressionNode$1(t11);
82164 }
82165 t10.setLocalVariable$3(t9, value, t11);
82166 }
82167 restArgument = t5.restArgument;
82168 if (restArgument != null) {
82169 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
82170 t2 = t2.separator;
82171 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
82172 t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
82173 } else
82174 argumentList = null;
82175 result = _this.run.call$0();
82176 if (argumentList == null)
82177 return result;
82178 t2 = t4.__js_helper$_length;
82179 if (t2 === 0)
82180 return result;
82181 if (argumentList._argument_list$_wereKeywordsAccessed)
82182 return result;
82183 t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
82184 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))));
82185 },
82186 $signature() {
82187 return this.V._eval$1("0()");
82188 }
82189 };
82190 A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
82191 call$1($name) {
82192 return "$" + $name;
82193 },
82194 $signature: 5
82195 };
82196 A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
82197 call$0() {
82198 var t1, t2, t3, t4, _i, $returnValue;
82199 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
82200 $returnValue = t2[_i].accept$1(t4);
82201 if ($returnValue instanceof A.Value0)
82202 return $returnValue;
82203 }
82204 throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
82205 },
82206 $signature: 47
82207 };
82208 A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
82209 call$0() {
82210 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
82211 },
82212 $signature: 0
82213 };
82214 A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
82215 call$1($name) {
82216 return "$" + $name;
82217 },
82218 $signature: 5
82219 };
82220 A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
82221 call$1(value) {
82222 return value;
82223 },
82224 $signature: 38
82225 };
82226 A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
82227 call$1(value) {
82228 return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
82229 },
82230 $signature: 38
82231 };
82232 A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
82233 call$2(key, value) {
82234 var _this = this,
82235 t1 = _this.restNodeForSpan;
82236 _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
82237 _this.namedNodes.$indexSet(0, key, t1);
82238 },
82239 $signature: 74
82240 };
82241 A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
82242 call$1(value) {
82243 return value;
82244 },
82245 $signature: 38
82246 };
82247 A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
82248 call$1(value) {
82249 var t1 = this.restArgs;
82250 return new A.ValueExpression0(value, t1.get$span(t1));
82251 },
82252 $signature: 58
82253 };
82254 A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
82255 call$1(value) {
82256 var t1 = this.restArgs;
82257 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
82258 },
82259 $signature: 58
82260 };
82261 A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
82262 call$2(key, value) {
82263 var _this = this,
82264 t1 = _this.restArgs;
82265 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
82266 },
82267 $signature: 74
82268 };
82269 A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
82270 call$1(value) {
82271 var t1 = this.keywordRestArgs;
82272 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
82273 },
82274 $signature: 58
82275 };
82276 A._EvaluateVisitor__addRestMap_closure1.prototype = {
82277 call$2(key, value) {
82278 var t2, _this = this,
82279 t1 = _this.$this;
82280 if (key instanceof A.SassString0)
82281 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
82282 else {
82283 t2 = _this.nodeWithSpan;
82284 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)));
82285 }
82286 },
82287 $signature: 55
82288 };
82289 A._EvaluateVisitor__verifyArguments_closure1.prototype = {
82290 call$0() {
82291 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
82292 },
82293 $signature: 0
82294 };
82295 A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
82296 call$1(value) {
82297 var t1, result;
82298 if (typeof value == "string")
82299 return value;
82300 type$.Expression_2._as(value);
82301 t1 = this.$this;
82302 result = value.accept$1(t1);
82303 return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
82304 },
82305 $signature: 48
82306 };
82307 A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
82308 call$0() {
82309 var t1, t2, t3, t4;
82310 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();) {
82311 t4 = t1.__internal$_current;
82312 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82313 }
82314 },
82315 $signature: 1
82316 };
82317 A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
82318 call$1(node) {
82319 return type$.CssStyleRule_2._is(node);
82320 },
82321 $signature: 7
82322 };
82323 A._EvaluateVisitor_visitCssKeyframeBlock_closure3.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_visitCssKeyframeBlock_closure4.prototype = {
82334 call$1(node) {
82335 return type$.CssStyleRule_2._is(node);
82336 },
82337 $signature: 7
82338 };
82339 A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
82340 call$1(mediaQueries) {
82341 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
82342 },
82343 $signature: 80
82344 };
82345 A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
82346 call$0() {
82347 var _this = this,
82348 t1 = _this.$this,
82349 t2 = _this.mergedQueries;
82350 if (t2 == null)
82351 t2 = _this.node.queries;
82352 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
82353 },
82354 $signature: 1
82355 };
82356 A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
82357 call$0() {
82358 var t2, t3, t4,
82359 t1 = this.$this,
82360 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82361 if (styleRule == null)
82362 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
82363 t4 = t2.__internal$_current;
82364 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
82365 }
82366 else
82367 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);
82368 },
82369 $signature: 1
82370 };
82371 A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
82372 call$0() {
82373 var t1, t2, t3, t4;
82374 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();) {
82375 t4 = t1.__internal$_current;
82376 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82377 }
82378 },
82379 $signature: 1
82380 };
82381 A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
82382 call$1(node) {
82383 var t1;
82384 if (!type$.CssStyleRule_2._is(node))
82385 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
82386 else
82387 t1 = true;
82388 return t1;
82389 },
82390 $signature: 7
82391 };
82392 A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
82393 call$0() {
82394 var t1 = this.$this;
82395 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
82396 },
82397 $signature: 1
82398 };
82399 A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
82400 call$0() {
82401 var t1, t2, t3, t4;
82402 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();) {
82403 t4 = t1.__internal$_current;
82404 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82405 }
82406 },
82407 $signature: 1
82408 };
82409 A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
82410 call$1(node) {
82411 return type$.CssStyleRule_2._is(node);
82412 },
82413 $signature: 7
82414 };
82415 A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
82416 call$0() {
82417 var t2, t3, t4,
82418 t1 = this.$this,
82419 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82420 if (styleRule == null)
82421 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
82422 t4 = t2.__internal$_current;
82423 (t4 == null ? t3._as(t4) : t4).accept$1(t1);
82424 }
82425 else
82426 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);
82427 },
82428 $signature: 1
82429 };
82430 A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
82431 call$0() {
82432 var t1, t2, t3, t4;
82433 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();) {
82434 t4 = t1.__internal$_current;
82435 (t4 == null ? t3._as(t4) : t4).accept$1(t2);
82436 }
82437 },
82438 $signature: 1
82439 };
82440 A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
82441 call$1(node) {
82442 return type$.CssStyleRule_2._is(node);
82443 },
82444 $signature: 7
82445 };
82446 A._EvaluateVisitor__performInterpolation_closure1.prototype = {
82447 call$1(value) {
82448 var t1, result, t2, t3;
82449 if (typeof value == "string")
82450 return value;
82451 type$.Expression_2._as(value);
82452 t1 = this.$this;
82453 result = value.accept$1(t1);
82454 if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
82455 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
82456 t3 = $.$get$namesByColor0();
82457 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));
82458 }
82459 return t1._evaluate0$_serialize$3$quote(result, value, false);
82460 },
82461 $signature: 48
82462 };
82463 A._EvaluateVisitor__serialize_closure1.prototype = {
82464 call$0() {
82465 return A.serializeValue0(this.value, false, this.quote);
82466 },
82467 $signature: 29
82468 };
82469 A._EvaluateVisitor__expressionNode_closure1.prototype = {
82470 call$0() {
82471 var t1 = this.expression;
82472 return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
82473 },
82474 $signature: 189
82475 };
82476 A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
82477 call$1(number) {
82478 var asSlash = number.asSlash;
82479 if (asSlash != null)
82480 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
82481 else
82482 return A.serializeValue0(number, true, true);
82483 },
82484 $signature: 190
82485 };
82486 A._EvaluateVisitor__stackFrame_closure1.prototype = {
82487 call$1(url) {
82488 var t1 = this.$this._evaluate0$_importCache;
82489 t1 = t1 == null ? null : t1.humanize$1(url);
82490 return t1 == null ? url : t1;
82491 },
82492 $signature: 90
82493 };
82494 A._EvaluateVisitor__stackTrace_closure1.prototype = {
82495 call$1(tuple) {
82496 return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
82497 },
82498 $signature: 191
82499 };
82500 A._ImportedCssVisitor1.prototype = {
82501 visitCssAtRule$1(node) {
82502 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
82503 this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
82504 },
82505 visitCssComment$1(node) {
82506 return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
82507 },
82508 visitCssDeclaration$1(node) {
82509 },
82510 visitCssImport$1(node) {
82511 var t2,
82512 _s13_ = "_endOfImports",
82513 t1 = this._evaluate0$_visitor;
82514 if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
82515 t1._evaluate0$_addChild$1(node);
82516 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)) {
82517 t1._evaluate0$_addChild$1(node);
82518 t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
82519 } else {
82520 t2 = t1._evaluate0$_outOfOrderImports;
82521 (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
82522 }
82523 },
82524 visitCssKeyframeBlock$1(node) {
82525 },
82526 visitCssMediaRule$1(node) {
82527 var t1 = this._evaluate0$_visitor,
82528 mediaQueries = t1._evaluate0$_mediaQueries;
82529 t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
82530 },
82531 visitCssStyleRule$1(node) {
82532 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
82533 },
82534 visitCssStylesheet$1(node) {
82535 var t1, t2, t3;
82536 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
82537 t3 = t1.__internal$_current;
82538 (t3 == null ? t2._as(t3) : t3).accept$1(this);
82539 }
82540 },
82541 visitCssSupportsRule$1(node) {
82542 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
82543 }
82544 };
82545 A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
82546 call$1(node) {
82547 return type$.CssStyleRule_2._is(node);
82548 },
82549 $signature: 7
82550 };
82551 A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
82552 call$1(node) {
82553 var t1;
82554 if (!type$.CssStyleRule_2._is(node))
82555 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
82556 else
82557 t1 = true;
82558 return t1;
82559 },
82560 $signature: 7
82561 };
82562 A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
82563 call$1(node) {
82564 return type$.CssStyleRule_2._is(node);
82565 },
82566 $signature: 7
82567 };
82568 A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
82569 call$1(node) {
82570 return type$.CssStyleRule_2._is(node);
82571 },
82572 $signature: 7
82573 };
82574 A._EvaluationContext1.prototype = {
82575 get$currentCallableSpan() {
82576 var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
82577 if (callableNode != null)
82578 return callableNode.get$span(callableNode);
82579 throw A.wrapException(A.StateError$(string$.No_Sasc));
82580 },
82581 warn$2$deprecation(_, message, deprecation) {
82582 var t1 = this._evaluate0$_visitor,
82583 t2 = t1._evaluate0$_importSpan;
82584 if (t2 == null) {
82585 t2 = t1._evaluate0$_callableNode;
82586 t2 = t2 == null ? null : t2.get$span(t2);
82587 }
82588 t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
82589 },
82590 $isEvaluationContext0: 1
82591 };
82592 A._ArgumentResults1.prototype = {};
82593 A._LoadedStylesheet1.prototype = {};
82594 A._NodeException.prototype = {};
82595 A.exceptionClass_closure.prototype = {
82596 call$0() {
82597 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());
82598 A.defineGetter(jsClass, "name", null, "sass.Exception");
82599 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));
82600 return jsClass;
82601 },
82602 $signature: 23
82603 };
82604 A.exceptionClass__closure.prototype = {
82605 call$1(exception) {
82606 return J.get$_dartException$x(exception)._span_exception$_message;
82607 },
82608 $signature: 219
82609 };
82610 A.exceptionClass__closure0.prototype = {
82611 call$1(exception) {
82612 return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
82613 },
82614 $signature: 219
82615 };
82616 A.exceptionClass__closure1.prototype = {
82617 call$1(exception) {
82618 var t1 = J.get$_dartException$x(exception),
82619 t2 = J.getInterceptor$z(t1);
82620 return A.SourceSpanException.prototype.get$span.call(t2, t1);
82621 },
82622 $signature: 407
82623 };
82624 A.SassException0.prototype = {
82625 get$trace(_) {
82626 return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
82627 },
82628 get$span(_) {
82629 return A.SourceSpanException.prototype.get$span.call(this, this);
82630 },
82631 toString$1$color(_, color) {
82632 var t2, _i, frame, t3, _this = this,
82633 buffer = new A.StringBuffer(""),
82634 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
82635 buffer._contents = t1;
82636 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
82637 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82638 frame = t1[_i];
82639 if (J.get$length$asx(frame) === 0)
82640 continue;
82641 t3 = buffer._contents += "\n";
82642 buffer._contents = t3 + (" " + A.S(frame));
82643 }
82644 t1 = buffer._contents;
82645 return t1.charCodeAt(0) == 0 ? t1 : t1;
82646 },
82647 toString$0($receiver) {
82648 return this.toString$1$color($receiver, null);
82649 }
82650 };
82651 A.MultiSpanSassException0.prototype = {
82652 toString$1$color(_, color) {
82653 var t1, t2, _i, frame, _this = this,
82654 useColor = color === true && true,
82655 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
82656 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));
82657 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82658 frame = t1[_i];
82659 if (J.get$length$asx(frame) === 0)
82660 continue;
82661 buffer._contents += "\n";
82662 buffer._contents += " " + A.S(frame);
82663 }
82664 t1 = buffer._contents;
82665 return t1.charCodeAt(0) == 0 ? t1 : t1;
82666 },
82667 toString$0($receiver) {
82668 return this.toString$1$color($receiver, null);
82669 }
82670 };
82671 A.SassRuntimeException0.prototype = {
82672 get$trace(receiver) {
82673 return this.trace;
82674 }
82675 };
82676 A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
82677 get$trace(receiver) {
82678 return this.trace;
82679 }
82680 };
82681 A.SassFormatException0.prototype = {
82682 get$source() {
82683 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
82684 },
82685 $isFormatException: 1,
82686 $isSourceSpanFormatException: 1
82687 };
82688 A.SassScriptException0.prototype = {
82689 toString$0(_) {
82690 return this.message + string$.x0a_BUG_;
82691 },
82692 get$message(receiver) {
82693 return this.message;
82694 }
82695 };
82696 A.MultiSpanSassScriptException0.prototype = {};
82697 A.Exports.prototype = {};
82698 A.LoggerNamespace.prototype = {};
82699 A.ExtendRule0.prototype = {
82700 accept$1$1(visitor) {
82701 return visitor.visitExtendRule$1(this);
82702 },
82703 accept$1(visitor) {
82704 return this.accept$1$1(visitor, type$.dynamic);
82705 },
82706 toString$0(_) {
82707 var t1 = this.selector.toString$0(0),
82708 t2 = this.isOptional ? " !optional" : "";
82709 return "@extend " + t1 + t2 + ";";
82710 },
82711 $isAstNode0: 1,
82712 $isStatement0: 1,
82713 get$span(receiver) {
82714 return this.span;
82715 }
82716 };
82717 A.Extension0.prototype = {
82718 toString$0(_) {
82719 var t1 = this.extender.toString$0(0),
82720 t2 = this.target.toString$0(0),
82721 t3 = this.isOptional ? " !optional" : "";
82722 return t1 + " {@extend " + t2 + t3 + "}";
82723 }
82724 };
82725 A.Extender0.prototype = {
82726 assertCompatibleMediaContext$1(mediaContext) {
82727 var expectedMediaContext,
82728 extension = this._extension$_extension;
82729 if (extension == null)
82730 return;
82731 expectedMediaContext = extension.mediaContext;
82732 if (expectedMediaContext == null)
82733 return;
82734 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
82735 return;
82736 throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
82737 },
82738 toString$0(_) {
82739 return A.serializeSelector0(this.selector, true);
82740 }
82741 };
82742 A.ExtensionStore0.prototype = {
82743 get$isEmpty(_) {
82744 return this._extension_store$_extensions.__js_helper$_length === 0;
82745 },
82746 get$simpleSelectors() {
82747 return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
82748 },
82749 extensionsWhereTarget$1($async$callback) {
82750 var $async$self = this;
82751 return A._makeSyncStarIterable(function() {
82752 var callback = $async$callback;
82753 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
82754 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
82755 if ($async$errorCode === 1) {
82756 $async$currentError = $async$result;
82757 $async$goto = $async$handler;
82758 }
82759 while (true)
82760 switch ($async$goto) {
82761 case 0:
82762 // Function start
82763 t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
82764 case 2:
82765 // for condition
82766 if (!t1.moveNext$0()) {
82767 // goto after for
82768 $async$goto = 3;
82769 break;
82770 }
82771 t2 = t1.get$current(t1);
82772 if (!callback.call$1(t2.key)) {
82773 // goto for condition
82774 $async$goto = 2;
82775 break;
82776 }
82777 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
82778 case 4:
82779 // for condition
82780 if (!t2.moveNext$0()) {
82781 // goto after for
82782 $async$goto = 5;
82783 break;
82784 }
82785 t3 = t2.get$current(t2);
82786 $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
82787 break;
82788 case 6:
82789 // then
82790 t3 = t3.unmerge$0();
82791 $async$goto = 9;
82792 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
82793 case 9:
82794 // after yield
82795 // goto join
82796 $async$goto = 7;
82797 break;
82798 case 8:
82799 // else
82800 $async$goto = !t3.isOptional ? 10 : 11;
82801 break;
82802 case 10:
82803 // then
82804 $async$goto = 12;
82805 return t3;
82806 case 12:
82807 // after yield
82808 case 11:
82809 // join
82810 case 7:
82811 // join
82812 // goto for condition
82813 $async$goto = 4;
82814 break;
82815 case 5:
82816 // after for
82817 // goto for condition
82818 $async$goto = 2;
82819 break;
82820 case 3:
82821 // after for
82822 // implicit return
82823 return A._IterationMarker_endOfIteration();
82824 case 1:
82825 // rethrow
82826 return A._IterationMarker_uncaughtError($async$currentError);
82827 }
82828 };
82829 }, type$.Extension_2);
82830 },
82831 addSelector$3(selector, selectorSpan, mediaContext) {
82832 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
82833 selector = selector;
82834 originalSelector = selector;
82835 if (!originalSelector.get$isInvisible())
82836 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
82837 t3.add$1(0, t1[_i]);
82838 t1 = _this._extension_store$_extensions;
82839 if (t1.__js_helper$_length !== 0)
82840 try {
82841 selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
82842 } catch (exception) {
82843 t1 = A.unwrapException(exception);
82844 if (t1 instanceof A.SassException0) {
82845 error = t1;
82846 stackTrace = A.getTraceFromException(exception);
82847 t1 = error;
82848 t2 = J.getInterceptor$z(t1);
82849 t3 = error;
82850 t4 = J.getInterceptor$z(t3);
82851 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);
82852 } else
82853 throw exception;
82854 }
82855 modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
82856 if (mediaContext != null)
82857 _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
82858 _this._extension_store$_registerSelector$2(selector, modifiableSelector);
82859 return modifiableSelector;
82860 },
82861 _extension_store$_registerSelector$2(list, selector) {
82862 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
82863 for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
82864 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
82865 component = t4[_i0];
82866 if (!(component instanceof A.CompoundSelector0))
82867 continue;
82868 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
82869 simple = t6[_i1];
82870 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
82871 if (!(simple instanceof A.PseudoSelector0))
82872 continue;
82873 selectorInPseudo = simple.selector;
82874 if (selectorInPseudo != null)
82875 this._extension_store$_registerSelector$2(selectorInPseudo, selector);
82876 }
82877 }
82878 },
82879 addExtension$4(extender, target, extend, mediaContext) {
82880 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
82881 selectors = _this._extension_store$_selectors.$index(0, target),
82882 t1 = _this._extension_store$_extensionsByExtender,
82883 existingExtensions = t1.$index(0, target),
82884 sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
82885 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) {
82886 complex = t2[_i];
82887 if (complex._complex0$_maxSpecificity == null)
82888 complex._complex0$_computeSpecificity$0();
82889 complex._complex0$_maxSpecificity.toString;
82890 t12 = new A.Extender0(complex, false, t6);
82891 extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
82892 existingExtension = sources.$index(0, complex);
82893 if (existingExtension != null) {
82894 sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
82895 continue;
82896 }
82897 sources.$indexSet(0, complex, extension);
82898 for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
82899 t13 = t12.get$current(t12);
82900 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
82901 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
82902 }
82903 if (!t4 || t9) {
82904 if (newExtensions == null)
82905 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
82906 newExtensions.$indexSet(0, complex, extension);
82907 }
82908 }
82909 if (newExtensions == null)
82910 return;
82911 t1 = type$.SimpleSelector_2;
82912 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
82913 if (t9) {
82914 additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
82915 if (additionalExtensions != null)
82916 A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
82917 }
82918 if (!t4)
82919 _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
82920 },
82921 _extension_store$_simpleSelectors$1(complex) {
82922 return this._simpleSelectors$body$ExtensionStore0(complex);
82923 },
82924 _simpleSelectors$body$ExtensionStore0($async$complex) {
82925 var $async$self = this;
82926 return A._makeSyncStarIterable(function() {
82927 var complex = $async$complex;
82928 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
82929 return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
82930 if ($async$errorCode === 1) {
82931 $async$currentError = $async$result;
82932 $async$goto = $async$handler;
82933 }
82934 while (true)
82935 switch ($async$goto) {
82936 case 0:
82937 // Function start
82938 t1 = complex.components, t2 = t1.length, _i = 0;
82939 case 2:
82940 // for condition
82941 if (!(_i < t2)) {
82942 // goto after for
82943 $async$goto = 4;
82944 break;
82945 }
82946 component = t1[_i];
82947 $async$goto = component instanceof A.CompoundSelector0 ? 5 : 6;
82948 break;
82949 case 5:
82950 // then
82951 t3 = component.components, t4 = t3.length, _i0 = 0;
82952 case 7:
82953 // for condition
82954 if (!(_i0 < t4)) {
82955 // goto after for
82956 $async$goto = 9;
82957 break;
82958 }
82959 simple = t3[_i0];
82960 $async$goto = 10;
82961 return simple;
82962 case 10:
82963 // after yield
82964 if (!(simple instanceof A.PseudoSelector0)) {
82965 // goto for update
82966 $async$goto = 8;
82967 break;
82968 }
82969 selector = simple.selector;
82970 if (selector == null) {
82971 // goto for update
82972 $async$goto = 8;
82973 break;
82974 }
82975 t5 = selector.components, t6 = t5.length, _i1 = 0;
82976 case 11:
82977 // for condition
82978 if (!(_i1 < t6)) {
82979 // goto after for
82980 $async$goto = 13;
82981 break;
82982 }
82983 $async$goto = 14;
82984 return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
82985 case 14:
82986 // after yield
82987 case 12:
82988 // for update
82989 ++_i1;
82990 // goto for condition
82991 $async$goto = 11;
82992 break;
82993 case 13:
82994 // after for
82995 case 8:
82996 // for update
82997 ++_i0;
82998 // goto for condition
82999 $async$goto = 7;
83000 break;
83001 case 9:
83002 // after for
83003 case 6:
83004 // join
83005 case 3:
83006 // for update
83007 ++_i;
83008 // goto for condition
83009 $async$goto = 2;
83010 break;
83011 case 4:
83012 // after for
83013 // implicit return
83014 return A._IterationMarker_endOfIteration();
83015 case 1:
83016 // rethrow
83017 return A._IterationMarker_uncaughtError($async$currentError);
83018 }
83019 };
83020 }, type$.SimpleSelector_2);
83021 },
83022 _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
83023 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;
83024 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) {
83025 extension = t1[_i];
83026 t7 = t6.$index(0, extension.target);
83027 t7.toString;
83028 selectors = null;
83029 try {
83030 selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
83031 if (selectors == null)
83032 continue;
83033 } catch (exception) {
83034 t8 = A.unwrapException(exception);
83035 if (t8 instanceof A.SassException0) {
83036 error = t8;
83037 stackTrace = A.getTraceFromException(exception);
83038 t8 = error;
83039 t9 = J.getInterceptor$z(t8);
83040 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);
83041 } else
83042 throw exception;
83043 }
83044 t8 = J.get$first$ax(selectors);
83045 t9 = extension.extender;
83046 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
83047 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
83048 complex = t8[_i0];
83049 if (containsExtension && first) {
83050 first = false;
83051 continue;
83052 }
83053 t10 = extension;
83054 t11 = t10.extender;
83055 t12 = t10.target;
83056 t13 = t10.span;
83057 t14 = t10.mediaContext;
83058 t10 = t10.isOptional;
83059 if (complex._complex0$_maxSpecificity == null)
83060 complex._complex0$_computeSpecificity$0();
83061 complex._complex0$_maxSpecificity.toString;
83062 t11 = new A.Extender0(complex, false, t11.span);
83063 withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
83064 existingExtension = t7.$index(0, complex);
83065 if (existingExtension != null)
83066 t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
83067 else {
83068 t7.$indexSet(0, complex, withExtender);
83069 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
83070 component = t10[_i1];
83071 if (component instanceof A.CompoundSelector0)
83072 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
83073 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
83074 }
83075 if (newExtensions.containsKey$1(extension.target)) {
83076 if (additionalExtensions == null)
83077 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
83078 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
83079 }
83080 }
83081 }
83082 if (!containsExtension)
83083 t7.remove$1(0, extension.extender);
83084 }
83085 return additionalExtensions;
83086 },
83087 _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
83088 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
83089 for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
83090 selector = t1.get$current(t1);
83091 oldValue = selector.value;
83092 try {
83093 selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
83094 } catch (exception) {
83095 t3 = A.unwrapException(exception);
83096 if (t3 instanceof A.SassException0) {
83097 error = t3;
83098 stackTrace = A.getTraceFromException(exception);
83099 t3 = error;
83100 t4 = J.getInterceptor$z(t3);
83101 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);
83102 } else
83103 throw exception;
83104 }
83105 if (oldValue === selector.value)
83106 continue;
83107 this._extension_store$_registerSelector$2(selector.value, selector);
83108 }
83109 },
83110 addExtensions$1(extensionStores) {
83111 var t1, t2, t3, _box_0 = {};
83112 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
83113 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
83114 t3 = t1.get$current(t1);
83115 if (t3.get$isEmpty(t3))
83116 continue;
83117 t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
83118 t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
83119 }
83120 A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
83121 },
83122 _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
83123 var t1, t2, t3, extended, i, complex, result, t4;
83124 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
83125 complex = t1[i];
83126 result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
83127 if (result == null) {
83128 if (extended != null)
83129 extended.push(complex);
83130 } else {
83131 if (extended == null)
83132 if (i === 0)
83133 extended = A._setArrayType([], t3);
83134 else {
83135 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
83136 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
83137 }
83138 B.JSArray_methods.addAll$1(extended, result);
83139 }
83140 }
83141 if (extended == null)
83142 return list;
83143 t1 = this._extension_store$_originals;
83144 return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
83145 },
83146 _extension_store$_extendList$3(list, listSpan, extensions) {
83147 return this._extension_store$_extendList$4(list, listSpan, extensions, null);
83148 },
83149 _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
83150 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
83151 _s28_ = "components may not be empty.",
83152 _box_0 = {},
83153 isOriginal = this._extension_store$_originals.contains$1(0, complex);
83154 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) {
83155 component = t1[i];
83156 if (component instanceof A.CompoundSelector0) {
83157 extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
83158 if (extended == null) {
83159 if (extendedNotExpanded != null) {
83160 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
83161 result.fixed$length = Array;
83162 result.immutable$list = Array;
83163 t6 = result;
83164 if (t6.length === 0)
83165 A.throwExpression(A.ArgumentError$(_s28_, _null));
83166 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
83167 }
83168 } else {
83169 if (extendedNotExpanded == null) {
83170 t6 = A._arrayInstanceType(t1);
83171 t7 = t6._eval$1("SubListIterable<1>");
83172 t8 = new A.SubListIterable(t1, 0, i, t7);
83173 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
83174 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector0>>");
83175 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure1(complex), t7), true, t7._eval$1("ListIterable.E"));
83176 }
83177 B.JSArray_methods.add$1(extendedNotExpanded, extended);
83178 }
83179 } else if (extendedNotExpanded != null) {
83180 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
83181 result.fixed$length = Array;
83182 result.immutable$list = Array;
83183 t6 = result;
83184 if (t6.length === 0)
83185 A.throwExpression(A.ArgumentError$(_s28_, _null));
83186 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
83187 }
83188 }
83189 if (extendedNotExpanded == null)
83190 return _null;
83191 _box_0.first = true;
83192 t1 = type$.ComplexSelector_2;
83193 t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure2(_box_0, this, complex), t1);
83194 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83195 },
83196 _extension_store$_extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
83197 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
83198 _s28_ = "components may not be empty.",
83199 _box_1 = {},
83200 t1 = _this._extension_store$_mode,
83201 targetsUsed = t1 === B.ExtendMode_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
83202 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) {
83203 simple = t2[i];
83204 extended = _this._extension_store$_extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
83205 if (extended == null) {
83206 if (options != null) {
83207 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
83208 result.fixed$length = Array;
83209 result.immutable$list = Array;
83210 t11 = result;
83211 if (t11.length === 0)
83212 A.throwExpression(A.ArgumentError$(_s28_, _null));
83213 result = A.List_List$from(A._setArrayType([new A.CompoundSelector0(t11)], t6), false, t7);
83214 result.fixed$length = Array;
83215 result.immutable$list = Array;
83216 t11 = result;
83217 if (t11.length === 0)
83218 A.throwExpression(A.ArgumentError$(_s28_, _null));
83219 t9.$index(0, simple);
83220 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
83221 }
83222 } else {
83223 if (options == null) {
83224 options = A._setArrayType([], t4);
83225 if (i !== 0) {
83226 t11 = A._arrayInstanceType(t2);
83227 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
83228 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
83229 result = A.List_List$from(t12, false, t8);
83230 result.fixed$length = Array;
83231 result.immutable$list = Array;
83232 t12 = result;
83233 compound = new A.CompoundSelector0(t12);
83234 if (t12.length === 0)
83235 A.throwExpression(A.ArgumentError$(_s28_, _null));
83236 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
83237 result.fixed$length = Array;
83238 result.immutable$list = Array;
83239 t11 = result;
83240 if (t11.length === 0)
83241 A.throwExpression(A.ArgumentError$(_s28_, _null));
83242 _this._extension_store$_sourceSpecificityFor$1(compound);
83243 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
83244 }
83245 }
83246 B.JSArray_methods.addAll$1(options, extended);
83247 }
83248 }
83249 if (options == null)
83250 return _null;
83251 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
83252 return _null;
83253 if (options.length === 1)
83254 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure4(mediaQueryContext), type$.ComplexSelector_2).toList$0(0);
83255 t1 = _box_1.first = t1 !== B.ExtendMode_replace0;
83256 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);
83257 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector0>");
83258 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure6(), t3), true, t3._eval$1("Iterable.E"));
83259 isOriginal = new A.ExtensionStore__extendCompound_closure7();
83260 return _this._extension_store$_trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure8(B.JSArray_methods.get$first(result)) : isOriginal);
83261 },
83262 _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
83263 var extended,
83264 t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
83265 if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
83266 extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
83267 if (extended != null)
83268 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
83269 }
83270 return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
83271 },
83272 _extension_store$_extenderForSimple$2(simple, span) {
83273 var t1 = A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2), false);
83274 this._extension_store$_sourceSpecificity.$index(0, simple);
83275 return new A.Extender0(t1, true, span);
83276 },
83277 _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
83278 var extended, complexes, t1, result,
83279 selector = pseudo.selector;
83280 if (selector == null)
83281 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
83282 extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
83283 if (extended === selector)
83284 return null;
83285 complexes = extended.components;
83286 t1 = pseudo.normalizedName === "not";
83287 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()))
83288 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
83289 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
83290 if (t1 && selector.components.length === 1) {
83291 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
83292 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
83293 return result.length === 0 ? null : result;
83294 } else
83295 return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
83296 },
83297 _extension_store$_trim$2(selectors, isOriginal) {
83298 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
83299 if (selectors.length > 100)
83300 return selectors;
83301 result = A.QueueList$(null, type$.ComplexSelector_2);
83302 $label0$0:
83303 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
83304 _box_0 = {};
83305 complex1 = selectors[i];
83306 if (isOriginal.call$1(complex1)) {
83307 for (j = 0; j < numOriginals; ++j)
83308 if (J.$eq$(result.$index(0, j), complex1)) {
83309 A.rotateSlice0(result, 0, j + 1);
83310 continue $label0$0;
83311 }
83312 ++numOriginals;
83313 result.addFirst$1(complex1);
83314 continue $label0$0;
83315 }
83316 _box_0.maxSpecificity = 0;
83317 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
83318 component = t3[_i];
83319 if (component instanceof A.CompoundSelector0)
83320 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._extension_store$_sourceSpecificityFor$1(component));
83321 }
83322 if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
83323 continue $label0$0;
83324 t3 = new A.SubListIterable(selectors, 0, i, t1);
83325 t3.SubListIterable$3(selectors, 0, i, t2);
83326 if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
83327 continue $label0$0;
83328 result.addFirst$1(complex1);
83329 }
83330 return result;
83331 },
83332 _extension_store$_sourceSpecificityFor$1(compound) {
83333 var t1, t2, t3, specificity, _i, t4;
83334 for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
83335 t4 = t3.$index(0, t1[_i]);
83336 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
83337 }
83338 return specificity;
83339 },
83340 clone$0() {
83341 var t3, t4, _this = this,
83342 t1 = type$.SimpleSelector_2,
83343 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
83344 t2 = type$.ModifiableCssValue_SelectorList_2,
83345 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
83346 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
83347 _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
83348 t2 = type$.Extension_2;
83349 t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
83350 t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
83351 t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2);
83352 t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
83353 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
83354 t4.addAll$1(0, _this._extension_store$_originals);
83355 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);
83356 },
83357 get$_extension_store$_extensions() {
83358 return this._extension_store$_extensions;
83359 },
83360 get$_extension_store$_sourceSpecificity() {
83361 return this._extension_store$_sourceSpecificity;
83362 }
83363 };
83364 A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
83365 call$1(extension) {
83366 return !extension.isOptional;
83367 },
83368 $signature: 408
83369 };
83370 A.ExtensionStore__registerSelector_closure0.prototype = {
83371 call$0() {
83372 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
83373 },
83374 $signature: 409
83375 };
83376 A.ExtensionStore_addExtension_closure2.prototype = {
83377 call$0() {
83378 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83379 },
83380 $signature: 101
83381 };
83382 A.ExtensionStore_addExtension_closure3.prototype = {
83383 call$0() {
83384 return A._setArrayType([], type$.JSArray_Extension_2);
83385 },
83386 $signature: 221
83387 };
83388 A.ExtensionStore_addExtension_closure4.prototype = {
83389 call$0() {
83390 return this.complex.get$maxSpecificity();
83391 },
83392 $signature: 12
83393 };
83394 A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
83395 call$0() {
83396 return A._setArrayType([], type$.JSArray_Extension_2);
83397 },
83398 $signature: 221
83399 };
83400 A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
83401 call$0() {
83402 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83403 },
83404 $signature: 101
83405 };
83406 A.ExtensionStore_addExtensions_closure1.prototype = {
83407 call$2(target, newSources) {
83408 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
83409 if (target instanceof A.PlaceholderSelector0) {
83410 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
83411 t1 = first === 45 || first === 95;
83412 } else
83413 t1 = false;
83414 if (t1)
83415 return;
83416 t1 = _this.$this;
83417 extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
83418 t2 = extensionsForTarget == null;
83419 if (!t2) {
83420 t3 = _this._box_0;
83421 t4 = t3.extensionsToExtend;
83422 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
83423 }
83424 selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
83425 t3 = selectorsForTarget != null;
83426 if (t3) {
83427 t4 = _this._box_0;
83428 t5 = t4.selectorsToExtend;
83429 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
83430 }
83431 t1 = t1._extension_store$_extensions;
83432 existingSources = t1.$index(0, target);
83433 if (existingSources == null) {
83434 t4 = type$.ComplexSelector_2;
83435 t5 = type$.Extension_2;
83436 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83437 if (!t2 || t3) {
83438 t1 = _this._box_0;
83439 t2 = t1.newExtensions;
83440 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83441 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83442 }
83443 } else
83444 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
83445 },
83446 $signature: 412
83447 };
83448 A.ExtensionStore_addExtensions__closure4.prototype = {
83449 call$2(extender, extension) {
83450 var t2, _this = this,
83451 t1 = _this.existingSources;
83452 if (t1.containsKey$1(extender)) {
83453 t2 = t1.$index(0, extender);
83454 t2.toString;
83455 extension = A.MergedExtension_merge0(t2, extension);
83456 t1.$indexSet(0, extender, extension);
83457 } else
83458 t1.$indexSet(0, extender, extension);
83459 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
83460 t1 = _this._box_0;
83461 t2 = t1.newExtensions;
83462 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83463 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
83464 }
83465 },
83466 $signature: 413
83467 };
83468 A.ExtensionStore_addExtensions___closure0.prototype = {
83469 call$0() {
83470 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83471 },
83472 $signature: 101
83473 };
83474 A.ExtensionStore_addExtensions_closure2.prototype = {
83475 call$1(newExtensions) {
83476 var t1 = this._box_0,
83477 t2 = this.$this;
83478 A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
83479 A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
83480 },
83481 $signature: 414
83482 };
83483 A.ExtensionStore_addExtensions__closure2.prototype = {
83484 call$1(extensionsToExtend) {
83485 return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
83486 },
83487 $signature: 415
83488 };
83489 A.ExtensionStore_addExtensions__closure3.prototype = {
83490 call$1(selectorsToExtend) {
83491 return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
83492 },
83493 $signature: 416
83494 };
83495 A.ExtensionStore__extendComplex_closure1.prototype = {
83496 call$1(component) {
83497 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent_2), this.complex.lineBreak)], type$.JSArray_ComplexSelector_2);
83498 },
83499 $signature: 417
83500 };
83501 A.ExtensionStore__extendComplex_closure2.prototype = {
83502 call$1(path) {
83503 var t1 = A.weave0(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure1(), type$.List_ComplexSelectorComponent_2).toList$0(0));
83504 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>"));
83505 },
83506 $signature: 418
83507 };
83508 A.ExtensionStore__extendComplex__closure1.prototype = {
83509 call$1(complex) {
83510 return complex.components;
83511 },
83512 $signature: 419
83513 };
83514 A.ExtensionStore__extendComplex__closure2.prototype = {
83515 call$1(components) {
83516 var _this = this,
83517 t1 = _this.complex,
83518 outputComplex = A.ComplexSelector$0(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure0())),
83519 t2 = _this._box_0;
83520 if (t2.first && _this.$this._extension_store$_originals.contains$1(0, t1))
83521 _this.$this._extension_store$_originals.add$1(0, outputComplex);
83522 t2.first = false;
83523 return outputComplex;
83524 },
83525 $signature: 72
83526 };
83527 A.ExtensionStore__extendComplex___closure0.prototype = {
83528 call$1(inputComplex) {
83529 return inputComplex.lineBreak;
83530 },
83531 $signature: 20
83532 };
83533 A.ExtensionStore__extendCompound_closure4.prototype = {
83534 call$1(extender) {
83535 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
83536 return extender.selector;
83537 },
83538 $signature: 422
83539 };
83540 A.ExtensionStore__extendCompound_closure5.prototype = {
83541 call$1(path) {
83542 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
83543 t1 = this._box_1;
83544 if (t1.first) {
83545 t1.first = false;
83546 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);
83547 } else {
83548 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent_2);
83549 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector_2, t3 = type$.JSArray_SimpleSelector_2, originals = null; t1.moveNext$0();) {
83550 t4 = t1.get$current(t1);
83551 if (t4.isOriginal) {
83552 if (originals == null)
83553 originals = A._setArrayType([], t3);
83554 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
83555 } else
83556 toUnify._queue_list$_add$1(t4.selector.components);
83557 }
83558 if (originals != null)
83559 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$0(originals)], type$.JSArray_ComplexSelectorComponent_2));
83560 complexes = A.unifyComplex0(toUnify);
83561 if (complexes == null)
83562 return null;
83563 }
83564 _box_0.lineBreak = false;
83565 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
83566 t3 = t1.get$current(t1);
83567 t3.assertCompatibleMediaContext$1(t2);
83568 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
83569 }
83570 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure2(_box_0), type$.ComplexSelector_2);
83571 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
83572 },
83573 $signature: 423
83574 };
83575 A.ExtensionStore__extendCompound__closure1.prototype = {
83576 call$1(extender) {
83577 return type$.CompoundSelector_2._as(B.JSArray_methods.get$last(extender.selector.components)).components;
83578 },
83579 $signature: 424
83580 };
83581 A.ExtensionStore__extendCompound__closure2.prototype = {
83582 call$1(components) {
83583 return A.ComplexSelector$0(components, this._box_0.lineBreak);
83584 },
83585 $signature: 72
83586 };
83587 A.ExtensionStore__extendCompound_closure6.prototype = {
83588 call$1(l) {
83589 return l;
83590 },
83591 $signature: 425
83592 };
83593 A.ExtensionStore__extendCompound_closure7.prototype = {
83594 call$1(_) {
83595 return false;
83596 },
83597 $signature: 20
83598 };
83599 A.ExtensionStore__extendCompound_closure8.prototype = {
83600 call$1(complex) {
83601 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
83602 return t1;
83603 },
83604 $signature: 20
83605 };
83606 A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
83607 call$1(simple) {
83608 var t1, t2, _this = this,
83609 extensionsForSimple = _this.extensions.$index(0, simple);
83610 if (extensionsForSimple == null)
83611 return null;
83612 t1 = _this.targetsUsed;
83613 if (t1 != null)
83614 t1.add$1(0, simple);
83615 t1 = A._setArrayType([], type$.JSArray_Extender_2);
83616 t2 = _this.$this;
83617 if (t2._extension_store$_mode !== B.ExtendMode_replace0)
83618 t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
83619 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
83620 t1.push(t2.get$current(t2).extender);
83621 return t1;
83622 },
83623 $signature: 426
83624 };
83625 A.ExtensionStore__extendSimple_closure1.prototype = {
83626 call$1(pseudo) {
83627 var t1 = this.withoutPseudo.call$1(pseudo);
83628 return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
83629 },
83630 $signature: 427
83631 };
83632 A.ExtensionStore__extendSimple_closure2.prototype = {
83633 call$1(result) {
83634 return A._setArrayType([result], type$.JSArray_List_Extender_2);
83635 },
83636 $signature: 428
83637 };
83638 A.ExtensionStore__extendPseudo_closure4.prototype = {
83639 call$1(complex) {
83640 return complex.components.length > 1;
83641 },
83642 $signature: 20
83643 };
83644 A.ExtensionStore__extendPseudo_closure5.prototype = {
83645 call$1(complex) {
83646 return complex.components.length === 1;
83647 },
83648 $signature: 20
83649 };
83650 A.ExtensionStore__extendPseudo_closure6.prototype = {
83651 call$1(complex) {
83652 return complex.components.length <= 1;
83653 },
83654 $signature: 20
83655 };
83656 A.ExtensionStore__extendPseudo_closure7.prototype = {
83657 call$1(complex) {
83658 var innerPseudo, innerSelector,
83659 t1 = complex.components;
83660 if (t1.length !== 1)
83661 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83662 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector0))
83663 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83664 t1 = type$.CompoundSelector_2._as(B.JSArray_methods.get$first(t1)).components;
83665 if (t1.length !== 1)
83666 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83667 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector0))
83668 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83669 innerPseudo = type$.PseudoSelector_2._as(B.JSArray_methods.get$first(t1));
83670 innerSelector = innerPseudo.selector;
83671 if (innerSelector == null)
83672 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83673 t1 = this.pseudo;
83674 switch (t1.normalizedName) {
83675 case "not":
83676 if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
83677 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83678 return innerSelector.components;
83679 case "is":
83680 case "matches":
83681 case "where":
83682 case "any":
83683 case "current":
83684 case "nth-child":
83685 case "nth-last-child":
83686 if (innerPseudo.name !== t1.name)
83687 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83688 if (innerPseudo.argument != t1.argument)
83689 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83690 return innerSelector.components;
83691 case "has":
83692 case "host":
83693 case "host-context":
83694 case "slotted":
83695 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83696 default:
83697 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83698 }
83699 },
83700 $signature: 429
83701 };
83702 A.ExtensionStore__extendPseudo_closure8.prototype = {
83703 call$1(complex) {
83704 var t1 = this.pseudo;
83705 return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
83706 },
83707 $signature: 430
83708 };
83709 A.ExtensionStore__trim_closure1.prototype = {
83710 call$1(complex2) {
83711 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83712 },
83713 $signature: 20
83714 };
83715 A.ExtensionStore__trim_closure2.prototype = {
83716 call$1(complex2) {
83717 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83718 },
83719 $signature: 20
83720 };
83721 A.ExtensionStore_clone_closure0.prototype = {
83722 call$2(simple, selectors) {
83723 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
83724 t1 = type$.ModifiableCssValue_SelectorList_2,
83725 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
83726 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
83727 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
83728 t6 = t2.get$current(t2);
83729 newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
83730 newSelectorSet.add$1(0, newSelector);
83731 t3.$indexSet(0, t6, newSelector);
83732 mediaContext = t4.$index(0, t6);
83733 if (mediaContext != null)
83734 t5.$indexSet(0, newSelector, mediaContext);
83735 }
83736 },
83737 $signature: 431
83738 };
83739 A.FiberClass.prototype = {};
83740 A.Fiber.prototype = {};
83741 A.NodeToDartFileImporter.prototype = {
83742 canonicalize$1(_, url) {
83743 var result, t1, resultUrl;
83744 if (url.get$scheme() === "file")
83745 return $.$get$_filesystemImporter0().canonicalize$1(0, url);
83746 result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
83747 if (result == null)
83748 return null;
83749 t1 = self.Promise;
83750 if (result instanceof t1)
83751 A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
83752 else {
83753 t1 = self.URL;
83754 if (!(result instanceof t1))
83755 A.jsThrow(new self.Error(string$.The_fie));
83756 }
83757 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
83758 if (resultUrl.get$scheme() !== "file")
83759 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
83760 return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
83761 },
83762 load$1(_, url) {
83763 return $.$get$_filesystemImporter0().load$1(0, url);
83764 }
83765 };
83766 A.FilesystemImporter0.prototype = {
83767 canonicalize$1(_, url) {
83768 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
83769 return null;
83770 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());
83771 },
83772 load$1(_, url) {
83773 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
83774 return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
83775 },
83776 toString$0(_) {
83777 return this._filesystem$_loadPath;
83778 }
83779 };
83780 A.FilesystemImporter_canonicalize_closure0.prototype = {
83781 call$1(resolved) {
83782 var t1, t2, t0, _null = null;
83783 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
83784 t1 = $.$get$context();
83785 t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
83786 t0 = t2;
83787 t2 = t1;
83788 t1 = t0;
83789 } else {
83790 t1 = $.$get$context();
83791 t2 = t1.canonicalize$1(0, resolved);
83792 t0 = t2;
83793 t2 = t1;
83794 t1 = t0;
83795 }
83796 return t2.toUri$1(t1);
83797 },
83798 $signature: 184
83799 };
83800 A.ForRule0.prototype = {
83801 accept$1$1(visitor) {
83802 return visitor.visitForRule$1(this);
83803 },
83804 accept$1(visitor) {
83805 return this.accept$1$1(visitor, type$.dynamic);
83806 },
83807 toString$0(_) {
83808 var _this = this,
83809 t1 = _this.from.toString$0(0),
83810 t2 = _this.isExclusive ? "to" : "through",
83811 t3 = _this.children;
83812 return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
83813 },
83814 get$span(receiver) {
83815 return this.span;
83816 }
83817 };
83818 A.ForwardRule0.prototype = {
83819 accept$1$1(visitor) {
83820 return visitor.visitForwardRule$1(this);
83821 },
83822 accept$1(visitor) {
83823 return this.accept$1$1(visitor, type$.dynamic);
83824 },
83825 toString$0(_) {
83826 var t2, prefix, _this = this,
83827 t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
83828 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
83829 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
83830 if (shownMixinsAndFunctions != null) {
83831 t2 = _this.shownVariables;
83832 t2.toString;
83833 t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
83834 t1 = t2;
83835 } else {
83836 if (hiddenMixinsAndFunctions != null) {
83837 t2 = hiddenMixinsAndFunctions._base;
83838 t2 = t2.get$isNotEmpty(t2);
83839 } else
83840 t2 = false;
83841 if (t2) {
83842 t2 = _this.hiddenVariables;
83843 t2.toString;
83844 t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
83845 t1 = t2;
83846 }
83847 }
83848 prefix = _this.prefix;
83849 if (prefix != null)
83850 t1 += " as " + prefix + "*";
83851 t2 = _this.configuration;
83852 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
83853 return t1.charCodeAt(0) == 0 ? t1 : t1;
83854 },
83855 _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
83856 var t2,
83857 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
83858 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
83859 t1.push("$" + t2.get$current(t2));
83860 return B.JSArray_methods.join$1(t1, ", ");
83861 },
83862 $isAstNode0: 1,
83863 $isStatement0: 1,
83864 get$span(receiver) {
83865 return this.span;
83866 }
83867 };
83868 A.ForwardedModuleView0.prototype = {
83869 get$url(_) {
83870 var t1 = this._forwarded_view0$_inner;
83871 return t1.get$url(t1);
83872 },
83873 get$upstream() {
83874 return this._forwarded_view0$_inner.get$upstream();
83875 },
83876 get$extensionStore() {
83877 return this._forwarded_view0$_inner.get$extensionStore();
83878 },
83879 get$css(_) {
83880 var t1 = this._forwarded_view0$_inner;
83881 return t1.get$css(t1);
83882 },
83883 get$transitivelyContainsCss() {
83884 return this._forwarded_view0$_inner.get$transitivelyContainsCss();
83885 },
83886 get$transitivelyContainsExtensions() {
83887 return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
83888 },
83889 setVariable$3($name, value, nodeWithSpan) {
83890 var prefix,
83891 _s19_ = "Undefined variable.",
83892 t1 = this._forwarded_view0$_rule,
83893 shownVariables = t1.shownVariables,
83894 hiddenVariables = t1.hiddenVariables;
83895 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
83896 throw A.wrapException(A.SassScriptException$0(_s19_));
83897 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
83898 throw A.wrapException(A.SassScriptException$0(_s19_));
83899 prefix = t1.prefix;
83900 if (prefix != null) {
83901 if (!B.JSString_methods.startsWith$1($name, prefix))
83902 throw A.wrapException(A.SassScriptException$0(_s19_));
83903 $name = B.JSString_methods.substring$1($name, prefix.length);
83904 }
83905 return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
83906 },
83907 variableIdentity$1($name) {
83908 var prefix = this._forwarded_view0$_rule.prefix;
83909 if (prefix != null)
83910 $name = B.JSString_methods.substring$1($name, prefix.length);
83911 return this._forwarded_view0$_inner.variableIdentity$1($name);
83912 },
83913 $eq(_, other) {
83914 if (other == null)
83915 return false;
83916 return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
83917 },
83918 get$hashCode(_) {
83919 var t1 = this._forwarded_view0$_inner;
83920 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
83921 },
83922 cloneCss$0() {
83923 return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
83924 },
83925 toString$0(_) {
83926 return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
83927 },
83928 $isModule0: 1,
83929 get$variables() {
83930 return this.variables;
83931 },
83932 get$variableNodes() {
83933 return this.variableNodes;
83934 },
83935 get$functions(receiver) {
83936 return this.functions;
83937 },
83938 get$mixins() {
83939 return this.mixins;
83940 }
83941 };
83942 A.FunctionExpression0.prototype = {
83943 accept$1$1(visitor) {
83944 return visitor.visitFunctionExpression$1(this);
83945 },
83946 accept$1(visitor) {
83947 return this.accept$1$1(visitor, type$.dynamic);
83948 },
83949 toString$0(_) {
83950 var t1 = this.namespace;
83951 t1 = t1 != null ? "" + (t1 + ".") : "";
83952 t1 += this.originalName + this.$arguments.toString$0(0);
83953 return t1.charCodeAt(0) == 0 ? t1 : t1;
83954 },
83955 $isExpression0: 1,
83956 $isAstNode0: 1,
83957 get$span(receiver) {
83958 return this.span;
83959 }
83960 };
83961 A.JSFunction0.prototype = {};
83962 A.SupportsFunction0.prototype = {
83963 toString$0(_) {
83964 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
83965 },
83966 $isAstNode0: 1,
83967 get$span(receiver) {
83968 return this.span;
83969 }
83970 };
83971 A.functionClass_closure.prototype = {
83972 call$0() {
83973 var t1 = type$.JSClass,
83974 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
83975 A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
83976 return jsClass;
83977 },
83978 $signature: 23
83979 };
83980 A.functionClass__closure.prototype = {
83981 call$3($self, signature, callback) {
83982 var paren = B.JSString_methods.indexOf$1(signature, "(");
83983 if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
83984 A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
83985 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));
83986 },
83987 "call*": "call$3",
83988 $requiredArgCount: 3,
83989 $signature: 432
83990 };
83991 A.functionClass__closure0.prototype = {
83992 call$1(_) {
83993 return B.C__SassNull0;
83994 },
83995 $signature: 3
83996 };
83997 A.SassFunction0.prototype = {
83998 accept$1$1(visitor) {
83999 var t1, t2;
84000 if (!visitor._serialize0$_inspect)
84001 A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value."));
84002 t1 = visitor._serialize0$_buffer;
84003 t1.write$1(0, "get-function(");
84004 t2 = this.callable;
84005 visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
84006 t1.writeCharCode$1(41);
84007 return null;
84008 },
84009 accept$1(visitor) {
84010 return this.accept$1$1(visitor, type$.dynamic);
84011 },
84012 assertFunction$1($name) {
84013 return this;
84014 },
84015 $eq(_, other) {
84016 if (other == null)
84017 return false;
84018 return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
84019 },
84020 get$hashCode(_) {
84021 var t1 = this.callable;
84022 return t1.get$hashCode(t1);
84023 }
84024 };
84025 A.FunctionRule0.prototype = {
84026 accept$1$1(visitor) {
84027 return visitor.visitFunctionRule$1(this);
84028 },
84029 accept$1(visitor) {
84030 return this.accept$1$1(visitor, type$.dynamic);
84031 },
84032 toString$0(_) {
84033 var t1 = this.children;
84034 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
84035 }
84036 };
84037 A.unifyComplex_closure0.prototype = {
84038 call$1(complex) {
84039 var t1 = J.getInterceptor$asx(complex);
84040 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
84041 },
84042 $signature: 141
84043 };
84044 A._weaveParents_closure6.prototype = {
84045 call$2(group1, group2) {
84046 var unified, t1, _null = null;
84047 if (B.C_ListEquality.equals$2(0, group1, group2))
84048 return group1;
84049 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector0) || !(J.get$first$ax(group2) instanceof A.CompoundSelector0))
84050 return _null;
84051 if (A.complexIsParentSuperselector0(group1, group2))
84052 return group2;
84053 if (A.complexIsParentSuperselector0(group2, group1))
84054 return group1;
84055 if (!A._mustUnify0(group1, group2))
84056 return _null;
84057 unified = A.unifyComplex0(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent_2));
84058 if (unified == null)
84059 return _null;
84060 t1 = J.getInterceptor$asx(unified);
84061 if (t1.get$length(unified) > 1)
84062 return _null;
84063 return t1.get$first(unified);
84064 },
84065 $signature: 434
84066 };
84067 A._weaveParents_closure7.prototype = {
84068 call$1(sequence) {
84069 return A.complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
84070 },
84071 $signature: 435
84072 };
84073 A._weaveParents_closure8.prototype = {
84074 call$1(chunk) {
84075 return J.expand$1$1$ax(chunk, new A._weaveParents__closure4(), type$.ComplexSelectorComponent_2);
84076 },
84077 $signature: 225
84078 };
84079 A._weaveParents__closure4.prototype = {
84080 call$1(group) {
84081 return group;
84082 },
84083 $signature: 141
84084 };
84085 A._weaveParents_closure9.prototype = {
84086 call$1(sequence) {
84087 return sequence.get$length(sequence) === 0;
84088 },
84089 $signature: 197
84090 };
84091 A._weaveParents_closure10.prototype = {
84092 call$1(chunk) {
84093 return J.expand$1$1$ax(chunk, new A._weaveParents__closure3(), type$.ComplexSelectorComponent_2);
84094 },
84095 $signature: 225
84096 };
84097 A._weaveParents__closure3.prototype = {
84098 call$1(group) {
84099 return group;
84100 },
84101 $signature: 141
84102 };
84103 A._weaveParents_closure11.prototype = {
84104 call$1(choice) {
84105 return J.get$isNotEmpty$asx(choice);
84106 },
84107 $signature: 437
84108 };
84109 A._weaveParents_closure12.prototype = {
84110 call$1(path) {
84111 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure2(), type$.ComplexSelectorComponent_2);
84112 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
84113 },
84114 $signature: 438
84115 };
84116 A._weaveParents__closure2.prototype = {
84117 call$1(group) {
84118 return group;
84119 },
84120 $signature: 439
84121 };
84122 A._mustUnify_closure0.prototype = {
84123 call$1(component) {
84124 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure0(this.uniqueSelectors));
84125 },
84126 $signature: 106
84127 };
84128 A._mustUnify__closure0.prototype = {
84129 call$1(simple) {
84130 var t1;
84131 if (!(simple instanceof A.IDSelector0))
84132 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
84133 else
84134 t1 = true;
84135 return t1 && this.uniqueSelectors.contains$1(0, simple);
84136 },
84137 $signature: 15
84138 };
84139 A.paths_closure0.prototype = {
84140 call$2(paths, choice) {
84141 var t1 = this.T;
84142 t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
84143 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
84144 },
84145 $signature() {
84146 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
84147 }
84148 };
84149 A.paths__closure0.prototype = {
84150 call$1(option) {
84151 var t1 = this.T;
84152 return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
84153 },
84154 $signature() {
84155 return this.T._eval$1("Iterable<List<0>>(0)");
84156 }
84157 };
84158 A.paths___closure0.prototype = {
84159 call$1(path) {
84160 var t1 = A.List_List$of(path, true, this.T);
84161 t1.push(this.option);
84162 return t1;
84163 },
84164 $signature() {
84165 return this.T._eval$1("List<0>(List<0>)");
84166 }
84167 };
84168 A._hasRoot_closure0.prototype = {
84169 call$1(simple) {
84170 return simple instanceof A.PseudoSelector0 && simple.isClass && simple.normalizedName === "root";
84171 },
84172 $signature: 15
84173 };
84174 A.listIsSuperselector_closure0.prototype = {
84175 call$1(complex1) {
84176 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
84177 },
84178 $signature: 20
84179 };
84180 A.listIsSuperselector__closure0.prototype = {
84181 call$1(complex2) {
84182 return A.complexIsSuperselector0(complex2.components, this.complex1.components);
84183 },
84184 $signature: 20
84185 };
84186 A._simpleIsSuperselectorOfCompound_closure0.prototype = {
84187 call$1(theirSimple) {
84188 var selector,
84189 t1 = this.simple;
84190 if (t1.$eq(0, theirSimple))
84191 return true;
84192 if (!(theirSimple instanceof A.PseudoSelector0))
84193 return false;
84194 selector = theirSimple.selector;
84195 if (selector == null)
84196 return false;
84197 if (!$._subselectorPseudos0.contains$1(0, theirSimple.normalizedName))
84198 return false;
84199 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure0(t1));
84200 },
84201 $signature: 15
84202 };
84203 A._simpleIsSuperselectorOfCompound__closure0.prototype = {
84204 call$1(complex) {
84205 var t1 = complex.components;
84206 if (t1.length !== 1)
84207 return false;
84208 return B.JSArray_methods.contains$1(type$.CompoundSelector_2._as(B.JSArray_methods.get$single(t1)).components, this.simple);
84209 },
84210 $signature: 20
84211 };
84212 A._selectorPseudoIsSuperselector_closure6.prototype = {
84213 call$1(selector2) {
84214 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84215 },
84216 $signature: 86
84217 };
84218 A._selectorPseudoIsSuperselector_closure7.prototype = {
84219 call$1(complex1) {
84220 var t1 = complex1.components,
84221 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2),
84222 t3 = this.parents;
84223 if (t3 != null)
84224 B.JSArray_methods.addAll$1(t2, t3);
84225 t2.push(this.compound2);
84226 return A.complexIsSuperselector0(t1, t2);
84227 },
84228 $signature: 20
84229 };
84230 A._selectorPseudoIsSuperselector_closure8.prototype = {
84231 call$1(selector2) {
84232 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84233 },
84234 $signature: 86
84235 };
84236 A._selectorPseudoIsSuperselector_closure9.prototype = {
84237 call$1(selector2) {
84238 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84239 },
84240 $signature: 86
84241 };
84242 A._selectorPseudoIsSuperselector_closure10.prototype = {
84243 call$1(complex) {
84244 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
84245 },
84246 $signature: 20
84247 };
84248 A._selectorPseudoIsSuperselector__closure0.prototype = {
84249 call$1(simple2) {
84250 var compound1, selector2, _this = this;
84251 if (simple2 instanceof A.TypeSelector0) {
84252 compound1 = B.JSArray_methods.get$last(_this.complex.components);
84253 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
84254 } else if (simple2 instanceof A.IDSelector0) {
84255 compound1 = B.JSArray_methods.get$last(_this.complex.components);
84256 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
84257 } else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
84258 selector2 = simple2.selector;
84259 if (selector2 == null)
84260 return false;
84261 return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
84262 } else
84263 return false;
84264 },
84265 $signature: 15
84266 };
84267 A._selectorPseudoIsSuperselector___closure1.prototype = {
84268 call$1(simple1) {
84269 var t1;
84270 if (simple1 instanceof A.TypeSelector0) {
84271 t1 = this.simple2.name.$eq(0, simple1.name);
84272 t1 = !t1;
84273 } else
84274 t1 = false;
84275 return t1;
84276 },
84277 $signature: 15
84278 };
84279 A._selectorPseudoIsSuperselector___closure2.prototype = {
84280 call$1(simple1) {
84281 var t1;
84282 if (simple1 instanceof A.IDSelector0) {
84283 t1 = simple1.name;
84284 t1 = this.simple2.name !== t1;
84285 } else
84286 t1 = false;
84287 return t1;
84288 },
84289 $signature: 15
84290 };
84291 A._selectorPseudoIsSuperselector_closure11.prototype = {
84292 call$1(selector2) {
84293 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
84294 return t1;
84295 },
84296 $signature: 86
84297 };
84298 A._selectorPseudoIsSuperselector_closure12.prototype = {
84299 call$1(pseudo2) {
84300 var t1, selector2;
84301 if (!(pseudo2 instanceof A.PseudoSelector0))
84302 return false;
84303 t1 = this.pseudo1;
84304 if (pseudo2.name !== t1.name)
84305 return false;
84306 if (pseudo2.argument != t1.argument)
84307 return false;
84308 selector2 = pseudo2.selector;
84309 if (selector2 == null)
84310 return false;
84311 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84312 },
84313 $signature: 15
84314 };
84315 A._selectorPseudoArgs_closure1.prototype = {
84316 call$1(pseudo) {
84317 return pseudo.isClass === this.isClass && pseudo.name === this.name;
84318 },
84319 $signature: 441
84320 };
84321 A._selectorPseudoArgs_closure2.prototype = {
84322 call$1(pseudo) {
84323 return pseudo.selector;
84324 },
84325 $signature: 442
84326 };
84327 A.globalFunctions_closure0.prototype = {
84328 call$1($arguments) {
84329 var t1 = J.getInterceptor$asx($arguments);
84330 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
84331 },
84332 $signature: 3
84333 };
84334 A.IDSelector0.prototype = {
84335 get$minSpecificity() {
84336 return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(this), 2));
84337 },
84338 accept$1$1(visitor) {
84339 var t1 = visitor._serialize0$_buffer;
84340 t1.writeCharCode$1(35);
84341 t1.write$1(0, this.name);
84342 return null;
84343 },
84344 accept$1(visitor) {
84345 return this.accept$1$1(visitor, type$.dynamic);
84346 },
84347 addSuffix$1(suffix) {
84348 return new A.IDSelector0(this.name + suffix);
84349 },
84350 unify$1(compound) {
84351 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
84352 return null;
84353 return this.super$SimpleSelector$unify0(compound);
84354 },
84355 $eq(_, other) {
84356 if (other == null)
84357 return false;
84358 return other instanceof A.IDSelector0 && other.name === this.name;
84359 },
84360 get$hashCode(_) {
84361 return B.JSString_methods.get$hashCode(this.name);
84362 }
84363 };
84364 A.IDSelector_unify_closure0.prototype = {
84365 call$1(simple) {
84366 var t1;
84367 if (simple instanceof A.IDSelector0) {
84368 t1 = simple.name;
84369 t1 = this.$this.name !== t1;
84370 } else
84371 t1 = false;
84372 return t1;
84373 },
84374 $signature: 15
84375 };
84376 A.IfExpression0.prototype = {
84377 accept$1$1(visitor) {
84378 return visitor.visitIfExpression$1(this);
84379 },
84380 accept$1(visitor) {
84381 return this.accept$1$1(visitor, type$.dynamic);
84382 },
84383 toString$0(_) {
84384 return "if" + this.$arguments.toString$0(0);
84385 },
84386 $isExpression0: 1,
84387 $isAstNode0: 1,
84388 get$span(receiver) {
84389 return this.span;
84390 }
84391 };
84392 A.IfRule0.prototype = {
84393 accept$1$1(visitor) {
84394 return visitor.visitIfRule$1(this);
84395 },
84396 accept$1(visitor) {
84397 return this.accept$1$1(visitor, type$.dynamic);
84398 },
84399 toString$0(_) {
84400 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
84401 lastClause = this.lastClause;
84402 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
84403 },
84404 $isAstNode0: 1,
84405 $isStatement0: 1,
84406 get$span(receiver) {
84407 return this.span;
84408 }
84409 };
84410 A.IfRule_toString_closure0.prototype = {
84411 call$2(index, clause) {
84412 var t1 = index === 0 ? "if" : "else if";
84413 return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
84414 },
84415 $signature: 443
84416 };
84417 A.IfRuleClause0.prototype = {};
84418 A.IfRuleClause$__closure0.prototype = {
84419 call$1(child) {
84420 var t1;
84421 if (!(child instanceof A.VariableDeclaration0))
84422 if (!(child instanceof A.FunctionRule0))
84423 if (!(child instanceof A.MixinRule0))
84424 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
84425 else
84426 t1 = true;
84427 else
84428 t1 = true;
84429 else
84430 t1 = true;
84431 return t1;
84432 },
84433 $signature: 227
84434 };
84435 A.IfRuleClause$___closure0.prototype = {
84436 call$1($import) {
84437 return $import instanceof A.DynamicImport0;
84438 },
84439 $signature: 228
84440 };
84441 A.IfClause0.prototype = {
84442 toString$0(_) {
84443 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84444 }
84445 };
84446 A.ElseClause0.prototype = {
84447 toString$0(_) {
84448 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84449 }
84450 };
84451 A.ImmutableList.prototype = {};
84452 A.ImmutableMap.prototype = {};
84453 A.immutableMapToDartMap_closure.prototype = {
84454 call$3(value, key, _) {
84455 this.dartMap.$indexSet(0, key, value);
84456 },
84457 "call*": "call$3",
84458 $requiredArgCount: 3,
84459 $signature: 446
84460 };
84461 A.NodeImporter.prototype = {
84462 loadRelative$3(url, previous, forImport) {
84463 var t1, t2, _null = null;
84464 if ($.$get$url().style.rootLength$1(url) > 0) {
84465 if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
84466 return _null;
84467 return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
84468 }
84469 if ((previous == null ? _null : previous.get$scheme()) !== "file")
84470 return _null;
84471 t1 = $.$get$context();
84472 t2 = t1.style;
84473 return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
84474 },
84475 load$3(_, url, previous, forImport) {
84476 var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
84477 previousString = _this._previousToString$1(previous);
84478 for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
84479 importer = t1[_i];
84480 context = {options: t4._as(t3), fromImport: forImport};
84481 J.set$context$x(J.get$options$x(context), context);
84482 value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
84483 if (value != null)
84484 return _this._handleImportResult$4(url, previous, value, forImport);
84485 }
84486 return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84487 },
84488 loadAsync$3(url, previous, forImport) {
84489 return this.loadAsync$body$NodeImporter(url, previous, forImport);
84490 },
84491 loadAsync$body$NodeImporter(url, previous, forImport) {
84492 var $async$goto = 0,
84493 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
84494 $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
84495 var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84496 if ($async$errorCode === 1)
84497 return A._asyncRethrow($async$result, $async$completer);
84498 while (true)
84499 switch ($async$goto) {
84500 case 0:
84501 // Function start
84502 previousString = $async$self._previousToString$1(previous);
84503 t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
84504 case 3:
84505 // for condition
84506 if (!(_i < t2)) {
84507 // goto after for
84508 $async$goto = 5;
84509 break;
84510 }
84511 $async$goto = 6;
84512 return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
84513 case 6:
84514 // returning from await.
84515 value = $async$result;
84516 if (value != null) {
84517 $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
84518 // goto return
84519 $async$goto = 1;
84520 break;
84521 }
84522 case 4:
84523 // for update
84524 ++_i;
84525 // goto for condition
84526 $async$goto = 3;
84527 break;
84528 case 5:
84529 // after for
84530 $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84531 // goto return
84532 $async$goto = 1;
84533 break;
84534 case 1:
84535 // return
84536 return A._asyncReturn($async$returnValue, $async$completer);
84537 }
84538 });
84539 return A._asyncStartSync($async$loadAsync$3, $async$completer);
84540 },
84541 _previousToString$1(previous) {
84542 if (previous == null)
84543 return "stdin";
84544 if (previous.get$scheme() === "file")
84545 return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
84546 return previous.toString$0(0);
84547 },
84548 _resolveLoadPathFromUrl$2(url, forImport) {
84549 return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
84550 },
84551 _resolveLoadPath$2(path, forImport) {
84552 var t2, t3, t4, t5, _i, parts, result, _null = null,
84553 t1 = $.$get$context(),
84554 cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
84555 if (cwdResult != null)
84556 return cwdResult;
84557 for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
84558 parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
84559 A._validateArgList("join", parts);
84560 result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
84561 if (result != null)
84562 return result;
84563 }
84564 return _null;
84565 },
84566 _tryPath$2(path, forImport) {
84567 var t1;
84568 if (forImport) {
84569 t1 = type$.nullable_Object;
84570 t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
84571 } else
84572 t1 = A.resolveImportPath0(path);
84573 return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
84574 },
84575 _handleImportResult$4(url, previous, value, forImport) {
84576 var t1, file, contents, resolved;
84577 if (value instanceof self.Error)
84578 throw A.wrapException(value);
84579 if (!type$.NodeImporterResult_2._is(value))
84580 return null;
84581 t1 = J.getInterceptor$x(value);
84582 file = t1.get$file(value);
84583 contents = t1.get$contents(value);
84584 if (file == null) {
84585 t1 = contents == null ? "" : contents;
84586 return new A.Tuple2(t1, url, type$.Tuple2_String_String);
84587 } else if (contents != null)
84588 return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
84589 else {
84590 resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
84591 if (resolved == null)
84592 resolved = this._resolveLoadPath$2(file, forImport);
84593 if (resolved != null)
84594 return resolved;
84595 throw A.wrapException("Can't find stylesheet to import.");
84596 }
84597 },
84598 _callImporterAsync$4(importer, url, previousString, forImport) {
84599 return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
84600 },
84601 _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
84602 var $async$goto = 0,
84603 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
84604 $async$returnValue, $async$self = this, t1, result;
84605 var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84606 if ($async$errorCode === 1)
84607 return A._asyncRethrow($async$result, $async$completer);
84608 while (true)
84609 switch ($async$goto) {
84610 case 0:
84611 // Function start
84612 t1 = new A._Future($.Zone__current, type$._Future_Object);
84613 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));
84614 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
84615 break;
84616 case 3:
84617 // then
84618 $async$goto = 5;
84619 return A._asyncAwait(t1, $async$_callImporterAsync$4);
84620 case 5:
84621 // returning from await.
84622 $async$returnValue = $async$result;
84623 // goto return
84624 $async$goto = 1;
84625 break;
84626 case 4:
84627 // join
84628 $async$returnValue = result;
84629 // goto return
84630 $async$goto = 1;
84631 break;
84632 case 1:
84633 // return
84634 return A._asyncReturn($async$returnValue, $async$completer);
84635 }
84636 });
84637 return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
84638 },
84639 _renderContext$1(fromImport) {
84640 var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
84641 J.set$context$x(J.get$options$x(context), context);
84642 return context;
84643 }
84644 };
84645 A.NodeImporter__tryPath_closure.prototype = {
84646 call$0() {
84647 return A.resolveImportPath0(this.path);
84648 },
84649 $signature: 41
84650 };
84651 A.NodeImporter__tryPath_closure0.prototype = {
84652 call$1(resolved) {
84653 return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
84654 },
84655 $signature: 447
84656 };
84657 A.ModifiableCssImport0.prototype = {
84658 accept$1$1(visitor) {
84659 return visitor.visitCssImport$1(this);
84660 },
84661 accept$1(visitor) {
84662 return this.accept$1$1(visitor, type$.dynamic);
84663 },
84664 $isCssImport0: 1,
84665 get$span(receiver) {
84666 return this.span;
84667 }
84668 };
84669 A.ImportCache0.prototype = {
84670 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
84671 var relativeResult, _this = this;
84672 if (baseImporter != null) {
84673 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));
84674 if (relativeResult != null)
84675 return relativeResult;
84676 }
84677 return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
84678 },
84679 _import_cache$_canonicalize$3(importer, url, forImport) {
84680 var t1, result;
84681 if (forImport) {
84682 t1 = type$.nullable_Object;
84683 result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
84684 } else
84685 result = importer.canonicalize$1(0, url);
84686 if ((result == null ? null : result.get$scheme()) === "")
84687 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);
84688 return result;
84689 },
84690 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
84691 return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
84692 },
84693 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
84694 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
84695 },
84696 humanize$1(canonicalUrl) {
84697 var t2, url,
84698 t1 = this._import_cache$_canonicalizeCache;
84699 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
84700 t2 = t1.$ti;
84701 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());
84702 if (url == null)
84703 return canonicalUrl;
84704 t1 = $.$get$url();
84705 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
84706 },
84707 sourceMapUrl$1(_, canonicalUrl) {
84708 var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
84709 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
84710 return t1 == null ? canonicalUrl : t1;
84711 }
84712 };
84713 A.ImportCache_canonicalize_closure1.prototype = {
84714 call$0() {
84715 var canonicalUrl, _this = this,
84716 t1 = _this.baseUrl,
84717 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
84718 if (resolvedUrl == null)
84719 resolvedUrl = _this.url;
84720 t1 = _this.baseImporter;
84721 canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
84722 if (canonicalUrl == null)
84723 return null;
84724 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
84725 },
84726 $signature: 229
84727 };
84728 A.ImportCache_canonicalize_closure2.prototype = {
84729 call$0() {
84730 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
84731 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) {
84732 importer = t2[_i];
84733 canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
84734 if (canonicalUrl != null)
84735 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
84736 }
84737 return null;
84738 },
84739 $signature: 229
84740 };
84741 A.ImportCache__canonicalize_closure0.prototype = {
84742 call$0() {
84743 return this.importer.canonicalize$1(0, this.url);
84744 },
84745 $signature: 185
84746 };
84747 A.ImportCache_importCanonical_closure0.prototype = {
84748 call$0() {
84749 var t2, t3, t4, _this = this,
84750 t1 = _this.canonicalUrl,
84751 result = _this.importer.load$1(0, t1);
84752 if (result == null)
84753 return null;
84754 t2 = _this.$this;
84755 t2._import_cache$_resultsCache.$indexSet(0, t1, result);
84756 t3 = result.contents;
84757 t4 = result.syntax;
84758 t1 = _this.originalUrl.resolveUri$1(t1);
84759 return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
84760 },
84761 $signature: 449
84762 };
84763 A.ImportCache_humanize_closure2.prototype = {
84764 call$1(tuple) {
84765 return tuple.item2.$eq(0, this.canonicalUrl);
84766 },
84767 $signature: 450
84768 };
84769 A.ImportCache_humanize_closure3.prototype = {
84770 call$1(tuple) {
84771 return tuple.item3;
84772 },
84773 $signature: 451
84774 };
84775 A.ImportCache_humanize_closure4.prototype = {
84776 call$1(url) {
84777 return url.get$path(url).length;
84778 },
84779 $signature: 96
84780 };
84781 A.ImportRule0.prototype = {
84782 accept$1$1(visitor) {
84783 return visitor.visitImportRule$1(this);
84784 },
84785 accept$1(visitor) {
84786 return this.accept$1$1(visitor, type$.dynamic);
84787 },
84788 toString$0(_) {
84789 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
84790 },
84791 $isAstNode0: 1,
84792 $isStatement0: 1,
84793 get$span(receiver) {
84794 return this.span;
84795 }
84796 };
84797 A.NodeImporter0.prototype = {};
84798 A.CanonicalizeOptions.prototype = {};
84799 A.NodeImporterResult0.prototype = {};
84800 A.Importer0.prototype = {};
84801 A.NodeImporterResult1.prototype = {};
84802 A.IncludeRule0.prototype = {
84803 get$spanWithoutContent() {
84804 var t2, t3,
84805 t1 = this.span;
84806 if (!(this.content == null)) {
84807 t2 = t1.file;
84808 t3 = this.$arguments.span;
84809 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)));
84810 t1 = t3;
84811 }
84812 return t1;
84813 },
84814 accept$1$1(visitor) {
84815 return visitor.visitIncludeRule$1(this);
84816 },
84817 accept$1(visitor) {
84818 return this.accept$1$1(visitor, type$.dynamic);
84819 },
84820 toString$0(_) {
84821 var t2, _this = this,
84822 t1 = _this.namespace;
84823 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
84824 t1 += _this.name;
84825 t2 = _this.$arguments;
84826 if (!t2.get$isEmpty(t2))
84827 t1 += "(" + t2.toString$0(0) + ")";
84828 t2 = _this.content;
84829 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
84830 return t1.charCodeAt(0) == 0 ? t1 : t1;
84831 },
84832 $isAstNode0: 1,
84833 $isStatement0: 1,
84834 get$span(receiver) {
84835 return this.span;
84836 }
84837 };
84838 A.InterpolatedFunctionExpression0.prototype = {
84839 accept$1$1(visitor) {
84840 return visitor.visitInterpolatedFunctionExpression$1(this);
84841 },
84842 accept$1(visitor) {
84843 return this.accept$1$1(visitor, type$.dynamic);
84844 },
84845 toString$0(_) {
84846 return this.name.toString$0(0) + this.$arguments.toString$0(0);
84847 },
84848 $isExpression0: 1,
84849 $isAstNode0: 1,
84850 get$span(receiver) {
84851 return this.span;
84852 }
84853 };
84854 A.Interpolation0.prototype = {
84855 get$asPlain() {
84856 var first,
84857 t1 = this.contents,
84858 t2 = t1.length;
84859 if (t2 === 0)
84860 return "";
84861 if (t2 > 1)
84862 return null;
84863 first = B.JSArray_methods.get$first(t1);
84864 return typeof first == "string" ? first : null;
84865 },
84866 get$initialPlain() {
84867 var first = B.JSArray_methods.get$first(this.contents);
84868 return typeof first == "string" ? first : "";
84869 },
84870 Interpolation$20(contents, span) {
84871 var t1, t2, t3, i, t4, t5,
84872 _s8_ = "contents";
84873 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
84874 t4 = t1[i];
84875 t5 = typeof t4 == "string";
84876 if (!t5 && !t3._is(t4))
84877 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
84878 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
84879 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
84880 }
84881 },
84882 toString$0(_) {
84883 var t1 = this.contents;
84884 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
84885 },
84886 $isAstNode0: 1,
84887 get$span(receiver) {
84888 return this.span;
84889 }
84890 };
84891 A.Interpolation_toString_closure0.prototype = {
84892 call$1(value) {
84893 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
84894 },
84895 $signature: 48
84896 };
84897 A.SupportsInterpolation0.prototype = {
84898 toString$0(_) {
84899 return "#{" + this.expression.toString$0(0) + "}";
84900 },
84901 $isAstNode0: 1,
84902 get$span(receiver) {
84903 return this.span;
84904 }
84905 };
84906 A.InterpolationBuffer0.prototype = {
84907 writeCharCode$1(character) {
84908 this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
84909 return null;
84910 },
84911 add$1(_, expression) {
84912 this._interpolation_buffer0$_flushText$0();
84913 this._interpolation_buffer0$_contents.push(expression);
84914 },
84915 addInterpolation$1(interpolation) {
84916 var first, t1, _this = this,
84917 toAdd = interpolation.contents;
84918 if (toAdd.length === 0)
84919 return;
84920 first = B.JSArray_methods.get$first(toAdd);
84921 if (typeof first == "string") {
84922 _this._interpolation_buffer0$_text._contents += first;
84923 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
84924 }
84925 _this._interpolation_buffer0$_flushText$0();
84926 t1 = _this._interpolation_buffer0$_contents;
84927 B.JSArray_methods.addAll$1(t1, toAdd);
84928 if (typeof B.JSArray_methods.get$last(t1) == "string")
84929 _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
84930 },
84931 _interpolation_buffer0$_flushText$0() {
84932 var t1 = this._interpolation_buffer0$_text,
84933 t2 = t1._contents;
84934 if (t2.length === 0)
84935 return;
84936 this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84937 t1._contents = "";
84938 },
84939 interpolation$1(span) {
84940 var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
84941 t2 = this._interpolation_buffer0$_text._contents;
84942 if (t2.length !== 0)
84943 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84944 return A.Interpolation$0(t1, span);
84945 },
84946 toString$0(_) {
84947 var t1, t2, _i, t3, element;
84948 for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
84949 element = t1[_i];
84950 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
84951 }
84952 t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
84953 return t1.charCodeAt(0) == 0 ? t1 : t1;
84954 }
84955 };
84956 A._realCasePath_helper0.prototype = {
84957 call$1(path) {
84958 var dirname = $.$get$context().dirname$1(path);
84959 if (dirname === path)
84960 return path;
84961 return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
84962 },
84963 $signature: 5
84964 };
84965 A._realCasePath_helper_closure0.prototype = {
84966 call$0() {
84967 var matches, t2, exception,
84968 realDirname = this.helper.call$1(this.dirname),
84969 t1 = this.path,
84970 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
84971 try {
84972 matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
84973 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
84974 return t2;
84975 } catch (exception) {
84976 if (A.unwrapException(exception) instanceof A.FileSystemException0)
84977 return t1;
84978 else
84979 throw exception;
84980 }
84981 },
84982 $signature: 29
84983 };
84984 A._realCasePath_helper__closure0.prototype = {
84985 call$1(realPath) {
84986 return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
84987 },
84988 $signature: 6
84989 };
84990 A.ModifiableCssKeyframeBlock0.prototype = {
84991 accept$1$1(visitor) {
84992 return visitor.visitCssKeyframeBlock$1(this);
84993 },
84994 accept$1(visitor) {
84995 return this.accept$1$1(visitor, type$.dynamic);
84996 },
84997 copyWithoutChildren$0() {
84998 return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
84999 },
85000 get$span(receiver) {
85001 return this.span;
85002 }
85003 };
85004 A.KeyframeSelectorParser0.prototype = {
85005 parse$0() {
85006 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
85007 },
85008 _keyframe_selector$_percentage$0() {
85009 var t3, next,
85010 t1 = this.scanner,
85011 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
85012 second = t1.peekChar$0();
85013 if (!A.isDigit0(second) && second !== 46)
85014 t1.error$1(0, "Expected number.");
85015 while (true) {
85016 t3 = t1.peekChar$0();
85017 if (!(t3 != null && t3 >= 48 && t3 <= 57))
85018 break;
85019 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85020 }
85021 if (t1.peekChar$0() === 46) {
85022 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85023 while (true) {
85024 t3 = t1.peekChar$0();
85025 if (!(t3 != null && t3 >= 48 && t3 <= 57))
85026 break;
85027 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85028 }
85029 }
85030 if (this.scanIdentChar$1(101)) {
85031 t2 += A.Primitives_stringFromCharCode(101);
85032 next = t1.peekChar$0();
85033 if (next === 43 || next === 45)
85034 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85035 if (!A.isDigit0(t1.peekChar$0()))
85036 t1.error$1(0, "Expected digit.");
85037 while (true) {
85038 t3 = t1.peekChar$0();
85039 if (!(t3 != null && t3 >= 48 && t3 <= 57))
85040 break;
85041 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85042 }
85043 }
85044 t1.expectChar$1(37);
85045 t2 += A.Primitives_stringFromCharCode(37);
85046 return t2.charCodeAt(0) == 0 ? t2 : t2;
85047 }
85048 };
85049 A.KeyframeSelectorParser_parse_closure0.prototype = {
85050 call$0() {
85051 var selectors = A._setArrayType([], type$.JSArray_String),
85052 t1 = this.$this,
85053 t2 = t1.scanner;
85054 do {
85055 t1.whitespace$0();
85056 if (t1.lookingAtIdentifier$0())
85057 if (t1.scanIdentifier$1("from"))
85058 selectors.push("from");
85059 else {
85060 t1.expectIdentifier$2$name("to", '"to" or "from"');
85061 selectors.push("to");
85062 }
85063 else
85064 selectors.push(t1._keyframe_selector$_percentage$0());
85065 t1.whitespace$0();
85066 } while (t2.scanChar$1(44));
85067 t2.expectDone$0();
85068 return selectors;
85069 },
85070 $signature: 46
85071 };
85072 A.render_closure.prototype = {
85073 call$0() {
85074 var error, exception;
85075 try {
85076 this.callback.call$2(null, A.renderSync(this.options));
85077 } catch (exception) {
85078 error = A.unwrapException(exception);
85079 this.callback.call$2(error, null);
85080 }
85081 return null;
85082 },
85083 $signature: 1
85084 };
85085 A.render_closure0.prototype = {
85086 call$1(result) {
85087 this.callback.call$2(null, result);
85088 },
85089 $signature: 452
85090 };
85091 A.render_closure1.prototype = {
85092 call$2(error, stackTrace) {
85093 var t2, t3, _null = null,
85094 t1 = this.callback;
85095 if (error instanceof A.SassException0)
85096 t1.call$2(A._wrapException(error, stackTrace), _null);
85097 else {
85098 t2 = J.toString$0$(error);
85099 t3 = A.getTrace0(error);
85100 t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
85101 }
85102 },
85103 $signature: 63
85104 };
85105 A._parseFunctions_closure.prototype = {
85106 call$2(signature, callback) {
85107 var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
85108 try {
85109 tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
85110 } catch (exception) {
85111 t1 = A.unwrapException(exception);
85112 if (t1 instanceof A.SassFormatException0) {
85113 error = t1;
85114 stackTrace = A.getTraceFromException(exception);
85115 t1 = error;
85116 t2 = J.getInterceptor$z(t1);
85117 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
85118 } else
85119 throw exception;
85120 }
85121 t1 = _this.options;
85122 context = {options: A._contextOptions(t1, _this.start)};
85123 J.set$context$x(J.get$options$x(context), context);
85124 fiber = J.get$fiber$x(t1);
85125 if (fiber != null)
85126 _this.result.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure(fiber, callback, context)));
85127 else {
85128 t1 = _this.result;
85129 if (!_this.asynch)
85130 t1.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure0(callback, context)));
85131 else
85132 t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
85133 }
85134 },
85135 $signature: 111
85136 };
85137 A._parseFunctions__closure.prototype = {
85138 call$1($arguments) {
85139 var result,
85140 t1 = this.fiber,
85141 currentFiber = J.get$current$x(t1),
85142 t2 = type$.Object;
85143 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
85144 t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
85145 result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
85146 return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
85147 },
85148 $signature: 3
85149 };
85150 A._parseFunctions___closure0.prototype = {
85151 call$1(result) {
85152 A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
85153 },
85154 call$0() {
85155 return this.call$1(null);
85156 },
85157 "call*": "call$1",
85158 $requiredArgCount: 0,
85159 $defaultValues() {
85160 return [null];
85161 },
85162 $signature: 71
85163 };
85164 A._parseFunctions____closure.prototype = {
85165 call$0() {
85166 return J.run$1$x(this.currentFiber, this.result);
85167 },
85168 $signature: 0
85169 };
85170 A._parseFunctions___closure1.prototype = {
85171 call$0() {
85172 return J.yield$0$x(this.fiber);
85173 },
85174 $signature: 88
85175 };
85176 A._parseFunctions__closure0.prototype = {
85177 call$1($arguments) {
85178 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)));
85179 },
85180 $signature: 3
85181 };
85182 A._parseFunctions__closure1.prototype = {
85183 call$1($arguments) {
85184 return this.$call$body$_parseFunctions__closure($arguments);
85185 },
85186 $call$body$_parseFunctions__closure($arguments) {
85187 var $async$goto = 0,
85188 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
85189 $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
85190 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
85191 if ($async$errorCode === 1)
85192 return A._asyncRethrow($async$result, $async$completer);
85193 while (true)
85194 switch ($async$goto) {
85195 case 0:
85196 // Function start
85197 t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
85198 t2 = type$.Object;
85199 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
85200 t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
85201 result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
85202 $async$temp1 = A;
85203 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
85204 break;
85205 case 3:
85206 // then
85207 $async$goto = 6;
85208 return A._asyncAwait(t1, $async$call$1);
85209 case 6:
85210 // returning from await.
85211 // goto join
85212 $async$goto = 4;
85213 break;
85214 case 5:
85215 // else
85216 $async$result = result;
85217 case 4:
85218 // join
85219 $async$returnValue = $async$temp1.unwrapValue($async$result);
85220 // goto return
85221 $async$goto = 1;
85222 break;
85223 case 1:
85224 // return
85225 return A._asyncReturn($async$returnValue, $async$completer);
85226 }
85227 });
85228 return A._asyncStartSync($async$call$1, $async$completer);
85229 },
85230 $signature: 99
85231 };
85232 A._parseFunctions___closure.prototype = {
85233 call$1(result) {
85234 return this.completer.complete$1(result);
85235 },
85236 call$0() {
85237 return this.call$1(null);
85238 },
85239 "call*": "call$1",
85240 $requiredArgCount: 0,
85241 $defaultValues() {
85242 return [null];
85243 },
85244 $signature: 251
85245 };
85246 A._parseImporter_closure.prototype = {
85247 call$1(importer) {
85248 return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
85249 },
85250 $signature: 453
85251 };
85252 A._parseImporter__closure.prototype = {
85253 call$4(thisArg, url, previous, _) {
85254 var t1 = this.fiber,
85255 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));
85256 if (A._asBool($.$get$_isUndefined().call$1(result)))
85257 return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
85258 return result;
85259 },
85260 call$3(thisArg, url, previous) {
85261 return this.call$4(thisArg, url, previous, null);
85262 },
85263 "call*": "call$4",
85264 $requiredArgCount: 3,
85265 $defaultValues() {
85266 return [null];
85267 },
85268 $signature: 454
85269 };
85270 A._parseImporter___closure.prototype = {
85271 call$1(result) {
85272 A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
85273 },
85274 $signature: 455
85275 };
85276 A._parseImporter____closure.prototype = {
85277 call$0() {
85278 return J.run$1$x(this.currentFiber, this.result);
85279 },
85280 $signature: 0
85281 };
85282 A._parseImporter___closure0.prototype = {
85283 call$0() {
85284 return J.yield$0$x(this.fiber);
85285 },
85286 $signature: 88
85287 };
85288 A.LimitedMapView0.prototype = {
85289 get$keys(_) {
85290 return this._limited_map_view0$_keys;
85291 },
85292 get$length(_) {
85293 return this._limited_map_view0$_keys._collection$_length;
85294 },
85295 get$isEmpty(_) {
85296 return this._limited_map_view0$_keys._collection$_length === 0;
85297 },
85298 get$isNotEmpty(_) {
85299 return this._limited_map_view0$_keys._collection$_length !== 0;
85300 },
85301 $index(_, key) {
85302 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
85303 },
85304 containsKey$1(key) {
85305 return this._limited_map_view0$_keys.contains$1(0, key);
85306 },
85307 remove$1(_, key) {
85308 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
85309 }
85310 };
85311 A.ListExpression0.prototype = {
85312 accept$1$1(visitor) {
85313 return visitor.visitListExpression$1(this);
85314 },
85315 accept$1(visitor) {
85316 return this.accept$1$1(visitor, type$.dynamic);
85317 },
85318 toString$0(_) {
85319 var _this = this,
85320 t1 = _this.hasBrackets,
85321 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
85322 t3 = _this.contents,
85323 t4 = _this.separator === B.ListSeparator_kWM0 ? ", " : " ";
85324 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
85325 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
85326 return t1.charCodeAt(0) == 0 ? t1 : t1;
85327 },
85328 _list3$_elementNeedsParens$1(expression) {
85329 var t1;
85330 if (expression instanceof A.ListExpression0) {
85331 if (expression.contents.length < 2)
85332 return false;
85333 if (expression.hasBrackets)
85334 return false;
85335 t1 = expression.separator;
85336 return this.separator === B.ListSeparator_kWM0 ? t1 === B.ListSeparator_kWM0 : t1 !== B.ListSeparator_undecided_null0;
85337 }
85338 if (this.separator !== B.ListSeparator_woc0)
85339 return false;
85340 if (expression instanceof A.UnaryOperationExpression0) {
85341 t1 = expression.operator;
85342 return t1 === B.UnaryOperator_j2w0 || t1 === B.UnaryOperator_U4G0;
85343 }
85344 return false;
85345 },
85346 $isExpression0: 1,
85347 $isAstNode0: 1,
85348 get$span(receiver) {
85349 return this.span;
85350 }
85351 };
85352 A.ListExpression_toString_closure0.prototype = {
85353 call$1(element) {
85354 return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
85355 },
85356 $signature: 122
85357 };
85358 A._length_closure2.prototype = {
85359 call$1($arguments) {
85360 var t1 = J.$index$asx($arguments, 0).get$asList().length;
85361 return new A.UnitlessSassNumber0(t1, null);
85362 },
85363 $signature: 10
85364 };
85365 A._nth_closure0.prototype = {
85366 call$1($arguments) {
85367 var t1 = J.getInterceptor$asx($arguments),
85368 list = t1.$index($arguments, 0),
85369 index = t1.$index($arguments, 1);
85370 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
85371 },
85372 $signature: 3
85373 };
85374 A._setNth_closure0.prototype = {
85375 call$1($arguments) {
85376 var t1 = J.getInterceptor$asx($arguments),
85377 list = t1.$index($arguments, 0),
85378 index = t1.$index($arguments, 1),
85379 value = t1.$index($arguments, 2),
85380 t2 = list.get$asList(),
85381 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85382 newList[list.sassIndexToListIndex$2(index, "n")] = value;
85383 return t1.$index($arguments, 0).withListContents$1(newList);
85384 },
85385 $signature: 22
85386 };
85387 A._join_closure0.prototype = {
85388 call$1($arguments) {
85389 var separator, bracketed,
85390 t1 = J.getInterceptor$asx($arguments),
85391 list1 = t1.$index($arguments, 0),
85392 list2 = t1.$index($arguments, 1),
85393 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
85394 bracketedParam = t1.$index($arguments, 3);
85395 t1 = separatorParam._string0$_text;
85396 if (t1 === "auto")
85397 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null0)
85398 separator = list1.get$separator(list1);
85399 else
85400 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null0 ? list2.get$separator(list2) : B.ListSeparator_woc0;
85401 else if (t1 === "space")
85402 separator = B.ListSeparator_woc0;
85403 else if (t1 === "comma")
85404 separator = B.ListSeparator_kWM0;
85405 else {
85406 if (t1 !== "slash")
85407 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85408 separator = B.ListSeparator_1gm0;
85409 }
85410 bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
85411 t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
85412 B.JSArray_methods.addAll$1(t1, list2.get$asList());
85413 return A.SassList$0(t1, separator, bracketed);
85414 },
85415 $signature: 22
85416 };
85417 A._append_closure2.prototype = {
85418 call$1($arguments) {
85419 var separator,
85420 t1 = J.getInterceptor$asx($arguments),
85421 list = t1.$index($arguments, 0),
85422 value = t1.$index($arguments, 1);
85423 t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
85424 if (t1 === "auto")
85425 separator = list.get$separator(list) === B.ListSeparator_undecided_null0 ? B.ListSeparator_woc0 : list.get$separator(list);
85426 else if (t1 === "space")
85427 separator = B.ListSeparator_woc0;
85428 else if (t1 === "comma")
85429 separator = B.ListSeparator_kWM0;
85430 else {
85431 if (t1 !== "slash")
85432 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85433 separator = B.ListSeparator_1gm0;
85434 }
85435 t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
85436 t1.push(value);
85437 return list.withListContents$2$separator(t1, separator);
85438 },
85439 $signature: 22
85440 };
85441 A._zip_closure0.prototype = {
85442 call$1($arguments) {
85443 var results, result, _box_0 = {},
85444 t1 = J.$index$asx($arguments, 0).get$asList(),
85445 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
85446 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
85447 if (lists.length === 0)
85448 return B.SassList_yfz0;
85449 _box_0.i = 0;
85450 results = A._setArrayType([], type$.JSArray_SassList_2);
85451 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));) {
85452 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
85453 result.fixed$length = Array;
85454 result.immutable$list = Array;
85455 results.push(new A.SassList0(result, B.ListSeparator_woc0, false));
85456 ++_box_0.i;
85457 }
85458 return A.SassList$0(results, B.ListSeparator_kWM0, false);
85459 },
85460 $signature: 22
85461 };
85462 A._zip__closure2.prototype = {
85463 call$1(list) {
85464 return list.get$asList();
85465 },
85466 $signature: 457
85467 };
85468 A._zip__closure3.prototype = {
85469 call$1(list) {
85470 return this._box_0.i !== J.get$length$asx(list);
85471 },
85472 $signature: 458
85473 };
85474 A._zip__closure4.prototype = {
85475 call$1(list) {
85476 return J.$index$asx(list, this._box_0.i);
85477 },
85478 $signature: 3
85479 };
85480 A._index_closure2.prototype = {
85481 call$1($arguments) {
85482 var t1 = J.getInterceptor$asx($arguments),
85483 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
85484 if (index === -1)
85485 t1 = B.C__SassNull0;
85486 else
85487 t1 = new A.UnitlessSassNumber0(index + 1, null);
85488 return t1;
85489 },
85490 $signature: 3
85491 };
85492 A._separator_closure0.prototype = {
85493 call$1($arguments) {
85494 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
85495 case B.ListSeparator_kWM0:
85496 return new A.SassString0("comma", false);
85497 case B.ListSeparator_1gm0:
85498 return new A.SassString0("slash", false);
85499 default:
85500 return new A.SassString0("space", false);
85501 }
85502 },
85503 $signature: 13
85504 };
85505 A._isBracketed_closure0.prototype = {
85506 call$1($arguments) {
85507 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
85508 },
85509 $signature: 18
85510 };
85511 A._slash_closure0.prototype = {
85512 call$1($arguments) {
85513 var list = J.$index$asx($arguments, 0).get$asList();
85514 if (list.length < 2)
85515 throw A.wrapException(A.SassScriptException$0("At least two elements are required."));
85516 return A.SassList$0(list, B.ListSeparator_1gm0, false);
85517 },
85518 $signature: 22
85519 };
85520 A.SelectorList0.prototype = {
85521 get$isInvisible() {
85522 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure0());
85523 },
85524 get$asSassList() {
85525 var t1 = this.components;
85526 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);
85527 },
85528 accept$1$1(visitor) {
85529 return visitor.visitSelectorList$1(this);
85530 },
85531 accept$1(visitor) {
85532 return this.accept$1$1(visitor, type$.dynamic);
85533 },
85534 unify$1(other) {
85535 var t1 = this.components,
85536 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"),
85537 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure0(other), t2), true, t2._eval$1("Iterable.E"));
85538 return contents.length === 0 ? null : A.SelectorList$0(contents);
85539 },
85540 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
85541 var t1, _this = this;
85542 if ($parent == null) {
85543 if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
85544 return _this;
85545 throw A.wrapException(A.SassScriptException$0(string$.Top_le));
85546 }
85547 t1 = _this.components;
85548 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));
85549 },
85550 resolveParentSelectors$1($parent) {
85551 return this.resolveParentSelectors$2$implicitParent($parent, true);
85552 },
85553 _list2$_complexContainsParentSelector$1(complex) {
85554 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
85555 },
85556 _list2$_resolveParentSelectorsCompound$2(compound, $parent) {
85557 var resolvedMembers0, parentSelector, t1,
85558 resolvedMembers = compound.components,
85559 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure2());
85560 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector0))
85561 return null;
85562 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector0>")) : resolvedMembers;
85563 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
85564 if (parentSelector instanceof A.ParentSelector0) {
85565 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
85566 return $parent.components;
85567 } else
85568 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
85569 t1 = $parent.components;
85570 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85571 },
85572 get$hashCode(_) {
85573 return B.C_ListEquality0.hash$1(this.components);
85574 },
85575 $eq(_, other) {
85576 if (other == null)
85577 return false;
85578 return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
85579 }
85580 };
85581 A.SelectorList_isInvisible_closure0.prototype = {
85582 call$1(complex) {
85583 return complex.get$isInvisible();
85584 },
85585 $signature: 20
85586 };
85587 A.SelectorList_asSassList_closure0.prototype = {
85588 call$1(complex) {
85589 var t1 = complex.components;
85590 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);
85591 },
85592 $signature: 459
85593 };
85594 A.SelectorList_asSassList__closure0.prototype = {
85595 call$1(component) {
85596 return new A.SassString0(component.toString$0(0), false);
85597 },
85598 $signature: 460
85599 };
85600 A.SelectorList_unify_closure0.prototype = {
85601 call$1(complex1) {
85602 var t1 = this.other.components;
85603 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure0(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"));
85604 },
85605 $signature: 119
85606 };
85607 A.SelectorList_unify__closure0.prototype = {
85608 call$1(complex2) {
85609 var unified = A.unifyComplex0(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent_2));
85610 if (unified == null)
85611 return B.List_empty14;
85612 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure0(), type$.ComplexSelector_2);
85613 },
85614 $signature: 119
85615 };
85616 A.SelectorList_unify___closure0.prototype = {
85617 call$1(complex) {
85618 return A.ComplexSelector$0(complex, false);
85619 },
85620 $signature: 72
85621 };
85622 A.SelectorList_resolveParentSelectors_closure0.prototype = {
85623 call$1(complex) {
85624 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 = {},
85625 t1 = _this.$this;
85626 if (!t1._list2$_complexContainsParentSelector$1(complex)) {
85627 if (!_this.implicitParent)
85628 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
85629 t1 = _this.parent.components;
85630 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85631 }
85632 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
85633 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2)], t2);
85634 t3 = type$.JSArray_bool;
85635 _box_0.lineBreaks = A._setArrayType([false], t3);
85636 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent_2, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
85637 component = t4[_i];
85638 if (component instanceof A.CompoundSelector0) {
85639 resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t7);
85640 if (resolved == null) {
85641 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85642 newComplexes[_i0].push(component);
85643 continue;
85644 }
85645 previousLineBreaks = _box_0.lineBreaks;
85646 newComplexes0 = A._setArrayType([], t2);
85647 _box_0.lineBreaks = A._setArrayType([], t3);
85648 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) {
85649 newComplex = newComplexes[_i0];
85650 i0 = i + 1;
85651 lineBreak = previousLineBreaks[i];
85652 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
85653 t12 = t10.get$current(t10);
85654 t13 = A.List_List$of(newComplex, true, t6);
85655 B.JSArray_methods.addAll$1(t13, t12.components);
85656 newComplexes0.push(t13);
85657 t13 = _box_0.lineBreaks;
85658 t13.push(!t11 || t12.lineBreak);
85659 }
85660 }
85661 newComplexes = newComplexes0;
85662 } else
85663 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85664 newComplexes[_i0].push(component);
85665 }
85666 _box_0.i = 0;
85667 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure2(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85668 },
85669 $signature: 119
85670 };
85671 A.SelectorList_resolveParentSelectors__closure1.prototype = {
85672 call$1(parentComplex) {
85673 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent_2),
85674 t2 = this.complex;
85675 B.JSArray_methods.addAll$1(t1, t2.components);
85676 return A.ComplexSelector$0(t1, t2.lineBreak || parentComplex.lineBreak);
85677 },
85678 $signature: 132
85679 };
85680 A.SelectorList_resolveParentSelectors__closure2.prototype = {
85681 call$1(newComplex) {
85682 var t1 = this._box_0;
85683 return A.ComplexSelector$0(newComplex, t1.lineBreaks[t1.i++]);
85684 },
85685 $signature: 72
85686 };
85687 A.SelectorList__complexContainsParentSelector_closure0.prototype = {
85688 call$1(component) {
85689 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure0());
85690 },
85691 $signature: 106
85692 };
85693 A.SelectorList__complexContainsParentSelector__closure0.prototype = {
85694 call$1(simple) {
85695 var selector;
85696 if (simple instanceof A.ParentSelector0)
85697 return true;
85698 if (!(simple instanceof A.PseudoSelector0))
85699 return false;
85700 selector = simple.selector;
85701 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85702 },
85703 $signature: 15
85704 };
85705 A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
85706 call$1(simple) {
85707 var selector;
85708 if (!(simple instanceof A.PseudoSelector0))
85709 return false;
85710 selector = simple.selector;
85711 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85712 },
85713 $signature: 15
85714 };
85715 A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
85716 call$1(simple) {
85717 var selector, t1, t2, t3;
85718 if (!(simple instanceof A.PseudoSelector0))
85719 return simple;
85720 selector = simple.selector;
85721 if (selector == null)
85722 return simple;
85723 if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
85724 return simple;
85725 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
85726 t2 = simple.name;
85727 t3 = simple.isClass;
85728 return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
85729 },
85730 $signature: 463
85731 };
85732 A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
85733 call$1(complex) {
85734 var suffix, t2, t3, t4, t5, last,
85735 t1 = complex.components,
85736 lastComponent = B.JSArray_methods.get$last(t1);
85737 if (!(lastComponent instanceof A.CompoundSelector0))
85738 throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
85739 suffix = type$.ParentSelector_2._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
85740 t2 = type$.SimpleSelector_2;
85741 t3 = this.resolvedMembers;
85742 t4 = lastComponent.components;
85743 t5 = J.getInterceptor$ax(t3);
85744 if (suffix != null) {
85745 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
85746 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
85747 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85748 last = A.CompoundSelector$0(t2);
85749 } else {
85750 t2 = A.List_List$of(t4, true, t2);
85751 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85752 last = A.CompoundSelector$0(t2);
85753 }
85754 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);
85755 t1.push(last);
85756 return A.ComplexSelector$0(t1, complex.lineBreak);
85757 },
85758 $signature: 132
85759 };
85760 A._NodeSassList.prototype = {};
85761 A.legacyListClass_closure.prototype = {
85762 call$4(thisArg, $length, commaSeparator, dartValue) {
85763 var t1;
85764 if (dartValue == null) {
85765 $length.toString;
85766 t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
85767 t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_kWM0 : B.ListSeparator_woc0, false);
85768 } else
85769 t1 = dartValue;
85770 J.set$dartValue$x(thisArg, t1);
85771 },
85772 call$2(thisArg, $length) {
85773 return this.call$4(thisArg, $length, null, null);
85774 },
85775 call$3(thisArg, $length, commaSeparator) {
85776 return this.call$4(thisArg, $length, commaSeparator, null);
85777 },
85778 "call*": "call$4",
85779 $requiredArgCount: 2,
85780 $defaultValues() {
85781 return [null, null];
85782 },
85783 $signature: 464
85784 };
85785 A.legacyListClass__closure.prototype = {
85786 call$1(_) {
85787 return B.C__SassNull0;
85788 },
85789 $signature: 233
85790 };
85791 A.legacyListClass_closure0.prototype = {
85792 call$2(thisArg, index) {
85793 return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
85794 },
85795 $signature: 466
85796 };
85797 A.legacyListClass_closure1.prototype = {
85798 call$3(thisArg, index, value) {
85799 var t1 = J.getInterceptor$x(thisArg),
85800 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85801 mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85802 mutable[index] = A.unwrapValue(value);
85803 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
85804 },
85805 "call*": "call$3",
85806 $requiredArgCount: 3,
85807 $signature: 467
85808 };
85809 A.legacyListClass_closure2.prototype = {
85810 call$1(thisArg) {
85811 return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_kWM0;
85812 },
85813 $signature: 468
85814 };
85815 A.legacyListClass_closure3.prototype = {
85816 call$2(thisArg, isComma) {
85817 var t1 = J.getInterceptor$x(thisArg),
85818 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85819 t3 = isComma ? B.ListSeparator_kWM0 : B.ListSeparator_woc0;
85820 t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
85821 },
85822 $signature: 469
85823 };
85824 A.legacyListClass_closure4.prototype = {
85825 call$1(thisArg) {
85826 return J.get$dartValue$x(thisArg)._list1$_contents.length;
85827 },
85828 $signature: 470
85829 };
85830 A.listClass_closure.prototype = {
85831 call$0() {
85832 var t1 = type$.JSClass,
85833 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
85834 J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
85835 A.JSClassExtension_injectSuperclass(t1._as(B.SassList_0.constructor), jsClass);
85836 return jsClass;
85837 },
85838 $signature: 23
85839 };
85840 A.listClass__closure.prototype = {
85841 call$3($self, contentsOrOptions, options) {
85842 var contents, t1, t2;
85843 if (self.immutable.isList(contentsOrOptions))
85844 contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
85845 else if (type$.List_dynamic._is(contentsOrOptions))
85846 contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
85847 else {
85848 contents = A._setArrayType([], type$.JSArray_Value_2);
85849 type$.nullable__ConstructorOptions._as(contentsOrOptions);
85850 options = contentsOrOptions;
85851 }
85852 t1 = options == null;
85853 if (!t1) {
85854 t2 = J.get$separator$x(options);
85855 t2 = A._asBool($.$get$_isUndefined().call$1(t2));
85856 } else
85857 t2 = true;
85858 t2 = t2 ? B.ListSeparator_kWM0 : A.jsToDartSeparator(J.get$separator$x(options));
85859 t1 = t1 ? null : J.get$brackets$x(options);
85860 return A.SassList$0(contents, t2, t1 == null ? false : t1);
85861 },
85862 call$1($self) {
85863 return this.call$3($self, null, null);
85864 },
85865 call$2($self, contentsOrOptions) {
85866 return this.call$3($self, contentsOrOptions, null);
85867 },
85868 "call*": "call$3",
85869 $requiredArgCount: 1,
85870 $defaultValues() {
85871 return [null, null];
85872 },
85873 $signature: 471
85874 };
85875 A.listClass__closure0.prototype = {
85876 call$2($self, indexFloat) {
85877 var index = B.JSNumber_methods.floor$0(indexFloat);
85878 if (index < 0)
85879 index = $self.get$asList().length + index;
85880 if (index < 0 || index >= $self.get$asList().length)
85881 return self.undefined;
85882 return $self.get$asList()[index];
85883 },
85884 $signature: 234
85885 };
85886 A._ConstructorOptions.prototype = {};
85887 A.SassList0.prototype = {
85888 get$separator(_) {
85889 return this._list1$_separator;
85890 },
85891 get$hasBrackets() {
85892 return this._list1$_hasBrackets;
85893 },
85894 get$isBlank() {
85895 return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
85896 },
85897 get$asList() {
85898 return this._list1$_contents;
85899 },
85900 get$lengthAsList() {
85901 return this._list1$_contents.length;
85902 },
85903 SassList$3$brackets0(contents, _separator, brackets) {
85904 if (this._list1$_separator === B.ListSeparator_undecided_null0 && this._list1$_contents.length > 1)
85905 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
85906 },
85907 accept$1$1(visitor) {
85908 return visitor.visitList$1(this);
85909 },
85910 accept$1(visitor) {
85911 return this.accept$1$1(visitor, type$.dynamic);
85912 },
85913 assertMap$1($name) {
85914 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
85915 },
85916 tryMap$0() {
85917 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
85918 },
85919 $eq(_, other) {
85920 var t1, _this = this;
85921 if (other == null)
85922 return false;
85923 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)))
85924 t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
85925 else
85926 t1 = true;
85927 return t1;
85928 },
85929 get$hashCode(_) {
85930 return B.C_ListEquality0.hash$1(this._list1$_contents);
85931 }
85932 };
85933 A.SassList_isBlank_closure0.prototype = {
85934 call$1(element) {
85935 return element.get$isBlank();
85936 },
85937 $signature: 49
85938 };
85939 A.ListSeparator0.prototype = {
85940 toString$0(_) {
85941 return this._list1$_name;
85942 }
85943 };
85944 A.NodeLogger.prototype = {};
85945 A.WarnOptions.prototype = {};
85946 A.DebugOptions.prototype = {};
85947 A._QuietLogger0.prototype = {
85948 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
85949 },
85950 warn$2$span($receiver, message, span) {
85951 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
85952 },
85953 warn$3$deprecation$span($receiver, message, deprecation, span) {
85954 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
85955 }
85956 };
85957 A.LoudComment0.prototype = {
85958 get$span(_) {
85959 return this.text.span;
85960 },
85961 accept$1$1(visitor) {
85962 return visitor.visitLoudComment$1(this);
85963 },
85964 accept$1(visitor) {
85965 return this.accept$1$1(visitor, type$.dynamic);
85966 },
85967 toString$0(_) {
85968 return this.text.toString$0(0);
85969 },
85970 $isAstNode0: 1,
85971 $isStatement0: 1
85972 };
85973 A.MapExpression0.prototype = {
85974 accept$1$1(visitor) {
85975 return visitor.visitMapExpression$1(this);
85976 },
85977 accept$1(visitor) {
85978 return this.accept$1$1(visitor, type$.dynamic);
85979 },
85980 toString$0(_) {
85981 var t1 = this.pairs;
85982 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
85983 },
85984 $isExpression0: 1,
85985 $isAstNode0: 1,
85986 get$span(receiver) {
85987 return this.span;
85988 }
85989 };
85990 A.MapExpression_toString_closure0.prototype = {
85991 call$1(pair) {
85992 return A.S(pair.item1) + ": " + A.S(pair.item2);
85993 },
85994 $signature: 473
85995 };
85996 A._get_closure0.prototype = {
85997 call$1($arguments) {
85998 var t3, t4, value,
85999 t1 = J.getInterceptor$asx($arguments),
86000 map = t1.$index($arguments, 0).assertMap$1("map"),
86001 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86002 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86003 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) {
86004 t4 = t1.__internal$_current;
86005 if (t4 == null)
86006 t4 = t3._as(t4);
86007 value = map._map0$_contents.$index(0, t4);
86008 if (!(value instanceof A.SassMap0))
86009 return B.C__SassNull0;
86010 }
86011 t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
86012 return t1 == null ? B.C__SassNull0 : t1;
86013 },
86014 $signature: 3
86015 };
86016 A._set_closure1.prototype = {
86017 call$1($arguments) {
86018 var t1 = J.getInterceptor$asx($arguments);
86019 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);
86020 },
86021 $signature: 3
86022 };
86023 A._set__closure2.prototype = {
86024 call$1(_) {
86025 return J.$index$asx(this.$arguments, 2);
86026 },
86027 $signature: 38
86028 };
86029 A._set_closure2.prototype = {
86030 call$1($arguments) {
86031 var t1 = J.getInterceptor$asx($arguments),
86032 map = t1.$index($arguments, 0).assertMap$1("map"),
86033 args = t1.$index($arguments, 1).get$asList();
86034 t1 = args.length;
86035 if (t1 === 0)
86036 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
86037 else if (t1 === 1)
86038 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value."));
86039 return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
86040 },
86041 $signature: 3
86042 };
86043 A._set__closure1.prototype = {
86044 call$1(_) {
86045 return B.JSArray_methods.get$last(this.args);
86046 },
86047 $signature: 38
86048 };
86049 A._merge_closure1.prototype = {
86050 call$1($arguments) {
86051 var t2, t3, t4,
86052 t1 = J.getInterceptor$asx($arguments),
86053 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
86054 map2 = t1.$index($arguments, 1).assertMap$1("map2");
86055 t1 = type$.Value_2;
86056 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
86057 for (t3 = map1._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86058 t4 = t3.get$current(t3);
86059 t2.$indexSet(0, t4.key, t4.value);
86060 }
86061 for (t3 = map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86062 t4 = t3.get$current(t3);
86063 t2.$indexSet(0, t4.key, t4.value);
86064 }
86065 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86066 },
86067 $signature: 40
86068 };
86069 A._merge_closure2.prototype = {
86070 call$1($arguments) {
86071 var map2,
86072 t1 = J.getInterceptor$asx($arguments),
86073 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
86074 args = t1.$index($arguments, 1).get$asList();
86075 t1 = args.length;
86076 if (t1 === 0)
86077 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
86078 else if (t1 === 1)
86079 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map."));
86080 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
86081 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);
86082 },
86083 $signature: 3
86084 };
86085 A._merge__closure0.prototype = {
86086 call$1(oldValue) {
86087 var t1, t2, t3, t4,
86088 nestedMap = oldValue.tryMap$0();
86089 if (nestedMap == null)
86090 return this.map2;
86091 t1 = type$.Value_2;
86092 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
86093 for (t3 = nestedMap._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86094 t4 = t3.get$current(t3);
86095 t2.$indexSet(0, t4.key, t4.value);
86096 }
86097 for (t3 = this.map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86098 t4 = t3.get$current(t3);
86099 t2.$indexSet(0, t4.key, t4.value);
86100 }
86101 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86102 },
86103 $signature: 474
86104 };
86105 A._deepMerge_closure0.prototype = {
86106 call$1($arguments) {
86107 var t1 = J.getInterceptor$asx($arguments);
86108 return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
86109 },
86110 $signature: 40
86111 };
86112 A._deepRemove_closure0.prototype = {
86113 call$1($arguments) {
86114 var t1 = J.getInterceptor$asx($arguments),
86115 map = t1.$index($arguments, 0).assertMap$1("map"),
86116 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86117 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86118 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);
86119 },
86120 $signature: 3
86121 };
86122 A._deepRemove__closure0.prototype = {
86123 call$1(value) {
86124 var t1, t2,
86125 nestedMap = value.tryMap$0();
86126 if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
86127 t1 = type$.Value_2;
86128 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
86129 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
86130 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86131 }
86132 return value;
86133 },
86134 $signature: 38
86135 };
86136 A._remove_closure1.prototype = {
86137 call$1($arguments) {
86138 return J.$index$asx($arguments, 0).assertMap$1("map");
86139 },
86140 $signature: 40
86141 };
86142 A._remove_closure2.prototype = {
86143 call$1($arguments) {
86144 var mutableMap, t3, _i,
86145 t1 = J.getInterceptor$asx($arguments),
86146 map = t1.$index($arguments, 0).assertMap$1("map"),
86147 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86148 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86149 t1 = type$.Value_2;
86150 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
86151 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
86152 mutableMap.remove$1(0, t2[_i]);
86153 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86154 },
86155 $signature: 40
86156 };
86157 A._keys_closure0.prototype = {
86158 call$1($arguments) {
86159 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
86160 return A.SassList$0(t1.get$keys(t1), B.ListSeparator_kWM0, false);
86161 },
86162 $signature: 22
86163 };
86164 A._values_closure0.prototype = {
86165 call$1($arguments) {
86166 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
86167 return A.SassList$0(t1.get$values(t1), B.ListSeparator_kWM0, false);
86168 },
86169 $signature: 22
86170 };
86171 A._hasKey_closure0.prototype = {
86172 call$1($arguments) {
86173 var t3, t4, value,
86174 t1 = J.getInterceptor$asx($arguments),
86175 map = t1.$index($arguments, 0).assertMap$1("map"),
86176 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86177 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86178 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) {
86179 t4 = t1.__internal$_current;
86180 if (t4 == null)
86181 t4 = t3._as(t4);
86182 value = map._map0$_contents.$index(0, t4);
86183 if (!(value instanceof A.SassMap0))
86184 return B.SassBoolean_false0;
86185 }
86186 return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86187 },
86188 $signature: 18
86189 };
86190 A._modify__modifyNestedMap0.prototype = {
86191 call$1(map) {
86192 var nestedMap, _this = this,
86193 t1 = type$.Value_2,
86194 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
86195 t2 = _this.keyIterator,
86196 key = t2.get$current(t2);
86197 if (!t2.moveNext$0()) {
86198 t2 = mutableMap.$index(0, key);
86199 if (t2 == null)
86200 t2 = B.C__SassNull0;
86201 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
86202 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86203 }
86204 t2 = mutableMap.$index(0, key);
86205 nestedMap = t2 == null ? null : t2.tryMap$0();
86206 t2 = nestedMap == null;
86207 if (t2 && !_this.addNesting)
86208 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86209 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
86210 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86211 },
86212 $signature: 475
86213 };
86214 A._deepMergeImpl_closure0.prototype = {
86215 call$2(key, value) {
86216 var valueMap, merged,
86217 t1 = this.result,
86218 t2 = t1.$index(0, key),
86219 resultMap = t2 == null ? null : t2.tryMap$0();
86220 if (resultMap == null)
86221 t1.$indexSet(0, key, value);
86222 else {
86223 valueMap = value.tryMap$0();
86224 if (valueMap != null) {
86225 merged = A._deepMergeImpl0(resultMap, valueMap);
86226 if (merged === resultMap)
86227 return;
86228 t1.$indexSet(0, key, merged);
86229 } else
86230 t1.$indexSet(0, key, value);
86231 }
86232 },
86233 $signature: 55
86234 };
86235 A._NodeSassMap.prototype = {};
86236 A.legacyMapClass_closure.prototype = {
86237 call$3(thisArg, $length, dartValue) {
86238 var t1, t2, t3, map;
86239 if (dartValue == null) {
86240 $length.toString;
86241 t1 = type$.Value_2;
86242 t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
86243 t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
86244 map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
86245 A.MapBase__fillMapWithIterables(map, t2, t3);
86246 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
86247 } else
86248 t1 = dartValue;
86249 J.set$dartValue$x(thisArg, t1);
86250 },
86251 call$2(thisArg, $length) {
86252 return this.call$3(thisArg, $length, null);
86253 },
86254 "call*": "call$3",
86255 $requiredArgCount: 2,
86256 $defaultValues() {
86257 return [null];
86258 },
86259 $signature: 476
86260 };
86261 A.legacyMapClass__closure.prototype = {
86262 call$1(i) {
86263 return new A.UnitlessSassNumber0(i, null);
86264 },
86265 $signature: 477
86266 };
86267 A.legacyMapClass__closure0.prototype = {
86268 call$1(_) {
86269 return B.C__SassNull0;
86270 },
86271 $signature: 233
86272 };
86273 A.legacyMapClass_closure0.prototype = {
86274 call$2(thisArg, index) {
86275 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86276 return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
86277 },
86278 $signature: 235
86279 };
86280 A.legacyMapClass_closure1.prototype = {
86281 call$2(thisArg, index) {
86282 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86283 return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
86284 },
86285 $signature: 235
86286 };
86287 A.legacyMapClass_closure2.prototype = {
86288 call$1(thisArg) {
86289 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86290 return t1.get$length(t1);
86291 },
86292 $signature: 479
86293 };
86294 A.legacyMapClass_closure3.prototype = {
86295 call$3(thisArg, index, key) {
86296 var newKey, t2, newMap, t3, i, t4, t5,
86297 t1 = J.getInterceptor$x(thisArg);
86298 A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
86299 newKey = A.unwrapValue(key);
86300 t2 = type$.Value_2;
86301 newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86302 for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
86303 t4 = t3.get$current(t3);
86304 if (i === index)
86305 newMap.$indexSet(0, newKey, t4.value);
86306 else {
86307 t5 = t4.key;
86308 if (newKey.$eq(0, t5))
86309 throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
86310 newMap.$indexSet(0, t5, t4.value);
86311 }
86312 ++i;
86313 }
86314 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
86315 },
86316 "call*": "call$3",
86317 $requiredArgCount: 3,
86318 $signature: 236
86319 };
86320 A.legacyMapClass_closure4.prototype = {
86321 call$3(thisArg, index, value) {
86322 var t3, t4, t5,
86323 t1 = J.getInterceptor$x(thisArg),
86324 t2 = t1.get$dartValue(thisArg)._map0$_contents,
86325 key = J.elementAt$1$ax(t2.get$keys(t2), index);
86326 t2 = type$.Value_2;
86327 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86328 for (t4 = t1.get$dartValue(thisArg)._map0$_contents, t4 = t4.get$entries(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
86329 t5 = t4.get$current(t4);
86330 t3.$indexSet(0, t5.key, t5.value);
86331 }
86332 t3.$indexSet(0, key, A.unwrapValue(value));
86333 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
86334 },
86335 "call*": "call$3",
86336 $requiredArgCount: 3,
86337 $signature: 236
86338 };
86339 A.mapClass_closure.prototype = {
86340 call$0() {
86341 var t1 = type$.JSClass,
86342 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
86343 t2 = J.getInterceptor$x(jsClass);
86344 A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
86345 t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
86346 A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
86347 return jsClass;
86348 },
86349 $signature: 23
86350 };
86351 A.mapClass__closure.prototype = {
86352 call$2($self, contents) {
86353 var t1;
86354 if (contents == null)
86355 t1 = B.SassMap_Map_empty0;
86356 else {
86357 t1 = type$.Value_2;
86358 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
86359 }
86360 return t1;
86361 },
86362 call$1($self) {
86363 return this.call$2($self, null);
86364 },
86365 "call*": "call$2",
86366 $requiredArgCount: 1,
86367 $defaultValues() {
86368 return [null];
86369 },
86370 $signature: 481
86371 };
86372 A.mapClass__closure0.prototype = {
86373 call$1($self) {
86374 return A.dartMapToImmutableMap($self._map0$_contents);
86375 },
86376 $signature: 482
86377 };
86378 A.mapClass__closure1.prototype = {
86379 call$2($self, indexOrKey) {
86380 var index, t1, entry;
86381 if (typeof indexOrKey == "number") {
86382 index = B.JSNumber_methods.floor$0(indexOrKey);
86383 if (index < 0) {
86384 t1 = $self._map0$_contents;
86385 index = t1.get$length(t1) + index;
86386 }
86387 if (index >= 0) {
86388 t1 = $self._map0$_contents;
86389 t1 = index >= t1.get$length(t1);
86390 } else
86391 t1 = true;
86392 if (t1)
86393 return self.undefined;
86394 t1 = $self._map0$_contents;
86395 entry = t1.get$entries(t1).elementAt$1(0, index);
86396 return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_woc0, false);
86397 } else {
86398 t1 = $self._map0$_contents.$index(0, indexOrKey);
86399 return t1 == null ? self.undefined : t1;
86400 }
86401 },
86402 $signature: 483
86403 };
86404 A.SassMap0.prototype = {
86405 get$separator(_) {
86406 var t1 = this._map0$_contents;
86407 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null0 : B.ListSeparator_kWM0;
86408 },
86409 get$asList() {
86410 var result = A._setArrayType([], type$.JSArray_Value_2);
86411 this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
86412 return result;
86413 },
86414 get$lengthAsList() {
86415 var t1 = this._map0$_contents;
86416 return t1.get$length(t1);
86417 },
86418 accept$1$1(visitor) {
86419 return visitor.visitMap$1(this);
86420 },
86421 accept$1(visitor) {
86422 return this.accept$1$1(visitor, type$.dynamic);
86423 },
86424 assertMap$1($name) {
86425 return this;
86426 },
86427 tryMap$0() {
86428 return this;
86429 },
86430 $eq(_, other) {
86431 var t1;
86432 if (other == null)
86433 return false;
86434 if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
86435 t1 = this._map0$_contents;
86436 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
86437 } else
86438 t1 = true;
86439 return t1;
86440 },
86441 get$hashCode(_) {
86442 var t1 = this._map0$_contents;
86443 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty15) : B.C_MapEquality.hash$1(t1);
86444 }
86445 };
86446 A.SassMap_asList_closure0.prototype = {
86447 call$2(key, value) {
86448 this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_woc0, false));
86449 },
86450 $signature: 55
86451 };
86452 A._ceil_closure0.prototype = {
86453 call$1(value) {
86454 return B.JSNumber_methods.ceil$0(value);
86455 },
86456 $signature: 42
86457 };
86458 A._clamp_closure0.prototype = {
86459 call$1($arguments) {
86460 var t1 = J.getInterceptor$asx($arguments),
86461 min = t1.$index($arguments, 0).assertNumber$1("min"),
86462 number = t1.$index($arguments, 1).assertNumber$1("number"),
86463 max = t1.$index($arguments, 2).assertNumber$1("max");
86464 number.convertValueToMatch$3(min, "number", "min");
86465 max.convertValueToMatch$3(min, "max", "min");
86466 if (min.greaterThanOrEquals$1(max).value)
86467 return min;
86468 if (min.greaterThanOrEquals$1(number).value)
86469 return min;
86470 if (number.greaterThanOrEquals$1(max).value)
86471 return max;
86472 return number;
86473 },
86474 $signature: 10
86475 };
86476 A._floor_closure0.prototype = {
86477 call$1(value) {
86478 return B.JSNumber_methods.floor$0(value);
86479 },
86480 $signature: 42
86481 };
86482 A._max_closure0.prototype = {
86483 call$1($arguments) {
86484 var t1, t2, max, _i, number;
86485 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) {
86486 number = t1[_i].assertNumber$0();
86487 if (max == null || max.lessThan$1(number).value)
86488 max = number;
86489 }
86490 if (max != null)
86491 return max;
86492 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86493 },
86494 $signature: 10
86495 };
86496 A._min_closure0.prototype = {
86497 call$1($arguments) {
86498 var t1, t2, min, _i, number;
86499 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) {
86500 number = t1[_i].assertNumber$0();
86501 if (min == null || min.greaterThan$1(number).value)
86502 min = number;
86503 }
86504 if (min != null)
86505 return min;
86506 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86507 },
86508 $signature: 10
86509 };
86510 A._abs_closure0.prototype = {
86511 call$1(value) {
86512 return Math.abs(value);
86513 },
86514 $signature: 73
86515 };
86516 A._hypot_closure0.prototype = {
86517 call$1($arguments) {
86518 var subtotal, i, i0, t3, t4,
86519 t1 = J.$index$asx($arguments, 0).get$asList(),
86520 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
86521 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
86522 t1 = numbers.length;
86523 if (t1 === 0)
86524 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86525 for (subtotal = 0, i = 0; i < t1; i = i0) {
86526 i0 = i + 1;
86527 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
86528 }
86529 t1 = Math.sqrt(subtotal);
86530 t2 = numbers[0];
86531 t3 = J.getInterceptor$x(t2);
86532 t4 = t3.get$numeratorUnits(t2);
86533 return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
86534 },
86535 $signature: 10
86536 };
86537 A._hypot__closure0.prototype = {
86538 call$1(argument) {
86539 return argument.assertNumber$0();
86540 },
86541 $signature: 484
86542 };
86543 A._log_closure0.prototype = {
86544 call$1($arguments) {
86545 var numberValue, base, baseValue, t2,
86546 _s18_ = " to have no units.",
86547 t1 = J.getInterceptor$asx($arguments),
86548 number = t1.$index($arguments, 0).assertNumber$1("number");
86549 if (number.get$hasUnits())
86550 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_));
86551 numberValue = A._fuzzyRoundIfZero0(number._number1$_value);
86552 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0)) {
86553 t1 = Math.log(numberValue);
86554 return new A.UnitlessSassNumber0(t1, null);
86555 }
86556 base = t1.$index($arguments, 1).assertNumber$1("base");
86557 if (base.get$hasUnits())
86558 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86559 t1 = base._number1$_value;
86560 baseValue = Math.abs(t1 - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86561 t1 = Math.log(numberValue);
86562 t2 = Math.log(baseValue);
86563 return new A.UnitlessSassNumber0(t1 / t2, null);
86564 },
86565 $signature: 10
86566 };
86567 A._pow_closure0.prototype = {
86568 call$1($arguments) {
86569 var baseValue, exponentValue, t2, intExponent, t3,
86570 _s18_ = " to have no units.",
86571 _null = null,
86572 t1 = J.getInterceptor$asx($arguments),
86573 base = t1.$index($arguments, 0).assertNumber$1("base"),
86574 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
86575 if (base.get$hasUnits())
86576 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86577 else if (exponent.get$hasUnits())
86578 throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_));
86579 baseValue = A._fuzzyRoundIfZero0(base._number1$_value);
86580 exponentValue = A._fuzzyRoundIfZero0(exponent._number1$_value);
86581 t1 = $.$get$epsilon0();
86582 if (Math.abs(Math.abs(baseValue) - 1) < t1)
86583 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
86584 else
86585 t2 = false;
86586 if (t2)
86587 return new A.UnitlessSassNumber0(0 / 0, _null);
86588 else {
86589 t2 = Math.abs(baseValue - 0);
86590 if (t2 < t1) {
86591 if (isFinite(exponentValue)) {
86592 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86593 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86594 exponentValue = A.fuzzyRound0(exponentValue);
86595 }
86596 } else {
86597 if (isFinite(baseValue))
86598 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt0(exponentValue);
86599 else
86600 t3 = false;
86601 if (t3)
86602 exponentValue = A.fuzzyRound0(exponentValue);
86603 else {
86604 if (baseValue == 1 / 0 || baseValue == -1 / 0)
86605 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
86606 else
86607 t1 = false;
86608 if (t1) {
86609 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86610 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86611 exponentValue = A.fuzzyRound0(exponentValue);
86612 }
86613 }
86614 }
86615 }
86616 t1 = Math.pow(baseValue, exponentValue);
86617 return new A.UnitlessSassNumber0(t1, _null);
86618 },
86619 $signature: 10
86620 };
86621 A._sqrt_closure0.prototype = {
86622 call$1($arguments) {
86623 var t1,
86624 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86625 if (number.get$hasUnits())
86626 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86627 t1 = Math.sqrt(A._fuzzyRoundIfZero0(number._number1$_value));
86628 return new A.UnitlessSassNumber0(t1, null);
86629 },
86630 $signature: 10
86631 };
86632 A._acos_closure0.prototype = {
86633 call$1($arguments) {
86634 var numberValue,
86635 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86636 if (number.get$hasUnits())
86637 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86638 numberValue = number._number1$_value;
86639 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon0())
86640 numberValue = A.fuzzyRound0(numberValue);
86641 return A.SassNumber_SassNumber$withUnits0(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86642 },
86643 $signature: 10
86644 };
86645 A._asin_closure0.prototype = {
86646 call$1($arguments) {
86647 var t1, numberValue,
86648 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86649 if (number.get$hasUnits())
86650 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86651 t1 = number._number1$_value;
86652 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86653 return A.SassNumber_SassNumber$withUnits0(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86654 },
86655 $signature: 10
86656 };
86657 A._atan_closure0.prototype = {
86658 call$1($arguments) {
86659 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86660 if (number.get$hasUnits())
86661 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86662 return A.SassNumber_SassNumber$withUnits0(Math.atan(A._fuzzyRoundIfZero0(number._number1$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86663 },
86664 $signature: 10
86665 };
86666 A._atan2_closure0.prototype = {
86667 call$1($arguments) {
86668 var t1 = J.getInterceptor$asx($arguments),
86669 y = t1.$index($arguments, 0).assertNumber$1("y"),
86670 xValue = A._fuzzyRoundIfZero0(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
86671 return A.SassNumber_SassNumber$withUnits0(Math.atan2(A._fuzzyRoundIfZero0(y._number1$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86672 },
86673 $signature: 10
86674 };
86675 A._cos_closure0.prototype = {
86676 call$1($arguments) {
86677 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
86678 return new A.UnitlessSassNumber0(t1, null);
86679 },
86680 $signature: 10
86681 };
86682 A._sin_closure0.prototype = {
86683 call$1($arguments) {
86684 var t1 = Math.sin(A._fuzzyRoundIfZero0(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
86685 return new A.UnitlessSassNumber0(t1, null);
86686 },
86687 $signature: 10
86688 };
86689 A._tan_closure0.prototype = {
86690 call$1($arguments) {
86691 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
86692 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
86693 t2 = $.$get$epsilon0();
86694 if (Math.abs(t1 - 0) < t2)
86695 return new A.UnitlessSassNumber0(1 / 0, null);
86696 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
86697 return new A.UnitlessSassNumber0(-1 / 0, null);
86698 else {
86699 t1 = Math.tan(A._fuzzyRoundIfZero0(value));
86700 return new A.UnitlessSassNumber0(t1, null);
86701 }
86702 },
86703 $signature: 10
86704 };
86705 A._compatible_closure0.prototype = {
86706 call$1($arguments) {
86707 var t1 = J.getInterceptor$asx($arguments);
86708 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86709 },
86710 $signature: 18
86711 };
86712 A._isUnitless_closure0.prototype = {
86713 call$1($arguments) {
86714 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
86715 },
86716 $signature: 18
86717 };
86718 A._unit_closure0.prototype = {
86719 call$1($arguments) {
86720 return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
86721 },
86722 $signature: 13
86723 };
86724 A._percentage_closure0.prototype = {
86725 call$1($arguments) {
86726 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86727 number.assertNoUnits$1("number");
86728 return new A.SingleUnitSassNumber0("%", number._number1$_value * 100, null);
86729 },
86730 $signature: 10
86731 };
86732 A._randomFunction_closure0.prototype = {
86733 call$1($arguments) {
86734 var limit,
86735 t1 = J.getInterceptor$asx($arguments);
86736 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0)) {
86737 t1 = $.$get$_random2().nextDouble$0();
86738 return new A.UnitlessSassNumber0(t1, null);
86739 }
86740 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
86741 if (limit < 1)
86742 throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit + "."));
86743 t1 = $.$get$_random2().nextInt$1(limit);
86744 return new A.UnitlessSassNumber0(t1 + 1, null);
86745 },
86746 $signature: 10
86747 };
86748 A._div_closure0.prototype = {
86749 call$1($arguments) {
86750 var t1 = J.getInterceptor$asx($arguments),
86751 number1 = t1.$index($arguments, 0),
86752 number2 = t1.$index($arguments, 1);
86753 if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
86754 A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
86755 return number1.dividedBy$1(number2);
86756 },
86757 $signature: 3
86758 };
86759 A._numberFunction_closure0.prototype = {
86760 call$1($arguments) {
86761 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
86762 t1 = this.transform.call$1(number._number1$_value),
86763 t2 = number.get$numeratorUnits(number);
86764 return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
86765 },
86766 $signature: 10
86767 };
86768 A.CssMediaQuery0.prototype = {
86769 merge$1(other) {
86770 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
86771 t1 = _this.modifier,
86772 ourModifier = t1 == null ? _null : t1.toLowerCase(),
86773 t2 = _this.type,
86774 t3 = t2 == null,
86775 ourType = t3 ? _null : t2.toLowerCase(),
86776 t4 = other.modifier,
86777 theirModifier = t4 == null ? _null : t4.toLowerCase(),
86778 t5 = other.type,
86779 t6 = t5 == null,
86780 theirType = t6 ? _null : t5.toLowerCase(),
86781 t7 = ourType == null;
86782 if (t7 && theirType == null) {
86783 t1 = type$.String;
86784 t2 = A.List_List$of(_this.features, true, t1);
86785 B.JSArray_methods.addAll$1(t2, other.features);
86786 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(t2, t1)));
86787 }
86788 t8 = ourModifier === "not";
86789 if (t8 !== (theirModifier === "not")) {
86790 if (ourType == theirType) {
86791 negativeFeatures = t8 ? _this.features : other.features;
86792 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
86793 return B._SingletonCssMediaQueryMergeResult_empty0;
86794 else
86795 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86796 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
86797 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86798 if (t8) {
86799 features = other.features;
86800 type = theirType;
86801 modifier = theirModifier;
86802 } else {
86803 features = _this.features;
86804 type = ourType;
86805 modifier = ourModifier;
86806 }
86807 } else if (t8) {
86808 if (ourType != theirType)
86809 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86810 fewerFeatures = _this.features;
86811 fewerFeatures0 = other.features;
86812 t3 = fewerFeatures.length > fewerFeatures0.length;
86813 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
86814 if (t3)
86815 fewerFeatures = fewerFeatures0;
86816 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
86817 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86818 features = moreFeatures;
86819 type = ourType;
86820 modifier = ourModifier;
86821 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
86822 type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
86823 t3 = A.List_List$of(_this.features, true, type$.String);
86824 B.JSArray_methods.addAll$1(t3, other.features);
86825 features = t3;
86826 modifier = theirModifier;
86827 } else {
86828 if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
86829 t3 = A.List_List$of(_this.features, true, type$.String);
86830 B.JSArray_methods.addAll$1(t3, other.features);
86831 features = t3;
86832 modifier = ourModifier;
86833 } else {
86834 if (ourType != theirType)
86835 return B._SingletonCssMediaQueryMergeResult_empty0;
86836 else {
86837 modifier = ourModifier == null ? theirModifier : ourModifier;
86838 t3 = A.List_List$of(_this.features, true, type$.String);
86839 B.JSArray_methods.addAll$1(t3, other.features);
86840 }
86841 features = t3;
86842 }
86843 type = ourType;
86844 }
86845 t2 = type == ourType ? t2 : t5;
86846 t1 = modifier == ourModifier ? t1 : t4;
86847 t3 = A.List_List$unmodifiable(features, type$.String);
86848 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(t1, t2, t3));
86849 },
86850 $eq(_, other) {
86851 if (other == null)
86852 return false;
86853 return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
86854 },
86855 get$hashCode(_) {
86856 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
86857 },
86858 toString$0(_) {
86859 var t2, _this = this,
86860 t1 = _this.modifier;
86861 t1 = t1 != null ? "" + (t1 + " ") : "";
86862 t2 = _this.type;
86863 if (t2 != null) {
86864 t1 += t2;
86865 if (_this.features.length !== 0)
86866 t1 += " and ";
86867 }
86868 t1 += B.JSArray_methods.join$1(_this.features, " and ");
86869 return t1.charCodeAt(0) == 0 ? t1 : t1;
86870 }
86871 };
86872 A._SingletonCssMediaQueryMergeResult0.prototype = {
86873 toString$0(_) {
86874 return this._media_query0$_name;
86875 }
86876 };
86877 A.MediaQuerySuccessfulMergeResult0.prototype = {};
86878 A.MediaQueryParser0.prototype = {
86879 parse$0() {
86880 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
86881 },
86882 _media_query1$_mediaQuery$0() {
86883 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
86884 t1 = _this.scanner;
86885 if (t1.peekChar$0() !== 40) {
86886 identifier1 = _this.identifier$0();
86887 _this.whitespace$0();
86888 if (!_this.lookingAtIdentifier$0())
86889 return new A.CssMediaQuery0(_null, identifier1, B.List_empty);
86890 identifier2 = _this.identifier$0();
86891 _this.whitespace$0();
86892 if (A.equalsIgnoreCase0(identifier2, "and")) {
86893 type = identifier1;
86894 modifier = _null;
86895 } else {
86896 if (_this.scanIdentifier$1("and"))
86897 _this.whitespace$0();
86898 else
86899 return new A.CssMediaQuery0(identifier1, identifier2, B.List_empty);
86900 type = identifier2;
86901 modifier = identifier1;
86902 }
86903 } else {
86904 type = _null;
86905 modifier = type;
86906 }
86907 features = A._setArrayType([], type$.JSArray_String);
86908 do {
86909 _this.whitespace$0();
86910 t1.expectChar$1(40);
86911 features.push("(" + _this.declarationValue$0() + ")");
86912 t1.expectChar$1(41);
86913 _this.whitespace$0();
86914 } while (_this.scanIdentifier$1("and"));
86915 if (type == null)
86916 return new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(features, type$.String));
86917 else {
86918 t1 = A.List_List$unmodifiable(features, type$.String);
86919 return new A.CssMediaQuery0(modifier, type, t1);
86920 }
86921 }
86922 };
86923 A.MediaQueryParser_parse_closure0.prototype = {
86924 call$0() {
86925 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
86926 t1 = this.$this,
86927 t2 = t1.scanner;
86928 do {
86929 t1.whitespace$0();
86930 queries.push(t1._media_query1$_mediaQuery$0());
86931 } while (t2.scanChar$1(44));
86932 t2.expectDone$0();
86933 return queries;
86934 },
86935 $signature: 113
86936 };
86937 A.ModifiableCssMediaRule0.prototype = {
86938 accept$1$1(visitor) {
86939 return visitor.visitCssMediaRule$1(this);
86940 },
86941 accept$1(visitor) {
86942 return this.accept$1$1(visitor, type$.dynamic);
86943 },
86944 copyWithoutChildren$0() {
86945 return A.ModifiableCssMediaRule$0(this.queries, this.span);
86946 },
86947 $isCssMediaRule0: 1,
86948 get$span(receiver) {
86949 return this.span;
86950 }
86951 };
86952 A.MediaRule0.prototype = {
86953 accept$1$1(visitor) {
86954 return visitor.visitMediaRule$1(this);
86955 },
86956 accept$1(visitor) {
86957 return this.accept$1$1(visitor, type$.dynamic);
86958 },
86959 toString$0(_) {
86960 var t1 = this.children;
86961 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
86962 },
86963 get$span(receiver) {
86964 return this.span;
86965 }
86966 };
86967 A.MergedExtension0.prototype = {
86968 unmerge$0() {
86969 var $async$self = this;
86970 return A._makeSyncStarIterable(function() {
86971 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
86972 return function $async$unmerge$0($async$errorCode, $async$result) {
86973 if ($async$errorCode === 1) {
86974 $async$currentError = $async$result;
86975 $async$goto = $async$handler;
86976 }
86977 while (true)
86978 switch ($async$goto) {
86979 case 0:
86980 // Function start
86981 left = $async$self.left;
86982 $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
86983 break;
86984 case 2:
86985 // then
86986 $async$goto = 5;
86987 return A._IterationMarker_yieldStar(left.unmerge$0());
86988 case 5:
86989 // after yield
86990 // goto join
86991 $async$goto = 3;
86992 break;
86993 case 4:
86994 // else
86995 $async$goto = 6;
86996 return left;
86997 case 6:
86998 // after yield
86999 case 3:
87000 // join
87001 right = $async$self.right;
87002 $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
87003 break;
87004 case 7:
87005 // then
87006 $async$goto = 10;
87007 return A._IterationMarker_yieldStar(right.unmerge$0());
87008 case 10:
87009 // after yield
87010 // goto join
87011 $async$goto = 8;
87012 break;
87013 case 9:
87014 // else
87015 $async$goto = 11;
87016 return right;
87017 case 11:
87018 // after yield
87019 case 8:
87020 // join
87021 // implicit return
87022 return A._IterationMarker_endOfIteration();
87023 case 1:
87024 // rethrow
87025 return A._IterationMarker_uncaughtError($async$currentError);
87026 }
87027 };
87028 }, type$.Extension_2);
87029 }
87030 };
87031 A.MergedMapView0.prototype = {
87032 get$keys(_) {
87033 var t1 = this._merged_map_view$_mapsByKey;
87034 return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
87035 },
87036 get$length(_) {
87037 return this._merged_map_view$_mapsByKey.__js_helper$_length;
87038 },
87039 get$isEmpty(_) {
87040 return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
87041 },
87042 get$isNotEmpty(_) {
87043 return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
87044 },
87045 MergedMapView$10(maps, $K, $V) {
87046 var t1, t2, t3, _i, map, t4, t5, t6;
87047 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) {
87048 map = maps[_i];
87049 if (t3._is(map))
87050 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();) {
87051 t6 = t4.__internal$_current;
87052 if (t6 == null)
87053 t6 = t5._as(t6);
87054 A.setAll0(t2, t6.get$keys(t6), t6);
87055 }
87056 else
87057 A.setAll0(t2, map.get$keys(map), map);
87058 }
87059 },
87060 $index(_, key) {
87061 var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
87062 return t1 == null ? null : t1.$index(0, key);
87063 },
87064 $indexSet(_, key, value) {
87065 var child = this._merged_map_view$_mapsByKey.$index(0, key);
87066 if (child == null)
87067 throw A.wrapException(A.UnsupportedError$(string$.New_en));
87068 child.$indexSet(0, key, value);
87069 },
87070 remove$1(_, key) {
87071 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
87072 },
87073 containsKey$1(key) {
87074 return this._merged_map_view$_mapsByKey.containsKey$1(key);
87075 }
87076 };
87077 A.global_closure57.prototype = {
87078 call$1($arguments) {
87079 return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87080 },
87081 $signature: 18
87082 };
87083 A.global_closure58.prototype = {
87084 call$1($arguments) {
87085 return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
87086 },
87087 $signature: 13
87088 };
87089 A.global_closure59.prototype = {
87090 call$1($arguments) {
87091 var value = J.$index$asx($arguments, 0);
87092 if (value instanceof A.SassArgumentList0)
87093 return new A.SassString0("arglist", false);
87094 if (value instanceof A.SassBoolean0)
87095 return new A.SassString0("bool", false);
87096 if (value instanceof A.SassColor0)
87097 return new A.SassString0("color", false);
87098 if (value instanceof A.SassList0)
87099 return new A.SassString0("list", false);
87100 if (value instanceof A.SassMap0)
87101 return new A.SassString0("map", false);
87102 if (value.$eq(0, B.C__SassNull0))
87103 return new A.SassString0("null", false);
87104 if (value instanceof A.SassNumber0)
87105 return new A.SassString0("number", false);
87106 if (value instanceof A.SassFunction0)
87107 return new A.SassString0("function", false);
87108 if (value instanceof A.SassCalculation0)
87109 return new A.SassString0("calculation", false);
87110 return new A.SassString0("string", false);
87111 },
87112 $signature: 13
87113 };
87114 A.global_closure60.prototype = {
87115 call$1($arguments) {
87116 var t1, t2, t3, t4,
87117 argumentList = J.$index$asx($arguments, 0);
87118 if (argumentList instanceof A.SassArgumentList0) {
87119 t1 = type$.Value_2;
87120 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
87121 for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
87122 t4 = t3.get$current(t3);
87123 t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
87124 }
87125 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
87126 } else
87127 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
87128 },
87129 $signature: 40
87130 };
87131 A.local_closure1.prototype = {
87132 call$1($arguments) {
87133 return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
87134 },
87135 $signature: 13
87136 };
87137 A.local_closure2.prototype = {
87138 call$1($arguments) {
87139 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
87140 return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
87141 },
87142 $signature: 22
87143 };
87144 A.local__closure0.prototype = {
87145 call$1(argument) {
87146 if (argument instanceof A.Value0)
87147 return argument;
87148 return new A.SassString0(J.toString$0$(argument), false);
87149 },
87150 $signature: 485
87151 };
87152 A.MixinRule0.prototype = {
87153 get$hasContent() {
87154 var result, _this = this,
87155 value = _this._mixin_rule$__MixinRule_hasContent;
87156 if (value === $) {
87157 result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
87158 A._lateInitializeOnceCheck(_this._mixin_rule$__MixinRule_hasContent, "hasContent");
87159 _this._mixin_rule$__MixinRule_hasContent = result;
87160 value = result;
87161 }
87162 return value;
87163 },
87164 accept$1$1(visitor) {
87165 return visitor.visitMixinRule$1(this);
87166 },
87167 accept$1(visitor) {
87168 return this.accept$1$1(visitor, type$.dynamic);
87169 },
87170 toString$0(_) {
87171 var t1 = "@mixin " + this.name,
87172 t2 = this.$arguments;
87173 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
87174 t1 += "(" + t2.toString$0(0) + ")";
87175 t2 = this.children;
87176 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
87177 return t2.charCodeAt(0) == 0 ? t2 : t2;
87178 }
87179 };
87180 A._HasContentVisitor0.prototype = {
87181 visitContentRule$1(_) {
87182 return true;
87183 }
87184 };
87185 A.ExtendMode0.prototype = {
87186 toString$0(_) {
87187 return this.name;
87188 }
87189 };
87190 A.SupportsNegation0.prototype = {
87191 toString$0(_) {
87192 var t1 = this.condition;
87193 if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
87194 return "not (" + t1.toString$0(0) + ")";
87195 else
87196 return "not " + t1.toString$0(0);
87197 },
87198 $isAstNode0: 1,
87199 get$span(receiver) {
87200 return this.span;
87201 }
87202 };
87203 A.NoOpImporter.prototype = {
87204 canonicalize$1(_, url) {
87205 return null;
87206 },
87207 load$1(_, url) {
87208 return null;
87209 },
87210 toString$0(_) {
87211 return "(unknown)";
87212 }
87213 };
87214 A.NoSourceMapBuffer0.prototype = {
87215 get$length(_) {
87216 return this._no_source_map_buffer0$_buffer._contents.length;
87217 },
87218 forSpan$1$2(span, callback) {
87219 return callback.call$0();
87220 },
87221 forSpan$2(span, callback) {
87222 return this.forSpan$1$2(span, callback, type$.dynamic);
87223 },
87224 write$1(_, object) {
87225 this._no_source_map_buffer0$_buffer._contents += A.S(object);
87226 return null;
87227 },
87228 writeCharCode$1(charCode) {
87229 this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
87230 return null;
87231 },
87232 toString$0(_) {
87233 var t1 = this._no_source_map_buffer0$_buffer._contents;
87234 return t1.charCodeAt(0) == 0 ? t1 : t1;
87235 },
87236 buildSourceMap$1$prefix(prefix) {
87237 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
87238 }
87239 };
87240 A.AstNode0.prototype = {};
87241 A._FakeAstNode0.prototype = {
87242 get$span(_) {
87243 return this._node2$_callback.call$0();
87244 },
87245 $isAstNode0: 1
87246 };
87247 A.CssNode0.prototype = {
87248 toString$0(_) {
87249 return A.serialize0(this, true, null, true, null, false, null, true).css;
87250 }
87251 };
87252 A.CssParentNode0.prototype = {};
87253 A.FileSystemException0.prototype = {
87254 toString$0(_) {
87255 var t1 = $.$get$context();
87256 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
87257 },
87258 get$message(receiver) {
87259 return this.message;
87260 }
87261 };
87262 A.Stderr0.prototype = {
87263 writeln$1(object) {
87264 var t1 = object == null ? "" : object;
87265 J.write$1$x(this._node0$_stderr, t1 + "\n");
87266 },
87267 writeln$0() {
87268 return this.writeln$1(null);
87269 }
87270 };
87271 A._readFile_closure0.prototype = {
87272 call$0() {
87273 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
87274 },
87275 $signature: 94
87276 };
87277 A.fileExists_closure0.prototype = {
87278 call$0() {
87279 var error, systemError, exception,
87280 t1 = this.path;
87281 if (!J.existsSync$1$x(A.fs(), t1))
87282 return false;
87283 try {
87284 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
87285 return t1;
87286 } catch (exception) {
87287 error = A.unwrapException(exception);
87288 systemError = type$.JsSystemError._as(error);
87289 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87290 return false;
87291 throw exception;
87292 }
87293 },
87294 $signature: 26
87295 };
87296 A.dirExists_closure0.prototype = {
87297 call$0() {
87298 var error, systemError, exception,
87299 t1 = this.path;
87300 if (!J.existsSync$1$x(A.fs(), t1))
87301 return false;
87302 try {
87303 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
87304 return t1;
87305 } catch (exception) {
87306 error = A.unwrapException(exception);
87307 systemError = type$.JsSystemError._as(error);
87308 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87309 return false;
87310 throw exception;
87311 }
87312 },
87313 $signature: 26
87314 };
87315 A.listDir_closure0.prototype = {
87316 call$0() {
87317 var t1 = this.path;
87318 if (!this.recursive)
87319 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());
87320 else
87321 return new A.listDir_closure_list0().call$1(t1);
87322 },
87323 $signature: 183
87324 };
87325 A.listDir__closure1.prototype = {
87326 call$1(child) {
87327 return A.join(this.path, A._asString(child), null);
87328 },
87329 $signature: 91
87330 };
87331 A.listDir__closure2.prototype = {
87332 call$1(child) {
87333 return !A.dirExists0(child);
87334 },
87335 $signature: 6
87336 };
87337 A.listDir_closure_list0.prototype = {
87338 call$1($parent) {
87339 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
87340 },
87341 $signature: 144
87342 };
87343 A.listDir__list_closure0.prototype = {
87344 call$1(child) {
87345 var path = A.join(this.parent, A._asString(child), null);
87346 return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
87347 },
87348 $signature: 181
87349 };
87350 A.ModifiableCssNode0.prototype = {
87351 get$hasFollowingSibling() {
87352 var siblings, t1, i, t2,
87353 $parent = this._node1$_parent;
87354 if ($parent == null)
87355 return false;
87356 siblings = $parent.children;
87357 t1 = this._node1$_indexInParent;
87358 t1.toString;
87359 i = t1 + 1;
87360 t1 = siblings._collection$_source;
87361 t2 = J.getInterceptor$asx(t1);
87362 for (; i < t2.get$length(t1); ++i)
87363 if (!this._node1$_isInvisible$1(t2.elementAt$1(t1, i)))
87364 return true;
87365 return false;
87366 },
87367 _node1$_isInvisible$1(node) {
87368 if (type$.CssParentNode_2._is(node)) {
87369 if (type$.CssAtRule_2._is(node))
87370 return false;
87371 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
87372 return true;
87373 return J.every$1$ax(node.get$children(node), this.get$_node1$_isInvisible());
87374 } else
87375 return false;
87376 },
87377 get$isGroupEnd() {
87378 return this.isGroupEnd;
87379 }
87380 };
87381 A.ModifiableCssParentNode0.prototype = {
87382 get$isChildless() {
87383 return false;
87384 },
87385 addChild$1(child) {
87386 var t1;
87387 child._node1$_parent = this;
87388 t1 = this._node1$_children;
87389 child._node1$_indexInParent = t1.length;
87390 t1.push(child);
87391 },
87392 $isCssParentNode0: 1,
87393 get$children(receiver) {
87394 return this.children;
87395 }
87396 };
87397 A.main_closure0.prototype = {
87398 call$2(_, __) {
87399 },
87400 $signature: 486
87401 };
87402 A.main_closure1.prototype = {
87403 call$2(_, __) {
87404 },
87405 $signature: 487
87406 };
87407 A.NodeToDartLogger.prototype = {
87408 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
87409 var t1 = this._node,
87410 warn = t1 == null ? null : J.get$warn$x(t1);
87411 if (warn == null)
87412 this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
87413 else {
87414 t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
87415 warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
87416 }
87417 },
87418 warn$1($receiver, message) {
87419 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
87420 },
87421 warn$2$span($receiver, message, span) {
87422 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
87423 },
87424 warn$2$deprecation($receiver, message, deprecation) {
87425 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
87426 },
87427 warn$3$deprecation$span($receiver, message, deprecation, span) {
87428 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
87429 },
87430 warn$2$trace($receiver, message, trace) {
87431 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
87432 },
87433 debug$2(_, message, span) {
87434 var t1 = this._node,
87435 debug = t1 == null ? null : J.get$debug$x(t1);
87436 if (debug == null)
87437 this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
87438 else
87439 debug.call$2(message, {span: span});
87440 },
87441 _withAscii$1$1(callback) {
87442 var t1,
87443 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
87444 $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87445 try {
87446 t1 = callback.call$0();
87447 return t1;
87448 } finally {
87449 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87450 }
87451 },
87452 _withAscii$1(callback) {
87453 return this._withAscii$1$1(callback, type$.dynamic);
87454 }
87455 };
87456 A.NodeToDartLogger_warn_closure.prototype = {
87457 call$0() {
87458 var _this = this;
87459 _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
87460 },
87461 $signature: 1
87462 };
87463 A.NodeToDartLogger_debug_closure.prototype = {
87464 call$0() {
87465 return this.$this._fallback.debug$2(0, this.message, this.span);
87466 },
87467 $signature: 0
87468 };
87469 A.NullExpression0.prototype = {
87470 accept$1$1(visitor) {
87471 return visitor.visitNullExpression$1(this);
87472 },
87473 accept$1(visitor) {
87474 return this.accept$1$1(visitor, type$.dynamic);
87475 },
87476 toString$0(_) {
87477 return "null";
87478 },
87479 $isExpression0: 1,
87480 $isAstNode0: 1,
87481 get$span(receiver) {
87482 return this.span;
87483 }
87484 };
87485 A.legacyNullClass_closure.prototype = {
87486 call$0() {
87487 var t1 = type$.JSClass,
87488 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
87489 jsClass.NULL = B.C__SassNull0;
87490 A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
87491 return jsClass;
87492 },
87493 $signature: 23
87494 };
87495 A.legacyNullClass__closure.prototype = {
87496 call$2(_, __) {
87497 throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
87498 },
87499 call$1(_) {
87500 return this.call$2(_, null);
87501 },
87502 "call*": "call$2",
87503 $requiredArgCount: 1,
87504 $defaultValues() {
87505 return [null];
87506 },
87507 $signature: 193
87508 };
87509 A._SassNull0.prototype = {
87510 get$isTruthy() {
87511 return false;
87512 },
87513 get$isBlank() {
87514 return true;
87515 },
87516 get$realNull() {
87517 return null;
87518 },
87519 accept$1$1(visitor) {
87520 if (visitor._serialize0$_inspect)
87521 visitor._serialize0$_buffer.write$1(0, "null");
87522 return null;
87523 },
87524 accept$1(visitor) {
87525 return this.accept$1$1(visitor, type$.dynamic);
87526 },
87527 unaryNot$0() {
87528 return B.SassBoolean_true0;
87529 }
87530 };
87531 A.NumberExpression0.prototype = {
87532 accept$1$1(visitor) {
87533 return visitor.visitNumberExpression$1(this);
87534 },
87535 accept$1(visitor) {
87536 return this.accept$1$1(visitor, type$.dynamic);
87537 },
87538 toString$0(_) {
87539 var t1 = this.unit;
87540 if (t1 == null)
87541 t1 = "";
87542 return A.S(this.value) + t1;
87543 },
87544 $isExpression0: 1,
87545 $isAstNode0: 1,
87546 get$span(receiver) {
87547 return this.span;
87548 }
87549 };
87550 A._NodeSassNumber.prototype = {};
87551 A.legacyNumberClass_closure.prototype = {
87552 call$4(thisArg, value, unit, dartValue) {
87553 var t1;
87554 if (dartValue == null) {
87555 value.toString;
87556 t1 = A._parseNumber(value, unit);
87557 } else
87558 t1 = dartValue;
87559 J.set$dartValue$x(thisArg, t1);
87560 },
87561 call$2(thisArg, value) {
87562 return this.call$4(thisArg, value, null, null);
87563 },
87564 call$3(thisArg, value, unit) {
87565 return this.call$4(thisArg, value, unit, null);
87566 },
87567 "call*": "call$4",
87568 $requiredArgCount: 2,
87569 $defaultValues() {
87570 return [null, null];
87571 },
87572 $signature: 488
87573 };
87574 A.legacyNumberClass_closure0.prototype = {
87575 call$1(thisArg) {
87576 return J.get$dartValue$x(thisArg)._number1$_value;
87577 },
87578 $signature: 489
87579 };
87580 A.legacyNumberClass_closure1.prototype = {
87581 call$2(thisArg, value) {
87582 var t1 = J.getInterceptor$x(thisArg),
87583 t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
87584 t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
87585 },
87586 $signature: 490
87587 };
87588 A.legacyNumberClass_closure2.prototype = {
87589 call$1(thisArg) {
87590 var t1 = J.getInterceptor$x(thisArg),
87591 t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
87592 t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
87593 return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
87594 },
87595 $signature: 491
87596 };
87597 A.legacyNumberClass_closure3.prototype = {
87598 call$2(thisArg, unit) {
87599 var t1 = J.getInterceptor$x(thisArg);
87600 t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
87601 },
87602 $signature: 492
87603 };
87604 A._parseNumber_closure.prototype = {
87605 call$1(unit) {
87606 return unit.length === 0;
87607 },
87608 $signature: 6
87609 };
87610 A._parseNumber_closure0.prototype = {
87611 call$1(unit) {
87612 return unit.length === 0;
87613 },
87614 $signature: 6
87615 };
87616 A.numberClass_closure.prototype = {
87617 call$0() {
87618 var t1 = type$.JSClass,
87619 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
87620 t2 = type$.String,
87621 t3 = type$.Function;
87622 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));
87623 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));
87624 A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.UnitlessSassNumber0(0, null).constructor))).constructor), jsClass);
87625 return jsClass;
87626 },
87627 $signature: 23
87628 };
87629 A.numberClass__closure.prototype = {
87630 call$3($self, value, unitOrOptions) {
87631 var t1, t2, _null = null;
87632 if (typeof unitOrOptions == "string")
87633 return new A.SingleUnitSassNumber0(unitOrOptions, value, _null);
87634 type$.nullable__ConstructorOptions_2._as(unitOrOptions);
87635 t1 = unitOrOptions == null;
87636 if (t1)
87637 t2 = _null;
87638 else {
87639 t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87640 t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
87641 }
87642 if (t1)
87643 t1 = _null;
87644 else {
87645 t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87646 t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
87647 }
87648 return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
87649 },
87650 call$2($self, value) {
87651 return this.call$3($self, value, null);
87652 },
87653 "call*": "call$3",
87654 $requiredArgCount: 2,
87655 $defaultValues() {
87656 return [null];
87657 },
87658 $signature: 493
87659 };
87660 A.numberClass__closure0.prototype = {
87661 call$1($self) {
87662 return $self._number1$_value;
87663 },
87664 $signature: 494
87665 };
87666 A.numberClass__closure1.prototype = {
87667 call$1($self) {
87668 return A.fuzzyIsInt0($self._number1$_value);
87669 },
87670 $signature: 237
87671 };
87672 A.numberClass__closure2.prototype = {
87673 call$1($self) {
87674 var t1 = $self._number1$_value;
87675 return A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87676 },
87677 $signature: 496
87678 };
87679 A.numberClass__closure3.prototype = {
87680 call$1($self) {
87681 return new self.immutable.List($self.get$numeratorUnits($self));
87682 },
87683 $signature: 238
87684 };
87685 A.numberClass__closure4.prototype = {
87686 call$1($self) {
87687 return new self.immutable.List($self.get$denominatorUnits($self));
87688 },
87689 $signature: 238
87690 };
87691 A.numberClass__closure5.prototype = {
87692 call$1($self) {
87693 return $self.get$hasUnits();
87694 },
87695 $signature: 237
87696 };
87697 A.numberClass__closure6.prototype = {
87698 call$2($self, $name) {
87699 return $self.assertInt$1($name);
87700 },
87701 call$1($self) {
87702 return this.call$2($self, null);
87703 },
87704 "call*": "call$2",
87705 $requiredArgCount: 1,
87706 $defaultValues() {
87707 return [null];
87708 },
87709 $signature: 498
87710 };
87711 A.numberClass__closure7.prototype = {
87712 call$4($self, min, max, $name) {
87713 return $self.valueInRange$3(min, max, $name);
87714 },
87715 call$3($self, min, max) {
87716 return this.call$4($self, min, max, null);
87717 },
87718 "call*": "call$4",
87719 $requiredArgCount: 3,
87720 $defaultValues() {
87721 return [null];
87722 },
87723 $signature: 499
87724 };
87725 A.numberClass__closure8.prototype = {
87726 call$2($self, $name) {
87727 $self.assertNoUnits$1($name);
87728 return $self;
87729 },
87730 call$1($self) {
87731 return this.call$2($self, null);
87732 },
87733 "call*": "call$2",
87734 $requiredArgCount: 1,
87735 $defaultValues() {
87736 return [null];
87737 },
87738 $signature: 500
87739 };
87740 A.numberClass__closure9.prototype = {
87741 call$3($self, unit, $name) {
87742 $self.assertUnit$2(unit, $name);
87743 return $self;
87744 },
87745 call$2($self, unit) {
87746 return this.call$3($self, unit, null);
87747 },
87748 "call*": "call$3",
87749 $requiredArgCount: 2,
87750 $defaultValues() {
87751 return [null];
87752 },
87753 $signature: 501
87754 };
87755 A.numberClass__closure10.prototype = {
87756 call$2($self, unit) {
87757 return $self.hasUnit$1(unit);
87758 },
87759 $signature: 239
87760 };
87761 A.numberClass__closure11.prototype = {
87762 call$2($self, unit) {
87763 return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
87764 },
87765 $signature: 239
87766 };
87767 A.numberClass__closure12.prototype = {
87768 call$4($self, numeratorUnits, denominatorUnits, $name) {
87769 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87770 t2 = type$.String;
87771 t1 = J.cast$1$0$ax(t1, t2);
87772 t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
87773 return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
87774 },
87775 call$3($self, numeratorUnits, denominatorUnits) {
87776 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87777 },
87778 "call*": "call$4",
87779 $requiredArgCount: 3,
87780 $defaultValues() {
87781 return [null];
87782 },
87783 $signature: 240
87784 };
87785 A.numberClass__closure13.prototype = {
87786 call$4($self, other, $name, otherName) {
87787 return $self.convertToMatch$3(other, $name, otherName);
87788 },
87789 call$2($self, other) {
87790 return this.call$4($self, other, null, null);
87791 },
87792 call$3($self, other, $name) {
87793 return this.call$4($self, other, $name, null);
87794 },
87795 "call*": "call$4",
87796 $requiredArgCount: 2,
87797 $defaultValues() {
87798 return [null, null];
87799 },
87800 $signature: 241
87801 };
87802 A.numberClass__closure14.prototype = {
87803 call$4($self, numeratorUnits, denominatorUnits, $name) {
87804 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87805 t2 = type$.String;
87806 t1 = J.cast$1$0$ax(t1, t2);
87807 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);
87808 },
87809 call$3($self, numeratorUnits, denominatorUnits) {
87810 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87811 },
87812 "call*": "call$4",
87813 $requiredArgCount: 3,
87814 $defaultValues() {
87815 return [null];
87816 },
87817 $signature: 242
87818 };
87819 A.numberClass__closure15.prototype = {
87820 call$4($self, other, $name, otherName) {
87821 return $self.convertValueToMatch$3(other, $name, otherName);
87822 },
87823 call$2($self, other) {
87824 return this.call$4($self, other, null, null);
87825 },
87826 call$3($self, other, $name) {
87827 return this.call$4($self, other, $name, null);
87828 },
87829 "call*": "call$4",
87830 $requiredArgCount: 2,
87831 $defaultValues() {
87832 return [null, null];
87833 },
87834 $signature: 243
87835 };
87836 A.numberClass__closure16.prototype = {
87837 call$4($self, numeratorUnits, denominatorUnits, $name) {
87838 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87839 t2 = type$.String;
87840 t1 = J.cast$1$0$ax(t1, t2);
87841 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);
87842 },
87843 call$3($self, numeratorUnits, denominatorUnits) {
87844 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87845 },
87846 "call*": "call$4",
87847 $requiredArgCount: 3,
87848 $defaultValues() {
87849 return [null];
87850 },
87851 $signature: 240
87852 };
87853 A.numberClass__closure17.prototype = {
87854 call$4($self, other, $name, otherName) {
87855 return $self.coerceToMatch$3(other, $name, otherName);
87856 },
87857 call$2($self, other) {
87858 return this.call$4($self, other, null, null);
87859 },
87860 call$3($self, other, $name) {
87861 return this.call$4($self, other, $name, null);
87862 },
87863 "call*": "call$4",
87864 $requiredArgCount: 2,
87865 $defaultValues() {
87866 return [null, null];
87867 },
87868 $signature: 241
87869 };
87870 A.numberClass__closure18.prototype = {
87871 call$4($self, numeratorUnits, denominatorUnits, $name) {
87872 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87873 t2 = type$.String;
87874 t1 = J.cast$1$0$ax(t1, t2);
87875 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);
87876 },
87877 call$3($self, numeratorUnits, denominatorUnits) {
87878 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87879 },
87880 "call*": "call$4",
87881 $requiredArgCount: 3,
87882 $defaultValues() {
87883 return [null];
87884 },
87885 $signature: 242
87886 };
87887 A.numberClass__closure19.prototype = {
87888 call$4($self, other, $name, otherName) {
87889 return $self.coerceValueToMatch$3(other, $name, otherName);
87890 },
87891 call$2($self, other) {
87892 return this.call$4($self, other, null, null);
87893 },
87894 call$3($self, other, $name) {
87895 return this.call$4($self, other, $name, null);
87896 },
87897 "call*": "call$4",
87898 $requiredArgCount: 2,
87899 $defaultValues() {
87900 return [null, null];
87901 },
87902 $signature: 243
87903 };
87904 A._ConstructorOptions0.prototype = {};
87905 A.SassNumber0.prototype = {
87906 get$unitString() {
87907 var _this = this;
87908 return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
87909 },
87910 accept$1$1(visitor) {
87911 return visitor.visitNumber$1(this);
87912 },
87913 accept$1(visitor) {
87914 return this.accept$1$1(visitor, type$.dynamic);
87915 },
87916 withoutSlash$0() {
87917 var _this = this;
87918 return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
87919 },
87920 assertNumber$1($name) {
87921 return this;
87922 },
87923 assertNumber$0() {
87924 return this.assertNumber$1(null);
87925 },
87926 assertInt$1($name) {
87927 var t1 = this._number1$_value,
87928 integer = A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87929 if (integer != null)
87930 return integer;
87931 throw A.wrapException(this._number1$_exception$2(this.toString$0(0) + " is not an int.", $name));
87932 },
87933 assertInt$0() {
87934 return this.assertInt$1(null);
87935 },
87936 valueInRange$3(min, max, $name) {
87937 var _this = this,
87938 result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
87939 if (result != null)
87940 return result;
87941 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));
87942 },
87943 hasCompatibleUnits$1(other) {
87944 var _this = this;
87945 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
87946 return false;
87947 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87948 return false;
87949 return _this.isComparableTo$1(other);
87950 },
87951 assertUnit$2(unit, $name) {
87952 if (this.hasUnit$1(unit))
87953 return;
87954 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
87955 },
87956 assertNoUnits$1($name) {
87957 if (!this.get$hasUnits())
87958 return;
87959 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
87960 },
87961 convertToMatch$3(other, $name, otherName) {
87962 var t1 = this.convertValueToMatch$3(other, $name, otherName),
87963 t2 = other.get$numeratorUnits(other);
87964 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87965 },
87966 convertValueToMatch$3(other, $name, otherName) {
87967 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
87968 },
87969 coerce$3(newNumerators, newDenominators, $name) {
87970 return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
87971 },
87972 coerce$2(newNumerators, newDenominators) {
87973 return this.coerce$3(newNumerators, newDenominators, null);
87974 },
87975 coerceValue$3(newNumerators, newDenominators, $name) {
87976 return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
87977 },
87978 coerceValueToUnit$2(unit, $name) {
87979 var t1 = type$.JSArray_String;
87980 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
87981 },
87982 coerceToMatch$3(other, $name, otherName) {
87983 var t1 = this.coerceValueToMatch$3(other, $name, otherName),
87984 t2 = other.get$numeratorUnits(other);
87985 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87986 },
87987 coerceValueToMatch$3(other, $name, otherName) {
87988 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
87989 },
87990 coerceValueToMatch$1(other) {
87991 return this.coerceValueToMatch$3(other, null, null);
87992 },
87993 _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
87994 var t1, otherHasUnits, t2, _compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
87995 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
87996 return _this._number1$_value;
87997 t1 = J.getInterceptor$asx(newNumerators);
87998 otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
87999 if (coerceUnitless)
88000 t2 = !_this.get$hasUnits() || !otherHasUnits;
88001 else
88002 t2 = false;
88003 if (t2)
88004 return _this._number1$_value;
88005 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
88006 _box_0.value = _this._number1$_value;
88007 t2 = _this.get$numeratorUnits(_this);
88008 oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
88009 for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
88010 A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(_compatibilityException));
88011 t1 = _this.get$denominatorUnits(_this);
88012 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
88013 for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
88014 A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(_compatibilityException));
88015 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
88016 throw A.wrapException(_compatibilityException.call$0());
88017 return _box_0.value;
88018 },
88019 _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
88020 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
88021 },
88022 isComparableTo$1(other) {
88023 var exception;
88024 if (!this.get$hasUnits() || !other.get$hasUnits())
88025 return true;
88026 try {
88027 this.greaterThan$1(other);
88028 return true;
88029 } catch (exception) {
88030 if (A.unwrapException(exception) instanceof A.SassScriptException0)
88031 return false;
88032 else
88033 throw exception;
88034 }
88035 },
88036 greaterThan$1(other) {
88037 if (other instanceof A.SassNumber0)
88038 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88039 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
88040 },
88041 greaterThanOrEquals$1(other) {
88042 if (other instanceof A.SassNumber0)
88043 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88044 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
88045 },
88046 lessThan$1(other) {
88047 if (other instanceof A.SassNumber0)
88048 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88049 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
88050 },
88051 lessThanOrEquals$1(other) {
88052 if (other instanceof A.SassNumber0)
88053 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88054 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
88055 },
88056 modulo$1(other) {
88057 var _this = this;
88058 if (other instanceof A.SassNumber0)
88059 return _this.withValue$1(_this._number1$_coerceUnits$2(other, _this.get$moduloLikeSass()));
88060 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
88061 },
88062 moduloLikeSass$2(num1, num2) {
88063 var result;
88064 if (num2 > 0)
88065 return B.JSNumber_methods.$mod(num1, num2);
88066 if (num2 === 0)
88067 return 0 / 0;
88068 result = B.JSNumber_methods.$mod(num1, num2);
88069 return result === 0 ? 0 : result + num2;
88070 },
88071 plus$1(other) {
88072 var _this = this;
88073 if (other instanceof A.SassNumber0)
88074 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
88075 if (!(other instanceof A.SassColor0))
88076 return _this.super$Value$plus0(other);
88077 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
88078 },
88079 minus$1(other) {
88080 var _this = this;
88081 if (other instanceof A.SassNumber0)
88082 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
88083 if (!(other instanceof A.SassColor0))
88084 return _this.super$Value$minus0(other);
88085 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
88086 },
88087 times$1(other) {
88088 var _this = this;
88089 if (other instanceof A.SassNumber0) {
88090 if (!other.get$hasUnits())
88091 return _this.withValue$1(_this._number1$_value * other._number1$_value);
88092 return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
88093 }
88094 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
88095 },
88096 dividedBy$1(other) {
88097 var _this = this;
88098 if (other instanceof A.SassNumber0) {
88099 if (!other.get$hasUnits())
88100 return _this.withValue$1(_this._number1$_value / other._number1$_value);
88101 return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
88102 }
88103 return _this.super$Value$dividedBy0(other);
88104 },
88105 unaryPlus$0() {
88106 return this;
88107 },
88108 _number1$_coerceUnits$1$2(other, operation) {
88109 var t1, exception;
88110 try {
88111 t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
88112 return t1;
88113 } catch (exception) {
88114 if (A.unwrapException(exception) instanceof A.SassScriptException0) {
88115 this.coerceValueToMatch$1(other);
88116 throw exception;
88117 } else
88118 throw exception;
88119 }
88120 },
88121 _number1$_coerceUnits$2(other, operation) {
88122 return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
88123 },
88124 multiplyUnits$3(value, otherNumerators, otherDenominators) {
88125 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
88126 _box_0.value = value;
88127 if (_this.get$numeratorUnits(_this).length === 0) {
88128 if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
88129 return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
88130 else if (_this.get$denominatorUnits(_this).length === 0)
88131 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
88132 } else if (otherNumerators.length === 0)
88133 if (otherDenominators.length === 0)
88134 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
88135 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
88136 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
88137 newNumerators = A._setArrayType([], type$.JSArray_String);
88138 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
88139 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
88140 numerator = t1[_i];
88141 A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
88142 }
88143 t1 = _this.get$denominatorUnits(_this);
88144 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
88145 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
88146 numerator = otherNumerators[_i];
88147 A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
88148 }
88149 t1 = _box_0.value;
88150 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
88151 return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
88152 },
88153 _number1$_areAnyConvertible$2(units1, units2) {
88154 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
88155 },
88156 _number1$_unitString$2(numerators, denominators) {
88157 var t2,
88158 t1 = J.getInterceptor$asx(numerators);
88159 if (t1.get$isEmpty(numerators)) {
88160 t1 = J.getInterceptor$asx(denominators);
88161 if (t1.get$isEmpty(denominators))
88162 return "no units";
88163 if (t1.get$length(denominators) === 1)
88164 return J.$add$ansx(t1.get$single(denominators), "^-1");
88165 return "(" + t1.join$1(denominators, "*") + ")^-1";
88166 }
88167 t2 = J.getInterceptor$asx(denominators);
88168 if (t2.get$isEmpty(denominators))
88169 return t1.join$1(numerators, "*");
88170 return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
88171 },
88172 $eq(_, other) {
88173 var _this = this;
88174 if (other == null)
88175 return false;
88176 if (other instanceof A.SassNumber0) {
88177 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
88178 return false;
88179 if (!_this.get$hasUnits())
88180 return Math.abs(_this._number1$_value - other._number1$_value) < $.$get$epsilon0();
88181 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))))
88182 return false;
88183 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();
88184 } else
88185 return false;
88186 },
88187 get$hashCode(_) {
88188 var _this = this,
88189 t1 = _this.hashCache;
88190 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;
88191 },
88192 _number1$_canonicalizeUnitList$1(units) {
88193 var type,
88194 t1 = units.length;
88195 if (t1 === 0)
88196 return units;
88197 if (t1 === 1) {
88198 type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
88199 if (type == null)
88200 t1 = units;
88201 else {
88202 t1 = B.Map_U8AHF.$index(0, type);
88203 t1.toString;
88204 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
88205 }
88206 return t1;
88207 }
88208 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
88209 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
88210 B.JSArray_methods.sort$0(t1);
88211 return t1;
88212 },
88213 _number1$_canonicalMultiplier$1(units) {
88214 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
88215 },
88216 canonicalMultiplierForUnit$1(unit) {
88217 var t1,
88218 innerMap = B.Map_K2BWj.$index(0, unit);
88219 if (innerMap == null)
88220 t1 = 1;
88221 else {
88222 t1 = innerMap.get$values(innerMap);
88223 t1 = 1 / t1.get$first(t1);
88224 }
88225 return t1;
88226 },
88227 _number1$_exception$2(message, $name) {
88228 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
88229 }
88230 };
88231 A.SassNumber__coerceOrConvertValue__compatibilityException0.prototype = {
88232 call$0() {
88233 var t2, t3, message, t4, type, unit, _this = this,
88234 t1 = _this.other;
88235 if (t1 != null) {
88236 t2 = _this.$this;
88237 t3 = t2.toString$0(0) + " and";
88238 message = new A.StringBuffer(t3);
88239 t4 = _this.otherName;
88240 if (t4 != null)
88241 t3 = message._contents = t3 + (" $" + t4 + ":");
88242 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
88243 message._contents = t1;
88244 if (!t2.get$hasUnits() || !_this.otherHasUnits)
88245 message._contents = t1 + " (one has units and the other doesn't)";
88246 t1 = message.toString$0(0) + ".";
88247 t2 = _this.name;
88248 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
88249 } else if (!_this.otherHasUnits) {
88250 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
88251 t2 = _this.name;
88252 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
88253 } else {
88254 t1 = _this.newNumerators;
88255 t2 = J.getInterceptor$asx(t1);
88256 if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
88257 type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
88258 if (type != null) {
88259 t1 = _this.$this.toString$0(0);
88260 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;
88261 t3 = B.Map_U8AHF.$index(0, type);
88262 t3.toString;
88263 t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
88264 t2 = _this.name;
88265 return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
88266 }
88267 }
88268 t3 = _this.newDenominators;
88269 unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
88270 t2 = _this.$this;
88271 t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
88272 t1 = _this.name;
88273 return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
88274 }
88275 },
88276 $signature: 507
88277 };
88278 A.SassNumber__coerceOrConvertValue_closure3.prototype = {
88279 call$1(oldNumerator) {
88280 var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
88281 if (factor == null)
88282 return false;
88283 this._box_0.value *= factor;
88284 return true;
88285 },
88286 $signature: 6
88287 };
88288 A.SassNumber__coerceOrConvertValue_closure4.prototype = {
88289 call$0() {
88290 return A.throwExpression(this._compatibilityException.call$0());
88291 },
88292 $signature: 0
88293 };
88294 A.SassNumber__coerceOrConvertValue_closure5.prototype = {
88295 call$1(oldDenominator) {
88296 var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
88297 if (factor == null)
88298 return false;
88299 this._box_0.value /= factor;
88300 return true;
88301 },
88302 $signature: 6
88303 };
88304 A.SassNumber__coerceOrConvertValue_closure6.prototype = {
88305 call$0() {
88306 return A.throwExpression(this._compatibilityException.call$0());
88307 },
88308 $signature: 0
88309 };
88310 A.SassNumber_plus_closure0.prototype = {
88311 call$2(num1, num2) {
88312 return num1 + num2;
88313 },
88314 $signature: 54
88315 };
88316 A.SassNumber_minus_closure0.prototype = {
88317 call$2(num1, num2) {
88318 return num1 - num2;
88319 },
88320 $signature: 54
88321 };
88322 A.SassNumber_multiplyUnits_closure3.prototype = {
88323 call$1(denominator) {
88324 var factor = A.conversionFactor0(this.numerator, denominator);
88325 if (factor == null)
88326 return false;
88327 this._box_0.value /= factor;
88328 return true;
88329 },
88330 $signature: 6
88331 };
88332 A.SassNumber_multiplyUnits_closure4.prototype = {
88333 call$0() {
88334 return this.newNumerators.push(this.numerator);
88335 },
88336 $signature: 0
88337 };
88338 A.SassNumber_multiplyUnits_closure5.prototype = {
88339 call$1(denominator) {
88340 var factor = A.conversionFactor0(this.numerator, denominator);
88341 if (factor == null)
88342 return false;
88343 this._box_0.value /= factor;
88344 return true;
88345 },
88346 $signature: 6
88347 };
88348 A.SassNumber_multiplyUnits_closure6.prototype = {
88349 call$0() {
88350 return this.newNumerators.push(this.numerator);
88351 },
88352 $signature: 0
88353 };
88354 A.SassNumber__areAnyConvertible_closure0.prototype = {
88355 call$1(unit1) {
88356 var innerMap = B.Map_K2BWj.$index(0, unit1);
88357 if (innerMap == null)
88358 return B.JSArray_methods.contains$1(this.units2, unit1);
88359 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
88360 },
88361 $signature: 6
88362 };
88363 A.SassNumber__canonicalizeUnitList_closure0.prototype = {
88364 call$1(unit) {
88365 var t1,
88366 type = $.$get$_typesByUnit0().$index(0, unit);
88367 if (type == null)
88368 t1 = unit;
88369 else {
88370 t1 = B.Map_U8AHF.$index(0, type);
88371 t1.toString;
88372 t1 = B.JSArray_methods.get$first(t1);
88373 }
88374 return t1;
88375 },
88376 $signature: 5
88377 };
88378 A.SassNumber__canonicalMultiplier_closure0.prototype = {
88379 call$2(multiplier, unit) {
88380 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
88381 },
88382 $signature: 167
88383 };
88384 A.SupportsOperation0.prototype = {
88385 toString$0(_) {
88386 var _this = this;
88387 return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
88388 },
88389 _operation0$_parenthesize$1(condition) {
88390 var t1;
88391 if (!(condition instanceof A.SupportsNegation0))
88392 t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
88393 else
88394 t1 = true;
88395 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
88396 },
88397 $isAstNode0: 1,
88398 get$span(receiver) {
88399 return this.span;
88400 }
88401 };
88402 A.ParentSelector0.prototype = {
88403 accept$1$1(visitor) {
88404 var t2,
88405 t1 = visitor._serialize0$_buffer;
88406 t1.writeCharCode$1(38);
88407 t2 = this.suffix;
88408 if (t2 != null)
88409 t1.write$1(0, t2);
88410 return null;
88411 },
88412 accept$1(visitor) {
88413 return this.accept$1$1(visitor, type$.dynamic);
88414 },
88415 unify$1(compound) {
88416 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
88417 }
88418 };
88419 A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
88420 A.ParentStatement_closure0.prototype = {
88421 call$1(child) {
88422 var t1;
88423 if (!(child instanceof A.VariableDeclaration0))
88424 if (!(child instanceof A.FunctionRule0))
88425 if (!(child instanceof A.MixinRule0))
88426 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
88427 else
88428 t1 = true;
88429 else
88430 t1 = true;
88431 else
88432 t1 = true;
88433 return t1;
88434 },
88435 $signature: 227
88436 };
88437 A.ParentStatement__closure0.prototype = {
88438 call$1($import) {
88439 return $import instanceof A.DynamicImport0;
88440 },
88441 $signature: 228
88442 };
88443 A.ParenthesizedExpression0.prototype = {
88444 accept$1$1(visitor) {
88445 return visitor.visitParenthesizedExpression$1(this);
88446 },
88447 accept$1(visitor) {
88448 return this.accept$1$1(visitor, type$.dynamic);
88449 },
88450 toString$0(_) {
88451 return "(" + this.expression.toString$0(0) + ")";
88452 },
88453 $isExpression0: 1,
88454 $isAstNode0: 1,
88455 get$span(receiver) {
88456 return this.span;
88457 }
88458 };
88459 A.Parser1.prototype = {
88460 _parser0$_parseIdentifier$0() {
88461 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
88462 },
88463 whitespace$0() {
88464 do
88465 this.whitespaceWithoutComments$0();
88466 while (this.scanComment$0());
88467 },
88468 whitespaceWithoutComments$0() {
88469 var t3,
88470 t1 = this.scanner,
88471 t2 = t1.string.length;
88472 while (true) {
88473 if (t1._string_scanner$_position !== t2) {
88474 t3 = t1.peekChar$0();
88475 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
88476 } else
88477 t3 = false;
88478 if (!t3)
88479 break;
88480 t1.readChar$0();
88481 }
88482 },
88483 spaces$0() {
88484 var t3,
88485 t1 = this.scanner,
88486 t2 = t1.string.length;
88487 while (true) {
88488 if (t1._string_scanner$_position !== t2) {
88489 t3 = t1.peekChar$0();
88490 t3 = t3 === 32 || t3 === 9;
88491 } else
88492 t3 = false;
88493 if (!t3)
88494 break;
88495 t1.readChar$0();
88496 }
88497 },
88498 scanComment$0() {
88499 var next,
88500 t1 = this.scanner;
88501 if (t1.peekChar$0() !== 47)
88502 return false;
88503 next = t1.peekChar$1(1);
88504 if (next === 47) {
88505 this.silentComment$0();
88506 return true;
88507 } else if (next === 42) {
88508 this.loudComment$0();
88509 return true;
88510 } else
88511 return false;
88512 },
88513 silentComment$0() {
88514 var t2, t3,
88515 t1 = this.scanner;
88516 t1.expect$1("//");
88517 t2 = t1.string.length;
88518 while (true) {
88519 if (t1._string_scanner$_position !== t2) {
88520 t3 = t1.peekChar$0();
88521 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
88522 } else
88523 t3 = false;
88524 if (!t3)
88525 break;
88526 t1.readChar$0();
88527 }
88528 },
88529 loudComment$0() {
88530 var next,
88531 t1 = this.scanner;
88532 t1.expect$1("/*");
88533 for (; true;) {
88534 if (t1.readChar$0() !== 42)
88535 continue;
88536 do
88537 next = t1.readChar$0();
88538 while (next === 42);
88539 if (next === 47)
88540 break;
88541 }
88542 },
88543 identifier$2$normalize$unit(normalize, unit) {
88544 var t2, first, _this = this,
88545 _s20_ = "Expected identifier.",
88546 text = new A.StringBuffer(""),
88547 t1 = _this.scanner;
88548 if (t1.scanChar$1(45)) {
88549 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
88550 if (t1.scanChar$1(45)) {
88551 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88552 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88553 t1 = text._contents;
88554 return t1.charCodeAt(0) == 0 ? t1 : t1;
88555 }
88556 } else
88557 t2 = "";
88558 first = t1.peekChar$0();
88559 if (first == null)
88560 t1.error$1(0, _s20_);
88561 else if (normalize && first === 95) {
88562 t1.readChar$0();
88563 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88564 } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
88565 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
88566 else if (first === 92)
88567 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
88568 else
88569 t1.error$1(0, _s20_);
88570 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88571 t1 = text._contents;
88572 return t1.charCodeAt(0) == 0 ? t1 : t1;
88573 },
88574 identifier$0() {
88575 return this.identifier$2$normalize$unit(false, false);
88576 },
88577 identifier$1$normalize(normalize) {
88578 return this.identifier$2$normalize$unit(normalize, false);
88579 },
88580 identifier$1$unit(unit) {
88581 return this.identifier$2$normalize$unit(false, unit);
88582 },
88583 _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
88584 var t1, next, second, t2;
88585 for (t1 = this.scanner; true;) {
88586 next = t1.peekChar$0();
88587 if (next == null)
88588 break;
88589 else if (unit && next === 45) {
88590 second = t1.peekChar$1(1);
88591 if (second != null)
88592 if (second !== 46)
88593 t2 = second >= 48 && second <= 57;
88594 else
88595 t2 = true;
88596 else
88597 t2 = false;
88598 if (t2)
88599 break;
88600 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88601 } else if (normalize && next === 95) {
88602 t1.readChar$0();
88603 text._contents += A.Primitives_stringFromCharCode(45);
88604 } else {
88605 if (next !== 95) {
88606 if (!(next >= 97 && next <= 122))
88607 t2 = next >= 65 && next <= 90;
88608 else
88609 t2 = true;
88610 t2 = t2 || next >= 128;
88611 } else
88612 t2 = true;
88613 if (!t2) {
88614 t2 = next >= 48 && next <= 57;
88615 t2 = t2 || next === 45;
88616 } else
88617 t2 = true;
88618 if (t2)
88619 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88620 else if (next === 92)
88621 text._contents += A.S(this.escape$0());
88622 else
88623 break;
88624 }
88625 }
88626 },
88627 _parser0$_identifierBody$1(text) {
88628 return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
88629 },
88630 string$0() {
88631 var buffer, next, t2,
88632 t1 = this.scanner,
88633 quote = t1.readChar$0();
88634 if (quote !== 39 && quote !== 34)
88635 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
88636 buffer = new A.StringBuffer("");
88637 for (; true;) {
88638 next = t1.peekChar$0();
88639 if (next === quote) {
88640 t1.readChar$0();
88641 break;
88642 } else if (next == null || next === 10 || next === 13 || next === 12)
88643 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
88644 else if (next === 92) {
88645 t2 = t1.peekChar$1(1);
88646 if (t2 === 10 || t2 === 13 || t2 === 12) {
88647 t1.readChar$0();
88648 t1.readChar$0();
88649 } else
88650 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
88651 } else
88652 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88653 }
88654 t1 = buffer._contents;
88655 return t1.charCodeAt(0) == 0 ? t1 : t1;
88656 },
88657 naturalNumber$0() {
88658 var number, t2,
88659 t1 = this.scanner,
88660 first = t1.readChar$0();
88661 if (!A.isDigit0(first))
88662 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
88663 number = first - 48;
88664 while (true) {
88665 t2 = t1.peekChar$0();
88666 if (!(t2 != null && t2 >= 48 && t2 <= 57))
88667 break;
88668 number = number * 10 + (t1.readChar$0() - 48);
88669 }
88670 return number;
88671 },
88672 declarationValue$1$allowEmpty(allowEmpty) {
88673 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
88674 buffer = new A.StringBuffer(""),
88675 brackets = A._setArrayType([], type$.JSArray_int);
88676 $label0$1:
88677 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
88678 next = t1.peekChar$0();
88679 switch (next) {
88680 case 92:
88681 buffer._contents += A.S(_this.escape$1$identifierStart(true));
88682 wroteNewline = false;
88683 break;
88684 case 34:
88685 case 39:
88686 start = t1._string_scanner$_position;
88687 t2.call$0();
88688 end = t1._string_scanner$_position;
88689 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88690 wroteNewline = false;
88691 break;
88692 case 47:
88693 if (t1.peekChar$1(1) === 42) {
88694 t3 = _this.get$loudComment();
88695 start = t1._string_scanner$_position;
88696 t3.call$0();
88697 end = t1._string_scanner$_position;
88698 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88699 } else
88700 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88701 wroteNewline = false;
88702 break;
88703 case 32:
88704 case 9:
88705 if (!wroteNewline) {
88706 t3 = t1.peekChar$1(1);
88707 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
88708 } else
88709 t3 = true;
88710 if (t3)
88711 buffer._contents += A.Primitives_stringFromCharCode(32);
88712 t1.readChar$0();
88713 break;
88714 case 10:
88715 case 13:
88716 case 12:
88717 t3 = t1.peekChar$1(-1);
88718 if (!(t3 === 10 || t3 === 13 || t3 === 12))
88719 buffer._contents += "\n";
88720 t1.readChar$0();
88721 wroteNewline = true;
88722 break;
88723 case 40:
88724 case 123:
88725 case 91:
88726 next.toString;
88727 buffer._contents += A.Primitives_stringFromCharCode(next);
88728 brackets.push(A.opposite0(t1.readChar$0()));
88729 wroteNewline = false;
88730 break;
88731 case 41:
88732 case 125:
88733 case 93:
88734 if (brackets.length === 0)
88735 break $label0$1;
88736 next.toString;
88737 buffer._contents += A.Primitives_stringFromCharCode(next);
88738 t1.expectChar$1(brackets.pop());
88739 wroteNewline = false;
88740 break;
88741 case 59:
88742 if (brackets.length === 0)
88743 break $label0$1;
88744 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88745 break;
88746 case 117:
88747 case 85:
88748 url = _this.tryUrl$0();
88749 if (url != null)
88750 buffer._contents += url;
88751 else
88752 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88753 wroteNewline = false;
88754 break;
88755 default:
88756 if (next == null)
88757 break $label0$1;
88758 if (_this.lookingAtIdentifier$0())
88759 buffer._contents += _this.identifier$0();
88760 else
88761 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88762 wroteNewline = false;
88763 break;
88764 }
88765 }
88766 if (brackets.length !== 0)
88767 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
88768 if (!allowEmpty && buffer._contents.length === 0)
88769 t1.error$1(0, "Expected token.");
88770 t1 = buffer._contents;
88771 return t1.charCodeAt(0) == 0 ? t1 : t1;
88772 },
88773 declarationValue$0() {
88774 return this.declarationValue$1$allowEmpty(false);
88775 },
88776 tryUrl$0() {
88777 var buffer, next, t2, _this = this,
88778 t1 = _this.scanner,
88779 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88780 if (!_this.scanIdentifier$1("url"))
88781 return null;
88782 if (!t1.scanChar$1(40)) {
88783 t1.set$state(start);
88784 return null;
88785 }
88786 _this.whitespace$0();
88787 buffer = new A.StringBuffer("");
88788 buffer._contents = "" + "url(";
88789 for (; true;) {
88790 next = t1.peekChar$0();
88791 if (next == null)
88792 break;
88793 else if (next === 92)
88794 buffer._contents += A.S(_this.escape$0());
88795 else {
88796 if (next !== 37)
88797 if (next !== 38)
88798 if (next !== 35)
88799 t2 = next >= 42 && next <= 126 || next >= 128;
88800 else
88801 t2 = true;
88802 else
88803 t2 = true;
88804 else
88805 t2 = true;
88806 if (t2)
88807 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88808 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
88809 _this.whitespace$0();
88810 if (t1.peekChar$0() !== 41)
88811 break;
88812 } else if (next === 41) {
88813 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88814 return t2.charCodeAt(0) == 0 ? t2 : t2;
88815 } else
88816 break;
88817 }
88818 }
88819 t1.set$state(start);
88820 return null;
88821 },
88822 variableName$0() {
88823 this.scanner.expectChar$1(36);
88824 return this.identifier$1$normalize(true);
88825 },
88826 escape$1$identifierStart(identifierStart) {
88827 var value, first, i, next, t2, exception,
88828 _s25_ = "Expected escape sequence.",
88829 t1 = this.scanner,
88830 start = t1._string_scanner$_position;
88831 t1.expectChar$1(92);
88832 value = 0;
88833 first = t1.peekChar$0();
88834 if (first == null)
88835 t1.error$1(0, _s25_);
88836 else if (first === 10 || first === 13 || first === 12)
88837 t1.error$1(0, _s25_);
88838 else if (A.isHex0(first)) {
88839 for (i = 0; i < 6; ++i) {
88840 next = t1.peekChar$0();
88841 if (next == null || !A.isHex0(next))
88842 break;
88843 value *= 16;
88844 value += A.asHex0(t1.readChar$0());
88845 }
88846 this.scanCharIf$1(A.character0__isWhitespace$closure());
88847 } else
88848 value = t1.readChar$0();
88849 if (identifierStart) {
88850 t2 = value;
88851 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
88852 } else {
88853 t2 = value;
88854 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
88855 }
88856 if (t2)
88857 try {
88858 t2 = A.Primitives_stringFromCharCode(value);
88859 return t2;
88860 } catch (exception) {
88861 if (type$.RangeError._is(A.unwrapException(exception)))
88862 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
88863 else
88864 throw exception;
88865 }
88866 else {
88867 if (!(value <= 31))
88868 if (!J.$eq$(value, 127))
88869 t1 = identifierStart && A.isDigit0(value);
88870 else
88871 t1 = true;
88872 else
88873 t1 = true;
88874 if (t1) {
88875 t1 = "" + A.Primitives_stringFromCharCode(92);
88876 if (value > 15)
88877 t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
88878 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
88879 return t1.charCodeAt(0) == 0 ? t1 : t1;
88880 } else
88881 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
88882 }
88883 },
88884 escape$0() {
88885 return this.escape$1$identifierStart(false);
88886 },
88887 scanCharIf$1(condition) {
88888 var t1 = this.scanner;
88889 if (!condition.call$1(t1.peekChar$0()))
88890 return false;
88891 t1.readChar$0();
88892 return true;
88893 },
88894 scanIdentChar$2$caseSensitive(char, caseSensitive) {
88895 var t3,
88896 t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
88897 t2 = this.scanner,
88898 next = t2.peekChar$0();
88899 if (next != null && t1.call$1(next)) {
88900 t2.readChar$0();
88901 return true;
88902 } else if (next === 92) {
88903 t3 = t2._string_scanner$_position;
88904 if (t1.call$1(A.consumeEscapedCharacter0(t2)))
88905 return true;
88906 t2.set$state(new A._SpanScannerState(t2, t3));
88907 }
88908 return false;
88909 },
88910 scanIdentChar$1(char) {
88911 return this.scanIdentChar$2$caseSensitive(char, false);
88912 },
88913 expectIdentChar$1(letter) {
88914 var t1;
88915 if (this.scanIdentChar$2$caseSensitive(letter, false))
88916 return;
88917 t1 = this.scanner;
88918 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
88919 },
88920 lookingAtIdentifier$1($forward) {
88921 var t1, first, second;
88922 if ($forward == null)
88923 $forward = 0;
88924 t1 = this.scanner;
88925 first = t1.peekChar$1($forward);
88926 if (first == null)
88927 return false;
88928 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
88929 return true;
88930 if (first !== 45)
88931 return false;
88932 second = t1.peekChar$1($forward + 1);
88933 if (second == null)
88934 return false;
88935 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
88936 },
88937 lookingAtIdentifier$0() {
88938 return this.lookingAtIdentifier$1(null);
88939 },
88940 lookingAtIdentifierBody$0() {
88941 var t1,
88942 next = this.scanner.peekChar$0();
88943 if (next != null)
88944 t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
88945 else
88946 t1 = false;
88947 return t1;
88948 },
88949 scanIdentifier$2$caseSensitive(text, caseSensitive) {
88950 var t1, start, t2, t3, t4, _this = this;
88951 if (!_this.lookingAtIdentifier$0())
88952 return false;
88953 t1 = _this.scanner;
88954 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88955 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88956 t4 = t2.__internal$_current;
88957 if (_this.scanIdentChar$2$caseSensitive(t4 == null ? t3._as(t4) : t4, caseSensitive))
88958 continue;
88959 if (start._scanner !== t1)
88960 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
88961 t2 = start.position;
88962 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
88963 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
88964 t1._string_scanner$_position = t2;
88965 t1._lastMatch = null;
88966 return false;
88967 }
88968 if (!_this.lookingAtIdentifierBody$0())
88969 return true;
88970 t1.set$state(start);
88971 return false;
88972 },
88973 scanIdentifier$1(text) {
88974 return this.scanIdentifier$2$caseSensitive(text, false);
88975 },
88976 expectIdentifier$2$name(text, $name) {
88977 var t1, start, t2, t3, t4, t5, t6;
88978 if ($name == null)
88979 $name = '"' + text + '"';
88980 t1 = this.scanner;
88981 start = t1._string_scanner$_position;
88982 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();) {
88983 t6 = t2.__internal$_current;
88984 if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
88985 continue;
88986 t1.error$2$position(0, t4, start);
88987 }
88988 if (!this.lookingAtIdentifierBody$0())
88989 return;
88990 t1.error$2$position(0, t3, start);
88991 },
88992 expectIdentifier$1(text) {
88993 return this.expectIdentifier$2$name(text, null);
88994 },
88995 rawText$1(consumer) {
88996 var t1 = this.scanner,
88997 start = t1._string_scanner$_position;
88998 consumer.call$0();
88999 return t1.substring$1(0, start);
89000 },
89001 error$3(_, message, span, trace) {
89002 var exception = new A.StringScannerException(this.scanner.string, message, span);
89003 if (trace == null)
89004 throw A.wrapException(exception);
89005 else
89006 A.throwWithTrace0(exception, trace);
89007 },
89008 error$2($receiver, message, span) {
89009 return this.error$3($receiver, message, span, null);
89010 },
89011 withErrorMessage$1$2(message, callback) {
89012 var error, stackTrace, t1, exception;
89013 try {
89014 t1 = callback.call$0();
89015 return t1;
89016 } catch (exception) {
89017 t1 = A.unwrapException(exception);
89018 if (type$.SourceSpanFormatException._is(t1)) {
89019 error = t1;
89020 stackTrace = A.getTraceFromException(exception);
89021 t1 = J.get$span$z(error);
89022 A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
89023 } else
89024 throw exception;
89025 }
89026 },
89027 withErrorMessage$2(message, callback) {
89028 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
89029 },
89030 wrapSpanFormatException$1$1(callback) {
89031 var error, stackTrace, span, startPosition, t1, exception;
89032 try {
89033 t1 = callback.call$0();
89034 return t1;
89035 } catch (exception) {
89036 t1 = A.unwrapException(exception);
89037 if (type$.SourceSpanFormatException._is(t1)) {
89038 error = t1;
89039 stackTrace = A.getTraceFromException(exception);
89040 span = J.get$span$z(error);
89041 if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected")) {
89042 t1 = span;
89043 t1 = t1._end - t1._file$_start === 0;
89044 } else
89045 t1 = false;
89046 if (t1) {
89047 t1 = span;
89048 startPosition = this._parser0$_firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
89049 t1 = span;
89050 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
89051 span = span.file.span$2(0, startPosition, startPosition);
89052 }
89053 A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
89054 } else
89055 throw exception;
89056 }
89057 },
89058 wrapSpanFormatException$1(callback) {
89059 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
89060 },
89061 _parser0$_firstNewlineBefore$1(position) {
89062 var t1, lastNewline, codeUnit,
89063 index = position - 1;
89064 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
89065 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
89066 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
89067 return lastNewline == null ? position : lastNewline;
89068 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
89069 lastNewline = index;
89070 --index;
89071 }
89072 return position;
89073 }
89074 };
89075 A.Parser__parseIdentifier_closure0.prototype = {
89076 call$0() {
89077 var t1 = this.$this,
89078 result = t1.identifier$0();
89079 t1.scanner.expectDone$0();
89080 return result;
89081 },
89082 $signature: 29
89083 };
89084 A.Parser_scanIdentChar_matches0.prototype = {
89085 call$1(actual) {
89086 var t1 = this.char;
89087 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
89088 },
89089 $signature: 57
89090 };
89091 A.PlaceholderSelector0.prototype = {
89092 get$isInvisible() {
89093 return true;
89094 },
89095 accept$1$1(visitor) {
89096 var t1 = visitor._serialize0$_buffer;
89097 t1.writeCharCode$1(37);
89098 t1.write$1(0, this.name);
89099 return null;
89100 },
89101 accept$1(visitor) {
89102 return this.accept$1$1(visitor, type$.dynamic);
89103 },
89104 addSuffix$1(suffix) {
89105 return new A.PlaceholderSelector0(this.name + suffix);
89106 },
89107 $eq(_, other) {
89108 if (other == null)
89109 return false;
89110 return other instanceof A.PlaceholderSelector0 && other.name === this.name;
89111 },
89112 get$hashCode(_) {
89113 return B.JSString_methods.get$hashCode(this.name);
89114 }
89115 };
89116 A.PlainCssCallable0.prototype = {
89117 $eq(_, other) {
89118 if (other == null)
89119 return false;
89120 return other instanceof A.PlainCssCallable0 && this.name === other.name;
89121 },
89122 get$hashCode(_) {
89123 return B.JSString_methods.get$hashCode(this.name);
89124 },
89125 $isAsyncCallable0: 1,
89126 $isCallable0: 1,
89127 get$name(receiver) {
89128 return this.name;
89129 }
89130 };
89131 A.PrefixedMapView0.prototype = {
89132 get$keys(_) {
89133 return new A._PrefixedKeys0(this);
89134 },
89135 get$length(_) {
89136 var t1 = this._prefixed_map_view0$_map;
89137 return t1.get$length(t1);
89138 },
89139 get$isEmpty(_) {
89140 var t1 = this._prefixed_map_view0$_map;
89141 return t1.get$isEmpty(t1);
89142 },
89143 get$isNotEmpty(_) {
89144 var t1 = this._prefixed_map_view0$_map;
89145 return t1.get$isNotEmpty(t1);
89146 },
89147 $index(_, key) {
89148 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;
89149 },
89150 containsKey$1(key) {
89151 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));
89152 }
89153 };
89154 A._PrefixedKeys0.prototype = {
89155 get$length(_) {
89156 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
89157 return t1.get$length(t1);
89158 },
89159 get$iterator(_) {
89160 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
89161 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
89162 return t1.get$iterator(t1);
89163 },
89164 contains$1(_, key) {
89165 return this._prefixed_map_view0$_view.containsKey$1(key);
89166 }
89167 };
89168 A._PrefixedKeys_iterator_closure0.prototype = {
89169 call$1(key) {
89170 return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
89171 },
89172 $signature: 5
89173 };
89174 A.PseudoSelector0.prototype = {
89175 get$isHostContext() {
89176 return this.isClass && this.name === "host-context" && this.selector != null;
89177 },
89178 get$minSpecificity() {
89179 if (this._pseudo0$_minSpecificity == null)
89180 this._pseudo0$_computeSpecificity$0();
89181 var t1 = this._pseudo0$_minSpecificity;
89182 t1.toString;
89183 return t1;
89184 },
89185 get$maxSpecificity() {
89186 if (this._pseudo0$_maxSpecificity == null)
89187 this._pseudo0$_computeSpecificity$0();
89188 var t1 = this._pseudo0$_maxSpecificity;
89189 t1.toString;
89190 return t1;
89191 },
89192 get$isInvisible() {
89193 var selector = this.selector;
89194 if (selector == null)
89195 return false;
89196 return this.name !== "not" && selector.get$isInvisible();
89197 },
89198 addSuffix$1(suffix) {
89199 var _this = this;
89200 if (_this.argument != null || _this.selector != null)
89201 _this.super$SimpleSelector$addSuffix0(suffix);
89202 return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
89203 },
89204 unify$1(compound) {
89205 var other, result, t2, addedThis, _i, simple, _this = this,
89206 t1 = _this.name;
89207 if (t1 === "host" || t1 === "host-context") {
89208 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
89209 return null;
89210 } else if (compound.length === 1) {
89211 other = B.JSArray_methods.get$first(compound);
89212 if (!(other instanceof A.UniversalSelector0))
89213 if (other instanceof A.PseudoSelector0)
89214 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
89215 else
89216 t1 = false;
89217 else
89218 t1 = true;
89219 if (t1)
89220 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
89221 }
89222 if (B.JSArray_methods.contains$1(compound, _this))
89223 return compound;
89224 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
89225 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
89226 simple = compound[_i];
89227 if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
89228 if (t2)
89229 return null;
89230 result.push(_this);
89231 addedThis = true;
89232 }
89233 result.push(simple);
89234 }
89235 if (!addedThis)
89236 result.push(_this);
89237 return result;
89238 },
89239 _pseudo0$_computeSpecificity$0() {
89240 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
89241 if (!_this.isClass) {
89242 _this._pseudo0$_maxSpecificity = _this._pseudo0$_minSpecificity = 1;
89243 return;
89244 }
89245 selector = _this.selector;
89246 if (selector == null) {
89247 _this._pseudo0$_minSpecificity = A.SimpleSelector0.prototype.get$minSpecificity.call(_this);
89248 _this._pseudo0$_maxSpecificity = A.SimpleSelector0.prototype.get$maxSpecificity.call(_this);
89249 return;
89250 }
89251 if (_this.name === "not") {
89252 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
89253 complex = t1[_i];
89254 if (complex._complex0$_minSpecificity == null)
89255 complex._complex0$_computeSpecificity$0();
89256 t3 = complex._complex0$_minSpecificity;
89257 t3.toString;
89258 minSpecificity = Math.max(minSpecificity, t3);
89259 if (complex._complex0$_maxSpecificity == null)
89260 complex._complex0$_computeSpecificity$0();
89261 t3 = complex._complex0$_maxSpecificity;
89262 t3.toString;
89263 maxSpecificity = Math.max(maxSpecificity, t3);
89264 }
89265 _this._pseudo0$_minSpecificity = minSpecificity;
89266 _this._pseudo0$_maxSpecificity = maxSpecificity;
89267 } else {
89268 minSpecificity = A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(_this), 3));
89269 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
89270 complex = t1[_i];
89271 if (complex._complex0$_minSpecificity == null)
89272 complex._complex0$_computeSpecificity$0();
89273 t3 = complex._complex0$_minSpecificity;
89274 t3.toString;
89275 minSpecificity = Math.min(minSpecificity, t3);
89276 if (complex._complex0$_maxSpecificity == null)
89277 complex._complex0$_computeSpecificity$0();
89278 t3 = complex._complex0$_maxSpecificity;
89279 t3.toString;
89280 maxSpecificity = Math.max(maxSpecificity, t3);
89281 }
89282 _this._pseudo0$_minSpecificity = minSpecificity;
89283 _this._pseudo0$_maxSpecificity = maxSpecificity;
89284 }
89285 },
89286 accept$1$1(visitor) {
89287 return visitor.visitPseudoSelector$1(this);
89288 },
89289 accept$1(visitor) {
89290 return this.accept$1$1(visitor, type$.dynamic);
89291 },
89292 $eq(_, other) {
89293 var _this = this;
89294 if (other == null)
89295 return false;
89296 return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
89297 },
89298 get$hashCode(_) {
89299 var _this = this,
89300 t1 = B.JSString_methods.get$hashCode(_this.name),
89301 t2 = !_this.isClass ? 519018 : 218159;
89302 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
89303 }
89304 };
89305 A.PseudoSelector_unify_closure0.prototype = {
89306 call$1(simple) {
89307 var t1;
89308 if (simple instanceof A.PseudoSelector0)
89309 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
89310 else
89311 t1 = false;
89312 return t1;
89313 },
89314 $signature: 15
89315 };
89316 A.PublicMemberMapView0.prototype = {
89317 get$keys(_) {
89318 var t1 = this._public_member_map_view0$_inner;
89319 return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
89320 },
89321 containsKey$1(key) {
89322 return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
89323 },
89324 $index(_, key) {
89325 if (typeof key == "string" && A.isPublic0(key))
89326 return this._public_member_map_view0$_inner.$index(0, key);
89327 return null;
89328 }
89329 };
89330 A.QualifiedName0.prototype = {
89331 $eq(_, other) {
89332 if (other == null)
89333 return false;
89334 return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
89335 },
89336 get$hashCode(_) {
89337 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
89338 },
89339 toString$0(_) {
89340 var t1 = this.namespace,
89341 t2 = this.name;
89342 return t1 == null ? t2 : t1 + "|" + t2;
89343 }
89344 };
89345 A.JSClass0.prototype = {};
89346 A.JSClassExtension_setCustomInspect_closure.prototype = {
89347 call$4($self, _, __, ___) {
89348 return this.inspect.call$1($self);
89349 },
89350 call$3($self, _, __) {
89351 return this.call$4($self, _, __, null);
89352 },
89353 "call*": "call$4",
89354 $requiredArgCount: 3,
89355 $defaultValues() {
89356 return [null];
89357 },
89358 $signature: 508
89359 };
89360 A.JSClassExtension_get_defineMethod_closure.prototype = {
89361 call$2($name, body) {
89362 J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
89363 return null;
89364 },
89365 $signature: 244
89366 };
89367 A.JSClassExtension_get_defineGetter_closure.prototype = {
89368 call$2($name, body) {
89369 A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
89370 return null;
89371 },
89372 $signature: 244
89373 };
89374 A.RenderContext0.prototype = {};
89375 A.RenderContextOptions0.prototype = {};
89376 A.RenderContextResult0.prototype = {};
89377 A.RenderContextResultStats0.prototype = {};
89378 A.RenderOptions.prototype = {};
89379 A.RenderResult.prototype = {};
89380 A.RenderResultStats.prototype = {};
89381 A.ImporterResult0.prototype = {
89382 get$sourceMapUrl(_) {
89383 var t1 = this._result$_sourceMapUrl;
89384 return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
89385 }
89386 };
89387 A.ReturnRule0.prototype = {
89388 accept$1$1(visitor) {
89389 return visitor.visitReturnRule$1(this);
89390 },
89391 accept$1(visitor) {
89392 return this.accept$1$1(visitor, type$.dynamic);
89393 },
89394 toString$0(_) {
89395 return "@return " + this.expression.toString$0(0) + ";";
89396 },
89397 $isAstNode0: 1,
89398 $isStatement0: 1,
89399 get$span(receiver) {
89400 return this.span;
89401 }
89402 };
89403 A.main_printError.prototype = {
89404 call$2(error, stackTrace) {
89405 var t1 = this._box_0;
89406 if (t1.printedError)
89407 $.$get$stderr().writeln$0();
89408 t1.printedError = true;
89409 t1 = $.$get$stderr();
89410 t1.writeln$1(error);
89411 if (stackTrace != null) {
89412 t1.writeln$0();
89413 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
89414 }
89415 },
89416 $signature: 510
89417 };
89418 A.main_closure.prototype = {
89419 call$0() {
89420 var t1, exception;
89421 try {
89422 t1 = this.destination;
89423 if (t1 != null && !this._box_0.options.get$emitErrorCss())
89424 A.deleteFile(t1);
89425 } catch (exception) {
89426 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
89427 throw exception;
89428 }
89429 },
89430 $signature: 1
89431 };
89432 A.SassParser0.prototype = {
89433 get$currentIndentation() {
89434 return this._sass0$_currentIndentation;
89435 },
89436 get$indented() {
89437 return true;
89438 },
89439 styleRuleSelector$0() {
89440 var t4,
89441 t1 = this.scanner,
89442 t2 = t1._string_scanner$_position,
89443 t3 = new A.StringBuffer(""),
89444 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
89445 do {
89446 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
89447 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
89448 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
89449 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89450 },
89451 expectStatementSeparator$1($name) {
89452 var t1, _this = this;
89453 if (!_this.atEndOfStatement$0())
89454 _this._sass0$_expectNewline$0();
89455 if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
89456 return;
89457 t1 = $name == null ? "here" : "beneath a " + $name;
89458 _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
89459 },
89460 expectStatementSeparator$0() {
89461 return this.expectStatementSeparator$1(null);
89462 },
89463 atEndOfStatement$0() {
89464 var next = this.scanner.peekChar$0();
89465 return next == null || next === 10 || next === 13 || next === 12;
89466 },
89467 lookingAtChildren$0() {
89468 return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
89469 },
89470 importArgument$0() {
89471 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
89472 t1 = _this.scanner;
89473 switch (t1.peekChar$0()) {
89474 case 117:
89475 case 85:
89476 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89477 if (_this.scanIdentifier$1("url"))
89478 if (t1.scanChar$1(40)) {
89479 t1.set$state(start);
89480 return _this.super$StylesheetParser$importArgument0();
89481 } else
89482 t1.set$state(start);
89483 break;
89484 case 39:
89485 case 34:
89486 return _this.super$StylesheetParser$importArgument0();
89487 }
89488 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89489 next = t1.peekChar$0();
89490 while (true) {
89491 if (next != null)
89492 if (next !== 44)
89493 if (next !== 59)
89494 t2 = !(next === 10 || next === 13 || next === 12);
89495 else
89496 t2 = false;
89497 else
89498 t2 = false;
89499 else
89500 t2 = false;
89501 if (!t2)
89502 break;
89503 t1.readChar$0();
89504 next = t1.peekChar$0();
89505 }
89506 url = t1.substring$1(0, start.position);
89507 span = t1.spanFrom$1(start);
89508 if (_this.isPlainImportUrl$1(url))
89509 return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
89510 else
89511 try {
89512 t1 = _this.parseImportUrl$1(url);
89513 return new A.DynamicImport0(t1, span);
89514 } catch (exception) {
89515 t1 = A.unwrapException(exception);
89516 if (type$.FormatException._is(t1)) {
89517 innerError = t1;
89518 stackTrace = A.getTraceFromException(exception);
89519 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
89520 } else
89521 throw exception;
89522 }
89523 },
89524 scanElse$1(ifIndentation) {
89525 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
89526 if (_this._sass0$_peekIndentation$0() !== ifIndentation)
89527 return false;
89528 t1 = _this.scanner;
89529 t2 = t1._string_scanner$_position;
89530 startIndentation = _this._sass0$_currentIndentation;
89531 startNextIndentation = _this._sass0$_nextIndentation;
89532 startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
89533 _this._sass0$_readIndentation$0();
89534 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
89535 return true;
89536 t1.set$state(new A._SpanScannerState(t1, t2));
89537 _this._sass0$_currentIndentation = startIndentation;
89538 _this._sass0$_nextIndentation = startNextIndentation;
89539 _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
89540 return false;
89541 },
89542 children$1(_, child) {
89543 var children = A._setArrayType([], type$.JSArray_Statement_2);
89544 this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
89545 return children;
89546 },
89547 statements$1(statement) {
89548 var statements, t2, child,
89549 t1 = this.scanner,
89550 first = t1.peekChar$0();
89551 if (first === 9 || first === 32)
89552 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
89553 statements = A._setArrayType([], type$.JSArray_Statement_2);
89554 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89555 child = this._sass0$_child$1(statement);
89556 if (child != null)
89557 statements.push(child);
89558 this._sass0$_readIndentation$0();
89559 }
89560 return statements;
89561 },
89562 _sass0$_child$1(child) {
89563 var _this = this,
89564 t1 = _this.scanner;
89565 switch (t1.peekChar$0()) {
89566 case 13:
89567 case 10:
89568 case 12:
89569 return null;
89570 case 36:
89571 return _this.variableDeclarationWithoutNamespace$0();
89572 case 47:
89573 switch (t1.peekChar$1(1)) {
89574 case 47:
89575 return _this._sass0$_silentComment$0();
89576 case 42:
89577 return _this._sass0$_loudComment$0();
89578 default:
89579 return child.call$0();
89580 }
89581 default:
89582 return child.call$0();
89583 }
89584 },
89585 _sass0$_silentComment$0() {
89586 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
89587 t1 = _this.scanner,
89588 t2 = t1._string_scanner$_position;
89589 t1.expect$1("//");
89590 buffer = new A.StringBuffer("");
89591 parentIndentation = _this._sass0$_currentIndentation;
89592 t3 = t1.string.length;
89593 t4 = 1 + parentIndentation;
89594 t5 = 2 + parentIndentation;
89595 $label0$0:
89596 do {
89597 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
89598 for (i = commentPrefix.length; true;) {
89599 t6 = buffer._contents += commentPrefix;
89600 for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
89601 t6 += A.Primitives_stringFromCharCode(32);
89602 buffer._contents = t6;
89603 }
89604 while (true) {
89605 if (t1._string_scanner$_position !== t3) {
89606 t7 = t1.peekChar$0();
89607 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
89608 } else
89609 t7 = false;
89610 if (!t7)
89611 break;
89612 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
89613 buffer._contents = t6;
89614 }
89615 buffer._contents = t6 + "\n";
89616 if (_this._sass0$_peekIndentation$0() < parentIndentation)
89617 break $label0$0;
89618 if (_this._sass0$_peekIndentation$0() === parentIndentation) {
89619 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
89620 _this._sass0$_readIndentation$0();
89621 break;
89622 }
89623 _this._sass0$_readIndentation$0();
89624 }
89625 } while (t1.scan$1("//"));
89626 t3 = buffer._contents;
89627 return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89628 },
89629 _sass0$_loudComment$0() {
89630 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
89631 t1 = _this.scanner,
89632 t2 = t1._string_scanner$_position;
89633 t1.expect$1("/*");
89634 t3 = new A.StringBuffer("");
89635 t4 = A._setArrayType([], type$.JSArray_Object);
89636 buffer = new A.InterpolationBuffer0(t3, t4);
89637 t3._contents = "" + "/*";
89638 parentIndentation = _this._sass0$_currentIndentation;
89639 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
89640 if (first) {
89641 beginningOfComment = t1._string_scanner$_position;
89642 _this.spaces$0();
89643 t7 = t1.peekChar$0();
89644 if (t7 === 10 || t7 === 13 || t7 === 12) {
89645 _this._sass0$_readIndentation$0();
89646 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
89647 } else {
89648 end = t1._string_scanner$_position;
89649 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
89650 }
89651 } else {
89652 t7 = t3._contents += "\n";
89653 t7 += " * ";
89654 t3._contents = t7;
89655 }
89656 for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
89657 t7 += A.Primitives_stringFromCharCode(32);
89658 t3._contents = t7;
89659 }
89660 $label0$1:
89661 for (; t1._string_scanner$_position !== t6;)
89662 switch (t1.peekChar$0()) {
89663 case 10:
89664 case 13:
89665 case 12:
89666 break $label0$1;
89667 case 35:
89668 if (t1.peekChar$1(1) === 123) {
89669 t7 = _this.singleInterpolation$0();
89670 buffer._interpolation_buffer0$_flushText$0();
89671 t4.push(t7);
89672 } else
89673 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89674 break;
89675 default:
89676 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89677 break;
89678 }
89679 if (_this._sass0$_peekIndentation$0() <= parentIndentation)
89680 break;
89681 for (; _this._sass0$_lookingAtDoubleNewline$0();) {
89682 _this._sass0$_expectNewline$0();
89683 t7 = t3._contents += "\n";
89684 t3._contents = t7 + " *";
89685 }
89686 _this._sass0$_readIndentation$0();
89687 }
89688 t4 = t3._contents;
89689 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
89690 t3._contents += " */";
89691 return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
89692 },
89693 whitespaceWithoutComments$0() {
89694 var t1, t2, next;
89695 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89696 next = t1.peekChar$0();
89697 if (next !== 9 && next !== 32)
89698 break;
89699 t1.readChar$0();
89700 }
89701 },
89702 loudComment$0() {
89703 var next,
89704 t1 = this.scanner;
89705 t1.expect$1("/*");
89706 for (; true;) {
89707 next = t1.readChar$0();
89708 if (next === 10 || next === 13 || next === 12)
89709 t1.error$1(0, "expected */.");
89710 if (next !== 42)
89711 continue;
89712 do
89713 next = t1.readChar$0();
89714 while (next === 42);
89715 if (next === 47)
89716 break;
89717 }
89718 },
89719 _sass0$_expectNewline$0() {
89720 var t1 = this.scanner;
89721 switch (t1.peekChar$0()) {
89722 case 59:
89723 t1.error$1(0, string$.semico);
89724 break;
89725 case 13:
89726 t1.readChar$0();
89727 if (t1.peekChar$0() === 10)
89728 t1.readChar$0();
89729 return;
89730 case 10:
89731 case 12:
89732 t1.readChar$0();
89733 return;
89734 default:
89735 t1.error$1(0, "expected newline.");
89736 }
89737 },
89738 _sass0$_lookingAtDoubleNewline$0() {
89739 var nextChar,
89740 t1 = this.scanner;
89741 switch (t1.peekChar$0()) {
89742 case 13:
89743 nextChar = t1.peekChar$1(1);
89744 if (nextChar === 10) {
89745 t1 = t1.peekChar$1(2);
89746 return t1 === 10 || t1 === 13 || t1 === 12;
89747 }
89748 return nextChar === 13 || nextChar === 12;
89749 case 10:
89750 case 12:
89751 t1 = t1.peekChar$1(1);
89752 return t1 === 10 || t1 === 13 || t1 === 12;
89753 default:
89754 return false;
89755 }
89756 },
89757 _sass0$_whileIndentedLower$1(body) {
89758 var t1, t2, childIndentation, indentation, t3, t4, _this = this,
89759 parentIndentation = _this._sass0$_currentIndentation;
89760 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
89761 indentation = _this._sass0$_readIndentation$0();
89762 if (childIndentation == null)
89763 childIndentation = indentation;
89764 if (childIndentation !== indentation) {
89765 t3 = t1._string_scanner$_position;
89766 t4 = t2.getColumn$1(t3);
89767 t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
89768 }
89769 body.call$0();
89770 }
89771 },
89772 _sass0$_readIndentation$0() {
89773 var t1, _this = this,
89774 currentIndentation = _this._sass0$_nextIndentation;
89775 if (currentIndentation == null)
89776 currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
89777 _this._sass0$_currentIndentation = currentIndentation;
89778 t1 = _this._sass0$_nextIndentationEnd;
89779 t1.toString;
89780 _this.scanner.set$state(t1);
89781 _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
89782 return currentIndentation;
89783 },
89784 _sass0$_peekIndentation$0() {
89785 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
89786 cached = _this._sass0$_nextIndentation;
89787 if (cached != null)
89788 return cached;
89789 t1 = _this.scanner;
89790 t2 = t1._string_scanner$_position;
89791 t3 = t1.string.length;
89792 if (t2 === t3) {
89793 _this._sass0$_nextIndentation = 0;
89794 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
89795 return 0;
89796 }
89797 start = new A._SpanScannerState(t1, t2);
89798 if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
89799 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
89800 containsTab = A._Cell$();
89801 containsSpace = A._Cell$();
89802 nextIndentation = A._Cell$();
89803 t2 = nextIndentation.__late_helper$_name;
89804 do {
89805 containsSpace._value = containsTab._value = false;
89806 nextIndentation._value = 0;
89807 for (; true;) {
89808 next = t1.peekChar$0();
89809 if (next === 32)
89810 containsSpace._value = true;
89811 else if (next === 9)
89812 containsTab._value = true;
89813 else
89814 break;
89815 t4 = nextIndentation._value;
89816 if (t4 === nextIndentation)
89817 A.throwExpression(A.LateError$localNI(t2));
89818 nextIndentation._value = t4 + 1;
89819 t1.readChar$0();
89820 }
89821 t4 = t1._string_scanner$_position;
89822 if (t4 === t3) {
89823 _this._sass0$_nextIndentation = 0;
89824 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
89825 t1.set$state(start);
89826 return 0;
89827 }
89828 } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
89829 t2 = containsTab._readLocal$0();
89830 t3 = containsSpace._readLocal$0();
89831 if (t2) {
89832 if (t3) {
89833 t2 = t1._string_scanner$_position;
89834 t3 = t1._sourceFile;
89835 t4 = t3.getColumn$1(t2);
89836 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89837 } else if (_this._sass0$_spaces === true) {
89838 t2 = t1._string_scanner$_position;
89839 t3 = t1._sourceFile;
89840 t4 = t3.getColumn$1(t2);
89841 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89842 }
89843 } else if (t3 && _this._sass0$_spaces === false) {
89844 t2 = t1._string_scanner$_position;
89845 t3 = t1._sourceFile;
89846 t4 = t3.getColumn$1(t2);
89847 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89848 }
89849 _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
89850 if (nextIndentation._readLocal$0() > 0)
89851 if (_this._sass0$_spaces == null)
89852 _this._sass0$_spaces = containsSpace._readLocal$0();
89853 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
89854 t1.set$state(start);
89855 return nextIndentation._readLocal$0();
89856 }
89857 };
89858 A.SassParser_children_closure0.prototype = {
89859 call$0() {
89860 var parsedChild = this.$this._sass0$_child$1(this.child);
89861 if (parsedChild != null)
89862 this.children.push(parsedChild);
89863 },
89864 $signature: 0
89865 };
89866 A._Exports.prototype = {};
89867 A._wrapMain_closure.prototype = {
89868 call$1(_) {
89869 return A._translateReturnValue(this.main.call$0());
89870 },
89871 $signature: 82
89872 };
89873 A._wrapMain_closure0.prototype = {
89874 call$1(args) {
89875 return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
89876 },
89877 $signature: 82
89878 };
89879 A.ScssParser0.prototype = {
89880 get$indented() {
89881 return false;
89882 },
89883 get$currentIndentation() {
89884 return 0;
89885 },
89886 styleRuleSelector$0() {
89887 return this.almostAnyValue$0();
89888 },
89889 expectStatementSeparator$1($name) {
89890 var t1, next;
89891 this.whitespaceWithoutComments$0();
89892 t1 = this.scanner;
89893 if (t1._string_scanner$_position === t1.string.length)
89894 return;
89895 next = t1.peekChar$0();
89896 if (next === 59 || next === 125)
89897 return;
89898 t1.expectChar$1(59);
89899 },
89900 expectStatementSeparator$0() {
89901 return this.expectStatementSeparator$1(null);
89902 },
89903 atEndOfStatement$0() {
89904 var next = this.scanner.peekChar$0();
89905 return next == null || next === 59 || next === 125 || next === 123;
89906 },
89907 lookingAtChildren$0() {
89908 return this.scanner.peekChar$0() === 123;
89909 },
89910 scanElse$1(ifIndentation) {
89911 var t3, _this = this,
89912 t1 = _this.scanner,
89913 t2 = t1._string_scanner$_position;
89914 _this.whitespace$0();
89915 t3 = t1._string_scanner$_position;
89916 if (t1.scanChar$1(64)) {
89917 if (_this.scanIdentifier$2$caseSensitive("else", true))
89918 return true;
89919 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
89920 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
89921 t1.set$position(t1._string_scanner$_position - 2);
89922 return true;
89923 }
89924 }
89925 t1.set$state(new A._SpanScannerState(t1, t2));
89926 return false;
89927 },
89928 children$1(_, child) {
89929 var children, _this = this,
89930 t1 = _this.scanner;
89931 t1.expectChar$1(123);
89932 _this.whitespaceWithoutComments$0();
89933 children = A._setArrayType([], type$.JSArray_Statement_2);
89934 for (; true;)
89935 switch (t1.peekChar$0()) {
89936 case 36:
89937 children.push(_this.variableDeclarationWithoutNamespace$0());
89938 break;
89939 case 47:
89940 switch (t1.peekChar$1(1)) {
89941 case 47:
89942 children.push(_this._scss0$_silentComment$0());
89943 _this.whitespaceWithoutComments$0();
89944 break;
89945 case 42:
89946 children.push(_this._scss0$_loudComment$0());
89947 _this.whitespaceWithoutComments$0();
89948 break;
89949 default:
89950 children.push(child.call$0());
89951 break;
89952 }
89953 break;
89954 case 59:
89955 t1.readChar$0();
89956 _this.whitespaceWithoutComments$0();
89957 break;
89958 case 125:
89959 t1.expectChar$1(125);
89960 return children;
89961 default:
89962 children.push(child.call$0());
89963 break;
89964 }
89965 },
89966 statements$1(statement) {
89967 var t1, t2, child, _this = this,
89968 statements = A._setArrayType([], type$.JSArray_Statement_2);
89969 _this.whitespaceWithoutComments$0();
89970 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
89971 switch (t1.peekChar$0()) {
89972 case 36:
89973 statements.push(_this.variableDeclarationWithoutNamespace$0());
89974 break;
89975 case 47:
89976 switch (t1.peekChar$1(1)) {
89977 case 47:
89978 statements.push(_this._scss0$_silentComment$0());
89979 _this.whitespaceWithoutComments$0();
89980 break;
89981 case 42:
89982 statements.push(_this._scss0$_loudComment$0());
89983 _this.whitespaceWithoutComments$0();
89984 break;
89985 default:
89986 child = statement.call$0();
89987 if (child != null)
89988 statements.push(child);
89989 break;
89990 }
89991 break;
89992 case 59:
89993 t1.readChar$0();
89994 _this.whitespaceWithoutComments$0();
89995 break;
89996 default:
89997 child = statement.call$0();
89998 if (child != null)
89999 statements.push(child);
90000 break;
90001 }
90002 return statements;
90003 },
90004 _scss0$_silentComment$0() {
90005 var t2, t3, _this = this,
90006 t1 = _this.scanner,
90007 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
90008 t1.expect$1("//");
90009 t2 = t1.string.length;
90010 do {
90011 while (true) {
90012 if (t1._string_scanner$_position !== t2) {
90013 t3 = t1.readChar$0();
90014 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
90015 } else
90016 t3 = false;
90017 if (!t3)
90018 break;
90019 }
90020 if (t1._string_scanner$_position === t2)
90021 break;
90022 _this.whitespaceWithoutComments$0();
90023 } while (t1.scan$1("//"));
90024 if (_this.get$plainCss())
90025 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
90026 return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
90027 },
90028 _scss0$_loudComment$0() {
90029 var t3, t4, buffer, t5, endPosition, t6, result,
90030 t1 = this.scanner,
90031 t2 = t1._string_scanner$_position;
90032 t1.expect$1("/*");
90033 t3 = new A.StringBuffer("");
90034 t4 = A._setArrayType([], type$.JSArray_Object);
90035 buffer = new A.InterpolationBuffer0(t3, t4);
90036 t3._contents = "" + "/*";
90037 for (; true;)
90038 switch (t1.peekChar$0()) {
90039 case 35:
90040 if (t1.peekChar$1(1) === 123) {
90041 t5 = this.singleInterpolation$0();
90042 buffer._interpolation_buffer0$_flushText$0();
90043 t4.push(t5);
90044 } else
90045 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90046 break;
90047 case 42:
90048 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90049 if (t1.peekChar$0() !== 47)
90050 break;
90051 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90052 endPosition = t1._string_scanner$_position;
90053 t5 = t1._sourceFile;
90054 t6 = new A._SpanScannerState(t1, t2).position;
90055 t1 = new A._FileSpan(t5, t6, endPosition);
90056 t1._FileSpan$3(t5, t6, endPosition);
90057 t6 = type$.Object;
90058 t5 = A.List_List$of(t4, true, t6);
90059 t2 = t3._contents;
90060 if (t2.length !== 0)
90061 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
90062 result = A.List_List$from(t5, false, t6);
90063 result.fixed$length = Array;
90064 result.immutable$list = Array;
90065 t2 = new A.Interpolation0(result, t1);
90066 t2.Interpolation$20(t5, t1);
90067 return new A.LoudComment0(t2);
90068 case 13:
90069 t1.readChar$0();
90070 if (t1.peekChar$0() !== 10)
90071 t3._contents += A.Primitives_stringFromCharCode(10);
90072 break;
90073 case 12:
90074 t1.readChar$0();
90075 t3._contents += A.Primitives_stringFromCharCode(10);
90076 break;
90077 default:
90078 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90079 break;
90080 }
90081 }
90082 };
90083 A.Selector0.prototype = {
90084 get$isInvisible() {
90085 return false;
90086 },
90087 toString$0(_) {
90088 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
90089 this.accept$1(visitor);
90090 return visitor._serialize0$_buffer.toString$0(0);
90091 }
90092 };
90093 A.SelectorExpression0.prototype = {
90094 accept$1$1(visitor) {
90095 return visitor.visitSelectorExpression$1(this);
90096 },
90097 accept$1(visitor) {
90098 return this.accept$1$1(visitor, type$.dynamic);
90099 },
90100 toString$0(_) {
90101 return "&";
90102 },
90103 $isExpression0: 1,
90104 $isAstNode0: 1,
90105 get$span(receiver) {
90106 return this.span;
90107 }
90108 };
90109 A._nest_closure0.prototype = {
90110 call$1($arguments) {
90111 var t1 = {},
90112 selectors = J.$index$asx($arguments, 0).get$asList();
90113 if (selectors.length === 0)
90114 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
90115 t1.first = true;
90116 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();
90117 },
90118 $signature: 22
90119 };
90120 A._nest__closure1.prototype = {
90121 call$1(selector) {
90122 var t1 = this._box_0,
90123 result = selector.assertSelector$1$allowParent(!t1.first);
90124 t1.first = false;
90125 return result;
90126 },
90127 $signature: 245
90128 };
90129 A._nest__closure2.prototype = {
90130 call$2($parent, child) {
90131 return child.resolveParentSelectors$1($parent);
90132 },
90133 $signature: 246
90134 };
90135 A._append_closure1.prototype = {
90136 call$1($arguments) {
90137 var selectors = J.$index$asx($arguments, 0).get$asList();
90138 if (selectors.length === 0)
90139 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
90140 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();
90141 },
90142 $signature: 22
90143 };
90144 A._append__closure1.prototype = {
90145 call$1(selector) {
90146 return selector.assertSelector$0();
90147 },
90148 $signature: 245
90149 };
90150 A._append__closure2.prototype = {
90151 call$2($parent, child) {
90152 var t1 = child.components;
90153 return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
90154 },
90155 $signature: 246
90156 };
90157 A._append___closure0.prototype = {
90158 call$1(complex) {
90159 var newCompound, t2,
90160 t1 = complex.components,
90161 compound = B.JSArray_methods.get$first(t1);
90162 if (compound instanceof A.CompoundSelector0) {
90163 newCompound = A._prependParent0(compound);
90164 if (newCompound == null)
90165 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
90166 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent_2);
90167 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
90168 return A.ComplexSelector$0(t2, false);
90169 } else
90170 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
90171 },
90172 $signature: 132
90173 };
90174 A._extend_closure0.prototype = {
90175 call$1($arguments) {
90176 var t1 = J.getInterceptor$asx($arguments),
90177 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
90178 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
90179 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
90180 },
90181 $signature: 22
90182 };
90183 A._replace_closure0.prototype = {
90184 call$1($arguments) {
90185 var t1 = J.getInterceptor$asx($arguments),
90186 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
90187 target = t1.$index($arguments, 1).assertSelector$1$name("original");
90188 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
90189 },
90190 $signature: 22
90191 };
90192 A._unify_closure0.prototype = {
90193 call$1($arguments) {
90194 var t1 = J.getInterceptor$asx($arguments),
90195 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
90196 return result == null ? B.C__SassNull0 : result.get$asSassList();
90197 },
90198 $signature: 3
90199 };
90200 A._isSuperselector_closure0.prototype = {
90201 call$1($arguments) {
90202 var t1 = J.getInterceptor$asx($arguments),
90203 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
90204 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
90205 return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
90206 },
90207 $signature: 18
90208 };
90209 A._simpleSelectors_closure0.prototype = {
90210 call$1($arguments) {
90211 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
90212 return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
90213 },
90214 $signature: 22
90215 };
90216 A._simpleSelectors__closure0.prototype = {
90217 call$1(simple) {
90218 return new A.SassString0(A.serializeSelector0(simple, true), false);
90219 },
90220 $signature: 513
90221 };
90222 A._parse_closure0.prototype = {
90223 call$1($arguments) {
90224 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
90225 },
90226 $signature: 22
90227 };
90228 A.SelectorParser0.prototype = {
90229 parse$0() {
90230 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
90231 },
90232 parseCompoundSelector$0() {
90233 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
90234 },
90235 _selector$_selectorList$0() {
90236 var t3, t4, lineBreak, _this = this,
90237 t1 = _this.scanner,
90238 t2 = t1._sourceFile,
90239 previousLine = t2.getLine$1(t1._string_scanner$_position),
90240 components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
90241 _this.whitespace$0();
90242 for (t3 = t1.string.length; t1.scanChar$1(44);) {
90243 _this.whitespace$0();
90244 if (t1.peekChar$0() === 44)
90245 continue;
90246 t4 = t1._string_scanner$_position;
90247 if (t4 === t3)
90248 break;
90249 lineBreak = t2.getLine$1(t4) !== previousLine;
90250 if (lineBreak)
90251 previousLine = t2.getLine$1(t1._string_scanner$_position);
90252 components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
90253 }
90254 return A.SelectorList$0(components);
90255 },
90256 _selector$_complexSelector$1$lineBreak(lineBreak) {
90257 var t1, next, _this = this,
90258 _s58_ = string$.x22x26__ma,
90259 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
90260 $label0$1:
90261 for (t1 = _this.scanner; true;) {
90262 _this.whitespace$0();
90263 next = t1.peekChar$0();
90264 switch (next) {
90265 case 43:
90266 t1.readChar$0();
90267 components.push(B.Combinator_uzg0);
90268 break;
90269 case 62:
90270 t1.readChar$0();
90271 components.push(B.Combinator_sgq0);
90272 break;
90273 case 126:
90274 t1.readChar$0();
90275 components.push(B.Combinator_CzM0);
90276 break;
90277 case 91:
90278 case 46:
90279 case 35:
90280 case 37:
90281 case 58:
90282 case 38:
90283 case 42:
90284 case 124:
90285 components.push(_this._selector$_compoundSelector$0());
90286 if (t1.peekChar$0() === 38)
90287 t1.error$1(0, _s58_);
90288 break;
90289 default:
90290 if (next == null || !_this.lookingAtIdentifier$0())
90291 break $label0$1;
90292 components.push(_this._selector$_compoundSelector$0());
90293 if (t1.peekChar$0() === 38)
90294 t1.error$1(0, _s58_);
90295 break;
90296 }
90297 }
90298 if (components.length === 0)
90299 t1.error$1(0, "expected selector.");
90300 return A.ComplexSelector$0(components, lineBreak);
90301 },
90302 _selector$_complexSelector$0() {
90303 return this._selector$_complexSelector$1$lineBreak(false);
90304 },
90305 _selector$_compoundSelector$0() {
90306 var t2,
90307 components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
90308 t1 = this.scanner;
90309 while (true) {
90310 t2 = t1.peekChar$0();
90311 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
90312 break;
90313 components.push(this._selector$_simpleSelector$1$allowParent(false));
90314 }
90315 return A.CompoundSelector$0(components);
90316 },
90317 _selector$_simpleSelector$1$allowParent(allowParent) {
90318 var $name, text, t2, suffix, _this = this,
90319 t1 = _this.scanner,
90320 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
90321 if (allowParent == null)
90322 allowParent = _this._selector$_allowParent;
90323 switch (t1.peekChar$0()) {
90324 case 91:
90325 return _this._selector$_attributeSelector$0();
90326 case 46:
90327 t1.expectChar$1(46);
90328 return new A.ClassSelector0(_this.identifier$0());
90329 case 35:
90330 t1.expectChar$1(35);
90331 return new A.IDSelector0(_this.identifier$0());
90332 case 37:
90333 t1.expectChar$1(37);
90334 $name = _this.identifier$0();
90335 if (!_this._selector$_allowPlaceholder)
90336 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
90337 return new A.PlaceholderSelector0($name);
90338 case 58:
90339 return _this._selector$_pseudoSelector$0();
90340 case 38:
90341 t1.expectChar$1(38);
90342 if (_this.lookingAtIdentifierBody$0()) {
90343 text = new A.StringBuffer("");
90344 _this._parser0$_identifierBody$1(text);
90345 if (text._contents.length === 0)
90346 t1.error$1(0, "Expected identifier body.");
90347 t2 = text._contents;
90348 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
90349 } else
90350 suffix = null;
90351 if (!allowParent)
90352 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
90353 return new A.ParentSelector0(suffix);
90354 default:
90355 return _this._selector$_typeOrUniversalSelector$0();
90356 }
90357 },
90358 _selector$_simpleSelector$0() {
90359 return this._selector$_simpleSelector$1$allowParent(null);
90360 },
90361 _selector$_attributeSelector$0() {
90362 var $name, operator, next, value, modifier, _this = this, _null = null,
90363 t1 = _this.scanner;
90364 t1.expectChar$1(91);
90365 _this.whitespace$0();
90366 $name = _this._selector$_attributeName$0();
90367 _this.whitespace$0();
90368 if (t1.scanChar$1(93))
90369 return new A.AttributeSelector0($name, _null, _null, _null);
90370 operator = _this._selector$_attributeOperator$0();
90371 _this.whitespace$0();
90372 next = t1.peekChar$0();
90373 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
90374 _this.whitespace$0();
90375 next = t1.peekChar$0();
90376 modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
90377 t1.expectChar$1(93);
90378 return new A.AttributeSelector0($name, operator, value, modifier);
90379 },
90380 _selector$_attributeName$0() {
90381 var nameOrNamespace, _this = this,
90382 t1 = _this.scanner;
90383 if (t1.scanChar$1(42)) {
90384 t1.expectChar$1(124);
90385 return new A.QualifiedName0(_this.identifier$0(), "*");
90386 }
90387 if (t1.scanChar$1(124))
90388 return new A.QualifiedName0(_this.identifier$0(), "");
90389 nameOrNamespace = _this.identifier$0();
90390 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
90391 return new A.QualifiedName0(nameOrNamespace, null);
90392 t1.readChar$0();
90393 return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
90394 },
90395 _selector$_attributeOperator$0() {
90396 var t1 = this.scanner,
90397 t2 = t1._string_scanner$_position;
90398 switch (t1.readChar$0()) {
90399 case 61:
90400 return B.AttributeOperator_sEs0;
90401 case 126:
90402 t1.expectChar$1(61);
90403 return B.AttributeOperator_fz10;
90404 case 124:
90405 t1.expectChar$1(61);
90406 return B.AttributeOperator_AuK0;
90407 case 94:
90408 t1.expectChar$1(61);
90409 return B.AttributeOperator_4L50;
90410 case 36:
90411 t1.expectChar$1(61);
90412 return B.AttributeOperator_mOX0;
90413 case 42:
90414 t1.expectChar$1(61);
90415 return B.AttributeOperator_gqZ0;
90416 default:
90417 t1.error$2$position(0, 'Expected "]".', t2);
90418 }
90419 },
90420 _selector$_pseudoSelector$0() {
90421 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
90422 t1 = _this.scanner;
90423 t1.expectChar$1(58);
90424 element = t1.scanChar$1(58);
90425 $name = _this.identifier$0();
90426 if (!t1.scanChar$1(40))
90427 return A.PseudoSelector$0($name, _null, element, _null);
90428 _this.whitespace$0();
90429 unvendored = A.unvendor0($name);
90430 if (element)
90431 if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
90432 selector = _this._selector$_selectorList$0();
90433 argument = _null;
90434 } else {
90435 argument = _this.declarationValue$1$allowEmpty(true);
90436 selector = _null;
90437 }
90438 else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
90439 selector = _this._selector$_selectorList$0();
90440 argument = _null;
90441 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
90442 argument = _this._selector$_aNPlusB$0();
90443 _this.whitespace$0();
90444 t2 = t1.peekChar$1(-1);
90445 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
90446 _this.expectIdentifier$1("of");
90447 argument += " of";
90448 _this.whitespace$0();
90449 selector = _this._selector$_selectorList$0();
90450 } else
90451 selector = _null;
90452 } else {
90453 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
90454 selector = _null;
90455 }
90456 t1.expectChar$1(41);
90457 return A.PseudoSelector$0($name, argument, element, selector);
90458 },
90459 _selector$_aNPlusB$0() {
90460 var t2, first, t3, next, last, _this = this,
90461 t1 = _this.scanner;
90462 switch (t1.peekChar$0()) {
90463 case 101:
90464 case 69:
90465 _this.expectIdentifier$1("even");
90466 return "even";
90467 case 111:
90468 case 79:
90469 _this.expectIdentifier$1("odd");
90470 return "odd";
90471 case 43:
90472 case 45:
90473 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
90474 break;
90475 default:
90476 t2 = "";
90477 }
90478 first = t1.peekChar$0();
90479 if (first != null && A.isDigit0(first)) {
90480 while (true) {
90481 t3 = t1.peekChar$0();
90482 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90483 break;
90484 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90485 }
90486 _this.whitespace$0();
90487 if (!_this.scanIdentChar$1(110))
90488 return t2.charCodeAt(0) == 0 ? t2 : t2;
90489 } else
90490 _this.expectIdentChar$1(110);
90491 t2 += A.Primitives_stringFromCharCode(110);
90492 _this.whitespace$0();
90493 next = t1.peekChar$0();
90494 if (next !== 43 && next !== 45)
90495 return t2.charCodeAt(0) == 0 ? t2 : t2;
90496 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90497 _this.whitespace$0();
90498 last = t1.peekChar$0();
90499 if (last == null || !A.isDigit0(last))
90500 t1.error$1(0, "Expected a number.");
90501 while (true) {
90502 t3 = t1.peekChar$0();
90503 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90504 break;
90505 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90506 }
90507 return t2.charCodeAt(0) == 0 ? t2 : t2;
90508 },
90509 _selector$_typeOrUniversalSelector$0() {
90510 var nameOrNamespace, _this = this,
90511 t1 = _this.scanner,
90512 first = t1.peekChar$0();
90513 if (first === 42) {
90514 t1.readChar$0();
90515 if (!t1.scanChar$1(124))
90516 return new A.UniversalSelector0(null);
90517 if (t1.scanChar$1(42))
90518 return new A.UniversalSelector0("*");
90519 else
90520 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
90521 } else if (first === 124) {
90522 t1.readChar$0();
90523 if (t1.scanChar$1(42))
90524 return new A.UniversalSelector0("");
90525 else
90526 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
90527 }
90528 nameOrNamespace = _this.identifier$0();
90529 if (!t1.scanChar$1(124))
90530 return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
90531 else if (t1.scanChar$1(42))
90532 return new A.UniversalSelector0(nameOrNamespace);
90533 else
90534 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
90535 }
90536 };
90537 A.SelectorParser_parse_closure0.prototype = {
90538 call$0() {
90539 var t1 = this.$this,
90540 selector = t1._selector$_selectorList$0();
90541 t1 = t1.scanner;
90542 if (t1._string_scanner$_position !== t1.string.length)
90543 t1.error$1(0, "expected selector.");
90544 return selector;
90545 },
90546 $signature: 45
90547 };
90548 A.SelectorParser_parseCompoundSelector_closure0.prototype = {
90549 call$0() {
90550 var t1 = this.$this,
90551 compound = t1._selector$_compoundSelector$0();
90552 t1 = t1.scanner;
90553 if (t1._string_scanner$_position !== t1.string.length)
90554 t1.error$1(0, "expected selector.");
90555 return compound;
90556 },
90557 $signature: 514
90558 };
90559 A.serialize_closure0.prototype = {
90560 call$1(codeUnit) {
90561 return codeUnit > 127;
90562 },
90563 $signature: 57
90564 };
90565 A._SerializeVisitor0.prototype = {
90566 visitCssStylesheet$1(node) {
90567 var t1, t2, t3, t4, t5, t6, previous, previous0, _this = this;
90568 for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = _this._serialize0$_style !== B.OutputStyle_compressed0, t3 = type$.CssComment_2, t4 = type$.CssParentNode_2, t5 = _this._serialize0$_buffer, t6 = _this._lineFeed.text, previous = null; t1.moveNext$0();) {
90569 previous0 = t1.get$current(t1);
90570 if (_this._serialize0$_isInvisible$1(previous0))
90571 continue;
90572 if (previous != null) {
90573 if (t4._is(previous) ? previous.get$isChildless() : !t3._is(previous))
90574 t5.writeCharCode$1(59);
90575 if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
90576 if (t2)
90577 t5.writeCharCode$1(32);
90578 } else {
90579 if (t2)
90580 t5.write$1(0, t6);
90581 if (previous.get$isGroupEnd())
90582 if (t2)
90583 t5.write$1(0, t6);
90584 }
90585 }
90586 previous0.accept$1(_this);
90587 previous = previous0;
90588 }
90589 if (previous != null)
90590 t1 = (t4._is(previous) ? previous.get$isChildless() : !t3._is(previous)) && t2;
90591 else
90592 t1 = false;
90593 if (t1)
90594 t5.writeCharCode$1(59);
90595 },
90596 visitCssComment$1(node) {
90597 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
90598 },
90599 visitCssAtRule$1(node) {
90600 var t1, _this = this;
90601 _this._serialize0$_writeIndentation$0();
90602 t1 = _this._serialize0$_buffer;
90603 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
90604 if (!node.isChildless) {
90605 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90606 t1.writeCharCode$1(32);
90607 _this._serialize0$_visitChildren$1(node);
90608 }
90609 },
90610 visitCssMediaRule$1(node) {
90611 var t1, _this = this;
90612 _this._serialize0$_writeIndentation$0();
90613 t1 = _this._serialize0$_buffer;
90614 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
90615 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90616 t1.writeCharCode$1(32);
90617 _this._serialize0$_visitChildren$1(node);
90618 },
90619 visitCssImport$1(node) {
90620 this._serialize0$_writeIndentation$0();
90621 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
90622 },
90623 _serialize0$_writeImportUrl$1(url) {
90624 var urlContents, maybeQuote, _this = this;
90625 if (_this._serialize0$_style !== B.OutputStyle_compressed0 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
90626 _this._serialize0$_buffer.write$1(0, url);
90627 return;
90628 }
90629 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
90630 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
90631 if (maybeQuote === 39 || maybeQuote === 34)
90632 _this._serialize0$_buffer.write$1(0, urlContents);
90633 else
90634 _this._serialize0$_visitQuotedString$1(urlContents);
90635 },
90636 visitCssKeyframeBlock$1(node) {
90637 var t1, _this = this;
90638 _this._serialize0$_writeIndentation$0();
90639 t1 = _this._serialize0$_buffer;
90640 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
90641 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90642 t1.writeCharCode$1(32);
90643 _this._serialize0$_visitChildren$1(node);
90644 },
90645 _serialize0$_visitMediaQuery$1(query) {
90646 var t2, t3, _this = this,
90647 t1 = query.modifier;
90648 if (t1 != null) {
90649 t2 = _this._serialize0$_buffer;
90650 t2.write$1(0, t1);
90651 t2.writeCharCode$1(32);
90652 }
90653 t1 = query.type;
90654 if (t1 != null) {
90655 t2 = _this._serialize0$_buffer;
90656 t2.write$1(0, t1);
90657 if (query.features.length !== 0)
90658 t2.write$1(0, " and ");
90659 }
90660 t1 = query.features;
90661 t2 = _this._serialize0$_style === B.OutputStyle_compressed0 ? "and " : " and ";
90662 t3 = _this._serialize0$_buffer;
90663 _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
90664 },
90665 visitCssStyleRule$1(node) {
90666 var t1, _this = this;
90667 _this._serialize0$_writeIndentation$0();
90668 t1 = _this._serialize0$_buffer;
90669 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
90670 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90671 t1.writeCharCode$1(32);
90672 _this._serialize0$_visitChildren$1(node);
90673 },
90674 visitCssSupportsRule$1(node) {
90675 var t1, _this = this;
90676 _this._serialize0$_writeIndentation$0();
90677 t1 = _this._serialize0$_buffer;
90678 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
90679 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90680 t1.writeCharCode$1(32);
90681 _this._serialize0$_visitChildren$1(node);
90682 },
90683 visitCssDeclaration$1(node) {
90684 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
90685 _this._serialize0$_writeIndentation$0();
90686 t1 = node.name;
90687 _this._serialize0$_write$1(t1);
90688 t2 = _this._serialize0$_buffer;
90689 t2.writeCharCode$1(58);
90690 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
90691 t1 = node.value;
90692 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
90693 } else {
90694 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90695 t2.writeCharCode$1(32);
90696 try {
90697 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
90698 } catch (exception) {
90699 t1 = A.unwrapException(exception);
90700 if (t1 instanceof A.MultiSpanSassScriptException0) {
90701 error = t1;
90702 stackTrace = A.getTraceFromException(exception);
90703 t1 = error.message;
90704 t2 = node.value;
90705 t2 = t2.get$span(t2);
90706 A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
90707 } else if (t1 instanceof A.SassScriptException0) {
90708 error0 = t1;
90709 stackTrace0 = A.getTraceFromException(exception);
90710 t1 = node.value;
90711 A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
90712 } else
90713 throw exception;
90714 }
90715 }
90716 },
90717 _serialize0$_writeFoldedValue$1(node) {
90718 var t2, next, t3,
90719 t1 = node.value,
90720 scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
90721 for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
90722 next = scanner.readChar$0();
90723 if (next !== 10) {
90724 t2.writeCharCode$1(next);
90725 continue;
90726 }
90727 t2.writeCharCode$1(32);
90728 while (true) {
90729 t3 = scanner.peekChar$0();
90730 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
90731 break;
90732 scanner.readChar$0();
90733 }
90734 }
90735 },
90736 _serialize0$_writeReindentedValue$1(node) {
90737 var _this = this,
90738 t1 = node.value,
90739 value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
90740 minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
90741 if (minimumIndentation == null) {
90742 _this._serialize0$_buffer.write$1(0, value);
90743 return;
90744 } else if (minimumIndentation === -1) {
90745 t1 = _this._serialize0$_buffer;
90746 t1.write$1(0, A.trimAsciiRight0(value, true));
90747 t1.writeCharCode$1(32);
90748 return;
90749 }
90750 t1 = node.name;
90751 t1 = t1.get$span(t1);
90752 t1 = A.FileLocation$_(t1.file, t1._file$_start);
90753 _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
90754 },
90755 _serialize0$_minimumIndentation$1(text) {
90756 var character, t2, min, next, min0,
90757 scanner = A.LineScanner$(text),
90758 t1 = scanner.string.length;
90759 while (true) {
90760 if (scanner._string_scanner$_position !== t1) {
90761 character = scanner.super$StringScanner$readChar();
90762 scanner._adjustLineAndColumn$1(character);
90763 t2 = character !== 10;
90764 } else
90765 t2 = false;
90766 if (!t2)
90767 break;
90768 }
90769 if (scanner._string_scanner$_position === t1)
90770 return scanner.peekChar$1(-1) === 10 ? -1 : null;
90771 for (min = null; scanner._string_scanner$_position !== t1;) {
90772 for (; scanner._string_scanner$_position !== t1;) {
90773 next = scanner.peekChar$0();
90774 if (next !== 32 && next !== 9)
90775 break;
90776 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
90777 }
90778 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
90779 continue;
90780 min0 = scanner._line_scanner$_column;
90781 min = min == null ? min0 : Math.min(min, min0);
90782 while (true) {
90783 if (scanner._string_scanner$_position !== t1) {
90784 character = scanner.super$StringScanner$readChar();
90785 scanner._adjustLineAndColumn$1(character);
90786 t2 = character !== 10;
90787 } else
90788 t2 = false;
90789 if (!t2)
90790 break;
90791 }
90792 }
90793 return min == null ? -1 : min;
90794 },
90795 _serialize0$_writeWithIndent$2(text, minimumIndentation) {
90796 var t1, t2, t3, character, lineStart, newlines, end,
90797 scanner = A.LineScanner$(text);
90798 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
90799 character = scanner.super$StringScanner$readChar();
90800 scanner._adjustLineAndColumn$1(character);
90801 if (character === 10)
90802 break;
90803 t3.writeCharCode$1(character);
90804 }
90805 for (; true;) {
90806 lineStart = scanner._string_scanner$_position;
90807 for (newlines = 1; true;) {
90808 if (scanner._string_scanner$_position === t2) {
90809 t3.writeCharCode$1(32);
90810 return;
90811 }
90812 character = scanner.super$StringScanner$readChar();
90813 scanner._adjustLineAndColumn$1(character);
90814 if (character === 32 || character === 9)
90815 continue;
90816 if (character !== 10)
90817 break;
90818 lineStart = scanner._string_scanner$_position;
90819 ++newlines;
90820 }
90821 this._serialize0$_writeTimes$2(10, newlines);
90822 this._serialize0$_writeIndentation$0();
90823 end = scanner._string_scanner$_position;
90824 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
90825 for (; true;) {
90826 if (scanner._string_scanner$_position === t2)
90827 return;
90828 character = scanner.super$StringScanner$readChar();
90829 scanner._adjustLineAndColumn$1(character);
90830 if (character === 10)
90831 break;
90832 t3.writeCharCode$1(character);
90833 }
90834 }
90835 },
90836 _serialize0$_writeCalculationValue$1(value) {
90837 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
90838 if (value instanceof A.Value0)
90839 value.accept$1(_this);
90840 else if (value instanceof A.CalculationInterpolation0)
90841 _this._serialize0$_buffer.write$1(0, value.value);
90842 else if (value instanceof A.CalculationOperation0) {
90843 left = value.left;
90844 if (!(left instanceof A.CalculationInterpolation0))
90845 parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
90846 else
90847 parenthesizeLeft = true;
90848 if (parenthesizeLeft)
90849 _this._serialize0$_buffer.writeCharCode$1(40);
90850 _this._serialize0$_writeCalculationValue$1(left);
90851 if (parenthesizeLeft)
90852 _this._serialize0$_buffer.writeCharCode$1(41);
90853 operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_compressed0 || value.operator.precedence === 1;
90854 if (operatorWhitespace)
90855 _this._serialize0$_buffer.writeCharCode$1(32);
90856 t1 = _this._serialize0$_buffer;
90857 t2 = value.operator;
90858 t1.write$1(0, t2.operator);
90859 if (operatorWhitespace)
90860 t1.writeCharCode$1(32);
90861 right = value.right;
90862 if (!(right instanceof A.CalculationInterpolation0))
90863 parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
90864 else
90865 parenthesizeRight = true;
90866 if (parenthesizeRight)
90867 t1.writeCharCode$1(40);
90868 _this._serialize0$_writeCalculationValue$1(right);
90869 if (parenthesizeRight)
90870 t1.writeCharCode$1(41);
90871 }
90872 },
90873 _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
90874 if (outer === B.CalculationOperator_jB60)
90875 return true;
90876 if (outer === B.CalculationOperator_Iem0)
90877 return false;
90878 return right === B.CalculationOperator_Iem0 || right === B.CalculationOperator_uti0;
90879 },
90880 _serialize0$_writeRgb$1(value) {
90881 var t3,
90882 t1 = value._color1$_alpha,
90883 opaque = Math.abs(t1 - 1) < $.$get$epsilon0(),
90884 t2 = this._serialize0$_buffer;
90885 t2.write$1(0, opaque ? "rgb(" : "rgba(");
90886 t2.write$1(0, value.get$red(value));
90887 t3 = this._serialize0$_style === B.OutputStyle_compressed0;
90888 t2.write$1(0, t3 ? "," : ", ");
90889 t2.write$1(0, value.get$green(value));
90890 t2.write$1(0, t3 ? "," : ", ");
90891 t2.write$1(0, value.get$blue(value));
90892 if (!opaque) {
90893 t2.write$1(0, t3 ? "," : ", ");
90894 this._serialize0$_writeNumber$1(t1);
90895 }
90896 t2.writeCharCode$1(41);
90897 },
90898 _serialize0$_canUseShortHex$1(color) {
90899 var t1 = color.get$red(color);
90900 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90901 t1 = color.get$green(color);
90902 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90903 t1 = color.get$blue(color);
90904 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
90905 } else
90906 t1 = false;
90907 } else
90908 t1 = false;
90909 return t1;
90910 },
90911 _serialize0$_writeHexComponent$1(color) {
90912 var t1 = this._serialize0$_buffer;
90913 t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
90914 t1.writeCharCode$1(A.hexCharFor0(color & 15));
90915 },
90916 visitList$1(value) {
90917 var t2, t3, singleton, t4, t5, _this = this,
90918 t1 = value._list1$_hasBrackets;
90919 if (t1)
90920 _this._serialize0$_buffer.writeCharCode$1(91);
90921 else if (value._list1$_contents.length === 0) {
90922 if (!_this._serialize0$_inspect)
90923 throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value."));
90924 _this._serialize0$_buffer.write$1(0, "()");
90925 return;
90926 }
90927 t2 = _this._serialize0$_inspect;
90928 if (t2)
90929 if (value._list1$_contents.length === 1) {
90930 t3 = value._list1$_separator;
90931 t3 = t3 === B.ListSeparator_kWM0 || t3 === B.ListSeparator_1gm0;
90932 singleton = t3;
90933 } else
90934 singleton = false;
90935 else
90936 singleton = false;
90937 if (singleton && !t1)
90938 _this._serialize0$_buffer.writeCharCode$1(40);
90939 t3 = value._list1$_contents;
90940 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
90941 t4 = value._list1$_separator;
90942 t5 = _this._serialize0$_separatorString$1(t4);
90943 _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
90944 if (singleton) {
90945 t2 = _this._serialize0$_buffer;
90946 t2.write$1(0, t4.separator);
90947 if (!t1)
90948 t2.writeCharCode$1(41);
90949 }
90950 if (t1)
90951 _this._serialize0$_buffer.writeCharCode$1(93);
90952 },
90953 _serialize0$_separatorString$1(separator) {
90954 switch (separator) {
90955 case B.ListSeparator_kWM0:
90956 return this._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
90957 case B.ListSeparator_1gm0:
90958 return this._serialize0$_style === B.OutputStyle_compressed0 ? "/" : " / ";
90959 case B.ListSeparator_woc0:
90960 return " ";
90961 default:
90962 return "";
90963 }
90964 },
90965 _serialize0$_elementNeedsParens$2(separator, value) {
90966 var t1;
90967 if (value instanceof A.SassList0) {
90968 if (value._list1$_contents.length < 2)
90969 return false;
90970 if (value._list1$_hasBrackets)
90971 return false;
90972 switch (separator) {
90973 case B.ListSeparator_kWM0:
90974 return value._list1$_separator === B.ListSeparator_kWM0;
90975 case B.ListSeparator_1gm0:
90976 t1 = value._list1$_separator;
90977 return t1 === B.ListSeparator_kWM0 || t1 === B.ListSeparator_1gm0;
90978 default:
90979 return value._list1$_separator !== B.ListSeparator_undecided_null0;
90980 }
90981 }
90982 return false;
90983 },
90984 visitMap$1(map) {
90985 var t1, t2, _this = this;
90986 if (!_this._serialize0$_inspect)
90987 throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value."));
90988 t1 = _this._serialize0$_buffer;
90989 t1.writeCharCode$1(40);
90990 t2 = map._map0$_contents;
90991 _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
90992 t1.writeCharCode$1(41);
90993 },
90994 _serialize0$_writeMapElement$1(value) {
90995 var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_kWM0 && !value._list1$_hasBrackets;
90996 if (needsParens)
90997 this._serialize0$_buffer.writeCharCode$1(40);
90998 value.accept$1(this);
90999 if (needsParens)
91000 this._serialize0$_buffer.writeCharCode$1(41);
91001 },
91002 visitNumber$1(value) {
91003 var _this = this,
91004 asSlash = value.asSlash;
91005 if (asSlash != null) {
91006 _this.visitNumber$1(asSlash.item1);
91007 _this._serialize0$_buffer.writeCharCode$1(47);
91008 _this.visitNumber$1(asSlash.item2);
91009 return;
91010 }
91011 _this._serialize0$_writeNumber$1(value._number1$_value);
91012 if (!_this._serialize0$_inspect) {
91013 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
91014 throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value."));
91015 if (value.get$numeratorUnits(value).length !== 0)
91016 _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
91017 } else
91018 _this._serialize0$_buffer.write$1(0, value.get$unitString());
91019 },
91020 _serialize0$_writeNumber$1(number) {
91021 var text, _this = this,
91022 integer = A.fuzzyIsInt0(number) ? B.JSNumber_methods.round$0(number) : null;
91023 if (integer != null) {
91024 _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
91025 return;
91026 }
91027 text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
91028 if (text.length < 12) {
91029 if (_this._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
91030 text = B.JSString_methods.substring$1(text, 1);
91031 _this._serialize0$_buffer.write$1(0, text);
91032 return;
91033 }
91034 _this._serialize0$_writeRounded$1(text);
91035 },
91036 _serialize0$_removeExponent$1(text) {
91037 var buffer, t3, additionalZeroes,
91038 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
91039 negative = t1 === 45,
91040 exponent = A._Cell$(),
91041 t2 = text.length,
91042 i = 0;
91043 while (true) {
91044 if (!(i < t2)) {
91045 buffer = null;
91046 break;
91047 }
91048 c$0: {
91049 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
91050 break c$0;
91051 buffer = new A.StringBuffer("");
91052 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
91053 if (negative) {
91054 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
91055 buffer._contents = t1;
91056 if (i > 3)
91057 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
91058 } else if (i > 2)
91059 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
91060 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
91061 break;
91062 }
91063 ++i;
91064 }
91065 if (buffer == null)
91066 return text;
91067 if (exponent._readLocal$0() > 0) {
91068 t1 = exponent._readLocal$0();
91069 t2 = buffer._contents;
91070 t3 = negative ? 1 : 0;
91071 additionalZeroes = t1 - (t2.length - 1 - t3);
91072 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
91073 t1 += A.Primitives_stringFromCharCode(48);
91074 buffer._contents = t1;
91075 }
91076 return t1.charCodeAt(0) == 0 ? t1 : t1;
91077 } else {
91078 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
91079 t2 = exponent.__late_helper$_name;
91080 i = -1;
91081 while (true) {
91082 t3 = exponent._value;
91083 if (t3 === exponent)
91084 A.throwExpression(A.LateError$localNI(t2));
91085 if (!(i > t3))
91086 break;
91087 t1 += A.Primitives_stringFromCharCode(48);
91088 --i;
91089 }
91090 if (negative) {
91091 t2 = buffer._contents;
91092 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
91093 } else
91094 t2 = buffer;
91095 t2 = t1 + A.S(t2);
91096 return t2.charCodeAt(0) == 0 ? t2 : t2;
91097 }
91098 },
91099 _serialize0$_writeRounded$1(text) {
91100 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
91101 if (B.JSString_methods.endsWith$1(text, ".0")) {
91102 _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
91103 return;
91104 }
91105 t1 = text.length;
91106 digits = new Uint8Array(t1 + 1);
91107 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
91108 textIndex = negative ? 1 : 0;
91109 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
91110 if (textIndex === t1) {
91111 _this._serialize0$_buffer.write$1(0, text);
91112 return;
91113 }
91114 textIndex0 = textIndex + 1;
91115 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
91116 if (codeUnit === 46) {
91117 textIndex = textIndex0;
91118 break;
91119 }
91120 digitsIndex0 = digitsIndex + 1;
91121 digits[digitsIndex] = codeUnit - 48;
91122 }
91123 indexAfterPrecision = textIndex + 10;
91124 if (indexAfterPrecision >= t1) {
91125 _this._serialize0$_buffer.write$1(0, text);
91126 return;
91127 }
91128 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
91129 digitsIndex1 = digitsIndex0 + 1;
91130 textIndex0 = textIndex + 1;
91131 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
91132 }
91133 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
91134 for (; true; digitsIndex0 = digitsIndex1) {
91135 digitsIndex1 = digitsIndex0 - 1;
91136 newDigit = digits[digitsIndex1] + 1;
91137 digits[digitsIndex1] = newDigit;
91138 if (newDigit !== 10)
91139 break;
91140 }
91141 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
91142 digits[digitsIndex0] = 0;
91143 while (true) {
91144 t1 = digitsIndex0 > digitsIndex;
91145 if (!(t1 && digits[digitsIndex0 - 1] === 0))
91146 break;
91147 --digitsIndex0;
91148 }
91149 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
91150 _this._serialize0$_buffer.writeCharCode$1(48);
91151 return;
91152 }
91153 if (negative)
91154 _this._serialize0$_buffer.writeCharCode$1(45);
91155 if (digits[0] === 0)
91156 writtenIndex = _this._serialize0$_style === B.OutputStyle_compressed0 && digits[1] === 0 ? 2 : 1;
91157 else
91158 writtenIndex = 0;
91159 for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
91160 t2.writeCharCode$1(48 + digits[writtenIndex]);
91161 if (t1) {
91162 t2.writeCharCode$1(46);
91163 for (; writtenIndex < digitsIndex0; ++writtenIndex)
91164 t2.writeCharCode$1(48 + digits[writtenIndex]);
91165 }
91166 },
91167 _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
91168 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
91169 buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
91170 if (forceDoubleQuote)
91171 buffer.writeCharCode$1(34);
91172 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
91173 char = B.JSString_methods._codeUnitAt$1(string, i);
91174 switch (char) {
91175 case 39:
91176 if (forceDoubleQuote)
91177 buffer.writeCharCode$1(39);
91178 else {
91179 if (includesDoubleQuote) {
91180 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
91181 return;
91182 } else
91183 buffer.writeCharCode$1(39);
91184 includesSingleQuote = true;
91185 }
91186 break;
91187 case 34:
91188 if (forceDoubleQuote) {
91189 buffer.writeCharCode$1(92);
91190 buffer.writeCharCode$1(34);
91191 } else {
91192 if (includesSingleQuote) {
91193 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
91194 return;
91195 } else
91196 buffer.writeCharCode$1(34);
91197 includesDoubleQuote = true;
91198 }
91199 break;
91200 case 0:
91201 case 1:
91202 case 2:
91203 case 3:
91204 case 4:
91205 case 5:
91206 case 6:
91207 case 7:
91208 case 8:
91209 case 10:
91210 case 11:
91211 case 12:
91212 case 13:
91213 case 14:
91214 case 15:
91215 case 16:
91216 case 17:
91217 case 18:
91218 case 19:
91219 case 20:
91220 case 21:
91221 case 22:
91222 case 23:
91223 case 24:
91224 case 25:
91225 case 26:
91226 case 27:
91227 case 28:
91228 case 29:
91229 case 30:
91230 case 31:
91231 _this._serialize0$_writeEscape$4(buffer, char, string, i);
91232 break;
91233 case 92:
91234 buffer.writeCharCode$1(92);
91235 buffer.writeCharCode$1(92);
91236 break;
91237 default:
91238 newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
91239 if (newIndex != null) {
91240 i = newIndex;
91241 break;
91242 }
91243 buffer.writeCharCode$1(char);
91244 break;
91245 }
91246 }
91247 if (forceDoubleQuote)
91248 buffer.writeCharCode$1(34);
91249 else {
91250 quote = includesDoubleQuote ? 39 : 34;
91251 t1 = _this._serialize0$_buffer;
91252 t1.writeCharCode$1(quote);
91253 t1.write$1(0, buffer);
91254 t1.writeCharCode$1(quote);
91255 }
91256 },
91257 _serialize0$_visitQuotedString$1(string) {
91258 return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
91259 },
91260 _serialize0$_visitUnquotedString$1(string) {
91261 var t1, t2, afterNewline, i, char, newIndex;
91262 for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
91263 char = B.JSString_methods._codeUnitAt$1(string, i);
91264 switch (char) {
91265 case 10:
91266 t2.writeCharCode$1(32);
91267 afterNewline = true;
91268 break;
91269 case 32:
91270 if (!afterNewline)
91271 t2.writeCharCode$1(32);
91272 break;
91273 default:
91274 newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
91275 if (newIndex != null) {
91276 i = newIndex;
91277 afterNewline = false;
91278 break;
91279 }
91280 t2.writeCharCode$1(char);
91281 afterNewline = false;
91282 break;
91283 }
91284 }
91285 },
91286 _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
91287 var t1;
91288 if (this._serialize0$_style === B.OutputStyle_compressed0)
91289 return null;
91290 if (codeUnit >= 57344 && codeUnit <= 63743) {
91291 this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
91292 return i;
91293 }
91294 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
91295 t1 = i + 1;
91296 this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
91297 return t1;
91298 }
91299 return null;
91300 },
91301 _serialize0$_writeEscape$4(buffer, character, string, i) {
91302 var t1, next;
91303 buffer.writeCharCode$1(92);
91304 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
91305 t1 = i + 1;
91306 if (string.length === t1)
91307 return;
91308 next = B.JSString_methods._codeUnitAt$1(string, t1);
91309 if (A.isHex0(next) || next === 32 || next === 9)
91310 buffer.writeCharCode$1(32);
91311 },
91312 visitComplexSelector$1(complex) {
91313 var t1, t2, t3, t4, lastComponent, _i, component, t5;
91314 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) {
91315 component = t1[_i];
91316 if (lastComponent != null)
91317 if (!(t4 && lastComponent instanceof A.Combinator0))
91318 t5 = !(t4 && component instanceof A.Combinator0);
91319 else
91320 t5 = false;
91321 else
91322 t5 = false;
91323 if (t5)
91324 t3.write$1(0, " ");
91325 if (component instanceof A.CompoundSelector0)
91326 this.visitCompoundSelector$1(component);
91327 else
91328 t3.write$1(0, component);
91329 }
91330 },
91331 visitCompoundSelector$1(compound) {
91332 var t2, t3, _i,
91333 t1 = this._serialize0$_buffer,
91334 start = t1.get$length(t1);
91335 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
91336 t2[_i].accept$1(this);
91337 if (t1.get$length(t1) === start)
91338 t1.writeCharCode$1(42);
91339 },
91340 visitSelectorList$1(list) {
91341 var t1, t2, t3, t4, first, t5, _this = this,
91342 complexes = list.components;
91343 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();) {
91344 t5 = t1.get$current(t1);
91345 if (first)
91346 first = false;
91347 else {
91348 t3.writeCharCode$1(44);
91349 if (t5.lineBreak) {
91350 if (t2)
91351 t3.write$1(0, t4);
91352 } else if (t2)
91353 t3.writeCharCode$1(32);
91354 }
91355 _this.visitComplexSelector$1(t5);
91356 }
91357 },
91358 visitPseudoSelector$1(pseudo) {
91359 var t3, t4, t5,
91360 innerSelector = pseudo.selector,
91361 t1 = innerSelector == null,
91362 t2 = !t1;
91363 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
91364 return;
91365 t3 = this._serialize0$_buffer;
91366 t3.writeCharCode$1(58);
91367 if (!pseudo.isSyntacticClass)
91368 t3.writeCharCode$1(58);
91369 t3.write$1(0, pseudo.name);
91370 t4 = pseudo.argument;
91371 t5 = t4 == null;
91372 if (t5 && t1)
91373 return;
91374 t3.writeCharCode$1(40);
91375 if (!t5) {
91376 t3.write$1(0, t4);
91377 if (t2)
91378 t3.writeCharCode$1(32);
91379 }
91380 if (t2)
91381 this.visitSelectorList$1(innerSelector);
91382 t3.writeCharCode$1(41);
91383 },
91384 _serialize0$_write$1(value) {
91385 return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
91386 },
91387 _serialize0$_visitChildren$1($parent) {
91388 var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
91389 t1 = _this._serialize0$_buffer;
91390 t1.writeCharCode$1(123);
91391 for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._serialize0$_style !== B.OutputStyle_compressed0, t4 = A._instanceType(t2)._precomputed1, t5 = type$.CssComment_2, t6 = type$.CssParentNode_2, t7 = _this._lineFeed.text, prePrevious = null, previous = null; t2.moveNext$0();) {
91392 t8 = t2.__internal$_current;
91393 previous0 = t8 == null ? t4._as(t8) : t8;
91394 if (_this._serialize0$_isInvisible$1(previous0))
91395 continue;
91396 t8 = previous == null;
91397 if (!t8)
91398 t9 = t6._is(previous) ? previous.get$isChildless() : !t5._is(previous);
91399 else
91400 t9 = false;
91401 if (t9)
91402 t1.writeCharCode$1(59);
91403 if (_this._serialize0$_isTrailingComment$2(previous0, t8 ? $parent : previous)) {
91404 if (t3)
91405 t1.writeCharCode$1(32);
91406 savedIndentation = _this._serialize0$_indentation;
91407 _this._serialize0$_indentation = 0;
91408 new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
91409 _this._serialize0$_indentation = savedIndentation;
91410 } else {
91411 if (t3)
91412 t1.write$1(0, t7);
91413 ++_this._serialize0$_indentation;
91414 new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
91415 --_this._serialize0$_indentation;
91416 }
91417 prePrevious = previous;
91418 previous = previous0;
91419 }
91420 if (previous != null) {
91421 if ((t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t3)
91422 t1.writeCharCode$1(59);
91423 if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
91424 if (t3)
91425 t1.writeCharCode$1(32);
91426 } else {
91427 _this._serialize0$_writeLineFeed$0();
91428 _this._serialize0$_writeIndentation$0();
91429 }
91430 }
91431 t1.writeCharCode$1(125);
91432 },
91433 _serialize0$_isTrailingComment$2(node, previous) {
91434 var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
91435 if (this._serialize0$_style === B.OutputStyle_compressed0)
91436 return false;
91437 if (!type$.CssComment_2._is(node))
91438 return false;
91439 t1 = previous.get$span(previous);
91440 t2 = node.span;
91441 t3 = t1.file;
91442 t4 = t2.file;
91443 if (!(J.$eq$(t3.url, t4.url) && A.FileLocation$_(t3, t1._file$_start).offset <= A.FileLocation$_(t4, t2._file$_start).offset && A.FileLocation$_(t3, t1._end).offset >= A.FileLocation$_(t4, t2._end).offset)) {
91444 t1 = A.FileLocation$_(t4, t2._file$_start);
91445 t1 = t1.file.getLine$1(t1.offset);
91446 t2 = previous.get$span(previous);
91447 t2 = A.FileLocation$_(t2.file, t2._end);
91448 return t1 === t2.file.getLine$1(t2.offset);
91449 }
91450 t1 = t2._file$_start;
91451 t2 = A.FileLocation$_(t4, t1);
91452 t3 = previous.get$span(previous);
91453 searchFrom = t2.offset - A.FileLocation$_(t3.file, t3._file$_start).offset - 1;
91454 if (searchFrom < 0)
91455 return false;
91456 t2 = previous.get$span(previous);
91457 endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null), "{", searchFrom));
91458 t2 = previous.get$span(previous);
91459 t3 = previous.get$span(previous);
91460 t3 = A.FileLocation$_(t3.file, t3._file$_start);
91461 t5 = previous.get$span(previous);
91462 span = t2.file.span$2(0, t3.offset, A.FileLocation$_(t5.file, t5._file$_start).offset + endOffset);
91463 t1 = A.FileLocation$_(t4, t1);
91464 t1 = t1.file.getLine$1(t1.offset);
91465 t4 = A.FileLocation$_(span.file, span._end);
91466 return t1 === t4.file.getLine$1(t4.offset);
91467 },
91468 _serialize0$_writeLineFeed$0() {
91469 if (this._serialize0$_style !== B.OutputStyle_compressed0)
91470 this._serialize0$_buffer.write$1(0, this._lineFeed.text);
91471 },
91472 _serialize0$_writeIndentation$0() {
91473 var _this = this;
91474 if (_this._serialize0$_style === B.OutputStyle_compressed0)
91475 return;
91476 _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
91477 },
91478 _serialize0$_writeTimes$2(char, times) {
91479 var t1, i;
91480 for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
91481 t1.writeCharCode$1(char);
91482 },
91483 _serialize0$_writeBetween$1$3(iterable, text, callback) {
91484 var t1, t2, first, value;
91485 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
91486 value = t1.get$current(t1);
91487 if (first)
91488 first = false;
91489 else
91490 t2.write$1(0, text);
91491 callback.call$1(value);
91492 }
91493 },
91494 _serialize0$_writeBetween$3(iterable, text, callback) {
91495 return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
91496 },
91497 _serialize0$_isInvisible$1(node) {
91498 if (this._serialize0$_inspect)
91499 return false;
91500 if (this._serialize0$_style === B.OutputStyle_compressed0 && type$.CssComment_2._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
91501 return true;
91502 if (type$.CssParentNode_2._is(node)) {
91503 if (type$.CssAtRule_2._is(node))
91504 return false;
91505 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
91506 return true;
91507 return J.every$1$ax(node.get$children(node), this.get$_serialize0$_isInvisible());
91508 } else
91509 return false;
91510 }
91511 };
91512 A._SerializeVisitor_visitCssComment_closure0.prototype = {
91513 call$0() {
91514 var t2, t3, minimumIndentation,
91515 t1 = this.$this;
91516 if (t1._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
91517 return;
91518 t2 = this.node;
91519 t3 = t2.text;
91520 minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
91521 if (minimumIndentation == null) {
91522 t1._serialize0$_writeIndentation$0();
91523 t1._serialize0$_buffer.write$1(0, t3);
91524 return;
91525 }
91526 t2 = t2.span;
91527 t2 = A.FileLocation$_(t2.file, t2._file$_start);
91528 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
91529 t1._serialize0$_writeIndentation$0();
91530 t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
91531 },
91532 $signature: 1
91533 };
91534 A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
91535 call$0() {
91536 var t3, value,
91537 t1 = this.$this,
91538 t2 = t1._serialize0$_buffer;
91539 t2.writeCharCode$1(64);
91540 t3 = this.node;
91541 t1._serialize0$_write$1(t3.name);
91542 value = t3.value;
91543 if (value != null) {
91544 t2.writeCharCode$1(32);
91545 t1._serialize0$_write$1(value);
91546 }
91547 },
91548 $signature: 1
91549 };
91550 A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
91551 call$0() {
91552 var t3, t4,
91553 t1 = this.$this,
91554 t2 = t1._serialize0$_buffer;
91555 t2.write$1(0, "@media");
91556 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
91557 if (t3) {
91558 t4 = B.JSArray_methods.get$first(this.node.queries);
91559 t4 = !(t4.modifier == null && t4.type == null);
91560 } else
91561 t4 = true;
91562 if (t4)
91563 t2.writeCharCode$1(32);
91564 t2 = t3 ? "," : ", ";
91565 t1._serialize0$_writeBetween$3(this.node.queries, t2, t1.get$_serialize0$_visitMediaQuery());
91566 },
91567 $signature: 1
91568 };
91569 A._SerializeVisitor_visitCssImport_closure0.prototype = {
91570 call$0() {
91571 var t3, t4, t5, modifiers,
91572 t1 = this.$this,
91573 t2 = t1._serialize0$_buffer;
91574 t2.write$1(0, "@import");
91575 t3 = t1._serialize0$_style !== B.OutputStyle_compressed0;
91576 if (t3)
91577 t2.writeCharCode$1(32);
91578 t4 = this.node;
91579 t5 = t4.url;
91580 t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
91581 modifiers = t4.modifiers;
91582 if (modifiers != null) {
91583 if (t3)
91584 t2.writeCharCode$1(32);
91585 t2.write$1(0, modifiers);
91586 }
91587 },
91588 $signature: 1
91589 };
91590 A._SerializeVisitor_visitCssImport__closure0.prototype = {
91591 call$0() {
91592 var t1 = this.node.url;
91593 return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
91594 },
91595 $signature: 0
91596 };
91597 A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
91598 call$0() {
91599 var t1 = this.$this,
91600 t2 = t1._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ",
91601 t3 = t1._serialize0$_buffer;
91602 return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
91603 },
91604 $signature: 0
91605 };
91606 A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
91607 call$0() {
91608 return this.$this.visitSelectorList$1(this.node.selector.value);
91609 },
91610 $signature: 0
91611 };
91612 A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
91613 call$0() {
91614 var t1 = this.$this,
91615 t2 = t1._serialize0$_buffer;
91616 t2.write$1(0, "@supports");
91617 if (!(t1._serialize0$_style === B.OutputStyle_compressed0 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
91618 t2.writeCharCode$1(32);
91619 t1._serialize0$_write$1(this.node.condition);
91620 },
91621 $signature: 1
91622 };
91623 A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
91624 call$0() {
91625 var t1 = this.$this,
91626 t2 = this.node;
91627 if (t1._serialize0$_style === B.OutputStyle_compressed0)
91628 t1._serialize0$_writeFoldedValue$1(t2);
91629 else
91630 t1._serialize0$_writeReindentedValue$1(t2);
91631 },
91632 $signature: 1
91633 };
91634 A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
91635 call$0() {
91636 var t1 = this.node.value;
91637 return t1.get$value(t1).accept$1(this.$this);
91638 },
91639 $signature: 0
91640 };
91641 A._SerializeVisitor_visitList_closure2.prototype = {
91642 call$1(element) {
91643 return !element.get$isBlank();
91644 },
91645 $signature: 49
91646 };
91647 A._SerializeVisitor_visitList_closure3.prototype = {
91648 call$1(element) {
91649 var t1 = this.$this,
91650 needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
91651 if (needsParens)
91652 t1._serialize0$_buffer.writeCharCode$1(40);
91653 element.accept$1(t1);
91654 if (needsParens)
91655 t1._serialize0$_buffer.writeCharCode$1(41);
91656 },
91657 $signature: 53
91658 };
91659 A._SerializeVisitor_visitList_closure4.prototype = {
91660 call$1(element) {
91661 element.accept$1(this.$this);
91662 },
91663 $signature: 53
91664 };
91665 A._SerializeVisitor_visitMap_closure0.prototype = {
91666 call$1(entry) {
91667 var t1 = this.$this;
91668 t1._serialize0$_writeMapElement$1(entry.key);
91669 t1._serialize0$_buffer.write$1(0, ": ");
91670 t1._serialize0$_writeMapElement$1(entry.value);
91671 },
91672 $signature: 516
91673 };
91674 A._SerializeVisitor_visitSelectorList_closure0.prototype = {
91675 call$1(complex) {
91676 return !complex.get$isInvisible();
91677 },
91678 $signature: 20
91679 };
91680 A._SerializeVisitor__write_closure0.prototype = {
91681 call$0() {
91682 var t1 = this.value;
91683 return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
91684 },
91685 $signature: 0
91686 };
91687 A._SerializeVisitor__visitChildren_closure1.prototype = {
91688 call$0() {
91689 return this.child.accept$1(this.$this);
91690 },
91691 $signature: 0
91692 };
91693 A._SerializeVisitor__visitChildren_closure2.prototype = {
91694 call$0() {
91695 this.child.accept$1(this.$this);
91696 },
91697 $signature: 0
91698 };
91699 A.OutputStyle0.prototype = {
91700 toString$0(_) {
91701 return this._serialize0$_name;
91702 }
91703 };
91704 A.LineFeed0.prototype = {
91705 toString$0(_) {
91706 return this.name;
91707 }
91708 };
91709 A.SerializeResult0.prototype = {};
91710 A.ShadowedModuleView0.prototype = {
91711 get$url(_) {
91712 var t1 = this._shadowed_view0$_inner;
91713 return t1.get$url(t1);
91714 },
91715 get$upstream() {
91716 return this._shadowed_view0$_inner.get$upstream();
91717 },
91718 get$extensionStore() {
91719 return this._shadowed_view0$_inner.get$extensionStore();
91720 },
91721 get$css(_) {
91722 var t1 = this._shadowed_view0$_inner;
91723 return t1.get$css(t1);
91724 },
91725 get$transitivelyContainsCss() {
91726 return this._shadowed_view0$_inner.get$transitivelyContainsCss();
91727 },
91728 get$transitivelyContainsExtensions() {
91729 return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
91730 },
91731 setVariable$3($name, value, nodeWithSpan) {
91732 if (!this.variables.containsKey$1($name))
91733 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
91734 else
91735 return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
91736 },
91737 variableIdentity$1($name) {
91738 return this._shadowed_view0$_inner.variableIdentity$1($name);
91739 },
91740 $eq(_, other) {
91741 var t1, t2, _this = this;
91742 if (other == null)
91743 return false;
91744 if (other instanceof A.ShadowedModuleView0)
91745 if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
91746 t1 = _this.variables;
91747 t1 = t1.get$keys(t1);
91748 t2 = other.variables;
91749 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91750 t1 = _this.functions;
91751 t1 = t1.get$keys(t1);
91752 t2 = other.functions;
91753 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91754 t1 = _this.mixins;
91755 t1 = t1.get$keys(t1);
91756 t2 = other.mixins;
91757 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
91758 t1 = t2;
91759 } else
91760 t1 = false;
91761 } else
91762 t1 = false;
91763 } else
91764 t1 = false;
91765 else
91766 t1 = false;
91767 return t1;
91768 },
91769 get$hashCode(_) {
91770 var t1 = this._shadowed_view0$_inner;
91771 return t1.get$hashCode(t1);
91772 },
91773 cloneCss$0() {
91774 var _this = this;
91775 return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
91776 },
91777 toString$0(_) {
91778 return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
91779 },
91780 $isModule0: 1,
91781 get$variables() {
91782 return this.variables;
91783 },
91784 get$variableNodes() {
91785 return this.variableNodes;
91786 },
91787 get$functions(receiver) {
91788 return this.functions;
91789 },
91790 get$mixins() {
91791 return this.mixins;
91792 }
91793 };
91794 A.SilentComment0.prototype = {
91795 accept$1$1(visitor) {
91796 return visitor.visitSilentComment$1(this);
91797 },
91798 accept$1(visitor) {
91799 return this.accept$1$1(visitor, type$.dynamic);
91800 },
91801 toString$0(_) {
91802 return this.text;
91803 },
91804 $isAstNode0: 1,
91805 $isStatement0: 1,
91806 get$span(receiver) {
91807 return this.span;
91808 }
91809 };
91810 A.SimpleSelector0.prototype = {
91811 get$minSpecificity() {
91812 return 1000;
91813 },
91814 get$maxSpecificity() {
91815 return this.get$minSpecificity();
91816 },
91817 addSuffix$1(suffix) {
91818 return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"'));
91819 },
91820 unify$1(compound) {
91821 var other, t1, result, addedThis, _i, simple, _this = this;
91822 if (compound.length === 1) {
91823 other = B.JSArray_methods.get$first(compound);
91824 if (!(other instanceof A.UniversalSelector0))
91825 if (other instanceof A.PseudoSelector0)
91826 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
91827 else
91828 t1 = false;
91829 else
91830 t1 = true;
91831 if (t1)
91832 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
91833 }
91834 if (B.JSArray_methods.contains$1(compound, _this))
91835 return compound;
91836 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
91837 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
91838 simple = compound[_i];
91839 if (!addedThis && simple instanceof A.PseudoSelector0) {
91840 result.push(_this);
91841 addedThis = true;
91842 }
91843 result.push(simple);
91844 }
91845 if (!addedThis)
91846 result.push(_this);
91847 return result;
91848 }
91849 };
91850 A.SingleUnitSassNumber0.prototype = {
91851 get$numeratorUnits(_) {
91852 return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
91853 },
91854 get$denominatorUnits(_) {
91855 return B.List_empty;
91856 },
91857 get$hasUnits() {
91858 return true;
91859 },
91860 withValue$1(value) {
91861 return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
91862 },
91863 withSlash$2(numerator, denominator) {
91864 return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
91865 },
91866 hasUnit$1(unit) {
91867 return unit === this._single_unit$_unit;
91868 },
91869 hasCompatibleUnits$1(other) {
91870 return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
91871 },
91872 hasPossiblyCompatibleUnits$1(other) {
91873 var t1, knownCompatibilities, otherUnit;
91874 if (!(other instanceof A.SingleUnitSassNumber0))
91875 return false;
91876 t1 = $.$get$_knownCompatibilitiesByUnit0();
91877 knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
91878 if (knownCompatibilities == null)
91879 return true;
91880 otherUnit = other._single_unit$_unit.toLowerCase();
91881 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
91882 },
91883 compatibleWithUnit$1(unit) {
91884 return A.conversionFactor0(this._single_unit$_unit, unit) != null;
91885 },
91886 coerceToMatch$3(other, $name, otherName) {
91887 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91888 return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
91889 },
91890 coerceValueToMatch$3(other, $name, otherName) {
91891 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91892 return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
91893 },
91894 coerceValueToMatch$1(other) {
91895 return this.coerceValueToMatch$3(other, null, null);
91896 },
91897 convertToMatch$3(other, $name, otherName) {
91898 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91899 return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
91900 },
91901 convertValueToMatch$3(other, $name, otherName) {
91902 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91903 return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
91904 },
91905 coerce$3(newNumerators, newDenominators, $name) {
91906 var t1 = J.getInterceptor$asx(newNumerators);
91907 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
91908 return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
91909 },
91910 coerce$2(newNumerators, newDenominators) {
91911 return this.coerce$3(newNumerators, newDenominators, null);
91912 },
91913 coerceValue$3(newNumerators, newDenominators, $name) {
91914 var t1 = J.getInterceptor$asx(newNumerators);
91915 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
91916 return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
91917 },
91918 coerceValueToUnit$2(unit, $name) {
91919 var t1 = this._single_unit$_coerceValueToUnit$1(unit);
91920 return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
91921 },
91922 _single_unit$_coerceToUnit$1(unit) {
91923 var t1 = this._single_unit$_unit;
91924 if (t1 === unit)
91925 return this;
91926 return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
91927 },
91928 _single_unit$_coerceValueToUnit$1(unit) {
91929 return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
91930 },
91931 multiplyUnits$3(value, otherNumerators, otherDenominators) {
91932 var mutableOtherDenominators, t1 = {};
91933 t1.value = value;
91934 t1.newNumerators = otherNumerators;
91935 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
91936 A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
91937 return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
91938 },
91939 unaryMinus$0() {
91940 return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
91941 },
91942 $eq(_, other) {
91943 var factor;
91944 if (other == null)
91945 return false;
91946 if (other instanceof A.SingleUnitSassNumber0) {
91947 factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
91948 return factor != null && Math.abs(this._number1$_value * factor - other._number1$_value) < $.$get$epsilon0();
91949 } else
91950 return false;
91951 },
91952 get$hashCode(_) {
91953 var _this = this,
91954 t1 = _this.hashCache;
91955 return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
91956 }
91957 };
91958 A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
91959 call$1(factor) {
91960 return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
91961 },
91962 $signature: 517
91963 };
91964 A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
91965 call$1(factor) {
91966 return this.$this._number1$_value * factor;
91967 },
91968 $signature: 73
91969 };
91970 A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
91971 call$1(denominator) {
91972 var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
91973 if (factor == null)
91974 return false;
91975 this._box_0.value *= factor;
91976 return true;
91977 },
91978 $signature: 6
91979 };
91980 A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
91981 call$0() {
91982 var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
91983 t2 = this._box_0;
91984 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
91985 t2.newNumerators = t1;
91986 },
91987 $signature: 0
91988 };
91989 A.SourceMapBuffer0.prototype = {
91990 get$_source_map_buffer0$_targetLocation() {
91991 var t1 = this._source_map_buffer0$_buffer._contents,
91992 t2 = this._source_map_buffer0$_line;
91993 return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
91994 },
91995 get$length(_) {
91996 return this._source_map_buffer0$_buffer._contents.length;
91997 },
91998 forSpan$1$2(span, callback) {
91999 var t1, _this = this,
92000 wasInSpan = _this._source_map_buffer0$_inSpan;
92001 _this._source_map_buffer0$_inSpan = true;
92002 _this._source_map_buffer0$_addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_source_map_buffer0$_targetLocation());
92003 try {
92004 t1 = callback.call$0();
92005 return t1;
92006 } finally {
92007 _this._source_map_buffer0$_inSpan = wasInSpan;
92008 }
92009 },
92010 forSpan$2(span, callback) {
92011 return this.forSpan$1$2(span, callback, type$.dynamic);
92012 },
92013 _source_map_buffer0$_addEntry$2(source, target) {
92014 var entry, t2,
92015 t1 = this._source_map_buffer0$_entries;
92016 if (t1.length !== 0) {
92017 entry = B.JSArray_methods.get$last(t1);
92018 t2 = entry.source;
92019 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
92020 return;
92021 if (entry.target.offset === target.offset)
92022 return;
92023 }
92024 t1.push(new A.Entry(source, target, null));
92025 },
92026 write$1(_, object) {
92027 var t1, i,
92028 string = J.toString$0$(object);
92029 this._source_map_buffer0$_buffer._contents += string;
92030 for (t1 = string.length, i = 0; i < t1; ++i)
92031 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
92032 this._source_map_buffer0$_writeLine$0();
92033 else
92034 ++this._source_map_buffer0$_column;
92035 },
92036 writeCharCode$1(charCode) {
92037 this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
92038 if (charCode === 10)
92039 this._source_map_buffer0$_writeLine$0();
92040 else
92041 ++this._source_map_buffer0$_column;
92042 },
92043 _source_map_buffer0$_writeLine$0() {
92044 var _this = this,
92045 t1 = _this._source_map_buffer0$_entries;
92046 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)
92047 t1.pop();
92048 ++_this._source_map_buffer0$_line;
92049 _this._source_map_buffer0$_column = 0;
92050 if (_this._source_map_buffer0$_inSpan)
92051 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
92052 },
92053 toString$0(_) {
92054 var t1 = this._source_map_buffer0$_buffer._contents;
92055 return t1.charCodeAt(0) == 0 ? t1 : t1;
92056 },
92057 buildSourceMap$1$prefix(prefix) {
92058 var i, t2, prefixColumn, _box_0 = {},
92059 t1 = prefix.length;
92060 if (t1 === 0)
92061 return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
92062 _box_0.prefixColumn = _box_0.prefixLines = 0;
92063 for (i = 0, t2 = 0; i < t1; ++i)
92064 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
92065 ++_box_0.prefixLines;
92066 _box_0.prefixColumn = 0;
92067 t2 = 0;
92068 } else {
92069 prefixColumn = t2 + 1;
92070 _box_0.prefixColumn = prefixColumn;
92071 t2 = prefixColumn;
92072 }
92073 t2 = this._source_map_buffer0$_entries;
92074 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>")));
92075 }
92076 };
92077 A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
92078 call$1(entry) {
92079 var t1 = entry.source,
92080 t2 = entry.target,
92081 t3 = t2.line,
92082 t4 = this._box_0,
92083 t5 = t4.prefixLines;
92084 t4 = t3 === 0 ? t4.prefixColumn : 0;
92085 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
92086 },
92087 $signature: 169
92088 };
92089 A.updateSourceSpanPrototype_closure.prototype = {
92090 call$1(span) {
92091 return A.FileLocation$_(span.file, span._file$_start);
92092 },
92093 $signature: 247
92094 };
92095 A.updateSourceSpanPrototype_closure0.prototype = {
92096 call$1(span) {
92097 return A.FileLocation$_(span.file, span._end);
92098 },
92099 $signature: 247
92100 };
92101 A.updateSourceSpanPrototype_closure1.prototype = {
92102 call$1(span) {
92103 return A.NullableExtension_andThen0(span.file.url, A.utils1__dartToJSUrl$closure());
92104 },
92105 $signature: 519
92106 };
92107 A.updateSourceSpanPrototype_closure2.prototype = {
92108 call$1(span) {
92109 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
92110 },
92111 $signature: 248
92112 };
92113 A.updateSourceSpanPrototype_closure3.prototype = {
92114 call$1(span) {
92115 return span.get$context(span);
92116 },
92117 $signature: 248
92118 };
92119 A.updateSourceSpanPrototype_closure4.prototype = {
92120 call$1($location) {
92121 return $location.get$line();
92122 },
92123 $signature: 249
92124 };
92125 A.updateSourceSpanPrototype_closure5.prototype = {
92126 call$1($location) {
92127 return $location.get$column();
92128 },
92129 $signature: 249
92130 };
92131 A.StatementSearchVisitor0.prototype = {
92132 visitAtRootRule$1(node) {
92133 return this.visitChildren$1(node.children);
92134 },
92135 visitAtRule$1(node) {
92136 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
92137 },
92138 visitContentBlock$1(node) {
92139 return this.visitChildren$1(node.children);
92140 },
92141 visitDebugRule$1(node) {
92142 return null;
92143 },
92144 visitDeclaration$1(node) {
92145 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
92146 },
92147 visitEachRule$1(node) {
92148 return this.visitChildren$1(node.children);
92149 },
92150 visitErrorRule$1(node) {
92151 return null;
92152 },
92153 visitExtendRule$1(node) {
92154 return null;
92155 },
92156 visitForRule$1(node) {
92157 return this.visitChildren$1(node.children);
92158 },
92159 visitForwardRule$1(node) {
92160 return null;
92161 },
92162 visitFunctionRule$1(node) {
92163 return this.visitChildren$1(node.children);
92164 },
92165 visitIfRule$1(node) {
92166 var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
92167 return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
92168 },
92169 visitImportRule$1(node) {
92170 return null;
92171 },
92172 visitIncludeRule$1(node) {
92173 return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
92174 },
92175 visitLoudComment$1(node) {
92176 return null;
92177 },
92178 visitMediaRule$1(node) {
92179 return this.visitChildren$1(node.children);
92180 },
92181 visitMixinRule$1(node) {
92182 return this.visitChildren$1(node.children);
92183 },
92184 visitReturnRule$1(node) {
92185 return null;
92186 },
92187 visitSilentComment$1(node) {
92188 return null;
92189 },
92190 visitStyleRule$1(node) {
92191 return this.visitChildren$1(node.children);
92192 },
92193 visitStylesheet$1(node) {
92194 return this.visitChildren$1(node.children);
92195 },
92196 visitSupportsRule$1(node) {
92197 return this.visitChildren$1(node.children);
92198 },
92199 visitUseRule$1(node) {
92200 return null;
92201 },
92202 visitVariableDeclaration$1(node) {
92203 return null;
92204 },
92205 visitWarnRule$1(node) {
92206 return null;
92207 },
92208 visitWhileRule$1(node) {
92209 return this.visitChildren$1(node.children);
92210 },
92211 visitChildren$1(children) {
92212 return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
92213 }
92214 };
92215 A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
92216 call$1(clause) {
92217 return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
92218 },
92219 $signature() {
92220 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
92221 }
92222 };
92223 A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
92224 call$1(child) {
92225 return child.accept$1(this.$this);
92226 },
92227 $signature() {
92228 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92229 }
92230 };
92231 A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
92232 call$1(lastClause) {
92233 return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
92234 },
92235 $signature() {
92236 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
92237 }
92238 };
92239 A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
92240 call$1(child) {
92241 return child.accept$1(this.$this);
92242 },
92243 $signature() {
92244 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92245 }
92246 };
92247 A.StatementSearchVisitor_visitChildren_closure0.prototype = {
92248 call$1(child) {
92249 return child.accept$1(this.$this);
92250 },
92251 $signature() {
92252 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92253 }
92254 };
92255 A.StaticImport0.prototype = {
92256 toString$0(_) {
92257 var t1 = this.url.toString$0(0),
92258 t2 = this.modifiers;
92259 return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
92260 },
92261 $isImport0: 1,
92262 $isAstNode0: 1,
92263 get$span(receiver) {
92264 return this.span;
92265 }
92266 };
92267 A.StderrLogger0.prototype = {
92268 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
92269 var t2, t3, t4,
92270 t1 = this.color;
92271 if (t1) {
92272 t2 = $.$get$stderr0();
92273 t3 = t2._node0$_stderr;
92274 t4 = J.getInterceptor$x(t3);
92275 t4.write$1(t3, "\x1b[33m\x1b[1m");
92276 if (deprecation)
92277 t4.write$1(t3, "Deprecation ");
92278 t4.write$1(t3, "Warning\x1b[0m");
92279 } else {
92280 if (deprecation)
92281 J.write$1$x($.$get$stderr0()._node0$_stderr, "DEPRECATION ");
92282 t2 = $.$get$stderr0();
92283 J.write$1$x(t2._node0$_stderr, "WARNING");
92284 }
92285 if (span == null)
92286 t2.writeln$1(": " + message);
92287 else if (trace != null)
92288 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
92289 else
92290 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
92291 if (trace != null)
92292 t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
92293 t2.writeln$0();
92294 },
92295 warn$1($receiver, message) {
92296 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
92297 },
92298 warn$2$span($receiver, message, span) {
92299 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
92300 },
92301 warn$2$deprecation($receiver, message, deprecation) {
92302 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
92303 },
92304 warn$3$deprecation$span($receiver, message, deprecation, span) {
92305 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
92306 },
92307 warn$2$trace($receiver, message, trace) {
92308 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
92309 },
92310 debug$2(_, message, span) {
92311 var url, t3, t4,
92312 t1 = span.file,
92313 t2 = span._file$_start;
92314 if (A.FileLocation$_(t1, t2).file.url == null)
92315 url = "-";
92316 else {
92317 t3 = A.FileLocation$_(t1, t2);
92318 url = $.$get$context().prettyUri$1(t3.file.url);
92319 }
92320 t3 = $.$get$stderr0();
92321 t2 = A.FileLocation$_(t1, t2);
92322 t2 = t2.file.getLine$1(t2.offset);
92323 t1 = t3._node0$_stderr;
92324 t4 = J.getInterceptor$x(t1);
92325 t4.write$1(t1, url + ":" + (t2 + 1) + " ");
92326 t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
92327 t3.writeln$1(": " + message);
92328 }
92329 };
92330 A.StringExpression0.prototype = {
92331 get$span(_) {
92332 return this.text.span;
92333 },
92334 accept$1$1(visitor) {
92335 return visitor.visitStringExpression$1(this);
92336 },
92337 accept$1(visitor) {
92338 return this.accept$1$1(visitor, type$.dynamic);
92339 },
92340 asInterpolation$1$static($static) {
92341 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
92342 if (!this.hasQuotes)
92343 return this.text;
92344 t1 = this.text;
92345 t2 = t1.contents;
92346 quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
92347 t3 = new A.StringBuffer("");
92348 t4 = A._setArrayType([], type$.JSArray_Object);
92349 buffer = new A.InterpolationBuffer0(t3, t4);
92350 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
92351 for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
92352 value = t2[_i];
92353 if (t6._is(value)) {
92354 buffer._interpolation_buffer0$_flushText$0();
92355 t4.push(value);
92356 } else if (typeof value == "string")
92357 A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
92358 }
92359 t3._contents += A.Primitives_stringFromCharCode(quote);
92360 return buffer.interpolation$1(t1.span);
92361 },
92362 asInterpolation$0() {
92363 return this.asInterpolation$1$static(false);
92364 },
92365 toString$0(_) {
92366 return this.asInterpolation$0().toString$0(0);
92367 },
92368 $isExpression0: 1,
92369 $isAstNode0: 1
92370 };
92371 A._unquote_closure0.prototype = {
92372 call$1($arguments) {
92373 var string = J.$index$asx($arguments, 0).assertString$1("string");
92374 if (!string._string0$_hasQuotes)
92375 return string;
92376 return new A.SassString0(string._string0$_text, false);
92377 },
92378 $signature: 13
92379 };
92380 A._quote_closure0.prototype = {
92381 call$1($arguments) {
92382 var string = J.$index$asx($arguments, 0).assertString$1("string");
92383 if (string._string0$_hasQuotes)
92384 return string;
92385 return new A.SassString0(string._string0$_text, true);
92386 },
92387 $signature: 13
92388 };
92389 A._length_closure1.prototype = {
92390 call$1($arguments) {
92391 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength();
92392 return new A.UnitlessSassNumber0(t1, null);
92393 },
92394 $signature: 10
92395 };
92396 A._insert_closure0.prototype = {
92397 call$1($arguments) {
92398 var indexInt, codeUnitIndex, _s5_ = "index",
92399 t1 = J.getInterceptor$asx($arguments),
92400 string = t1.$index($arguments, 0).assertString$1("string"),
92401 insert = t1.$index($arguments, 1).assertString$1("insert"),
92402 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
92403 index.assertNoUnits$1(_s5_);
92404 indexInt = index.assertInt$1(_s5_);
92405 if (indexInt < 0)
92406 indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
92407 t1 = string._string0$_text;
92408 codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
92409 return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
92410 },
92411 $signature: 13
92412 };
92413 A._index_closure1.prototype = {
92414 call$1($arguments) {
92415 var codepointIndex,
92416 t1 = J.getInterceptor$asx($arguments),
92417 t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
92418 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
92419 if (codeUnitIndex === -1)
92420 return B.C__SassNull0;
92421 codepointIndex = A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex);
92422 return new A.UnitlessSassNumber0(codepointIndex + 1, null);
92423 },
92424 $signature: 3
92425 };
92426 A._slice_closure0.prototype = {
92427 call$1($arguments) {
92428 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
92429 _s8_ = "start-at",
92430 t1 = J.getInterceptor$asx($arguments),
92431 string = t1.$index($arguments, 0).assertString$1("string"),
92432 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
92433 end = t1.$index($arguments, 2).assertNumber$1("end-at");
92434 start.assertNoUnits$1(_s8_);
92435 end.assertNoUnits$1("end-at");
92436 lengthInCodepoints = string.get$_string0$_sassLength();
92437 endInt = end.assertInt$0();
92438 if (endInt === 0)
92439 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92440 startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
92441 endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
92442 if (endCodepoint === lengthInCodepoints)
92443 --endCodepoint;
92444 if (endCodepoint < startCodepoint)
92445 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92446 t1 = string._string0$_text;
92447 return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
92448 },
92449 $signature: 13
92450 };
92451 A._toUpperCase_closure0.prototype = {
92452 call$1($arguments) {
92453 var t1, t2, i, t3, t4,
92454 string = J.$index$asx($arguments, 0).assertString$1("string");
92455 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92456 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92457 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
92458 }
92459 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92460 },
92461 $signature: 13
92462 };
92463 A._toLowerCase_closure0.prototype = {
92464 call$1($arguments) {
92465 var t1, t2, i, t3, t4,
92466 string = J.$index$asx($arguments, 0).assertString$1("string");
92467 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92468 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92469 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
92470 }
92471 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92472 },
92473 $signature: 13
92474 };
92475 A._uniqueId_closure0.prototype = {
92476 call$1($arguments) {
92477 var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
92478 $._previousUniqueId0 = t1;
92479 if (t1 > Math.pow(36, 6))
92480 $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
92481 return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
92482 },
92483 $signature: 13
92484 };
92485 A._NodeSassString.prototype = {};
92486 A.legacyStringClass_closure.prototype = {
92487 call$3(thisArg, value, dartValue) {
92488 var t1;
92489 if (dartValue == null) {
92490 value.toString;
92491 t1 = new A.SassString0(value, false);
92492 } else
92493 t1 = dartValue;
92494 J.set$dartValue$x(thisArg, t1);
92495 },
92496 call$2(thisArg, value) {
92497 return this.call$3(thisArg, value, null);
92498 },
92499 "call*": "call$3",
92500 $requiredArgCount: 2,
92501 $defaultValues() {
92502 return [null];
92503 },
92504 $signature: 522
92505 };
92506 A.legacyStringClass_closure0.prototype = {
92507 call$1(thisArg) {
92508 return J.get$dartValue$x(thisArg)._string0$_text;
92509 },
92510 $signature: 523
92511 };
92512 A.legacyStringClass_closure1.prototype = {
92513 call$2(thisArg, value) {
92514 J.set$dartValue$x(thisArg, new A.SassString0(value, false));
92515 },
92516 $signature: 524
92517 };
92518 A.stringClass_closure.prototype = {
92519 call$0() {
92520 var t2,
92521 t1 = type$.JSClass,
92522 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
92523 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));
92524 J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
92525 t2 = $.$get$_emptyQuoted0();
92526 A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
92527 return jsClass;
92528 },
92529 $signature: 23
92530 };
92531 A.stringClass__closure.prototype = {
92532 call$3($self, textOrOptions, options) {
92533 var t1;
92534 if (typeof textOrOptions == "string") {
92535 t1 = options == null ? null : J.get$quotes$x(options);
92536 t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
92537 } else {
92538 type$.nullable__ConstructorOptions_3._as(textOrOptions);
92539 t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
92540 t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92541 }
92542 return t1;
92543 },
92544 call$1($self) {
92545 return this.call$3($self, null, null);
92546 },
92547 call$2($self, textOrOptions) {
92548 return this.call$3($self, textOrOptions, null);
92549 },
92550 "call*": "call$3",
92551 $requiredArgCount: 1,
92552 $defaultValues() {
92553 return [null, null];
92554 },
92555 $signature: 525
92556 };
92557 A.stringClass__closure0.prototype = {
92558 call$1($self) {
92559 return $self._string0$_text;
92560 },
92561 $signature: 526
92562 };
92563 A.stringClass__closure1.prototype = {
92564 call$1($self) {
92565 return $self._string0$_hasQuotes;
92566 },
92567 $signature: 527
92568 };
92569 A.stringClass__closure2.prototype = {
92570 call$1($self) {
92571 return $self.get$_string0$_sassLength();
92572 },
92573 $signature: 528
92574 };
92575 A.stringClass__closure3.prototype = {
92576 call$3($self, sassIndex, $name) {
92577 var t1 = $self._string0$_text,
92578 index = sassIndex.assertNumber$1($name).assertInt$1($name);
92579 if (index === 0)
92580 A.throwExpression($self._string0$_exception$2("String index may not be 0.", $name));
92581 if (Math.abs(index) > $self.get$_string0$_sassLength())
92582 A.throwExpression($self._string0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
92583 return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
92584 },
92585 call$2($self, sassIndex) {
92586 return this.call$3($self, sassIndex, null);
92587 },
92588 "call*": "call$3",
92589 $requiredArgCount: 2,
92590 $defaultValues() {
92591 return [null];
92592 },
92593 $signature: 529
92594 };
92595 A._ConstructorOptions1.prototype = {};
92596 A.SassString0.prototype = {
92597 get$_string0$_sassLength() {
92598 var t1, result, _this = this,
92599 value = _this._string0$__SassString__sassLength;
92600 if (value === $) {
92601 t1 = new A.Runes(_this._string0$_text);
92602 result = t1.get$length(t1);
92603 A._lateInitializeOnceCheck(_this._string0$__SassString__sassLength, "_sassLength");
92604 _this._string0$__SassString__sassLength = result;
92605 value = result;
92606 }
92607 return value;
92608 },
92609 get$isSpecialNumber() {
92610 var t1, t2;
92611 if (this._string0$_hasQuotes)
92612 return false;
92613 t1 = this._string0$_text;
92614 if (t1.length < 6)
92615 return false;
92616 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
92617 if (t2 === 99) {
92618 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92619 if (t2 === 108) {
92620 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
92621 return false;
92622 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
92623 return false;
92624 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
92625 return false;
92626 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
92627 } else if (t2 === 97) {
92628 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
92629 return false;
92630 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
92631 return false;
92632 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
92633 } else
92634 return false;
92635 } else if (t2 === 118) {
92636 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
92637 return false;
92638 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
92639 return false;
92640 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92641 } else if (t2 === 101) {
92642 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
92643 return false;
92644 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
92645 return false;
92646 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92647 } else if (t2 === 109) {
92648 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92649 if (t2 === 97) {
92650 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
92651 return false;
92652 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92653 } else if (t2 === 105) {
92654 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
92655 return false;
92656 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92657 } else
92658 return false;
92659 } else
92660 return false;
92661 },
92662 get$isVar() {
92663 if (this._string0$_hasQuotes)
92664 return false;
92665 var t1 = this._string0$_text;
92666 if (t1.length < 8)
92667 return false;
92668 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;
92669 },
92670 get$isBlank() {
92671 return !this._string0$_hasQuotes && this._string0$_text.length === 0;
92672 },
92673 accept$1$1(visitor) {
92674 var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
92675 t2 = this._string0$_text;
92676 if (t1)
92677 visitor._serialize0$_visitQuotedString$1(t2);
92678 else
92679 visitor._serialize0$_visitUnquotedString$1(t2);
92680 return null;
92681 },
92682 accept$1(visitor) {
92683 return this.accept$1$1(visitor, type$.dynamic);
92684 },
92685 assertString$1($name) {
92686 return this;
92687 },
92688 plus$1(other) {
92689 var t1 = this._string0$_text,
92690 t2 = this._string0$_hasQuotes;
92691 if (other instanceof A.SassString0)
92692 return new A.SassString0(t1 + other._string0$_text, t2);
92693 else
92694 return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
92695 },
92696 $eq(_, other) {
92697 if (other == null)
92698 return false;
92699 return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
92700 },
92701 get$hashCode(_) {
92702 var t1 = this._string0$_hashCache;
92703 return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
92704 },
92705 _string0$_exception$2(message, $name) {
92706 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
92707 }
92708 };
92709 A.ModifiableCssStyleRule0.prototype = {
92710 accept$1$1(visitor) {
92711 return visitor.visitCssStyleRule$1(this);
92712 },
92713 accept$1(visitor) {
92714 return this.accept$1$1(visitor, type$.dynamic);
92715 },
92716 copyWithoutChildren$0() {
92717 return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
92718 },
92719 $isCssStyleRule0: 1,
92720 get$span(receiver) {
92721 return this.span;
92722 }
92723 };
92724 A.StyleRule0.prototype = {
92725 accept$1$1(visitor) {
92726 return visitor.visitStyleRule$1(this);
92727 },
92728 accept$1(visitor) {
92729 return this.accept$1$1(visitor, type$.dynamic);
92730 },
92731 toString$0(_) {
92732 var t1 = this.children;
92733 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
92734 },
92735 get$span(receiver) {
92736 return this.span;
92737 }
92738 };
92739 A.CssStylesheet0.prototype = {
92740 get$isGroupEnd() {
92741 return false;
92742 },
92743 get$isChildless() {
92744 return false;
92745 },
92746 accept$1$1(visitor) {
92747 return visitor.visitCssStylesheet$1(this);
92748 },
92749 accept$1(visitor) {
92750 return this.accept$1$1(visitor, type$.dynamic);
92751 },
92752 get$children(receiver) {
92753 return this.children;
92754 },
92755 get$span(receiver) {
92756 return this.span;
92757 }
92758 };
92759 A.ModifiableCssStylesheet0.prototype = {
92760 accept$1$1(visitor) {
92761 return visitor.visitCssStylesheet$1(this);
92762 },
92763 accept$1(visitor) {
92764 return this.accept$1$1(visitor, type$.dynamic);
92765 },
92766 copyWithoutChildren$0() {
92767 return A.ModifiableCssStylesheet$0(this.span);
92768 },
92769 $isCssStylesheet0: 1,
92770 get$span(receiver) {
92771 return this.span;
92772 }
92773 };
92774 A.StylesheetParser0.prototype = {
92775 parse$0() {
92776 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
92777 },
92778 parseArgumentDeclaration$0() {
92779 return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
92780 },
92781 _stylesheet0$_parseSingleProduction$1$1(production, $T) {
92782 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
92783 },
92784 parseSignature$1$requireParens(requireParens) {
92785 return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
92786 },
92787 parseSignature$0() {
92788 return this.parseSignature$1$requireParens(true);
92789 },
92790 _stylesheet0$_statement$1$root(root) {
92791 var t2, _this = this,
92792 t1 = _this.scanner;
92793 switch (t1.peekChar$0()) {
92794 case 64:
92795 return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
92796 case 43:
92797 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
92798 return _this._stylesheet0$_styleRule$0();
92799 _this._stylesheet0$_isUseAllowed = false;
92800 t2 = t1._string_scanner$_position;
92801 t1.readChar$0();
92802 return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
92803 case 61:
92804 if (!_this.get$indented())
92805 return _this._stylesheet0$_styleRule$0();
92806 _this._stylesheet0$_isUseAllowed = false;
92807 t2 = t1._string_scanner$_position;
92808 t1.readChar$0();
92809 _this.whitespace$0();
92810 return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
92811 case 125:
92812 t1.error$2$length(0, 'unmatched "}".', 1);
92813 break;
92814 default:
92815 return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
92816 }
92817 },
92818 _stylesheet0$_statement$0() {
92819 return this._stylesheet0$_statement$1$root(false);
92820 },
92821 variableDeclarationWithoutNamespace$2(namespace, start_) {
92822 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
92823 precedingComment = _this.lastSilentComment;
92824 _this.lastSilentComment = null;
92825 if (start_ == null) {
92826 t1 = _this.scanner;
92827 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92828 } else
92829 start = start_;
92830 $name = _this.variableName$0();
92831 t1 = namespace != null;
92832 if (t1)
92833 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
92834 if (_this.get$plainCss())
92835 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
92836 _this.whitespace$0();
92837 t2 = _this.scanner;
92838 t2.expectChar$1(58);
92839 _this.whitespace$0();
92840 value = _this._stylesheet0$_expression$0();
92841 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92842 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
92843 flag = _this.identifier$0();
92844 if (flag === "default")
92845 guarded = true;
92846 else if (flag === "global") {
92847 if (t1) {
92848 endPosition = t2._string_scanner$_position;
92849 t4 = t2._sourceFile;
92850 t5 = flagStart.position;
92851 t6 = new A._FileSpan(t4, t5, endPosition);
92852 t6._FileSpan$3(t4, t5, endPosition);
92853 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
92854 }
92855 global = true;
92856 } else {
92857 endPosition = t2._string_scanner$_position;
92858 t4 = t2._sourceFile;
92859 t5 = flagStart.position;
92860 t6 = new A._FileSpan(t4, t5, endPosition);
92861 t6._FileSpan$3(t4, t5, endPosition);
92862 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
92863 }
92864 _this.whitespace$0();
92865 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92866 }
92867 _this.expectStatementSeparator$1("variable declaration");
92868 declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
92869 if (global)
92870 _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
92871 return declaration;
92872 },
92873 variableDeclarationWithoutNamespace$0() {
92874 return this.variableDeclarationWithoutNamespace$2(null, null);
92875 },
92876 _stylesheet0$_variableDeclarationOrStyleRule$0() {
92877 var t1, t2, variableOrInterpolation, t3, _this = this;
92878 if (_this.get$plainCss())
92879 return _this._stylesheet0$_styleRule$0();
92880 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92881 return _this._stylesheet0$_styleRule$0();
92882 if (!_this.lookingAtIdentifier$0())
92883 return _this._stylesheet0$_styleRule$0();
92884 t1 = _this.scanner;
92885 t2 = t1._string_scanner$_position;
92886 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92887 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92888 return variableOrInterpolation;
92889 else {
92890 t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
92891 t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92892 return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
92893 }
92894 },
92895 _stylesheet0$_declarationOrStyleRule$0() {
92896 var t1, t2, declarationOrBuffer, _this = this;
92897 if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
92898 return _this._stylesheet0$_propertyOrVariableDeclaration$0();
92899 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92900 return _this._stylesheet0$_styleRule$0();
92901 t1 = _this.scanner;
92902 t2 = t1._string_scanner$_position;
92903 declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
92904 return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
92905 },
92906 _stylesheet0$_declarationOrBuffer$0() {
92907 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
92908 t2 = _this.scanner,
92909 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
92910 nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
92911 first = t2.peekChar$0();
92912 if (first !== 58)
92913 if (first !== 42)
92914 if (first !== 46)
92915 t3 = first === 35 && t2.peekChar$1(1) !== 123;
92916 else
92917 t3 = true;
92918 else
92919 t3 = true;
92920 else
92921 t3 = true;
92922 if (t3) {
92923 t3 = t2.readChar$0();
92924 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
92925 t3 = _this.rawText$1(_this.get$whitespace());
92926 nameBuffer._interpolation_buffer0$_text._contents += t3;
92927 startsWithPunctuation = true;
92928 } else
92929 startsWithPunctuation = false;
92930 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
92931 return nameBuffer;
92932 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92933 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92934 return variableOrInterpolation;
92935 else
92936 nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92937 _this._stylesheet0$_isUseAllowed = false;
92938 if (t2.matches$1("/*")) {
92939 t3 = _this.rawText$1(_this.get$loudComment());
92940 nameBuffer._interpolation_buffer0$_text._contents += t3;
92941 }
92942 midBuffer = new A.StringBuffer("");
92943 t3 = _this.get$whitespace();
92944 midBuffer._contents += _this.rawText$1(t3);
92945 t4 = t2._string_scanner$_position;
92946 if (!t2.scanChar$1(58)) {
92947 if (midBuffer._contents.length !== 0)
92948 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
92949 return nameBuffer;
92950 }
92951 midBuffer._contents += A.Primitives_stringFromCharCode(58);
92952 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
92953 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
92954 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92955 _this.expectStatementSeparator$1("custom property");
92956 return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92957 }
92958 if (t2.scanChar$1(58)) {
92959 t1 = nameBuffer;
92960 t2 = t1._interpolation_buffer0$_text;
92961 t3 = t2._contents += A.S(midBuffer);
92962 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
92963 return t1;
92964 } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
92965 t1 = nameBuffer;
92966 t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
92967 return t1;
92968 }
92969 postColonWhitespace = _this.rawText$1(t3);
92970 if (_this.lookingAtChildren$0())
92971 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
92972 midBuffer._contents += postColonWhitespace;
92973 couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
92974 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
92975 t3 = t1.value = null;
92976 try {
92977 t3 = t1.value = _this._stylesheet0$_expression$0();
92978 if (_this.lookingAtChildren$0()) {
92979 if (couldBeSelector)
92980 _this.expectStatementSeparator$0();
92981 } else if (!_this.atEndOfStatement$0())
92982 _this.expectStatementSeparator$0();
92983 } catch (exception) {
92984 if (type$.FormatException._is(A.unwrapException(exception))) {
92985 if (!couldBeSelector)
92986 throw exception;
92987 t2.set$state(beforeDeclaration);
92988 additional = _this.almostAnyValue$0();
92989 if (!_this.get$indented() && t2.peekChar$0() === 59)
92990 throw exception;
92991 nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
92992 nameBuffer.addInterpolation$1(additional);
92993 return nameBuffer;
92994 } else
92995 throw exception;
92996 }
92997 if (_this.lookingAtChildren$0())
92998 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
92999 else {
93000 _this.expectStatementSeparator$0();
93001 return A.Declaration$0($name, t3, t2.spanFrom$1(start));
93002 }
93003 },
93004 _stylesheet0$_variableDeclarationOrInterpolation$0() {
93005 var t1, start, identifier, t2, buffer, _this = this;
93006 if (!_this.lookingAtIdentifier$0())
93007 return _this.interpolatedIdentifier$0();
93008 t1 = _this.scanner;
93009 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93010 identifier = _this.identifier$0();
93011 if (t1.matches$1(".$")) {
93012 t1.readChar$0();
93013 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
93014 } else {
93015 t2 = new A.StringBuffer("");
93016 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
93017 t2._contents = "" + identifier;
93018 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
93019 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
93020 return buffer.interpolation$1(t1.spanFrom$1(start));
93021 }
93022 },
93023 _stylesheet0$_styleRule$2(buffer, start_) {
93024 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
93025 _this._stylesheet0$_isUseAllowed = false;
93026 if (start_ == null) {
93027 t2 = _this.scanner;
93028 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93029 } else
93030 start = start_;
93031 interpolation = t1.interpolation = _this.styleRuleSelector$0();
93032 if (buffer != null) {
93033 buffer.addInterpolation$1(interpolation);
93034 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
93035 } else
93036 t2 = interpolation;
93037 if (t2.contents.length === 0)
93038 _this.scanner.error$1(0, 'expected "}".');
93039 wasInStyleRule = _this._stylesheet0$_inStyleRule;
93040 _this._stylesheet0$_inStyleRule = true;
93041 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
93042 },
93043 _stylesheet0$_styleRule$0() {
93044 return this._stylesheet0$_styleRule$2(null, null);
93045 },
93046 _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
93047 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
93048 _s48_ = string$.Nested,
93049 t1 = {},
93050 t2 = _this.scanner,
93051 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93052 t1.name = null;
93053 first = t2.peekChar$0();
93054 if (first !== 58)
93055 if (first !== 42)
93056 if (first !== 46)
93057 t3 = first === 35 && t2.peekChar$1(1) !== 123;
93058 else
93059 t3 = true;
93060 else
93061 t3 = true;
93062 else
93063 t3 = true;
93064 if (t3) {
93065 t3 = new A.StringBuffer("");
93066 nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
93067 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
93068 t3._contents += _this.rawText$1(_this.get$whitespace());
93069 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
93070 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
93071 } else if (!_this.get$plainCss()) {
93072 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
93073 if (variableOrInterpolation instanceof A.VariableDeclaration0)
93074 return variableOrInterpolation;
93075 else {
93076 type$.Interpolation_2._as(variableOrInterpolation);
93077 t1.name = variableOrInterpolation;
93078 }
93079 t3 = variableOrInterpolation;
93080 } else {
93081 $name = _this.interpolatedIdentifier$0();
93082 t1.name = $name;
93083 t3 = $name;
93084 }
93085 _this.whitespace$0();
93086 t2.expectChar$1(58);
93087 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
93088 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
93089 _this.expectStatementSeparator$1("custom property");
93090 return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
93091 }
93092 _this.whitespace$0();
93093 if (_this.lookingAtChildren$0()) {
93094 if (_this.get$plainCss())
93095 t2.error$1(0, _s48_);
93096 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
93097 }
93098 value = _this._stylesheet0$_expression$0();
93099 if (_this.lookingAtChildren$0()) {
93100 if (_this.get$plainCss())
93101 t2.error$1(0, _s48_);
93102 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
93103 } else {
93104 _this.expectStatementSeparator$0();
93105 return A.Declaration$0(t3, value, t2.spanFrom$1(start));
93106 }
93107 },
93108 _stylesheet0$_propertyOrVariableDeclaration$0() {
93109 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
93110 },
93111 _stylesheet0$_declarationChild$0() {
93112 if (this.scanner.peekChar$0() === 64)
93113 return this._stylesheet0$_declarationAtRule$0();
93114 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
93115 },
93116 atRule$2$root(child, root) {
93117 var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
93118 _s9_ = "@use rule",
93119 t1 = _this.scanner,
93120 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93121 t1.expectChar$2$name(64, "@-rule");
93122 $name = _this.interpolatedIdentifier$0();
93123 _this.whitespace$0();
93124 wasUseAllowed = _this._stylesheet0$_isUseAllowed;
93125 _this._stylesheet0$_isUseAllowed = false;
93126 switch ($name.get$asPlain()) {
93127 case "at-root":
93128 return _this._stylesheet0$_atRootRule$1(start);
93129 case "content":
93130 return _this._stylesheet0$_contentRule$1(start);
93131 case "debug":
93132 return _this._stylesheet0$_debugRule$1(start);
93133 case "each":
93134 return _this._stylesheet0$_eachRule$2(start, child);
93135 case "else":
93136 return _this._stylesheet0$_disallowedAtRule$1(start);
93137 case "error":
93138 return _this._stylesheet0$_errorRule$1(start);
93139 case "extend":
93140 if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
93141 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
93142 value = _this.almostAnyValue$0();
93143 optional = t1.scanChar$1(33);
93144 if (optional)
93145 _this.expectIdentifier$1("optional");
93146 _this.expectStatementSeparator$1("@extend rule");
93147 return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
93148 case "for":
93149 return _this._stylesheet0$_forRule$2(start, child);
93150 case "forward":
93151 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
93152 if (!root)
93153 _this._stylesheet0$_disallowedAtRule$1(start);
93154 return _this._stylesheet0$_forwardRule$1(start);
93155 case "function":
93156 return _this._stylesheet0$_functionRule$1(start);
93157 case "if":
93158 return _this._stylesheet0$_ifRule$2(start, child);
93159 case "import":
93160 return _this._stylesheet0$_importRule$1(start);
93161 case "include":
93162 return _this._stylesheet0$_includeRule$1(start);
93163 case "media":
93164 return _this.mediaRule$1(start);
93165 case "mixin":
93166 return _this._stylesheet0$_mixinRule$1(start);
93167 case "-moz-document":
93168 return _this.mozDocumentRule$2(start, $name);
93169 case "return":
93170 return _this._stylesheet0$_disallowedAtRule$1(start);
93171 case "supports":
93172 return _this.supportsRule$1(start);
93173 case "use":
93174 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
93175 if (!root)
93176 _this._stylesheet0$_disallowedAtRule$1(start);
93177 url = _this._stylesheet0$_urlString$0();
93178 _this.whitespace$0();
93179 namespace = _this._stylesheet0$_useNamespace$2(url, start);
93180 _this.whitespace$0();
93181 configuration = _this._stylesheet0$_configuration$0();
93182 _this.expectStatementSeparator$1(_s9_);
93183 span = t1.spanFrom$1(start);
93184 if (!_this._stylesheet0$_isUseAllowed)
93185 _this.error$2(0, string$.x40use_r, span);
93186 _this.expectStatementSeparator$1(_s9_);
93187 t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
93188 t1.UseRule$4$configuration0(url, namespace, span, configuration);
93189 return t1;
93190 case "warn":
93191 return _this._stylesheet0$_warnRule$1(start);
93192 case "while":
93193 return _this._stylesheet0$_whileRule$2(start, child);
93194 default:
93195 return _this.unknownAtRule$2(start, $name);
93196 }
93197 },
93198 _stylesheet0$_declarationAtRule$0() {
93199 var _this = this,
93200 t1 = _this.scanner,
93201 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93202 switch (_this._stylesheet0$_plainAtRuleName$0()) {
93203 case "content":
93204 return _this._stylesheet0$_contentRule$1(start);
93205 case "debug":
93206 return _this._stylesheet0$_debugRule$1(start);
93207 case "each":
93208 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
93209 case "else":
93210 return _this._stylesheet0$_disallowedAtRule$1(start);
93211 case "error":
93212 return _this._stylesheet0$_errorRule$1(start);
93213 case "for":
93214 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
93215 case "if":
93216 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
93217 case "include":
93218 return _this._stylesheet0$_includeRule$1(start);
93219 case "warn":
93220 return _this._stylesheet0$_warnRule$1(start);
93221 case "while":
93222 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
93223 default:
93224 return _this._stylesheet0$_disallowedAtRule$1(start);
93225 }
93226 },
93227 _stylesheet0$_functionChild$0() {
93228 var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
93229 t1 = _this.scanner;
93230 if (t1.peekChar$0() !== 64) {
93231 t2 = t1._string_scanner$_position;
93232 state = new A._SpanScannerState(t1, t2);
93233 try {
93234 namespace = _this.identifier$0();
93235 t1.expectChar$1(46);
93236 t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
93237 return t2;
93238 } catch (exception) {
93239 t2 = A.unwrapException(exception);
93240 t3 = type$.SourceSpanFormatException;
93241 if (t3._is(t2)) {
93242 variableDeclarationError = t2;
93243 stackTrace = A.getTraceFromException(exception);
93244 t1.set$state(state);
93245 statement = null;
93246 try {
93247 statement = _this._stylesheet0$_declarationOrStyleRule$0();
93248 } catch (exception) {
93249 if (t3._is(A.unwrapException(exception)))
93250 throw A.wrapException(variableDeclarationError);
93251 else
93252 throw exception;
93253 }
93254 t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
93255 _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
93256 } else
93257 throw exception;
93258 }
93259 }
93260 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93261 switch (_this._stylesheet0$_plainAtRuleName$0()) {
93262 case "debug":
93263 return _this._stylesheet0$_debugRule$1(start);
93264 case "each":
93265 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
93266 case "else":
93267 return _this._stylesheet0$_disallowedAtRule$1(start);
93268 case "error":
93269 return _this._stylesheet0$_errorRule$1(start);
93270 case "for":
93271 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
93272 case "if":
93273 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
93274 case "return":
93275 value = _this._stylesheet0$_expression$0();
93276 _this.expectStatementSeparator$1("@return rule");
93277 return new A.ReturnRule0(value, t1.spanFrom$1(start));
93278 case "warn":
93279 return _this._stylesheet0$_warnRule$1(start);
93280 case "while":
93281 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
93282 default:
93283 return _this._stylesheet0$_disallowedAtRule$1(start);
93284 }
93285 },
93286 _stylesheet0$_plainAtRuleName$0() {
93287 this.scanner.expectChar$2$name(64, "@-rule");
93288 var $name = this.identifier$0();
93289 this.whitespace$0();
93290 return $name;
93291 },
93292 _stylesheet0$_atRootRule$1(start) {
93293 var query, _this = this,
93294 t1 = _this.scanner;
93295 if (t1.peekChar$0() === 40) {
93296 query = _this._stylesheet0$_atRootQuery$0();
93297 _this.whitespace$0();
93298 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
93299 } else if (_this.lookingAtChildren$0())
93300 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
93301 else
93302 return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
93303 },
93304 _stylesheet0$_atRootQuery$0() {
93305 var interpolation, t2, t3, t4, buffer, t5, _this = this,
93306 t1 = _this.scanner;
93307 if (t1.peekChar$0() === 35) {
93308 interpolation = _this.singleInterpolation$0();
93309 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
93310 }
93311 t2 = t1._string_scanner$_position;
93312 t3 = new A.StringBuffer("");
93313 t4 = A._setArrayType([], type$.JSArray_Object);
93314 buffer = new A.InterpolationBuffer0(t3, t4);
93315 t1.expectChar$1(40);
93316 t3._contents += A.Primitives_stringFromCharCode(40);
93317 _this.whitespace$0();
93318 t5 = _this._stylesheet0$_expression$0();
93319 buffer._interpolation_buffer0$_flushText$0();
93320 t4.push(t5);
93321 if (t1.scanChar$1(58)) {
93322 _this.whitespace$0();
93323 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
93324 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
93325 t5 = _this._stylesheet0$_expression$0();
93326 buffer._interpolation_buffer0$_flushText$0();
93327 t4.push(t5);
93328 }
93329 t1.expectChar$1(41);
93330 _this.whitespace$0();
93331 t3._contents += A.Primitives_stringFromCharCode(41);
93332 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
93333 },
93334 _stylesheet0$_contentRule$1(start) {
93335 var t1, $arguments, t2, t3, _this = this;
93336 if (!_this._stylesheet0$_inMixin)
93337 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
93338 _this.whitespace$0();
93339 t1 = _this.scanner;
93340 if (t1.peekChar$0() === 40)
93341 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93342 else {
93343 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93344 t3 = t2.offset;
93345 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93346 }
93347 _this.expectStatementSeparator$1("@content rule");
93348 return new A.ContentRule0($arguments, t1.spanFrom$1(start));
93349 },
93350 _stylesheet0$_debugRule$1(start) {
93351 var value = this._stylesheet0$_expression$0();
93352 this.expectStatementSeparator$1("@debug rule");
93353 return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
93354 },
93355 _stylesheet0$_eachRule$2(start, child) {
93356 var variables, t1, _this = this,
93357 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93358 _this._stylesheet0$_inControlDirective = true;
93359 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
93360 _this.whitespace$0();
93361 for (t1 = _this.scanner; t1.scanChar$1(44);) {
93362 _this.whitespace$0();
93363 t1.expectChar$1(36);
93364 variables.push(_this.identifier$1$normalize(true));
93365 _this.whitespace$0();
93366 }
93367 _this.expectIdentifier$1("in");
93368 _this.whitespace$0();
93369 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
93370 },
93371 _stylesheet0$_errorRule$1(start) {
93372 var value = this._stylesheet0$_expression$0();
93373 this.expectStatementSeparator$1("@error rule");
93374 return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
93375 },
93376 _stylesheet0$_functionRule$1(start) {
93377 var $name, $arguments, _this = this,
93378 precedingComment = _this.lastSilentComment;
93379 _this.lastSilentComment = null;
93380 $name = _this.identifier$1$normalize(true);
93381 _this.whitespace$0();
93382 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93383 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93384 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
93385 else if (_this._stylesheet0$_inControlDirective)
93386 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
93387 switch (A.unvendor0($name)) {
93388 case "calc":
93389 case "element":
93390 case "expression":
93391 case "url":
93392 case "and":
93393 case "or":
93394 case "not":
93395 case "clamp":
93396 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
93397 break;
93398 }
93399 _this.whitespace$0();
93400 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
93401 },
93402 _stylesheet0$_forRule$2(start, child) {
93403 var variable, from, _this = this, t1 = {},
93404 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93405 _this._stylesheet0$_inControlDirective = true;
93406 variable = _this.variableName$0();
93407 _this.whitespace$0();
93408 _this.expectIdentifier$1("from");
93409 _this.whitespace$0();
93410 t1.exclusive = null;
93411 from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
93412 if (t1.exclusive == null)
93413 _this.scanner.error$1(0, 'Expected "to" or "through".');
93414 _this.whitespace$0();
93415 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
93416 },
93417 _stylesheet0$_forwardRule$1(start) {
93418 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
93419 url = _this._stylesheet0$_urlString$0();
93420 _this.whitespace$0();
93421 if (_this.scanIdentifier$1("as")) {
93422 _this.whitespace$0();
93423 prefix = _this.identifier$1$normalize(true);
93424 _this.scanner.expectChar$1(42);
93425 _this.whitespace$0();
93426 } else
93427 prefix = _null;
93428 if (_this.scanIdentifier$1("show")) {
93429 members = _this._stylesheet0$_memberList$0();
93430 shownMixinsAndFunctions = members.item1;
93431 shownVariables = members.item2;
93432 hiddenVariables = _null;
93433 hiddenMixinsAndFunctions = hiddenVariables;
93434 } else {
93435 if (_this.scanIdentifier$1("hide")) {
93436 members = _this._stylesheet0$_memberList$0();
93437 hiddenMixinsAndFunctions = members.item1;
93438 hiddenVariables = members.item2;
93439 } else {
93440 hiddenVariables = _null;
93441 hiddenMixinsAndFunctions = hiddenVariables;
93442 }
93443 shownVariables = _null;
93444 shownMixinsAndFunctions = shownVariables;
93445 }
93446 configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
93447 _this.expectStatementSeparator$1("@forward rule");
93448 span = _this.scanner.spanFrom$1(start);
93449 if (!_this._stylesheet0$_isUseAllowed)
93450 _this.error$2(0, string$.x40forwa, span);
93451 if (shownMixinsAndFunctions != null) {
93452 shownVariables.toString;
93453 t1 = type$.String;
93454 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
93455 t3 = type$.UnmodifiableSetView_String;
93456 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
93457 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93458 return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
93459 } else if (hiddenMixinsAndFunctions != null) {
93460 hiddenVariables.toString;
93461 t1 = type$.String;
93462 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
93463 t3 = type$.UnmodifiableSetView_String;
93464 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
93465 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93466 return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
93467 } else
93468 return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
93469 },
93470 _stylesheet0$_memberList$0() {
93471 var _this = this,
93472 t1 = type$.String,
93473 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
93474 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
93475 t1 = _this.scanner;
93476 do {
93477 _this.whitespace$0();
93478 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
93479 _this.whitespace$0();
93480 } while (t1.scanChar$1(44));
93481 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
93482 },
93483 _stylesheet0$_ifRule$2(start, child) {
93484 var condition, children, clauses, lastClause, span, _this = this,
93485 ifIndentation = _this.get$currentIndentation(),
93486 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93487 _this._stylesheet0$_inControlDirective = true;
93488 condition = _this._stylesheet0$_expression$0();
93489 children = _this.children$1(0, child);
93490 _this.whitespaceWithoutComments$0();
93491 clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
93492 while (true) {
93493 if (!_this.scanElse$1(ifIndentation)) {
93494 lastClause = null;
93495 break;
93496 }
93497 _this.whitespace$0();
93498 if (_this.scanIdentifier$1("if")) {
93499 _this.whitespace$0();
93500 clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
93501 } else {
93502 lastClause = A.ElseClause$0(_this.children$1(0, child));
93503 break;
93504 }
93505 }
93506 _this._stylesheet0$_inControlDirective = wasInControlDirective;
93507 span = _this.scanner.spanFrom$1(start);
93508 _this.whitespaceWithoutComments$0();
93509 return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
93510 },
93511 _stylesheet0$_importRule$1(start) {
93512 var argument, _this = this,
93513 imports = A._setArrayType([], type$.JSArray_Import_2),
93514 t1 = _this.scanner;
93515 do {
93516 _this.whitespace$0();
93517 argument = _this.importArgument$0();
93518 if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
93519 _this._stylesheet0$_disallowedAtRule$1(start);
93520 imports.push(argument);
93521 _this.whitespace$0();
93522 } while (t1.scanChar$1(44));
93523 _this.expectStatementSeparator$1("@import rule");
93524 t1 = t1.spanFrom$1(start);
93525 return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
93526 },
93527 importArgument$0() {
93528 var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
93529 t1 = _this.scanner,
93530 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
93531 next = t1.peekChar$0();
93532 if (next === 117 || next === 85) {
93533 url = _this.dynamicUrl$0();
93534 _this.whitespace$0();
93535 modifiers = _this.tryImportModifiers$0();
93536 return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
93537 }
93538 url = _this.string$0();
93539 urlSpan = t1.spanFrom$1(start);
93540 _this.whitespace$0();
93541 modifiers = _this.tryImportModifiers$0();
93542 if (_this.isPlainImportUrl$1(url) || modifiers != null) {
93543 t2 = urlSpan;
93544 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));
93545 } else
93546 try {
93547 t1 = _this.parseImportUrl$1(url);
93548 return new A.DynamicImport0(t1, urlSpan);
93549 } catch (exception) {
93550 t1 = A.unwrapException(exception);
93551 if (type$.FormatException._is(t1)) {
93552 innerError = t1;
93553 stackTrace = A.getTraceFromException(exception);
93554 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
93555 } else
93556 throw exception;
93557 }
93558 },
93559 parseImportUrl$1(url) {
93560 var t1 = $.$get$windows();
93561 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
93562 return t1.toUri$1(url).toString$0(0);
93563 A.Uri_parse(url);
93564 return url;
93565 },
93566 isPlainImportUrl$1(url) {
93567 var first;
93568 if (url.length < 5)
93569 return false;
93570 if (B.JSString_methods.endsWith$1(url, ".css"))
93571 return true;
93572 first = B.JSString_methods._codeUnitAt$1(url, 0);
93573 if (first === 47)
93574 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
93575 if (first !== 104)
93576 return false;
93577 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
93578 },
93579 tryImportModifiers$0() {
93580 var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
93581 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
93582 return null;
93583 t1 = _this.scanner;
93584 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93585 t2 = new A.StringBuffer("");
93586 t3 = A._setArrayType([], type$.JSArray_Object);
93587 buffer = new A.InterpolationBuffer0(t2, t3);
93588 for (; true;)
93589 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
93590 if (!(t3.length === 0 && t2._contents.length === 0))
93591 t2._contents += A.Primitives_stringFromCharCode(32);
93592 identifier = _this.interpolatedIdentifier$0();
93593 buffer.addInterpolation$1(identifier);
93594 t4 = identifier.get$asPlain();
93595 $name = t4 == null ? null : t4.toLowerCase();
93596 if ($name !== "and" && t1.scanChar$1(40)) {
93597 if ($name === "supports") {
93598 query = _this._stylesheet0$_importSupportsQuery$0();
93599 t4 = !(query instanceof A.SupportsDeclaration0);
93600 if (t4)
93601 t2._contents += A.Primitives_stringFromCharCode(40);
93602 buffer._interpolation_buffer0$_flushText$0();
93603 t3.push(new A.SupportsExpression0(query));
93604 if (t4)
93605 t2._contents += A.Primitives_stringFromCharCode(41);
93606 } else {
93607 t2._contents += A.Primitives_stringFromCharCode(40);
93608 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
93609 t2._contents += A.Primitives_stringFromCharCode(41);
93610 }
93611 t1.expectChar$1(41);
93612 _this.whitespace$0();
93613 } else {
93614 _this.whitespace$0();
93615 if (t1.scanChar$1(44)) {
93616 t2._contents += ", ";
93617 buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
93618 endPosition = t1._string_scanner$_position;
93619 t4 = t1._sourceFile;
93620 t5 = start.position;
93621 t1 = new A._FileSpan(t4, t5, endPosition);
93622 t1._FileSpan$3(t4, t5, endPosition);
93623 t5 = type$.Object;
93624 t4 = A.List_List$of(t3, true, t5);
93625 t3 = t2._contents;
93626 if (t3.length !== 0)
93627 t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
93628 result = A.List_List$from(t4, false, t5);
93629 result.fixed$length = Array;
93630 result.immutable$list = Array;
93631 t2 = new A.Interpolation0(result, t1);
93632 t2.Interpolation$20(t4, t1);
93633 return t2;
93634 }
93635 }
93636 } else if (t1.peekChar$0() === 40) {
93637 if (!(t3.length === 0 && t2._contents.length === 0))
93638 t2._contents += A.Primitives_stringFromCharCode(32);
93639 buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
93640 endPosition = t1._string_scanner$_position;
93641 t1 = t1._sourceFile;
93642 t4 = start.position;
93643 t5 = new A._FileSpan(t1, t4, endPosition);
93644 t5._FileSpan$3(t1, t4, endPosition);
93645 t4 = type$.Object;
93646 t3 = A.List_List$of(t3, true, t4);
93647 t1 = t2._contents;
93648 if (t1.length !== 0)
93649 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
93650 result = A.List_List$from(t3, false, t4);
93651 result.fixed$length = Array;
93652 result.immutable$list = Array;
93653 t1 = new A.Interpolation0(result, t5);
93654 t1.Interpolation$20(t3, t5);
93655 return t1;
93656 } else {
93657 endPosition = t1._string_scanner$_position;
93658 t1 = t1._sourceFile;
93659 t4 = start.position;
93660 t5 = new A._FileSpan(t1, t4, endPosition);
93661 t5._FileSpan$3(t1, t4, endPosition);
93662 t4 = type$.Object;
93663 t3 = A.List_List$of(t3, true, t4);
93664 t1 = t2._contents;
93665 if (t1.length !== 0)
93666 t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
93667 result = A.List_List$from(t3, false, t4);
93668 result.fixed$length = Array;
93669 result.immutable$list = Array;
93670 t1 = new A.Interpolation0(result, t5);
93671 t1.Interpolation$20(t3, t5);
93672 return t1;
93673 }
93674 },
93675 _stylesheet0$_importSupportsQuery$0() {
93676 var t1, t2, $function, $name, _this = this;
93677 if (_this.scanIdentifier$1("not")) {
93678 _this.whitespace$0();
93679 t1 = _this.scanner;
93680 t2 = t1._string_scanner$_position;
93681 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
93682 } else {
93683 t1 = _this.scanner;
93684 if (t1.peekChar$0() === 40)
93685 return _this._stylesheet0$_supportsCondition$0();
93686 else {
93687 $function = _this._stylesheet0$_tryImportSupportsFunction$0();
93688 if ($function != null)
93689 return $function;
93690 t2 = t1._string_scanner$_position;
93691 $name = _this._stylesheet0$_expression$0();
93692 t1.expectChar$1(58);
93693 return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
93694 }
93695 }
93696 },
93697 _stylesheet0$_tryImportSupportsFunction$0() {
93698 var t1, start, $name, value, _this = this;
93699 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
93700 return null;
93701 t1 = _this.scanner;
93702 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93703 $name = _this.interpolatedIdentifier$0();
93704 if (!t1.scanChar$1(40)) {
93705 t1.set$state(start);
93706 return null;
93707 }
93708 value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
93709 t1.expectChar$1(41);
93710 return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
93711 },
93712 _stylesheet0$_includeRule$1(start) {
93713 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
93714 $name = _this.identifier$0(),
93715 t1 = _this.scanner;
93716 if (t1.scanChar$1(46)) {
93717 name0 = _this._stylesheet0$_publicIdentifier$0();
93718 namespace = $name;
93719 $name = name0;
93720 } else {
93721 $name = A.stringReplaceAllUnchecked($name, "_", "-");
93722 namespace = _null;
93723 }
93724 _this.whitespace$0();
93725 if (t1.peekChar$0() === 40)
93726 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93727 else {
93728 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93729 t3 = t2.offset;
93730 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93731 }
93732 _this.whitespace$0();
93733 if (_this.scanIdentifier$1("using")) {
93734 _this.whitespace$0();
93735 contentArguments = _this._stylesheet0$_argumentDeclaration$0();
93736 _this.whitespace$0();
93737 } else
93738 contentArguments = _null;
93739 t2 = contentArguments == null;
93740 if (!t2 || _this.lookingAtChildren$0()) {
93741 if (t2) {
93742 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93743 t3 = t2.offset;
93744 contentArguments_ = new A.ArgumentDeclaration0(B.List_empty18, _null, A._FileSpan$(t2.file, t3, t3));
93745 } else
93746 contentArguments_ = contentArguments;
93747 wasInContentBlock = _this._stylesheet0$_inContentBlock;
93748 _this._stylesheet0$_inContentBlock = true;
93749 $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
93750 _this._stylesheet0$_inContentBlock = wasInContentBlock;
93751 } else {
93752 _this.expectStatementSeparator$0();
93753 $content = _null;
93754 }
93755 t1 = t1.spanFrom$2(start, start);
93756 t2 = $content == null ? $arguments : $content;
93757 return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
93758 },
93759 mediaRule$1(start) {
93760 return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
93761 },
93762 _stylesheet0$_mixinRule$1(start) {
93763 var $name, t1, $arguments, t2, t3, _this = this,
93764 precedingComment = _this.lastSilentComment;
93765 _this.lastSilentComment = null;
93766 $name = _this.identifier$1$normalize(true);
93767 _this.whitespace$0();
93768 t1 = _this.scanner;
93769 if (t1.peekChar$0() === 40)
93770 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93771 else {
93772 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93773 t3 = t2.offset;
93774 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
93775 }
93776 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93777 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
93778 else if (_this._stylesheet0$_inControlDirective)
93779 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
93780 _this.whitespace$0();
93781 _this._stylesheet0$_inMixin = true;
93782 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
93783 },
93784 mozDocumentRule$2(start, $name) {
93785 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
93786 t1 = _this.scanner,
93787 t2 = t1._string_scanner$_position,
93788 t3 = new A.StringBuffer(""),
93789 t4 = A._setArrayType([], type$.JSArray_Object),
93790 buffer = new A.InterpolationBuffer0(t3, t4);
93791 _box_0.needsDeprecationWarning = false;
93792 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
93793 if (t1.peekChar$0() === 35) {
93794 t7 = _this.singleInterpolation$0();
93795 buffer._interpolation_buffer0$_flushText$0();
93796 t4.push(t7);
93797 _box_0.needsDeprecationWarning = true;
93798 } else {
93799 t7 = t1._string_scanner$_position;
93800 identifier = _this.identifier$0();
93801 switch (identifier) {
93802 case "url":
93803 case "url-prefix":
93804 case "domain":
93805 contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
93806 if (contents != null)
93807 buffer.addInterpolation$1(contents);
93808 else {
93809 t1.expectChar$1(40);
93810 _this.whitespace$0();
93811 argument = _this.interpolatedString$0();
93812 t1.expectChar$1(41);
93813 t7 = t3._contents += identifier;
93814 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
93815 buffer.addInterpolation$1(argument.asInterpolation$0());
93816 t3._contents += A.Primitives_stringFromCharCode(41);
93817 }
93818 t7 = t3._contents;
93819 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
93820 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("")'))
93821 _box_0.needsDeprecationWarning = true;
93822 break;
93823 case "regexp":
93824 t3._contents += "regexp(";
93825 t1.expectChar$1(40);
93826 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
93827 t1.expectChar$1(41);
93828 t3._contents += A.Primitives_stringFromCharCode(41);
93829 _box_0.needsDeprecationWarning = true;
93830 break;
93831 default:
93832 endPosition = t1._string_scanner$_position;
93833 t8 = t1._sourceFile;
93834 t9 = new A._FileSpan(t8, t7, endPosition);
93835 t9._FileSpan$3(t8, t7, endPosition);
93836 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
93837 }
93838 }
93839 _this.whitespace$0();
93840 if (!t1.scanChar$1(44))
93841 break;
93842 t3._contents += A.Primitives_stringFromCharCode(44);
93843 start0 = t1._string_scanner$_position;
93844 t5.call$0();
93845 end = t1._string_scanner$_position;
93846 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
93847 }
93848 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)))));
93849 },
93850 supportsRule$1(start) {
93851 var _this = this,
93852 condition = _this._stylesheet0$_supportsCondition$0();
93853 _this.whitespace$0();
93854 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
93855 },
93856 _stylesheet0$_useNamespace$2(url, start) {
93857 var namespace, basename, dot, t1, exception, _this = this;
93858 if (_this.scanIdentifier$1("as")) {
93859 _this.whitespace$0();
93860 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
93861 }
93862 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
93863 dot = B.JSString_methods.indexOf$1(basename, ".");
93864 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
93865 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
93866 try {
93867 t1 = A.SpanScanner$(namespace, null);
93868 t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
93869 return t1;
93870 } catch (exception) {
93871 if (A.unwrapException(exception) instanceof A.SassFormatException0)
93872 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
93873 else
93874 throw exception;
93875 }
93876 },
93877 _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
93878 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
93879 if (!_this.scanIdentifier$1("with"))
93880 return null;
93881 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93882 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
93883 _this.whitespace$0();
93884 t1 = _this.scanner;
93885 t1.expectChar$1(40);
93886 for (t2 = t1.string; true;) {
93887 _this.whitespace$0();
93888 t3 = t1._string_scanner$_position;
93889 t1.expectChar$1(36);
93890 $name = _this.identifier$1$normalize(true);
93891 _this.whitespace$0();
93892 t1.expectChar$1(58);
93893 _this.whitespace$0();
93894 expression = _this.expressionUntilComma$0();
93895 t4 = t1._string_scanner$_position;
93896 if (allowGuarded && t1.scanChar$1(33))
93897 if (_this.identifier$0() === "default") {
93898 _this.whitespace$0();
93899 guarded = true;
93900 } else {
93901 endPosition = t1._string_scanner$_position;
93902 t5 = t1._sourceFile;
93903 t6 = new A._FileSpan(t5, t4, endPosition);
93904 t6._FileSpan$3(t5, t4, endPosition);
93905 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
93906 guarded = false;
93907 }
93908 else
93909 guarded = false;
93910 endPosition = t1._string_scanner$_position;
93911 t4 = t1._sourceFile;
93912 span = new A._FileSpan(t4, t3, endPosition);
93913 span._FileSpan$3(t4, t3, endPosition);
93914 if (variableNames.contains$1(0, $name))
93915 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
93916 variableNames.add$1(0, $name);
93917 configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
93918 if (!t1.scanChar$1(44))
93919 break;
93920 _this.whitespace$0();
93921 if (!_this._stylesheet0$_lookingAtExpression$0())
93922 break;
93923 }
93924 t1.expectChar$1(41);
93925 return configuration;
93926 },
93927 _stylesheet0$_configuration$0() {
93928 return this._stylesheet0$_configuration$1$allowGuarded(false);
93929 },
93930 _stylesheet0$_warnRule$1(start) {
93931 var value = this._stylesheet0$_expression$0();
93932 this.expectStatementSeparator$1("@warn rule");
93933 return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
93934 },
93935 _stylesheet0$_whileRule$2(start, child) {
93936 var _this = this,
93937 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93938 _this._stylesheet0$_inControlDirective = true;
93939 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
93940 },
93941 unknownAtRule$2(start, $name) {
93942 var t2, t3, rule, _this = this, t1 = {},
93943 wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
93944 _this._stylesheet0$_inUnknownAtRule = true;
93945 t1.value = null;
93946 t2 = _this.scanner;
93947 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
93948 if (_this.lookingAtChildren$0())
93949 rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
93950 else {
93951 _this.expectStatementSeparator$0();
93952 rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
93953 }
93954 _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
93955 return rule;
93956 },
93957 _stylesheet0$_disallowedAtRule$1(start) {
93958 this.almostAnyValue$0();
93959 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
93960 },
93961 _stylesheet0$_argumentDeclaration$0() {
93962 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
93963 t1 = _this.scanner,
93964 t2 = t1._string_scanner$_position;
93965 t1.expectChar$1(40);
93966 _this.whitespace$0();
93967 $arguments = A._setArrayType([], type$.JSArray_Argument_2);
93968 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93969 t3 = t1.string;
93970 while (true) {
93971 if (!(t1.peekChar$0() === 36)) {
93972 restArgument = null;
93973 break;
93974 }
93975 t4 = t1._string_scanner$_position;
93976 t1.expectChar$1(36);
93977 $name = _this.identifier$1$normalize(true);
93978 _this.whitespace$0();
93979 if (t1.scanChar$1(58)) {
93980 _this.whitespace$0();
93981 defaultValue = _this.expressionUntilComma$0();
93982 } else {
93983 if (t1.scanChar$1(46)) {
93984 t1.expectChar$1(46);
93985 t1.expectChar$1(46);
93986 _this.whitespace$0();
93987 restArgument = $name;
93988 break;
93989 }
93990 defaultValue = null;
93991 }
93992 endPosition = t1._string_scanner$_position;
93993 t5 = t1._sourceFile;
93994 t6 = new A._FileSpan(t5, t4, endPosition);
93995 t6._FileSpan$3(t5, t4, endPosition);
93996 $arguments.push(new A.Argument0($name, defaultValue, t6));
93997 if (!named.add$1(0, $name))
93998 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
93999 if (!t1.scanChar$1(44)) {
94000 restArgument = null;
94001 break;
94002 }
94003 _this.whitespace$0();
94004 }
94005 t1.expectChar$1(41);
94006 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94007 return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
94008 },
94009 _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
94010 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
94011 t1 = _this.scanner,
94012 t2 = t1._string_scanner$_position;
94013 t1.expectChar$1(40);
94014 _this.whitespace$0();
94015 positional = A._setArrayType([], type$.JSArray_Expression_2);
94016 t3 = type$.String;
94017 t4 = type$.Expression_2;
94018 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
94019 t5 = !mixin;
94020 t6 = t1.string;
94021 rest = _null;
94022 while (true) {
94023 if (!_this._stylesheet0$_lookingAtExpression$0()) {
94024 keywordRest = _null;
94025 break;
94026 }
94027 expression = _this.expressionUntilComma$1$singleEquals(t5);
94028 _this.whitespace$0();
94029 if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
94030 _this.whitespace$0();
94031 t7 = expression.name;
94032 if (named.containsKey$1(t7))
94033 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
94034 named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
94035 } else if (t1.scanChar$1(46)) {
94036 t1.expectChar$1(46);
94037 t1.expectChar$1(46);
94038 if (rest != null) {
94039 _this.whitespace$0();
94040 keywordRest = expression;
94041 break;
94042 }
94043 rest = expression;
94044 } else if (named.__js_helper$_length !== 0)
94045 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
94046 else
94047 positional.push(expression);
94048 _this.whitespace$0();
94049 if (!t1.scanChar$1(44)) {
94050 keywordRest = _null;
94051 break;
94052 }
94053 _this.whitespace$0();
94054 if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
94055 t5 = t1._sourceFile;
94056 t6 = t1._string_scanner$_position;
94057 new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
94058 t7 = new A._FileSpan(t5, t6, t6);
94059 t7._FileSpan$3(t5, t6, t6);
94060 t6 = A._setArrayType([""], type$.JSArray_Object);
94061 result = A.List_List$from(t6, false, type$.Object);
94062 result.fixed$length = Array;
94063 result.immutable$list = Array;
94064 t5 = new A.Interpolation0(result, t7);
94065 t5.Interpolation$20(t6, t7);
94066 positional.push(new A.StringExpression0(t5, false));
94067 keywordRest = _null;
94068 break;
94069 }
94070 }
94071 t1.expectChar$1(41);
94072 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94073 return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
94074 },
94075 _stylesheet0$_argumentInvocation$0() {
94076 return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
94077 },
94078 _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
94079 return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
94080 },
94081 _stylesheet0$_argumentInvocation$1$mixin(mixin) {
94082 return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
94083 },
94084 _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
94085 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
94086 _s20_ = "Expected expression.",
94087 _box_0 = {},
94088 t1 = until != null;
94089 if (t1 && until.call$0())
94090 _this.scanner.error$1(0, _s20_);
94091 if (bracketList) {
94092 t2 = _this.scanner;
94093 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
94094 t2.expectChar$1(91);
94095 _this.whitespace$0();
94096 if (t2.scanChar$1(93)) {
94097 t1 = A._setArrayType([], type$.JSArray_Expression_2);
94098 t2 = t2.spanFrom$1(beforeBracket);
94099 return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
94100 }
94101 } else
94102 beforeBracket = null;
94103 t2 = _this.scanner;
94104 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
94105 wasInParentheses = _this._stylesheet0$_inParentheses;
94106 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
94107 _box_0.allowSlash = true;
94108 _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
94109 resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
94110 resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
94111 resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
94112 addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
94113 addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
94114 resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
94115 $label0$0:
94116 for (t3 = type$.JSArray_Expression_2; true;) {
94117 _this.whitespace$0();
94118 if (t1 && until.call$0())
94119 break $label0$0;
94120 first = t2.peekChar$0();
94121 switch (first) {
94122 case 40:
94123 addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
94124 break;
94125 case 91:
94126 addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
94127 break;
94128 case 36:
94129 addSingleExpression.call$1(_this._stylesheet0$_variable$0());
94130 break;
94131 case 38:
94132 addSingleExpression.call$1(_this._stylesheet0$_selector$0());
94133 break;
94134 case 39:
94135 case 34:
94136 addSingleExpression.call$1(_this.interpolatedString$0());
94137 break;
94138 case 35:
94139 addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
94140 break;
94141 case 61:
94142 t2.readChar$0();
94143 if (singleEquals && t2.peekChar$0() !== 61)
94144 addOperator.call$1(B.BinaryOperator_kjl0);
94145 else {
94146 t2.expectChar$1(61);
94147 addOperator.call$1(B.BinaryOperator_YlX0);
94148 }
94149 break;
94150 case 33:
94151 next = t2.peekChar$1(1);
94152 if (next === 61) {
94153 t2.readChar$0();
94154 t2.readChar$0();
94155 addOperator.call$1(B.BinaryOperator_i5H0);
94156 } else {
94157 if (next != null)
94158 if ((next | 32) >>> 0 !== 105)
94159 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
94160 else
94161 t4 = true;
94162 else
94163 t4 = true;
94164 if (t4)
94165 addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
94166 else
94167 break $label0$0;
94168 }
94169 break;
94170 case 60:
94171 t2.readChar$0();
94172 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h0 : B.BinaryOperator_8qt0);
94173 break;
94174 case 62:
94175 t2.readChar$0();
94176 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da0 : B.BinaryOperator_AcR1);
94177 break;
94178 case 42:
94179 t2.readChar$0();
94180 addOperator.call$1(B.BinaryOperator_O1M0);
94181 break;
94182 case 43:
94183 if (_box_0.singleExpression_ == null)
94184 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94185 else {
94186 t2.readChar$0();
94187 addOperator.call$1(B.BinaryOperator_AcR2);
94188 }
94189 break;
94190 case 45:
94191 next = t2.peekChar$1(1);
94192 if (next != null && next >= 48 && next <= 57 || next === 46)
94193 if (_box_0.singleExpression_ != null) {
94194 t4 = t2.peekChar$1(-1);
94195 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
94196 } else
94197 t4 = true;
94198 else
94199 t4 = false;
94200 if (t4)
94201 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94202 else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94203 addSingleExpression.call$1(_this.identifierLike$0());
94204 else if (_box_0.singleExpression_ == null)
94205 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94206 else {
94207 t2.readChar$0();
94208 addOperator.call$1(B.BinaryOperator_iyO0);
94209 }
94210 break;
94211 case 47:
94212 if (_box_0.singleExpression_ == null)
94213 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94214 else {
94215 t2.readChar$0();
94216 addOperator.call$1(B.BinaryOperator_RTB0);
94217 }
94218 break;
94219 case 37:
94220 t2.readChar$0();
94221 addOperator.call$1(B.BinaryOperator_2ad0);
94222 break;
94223 case 48:
94224 case 49:
94225 case 50:
94226 case 51:
94227 case 52:
94228 case 53:
94229 case 54:
94230 case 55:
94231 case 56:
94232 case 57:
94233 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94234 break;
94235 case 46:
94236 if (t2.peekChar$1(1) === 46)
94237 break $label0$0;
94238 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94239 break;
94240 case 97:
94241 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
94242 addOperator.call$1(B.BinaryOperator_and_and_20);
94243 else
94244 addSingleExpression.call$1(_this.identifierLike$0());
94245 break;
94246 case 111:
94247 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
94248 addOperator.call$1(B.BinaryOperator_or_or_10);
94249 else
94250 addSingleExpression.call$1(_this.identifierLike$0());
94251 break;
94252 case 117:
94253 case 85:
94254 if (t2.peekChar$1(1) === 43)
94255 addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
94256 else
94257 addSingleExpression.call$1(_this.identifierLike$0());
94258 break;
94259 case 98:
94260 case 99:
94261 case 100:
94262 case 101:
94263 case 102:
94264 case 103:
94265 case 104:
94266 case 105:
94267 case 106:
94268 case 107:
94269 case 108:
94270 case 109:
94271 case 110:
94272 case 112:
94273 case 113:
94274 case 114:
94275 case 115:
94276 case 116:
94277 case 118:
94278 case 119:
94279 case 120:
94280 case 121:
94281 case 122:
94282 case 65:
94283 case 66:
94284 case 67:
94285 case 68:
94286 case 69:
94287 case 70:
94288 case 71:
94289 case 72:
94290 case 73:
94291 case 74:
94292 case 75:
94293 case 76:
94294 case 77:
94295 case 78:
94296 case 79:
94297 case 80:
94298 case 81:
94299 case 82:
94300 case 83:
94301 case 84:
94302 case 86:
94303 case 87:
94304 case 88:
94305 case 89:
94306 case 90:
94307 case 95:
94308 case 92:
94309 addSingleExpression.call$1(_this.identifierLike$0());
94310 break;
94311 case 44:
94312 if (_this._stylesheet0$_inParentheses) {
94313 _this._stylesheet0$_inParentheses = false;
94314 if (_box_0.allowSlash) {
94315 resetState.call$0();
94316 break;
94317 }
94318 }
94319 commaExpressions = _box_0.commaExpressions_;
94320 if (commaExpressions == null)
94321 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
94322 if (_box_0.singleExpression_ == null)
94323 t2.error$1(0, _s20_);
94324 resolveSpaceExpressions.call$0();
94325 t4 = _box_0.singleExpression_;
94326 t4.toString;
94327 commaExpressions.push(t4);
94328 t2.readChar$0();
94329 _box_0.allowSlash = true;
94330 _box_0.singleExpression_ = null;
94331 break;
94332 default:
94333 if (first != null && first >= 128) {
94334 addSingleExpression.call$1(_this.identifierLike$0());
94335 break;
94336 } else
94337 break $label0$0;
94338 }
94339 }
94340 if (bracketList)
94341 t2.expectChar$1(93);
94342 commaExpressions = _box_0.commaExpressions_;
94343 spaceExpressions = _box_0.spaceExpressions_;
94344 if (commaExpressions != null) {
94345 resolveSpaceExpressions.call$0();
94346 _this._stylesheet0$_inParentheses = wasInParentheses;
94347 singleExpression = _box_0.singleExpression_;
94348 if (singleExpression != null)
94349 commaExpressions.push(singleExpression);
94350 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
94351 return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_kWM0, bracketList, t1);
94352 } else if (bracketList && spaceExpressions != null) {
94353 resolveOperations.call$0();
94354 t1 = _box_0.singleExpression_;
94355 t1.toString;
94356 spaceExpressions.push(t1);
94357 beforeBracket.toString;
94358 t2 = t2.spanFrom$1(beforeBracket);
94359 return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, true, t2);
94360 } else {
94361 resolveSpaceExpressions.call$0();
94362 if (bracketList) {
94363 t1 = _box_0.singleExpression_;
94364 t1.toString;
94365 t3 = A._setArrayType([t1], t3);
94366 beforeBracket.toString;
94367 t2 = t2.spanFrom$1(beforeBracket);
94368 _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
94369 }
94370 t1 = _box_0.singleExpression_;
94371 t1.toString;
94372 return t1;
94373 }
94374 },
94375 _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
94376 return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
94377 },
94378 _stylesheet0$_expression$1$bracketList(bracketList) {
94379 return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
94380 },
94381 _stylesheet0$_expression$0() {
94382 return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
94383 },
94384 _stylesheet0$_expression$1$until(until) {
94385 return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
94386 },
94387 expressionUntilComma$1$singleEquals(singleEquals) {
94388 return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
94389 },
94390 expressionUntilComma$0() {
94391 return this.expressionUntilComma$1$singleEquals(false);
94392 },
94393 _stylesheet0$_isSlashOperand$1(expression) {
94394 var t1;
94395 if (!(expression instanceof A.NumberExpression0))
94396 if (!(expression instanceof A.CalculationExpression0))
94397 t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
94398 else
94399 t1 = true;
94400 else
94401 t1 = true;
94402 return t1;
94403 },
94404 _stylesheet0$_singleExpression$0() {
94405 var next, _this = this,
94406 t1 = _this.scanner,
94407 first = t1.peekChar$0();
94408 switch (first) {
94409 case 40:
94410 return _this._stylesheet0$_parentheses$0();
94411 case 47:
94412 return _this._stylesheet0$_unaryOperation$0();
94413 case 46:
94414 return _this._stylesheet0$_number$0();
94415 case 91:
94416 return _this._stylesheet0$_expression$1$bracketList(true);
94417 case 36:
94418 return _this._stylesheet0$_variable$0();
94419 case 38:
94420 return _this._stylesheet0$_selector$0();
94421 case 39:
94422 case 34:
94423 return _this.interpolatedString$0();
94424 case 35:
94425 return _this._stylesheet0$_hashExpression$0();
94426 case 43:
94427 next = t1.peekChar$1(1);
94428 return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
94429 case 45:
94430 return _this._stylesheet0$_minusExpression$0();
94431 case 33:
94432 return _this._stylesheet0$_importantExpression$0();
94433 case 117:
94434 case 85:
94435 if (t1.peekChar$1(1) === 43)
94436 return _this._stylesheet0$_unicodeRange$0();
94437 else
94438 return _this.identifierLike$0();
94439 case 48:
94440 case 49:
94441 case 50:
94442 case 51:
94443 case 52:
94444 case 53:
94445 case 54:
94446 case 55:
94447 case 56:
94448 case 57:
94449 return _this._stylesheet0$_number$0();
94450 case 97:
94451 case 98:
94452 case 99:
94453 case 100:
94454 case 101:
94455 case 102:
94456 case 103:
94457 case 104:
94458 case 105:
94459 case 106:
94460 case 107:
94461 case 108:
94462 case 109:
94463 case 110:
94464 case 111:
94465 case 112:
94466 case 113:
94467 case 114:
94468 case 115:
94469 case 116:
94470 case 118:
94471 case 119:
94472 case 120:
94473 case 121:
94474 case 122:
94475 case 65:
94476 case 66:
94477 case 67:
94478 case 68:
94479 case 69:
94480 case 70:
94481 case 71:
94482 case 72:
94483 case 73:
94484 case 74:
94485 case 75:
94486 case 76:
94487 case 77:
94488 case 78:
94489 case 79:
94490 case 80:
94491 case 81:
94492 case 82:
94493 case 83:
94494 case 84:
94495 case 86:
94496 case 87:
94497 case 88:
94498 case 89:
94499 case 90:
94500 case 95:
94501 case 92:
94502 return _this.identifierLike$0();
94503 default:
94504 if (first != null && first >= 128)
94505 return _this.identifierLike$0();
94506 t1.error$1(0, "Expected expression.");
94507 }
94508 },
94509 _stylesheet0$_parentheses$0() {
94510 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
94511 if (_this.get$plainCss())
94512 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
94513 wasInParentheses = _this._stylesheet0$_inParentheses;
94514 _this._stylesheet0$_inParentheses = true;
94515 try {
94516 t1 = _this.scanner;
94517 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94518 t1.expectChar$1(40);
94519 _this.whitespace$0();
94520 if (!_this._stylesheet0$_lookingAtExpression$0()) {
94521 t1.expectChar$1(41);
94522 t2 = A._setArrayType([], type$.JSArray_Expression_2);
94523 t1 = t1.spanFrom$1(start);
94524 t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
94525 return new A.ListExpression0(t2, B.ListSeparator_undecided_null0, false, t1);
94526 }
94527 first = _this.expressionUntilComma$0();
94528 if (t1.scanChar$1(58)) {
94529 _this.whitespace$0();
94530 t1 = _this._stylesheet0$_map$2(first, start);
94531 return t1;
94532 }
94533 if (!t1.scanChar$1(44)) {
94534 t1.expectChar$1(41);
94535 t1 = t1.spanFrom$1(start);
94536 return new A.ParenthesizedExpression0(first, t1);
94537 }
94538 _this.whitespace$0();
94539 expressions = A._setArrayType([first], type$.JSArray_Expression_2);
94540 for (; true;) {
94541 if (!_this._stylesheet0$_lookingAtExpression$0())
94542 break;
94543 J.add$1$ax(expressions, _this.expressionUntilComma$0());
94544 if (!t1.scanChar$1(44))
94545 break;
94546 _this.whitespace$0();
94547 }
94548 t1.expectChar$1(41);
94549 t1 = t1.spanFrom$1(start);
94550 t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
94551 return new A.ListExpression0(t2, B.ListSeparator_kWM0, false, t1);
94552 } finally {
94553 _this._stylesheet0$_inParentheses = wasInParentheses;
94554 }
94555 },
94556 _stylesheet0$_map$2(first, start) {
94557 var t2, key, _this = this,
94558 t1 = type$.Tuple2_Expression_Expression_2,
94559 pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
94560 for (t2 = _this.scanner; t2.scanChar$1(44);) {
94561 _this.whitespace$0();
94562 if (!_this._stylesheet0$_lookingAtExpression$0())
94563 break;
94564 key = _this.expressionUntilComma$0();
94565 t2.expectChar$1(58);
94566 _this.whitespace$0();
94567 pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
94568 }
94569 t2.expectChar$1(41);
94570 t2 = t2.spanFrom$1(start);
94571 return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
94572 },
94573 _stylesheet0$_hashExpression$0() {
94574 var start, first, t2, identifier, buffer, _this = this,
94575 t1 = _this.scanner;
94576 if (t1.peekChar$1(1) === 123)
94577 return _this.identifierLike$0();
94578 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94579 t1.expectChar$1(35);
94580 first = t1.peekChar$0();
94581 if (first != null && A.isDigit0(first))
94582 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94583 t2 = t1._string_scanner$_position;
94584 identifier = _this.interpolatedIdentifier$0();
94585 if (_this._stylesheet0$_isHexColor$1(identifier)) {
94586 t1.set$state(new A._SpanScannerState(t1, t2));
94587 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94588 }
94589 t2 = new A.StringBuffer("");
94590 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94591 t2._contents = "" + A.Primitives_stringFromCharCode(35);
94592 buffer.addInterpolation$1(identifier);
94593 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94594 },
94595 _stylesheet0$_hexColorContents$1(start) {
94596 var red, green, blue, alpha, digit4, t2, t3, _this = this,
94597 digit1 = _this._stylesheet0$_hexDigit$0(),
94598 digit2 = _this._stylesheet0$_hexDigit$0(),
94599 digit3 = _this._stylesheet0$_hexDigit$0(),
94600 t1 = _this.scanner;
94601 if (!A.isHex0(t1.peekChar$0())) {
94602 red = (digit1 << 4 >>> 0) + digit1;
94603 green = (digit2 << 4 >>> 0) + digit2;
94604 blue = (digit3 << 4 >>> 0) + digit3;
94605 alpha = null;
94606 } else {
94607 digit4 = _this._stylesheet0$_hexDigit$0();
94608 t2 = digit1 << 4 >>> 0;
94609 t3 = digit3 << 4 >>> 0;
94610 if (!A.isHex0(t1.peekChar$0())) {
94611 red = t2 + digit1;
94612 green = (digit2 << 4 >>> 0) + digit2;
94613 blue = t3 + digit3;
94614 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
94615 } else {
94616 red = t2 + digit2;
94617 green = t3 + digit4;
94618 blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
94619 alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
94620 }
94621 }
94622 return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
94623 },
94624 _stylesheet0$_isHexColor$1(interpolation) {
94625 var t1,
94626 plain = interpolation.get$asPlain();
94627 if (plain == null)
94628 return false;
94629 t1 = plain.length;
94630 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
94631 return false;
94632 t1 = new A.CodeUnits(plain);
94633 return t1.every$1(t1, A.character0__isHex$closure());
94634 },
94635 _stylesheet0$_hexDigit$0() {
94636 var t1 = this.scanner,
94637 char = t1.peekChar$0();
94638 if (char == null || !A.isHex0(char))
94639 t1.error$1(0, "Expected hex digit.");
94640 return A.asHex0(t1.readChar$0());
94641 },
94642 _stylesheet0$_minusExpression$0() {
94643 var _this = this,
94644 next = _this.scanner.peekChar$1(1);
94645 if (A.isDigit0(next) || next === 46)
94646 return _this._stylesheet0$_number$0();
94647 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94648 return _this.identifierLike$0();
94649 return _this._stylesheet0$_unaryOperation$0();
94650 },
94651 _stylesheet0$_importantExpression$0() {
94652 var t1 = this.scanner,
94653 t2 = t1._string_scanner$_position;
94654 t1.readChar$0();
94655 this.whitespace$0();
94656 this.expectIdentifier$1("important");
94657 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94658 return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
94659 },
94660 _stylesheet0$_unaryOperation$0() {
94661 var _this = this,
94662 t1 = _this.scanner,
94663 t2 = t1._string_scanner$_position,
94664 operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
94665 if (operator == null)
94666 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
94667 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx0)
94668 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
94669 _this.whitespace$0();
94670 return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94671 },
94672 _stylesheet0$_unaryOperatorFor$1(character) {
94673 switch (character) {
94674 case 43:
94675 return B.UnaryOperator_j2w0;
94676 case 45:
94677 return B.UnaryOperator_U4G0;
94678 case 47:
94679 return B.UnaryOperator_zDx0;
94680 default:
94681 return null;
94682 }
94683 },
94684 _stylesheet0$_number$0() {
94685 var number, t4, unit, t5, _this = this,
94686 t1 = _this.scanner,
94687 t2 = t1._string_scanner$_position,
94688 first = t1.peekChar$0(),
94689 t3 = first === 45,
94690 sign = t3 ? -1 : 1;
94691 if (first === 43 || t3)
94692 t1.readChar$0();
94693 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
94694 t3 = _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
94695 t4 = _this._stylesheet0$_tryExponent$0();
94696 if (t1.scanChar$1(37))
94697 unit = "%";
94698 else {
94699 if (_this.lookingAtIdentifier$0())
94700 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
94701 else
94702 t5 = false;
94703 unit = t5 ? _this.identifier$1$unit(true) : null;
94704 }
94705 return new A.NumberExpression0(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94706 },
94707 _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
94708 var t2,
94709 t1 = this.scanner,
94710 start = t1._string_scanner$_position;
94711 if (t1.peekChar$0() !== 46)
94712 return 0;
94713 if (!A.isDigit0(t1.peekChar$1(1))) {
94714 if (allowTrailingDot)
94715 return 0;
94716 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
94717 }
94718 t1.readChar$0();
94719 while (true) {
94720 t2 = t1.peekChar$0();
94721 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94722 break;
94723 t1.readChar$0();
94724 }
94725 return A.double_parse(t1.substring$1(0, start));
94726 },
94727 _stylesheet0$_tryExponent$0() {
94728 var next, t2, exponentSign, exponent,
94729 t1 = this.scanner,
94730 first = t1.peekChar$0();
94731 if (first !== 101 && first !== 69)
94732 return 1;
94733 next = t1.peekChar$1(1);
94734 if (!A.isDigit0(next) && next !== 45 && next !== 43)
94735 return 1;
94736 t1.readChar$0();
94737 t2 = next === 45;
94738 exponentSign = t2 ? -1 : 1;
94739 if (next === 43 || t2)
94740 t1.readChar$0();
94741 if (!A.isDigit0(t1.peekChar$0()))
94742 t1.error$1(0, "Expected digit.");
94743 exponent = 0;
94744 while (true) {
94745 t2 = t1.peekChar$0();
94746 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94747 break;
94748 exponent = exponent * 10 + (t1.readChar$0() - 48);
94749 }
94750 return Math.pow(10, exponentSign * exponent);
94751 },
94752 _stylesheet0$_unicodeRange$0() {
94753 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
94754 _s26_ = "Expected at most 6 digits.",
94755 t1 = _this.scanner,
94756 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94757 _this.expectIdentChar$1(117);
94758 t1.expectChar$1(43);
94759 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
94760 ++firstRangeLength;
94761 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
94762 ++firstRangeLength;
94763 if (firstRangeLength === 0)
94764 t1.error$1(0, 'Expected hex digit or "?".');
94765 else if (firstRangeLength > 6)
94766 _this.error$2(0, _s26_, t1.spanFrom$1(start));
94767 else if (hasQuestionMark) {
94768 t2 = t1.substring$1(0, start.position);
94769 t1 = t1.spanFrom$1(start);
94770 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94771 }
94772 if (t1.scanChar$1(45)) {
94773 t2 = t1._string_scanner$_position;
94774 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
94775 ++secondRangeLength;
94776 if (secondRangeLength === 0)
94777 t1.error$1(0, "Expected hex digit.");
94778 else if (secondRangeLength > 6)
94779 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94780 }
94781 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
94782 t1.error$1(0, "Expected end of identifier.");
94783 t2 = t1.substring$1(0, start.position);
94784 t1 = t1.spanFrom$1(start);
94785 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94786 },
94787 _stylesheet0$_variable$0() {
94788 var _this = this,
94789 t1 = _this.scanner,
94790 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94791 $name = _this.variableName$0();
94792 if (_this.get$plainCss())
94793 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
94794 return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
94795 },
94796 _stylesheet0$_selector$0() {
94797 var t1, start, _this = this;
94798 if (_this.get$plainCss())
94799 _this.scanner.error$2$length(0, string$.The_pa, 1);
94800 t1 = _this.scanner;
94801 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94802 t1.expectChar$1(38);
94803 if (t1.scanChar$1(38)) {
94804 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
94805 t1.set$position(t1._string_scanner$_position - 1);
94806 }
94807 return new A.SelectorExpression0(t1.spanFrom$1(start));
94808 },
94809 interpolatedString$0() {
94810 var t3, t4, buffer, next, second, t5,
94811 t1 = this.scanner,
94812 t2 = t1._string_scanner$_position,
94813 quote = t1.readChar$0();
94814 if (quote !== 39 && quote !== 34)
94815 t1.error$2$position(0, "Expected string.", t2);
94816 t3 = new A.StringBuffer("");
94817 t4 = A._setArrayType([], type$.JSArray_Object);
94818 buffer = new A.InterpolationBuffer0(t3, t4);
94819 for (; true;) {
94820 next = t1.peekChar$0();
94821 if (next === quote) {
94822 t1.readChar$0();
94823 break;
94824 } else if (next == null || next === 10 || next === 13 || next === 12)
94825 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
94826 else if (next === 92) {
94827 second = t1.peekChar$1(1);
94828 if (second === 10 || second === 13 || second === 12) {
94829 t1.readChar$0();
94830 t1.readChar$0();
94831 if (second === 13)
94832 t1.scanChar$1(10);
94833 } else
94834 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
94835 } else if (next === 35)
94836 if (t1.peekChar$1(1) === 123) {
94837 t5 = this.singleInterpolation$0();
94838 buffer._interpolation_buffer0$_flushText$0();
94839 t4.push(t5);
94840 } else
94841 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94842 else
94843 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94844 }
94845 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
94846 },
94847 identifierLike$0() {
94848 var invocation, color, specialFunction, _this = this,
94849 t1 = _this.scanner,
94850 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94851 identifier = _this.interpolatedIdentifier$0(),
94852 plain = identifier.get$asPlain(),
94853 lower = A._Cell$(),
94854 t2 = plain == null,
94855 t3 = !t2;
94856 if (t3) {
94857 if (plain === "if" && t1.peekChar$0() === 40) {
94858 invocation = _this._stylesheet0$_argumentInvocation$0();
94859 return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
94860 } else if (plain === "not") {
94861 _this.whitespace$0();
94862 return new A.UnaryOperationExpression0(B.UnaryOperator_not_not0, _this._stylesheet0$_singleExpression$0(), identifier.span);
94863 }
94864 lower._value = plain.toLowerCase();
94865 if (t1.peekChar$0() !== 40) {
94866 switch (plain) {
94867 case "false":
94868 return new A.BooleanExpression0(false, identifier.span);
94869 case "null":
94870 return new A.NullExpression0(identifier.span);
94871 case "true":
94872 return new A.BooleanExpression0(true, identifier.span);
94873 }
94874 color = $.$get$colorsByName0().$index(0, lower._readLocal$0());
94875 if (color != null) {
94876 t1 = identifier.span;
94877 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);
94878 }
94879 }
94880 specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
94881 if (specialFunction != null)
94882 return specialFunction;
94883 }
94884 switch (t1.peekChar$0()) {
94885 case 46:
94886 if (t1.peekChar$1(1) === 46)
94887 return new A.StringExpression0(identifier, false);
94888 t1.readChar$0();
94889 if (t3)
94890 return _this.namespacedExpression$2(plain, start);
94891 _this.error$2(0, string$.Interpn, identifier.span);
94892 break;
94893 case 40:
94894 if (t2)
94895 return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94896 else
94897 return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
94898 default:
94899 return new A.StringExpression0(identifier, false);
94900 }
94901 },
94902 namespacedExpression$2(namespace, start) {
94903 var $name, _this = this,
94904 t1 = _this.scanner;
94905 if (t1.peekChar$0() === 36) {
94906 $name = _this.variableName$0();
94907 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
94908 return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
94909 }
94910 return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94911 },
94912 trySpecialFunction$2($name, start) {
94913 var t2, buffer, t3, next, _this = this, _null = null,
94914 t1 = _this.scanner,
94915 calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
94916 if (calculation != null)
94917 return calculation;
94918 switch (A.unvendor0($name)) {
94919 case "calc":
94920 case "element":
94921 case "expression":
94922 if (!t1.scanChar$1(40))
94923 return _null;
94924 t2 = new A.StringBuffer("");
94925 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94926 t3 = "" + $name;
94927 t2._contents = t3;
94928 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
94929 break;
94930 case "progid":
94931 if (!t1.scanChar$1(58))
94932 return _null;
94933 t2 = new A.StringBuffer("");
94934 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94935 t3 = "" + $name;
94936 t2._contents = t3;
94937 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
94938 next = t1.peekChar$0();
94939 while (true) {
94940 if (next != null) {
94941 if (!(next >= 97 && next <= 122))
94942 t3 = next >= 65 && next <= 90;
94943 else
94944 t3 = true;
94945 t3 = t3 || next === 46;
94946 } else
94947 t3 = false;
94948 if (!t3)
94949 break;
94950 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94951 next = t1.peekChar$0();
94952 }
94953 t1.expectChar$1(40);
94954 t2._contents += A.Primitives_stringFromCharCode(40);
94955 break;
94956 case "url":
94957 return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
94958 default:
94959 return _null;
94960 }
94961 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
94962 t1.expectChar$1(41);
94963 buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
94964 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94965 },
94966 _stylesheet0$_tryCalculation$2($name, start) {
94967 var beforeArguments, $arguments, t1, exception, t2, _this = this;
94968 switch ($name) {
94969 case "calc":
94970 $arguments = _this._stylesheet0$_calculationArguments$1(1);
94971 t1 = _this.scanner.spanFrom$1(start);
94972 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94973 case "min":
94974 case "max":
94975 t1 = _this.scanner;
94976 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
94977 $arguments = null;
94978 try {
94979 $arguments = _this._stylesheet0$_calculationArguments$0();
94980 } catch (exception) {
94981 if (type$.FormatException._is(A.unwrapException(exception))) {
94982 t1.set$state(beforeArguments);
94983 return null;
94984 } else
94985 throw exception;
94986 }
94987 t2 = $arguments;
94988 t1 = t1.spanFrom$1(start);
94989 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
94990 case "clamp":
94991 $arguments = _this._stylesheet0$_calculationArguments$1(3);
94992 t1 = _this.scanner.spanFrom$1(start);
94993 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94994 default:
94995 return null;
94996 }
94997 },
94998 _stylesheet0$_calculationArguments$1(maxArgs) {
94999 var interpolation, $arguments, t2, _this = this,
95000 t1 = _this.scanner;
95001 t1.expectChar$1(40);
95002 interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
95003 if (interpolation != null) {
95004 t1.expectChar$1(41);
95005 return A._setArrayType([interpolation], type$.JSArray_Expression_2);
95006 }
95007 _this.whitespace$0();
95008 $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
95009 t2 = maxArgs != null;
95010 while (true) {
95011 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
95012 break;
95013 _this.whitespace$0();
95014 $arguments.push(_this._stylesheet0$_calculationSum$0());
95015 }
95016 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
95017 return $arguments;
95018 },
95019 _stylesheet0$_calculationArguments$0() {
95020 return this._stylesheet0$_calculationArguments$1(null);
95021 },
95022 _stylesheet0$_calculationSum$0() {
95023 var t1, next, t2, t3, _this = this,
95024 sum = _this._stylesheet0$_calculationProduct$0();
95025 for (t1 = _this.scanner; true;) {
95026 next = t1.peekChar$0();
95027 t2 = next === 43;
95028 if (t2 || next === 45) {
95029 t3 = t1.peekChar$1(-1);
95030 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
95031 t3 = t1.peekChar$1(1);
95032 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
95033 } else
95034 t3 = true;
95035 if (t3)
95036 t1.error$1(0, string$.x22x2b__an);
95037 t1.readChar$0();
95038 _this.whitespace$0();
95039 t2 = t2 ? B.BinaryOperator_AcR2 : B.BinaryOperator_iyO0;
95040 sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
95041 } else
95042 return sum;
95043 }
95044 },
95045 _stylesheet0$_calculationProduct$0() {
95046 var t1, next, t2, _this = this,
95047 product = _this._stylesheet0$_calculationValue$0();
95048 for (t1 = _this.scanner; true;) {
95049 _this.whitespace$0();
95050 next = t1.peekChar$0();
95051 t2 = next === 42;
95052 if (t2 || next === 47) {
95053 t1.readChar$0();
95054 _this.whitespace$0();
95055 t2 = t2 ? B.BinaryOperator_O1M0 : B.BinaryOperator_RTB0;
95056 product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
95057 } else
95058 return product;
95059 }
95060 },
95061 _stylesheet0$_calculationValue$0() {
95062 var t2, value, start, ident, lowerCase, calculation, _this = this,
95063 t1 = _this.scanner,
95064 next = t1.peekChar$0();
95065 if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
95066 return _this._stylesheet0$_number$0();
95067 else if (next === 36)
95068 return _this._stylesheet0$_variable$0();
95069 else if (next === 40) {
95070 t2 = t1._string_scanner$_position;
95071 t1.readChar$0();
95072 value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
95073 if (value == null) {
95074 _this.whitespace$0();
95075 value = _this._stylesheet0$_calculationSum$0();
95076 }
95077 _this.whitespace$0();
95078 t1.expectChar$1(41);
95079 return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95080 } else if (!_this.lookingAtIdentifier$0())
95081 t1.error$1(0, string$.Expectn);
95082 else {
95083 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95084 ident = _this.identifier$0();
95085 if (t1.scanChar$1(46))
95086 return _this.namespacedExpression$2(ident, start);
95087 if (t1.peekChar$0() !== 40)
95088 t1.error$1(0, 'Expected "(" or ".".');
95089 lowerCase = ident.toLowerCase();
95090 calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
95091 if (calculation != null)
95092 return calculation;
95093 else if (lowerCase === "if")
95094 return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
95095 else
95096 return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
95097 }
95098 },
95099 _stylesheet0$_containsCalculationInterpolation$0() {
95100 var t2, parens, next, target, t3, _null = null,
95101 _s64_ = string$.The_gi,
95102 _s17_ = "Invalid position ",
95103 brackets = A._setArrayType([], type$.JSArray_int),
95104 t1 = this.scanner,
95105 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95106 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
95107 next = t1.peekChar$0();
95108 switch (next) {
95109 case 92:
95110 target = 1;
95111 break;
95112 case 47:
95113 target = 2;
95114 break;
95115 case 39:
95116 case 34:
95117 target = 3;
95118 break;
95119 case 35:
95120 target = 4;
95121 break;
95122 case 40:
95123 target = 5;
95124 break;
95125 case 123:
95126 case 91:
95127 target = 6;
95128 break;
95129 case 41:
95130 target = 7;
95131 break;
95132 case 125:
95133 case 93:
95134 target = 8;
95135 break;
95136 default:
95137 target = 9;
95138 break;
95139 }
95140 c$0:
95141 for (; true;)
95142 switch (target) {
95143 case 1:
95144 t1.readChar$0();
95145 t1.readChar$0();
95146 break c$0;
95147 case 2:
95148 if (!this.scanComment$0())
95149 t1.readChar$0();
95150 break c$0;
95151 case 3:
95152 this.interpolatedString$0();
95153 break c$0;
95154 case 4:
95155 if (parens === 0 && t1.peekChar$1(1) === 123) {
95156 if (start._scanner !== t1)
95157 A.throwExpression(A.ArgumentError$(_s64_, _null));
95158 t3 = start.position;
95159 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
95160 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
95161 t1._string_scanner$_position = t3;
95162 t1._lastMatch = null;
95163 return true;
95164 }
95165 t1.readChar$0();
95166 break c$0;
95167 case 5:
95168 ++parens;
95169 target = 6;
95170 continue c$0;
95171 case 6:
95172 next.toString;
95173 brackets.push(A.opposite0(next));
95174 t1.readChar$0();
95175 break c$0;
95176 case 7:
95177 --parens;
95178 target = 8;
95179 continue c$0;
95180 case 8:
95181 if (brackets.length === 0 || brackets.pop() !== next) {
95182 if (start._scanner !== t1)
95183 A.throwExpression(A.ArgumentError$(_s64_, _null));
95184 t3 = start.position;
95185 if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
95186 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
95187 t1._string_scanner$_position = t3;
95188 t1._lastMatch = null;
95189 return false;
95190 }
95191 t1.readChar$0();
95192 break c$0;
95193 case 9:
95194 t1.readChar$0();
95195 break c$0;
95196 }
95197 }
95198 t1.set$state(start);
95199 return false;
95200 },
95201 _stylesheet0$_tryUrlContents$2$name(start, $name) {
95202 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
95203 t1 = _this.scanner,
95204 t2 = t1._string_scanner$_position;
95205 if (!t1.scanChar$1(40))
95206 return null;
95207 _this.whitespaceWithoutComments$0();
95208 t3 = new A.StringBuffer("");
95209 t4 = A._setArrayType([], type$.JSArray_Object);
95210 buffer = new A.InterpolationBuffer0(t3, t4);
95211 t5 = "" + ($name == null ? "url" : $name);
95212 t3._contents = t5;
95213 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
95214 for (; true;) {
95215 next = t1.peekChar$0();
95216 if (next == null)
95217 break;
95218 else if (next === 92)
95219 t3._contents += A.S(_this.escape$0());
95220 else {
95221 if (next !== 33)
95222 if (next !== 37)
95223 if (next !== 38)
95224 t5 = next >= 42 && next <= 126 || next >= 128;
95225 else
95226 t5 = true;
95227 else
95228 t5 = true;
95229 else
95230 t5 = true;
95231 if (t5)
95232 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95233 else if (next === 35)
95234 if (t1.peekChar$1(1) === 123) {
95235 t5 = _this.singleInterpolation$0();
95236 buffer._interpolation_buffer0$_flushText$0();
95237 t4.push(t5);
95238 } else
95239 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95240 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
95241 _this.whitespaceWithoutComments$0();
95242 if (t1.peekChar$0() !== 41)
95243 break;
95244 } else if (next === 41) {
95245 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95246 endPosition = t1._string_scanner$_position;
95247 t2 = t1._sourceFile;
95248 t5 = start.position;
95249 t1 = new A._FileSpan(t2, t5, endPosition);
95250 t1._FileSpan$3(t2, t5, endPosition);
95251 t5 = type$.Object;
95252 t2 = A.List_List$of(t4, true, t5);
95253 t4 = t3._contents;
95254 if (t4.length !== 0)
95255 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
95256 result = A.List_List$from(t2, false, t5);
95257 result.fixed$length = Array;
95258 result.immutable$list = Array;
95259 t3 = new A.Interpolation0(result, t1);
95260 t3.Interpolation$20(t2, t1);
95261 return t3;
95262 } else
95263 break;
95264 }
95265 }
95266 t1.set$state(new A._SpanScannerState(t1, t2));
95267 return null;
95268 },
95269 _stylesheet0$_tryUrlContents$1(start) {
95270 return this._stylesheet0$_tryUrlContents$2$name(start, null);
95271 },
95272 dynamicUrl$0() {
95273 var contents, _this = this,
95274 t1 = _this.scanner,
95275 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95276 _this.expectIdentifier$1("url");
95277 contents = _this._stylesheet0$_tryUrlContents$1(start);
95278 if (contents != null)
95279 return new A.StringExpression0(contents, false);
95280 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));
95281 },
95282 almostAnyValue$1$omitComments(omitComments) {
95283 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
95284 t1 = _this.scanner,
95285 t2 = t1._string_scanner$_position,
95286 t3 = new A.StringBuffer(""),
95287 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
95288 $label0$1:
95289 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
95290 next = t1.peekChar$0();
95291 switch (next) {
95292 case 92:
95293 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95294 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95295 break;
95296 case 34:
95297 case 39:
95298 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
95299 break;
95300 case 47:
95301 commentStart = t1._string_scanner$_position;
95302 if (_this.scanComment$0()) {
95303 if (t6) {
95304 end = t1._string_scanner$_position;
95305 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
95306 }
95307 } else
95308 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95309 break;
95310 case 35:
95311 if (t1.peekChar$1(1) === 123)
95312 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95313 else
95314 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95315 break;
95316 case 13:
95317 case 10:
95318 case 12:
95319 if (_this.get$indented())
95320 break $label0$1;
95321 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95322 break;
95323 case 33:
95324 case 59:
95325 case 123:
95326 case 125:
95327 break $label0$1;
95328 case 117:
95329 case 85:
95330 t7 = t1._string_scanner$_position;
95331 if (!_this.scanIdentifier$1("url")) {
95332 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95333 break;
95334 }
95335 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
95336 if (contents == null) {
95337 if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
95338 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
95339 t1._string_scanner$_position = t7;
95340 t1._lastMatch = null;
95341 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95342 } else
95343 buffer.addInterpolation$1(contents);
95344 break;
95345 default:
95346 if (next == null)
95347 break $label0$1;
95348 if (_this.lookingAtIdentifier$0())
95349 t3._contents += _this.identifier$0();
95350 else
95351 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95352 break;
95353 }
95354 }
95355 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95356 },
95357 almostAnyValue$0() {
95358 return this.almostAnyValue$1$omitComments(false);
95359 },
95360 _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
95361 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
95362 t1 = _this.scanner,
95363 t2 = t1._string_scanner$_position,
95364 t3 = new A.StringBuffer(""),
95365 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
95366 brackets = A._setArrayType([], type$.JSArray_int);
95367 $label0$1:
95368 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
95369 next = t1.peekChar$0();
95370 switch (next) {
95371 case 92:
95372 t3._contents += A.S(_this.escape$1$identifierStart(true));
95373 wroteNewline = false;
95374 break;
95375 case 34:
95376 case 39:
95377 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
95378 wroteNewline = false;
95379 break;
95380 case 47:
95381 if (t1.peekChar$1(1) === 42) {
95382 t8 = _this.get$loudComment();
95383 start = t1._string_scanner$_position;
95384 t8.call$0();
95385 end = t1._string_scanner$_position;
95386 t3._contents += B.JSString_methods.substring$2(t4, start, end);
95387 } else
95388 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95389 wroteNewline = false;
95390 break;
95391 case 35:
95392 if (t1.peekChar$1(1) === 123)
95393 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95394 else
95395 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95396 wroteNewline = false;
95397 break;
95398 case 32:
95399 case 9:
95400 if (!wroteNewline) {
95401 t8 = t1.peekChar$1(1);
95402 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
95403 } else
95404 t8 = true;
95405 if (t8)
95406 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95407 else
95408 t1.readChar$0();
95409 break;
95410 case 10:
95411 case 13:
95412 case 12:
95413 if (_this.get$indented())
95414 break $label0$1;
95415 t8 = t1.peekChar$1(-1);
95416 if (!(t8 === 10 || t8 === 13 || t8 === 12))
95417 t3._contents += "\n";
95418 t1.readChar$0();
95419 wroteNewline = true;
95420 break;
95421 case 40:
95422 case 123:
95423 case 91:
95424 next.toString;
95425 t3._contents += A.Primitives_stringFromCharCode(next);
95426 brackets.push(A.opposite0(t1.readChar$0()));
95427 wroteNewline = false;
95428 break;
95429 case 41:
95430 case 125:
95431 case 93:
95432 if (brackets.length === 0)
95433 break $label0$1;
95434 next.toString;
95435 t3._contents += A.Primitives_stringFromCharCode(next);
95436 t1.expectChar$1(brackets.pop());
95437 wroteNewline = false;
95438 break;
95439 case 59:
95440 if (t7 && brackets.length === 0)
95441 break $label0$1;
95442 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95443 wroteNewline = false;
95444 break;
95445 case 58:
95446 if (t6 && brackets.length === 0)
95447 break $label0$1;
95448 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95449 wroteNewline = false;
95450 break;
95451 case 117:
95452 case 85:
95453 t8 = t1._string_scanner$_position;
95454 if (!_this.scanIdentifier$1("url")) {
95455 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95456 wroteNewline = false;
95457 break;
95458 }
95459 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
95460 if (contents == null) {
95461 if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
95462 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
95463 t1._string_scanner$_position = t8;
95464 t1._lastMatch = null;
95465 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95466 } else
95467 buffer.addInterpolation$1(contents);
95468 wroteNewline = false;
95469 break;
95470 default:
95471 if (next == null)
95472 break $label0$1;
95473 if (_this.lookingAtIdentifier$0())
95474 t3._contents += _this.identifier$0();
95475 else
95476 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95477 wroteNewline = false;
95478 break;
95479 }
95480 }
95481 if (brackets.length !== 0)
95482 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
95483 if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
95484 t1.error$1(0, "Expected token.");
95485 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95486 },
95487 _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
95488 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
95489 },
95490 _stylesheet0$_interpolatedDeclarationValue$0() {
95491 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
95492 },
95493 _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
95494 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
95495 },
95496 interpolatedIdentifier$0() {
95497 var first, _this = this,
95498 _s20_ = "Expected identifier.",
95499 t1 = _this.scanner,
95500 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95501 t2 = new A.StringBuffer(""),
95502 t3 = A._setArrayType([], type$.JSArray_Object),
95503 buffer = new A.InterpolationBuffer0(t2, t3);
95504 if (t1.scanChar$1(45)) {
95505 t2._contents += A.Primitives_stringFromCharCode(45);
95506 if (t1.scanChar$1(45)) {
95507 t2._contents += A.Primitives_stringFromCharCode(45);
95508 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95509 return buffer.interpolation$1(t1.spanFrom$1(start));
95510 }
95511 }
95512 first = t1.peekChar$0();
95513 if (first == null)
95514 t1.error$1(0, _s20_);
95515 else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
95516 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95517 else if (first === 92)
95518 t2._contents += A.S(_this.escape$1$identifierStart(true));
95519 else if (first === 35 && t1.peekChar$1(1) === 123) {
95520 t2 = _this.singleInterpolation$0();
95521 buffer._interpolation_buffer0$_flushText$0();
95522 t3.push(t2);
95523 } else
95524 t1.error$1(0, _s20_);
95525 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95526 return buffer.interpolation$1(t1.spanFrom$1(start));
95527 },
95528 _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
95529 var t1, t2, t3, next, t4;
95530 for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
95531 next = t2.peekChar$0();
95532 if (next == null)
95533 break;
95534 else {
95535 if (next !== 95)
95536 if (next !== 45) {
95537 if (!(next >= 97 && next <= 122))
95538 t4 = next >= 65 && next <= 90;
95539 else
95540 t4 = true;
95541 if (!t4)
95542 t4 = next >= 48 && next <= 57;
95543 else
95544 t4 = true;
95545 t4 = t4 || next >= 128;
95546 } else
95547 t4 = true;
95548 else
95549 t4 = true;
95550 if (t4)
95551 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
95552 else if (next === 92)
95553 t3._contents += A.S(this.escape$0());
95554 else if (next === 35 && t2.peekChar$1(1) === 123) {
95555 t4 = this.singleInterpolation$0();
95556 buffer._interpolation_buffer0$_flushText$0();
95557 t1.push(t4);
95558 } else
95559 break;
95560 }
95561 }
95562 },
95563 singleInterpolation$0() {
95564 var contents, _this = this,
95565 t1 = _this.scanner,
95566 t2 = t1._string_scanner$_position;
95567 t1.expect$1("#{");
95568 _this.whitespace$0();
95569 contents = _this._stylesheet0$_expression$0();
95570 t1.expectChar$1(125);
95571 if (_this.get$plainCss())
95572 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95573 return contents;
95574 },
95575 _stylesheet0$_mediaQueryList$0() {
95576 var t4,
95577 t1 = this.scanner,
95578 t2 = t1._string_scanner$_position,
95579 t3 = new A.StringBuffer(""),
95580 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
95581 for (; true;) {
95582 this.whitespace$0();
95583 this._stylesheet0$_mediaQuery$1(buffer);
95584 if (!t1.scanChar$1(44))
95585 break;
95586 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
95587 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
95588 }
95589 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95590 },
95591 _stylesheet0$_mediaQuery$1(buffer) {
95592 var t1, identifier, _this = this;
95593 if (_this.scanner.peekChar$0() !== 40) {
95594 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95595 _this.whitespace$0();
95596 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
95597 return;
95598 t1 = buffer._interpolation_buffer0$_text;
95599 t1._contents += A.Primitives_stringFromCharCode(32);
95600 identifier = _this.interpolatedIdentifier$0();
95601 _this.whitespace$0();
95602 if (A.equalsIgnoreCase0(identifier.get$asPlain(), "and"))
95603 t1._contents += " and ";
95604 else {
95605 buffer.addInterpolation$1(identifier);
95606 if (_this.scanIdentifier$1("and")) {
95607 _this.whitespace$0();
95608 t1._contents += " and ";
95609 } else
95610 return;
95611 }
95612 }
95613 for (t1 = buffer._interpolation_buffer0$_text; true;) {
95614 _this.whitespace$0();
95615 buffer.addInterpolation$1(_this._stylesheet0$_mediaFeature$0());
95616 _this.whitespace$0();
95617 if (!_this.scanIdentifier$1("and"))
95618 break;
95619 t1._contents += " and ";
95620 }
95621 },
95622 _stylesheet0$_mediaFeature$0() {
95623 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
95624 t1 = _this.scanner;
95625 if (t1.peekChar$0() === 35) {
95626 interpolation = _this.singleInterpolation$0();
95627 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
95628 }
95629 t2 = t1._string_scanner$_position;
95630 t3 = new A.StringBuffer("");
95631 t4 = A._setArrayType([], type$.JSArray_Object);
95632 buffer = new A.InterpolationBuffer0(t3, t4);
95633 t1.expectChar$1(40);
95634 t3._contents += A.Primitives_stringFromCharCode(40);
95635 _this.whitespace$0();
95636 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95637 buffer._interpolation_buffer0$_flushText$0();
95638 t4.push(t5);
95639 if (t1.scanChar$1(58)) {
95640 _this.whitespace$0();
95641 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
95642 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
95643 t5 = _this._stylesheet0$_expression$0();
95644 buffer._interpolation_buffer0$_flushText$0();
95645 t4.push(t5);
95646 } else {
95647 next = t1.peekChar$0();
95648 t5 = next !== 60;
95649 if (!t5 || next === 62 || next === 61) {
95650 t3._contents += A.Primitives_stringFromCharCode(32);
95651 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95652 if ((!t5 || next === 62) && t1.scanChar$1(61))
95653 t3._contents += A.Primitives_stringFromCharCode(61);
95654 t3._contents += A.Primitives_stringFromCharCode(32);
95655 _this.whitespace$0();
95656 t6 = _this._stylesheet0$_expressionUntilComparison$0();
95657 buffer._interpolation_buffer0$_flushText$0();
95658 t4.push(t6);
95659 if (!t5 || next === 62) {
95660 next.toString;
95661 t5 = t1.scanChar$1(next);
95662 } else
95663 t5 = false;
95664 if (t5) {
95665 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
95666 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
95667 if (t1.scanChar$1(61))
95668 t3._contents += A.Primitives_stringFromCharCode(61);
95669 t3._contents += A.Primitives_stringFromCharCode(32);
95670 _this.whitespace$0();
95671 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95672 buffer._interpolation_buffer0$_flushText$0();
95673 t4.push(t5);
95674 }
95675 }
95676 }
95677 t1.expectChar$1(41);
95678 _this.whitespace$0();
95679 t3._contents += A.Primitives_stringFromCharCode(41);
95680 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95681 },
95682 _stylesheet0$_expressionUntilComparison$0() {
95683 return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
95684 },
95685 _stylesheet0$_supportsCondition$0() {
95686 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
95687 t1 = _this.scanner,
95688 t2 = t1._string_scanner$_position;
95689 if (_this.scanIdentifier$1("not")) {
95690 _this.whitespace$0();
95691 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95692 }
95693 condition = _this._stylesheet0$_supportsConditionInParens$0();
95694 _this.whitespace$0();
95695 for (operator = null; _this.lookingAtIdentifier$0();) {
95696 if (operator != null)
95697 _this.expectIdentifier$1(operator);
95698 else if (_this.scanIdentifier$1("or"))
95699 operator = "or";
95700 else {
95701 _this.expectIdentifier$1("and");
95702 operator = "and";
95703 }
95704 _this.whitespace$0();
95705 right = _this._stylesheet0$_supportsConditionInParens$0();
95706 endPosition = t1._string_scanner$_position;
95707 t3 = t1._sourceFile;
95708 t4 = new A._FileSpan(t3, t2, endPosition);
95709 t4._FileSpan$3(t3, t2, endPosition);
95710 condition = new A.SupportsOperation0(condition, right, operator, t4);
95711 lowerOperator = operator.toLowerCase();
95712 if (lowerOperator !== "and" && lowerOperator !== "or")
95713 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95714 _this.whitespace$0();
95715 }
95716 return condition;
95717 },
95718 _stylesheet0$_supportsConditionInParens$0() {
95719 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
95720 t1 = _this.scanner,
95721 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95722 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
95723 identifier0 = _this.interpolatedIdentifier$0();
95724 t2 = identifier0.get$asPlain();
95725 if ((t2 == null ? null : t2.toLowerCase()) === "not")
95726 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
95727 if (t1.scanChar$1(40)) {
95728 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
95729 t1.expectChar$1(41);
95730 return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
95731 } else {
95732 t2 = identifier0.contents;
95733 if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
95734 _this.error$2(0, "Expected @supports condition.", identifier0.span);
95735 else
95736 return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
95737 }
95738 }
95739 t1.expectChar$1(40);
95740 _this.whitespace$0();
95741 if (_this.scanIdentifier$1("not")) {
95742 _this.whitespace$0();
95743 condition = _this._stylesheet0$_supportsConditionInParens$0();
95744 t1.expectChar$1(41);
95745 return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
95746 } else if (t1.peekChar$0() === 40) {
95747 condition = _this._stylesheet0$_supportsCondition$0();
95748 t1.expectChar$1(41);
95749 return condition;
95750 }
95751 $name = null;
95752 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
95753 wasInParentheses = _this._stylesheet0$_inParentheses;
95754 try {
95755 $name = _this._stylesheet0$_expression$0();
95756 t1.expectChar$1(58);
95757 } catch (exception) {
95758 if (type$.FormatException._is(A.unwrapException(exception))) {
95759 t1.set$state(nameStart);
95760 _this._stylesheet0$_inParentheses = wasInParentheses;
95761 identifier = _this.interpolatedIdentifier$0();
95762 operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
95763 if (operation != null) {
95764 t1.expectChar$1(41);
95765 return operation;
95766 }
95767 t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
95768 t2.addInterpolation$1(identifier);
95769 t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
95770 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
95771 if (t1.peekChar$0() === 58)
95772 throw exception;
95773 t1.expectChar$1(41);
95774 return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
95775 } else
95776 throw exception;
95777 }
95778 declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
95779 t1.expectChar$1(41);
95780 return declaration;
95781 },
95782 _stylesheet0$_supportsDeclarationValue$2($name, start) {
95783 var value, _this = this;
95784 if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
95785 value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
95786 else {
95787 _this.whitespace$0();
95788 value = _this._stylesheet0$_expression$0();
95789 }
95790 return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
95791 },
95792 _stylesheet0$_trySupportsOperation$2(interpolation, start) {
95793 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
95794 t1 = interpolation.contents;
95795 if (t1.length !== 1)
95796 return _null;
95797 expression = B.JSArray_methods.get$first(t1);
95798 if (!type$.Expression_2._is(expression))
95799 return _null;
95800 t1 = _this.scanner;
95801 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
95802 _this.whitespace$0();
95803 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
95804 if (operator != null)
95805 _this.expectIdentifier$1(operator);
95806 else if (_this.scanIdentifier$1("and"))
95807 operator = "and";
95808 else {
95809 if (!_this.scanIdentifier$1("or")) {
95810 if (beforeWhitespace._scanner !== t1)
95811 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
95812 t2 = beforeWhitespace.position;
95813 if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
95814 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
95815 t1._string_scanner$_position = t2;
95816 return t1._lastMatch = null;
95817 }
95818 operator = "or";
95819 }
95820 _this.whitespace$0();
95821 right = _this._stylesheet0$_supportsConditionInParens$0();
95822 t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
95823 endPosition = t1._string_scanner$_position;
95824 t5 = t1._sourceFile;
95825 t6 = new A._FileSpan(t5, t2, endPosition);
95826 t6._FileSpan$3(t5, t2, endPosition);
95827 operation = new A.SupportsOperation0(t4, right, operator, t6);
95828 lowerOperator = operator.toLowerCase();
95829 if (lowerOperator !== "and" && lowerOperator !== "or")
95830 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95831 _this.whitespace$0();
95832 }
95833 return operation;
95834 },
95835 _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
95836 var second,
95837 t1 = this.scanner,
95838 first = t1.peekChar$0();
95839 if (first == null)
95840 return false;
95841 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
95842 return true;
95843 if (first === 35)
95844 return t1.peekChar$1(1) === 123;
95845 if (first !== 45)
95846 return false;
95847 second = t1.peekChar$1(1);
95848 if (second == null)
95849 return false;
95850 if (second === 35)
95851 return t1.peekChar$1(2) === 123;
95852 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
95853 },
95854 _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
95855 var t1 = this.scanner,
95856 first = t1.peekChar$0();
95857 if (first == null)
95858 return false;
95859 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
95860 return true;
95861 return first === 35 && t1.peekChar$1(1) === 123;
95862 },
95863 _stylesheet0$_lookingAtExpression$0() {
95864 var next,
95865 t1 = this.scanner,
95866 character = t1.peekChar$0();
95867 if (character == null)
95868 return false;
95869 if (character === 46)
95870 return t1.peekChar$1(1) !== 46;
95871 if (character === 33) {
95872 next = t1.peekChar$1(1);
95873 if (next != null)
95874 if ((next | 32) >>> 0 !== 105)
95875 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
95876 else
95877 t1 = true;
95878 else
95879 t1 = true;
95880 return t1;
95881 }
95882 if (character !== 40)
95883 if (character !== 47)
95884 if (character !== 91)
95885 if (character !== 39)
95886 if (character !== 34)
95887 if (character !== 35)
95888 if (character !== 43)
95889 if (character !== 45)
95890 if (character !== 92)
95891 if (character !== 36)
95892 if (character !== 38)
95893 t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
95894 else
95895 t1 = true;
95896 else
95897 t1 = true;
95898 else
95899 t1 = true;
95900 else
95901 t1 = true;
95902 else
95903 t1 = true;
95904 else
95905 t1 = true;
95906 else
95907 t1 = true;
95908 else
95909 t1 = true;
95910 else
95911 t1 = true;
95912 else
95913 t1 = true;
95914 else
95915 t1 = true;
95916 return t1;
95917 },
95918 _stylesheet0$_withChildren$1$3(child, start, create) {
95919 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
95920 this.whitespaceWithoutComments$0();
95921 return result;
95922 },
95923 _stylesheet0$_withChildren$3(child, start, create) {
95924 return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
95925 },
95926 _stylesheet0$_urlString$0() {
95927 var innerError, stackTrace, t2, exception,
95928 t1 = this.scanner,
95929 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95930 url = this.string$0();
95931 try {
95932 t2 = A.Uri_parse(url);
95933 return t2;
95934 } catch (exception) {
95935 t2 = A.unwrapException(exception);
95936 if (type$.FormatException._is(t2)) {
95937 innerError = t2;
95938 stackTrace = A.getTraceFromException(exception);
95939 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
95940 } else
95941 throw exception;
95942 }
95943 },
95944 _stylesheet0$_publicIdentifier$0() {
95945 var _this = this,
95946 t1 = _this.scanner,
95947 t2 = t1._string_scanner$_position,
95948 result = _this.identifier$1$normalize(true);
95949 _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
95950 return result;
95951 },
95952 _stylesheet0$_assertPublic$2(identifier, span) {
95953 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
95954 if (!(first === 45 || first === 95))
95955 return;
95956 this.error$2(0, string$.Privat, span.call$0());
95957 },
95958 get$plainCss() {
95959 return false;
95960 }
95961 };
95962 A.StylesheetParser_parse_closure0.prototype = {
95963 call$0() {
95964 var statements, t4,
95965 t1 = this.$this,
95966 t2 = t1.scanner,
95967 t3 = t2._string_scanner$_position;
95968 t2.scanChar$1(65279);
95969 statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
95970 t2.expectDone$0();
95971 t4 = t1._stylesheet0$_globalVariables;
95972 t4 = t4.get$values(t4);
95973 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));
95974 return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
95975 },
95976 $signature: 532
95977 };
95978 A.StylesheetParser_parse__closure1.prototype = {
95979 call$0() {
95980 var t1 = this.$this;
95981 if (t1.scanner.scan$1("@charset")) {
95982 t1.whitespace$0();
95983 t1.string$0();
95984 return null;
95985 }
95986 return t1._stylesheet0$_statement$1$root(true);
95987 },
95988 $signature: 533
95989 };
95990 A.StylesheetParser_parse__closure2.prototype = {
95991 call$1(declaration) {
95992 var t1 = declaration.name,
95993 t2 = declaration.expression;
95994 return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
95995 },
95996 $signature: 534
95997 };
95998 A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
95999 call$0() {
96000 var $arguments,
96001 t1 = this.$this,
96002 t2 = t1.scanner;
96003 t2.expectChar$2$name(64, "@-rule");
96004 t1.identifier$0();
96005 t1.whitespace$0();
96006 t1.identifier$0();
96007 $arguments = t1._stylesheet0$_argumentDeclaration$0();
96008 t1.whitespace$0();
96009 t2.expectChar$1(123);
96010 return $arguments;
96011 },
96012 $signature: 535
96013 };
96014 A.StylesheetParser__parseSingleProduction_closure0.prototype = {
96015 call$0() {
96016 var result = this.production.call$0();
96017 this.$this.scanner.expectDone$0();
96018 return result;
96019 },
96020 $signature() {
96021 return this.T._eval$1("0()");
96022 }
96023 };
96024 A.StylesheetParser_parseSignature_closure.prototype = {
96025 call$0() {
96026 var $arguments, t2, t3,
96027 t1 = this.$this,
96028 $name = t1.identifier$0();
96029 t1.whitespace$0();
96030 if (this.requireParens || t1.scanner.peekChar$0() === 40)
96031 $arguments = t1._stylesheet0$_argumentDeclaration$0();
96032 else {
96033 t2 = t1.scanner;
96034 t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
96035 t3 = t2.offset;
96036 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
96037 }
96038 t1.scanner.expectDone$0();
96039 return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
96040 },
96041 $signature: 536
96042 };
96043 A.StylesheetParser__statement_closure0.prototype = {
96044 call$0() {
96045 return this.$this._stylesheet0$_statement$0();
96046 },
96047 $signature: 136
96048 };
96049 A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
96050 call$0() {
96051 return this.$this.scanner.spanFrom$1(this.start);
96052 },
96053 $signature: 30
96054 };
96055 A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
96056 call$0() {
96057 return this.declaration;
96058 },
96059 $signature: 537
96060 };
96061 A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
96062 call$2(children, span) {
96063 return A.Declaration$nested0(this.name, children, span, null);
96064 },
96065 $signature: 81
96066 };
96067 A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
96068 call$2(children, span) {
96069 return A.Declaration$nested0(this.name, children, span, this._box_0.value);
96070 },
96071 $signature: 81
96072 };
96073 A.StylesheetParser__styleRule_closure0.prototype = {
96074 call$2(children, span) {
96075 var _this = this,
96076 t1 = _this.$this;
96077 if (t1.get$indented() && children.length === 0)
96078 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
96079 t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
96080 return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
96081 },
96082 $signature: 539
96083 };
96084 A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
96085 call$2(children, span) {
96086 return A.Declaration$nested0(this._box_0.name, children, span, null);
96087 },
96088 $signature: 81
96089 };
96090 A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
96091 call$2(children, span) {
96092 return A.Declaration$nested0(this._box_0.name, children, span, this.value);
96093 },
96094 $signature: 81
96095 };
96096 A.StylesheetParser__atRootRule_closure1.prototype = {
96097 call$2(children, span) {
96098 return A.AtRootRule$0(children, span, this.query);
96099 },
96100 $signature: 252
96101 };
96102 A.StylesheetParser__atRootRule_closure2.prototype = {
96103 call$2(children, span) {
96104 return A.AtRootRule$0(children, span, null);
96105 },
96106 $signature: 252
96107 };
96108 A.StylesheetParser__eachRule_closure0.prototype = {
96109 call$2(children, span) {
96110 var _this = this;
96111 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
96112 return A.EachRule$0(_this.variables, _this.list, children, span);
96113 },
96114 $signature: 541
96115 };
96116 A.StylesheetParser__functionRule_closure0.prototype = {
96117 call$2(children, span) {
96118 return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
96119 },
96120 $signature: 542
96121 };
96122 A.StylesheetParser__forRule_closure1.prototype = {
96123 call$0() {
96124 var t1 = this.$this;
96125 if (!t1.lookingAtIdentifier$0())
96126 return false;
96127 if (t1.scanIdentifier$1("to"))
96128 return this._box_0.exclusive = true;
96129 else if (t1.scanIdentifier$1("through")) {
96130 this._box_0.exclusive = false;
96131 return true;
96132 } else
96133 return false;
96134 },
96135 $signature: 26
96136 };
96137 A.StylesheetParser__forRule_closure2.prototype = {
96138 call$2(children, span) {
96139 var t1, _this = this;
96140 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
96141 t1 = _this._box_0.exclusive;
96142 t1.toString;
96143 return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
96144 },
96145 $signature: 543
96146 };
96147 A.StylesheetParser__memberList_closure0.prototype = {
96148 call$0() {
96149 var t1 = this.$this;
96150 if (t1.scanner.peekChar$0() === 36)
96151 this.variables.add$1(0, t1.variableName$0());
96152 else
96153 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
96154 },
96155 $signature: 1
96156 };
96157 A.StylesheetParser__includeRule_closure0.prototype = {
96158 call$2(children, span) {
96159 return A.ContentBlock$0(this.contentArguments_, children, span);
96160 },
96161 $signature: 544
96162 };
96163 A.StylesheetParser_mediaRule_closure0.prototype = {
96164 call$2(children, span) {
96165 return A.MediaRule$0(this.query, children, span);
96166 },
96167 $signature: 545
96168 };
96169 A.StylesheetParser__mixinRule_closure0.prototype = {
96170 call$2(children, span) {
96171 var _this = this;
96172 _this.$this._stylesheet0$_inMixin = false;
96173 return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
96174 },
96175 $signature: 546
96176 };
96177 A.StylesheetParser_mozDocumentRule_closure0.prototype = {
96178 call$2(children, span) {
96179 var _this = this;
96180 if (_this._box_0.needsDeprecationWarning)
96181 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
96182 return A.AtRule$0(_this.name, span, children, _this.value);
96183 },
96184 $signature: 253
96185 };
96186 A.StylesheetParser_supportsRule_closure0.prototype = {
96187 call$2(children, span) {
96188 return A.SupportsRule$0(this.condition, children, span);
96189 },
96190 $signature: 548
96191 };
96192 A.StylesheetParser__whileRule_closure0.prototype = {
96193 call$2(children, span) {
96194 this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
96195 return A.WhileRule$0(this.condition, children, span);
96196 },
96197 $signature: 549
96198 };
96199 A.StylesheetParser_unknownAtRule_closure0.prototype = {
96200 call$2(children, span) {
96201 return A.AtRule$0(this.name, span, children, this._box_0.value);
96202 },
96203 $signature: 253
96204 };
96205 A.StylesheetParser__expression_resetState0.prototype = {
96206 call$0() {
96207 var t2,
96208 t1 = this._box_0;
96209 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
96210 t2 = this.$this;
96211 t2.scanner.set$state(this.start);
96212 t1.allowSlash = true;
96213 t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
96214 },
96215 $signature: 0
96216 };
96217 A.StylesheetParser__expression_resolveOneOperation0.prototype = {
96218 call$0() {
96219 var t2, t3,
96220 t1 = this._box_0,
96221 operator = t1.operators_.pop(),
96222 left = t1.operands_.pop(),
96223 right = t1.singleExpression_;
96224 if (right == null) {
96225 t2 = this.$this.scanner;
96226 t3 = operator.operator.length;
96227 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
96228 }
96229 if (t1.allowSlash) {
96230 t2 = this.$this;
96231 t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_RTB0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
96232 } else
96233 t2 = false;
96234 if (t2)
96235 t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_RTB0, left, right, true);
96236 else {
96237 t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
96238 t1.allowSlash = false;
96239 }
96240 },
96241 $signature: 0
96242 };
96243 A.StylesheetParser__expression_resolveOperations0.prototype = {
96244 call$0() {
96245 var t1,
96246 operators = this._box_0.operators_;
96247 if (operators == null)
96248 return;
96249 for (t1 = this.resolveOneOperation; operators.length !== 0;)
96250 t1.call$0();
96251 },
96252 $signature: 0
96253 };
96254 A.StylesheetParser__expression_addSingleExpression0.prototype = {
96255 call$1(expression) {
96256 var t2, spaceExpressions, _this = this,
96257 t1 = _this._box_0;
96258 if (t1.singleExpression_ != null) {
96259 t2 = _this.$this;
96260 if (t2._stylesheet0$_inParentheses) {
96261 t2._stylesheet0$_inParentheses = false;
96262 if (t1.allowSlash) {
96263 _this.resetState.call$0();
96264 return;
96265 }
96266 }
96267 spaceExpressions = t1.spaceExpressions_;
96268 if (spaceExpressions == null)
96269 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
96270 _this.resolveOperations.call$0();
96271 t2 = t1.singleExpression_;
96272 t2.toString;
96273 spaceExpressions.push(t2);
96274 t1.allowSlash = true;
96275 }
96276 t1.singleExpression_ = expression;
96277 },
96278 $signature: 550
96279 };
96280 A.StylesheetParser__expression_addOperator0.prototype = {
96281 call$1(operator) {
96282 var t2, t3, operators, operands, t4, singleExpression,
96283 t1 = this.$this;
96284 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB0 && operator !== B.BinaryOperator_kjl0) {
96285 t2 = t1.scanner;
96286 t3 = operator.operator.length;
96287 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
96288 }
96289 t2 = this._box_0;
96290 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB0;
96291 operators = t2.operators_;
96292 if (operators == null)
96293 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
96294 operands = t2.operands_;
96295 if (operands == null)
96296 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
96297 t3 = this.resolveOneOperation;
96298 t4 = operator.precedence;
96299 while (true) {
96300 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
96301 break;
96302 t3.call$0();
96303 }
96304 operators.push(operator);
96305 singleExpression = t2.singleExpression_;
96306 if (singleExpression == null) {
96307 t3 = t1.scanner;
96308 t4 = operator.operator.length;
96309 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
96310 }
96311 operands.push(singleExpression);
96312 t1.whitespace$0();
96313 t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
96314 },
96315 $signature: 551
96316 };
96317 A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
96318 call$0() {
96319 var t1, spaceExpressions, singleExpression, t2;
96320 this.resolveOperations.call$0();
96321 t1 = this._box_0;
96322 spaceExpressions = t1.spaceExpressions_;
96323 if (spaceExpressions != null) {
96324 singleExpression = t1.singleExpression_;
96325 if (singleExpression == null)
96326 this.$this.scanner.error$1(0, "Expected expression.");
96327 spaceExpressions.push(singleExpression);
96328 t2 = B.JSArray_methods.get$first(spaceExpressions);
96329 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
96330 t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, false, t2);
96331 t1.spaceExpressions_ = null;
96332 }
96333 },
96334 $signature: 0
96335 };
96336 A.StylesheetParser_expressionUntilComma_closure0.prototype = {
96337 call$0() {
96338 return this.$this.scanner.peekChar$0() === 44;
96339 },
96340 $signature: 26
96341 };
96342 A.StylesheetParser__unicodeRange_closure1.prototype = {
96343 call$1(char) {
96344 return char != null && A.isHex0(char);
96345 },
96346 $signature: 31
96347 };
96348 A.StylesheetParser__unicodeRange_closure2.prototype = {
96349 call$1(char) {
96350 return char != null && A.isHex0(char);
96351 },
96352 $signature: 31
96353 };
96354 A.StylesheetParser_namespacedExpression_closure0.prototype = {
96355 call$0() {
96356 return this.$this.scanner.spanFrom$1(this.start);
96357 },
96358 $signature: 30
96359 };
96360 A.StylesheetParser_trySpecialFunction_closure0.prototype = {
96361 call$1(contents) {
96362 return new A.StringExpression0(contents, false);
96363 },
96364 $signature: 552
96365 };
96366 A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
96367 call$0() {
96368 var t1 = this.$this.scanner,
96369 next = t1.peekChar$0();
96370 if (next === 61)
96371 return t1.peekChar$1(1) !== 61;
96372 return next === 60 || next === 62;
96373 },
96374 $signature: 26
96375 };
96376 A.StylesheetParser__publicIdentifier_closure0.prototype = {
96377 call$0() {
96378 return this.$this.scanner.spanFrom$1(this.start);
96379 },
96380 $signature: 30
96381 };
96382 A.Stylesheet0.prototype = {
96383 Stylesheet$internal$3$plainCss0(children, span, plainCss) {
96384 var t1, t2, t3, t4, _i, child;
96385 for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
96386 child = t1[_i];
96387 if (child instanceof A.UseRule0)
96388 t4.push(child);
96389 else if (child instanceof A.ForwardRule0)
96390 t3.push(child);
96391 else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
96392 break;
96393 }
96394 },
96395 accept$1$1(visitor) {
96396 return visitor.visitStylesheet$1(this);
96397 },
96398 accept$1(visitor) {
96399 return this.accept$1$1(visitor, type$.dynamic);
96400 },
96401 toString$0(_) {
96402 var t1 = this.children;
96403 return (t1 && B.JSArray_methods).join$1(t1, " ");
96404 },
96405 get$span(receiver) {
96406 return this.span;
96407 }
96408 };
96409 A.SupportsExpression0.prototype = {
96410 get$span(_) {
96411 var t1 = this.condition;
96412 return t1.get$span(t1);
96413 },
96414 accept$1$1(visitor) {
96415 return visitor.visitSupportsExpression$1(this);
96416 },
96417 accept$1(visitor) {
96418 return this.accept$1$1(visitor, type$.dynamic);
96419 },
96420 toString$0(_) {
96421 return this.condition.toString$0(0);
96422 },
96423 $isExpression0: 1,
96424 $isAstNode0: 1
96425 };
96426 A.ModifiableCssSupportsRule0.prototype = {
96427 accept$1$1(visitor) {
96428 return visitor.visitCssSupportsRule$1(this);
96429 },
96430 accept$1(visitor) {
96431 return this.accept$1$1(visitor, type$.dynamic);
96432 },
96433 copyWithoutChildren$0() {
96434 return A.ModifiableCssSupportsRule$0(this.condition, this.span);
96435 },
96436 $isCssSupportsRule0: 1,
96437 get$span(receiver) {
96438 return this.span;
96439 }
96440 };
96441 A.SupportsRule0.prototype = {
96442 accept$1$1(visitor) {
96443 return visitor.visitSupportsRule$1(this);
96444 },
96445 accept$1(visitor) {
96446 return this.accept$1$1(visitor, type$.dynamic);
96447 },
96448 toString$0(_) {
96449 var t1 = this.children;
96450 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
96451 },
96452 get$span(receiver) {
96453 return this.span;
96454 }
96455 };
96456 A.NodeToDartImporter.prototype = {
96457 canonicalize$1(_, url) {
96458 var t1,
96459 result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
96460 if (result == null)
96461 return null;
96462 t1 = self.URL;
96463 if (result instanceof t1)
96464 return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
96465 t1 = self.Promise;
96466 if (result instanceof t1)
96467 A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
96468 else
96469 A.jsThrow(new self.Error(string$.The_ca));
96470 },
96471 load$1(_, url) {
96472 var t1, contents, syntax, t2,
96473 result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
96474 if (result == null)
96475 return null;
96476 t1 = self.Promise;
96477 if (result instanceof t1)
96478 A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
96479 type$.NodeImporterResult._as(result);
96480 t1 = J.getInterceptor$x(result);
96481 contents = t1.get$contents(result);
96482 syntax = t1.get$syntax(result);
96483 if (contents == null || syntax == null)
96484 A.jsThrow(new self.Error(string$.The_lo));
96485 t2 = A.parseSyntax(syntax);
96486 return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
96487 }
96488 };
96489 A.Syntax0.prototype = {
96490 toString$0(_) {
96491 return this._syntax0$_name;
96492 }
96493 };
96494 A.TerseLogger0.prototype = {
96495 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
96496 var firstParagraph, t1, t2, count;
96497 if (deprecation) {
96498 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
96499 t1 = this._terse$_warningCounts;
96500 t2 = t1.$index(0, firstParagraph);
96501 count = (t2 == null ? 0 : t2) + 1;
96502 t1.$indexSet(0, firstParagraph, count);
96503 if (count > 5)
96504 return;
96505 }
96506 this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
96507 },
96508 warn$2$span($receiver, message, span) {
96509 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
96510 },
96511 warn$2$deprecation($receiver, message, deprecation) {
96512 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
96513 },
96514 warn$3$deprecation$span($receiver, message, deprecation, span) {
96515 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
96516 },
96517 warn$2$trace($receiver, message, trace) {
96518 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
96519 },
96520 debug$2(_, message, span) {
96521 return this._terse$_inner.debug$2(0, message, span);
96522 },
96523 summarize$1$node(node) {
96524 var t2, total,
96525 t1 = this._terse$_warningCounts;
96526 t1 = t1.get$values(t1);
96527 t2 = A._instanceType(t1);
96528 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>")));
96529 if (total > 0) {
96530 t1 = node ? "" : string$.x0aRun_i;
96531 this._terse$_inner.warn$1(0, "" + total + string$.x20repet + t1);
96532 }
96533 }
96534 };
96535 A.TerseLogger_summarize_closure1.prototype = {
96536 call$1(count) {
96537 return count > 5;
96538 },
96539 $signature: 57
96540 };
96541 A.TerseLogger_summarize_closure2.prototype = {
96542 call$1(count) {
96543 return count - 5;
96544 },
96545 $signature: 175
96546 };
96547 A.TypeSelector0.prototype = {
96548 get$minSpecificity() {
96549 return 1;
96550 },
96551 accept$1$1(visitor) {
96552 visitor._serialize0$_buffer.write$1(0, this.name);
96553 return null;
96554 },
96555 accept$1(visitor) {
96556 return this.accept$1$1(visitor, type$.dynamic);
96557 },
96558 addSuffix$1(suffix) {
96559 var t1 = this.name;
96560 return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
96561 },
96562 unify$1(compound) {
96563 var unified, t1;
96564 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
96565 unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
96566 if (unified == null)
96567 return null;
96568 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96569 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96570 return t1;
96571 } else {
96572 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
96573 B.JSArray_methods.addAll$1(t1, compound);
96574 return t1;
96575 }
96576 },
96577 $eq(_, other) {
96578 if (other == null)
96579 return false;
96580 return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
96581 },
96582 get$hashCode(_) {
96583 var t1 = this.name;
96584 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
96585 }
96586 };
96587 A.Types.prototype = {};
96588 A.UnaryOperationExpression0.prototype = {
96589 accept$1$1(visitor) {
96590 return visitor.visitUnaryOperationExpression$1(this);
96591 },
96592 accept$1(visitor) {
96593 return this.accept$1$1(visitor, type$.dynamic);
96594 },
96595 toString$0(_) {
96596 var t1 = this.operator,
96597 t2 = t1.operator;
96598 t1 = t1 === B.UnaryOperator_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
96599 t1 += this.operand.toString$0(0);
96600 return t1.charCodeAt(0) == 0 ? t1 : t1;
96601 },
96602 $isExpression0: 1,
96603 $isAstNode0: 1,
96604 get$span(receiver) {
96605 return this.span;
96606 }
96607 };
96608 A.UnaryOperator0.prototype = {
96609 toString$0(_) {
96610 return this.name;
96611 }
96612 };
96613 A.UnitlessSassNumber0.prototype = {
96614 get$numeratorUnits(_) {
96615 return B.List_empty;
96616 },
96617 get$denominatorUnits(_) {
96618 return B.List_empty;
96619 },
96620 get$hasUnits() {
96621 return false;
96622 },
96623 withValue$1(value) {
96624 return new A.UnitlessSassNumber0(value, null);
96625 },
96626 withSlash$2(numerator, denominator) {
96627 return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
96628 },
96629 hasUnit$1(unit) {
96630 return false;
96631 },
96632 hasCompatibleUnits$1(other) {
96633 return other instanceof A.UnitlessSassNumber0;
96634 },
96635 hasPossiblyCompatibleUnits$1(other) {
96636 return other instanceof A.UnitlessSassNumber0;
96637 },
96638 compatibleWithUnit$1(unit) {
96639 return true;
96640 },
96641 coerceToMatch$3(other, $name, otherName) {
96642 return other.withValue$1(this._number1$_value);
96643 },
96644 coerceValueToMatch$3(other, $name, otherName) {
96645 return this._number1$_value;
96646 },
96647 coerceValueToMatch$1(other) {
96648 return this.coerceValueToMatch$3(other, null, null);
96649 },
96650 convertToMatch$3(other, $name, otherName) {
96651 return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
96652 },
96653 convertValueToMatch$3(other, $name, otherName) {
96654 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
96655 },
96656 coerce$3(newNumerators, newDenominators, $name) {
96657 return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
96658 },
96659 coerce$2(newNumerators, newDenominators) {
96660 return this.coerce$3(newNumerators, newDenominators, null);
96661 },
96662 coerceValue$3(newNumerators, newDenominators, $name) {
96663 return this._number1$_value;
96664 },
96665 coerceValueToUnit$2(unit, $name) {
96666 return this._number1$_value;
96667 },
96668 greaterThan$1(other) {
96669 var t1, t2;
96670 if (other instanceof A.SassNumber0) {
96671 t1 = this._number1$_value;
96672 t2 = other._number1$_value;
96673 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96674 }
96675 return this.super$SassNumber$greaterThan0(other);
96676 },
96677 greaterThanOrEquals$1(other) {
96678 var t1, t2;
96679 if (other instanceof A.SassNumber0) {
96680 t1 = this._number1$_value;
96681 t2 = other._number1$_value;
96682 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96683 }
96684 return this.super$SassNumber$greaterThanOrEquals0(other);
96685 },
96686 lessThan$1(other) {
96687 var t1, t2;
96688 if (other instanceof A.SassNumber0) {
96689 t1 = this._number1$_value;
96690 t2 = other._number1$_value;
96691 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96692 }
96693 return this.super$SassNumber$lessThan0(other);
96694 },
96695 lessThanOrEquals$1(other) {
96696 var t1, t2;
96697 if (other instanceof A.SassNumber0) {
96698 t1 = this._number1$_value;
96699 t2 = other._number1$_value;
96700 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96701 }
96702 return this.super$SassNumber$lessThanOrEquals0(other);
96703 },
96704 modulo$1(other) {
96705 if (other instanceof A.SassNumber0)
96706 return other.withValue$1(this.moduloLikeSass$2(this._number1$_value, other._number1$_value));
96707 return this.super$SassNumber$modulo0(other);
96708 },
96709 plus$1(other) {
96710 if (other instanceof A.SassNumber0)
96711 return other.withValue$1(this._number1$_value + other._number1$_value);
96712 return this.super$SassNumber$plus0(other);
96713 },
96714 minus$1(other) {
96715 if (other instanceof A.SassNumber0)
96716 return other.withValue$1(this._number1$_value - other._number1$_value);
96717 return this.super$SassNumber$minus0(other);
96718 },
96719 times$1(other) {
96720 if (other instanceof A.SassNumber0)
96721 return other.withValue$1(this._number1$_value * other._number1$_value);
96722 return this.super$SassNumber$times0(other);
96723 },
96724 dividedBy$1(other) {
96725 var t1, t2;
96726 if (other instanceof A.SassNumber0) {
96727 t1 = this._number1$_value / other._number1$_value;
96728 if (other.get$hasUnits()) {
96729 t2 = other.get$denominatorUnits(other);
96730 t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
96731 t1 = t2;
96732 } else
96733 t1 = new A.UnitlessSassNumber0(t1, null);
96734 return t1;
96735 }
96736 return this.super$SassNumber$dividedBy0(other);
96737 },
96738 unaryMinus$0() {
96739 return new A.UnitlessSassNumber0(-this._number1$_value, null);
96740 },
96741 $eq(_, other) {
96742 if (other == null)
96743 return false;
96744 return other instanceof A.UnitlessSassNumber0 && Math.abs(this._number1$_value - other._number1$_value) < $.$get$epsilon0();
96745 },
96746 get$hashCode(_) {
96747 var t1 = this.hashCache;
96748 return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
96749 }
96750 };
96751 A.UniversalSelector0.prototype = {
96752 get$minSpecificity() {
96753 return 0;
96754 },
96755 accept$1$1(visitor) {
96756 var t2,
96757 t1 = this.namespace;
96758 if (t1 != null) {
96759 t2 = visitor._serialize0$_buffer;
96760 t2.write$1(0, t1);
96761 t2.writeCharCode$1(124);
96762 }
96763 visitor._serialize0$_buffer.writeCharCode$1(42);
96764 return null;
96765 },
96766 accept$1(visitor) {
96767 return this.accept$1$1(visitor, type$.dynamic);
96768 },
96769 unify$1(compound) {
96770 var unified, t1, _this = this,
96771 first = B.JSArray_methods.get$first(compound);
96772 if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
96773 unified = A.unifyUniversalAndElement0(_this, first);
96774 if (unified == null)
96775 return null;
96776 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96777 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96778 return t1;
96779 } else {
96780 if (compound.length === 1)
96781 if (first instanceof A.PseudoSelector0)
96782 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
96783 else
96784 t1 = false;
96785 else
96786 t1 = false;
96787 if (t1)
96788 return null;
96789 }
96790 t1 = _this.namespace;
96791 if (t1 != null && t1 !== "*") {
96792 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96793 B.JSArray_methods.addAll$1(t1, compound);
96794 return t1;
96795 }
96796 if (compound.length !== 0)
96797 return compound;
96798 return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96799 },
96800 $eq(_, other) {
96801 if (other == null)
96802 return false;
96803 return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
96804 },
96805 get$hashCode(_) {
96806 return J.get$hashCode$(this.namespace);
96807 }
96808 };
96809 A.UnprefixedMapView0.prototype = {
96810 get$keys(_) {
96811 return new A._UnprefixedKeys0(this);
96812 },
96813 $index(_, key) {
96814 return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
96815 },
96816 containsKey$1(key) {
96817 return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
96818 },
96819 remove$1(_, key) {
96820 return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
96821 }
96822 };
96823 A._UnprefixedKeys0.prototype = {
96824 get$iterator(_) {
96825 var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
96826 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);
96827 return t1.get$iterator(t1);
96828 },
96829 contains$1(_, key) {
96830 return this._unprefixed_map_view0$_view.containsKey$1(key);
96831 }
96832 };
96833 A._UnprefixedKeys_iterator_closure1.prototype = {
96834 call$1(key) {
96835 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
96836 },
96837 $signature: 6
96838 };
96839 A._UnprefixedKeys_iterator_closure2.prototype = {
96840 call$1(key) {
96841 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
96842 },
96843 $signature: 5
96844 };
96845 A.JSUrl0.prototype = {};
96846 A.UseRule0.prototype = {
96847 UseRule$4$configuration0(url, namespace, span, configuration) {
96848 var t1, t2, _i, variable;
96849 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
96850 variable = t1[_i];
96851 if (variable.isGuarded)
96852 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
96853 }
96854 },
96855 accept$1$1(visitor) {
96856 return visitor.visitUseRule$1(this);
96857 },
96858 accept$1(visitor) {
96859 return this.accept$1$1(visitor, type$.dynamic);
96860 },
96861 toString$0(_) {
96862 var t1 = this.url,
96863 t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
96864 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
96865 dot = B.JSString_methods.indexOf$1(basename, ".");
96866 t1 = this.namespace;
96867 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
96868 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
96869 else
96870 t1 = t2;
96871 t2 = this.configuration;
96872 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
96873 return t1.charCodeAt(0) == 0 ? t1 : t1;
96874 },
96875 $isAstNode0: 1,
96876 $isStatement0: 1,
96877 get$span(receiver) {
96878 return this.span;
96879 }
96880 };
96881 A.UserDefinedCallable0.prototype = {
96882 get$name(_) {
96883 return this.declaration.name;
96884 },
96885 $isAsyncCallable0: 1,
96886 $isCallable0: 1
96887 };
96888 A.resolveImportPath_closure1.prototype = {
96889 call$0() {
96890 return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
96891 },
96892 $signature: 41
96893 };
96894 A.resolveImportPath_closure2.prototype = {
96895 call$0() {
96896 return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
96897 },
96898 $signature: 41
96899 };
96900 A._tryPathAsDirectory_closure0.prototype = {
96901 call$0() {
96902 return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
96903 },
96904 $signature: 41
96905 };
96906 A._exactlyOne_closure0.prototype = {
96907 call$1(path) {
96908 var t1 = $.$get$context();
96909 return " " + t1.prettyUri$1(t1.toUri$1(path));
96910 },
96911 $signature: 5
96912 };
96913 A._PropertyDescriptor0.prototype = {};
96914 A.futureToPromise_closure0.prototype = {
96915 call$2(resolve, reject) {
96916 this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
96917 },
96918 $signature: 553
96919 };
96920 A.futureToPromise__closure0.prototype = {
96921 call$1(result) {
96922 return this.resolve.call$1(result);
96923 },
96924 $signature: 27
96925 };
96926 A.futureToPromise__closure1.prototype = {
96927 call$2(error, stackTrace) {
96928 A.attachTrace0(error, stackTrace);
96929 this.reject.call$1(error);
96930 },
96931 $signature: 63
96932 };
96933 A.objectToMap_closure.prototype = {
96934 call$2(key, value) {
96935 this.map.$indexSet(0, key, value);
96936 return value;
96937 },
96938 $signature: 111
96939 };
96940 A.indent_closure0.prototype = {
96941 call$1(line) {
96942 return B.JSString_methods.$mul(" ", this.indentation) + line;
96943 },
96944 $signature: 5
96945 };
96946 A.flattenVertically_closure1.prototype = {
96947 call$1(inner) {
96948 return A.QueueList_QueueList$from(inner, this.T);
96949 },
96950 $signature() {
96951 return this.T._eval$1("QueueList<0>(Iterable<0>)");
96952 }
96953 };
96954 A.flattenVertically_closure2.prototype = {
96955 call$1(queue) {
96956 this.result.push(queue.removeFirst$0());
96957 return queue.get$length(queue) === 0;
96958 },
96959 $signature() {
96960 return this.T._eval$1("bool(QueueList<0>)");
96961 }
96962 };
96963 A.longestCommonSubsequence_closure0.prototype = {
96964 call$2(element1, element2) {
96965 return J.$eq$(element1, element2) ? element1 : null;
96966 },
96967 $signature() {
96968 return this.T._eval$1("0?(0,0)");
96969 }
96970 };
96971 A.longestCommonSubsequence_backtrack0.prototype = {
96972 call$2(i, j) {
96973 var selection, t1, _this = this;
96974 if (i === -1 || j === -1)
96975 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
96976 selection = _this.selections[i][j];
96977 if (selection != null) {
96978 t1 = _this.call$2(i - 1, j - 1);
96979 J.add$1$ax(t1, selection);
96980 return t1;
96981 }
96982 t1 = _this.lengths;
96983 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
96984 },
96985 $signature() {
96986 return this.T._eval$1("List<0>(int,int)");
96987 }
96988 };
96989 A.mapAddAll2_closure0.prototype = {
96990 call$2(key, inner) {
96991 var t1 = this.destination,
96992 innerDestination = t1.$index(0, key);
96993 if (innerDestination != null)
96994 innerDestination.addAll$1(0, inner);
96995 else
96996 t1.$indexSet(0, key, inner);
96997 },
96998 $signature() {
96999 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
97000 }
97001 };
97002 A.CssValue0.prototype = {
97003 toString$0(_) {
97004 return J.toString$0$(this.value);
97005 },
97006 $isAstNode0: 1,
97007 get$value(receiver) {
97008 return this.value;
97009 },
97010 get$span(receiver) {
97011 return this.span;
97012 }
97013 };
97014 A.ValueExpression0.prototype = {
97015 accept$1$1(visitor) {
97016 return visitor.visitValueExpression$1(this);
97017 },
97018 accept$1(visitor) {
97019 return this.accept$1$1(visitor, type$.dynamic);
97020 },
97021 toString$0(_) {
97022 return A.serializeValue0(this.value, true, true);
97023 },
97024 $isExpression0: 1,
97025 $isAstNode0: 1,
97026 get$span(receiver) {
97027 return this.span;
97028 }
97029 };
97030 A.ModifiableCssValue0.prototype = {
97031 toString$0(_) {
97032 return A.serializeSelector0(this.value, true);
97033 },
97034 $isAstNode0: 1,
97035 $isCssValue0: 1,
97036 get$value(receiver) {
97037 return this.value;
97038 },
97039 get$span(receiver) {
97040 return this.span;
97041 }
97042 };
97043 A.valueClass_closure.prototype = {
97044 call$0() {
97045 var t2,
97046 t1 = type$.JSClass,
97047 jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
97048 A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
97049 t1 = type$.String;
97050 t2 = type$.Function;
97051 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));
97052 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));
97053 return jsClass;
97054 },
97055 $signature: 23
97056 };
97057 A.valueClass__closure.prototype = {
97058 call$1($self) {
97059 return J.toString$0$($self);
97060 },
97061 $signature: 48
97062 };
97063 A.valueClass__closure0.prototype = {
97064 call$1($self) {
97065 return new self.immutable.List($self.get$asList());
97066 },
97067 $signature: 554
97068 };
97069 A.valueClass__closure1.prototype = {
97070 call$1($self) {
97071 return $self.get$hasBrackets();
97072 },
97073 $signature: 49
97074 };
97075 A.valueClass__closure2.prototype = {
97076 call$1($self) {
97077 return $self.get$isTruthy();
97078 },
97079 $signature: 49
97080 };
97081 A.valueClass__closure3.prototype = {
97082 call$1($self) {
97083 return $self.get$realNull();
97084 },
97085 $signature: 201
97086 };
97087 A.valueClass__closure4.prototype = {
97088 call$1($self) {
97089 return $self.get$separator($self).separator;
97090 },
97091 $signature: 555
97092 };
97093 A.valueClass__closure5.prototype = {
97094 call$3($self, sassIndex, $name) {
97095 return $self.sassIndexToListIndex$2(sassIndex, $name);
97096 },
97097 call$2($self, sassIndex) {
97098 return this.call$3($self, sassIndex, null);
97099 },
97100 "call*": "call$3",
97101 $requiredArgCount: 2,
97102 $defaultValues() {
97103 return [null];
97104 },
97105 $signature: 556
97106 };
97107 A.valueClass__closure6.prototype = {
97108 call$2($self, index) {
97109 return index < 1 && index >= -1 ? $self : self.undefined;
97110 },
97111 $signature: 234
97112 };
97113 A.valueClass__closure7.prototype = {
97114 call$2($self, $name) {
97115 return $self.assertBoolean$1($name);
97116 },
97117 call$1($self) {
97118 return this.call$2($self, null);
97119 },
97120 "call*": "call$2",
97121 $requiredArgCount: 1,
97122 $defaultValues() {
97123 return [null];
97124 },
97125 $signature: 557
97126 };
97127 A.valueClass__closure8.prototype = {
97128 call$2($self, $name) {
97129 return $self.assertColor$1($name);
97130 },
97131 call$1($self) {
97132 return this.call$2($self, null);
97133 },
97134 "call*": "call$2",
97135 $requiredArgCount: 1,
97136 $defaultValues() {
97137 return [null];
97138 },
97139 $signature: 558
97140 };
97141 A.valueClass__closure9.prototype = {
97142 call$2($self, $name) {
97143 return $self.assertFunction$1($name);
97144 },
97145 call$1($self) {
97146 return this.call$2($self, null);
97147 },
97148 "call*": "call$2",
97149 $requiredArgCount: 1,
97150 $defaultValues() {
97151 return [null];
97152 },
97153 $signature: 559
97154 };
97155 A.valueClass__closure10.prototype = {
97156 call$2($self, $name) {
97157 return $self.assertMap$1($name);
97158 },
97159 call$1($self) {
97160 return this.call$2($self, null);
97161 },
97162 "call*": "call$2",
97163 $requiredArgCount: 1,
97164 $defaultValues() {
97165 return [null];
97166 },
97167 $signature: 560
97168 };
97169 A.valueClass__closure11.prototype = {
97170 call$2($self, $name) {
97171 return $self.assertNumber$1($name);
97172 },
97173 call$1($self) {
97174 return this.call$2($self, null);
97175 },
97176 "call*": "call$2",
97177 $requiredArgCount: 1,
97178 $defaultValues() {
97179 return [null];
97180 },
97181 $signature: 561
97182 };
97183 A.valueClass__closure12.prototype = {
97184 call$2($self, $name) {
97185 return $self.assertString$1($name);
97186 },
97187 call$1($self) {
97188 return this.call$2($self, null);
97189 },
97190 "call*": "call$2",
97191 $requiredArgCount: 1,
97192 $defaultValues() {
97193 return [null];
97194 },
97195 $signature: 562
97196 };
97197 A.valueClass__closure13.prototype = {
97198 call$1($self) {
97199 return $self.tryMap$0();
97200 },
97201 $signature: 563
97202 };
97203 A.valueClass__closure14.prototype = {
97204 call$2($self, other) {
97205 return $self.$eq(0, other);
97206 },
97207 $signature: 564
97208 };
97209 A.valueClass__closure15.prototype = {
97210 call$2($self, _) {
97211 return $self.get$hashCode($self);
97212 },
97213 call$1($self) {
97214 return this.call$2($self, null);
97215 },
97216 "call*": "call$2",
97217 $requiredArgCount: 1,
97218 $defaultValues() {
97219 return [null];
97220 },
97221 $signature: 565
97222 };
97223 A.valueClass__closure16.prototype = {
97224 call$1($self) {
97225 return A.serializeValue0($self, true, true);
97226 },
97227 $signature: 199
97228 };
97229 A.Value0.prototype = {
97230 get$isTruthy() {
97231 return true;
97232 },
97233 get$separator(_) {
97234 return B.ListSeparator_undecided_null0;
97235 },
97236 get$hasBrackets() {
97237 return false;
97238 },
97239 get$asList() {
97240 return A._setArrayType([this], type$.JSArray_Value_2);
97241 },
97242 get$lengthAsList() {
97243 return 1;
97244 },
97245 get$isBlank() {
97246 return false;
97247 },
97248 get$isSpecialNumber() {
97249 return false;
97250 },
97251 get$isVar() {
97252 return false;
97253 },
97254 get$realNull() {
97255 return this;
97256 },
97257 sassIndexToListIndex$2(sassIndex, $name) {
97258 var _this = this,
97259 index = sassIndex.assertNumber$1($name).assertInt$1($name);
97260 if (index === 0)
97261 throw A.wrapException(_this._value0$_exception$2("List index may not be 0.", $name));
97262 if (Math.abs(index) > _this.get$lengthAsList())
97263 throw A.wrapException(_this._value0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
97264 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
97265 },
97266 assertBoolean$1($name) {
97267 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a boolean.", $name));
97268 },
97269 assertCalculation$1($name) {
97270 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
97271 },
97272 assertColor$1($name) {
97273 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a color.", $name));
97274 },
97275 assertFunction$1($name) {
97276 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
97277 },
97278 assertMap$1($name) {
97279 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a map.", $name));
97280 },
97281 tryMap$0() {
97282 return null;
97283 },
97284 assertNumber$1($name) {
97285 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a number.", $name));
97286 },
97287 assertNumber$0() {
97288 return this.assertNumber$1(null);
97289 },
97290 assertString$1($name) {
97291 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a string.", $name));
97292 },
97293 assertSelector$2$allowParent$name(allowParent, $name) {
97294 var error, stackTrace, t1, exception,
97295 string = this._value0$_selectorString$1($name);
97296 try {
97297 t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
97298 return t1;
97299 } catch (exception) {
97300 t1 = A.unwrapException(exception);
97301 if (t1 instanceof A.SassFormatException0) {
97302 error = t1;
97303 stackTrace = A.getTraceFromException(exception);
97304 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
97305 A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
97306 } else
97307 throw exception;
97308 }
97309 },
97310 assertSelector$1$name($name) {
97311 return this.assertSelector$2$allowParent$name(false, $name);
97312 },
97313 assertSelector$0() {
97314 return this.assertSelector$2$allowParent$name(false, null);
97315 },
97316 assertSelector$1$allowParent(allowParent) {
97317 return this.assertSelector$2$allowParent$name(allowParent, null);
97318 },
97319 assertCompoundSelector$1$name($name) {
97320 var error, stackTrace, t1, exception,
97321 allowParent = false,
97322 string = this._value0$_selectorString$1($name);
97323 try {
97324 t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
97325 return t1;
97326 } catch (exception) {
97327 t1 = A.unwrapException(exception);
97328 if (t1 instanceof A.SassFormatException0) {
97329 error = t1;
97330 stackTrace = A.getTraceFromException(exception);
97331 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
97332 A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), stackTrace);
97333 } else
97334 throw exception;
97335 }
97336 },
97337 _value0$_selectorString$1($name) {
97338 var string = this._value0$_selectorStringOrNull$0();
97339 if (string != null)
97340 return string;
97341 throw A.wrapException(this._value0$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
97342 },
97343 _value0$_selectorStringOrNull$0() {
97344 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
97345 if (_this instanceof A.SassString0)
97346 return _this._string0$_text;
97347 if (!(_this instanceof A.SassList0))
97348 return _null;
97349 t1 = _this._list1$_contents;
97350 t2 = t1.length;
97351 if (t2 === 0)
97352 return _null;
97353 result = A._setArrayType([], type$.JSArray_String);
97354 t3 = _this._list1$_separator;
97355 switch (t3) {
97356 case B.ListSeparator_kWM0:
97357 for (_i = 0; _i < t2; ++_i) {
97358 complex = t1[_i];
97359 if (complex instanceof A.SassString0)
97360 result.push(complex._string0$_text);
97361 else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_woc0) {
97362 string = complex._value0$_selectorStringOrNull$0();
97363 if (string == null)
97364 return _null;
97365 result.push(string);
97366 } else
97367 return _null;
97368 }
97369 break;
97370 case B.ListSeparator_1gm0:
97371 return _null;
97372 default:
97373 for (_i = 0; _i < t2; ++_i) {
97374 compound = t1[_i];
97375 if (compound instanceof A.SassString0)
97376 result.push(compound._string0$_text);
97377 else
97378 return _null;
97379 }
97380 break;
97381 }
97382 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM0 ? ", " : " ");
97383 },
97384 withListContents$2$separator(contents, separator) {
97385 var t1 = separator == null ? this.get$separator(this) : separator,
97386 t2 = this.get$hasBrackets();
97387 return A.SassList$0(contents, t1, t2);
97388 },
97389 withListContents$1(contents) {
97390 return this.withListContents$2$separator(contents, null);
97391 },
97392 greaterThan$1(other) {
97393 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
97394 },
97395 greaterThanOrEquals$1(other) {
97396 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
97397 },
97398 lessThan$1(other) {
97399 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
97400 },
97401 lessThanOrEquals$1(other) {
97402 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
97403 },
97404 times$1(other) {
97405 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
97406 },
97407 modulo$1(other) {
97408 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
97409 },
97410 plus$1(other) {
97411 if (other instanceof A.SassString0)
97412 return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
97413 else if (other instanceof A.SassCalculation0)
97414 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
97415 else
97416 return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
97417 },
97418 minus$1(other) {
97419 if (other instanceof A.SassCalculation0)
97420 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
97421 else
97422 return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
97423 },
97424 dividedBy$1(other) {
97425 return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
97426 },
97427 unaryPlus$0() {
97428 return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
97429 },
97430 unaryMinus$0() {
97431 return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
97432 },
97433 unaryNot$0() {
97434 return B.SassBoolean_false0;
97435 },
97436 withoutSlash$0() {
97437 return this;
97438 },
97439 toString$0(_) {
97440 return A.serializeValue0(this, true, true);
97441 },
97442 _value0$_exception$2(message, $name) {
97443 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
97444 }
97445 };
97446 A.VariableExpression0.prototype = {
97447 accept$1$1(visitor) {
97448 return visitor.visitVariableExpression$1(this);
97449 },
97450 accept$1(visitor) {
97451 return this.accept$1$1(visitor, type$.dynamic);
97452 },
97453 toString$0(_) {
97454 var t1 = this.namespace,
97455 t2 = this.name;
97456 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
97457 },
97458 $isExpression0: 1,
97459 $isAstNode0: 1,
97460 get$span(receiver) {
97461 return this.span;
97462 }
97463 };
97464 A.VariableDeclaration0.prototype = {
97465 accept$1$1(visitor) {
97466 return visitor.visitVariableDeclaration$1(this);
97467 },
97468 accept$1(visitor) {
97469 return this.accept$1$1(visitor, type$.dynamic);
97470 },
97471 toString$0(_) {
97472 var t1 = this.namespace;
97473 t1 = t1 != null ? "" + (t1 + ".") : "";
97474 t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
97475 return t1.charCodeAt(0) == 0 ? t1 : t1;
97476 },
97477 $isAstNode0: 1,
97478 $isStatement0: 1,
97479 get$span(receiver) {
97480 return this.span;
97481 }
97482 };
97483 A.WarnRule0.prototype = {
97484 accept$1$1(visitor) {
97485 return visitor.visitWarnRule$1(this);
97486 },
97487 accept$1(visitor) {
97488 return this.accept$1$1(visitor, type$.dynamic);
97489 },
97490 toString$0(_) {
97491 return "@warn " + this.expression.toString$0(0) + ";";
97492 },
97493 $isAstNode0: 1,
97494 $isStatement0: 1,
97495 get$span(receiver) {
97496 return this.span;
97497 }
97498 };
97499 A.WhileRule0.prototype = {
97500 accept$1$1(visitor) {
97501 return visitor.visitWhileRule$1(this);
97502 },
97503 accept$1(visitor) {
97504 return this.accept$1$1(visitor, type$.dynamic);
97505 },
97506 toString$0(_) {
97507 var t1 = this.children;
97508 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
97509 },
97510 get$span(receiver) {
97511 return this.span;
97512 }
97513 };
97514 (function aliases() {
97515 var _ = J.LegacyJavaScriptObject.prototype;
97516 _.super$LegacyJavaScriptObject$toString = _.toString$0;
97517 _ = A.JsLinkedHashMap.prototype;
97518 _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
97519 _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
97520 _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
97521 _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
97522 _ = A._BufferingStreamSubscription.prototype;
97523 _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
97524 _.super$_BufferingStreamSubscription$_addError = _._addError$2;
97525 _ = A.ListMixin.prototype;
97526 _.super$ListMixin$setRange = _.setRange$4;
97527 _ = A.Iterable.prototype;
97528 _.super$Iterable$where = _.where$1;
97529 _.super$Iterable$skipWhile = _.skipWhile$1;
97530 _ = A.ModifiableCssParentNode.prototype;
97531 _.super$ModifiableCssParentNode$addChild = _.addChild$1;
97532 _ = A.SimpleSelector.prototype;
97533 _.super$SimpleSelector$addSuffix = _.addSuffix$1;
97534 _.super$SimpleSelector$unify = _.unify$1;
97535 _ = A.Parser.prototype;
97536 _.super$Parser$silentComment = _.silentComment$0;
97537 _ = A.StylesheetParser.prototype;
97538 _.super$StylesheetParser$importArgument = _.importArgument$0;
97539 _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
97540 _ = A.Value.prototype;
97541 _.super$Value$assertMap = _.assertMap$1;
97542 _.super$Value$plus = _.plus$1;
97543 _.super$Value$minus = _.minus$1;
97544 _.super$Value$dividedBy = _.dividedBy$1;
97545 _ = A.SassNumber.prototype;
97546 _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
97547 _.super$SassNumber$coerce = _.coerce$3;
97548 _.super$SassNumber$coerceValue = _.coerceValue$3;
97549 _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
97550 _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
97551 _.super$SassNumber$greaterThan = _.greaterThan$1;
97552 _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
97553 _.super$SassNumber$lessThan = _.lessThan$1;
97554 _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
97555 _.super$SassNumber$modulo = _.modulo$1;
97556 _.super$SassNumber$plus = _.plus$1;
97557 _.super$SassNumber$minus = _.minus$1;
97558 _.super$SassNumber$times = _.times$1;
97559 _.super$SassNumber$dividedBy = _.dividedBy$1;
97560 _ = A.SourceSpanMixin.prototype;
97561 _.super$SourceSpanMixin$compareTo = _.compareTo$1;
97562 _.super$SourceSpanMixin$$eq = _.$eq;
97563 _ = A.StringScanner.prototype;
97564 _.super$StringScanner$readChar = _.readChar$0;
97565 _.super$StringScanner$scanChar = _.scanChar$1;
97566 _.super$StringScanner$scan = _.scan$1;
97567 _.super$StringScanner$matches = _.matches$1;
97568 _ = A.ModifiableCssParentNode0.prototype;
97569 _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
97570 _ = A.SassNumber0.prototype;
97571 _.super$SassNumber$convertToMatch = _.convertToMatch$3;
97572 _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
97573 _.super$SassNumber$coerce0 = _.coerce$3;
97574 _.super$SassNumber$coerceValue0 = _.coerceValue$3;
97575 _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
97576 _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
97577 _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
97578 _.super$SassNumber$greaterThan0 = _.greaterThan$1;
97579 _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
97580 _.super$SassNumber$lessThan0 = _.lessThan$1;
97581 _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
97582 _.super$SassNumber$modulo0 = _.modulo$1;
97583 _.super$SassNumber$plus0 = _.plus$1;
97584 _.super$SassNumber$minus0 = _.minus$1;
97585 _.super$SassNumber$times0 = _.times$1;
97586 _.super$SassNumber$dividedBy0 = _.dividedBy$1;
97587 _ = A.Parser1.prototype;
97588 _.super$Parser$silentComment0 = _.silentComment$0;
97589 _ = A.SimpleSelector0.prototype;
97590 _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
97591 _.super$SimpleSelector$unify0 = _.unify$1;
97592 _ = A.StylesheetParser0.prototype;
97593 _.super$StylesheetParser$importArgument0 = _.importArgument$0;
97594 _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
97595 _ = A.Value0.prototype;
97596 _.super$Value$assertMap0 = _.assertMap$1;
97597 _.super$Value$plus0 = _.plus$1;
97598 _.super$Value$minus0 = _.minus$1;
97599 _.super$Value$dividedBy0 = _.dividedBy$1;
97600 })();
97601 (function installTearOffs() {
97602 var _static_2 = hunkHelpers._static_2,
97603 _instance_1_i = hunkHelpers._instance_1i,
97604 _instance_1_u = hunkHelpers._instance_1u,
97605 _static_1 = hunkHelpers._static_1,
97606 _static_0 = hunkHelpers._static_0,
97607 _static = hunkHelpers.installStaticTearOff,
97608 _instance = hunkHelpers.installInstanceTearOff,
97609 _instance_2_u = hunkHelpers._instance_2u,
97610 _instance_0_i = hunkHelpers._instance_0i,
97611 _instance_0_u = hunkHelpers._instance_0u;
97612 _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 254);
97613 _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 11);
97614 _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 11);
97615 _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 11);
97616 _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 11);
97617 _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97618 _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 121);
97619 _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 121);
97620 _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 121);
97621 _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
97622 _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 114);
97623 _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 61);
97624 _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
97625 _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 568, 0);
97626 _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
97627 return A._rootRun($self, $parent, zone, f, type$.dynamic);
97628 }], 569, 1);
97629 _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
97630 return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
97631 }], 570, 1);
97632 _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
97633 return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
97634 }], 571, 1);
97635 _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
97636 return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
97637 }], 572, 0);
97638 _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
97639 return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
97640 }], 573, 0);
97641 _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
97642 return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
97643 }], 574, 0);
97644 _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 575, 0);
97645 _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 576, 0);
97646 _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 577, 0);
97647 _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 578, 0);
97648 _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 579, 0);
97649 _static_1(A, "async___printToZone$closure", "_printToZone", 116);
97650 _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 580, 0);
97651 _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
97652 return [null];
97653 }, ["call$1", "call$0"], ["complete$1", "complete$0"], 251, 0, 0);
97654 _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 61);
97655 var _;
97656 _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 27);
97657 _instance(_, "get$addError", 0, 1, function() {
97658 return [null];
97659 }, ["call$2", "call$1"], ["addError$2", "addError$1"], 250, 0, 0);
97660 _instance_0_i(_, "get$close", "close$0", 355);
97661 _instance_1_u(_, "get$_async$_add", "_async$_add$1", 27);
97662 _instance_2_u(_, "get$_addError", "_addError$2", 61);
97663 _instance_0_u(_, "get$_close", "_close$0", 0);
97664 _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97665 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97666 _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 506, 0, 0);
97667 _instance_0_i(_, "get$resume", "resume$0", 0);
97668 _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
97669 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97670 _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 27);
97671 _instance_2_u(_, "get$_onError", "_onError$2", 61);
97672 _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
97673 _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97674 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97675 _instance_1_u(_, "get$_handleData", "_handleData$1", 27);
97676 _instance_2_u(_, "get$_handleError", "_handleError$2", 521);
97677 _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
97678 _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 256);
97679 _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 257);
97680 _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 254);
97681 _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 11);
97682 _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97683 _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 232, 0, 0);
97684 _instance_1_i(_, "get$contains", "contains$1", 11);
97685 _instance_1_i(_, "get$add", "add$1", 11);
97686 _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 232, 0, 0);
97687 _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 11);
97688 _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 11);
97689 _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97690 _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 82);
97691 _static_1(A, "core__identityHashCode$closure", "identityHashCode", 257);
97692 _static_2(A, "core__identical$closure", "identical", 256);
97693 _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
97694 _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 11);
97695 _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 27);
97696 _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
97697 return A.max(a, b, type$.num);
97698 }], 583, 1);
97699 _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 27);
97700 _instance(_, "get$setError", 0, 1, function() {
97701 return [null];
97702 }, ["call$2", "call$1"], ["setError$2", "setError$1"], 250, 0, 0);
97703 _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
97704 _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
97705 _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
97706 _instance_0_u(_, "get$_onCancel", "_onCancel$0", 224);
97707 _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
97708 _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97709 _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 11);
97710 _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 11);
97711 _instance_1_u(A.ModifiableCssNode.prototype, "get$_node$_isInvisible", "_node$_isInvisible$1", 8);
97712 _instance_1_u(A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 19);
97713 _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 202);
97714 _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 202);
97715 _static_1(A, "functions___isUnique$closure", "_isUnique", 16);
97716 _static_1(A, "color0___opacify$closure", "_opacify", 24);
97717 _static_1(A, "color0___transparentize$closure", "_transparentize", 24);
97718 _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
97719 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97720 _instance_0_u(_, "get$string", "string$0", 29);
97721 _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
97722 _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 341, 0, 0);
97723 _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 100);
97724 _instance_0_u(_, "get$_functionChild", "_functionChild$0", 100);
97725 _instance(_, "get$_expression", 0, 0, null, ["call$3$bracketList$singleEquals$until", "call$0", "call$2$singleEquals$until", "call$1$bracketList", "call$1$until"], ["_expression$3$bracketList$singleEquals$until", "_expression$0", "_expression$2$singleEquals$until", "_expression$1$bracketList", "_expression$1$until"], 343, 0, 0);
97726 _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97727 _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97728 _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 27);
97729 _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97730 _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 11);
97731 _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 27);
97732 _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97733 _static_1(A, "utils__isPublic$closure", "isPublic", 6);
97734 _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 172);
97735 _instance_2_u(A.SassNumber.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97736 _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);
97737 _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 166);
97738 _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);
97739 _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 166);
97740 _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 267);
97741 _instance_1_u(_, "get$visitChildren", "visitChildren$1", 268);
97742 _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 269);
97743 _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 107);
97744 _instance_1_u(_, "get$_isInvisible", "_isInvisible$1", 8);
97745 _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
97746 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
97747 _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
97748 return {color: null};
97749 }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 281, 0, 0);
97750 _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
97751 return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
97752 }], 585, 0);
97753 _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
97754 return A._collect($event, soFar, type$.dynamic);
97755 }], 586, 0);
97756 _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);
97757 _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 159);
97758 _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 172);
97759 _static_1(A, "color2___opacify$closure", "_opacify0", 25);
97760 _static_1(A, "color2___transparentize$closure", "_transparentize0", 25);
97761 _static(A, "compile__compile$closure", 1, function() {
97762 return [null];
97763 }, ["call$2", "call$1"], ["compile0", function(path) {
97764 return A.compile0(path, null);
97765 }], 587, 0);
97766 _static(A, "compile__compileString$closure", 1, function() {
97767 return [null];
97768 }, ["call$2", "call$1"], ["compileString0", function(text) {
97769 return A.compileString0(text, null);
97770 }], 588, 0);
97771 _static(A, "compile__compileAsync$closure", 1, function() {
97772 return [null];
97773 }, ["call$2", "call$1"], ["compileAsync1", function(path) {
97774 return A.compileAsync1(path, null);
97775 }], 589, 0);
97776 _static(A, "compile__compileStringAsync$closure", 1, function() {
97777 return [null];
97778 }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
97779 return A.compileStringAsync1(text, null);
97780 }], 590, 0);
97781 _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 591);
97782 _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 209);
97783 _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);
97784 _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 159);
97785 _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 209);
97786 _static_1(A, "functions0___isUnique$closure", "_isUnique0", 15);
97787 _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 592);
97788 _static_2(A, "legacy__render$closure", "render", 593);
97789 _static_1(A, "legacy__renderSync$closure", "renderSync", 594);
97790 _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97791 _instance_1_u(A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 20);
97792 _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97793 _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 27);
97794 _instance_1_u(A.ModifiableCssNode0.prototype, "get$_node1$_isInvisible", "_node1$_isInvisible$1", 7);
97795 _instance_2_u(A.SassNumber0.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97796 _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
97797 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97798 _instance_0_u(_, "get$string", "string$0", 29);
97799 _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97800 _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97801 _static_1(A, "sass__main$closure", "main0", 595);
97802 _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
97803 _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 515);
97804 _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 107);
97805 _instance_1_u(_, "get$_serialize0$_isInvisible", "_serialize0$_isInvisible$1", 7);
97806 _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 27);
97807 _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
97808 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
97809 _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);
97810 _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
97811 _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
97812 _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97813 _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 596);
97814 _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 597);
97815 _static_1(A, "utils0__isPublic$closure", "isPublic0", 6);
97816 _static(A, "path__absolute$closure", 1, function() {
97817 return [null, null, null, null, null, null];
97818 }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
97819 return A.absolute(part1, null, null, null, null, null, null);
97820 }, function(part1, part2) {
97821 return A.absolute(part1, part2, null, null, null, null, null);
97822 }, function(part1, part2, part3) {
97823 return A.absolute(part1, part2, part3, null, null, null, null);
97824 }, function(part1, part2, part3, part4) {
97825 return A.absolute(part1, part2, part3, part4, null, null, null);
97826 }, function(part1, part2, part3, part4, part5, part6) {
97827 return A.absolute(part1, part2, part3, part4, part5, part6, null);
97828 }, function(part1, part2, part3, part4, part5) {
97829 return A.absolute(part1, part2, part3, part4, part5, null, null);
97830 }], 598, 0);
97831 _static_1(A, "path__prettyUri$closure", "prettyUri", 91);
97832 _static_1(A, "character__isWhitespace$closure", "isWhitespace", 31);
97833 _static_1(A, "character__isNewline$closure", "isNewline", 31);
97834 _static_1(A, "character__isHex$closure", "isHex", 31);
97835 _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 43);
97836 _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 43);
97837 _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 43);
97838 _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 43);
97839 _static_1(A, "number0__fuzzyRound$closure", "fuzzyRound", 42);
97840 _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 31);
97841 _static_1(A, "character0__isNewline$closure", "isNewline0", 31);
97842 _static_1(A, "character0__isHex$closure", "isHex0", 31);
97843 _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 43);
97844 _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 43);
97845 _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 43);
97846 _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 43);
97847 _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 42);
97848 _static_1(A, "value1__wrapValue$closure", "wrapValue", 400);
97849 })();
97850 (function inheritance() {
97851 var _mixin = hunkHelpers.mixin,
97852 _inherit = hunkHelpers.inherit,
97853 _inheritMany = hunkHelpers.inheritMany;
97854 _inherit(A.Object, null);
97855 _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]);
97856 _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
97857 _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
97858 _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]);
97859 _inherit(J.JSUnmodifiableArray, J.JSArray);
97860 _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
97861 _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]);
97862 _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
97863 _inherit(A._EfficientLengthCastIterable, A.CastIterable);
97864 _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
97865 _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]);
97866 _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]);
97867 _inherit(A.CastList, A._CastListBase);
97868 _inherit(A.MapBase, A.MapMixin);
97869 _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
97870 _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]);
97871 _inherit(A.ListBase, A._ListBase_Object_ListMixin);
97872 _inherit(A.UnmodifiableListBase, A.ListBase);
97873 _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
97874 _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._SerializeVisitor__visitChildren_closure0, 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_closure1, A._SerializeVisitor__visitChildren_closure2, 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]);
97875 _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
97876 _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
97877 _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
97878 _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
97879 _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
97880 _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
97881 _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
97882 _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
97883 _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
97884 _inherit(A.ConstantMapView, A.UnmodifiableMapView);
97885 _inherit(A.ConstantStringMap, A.ConstantMap);
97886 _inherit(A.Instantiation1, A.Instantiation);
97887 _inherit(A.NullError, A.TypeError);
97888 _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
97889 _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
97890 _inherit(A.NativeTypedArray, A.NativeTypedData);
97891 _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
97892 _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
97893 _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
97894 _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
97895 _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
97896 _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
97897 _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
97898 _inherit(A._TypeError, A._Error);
97899 _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
97900 _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
97901 _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
97902 _inherit(A._ControllerStream, A._StreamImpl);
97903 _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
97904 _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
97905 _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
97906 _inherit(A._StreamImplEvents, A._PendingEvents);
97907 _inherit(A._ExpandStream, A._ForwardingStream);
97908 _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
97909 _inherit(A._IdentityHashMap, A._HashMap);
97910 _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
97911 _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
97912 _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
97913 _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
97914 _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
97915 _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
97916 _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
97917 _inherit(A.Converter, A.StreamTransformerBase);
97918 _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
97919 _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
97920 _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
97921 _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
97922 _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
97923 _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
97924 _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
97925 _inherit(A._JsonStringStringifier, A._JsonStringifier);
97926 _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
97927 _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
97928 _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
97929 _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
97930 _inherit(A._DataUri, A._Uri);
97931 _inherit(A.ArgParserException, A.FormatException);
97932 _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
97933 _inherit(A.QueueList, A._QueueList_Object_ListMixin);
97934 _inherit(A._CastQueueList, A.QueueList);
97935 _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
97936 _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
97937 _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
97938 _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
97939 _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
97940 _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
97941 _inherit(A.InternalStyle, A.Style);
97942 _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
97943 _inherit(A.CssNode, A.AstNode);
97944 _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
97945 _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
97946 _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
97947 _inherit(A.CssStylesheet, A.CssParentNode);
97948 _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]);
97949 _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
97950 _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
97951 _inherit(A._HasContentVisitor, A.StatementSearchVisitor);
97952 _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
97953 _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
97954 _inherit(A.ExplicitConfiguration, A.Configuration);
97955 _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
97956 _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
97957 _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
97958 _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
97959 _inherit(A.MergedExtension, A.Extension);
97960 _inherit(A.Importer, A.AsyncImporter);
97961 _inherit(A.FilesystemImporter, A.Importer);
97962 _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
97963 _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
97964 _inherit(A.CssParser, A.ScssParser);
97965 _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
97966 _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
97967 _inherit(A.SassArgumentList, A.SassList);
97968 _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
97969 _inherit(A._FindDependenciesVisitor, A.RecursiveStatementVisitor);
97970 _inherit(A.SingleMapping, A.Mapping);
97971 _inherit(A.FileLocation, A.SourceLocationMixin);
97972 _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
97973 _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
97974 _inherit(A.StringScannerException, A.SourceSpanFormatException);
97975 _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
97976 _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
97977 _inherit(A.SassArgumentList0, A.SassList0);
97978 _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
97979 _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
97980 _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]);
97981 _inherit(A.CssNode0, A.AstNode0);
97982 _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
97983 _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
97984 _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
97985 _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
97986 _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
97987 _inherit(A.CompileStringOptions, A.CompileOptions);
97988 _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
97989 _inherit(A.ExplicitConfiguration0, A.Configuration0);
97990 _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
97991 _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
97992 _inherit(A.CssParser0, A.ScssParser0);
97993 _inherit(A._NodeException, A.JsError);
97994 _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
97995 _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
97996 _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
97997 _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
97998 _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
97999 _inherit(A.MergedExtension0, A.Extension0);
98000 _inherit(A._HasContentVisitor0, A.StatementSearchVisitor0);
98001 _inherit(A.CssStylesheet0, A.CssParentNode0);
98002 _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
98003 _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
98004 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
98005 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
98006 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
98007 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
98008 _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
98009 _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
98010 _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
98011 _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
98012 _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
98013 _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
98014 _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
98015 _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
98016 _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
98017 _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
98018 _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
98019 })();
98020 var init = {
98021 typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
98022 mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
98023 mangledNames: {},
98024 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)"],
98025 interceptorsByTag: null,
98026 leafTags: null,
98027 arrayRti: Symbol("$ti")
98028 };
98029 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":[]}}'));
98030 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}'));
98031 var string$ = {
98032 x0a_BUG_: "\n\nBUG: This should include a source span!",
98033 x0a_More: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
98034 x0aRun_i: "\nRun in verbose mode to see all warnings.",
98035 x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
98036 x20in_in: " in interpolation here.\nIt may end up represented as ",
98037 x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
98038 x20is_av: " is available from multiple global modules.",
98039 x20is_no: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
98040 x20must_: " must not be greater than the number of characters in the file, ",
98041 x20repet: " repetitive deprecation warnings omitted.",
98042 x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
98043 x20was_a: ' was already loaded, so it can\'t be configured using "with".',
98044 x20was_n: " was not declared with !default in the @used module.",
98045 x20was_p: " was passed both by position and by name.",
98046 x21globa: "!global isn't allowed for variables in other modules.",
98047 x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
98048 x22x26__ma: '"&" may only used at the beginning of a compound selector.',
98049 x22x29__If: "\").\nIf you really want to use the color value here, use '",
98050 x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
98051 x22packa: '"package:" URLs aren\'t supported on this platform.',
98052 x24css_a: "$css and $module may not both be passed at once.",
98053 x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
98054 x24selec: "$selectors: At least one selector must be passed.",
98055 x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
98056 x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
98057 x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
98058 x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
98059 x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: $",
98060 x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
98061 x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
98062 x2c_whici: ", which is currently (incorrectly) converted to ",
98063 x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
98064 x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
98065 x3d_____: "===== asynchronous gap ===========================\n",
98066 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.",
98067 x40conte: "@content is only allowed within mixin declarations.",
98068 x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
98069 x40exten: "@extend may only be used within style rules.",
98070 x40forwa: "@forward rules must be written before any other rules.",
98071 x40funct: "@function if($condition, $if-true, $if-false) {",
98072 x40use_r: "@use rules must be written before any other rules.",
98073 A_list: "A list with more than one element must have an explicit separator.",
98074 ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
98075 An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
98076 An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
98077 As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
98078 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.",
98079 At_rul: "At-rules may not be used within nested declarations.",
98080 Cannotff: "Cannot extract a file path from a URI with a fragment component",
98081 Cannotfq: "Cannot extract a file path from a URI with a query component",
98082 Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
98083 Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
98084 Could_: 'Could not find an option with short name "-',
98085 CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
98086 Declarm: "Declarations may only be used within style rules.",
98087 Declarwa: 'Declarations whose names begin with "--" may not be nested.',
98088 Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
98089 Either: "Either options.data or options.file must be set.",
98090 Entrie: "Entries may not be removed from MergedMapView.",
98091 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",
98092 Evalua: "Evaluation handles @include and its content block together.",
98093 Expand: "Expandos are not allowed on strings, numbers, booleans or null",
98094 Expectn: "Expected number, variable, function, or calculation.",
98095 Expectv: "Expected variable, mixin, or function name",
98096 Functi: "Functions may not be declared in control directives.",
98097 HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
98098 If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
98099 In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
98100 Indent: "Indenting at the beginning of the document is illegal.",
98101 Interpn: "Interpolation isn't allowed in namespaces.",
98102 Interpp: "Interpolation isn't allowed in plain CSS.",
98103 Invali: 'Invalid return value for custom function "',
98104 It_s_n: "It's not clear which file to import. Found:\n",
98105 May_on: "May only contains Strings or Expressions.",
98106 Media_: "Media rules may not be used within nested declarations.",
98107 Mixinsb: "Mixins may not be declared in control directives.",
98108 Mixinscf: "Mixins may not contain function declarations.",
98109 Mixinscm: "Mixins may not contain mixin declarations.",
98110 Modulel: "Module loop: this module is already being loaded.",
98111 Modulen: "Module namespaces aren't allowed in plain CSS.",
98112 Nested: "Nested declarations aren't allowed in plain CSS.",
98113 New_en: "New entries may not be added to MergedMapView.",
98114 No_Sasc: "No Sass callable is currently being evaluated.",
98115 No_Sass: "No Sass stylesheet is currently being evaluated.",
98116 NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
98117 Only_2: "Only 2 slash-separated elements allowed, but ",
98118 Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
98119 Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
98120 Other_: "Other modules' members can't be defined with !global.",
98121 Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
98122 Placeh: "Placeholder selectors aren't allowed here.",
98123 Plain_: "Plain CSS functions don't support keyword arguments.",
98124 Positi: "Positional arguments must come before keyword arguments.",
98125 Privat: "Private members can't be accessed from outside their modules.",
98126 RGB_pa: "RGB parameters may not be passed along with ",
98127 Sass_v: "Sass variables aren't allowed in plain CSS.",
98128 Silent: "Silent comments aren't allowed in plain CSS.",
98129 Soon__: "Soon, it will instead be correctly converted to ",
98130 Style_: "Style rules may not be used within nested declarations.",
98131 Suppor: "Supports rules may not be used within nested declarations.",
98132 The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
98133 The_ca: "The canonicalize() method must return a URL.",
98134 The_fie: "The findFileUrl() method must return a URL.",
98135 The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
98136 The_gi: "The given LineScannerState was not returned by this LineScanner.",
98137 The_lo: "The load() function must return an object with contents and syntax fields.",
98138 The_pa: "The parent selector isn't allowed in plain CSS.",
98139 The_sa: "The same variable may only be configured once.",
98140 The_ta: 'The target selector was not found.\nUse "@extend ',
98141 There_: "There's already a module with namespace \"",
98142 This_d: 'This declaration has no argument named "$',
98143 This_f: "This function isn't allowed in plain CSS.",
98144 This_ma: 'This module and the new module both define a variable named "$',
98145 This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
98146 This_s: "This selector doesn't have any properties and won't be rendered.",
98147 This_v: "This variable was not declared with !default in the @used module.",
98148 Top_le: 'Top-level selectors may not contain the parent selector "&".',
98149 Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
98150 Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
98151 Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
98152 Variab_: "Variable keyword argument map must have string keys.\n",
98153 Variabs: "Variable keyword arguments must be a map (was ",
98154 You_ma: "You may not @extend selectors across media queries.",
98155 You_pr: "You probably don't mean to use the color value ",
98156 x60_inst: "` instead.\nSee http://bit.ly/ExtendCompound for details.\n",
98157 addExt_: "addExtension() can't be called for a const ExtensionStore.",
98158 addExts: "addExtensions() can't be called for a const ExtensionStore.",
98159 addSel: "addSelector() can't be called for a const ExtensionStore.",
98160 compou: "compound selectors may no longer be extended.\nConsider `@extend ",
98161 conten: "content-exists() may only be called within a mixin.",
98162 math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
98163 must_b: "must be a UniversalSelector or a TypeSelector",
98164 parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
98165 semico: "semicolons aren't allowed in the indented syntax.",
98166 throug: "through() must return false for at least one parent of "
98167 };
98168 var type$ = (function rtii() {
98169 var findType = A.findType;
98170 return {
98171 $env_1_1_String: findType("@<String>"),
98172 ArgParser: findType("ArgParser"),
98173 Argument: findType("Argument"),
98174 ArgumentDeclaration: findType("ArgumentDeclaration"),
98175 ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
98176 Argument_2: findType("Argument0"),
98177 AstNode: findType("AstNode"),
98178 AstNode_2: findType("AstNode0"),
98179 AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
98180 AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
98181 AsyncCallable: findType("AsyncCallable"),
98182 AsyncCallable_2: findType("AsyncCallable0"),
98183 AsyncImporter: findType("AsyncImporter0"),
98184 BuiltInCallable: findType("BuiltInCallable"),
98185 BuiltInCallable_2: findType("BuiltInCallable0"),
98186 BuiltInModule_AsyncBuiltInCallable: findType("BuiltInModule<AsyncBuiltInCallable>"),
98187 BuiltInModule_AsyncBuiltInCallable_2: findType("BuiltInModule0<AsyncBuiltInCallable0>"),
98188 BuiltInModule_BuiltInCallable: findType("BuiltInModule<BuiltInCallable>"),
98189 BuiltInModule_BuiltInCallable_2: findType("BuiltInModule0<BuiltInCallable0>"),
98190 Callable: findType("Callable"),
98191 Callable_2: findType("Callable0"),
98192 ChangeType: findType("ChangeType"),
98193 Combinator: findType("Combinator"),
98194 Combinator_2: findType("Combinator0"),
98195 Comparable_dynamic: findType("Comparable<@>"),
98196 Comparable_nullable_Object: findType("Comparable<Object?>"),
98197 CompileResult: findType("CompileResult"),
98198 CompileResult_2: findType("CompileResult0"),
98199 ComplexSelector: findType("ComplexSelector"),
98200 ComplexSelectorComponent: findType("ComplexSelectorComponent"),
98201 ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
98202 ComplexSelector_2: findType("ComplexSelector0"),
98203 CompoundSelector: findType("CompoundSelector"),
98204 CompoundSelector_2: findType("CompoundSelector0"),
98205 Configuration: findType("Configuration"),
98206 Configuration_2: findType("Configuration0"),
98207 ConfiguredValue: findType("ConfiguredValue"),
98208 ConfiguredValue_2: findType("ConfiguredValue0"),
98209 ConfiguredVariable: findType("ConfiguredVariable"),
98210 ConfiguredVariable_2: findType("ConfiguredVariable0"),
98211 ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
98212 ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
98213 ConstantStringMap_String_num: findType("ConstantStringMap<String,num>"),
98214 CssAtRule: findType("CssAtRule"),
98215 CssAtRule_2: findType("CssAtRule0"),
98216 CssComment: findType("CssComment"),
98217 CssComment_2: findType("CssComment0"),
98218 CssImport: findType("CssImport"),
98219 CssImport_2: findType("CssImport0"),
98220 CssMediaQuery: findType("CssMediaQuery"),
98221 CssMediaQuery_2: findType("CssMediaQuery0"),
98222 CssMediaRule: findType("CssMediaRule"),
98223 CssMediaRule_2: findType("CssMediaRule0"),
98224 CssParentNode: findType("CssParentNode"),
98225 CssParentNode_2: findType("CssParentNode0"),
98226 CssStyleRule: findType("CssStyleRule"),
98227 CssStyleRule_2: findType("CssStyleRule0"),
98228 CssStylesheet: findType("CssStylesheet"),
98229 CssStylesheet_2: findType("CssStylesheet0"),
98230 CssSupportsRule: findType("CssSupportsRule"),
98231 CssSupportsRule_2: findType("CssSupportsRule0"),
98232 CssValue_List_String: findType("CssValue<List<String>>"),
98233 CssValue_List_String_2: findType("CssValue0<List<String>>"),
98234 CssValue_SelectorList: findType("CssValue<SelectorList>"),
98235 CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
98236 CssValue_String: findType("CssValue<String>"),
98237 CssValue_String_2: findType("CssValue0<String>"),
98238 CssValue_Value: findType("CssValue<Value>"),
98239 CssValue_Value_2: findType("CssValue0<Value0>"),
98240 DateTime: findType("DateTime"),
98241 EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
98242 Error: findType("Error"),
98243 EvaluateResult: findType("EvaluateResult"),
98244 EvaluateResult_2: findType("EvaluateResult0"),
98245 EvaluationContext: findType("EvaluationContext"),
98246 EvaluationContext_2: findType("EvaluationContext0"),
98247 Exception: findType("Exception"),
98248 Expression: findType("Expression"),
98249 Expression_2: findType("Expression0"),
98250 Extender: findType("Extender"),
98251 Extender_2: findType("Extender0"),
98252 Extension: findType("Extension"),
98253 Extension_2: findType("Extension0"),
98254 FileSpan: findType("FileSpan"),
98255 FormatException: findType("FormatException"),
98256 Frame: findType("Frame"),
98257 Function: findType("Function"),
98258 FutureOr_EvaluateResult: findType("EvaluateResult/"),
98259 FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
98260 FutureOr_nullable_Uri: findType("Uri?/"),
98261 Future_dynamic: findType("Future<@>"),
98262 Future_void: findType("Future<~>"),
98263 IfClause: findType("IfClause"),
98264 IfClause_2: findType("IfClause0"),
98265 ImmutableList: findType("ImmutableList"),
98266 ImmutableMap: findType("ImmutableMap"),
98267 Import: findType("Import"),
98268 Import_2: findType("Import0"),
98269 Importer: findType("Importer0"),
98270 ImporterResult: findType("ImporterResult"),
98271 ImporterResult_2: findType("ImporterResult0"),
98272 InternalStyle: findType("InternalStyle"),
98273 Interpolation: findType("Interpolation"),
98274 InterpolationBuffer: findType("InterpolationBuffer"),
98275 InterpolationBuffer_2: findType("InterpolationBuffer0"),
98276 Interpolation_2: findType("Interpolation0"),
98277 Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
98278 Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
98279 Iterable_dynamic: findType("Iterable<@>"),
98280 JSArray_Argument: findType("JSArray<Argument>"),
98281 JSArray_Argument_2: findType("JSArray<Argument0>"),
98282 JSArray_AstNode: findType("JSArray<AstNode>"),
98283 JSArray_AstNode_2: findType("JSArray<AstNode0>"),
98284 JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
98285 JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
98286 JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
98287 JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
98288 JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
98289 JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
98290 JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
98291 JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
98292 JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
98293 JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
98294 JSArray_Callable: findType("JSArray<Callable>"),
98295 JSArray_Callable_2: findType("JSArray<Callable0>"),
98296 JSArray_Combinator: findType("JSArray<Combinator>"),
98297 JSArray_Combinator_2: findType("JSArray<Combinator0>"),
98298 JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
98299 JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
98300 JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
98301 JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
98302 JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
98303 JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
98304 JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
98305 JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
98306 JSArray_CssNode: findType("JSArray<CssNode>"),
98307 JSArray_CssNode_2: findType("JSArray<CssNode0>"),
98308 JSArray_Entry: findType("JSArray<Entry>"),
98309 JSArray_Expression: findType("JSArray<Expression>"),
98310 JSArray_Expression_2: findType("JSArray<Expression0>"),
98311 JSArray_Extender: findType("JSArray<Extender>"),
98312 JSArray_Extender_2: findType("JSArray<Extender0>"),
98313 JSArray_Extension: findType("JSArray<Extension>"),
98314 JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
98315 JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
98316 JSArray_Extension_2: findType("JSArray<Extension0>"),
98317 JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
98318 JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
98319 JSArray_Frame: findType("JSArray<Frame>"),
98320 JSArray_IfClause: findType("JSArray<IfClause>"),
98321 JSArray_IfClause_2: findType("JSArray<IfClause0>"),
98322 JSArray_Import: findType("JSArray<Import>"),
98323 JSArray_Import_2: findType("JSArray<Import0>"),
98324 JSArray_Importer: findType("JSArray<Importer0>"),
98325 JSArray_Importer_2: findType("JSArray<Importer>"),
98326 JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
98327 JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
98328 JSArray_JSFunction: findType("JSArray<JSFunction0>"),
98329 JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
98330 JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
98331 JSArray_List_Extender: findType("JSArray<List<Extender>>"),
98332 JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
98333 JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
98334 JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
98335 JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
98336 JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
98337 JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
98338 JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
98339 JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
98340 JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
98341 JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
98342 JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
98343 JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
98344 JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
98345 JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
98346 JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
98347 JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
98348 JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
98349 JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
98350 JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
98351 JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
98352 JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
98353 JSArray_Object: findType("JSArray<Object>"),
98354 JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
98355 JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
98356 JSArray_SassList: findType("JSArray<SassList>"),
98357 JSArray_SassList_2: findType("JSArray<SassList0>"),
98358 JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
98359 JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
98360 JSArray_Statement: findType("JSArray<Statement>"),
98361 JSArray_Statement_2: findType("JSArray<Statement0>"),
98362 JSArray_String: findType("JSArray<String>"),
98363 JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
98364 JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
98365 JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
98366 JSArray_Trace: findType("JSArray<Trace>"),
98367 JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
98368 JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
98369 JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
98370 JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
98371 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
98372 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
98373 JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
98374 JSArray_Uri: findType("JSArray<Uri>"),
98375 JSArray_UseRule: findType("JSArray<UseRule>"),
98376 JSArray_UseRule_2: findType("JSArray<UseRule0>"),
98377 JSArray_Value: findType("JSArray<Value>"),
98378 JSArray_Value_2: findType("JSArray<Value0>"),
98379 JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
98380 JSArray__Highlight: findType("JSArray<_Highlight>"),
98381 JSArray__Line: findType("JSArray<_Line>"),
98382 JSArray_bool: findType("JSArray<bool>"),
98383 JSArray_dynamic: findType("JSArray<@>"),
98384 JSArray_int: findType("JSArray<int>"),
98385 JSArray_nullable_String: findType("JSArray<String?>"),
98386 JSClass: findType("JSClass0"),
98387 JSFunction: findType("JSFunction0"),
98388 JSNull: findType("JSNull"),
98389 JSUrl: findType("JSUrl0"),
98390 JavaScriptFunction: findType("JavaScriptFunction"),
98391 JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
98392 JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
98393 JsSystemError: findType("JsSystemError"),
98394 LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
98395 LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
98396 List_ComplexSelector: findType("List<ComplexSelector>"),
98397 List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
98398 List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
98399 List_ComplexSelector_2: findType("List<ComplexSelector0>"),
98400 List_CssMediaQuery: findType("List<CssMediaQuery>"),
98401 List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
98402 List_Extension: findType("List<Extension>"),
98403 List_ExtensionStore: findType("List<ExtensionStore>"),
98404 List_ExtensionStore_2: findType("List<ExtensionStore0>"),
98405 List_Extension_2: findType("List<Extension0>"),
98406 List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
98407 List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
98408 List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
98409 List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
98410 List_Module_Callable: findType("List<Module<Callable>>"),
98411 List_Module_Callable_2: findType("List<Module0<Callable0>>"),
98412 List_String: findType("List<String>"),
98413 List_Value: findType("List<Value>"),
98414 List_Value_2: findType("List<Value0>"),
98415 List_WatchEvent: findType("List<WatchEvent>"),
98416 List_dynamic: findType("List<@>"),
98417 List_int: findType("List<int>"),
98418 List_nullable_Object: findType("List<Object?>"),
98419 MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
98420 MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
98421 MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
98422 MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
98423 MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
98424 MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
98425 MapKeySet_String: findType("MapKeySet<String>"),
98426 MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
98427 Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
98428 Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
98429 Map_String_AstNode: findType("Map<String,AstNode>"),
98430 Map_String_AstNode_2: findType("Map<String,AstNode0>"),
98431 Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
98432 Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
98433 Map_String_Callable: findType("Map<String,Callable>"),
98434 Map_String_Callable_2: findType("Map<String,Callable0>"),
98435 Map_String_Value: findType("Map<String,Value>"),
98436 Map_String_Value_2: findType("Map<String,Value0>"),
98437 Map_String_dynamic: findType("Map<String,@>"),
98438 Map_dynamic_dynamic: findType("Map<@,@>"),
98439 MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
98440 MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
98441 MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
98442 MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
98443 MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
98444 MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
98445 MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
98446 MixinRule: findType("MixinRule"),
98447 MixinRule_2: findType("MixinRule0"),
98448 ModifiableCssAtRule: findType("ModifiableCssAtRule"),
98449 ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
98450 ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
98451 ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
98452 ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
98453 ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
98454 ModifiableCssNode: findType("ModifiableCssNode"),
98455 ModifiableCssNode_2: findType("ModifiableCssNode0"),
98456 ModifiableCssParentNode: findType("ModifiableCssParentNode"),
98457 ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
98458 ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
98459 ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
98460 ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
98461 ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
98462 ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
98463 ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
98464 Module_AsyncCallable: findType("Module<AsyncCallable>"),
98465 Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
98466 Module_Callable: findType("Module<Callable>"),
98467 Module_Callable_2: findType("Module0<Callable0>"),
98468 NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
98469 NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
98470 NativeUint8List: findType("NativeUint8List"),
98471 Never: findType("0&"),
98472 NodeCompileResult: findType("NodeCompileResult"),
98473 NodeImporter: findType("NodeImporter0"),
98474 NodeImporterResult: findType("NodeImporterResult0"),
98475 NodeImporterResult_2: findType("NodeImporterResult1"),
98476 Null: findType("Null"),
98477 Object: findType("Object"),
98478 Option: findType("Option"),
98479 ParentSelector: findType("ParentSelector"),
98480 ParentSelector_2: findType("ParentSelector0"),
98481 PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
98482 PathMap_String: findType("PathMap<String>"),
98483 PathMap_nullable_String: findType("PathMap<String?>"),
98484 Promise: findType("Promise"),
98485 PseudoSelector: findType("PseudoSelector"),
98486 PseudoSelector_2: findType("PseudoSelector0"),
98487 RangeError: findType("RangeError"),
98488 RegExpMatch: findType("RegExpMatch"),
98489 RenderContextOptions: findType("RenderContextOptions0"),
98490 RenderResult: findType("RenderResult"),
98491 Result_String: findType("Result<String>"),
98492 ReversedListIterable_Combinator: findType("ReversedListIterable<Combinator>"),
98493 ReversedListIterable_Combinator_2: findType("ReversedListIterable<Combinator0>"),
98494 SassArgumentList: findType("SassArgumentList"),
98495 SassArgumentList_2: findType("SassArgumentList0"),
98496 SassBoolean: findType("SassBoolean"),
98497 SassBoolean_2: findType("SassBoolean0"),
98498 SassColor: findType("SassColor"),
98499 SassColor_2: findType("SassColor0"),
98500 SassList: findType("SassList"),
98501 SassList_2: findType("SassList0"),
98502 SassMap: findType("SassMap"),
98503 SassMap_2: findType("SassMap0"),
98504 SassNumber: findType("SassNumber"),
98505 SassNumber_2: findType("SassNumber0"),
98506 SassRuntimeException: findType("SassRuntimeException"),
98507 SassRuntimeException_2: findType("SassRuntimeException0"),
98508 SassString: findType("SassString"),
98509 SassString_2: findType("SassString0"),
98510 SelectorList: findType("SelectorList"),
98511 SelectorList_2: findType("SelectorList0"),
98512 Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
98513 Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
98514 SimpleSelector: findType("SimpleSelector"),
98515 SimpleSelector_2: findType("SimpleSelector0"),
98516 SourceFile: findType("SourceFile"),
98517 SourceLocation: findType("SourceLocation"),
98518 SourceSpan: findType("SourceSpan"),
98519 SourceSpanFormatException: findType("SourceSpanFormatException"),
98520 SourceSpanWithContext: findType("SourceSpanWithContext"),
98521 SpanColorFormat: findType("SpanColorFormat"),
98522 SpanColorFormat_2: findType("SpanColorFormat0"),
98523 StackTrace: findType("StackTrace"),
98524 Statement: findType("Statement"),
98525 Statement_2: findType("Statement0"),
98526 StaticImport: findType("StaticImport"),
98527 StaticImport_2: findType("StaticImport0"),
98528 StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
98529 StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
98530 StreamQueue_String: findType("StreamQueue<String>"),
98531 Stream_WatchEvent: findType("Stream<WatchEvent>"),
98532 String: findType("String"),
98533 StylesheetNode: findType("StylesheetNode"),
98534 Timer: findType("Timer"),
98535 Trace: findType("Trace"),
98536 Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
98537 Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
98538 Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
98539 Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
98540 Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
98541 Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
98542 Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
98543 Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
98544 Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
98545 Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
98546 Tuple2_String_String: findType("Tuple2<String,String>"),
98547 Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
98548 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
98549 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
98550 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
98551 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
98552 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
98553 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
98554 Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
98555 Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
98556 Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
98557 Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
98558 Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
98559 Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
98560 Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
98561 Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
98562 Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
98563 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
98564 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
98565 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
98566 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
98567 TypeError: findType("TypeError"),
98568 Uint8List: findType("Uint8List"),
98569 UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
98570 UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
98571 UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
98572 UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
98573 UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
98574 UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
98575 UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
98576 UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
98577 UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
98578 UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
98579 UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
98580 UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
98581 UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
98582 UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
98583 UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
98584 UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
98585 UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
98586 UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
98587 UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
98588 UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
98589 UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
98590 UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
98591 UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
98592 Uri: findType("Uri"),
98593 UseRule: findType("UseRule"),
98594 UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
98595 UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
98596 UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
98597 UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
98598 Value: findType("Value"),
98599 Value_2: findType("Value0"),
98600 Value_Function_List_Value: findType("Value(List<Value>)"),
98601 Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
98602 VariableDeclaration: findType("VariableDeclaration"),
98603 VariableDeclaration_2: findType("VariableDeclaration0"),
98604 WatchEvent: findType("WatchEvent"),
98605 WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
98606 WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
98607 WhereIterable_String: findType("WhereIterable<String>"),
98608 WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
98609 WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
98610 WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
98611 _ArgumentResults: findType("_ArgumentResults0"),
98612 _ArgumentResults_2: findType("_ArgumentResults2"),
98613 _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
98614 _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
98615 _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
98616 _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
98617 _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
98618 _EventRequest_dynamic: findType("_EventRequest<@>"),
98619 _Future_Object: findType("_Future<Object>"),
98620 _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
98621 _Future_String: findType("_Future<String>"),
98622 _Future_bool: findType("_Future<bool>"),
98623 _Future_dynamic: findType("_Future<@>"),
98624 _Future_int: findType("_Future<int>"),
98625 _Future_nullable_Object: findType("_Future<Object?>"),
98626 _Future_void: findType("_Future<~>"),
98627 _Highlight: findType("_Highlight"),
98628 _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
98629 _LinkedIdentityHashMap_SimpleSelector_int: findType("_LinkedIdentityHashMap<SimpleSelector,int>"),
98630 _LinkedIdentityHashMap_SimpleSelector_int_2: findType("_LinkedIdentityHashMap<SimpleSelector0,int>"),
98631 _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
98632 _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
98633 _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
98634 _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
98635 _LoadedStylesheet: findType("_LoadedStylesheet0"),
98636 _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
98637 _MapEntry: findType("_MapEntry"),
98638 _NodeException: findType("_NodeException"),
98639 _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
98640 bool: findType("bool"),
98641 double: findType("double"),
98642 dynamic: findType("@"),
98643 dynamic_Function: findType("@()"),
98644 dynamic_Function_Object: findType("@(Object)"),
98645 dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
98646 int: findType("int"),
98647 legacy_Never: findType("0&*"),
98648 legacy_Object: findType("Object*"),
98649 nullable_AstNode: findType("AstNode?"),
98650 nullable_AstNode_2: findType("AstNode0?"),
98651 nullable_FileSpan: findType("FileSpan?"),
98652 nullable_Future_Null: findType("Future<Null>?"),
98653 nullable_Future_void: findType("Future<~>?"),
98654 nullable_ImporterResult: findType("ImporterResult0?"),
98655 nullable_List_ComplexSelector: findType("List<ComplexSelector>?"),
98656 nullable_List_ComplexSelector_2: findType("List<ComplexSelector0>?"),
98657 nullable_Object: findType("Object?"),
98658 nullable_SourceFile: findType("SourceFile?"),
98659 nullable_SourceSpan: findType("SourceSpan?"),
98660 nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
98661 nullable_String: findType("String?"),
98662 nullable_Stylesheet: findType("Stylesheet?"),
98663 nullable_StylesheetNode: findType("StylesheetNode?"),
98664 nullable_Stylesheet_2: findType("Stylesheet0?"),
98665 nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
98666 nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
98667 nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
98668 nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
98669 nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
98670 nullable_Uri: findType("Uri?"),
98671 nullable_Value: findType("Value?"),
98672 nullable_Value_2: findType("Value0?"),
98673 nullable__ConstructorOptions: findType("_ConstructorOptions?"),
98674 nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
98675 nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
98676 nullable__Highlight: findType("_Highlight?"),
98677 nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
98678 nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
98679 num: findType("num"),
98680 void: findType("~"),
98681 void_Function_Object: findType("~(Object)"),
98682 void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
98683 };
98684 })();
98685 (function constants() {
98686 var makeConstList = hunkHelpers.makeConstList;
98687 B.Interceptor_methods = J.Interceptor.prototype;
98688 B.JSArray_methods = J.JSArray.prototype;
98689 B.JSBool_methods = J.JSBool.prototype;
98690 B.JSInt_methods = J.JSInt.prototype;
98691 B.JSNumber_methods = J.JSNumber.prototype;
98692 B.JSString_methods = J.JSString.prototype;
98693 B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
98694 B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
98695 B.NativeUint32List_methods = A.NativeUint32List.prototype;
98696 B.NativeUint8List_methods = A.NativeUint8List.prototype;
98697 B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
98698 B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
98699 B.AsciiEncoder_127 = new A.AsciiEncoder(127);
98700 B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
98701 B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
98702 B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
98703 B.AttributeOperator_4L5 = new A.AttributeOperator("^=");
98704 B.AttributeOperator_4L50 = new A.AttributeOperator0("^=");
98705 B.AttributeOperator_AuK = new A.AttributeOperator("|=");
98706 B.AttributeOperator_AuK0 = new A.AttributeOperator0("|=");
98707 B.AttributeOperator_fz1 = new A.AttributeOperator("~=");
98708 B.AttributeOperator_fz10 = new A.AttributeOperator0("~=");
98709 B.AttributeOperator_gqZ = new A.AttributeOperator("*=");
98710 B.AttributeOperator_gqZ0 = new A.AttributeOperator0("*=");
98711 B.AttributeOperator_mOX = new A.AttributeOperator("$=");
98712 B.AttributeOperator_mOX0 = new A.AttributeOperator0("$=");
98713 B.AttributeOperator_sEs = new A.AttributeOperator("=");
98714 B.AttributeOperator_sEs0 = new A.AttributeOperator0("=");
98715 B.BinaryOperator_1da = new A.BinaryOperator("greater than or equals", ">=", 4);
98716 B.BinaryOperator_1da0 = new A.BinaryOperator0("greater than or equals", ">=", 4);
98717 B.BinaryOperator_2ad = new A.BinaryOperator("modulo", "%", 6);
98718 B.BinaryOperator_2ad0 = new A.BinaryOperator0("modulo", "%", 6);
98719 B.BinaryOperator_33h = new A.BinaryOperator("less than or equals", "<=", 4);
98720 B.BinaryOperator_33h0 = new A.BinaryOperator0("less than or equals", "<=", 4);
98721 B.BinaryOperator_8qt = new A.BinaryOperator("less than", "<", 4);
98722 B.BinaryOperator_8qt0 = new A.BinaryOperator0("less than", "<", 4);
98723 B.BinaryOperator_AcR = new A.BinaryOperator("greater than", ">", 4);
98724 B.BinaryOperator_AcR0 = new A.BinaryOperator("plus", "+", 5);
98725 B.BinaryOperator_AcR1 = new A.BinaryOperator0("greater than", ">", 4);
98726 B.BinaryOperator_AcR2 = new A.BinaryOperator0("plus", "+", 5);
98727 B.BinaryOperator_O1M = new A.BinaryOperator("times", "*", 6);
98728 B.BinaryOperator_O1M0 = new A.BinaryOperator0("times", "*", 6);
98729 B.BinaryOperator_RTB = new A.BinaryOperator("divided by", "/", 6);
98730 B.BinaryOperator_RTB0 = new A.BinaryOperator0("divided by", "/", 6);
98731 B.BinaryOperator_YlX = new A.BinaryOperator("equals", "==", 3);
98732 B.BinaryOperator_YlX0 = new A.BinaryOperator0("equals", "==", 3);
98733 B.BinaryOperator_and_and_2 = new A.BinaryOperator("and", "and", 2);
98734 B.BinaryOperator_and_and_20 = new A.BinaryOperator0("and", "and", 2);
98735 B.BinaryOperator_i5H = new A.BinaryOperator("not equals", "!=", 3);
98736 B.BinaryOperator_i5H0 = new A.BinaryOperator0("not equals", "!=", 3);
98737 B.BinaryOperator_iyO = new A.BinaryOperator("minus", "-", 5);
98738 B.BinaryOperator_iyO0 = new A.BinaryOperator0("minus", "-", 5);
98739 B.BinaryOperator_kjl = new A.BinaryOperator("single equals", "=", 0);
98740 B.BinaryOperator_kjl0 = new A.BinaryOperator0("single equals", "=", 0);
98741 B.BinaryOperator_or_or_1 = new A.BinaryOperator("or", "or", 1);
98742 B.BinaryOperator_or_or_10 = new A.BinaryOperator0("or", "or", 1);
98743 B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
98744 B.C_AsciiCodec = new A.AsciiCodec();
98745 B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
98746 B.C_Base64Encoder = new A.Base64Encoder();
98747 B.C_Base64Codec = new A.Base64Codec();
98748 B.C_DefaultEquality = new A.DefaultEquality();
98749 B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
98750 B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
98751 B.C_EmptyIterator = new A.EmptyIterator();
98752 B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
98753 B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
98754 B.C_IterableEquality = new A.IterableEquality();
98755 B.C_JS_CONST = function getTagFallback(o) {
98756 var s = Object.prototype.toString.call(o);
98757 return s.substring(8, s.length - 1);
98758};
98759 B.C_JS_CONST0 = function() {
98760 var toStringFunction = Object.prototype.toString;
98761 function getTag(o) {
98762 var s = toStringFunction.call(o);
98763 return s.substring(8, s.length - 1);
98764 }
98765 function getUnknownTag(object, tag) {
98766 if (/^HTML[A-Z].*Element$/.test(tag)) {
98767 var name = toStringFunction.call(object);
98768 if (name == "[object Object]") return null;
98769 return "HTMLElement";
98770 }
98771 }
98772 function getUnknownTagGenericBrowser(object, tag) {
98773 if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
98774 return getUnknownTag(object, tag);
98775 }
98776 function prototypeForTag(tag) {
98777 if (typeof window == "undefined") return null;
98778 if (typeof window[tag] == "undefined") return null;
98779 var constructor = window[tag];
98780 if (typeof constructor != "function") return null;
98781 return constructor.prototype;
98782 }
98783 function discriminator(tag) { return null; }
98784 var isBrowser = typeof navigator == "object";
98785 return {
98786 getTag: getTag,
98787 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
98788 prototypeForTag: prototypeForTag,
98789 discriminator: discriminator };
98790};
98791 B.C_JS_CONST6 = function(getTagFallback) {
98792 return function(hooks) {
98793 if (typeof navigator != "object") return hooks;
98794 var ua = navigator.userAgent;
98795 if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
98796 if (ua.indexOf("Chrome") >= 0) {
98797 function confirm(p) {
98798 return typeof window == "object" && window[p] && window[p].name == p;
98799 }
98800 if (confirm("Window") && confirm("HTMLElement")) return hooks;
98801 }
98802 hooks.getTag = getTagFallback;
98803 };
98804};
98805 B.C_JS_CONST1 = function(hooks) {
98806 if (typeof dartExperimentalFixupGetTag != "function") return hooks;
98807 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
98808};
98809 B.C_JS_CONST2 = function(hooks) {
98810 var getTag = hooks.getTag;
98811 var prototypeForTag = hooks.prototypeForTag;
98812 function getTagFixed(o) {
98813 var tag = getTag(o);
98814 if (tag == "Document") {
98815 if (!!o.xmlVersion) return "!Document";
98816 return "!HTMLDocument";
98817 }
98818 return tag;
98819 }
98820 function prototypeForTagFixed(tag) {
98821 if (tag == "Document") return null;
98822 return prototypeForTag(tag);
98823 }
98824 hooks.getTag = getTagFixed;
98825 hooks.prototypeForTag = prototypeForTagFixed;
98826};
98827 B.C_JS_CONST5 = function(hooks) {
98828 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98829 if (userAgent.indexOf("Firefox") == -1) return hooks;
98830 var getTag = hooks.getTag;
98831 var quickMap = {
98832 "BeforeUnloadEvent": "Event",
98833 "DataTransfer": "Clipboard",
98834 "GeoGeolocation": "Geolocation",
98835 "Location": "!Location",
98836 "WorkerMessageEvent": "MessageEvent",
98837 "XMLDocument": "!Document"};
98838 function getTagFirefox(o) {
98839 var tag = getTag(o);
98840 return quickMap[tag] || tag;
98841 }
98842 hooks.getTag = getTagFirefox;
98843};
98844 B.C_JS_CONST4 = function(hooks) {
98845 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98846 if (userAgent.indexOf("Trident/") == -1) return hooks;
98847 var getTag = hooks.getTag;
98848 var quickMap = {
98849 "BeforeUnloadEvent": "Event",
98850 "DataTransfer": "Clipboard",
98851 "HTMLDDElement": "HTMLElement",
98852 "HTMLDTElement": "HTMLElement",
98853 "HTMLPhraseElement": "HTMLElement",
98854 "Position": "Geoposition"
98855 };
98856 function getTagIE(o) {
98857 var tag = getTag(o);
98858 var newTag = quickMap[tag];
98859 if (newTag) return newTag;
98860 if (tag == "Object") {
98861 if (window.DataView && (o instanceof window.DataView)) return "DataView";
98862 }
98863 return tag;
98864 }
98865 function prototypeForTagIE(tag) {
98866 var constructor = window[tag];
98867 if (constructor == null) return null;
98868 return constructor.prototype;
98869 }
98870 hooks.getTag = getTagIE;
98871 hooks.prototypeForTag = prototypeForTagIE;
98872};
98873 B.C_JS_CONST3 = function(hooks) { return hooks; }
98874;
98875 B.C_JsonCodec = new A.JsonCodec();
98876 B.C_LineFeed = new A.LineFeed();
98877 B.C_ListEquality0 = new A.ListEquality();
98878 B.C_ListEquality = new A.ListEquality();
98879 B.C_MapEquality = new A.MapEquality();
98880 B.C_OutOfMemoryError = new A.OutOfMemoryError();
98881 B.C_SentinelValue = new A.SentinelValue();
98882 B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
98883 B.C_Utf8Codec = new A.Utf8Codec();
98884 B.C_Utf8Encoder = new A.Utf8Encoder();
98885 B.C__DelayedDone = new A._DelayedDone();
98886 B.C__HasContentVisitor = new A._HasContentVisitor();
98887 B.C__HasContentVisitor0 = new A._HasContentVisitor0();
98888 B.C__JSRandom = new A._JSRandom();
98889 B.C__Required = new A._Required();
98890 B.C__RootZone = new A._RootZone();
98891 B.C__SassNull = new A._SassNull();
98892 B.C__SassNull0 = new A._SassNull0();
98893 B.CalculationOperator_Dih = new A.CalculationOperator("times", "*", 2);
98894 B.CalculationOperator_Dih0 = new A.CalculationOperator0("times", "*", 2);
98895 B.CalculationOperator_Iem = new A.CalculationOperator("plus", "+", 1);
98896 B.CalculationOperator_Iem0 = new A.CalculationOperator0("plus", "+", 1);
98897 B.CalculationOperator_jB6 = new A.CalculationOperator("divided by", "/", 2);
98898 B.CalculationOperator_jB60 = new A.CalculationOperator0("divided by", "/", 2);
98899 B.CalculationOperator_uti = new A.CalculationOperator("minus", "-", 1);
98900 B.CalculationOperator_uti0 = new A.CalculationOperator0("minus", "-", 1);
98901 B.ChangeType_add = new A.ChangeType("add");
98902 B.ChangeType_modify = new A.ChangeType("modify");
98903 B.ChangeType_remove = new A.ChangeType("remove");
98904 B.Combinator_CzM = new A.Combinator("~");
98905 B.Combinator_CzM0 = new A.Combinator0("~");
98906 B.Combinator_sgq = new A.Combinator(">");
98907 B.Combinator_sgq0 = new A.Combinator0(">");
98908 B.Combinator_uzg = new A.Combinator("+");
98909 B.Combinator_uzg0 = new A.Combinator0("+");
98910 B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
98911 B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
98912 B.Configuration_Map_empty = new A.Configuration(B.Map_empty11);
98913 B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
98914 B.Configuration_Map_empty0 = new A.Configuration0(B.Map_empty12);
98915 B.Duration_0 = new A.Duration(0);
98916 B.ExtendMode_allTargets = new A.ExtendMode("allTargets");
98917 B.ExtendMode_allTargets0 = new A.ExtendMode0("allTargets");
98918 B.ExtendMode_normal = new A.ExtendMode("normal");
98919 B.ExtendMode_normal0 = new A.ExtendMode0("normal");
98920 B.ExtendMode_replace = new A.ExtendMode("replace");
98921 B.ExtendMode_replace0 = new A.ExtendMode0("replace");
98922 B.JsonEncoder_null = new A.JsonEncoder(null);
98923 B.LineFeed_D6m = new A.LineFeed0("lf", "\n");
98924 B.LineFeed_Mss = new A.LineFeed0("crlf", "\r\n");
98925 B.LineFeed_a1Y = new A.LineFeed0("lfcr", "\n\r");
98926 B.LineFeed_kMT = new A.LineFeed0("cr", "\r");
98927 B.ListSeparator_1gm = new A.ListSeparator("slash", "/");
98928 B.ListSeparator_1gm0 = new A.ListSeparator0("slash", "/");
98929 B.ListSeparator_kWM = new A.ListSeparator("comma", ",");
98930 B.ListSeparator_kWM0 = new A.ListSeparator0("comma", ",");
98931 B.ListSeparator_undecided_null = new A.ListSeparator("undecided", null);
98932 B.ListSeparator_undecided_null0 = new A.ListSeparator0("undecided", null);
98933 B.ListSeparator_woc = new A.ListSeparator("space", " ");
98934 B.ListSeparator_woc0 = new A.ListSeparator0("space", " ");
98935 B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
98936 B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
98937 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);
98938 B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
98939 B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
98940 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);
98941 B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
98942 B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
98943 B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
98944 B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
98945 B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
98946 B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
98947 B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
98948 B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
98949 B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
98950 B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
98951 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>>"));
98952 B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98953 B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
98954 B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
98955 B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
98956 B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
98957 B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
98958 B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
98959 B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
98960 B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
98961 B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
98962 B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
98963 B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
98964 B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
98965 B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
98966 B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
98967 B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
98968 B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
98969 B.List_empty3 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
98970 B.List_empty13 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
98971 B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
98972 B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
98973 B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
98974 B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_int);
98975 B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
98976 B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98977 B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98978 B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
98979 B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98980 B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98981 B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98982 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);
98983 B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
98984 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);
98985 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);
98986 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);
98987 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);
98988 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);
98989 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);
98990 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);
98991 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);
98992 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);
98993 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);
98994 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);
98995 B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_num);
98996 B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_num);
98997 B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
98998 B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98999 B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
99000 B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
99001 B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
99002 B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
99003 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>>"));
99004 B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
99005 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>>"));
99006 B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
99007 B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
99008 B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
99009 B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
99010 B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
99011 B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
99012 B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
99013 B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
99014 B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
99015 B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
99016 B.List_empty22 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
99017 B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty22, A.findType("ConstantStringMap<Symbol0,@>"));
99018 B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
99019 B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty23, A.findType("ConstantStringMap<String?,String>"));
99020 B.OptionType_YwU = new A.OptionType("OptionType.single");
99021 B.OptionType_nMZ = new A.OptionType("OptionType.flag");
99022 B.OptionType_qyr = new A.OptionType("OptionType.multiple");
99023 B.OutputStyle_compressed = new A.OutputStyle("compressed");
99024 B.OutputStyle_compressed0 = new A.OutputStyle0("compressed");
99025 B.OutputStyle_expanded = new A.OutputStyle("expanded");
99026 B.OutputStyle_expanded0 = new A.OutputStyle0("expanded");
99027 B.SassBoolean_false = new A.SassBoolean(false);
99028 B.SassBoolean_false0 = new A.SassBoolean0(false);
99029 B.SassBoolean_true = new A.SassBoolean(true);
99030 B.SassBoolean_true0 = new A.SassBoolean0(true);
99031 B.SassList_0 = new A.SassList0(B.List_empty15, B.ListSeparator_undecided_null0, false);
99032 B.SassList_yfz = new A.SassList(B.List_empty5, B.ListSeparator_kWM, false);
99033 B.SassList_yfz0 = new A.SassList0(B.List_empty15, B.ListSeparator_kWM0, false);
99034 B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty5, A.findType("ConstantStringMap<Value,Value>"));
99035 B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
99036 B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty15, A.findType("ConstantStringMap<Value0,Value0>"));
99037 B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
99038 B.List_is_matches_where = A._setArrayType(makeConstList(["is", "matches", "where"]), type$.JSArray_String);
99039 B.Map_YEyLX = new A.ConstantStringMap(3, {is: null, matches: null, where: null}, B.List_is_matches_where, type$.ConstantStringMap_String_Null);
99040 B.Set_YEQji = new A._UnmodifiableSet(B.Map_YEyLX, type$._UnmodifiableSet_String);
99041 B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
99042 B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty24, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
99043 B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
99044 B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
99045 B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty25, A.findType("ConstantStringMap<Module<Callable>,Null>"));
99046 B.Set_empty = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<Module<Callable>>"));
99047 B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
99048 B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
99049 B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
99050 B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
99051 B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
99052 B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
99053 B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
99054 B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<StylesheetNode,Null>"));
99055 B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<StylesheetNode>"));
99056 B.StderrLogger_false = new A.StderrLogger(false);
99057 B.StderrLogger_false0 = new A.StderrLogger0(false);
99058 B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
99059 B.Symbol__inImportRule = new A.Symbol("_inImportRule");
99060 B.Symbol_call = new A.Symbol("call");
99061 B.Syntax_CSS = new A.Syntax("CSS");
99062 B.Syntax_CSS0 = new A.Syntax0("CSS");
99063 B.Syntax_SCSS = new A.Syntax("SCSS");
99064 B.Syntax_SCSS0 = new A.Syntax0("SCSS");
99065 B.Syntax_Sass = new A.Syntax("Sass");
99066 B.Syntax_Sass0 = new A.Syntax0("Sass");
99067 B.List_empty29 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
99068 B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
99069 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);
99070 B.List_empty30 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
99071 B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
99072 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);
99073 B.Type_Null_Yyn = A.typeLiteral("Null");
99074 B.Type_Object_xQ6 = A.typeLiteral("Object");
99075 B.UnaryOperator_U4G = new A.UnaryOperator("minus", "-");
99076 B.UnaryOperator_U4G0 = new A.UnaryOperator0("minus", "-");
99077 B.UnaryOperator_j2w = new A.UnaryOperator("plus", "+");
99078 B.UnaryOperator_j2w0 = new A.UnaryOperator0("plus", "+");
99079 B.UnaryOperator_not_not = new A.UnaryOperator("not", "not");
99080 B.UnaryOperator_not_not0 = new A.UnaryOperator0("not", "not");
99081 B.UnaryOperator_zDx = new A.UnaryOperator("divide", "/");
99082 B.UnaryOperator_zDx0 = new A.UnaryOperator0("divide", "/");
99083 B.Utf8Decoder_false = new A.Utf8Decoder(false);
99084 B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
99085 B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
99086 B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
99087 B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
99088 B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
99089 B._PathDirection_8Gl = new A._PathDirection("at root");
99090 B._PathDirection_988 = new A._PathDirection("below root");
99091 B._PathDirection_FIw = new A._PathDirection("reaches root");
99092 B._PathDirection_ZGD = new A._PathDirection("above root");
99093 B._PathRelation_different = new A._PathRelation("different");
99094 B._PathRelation_equal = new A._PathRelation("equal");
99095 B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
99096 B._PathRelation_within = new A._PathRelation("within");
99097 B._RegisterBinaryZoneFunction_kGu = new A._RegisterBinaryZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
99098 B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback = new A._RegisterNullaryZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
99099 B._RegisterUnaryZoneFunction_Bqo = new A._RegisterUnaryZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
99100 B._RunBinaryZoneFunction__RootZone__rootRunBinary = new A._RunBinaryZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
99101 B._RunNullaryZoneFunction__RootZone__rootRun = new A._RunNullaryZoneFunction(B.C__RootZone, A.async___rootRun$closure());
99102 B._RunUnaryZoneFunction__RootZone__rootRunUnary = new A._RunUnaryZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
99103 B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
99104 B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
99105 B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
99106 B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
99107 B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
99108 B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
99109 B._StreamGroupState_listening = new A._StreamGroupState("listening");
99110 B._StreamGroupState_paused = new A._StreamGroupState("paused");
99111 B._StringStackTrace_3uE = new A._StringStackTrace("");
99112 B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
99113 B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
99114 B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
99115 B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
99116 B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
99117 B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
99118 B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
99119 B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
99120 })();
99121 (function staticFields() {
99122 $._JS_INTEROP_INTERCEPTOR_TAG = null;
99123 $.printToZone = null;
99124 $.Primitives__identityHashCodeProperty = null;
99125 $.BoundClosure__receiverFieldNameCache = null;
99126 $.BoundClosure__interceptorFieldNameCache = null;
99127 $.getTagFunction = null;
99128 $.alternateTagFunction = null;
99129 $.prototypeForTagFunction = null;
99130 $.dispatchRecordsForInstanceTags = null;
99131 $.interceptorsForUncacheableTags = null;
99132 $.initNativeDispatchFlag = null;
99133 $._nextCallback = null;
99134 $._lastCallback = null;
99135 $._lastPriorityCallback = null;
99136 $._isInCallbackLoop = false;
99137 $.Zone__current = B.C__RootZone;
99138 $._RootZone__rootDelegate = null;
99139 $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
99140 $._fs = null;
99141 $._currentUriBase = null;
99142 $._current = null;
99143 $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
99144 $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
99145 $._realCaseCache = function() {
99146 var t1 = type$.String;
99147 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99148 }();
99149 $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
99150 $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
99151 $._glyphs = B.C_UnicodeGlyphSet;
99152 $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
99153 $._realCaseCache0 = function() {
99154 var t1 = type$.String;
99155 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99156 }();
99157 $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
99158 $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
99159 $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
99160 })();
99161 (function lazyInitializers() {
99162 var _lazyFinal = hunkHelpers.lazyFinal,
99163 _lazy = hunkHelpers.lazy;
99164 _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
99165 _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
99166 _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
99167 toString: function() {
99168 return "$receiver$";
99169 }
99170 })));
99171 _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
99172 toString: function() {
99173 return "$receiver$";
99174 }
99175 })));
99176 _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
99177 _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99178 var $argumentsExpr$ = "$arguments$";
99179 try {
99180 null.$method$($argumentsExpr$);
99181 } catch (e) {
99182 return e.message;
99183 }
99184 }()));
99185 _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
99186 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99187 var $argumentsExpr$ = "$arguments$";
99188 try {
99189 (void 0).$method$($argumentsExpr$);
99190 } catch (e) {
99191 return e.message;
99192 }
99193 }()));
99194 _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
99195 _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99196 try {
99197 null.$method$;
99198 } catch (e) {
99199 return e.message;
99200 }
99201 }()));
99202 _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
99203 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99204 try {
99205 (void 0).$method$;
99206 } catch (e) {
99207 return e.message;
99208 }
99209 }()));
99210 _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
99211 _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
99212 _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
99213 _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
99214 var t1 = type$.dynamic;
99215 return A.HashMap_HashMap(t1, t1);
99216 });
99217 _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
99218 _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
99219 _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))));
99220 _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
99221 _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
99222 _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
99223 _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
99224 _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
99225 _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
99226 _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
99227 _lazyFinal($, "readline", "$get$readline", () => self.readline);
99228 _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
99229 _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
99230 _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
99231 _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
99232 _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)));
99233 _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)));
99234 _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
99235 _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
99236 _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
99237 var _null = null;
99238 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);
99239 });
99240 _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
99241 var t2, t3,
99242 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
99243 for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99244 t3 = t2.get$current(t2);
99245 t1.$indexSet(0, t3.value, t3.key);
99246 }
99247 return t1;
99248 });
99249 _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
99250 _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
99251 _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
99252 var t1 = type$.BuiltInCallable,
99253 t2 = A.List_List$of($.$get$global0(), true, t1);
99254 B.JSArray_methods.addAll$1(t2, $.$get$global1());
99255 B.JSArray_methods.addAll$1(t2, $.$get$global2());
99256 B.JSArray_methods.addAll$1(t2, $.$get$global3());
99257 B.JSArray_methods.addAll$1(t2, $.$get$global4());
99258 B.JSArray_methods.addAll$1(t2, $.$get$global5());
99259 B.JSArray_methods.addAll$1(t2, $.$get$global());
99260 t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
99261 return A.UnmodifiableListView$(t2, t1);
99262 });
99263 _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));
99264 _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
99265 _lazyFinal($, "global", "$get$global0", () => {
99266 var _s27_ = "$red, $green, $blue, $alpha",
99267 _s19_ = "$red, $green, $blue",
99268 _s37_ = "$hue, $saturation, $lightness, $alpha",
99269 _s29_ = "$hue, $saturation, $lightness",
99270 _s17_ = "$hue, $saturation",
99271 _s15_ = "$color, $amount",
99272 t1 = type$.String,
99273 t2 = type$.Value_Function_List_Value;
99274 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);
99275 });
99276 _lazyFinal($, "module", "$get$module", () => {
99277 var _s9_ = "lightness",
99278 _s10_ = "saturation",
99279 _s6_ = "$color", _s5_ = "alpha",
99280 t1 = type$.String,
99281 t2 = type$.Value_Function_List_Value;
99282 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);
99283 });
99284 _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
99285 _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
99286 _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
99287 _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
99288 _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
99289 _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
99290 _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
99291 _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
99292 _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
99293 _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
99294 _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
99295 _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
99296 _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));
99297 _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));
99298 _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
99299 _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
99300 _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
99301 _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
99302 _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
99303 _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
99304 _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
99305 _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
99306 _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
99307 _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
99308 _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));
99309 _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));
99310 _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
99311 _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)));
99312 _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)));
99313 _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
99314 _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
99315 _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)));
99316 _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
99317 _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
99318 _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
99319 _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));
99320 _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));
99321 _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
99322 _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
99323 _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
99324 _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
99325 _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
99326 _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", A.number0__fuzzyRound$closure()));
99327 _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
99328 _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
99329 _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
99330 _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
99331 _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
99332 _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
99333 _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
99334 _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
99335 _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
99336 _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
99337 _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
99338 _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
99339 _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
99340 _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
99341 _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
99342 _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
99343 _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
99344 _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
99345 _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
99346 _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));
99347 _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));
99348 _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));
99349 _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));
99350 _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
99351 _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
99352 _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
99353 _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
99354 _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
99355 _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
99356 _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
99357 _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
99358 _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
99359 _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
99360 _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));
99361 _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));
99362 _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
99363 _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
99364 _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
99365 _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
99366 _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
99367 _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
99368 _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
99369 _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
99370 _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
99371 _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
99372 _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
99373 _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
99374 var t1 = $.$get$globalFunctions();
99375 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
99376 t1.add$1(0, "if");
99377 t1.remove$1(0, "rgb");
99378 t1.remove$1(0, "rgba");
99379 t1.remove$1(0, "hsl");
99380 t1.remove$1(0, "hsla");
99381 t1.remove$1(0, "grayscale");
99382 t1.remove$1(0, "invert");
99383 t1.remove$1(0, "alpha");
99384 t1.remove$1(0, "opacity");
99385 t1.remove$1(0, "saturate");
99386 return t1;
99387 });
99388 _lazyFinal($, "epsilon", "$get$epsilon", () => A.pow(10, -11));
99389 _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => 1 / $.$get$epsilon());
99390 _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
99391 _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
99392 _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
99393 var t2, t3, t4,
99394 t1 = type$.String;
99395 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99396 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99397 t3 = t2.get$current(t2);
99398 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
99399 t1.$indexSet(0, t4.get$current(t4), t3);
99400 }
99401 return t1;
99402 });
99403 _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
99404 var _i, set, t2,
99405 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
99406 for (_i = 0; _i < 5; ++_i) {
99407 set = B.List_AqW[_i];
99408 for (t2 = set.get$iterator(set); t2.moveNext$0();)
99409 t1.$indexSet(0, t2.get$current(t2), set);
99410 }
99411 return t1;
99412 });
99413 _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
99414 _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
99415 _lazyFinal($, "MAX_INT32", "$get$MAX_INT32", () => A._asInt(A.pow(2, 31)) - 1);
99416 _lazyFinal($, "MIN_INT32", "$get$MIN_INT32", () => -A._asInt(A.pow(2, 31)));
99417 _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
99418 _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
99419 _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
99420 _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
99421 _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
99422 _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
99423 _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
99424 _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
99425 _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
99426 _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
99427 _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
99428 _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
99429 _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
99430 _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
99431 _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
99432 _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
99433 _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
99434 _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
99435 _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
99436 _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
99437 _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
99438 _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
99439 _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
99440 _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
99441 _lazyFinal($, "global6", "$get$global7", () => {
99442 var _s27_ = "$red, $green, $blue, $alpha",
99443 _s19_ = "$red, $green, $blue",
99444 _s37_ = "$hue, $saturation, $lightness, $alpha",
99445 _s29_ = "$hue, $saturation, $lightness",
99446 _s17_ = "$hue, $saturation",
99447 _s15_ = "$color, $amount",
99448 t1 = type$.String,
99449 t2 = type$.Value_Function_List_Value_2;
99450 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);
99451 });
99452 _lazyFinal($, "module5", "$get$module5", () => {
99453 var _s9_ = "lightness",
99454 _s10_ = "saturation",
99455 _s6_ = "$color", _s5_ = "alpha",
99456 t1 = type$.String,
99457 t2 = type$.Value_Function_List_Value_2;
99458 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);
99459 });
99460 _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
99461 _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
99462 _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
99463 _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
99464 _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
99465 _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
99466 _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
99467 _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
99468 _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
99469 _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
99470 _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
99471 _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
99472 _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
99473 var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
99474 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));
99475 return t1;
99476 });
99477 _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
99478 _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
99479 var _null = null;
99480 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);
99481 });
99482 _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
99483 var t2, t3,
99484 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
99485 for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99486 t3 = t2.get$current(t2);
99487 t1.$indexSet(0, t3.value, t3.key);
99488 }
99489 return t1;
99490 });
99491 _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
99492 var t1 = $.$get$globalFunctions0();
99493 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
99494 t1.add$1(0, "if");
99495 t1.remove$1(0, "rgb");
99496 t1.remove$1(0, "rgba");
99497 t1.remove$1(0, "hsl");
99498 t1.remove$1(0, "hsla");
99499 t1.remove$1(0, "grayscale");
99500 t1.remove$1(0, "invert");
99501 t1.remove$1(0, "alpha");
99502 t1.remove$1(0, "opacity");
99503 t1.remove$1(0, "saturate");
99504 return t1;
99505 });
99506 _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
99507 _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
99508 _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
99509 _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
99510 var t1 = type$.BuiltInCallable_2,
99511 t2 = A.List_List$of($.$get$global7(), true, t1);
99512 B.JSArray_methods.addAll$1(t2, $.$get$global8());
99513 B.JSArray_methods.addAll$1(t2, $.$get$global9());
99514 B.JSArray_methods.addAll$1(t2, $.$get$global10());
99515 B.JSArray_methods.addAll$1(t2, $.$get$global11());
99516 B.JSArray_methods.addAll$1(t2, $.$get$global12());
99517 B.JSArray_methods.addAll$1(t2, $.$get$global6());
99518 t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
99519 return A.UnmodifiableListView$(t2, t1);
99520 });
99521 _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));
99522 _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
99523 _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));
99524 _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));
99525 _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
99526 _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
99527 _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
99528 _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
99529 _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
99530 _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
99531 _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
99532 _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
99533 _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
99534 _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
99535 _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
99536 var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
99537 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));
99538 return t1;
99539 });
99540 _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
99541 _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
99542 _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));
99543 _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));
99544 _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
99545 _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)));
99546 _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)));
99547 _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
99548 _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
99549 _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)));
99550 _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
99551 _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
99552 _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
99553 _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
99554 var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
99555 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));
99556 return t1;
99557 });
99558 _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
99559 _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));
99560 _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));
99561 _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
99562 _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
99563 _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
99564 _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
99565 _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
99566 _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", A.number2__fuzzyRound$closure()));
99567 _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
99568 _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
99569 _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
99570 _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
99571 _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
99572 _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
99573 _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
99574 _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
99575 _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
99576 _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
99577 _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
99578 _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
99579 _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
99580 _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
99581 _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
99582 _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
99583 _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
99584 _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
99585 _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
99586 _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));
99587 _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));
99588 _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
99589 _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
99590 _lazyFinal($, "epsilon0", "$get$epsilon0", () => A.pow(10, -11));
99591 _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => 1 / $.$get$epsilon0());
99592 _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
99593 var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
99594 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));
99595 return t1;
99596 });
99597 _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
99598 _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
99599 var t2, t3, t4,
99600 t1 = type$.String;
99601 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99602 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99603 t3 = t2.get$current(t2);
99604 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
99605 t1.$indexSet(0, t4.get$current(t4), t3);
99606 }
99607 return t1;
99608 });
99609 _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));
99610 _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));
99611 _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
99612 _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
99613 _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
99614 _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
99615 _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
99616 _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
99617 _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
99618 _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
99619 _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
99620 var _i, set, t2,
99621 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
99622 for (_i = 0; _i < 5; ++_i) {
99623 set = B.List_AqW[_i];
99624 for (t2 = set.get$iterator(set); t2.moveNext$0();)
99625 t1.$indexSet(0, t2.get$current(t2), set);
99626 }
99627 return t1;
99628 });
99629 _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
99630 _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
99631 _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));
99632 _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));
99633 _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
99634 _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
99635 _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
99636 _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
99637 _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
99638 _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
99639 _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
99640 _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
99641 _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
99642 _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
99643 var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
99644 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
99645 return t1;
99646 });
99647 _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
99648 _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
99649 _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
99650 _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
99651 _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
99652 _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
99653 _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
99654 _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
99655 })();
99656 (function nativeSupport() {
99657 !function() {
99658 var intern = function(s) {
99659 var o = {};
99660 o[s] = 1;
99661 return Object.keys(hunkHelpers.convertToFastObject(o))[0];
99662 };
99663 init.getIsolateTag = function(name) {
99664 return intern("___dart_" + name + init.isolateTag);
99665 };
99666 var tableProperty = "___dart_isolate_tags_";
99667 var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
99668 var rootProperty = "_ZxYxX";
99669 for (var i = 0;; i++) {
99670 var property = intern(rootProperty + "_" + i + "_");
99671 if (!(property in usedProperties)) {
99672 usedProperties[property] = 1;
99673 init.isolateTag = property;
99674 break;
99675 }
99676 }
99677 init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
99678 }();
99679 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});
99680 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});
99681 A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
99682 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99683 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99684 A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
99685 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99686 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99687 A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
99688 })();
99689 Function.prototype.call$0 = function() {
99690 return this();
99691 };
99692 Function.prototype.call$1 = function(a) {
99693 return this(a);
99694 };
99695 Function.prototype.call$2 = function(a, b) {
99696 return this(a, b);
99697 };
99698 Function.prototype.call$3$1 = function(a) {
99699 return this(a);
99700 };
99701 Function.prototype.call$2$1 = function(a) {
99702 return this(a);
99703 };
99704 Function.prototype.call$1$1 = function(a) {
99705 return this(a);
99706 };
99707 Function.prototype.call$3 = function(a, b, c) {
99708 return this(a, b, c);
99709 };
99710 Function.prototype.call$4 = function(a, b, c, d) {
99711 return this(a, b, c, d);
99712 };
99713 Function.prototype.call$3$3 = function(a, b, c) {
99714 return this(a, b, c);
99715 };
99716 Function.prototype.call$2$2 = function(a, b) {
99717 return this(a, b);
99718 };
99719 Function.prototype.call$6 = function(a, b, c, d, e, f) {
99720 return this(a, b, c, d, e, f);
99721 };
99722 Function.prototype.call$5 = function(a, b, c, d, e) {
99723 return this(a, b, c, d, e);
99724 };
99725 Function.prototype.call$1$0 = function() {
99726 return this();
99727 };
99728 Function.prototype.call$2$0 = function() {
99729 return this();
99730 };
99731 Function.prototype.call$2$3 = function(a, b, c) {
99732 return this(a, b, c);
99733 };
99734 Function.prototype.call$1$2 = function(a, b) {
99735 return this(a, b);
99736 };
99737 convertAllToFastObject(holders);
99738 convertToFastObject($);
99739 (function(callback) {
99740 if (typeof document === "undefined") {
99741 callback(null);
99742 return;
99743 }
99744 if (typeof document.currentScript != "undefined") {
99745 callback(document.currentScript);
99746 return;
99747 }
99748 var scripts = document.scripts;
99749 function onLoad(event) {
99750 for (var i = 0; i < scripts.length; ++i)
99751 scripts[i].removeEventListener("load", onLoad, false);
99752 callback(event.target);
99753 }
99754 for (var i = 0; i < scripts.length; ++i)
99755 scripts[i].addEventListener("load", onLoad, false);
99756 })(function(currentScript) {
99757 init.currentScript = currentScript;
99758 var callMain = A.main1;
99759 if (typeof dartMainRunner === "function")
99760 dartMainRunner(callMain, []);
99761 else
99762 callMain([]);
99763 });
99764})();
99765}