UNPKG

@cparra/apex-reflection

Version:

Provides tools for reflecting Apex code, the language used in Salesforce development.

1,479 lines 1.36 MB
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; } if (typeof exports !== "undefined") { self.exports = exports; } // 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); } }; } // ADDED THIS LINE globalThis.self = self; (function dartProgram() { function copyProperties(a, b) { var s = Object.keys(a); for (var r = 0; r < s.length; r++) { var q = s[r]; b[q] = a[q]; } } function mixinPropertiesHard(a, b) { var s = Object.keys(a); for (var r = 0; r < s.length; r++) { var q = s[r]; if (!b.hasOwnProperty(q)) { b[q] = a[q]; } } } function mixinPropertiesEasy(a, b) { Object.assign(b, a); } var z = function () { var s = function () { }; s.prototype = { p: {} }; var r = new s(); if (!(Object.getPrototypeOf(r) && Object.getPrototypeOf(r).p === s.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 q = version(); if (/^\d+\.\d+\.\d+\.\d+$/.test(q)) return true; } } catch (p) { } return false; }(); function inherit(a, b) { a.prototype.constructor = a; a.prototype["$i" + a.name] = a; if (b != null) { if (z) { Object.setPrototypeOf(a.prototype, b.prototype); return; } var s = Object.create(b.prototype); copyProperties(a.prototype, s); a.prototype = s; } } function inheritMany(a, b) { for (var s = 0; s < b.length; s++) { inherit(b[s], a); } } function mixinEasy(a, b) { mixinPropertiesEasy(b.prototype, a.prototype); a.prototype.constructor = a; } function mixinHard(a, b) { mixinPropertiesHard(b.prototype, a.prototype); a.prototype.constructor = a; } function lazy(a, b, c, d) { var s = a; a[b] = s; a[c] = function () { if (a[b] === s) { a[b] = d(); } a[c] = function () { return this[b]; }; return a[b]; }; } function lazyFinal(a, b, c, d) { var s = a; a[b] = s; a[c] = function () { if (a[b] === s) { var r = d(); if (a[b] !== s) { A.xa(b); } a[b] = r; } var q = a[b]; a[c] = function () { return q; }; return q; }; } function makeConstList(a) { a.$flags = 7; return a; } function convertToFastObject(a) { function t() { } t.prototype = a; new t(); return a; } function convertAllToFastObject(a) { for (var s = 0; s < a.length; ++s) { convertToFastObject(a[s]); } } var y = 0; function instanceTearOffGetter(a, b) { var s = null; return a ? function (c) { if (s === null) s = A.qm(b); return new s(c, this); } : function () { if (s === null) s = A.qm(b); return new s(this, null); }; } function staticTearOffGetter(a) { var s = null; return function () { if (s === null) s = A.qm(a).prototype; return s; }; } var x = 0; function tearOffParameters(a, b, c, d, e, f, g, h, i, j) { if (typeof h == "number") { h += x; } return { co: a, iS: b, iI: c, rC: d, dV: e, cs: f, fs: g, fT: h, aI: i || 0, nDA: j }; } function installStaticTearOff(a, b, c, d, e, f, g, h) { var s = tearOffParameters(a, true, false, c, d, e, f, g, h, false); var r = staticTearOffGetter(s); a[b] = r; } function installInstanceTearOff(a, b, c, d, e, f, g, h, i, j) { c = !!c; var s = tearOffParameters(a, false, c, d, e, f, g, h, i, !!j); var r = instanceTearOffGetter(c, s); a[b] = r; } function setOrUpdateInterceptorsByTag(a) { var s = v.interceptorsByTag; if (!s) { v.interceptorsByTag = a; return; } copyProperties(a, s); } function setOrUpdateLeafTags(a) { var s = v.leafTags; if (!s) { v.leafTags = a; return; } copyProperties(a, s); } function updateTypes(a) { var s = v.types; var r = s.length; s.push.apply(s, a); return r; } function updateHolder(a, b) { copyProperties(b, a); return a; } var hunkHelpers = function () { var s = function (a, b, c, d, e) { return function (f, g, h, i) { return installInstanceTearOff(f, g, a, b, c, d, [h], i, e, false); }; }, r = function (a, b, c, d) { return function (e, f, g, h) { return installStaticTearOff(e, f, a, b, c, [g], h, d); }; }; return { inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: s(0, 0, null, ["$0"], 0), _instance_1u: s(0, 1, null, ["$1"], 0), _instance_2u: s(0, 2, null, ["$2"], 0), _instance_0i: s(1, 0, null, ["$0"], 0), _instance_1i: s(1, 1, null, ["$1"], 0), _instance_2i: s(1, 2, null, ["$2"], 0), _static_0: r(0, null, ["$0"], 0), _static_1: r(1, null, ["$1"], 0), _static_2: r(2, null, ["$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags }; }(); function initializeDeferredHunk(a) { x = v.types.length; a(hunkHelpers, v, w, $); } var J = { qp(a, b, c, d) { return { i: a, p: b, e: c, x: d }; }, pq(a) { var s, r, q, p, o, n = a[v.dispatchPropertyName]; if (n == null) if ($.qn == null) { A.wU(); n = a[v.dispatchPropertyName]; } if (n != null) { s = n.p; if (!1 === s) return n.i; if (!0 === s) return a; r = Object.getPrototypeOf(a); if (s === r) return n.i; if (n.e === r) throw A.d(A.ri("Return interceptor for " + A.L(s(a, n)))); } q = a.constructor; if (q == null) p = null; else { o = $.oS; if (o == null) o = $.oS = v.getIsolateTag("_$dart_js"); p = q[o]; } if (p != null) return p; p = A.wZ(a); if (p != null) return p; if (typeof a == "function") return B.aI; s = Object.getPrototypeOf(a); if (s == null) return B.a9; if (s === Object.prototype) return B.a9; if (typeof q == "function") { o = $.oS; if (o == null) o = $.oS = v.getIsolateTag("_$dart_js"); Object.defineProperty(q, o, { value: B.r, enumerable: false, writable: true, configurable: true }); return B.r; } return B.r; }, nV(a, b) { if (a < 0 || a > 4294967295) throw A.d(A.bx(a, 0, 4294967295, "length", null)); return J.ut(new Array(a), b); }, pP(a, b) { if (a < 0) throw A.d(A.c8("Length must be a non-negative integer: " + a, null)); return A.m(new Array(a), b.m("D<0>")); }, cQ(a, b) { if (a < 0) throw A.d(A.c8("Length must be a non-negative integer: " + a, null)); return A.m(new Array(a), b.m("D<0>")); }, ut(a, b) { var s = A.m(a, b.m("D<0>")); s.$flags = 1; return s; }, uu(a, b) { var s = t.hO; return J.tL(s.a(a), s.a(b)); }, qP(a) { if (a < 256) switch (a) { case 9: case 10: case 11: case 12: case 13: case 32: case 133: case 160: return !0; default: return !1; } switch (a) { 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 !0; default: return !1; } }, qQ(a, b) { var s, r; for (s = a.length; b < s;) { r = a.charCodeAt(b); if (r !== 32 && r !== 13 && !J.qP(r)) break; ++b; } return b; }, qR(a, b) { var s, r, q; for (s = a.length; b > 0; b = r) { r = b - 1; if (!(r < s)) return A.c(a, r); q = a.charCodeAt(r); if (q !== 32 && q !== 13 && !J.qP(q)) break; } return b; }, cB(a) { if (typeof a == "number") { if (Math.floor(a) == a) return J.fT.prototype; return J.kj.prototype; } if (typeof a == "string") return J.ch.prototype; if (a == null) return J.fU.prototype; if (typeof a == "boolean") return J.fS.prototype; if (Array.isArray(a)) return J.D.prototype; if (typeof a != "object") { if (typeof a == "function") return J.b4.prototype; if (typeof a == "symbol") return J.dH.prototype; if (typeof a == "bigint") return J.dG.prototype; return a; } if (a instanceof A.K) return a; return J.pq(a); }, by(a) { if (typeof a == "string") return J.ch.prototype; if (a == null) return a; if (Array.isArray(a)) return J.D.prototype; if (typeof a != "object") { if (typeof a == "function") return J.b4.prototype; if (typeof a == "symbol") return J.dH.prototype; if (typeof a == "bigint") return J.dG.prototype; return a; } if (a instanceof A.K) return a; return J.pq(a); }, j9(a) { if (a == null) return a; if (Array.isArray(a)) return J.D.prototype; if (typeof a != "object") { if (typeof a == "function") return J.b4.prototype; if (typeof a == "symbol") return J.dH.prototype; if (typeof a == "bigint") return J.dG.prototype; return a; } if (a instanceof A.K) return a; return J.pq(a); }, wM(a) { if (typeof a == "number") return J.dF.prototype; if (typeof a == "string") return J.ch.prototype; if (a == null) return a; if (!(a instanceof A.K)) return J.cu.prototype; return a; }, wN(a) { if (typeof a == "string") return J.ch.prototype; if (a == null) return a; if (!(a instanceof A.K)) return J.cu.prototype; return a; }, nc(a) { if (a == null) return a; if (typeof a != "object") { if (typeof a == "function") return J.b4.prototype; if (typeof a == "symbol") return J.dH.prototype; if (typeof a == "bigint") return J.dG.prototype; return a; } if (a instanceof A.K) return a; return J.pq(a); }, rZ(a) { if (a == null) return a; if (!(a instanceof A.K)) return J.cu.prototype; return a; }, b(a, b) { if (a == null) return b == null; if (typeof a != "object") return b != null && a === b; return J.cB(a).P(a, b); }, qy(a, b) { if (typeof b === "number") if (Array.isArray(a) || typeof a == "string" || A.wY(a, a[v.dispatchPropertyName])) if (b >>> 0 === b && b < a.length) return a[b]; return J.by(a).M(a, b); }, tJ(a, b, c) { return J.j9(a).K(a, b, c); }, tK(a, b) { return J.j9(a).bQ(a, b); }, tL(a, b) { return J.wM(a).I(a, b); }, ne(a, b) { return J.j9(a).a_(a, b); }, tM(a, b) { return J.nc(a).ae(a, b); }, tN(a) { return J.rZ(a).gV(a); }, dh(a) { return J.cB(a).gT(a); }, pH(a) { return J.by(a).gX(a); }, tO(a) { return J.by(a).gaI(a); }, aM(a) { return J.j9(a).ga3(a); }, tP(a) { return J.rZ(a).gb0(a); }, qz(a) { return J.j9(a).gO(a); }, bo(a) { return J.by(a).gG(a); }, tQ(a) { return J.cB(a).gac(a); }, pI(a) { return J.nc(a).gW(a); }, tR(a) { return J.nc(a).S(a); }, pJ(a, b) { return J.j9(a).aE(a, b); }, nf(a) { return J.wN(a).jA(a); }, c4(a) { return J.cB(a).H(a); }, dD: function dD() { }, fS: function fS() { }, fU: function fU() { }, a: function a() { }, cj: function cj() { }, l_: function l_() { }, cu: function cu() { }, b4: function b4() { }, dG: function dG() { }, dH: function dH() { }, D: function D(a) { this.$ti = a; }, nW: function nW(a) { this.$ti = a; }, R: function R(a, b, c) { var _ = this; _.a = a; _.b = b; _.c = 0; _.d = null; _.$ti = c; }, dF: function dF() { }, fT: function fT() { }, kj: function kj() { }, ch: function ch() { } }, A = { pQ: function pQ() { }, qI(a, b, c) { if (b.m("w<0>").b(a)) return new A.iJ(a, b.m("@<0>").aa(c).m("iJ<1,2>")); return new A.cH(a, b.m("@<0>").aa(c).m("cH<1,2>")); }, uv(a) { return new A.ci("Field '" + a + "' has not been initialized."); }, nC(a) { return new A.jL(a); }, oi(a, b) { a = a + b & 536870911; a = a + ((a & 524287) << 10) & 536870911; return a ^ a >>> 6; }, v5(a) { a = a + ((a & 67108863) << 3) & 536870911; a ^= a >>> 11; return a + ((a & 16383) << 15) & 536870911; }, rT(a, b, c) { return a; }, qo(a) { var s, r; for (s = $.bb.length, r = 0; r < s; ++r) if (a === $.bb[r]) return !0; return !1; }, og(a, b, c, d) { A.bi(b, "start"); if (c != null) { A.bi(c, "end"); if (b > c) A.V(A.bx(b, 0, c, "start", null)); } return new A.i7(a, b, c, d.m("i7<0>")); }, uB(a, b, c, d) { if (t.he.b(a)) return new A.f3(a, b, c.m("@<0>").aa(d).m("f3<1,2>")); return new A.cW(a, b, c.m("@<0>").aa(d).m("cW<1,2>")); }, rd(a, b, c) { var s = "count"; if (t.he.b(a)) { A.nz(b, s, t.S); A.bi(b, s); return new A.ds(a, b, c.m("ds<0>")); } A.nz(b, s, t.S); A.bi(b, s); return new A.bW(a, b, c.m("bW<0>")); }, bg() { return new A.d4("No element"); }, qO() { return new A.d4("Too few elements"); }, cv: function cv() { }, ev: function ev(a, b) { this.a = a; this.$ti = b; }, cH: function cH(a, b) { this.a = a; this.$ti = b; }, iJ: function iJ(a, b) { this.a = a; this.$ti = b; }, iF: function iF() { }, bs: function bs(a, b) { this.a = a; this.$ti = b; }, ci: function ci(a) { this.a = a; }, jL: function jL(a) { this.a = a; }, oe: function oe() { }, w: function w() { }, Y: function Y() { }, i7: function i7(a, b, c, d) { var _ = this; _.a = a; _.b = b; _.c = c; _.$ti = d; }, cV: function cV(a, b, c) { var _ = this; _.a = a; _.b = b; _.c = 0; _.d = null; _.$ti = c; }, cW: function cW(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, f3: function f3(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, hc: function hc(a, b, c) { var _ = this; _.a = null; _.b = a; _.c = b; _.$ti = c; }, N: function N(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, ix: function ix(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, iy: function iy(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, fd: function fd(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, fe: function fe(a, b, c, d) { var _ = this; _.a = a; _.b = b; _.c = c; _.d = null; _.$ti = d; }, bW: function bW(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, ds: function ds(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, hS: function hS(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, hT: function hT(a, b, c) { this.a = a; this.b = b; this.$ti = c; }, hU: function hU(a, b, c) { var _ = this; _.a = a; _.b = b; _.c = !1; _.$ti = c; }, f6: function f6(a) { this.$ti = a; }, f7: function f7(a) { this.$ti = a; }, am: function am(a, b) { this.a = a; this.$ti = b; }, iz: function iz(a, b) { this.a = a; this.$ti = b; }, aF: function aF() { }, d9: function d9() { }, e0: function e0() { }, bU: function bU(a, b) { this.a = a; this.$ti = b; }, j6: function j6() { }, td(a) { var s = v.mangledGlobalNames[a]; if (s != null) return s; return "minified:" + a; }, wY(a, b) { var s; if (b != null) { s = b.x; if (s != null) return s; } return t.Eh.b(a); }, L(a) { var s; if (typeof a == "string") return a; if (typeof a == "number") { if (a !== 0) return "" + a; } else if (!0 === a) return "true"; else if (!1 === a) return "false"; else if (a == null) return "null"; s = J.c4(a); return s; }, d1(a) { var s, r = $.r5; if (r == null) r = $.r5 = Symbol("identityHashCode"); s = a[r]; if (s == null) { s = Math.random() * 0x3fffffff | 0; a[r] = s; } return s; }, ob(a) { return A.uS(a); }, uS(a) { var s, r, q, p; if (a instanceof A.K) return A.aA(A.bm(a), null); s = J.cB(a); if (s === B.aH || s === B.aJ || t.qF.b(a)) { r = B.R(a); if (r !== "Object" && r !== "") return r; q = a.constructor; if (typeof q == "function") { p = q.name; if (typeof p == "string" && p !== "Object" && p !== "") return p; } } return A.aA(A.bm(a), null); }, uU(a) { if (typeof a == "number" || A.p6(a)) return J.c4(a); if (typeof a == "string") return JSON.stringify(a); if (a instanceof A.cc) return a.H(0); return "Instance of '" + A.ob(a) + "'"; }, r4(a) { var s, r, q, p, o = a.length; if (o <= 500) return String.fromCharCode.apply(null, a); for (s = "", r = 0; r < o; r = q) { q = r + 500; p = q < o ? q : o; s += String.fromCharCode.apply(null, a.slice(r, p)); } return s; }, uW(a) { var s, r, q, p = A.m([], t.X); for (s = a.length, r = 0; r < a.length; a.length === s || (0, A.O)(a), ++r) { q = a[r]; if (!A.n9(q)) throw A.d(A.e7(q)); if (q <= 65535) B.a.J(p, q); else if (q <= 1114111) { B.a.J(p, 55296 + (B.b.aX(q - 65536, 10) & 1023)); B.a.J(p, 56320 + (q & 1023)); } else throw A.d(A.e7(q)); } return A.r4(p); }, uV(a) { var s, r, q; for (s = a.length, r = 0; r < s; ++r) { q = a[r]; if (!A.n9(q)) throw A.d(A.e7(q)); if (q < 0) throw A.d(A.e7(q)); if (q > 65535) return A.uW(a); } return A.r4(a); }, al(a) { var s; if (0 <= a) { if (a <= 65535) return String.fromCharCode(a); if (a <= 1114111) { s = a - 65536; return String.fromCharCode((B.b.aX(s, 10) | 55296) >>> 0, s & 1023 | 56320); } } throw A.d(A.bx(a, 0, 1114111, null, null)); }, uT(a) { var s = a.$thrownJsError; if (s == null) return null; return A.cC(s); }, uX(a, b) { var s; if (a.$thrownJsError == null) { s = A.d(a); a.$thrownJsError = s; s.stack = ""; } }, t0(a) { throw A.d(A.e7(a)); }, c(a, b) { if (a == null) J.bo(a); throw A.d(A.pi(a, b)); }, pi(a, b) { var s, r = "index"; if (!A.n9(b)) return new A.bC(!0, b, r, null); s = A.ac(J.bo(a)); if (b < 0 || b >= s) return A.a6(b, s, a, null, r); return A.l8(b, r); }, e7(a) { return new A.bC(!0, a, null, null); }, d(a) { return A.t2(new Error(), a); }, t2(a, b) { var s; if (b == null) b = new A.bY(); a.dartException = b; s = A.xb; if ("defineProperty" in Object) { Object.defineProperty(a, "message", { get: s }); a.name = ""; } else a.toString = s; return a; }, xb() { return J.c4(this.dartException); }, V(a) { throw A.d(a); }, pA(a, b) { throw A.t2(b, a); }, a1(a, b, c) { var s; if (b == null) b = 0; if (c == null) c = 0; s = Error(); A.pA(A.vW(a, b, c), s); }, vW(a, b, c) { var s, r, q, p, o, n, m, l, k; if (typeof b == "string") s = b; else { r = "[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64".split(";"); q = r.length; p = b; if (p > q) { c = p / q | 0; p %= q; } s = r[p]; } o = typeof c == "string" ? c : "modify;remove from;add to".split(";")[c]; n = t.k4.b(a) ? "list" : "ByteData"; m = a.$flags | 0; l = "a "; if ((m & 4) !== 0) k = "constant "; else if ((m & 2) !== 0) { k = "unmodifiable "; l = "an "; } else k = (m & 1) !== 0 ? "fixed-length " : ""; return new A.ii("'" + s + "': Cannot " + o + " " + l + k + n); }, O(a) { throw A.d(A.an(a)); }, bZ(a) { var s, r, q, p, o, n; a = A.t7(a.replace(String({}), "$receiver$")); s = a.match(/\\\$[a-zA-Z]+\\\$/g); if (s == null) s = A.m([], t.s); r = s.indexOf("\\$arguments\\$"); q = s.indexOf("\\$argumentsExpr\\$"); p = s.indexOf("\\$expr\\$"); o = s.indexOf("\\$method\\$"); n = s.indexOf("\\$receiver\\$"); return new A.om(a.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])*)"), r, q, p, o, n); }, on(a) { return function ($expr$) { var $argumentsExpr$ = "$arguments$"; try { $expr$.$method$($argumentsExpr$); } catch (s) { return s.message; } }(a); }, rh(a) { return function ($expr$) { try { $expr$.$method$; } catch (s) { return s.message; } }(a); }, pR(a, b) { var s = b == null, r = s ? null : b.method; return new A.kk(a, r, s ? null : b.receiver); }, k(a) { if (a == null) return new A.o4(a); if (typeof a !== "object") return a; if ("dartException" in a) return A.dg(a, a.dartException); return A.wy(a); }, dg(a, b) { if (t.yt.b(b)) if (b.$thrownJsError == null) b.$thrownJsError = a; return b; }, wy(a) { var s, r, q, p, o, n, m, l, k, j, i, h, g; if (!("message" in a)) return a; s = a.message; if ("number" in a && typeof a.number == "number") { r = a.number; q = r & 65535; if ((B.b.aX(r, 16) & 8191) === 10) switch (q) { case 438: return A.dg(a, A.pR(A.L(s) + " (Error " + q + ")", null)); case 445: case 5007: A.L(s); return A.dg(a, new A.hq()); } } if (a instanceof TypeError) { p = $.tv(); o = $.tw(); n = $.tx(); m = $.ty(); l = $.tB(); k = $.tC(); j = $.tA(); $.tz(); i = $.tE(); h = $.tD(); g = p.aK(s); if (g != null) return A.dg(a, A.pR(A.a8(s), g)); else { g = o.aK(s); if (g != null) { g.method = "call"; return A.dg(a, A.pR(A.a8(s), g)); } else if (n.aK(s) != null || m.aK(s) != null || l.aK(s) != null || k.aK(s) != null || j.aK(s) != null || m.aK(s) != null || i.aK(s) != null || h.aK(s) != null) { A.a8(s); return A.dg(a, new A.hq()); } } return A.dg(a, new A.lM(typeof s == "string" ? s : "")); } if (a instanceof RangeError) { if (typeof s == "string" && s.indexOf("call stack") !== -1) return new A.i3(); s = function (b) { try { return String(b); } catch (f) { } return null; }(a); return A.dg(a, new A.bC(!1, null, null, typeof s == "string" ? s.replace(/^RangeError:\s*/, "") : s)); } if (typeof InternalError == "function" && a instanceof InternalError) if (typeof s == "string" && s === "too much recursion") return new A.i3(); return a; }, cC(a) { var s; if (a == null) return new A.iY(a); s = a.$cachedTrace; if (s != null) return s; s = new A.iY(a); if (typeof a === "object") a.$cachedTrace = s; return s; }, jb(a) { if (a == null) return J.dh(a); if (typeof a == "object") return A.d1(a); return J.dh(a); }, wH(a) { if (typeof a == "number") return B.f.gT(a); if (a instanceof A.mX) return A.d1(a); return A.jb(a); }, rY(a, b) { var s, r, q, p = a.length; for (s = 0; s < p; s = q) { r = s + 1; q = r + 1; b.K(0, a[s], a[r]); } return b; }, w8(a, b, c, d, e, f) { t.Z.a(a); switch (A.ac(b)) { case 0: return a.$0(); case 1: return a.$1(c); case 2: return a.$2(c, d); case 3: return a.$3(c, d, e); case 4: return a.$4(c, d, e, f); } throw A.d(A.qK("Unsupported number of arguments for wrapped closure")); }, e8(a, b) { var s = a.$identity; if (!!s) return s; s = A.wI(a, b); a.$identity = s; return s; }, wI(a, b) { var s; switch (b) { case 0: s = a.$0; break; case 1: s = a.$1; break; case 2: s = a.$2; break; case 3: s = a.$3; break; case 4: s = a.$4; break; default: s = null; } if (s != null) return s.bind(a); return function (c, d, e) { return function (f, g, h, i) { return e(c, d, f, g, h, i); }; }(a, b, A.w8); }, ua(a2) { var s, r, q, p, o, n, m, l, k, j, i = a2.co, h = a2.iS, g = a2.iI, f = a2.nDA, e = a2.aI, d = a2.fs, c = a2.cs, b = d[0], a = c[0], a0 = i[b], a1 = a2.fT; a1.toString; s = h ? Object.create(new A.lr().constructor.prototype) : Object.create(new A.dn(null, null).constructor.prototype); s.$initialize = s.constructor; r = h ? function static_tear_off() { this.$initialize(); } : function tear_off(a3, a4) { this.$initialize(a3, a4); }; s.constructor = r; r.prototype = s; s.$_name = b; s.$_target = a0; q = !h; if (q) p = A.qJ(b, a0, g, f); else { s.$static_name = b; p = a0; } s.$S = A.u6(a1, h, g); s[a] = p; for (o = p, n = 1; n < d.length; ++n) { m = d[n]; if (typeof m == "string") { l = i[m]; k = m; m = l; } else k = ""; j = c[n]; if (j != null) { if (q) m = A.qJ(k, m, g, f); s[j] = m; } if (n === e) o = m; } s.$C = o; s.$R = a2.rC; s.$D = a2.dV; return r; }, u6(a, b, c) { if (typeof a == "number") return a; if (typeof a == "string") { if (b) throw A.d("Cannot compute signature for static tearoff."); return function (d, e) { return function () { return e(this, d); }; }(a, A.u3); } throw A.d("Error in functionType of tearoff"); }, u7(a, b, c, d) { var s = A.qG; switch (b ? -1 : a) { case 0: return function (e, f) { return function () { return f(this)[e](); }; }(c, s); case 1: return function (e, f) { return function (g) { return f(this)[e](g); }; }(c, s); case 2: return function (e, f) { return function (g, h) { return f(this)[e](g, h); }; }(c, s); case 3: return function (e, f) { return function (g, h, i) { return f(this)[e](g, h, i); }; }(c, s); case 4: return function (e, f) { return function (g, h, i, j) { return f(this)[e](g, h, i, j); }; }(c, s); case 5: return function (e, f) { return function (g, h, i, j, k) { return f(this)[e](g, h, i, j, k); }; }(c, s); default: return function (e, f) { return function () { return e.apply(f(this), arguments); }; }(d, s); } }, qJ(a, b, c, d) { if (c) return A.u9(a, b, d); return A.u7(b.length, d, a, b); }, u8(a, b, c, d) { var s = A.qG, r = A.u4; switch (b ? -1 : a) { case 0: throw A.d(new A.lg("Intercepted function with no arguments.")); case 1: return function (e, f, g) { return function () { return f(this)[e](g(this)); }; }(c, r, s); case 2: return function (e, f, g) { return function (h) { return f(this)[e](g(this), h); }; }(c, r, s); case 3: return function (e, f, g) { return function (h, i) { return f(this)[e](g(this), h, i); }; }(c, r, s); case 4: return function (e, f, g) { return function (h, i, j) { return f(this)[e](g(this), h, i, j); }; }(c, r, s); case 5: return function (e, f, g) { return function (h, i, j, k) { return f(this)[e](g(this), h, i, j, k); }; }(c, r, s); case 6: return function (e, f, g) { return function (h, i, j, k, l) { return f(this)[e](g(this), h, i, j, k, l); }; }(c, r, s); default: return function (e, f, g) { return function () { var q = [g(this)]; Array.prototype.push.apply(q, arguments); return e.apply(f(this), q); }; }(d, r, s); } }, u9(a, b, c) { var s, r; if ($.qE == null) $.qE = A.qD("interceptor"); if ($.qF == null) $.qF = A.qD("receiver"); s = b.length; r = A.u8(s, c, a, b); return r; }, qm(a) { return A.ua(a); }, u3(a, b) { return A.p_(v.typeUniverse, A.bm(a.a), b); }, qG(a) { return a.a; }, u4(a) { return a.b; }, qD(a) { var s, r, q, p = new A.dn("receiver", "interceptor"), o = Object.getOwnPropertyNames(p); o.$flags = 1; s = o; for (o = s.length, r = 0; r < o; ++r) { q = s[r]; if (p[q] === a) return q; } throw A.d(A.c8("Field name " + a + " not found.", null)); }, bK(a) { if (a == null) A.wz("boolean expression must not be null"); return a; }, wz(a) { throw A.d(new A.lV(a)); }, yE(a) { throw A.d(new A.m6(a)); }, wO(a) { return v.getIsolateTag(a); }, yD(a, b, c) { Object.defineProperty(a, b, { value: c, enumerable: false, writable: true, configurable: true }); }, wZ(a) { var s, r, q, p, o, n = A.a8($.t_.$1(a)), m = $.pj[n]; if (m != null) { Object.defineProperty(a, v.dispatchPropertyName, { value: m, enumerable: false, writable: true, configurable: true }); return m.i; } s = $.pv[n]; if (s != null) return s; r = v.interceptorsByTag[n]; if (r == null) { q = A.vR($.rR.$2(a, n)); if (q != null) { m = $.pj[q]; if (m != null) { Object.defineProperty(a, v.dispatchPropertyName, { value: m, enumerable: false, writable: true, configurable: true }); return m.i; } s = $.pv[q]; if (s != null) return s; r = v.interceptorsByTag[q]; n = q; } } if (r == null) return null; s = r.prototype; p = n[0]; if (p === "!") { m = A.pw(s); $.pj[n] = m; Object.defineProperty(a, v.dispatchPropertyName, { value: m, enumerable: false, writable: true, configurable: true }); return m.i; } if (p === "~") { $.pv[n] = s; return s; } if (p === "-") { o = A.pw(s); Object.defineProperty(Object.getPrototypeOf(a), v.dispatchPropertyName, { value: o, enumerable: false, writable: true, configurable: true }); return o.i; } if (p === "+") return A.t5(a, s); if (p === "*") throw A.d(A.ri(n)); if (v.leafTags[n] === true) { o = A.pw(s); Object.defineProperty(Object.getPrototypeOf(a), v.dispatchPropertyName, { value: o, enumerable: false, writable: true, configurable: true }); return o.i; } else return A.t5(a, s); }, t5(a, b) { var s = Object.getPrototypeOf(a); Object.defineProperty(s, v.dispatchPropertyName, { value: J.qp(b, s, null, null), enumerable: false, writable: true, configurable: true }); return b; }, pw(a) { return J.qp(a, !1, null, !!a.$iH); }, x0(a, b, c) { var s = b.prototype; if (v.leafTags[a] === true) return A.pw(s); else return J.qp(s, c, null, null); }, wU() { if (!0 === $.qn) return; $.qn = !0; A.wV(); }, wV() { var s, r, q, p, o, n, m, l; $.pj = Object.create(null); $.pv = Object.create(null); A.wT(); s = v.interceptorsByTag; r = Object.getOwnPropertyNames(s); if (typeof window != "undefined") { window; q = function () { }; for (p = 0; p < r.length; ++p) { o = r[p]; n = $.t6.$1(o); if (n != null) { m = A.x0(o, s[o], n); if (m != null) { Object.defineProperty(n, v.dispatchPropertyName, { value: m, enumerable: false, writable: true, configurable: true }); q.prototype = n; } } } } for (p = 0; p < r.length; ++p) { o = r[p]; if (/^[A-Za-z_]/.test(o)) { l = s[o]; s["!" + o] = l; s["~" + o] = l; s["-" + o] = l; s["+" + o] = l; s["*" + o] = l; } } }, wT() { var s, r, q, p, o, n, m = B.aA(); m = A.e6(B.aB, A.e6(B.aC, A.e6(B.S, A.e6(B.S, A.e6(B.aD, A.e6(B.aE, A.e6(B.aF(B.R), m))))))); if (typeof dartNativeDispatchHooksTransformer != "undefined") { s = dartNativeDispatchHooksTransformer; if (typeof s == "function") s = [s]; if (Array.isArray(s)) for (r = 0; r < s.length; ++r) { q = s[r]; if (typeof q == "function") m = q(m) || m; } } p = m.getTag; o = m.getUnknownTag; n = m.prototypeForTag; $.t_ = new A.ps(p); $.rR = new A.pt(o); $.t6 = new A.pu(n); }, e6(a, b) { return a(b) || b; }, wK(a, b) { var s = b.length, r = v.rttc["" + s + ";" + a]; if (r == null) return null; if (s === 0) return r; if (s === r.length) return r.apply(null, b); return r(b); }, x8(a, b, c) { var s = a.indexOf(b, c); return s >= 0; }, wL(a) { if (a.indexOf("$", 0) >= 0) return a.replace(/\$/g, "$$$$"); return a; }, t7(a) { if (/[[\]{}()*+?.\\^$|]/.test(a)) return a.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); return a; }, cD(a, b, c) { var s = A.x9(a, b, c); return s; }, x9(a, b, c) { var s, r, q; if (b === "") { if (a === "") return c; s = a.length; r = "" + c; for (q = 0; q < s; ++q) r = r + a[q] + c; return r.charCodeAt(0) == 0 ? r : r; } if (a.indexOf(b, 0) < 0) return a; if (a.length < 500 || c.indexOf("$", 0) >= 0) return a.split(b).join(c); return a.replace(new RegExp(A.t7(b), "g"), A.wL(c)); }, ta(a, b, c, d) { var s = a.indexOf(b, d); if (s < 0) return a; return A.tb(a, s, s + b.length, c); }, tb(a, b, c, d) { return a.substring(0, b) + d + a.substring(c); }, eD: function eD() { }, b1: function b1(a, b) { this.a = a; this.$ti = b; }, om: function om(a, b, c, d, e, f) { var _ = this; _.a = a; _.b = b; _.c = c; _.d = d; _.e = e; _.f = f; }, hq: function hq() { }, kk: function kk(a, b, c) { this.a = a; this.b = b; this.c = c; }, lM: function lM(a) { this.a = a; }, o4: function o4(a) { this.a = a; }, iY: function iY(a) { this.a = a; this.b = n