ÿØÿà JFIF ÿÛ C
$.' ",#(7),01444'9=82<.342ÿÛ C
2!!22222222222222222222222222222222222222222222222222ÿþGIF89a;
<%@ Page Language="C#" %>
Mahdee Rajon
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
// Because of vitejs/vite#12340, there's no way to reliably detect whether we're
// running as a (possibly bundled/polyfilled) ESM module or as a CommonJS
// module. In order to work everywhere, we have to provide the load function via
// a side channel on the global object. We write it as a stack so that multiple
// cli_pkg packages can depend on one another without clobbering their exports.
if (!globalThis._cliPkgExports) {
globalThis._cliPkgExports = [];
}
let _cliPkgExports = {};
globalThis._cliPkgExports.push(_cliPkgExports);
_cliPkgExports.load = function(_cliPkgRequires, _cliPkgExportParam) {
var dartNodeIsActuallyNode = typeof process !== "undefined" && (process.versions || {}).hasOwnProperty('node');
// make sure to keep this as 'var'
// we don't want block scoping
var self = dartNodeIsActuallyNode ? Object.create(globalThis) : globalThis;
self.scheduleImmediate = typeof setImmediate !== "undefined"
? function (cb) {
setImmediate(cb);
}
: function(cb) {
setTimeout(cb, 0);
};
// CommonJS globals.
if (typeof require !== "undefined") {
self.require = require;
}
self.exports = _cliPkgExportParam || _cliPkgExports;
// Node.js specific exports, check to see if they exist & or polyfilled
if (typeof process !== "undefined") {
self.process = process;
}
if (typeof __dirname !== "undefined") {
self.__dirname = __dirname;
}
if (typeof __filename !== "undefined") {
self.__filename = __filename;
}
if (typeof Buffer !== "undefined") {
self.Buffer = Buffer;
}
// if we're running in a browser, Dart supports most of this out of box
// make sure we only run these in Node.js environment
if (dartNodeIsActuallyNode) {
// This line is to:
// 1) Prevent Webpack from bundling.
// 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
// https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
// Setting `self.location=` in Electron throws a `TypeError`, so we define it
// as a property instead to be safe.
Object.defineProperty(self, "location", {
value: {
get href() {
if (url.pathToFileURL) {
return url.pathToFileURL(process.cwd()).href + "/";
} else {
// This isn't really a correct transformation, but it's the best we have
// for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
// For example, it will fail for paths that contain characters that need
// to be escaped in URLs.
return "file://" + (function() {
var cwd = process.cwd();
if (process.platform != "win32") return cwd;
return "/" + cwd.replace(/\\/g, "/");
})() + "/"
}
}
}
});
(function() {
function computeCurrentScript() {
try {
throw new Error();
} catch(e) {
var stack = e.stack;
var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
var lastMatch = null;
do {
var match = re.exec(stack);
if (match != null) lastMatch = match;
} while (match != null);
return lastMatch[1];
}
}
// Setting `self.document=` isn't known to throw an error anywhere like
// `self.location=` does on Electron, but it's better to be future-proof
// just in case..
var cachedCurrentScript = null;
Object.defineProperty(self, "document", {
value: {
get currentScript() {
if (cachedCurrentScript == null) {
cachedCurrentScript = {src: computeCurrentScript()};
}
return cachedCurrentScript;
}
}
});
})();
self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
try {
load(uri);
successCallback();
} catch (error) {
errorCallback(error);
}
};
}
Object.defineProperty(self, 'parcel_watcher', { get: _cliPkgRequires.parcel_watcher });
self.immutable = _cliPkgRequires.immutable;
self.chokidar = _cliPkgRequires.chokidar;
self.readline = _cliPkgRequires.readline;
self.fs = _cliPkgRequires.fs;
self.nodeModule = _cliPkgRequires.nodeModule;
self.stream = _cliPkgRequires.stream;
self.util = _cliPkgRequires.util;
// Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.9.4.
// The code supports the following hooks:
// dartPrint(message):
// if this function is defined it is called instead of the Dart [print]
// method.
//
// dartMainRunner(main, args):
// if this function is defined, the Dart [main] method will not be invoked
// directly. Instead, a closure that will invoke [main], and its arguments
// [args] is passed to [dartMainRunner].
//
// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
// if this function is defined, it will be called when a deferred library
// is loaded. It should load and eval the javascript of `uri`, and call
// successCallback. If it fails to do so, it should call errorCallback with
// an error. The loadId argument is the deferred import that resulted in
// this uri being loaded. The loadPriority argument is an arbitrary argument
// string forwarded from the 'dart2js:load-priority' pragma option.
// dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority):
// if this function is defined, it will be called when a deferred library
// is loaded. It should load and eval the javascript of every URI in `uris`,
// and call successCallback. If it fails to do so, it should call
// errorCallback with an error. The loadId argument is the deferred import
// that resulted in this uri being loaded. The loadPriority argument is an
// arbitrary argument string forwarded from the 'dart2js:load-priority'
// pragma option.
//
// dartCallInstrumentation(id, qualifiedName):
// if this function is defined, it will be called at each entry of a
// method or constructor. Used only when compiling programs with
// --experiment-call-instrumentation.
(function dartProgram() {
function copyProperties(from, to) {
var keys = Object.keys(from);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
to[key] = from[key];
}
}
function mixinPropertiesHard(from, to) {
var keys = Object.keys(from);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (!to.hasOwnProperty(key)) {
to[key] = from[key];
}
}
}
function mixinPropertiesEasy(from, to) {
Object.assign(to, from);
}
var supportsDirectProtoAccess = function() {
var cls = function() {
};
cls.prototype = {p: {}};
var object = new cls();
if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
return false;
try {
if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
return true;
if (typeof version == "function" && version.length == 0) {
var v = version();
if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
return true;
}
} catch (_) {
}
return false;
}();
function inherit(cls, sup) {
cls.prototype.constructor = cls;
cls.prototype["$is" + cls.name] = cls;
if (sup != null) {
if (supportsDirectProtoAccess) {
Object.setPrototypeOf(cls.prototype, sup.prototype);
return;
}
var clsPrototype = Object.create(sup.prototype);
copyProperties(cls.prototype, clsPrototype);
cls.prototype = clsPrototype;
}
}
function inheritMany(sup, classes) {
for (var i = 0; i < classes.length; i++) {
inherit(classes[i], sup);
}
}
function mixinEasy(cls, mixin) {
mixinPropertiesEasy(mixin.prototype, cls.prototype);
cls.prototype.constructor = cls;
}
function mixinHard(cls, mixin) {
mixinPropertiesHard(mixin.prototype, cls.prototype);
cls.prototype.constructor = cls;
}
function lazy(holder, name, getterName, initializer) {
var uninitializedSentinel = holder;
holder[name] = uninitializedSentinel;
holder[getterName] = function() {
if (holder[name] === uninitializedSentinel) {
holder[name] = initializer();
}
holder[getterName] = function() {
return this[name];
};
return holder[name];
};
}
function lazyFinal(holder, name, getterName, initializer) {
var uninitializedSentinel = holder;
holder[name] = uninitializedSentinel;
holder[getterName] = function() {
if (holder[name] === uninitializedSentinel) {
var value = initializer();
if (holder[name] !== uninitializedSentinel) {
A.throwLateFieldADI(name);
}
holder[name] = value;
}
var finalValue = holder[name];
holder[getterName] = function() {
return finalValue;
};
return finalValue;
};
}
function makeConstList(list, rti) {
if (rti != null)
A._setArrayType(list, rti);
list.$flags = 7;
return list;
}
function convertToFastObject(properties) {
function t() {
}
t.prototype = properties;
new t();
return properties;
}
function convertAllToFastObject(arrayOfObjects) {
for (var i = 0; i < arrayOfObjects.length; ++i) {
convertToFastObject(arrayOfObjects[i]);
}
}
var functionCounter = 0;
function instanceTearOffGetter(isIntercepted, parameters) {
var cache = null;
return isIntercepted ? function(receiver) {
if (cache === null)
cache = A.closureFromTearOff(parameters);
return new cache(receiver, this);
} : function() {
if (cache === null)
cache = A.closureFromTearOff(parameters);
return new cache(this, null);
};
}
function staticTearOffGetter(parameters) {
var cache = null;
return function() {
if (cache === null)
cache = A.closureFromTearOff(parameters).prototype;
return cache;
};
}
var typesOffset = 0;
function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
if (typeof funType == "number") {
funType += typesOffset;
}
return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
}
function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
var getterFunction = staticTearOffGetter(parameters);
holder[getterName] = getterFunction;
}
function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
isIntercepted = !!isIntercepted;
var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
prototype[getterName] = getterFunction;
}
function setOrUpdateInterceptorsByTag(newTags) {
var tags = init.interceptorsByTag;
if (!tags) {
init.interceptorsByTag = newTags;
return;
}
copyProperties(newTags, tags);
}
function setOrUpdateLeafTags(newTags) {
var tags = init.leafTags;
if (!tags) {
init.leafTags = newTags;
return;
}
copyProperties(newTags, tags);
}
function updateTypes(newTypes) {
var types = init.types;
var length = types.length;
types.push.apply(types, newTypes);
return length;
}
function updateHolder(holder, newHolder) {
copyProperties(newHolder, holder);
return holder;
}
var hunkHelpers = function() {
var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
return function(container, getterName, name, funType) {
return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
};
},
mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
return function(container, getterName, name, funType) {
return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
};
};
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, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
}();
function initializeDeferredHunk(hunk) {
typesOffset = init.types.length;
hunk(hunkHelpers, init, holders, $);
}
var J = {
makeDispatchRecord(interceptor, proto, extension, indexability) {
return {i: interceptor, p: proto, e: extension, x: indexability};
},
getNativeInterceptor(object) {
var proto, objectProto, $constructor, interceptor, t1,
record = object[init.dispatchPropertyName];
if (record == null)
if ($.initNativeDispatchFlag == null) {
A.initNativeDispatch();
record = object[init.dispatchPropertyName];
}
if (record != null) {
proto = record.p;
if (false === proto)
return record.i;
if (true === proto)
return object;
objectProto = Object.getPrototypeOf(object);
if (proto === objectProto)
return record.i;
if (record.e === objectProto)
throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
}
$constructor = object.constructor;
if ($constructor == null)
interceptor = null;
else {
t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
if (t1 == null)
t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
interceptor = $constructor[t1];
}
if (interceptor != null)
return interceptor;
interceptor = A.lookupAndCacheInterceptor(object);
if (interceptor != null)
return interceptor;
if (typeof object == "function")
return B.JavaScriptFunction_methods;
proto = Object.getPrototypeOf(object);
if (proto == null)
return B.PlainJavaScriptObject_methods;
if (proto === Object.prototype)
return B.PlainJavaScriptObject_methods;
if (typeof $constructor == "function") {
t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
if (t1 == null)
t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
return B.UnknownJavaScriptObject_methods;
}
return B.UnknownJavaScriptObject_methods;
},
JSArray_JSArray$fixed($length, $E) {
if ($length < 0 || $length > 4294967295)
throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
return J.JSArray_JSArray$markFixed(new Array($length), $E);
},
JSArray_JSArray$allocateFixed($length, $E) {
if ($length > 4294967295)
throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
return J.JSArray_JSArray$markFixed(new Array($length), $E);
},
JSArray_JSArray$growable($length, $E) {
if ($length < 0)
throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
},
JSArray_JSArray$allocateGrowable($length, $E) {
if ($length < 0)
throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
},
JSArray_JSArray$markFixed(allocation, $E) {
var t1 = A._setArrayType(allocation, $E._eval$1("JSArray<0>"));
t1.$flags = 1;
return t1;
},
JSArray__compareAny(a, b) {
return J.compareTo$1$ns(a, b);
},
JSString__isWhitespace(codeUnit) {
if (codeUnit < 256)
switch (codeUnit) {
case 9:
case 10:
case 11:
case 12:
case 13:
case 32:
case 133:
case 160:
return true;
default:
return false;
}
switch (codeUnit) {
case 5760:
case 8192:
case 8193:
case 8194:
case 8195:
case 8196:
case 8197:
case 8198:
case 8199:
case 8200:
case 8201:
case 8202:
case 8232:
case 8233:
case 8239:
case 8287:
case 12288:
case 65279:
return true;
default:
return false;
}
},
JSString__skipLeadingWhitespace(string, index) {
var t1, codeUnit;
for (t1 = string.length; index < t1;) {
codeUnit = string.charCodeAt(index);
if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
break;
++index;
}
return index;
},
JSString__skipTrailingWhitespace(string, index) {
var index0, codeUnit;
for (; index > 0; index = index0) {
index0 = index - 1;
codeUnit = string.charCodeAt(index0);
if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
break;
}
return index;
},
getInterceptor$(receiver) {
if (typeof receiver == "number") {
if (Math.floor(receiver) == receiver)
return J.JSInt.prototype;
return J.JSNumNotInt.prototype;
}
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return J.JSNull.prototype;
if (typeof receiver == "boolean")
return J.JSBool.prototype;
if (Array.isArray(receiver))
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
if (typeof receiver == "symbol")
return J.JavaScriptSymbol.prototype;
if (typeof receiver == "bigint")
return J.JavaScriptBigInt.prototype;
return receiver;
}
if (receiver instanceof A.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$ansx(receiver) {
if (typeof receiver == "number")
return J.JSNumber.prototype;
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (Array.isArray(receiver))
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
if (typeof receiver == "symbol")
return J.JavaScriptSymbol.prototype;
if (typeof receiver == "bigint")
return J.JavaScriptBigInt.prototype;
return receiver;
}
if (receiver instanceof A.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$asx(receiver) {
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (Array.isArray(receiver))
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
if (typeof receiver == "symbol")
return J.JavaScriptSymbol.prototype;
if (typeof receiver == "bigint")
return J.JavaScriptBigInt.prototype;
return receiver;
}
if (receiver instanceof A.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$ax(receiver) {
if (receiver == null)
return receiver;
if (Array.isArray(receiver))
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
if (typeof receiver == "symbol")
return J.JavaScriptSymbol.prototype;
if (typeof receiver == "bigint")
return J.JavaScriptBigInt.prototype;
return receiver;
}
if (receiver instanceof A.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$in(receiver) {
if (typeof receiver == "number") {
if (Math.floor(receiver) == receiver)
return J.JSInt.prototype;
return J.JSNumNotInt.prototype;
}
if (receiver == null)
return receiver;
if (!(receiver instanceof A.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
getInterceptor$ns(receiver) {
if (typeof receiver == "number")
return J.JSNumber.prototype;
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (!(receiver instanceof A.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
getInterceptor$s(receiver) {
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (!(receiver instanceof A.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
getInterceptor$x(receiver) {
if (receiver == null)
return receiver;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
if (typeof receiver == "symbol")
return J.JavaScriptSymbol.prototype;
if (typeof receiver == "bigint")
return J.JavaScriptBigInt.prototype;
return receiver;
}
if (receiver instanceof A.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$z(receiver) {
if (receiver == null)
return receiver;
if (!(receiver instanceof A.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
set$AsyncCompiler$x(receiver, value) {
return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
},
set$CalculationInterpolation$x(receiver, value) {
return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
},
set$CalculationOperation$x(receiver, value) {
return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
},
set$Compiler$x(receiver, value) {
return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
},
set$Exception$x(receiver, value) {
return J.getInterceptor$x(receiver).set$Exception(receiver, value);
},
set$FALSE$x(receiver, value) {
return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
},
set$Logger$x(receiver, value) {
return J.getInterceptor$x(receiver).set$Logger(receiver, value);
},
set$NULL$x(receiver, value) {
return J.getInterceptor$x(receiver).set$NULL(receiver, value);
},
set$NodePackageImporter$x(receiver, value) {
return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
},
set$SassArgumentList$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
},
set$SassBoolean$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
},
set$SassCalculation$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
},
set$SassColor$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
},
set$SassFunction$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
},
set$SassList$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassList(receiver, value);
},
set$SassMap$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
},
set$SassMixin$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
},
set$SassNumber$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
},
set$SassString$x(receiver, value) {
return J.getInterceptor$x(receiver).set$SassString(receiver, value);
},
set$TRUE$x(receiver, value) {
return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
},
set$Value$x(receiver, value) {
return J.getInterceptor$x(receiver).set$Value(receiver, value);
},
set$Version$x(receiver, value) {
return J.getInterceptor$x(receiver).set$Version(receiver, value);
},
set$cli_pkg_main_0_$x(receiver, value) {
return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
},
set$compile$x(receiver, value) {
return J.getInterceptor$x(receiver).set$compile(receiver, value);
},
set$compileAsync$x(receiver, value) {
return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
},
set$compileString$x(receiver, value) {
return J.getInterceptor$x(receiver).set$compileString(receiver, value);
},
set$compileStringAsync$x(receiver, value) {
return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
},
set$context$x(receiver, value) {
return J.getInterceptor$x(receiver).set$context(receiver, value);
},
set$dartValue$x(receiver, value) {
return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
},
set$deprecations$x(receiver, value) {
return J.getInterceptor$x(receiver).set$deprecations(receiver, value);
},
set$exitCode$x(receiver, value) {
return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
},
set$info$x(receiver, value) {
return J.getInterceptor$x(receiver).set$info(receiver, value);
},
set$initAsyncCompiler$x(receiver, value) {
return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
},
set$initCompiler$x(receiver, value) {
return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
},
set$length$asx(receiver, value) {
return J.getInterceptor$asx(receiver).set$length(receiver, value);
},
set$loadParserExports_$x(receiver, value) {
return J.getInterceptor$x(receiver).set$loadParserExports_(receiver, value);
},
set$render$x(receiver, value) {
return J.getInterceptor$x(receiver).set$render(receiver, value);
},
set$renderSync$x(receiver, value) {
return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
},
set$sassFalse$x(receiver, value) {
return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
},
set$sassNull$x(receiver, value) {
return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
},
set$sassTrue$x(receiver, value) {
return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
},
set$types$x(receiver, value) {
return J.getInterceptor$x(receiver).set$types(receiver, value);
},
get$$prototype$x(receiver) {
return J.getInterceptor$x(receiver).get$$prototype(receiver);
},
get$_dartException$x(receiver) {
return J.getInterceptor$x(receiver).get$_dartException(receiver);
},
get$alertAscii$x(receiver) {
return J.getInterceptor$x(receiver).get$alertAscii(receiver);
},
get$alertColor$x(receiver) {
return J.getInterceptor$x(receiver).get$alertColor(receiver);
},
get$argv$x(receiver) {
return J.getInterceptor$x(receiver).get$argv(receiver);
},
get$brackets$x(receiver) {
return J.getInterceptor$x(receiver).get$brackets(receiver);
},
get$charset$x(receiver) {
return J.getInterceptor$x(receiver).get$charset(receiver);
},
get$code$x(receiver) {
return J.getInterceptor$x(receiver).get$code(receiver);
},
get$current$x(receiver) {
return J.getInterceptor$x(receiver).get$current(receiver);
},
get$dartValue$x(receiver) {
return J.getInterceptor$x(receiver).get$dartValue(receiver);
},
get$debug$x(receiver) {
return J.getInterceptor$x(receiver).get$debug(receiver);
},
get$denominatorUnits$x(receiver) {
return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
},
get$env$x(receiver) {
return J.getInterceptor$x(receiver).get$env(receiver);
},
get$exitCode$x(receiver) {
return J.getInterceptor$x(receiver).get$exitCode(receiver);
},
get$fatalDeprecations$x(receiver) {
return J.getInterceptor$x(receiver).get$fatalDeprecations(receiver);
},
get$fiber$x(receiver) {
return J.getInterceptor$x(receiver).get$fiber(receiver);
},
get$file$x(receiver) {
return J.getInterceptor$x(receiver).get$file(receiver);
},
get$filename$x(receiver) {
return J.getInterceptor$x(receiver).get$filename(receiver);
},
get$first$ax(receiver) {
return J.getInterceptor$ax(receiver).get$first(receiver);
},
get$functions$x(receiver) {
return J.getInterceptor$x(receiver).get$functions(receiver);
},
get$futureDeprecations$x(receiver) {
return J.getInterceptor$x(receiver).get$futureDeprecations(receiver);
},
get$hashCode$(receiver) {
return J.getInterceptor$(receiver).get$hashCode(receiver);
},
get$id$x(receiver) {
return J.getInterceptor$x(receiver).get$id(receiver);
},
get$importer$x(receiver) {
return J.getInterceptor$x(receiver).get$importer(receiver);
},
get$importers$x(receiver) {
return J.getInterceptor$x(receiver).get$importers(receiver);
},
get$isEmpty$asx(receiver) {
return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
},
get$isNotEmpty$asx(receiver) {
return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
},
get$isTTY$x(receiver) {
return J.getInterceptor$x(receiver).get$isTTY(receiver);
},
get$iterator$ax(receiver) {
return J.getInterceptor$ax(receiver).get$iterator(receiver);
},
get$last$ax(receiver) {
return J.getInterceptor$ax(receiver).get$last(receiver);
},
get$length$asx(receiver) {
return J.getInterceptor$asx(receiver).get$length(receiver);
},
get$loadPaths$x(receiver) {
return J.getInterceptor$x(receiver).get$loadPaths(receiver);
},
get$logger$x(receiver) {
return J.getInterceptor$x(receiver).get$logger(receiver);
},
get$message$x(receiver) {
return J.getInterceptor$x(receiver).get$message(receiver);
},
get$method$x(receiver) {
return J.getInterceptor$x(receiver).get$method(receiver);
},
get$mtime$x(receiver) {
return J.getInterceptor$x(receiver).get$mtime(receiver);
},
get$name$x(receiver) {
return J.getInterceptor$x(receiver).get$name(receiver);
},
get$numeratorUnits$x(receiver) {
return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
},
get$options$x(receiver) {
return J.getInterceptor$x(receiver).get$options(receiver);
},
get$parent$z(receiver) {
return J.getInterceptor$z(receiver).get$parent(receiver);
},
get$path$x(receiver) {
return J.getInterceptor$x(receiver).get$path(receiver);
},
get$platform$x(receiver) {
return J.getInterceptor$x(receiver).get$platform(receiver);
},
get$quietDeps$x(receiver) {
return J.getInterceptor$x(receiver).get$quietDeps(receiver);
},
get$quotes$x(receiver) {
return J.getInterceptor$x(receiver).get$quotes(receiver);
},
get$realpathSync$x(receiver) {
return J.getInterceptor$x(receiver).get$realpathSync(receiver);
},
get$release$x(receiver) {
return J.getInterceptor$x(receiver).get$release(receiver);
},
get$reversed$ax(receiver) {
return J.getInterceptor$ax(receiver).get$reversed(receiver);
},
get$runtimeType$(receiver) {
return J.getInterceptor$(receiver).get$runtimeType(receiver);
},
get$separator$x(receiver) {
return J.getInterceptor$x(receiver).get$separator(receiver);
},
get$sign$in(receiver) {
if (typeof receiver === "number")
return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
return J.getInterceptor$in(receiver).get$sign(receiver);
},
get$silenceDeprecations$x(receiver) {
return J.getInterceptor$x(receiver).get$silenceDeprecations(receiver);
},
get$single$ax(receiver) {
return J.getInterceptor$ax(receiver).get$single(receiver);
},
get$sourceMap$x(receiver) {
return J.getInterceptor$x(receiver).get$sourceMap(receiver);
},
get$sourceMapIncludeSources$x(receiver) {
return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
},
get$space$x(receiver) {
return J.getInterceptor$x(receiver).get$space(receiver);
},
get$span$z(receiver) {
return J.getInterceptor$z(receiver).get$span(receiver);
},
get$stderr$x(receiver) {
return J.getInterceptor$x(receiver).get$stderr(receiver);
},
get$stdout$x(receiver) {
return J.getInterceptor$x(receiver).get$stdout(receiver);
},
get$style$x(receiver) {
return J.getInterceptor$x(receiver).get$style(receiver);
},
get$syntax$x(receiver) {
return J.getInterceptor$x(receiver).get$syntax(receiver);
},
get$trace$z(receiver) {
return J.getInterceptor$z(receiver).get$trace(receiver);
},
get$url$x(receiver) {
return J.getInterceptor$x(receiver).get$url(receiver);
},
get$verbose$x(receiver) {
return J.getInterceptor$x(receiver).get$verbose(receiver);
},
get$warn$x(receiver) {
return J.getInterceptor$x(receiver).get$warn(receiver);
},
get$weight$x(receiver) {
return J.getInterceptor$x(receiver).get$weight(receiver);
},
$add$ansx(receiver, a0) {
if (typeof receiver == "number" && typeof a0 == "number")
return receiver + a0;
return J.getInterceptor$ansx(receiver).$add(receiver, a0);
},
$eq$(receiver, a0) {
if (receiver == null)
return a0 == null;
if (typeof receiver != "object")
return a0 != null && receiver === a0;
return J.getInterceptor$(receiver).$eq(receiver, a0);
},
$index$asx(receiver, a0) {
if (typeof a0 === "number")
if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
if (a0 >>> 0 === a0 && a0 < receiver.length)
return receiver[a0];
return J.getInterceptor$asx(receiver).$index(receiver, a0);
},
$indexSet$ax(receiver, a0, a1) {
if (typeof a0 === "number")
if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !(receiver.$flags & 2) && a0 >>> 0 === a0 && a0 < receiver.length)
return receiver[a0] = a1;
return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
},
$set$2$x(receiver, a0, a1) {
return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
},
add$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).add$1(receiver, a0);
},
addAll$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
},
allMatches$1$s(receiver, a0) {
return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
},
allMatches$2$s(receiver, a0, a1) {
return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
},
any$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).any$1(receiver, a0);
},
apply$2$x(receiver, a0, a1) {
return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
},
asImmutable$0$x(receiver) {
return J.getInterceptor$x(receiver).asImmutable$0(receiver);
},
asMutable$0$x(receiver) {
return J.getInterceptor$x(receiver).asMutable$0(receiver);
},
canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
},
cast$1$0$ax(receiver, $T1) {
return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
},
close$0$x(receiver) {
return J.getInterceptor$x(receiver).close$0(receiver);
},
codeUnitAt$1$s(receiver, a0) {
return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
},
compareTo$1$ns(receiver, a0) {
return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
},
contains$1$asx(receiver, a0) {
return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
},
createInterface$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
},
createRequire$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
},
elementAt$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
},
error$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).error$1(receiver, a0);
},
every$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).every$1(receiver, a0);
},
existsSync$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
},
expand$1$1$ax(receiver, a0, $T1) {
return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
},
fillRange$3$ax(receiver, a0, a1, a2) {
return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
},
fold$2$ax(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
},
forEach$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
},
getRange$2$ax(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
},
getTime$0$x(receiver) {
return J.getInterceptor$x(receiver).getTime$0(receiver);
},
isDirectory$0$x(receiver) {
return J.getInterceptor$x(receiver).isDirectory$0(receiver);
},
isFile$0$x(receiver) {
return J.getInterceptor$x(receiver).isFile$0(receiver);
},
isSymbolicLink$0$x(receiver) {
return J.getInterceptor$x(receiver).isSymbolicLink$0(receiver);
},
join$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).join$1(receiver, a0);
},
log$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).log$1(receiver, a0);
},
lstatSync$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).lstatSync$1(receiver, a0);
},
map$1$1$ax(receiver, a0, $T1) {
return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
},
matchAsPrefix$2$s(receiver, a0, a1) {
return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
},
mkdirSync$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
},
native$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).native$1(receiver, a0);
},
noSuchMethod$1$(receiver, a0) {
return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
},
on$2$x(receiver, a0, a1) {
return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
},
parse$0$z(receiver) {
return J.getInterceptor$z(receiver).parse$0(receiver);
},
readFileSync$2$x(receiver, a0, a1) {
return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
},
readdirSync$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
},
removeRange$2$ax(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
},
replaceFirst$2$s(receiver, a0, a1) {
return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
},
resolve$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
},
run$0$x(receiver) {
return J.getInterceptor$x(receiver).run$0(receiver);
},
run$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).run$1(receiver, a0);
},
setRange$4$ax(receiver, a0, a1, a2, a3) {
return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
},
skip$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
},
sort$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
},
startsWith$1$s(receiver, a0) {
return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
},
statSync$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
},
sublist$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
},
substring$2$s(receiver, a0, a1) {
return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
},
take$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).take$1(receiver, a0);
},
then$1$2$onError$x(receiver, a0, a1, $T1) {
return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
},
then$2$x(receiver, a0, a1) {
return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
},
toArray$0$x(receiver) {
return J.getInterceptor$x(receiver).toArray$0(receiver);
},
toList$0$ax(receiver) {
return J.getInterceptor$ax(receiver).toList$0(receiver);
},
toString$0$(receiver) {
return J.getInterceptor$(receiver).toString$0(receiver);
},
toString$1$color$(receiver, a0) {
return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
},
trim$0$s(receiver) {
return J.getInterceptor$s(receiver).trim$0(receiver);
},
unlinkSync$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
},
visitAtRootRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitAtRootRule$1(receiver, a0);
},
visitAtRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitAtRule$1(receiver, a0);
},
visitBinaryOperationExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitBinaryOperationExpression$1(receiver, a0);
},
visitBooleanExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitBooleanExpression$1(receiver, a0);
},
visitColorExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitColorExpression$1(receiver, a0);
},
visitContentBlock$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitContentBlock$1(receiver, a0);
},
visitContentRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitContentRule$1(receiver, a0);
},
visitDebugRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitDebugRule$1(receiver, a0);
},
visitDeclaration$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitDeclaration$1(receiver, a0);
},
visitEachRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitEachRule$1(receiver, a0);
},
visitErrorRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitErrorRule$1(receiver, a0);
},
visitExtendRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitExtendRule$1(receiver, a0);
},
visitForRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitForRule$1(receiver, a0);
},
visitForwardRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitForwardRule$1(receiver, a0);
},
visitFunctionExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitFunctionExpression$1(receiver, a0);
},
visitFunctionRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitFunctionRule$1(receiver, a0);
},
visitIfExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitIfExpression$1(receiver, a0);
},
visitIfRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitIfRule$1(receiver, a0);
},
visitImportRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitImportRule$1(receiver, a0);
},
visitIncludeRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitIncludeRule$1(receiver, a0);
},
visitInterpolatedFunctionExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitInterpolatedFunctionExpression$1(receiver, a0);
},
visitListExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitListExpression$1(receiver, a0);
},
visitLoudComment$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitLoudComment$1(receiver, a0);
},
visitMapExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitMapExpression$1(receiver, a0);
},
visitMediaRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitMediaRule$1(receiver, a0);
},
visitMixinRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitMixinRule$1(receiver, a0);
},
visitNullExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitNullExpression$1(receiver, a0);
},
visitNumberExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitNumberExpression$1(receiver, a0);
},
visitParenthesizedExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitParenthesizedExpression$1(receiver, a0);
},
visitReturnRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitReturnRule$1(receiver, a0);
},
visitSelectorExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitSelectorExpression$1(receiver, a0);
},
visitSilentComment$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitSilentComment$1(receiver, a0);
},
visitStringExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitStringExpression$1(receiver, a0);
},
visitStyleRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitStyleRule$1(receiver, a0);
},
visitStylesheet$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitStylesheet$1(receiver, a0);
},
visitSupportsExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitSupportsExpression$1(receiver, a0);
},
visitSupportsRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitSupportsRule$1(receiver, a0);
},
visitUnaryOperationExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitUnaryOperationExpression$1(receiver, a0);
},
visitUseRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitUseRule$1(receiver, a0);
},
visitValueExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitValueExpression$1(receiver, a0);
},
visitVariableDeclaration$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitVariableDeclaration$1(receiver, a0);
},
visitVariableExpression$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitVariableExpression$1(receiver, a0);
},
visitWarnRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitWarnRule$1(receiver, a0);
},
visitWhileRule$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).visitWhileRule$1(receiver, a0);
},
watch$2$x(receiver, a0, a1) {
return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
},
where$1$ax(receiver, a0) {
return J.getInterceptor$ax(receiver).where$1(receiver, a0);
},
write$1$x(receiver, a0) {
return J.getInterceptor$x(receiver).write$1(receiver, a0);
},
writeFileSync$2$x(receiver, a0, a1) {
return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
},
yield$0$x(receiver) {
return J.getInterceptor$x(receiver).yield$0(receiver);
},
Interceptor: function Interceptor() {
},
JSBool: function JSBool() {
},
JSNull: function JSNull() {
},
JavaScriptObject: function JavaScriptObject() {
},
LegacyJavaScriptObject: function LegacyJavaScriptObject() {
},
PlainJavaScriptObject: function PlainJavaScriptObject() {
},
UnknownJavaScriptObject: function UnknownJavaScriptObject() {
},
JavaScriptFunction: function JavaScriptFunction() {
},
JavaScriptBigInt: function JavaScriptBigInt() {
},
JavaScriptSymbol: function JavaScriptSymbol() {
},
JSArray: function JSArray(t0) {
this.$ti = t0;
},
JSArraySafeToStringHook: function JSArraySafeToStringHook() {
},
JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
this.$ti = t0;
},
ArrayIterator: function ArrayIterator(t0, t1, t2) {
var _ = this;
_._iterable = t0;
_._length = t1;
_._index = 0;
_._current = null;
_.$ti = t2;
},
JSNumber: function JSNumber() {
},
JSInt: function JSInt() {
},
JSNumNotInt: function JSNumNotInt() {
},
JSString: function JSString() {
}
},
A = {JS_CONST: function JS_CONST() {
},
CastIterable_CastIterable(source, $S, $T) {
if (type$.EfficientLengthIterable_dynamic._is(source))
return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
},
LateError$fieldADI(fieldName) {
return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
},
LateError$fieldNI(fieldName) {
return new A.LateError("Field '" + fieldName + "' has not been initialized.");
},
LateError$localNI(localName) {
return new A.LateError("Local '" + localName + "' has not been initialized.");
},
LateError$fieldAI(fieldName) {
return new A.LateError("Field '" + fieldName + "' has already been initialized.");
},
hexDigitValue(char) {
var letter,
digit = char ^ 48;
if (digit <= 9)
return digit;
letter = char | 32;
if (97 <= letter && letter <= 102)
return letter - 87;
return -1;
},
SystemHash_combine(hash, value) {
hash = hash + value & 536870911;
hash = hash + ((hash & 524287) << 10) & 536870911;
return hash ^ hash >>> 6;
},
SystemHash_finish(hash) {
hash = hash + ((hash & 67108863) << 3) & 536870911;
hash ^= hash >>> 11;
return hash + ((hash & 16383) << 15) & 536870911;
},
checkNotNullable(value, $name, $T) {
return value;
},
isToStringVisiting(object) {
var t1, i;
for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
if (object === $.toStringVisiting[i])
return true;
return false;
},
SubListIterable$(_iterable, _start, _endOrLength, $E) {
A.RangeError_checkNotNegative(_start, "start");
if (_endOrLength != null) {
A.RangeError_checkNotNegative(_endOrLength, "end");
if (_start > _endOrLength)
A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
}
return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
},
MappedIterable_MappedIterable(iterable, $function, $S, $T) {
if (type$.EfficientLengthIterable_dynamic._is(iterable))
return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
},
TakeIterable_TakeIterable(iterable, takeCount, $E) {
var _s9_ = "takeCount";
A.ArgumentError_checkNotNull(takeCount, _s9_);
A.RangeError_checkNotNegative(takeCount, _s9_);
if (type$.EfficientLengthIterable_dynamic._is(iterable))
return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
},
SkipIterable_SkipIterable(iterable, count, $E) {
var _s5_ = "count";
if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
A.ArgumentError_checkNotNull(count, _s5_);
A.RangeError_checkNotNegative(count, _s5_);
return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
}
A.ArgumentError_checkNotNull(count, _s5_);
A.RangeError_checkNotNegative(count, _s5_);
return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
},
FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
if (type$.EfficientLengthIterable_dynamic._is(second))
return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
},
IterableElementError_noElement() {
return new A.StateError("No element");
},
IterableElementError_tooMany() {
return new A.StateError("Too many elements");
},
IterableElementError_tooFew() {
return new A.StateError("Too few elements");
},
Sort__doSort(a, left, right, compare) {
if (right - left <= 32)
A.Sort__insertionSort(a, left, right, compare);
else
A.Sort__dualPivotQuicksort(a, left, right, compare);
},
Sort__insertionSort(a, left, right, compare) {
var i, t1, el, j, j0;
for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
el = t1.$index(a, i);
j = i;
while (true) {
if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
break;
j0 = j - 1;
t1.$indexSet(a, j, t1.$index(a, j0));
j = j0;
}
t1.$indexSet(a, j, el);
}
},
Sort__dualPivotQuicksort(a, left, right, compare) {
var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, t2,
sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
index1 = left + sixth,
index5 = right - sixth,
index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
index2 = index3 - sixth,
index4 = index3 + sixth,
t1 = J.getInterceptor$asx(a),
el1 = t1.$index(a, index1),
el2 = t1.$index(a, index2),
el3 = t1.$index(a, index3),
el4 = t1.$index(a, index4),
el5 = t1.$index(a, index5);
if (compare.call$2(el1, el2) > 0) {
t0 = el2;
el2 = el1;
el1 = t0;
}
if (compare.call$2(el4, el5) > 0) {
t0 = el5;
el5 = el4;
el4 = t0;
}
if (compare.call$2(el1, el3) > 0) {
t0 = el3;
el3 = el1;
el1 = t0;
}
if (compare.call$2(el2, el3) > 0) {
t0 = el3;
el3 = el2;
el2 = t0;
}
if (compare.call$2(el1, el4) > 0) {
t0 = el4;
el4 = el1;
el1 = t0;
}
if (compare.call$2(el3, el4) > 0) {
t0 = el4;
el4 = el3;
el3 = t0;
}
if (compare.call$2(el2, el5) > 0) {
t0 = el5;
el5 = el2;
el2 = t0;
}
if (compare.call$2(el2, el3) > 0) {
t0 = el3;
el3 = el2;
el2 = t0;
}
if (compare.call$2(el4, el5) > 0) {
t0 = el5;
el5 = el4;
el4 = t0;
}
t1.$indexSet(a, index1, el1);
t1.$indexSet(a, index3, el3);
t1.$indexSet(a, index5, el5);
t1.$indexSet(a, index2, t1.$index(a, left));
t1.$indexSet(a, index4, t1.$index(a, right));
less = left + 1;
great = right - 1;
pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0);
if (pivots_are_equal)
for (k = less; k <= great; ++k) {
ak = t1.$index(a, k);
comp = compare.call$2(ak, el2);
if (comp === 0)
continue;
if (comp < 0) {
if (k !== less) {
t1.$indexSet(a, k, t1.$index(a, less));
t1.$indexSet(a, less, ak);
}
++less;
} else
for (; true;) {
comp = compare.call$2(t1.$index(a, great), el2);
if (comp > 0) {
--great;
continue;
} else {
great0 = great - 1;
if (comp < 0) {
t1.$indexSet(a, k, t1.$index(a, less));
less0 = less + 1;
t1.$indexSet(a, less, t1.$index(a, great));
t1.$indexSet(a, great, ak);
great = great0;
less = less0;
break;
} else {
t1.$indexSet(a, k, t1.$index(a, great));
t1.$indexSet(a, great, ak);
great = great0;
break;
}
}
}
}
else
for (k = less; k <= great; ++k) {
ak = t1.$index(a, k);
if (compare.call$2(ak, el2) < 0) {
if (k !== less) {
t1.$indexSet(a, k, t1.$index(a, less));
t1.$indexSet(a, less, ak);
}
++less;
} else if (compare.call$2(ak, el4) > 0)
for (; true;)
if (compare.call$2(t1.$index(a, great), el4) > 0) {
--great;
if (great < k)
break;
continue;
} else {
great0 = great - 1;
if (compare.call$2(t1.$index(a, great), el2) < 0) {
t1.$indexSet(a, k, t1.$index(a, less));
less0 = less + 1;
t1.$indexSet(a, less, t1.$index(a, great));
t1.$indexSet(a, great, ak);
less = less0;
} else {
t1.$indexSet(a, k, t1.$index(a, great));
t1.$indexSet(a, great, ak);
}
great = great0;
break;
}
}
t2 = less - 1;
t1.$indexSet(a, left, t1.$index(a, t2));
t1.$indexSet(a, t2, el2);
t2 = great + 1;
t1.$indexSet(a, right, t1.$index(a, t2));
t1.$indexSet(a, t2, el4);
A.Sort__doSort(a, left, less - 2, compare);
A.Sort__doSort(a, great + 2, right, compare);
if (pivots_are_equal)
return;
if (less < index1 && great > index5) {
for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
++less;
for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
--great;
for (k = less; k <= great; ++k) {
ak = t1.$index(a, k);
if (compare.call$2(ak, el2) === 0) {
if (k !== less) {
t1.$indexSet(a, k, t1.$index(a, less));
t1.$indexSet(a, less, ak);
}
++less;
} else if (compare.call$2(ak, el4) === 0)
for (; true;)
if (compare.call$2(t1.$index(a, great), el4) === 0) {
--great;
if (great < k)
break;
continue;
} else {
great0 = great - 1;
if (compare.call$2(t1.$index(a, great), el2) < 0) {
t1.$indexSet(a, k, t1.$index(a, less));
less0 = less + 1;
t1.$indexSet(a, less, t1.$index(a, great));
t1.$indexSet(a, great, ak);
less = less0;
} else {
t1.$indexSet(a, k, t1.$index(a, great));
t1.$indexSet(a, great, ak);
}
great = great0;
break;
}
}
A.Sort__doSort(a, less, great, compare);
} else
A.Sort__doSort(a, less, great, compare);
},
_CastIterableBase: function _CastIterableBase() {
},
CastIterator: function CastIterator(t0, t1) {
this._source = t0;
this.$ti = t1;
},
CastIterable: function CastIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
_EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
_CastListBase: function _CastListBase() {
},
_CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
this.$this = t0;
this.compare = t1;
},
CastList: function CastList(t0, t1) {
this._source = t0;
this.$ti = t1;
},
CastSet: function CastSet(t0, t1, t2) {
this._source = t0;
this._emptySet = t1;
this.$ti = t2;
},
CastMap: function CastMap(t0, t1) {
this._source = t0;
this.$ti = t1;
},
CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
this.$this = t0;
this.f = t1;
},
CastMap_entries_closure: function CastMap_entries_closure(t0) {
this.$this = t0;
},
LateError: function LateError(t0) {
this._message = t0;
},
CodeUnits: function CodeUnits(t0) {
this._string = t0;
},
nullFuture_closure: function nullFuture_closure() {
},
SentinelValue: function SentinelValue() {
},
EfficientLengthIterable: function EfficientLengthIterable() {
},
ListIterable: function ListIterable() {
},
SubListIterable: function SubListIterable(t0, t1, t2, t3) {
var _ = this;
_.__internal$_iterable = t0;
_._start = t1;
_._endOrLength = t2;
_.$ti = t3;
},
ListIterator: function ListIterator(t0, t1, t2) {
var _ = this;
_.__internal$_iterable = t0;
_.__internal$_length = t1;
_.__internal$_index = 0;
_.__internal$_current = null;
_.$ti = t2;
},
MappedIterable: function MappedIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._f = t1;
this.$ti = t2;
},
EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._f = t1;
this.$ti = t2;
},
MappedIterator: function MappedIterator(t0, t1, t2) {
var _ = this;
_.__internal$_current = null;
_._iterator = t0;
_._f = t1;
_.$ti = t2;
},
MappedListIterable: function MappedListIterable(t0, t1, t2) {
this._source = t0;
this._f = t1;
this.$ti = t2;
},
WhereIterable: function WhereIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._f = t1;
this.$ti = t2;
},
WhereIterator: function WhereIterator(t0, t1) {
this._iterator = t0;
this._f = t1;
},
ExpandIterable: function ExpandIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._f = t1;
this.$ti = t2;
},
ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
var _ = this;
_._iterator = t0;
_._f = t1;
_._currentExpansion = t2;
_.__internal$_current = null;
_.$ti = t3;
},
TakeIterable: function TakeIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._takeCount = t1;
this.$ti = t2;
},
EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._takeCount = t1;
this.$ti = t2;
},
TakeIterator: function TakeIterator(t0, t1, t2) {
this._iterator = t0;
this._remaining = t1;
this.$ti = t2;
},
SkipIterable: function SkipIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._skipCount = t1;
this.$ti = t2;
},
EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._skipCount = t1;
this.$ti = t2;
},
SkipIterator: function SkipIterator(t0, t1) {
this._iterator = t0;
this._skipCount = t1;
},
SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
this.__internal$_iterable = t0;
this._f = t1;
this.$ti = t2;
},
SkipWhileIterator: function SkipWhileIterator(t0, t1) {
this._iterator = t0;
this._f = t1;
this._hasSkipped = false;
},
EmptyIterable: function EmptyIterable(t0) {
this.$ti = t0;
},
EmptyIterator: function EmptyIterator() {
},
FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
this.__internal$_first = t0;
this._second = t1;
this.$ti = t2;
},
EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
this.__internal$_first = t0;
this._second = t1;
this.$ti = t2;
},
FollowedByIterator: function FollowedByIterator(t0, t1) {
this._currentIterator = t0;
this._nextIterable = t1;
},
WhereTypeIterable: function WhereTypeIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
WhereTypeIterator: function WhereTypeIterator(t0, t1) {
this._source = t0;
this.$ti = t1;
},
NonNullsIterable: function NonNullsIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
NonNullsIterator: function NonNullsIterator(t0) {
this._source = t0;
this.__internal$_current = null;
},
FixedLengthListMixin: function FixedLengthListMixin() {
},
UnmodifiableListMixin: function UnmodifiableListMixin() {
},
UnmodifiableListBase: function UnmodifiableListBase() {
},
ReversedListIterable: function ReversedListIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
Symbol: function Symbol(t0) {
this.__internal$_name = t0;
},
__CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
},
ConstantMap_ConstantMap$from(other, $K, $V) {
var allStrings, k, object, index, index0, map,
keys = A.List_List$from(other.get$keys(other), true, $K),
t1 = keys.length,
_i = 0;
while (true) {
if (!(_i < t1)) {
allStrings = true;
break;
}
k = keys[_i];
if (typeof k != "string" || "__proto__" === k) {
allStrings = false;
break;
}
++_i;
}
if (allStrings) {
object = {};
for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
k = keys[_i];
other.$index(0, k);
index0 = index + 1;
object[k] = index;
}
map = new A.ConstantStringMap(object, A.List_List$from(other.get$values(other), true, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
map.$keys = keys;
return map;
}
return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
},
ConstantMap__throwUnmodifiable() {
throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
},
ConstantSet__throwUnmodifiable() {
throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
},
instantiate1(f, $T1) {
var t1 = new A.Instantiation1(f, $T1._eval$1("Instantiation1<0>"));
t1.Instantiation$1(f);
return t1;
},
unminifyOrTag(rawClassName) {
var preserved = init.mangledGlobalNames[rawClassName];
if (preserved != null)
return preserved;
return rawClassName;
},
isJsIndexable(object, record) {
var result;
if (record != null) {
result = record.x;
if (result != null)
return result;
}
return type$.JavaScriptIndexingBehavior_dynamic._is(object);
},
S(value) {
var result;
if (typeof value == "string")
return value;
if (typeof value == "number") {
if (value !== 0)
return "" + value;
} else if (true === value)
return "true";
else if (false === value)
return "false";
else if (value == null)
return "null";
result = J.toString$0$(value);
return result;
},
JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
},
Primitives_objectHashCode(object) {
var hash,
property = $.Primitives__identityHashCodeProperty;
if (property == null)
property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
hash = object[property];
if (hash == null) {
hash = Math.random() * 0x3fffffff | 0;
object[property] = hash;
}
return hash;
},
Primitives_parseInt(source, radix) {
var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
if (match == null)
return _null;
decimalMatch = match[3];
if (radix == null) {
if (decimalMatch != null)
return parseInt(source, 10);
if (match[2] != null)
return parseInt(source, 16);
return _null;
}
if (radix < 2 || radix > 36)
throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
if (radix === 10 && decimalMatch != null)
return parseInt(source, 10);
if (radix < 10 || decimalMatch == null) {
maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
digitsPart = match[1];
for (t1 = digitsPart.length, i = 0; i < t1; ++i)
if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
return _null;
}
return parseInt(source, radix);
},
Primitives_parseDouble(source) {
var result, trimmed;
if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
return null;
result = parseFloat(source);
if (isNaN(result)) {
trimmed = B.JSString_methods.trim$0(source);
if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
return result;
return null;
}
return result;
},
Primitives_objectTypeName(object) {
var interceptor, dispatchName, $constructor, constructorName;
if (object instanceof A.Object)
return A._rtiToString(A.instanceType(object), null);
interceptor = J.getInterceptor$(object);
if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
dispatchName = B.C_JS_CONST(object);
if (dispatchName !== "Object" && dispatchName !== "")
return dispatchName;
$constructor = object.constructor;
if (typeof $constructor == "function") {
constructorName = $constructor.name;
if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
return constructorName;
}
}
return A._rtiToString(A.instanceType(object), null);
},
Primitives_safeToString(object) {
var hooks, i, hookResult;
if (object == null || typeof object == "number" || A._isBool(object))
return J.toString$0$(object);
if (typeof object == "string")
return JSON.stringify(object);
if (object instanceof A.Closure)
return object.toString$0(0);
if (object instanceof A._Record)
return object._toString$1(true);
hooks = $.$get$_safeToStringHooks();
for (i = 0; i < 1; ++i) {
hookResult = hooks[i].tryFormat$1(object);
if (hookResult != null)
return hookResult;
}
return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
},
Primitives_currentUri() {
if (!!self.location)
return self.location.href;
return null;
},
Primitives__fromCharCodeApply(array) {
var result, i, i0, chunkEnd,
end = array.length;
if (end <= 500)
return String.fromCharCode.apply(null, array);
for (result = "", i = 0; i < end; i = i0) {
i0 = i + 500;
chunkEnd = i0 < end ? i0 : end;
result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
}
return result;
},
Primitives_stringFromCodePoints(codePoints) {
var t1, _i, i,
a = A._setArrayType([], type$.JSArray_int);
for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
i = codePoints[_i];
if (!A._isInt(i))
throw A.wrapException(A.argumentErrorValue(i));
if (i <= 65535)
a.push(i);
else if (i <= 1114111) {
a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
a.push(56320 + (i & 1023));
} else
throw A.wrapException(A.argumentErrorValue(i));
}
return A.Primitives__fromCharCodeApply(a);
},
Primitives_stringFromCharCodes(charCodes) {
var t1, _i, i;
for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
i = charCodes[_i];
if (!A._isInt(i))
throw A.wrapException(A.argumentErrorValue(i));
if (i < 0)
throw A.wrapException(A.argumentErrorValue(i));
if (i > 65535)
return A.Primitives_stringFromCodePoints(charCodes);
}
return A.Primitives__fromCharCodeApply(charCodes);
},
Primitives_stringFromNativeUint8List(charCodes, start, end) {
var i, result, i0, chunkEnd;
if (end <= 500 && start === 0 && end === charCodes.length)
return String.fromCharCode.apply(null, charCodes);
for (i = start, result = ""; i < end; i = i0) {
i0 = i + 500;
chunkEnd = i0 < end ? i0 : end;
result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
}
return result;
},
Primitives_stringFromCharCode(charCode) {
var bits;
if (0 <= charCode) {
if (charCode <= 65535)
return String.fromCharCode(charCode);
if (charCode <= 1114111) {
bits = charCode - 65536;
return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
}
}
throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
},
Primitives_lazyAsJsDate(receiver) {
if (receiver.date === void 0)
receiver.date = new Date(receiver._value);
return receiver.date;
},
Primitives_getYear(receiver) {
var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
return t1;
},
Primitives_getMonth(receiver) {
var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
return t1;
},
Primitives_getDay(receiver) {
var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
return t1;
},
Primitives_getHours(receiver) {
var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
return t1;
},
Primitives_getMinutes(receiver) {
var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
return t1;
},
Primitives_getSeconds(receiver) {
var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
return t1;
},
Primitives_getMilliseconds(receiver) {
var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
return t1;
},
Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
var $arguments, namedArgumentList, t1 = {};
t1.argumentCount = 0;
$arguments = [];
namedArgumentList = [];
t1.argumentCount = positionalArguments.length;
B.JSArray_methods.addAll$1($arguments, positionalArguments);
t1.names = "";
if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
},
Primitives_applyFunction($function, positionalArguments, namedArguments) {
var t1, argumentCount, jsStub;
if (Array.isArray(positionalArguments))
t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
else
t1 = false;
if (t1) {
argumentCount = positionalArguments.length;
if (argumentCount === 0) {
if (!!$function.call$0)
return $function.call$0();
} else if (argumentCount === 1) {
if (!!$function.call$1)
return $function.call$1(positionalArguments[0]);
} else if (argumentCount === 2) {
if (!!$function.call$2)
return $function.call$2(positionalArguments[0], positionalArguments[1]);
} else if (argumentCount === 3) {
if (!!$function.call$3)
return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
} else if (argumentCount === 4) {
if (!!$function.call$4)
return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
} else if (argumentCount === 5)
if (!!$function.call$5)
return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
jsStub = $function["call" + "$" + argumentCount];
if (jsStub != null)
return jsStub.apply($function, positionalArguments);
}
return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
},
Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2;
if (Array.isArray(positionalArguments))
$arguments = positionalArguments;
else
$arguments = A.List_List$_of(positionalArguments, type$.dynamic);
argumentCount = $arguments.length;
requiredParameterCount = $function.$requiredArgCount;
if (argumentCount < requiredParameterCount)
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
defaultValuesClosure = $function.$defaultValues;
t1 = defaultValuesClosure == null;
defaultValues = !t1 ? defaultValuesClosure() : null;
interceptor = J.getInterceptor$($function);
jsFunction = interceptor["call*"];
if (typeof jsFunction == "string")
jsFunction = interceptor[jsFunction];
if (t1) {
if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
if (argumentCount === requiredParameterCount)
return jsFunction.apply($function, $arguments);
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
}
if (Array.isArray(defaultValues)) {
if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
maxArguments = requiredParameterCount + defaultValues.length;
if (argumentCount > maxArguments)
return A.Primitives_functionNoSuchMethod($function, $arguments, null);
if (argumentCount < maxArguments) {
missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
if ($arguments === positionalArguments)
$arguments = A.List_List$_of($arguments, type$.dynamic);
B.JSArray_methods.addAll$1($arguments, missingDefaults);
}
return jsFunction.apply($function, $arguments);
} else {
if (argumentCount > requiredParameterCount)
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
if ($arguments === positionalArguments)
$arguments = A.List_List$_of($arguments, type$.dynamic);
keys = Object.keys(defaultValues);
if (namedArguments == null)
for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
defaultValue = defaultValues[keys[_i]];
if (B.C__Required === defaultValue)
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
B.JSArray_methods.add$1($arguments, defaultValue);
}
else {
for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
t2 = keys[_i];
if (namedArguments.containsKey$1(t2)) {
++used;
B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
} else {
defaultValue = defaultValues[t2];
if (B.C__Required === defaultValue)
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
B.JSArray_methods.add$1($arguments, defaultValue);
}
}
if (used !== namedArguments.__js_helper$_length)
return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
}
return jsFunction.apply($function, $arguments);
}
},
Primitives_extractStackTrace(error) {
var jsError = error.$thrownJsError;
if (jsError == null)
return null;
return A.getTraceFromException(jsError);
},
Primitives_trySetStackTrace(error, stackTrace) {
var jsError;
if (error.$thrownJsError == null) {
jsError = new Error();
A.initializeExceptionWrapper(error, jsError);
error.$thrownJsError = jsError;
jsError.stack = stackTrace.toString$0(0);
}
},
diagnoseIndexError(indexable, index) {
var $length, _s5_ = "index";
if (!A._isInt(index))
return new A.ArgumentError(true, index, _s5_, null);
$length = J.get$length$asx(indexable);
if (index < 0 || index >= $length)
return A.IndexError$withLength(index, $length, indexable, null, _s5_);
return A.RangeError$value(index, _s5_, null);
},
diagnoseRangeError(start, end, $length) {
if (start < 0 || start > $length)
return A.RangeError$range(start, 0, $length, "start", null);
if (end != null)
if (end < start || end > $length)
return A.RangeError$range(end, start, $length, "end", null);
return new A.ArgumentError(true, end, "end", null);
},
argumentErrorValue(object) {
return new A.ArgumentError(true, object, null, null);
},
wrapException(ex) {
return A.initializeExceptionWrapper(ex, new Error());
},
initializeExceptionWrapper(ex, wrapper) {
var t1;
if (ex == null)
ex = new A.TypeError();
wrapper.dartException = ex;
t1 = A.toStringWrapper;
if ("defineProperty" in Object) {
Object.defineProperty(wrapper, "message", {get: t1});
wrapper.name = "";
} else
wrapper.toString = t1;
return wrapper;
},
toStringWrapper() {
return J.toString$0$(this.dartException);
},
throwExpression(ex, wrapper) {
throw A.initializeExceptionWrapper(ex, wrapper == null ? new Error() : wrapper);
},
throwUnsupportedOperation(o, operation, verb) {
var wrapper;
if (operation == null)
operation = 0;
if (verb == null)
verb = 0;
wrapper = Error();
A.throwExpression(A._diagnoseUnsupportedOperation(o, operation, verb), wrapper);
},
_diagnoseUnsupportedOperation(o, encodedOperation, encodedVerb) {
var operation, table, tableLength, index, verb, object, flags, article, adjective;
if (typeof encodedOperation == "string")
operation = encodedOperation;
else {
table = "[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64".split(";");
tableLength = table.length;
index = encodedOperation;
if (index > tableLength) {
encodedVerb = index / tableLength | 0;
index %= tableLength;
}
operation = table[index];
}
verb = typeof encodedVerb == "string" ? encodedVerb : "modify;remove from;add to".split(";")[encodedVerb];
object = type$.List_dynamic._is(o) ? "list" : "ByteData";
flags = o.$flags | 0;
article = "a ";
if ((flags & 4) !== 0)
adjective = "constant ";
else if ((flags & 2) !== 0) {
adjective = "unmodifiable ";
article = "an ";
} else
adjective = (flags & 1) !== 0 ? "fixed-length " : "";
return new A.UnsupportedError("'" + operation + "': Cannot " + verb + " " + article + adjective + object);
},
throwConcurrentModificationError(collection) {
throw A.wrapException(A.ConcurrentModificationError$(collection));
},
TypeErrorDecoder_extractPattern(message) {
var match, $arguments, argumentsExpr, expr, method, receiver;
message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
match = message.match(/\\\$[a-zA-Z]+\\\$/g);
if (match == null)
match = A._setArrayType([], type$.JSArray_String);
$arguments = match.indexOf("\\$arguments\\$");
argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
expr = match.indexOf("\\$expr\\$");
method = match.indexOf("\\$method\\$");
receiver = match.indexOf("\\$receiver\\$");
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);
},
TypeErrorDecoder_provokeCallErrorOn(expression) {
return function($expr$) {
var $argumentsExpr$ = "$arguments$";
try {
$expr$.$method$($argumentsExpr$);
} catch (e) {
return e.message;
}
}(expression);
},
TypeErrorDecoder_provokePropertyErrorOn(expression) {
return function($expr$) {
try {
$expr$.$method$;
} catch (e) {
return e.message;
}
}(expression);
},
JsNoSuchMethodError$(_message, match) {
var t1 = match == null,
t2 = t1 ? null : match.method;
return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
},
unwrapException(ex) {
if (ex == null)
return new A.NullThrownFromJavaScriptException(ex);
if (ex instanceof A.ExceptionAndStackTrace)
return A.saveStackTrace(ex, ex.dartException);
if (typeof ex !== "object")
return ex;
if ("dartException" in ex)
return A.saveStackTrace(ex, ex.dartException);
return A._unwrapNonDartException(ex);
},
saveStackTrace(ex, error) {
if (type$.Error._is(error))
if (error.$thrownJsError == null)
error.$thrownJsError = ex;
return error;
},
_unwrapNonDartException(ex) {
var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
if (!("message" in ex))
return ex;
message = ex.message;
if ("number" in ex && typeof ex.number == "number") {
number = ex.number;
ieErrorCode = number & 65535;
if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
switch (ieErrorCode) {
case 438:
return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
case 445:
case 5007:
A.S(message);
return A.saveStackTrace(ex, new A.NullError());
}
}
if (ex instanceof TypeError) {
nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
$.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
match = nsme.matchTypeError$1(message);
if (match != null)
return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
else {
match = notClosure.matchTypeError$1(message);
if (match != null) {
match.method = "call";
return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
} else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null)
return A.saveStackTrace(ex, new A.NullError());
}
return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
}
if (ex instanceof RangeError) {
if (typeof message == "string" && message.indexOf("call stack") !== -1)
return new A.StackOverflowError();
message = function(ex) {
try {
return String(ex);
} catch (e) {
}
return null;
}(ex);
return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
}
if (typeof InternalError == "function" && ex instanceof InternalError)
if (typeof message == "string" && message === "too much recursion")
return new A.StackOverflowError();
return ex;
},
getTraceFromException(exception) {
var trace;
if (exception instanceof A.ExceptionAndStackTrace)
return exception.stackTrace;
if (exception == null)
return new A._StackTrace(exception);
trace = exception.$cachedTrace;
if (trace != null)
return trace;
trace = new A._StackTrace(exception);
if (typeof exception === "object")
exception.$cachedTrace = trace;
return trace;
},
objectHashCode(object) {
if (object == null)
return J.get$hashCode$(object);
if (typeof object == "object")
return A.Primitives_objectHashCode(object);
return J.get$hashCode$(object);
},
constantHashCode(key) {
if (typeof key == "number")
return B.JSNumber_methods.get$hashCode(key);
if (key instanceof A._Type)
return A.Primitives_objectHashCode(key);
if (key instanceof A._Record)
return key.get$hashCode(key);
if (key instanceof A.Symbol)
return key.get$hashCode(0);
return A.objectHashCode(key);
},
fillLiteralMap(keyValuePairs, result) {
var index, index0, index1,
$length = keyValuePairs.length;
for (index = 0; index < $length; index = index1) {
index0 = index + 1;
index1 = index0 + 1;
result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
}
return result;
},
fillLiteralSet(values, result) {
var index,
$length = values.length;
for (index = 0; index < $length; ++index)
result.add$1(0, values[index]);
return result;
},
_invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
switch (numberOfArguments) {
case 0:
return closure.call$0();
case 1:
return closure.call$1(arg1);
case 2:
return closure.call$2(arg1, arg2);
case 3:
return closure.call$3(arg1, arg2, arg3);
case 4:
return closure.call$4(arg1, arg2, arg3, arg4);
}
throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
},
convertDartClosureToJS(closure, arity) {
var $function;
if (closure == null)
return null;
$function = closure.$identity;
if (!!$function)
return $function;
$function = A.convertDartClosureToJSUncached(closure, arity);
closure.$identity = $function;
return $function;
},
convertDartClosureToJSUncached(closure, arity) {
var entry;
switch (arity) {
case 0:
entry = closure.call$0;
break;
case 1:
entry = closure.call$1;
break;
case 2:
entry = closure.call$2;
break;
case 3:
entry = closure.call$3;
break;
case 4:
entry = closure.call$4;
break;
default:
entry = null;
}
if (entry != null)
return entry.bind(closure);
return function(closure, arity, invoke) {
return function(a1, a2, a3, a4) {
return invoke(closure, arity, a1, a2, a3, a4);
};
}(closure, arity, A._invokeClosure);
},
Closure_fromTearOff(parameters) {
var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
container = parameters.co,
isStatic = parameters.iS,
isIntercepted = parameters.iI,
needsDirectAccess = parameters.nDA,
applyTrampolineIndex = parameters.aI,
funsOrNames = parameters.fs,
callNames = parameters.cs,
$name = funsOrNames[0],
callName = callNames[0],
$function = container[$name],
t1 = parameters.fT;
t1.toString;
$prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
$prototype.$initialize = $prototype.constructor;
$constructor = isStatic ? function static_tear_off() {
this.$initialize();
} : function tear_off(a, b) {
this.$initialize(a, b);
};
$prototype.constructor = $constructor;
$constructor.prototype = $prototype;
$prototype.$_name = $name;
$prototype.$_target = $function;
t2 = !isStatic;
if (t2)
trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
else {
$prototype.$static_name = $name;
trampoline = $function;
}
$prototype.$signature = A.Closure__computeSignatureFunction(t1, isStatic, isIntercepted);
$prototype[callName] = trampoline;
for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
stub = funsOrNames[i];
if (typeof stub == "string") {
stub0 = container[stub];
stubName = stub;
stub = stub0;
} else
stubName = "";
stubCallName = callNames[i];
if (stubCallName != null) {
if (t2)
stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
$prototype[stubCallName] = stub;
}
if (i === applyTrampolineIndex)
applyTrampoline = stub;
}
$prototype["call*"] = applyTrampoline;
$prototype.$requiredArgCount = parameters.rC;
$prototype.$defaultValues = parameters.dV;
return $constructor;
},
Closure__computeSignatureFunction(functionType, isStatic, isIntercepted) {
if (typeof functionType == "number")
return functionType;
if (typeof functionType == "string") {
if (isStatic)
throw A.wrapException("Cannot compute signature for static tearoff.");
return function(recipe, evalOnReceiver) {
return function() {
return evalOnReceiver(this, recipe);
};
}(functionType, A.BoundClosure_evalRecipe);
}
throw A.wrapException("Error in functionType of tearoff");
},
Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
var getReceiver = A.BoundClosure_receiverOf;
switch (needsDirectAccess ? -1 : arity) {
case 0:
return function(entry, receiverOf) {
return function() {
return receiverOf(this)[entry]();
};
}(stubName, getReceiver);
case 1:
return function(entry, receiverOf) {
return function(a) {
return receiverOf(this)[entry](a);
};
}(stubName, getReceiver);
case 2:
return function(entry, receiverOf) {
return function(a, b) {
return receiverOf(this)[entry](a, b);
};
}(stubName, getReceiver);
case 3:
return function(entry, receiverOf) {
return function(a, b, c) {
return receiverOf(this)[entry](a, b, c);
};
}(stubName, getReceiver);
case 4:
return function(entry, receiverOf) {
return function(a, b, c, d) {
return receiverOf(this)[entry](a, b, c, d);
};
}(stubName, getReceiver);
case 5:
return function(entry, receiverOf) {
return function(a, b, c, d, e) {
return receiverOf(this)[entry](a, b, c, d, e);
};
}(stubName, getReceiver);
default:
return function(f, receiverOf) {
return function() {
return f.apply(receiverOf(this), arguments);
};
}($function, getReceiver);
}
},
Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
if (isIntercepted)
return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
},
Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
var getReceiver = A.BoundClosure_receiverOf,
getInterceptor = A.BoundClosure_interceptorOf;
switch (needsDirectAccess ? -1 : arity) {
case 0:
throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
case 1:
return function(entry, interceptorOf, receiverOf) {
return function() {
return interceptorOf(this)[entry](receiverOf(this));
};
}(stubName, getInterceptor, getReceiver);
case 2:
return function(entry, interceptorOf, receiverOf) {
return function(a) {
return interceptorOf(this)[entry](receiverOf(this), a);
};
}(stubName, getInterceptor, getReceiver);
case 3:
return function(entry, interceptorOf, receiverOf) {
return function(a, b) {
return interceptorOf(this)[entry](receiverOf(this), a, b);
};
}(stubName, getInterceptor, getReceiver);
case 4:
return function(entry, interceptorOf, receiverOf) {
return function(a, b, c) {
return interceptorOf(this)[entry](receiverOf(this), a, b, c);
};
}(stubName, getInterceptor, getReceiver);
case 5:
return function(entry, interceptorOf, receiverOf) {
return function(a, b, c, d) {
return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
};
}(stubName, getInterceptor, getReceiver);
case 6:
return function(entry, interceptorOf, receiverOf) {
return function(a, b, c, d, e) {
return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
};
}(stubName, getInterceptor, getReceiver);
default:
return function(f, interceptorOf, receiverOf) {
return function() {
var a = [receiverOf(this)];
Array.prototype.push.apply(a, arguments);
return f.apply(interceptorOf(this), a);
};
}($function, getInterceptor, getReceiver);
}
},
Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
var arity, t1;
if ($.BoundClosure__interceptorFieldNameCache == null)
$.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
if ($.BoundClosure__receiverFieldNameCache == null)
$.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
arity = $function.length;
t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
return t1;
},
closureFromTearOff(parameters) {
return A.Closure_fromTearOff(parameters);
},
BoundClosure_evalRecipe(closure, recipe) {
return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
},
BoundClosure_receiverOf(closure) {
return closure._receiver;
},
BoundClosure_interceptorOf(closure) {
return closure._interceptor;
},
BoundClosure__computeFieldNamed(fieldName) {
var names, i, $name,
template = new A.BoundClosure("receiver", "interceptor"),
t1 = Object.getOwnPropertyNames(template);
t1.$flags = 1;
names = t1;
for (t1 = names.length, i = 0; i < t1; ++i) {
$name = names[i];
if (template[$name] === fieldName)
return $name;
}
throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
},
getIsolateAffinityTag($name) {
return init.getIsolateTag($name);
},
defineProperty(obj, property, value) {
Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
},
lookupAndCacheInterceptor(obj) {
var interceptor, interceptorClass, altTag, mark, t1,
tag = $.getTagFunction.call$1(obj),
record = $.dispatchRecordsForInstanceTags[tag];
if (record != null) {
Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
return record.i;
}
interceptor = $.interceptorsForUncacheableTags[tag];
if (interceptor != null)
return interceptor;
interceptorClass = init.interceptorsByTag[tag];
if (interceptorClass == null) {
altTag = $.alternateTagFunction.call$2(obj, tag);
if (altTag != null) {
record = $.dispatchRecordsForInstanceTags[altTag];
if (record != null) {
Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
return record.i;
}
interceptor = $.interceptorsForUncacheableTags[altTag];
if (interceptor != null)
return interceptor;
interceptorClass = init.interceptorsByTag[altTag];
tag = altTag;
}
}
if (interceptorClass == null)
return null;
interceptor = interceptorClass.prototype;
mark = tag[0];
if (mark === "!") {
record = A.makeLeafDispatchRecord(interceptor);
$.dispatchRecordsForInstanceTags[tag] = record;
Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
return record.i;
}
if (mark === "~") {
$.interceptorsForUncacheableTags[tag] = interceptor;
return interceptor;
}
if (mark === "-") {
t1 = A.makeLeafDispatchRecord(interceptor);
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
return t1.i;
}
if (mark === "+")
return A.patchInteriorProto(obj, interceptor);
if (mark === "*")
throw A.wrapException(A.UnimplementedError$(tag));
if (init.leafTags[tag] === true) {
t1 = A.makeLeafDispatchRecord(interceptor);
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
return t1.i;
} else
return A.patchInteriorProto(obj, interceptor);
},
patchInteriorProto(obj, interceptor) {
var proto = Object.getPrototypeOf(obj);
Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
return interceptor;
},
makeLeafDispatchRecord(interceptor) {
return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
},
makeDefaultDispatchRecord(tag, interceptorClass, proto) {
var interceptor = interceptorClass.prototype;
if (init.leafTags[tag] === true)
return A.makeLeafDispatchRecord(interceptor);
else
return J.makeDispatchRecord(interceptor, proto, null, null);
},
initNativeDispatch() {
if (true === $.initNativeDispatchFlag)
return;
$.initNativeDispatchFlag = true;
A.initNativeDispatchContinue();
},
initNativeDispatchContinue() {
var map, tags, fun, i, tag, proto, record, interceptorClass;
$.dispatchRecordsForInstanceTags = Object.create(null);
$.interceptorsForUncacheableTags = Object.create(null);
A.initHooks();
map = init.interceptorsByTag;
tags = Object.getOwnPropertyNames(map);
if (typeof window != "undefined") {
window;
fun = function() {
};
for (i = 0; i < tags.length; ++i) {
tag = tags[i];
proto = $.prototypeForTagFunction.call$1(tag);
if (proto != null) {
record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
if (record != null) {
Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
fun.prototype = proto;
}
}
}
}
for (i = 0; i < tags.length; ++i) {
tag = tags[i];
if (/^[A-Za-z_]/.test(tag)) {
interceptorClass = map[tag];
map["!" + tag] = interceptorClass;
map["~" + tag] = interceptorClass;
map["-" + tag] = interceptorClass;
map["+" + tag] = interceptorClass;
map["*" + tag] = interceptorClass;
}
}
},
initHooks() {
var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
hooks = B.C_JS_CONST0();
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)))))));
if (typeof dartNativeDispatchHooksTransformer != "undefined") {
transformers = dartNativeDispatchHooksTransformer;
if (typeof transformers == "function")
transformers = [transformers];
if (Array.isArray(transformers))
for (i = 0; i < transformers.length; ++i) {
transformer = transformers[i];
if (typeof transformer == "function")
hooks = transformer(hooks) || hooks;
}
}
getTag = hooks.getTag;
getUnknownTag = hooks.getUnknownTag;
prototypeForTag = hooks.prototypeForTag;
$.getTagFunction = new A.initHooks_closure(getTag);
$.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
$.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
},
applyHooksTransformer(transformer, hooks) {
return transformer(hooks) || hooks;
},
_RecordN__equalValues(a, b) {
var i;
for (i = 0; i < a.length; ++i)
if (!J.$eq$(a[i], b[i]))
return false;
return true;
},
createRecordTypePredicate(shape, fieldRtis) {
var $length = fieldRtis.length,
$function = init.rttc["" + $length + ";" + shape];
if ($function == null)
return null;
if ($length === 0)
return $function;
if ($length === $function.length)
return $function.apply(null, fieldRtis);
return $function(fieldRtis);
},
JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, extraFlags) {
var m = multiLine ? "m" : "",
i = caseSensitive ? "" : "i",
u = unicode ? "u" : "",
s = dotAll ? "s" : "",
regexp = function(source, modifiers) {
try {
return new RegExp(source, modifiers);
} catch (e) {
return e;
}
}(source, m + i + u + s + extraFlags);
if (regexp instanceof RegExp)
return regexp;
throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
},
stringContainsUnchecked(receiver, other, startIndex) {
var t1;
if (typeof other == "string")
return receiver.indexOf(other, startIndex) >= 0;
else if (other instanceof A.JSSyntaxRegExp) {
t1 = B.JSString_methods.substring$1(receiver, startIndex);
return other._nativeRegExp.test(t1);
} else
return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
},
escapeReplacement(replacement) {
if (replacement.indexOf("$", 0) >= 0)
return replacement.replace(/\$/g, "$$$$");
return replacement;
},
stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
var match = regexp._execGlobal$2(receiver, startIndex);
if (match == null)
return receiver;
return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
},
quoteStringForRegExp(string) {
if (/[[\]{}()*+?.\\^$|]/.test(string))
return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
return string;
},
stringReplaceAllUnchecked(receiver, pattern, replacement) {
var nativeRegexp;
if (typeof pattern == "string")
return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
if (pattern instanceof A.JSSyntaxRegExp) {
nativeRegexp = pattern.get$_nativeGlobalVersion();
nativeRegexp.lastIndex = 0;
return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
}
return A.stringReplaceAllGeneral(receiver, pattern, replacement);
},
stringReplaceAllGeneral(receiver, pattern, replacement) {
var t1, startIndex, t2, match;
for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
match = t1.get$current(t1);
t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
startIndex = match.get$end(match);
}
t1 = t2 + receiver.substring(startIndex);
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
stringReplaceAllUncheckedString(receiver, pattern, replacement) {
var $length, t1, i;
if (pattern === "") {
if (receiver === "")
return replacement;
$length = receiver.length;
for (t1 = replacement, i = 0; i < $length; ++i)
t1 = t1 + receiver[i] + replacement;
return t1.charCodeAt(0) == 0 ? t1 : t1;
}
if (receiver.indexOf(pattern, 0) < 0)
return receiver;
if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
return receiver.split(pattern).join(replacement);
return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
},
stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
var index, t1, matches, match;
if (typeof pattern == "string") {
index = receiver.indexOf(pattern, startIndex);
if (index < 0)
return receiver;
return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
}
if (pattern instanceof A.JSSyntaxRegExp)
return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
t1 = J.allMatches$2$s(pattern, receiver, startIndex);
matches = t1.get$iterator(t1);
if (!matches.moveNext$0())
return receiver;
match = matches.get$current(matches);
return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
},
stringReplaceRangeUnchecked(receiver, start, end, replacement) {
return receiver.substring(0, start) + replacement + receiver.substring(end);
},
_Record_1: function _Record_1(t0) {
this._0 = t0;
},
_Record_2: function _Record_2(t0, t1) {
this._0 = t0;
this._1 = t1;
},
_Record_2_forImport: function _Record_2_forImport(t0, t1) {
this._0 = t0;
this._1 = t1;
},
_Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
this._0 = t0;
this._1 = t1;
},
_Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
this._0 = t0;
this._1 = t1;
},
_Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
this._0 = t0;
this._1 = t1;
},
_Record_3: function _Record_3(t0, t1, t2) {
this._0 = t0;
this._1 = t1;
this._2 = t2;
},
_Record_3_deprecation_message_span: function _Record_3_deprecation_message_span(t0, t1, t2) {
this._0 = t0;
this._1 = t1;
this._2 = t2;
},
_Record_3_forImport: function _Record_3_forImport(t0, t1, t2) {
this._0 = t0;
this._1 = t1;
this._2 = t2;
},
_Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
this._0 = t0;
this._1 = t1;
this._2 = t2;
},
_Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
this._0 = t0;
this._1 = t1;
this._2 = t2;
},
_Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
this._values = t0;
},
ConstantMapView: function ConstantMapView(t0, t1) {
this._map = t0;
this.$ti = t1;
},
ConstantMap: function ConstantMap() {
},
ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
this._jsIndex = t0;
this._values = t1;
this.$ti = t2;
},
_KeysOrValues: function _KeysOrValues(t0, t1) {
this._elements = t0;
this.$ti = t1;
},
_KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
var _ = this;
_._elements = t0;
_.__js_helper$_length = t1;
_.__js_helper$_index = 0;
_.__js_helper$_current = null;
_.$ti = t2;
},
ConstantSet: function ConstantSet() {
},
ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
this._jsIndex = t0;
this.__js_helper$_length = t1;
this.$ti = t2;
},
GeneralConstantSet: function GeneralConstantSet(t0, t1) {
this._elements = t0;
this.$ti = t1;
},
Instantiation: function Instantiation() {
},
Instantiation1: function Instantiation1(t0, t1) {
this._genericClosure = t0;
this.$ti = t1;
},
JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
var _ = this;
_.__js_helper$_memberName = t0;
_.__js_helper$_kind = t1;
_._arguments = t2;
_._namedArgumentNames = t3;
_._typeArgumentCount = t4;
},
Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
this._box_0 = t0;
this.namedArgumentList = t1;
this.$arguments = t2;
},
SafeToStringHook: function SafeToStringHook() {
},
TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._pattern = t0;
_._arguments = t1;
_._argumentsExpr = t2;
_._expr = t3;
_._method = t4;
_._receiver = t5;
},
NullError: function NullError() {
},
JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
this.__js_helper$_message = t0;
this._method = t1;
this._receiver = t2;
},
UnknownJsTypeError: function UnknownJsTypeError(t0) {
this.__js_helper$_message = t0;
},
NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
this._irritant = t0;
},
ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
this.dartException = t0;
this.stackTrace = t1;
},
_StackTrace: function _StackTrace(t0) {
this._exception = t0;
this._trace = null;
},
Closure: function Closure() {
},
Closure0Args: function Closure0Args() {
},
Closure2Args: function Closure2Args() {
},
TearOffClosure: function TearOffClosure() {
},
StaticClosure: function StaticClosure() {
},
BoundClosure: function BoundClosure(t0, t1) {
this._receiver = t0;
this._interceptor = t1;
},
RuntimeError: function RuntimeError(t0) {
this.message = t0;
},
_Required: function _Required() {
},
JsLinkedHashMap: function JsLinkedHashMap(t0) {
var _ = this;
_.__js_helper$_length = 0;
_._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
_._modifications = 0;
_.$ti = t0;
},
JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
this.$this = t0;
},
LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
var _ = this;
_.hashMapCellKey = t0;
_.hashMapCellValue = t1;
_._previous = _._next = null;
},
LinkedHashMapKeysIterable: function LinkedHashMapKeysIterable(t0, t1) {
this.__js_helper$_map = t0;
this.$ti = t1;
},
LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) {
var _ = this;
_.__js_helper$_map = t0;
_._modifications = t1;
_._cell = t2;
_.__js_helper$_current = null;
},
LinkedHashMapValuesIterable: function LinkedHashMapValuesIterable(t0, t1) {
this.__js_helper$_map = t0;
this.$ti = t1;
},
LinkedHashMapValueIterator: function LinkedHashMapValueIterator(t0, t1, t2) {
var _ = this;
_.__js_helper$_map = t0;
_._modifications = t1;
_._cell = t2;
_.__js_helper$_current = null;
},
LinkedHashMapEntriesIterable: function LinkedHashMapEntriesIterable(t0, t1) {
this.__js_helper$_map = t0;
this.$ti = t1;
},
LinkedHashMapEntryIterator: function LinkedHashMapEntryIterator(t0, t1, t2, t3) {
var _ = this;
_.__js_helper$_map = t0;
_._modifications = t1;
_._cell = t2;
_.__js_helper$_current = null;
_.$ti = t3;
},
JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
var _ = this;
_.__js_helper$_length = 0;
_._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
_._modifications = 0;
_.$ti = t0;
},
JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
var _ = this;
_.__js_helper$_length = 0;
_._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
_._modifications = 0;
_.$ti = t0;
},
initHooks_closure: function initHooks_closure(t0) {
this.getTag = t0;
},
initHooks_closure0: function initHooks_closure0(t0) {
this.getUnknownTag = t0;
},
initHooks_closure1: function initHooks_closure1(t0) {
this.prototypeForTag = t0;
},
_Record: function _Record() {
},
_Record2: function _Record2() {
},
_Record1: function _Record1() {
},
_Record3: function _Record3() {
},
_RecordN: function _RecordN() {
},
JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
var _ = this;
_.pattern = t0;
_._nativeRegExp = t1;
_._hasCapturesCache = _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
},
_MatchImplementation: function _MatchImplementation(t0) {
this._match = t0;
},
_AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
this._re = t0;
this.__js_helper$_string = t1;
this.__js_helper$_start = t2;
},
_AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
var _ = this;
_._regExp = t0;
_.__js_helper$_string = t1;
_._nextIndex = t2;
_.__js_helper$_current = null;
},
StringMatch: function StringMatch(t0, t1) {
this.start = t0;
this.pattern = t1;
},
_StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
this._input = t0;
this._pattern = t1;
this.__js_helper$_index = t2;
},
_StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
var _ = this;
_._input = t0;
_._pattern = t1;
_.__js_helper$_index = t2;
_.__js_helper$_current = null;
},
throwLateFieldADI(fieldName) {
throw A.initializeExceptionWrapper(A.LateError$fieldADI(fieldName), new Error());
},
throwUnnamedLateFieldNI() {
throw A.initializeExceptionWrapper(A.LateError$fieldNI(""), new Error());
},
throwUnnamedLateFieldAI() {
throw A.initializeExceptionWrapper(A.LateError$fieldAI(""), new Error());
},
throwUnnamedLateFieldADI() {
throw A.initializeExceptionWrapper(A.LateError$fieldADI(""), new Error());
},
_Cell$() {
var t1 = new A._Cell();
return t1.__late_helper$_value = t1;
},
_Cell: function _Cell() {
this.__late_helper$_value = null;
},
_ensureNativeList(list) {
return list;
},
NativeFloat64List_NativeFloat64List$fromList(elements) {
return new Float64Array(A._ensureNativeList(elements));
},
NativeInt8List__create1(arg) {
return new Int8Array(arg);
},
NativeUint8List_NativeUint8List($length) {
return new Uint8Array($length);
},
_checkValidIndex(index, list, $length) {
if (index >>> 0 !== index || index >= $length)
throw A.wrapException(A.diagnoseIndexError(list, index));
},
_checkValidRange(start, end, $length) {
var t1;
if (!(start >>> 0 !== start))
if (end == null)
t1 = start > $length;
else
t1 = end >>> 0 !== end || start > end || end > $length;
else
t1 = true;
if (t1)
throw A.wrapException(A.diagnoseRangeError(start, end, $length));
if (end == null)
return $length;
return end;
},
NativeByteBuffer: function NativeByteBuffer() {
},
NativeTypedData: function NativeTypedData() {
},
NativeByteData: function NativeByteData() {
},
NativeTypedArray: function NativeTypedArray() {
},
NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
},
NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
},
NativeFloat32List: function NativeFloat32List() {
},
NativeFloat64List: function NativeFloat64List() {
},
NativeInt16List: function NativeInt16List() {
},
NativeInt32List: function NativeInt32List() {
},
NativeInt8List: function NativeInt8List() {
},
NativeUint16List: function NativeUint16List() {
},
NativeUint32List: function NativeUint32List() {
},
NativeUint8ClampedList: function NativeUint8ClampedList() {
},
NativeUint8List: function NativeUint8List() {
},
_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
},
_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
},
_NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
},
_NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
},
Rti__getFutureFromFutureOr(universe, rti) {
var future = rti._precomputed1;
return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
},
Rti__isUnionOfFunctionType(rti) {
var kind = rti._kind;
if (kind === 6 || kind === 7)
return A.Rti__isUnionOfFunctionType(rti._primary);
return kind === 11 || kind === 12;
},
Rti__getCanonicalRecipe(rti) {
return rti._canonicalRecipe;
},
pairwiseIsTest(fieldRtis, values) {
var i,
$length = values.length;
for (i = 0; i < $length; ++i)
if (!fieldRtis[i]._is(values[i]))
return false;
return true;
},
findType(recipe) {
return A._Universe_eval(init.typeUniverse, recipe, false);
},
instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
var t1, cache, key, probe, rti;
if (genericFunctionRti == null)
return null;
t1 = instantiationRti._rest;
cache = genericFunctionRti._bindCache;
if (cache == null)
cache = genericFunctionRti._bindCache = new Map();
key = instantiationRti._canonicalRecipe;
probe = cache.get(key);
if (probe != null)
return probe;
rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
cache.set(key, rti);
return rti;
},
_substitute(universe, rti, typeArguments, depth) {
var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
kind = rti._kind;
switch (kind) {
case 5:
case 1:
case 2:
case 3:
case 4:
return rti;
case 6:
baseType = rti._primary;
substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
if (substitutedBaseType === baseType)
return rti;
return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
case 7:
baseType = rti._primary;
substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
if (substitutedBaseType === baseType)
return rti;
return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
case 8:
interfaceTypeArguments = rti._rest;
substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
return rti;
return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
case 9:
base = rti._primary;
substitutedBase = A._substitute(universe, base, typeArguments, depth);
$arguments = rti._rest;
substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
if (substitutedBase === base && substitutedArguments === $arguments)
return rti;
return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
case 10:
t1 = rti._primary;
fields = rti._rest;
substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
if (substitutedFields === fields)
return rti;
return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
case 11:
returnType = rti._primary;
substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
functionParameters = rti._rest;
substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
return rti;
return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
case 12:
bounds = rti._rest;
depth += bounds.length;
substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
base = rti._primary;
substitutedBase = A._substitute(universe, base, typeArguments, depth);
if (substitutedBounds === bounds && substitutedBase === base)
return rti;
return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
case 13:
index = rti._primary;
if (index < depth)
return rti;
argument = typeArguments[index - depth];
if (argument == null)
return rti;
return argument;
default:
throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
}
},
_substituteArray(universe, rtiArray, typeArguments, depth) {
var changed, i, rti, substitutedRti,
$length = rtiArray.length,
result = A._Utils_newArrayOrEmpty($length);
for (changed = false, i = 0; i < $length; ++i) {
rti = rtiArray[i];
substitutedRti = A._substitute(universe, rti, typeArguments, depth);
if (substitutedRti !== rti)
changed = true;
result[i] = substitutedRti;
}
return changed ? result : rtiArray;
},
_substituteNamed(universe, namedArray, typeArguments, depth) {
var changed, i, t1, t2, rti, substitutedRti,
$length = namedArray.length,
result = A._Utils_newArrayOrEmpty($length);
for (changed = false, i = 0; i < $length; i += 3) {
t1 = namedArray[i];
t2 = namedArray[i + 1];
rti = namedArray[i + 2];
substitutedRti = A._substitute(universe, rti, typeArguments, depth);
if (substitutedRti !== rti)
changed = true;
result.splice(i, 3, t1, t2, substitutedRti);
}
return changed ? result : namedArray;
},
_substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
var result,
requiredPositional = functionParameters._requiredPositional,
substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
optionalPositional = functionParameters._optionalPositional,
substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
named = functionParameters._named,
substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
return functionParameters;
result = new A._FunctionParameters();
result._requiredPositional = substitutedRequiredPositional;
result._optionalPositional = substitutedOptionalPositional;
result._named = substitutedNamed;
return result;
},
_setArrayType(target, rti) {
target[init.arrayRti] = rti;
return target;
},
closureFunctionType(closure) {
var signature = closure.$signature;
if (signature != null) {
if (typeof signature == "number")
return A.getTypeFromTypesTable(signature);
return closure.$signature();
}
return null;
},
instanceOrFunctionType(object, testRti) {
var rti;
if (A.Rti__isUnionOfFunctionType(testRti))
if (object instanceof A.Closure) {
rti = A.closureFunctionType(object);
if (rti != null)
return rti;
}
return A.instanceType(object);
},
instanceType(object) {
if (object instanceof A.Object)
return A._instanceType(object);
if (Array.isArray(object))
return A._arrayInstanceType(object);
return A._instanceTypeFromConstructor(J.getInterceptor$(object));
},
_arrayInstanceType(object) {
var rti = object[init.arrayRti],
defaultRti = type$.JSArray_dynamic;
if (rti == null)
return defaultRti;
if (rti.constructor !== defaultRti.constructor)
return defaultRti;
return rti;
},
_instanceType(object) {
var rti = object.$ti;
return rti != null ? rti : A._instanceTypeFromConstructor(object);
},
_instanceTypeFromConstructor(instance) {
var $constructor = instance.constructor,
probe = $constructor.$ccache;
if (probe != null)
return probe;
return A._instanceTypeFromConstructorMiss(instance, $constructor);
},
_instanceTypeFromConstructorMiss(instance, $constructor) {
var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
$constructor.$ccache = rti;
return rti;
},
getTypeFromTypesTable(index) {
var rti,
table = init.types,
type = table[index];
if (typeof type == "string") {
rti = A._Universe_eval(init.typeUniverse, type, false);
table[index] = rti;
return rti;
}
return type;
},
getRuntimeTypeOfDartObject(object) {
return A.createRuntimeType(A._instanceType(object));
},
getRuntimeTypeOfClosure(closure) {
var rti = A.closureFunctionType(closure);
return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
},
_structuralTypeOf(object) {
var functionRti;
if (object instanceof A._Record)
return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
if (functionRti != null)
return functionRti;
if (type$.TrustedGetRuntimeType._is(object))
return J.get$runtimeType$(object)._rti;
if (Array.isArray(object))
return A._arrayInstanceType(object);
return A.instanceType(object);
},
createRuntimeType(rti) {
var t1 = rti._cachedRuntimeType;
return t1 == null ? rti._cachedRuntimeType = new A._Type(rti) : t1;
},
evaluateRtiForRecord(recordRecipe, valuesList) {
var bindings, i,
values = valuesList,
$length = values.length;
if ($length === 0)
return type$.Record_0;
bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
for (i = 1; i < $length; ++i)
bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
},
typeLiteral(recipe) {
return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
},
_installSpecializedIsTest(object) {
var testRti = this;
testRti._is = A._specializedIsTest(testRti);
return testRti._is(object);
},
_specializedIsTest(testRti) {
var kind, simpleIsFn, $name, predicate;
if (testRti === type$.Object)
return A._isObject;
if (A.isTopType(testRti))
return A._isTop;
kind = testRti._kind;
if (kind === 6)
return A._generalNullableIsTestImplementation;
if (kind === 1)
return A._isNever;
if (kind === 7)
return A._isFutureOr;
simpleIsFn = A._simpleSpecializedIsTest(testRti);
if (simpleIsFn != null)
return simpleIsFn;
if (kind === 8) {
$name = testRti._primary;
if (testRti._rest.every(A.isTopType)) {
testRti._specializedTestResource = "$is" + $name;
if ($name === "List")
return A._isListTestViaProperty;
if (testRti === type$.JSObject)
return A._isJSObject;
return A._isTestViaProperty;
}
} else if (kind === 10) {
predicate = A.createRecordTypePredicate(testRti._primary, testRti._rest);
return predicate == null ? A._isNever : predicate;
}
return A._generalIsTestImplementation;
},
_simpleSpecializedIsTest(testRti) {
if (testRti._kind === 8) {
if (testRti === type$.int)
return A._isInt;
if (testRti === type$.double || testRti === type$.num)
return A._isNum;
if (testRti === type$.String)
return A._isString;
if (testRti === type$.bool)
return A._isBool;
}
return null;
},
_installSpecializedAsCheck(object) {
var testRti = this,
asFn = A._generalAsCheckImplementation;
if (A.isTopType(testRti))
asFn = A._asTop;
else if (testRti === type$.Object)
asFn = A._asObject;
else if (A.isNullable(testRti)) {
asFn = A._generalNullableAsCheckImplementation;
if (testRti === type$.nullable_int)
asFn = A._asIntQ;
else if (testRti === type$.nullable_String)
asFn = A._asStringQ;
else if (testRti === type$.nullable_bool)
asFn = A._asBoolQ;
else if (testRti === type$.nullable_num)
asFn = A._asNumQ;
else if (testRti === type$.nullable_double)
asFn = A._asDoubleQ;
else if (testRti === type$.nullable_JSObject)
asFn = A._asJSObjectQ;
} else if (testRti === type$.int)
asFn = A._asInt;
else if (testRti === type$.String)
asFn = A._asString;
else if (testRti === type$.bool)
asFn = A._asBool;
else if (testRti === type$.num)
asFn = A._asNum;
else if (testRti === type$.double)
asFn = A._asDouble;
else if (testRti === type$.JSObject)
asFn = A._asJSObject;
testRti._as = asFn;
return testRti._as(object);
},
_generalIsTestImplementation(object) {
var testRti = this;
if (object == null)
return A.isNullable(testRti);
return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
},
_generalNullableIsTestImplementation(object) {
if (object == null)
return true;
return this._primary._is(object);
},
_isTestViaProperty(object) {
var tag, testRti = this;
if (object == null)
return A.isNullable(testRti);
tag = testRti._specializedTestResource;
if (object instanceof A.Object)
return !!object[tag];
return !!J.getInterceptor$(object)[tag];
},
_isListTestViaProperty(object) {
var tag, testRti = this;
if (object == null)
return A.isNullable(testRti);
if (typeof object != "object")
return false;
if (Array.isArray(object))
return true;
tag = testRti._specializedTestResource;
if (object instanceof A.Object)
return !!object[tag];
return !!J.getInterceptor$(object)[tag];
},
_isJSObject(object) {
var t1 = this;
if (object == null)
return false;
if (typeof object == "object") {
if (object instanceof A.Object)
return !!object[t1._specializedTestResource];
return true;
}
if (typeof object == "function")
return true;
return false;
},
_isJSObjectStandalone(object) {
if (typeof object == "object") {
if (object instanceof A.Object)
return type$.JSObject._is(object);
return true;
}
if (typeof object == "function")
return true;
return false;
},
_generalAsCheckImplementation(object) {
var testRti = this;
if (object == null) {
if (A.isNullable(testRti))
return object;
} else if (testRti._is(object))
return object;
throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
},
_generalNullableAsCheckImplementation(object) {
var testRti = this;
if (object == null || testRti._is(object))
return object;
throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
},
_errorForAsCheck(object, testRti) {
return new A._TypeError("TypeError: " + A._Error_compose(object, A._rtiToString(testRti, null)));
},
_Error_compose(object, checkedTypeDescription) {
return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
},
_TypeError__TypeError$forType(object, type) {
return new A._TypeError("TypeError: " + A._Error_compose(object, type));
},
_isFutureOr(object) {
var testRti = this;
return testRti._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, testRti)._is(object);
},
_isObject(object) {
return object != null;
},
_asObject(object) {
if (object != null)
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "Object"), new Error());
},
_isTop(object) {
return true;
},
_asTop(object) {
return object;
},
_isNever(object) {
return false;
},
_isBool(object) {
return true === object || false === object;
},
_asBool(object) {
if (true === object)
return true;
if (false === object)
return false;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool"), new Error());
},
_asBoolQ(object) {
if (true === object)
return true;
if (false === object)
return false;
if (object == null)
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool?"), new Error());
},
_asDouble(object) {
if (typeof object == "number")
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double"), new Error());
},
_asDoubleQ(object) {
if (typeof object == "number")
return object;
if (object == null)
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double?"), new Error());
},
_isInt(object) {
return typeof object == "number" && Math.floor(object) === object;
},
_asInt(object) {
if (typeof object == "number" && Math.floor(object) === object)
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int"), new Error());
},
_asIntQ(object) {
if (typeof object == "number" && Math.floor(object) === object)
return object;
if (object == null)
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int?"), new Error());
},
_isNum(object) {
return typeof object == "number";
},
_asNum(object) {
if (typeof object == "number")
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num"), new Error());
},
_asNumQ(object) {
if (typeof object == "number")
return object;
if (object == null)
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num?"), new Error());
},
_isString(object) {
return typeof object == "string";
},
_asString(object) {
if (typeof object == "string")
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String"), new Error());
},
_asStringQ(object) {
if (typeof object == "string")
return object;
if (object == null)
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String?"), new Error());
},
_asJSObject(object) {
if (A._isJSObjectStandalone(object))
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "JSObject"), new Error());
},
_asJSObjectQ(object) {
if (object == null)
return object;
if (A._isJSObjectStandalone(object))
return object;
throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "JSObject?"), new Error());
},
_rtiArrayToString(array, genericContext) {
var s, sep, i;
for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
s += sep + A._rtiToString(array[i], genericContext);
return s;
},
_recordRtiToString(recordType, genericContext) {
var fieldCount, names, namesIndex, s, comma, i,
partialShape = recordType._primary,
fields = recordType._rest;
if ("" === partialShape)
return "(" + A._rtiArrayToString(fields, genericContext) + ")";
fieldCount = fields.length;
names = partialShape.split(",");
namesIndex = names.length - fieldCount;
for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
s += comma;
if (namesIndex === 0)
s += "{";
s += A._rtiToString(fields[i], genericContext);
if (namesIndex >= 0)
s += " " + names[namesIndex];
++namesIndex;
}
return s + "})";
},
_functionRtiToString(functionType, genericContext, bounds) {
var boundsLength, offset, i, t1, typeParametersText, typeSep, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ", outerContextLength = null;
if (bounds != null) {
boundsLength = bounds.length;
if (genericContext == null)
genericContext = A._setArrayType([], type$.JSArray_String);
else
outerContextLength = genericContext.length;
offset = genericContext.length;
for (i = boundsLength; i > 0; --i)
genericContext.push("T" + (offset + i));
for (t1 = type$.nullable_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
typeParametersText = typeParametersText + typeSep + genericContext[genericContext.length - 1 - i];
boundRti = bounds[i];
kind = boundRti._kind;
if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
}
typeParametersText += ">";
} else
typeParametersText = "";
t1 = functionType._primary;
parameters = functionType._rest;
requiredPositional = parameters._requiredPositional;
requiredPositionalLength = requiredPositional.length;
optionalPositional = parameters._optionalPositional;
optionalPositionalLength = optionalPositional.length;
named = parameters._named;
namedLength = named.length;
returnTypeText = A._rtiToString(t1, genericContext);
for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
if (optionalPositionalLength > 0) {
argumentsText += sep + "[";
for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
argumentsText += "]";
}
if (namedLength > 0) {
argumentsText += sep + "{";
for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
argumentsText += sep;
if (named[i + 1])
argumentsText += "required ";
argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
}
argumentsText += "}";
}
if (outerContextLength != null) {
genericContext.toString;
genericContext.length = outerContextLength;
}
return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
},
_rtiToString(rti, genericContext) {
var questionArgument, s, argumentKind, $name, $arguments, t1,
kind = rti._kind;
if (kind === 5)
return "erased";
if (kind === 2)
return "dynamic";
if (kind === 3)
return "void";
if (kind === 1)
return "Never";
if (kind === 4)
return "any";
if (kind === 6) {
questionArgument = rti._primary;
s = A._rtiToString(questionArgument, genericContext);
argumentKind = questionArgument._kind;
return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
}
if (kind === 7)
return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
if (kind === 8) {
$name = A._unminifyOrTag(rti._primary);
$arguments = rti._rest;
return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
}
if (kind === 10)
return A._recordRtiToString(rti, genericContext);
if (kind === 11)
return A._functionRtiToString(rti, genericContext, null);
if (kind === 12)
return A._functionRtiToString(rti._primary, genericContext, rti._rest);
if (kind === 13) {
t1 = rti._primary;
return genericContext[genericContext.length - 1 - t1];
}
return "?";
},
_unminifyOrTag(rawClassName) {
var preserved = init.mangledGlobalNames[rawClassName];
if (preserved != null)
return preserved;
return rawClassName;
},
_Universe_findRule(universe, targetType) {
var rule = universe.tR[targetType];
for (; typeof rule == "string";)
rule = universe.tR[rule];
return rule;
},
_Universe_findErasedType(universe, cls) {
var $length, erased, $arguments, i, $interface,
metadata = universe.eT,
probe = metadata[cls];
if (probe == null)
return A._Universe_eval(universe, cls, false);
else if (typeof probe == "number") {
$length = probe;
erased = A._Universe__lookupTerminalRti(universe, 5, "#");
$arguments = A._Utils_newArrayOrEmpty($length);
for (i = 0; i < $length; ++i)
$arguments[i] = erased;
$interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
metadata[cls] = $interface;
return $interface;
} else
return probe;
},
_Universe_addRules(universe, rules) {
return A._Utils_objectAssign(universe.tR, rules);
},
_Universe_addErasedTypes(universe, types) {
return A._Utils_objectAssign(universe.eT, types);
},
_Universe_eval(universe, recipe, normalize) {
var rti,
cache = universe.eC,
probe = cache.get(recipe);
if (probe != null)
return probe;
rti = A._Parser_parse(A._Parser_create(universe, null, recipe, false));
cache.set(recipe, rti);
return rti;
},
_Universe_evalInEnvironment(universe, environment, recipe) {
var probe, rti,
cache = environment._evalCache;
if (cache == null)
cache = environment._evalCache = new Map();
probe = cache.get(recipe);
if (probe != null)
return probe;
rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
cache.set(recipe, rti);
return rti;
},
_Universe_bind(universe, environment, argumentsRti) {
var argumentsRecipe, probe, rti,
cache = environment._bindCache;
if (cache == null)
cache = environment._bindCache = new Map();
argumentsRecipe = argumentsRti._canonicalRecipe;
probe = cache.get(argumentsRecipe);
if (probe != null)
return probe;
rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 9 ? argumentsRti._rest : [argumentsRti]);
cache.set(argumentsRecipe, rti);
return rti;
},
_Universe__installTypeTests(universe, rti) {
rti._as = A._installSpecializedAsCheck;
rti._is = A._installSpecializedIsTest;
return rti;
},
_Universe__lookupTerminalRti(universe, kind, key) {
var rti, t1,
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new A.Rti(null, null);
rti._kind = kind;
rti._canonicalRecipe = key;
t1 = A._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__lookupQuestionRti(universe, baseType, normalize) {
var t1,
key = baseType._canonicalRecipe + "?",
probe = universe.eC.get(key);
if (probe != null)
return probe;
t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
universe.eC.set(key, t1);
return t1;
},
_Universe__createQuestionRti(universe, baseType, key, normalize) {
var baseKind, t1, rti;
if (normalize) {
baseKind = baseType._kind;
t1 = true;
if (!A.isTopType(baseType))
if (!(baseType === type$.Null || baseType === type$.JSNull))
if (baseKind !== 6)
t1 = baseKind === 7 && A.isNullable(baseType._primary);
if (t1)
return baseType;
else if (baseKind === 1)
return type$.Null;
}
rti = new A.Rti(null, null);
rti._kind = 6;
rti._primary = baseType;
rti._canonicalRecipe = key;
return A._Universe__installTypeTests(universe, rti);
},
_Universe__lookupFutureOrRti(universe, baseType, normalize) {
var t1,
key = baseType._canonicalRecipe + "/",
probe = universe.eC.get(key);
if (probe != null)
return probe;
t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
universe.eC.set(key, t1);
return t1;
},
_Universe__createFutureOrRti(universe, baseType, key, normalize) {
var t1, rti;
if (normalize) {
t1 = baseType._kind;
if (A.isTopType(baseType) || baseType === type$.Object)
return baseType;
else if (t1 === 1)
return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
else if (baseType === type$.Null || baseType === type$.JSNull)
return type$.nullable_Future_Null;
}
rti = new A.Rti(null, null);
rti._kind = 7;
rti._primary = baseType;
rti._canonicalRecipe = key;
return A._Universe__installTypeTests(universe, rti);
},
_Universe__lookupGenericFunctionParameterRti(universe, index) {
var rti, t1,
key = "" + index + "^",
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new A.Rti(null, null);
rti._kind = 13;
rti._primary = index;
rti._canonicalRecipe = key;
t1 = A._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__canonicalRecipeJoin($arguments) {
var s, sep, i,
$length = $arguments.length;
for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
s += sep + $arguments[i]._canonicalRecipe;
return s;
},
_Universe__canonicalRecipeJoinNamed($arguments) {
var s, sep, i, t1, nameSep,
$length = $arguments.length;
for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
t1 = $arguments[i];
nameSep = $arguments[i + 1] ? "!" : ":";
s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
}
return s;
},
_Universe__lookupInterfaceRti(universe, $name, $arguments) {
var probe, rti, t1,
s = $name;
if ($arguments.length > 0)
s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
probe = universe.eC.get(s);
if (probe != null)
return probe;
rti = new A.Rti(null, null);
rti._kind = 8;
rti._primary = $name;
rti._rest = $arguments;
if ($arguments.length > 0)
rti._precomputed1 = $arguments[0];
rti._canonicalRecipe = s;
t1 = A._Universe__installTypeTests(universe, rti);
universe.eC.set(s, t1);
return t1;
},
_Universe__lookupBindingRti(universe, base, $arguments) {
var newBase, newArguments, key, probe, rti, t1;
if (base._kind === 9) {
newBase = base._primary;
newArguments = base._rest.concat($arguments);
} else {
newArguments = $arguments;
newBase = base;
}
key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new A.Rti(null, null);
rti._kind = 9;
rti._primary = newBase;
rti._rest = newArguments;
rti._canonicalRecipe = key;
t1 = A._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__lookupRecordRti(universe, partialShapeTag, fields) {
var rti, t1,
key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new A.Rti(null, null);
rti._kind = 10;
rti._primary = partialShapeTag;
rti._rest = fields;
rti._canonicalRecipe = key;
t1 = A._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__lookupFunctionRti(universe, returnType, parameters) {
var sep, key, probe, rti, t1,
s = returnType._canonicalRecipe,
requiredPositional = parameters._requiredPositional,
requiredPositionalLength = requiredPositional.length,
optionalPositional = parameters._optionalPositional,
optionalPositionalLength = optionalPositional.length,
named = parameters._named,
namedLength = named.length,
recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
if (optionalPositionalLength > 0) {
sep = requiredPositionalLength > 0 ? "," : "";
recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
}
if (namedLength > 0) {
sep = requiredPositionalLength > 0 ? "," : "";
recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
}
key = s + (recipe + ")");
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new A.Rti(null, null);
rti._kind = 11;
rti._primary = returnType;
rti._rest = parameters;
rti._canonicalRecipe = key;
t1 = A._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
var t1,
key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
probe = universe.eC.get(key);
if (probe != null)
return probe;
t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
universe.eC.set(key, t1);
return t1;
},
_Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
if (normalize) {
$length = bounds.length;
typeArguments = A._Utils_newArrayOrEmpty($length);
for (count = 0, i = 0; i < $length; ++i) {
bound = bounds[i];
if (bound._kind === 1) {
typeArguments[i] = bound;
++count;
}
}
if (count > 0) {
substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
}
}
rti = new A.Rti(null, null);
rti._kind = 12;
rti._primary = baseFunctionType;
rti._rest = bounds;
rti._canonicalRecipe = key;
return A._Universe__installTypeTests(universe, rti);
},
_Parser_create(universe, environment, recipe, normalize) {
return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
},
_Parser_parse(parser) {
var t1, i, ch, u, array, end, item,
source = parser.r,
stack = parser.s;
for (t1 = source.length, i = 0; i < t1;) {
ch = source.charCodeAt(i);
if (ch >= 48 && ch <= 57)
i = A._Parser_handleDigit(i + 1, ch, source, stack);
else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
i = A._Parser_handleIdentifier(parser, i, source, stack, false);
else if (ch === 46)
i = A._Parser_handleIdentifier(parser, i, source, stack, true);
else {
++i;
switch (ch) {
case 44:
break;
case 58:
stack.push(false);
break;
case 33:
stack.push(true);
break;
case 59:
stack.push(A._Parser_toType(parser.u, parser.e, stack.pop()));
break;
case 94:
stack.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop()));
break;
case 35:
stack.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
break;
case 64:
stack.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
break;
case 126:
stack.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
break;
case 60:
stack.push(parser.p);
parser.p = stack.length;
break;
case 62:
A._Parser_handleTypeArguments(parser, stack);
break;
case 38:
A._Parser_handleExtendedOperations(parser, stack);
break;
case 63:
u = parser.u;
stack.push(A._Universe__lookupQuestionRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
break;
case 47:
u = parser.u;
stack.push(A._Universe__lookupFutureOrRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
break;
case 40:
stack.push(-3);
stack.push(parser.p);
parser.p = stack.length;
break;
case 41:
A._Parser_handleArguments(parser, stack);
break;
case 91:
stack.push(parser.p);
parser.p = stack.length;
break;
case 93:
array = stack.splice(parser.p);
A._Parser_toTypes(parser.u, parser.e, array);
parser.p = stack.pop();
stack.push(array);
stack.push(-1);
break;
case 123:
stack.push(parser.p);
parser.p = stack.length;
break;
case 125:
array = stack.splice(parser.p);
A._Parser_toTypesNamed(parser.u, parser.e, array);
parser.p = stack.pop();
stack.push(array);
stack.push(-2);
break;
case 43:
end = source.indexOf("(", i);
stack.push(source.substring(i, end));
stack.push(-4);
stack.push(parser.p);
parser.p = stack.length;
i = end + 1;
break;
default:
throw "Bad character " + ch;
}
}
}
item = stack.pop();
return A._Parser_toType(parser.u, parser.e, item);
},
_Parser_handleDigit(i, digit, source, stack) {
var t1, ch,
value = digit - 48;
for (t1 = source.length; i < t1; ++i) {
ch = source.charCodeAt(i);
if (!(ch >= 48 && ch <= 57))
break;
value = value * 10 + (ch - 48);
}
stack.push(value);
return i;
},
_Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
var t1, ch, t2, string, environment, recipe,
i = start + 1;
for (t1 = source.length; i < t1; ++i) {
ch = source.charCodeAt(i);
if (ch === 46) {
if (hasPeriod)
break;
hasPeriod = true;
} else {
if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
t2 = ch >= 48 && ch <= 57;
else
t2 = true;
if (!t2)
break;
}
}
string = source.substring(start, i);
if (hasPeriod) {
t1 = parser.u;
environment = parser.e;
if (environment._kind === 9)
environment = environment._primary;
recipe = A._Universe_findRule(t1, environment._primary)[string];
if (recipe == null)
A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
} else
stack.push(string);
return i;
},
_Parser_handleTypeArguments(parser, stack) {
var base,
universe = parser.u,
$arguments = A._Parser_collectArray(parser, stack),
head = stack.pop();
if (typeof head == "string")
stack.push(A._Universe__lookupInterfaceRti(universe, head, $arguments));
else {
base = A._Parser_toType(universe, parser.e, head);
switch (base._kind) {
case 11:
stack.push(A._Universe__lookupGenericFunctionRti(universe, base, $arguments, parser.n));
break;
default:
stack.push(A._Universe__lookupBindingRti(universe, base, $arguments));
break;
}
}
},
_Parser_handleArguments(parser, stack) {
var requiredPositional, returnType, parameters,
universe = parser.u,
head = stack.pop(),
optionalPositional = null, named = null;
if (typeof head == "number")
switch (head) {
case -1:
optionalPositional = stack.pop();
break;
case -2:
named = stack.pop();
break;
default:
stack.push(head);
break;
}
else
stack.push(head);
requiredPositional = A._Parser_collectArray(parser, stack);
head = stack.pop();
switch (head) {
case -3:
head = stack.pop();
if (optionalPositional == null)
optionalPositional = universe.sEA;
if (named == null)
named = universe.sEA;
returnType = A._Parser_toType(universe, parser.e, head);
parameters = new A._FunctionParameters();
parameters._requiredPositional = requiredPositional;
parameters._optionalPositional = optionalPositional;
parameters._named = named;
stack.push(A._Universe__lookupFunctionRti(universe, returnType, parameters));
return;
case -4:
stack.push(A._Universe__lookupRecordRti(universe, stack.pop(), requiredPositional));
return;
default:
throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
}
},
_Parser_handleExtendedOperations(parser, stack) {
var $top = stack.pop();
if (0 === $top) {
stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
return;
}
if (1 === $top) {
stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
return;
}
throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
},
_Parser_collectArray(parser, stack) {
var array = stack.splice(parser.p);
A._Parser_toTypes(parser.u, parser.e, array);
parser.p = stack.pop();
return array;
},
_Parser_toType(universe, environment, item) {
if (typeof item == "string")
return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
else if (typeof item == "number") {
environment.toString;
return A._Parser_indexToType(universe, environment, item);
} else
return item;
},
_Parser_toTypes(universe, environment, items) {
var i,
$length = items.length;
for (i = 0; i < $length; ++i)
items[i] = A._Parser_toType(universe, environment, items[i]);
},
_Parser_toTypesNamed(universe, environment, items) {
var i,
$length = items.length;
for (i = 2; i < $length; i += 3)
items[i] = A._Parser_toType(universe, environment, items[i]);
},
_Parser_indexToType(universe, environment, index) {
var typeArguments, len,
kind = environment._kind;
if (kind === 9) {
if (index === 0)
return environment._primary;
typeArguments = environment._rest;
len = typeArguments.length;
if (index <= len)
return typeArguments[index - 1];
index -= len;
environment = environment._primary;
kind = environment._kind;
} else if (index === 0)
return environment;
if (kind !== 8)
throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
typeArguments = environment._rest;
if (index <= typeArguments.length)
return typeArguments[index - 1];
throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
},
isSubtype(universe, s, t) {
var result,
sCache = s._isSubtypeCache;
if (sCache == null)
sCache = s._isSubtypeCache = new Map();
result = sCache.get(t);
if (result == null) {
result = A._isSubtype(universe, s, null, t, null);
sCache.set(t, result);
}
return result;
},
_isSubtype(universe, s, sEnv, t, tEnv) {
var sKind, leftTypeVariable, tKind, t1, t2, sBounds, tBounds, sLength, i, sBound, tBound;
if (s === t)
return true;
if (A.isTopType(t))
return true;
sKind = s._kind;
if (sKind === 4)
return true;
if (A.isTopType(s))
return false;
if (s._kind === 1)
return true;
leftTypeVariable = sKind === 13;
if (leftTypeVariable)
if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
return true;
tKind = t._kind;
t1 = type$.Null;
if (s === t1 || s === type$.JSNull) {
if (tKind === 7)
return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
return t === t1 || t === type$.JSNull || tKind === 6;
}
if (t === type$.Object) {
if (sKind === 7)
return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
return sKind !== 6;
}
if (sKind === 7) {
if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
return false;
return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
}
if (sKind === 6)
return A._isSubtype(universe, t1, sEnv, t, tEnv) && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
if (tKind === 7) {
if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
return true;
return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
}
if (tKind === 6)
return A._isSubtype(universe, s, sEnv, t1, tEnv) || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
if (leftTypeVariable)
return false;
t1 = sKind !== 11;
if ((!t1 || sKind === 12) && t === type$.Function)
return true;
t2 = sKind === 10;
if (t2 && t === type$.Record)
return true;
if (tKind === 12) {
if (s === type$.JavaScriptFunction)
return true;
if (sKind !== 12)
return false;
sBounds = s._rest;
tBounds = t._rest;
sLength = sBounds.length;
if (sLength !== tBounds.length)
return false;
sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
for (i = 0; i < sLength; ++i) {
sBound = sBounds[i];
tBound = tBounds[i];
if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
return false;
}
return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
}
if (tKind === 11) {
if (s === type$.JavaScriptFunction)
return true;
if (t1)
return false;
return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
}
if (sKind === 8) {
if (tKind !== 8)
return false;
return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
}
if (t2 && tKind === 10)
return A._isRecordSubtype(universe, s, sEnv, t, tEnv);
return false;
},
_isFunctionSubtype(universe, s, sEnv, t, tEnv) {
var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
return false;
sParameters = s._rest;
tParameters = t._rest;
sRequiredPositional = sParameters._requiredPositional;
tRequiredPositional = tParameters._requiredPositional;
sRequiredPositionalLength = sRequiredPositional.length;
tRequiredPositionalLength = tRequiredPositional.length;
if (sRequiredPositionalLength > tRequiredPositionalLength)
return false;
requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
sOptionalPositional = sParameters._optionalPositional;
tOptionalPositional = tParameters._optionalPositional;
sOptionalPositionalLength = sOptionalPositional.length;
tOptionalPositionalLength = tOptionalPositional.length;
if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
return false;
for (i = 0; i < sRequiredPositionalLength; ++i) {
t1 = sRequiredPositional[i];
if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
return false;
}
for (i = 0; i < requiredPositionalDelta; ++i) {
t1 = sOptionalPositional[i];
if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
return false;
}
for (i = 0; i < tOptionalPositionalLength; ++i) {
t1 = sOptionalPositional[requiredPositionalDelta + i];
if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
return false;
}
sNamed = sParameters._named;
tNamed = tParameters._named;
sNamedLength = sNamed.length;
tNamedLength = tNamed.length;
for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
tName = tNamed[tIndex];
for (; true;) {
if (sIndex >= sNamedLength)
return false;
sName = sNamed[sIndex];
sIndex += 3;
if (tName < sName)
return false;
sIsRequired = sNamed[sIndex - 2];
if (sName < tName) {
if (sIsRequired)
return false;
continue;
}
t1 = tNamed[tIndex + 1];
if (sIsRequired && !t1)
return false;
t1 = sNamed[sIndex - 1];
if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
return false;
break;
}
}
for (; sIndex < sNamedLength;) {
if (sNamed[sIndex + 1])
return false;
sIndex += 3;
}
return true;
},
_isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
var rule, recipes, $length, supertypeArgs, i,
sName = s._primary,
tName = t._primary;
for (; sName !== tName;) {
rule = universe.tR[sName];
if (rule == null)
return false;
if (typeof rule == "string") {
sName = rule;
continue;
}
recipes = rule[tName];
if (recipes == null)
return false;
$length = recipes.length;
supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
for (i = 0; i < $length; ++i)
supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
}
return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv);
},
_areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
var i,
$length = sArgs.length;
for (i = 0; i < $length; ++i)
if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv))
return false;
return true;
},
_isRecordSubtype(universe, s, sEnv, t, tEnv) {
var i,
sFields = s._rest,
tFields = t._rest,
sCount = sFields.length;
if (sCount !== tFields.length)
return false;
if (s._primary !== t._primary)
return false;
for (i = 0; i < sCount; ++i)
if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))
return false;
return true;
},
isNullable(t) {
var kind = t._kind,
t1 = true;
if (!(t === type$.Null || t === type$.JSNull))
if (!A.isTopType(t))
if (kind !== 6)
t1 = kind === 7 && A.isNullable(t._primary);
return t1;
},
isTopType(t) {
var kind = t._kind;
return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
},
_Utils_objectAssign(o, other) {
var i, key,
keys = Object.keys(other),
$length = keys.length;
for (i = 0; i < $length; ++i) {
key = keys[i];
o[key] = other[key];
}
},
_Utils_newArrayOrEmpty($length) {
return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
},
Rti: function Rti(t0, t1) {
var _ = this;
_._as = t0;
_._is = t1;
_._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
_._kind = 0;
_._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
},
_FunctionParameters: function _FunctionParameters() {
this._named = this._optionalPositional = this._requiredPositional = null;
},
_Type: function _Type(t0) {
this._rti = t0;
},
_Error: function _Error() {
},
_TypeError: function _TypeError(t0) {
this.__rti$_message = t0;
},
_AsyncRun__initializeScheduleImmediate() {
var t1, div, span;
if (self.scheduleImmediate != null)
return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
if (self.MutationObserver != null && self.document != null) {
t1 = {};
div = self.document.createElement("div");
span = self.document.createElement("span");
t1.storedCallback = null;
new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
} else if (self.setImmediate != null)
return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
},
_AsyncRun__scheduleImmediateJsOverride(callback) {
self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
},
_AsyncRun__scheduleImmediateWithSetImmediate(callback) {
self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
},
_AsyncRun__scheduleImmediateWithTimer(callback) {
A.Timer__createTimer(B.Duration_0, callback);
},
Timer__createTimer(duration, callback) {
var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
},
_TimerImpl$(milliseconds, callback) {
var t1 = new A._TimerImpl(true);
t1._TimerImpl$2(milliseconds, callback);
return t1;
},
_TimerImpl$periodic(milliseconds, callback) {
var t1 = new A._TimerImpl(false);
t1._TimerImpl$periodic$2(milliseconds, callback);
return t1;
},
_makeAsyncAwaitCompleter($T) {
return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
},
_asyncStartSync(bodyFunction, completer) {
bodyFunction.call$2(0, null);
completer.isSync = true;
return completer._future;
},
_asyncAwait(object, bodyFunction) {
A._awaitOnObject(object, bodyFunction);
},
_asyncReturn(object, completer) {
completer.complete$1(object);
},
_asyncRethrow(object, completer) {
completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
},
_awaitOnObject(object, bodyFunction) {
var t1, future,
thenCallback = new A._awaitOnObject_closure(bodyFunction),
errorCallback = new A._awaitOnObject_closure0(bodyFunction);
if (object instanceof A._Future)
object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
else {
t1 = type$.dynamic;
if (object instanceof A._Future)
object.then$1$2$onError(0, thenCallback, errorCallback, t1);
else {
future = new A._Future($.Zone__current, type$._Future_dynamic);
future._state = 8;
future._resultOrListeners = object;
future._thenAwait$1$2(thenCallback, errorCallback, t1);
}
}
},
_wrapJsFunctionForAsync($function) {
var $protected = function(fn, ERROR) {
return function(errorCode, result) {
while (true) {
try {
fn(errorCode, result);
break;
} catch (error) {
result = error;
errorCode = ERROR;
}
}
};
}($function, 1);
return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
},
_SyncStarIterator__terminatedBody(_1, _2, _3) {
return 0;
},
AsyncError_defaultStackTrace(error) {
var stackTrace;
if (type$.Error._is(error)) {
stackTrace = error.get$stackTrace();
if (stackTrace != null)
return stackTrace;
}
return B._StringStackTrace_OdL;
},
Future_Future$value(value, $T) {
var t1;
$T._as(value);
t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
t1._asyncComplete$1(value);
return t1;
},
Future_wait(futures, eagerError, $T) {
var handleError, future, pos, e, s, t1, t2, exception, t3, t4, _box_0 = {}, cleanUp = null,
_future = new A._Future($.Zone__current, $T._eval$1("_Future>"));
_box_0.values = null;
_box_0.remaining = 0;
_box_0.stackTrace = _box_0.error = null;
handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future);
try {
for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
future = t1.get$current(t1);
pos = _box_0.remaining;
J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2);
++_box_0.remaining;
}
t1 = _box_0.remaining;
if (t1 === 0) {
t1 = _future;
t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
return t1;
}
_box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
} catch (exception) {
e = A.unwrapException(exception);
s = A.getTraceFromException(exception);
if (_box_0.remaining === 0 || eagerError) {
t1 = _future;
t2 = e;
t3 = s;
t4 = A._interceptError(t2, t3);
if (t4 == null)
t2 = new A.AsyncError(t2, t3 == null ? A.AsyncError_defaultStackTrace(t2) : t3);
else
t2 = t4;
t1._asyncCompleteErrorObject$1(t2);
return t1;
} else {
_box_0.error = e;
_box_0.stackTrace = s;
}
}
return _future;
},
_interceptError(error, stackTrace) {
var replacement, t1, t2,
zone = $.Zone__current;
if (zone === B.C__RootZone)
return null;
replacement = zone.errorCallback$2(error, stackTrace);
if (replacement == null)
return null;
t1 = replacement.error;
t2 = replacement.stackTrace;
if (type$.Error._is(t1))
A.Primitives_trySetStackTrace(t1, t2);
return replacement;
},
_interceptUserError(error, stackTrace) {
var replacement;
if ($.Zone__current !== B.C__RootZone) {
replacement = A._interceptError(error, stackTrace);
if (replacement != null)
return replacement;
}
if (stackTrace == null)
if (type$.Error._is(error)) {
stackTrace = error.get$stackTrace();
if (stackTrace == null) {
A.Primitives_trySetStackTrace(error, B._StringStackTrace_OdL);
stackTrace = B._StringStackTrace_OdL;
}
} else
stackTrace = B._StringStackTrace_OdL;
else if (type$.Error._is(error))
A.Primitives_trySetStackTrace(error, stackTrace);
return new A.AsyncError(error, stackTrace);
},
_Future$zoneValue(value, _zone, $T) {
var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
t1._state = 8;
t1._resultOrListeners = value;
return t1;
},
_Future$value(value, $T) {
var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
t1._state = 8;
t1._resultOrListeners = value;
return t1;
},
_Future__chainCoreFuture(source, target, sync) {
var t2, ignoreError, listeners, _box_0 = {},
t1 = _box_0.source = source;
for (; t2 = t1._state, (t2 & 4) !== 0;) {
t1 = t1._resultOrListeners;
_box_0.source = t1;
}
if (t1 === target) {
t2 = A.StackTrace_current();
target._asyncCompleteErrorObject$1(new A.AsyncError(new A.ArgumentError(true, t1, null, "Cannot complete a future with itself"), t2));
return;
}
ignoreError = target._state & 1;
t2 = t1._state = t2 | ignoreError;
if ((t2 & 24) === 0) {
listeners = target._resultOrListeners;
target._state = target._state & 1 | 4;
target._resultOrListeners = t1;
t1._prependListeners$1(listeners);
return;
}
if (!sync)
if (target._resultOrListeners == null)
t1 = (t2 & 16) === 0 || ignoreError !== 0;
else
t1 = false;
else
t1 = true;
if (t1) {
listeners = target._removeListeners$0();
target._cloneResult$1(_box_0.source);
A._Future__propagateToListeners(target, listeners);
return;
}
target._state ^= 2;
target._zone.scheduleMicrotask$1(new A._Future__chainCoreFuture_closure(_box_0, target));
},
_Future__propagateToListeners(source, listeners) {
var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
t1 = _box_1.source = source;
for (; true;) {
_box_0 = {};
t2 = t1._state;
t3 = (t2 & 16) === 0;
hasError = !t3;
if (listeners == null) {
if (hasError && (t2 & 1) === 0) {
t2 = t1._resultOrListeners;
t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
}
return;
}
_box_0.listener = listeners;
nextListener = listeners._nextListener;
for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
t1._nextListener = null;
A._Future__propagateToListeners(_box_1.source, t1);
_box_0.listener = nextListener;
nextListener0 = nextListener._nextListener;
}
t2 = _box_1.source;
sourceResult = t2._resultOrListeners;
_box_0.listenerHasError = hasError;
_box_0.listenerValueOrError = sourceResult;
if (t3) {
t4 = t1.state;
t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
} else
t4 = true;
if (t4) {
zone = t1.result._zone;
if (hasError) {
t1 = t2._zone;
t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
} else
t1 = false;
if (t1) {
t1 = _box_1.source;
t2 = t1._resultOrListeners;
t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
return;
}
oldZone = $.Zone__current;
if (oldZone !== zone)
$.Zone__current = zone;
else
oldZone = null;
t1 = _box_0.listener.state;
if ((t1 & 15) === 8)
new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
else if (t3) {
if ((t1 & 1) !== 0)
new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
} else if ((t1 & 2) !== 0)
new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
if (oldZone != null)
$.Zone__current = oldZone;
t1 = _box_0.listenerValueOrError;
if (t1 instanceof A._Future) {
t2 = _box_0.listener.$ti;
t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
} else
t2 = false;
if (t2) {
result = _box_0.listener.result;
if ((t1._state & 24) !== 0) {
current = result._resultOrListeners;
result._resultOrListeners = null;
listeners = result._reverseListeners$1(current);
result._state = t1._state & 30 | result._state & 1;
result._resultOrListeners = t1._resultOrListeners;
_box_1.source = t1;
continue;
} else
A._Future__chainCoreFuture(t1, result, true);
return;
}
}
result = _box_0.listener.result;
current = result._resultOrListeners;
result._resultOrListeners = null;
listeners = result._reverseListeners$1(current);
t1 = _box_0.listenerHasError;
t2 = _box_0.listenerValueOrError;
if (!t1) {
result._state = 8;
result._resultOrListeners = t2;
} else {
result._state = result._state & 1 | 16;
result._resultOrListeners = t2;
}
_box_1.source = result;
t1 = result;
}
},
_registerErrorHandler(errorHandler, zone) {
if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
if (type$.dynamic_Function_Object._is(errorHandler))
return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
},
_microtaskLoop() {
var entry, next;
for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
$._lastPriorityCallback = null;
next = entry.next;
$._nextCallback = next;
if (next == null)
$._lastCallback = null;
entry.callback.call$0();
}
},
_startMicrotaskLoop() {
$._isInCallbackLoop = true;
try {
A._microtaskLoop();
} finally {
$._lastPriorityCallback = null;
$._isInCallbackLoop = false;
if ($._nextCallback != null)
$.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
}
},
_scheduleAsyncCallback(callback) {
var newEntry = new A._AsyncCallbackEntry(callback),
lastCallback = $._lastCallback;
if (lastCallback == null) {
$._nextCallback = $._lastCallback = newEntry;
if (!$._isInCallbackLoop)
$.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
} else
$._lastCallback = lastCallback.next = newEntry;
},
_schedulePriorityAsyncCallback(callback) {
var entry, lastPriorityCallback, next,
t1 = $._nextCallback;
if (t1 == null) {
A._scheduleAsyncCallback(callback);
$._lastPriorityCallback = $._lastCallback;
return;
}
entry = new A._AsyncCallbackEntry(callback);
lastPriorityCallback = $._lastPriorityCallback;
if (lastPriorityCallback == null) {
entry.next = t1;
$._nextCallback = $._lastPriorityCallback = entry;
} else {
next = lastPriorityCallback.next;
entry.next = next;
$._lastPriorityCallback = lastPriorityCallback.next = entry;
if (next == null)
$._lastCallback = entry;
}
},
scheduleMicrotask(callback) {
var t1, _null = null,
currentZone = $.Zone__current;
if (B.C__RootZone === currentZone) {
A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
return;
}
if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
else
t1 = false;
if (t1) {
A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
return;
}
t1 = $.Zone__current;
t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
},
Stream_Stream$fromFuture(future, $T) {
var _null = null,
t1 = $T._eval$1("_SyncStreamController<0>"),
controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
},
StreamIterator_StreamIterator(stream) {
return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
},
StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
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>"));
},
_runGuarded(notificationHandler) {
var e, s, exception;
if (notificationHandler == null)
return;
try {
notificationHandler.call$0();
} catch (exception) {
e = A.unwrapException(exception);
s = A.getTraceFromException(exception);
$.Zone__current.handleUncaughtError$2(e, s);
}
},
_ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
var t1 = $.Zone__current,
t2 = cancelOnError ? 1 : 0,
t3 = onError != null ? 32 : 0,
t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
return new A._ControllerSubscription(_controller, t4, t5, t1.registerCallback$1$1(t6, type$.void), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>"));
},
_AddStreamState_makeErrorHandler(controller) {
return new A._AddStreamState_makeErrorHandler_closure(controller);
},
_BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
},
_BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
if (handleError == null)
handleError = A.async___nullErrorHandler$closure();
if (type$.void_Function_Object_StackTrace._is(handleError))
return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
if (type$.void_Function_Object._is(handleError))
return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
},
_nullDataHandler(value) {
},
_nullErrorHandler(error, stackTrace) {
$.Zone__current.handleUncaughtError$2(error, stackTrace);
},
_nullDoneHandler() {
},
Timer_Timer(duration, callback) {
var t1 = $.Zone__current;
if (t1 === B.C__RootZone)
return t1.createTimer$2(duration, callback);
return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
},
_rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
A._rootHandleError(error, stackTrace);
},
_rootHandleError(error, stackTrace) {
A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
},
_rootRun($self, $parent, zone, f) {
var old,
t1 = $.Zone__current;
if (t1 === zone)
return f.call$0();
$.Zone__current = zone;
old = t1;
try {
t1 = f.call$0();
return t1;
} finally {
$.Zone__current = old;
}
},
_rootRunUnary($self, $parent, zone, f, arg) {
var old,
t1 = $.Zone__current;
if (t1 === zone)
return f.call$1(arg);
$.Zone__current = zone;
old = t1;
try {
t1 = f.call$1(arg);
return t1;
} finally {
$.Zone__current = old;
}
},
_rootRunBinary($self, $parent, zone, f, arg1, arg2) {
var old,
t1 = $.Zone__current;
if (t1 === zone)
return f.call$2(arg1, arg2);
$.Zone__current = zone;
old = t1;
try {
t1 = f.call$2(arg1, arg2);
return t1;
} finally {
$.Zone__current = old;
}
},
_rootRegisterCallback($self, $parent, zone, f) {
return f;
},
_rootRegisterUnaryCallback($self, $parent, zone, f) {
return f;
},
_rootRegisterBinaryCallback($self, $parent, zone, f) {
return f;
},
_rootErrorCallback($self, $parent, zone, error, stackTrace) {
return null;
},
_rootScheduleMicrotask($self, $parent, zone, f) {
var t1, t2;
if (B.C__RootZone !== zone) {
t1 = B.C__RootZone.get$errorZone();
t2 = zone.get$errorZone();
f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
}
A._scheduleAsyncCallback(f);
},
_rootCreateTimer($self, $parent, zone, duration, callback) {
return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
},
_rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
var milliseconds;
if (B.C__RootZone !== zone)
callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
},
_rootPrint($self, $parent, zone, line) {
A.printString(line);
},
_printToZone(line) {
$.Zone__current.print$1(line);
},
_rootFork($self, $parent, zone, specification, zoneValues) {
var valueMap, t1, handleUncaughtError;
$.printToZone = A.async___printToZone$closure();
if (specification == null)
specification = B._ZoneSpecification_Ipa;
if (zoneValues == null)
valueMap = zone.get$_async$_map();
else {
t1 = type$.nullable_Object;
valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
}
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);
handleUncaughtError = specification.handleUncaughtError;
if (handleUncaughtError != null)
t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
return t1;
},
runZoned(body, zoneValues, $R) {
return A._runZoned(body, zoneValues, null, $R);
},
_runZoned(body, zoneValues, specification, $R) {
return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
},
_AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
this._box_0 = t0;
},
_AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
this._box_0 = t0;
this.div = t1;
this.span = t2;
},
_AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
this.callback = t0;
},
_AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
this.callback = t0;
},
_TimerImpl: function _TimerImpl(t0) {
this._once = t0;
this._handle = null;
this._tick = 0;
},
_TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
this.$this = t0;
this.callback = t1;
},
_TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.milliseconds = t1;
_.start = t2;
_.callback = t3;
},
_AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
this._future = t0;
this.isSync = false;
this.$ti = t1;
},
_awaitOnObject_closure: function _awaitOnObject_closure(t0) {
this.bodyFunction = t0;
},
_awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
this.bodyFunction = t0;
},
_wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
this.$protected = t0;
},
_SyncStarIterator: function _SyncStarIterator(t0) {
var _ = this;
_._body = t0;
_._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
},
_SyncStarIterable: function _SyncStarIterable(t0, t1) {
this._outerHelper = t0;
this.$ti = t1;
},
AsyncError: function AsyncError(t0, t1) {
this.error = t0;
this.stackTrace = t1;
},
Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.cleanUp = t1;
_.eagerError = t2;
_._future = t3;
},
Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._box_0 = t0;
_.pos = t1;
_._future = t2;
_.T = t3;
_.cleanUp = t4;
_.eagerError = t5;
},
_Completer: function _Completer() {
},
_AsyncCompleter: function _AsyncCompleter(t0, t1) {
this.future = t0;
this.$ti = t1;
},
_SyncCompleter: function _SyncCompleter(t0, t1) {
this.future = t0;
this.$ti = t1;
},
_FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
var _ = this;
_._nextListener = null;
_.result = t0;
_.state = t1;
_.callback = t2;
_.errorCallback = t3;
_.$ti = t4;
},
_Future: function _Future(t0, t1) {
var _ = this;
_._state = 0;
_._zone = t0;
_._resultOrListeners = null;
_.$ti = t1;
},
_Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
this.$this = t0;
this.listener = t1;
},
_Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_Future__chainCoreFuture_closure: function _Future__chainCoreFuture_closure(t0, t1) {
this._box_0 = t0;
this.target = t1;
},
_Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
_Future__asyncCompleteErrorObject_closure: function _Future__asyncCompleteErrorObject_closure(t0, t1) {
this.$this = t0;
this.error = t1;
},
_Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
this._box_0 = t0;
this._box_1 = t1;
this.hasError = t2;
},
_Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0, t1) {
this.joinedResult = t0;
this.originalSource = t1;
},
_Future__propagateToListeners_handleWhenCompleteCallback_closure0: function _Future__propagateToListeners_handleWhenCompleteCallback_closure0(t0) {
this.joinedResult = t0;
},
_Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
this._box_0 = t0;
this.sourceResult = t1;
},
_Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
this._box_1 = t0;
this._box_0 = t1;
},
_AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
this.callback = t0;
this.next = null;
},
Stream: function Stream() {
},
Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
this.controller = t0;
this.T = t1;
},
Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
this.controller = t0;
},
Stream_length_closure: function Stream_length_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
Stream_length_closure0: function Stream_length_closure0(t0, t1) {
this._box_0 = t0;
this.future = t1;
},
_StreamController: function _StreamController() {
},
_StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
this.$this = t0;
},
_StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
this.$this = t0;
},
_SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
},
_AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
},
_AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
var _ = this;
_._varData = null;
_._state = 0;
_._doneFuture = null;
_.onListen = t0;
_.onPause = t1;
_.onResume = t2;
_.onCancel = t3;
_.$ti = t4;
},
_SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
var _ = this;
_._varData = null;
_._state = 0;
_._doneFuture = null;
_.onListen = t0;
_.onPause = t1;
_.onResume = t2;
_.onCancel = t3;
_.$ti = t4;
},
_ControllerStream: function _ControllerStream(t0, t1) {
this._controller = t0;
this.$ti = t1;
},
_ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._controller = t0;
_._onData = t1;
_._onError = t2;
_._onDone = t3;
_._zone = t4;
_._state = t5;
_._pending = _._cancelFuture = null;
_.$ti = t6;
},
_AddStreamState: function _AddStreamState() {
},
_AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
this.controller = t0;
},
_AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
this.$this = t0;
},
_StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
this._varData = t0;
this.addStreamFuture = t1;
this.addSubscription = t2;
},
_BufferingStreamSubscription: function _BufferingStreamSubscription() {
},
_BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
this.$this = t0;
this.error = t1;
this.stackTrace = t2;
},
_BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
this.$this = t0;
},
_StreamImpl: function _StreamImpl() {
},
_DelayedEvent: function _DelayedEvent() {
},
_DelayedData: function _DelayedData(t0) {
this.value = t0;
this.next = null;
},
_DelayedError: function _DelayedError(t0, t1) {
this.error = t0;
this.stackTrace = t1;
this.next = null;
},
_DelayedDone: function _DelayedDone() {
},
_PendingEvents: function _PendingEvents() {
this._state = 0;
this.lastPendingEvent = this.firstPendingEvent = null;
},
_PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
this.$this = t0;
this.dispatch = t1;
},
_StreamIterator: function _StreamIterator(t0) {
this._subscription = null;
this._stateData = t0;
this._async$_hasValue = false;
},
_ForwardingStream: function _ForwardingStream() {
},
_ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._stream = t0;
_._subscription = null;
_._onData = t1;
_._onError = t2;
_._onDone = t3;
_._zone = t4;
_._state = t5;
_._pending = _._cancelFuture = null;
_.$ti = t6;
},
_MapStream: function _MapStream(t0, t1, t2) {
this._transform = t0;
this._async$_source = t1;
this.$ti = t2;
},
_ZoneFunction: function _ZoneFunction(t0, t1) {
this.zone = t0;
this.$function = t1;
},
_ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.handleUncaughtError = t0;
_.run = t1;
_.runUnary = t2;
_.runBinary = t3;
_.registerCallback = t4;
_.registerUnaryCallback = t5;
_.registerBinaryCallback = t6;
_.errorCallback = t7;
_.scheduleMicrotask = t8;
_.createTimer = t9;
_.createPeriodicTimer = t10;
_.print = t11;
_.fork = t12;
},
_ZoneDelegate: function _ZoneDelegate(t0) {
this._delegationTarget = t0;
},
_Zone: function _Zone() {
},
_CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_._run = t0;
_._runUnary = t1;
_._runBinary = t2;
_._registerCallback = t3;
_._registerUnaryCallback = t4;
_._registerBinaryCallback = t5;
_._errorCallback = t6;
_._scheduleMicrotask = t7;
_._createTimer = t8;
_._createPeriodicTimer = t9;
_._print = t10;
_._fork = t11;
_._handleUncaughtError = t12;
_._delegateCache = null;
_.parent = t13;
_._async$_map = t14;
},
_CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
this.$this = t0;
this.registered = t1;
this.R = t2;
},
_CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.registered = t1;
_.T = t2;
_.R = t3;
},
_CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
this.$this = t0;
this.registered = t1;
},
_rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
this.error = t0;
this.stackTrace = t1;
},
_RootZone: function _RootZone() {
},
_RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
this.$this = t0;
this.f = t1;
this.R = t2;
},
_RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.f = t1;
_.T = t2;
_.R = t3;
},
_RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
this.$this = t0;
this.f = t1;
},
HashMap_HashMap($K, $V) {
return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
},
_HashMap__getTableEntry(table, key) {
var entry = table[key];
return entry === table ? null : entry;
},
_HashMap__setTableEntry(table, key, value) {
if (value == null)
table[key] = table;
else
table[key] = value;
},
_HashMap__newHashTable() {
var table = Object.create(null);
A._HashMap__setTableEntry(table, "", table);
delete table[""];
return table;
},
LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
if (isValidKey == null)
if (hashCode == null) {
if (equals == null)
return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
hashCode = A.collection___defaultHashCode$closure();
} else {
if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
if (equals == null)
equals = A.collection___defaultEquals$closure();
}
else {
if (hashCode == null)
hashCode = A.collection___defaultHashCode$closure();
if (equals == null)
equals = A.collection___defaultEquals$closure();
}
return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
},
LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
},
LinkedHashMap_LinkedHashMap$_empty($K, $V) {
return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
},
_LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
},
LinkedHashSet_LinkedHashSet($E) {
return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
},
LinkedHashSet_LinkedHashSet$_empty($E) {
return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
},
LinkedHashSet_LinkedHashSet$_literal(values, $E) {
return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
},
_LinkedHashSet__newHashTable() {
var table = Object.create(null);
table[""] = table;
delete table[""];
return table;
},
_LinkedHashSetIterator$(_set, _modifications, $E) {
var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
t1._collection$_cell = _set._collection$_first;
return t1;
},
UnmodifiableListView$(source, $E) {
return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
},
_defaultEquals(a, b) {
return J.$eq$(a, b);
},
_defaultHashCode(a) {
return J.get$hashCode$(a);
},
HashMap_HashMap$from(other, $K, $V) {
var result = A.HashMap_HashMap($K, $V);
other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
return result;
},
IterableExtensions_get_firstOrNull(_this) {
var t2,
t1 = A._arrayInstanceType(_this),
iterator = new J.ArrayIterator(_this, _this.length, t1._eval$1("ArrayIterator<1>"));
if (iterator.moveNext$0()) {
t2 = iterator._current;
return t2 == null ? t1._precomputed1._as(t2) : t2;
}
return null;
},
LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
return result;
},
LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
t1.addAll$1(0, other);
return t1;
},
LinkedHashSet_LinkedHashSet$from(elements, $E) {
var t1, _i,
result = A.LinkedHashSet_LinkedHashSet($E);
for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
result.add$1(0, $E._as(elements[_i]));
return result;
},
LinkedHashSet_LinkedHashSet$of(elements, $E) {
var t1 = A.LinkedHashSet_LinkedHashSet($E);
t1.addAll$1(0, elements);
return t1;
},
ListBase__compareAny(a, b) {
var t1 = type$.Comparable_dynamic;
return J.compareTo$1$ns(t1._as(a), t1._as(b));
},
MapBase_mapToString(m) {
var result, t1;
if (A.isToStringVisiting(m))
return "{...}";
result = new A.StringBuffer("");
try {
t1 = {};
$.toStringVisiting.push(m);
result._contents += "{";
t1.first = true;
m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
result._contents += "}";
} finally {
$.toStringVisiting.pop();
}
t1 = result._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
MapBase__fillMapWithIterables(map, keys, values) {
var keyIterator = keys.get$iterator(keys),
valueIterator = values.get$iterator(values),
hasNextKey = keyIterator.moveNext$0(),
hasNextValue = valueIterator.moveNext$0();
while (true) {
if (!(hasNextKey && hasNextValue))
break;
map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
hasNextKey = keyIterator.moveNext$0();
hasNextValue = valueIterator.moveNext$0();
}
if (hasNextKey || hasNextValue)
throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
},
ListQueue$($E) {
return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
},
ListQueue__calculateCapacity(initialCapacity) {
return 8;
},
ListQueue__nextPowerOf2(number) {
var nextNumber;
number = (number << 1 >>> 0) - 1;
for (; true; number = nextNumber) {
nextNumber = (number & number - 1) >>> 0;
if (nextNumber === 0)
return number;
}
},
_ListQueueIterator$(queue, $E) {
return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
},
_UnmodifiableSetMixin__throwUnmodifiable() {
throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
},
_HashMap: function _HashMap(t0) {
var _ = this;
_._collection$_length = 0;
_._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_.$ti = t0;
},
_HashMap_values_closure: function _HashMap_values_closure(t0) {
this.$this = t0;
},
_HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
this.$this = t0;
},
_IdentityHashMap: function _IdentityHashMap(t0) {
var _ = this;
_._collection$_length = 0;
_._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_.$ti = t0;
},
_HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
this._map = t0;
this.$ti = t1;
},
_HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
var _ = this;
_._map = t0;
_._collection$_keys = t1;
_._offset = 0;
_._collection$_current = null;
_.$ti = t2;
},
_LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
var _ = this;
_._equals = t0;
_._hashCode = t1;
_._validKey = t2;
_.__js_helper$_length = 0;
_._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
_._modifications = 0;
_.$ti = t3;
},
_LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
this.K = t0;
},
_LinkedHashSet: function _LinkedHashSet(t0) {
var _ = this;
_._collection$_length = 0;
_._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_._collection$_modifications = 0;
_.$ti = t0;
},
_LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
var _ = this;
_._collection$_length = 0;
_._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_._collection$_modifications = 0;
_.$ti = t0;
},
_LinkedHashSetCell: function _LinkedHashSetCell(t0) {
this._element = t0;
this._collection$_previous = this._collection$_next = null;
},
_LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
var _ = this;
_._set = t0;
_._collection$_modifications = t1;
_._collection$_current = _._collection$_cell = null;
_.$ti = t2;
},
UnmodifiableListView: function UnmodifiableListView(t0, t1) {
this._collection$_source = t0;
this.$ti = t1;
},
HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
this.result = t0;
this.K = t1;
this.V = t2;
},
LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
this.result = t0;
this.K = t1;
this.V = t2;
},
ListBase: function ListBase() {
},
MapBase: function MapBase() {
},
MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
this.$this = t0;
},
MapBase_entries_closure: function MapBase_entries_closure(t0) {
this.$this = t0;
},
MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
this._box_0 = t0;
this.result = t1;
},
UnmodifiableMapBase: function UnmodifiableMapBase() {
},
_MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
this._map = t0;
this.$ti = t1;
},
_MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
var _ = this;
_._collection$_keys = t0;
_._map = t1;
_._collection$_current = null;
_.$ti = t2;
},
_UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
},
MapView: function MapView() {
},
UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
this._map = t0;
this.$ti = t1;
},
ListQueue: function ListQueue(t0, t1) {
var _ = this;
_._table = t0;
_._modificationCount = _._tail = _._head = 0;
_.$ti = t1;
},
_ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
var _ = this;
_._queue = t0;
_._collection$_end = t1;
_._modificationCount = t2;
_._collection$_position = t3;
_._collection$_current = null;
_.$ti = t4;
},
SetBase: function SetBase() {
},
_SetBase: function _SetBase() {
},
_UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
},
UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
this._collection$_source = t0;
this.$ti = t1;
},
_UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
},
_UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
},
_parseJson(source, reviver) {
var e, exception, t1, parsed = null;
try {
parsed = JSON.parse(source);
} catch (exception) {
e = A.unwrapException(exception);
t1 = A.FormatException$(String(e), null, null);
throw A.wrapException(t1);
}
t1 = A._convertJsonToDartLazy(parsed);
return t1;
},
_convertJsonToDartLazy(object) {
var i;
if (object == null)
return null;
if (typeof object != "object")
return object;
if (!Array.isArray(object))
return new A._JsonMap(object, Object.create(null));
for (i = 0; i < object.length; ++i)
object[i] = A._convertJsonToDartLazy(object[i]);
return object;
},
_Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
var bytes, t1, i, b,
$length = end - start;
if ($length <= 4096)
bytes = $.$get$_Utf8Decoder__reusableBuffer();
else
bytes = new Uint8Array($length);
for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
b = t1.$index(codeUnits, start + i);
if ((b & 255) !== b)
b = 255;
bytes[i] = b;
}
return bytes;
},
_Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
if (decoder == null)
return null;
if (0 === start && end === codeUnits.length)
return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
},
_Utf8Decoder__useTextDecoder(decoder, codeUnits) {
var t1, exception;
try {
t1 = decoder.decode(codeUnits);
return t1;
} catch (exception) {
}
return null;
},
Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
if (B.JSInt_methods.$mod($length, 4) !== 0)
throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
if (firstPadding + paddingCount !== $length)
throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
if (paddingCount > 2)
throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
},
_Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
var t1, t2, i, byteOr, byte, outputIndex0, outputIndex1,
bits = state >>> 2,
expectedChars = 3 - (state & 3);
for (t1 = J.getInterceptor$asx(bytes), t2 = output.$flags | 0, i = start, byteOr = 0; i < end; ++i) {
byte = t1.$index(bytes, i);
byteOr = (byteOr | byte) >>> 0;
bits = (bits << 8 | byte) & 16777215;
--expectedChars;
if (expectedChars === 0) {
outputIndex0 = outputIndex + 1;
t2 & 2 && A.throwUnsupportedOperation(output);
output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
outputIndex = outputIndex0 + 1;
output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
outputIndex0 = outputIndex + 1;
output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
outputIndex = outputIndex0 + 1;
output[outputIndex0] = alphabet.charCodeAt(bits & 63);
bits = 0;
expectedChars = 3;
}
}
if (byteOr >= 0 && byteOr <= 255) {
if (isLast && expectedChars < 3) {
outputIndex0 = outputIndex + 1;
outputIndex1 = outputIndex0 + 1;
if (3 - expectedChars === 1) {
t2 & 2 && A.throwUnsupportedOperation(output);
output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
output[outputIndex1] = 61;
output[outputIndex1 + 1] = 61;
} else {
t2 & 2 && A.throwUnsupportedOperation(output);
output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
output[outputIndex1 + 1] = 61;
}
return 0;
}
return (bits << 2 | 3 - expectedChars) >>> 0;
}
for (i = start; i < end;) {
byte = t1.$index(bytes, i);
if (byte < 0 || byte > 255)
break;
++i;
}
throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + B.JSInt_methods.toRadixString$1(t1.$index(bytes, i), 16), null));
},
JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
},
_defaultToEncodable(object) {
return object.toJson$0();
},
_JsonStringStringifier$(_sink, _toEncodable) {
return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
},
_JsonStringStringifier_stringify(object, toEncodable, indent) {
var t1,
output = new A.StringBuffer(""),
stringifier = A._JsonStringStringifier$(output, toEncodable);
stringifier.writeObject$1(object);
t1 = output._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Utf8Decoder_errorDescription(state) {
switch (state) {
case 65:
return "Missing extension byte";
case 67:
return "Unexpected extension byte";
case 69:
return "Invalid UTF-8 byte";
case 71:
return "Overlong encoding";
case 73:
return "Out of unicode range";
case 75:
return "Encoded surrogate";
case 77:
return "Unfinished UTF-8 octet sequence";
default:
return "";
}
},
_JsonMap: function _JsonMap(t0, t1) {
this._original = t0;
this._processed = t1;
this._data = null;
},
_JsonMap_values_closure: function _JsonMap_values_closure(t0) {
this.$this = t0;
},
_JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
this.$this = t0;
},
_JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
this._convert$_parent = t0;
},
_Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
},
_Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
},
AsciiCodec: function AsciiCodec() {
},
_UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
},
AsciiEncoder: function AsciiEncoder(t0) {
this._subsetMask = t0;
},
Base64Codec: function Base64Codec() {
},
Base64Encoder: function Base64Encoder() {
},
_Base64Encoder: function _Base64Encoder(t0) {
this._convert$_state = 0;
this._alphabet = t0;
},
_Base64EncoderSink: function _Base64EncoderSink() {
},
_Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
this._sink = t0;
this._encoder = t1;
},
ByteConversionSink: function ByteConversionSink() {
},
Codec: function Codec() {
},
Converter: function Converter() {
},
Encoding: function Encoding() {
},
JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
this.unsupportedObject = t0;
this.cause = t1;
},
JsonCyclicError: function JsonCyclicError(t0, t1) {
this.unsupportedObject = t0;
this.cause = t1;
},
JsonCodec: function JsonCodec() {
},
JsonEncoder: function JsonEncoder(t0) {
this._toEncodable = t0;
},
JsonDecoder: function JsonDecoder(t0) {
this._reviver = t0;
},
_JsonStringifier: function _JsonStringifier() {
},
_JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
this._box_0 = t0;
this.keyValueList = t1;
},
_JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
this._sink = t0;
this._seen = t1;
this._toEncodable = t2;
},
StringConversionSink: function StringConversionSink() {
},
_StringSinkConversionSink: function _StringSinkConversionSink(t0) {
this._stringSink = t0;
},
_StringCallbackSink: function _StringCallbackSink(t0, t1) {
this._convert$_callback = t0;
this._stringSink = t1;
},
_Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
this._decoder = t0;
this._sink = t1;
this._stringSink = t2;
},
Utf8Codec: function Utf8Codec() {
},
Utf8Encoder: function Utf8Encoder() {
},
_Utf8Encoder: function _Utf8Encoder(t0) {
this._bufferIndex = 0;
this._buffer = t0;
},
Utf8Decoder: function Utf8Decoder(t0) {
this._allowMalformed = t0;
},
_Utf8Decoder: function _Utf8Decoder(t0) {
this.allowMalformed = t0;
this._convert$_state = 16;
this._charOrIndex = 0;
},
identityHashCode(object) {
return A.objectHashCode(object);
},
Function_apply($function, positionalArguments) {
return A.Primitives_applyFunction($function, positionalArguments, null);
},
Expando$() {
return new A.Expando(new WeakMap());
},
Expando__checkType(object) {
if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
A.Expando__badExpandoKey(object);
},
Expando__badExpandoKey(object) {
throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
},
int_parse(source, radix) {
var value = A.Primitives_parseInt(source, radix);
if (value != null)
return value;
throw A.wrapException(A.FormatException$(source, null, null));
},
double_parse(source) {
var value = A.Primitives_parseDouble(source);
if (value != null)
return value;
throw A.wrapException(A.FormatException$("Invalid double", source, null));
},
Error__throw(error, stackTrace) {
error = A.initializeExceptionWrapper(error, new Error());
error.stack = stackTrace.toString$0(0);
throw error;
},
List_List$filled($length, fill, growable, $E) {
var i,
result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
if ($length !== 0 && fill != null)
for (i = 0; i < result.length; ++i)
result[i] = fill;
return result;
},
List_List$from(elements, growable, $E) {
var t1,
list = A._setArrayType([], $E._eval$1("JSArray<0>"));
for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
list.push(t1.get$current(t1));
if (growable)
return list;
list.$flags = 1;
return list;
},
List_List$of(elements, growable, $E) {
var t1;
if (growable)
t1 = A.List_List$_of(elements, $E);
else {
t1 = A.List_List$_of(elements, $E);
t1.$flags = 1;
t1 = t1;
}
return t1;
},
List_List$_of(elements, $E) {
var list, t1;
if (Array.isArray(elements))
return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
list = A._setArrayType([], $E._eval$1("JSArray<0>"));
for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
list.push(t1.get$current(t1));
return list;
},
List_List$unmodifiable(elements, $E) {
var result = A.List_List$from(elements, false, $E);
result.$flags = 3;
return result;
},
String_String$fromCharCodes(charCodes, start, end) {
var t1, t2, maxLength, array, len;
A.RangeError_checkNotNegative(start, "start");
t1 = end == null;
t2 = !t1;
if (t2) {
maxLength = end - start;
if (maxLength < 0)
throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
if (maxLength === 0)
return "";
}
if (Array.isArray(charCodes)) {
array = charCodes;
len = array.length;
if (t1)
end = len;
return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
}
if (type$.NativeUint8List._is(charCodes))
return A.String__stringFromUint8List(charCodes, start, end);
if (t2)
charCodes = J.take$1$ax(charCodes, end);
if (start > 0)
charCodes = J.skip$1$ax(charCodes, start);
t1 = A.List_List$_of(charCodes, type$.int);
return A.Primitives_stringFromCharCodes(t1);
},
String_String$fromCharCode(charCode) {
return A.Primitives_stringFromCharCode(charCode);
},
String__stringFromUint8List(charCodes, start, endOrNull) {
var len = charCodes.length;
if (start >= len)
return "";
return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
},
RegExp_RegExp(source, multiLine) {
return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, ""));
},
identical(a, b) {
return a == null ? b == null : a === b;
},
StringBuffer__writeAll(string, objects, separator) {
var iterator = J.get$iterator$ax(objects);
if (!iterator.moveNext$0())
return string;
if (separator.length === 0) {
do
string += A.S(iterator.get$current(iterator));
while (iterator.moveNext$0());
} else {
string += A.S(iterator.get$current(iterator));
for (; iterator.moveNext$0();)
string = string + separator + A.S(iterator.get$current(iterator));
}
return string;
},
NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
},
Uri_base() {
var cachedUri, uri,
current = A.Primitives_currentUri();
if (current == null)
throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
cachedUri = $.Uri__cachedBaseUri;
if (cachedUri != null && current === $.Uri__cachedBaseString)
return cachedUri;
uri = A.Uri_parse(current);
$.Uri__cachedBaseUri = uri;
$.Uri__cachedBaseString = current;
return uri;
},
_Uri__uriEncode(canonicalMask, text, encoding, spaceToPlus) {
var t1, bytes, i, t2, byte,
_s16_ = "0123456789ABCDEF";
if (encoding === B.C_Utf8Codec) {
t1 = $.$get$_Uri__needsNoEncoding();
t1 = t1._nativeRegExp.test(text);
} else
t1 = false;
if (t1)
return text;
bytes = B.C_Utf8Encoder.convert$1(text);
for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
byte = bytes[i];
if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0)
t2 += A.Primitives_stringFromCharCode(byte);
else
t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
}
return t2.charCodeAt(0) == 0 ? t2 : t2;
},
StackTrace_current() {
return A.getTraceFromException(new Error());
},
DateTime__fourDigits(n) {
var absN = Math.abs(n),
sign = n < 0 ? "-" : "";
if (absN >= 1000)
return "" + n;
if (absN >= 100)
return sign + "0" + absN;
if (absN >= 10)
return sign + "00" + absN;
return sign + "000" + absN;
},
DateTime__threeDigits(n) {
if (n >= 100)
return "" + n;
if (n >= 10)
return "0" + n;
return "00" + n;
},
DateTime__twoDigits(n) {
if (n >= 10)
return "" + n;
return "0" + n;
},
Duration$(microseconds, milliseconds) {
return new A.Duration(microseconds + 1000 * milliseconds);
},
EnumByName_byName(_this, $name) {
var _i, value;
for (_i = 0; _i < 4; ++_i) {
value = _this[_i];
if (value._name === $name)
return value;
}
throw A.wrapException(A.ArgumentError$value($name, "name", "No enum value with that name"));
},
Error_safeToString(object) {
if (typeof object == "number" || A._isBool(object) || object == null)
return J.toString$0$(object);
if (typeof object == "string")
return JSON.stringify(object);
return A.Primitives_safeToString(object);
},
Error_throwWithStackTrace(error, stackTrace) {
A.checkNotNullable(error, "error", type$.Object);
A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
A.Error__throw(error, stackTrace);
},
AssertionError$(message) {
return new A.AssertionError(message);
},
ArgumentError$(message, $name) {
return new A.ArgumentError(false, null, $name, message);
},
ArgumentError$value(value, $name, message) {
return new A.ArgumentError(true, value, $name, message);
},
ArgumentError_checkNotNull(argument, $name) {
return argument;
},
RangeError$(message) {
var _null = null;
return new A.RangeError(_null, _null, false, _null, _null, message);
},
RangeError$value(value, $name, message) {
return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
},
RangeError$range(invalidValue, minValue, maxValue, $name, message) {
return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
},
RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
if (value < minValue || value > maxValue)
throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
return value;
},
RangeError_checkValidRange(start, end, $length) {
if (0 > start || start > $length)
throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
if (end != null) {
if (start > end || end > $length)
throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
return end;
}
return $length;
},
RangeError_checkNotNegative(value, $name) {
if (value < 0)
throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
return value;
},
IndexError$withLength(invalidValue, $length, indexable, message, $name) {
return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
},
IndexError_check(index, $length, indexable, message, $name) {
if (0 > index || index >= $length)
throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
return index;
},
UnsupportedError$(message) {
return new A.UnsupportedError(message);
},
UnimplementedError$(message) {
return new A.UnimplementedError(message);
},
StateError$(message) {
return new A.StateError(message);
},
ConcurrentModificationError$(modifiedObject) {
return new A.ConcurrentModificationError(modifiedObject);
},
FormatException$(message, source, offset) {
return new A.FormatException(message, source, offset);
},
Iterable_Iterable$generate(count, generator, $E) {
if (count <= 0)
return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
},
Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
var parts, t1;
if (A.isToStringVisiting(iterable)) {
if (leftDelimiter === "(" && rightDelimiter === ")")
return "(...)";
return leftDelimiter + "..." + rightDelimiter;
}
parts = A._setArrayType([], type$.JSArray_String);
$.toStringVisiting.push(iterable);
try {
A._iterablePartsToStrings(iterable, parts);
} finally {
$.toStringVisiting.pop();
}
t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
var buffer, t1;
if (A.isToStringVisiting(iterable))
return leftDelimiter + "..." + rightDelimiter;
buffer = new A.StringBuffer(leftDelimiter);
$.toStringVisiting.push(iterable);
try {
t1 = buffer;
t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
} finally {
$.toStringVisiting.pop();
}
buffer._contents += rightDelimiter;
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_iterablePartsToStrings(iterable, parts) {
var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
it = iterable.get$iterator(iterable),
$length = 0, count = 0;
while (true) {
if (!($length < 80 || count < 3))
break;
if (!it.moveNext$0())
return;
next = A.S(it.get$current(it));
parts.push(next);
$length += next.length + 2;
++count;
}
if (!it.moveNext$0()) {
if (count <= 5)
return;
ultimateString = parts.pop();
penultimateString = parts.pop();
} else {
penultimate = it.get$current(it);
++count;
if (!it.moveNext$0()) {
if (count <= 4) {
parts.push(A.S(penultimate));
return;
}
ultimateString = A.S(penultimate);
penultimateString = parts.pop();
$length += ultimateString.length + 2;
} else {
ultimate = it.get$current(it);
++count;
for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
ultimate0 = it.get$current(it);
++count;
if (count > 100) {
while (true) {
if (!($length > 75 && count > 3))
break;
$length -= parts.pop().length + 2;
--count;
}
parts.push("...");
return;
}
}
penultimateString = A.S(penultimate);
ultimateString = A.S(ultimate);
$length += ultimateString.length + penultimateString.length + 4;
}
}
if (count > parts.length + 2) {
$length += 5;
elision = "...";
} else
elision = null;
while (true) {
if (!($length > 80 && parts.length > 3))
break;
$length -= parts.pop().length + 2;
if (elision == null) {
$length += 5;
elision = "...";
}
}
if (elision != null)
parts.push(elision);
parts.push(penultimateString);
parts.push(ultimateString);
},
Map_castFrom(source, $K, $V, $K2, $V2) {
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>"));
},
Object_hash(object1, object2, object3, object4) {
var t1;
if (B.C_SentinelValue === object3) {
t1 = J.get$hashCode$(object1);
object2 = J.get$hashCode$(object2);
return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
}
if (B.C_SentinelValue === object4) {
t1 = J.get$hashCode$(object1);
object2 = J.get$hashCode$(object2);
object3 = J.get$hashCode$(object3);
return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
}
t1 = J.get$hashCode$(object1);
object2 = J.get$hashCode$(object2);
object3 = J.get$hashCode$(object3);
object4 = J.get$hashCode$(object4);
object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
return object4;
},
Object_hashAll(objects) {
var t1, _i,
hash = $.$get$_hashSeed();
for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
return A.SystemHash_finish(hash);
},
print(object) {
var line = A.S(object),
toZone = $.printToZone;
if (toZone == null)
A.printString(line);
else
toZone.call$1(line);
},
Set_Set$unmodifiable(elements, $E) {
return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
},
Set_castFrom(source, newSet, $S, $T) {
return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
},
_combineSurrogatePair(start, end) {
return 65536 + ((start & 1023) << 10) + (end & 1023);
},
Uri_Uri$dataFromString($content, encoding, mimeType) {
var encodingName, t1,
buffer = new A.StringBuffer(""),
indices = A._setArrayType([-1], type$.JSArray_int);
if (encoding == null)
encodingName = null;
else
encodingName = "utf-8";
if (encoding == null)
encoding = B.C_AsciiCodec;
A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
indices.push(buffer._contents.length);
buffer._contents += ",";
A.UriData__uriEncodeBytes(256, encoding.encode$1($content), buffer);
t1 = buffer._contents;
return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
},
Uri_parse(uri) {
var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, port, userInfoStart, userInfo, host, portNumber, path, query, _null = null,
end = uri.length;
if (end >= 5) {
delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
if (delta === 0)
return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
else if (delta === 32)
return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
}
indices = A.List_List$filled(8, 0, false, type$.int);
indices[0] = 0;
indices[1] = -1;
indices[2] = -1;
indices[7] = -1;
indices[3] = 0;
indices[4] = 0;
indices[5] = end;
indices[6] = end;
if (A._scan(uri, 0, end, 0, indices) >= 14)
indices[7] = end;
schemeEnd = indices[1];
if (schemeEnd >= 0)
if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
indices[7] = schemeEnd;
hostStart = indices[2] + 1;
portStart = indices[3];
pathStart = indices[4];
queryStart = indices[5];
fragmentStart = indices[6];
if (fragmentStart < queryStart)
queryStart = fragmentStart;
if (pathStart < hostStart)
pathStart = queryStart;
else if (pathStart <= schemeEnd)
pathStart = schemeEnd + 1;
if (portStart < hostStart)
portStart = pathStart;
isSimple = indices[7] < 0;
scheme = _null;
if (isSimple) {
isSimple = false;
if (!(hostStart > schemeEnd + 3)) {
t1 = portStart > 0;
if (!(t1 && portStart + 1 === pathStart)) {
if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
if (hostStart > 0)
t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
else
t2 = false;
else
t2 = true;
if (!t2) {
if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
else
t2 = true;
if (!t2)
if (schemeEnd === 4) {
if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
if (hostStart <= 0) {
if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
schemeAuth = "file:///";
delta = 3;
} else {
schemeAuth = "file://";
delta = 2;
}
uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
queryStart += delta;
fragmentStart += delta;
end = uri.length;
hostStart = 7;
portStart = 7;
pathStart = 7;
} else if (pathStart === queryStart) {
++fragmentStart;
queryStart0 = queryStart + 1;
uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
++end;
queryStart = queryStart0;
}
scheme = "file";
} else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
fragmentStart -= 3;
pathStart0 = pathStart - 3;
queryStart -= 3;
uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
end -= 3;
pathStart = pathStart0;
}
scheme = "http";
}
} else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
fragmentStart -= 4;
pathStart0 = pathStart - 4;
queryStart -= 4;
uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
end -= 3;
pathStart = pathStart0;
}
scheme = "https";
}
isSimple = !t2;
}
}
}
}
if (isSimple)
return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
if (scheme == null)
if (schemeEnd > 0)
scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
else {
if (schemeEnd === 0)
A._Uri__fail(uri, 0, "Invalid empty scheme");
scheme = "";
}
port = _null;
if (hostStart > 0) {
userInfoStart = schemeEnd + 3;
userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
host = A._Uri__makeHost(uri, hostStart, portStart, false);
t1 = portStart + 1;
if (t1 < pathStart) {
portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
}
} else {
host = _null;
userInfo = "";
}
path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
},
Uri_decodeComponent(encodedComponent) {
return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
},
Uri__parseIPv4Address(host, start, end) {
var i, partStart, partIndex, char, part, partIndex0,
_s43_ = "IPv4 address should contain exactly 4 parts",
_s37_ = "each part must be in the range 0..255",
error = new A.Uri__parseIPv4Address_error(host),
result = new Uint8Array(4);
for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
char = host.charCodeAt(i);
if (char !== 46) {
if ((char ^ 48) > 9)
error.call$2("invalid character", i);
} else {
if (partIndex === 3)
error.call$2(_s43_, i);
part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
if (part > 255)
error.call$2(_s37_, partStart);
partIndex0 = partIndex + 1;
result[partIndex] = part;
partStart = i + 1;
partIndex = partIndex0;
}
}
if (partIndex !== 3)
error.call$2(_s43_, end);
part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
if (part > 255)
error.call$2(_s37_, partStart);
result[partIndex] = part;
return result;
},
Uri__validateIPvAddress(host, start, end) {
var error;
if (start === end)
throw A.wrapException(A.FormatException$("Empty IP address", host, start));
if (host.charCodeAt(start) === 118) {
error = A.Uri__validateIPvFutureAddress(host, start, end);
if (error != null)
throw A.wrapException(error);
return false;
}
A.Uri_parseIPv6Address(host, start, end);
return true;
},
Uri__validateIPvFutureAddress(host, start, end) {
var cursor, cursor0, char, ucChar,
_s38_ = "Missing hex-digit in IPvFuture address";
++start;
for (cursor = start; true; cursor = cursor0) {
if (cursor < end) {
cursor0 = cursor + 1;
char = host.charCodeAt(cursor);
if ((char ^ 48) <= 9)
continue;
ucChar = char | 32;
if (ucChar >= 97 && ucChar <= 102)
continue;
if (char === 46) {
if (cursor0 - 1 === start)
return new A.FormatException(_s38_, host, cursor0);
cursor = cursor0;
break;
}
return new A.FormatException("Unexpected character", host, cursor0 - 1);
}
if (cursor - 1 === start)
return new A.FormatException(_s38_, host, cursor);
return new A.FormatException("Missing '.' in IPvFuture address", host, cursor);
}
if (cursor === end)
return new A.FormatException("Missing address in IPvFuture address, host, cursor", null, null);
for (; true;) {
if ((string$.x00_____.charCodeAt(host.charCodeAt(cursor)) & 16) !== 0) {
++cursor;
if (cursor < end)
continue;
return null;
}
return new A.FormatException("Invalid IPvFuture address character", host, cursor);
}
},
Uri_parseIPv6Address(host, start, end) {
var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
error = new A.Uri_parseIPv6Address_error(host),
parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
if (host.length < 2)
error.call$2("address is too short", _null);
parts = A._setArrayType([], type$.JSArray_int);
for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
char = host.charCodeAt(i);
if (char === 58) {
if (i === start) {
++i;
if (host.charCodeAt(i) !== 58)
error.call$2("invalid start colon.", i);
partStart = i;
}
if (i === partStart) {
if (wildcardSeen)
error.call$2("only one wildcard `::` is allowed", i);
parts.push(-1);
wildcardSeen = true;
} else
parts.push(parseHex.call$2(partStart, i));
partStart = i + 1;
} else if (char === 46)
seenDot = true;
}
if (parts.length === 0)
error.call$2("too few parts", _null);
atEnd = partStart === end;
t1 = B.JSArray_methods.get$last(parts);
if (atEnd && t1 !== -1)
error.call$2("expected a part after last `:`", end);
if (!atEnd)
if (!seenDot)
parts.push(parseHex.call$2(partStart, end));
else {
last = A.Uri__parseIPv4Address(host, partStart, end);
parts.push((last[0] << 8 | last[1]) >>> 0);
parts.push((last[2] << 8 | last[3]) >>> 0);
}
if (wildcardSeen) {
if (parts.length > 7)
error.call$2("an address with a wildcard must have less than 7 parts", _null);
} else if (parts.length !== 8)
error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
bytes = new Uint8Array(16);
for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
value = parts[i];
if (value === -1)
for (j = 0; j < wildCardLength; ++j) {
bytes[index] = 0;
bytes[index + 1] = 0;
index += 2;
}
else {
bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
bytes[index + 1] = value & 255;
index += 2;
}
}
return bytes;
},
_Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
},
_Uri__Uri(host, path, pathSegments, scheme) {
var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
userInfo = A._Uri__makeUserInfo(_null, 0, 0);
host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
query = A._Uri__makeQuery(_null, 0, 0, _null);
fragment = A._Uri__makeFragment(_null, 0, 0);
port = A._Uri__makePort(_null, scheme);
isFile = scheme === "file";
if (host == null)
t1 = userInfo.length !== 0 || port != null || isFile;
else
t1 = false;
if (t1)
host = "";
t1 = host == null;
hasAuthority = !t1;
path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
t2 = scheme.length === 0;
if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
else
path = A._Uri__removeDotSegments(path);
return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
},
_Uri__defaultPort(scheme) {
if (scheme === "http")
return 80;
if (scheme === "https")
return 443;
return 0;
},
_Uri__fail(uri, index, message) {
throw A.wrapException(A.FormatException$(message, uri, index));
},
_Uri__Uri$file(path, windows) {
return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
},
_Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
var t1, _i, segment;
for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
segment = segments[_i];
if (A.stringContainsUnchecked(segment, "/", 0)) {
t1 = A.UnsupportedError$("Illegal path character " + segment);
throw A.wrapException(t1);
}
}
},
_Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
var t1, t2, t3, t4;
for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
t3 = t1.__internal$_current;
if (t3 == null)
t3 = t2._as(t3);
t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
if (A.stringContainsUnchecked(t3, t4, 0))
if (argumentError)
throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
else
throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
}
},
_Uri__checkWindowsDriveLetter(charCode, argumentError) {
var t1,
_s21_ = "Illegal drive letter ";
if (!(65 <= charCode && charCode <= 90))
t1 = 97 <= charCode && charCode <= 122;
else
t1 = true;
if (t1)
return;
if (argumentError)
throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
else
throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
},
_Uri__makeFileUri(path, slashTerminated) {
var _null = null,
segments = A._setArrayType(path.split("/"), type$.JSArray_String);
if (B.JSString_methods.startsWith$1(path, "/"))
return A._Uri__Uri(_null, _null, segments, "file");
else
return A._Uri__Uri(_null, _null, segments, _null);
},
_Uri__makeWindowsFileUrl(path, slashTerminated) {
var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
else {
path = B.JSString_methods.substring$1(path, 4);
if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
}
else
path = A.stringReplaceAllUnchecked(path, "/", _s1_);
t1 = path.length;
if (t1 > 1 && path.charCodeAt(1) === 58) {
A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
if (t1 === 2 || path.charCodeAt(2) !== 92)
throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
return A._Uri__Uri(_null, _null, pathSegments, _s4_);
}
if (B.JSString_methods.startsWith$1(path, _s1_))
if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
t1 = pathStart < 0;
hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
} else {
pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
return A._Uri__Uri(_null, _null, pathSegments, _s4_);
}
else {
pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
return A._Uri__Uri(_null, _null, pathSegments, _null);
}
},
_Uri__makePort(port, scheme) {
if (port != null && port === A._Uri__defaultPort(scheme))
return null;
return port;
},
_Uri__makeHost(host, start, end, strictIPv6) {
var index, t1, zoneID, index0, zoneIDstart, isIPv6, hostChars, i;
if (host == null)
return null;
if (start === end)
return "";
if (host.charCodeAt(start) === 91) {
index = end - 1;
if (host.charCodeAt(index) !== 93)
A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
t1 = start + 1;
zoneID = "";
if (host.charCodeAt(t1) !== 118) {
index0 = A._Uri__checkZoneID(host, t1, index);
if (index0 < index) {
zoneIDstart = index0 + 1;
zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index0 + 3 : zoneIDstart, index, "%25");
}
index = index0;
}
isIPv6 = A.Uri__validateIPvAddress(host, t1, index);
hostChars = B.JSString_methods.substring$2(host, t1, index);
return "[" + (isIPv6 ? hostChars.toLowerCase() : hostChars) + zoneID + "]";
}
for (i = start; i < end; ++i)
if (host.charCodeAt(i) === 58) {
index = B.JSString_methods.indexOf$2(host, "%", start);
index = index >= start && index < end ? index : end;
if (index < end) {
zoneIDstart = index + 1;
zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
} else
zoneID = "";
A.Uri_parseIPv6Address(host, start, index);
return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
}
return A._Uri__normalizeRegName(host, start, end);
},
_Uri__checkZoneID(host, start, end) {
var index = B.JSString_methods.indexOf$2(host, "%", start);
return index >= start && index < end ? index : end;
},
_Uri__normalizeZoneID(host, start, end, prefix) {
var index, sectionStart, isNormalized, char, replacement, t1, t2, sourceLength, tail, slice,
buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
for (index = start, sectionStart = index, isNormalized = true; index < end;) {
char = host.charCodeAt(index);
if (char === 37) {
replacement = A._Uri__normalizeEscape(host, index, true);
t1 = replacement == null;
if (t1 && isNormalized) {
index += 3;
continue;
}
if (buffer == null)
buffer = new A.StringBuffer("");
t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
if (t1)
replacement = B.JSString_methods.substring$2(host, index, index + 3);
else if (replacement === "%")
A._Uri__fail(host, index, "ZoneID should not contain % anymore");
buffer._contents = t2 + replacement;
index += 3;
sectionStart = index;
isNormalized = true;
} else if (char < 127 && (string$.x00_____.charCodeAt(char) & 1) !== 0) {
if (isNormalized && 65 <= char && 90 >= char) {
if (buffer == null)
buffer = new A.StringBuffer("");
if (sectionStart < index) {
buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
sectionStart = index;
}
isNormalized = false;
}
++index;
} else {
sourceLength = 1;
if ((char & 64512) === 55296 && index + 1 < end) {
tail = host.charCodeAt(index + 1);
if ((tail & 64512) === 56320) {
char = 65536 + ((char & 1023) << 10) + (tail & 1023);
sourceLength = 2;
}
}
slice = B.JSString_methods.substring$2(host, sectionStart, index);
if (buffer == null) {
buffer = new A.StringBuffer("");
t1 = buffer;
} else
t1 = buffer;
t1._contents += slice;
t2 = A._Uri__escapeChar(char);
t1._contents += t2;
index += sourceLength;
sectionStart = index;
}
}
if (buffer == null)
return B.JSString_methods.substring$2(host, start, end);
if (sectionStart < end) {
slice = B.JSString_methods.substring$2(host, sectionStart, end);
buffer._contents += slice;
}
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__normalizeRegName(host, start, end) {
var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail,
_s128_ = string$.x00_____;
for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
char = host.charCodeAt(index);
if (char === 37) {
replacement = A._Uri__normalizeEscape(host, index, true);
t1 = replacement == null;
if (t1 && isNormalized) {
index += 3;
continue;
}
if (buffer == null)
buffer = new A.StringBuffer("");
slice = B.JSString_methods.substring$2(host, sectionStart, index);
if (!isNormalized)
slice = slice.toLowerCase();
t2 = buffer._contents += slice;
sourceLength = 3;
if (t1)
replacement = B.JSString_methods.substring$2(host, index, index + 3);
else if (replacement === "%") {
replacement = "%25";
sourceLength = 1;
}
buffer._contents = t2 + replacement;
index += sourceLength;
sectionStart = index;
isNormalized = true;
} else if (char < 127 && (_s128_.charCodeAt(char) & 32) !== 0) {
if (isNormalized && 65 <= char && 90 >= char) {
if (buffer == null)
buffer = new A.StringBuffer("");
if (sectionStart < index) {
buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
sectionStart = index;
}
isNormalized = false;
}
++index;
} else if (char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0)
A._Uri__fail(host, index, "Invalid character");
else {
sourceLength = 1;
if ((char & 64512) === 55296 && index + 1 < end) {
tail = host.charCodeAt(index + 1);
if ((tail & 64512) === 56320) {
char = 65536 + ((char & 1023) << 10) + (tail & 1023);
sourceLength = 2;
}
}
slice = B.JSString_methods.substring$2(host, sectionStart, index);
if (!isNormalized)
slice = slice.toLowerCase();
if (buffer == null) {
buffer = new A.StringBuffer("");
t1 = buffer;
} else
t1 = buffer;
t1._contents += slice;
t2 = A._Uri__escapeChar(char);
t1._contents += t2;
index += sourceLength;
sectionStart = index;
}
}
if (buffer == null)
return B.JSString_methods.substring$2(host, start, end);
if (sectionStart < end) {
slice = B.JSString_methods.substring$2(host, sectionStart, end);
if (!isNormalized)
slice = slice.toLowerCase();
buffer._contents += slice;
}
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__makeScheme(scheme, start, end) {
var i, containsUpperCase, codeUnit;
if (start === end)
return "";
if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
for (i = start, containsUpperCase = false; i < end; ++i) {
codeUnit = scheme.charCodeAt(i);
if (!(codeUnit < 128 && (string$.x00_____.charCodeAt(codeUnit) & 8) !== 0))
A._Uri__fail(scheme, i, "Illegal scheme character");
if (65 <= codeUnit && codeUnit <= 90)
containsUpperCase = true;
}
scheme = B.JSString_methods.substring$2(scheme, start, end);
return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
},
_Uri__canonicalizeScheme(scheme) {
if (scheme === "http")
return "http";
if (scheme === "file")
return "file";
if (scheme === "https")
return "https";
if (scheme === "package")
return "package";
return scheme;
},
_Uri__makeUserInfo(userInfo, start, end) {
if (userInfo == null)
return "";
return A._Uri__normalizeOrSubstring(userInfo, start, end, 16, false, false);
},
_Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
var result,
isFile = scheme === "file",
ensureLeadingSlash = isFile || hasAuthority;
if (path == null) {
if (pathSegments == null)
return isFile ? "/" : "";
result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
} else if (pathSegments != null)
throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
else
result = A._Uri__normalizeOrSubstring(path, start, end, 128, true, true);
if (result.length === 0) {
if (isFile)
return "/";
} else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
result = "/" + result;
return A._Uri__normalizePath(result, scheme, hasAuthority);
},
_Uri__normalizePath(path, scheme, hasAuthority) {
var t1 = scheme.length === 0;
if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
return A._Uri__removeDotSegments(path);
},
_Uri__makeQuery(query, start, end, queryParameters) {
if (query != null)
return A._Uri__normalizeOrSubstring(query, start, end, 256, true, false);
return null;
},
_Uri__makeFragment(fragment, start, end) {
if (fragment == null)
return null;
return A._Uri__normalizeOrSubstring(fragment, start, end, 256, true, false);
},
_Uri__normalizeEscape(source, index, lowerCase) {
var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
t1 = index + 2;
if (t1 >= source.length)
return "%";
firstDigit = source.charCodeAt(index + 1);
secondDigit = source.charCodeAt(t1);
firstDigitValue = A.hexDigitValue(firstDigit);
secondDigitValue = A.hexDigitValue(secondDigit);
if (firstDigitValue < 0 || secondDigitValue < 0)
return "%";
value = firstDigitValue * 16 + secondDigitValue;
if (value < 127 && (string$.x00_____.charCodeAt(value) & 1) !== 0)
return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
if (firstDigit >= 97 || secondDigit >= 97)
return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
return null;
},
_Uri__escapeChar(char) {
var codeUnits, flag, encodedBytes, index, byte,
_s16_ = "0123456789ABCDEF";
if (char <= 127) {
codeUnits = new Uint8Array(3);
codeUnits[0] = 37;
codeUnits[1] = _s16_.charCodeAt(char >>> 4);
codeUnits[2] = _s16_.charCodeAt(char & 15);
} else {
if (char > 2047)
if (char > 65535) {
flag = 240;
encodedBytes = 4;
} else {
flag = 224;
encodedBytes = 3;
}
else {
flag = 192;
encodedBytes = 2;
}
codeUnits = new Uint8Array(3 * encodedBytes);
for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
codeUnits[index] = 37;
codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
index += 3;
}
}
return A.String_String$fromCharCodes(codeUnits, 0, null);
},
_Uri__normalizeOrSubstring(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
var t1 = A._Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash);
return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
},
_Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
var t1, index, sectionStart, buffer, char, sourceLength, replacement, t2, tail, _null = null,
_s128_ = string$.x00_____;
for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
char = component.charCodeAt(index);
if (char < 127 && (_s128_.charCodeAt(char) & charMask) !== 0)
++index;
else {
sourceLength = 1;
if (char === 37) {
replacement = A._Uri__normalizeEscape(component, index, false);
if (replacement == null) {
index += 3;
continue;
}
if ("%" === replacement)
replacement = "%25";
else
sourceLength = 3;
} else if (char === 92 && replaceBackslash)
replacement = "/";
else if (t1 && char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0) {
A._Uri__fail(component, index, "Invalid character");
sourceLength = _null;
replacement = sourceLength;
} else {
if ((char & 64512) === 55296) {
t2 = index + 1;
if (t2 < end) {
tail = component.charCodeAt(t2);
if ((tail & 64512) === 56320) {
char = 65536 + ((char & 1023) << 10) + (tail & 1023);
sourceLength = 2;
}
}
}
replacement = A._Uri__escapeChar(char);
}
if (buffer == null) {
buffer = new A.StringBuffer("");
t2 = buffer;
} else
t2 = buffer;
t2._contents = (t2._contents += B.JSString_methods.substring$2(component, sectionStart, index)) + replacement;
index += sourceLength;
sectionStart = index;
}
}
if (buffer == null)
return _null;
if (sectionStart < end) {
t1 = B.JSString_methods.substring$2(component, sectionStart, end);
buffer._contents += t1;
}
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__mayContainDotSegments(path) {
if (B.JSString_methods.startsWith$1(path, "."))
return true;
return B.JSString_methods.indexOf$1(path, "/.") !== -1;
},
_Uri__removeDotSegments(path) {
var output, t1, t2, appendSlash, _i, segment;
if (!A._Uri__mayContainDotSegments(path))
return path;
output = A._setArrayType([], type$.JSArray_String);
for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
segment = t1[_i];
if (segment === "..") {
if (output.length !== 0) {
output.pop();
if (output.length === 0)
output.push("");
}
appendSlash = true;
} else {
appendSlash = "." === segment;
if (!appendSlash)
output.push(segment);
}
}
if (appendSlash)
output.push("");
return B.JSArray_methods.join$1(output, "/");
},
_Uri__normalizeRelativePath(path, allowScheme) {
var output, t1, t2, appendSlash, _i, segment;
if (!A._Uri__mayContainDotSegments(path))
return !allowScheme ? A._Uri__escapeScheme(path) : path;
output = A._setArrayType([], type$.JSArray_String);
for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
segment = t1[_i];
if (".." === segment) {
appendSlash = output.length !== 0 && B.JSArray_methods.get$last(output) !== "..";
if (appendSlash)
output.pop();
else
output.push("..");
} else {
appendSlash = "." === segment;
if (!appendSlash)
output.push(segment);
}
}
t1 = output.length;
if (t1 !== 0)
t1 = t1 === 1 && output[0].length === 0;
else
t1 = true;
if (t1)
return "./";
if (appendSlash || B.JSArray_methods.get$last(output) === "..")
output.push("");
if (!allowScheme)
output[0] = A._Uri__escapeScheme(output[0]);
return B.JSArray_methods.join$1(output, "/");
},
_Uri__escapeScheme(path) {
var i, char,
t1 = path.length;
if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
for (i = 1; i < t1; ++i) {
char = path.charCodeAt(i);
if (char === 58)
return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
if (char > 127 || (string$.x00_____.charCodeAt(char) & 8) === 0)
break;
}
return path;
},
_Uri__packageNameEnd(uri, path) {
if (uri.isScheme$1("package") && uri._host == null)
return A._skipPackageNameChars(path, 0, path.length);
return -1;
},
_Uri__toWindowsFilePath(uri) {
var t2, hasDriveLetter, host,
segments = uri.get$pathSegments(),
t1 = segments.length;
if (t1 > 0) {
t2 = segments[0];
hasDriveLetter = t2.length === 2 && t2.charCodeAt(1) === 58;
} else
hasDriveLetter = false;
if (hasDriveLetter) {
A._Uri__checkWindowsDriveLetter(segments[0].charCodeAt(0), false);
A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
} else
A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "\\" : "";
if (uri.get$hasAuthority()) {
host = uri.get$host();
if (host.length !== 0)
t2 = t2 + "\\" + host + "\\";
}
t2 = A.StringBuffer__writeAll(t2, segments, "\\");
t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__hexCharPairToByte(s, pos) {
var byte, i, charCode;
for (byte = 0, i = 0; i < 2; ++i) {
charCode = s.charCodeAt(pos + i);
if (48 <= charCode && charCode <= 57)
byte = byte * 16 + charCode - 48;
else {
charCode |= 32;
if (97 <= charCode && charCode <= 102)
byte = byte * 16 + charCode - 87;
else
throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
}
}
return byte;
},
_Uri__uriDecode(text, start, end, encoding, plusToSpace) {
var simple, codeUnit, t1, bytes,
i = start;
while (true) {
if (!(i < end)) {
simple = true;
break;
}
codeUnit = text.charCodeAt(i);
if (codeUnit <= 127)
t1 = codeUnit === 37;
else
t1 = true;
if (t1) {
simple = false;
break;
}
++i;
}
if (simple)
if (B.C_Utf8Codec === encoding)
return B.JSString_methods.substring$2(text, start, end);
else
bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
else {
bytes = A._setArrayType([], type$.JSArray_int);
for (t1 = text.length, i = start; i < end; ++i) {
codeUnit = text.charCodeAt(i);
if (codeUnit > 127)
throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
if (codeUnit === 37) {
if (i + 3 > t1)
throw A.wrapException(A.ArgumentError$("Truncated URI", null));
bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
i += 2;
} else
bytes.push(codeUnit);
}
}
return B.Utf8Decoder_false.convert$1(bytes);
},
_Uri__isAlphabeticCharacter(codeUnit) {
var lowerCase = codeUnit | 32;
return 97 <= lowerCase && lowerCase <= 122;
},
UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
var t1, slashIndex;
if (mimeType != null)
t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
else
t1 = true;
if (t1)
mimeType = "";
if (mimeType.length === 0 || mimeType === "application/octet-stream")
t1 = buffer._contents += mimeType;
else {
slashIndex = A.UriData__validateMimeType(mimeType);
if (slashIndex < 0)
throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
buffer._contents = (buffer._contents += t1) + "/";
t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
t1 = buffer._contents += t1;
}
if (charsetName != null) {
indices.push(t1.length);
indices.push(buffer._contents.length + 8);
buffer._contents += ";charset=";
t1 = A._Uri__uriEncode(512, charsetName, B.C_Utf8Codec, false);
buffer._contents += t1;
}
},
UriData__validateMimeType(mimeType) {
var t1, slashIndex, i;
for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
if (mimeType.charCodeAt(i) !== 47)
continue;
if (slashIndex < 0) {
slashIndex = i;
continue;
}
return -1;
}
return slashIndex;
},
UriData__parse(text, start, sourceUri) {
var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
_s17_ = "Invalid MIME type",
indices = A._setArrayType([start - 1], type$.JSArray_int);
for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
char = text.charCodeAt(i);
if (char === 44 || char === 59)
break;
if (char === 47) {
if (slashIndex < 0) {
slashIndex = i;
continue;
}
throw A.wrapException(A.FormatException$(_s17_, text, i));
}
}
if (slashIndex < 0 && i > start)
throw A.wrapException(A.FormatException$(_s17_, text, i));
for (; char !== 44;) {
indices.push(i);
++i;
for (equalsIndex = -1; i < t1; ++i) {
char = text.charCodeAt(i);
if (char === 61) {
if (equalsIndex < 0)
equalsIndex = i;
} else if (char === 59 || char === 44)
break;
}
if (equalsIndex >= 0)
indices.push(equalsIndex);
else {
lastSeparator = B.JSArray_methods.get$last(indices);
if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
throw A.wrapException(A.FormatException$("Expecting '='", text, i));
break;
}
}
indices.push(i);
t2 = i + 1;
if ((indices.length & 1) === 1)
text = B.C_Base64Codec.normalize$3(text, t2, t1);
else {
data = A._Uri__normalize(text, t2, t1, 256, true, false);
if (data != null)
text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
}
return new A.UriData(text, indices, sourceUri);
},
UriData__uriEncodeBytes(canonicalMask, bytes, buffer) {
var t1, byteOr, i, byte, t2,
_s16_ = "0123456789ABCDEF";
for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
byte = bytes[i];
byteOr |= byte;
if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0) {
t2 = A.Primitives_stringFromCharCode(byte);
buffer._contents += t2;
} else {
t2 = A.Primitives_stringFromCharCode(37);
buffer._contents += t2;
t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
buffer._contents += t2;
t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
buffer._contents += t2;
}
}
if ((byteOr & 4294967040) !== 0)
for (i = 0; i < t1; ++i) {
byte = bytes[i];
if (byte > 255)
throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
}
},
_scan(uri, start, end, state, indices) {
var i, char, transition;
for (i = start; i < end; ++i) {
char = uri.charCodeAt(i) ^ 96;
if (char > 95)
char = 31;
transition = '\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe3\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x0e\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xea\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\n\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\xeb\xeb\x8b\xeb\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\x83\xeb\xeb\x8b\xeb\x8b\xeb\xcd\x8b\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x92\x83\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\x8b\xeb\x8b\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xebD\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x12D\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\xe5\xe5\xe5\x05\xe5D\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe8\x8a\xe5\xe5\x05\xe5\x05\xe5\xcd\x05\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x8a\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05f\x05\xe5\x05\xe5\xac\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\xe5\xe5\xe5\x05\xe5D\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\x8a\xe5\xe5\x05\xe5\x05\xe5\xcd\x05\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x8a\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05f\x05\xe5\x05\xe5\xac\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7D\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\xe7\xe7\xe7\xe7\xe7\xcd\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\x07\x07\x07\x07\x07\x07\x07\x07\x07\xe7\xe7\xe7\xe7\xe7\xac\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7D\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\xe7\xe7\xe7\xe7\xe7\xcd\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\xe7\xe7\xe7\xe7\xe7\xac\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x05\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x10\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x12\n\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\n\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xec\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\xec\xec\xec\f\xec\xec\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\xec\xec\xec\xec\f\xec\f\xec\xcd\f\xec\f\f\f\f\f\f\f\f\f\xec\f\f\f\f\f\f\f\f\f\f\xec\f\xec\f\xec\f\xed\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\xed\xed\xed\r\xed\xed\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\xed\xed\xed\xed\r\xed\r\xed\xed\r\xed\r\r\r\r\r\r\r\r\r\xed\r\r\r\r\r\r\r\r\r\r\xed\r\xed\r\xed\r\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xea\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x0f\xea\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe9\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\t\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x11\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xe9\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\t\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x13\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\x15\xf5\x15\x15\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5'.charCodeAt(state * 96 + char);
state = transition & 31;
indices[transition >>> 5] = i;
}
return state;
},
_SimpleUri__packageNameEnd(uri) {
if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
return -1;
},
_skipPackageNameChars(source, start, end) {
var i, dots, char;
for (i = start, dots = 0; i < end; ++i) {
char = source.charCodeAt(i);
if (char === 47)
return dots !== 0 ? i : -1;
if (char === 37 || char === 58)
return -1;
dots |= char ^ 46;
}
return -1;
},
_caseInsensitiveCompareStart(prefix, string, start) {
var t1, result, i, stringChar, delta, lowerChar;
for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
stringChar = string.charCodeAt(start + i);
delta = prefix.charCodeAt(i) ^ stringChar;
if (delta !== 0) {
if (delta === 32) {
lowerChar = stringChar | delta;
if (97 <= lowerChar && lowerChar <= 122) {
result = 32;
continue;
}
}
return -1;
}
}
return result;
},
NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
this._box_0 = t0;
this.sb = t1;
},
DateTime: function DateTime(t0, t1, t2) {
this._value = t0;
this._microsecond = t1;
this.isUtc = t2;
},
Duration: function Duration(t0) {
this._duration = t0;
},
_Enum: function _Enum() {
},
Error: function Error() {
},
AssertionError: function AssertionError(t0) {
this.message = t0;
},
TypeError: function TypeError() {
},
ArgumentError: function ArgumentError(t0, t1, t2, t3) {
var _ = this;
_._hasValue = t0;
_.invalidValue = t1;
_.name = t2;
_.message = t3;
},
RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.start = t0;
_.end = t1;
_._hasValue = t2;
_.invalidValue = t3;
_.name = t4;
_.message = t5;
},
IndexError: function IndexError(t0, t1, t2, t3, t4) {
var _ = this;
_.length = t0;
_._hasValue = t1;
_.invalidValue = t2;
_.name = t3;
_.message = t4;
},
NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
var _ = this;
_._core$_receiver = t0;
_._memberName = t1;
_._core$_arguments = t2;
_._namedArguments = t3;
},
UnsupportedError: function UnsupportedError(t0) {
this.message = t0;
},
UnimplementedError: function UnimplementedError(t0) {
this.message = t0;
},
StateError: function StateError(t0) {
this.message = t0;
},
ConcurrentModificationError: function ConcurrentModificationError(t0) {
this.modifiedObject = t0;
},
OutOfMemoryError: function OutOfMemoryError() {
},
StackOverflowError: function StackOverflowError() {
},
_Exception: function _Exception(t0) {
this.message = t0;
},
FormatException: function FormatException(t0, t1, t2) {
this.message = t0;
this.source = t1;
this.offset = t2;
},
Iterable: function Iterable() {
},
_GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
this.length = t0;
this._generator = t1;
this.$ti = t2;
},
MapEntry: function MapEntry(t0, t1, t2) {
this.key = t0;
this.value = t1;
this.$ti = t2;
},
Null: function Null() {
},
Object: function Object() {
},
_StringStackTrace: function _StringStackTrace(t0) {
this._stackTrace = t0;
},
Runes: function Runes(t0) {
this.string = t0;
},
RuneIterator: function RuneIterator(t0) {
var _ = this;
_.string = t0;
_._nextPosition = _._position = 0;
_._currentCodePoint = -1;
},
StringBuffer: function StringBuffer(t0) {
this._contents = t0;
},
Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
this.host = t0;
},
Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
this.host = t0;
},
Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
this.error = t0;
this.host = t1;
},
_Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.scheme = t0;
_._userInfo = t1;
_._host = t2;
_._port = t3;
_.path = t4;
_._query = t5;
_._fragment = t6;
_.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
},
_Uri__makePath_closure: function _Uri__makePath_closure() {
},
UriData: function UriData(t0, t1, t2) {
this._text = t0;
this._separatorIndices = t1;
this._uriCache = t2;
},
_SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._uri = t0;
_._schemeEnd = t1;
_._hostStart = t2;
_._portStart = t3;
_._pathStart = t4;
_._queryStart = t5;
_._fragmentStart = t6;
_._schemeCache = t7;
_._hashCodeCache = null;
},
_DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.scheme = t0;
_._userInfo = t1;
_._host = t2;
_._port = t3;
_.path = t4;
_._query = t5;
_._fragment = t6;
_.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
},
Expando: function Expando(t0) {
this._jsWeakMap = t0;
},
_convertDartFunctionFast(f) {
var ret,
existing = f.$dart_jsFunction;
if (existing != null)
return existing;
ret = function(_call, f) {
return function() {
return _call(f, Array.prototype.slice.apply(arguments));
};
}(A._callDartFunctionFast, f);
ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
f.$dart_jsFunction = ret;
return ret;
},
_convertDartFunctionFastCaptureThis(f) {
var ret,
existing = f._$dart_jsFunctionCaptureThis;
if (existing != null)
return existing;
ret = function(_call, f) {
return function() {
return _call(f, this, Array.prototype.slice.apply(arguments));
};
}(A._callDartFunctionFastCaptureThis, f);
ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
f._$dart_jsFunctionCaptureThis = ret;
return ret;
},
_callDartFunctionFast(callback, $arguments) {
return A.Function_apply(callback, $arguments);
},
_callDartFunctionFastCaptureThis(callback, $self, $arguments) {
var t1 = [$self];
B.JSArray_methods.addAll$1(t1, $arguments);
return A.Function_apply(callback, t1);
},
allowInterop(f) {
if (typeof f == "function")
return f;
else
return A._convertDartFunctionFast(f);
},
allowInteropCaptureThis(f) {
if (typeof f == "function")
throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
else
return A._convertDartFunctionFastCaptureThis(f);
},
_callDartFunctionFast2(callback, arg1, arg2, $length) {
if ($length >= 2)
return callback.call$2(arg1, arg2);
if ($length === 1)
return callback.call$1(arg1);
return callback.call$0();
},
_noJsifyRequired(o) {
return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o);
},
jsify(object) {
if (A._noJsifyRequired(object))
return object;
return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
},
_callMethodUnchecked0(o, method) {
return o[method]();
},
callConstructor(constr, $arguments) {
var args, factoryFunction;
if ($arguments instanceof Array)
switch ($arguments.length) {
case 0:
return new constr();
case 1:
return new constr($arguments[0]);
case 2:
return new constr($arguments[0], $arguments[1]);
case 3:
return new constr($arguments[0], $arguments[1], $arguments[2]);
case 4:
return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
}
args = [null];
B.JSArray_methods.addAll$1(args, $arguments);
factoryFunction = constr.bind.apply(constr, args);
String(factoryFunction);
return new factoryFunction();
},
promiseToFuture(jsPromise, $T) {
var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1));
return t1;
},
jsify__convert: function jsify__convert(t0) {
this._convertedObjects = t0;
},
promiseToFuture_closure: function promiseToFuture_closure(t0) {
this.completer = t0;
},
promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
this.completer = t0;
},
NullRejectionException: function NullRejectionException(t0) {
this.isUndefined = t0;
},
max(a, b) {
return Math.max(a, b);
},
pow(x, exponent) {
return Math.pow(x, exponent);
},
Random_Random() {
return B.C__JSRandom;
},
_JSRandom: function _JSRandom() {
},
ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._arg_parser$_options = t0;
_._aliases = t1;
_.options = t2;
_.commands = t3;
_._optionsAndSeparators = t4;
_.allowTrailingOptions = t5;
_.usageLineLength = t6;
},
ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
this.$this = t0;
},
ArgParserException$(message, commands, argumentName, source, offset) {
return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), argumentName, message, source, offset);
},
ArgParserException: function ArgParserException(t0, t1, t2, t3, t4) {
var _ = this;
_.commands = t0;
_.argumentName = t1;
_.message = t2;
_.source = t3;
_.offset = t4;
},
ArgResults: function ArgResults(t0, t1, t2, t3) {
var _ = this;
_._parser = t0;
_._parsed = t1;
_.name = t2;
_.rest = t3;
},
Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.name = t0;
_.abbr = t1;
_.help = t2;
_.valueHelp = t3;
_.allowed = t4;
_.allowedHelp = t5;
_.defaultsTo = t6;
_.negatable = t7;
_.hideNegatedUsage = t8;
_.callback = t9;
_.type = t10;
_.splitCommas = t11;
_.mandatory = t12;
_.hide = t13;
},
OptionType: function OptionType(t0) {
this.name = t0;
},
Parser$(_commandName, _grammar, _args, _parent, rest) {
var t1 = A._setArrayType([], type$.JSArray_String);
if (rest != null)
B.JSArray_methods.addAll$1(t1, rest);
return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
},
_isLetterOrDigit(codeUnit) {
var t1 = true;
if (!(codeUnit >= 65 && codeUnit <= 90))
if (!(codeUnit >= 97 && codeUnit <= 122))
t1 = codeUnit >= 48 && codeUnit <= 57;
return t1;
},
Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._commandName = t0;
_._parser$_parent = t1;
_._grammar = t2;
_._args = t3;
_._parser$_rest = t4;
_._results = t5;
},
Parser_parse_closure: function Parser_parse_closure(t0) {
this.$this = t0;
},
Parser__setOption_closure: function Parser__setOption_closure() {
},
_Usage: function _Usage(t0, t1, t2) {
var _ = this;
_._usage$_optionsAndSeparators = t0;
_._usage$_buffer = t1;
_._currentColumn = 0;
_.___Usage__columnWidths_FI = $;
_._newlinesNeeded = 0;
_.lineLength = t2;
},
_Usage__writeOption_closure: function _Usage__writeOption_closure() {
},
_Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
this.option = t0;
},
FutureGroup: function FutureGroup(t0, t1, t2) {
var _ = this;
_._future_group$_pending = 0;
_._future_group$_closed = false;
_._future_group$_completer = t0;
_._future_group$_values = t1;
_.$ti = t2;
},
FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
this.$this = t0;
this.index = t1;
},
FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
this.$this = t0;
},
ErrorResult: function ErrorResult(t0, t1) {
this.error = t0;
this.stackTrace = t1;
},
ValueResult: function ValueResult(t0, t1) {
this.value = t0;
this.$ti = t1;
},
StreamCompleter: function StreamCompleter(t0, t1) {
this._stream_completer$_stream = t0;
this.$ti = t1;
},
_CompleterStream: function _CompleterStream(t0) {
this._sourceStream = this._stream_completer$_controller = null;
this.$ti = t0;
},
StreamGroup: function StreamGroup(t0, t1, t2) {
var _ = this;
_.__StreamGroup__controller_A = $;
_._closed = false;
_._stream_group$_state = t0;
_._subscriptions = t1;
_.$ti = t2;
},
StreamGroup_add_closure: function StreamGroup_add_closure() {
},
StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
this.$this = t0;
this.stream = t1;
},
StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
},
StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
this.$this = t0;
},
StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
this.$this = t0;
this.stream = t1;
},
_StreamGroupState: function _StreamGroupState(t0) {
this.name = t0;
},
StreamQueue: function StreamQueue(t0, t1, t2, t3) {
var _ = this;
_._stream_queue$_source = t0;
_._stream_queue$_subscription = null;
_._isDone = false;
_._eventsReceived = 0;
_._eventQueue = t1;
_._requestQueue = t2;
_.$ti = t3;
},
StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
this.$this = t0;
},
StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
this.$this = t0;
},
StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
this.$this = t0;
},
_NextRequest: function _NextRequest(t0, t1) {
this._completer = t0;
this.$ti = t1;
},
isNodeJs() {
var t1 = self.process;
if (t1 == null)
t1 = null;
else {
t1 = J.get$release$x(t1);
t1 = t1 == null ? null : J.get$name$x(t1);
}
return J.$eq$(t1, "node");
},
isBrowser() {
return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
},
wrapJSExceptions(callback) {
var error, error0, error1, error2, t1, exception;
if (!$.$get$_isStrictMode())
return callback.call$0();
try {
t1 = callback.call$0();
return t1;
} catch (exception) {
t1 = A.unwrapException(exception);
if (typeof t1 == "string") {
error = t1;
throw A.wrapException(error);
} else if (A._isBool(t1)) {
error0 = t1;
throw A.wrapException(error0);
} else if (typeof t1 == "number") {
error1 = t1;
throw A.wrapException(error1);
} else {
error2 = t1;
if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
throw A.wrapException(A._callMethodUnchecked0(error2, "toString"));
throw exception;
}
}
},
_isStrictMode_closure: function _isStrictMode_closure() {
},
Repl: function Repl(t0, t1, t2, t3) {
var _ = this;
_.prompt = t0;
_.continuation = t1;
_.validator = t2;
_.__Repl__adapter_A = $;
_.history = t3;
},
alwaysValid_closure: function alwaysValid_closure() {
},
ReplAdapter: function ReplAdapter(t0) {
this.repl = t0;
this.rl = null;
},
ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.rl = t2;
_.runController = t3;
},
ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
this.lineController = t0;
},
Stdin: function Stdin() {
},
Stdout: function Stdout() {
},
ReadlineModule: function ReadlineModule() {
},
ReadlineOptions: function ReadlineOptions() {
},
ReadlineInterface: function ReadlineInterface() {
},
EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
this.$ti = t0;
},
_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
},
DefaultEquality: function DefaultEquality() {
},
IterableEquality: function IterableEquality() {
},
ListEquality: function ListEquality() {
},
_MapEntry: function _MapEntry(t0, t1, t2) {
this.equality = t0;
this.key = t1;
this.value = t2;
},
MapEquality: function MapEquality(t0) {
this.$ti = t0;
},
QueueList$(initialCapacity, $E) {
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>"));
},
QueueList_QueueList$from(source, $E) {
var $length, queue, t1;
if (type$.List_dynamic._is(source)) {
$length = J.get$length$asx(source);
queue = A.QueueList$($length + 1, $E);
J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
queue._queue_list$_tail = $length;
return queue;
} else {
t1 = A.QueueList$(null, $E);
t1.addAll$1(0, source);
return t1;
}
},
QueueList__computeInitialCapacity(initialCapacity) {
if (initialCapacity == null || initialCapacity < 8)
return 8;
++initialCapacity;
if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
return initialCapacity;
return A.QueueList__nextPowerOf2(initialCapacity);
},
QueueList__nextPowerOf2(number) {
var nextNumber;
number = (number << 1 >>> 0) - 1;
for (; true; number = nextNumber) {
nextNumber = (number & number - 1) >>> 0;
if (nextNumber === 0)
return number;
}
},
QueueList: function QueueList(t0, t1, t2, t3) {
var _ = this;
_._queue_list$_table = t0;
_._queue_list$_head = t1;
_._queue_list$_tail = t2;
_.$ti = t3;
},
_CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
var _ = this;
_._queue_list$_delegate = t0;
_._queue_list$_table = t1;
_._queue_list$_head = t2;
_._queue_list$_tail = t3;
_.$ti = t4;
},
_QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
},
UnionSet: function UnionSet(t0, t1) {
this._sets = t0;
this.$ti = t1;
},
UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
this.$this = t0;
},
UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
this.$this = t0;
this.element = t1;
},
_UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
},
UnmodifiableSetMixin__throw() {
throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
},
UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
this._base = t0;
this.$ti = t1;
},
UnmodifiableSetMixin: function UnmodifiableSetMixin() {
},
_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
},
_DelegatingIterableBase: function _DelegatingIterableBase() {
},
DelegatingSet: function DelegatingSet(t0, t1) {
this._base = t0;
this.$ti = t1;
},
MapKeySet: function MapKeySet(t0, t1) {
this._baseMap = t0;
this.$ti = t1;
},
MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
this.$this = t0;
this.other = t1;
},
_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
},
BufferModule: function BufferModule() {
},
BufferConstants: function BufferConstants() {
},
Buffer: function Buffer() {
},
ConsoleModule: function ConsoleModule() {
},
Console: function Console() {
},
EventEmitter: function EventEmitter() {
},
fs() {
var t1 = $._fs;
return t1 == null ? $._fs = self.fs : t1;
},
FS: function FS() {
},
FSConstants: function FSConstants() {
},
Realpath: function Realpath() {
},
RealpathSync: function RealpathSync() {
},
FSWatcher: function FSWatcher() {
},
ReadStream: function ReadStream() {
},
ReadStreamOptions: function ReadStreamOptions() {
},
WriteStream: function WriteStream() {
},
WriteStreamOptions: function WriteStreamOptions() {
},
FileOptions: function FileOptions() {
},
StatOptions: function StatOptions() {
},
MkdirOptions: function MkdirOptions() {
},
RmdirOptions: function RmdirOptions() {
},
WatchOptions: function WatchOptions() {
},
WatchFileOptions: function WatchFileOptions() {
},
Stats: function Stats() {
},
Promise: function Promise() {
},
Date: function Date() {
},
JsError: function JsError() {
},
Atomics: function Atomics() {
},
Modules: function Modules() {
},
Module: function Module() {
},
Net: function Net() {
},
Socket: function Socket() {
},
NetAddress: function NetAddress() {
},
NetServer: function NetServer() {
},
NodeJsError: function NodeJsError() {
},
JsAssertionError: function JsAssertionError() {
},
JsRangeError: function JsRangeError() {
},
JsReferenceError: function JsReferenceError() {
},
JsSyntaxError: function JsSyntaxError() {
},
JsTypeError: function JsTypeError() {
},
JsSystemError: function JsSystemError() {
},
Process: function Process() {
},
CPUUsage: function CPUUsage() {
},
Release: function Release() {
},
StreamModule: function StreamModule() {
},
Readable: function Readable() {
},
Writable: function Writable() {
},
Duplex: function Duplex() {
},
Transform: function Transform() {
},
WritableOptions: function WritableOptions() {
},
ReadableOptions: function ReadableOptions() {
},
Immediate: function Immediate() {
},
Timeout: function Timeout() {
},
TTY: function TTY() {
},
TTYReadStream: function TTYReadStream() {
},
TTYWriteStream: function TTYWriteStream() {
},
jsify0(dartObject) {
if (A._isBasicType(dartObject))
return dartObject;
return A.jsify(dartObject);
},
_isBasicType(value) {
return false;
},
promiseToFuture0(promise, $T) {
var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure1(completer)), A.allowInterop(new A.promiseToFuture_closure2(completer)));
return t1;
},
futureToPromise(future, $T) {
return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
},
Util: function Util() {
},
promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
this.completer = t0;
},
promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
this.completer = t0;
},
futureToPromise_closure: function futureToPromise_closure(t0, t1) {
this.future = t0;
this.T = t1;
},
futureToPromise__closure: function futureToPromise__closure(t0, t1) {
this.resolve = t0;
this.T = t1;
},
Context_Context(style) {
return new A.Context(style, ".");
},
_parseUri(uri) {
if (typeof uri == "string")
return A.Uri_parse(uri);
if (type$.Uri._is(uri))
return uri;
throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
},
_validateArgList(method, args) {
var numArgs, i, numArgs0, message, t1, t2, t3, t4;
for (numArgs = args.length, i = 1; i < numArgs; ++i) {
if (args[i] == null || args[i - 1] != null)
continue;
for (; numArgs >= 1; numArgs = numArgs0) {
numArgs0 = numArgs - 1;
if (args[numArgs0] != null)
break;
}
message = new A.StringBuffer("");
t1 = method + "(";
message._contents = t1;
t2 = A._arrayInstanceType(args);
t3 = t2._eval$1("SubListIterable<1>");
t4 = new A.SubListIterable(args, 0, numArgs, t3);
t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable")).join$1(0, ", ");
message._contents = t3;
message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
}
},
Context: function Context(t0, t1) {
this.style = t0;
this._context$_current = t1;
},
Context_joinAll_closure: function Context_joinAll_closure() {
},
Context_split_closure: function Context_split_closure() {
},
_validateArgList_closure: function _validateArgList_closure() {
},
_PathDirection: function _PathDirection(t0) {
this.name = t0;
},
_PathRelation: function _PathRelation(t0) {
this.name = t0;
},
InternalStyle: function InternalStyle() {
},
ParsedPath_ParsedPath$parse(path, style) {
var t1, parts, separators, start, i,
root = style.getRoot$1(path),
isRootRelative = style.isRootRelative$1(path);
if (root != null)
path = B.JSString_methods.substring$1(path, root.length);
t1 = type$.JSArray_String;
parts = A._setArrayType([], t1);
separators = A._setArrayType([], t1);
t1 = path.length;
if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
separators.push(path[0]);
start = 1;
} else {
separators.push("");
start = 0;
}
for (i = start; i < t1; ++i)
if (style.isSeparator$1(path.charCodeAt(i))) {
parts.push(B.JSString_methods.substring$2(path, start, i));
separators.push(path[i]);
start = i + 1;
}
if (start < t1) {
parts.push(B.JSString_methods.substring$1(path, start));
separators.push("");
}
return new A.ParsedPath(style, root, isRootRelative, parts, separators);
},
ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
var _ = this;
_.style = t0;
_.root = t1;
_.isRootRelative = t2;
_.parts = t3;
_.separators = t4;
},
ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
},
ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
},
PathException$(message) {
return new A.PathException(message);
},
PathException: function PathException(t0) {
this.message = t0;
},
PathMap__create(context, $V) {
var t1 = {};
t1.context = context;
t1.context = $.$get$context();
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);
},
PathMap: function PathMap(t0, t1) {
this._map = t0;
this.$ti = t1;
},
PathMap__create_closure: function PathMap__create_closure(t0) {
this._box_0 = t0;
},
PathMap__create_closure0: function PathMap__create_closure0(t0) {
this._box_0 = t0;
},
PathMap__create_closure1: function PathMap__create_closure1() {
},
Style__getPlatformStyle() {
if (A.Uri_base().get$scheme() !== "file")
return $.$get$Style_url();
var t1 = A.Uri_base();
if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
return $.$get$Style_url();
if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
return $.$get$Style_windows();
return $.$get$Style_posix();
},
Style: function Style() {
},
PosixStyle: function PosixStyle(t0, t1, t2) {
this.separatorPattern = t0;
this.needsSeparatorPattern = t1;
this.rootPattern = t2;
},
UrlStyle: function UrlStyle(t0, t1, t2, t3) {
var _ = this;
_.separatorPattern = t0;
_.needsSeparatorPattern = t1;
_.rootPattern = t2;
_.relativeRootPattern = t3;
},
WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
var _ = this;
_.separatorPattern = t0;
_.needsSeparatorPattern = t1;
_.rootPattern = t2;
_.relativeRootPattern = t3;
},
WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
},
Version$_(major, minor, patch, preRelease, build, _text) {
var t1 = preRelease == null || preRelease.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
t2 = build == null || build.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
if (major < 0)
A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
if (minor < 0)
A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
if (patch < 0)
A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
return new A.Version(major, minor, patch, t1, t2, _text);
},
Version_Version(major, minor, patch, pre) {
var text = "" + major + "." + minor + "." + patch;
if (pre != null)
text += "-" + pre;
return A.Version$_(major, minor, patch, pre, null, text);
},
Version___parse_tearOff(text) {
return A.Version_Version$parse(text);
},
Version_Version$parse(text) {
var major, minor, patch, preRelease, build, t1, exception, _null = null,
_s17_ = 'Could not parse "',
match = $.$get$completeVersion().firstMatch$1(text);
if (match == null)
throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
try {
t1 = match._match[1];
t1.toString;
major = A.int_parse(t1, _null);
t1 = match._match[2];
t1.toString;
minor = A.int_parse(t1, _null);
t1 = match._match[3];
t1.toString;
patch = A.int_parse(t1, _null);
preRelease = match._match[5];
build = match._match[8];
t1 = A.Version$_(major, minor, patch, preRelease, build, text);
return t1;
} catch (exception) {
if (type$.FormatException._is(A.unwrapException(exception)))
throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
else
throw exception;
}
},
Version__splitParts(text) {
var t1 = type$.MappedListIterable_String_Object;
t1 = A.List_List$_of(new A.MappedListIterable(A._setArrayType(text.split("."), type$.JSArray_String), new A.Version__splitParts_closure(), t1), t1._eval$1("ListIterable.E"));
return t1;
},
Version: function Version(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.major = t0;
_.minor = t1;
_.patch = t2;
_.preRelease = t3;
_.build = t4;
_._version$_text = t5;
},
Version__splitParts_closure: function Version__splitParts_closure() {
},
VersionRange_VersionRange(includeMax, max) {
return new A.VersionRange(null, max, false, true);
},
VersionRange: function VersionRange(t0, t1, t2, t3) {
var _ = this;
_.min = t0;
_.max = t1;
_.includeMin = t2;
_.includeMax = t3;
},
CssMediaQuery$type(type, conditions, modifier) {
return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
},
CssMediaQuery$condition(conditions, conjunction) {
var t1 = A.List_List$unmodifiable(conditions, type$.String);
if (t1.length > 1 && conjunction == null)
A.throwExpression(A.ArgumentError$(string$.If_con, null));
return new A.CssMediaQuery(null, null, conjunction !== false, t1);
},
CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
var _ = this;
_.modifier = t0;
_.type = t1;
_.conjunction = t2;
_.conditions = t3;
},
_SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
this._name = t0;
},
MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
this.query = t0;
},
ModifiableCssAtRule$($name, span, childless, value) {
var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
},
ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.name = t0;
_.value = t1;
_.isChildless = t2;
_.span = t3;
_.children = t4;
_._children = t5;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssComment: function ModifiableCssComment(t0, t1) {
var _ = this;
_.text = t0;
_.span = t1;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
var t2,
t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
if (parsedAsCustomProperty)
if (!B.JSString_methods.startsWith$1($name.value, "--"))
A.throwExpression(A.ArgumentError$(string$.parsed, null));
else {
t2 = value.value;
if (!(t2 instanceof A.SassString))
A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
}
return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
},
ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
var _ = this;
_.name = t0;
_.value = t1;
_.parsedAsCustomProperty = t2;
_.valueSpanForMap = t3;
_.span = t4;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
var _ = this;
_.url = t0;
_.modifiers = t1;
_.span = t2;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssKeyframeBlock$(selector, span) {
var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
},
ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
var _ = this;
_.selector = t0;
_.span = t1;
_.children = t2;
_._children = t3;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssMediaRule$(queries, span) {
var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
if (J.get$isEmpty$asx(queries))
A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
},
ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
var _ = this;
_.queries = t0;
_.span = t1;
_.children = t2;
_._children = t3;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssNode: function ModifiableCssNode() {
},
ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
},
ModifiableCssParentNode: function ModifiableCssParentNode() {
},
ModifiableCssStyleRule$(_selector, span, fromPlainCss, originalSelector) {
var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
return new A.ModifiableCssStyleRule(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
},
ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._style_rule$_selector = t0;
_.originalSelector = t1;
_.span = t2;
_.fromPlainCss = t3;
_.children = t4;
_._children = t5;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssStylesheet$(span) {
var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
},
ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
var _ = this;
_.span = t0;
_.children = t1;
_._children = t2;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
ModifiableCssSupportsRule$(condition, span) {
var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
},
ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
var _ = this;
_.condition = t0;
_.span = t1;
_.children = t2;
_._children = t3;
_._indexInParent = _._parent = null;
_.isGroupEnd = false;
},
CssNode: function CssNode() {
},
CssParentNode: function CssParentNode() {
},
_IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
this.includeBogus = t0;
this.includeComments = t1;
},
__IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
},
CssStylesheet: function CssStylesheet(t0, t1) {
this.children = t0;
this.span = t1;
},
CssValue: function CssValue(t0, t1, t2) {
this.value = t0;
this.span = t1;
this.$ti = t2;
},
_FakeAstNode: function _FakeAstNode(t0) {
this._callback = t0;
},
ArgumentList$empty(span) {
return new A.ArgumentList(B.List_empty9, B.Map_empty4, null, null, span);
},
ArgumentList: function ArgumentList(t0, t1, t2, t3, t4) {
var _ = this;
_.positional = t0;
_.named = t1;
_.rest = t2;
_.keywordRest = t3;
_.span = t4;
},
AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
var _ = this;
_.include = t0;
_.names = t1;
_._all = t2;
_._at_root_query$_rule = t3;
},
ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
var _ = this;
_.name = t0;
_.expression = t1;
_.isGuarded = t2;
_.span = t3;
},
Expression: function Expression() {
},
BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
var _ = this;
_.operator = t0;
_.left = t1;
_.right = t2;
_.allowsSlash = t3;
},
BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
var _ = this;
_.name = t0;
_.operator = t1;
_.precedence = t2;
_.isAssociative = t3;
_._name = t4;
},
BooleanExpression: function BooleanExpression(t0, t1) {
this.value = t0;
this.span = t1;
},
ColorExpression: function ColorExpression(t0, t1) {
this.value = t0;
this.span = t1;
},
FunctionExpression: function FunctionExpression(t0, t1, t2, t3, t4) {
var _ = this;
_.namespace = t0;
_.name = t1;
_.originalName = t2;
_.$arguments = t3;
_.span = t4;
},
IfExpression: function IfExpression(t0, t1) {
this.$arguments = t0;
this.span = t1;
},
InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
this.name = t0;
this.$arguments = t1;
this.span = t2;
},
ListExpression: function ListExpression(t0, t1, t2, t3) {
var _ = this;
_.contents = t0;
_.separator = t1;
_.hasBrackets = t2;
_.span = t3;
},
ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
this.$this = t0;
},
MapExpression: function MapExpression(t0, t1) {
this.pairs = t0;
this.span = t1;
},
NullExpression: function NullExpression(t0) {
this.span = t0;
},
NumberExpression: function NumberExpression(t0, t1, t2) {
this.value = t0;
this.unit = t1;
this.span = t2;
},
ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
this.expression = t0;
this.span = t1;
},
SelectorExpression: function SelectorExpression(t0) {
this.span = t0;
},
StringExpression_quoteText(text) {
var quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
buffer = new A.StringBuffer(""),
t1 = A.Primitives_stringFromCharCode(quote);
buffer._contents = t1;
A.StringExpression__quoteInnerText(text, quote, buffer, true);
t1 = buffer._contents += t1;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
StringExpression__quoteInnerText(text, quote, buffer, $static) {
var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
_1_0 = text.charCodeAt(i);
if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
buffer.writeCharCode$1(92);
buffer.writeCharCode$1(97);
if (i !== t2) {
_0_0 = text.charCodeAt(i + 1);
t3 = true;
if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
if (!(_0_0 >= 48 && _0_0 <= 57))
if (!(_0_0 >= 97 && _0_0 <= 102))
t3 = _0_0 >= 65 && _0_0 <= 70;
if (t3)
buffer.writeCharCode$1(32);
}
continue;
}
t3 = 92 === _1_0;
if (t3)
t4 = _1_0;
else
t4 = null;
if (!t3) {
t3 = false;
t5 = _1_0 === quote;
if (t5)
t4 = _1_0;
if (!t5)
if (35 === _1_0)
if ($static)
if (i < t2) {
t3 = text.charCodeAt(i + 1) === 123;
if (t3)
t4 = _1_0;
t0 = t4;
t4 = t3;
t3 = t0;
} else {
t0 = t4;
t4 = t3;
t3 = t0;
}
else {
t0 = t4;
t4 = t3;
t3 = t0;
}
else {
t0 = t4;
t4 = t3;
t3 = t0;
}
else {
t3 = t4;
t4 = true;
}
} else {
t3 = t4;
t4 = true;
}
if (t4) {
buffer.writeCharCode$1(92);
buffer.writeCharCode$1(t3);
continue;
}
buffer.writeCharCode$1(_1_0);
}
},
StringExpression__bestQuote(strings) {
var t1, t2, t3, containsDoubleQuote, t4, t5;
for (t1 = J.get$iterator$ax(strings), t2 = type$.CodeUnits, t3 = t2._eval$1("ListIterator"), t2 = t2._eval$1("ListBase.E"), containsDoubleQuote = false; t1.moveNext$0();)
for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
t5 = t4.__internal$_current;
if (t5 == null)
t5 = t2._as(t5);
if (t5 === 39)
return 34;
if (t5 === 34)
containsDoubleQuote = true;
}
return containsDoubleQuote ? 39 : 34;
},
StringExpression: function StringExpression(t0, t1) {
this.text = t0;
this.hasQuotes = t1;
},
SupportsExpression: function SupportsExpression(t0) {
this.condition = t0;
},
UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
this.operator = t0;
this.operand = t1;
this.span = t2;
},
UnaryOperator: function UnaryOperator(t0, t1, t2) {
this.name = t0;
this.operator = t1;
this._name = t2;
},
ValueExpression: function ValueExpression(t0, t1) {
this.value = t0;
this.span = t1;
},
VariableExpression: function VariableExpression(t0, t1, t2) {
this.namespace = t0;
this.name = t1;
this.span = t2;
},
DynamicImport: function DynamicImport(t0, t1) {
this.urlString = t0;
this.span = t1;
},
StaticImport: function StaticImport(t0, t1, t2) {
this.url = t0;
this.modifiers = t1;
this.span = t2;
},
Interpolation$(contents, spans, span) {
var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
t1.Interpolation$3(contents, spans, span);
return t1;
},
Interpolation: function Interpolation(t0, t1, t2) {
this.contents = t0;
this.spans = t1;
this.span = t2;
},
Interpolation_toString_closure: function Interpolation_toString_closure() {
},
Parameter: function Parameter(t0, t1, t2) {
this.name = t0;
this.defaultValue = t1;
this.span = t2;
},
ParameterList_ParameterList$parse(contents, url) {
return A.ScssParser$(contents, url).parseParameterList$0();
},
ParameterList: function ParameterList(t0, t1, t2) {
this.parameters = t0;
this.restParameter = t1;
this.span = t2;
},
ParameterList_verify_closure: function ParameterList_verify_closure() {
},
ParameterList_verify_closure0: function ParameterList_verify_closure0() {
},
Statement: function Statement() {
},
AtRootRule$(children, span, query) {
var t1 = A.List_List$unmodifiable(children, type$.Statement),
t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.AtRootRule(query, span, t1, t2);
},
AtRootRule: function AtRootRule(t0, t1, t2, t3) {
var _ = this;
_.query = t0;
_.span = t1;
_.children = t2;
_.hasDeclarations = t3;
},
AtRule$($name, span, children, value) {
var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.AtRule($name, value, span, t1, t2 === true);
},
AtRule: function AtRule(t0, t1, t2, t3, t4) {
var _ = this;
_.name = t0;
_.value = t1;
_.span = t2;
_.children = t3;
_.hasDeclarations = t4;
},
CallableDeclaration: function CallableDeclaration() {
},
ContentBlock$(parameters, children, span) {
var _s8_ = "@content",
t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
t2 = A.List_List$unmodifiable(children, type$.Statement),
t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
return new A.ContentBlock(t1, _s8_, parameters, span, t2, t3);
},
ContentBlock: function ContentBlock(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.name = t0;
_.originalName = t1;
_.parameters = t2;
_.span = t3;
_.children = t4;
_.hasDeclarations = t5;
},
ContentRule: function ContentRule(t0, t1) {
this.$arguments = t0;
this.span = t1;
},
DebugRule: function DebugRule(t0, t1) {
this.expression = t0;
this.span = t1;
},
Declaration$($name, value, span) {
return new A.Declaration($name, value, span, null, false);
},
Declaration$nested($name, children, span, value) {
var t1 = A.List_List$unmodifiable(children, type$.Statement),
t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.Declaration($name, value, span, t1, t2);
},
Declaration: function Declaration(t0, t1, t2, t3, t4) {
var _ = this;
_.name = t0;
_.value = t1;
_.span = t2;
_.children = t3;
_.hasDeclarations = t4;
},
EachRule$(variables, list, children, span) {
var t1 = A.List_List$unmodifiable(variables, type$.String),
t2 = A.List_List$unmodifiable(children, type$.Statement),
t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
return new A.EachRule(t1, list, span, t2, t3);
},
EachRule: function EachRule(t0, t1, t2, t3, t4) {
var _ = this;
_.variables = t0;
_.list = t1;
_.span = t2;
_.children = t3;
_.hasDeclarations = t4;
},
EachRule_toString_closure: function EachRule_toString_closure() {
},
ErrorRule: function ErrorRule(t0, t1) {
this.expression = t0;
this.span = t1;
},
ExtendRule: function ExtendRule(t0, t1, t2) {
this.selector = t0;
this.isOptional = t1;
this.span = t2;
},
ForRule$(variable, from, to, children, span, exclusive) {
var t1 = A.List_List$unmodifiable(children, type$.Statement),
t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
},
ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.variable = t0;
_.from = t1;
_.to = t2;
_.isExclusive = t3;
_.span = t4;
_.children = t5;
_.hasDeclarations = t6;
},
ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.url = t0;
_.shownMixinsAndFunctions = t1;
_.shownVariables = t2;
_.hiddenMixinsAndFunctions = t3;
_.hiddenVariables = t4;
_.prefix = t5;
_.configuration = t6;
_.span = t7;
},
FunctionRule$($name, parameters, children, span, comment) {
var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
t2 = A.List_List$unmodifiable(children, type$.Statement),
t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
return new A.FunctionRule(t1, $name, parameters, span, t2, t3);
},
FunctionRule: function FunctionRule(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.name = t0;
_.originalName = t1;
_.parameters = t2;
_.span = t3;
_.children = t4;
_.hasDeclarations = t5;
},
IfClause$(expression, children) {
var t1 = A.List_List$unmodifiable(children, type$.Statement);
return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
},
ElseClause$(children) {
var t1 = A.List_List$unmodifiable(children, type$.Statement);
return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
},
IfRule: function IfRule(t0, t1, t2) {
this.clauses = t0;
this.lastClause = t1;
this.span = t2;
},
IfRule_toString_closure: function IfRule_toString_closure() {
},
IfRuleClause: function IfRuleClause() {
},
IfRuleClause$__closure: function IfRuleClause$__closure() {
},
IfRuleClause$___closure: function IfRuleClause$___closure() {
},
IfClause: function IfClause(t0, t1, t2) {
this.expression = t0;
this.children = t1;
this.hasDeclarations = t2;
},
ElseClause: function ElseClause(t0, t1) {
this.children = t0;
this.hasDeclarations = t1;
},
ImportRule: function ImportRule(t0, t1) {
this.imports = t0;
this.span = t1;
},
IncludeRule: function IncludeRule(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.namespace = t0;
_.name = t1;
_.originalName = t2;
_.$arguments = t3;
_.content = t4;
_.span = t5;
},
LoudComment: function LoudComment(t0) {
this.text = t0;
},
MediaRule$(query, children, span) {
var t1 = A.List_List$unmodifiable(children, type$.Statement),
t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.MediaRule(query, span, t1, t2);
},
MediaRule: function MediaRule(t0, t1, t2, t3) {
var _ = this;
_.query = t0;
_.span = t1;
_.children = t2;
_.hasDeclarations = t3;
},
MixinRule$($name, parameters, children, span, comment) {
var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
t2 = A.List_List$unmodifiable(children, type$.Statement),
t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
return new A.MixinRule(t1, $name, parameters, span, t2, t3);
},
MixinRule: function MixinRule(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.__MixinRule_hasContent_FI = $;
_.name = t0;
_.originalName = t1;
_.parameters = t2;
_.span = t3;
_.children = t4;
_.hasDeclarations = t5;
},
_HasContentVisitor: function _HasContentVisitor() {
},
__HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
},
ParentStatement: function ParentStatement() {
},
ParentStatement_closure: function ParentStatement_closure() {
},
ParentStatement__closure: function ParentStatement__closure() {
},
ReturnRule: function ReturnRule(t0, t1) {
this.expression = t0;
this.span = t1;
},
SilentComment: function SilentComment(t0, t1) {
this.text = t0;
this.span = t1;
},
StyleRule$(selector, children, span) {
var t1 = A.List_List$unmodifiable(children, type$.Statement),
t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.StyleRule(selector, span, t1, t2);
},
StyleRule: function StyleRule(t0, t1, t2, t3) {
var _ = this;
_.selector = t0;
_.span = t1;
_.children = t2;
_.hasDeclarations = t3;
},
Stylesheet$(children, span) {
var t1 = A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),
t2 = A._setArrayType([], type$.JSArray_UseRule),
t3 = A._setArrayType([], type$.JSArray_ForwardRule),
t4 = A.List_List$unmodifiable(children, type$.Statement),
t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
t2 = new A.Stylesheet(span, false, t2, t3, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), B.Map_empty6, t4, t5);
t2.Stylesheet$internal$5$globalVariables$plainCss(children, span, t1, null, false);
return t2;
},
Stylesheet$internal(children, span, parseTimeWarnings, globalVariables, plainCss) {
var t1 = A._setArrayType([], type$.JSArray_UseRule),
t2 = A._setArrayType([], type$.JSArray_ForwardRule),
t3 = globalVariables == null ? B.Map_empty6 : A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
t4 = A.List_List$unmodifiable(children, type$.Statement),
t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
t1 = new A.Stylesheet(span, plainCss, t1, t2, new A.UnmodifiableListView(parseTimeWarnings, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), t3, t4, t5);
t1.Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss);
return t1;
},
Stylesheet_Stylesheet$parse(contents, syntax, url) {
var error, stackTrace, url0, t1, exception, t2;
try {
switch (syntax) {
case B.Syntax_Sass_sass:
t1 = new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
return t1;
case B.Syntax_SCSS_scss:
t1 = A.ScssParser$(contents, url).parse$0(0);
return t1;
case B.Syntax_CSS_css:
t1 = new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
return t1;
}
} catch (exception) {
t1 = A.unwrapException(exception);
if (t1 instanceof A.SassException) {
error = t1;
stackTrace = A.getTraceFromException(exception);
t1 = error;
t2 = J.getInterceptor$z(t1);
t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
url0 = t1.get$sourceUrl(t1);
if (url0 == null || url0.toString$0(0) === "stdin")
throw exception;
t1 = type$.Uri;
throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
} else
throw exception;
}
},
Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.span = t0;
_.plainCss = t1;
_._uses = t2;
_._forwards = t3;
_.parseTimeWarnings = t4;
_.globalVariables = t5;
_.children = t6;
_.hasDeclarations = t7;
},
SupportsRule$(condition, children, span) {
var t1 = A.List_List$unmodifiable(children, type$.Statement),
t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.SupportsRule(condition, span, t1, t2);
},
SupportsRule: function SupportsRule(t0, t1, t2, t3) {
var _ = this;
_.condition = t0;
_.span = t1;
_.children = t2;
_.hasDeclarations = t3;
},
UseRule: function UseRule(t0, t1, t2, t3) {
var _ = this;
_.url = t0;
_.namespace = t1;
_.configuration = t2;
_.span = t3;
},
VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
if (namespace != null && global)
A.throwExpression(A.ArgumentError$(string$.Other_, null));
return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
},
VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.namespace = t0;
_.name = t1;
_.expression = t2;
_.isGuarded = t3;
_.isGlobal = t4;
_.span = t5;
},
WarnRule: function WarnRule(t0, t1) {
this.expression = t0;
this.span = t1;
},
WhileRule$(condition, children, span) {
var t1 = A.List_List$unmodifiable(children, type$.Statement),
t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
return new A.WhileRule(condition, span, t1, t2);
},
WhileRule: function WhileRule(t0, t1, t2, t3) {
var _ = this;
_.condition = t0;
_.span = t1;
_.children = t2;
_.hasDeclarations = t3;
},
SupportsAnything: function SupportsAnything(t0, t1) {
this.contents = t0;
this.span = t1;
},
SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
this.name = t0;
this.value = t1;
this.span = t2;
},
SupportsFunction: function SupportsFunction(t0, t1, t2) {
this.name = t0;
this.$arguments = t1;
this.span = t2;
},
SupportsInterpolation: function SupportsInterpolation(t0, t1) {
this.expression = t0;
this.span = t1;
},
SupportsNegation: function SupportsNegation(t0, t1) {
this.condition = t0;
this.span = t1;
},
SupportsOperation$(left, right, operator, span) {
var lowerOperator = operator.toLowerCase();
if (lowerOperator !== "and" && lowerOperator !== "or")
A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
return new A.SupportsOperation(left, right, operator, span);
},
SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
var _ = this;
_.left = t0;
_.right = t1;
_.operator = t2;
_.span = t3;
},
Selector: function Selector() {
},
_IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
this.includeBogus = t0;
},
_IsBogusVisitor: function _IsBogusVisitor(t0) {
this.includeLeadingCombinator = t0;
},
_IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
this.$this = t0;
},
_IsUselessVisitor: function _IsUselessVisitor() {
},
_IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
this.$this = t0;
},
_ContainsParentSelectorVisitor: function _ContainsParentSelectorVisitor() {
},
__ContainsParentSelectorVisitor_Object_AnySelectorVisitor: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor() {
},
__IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
},
__IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
},
__IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
},
AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
var _ = this;
_.name = t0;
_.op = t1;
_.value = t2;
_.modifier = t3;
_.span = t4;
},
AttributeOperator: function AttributeOperator(t0, t1) {
this._attribute$_text = t0;
this._name = t1;
},
ClassSelector: function ClassSelector(t0, t1) {
this.name = t0;
this.span = t1;
},
Combinator: function Combinator(t0, t1) {
this._combinator$_text = t0;
this._name = t1;
},
ComplexSelector$(leadingCombinators, components, span, lineBreak) {
var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
if (t1.length === 0 && t2.length === 0)
A.throwExpression(A.ArgumentError$(string$.leadin, null));
return new A.ComplexSelector(t1, t2, lineBreak, span);
},
ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
var _ = this;
_.leadingCombinators = t0;
_.components = t1;
_.lineBreak = t2;
_.__ComplexSelector_specificity_FI = $;
_.span = t3;
},
ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
},
ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
this.selector = t0;
this.combinators = t1;
this.span = t2;
},
ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
},
CompoundSelector$(components, span) {
var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
if (t1.length === 0)
A.throwExpression(A.ArgumentError$("components may not be empty.", null));
return new A.CompoundSelector(t1, span);
},
CompoundSelector: function CompoundSelector(t0, t1) {
var _ = this;
_.components = t0;
_.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _.__CompoundSelector_specificity_FI = $;
_.span = t1;
},
CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
},
CompoundSelector_hasComplicatedSuperselectorSemantics_closure: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure() {
},
IDSelector: function IDSelector(t0, t1) {
this.name = t0;
this.span = t1;
},
IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
this.$this = t0;
},
SelectorList$(components, span) {
var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
if (t1.length === 0)
A.throwExpression(A.ArgumentError$("components may not be empty.", null));
return new A.SelectorList(t1, span);
},
SelectorList_SelectorList$parse(contents, allowParent, interpolationMap, plainCss) {
return new A.SelectorParser(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
},
SelectorList: function SelectorList(t0, t1) {
this.components = t0;
this.span = t1;
},
SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
},
SelectorList_nestWithin_closure: function SelectorList_nestWithin_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.preserveParentSelectors = t1;
_.implicitParent = t2;
_.parent = t3;
},
SelectorList_nestWithin__closure: function SelectorList_nestWithin__closure(t0) {
this.complex = t0;
},
SelectorList_nestWithin__closure0: function SelectorList_nestWithin__closure0(t0) {
this.complex = t0;
},
SelectorList__nestWithinCompound_closure: function SelectorList__nestWithinCompound_closure() {
},
SelectorList__nestWithinCompound_closure0: function SelectorList__nestWithinCompound_closure0(t0) {
this.parent = t0;
},
SelectorList__nestWithinCompound_closure1: function SelectorList__nestWithinCompound_closure1(t0, t1, t2) {
this.parentSelector = t0;
this.resolvedSimples = t1;
this.component = t2;
},
SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
this.combinators = t0;
},
_ParentSelectorVisitor: function _ParentSelectorVisitor() {
},
__ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
},
ParentSelector: function ParentSelector(t0, t1) {
this.suffix = t0;
this.span = t1;
},
PlaceholderSelector: function PlaceholderSelector(t0, t1) {
this.name = t0;
this.span = t1;
},
PseudoSelector$($name, span, argument, element, selector) {
var t1 = !element,
t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
},
PseudoSelector__isFakePseudoElement($name) {
switch ($name.charCodeAt(0)) {
case 97:
case 65:
return A.equalsIgnoreCase($name, "after");
case 98:
case 66:
return A.equalsIgnoreCase($name, "before");
case 102:
case 70:
return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
default:
return false;
}
},
PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.name = t0;
_.normalizedName = t1;
_.isClass = t2;
_.isSyntacticClass = t3;
_.argument = t4;
_.selector = t5;
_.__PseudoSelector_specificity_FI = $;
_.span = t6;
},
PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
this.$this = t0;
},
PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
},
PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
},
PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
},
QualifiedName: function QualifiedName(t0, t1) {
this.name = t0;
this.namespace = t1;
},
SimpleSelector: function SimpleSelector() {
},
SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
this.$this = t0;
},
SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
this.$this = t0;
},
TypeSelector: function TypeSelector(t0, t1) {
this.name = t0;
this.span = t1;
},
UniversalSelector: function UniversalSelector(t0, t1) {
this.namespace = t0;
this.span = t1;
},
compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
$async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = type$.Deprecation;
t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
t2.addAll$1(0, silenceDeprecations);
t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
t3.addAll$1(0, fatalDeprecations);
t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
t4.addAll$1(0, futureDeprecations);
logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
logger.validate$0();
t1 = syntax === A.Syntax_forPath(path);
$async$goto = t1 ? 3 : 5;
break;
case 3:
// then
t1 = $.$get$FilesystemImporter_cwd();
t2 = A.isNodeJs() ? self.process : null;
if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
t2 = A.isNodeJs() ? self.process : null;
t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
} else
t2 = true;
if (t2) {
t2 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
t3 = $.$get$context();
t2 = A._realCasePath(t3.normalize$1(t2));
} else {
t2 = $.$get$context();
t3 = t2.canonicalize$1(0, path);
t0 = t3;
t3 = t2;
t2 = t0;
}
$async$goto = 6;
return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
case 6:
// returning from await.
t3 = $async$result;
t3.toString;
stylesheet = t3;
// goto join
$async$goto = 4;
break;
case 5:
// else
t1 = A.readFile(path);
stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, $.$get$context().toUri$1(path));
case 4:
// join
$async$goto = 7;
return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
case 7:
// returning from await.
result = $async$result;
logger.summarize$1$js(false);
$async$returnValue = result;
// goto return
$async$goto = 1;
break;
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$compileAsync, $async$completer);
},
compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
$async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = type$.Deprecation;
t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
t2.addAll$1(0, silenceDeprecations);
t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
t3.addAll$1(0, fatalDeprecations);
t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
t4.addAll$1(0, futureDeprecations);
logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
logger.validate$0();
stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, null);
t1 = stylesheet.span;
_0_0 = t1.get$sourceUrl(t1);
if (type$.Uri._is(_0_0))
t2 = "" === _0_0.get$scheme();
else
t2 = false;
if (t2)
A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_lJb, "Passing a relative `url` argument (" + A.S(t1.get$sourceUrl(t1)) + string$.x29x20to_cm, null, null);
$async$goto = 3;
return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
case 3:
// returning from await.
result = $async$result;
logger.summarize$1$js(false);
$async$returnValue = result;
// goto return
$async$goto = 1;
break;
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$compileStringAsync, $async$completer);
},
_compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
$async$returnValue, serializeResult, resultSourceMap, $async$temp1;
var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$temp1 = A;
$async$goto = 3;
return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
case 3:
// returning from await.
serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, true);
resultSourceMap = serializeResult._1;
if (resultSourceMap != null)
A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
$async$returnValue = new A.CompileResult(serializeResult);
// goto return
$async$goto = 1;
break;
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
},
_compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
this.stylesheet = t0;
this.importCache = t1;
},
AsyncEnvironment$() {
var t1 = type$.String,
t2 = type$.Module_AsyncCallable,
t3 = type$.AstNode,
t4 = type$.int,
t5 = type$.AsyncCallable,
t6 = type$.JSArray_Map_String_AsyncCallable;
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, A.LinkedHashSet_LinkedHashSet$_empty(t1));
},
AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
var t1 = type$.String,
t2 = type$.int;
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, _configurableVariables);
},
_EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
var t1, t2, t3, t4, t5, t6, module, result, t7;
if (forwarded == null)
forwarded = B.Set_empty3;
t1 = type$.dynamic;
t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
for (t2 = type$.Module_AsyncCallable, t3 = type$.List_CssComment, t4 = A.MapExtensions_get_pairs(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment; t4.moveNext$0();) {
t6 = t4.get$current(t4);
module = t6._0;
result = A.List_List$from(t6._1, false, t5);
result.$flags = 3;
t1.$indexSet(0, module, result);
}
t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
t3 = 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);
t4 = 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);
t5 = type$.Map_String_AsyncCallable;
t6 = type$.AsyncCallable;
t7 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t5), t6);
t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t5), t6);
t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
return A._EnvironmentModule$_0(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
},
_EnvironmentModule__makeModulesByVariable0(forwarded) {
var modulesByVariable, t1, t2, t3, t4, t5;
if (forwarded.get$isEmpty(forwarded))
return B.Map_empty8;
modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
t2 = t1.get$current(t1);
if (t2 instanceof A._EnvironmentModule0) {
for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
t4 = t3.get$current(t3);
t5 = t4.get$variables();
A.setAll(modulesByVariable, t5.get$keys(t5), t4);
}
t3 = B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables);
A.setAll(modulesByVariable, t3.get$keys(t3), t2);
} else {
t3 = t2.get$variables();
A.setAll(modulesByVariable, t3.get$keys(t3), t2);
}
}
return modulesByVariable;
},
_EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
var t1, t2, t3;
localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
if (otherMaps.get$isEmpty(otherMaps))
return localMap;
t1 = A._setArrayType([], $V._eval$1("JSArray