Skip to content

Instantly share code, notes, and snippets.

@Neos21
Created August 1, 2022 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neos21/ee15e5f65707e05c6d880202f0928e3c to your computer and use it in GitHub Desktop.
Save Neos21/ee15e5f65707e05c6d880202f0928e3c to your computer and use it in GitHub Desktop.
StackBlitz
This file has been truncated, but you can view the full file.
#!/usr/bin/env node
/**
* @license Copyright 2021 Stackblitz, Inc. All Rights Reserved.
* Portions of this software are patent pending in USA and EU jurisdictions.
* More info available at https://stackblitz.com/terms-of-service
*/
! function(e, t) {
if ("object" == typeof exports && "object" == typeof module) module.exports = t(function() {
try {
return require("@blitz/native")
} catch (e) {}
}(), function() {
try {
return require("@blitz/git")
} catch (e) {}
}());
else if ("function" == typeof define && define.amd) define("@blitz/jsh", ["@blitz/native", "@blitz/git"], t);
else {
var r = "object" == typeof exports ? t(function() {
try {
return require("@blitz/native")
} catch (e) {}
}(), function() {
try {
return require("@blitz/git")
} catch (e) {}
}()) : t(e["@blitz/native"], e["@blitz/git"]);
for (var n in r)("object" == typeof exports ? exports : e)[n] = r[n]
}
}(globalThis, (function(e, t) {
return function(e) {
var t = {};
function r(n) {
if (t[n]) return t[n].exports;
var i = t[n] = {
i: n,
l: !1,
exports: {}
};
return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports
}
return r.m = e, r.c = t, r.d = function(e, t, n) {
r.o(e, t) || Object.defineProperty(e, t, {
enumerable: !0,
get: n
})
}, r.r = function(e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(e, "__esModule", {
value: !0
})
}, r.t = function(e, t) {
if (1 & t && (e = r(e)), 8 & t) return e;
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
var n = Object.create(null);
if (r.r(n), Object.defineProperty(n, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e)
for (var i in e) r.d(n, i, function(t) {
return e[t]
}.bind(null, i));
return n
}, r.n = function(e) {
var t = e && e.__esModule ? function() {
return e["default"]
} : function() {
return e
};
return r.d(t, "a", t), t
}, r.o = function(e, t) {
return {}.hasOwnProperty.call(e, t)
}, r.p = "", r(r.s = 310)
}([function(e, t, r) {
"use strict";
r.r(t), r.d(t, "__extends", (function() {
return i
})), r.d(t, "__assign", (function() {
return o
})), r.d(t, "__rest", (function() {
return a
})), r.d(t, "__decorate", (function() {
return s
})), r.d(t, "__param", (function() {
return c
})), r.d(t, "__metadata", (function() {
return l
})), r.d(t, "__awaiter", (function() {
return u
})), r.d(t, "__generator", (function() {
return p
})), r.d(t, "__createBinding", (function() {
return d
})), r.d(t, "__exportStar", (function() {
return f
})), r.d(t, "__values", (function() {
return h
})), r.d(t, "__read", (function() {
return $
})), r.d(t, "__spread", (function() {
return m
})), r.d(t, "__spreadArrays", (function() {
return g
})), r.d(t, "__spreadArray", (function() {
return b
})), r.d(t, "__await", (function() {
return v
})), r.d(t, "__asyncGenerator", (function() {
return y
})), r.d(t, "__asyncDelegator", (function() {
return k
})), r.d(t, "__asyncValues", (function() {
return w
})), r.d(t, "__makeTemplateObject", (function() {
return _
})), r.d(t, "__importStar", (function() {
return E
})), r.d(t, "__importDefault", (function() {
return S
})), r.d(t, "__classPrivateFieldGet", (function() {
return D
})), r.d(t, "__classPrivateFieldSet", (function() {
return P
}));
var n = function(e, t) {
return (n = Object.setPrototypeOf || {
__proto__: []
}
instanceof Array && function(e, t) {
e.__proto__ = t
} || function(e, t) {
for (var r in t)({}).hasOwnProperty.call(t, r) && (e[r] = t[r])
})(e, t)
};
function i(e, t) {
if ("function" != typeof t && null !== t) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
function r() {
this.constructor = e
}
n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r)
}
var o = function() {
return (o = Object.assign || function(e) {
for (var t, r = 1, n = arguments.length; r < n; r++)
for (var i in t = arguments[r])({}).hasOwnProperty.call(t, i) && (e[i] = t[i]);
return e
}).apply(this, arguments)
};
function a(e, t) {
var r = {};
for (var n in e)({}).hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
if (null != e && "function" == typeof Object.getOwnPropertySymbols) {
var i = 0;
for (n = Object.getOwnPropertySymbols(e); i < n.length; i++) t.indexOf(n[i]) < 0 && {}.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]])
}
return r
}
function s(e, t, r, n) {
var i, o = arguments.length,
a = o < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, r) : n;
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(e, t, r, n);
else
for (var s = e.length - 1; s >= 0; s--)(i = e[s]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, r, a) : i(t, r)) || a);
return o > 3 && a && Object.defineProperty(t, r, a), a
}
function c(e, t) {
return function(r, n) {
t(r, n, e)
}
}
function l(e, t) {
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t)
}
function u(e, t, r, n) {
return new(r || (r = Promise))((function(i, o) {
function a(e) {
try {
c(n.next(e))
} catch (e) {
o(e)
}
}
function s(e) {
try {
c(n["throw"](e))
} catch (e) {
o(e)
}
}
function c(e) {
var t;
e.done ? i(e.value) : (t = e.value, t instanceof r ? t : new r((function(e) {
e(t)
}))).then(a, s)
}
c((n = n.apply(e, t || [])).next())
}))
}
function p(e, t) {
var r, n, i, o, a = {
label: 0,
sent() {
if (1 & i[0]) throw i[1];
return i[1]
},
trys: [],
ops: []
};
return o = {
next: s(0),
throw: s(1),
return: s(2)
}, "function" == typeof Symbol && (o[Symbol.iterator] = function() {
return this
}), o;
function s(o) {
return function(s) {
return function(o) {
if (r) throw new TypeError("Generator is already executing.");
for (; a;) try {
if (r = 1, n && (i = 2 & o[0] ? n["return"] : o[0] ? n["throw"] || ((i = n["return"]) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i;
switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) {
case 0:
case 1:
i = o;
break;
case 4:
return a.label++, {
value: o[1],
done: !1
};
case 5:
a.label++, n = o[1], o = [0];
continue;
case 7:
o = a.ops.pop(), a.trys.pop();
continue;
default:
if (!((i = (i = a.trys).length > 0 && i[i.length - 1]) || 6 !== o[0] && 2 !== o[0])) {
a = 0;
continue
}
if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) {
a.label = o[1];
break
}
if (6 === o[0] && a.label < i[1]) {
a.label = i[1], i = o;
break
}
if (i && a.label < i[2]) {
a.label = i[2], a.ops.push(o);
break
}
i[2] && a.ops.pop(), a.trys.pop();
continue
}
o = t.call(e, a)
} catch (e) {
o = [6, e], n = 0
} finally {
r = i = 0
}
if (5 & o[0]) throw o[1];
return {
value: o[0] ? o[1] : void 0,
done: !0
}
}([o, s])
}
}
}
var d = Object.create ? function(e, t, r, n) {
void 0 === n && (n = r), Object.defineProperty(e, n, {
enumerable: !0,
get() {
return t[r]
}
})
} : function(e, t, r, n) {
void 0 === n && (n = r), e[n] = t[r]
};
function f(e, t) {
for (var r in e) "default" === r || {}.hasOwnProperty.call(t, r) || d(t, e, r)
}
function h(e) {
var t = "function" == typeof Symbol && Symbol.iterator,
r = t && e[t],
n = 0;
if (r) return r.call(e);
if (e && "number" == typeof e.length) return {
next() {
return e && n >= e.length && (e = void 0), {
value: e && e[n++],
done: !e
}
}
};
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
}
function $(e, t) {
var r = "function" == typeof Symbol && e[Symbol.iterator];
if (!r) return e;
var n, i, o = r.call(e),
a = [];
try {
for (;
(void 0 === t || t-- > 0) && !(n = o.next()).done;) a.push(n.value)
} catch (e) {
i = {
error: e
}
} finally {
try {
n && !n.done && (r = o["return"]) && r.call(o)
} finally {
if (i) throw i.error
}
}
return a
}
function m() {
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat($(arguments[t]));
return e
}
function g() {
for (var e = 0, t = 0, r = arguments.length; t < r; t++) e += arguments[t].length;
var n = Array(e),
i = 0;
for (t = 0; t < r; t++)
for (var o = arguments[t], a = 0, s = o.length; a < s; a++, i++) n[i] = o[a];
return n
}
function b(e, t, r) {
if (r || 2 === arguments.length)
for (var n, i = 0, o = t.length; i < o; i++) !n && i in t || (n || (n = [].slice.call(t, 0, i)), n[i] = t[i]);
return e.concat(n || [].slice.call(t))
}
function v(e) {
return this instanceof v ? (this.v = e, this) : new v(e)
}
function y(e, t, r) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var n, i = r.apply(e, t || []),
o = [];
return n = {}, a("next"), a("throw"), a("return"), n[Symbol.asyncIterator] = function() {
return this
}, n;
function a(e) {
i[e] && (n[e] = function(t) {
return new Promise((function(r, n) {
o.push([e, t, r, n]) > 1 || s(e, t)
}))
})
}
function s(e, t) {
try {
(r = i[e](t)).value instanceof v ? Promise.resolve(r.value.v).then(c, l) : u(o[0][2], r)
} catch (e) {
u(o[0][3], e)
}
var r
}
function c(e) {
s("next", e)
}
function l(e) {
s("throw", e)
}
function u(e, t) {
e(t), o.shift(), o.length && s(o[0][0], o[0][1])
}
}
function k(e) {
var t, r;
return t = {}, n("next"), n("throw", (function(e) {
throw e
})), n("return"), t[Symbol.iterator] = function() {
return this
}, t;
function n(n, i) {
t[n] = e[n] ? function(t) {
return (r = !r) ? {
value: v(e[n](t)),
done: "return" === n
} : i ? i(t) : t
} : i
}
}
function w(e) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var t, r = e[Symbol.asyncIterator];
return r ? r.call(e) : (e = "function" == typeof h ? h(e) : e[Symbol.iterator](), t = {}, n("next"), n("throw"), n("return"), t[Symbol.asyncIterator] = function() {
return this
}, t);
function n(r) {
t[r] = e[r] && function(t) {
return new Promise((function(n, i) {
! function(e, t, r, n) {
Promise.resolve(n).then((function(t) {
e({
value: t,
done: r
})
}), t)
}(n, i, (t = e[r](t)).done, t.value)
}))
}
}
}
function _(e, t) {
return Object.defineProperty ? Object.defineProperty(e, "raw", {
value: t
}) : e.raw = t, e
}
var x = Object.create ? function(e, t) {
Object.defineProperty(e, "default", {
enumerable: !0,
value: t
})
} : function(e, t) {
e["default"] = t
};
function E(e) {
if (e && e.__esModule) return e;
var t = {};
if (null != e)
for (var r in e) "default" !== r && {}.hasOwnProperty.call(e, r) && d(t, e, r);
return x(t, e), t
}
function S(e) {
return e && e.__esModule ? e : {
default: e
}
}
function D(e, t, r, n) {
if ("a" === r && !n) throw new TypeError("Private accessor was defined without a getter");
if ("function" == typeof t ? e !== t || !n : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
return "m" === r ? n : "a" === r ? n.call(e) : n ? n.value : t.get(e)
}
function P(e, t, r, n, i) {
if ("m" === n) throw new TypeError("Private method is not writable");
if ("a" === n && !i) throw new TypeError("Private accessor was defined without a setter");
if ("function" == typeof t ? e !== t || !i : !t.has(e)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
return "a" === n ? i.call(e, r) : i ? i.value = r : t.set(e, r), r
}
}, function(e, t) {
e.exports = require("path")
}, function(e, t, r) {
Object.defineProperty(t, "__esModule", {
value: !0
}), t.Option = void 0;
var n = r(156);
Object.defineProperty(t, "Option", {
enumerable: !0,
get() {
return n.Option
}
})
}, function(e, t, r) {
Object.defineProperty(t, "__esModule", {
value: !0
}), t.commandRegistry = t.CommandLoader = t.createDynamicCommandLoader = t.findNearest = t.registerAlias = t.aliases = t.binaries = t.builtins = t.ExecuteError = t.PipeOperator = t.OrOperator = t.AndOperator = t.TimeCommand = t.FailureCommand = t.EmptyCommand = t.Command = t.Executable = void 0;
var n = r(8);
Object.defineProperty(t, "Executable", {
enumerable: !0,
get() {
return n.Executable
}
}), Object.defineProperty(t, "Command", {
enumerable: !0,
get() {
return n.Command
}
}), Object.defineProperty(t, "EmptyCommand", {
enumerable: !0,
get() {
return n.EmptyCommand
}
}), Object.defineProperty(t, "FailureCommand", {
enumerable: !0,
get() {
return n.FailureCommand
}
});
var i = r(72);
Object.defineProperty(t, "TimeCommand", {
enumerable: !0,
get() {
return i.TimeCommand
}
});
var o = r(73);
Object.defineProperty(t, "AndOperator", {
enumerable: !0,
get() {
return o.AndOperator
}
}), Object.defineProperty(t, "OrOperator", {
enumerable: !0,
get() {
return o.OrOperator
}
}), Object.defineProperty(t, "PipeOperator", {
enumerable: !0,
get() {
return o.PipeOperator
}
});
var a = r(9);
Object.defineProperty(t, "ExecuteError", {
enumerable: !0,
get() {
return a.ExecuteError
}
});
var s = r(36);
Object.defineProperty(t, "builtins", {
enumerable: !0,
get() {
return s.builtins
}
}), Object.defineProperty(t, "binaries", {
enumerable: !0,
get() {
return s.binaries
}
}), Object.defineProperty(t, "aliases", {
enumerable: !0,
get() {
return s.aliases
}
}), Object.defineProperty(t, "registerAlias", {
enumerable: !0,
get() {
return s.registerAlias
}
}), Object.defineProperty(t, "findNearest", {
enumerable: !0,
get() {
return s.findNearest
}
}), Object.defineProperty(t, "createDynamicCommandLoader", {
enumerable: !0,
get() {
return s.createDynamicCommandLoader
}
}), Object.defineProperty(t, "CommandLoader", {
enumerable: !0,
get() {
return s.CommandLoader
}
});
var c = r(37);
Object.defineProperty(t, "commandRegistry", {
enumerable: !0,
get() {
return c.commandRegistry
}
})
}, function(e, t) {
e.exports = require("fs")
}, function(e, t, r) {
"use strict";
r.r(t), r.d(t, "Errors", (function() {
return mt
})), r.d(t, "FileSystem", (function() {
return Ft
})), r.d(t, "GitIgnoreManager", (function() {
return Ct
})), r.d(t, "GitIndexManager", (function() {
return re
})), r.d(t, "GitWalkSymbol", (function() {
return se
})), r.d(t, "ReadonlyGitIndex", (function() {
return Z
})), r.d(t, "STAGE", (function() {
return ce
})), r.d(t, "TREE", (function() {
return St
})), r.d(t, "WORKDIR", (function() {
return Pt
})), r.d(t, "add", (function() {
return jt
})), r.d(t, "addNote", (function() {
return Gt
})), r.d(t, "addRemote", (function() {
return Xt
})), r.d(t, "annotatedTag", (function() {
return Jt
})), r.d(t, "branch", (function() {
return Zt
})), r.d(t, "checkout", (function() {
return ir
})), r.d(t, "clone", (function() {
return Ar
})), r.d(t, "commit", (function() {
return Ir
})), r.d(t, "compareStats", (function() {
return Y
})), r.d(t, "currentBranch", (function() {
return jr
})), r.d(t, "deleteBranch", (function() {
return Nr
})), r.d(t, "deleteRef", (function() {
return Tr
})), r.d(t, "deleteRemote", (function() {
return Lr
})), r.d(t, "deleteTag", (function() {
return Mr
})), r.d(t, "expandOid", (function() {
return Wr
})), r.d(t, "expandRef", (function() {
return zr
})), r.d(t, "fastForward", (function() {
return Xr
})), r.d(t, "fetch", (function() {
return Jr
})), r.d(t, "findMergeBase", (function() {
return Zr
})), r.d(t, "findRoot", (function() {
return Qr
})), r.d(t, "getConfig", (function() {
return en
})), r.d(t, "getConfigAll", (function() {
return tn
})), r.d(t, "getRemoteInfo", (function() {
return rn
})), r.d(t, "getRemoteInfo2", (function() {
return on
})), r.d(t, "hashBlob", (function() {
return an
})), r.d(t, "indexPack", (function() {
return sn
})), r.d(t, "init", (function() {
return cn
})), r.d(t, "isDescendent", (function() {
return un
})), r.d(t, "isIgnored", (function() {
return pn
})), r.d(t, "listBranches", (function() {
return dn
})), r.d(t, "listFiles", (function() {
return $n
})), r.d(t, "listNotes", (function() {
return mn
})), r.d(t, "listRemotes", (function() {
return gn
})), r.d(t, "listServerRefs", (function() {
return bn
})), r.d(t, "listTags", (function() {
return vn
})), r.d(t, "log", (function() {
return Sn
})), r.d(t, "merge", (function() {
return Dn
})), r.d(t, "packObjects", (function() {
return On
})), r.d(t, "pull", (function() {
return Fn
})), r.d(t, "push", (function() {
return Bn
})), r.d(t, "readBlob", (function() {
return jn
})), r.d(t, "readCommit", (function() {
return Nn
})), r.d(t, "readNote", (function() {
return Tn
})), r.d(t, "readObject", (function() {
return Ln
})), r.d(t, "readTag", (function() {
return Mn
})), r.d(t, "readTree", (function() {
return Wn
})), r.d(t, "remove", (function() {
return zn
})), r.d(t, "removeNote", (function() {
return Un
})), r.d(t, "renameBranch", (function() {
return Vn
})), r.d(t, "resetIndex", (function() {
return Hn
})), r.d(t, "resolveRef", (function() {
return Gn
})), r.d(t, "setConfig", (function() {
return Kn
})), r.d(t, "status", (function() {
return Xn
})), r.d(t, "statusMatrix", (function() {
return Zn
})), r.d(t, "tag", (function() {
return Yn
})), r.d(t, "updateIndex", (function() {
return Qn
})), r.d(t, "version", (function() {
return ei
})), r.d(t, "walk", (function() {
return ti
})), r.d(t, "writeBlob", (function() {
return ri
})), r.d(t, "writeCommit", (function() {
return ni
})), r.d(t, "writeObject", (function() {
return ii
})), r.d(t, "writeRef", (function() {
return oi
})), r.d(t, "writeTag", (function() {
return ai
})), r.d(t, "writeTree", (function() {
return si
}));
var n = r(45),
i = r.n(n),
o = r(64),
a = r.n(o),
s = r(115),
c = r.n(s),
l = r(46),
u = r.n(l),
p = r(63),
d = r.n(p),
f = r(10),
h = r.n(f),
$ = r(15),
m = r.n($),
g = r(116),
b = r.n(g);
class v extends Error {
constructor(e) {
super(e), this.caller = ""
}
toJSON() {
return {
code: this.code,
data: this.data,
caller: this.caller,
message: this.message,
stack: this.stack
}
}
fromJSON(e) {
const t = new v(e.message);
return t.code = e.code, t.data = e.data, t.caller = e.caller, t.stack = e.stack, t
}
get isIsomorphicGitError() {
return !0
}
}
class y extends v {
constructor(e) {
super(`An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: ${e}`), this.code = this.name = y.code, this.data = {
message: e
}
}
}
y.code = "InternalError";
class k extends v {
constructor(e) {
super(`The filepath "${e}" contains unsafe character sequences`), this.code = this.name = k.code, this.data = {
filepath: e
}
}
}
k.code = "UnsafeFilepathError";
class w {
constructor(e) {
this.buffer = e, this._start = 0
}
eof() {
return this._start >= this.buffer.length
}
tell() {
return this._start
}
seek(e) {
this._start = e
}
slice(e) {
const t = this.buffer.slice(this._start, this._start + e);
return this._start += e, t
}
toString(e, t) {
const r = this.buffer.toString(e, this._start, this._start + t);
return this._start += t, r
}
write(e, t, r) {
const n = this.buffer.write(e, this._start, t, r);
return this._start += t, n
}
copy(e, t, r) {
const n = e.copy(this.buffer, this._start, t, r);
return this._start += n, n
}
readUInt8() {
const e = this.buffer.readUInt8(this._start);
return this._start += 1, e
}
writeUInt8(e) {
const t = this.buffer.writeUInt8(e, this._start);
return this._start += 1, t
}
readUInt16BE() {
const e = this.buffer.readUInt16BE(this._start);
return this._start += 2, e
}
writeUInt16BE(e) {
const t = this.buffer.writeUInt16BE(e, this._start);
return this._start += 2, t
}
readUInt32BE() {
const e = this.buffer.readUInt32BE(this._start);
return this._start += 4, e
}
writeUInt32BE(e) {
const t = this.buffer.writeUInt32BE(e, this._start);
return this._start += 4, t
}
}
class _ {
constructor() {
this._queue = [], this._isDraining = !1
}
async add(e) {
return new Promise(((t, r) => {
this._queue.push({
task: e,
done(e, n) {
e ? r(e) : t(n)
}
}), this._drainQueue()
}))
}
async _drainQueue() {
if (!this._isDraining) {
for (this._isDraining = !0; this._queue.length > 0;) {
const {
task: e,
done: t
} = this._queue.shift();
try {
t(void 0, await e())
} catch (e) {
t(e)
}
}
this._isDraining = !1
}
}
}
function x(e, t) {
return -(e < t) || +(e > t)
}
function E(e, t) {
return x(e.path, t.path)
}
function S(e) {
return e.replace(/\/\.\//g, "/").replace(/\/{2,}/g, "/").replace(/^\/\.$/, "/").replace(/^\.\/$/, ".").replace(/^\.\//, "").replace(/\/\.$/, "").replace(/(.+)\/$/, "$1").replace(/^$/, ".")
}
function D(...e) {
return S(e.map(S).join("/"))
}
function P(e) {
let t = e > 0 ? e >> 12 : 0;
4 !== t && 8 !== t && 10 !== t && 14 !== t && (t = 8);
let r = 511 & e;
return r = 73 & r ? 493 : 420, 8 !== t && (r = 0), (t << 12) + r
}
const C = 2 ** 32;
function O(e, t, r, n) {
if (void 0 !== e && void 0 !== t) return [e, t];
void 0 === r && (r = n.valueOf());
const i = Math.floor(r / 1e3);
return [i, 1e6 * (r - 1e3 * i)]
}
function F(e) {
const [t, r] = O(e.ctimeSeconds, e.ctimeNanoseconds, e.ctimeMs, e.ctime), [n, i] = O(e.mtimeSeconds, e.mtimeNanoseconds, e.mtimeMs, e.mtime);
return {
ctimeSeconds: t % C,
ctimeNanoseconds: r % C,
mtimeSeconds: n % C,
mtimeNanoseconds: i % C,
dev: e.dev % C,
ino: e.ino % C,
mode: P(e.mode % C),
uid: e.uid % C,
gid: e.gid % C,
size: e.size > -1 ? e.size % C : 0
}
}
let R = null;
async function B(e) {
return null === R && (R = await async function() {
try {
if ("da39a3ee5e6b4b0d3255bfef95601890afd80709" === await A(new Uint8Array([]))) return !0
} catch (e) {}
return !1
}()), R ? A(e) : function(e) {
return (new a.a).update(e).digest("hex")
}(e)
}
async function A(e) {
return function(e) {
let t = "";
for (const r of new Uint8Array(e)) r < 16 && (t += "0"), t += r.toString(16);
return t
}(await crypto.subtle.digest("SHA-1", e))
}
class I {
static wrap({
type: e,
object: t
}) {
return Buffer.concat([Buffer.from(`${e} ${t.byteLength.toString()}\0`), Buffer.from(t)])
}
static unwrap(e) {
const t = e.indexOf(32),
r = e.indexOf(0),
n = e.slice(0, t).toString("utf8"),
i = e.slice(t + 1, r).toString("utf8"),
o = e.length - (r + 1);
if (parseInt(i) !== o) throw new y(`Length mismatch: expected ${i} bytes but got ${o} instead.`);
return {
type: n,
object: Buffer.from(e.slice(r + 1))
}
}
}
function j(e, t) {
return x(N(e), N(t))
}
function N(e) {
return "040000" === e.mode ? e.path + "/" : e.path
}
function T(e) {
switch (e) {
case "040000":
return "tree";
case "100644":
case "100755":
case "120000":
return "blob";
case "160000":
return "commit"
}
throw new y(`Unexpected GitTree entry mode: ${e}`)
}
function L(e) {
return !e.oid && e.sha && (e.oid = e.sha), e.mode = function(e) {
if ("number" == typeof e && (e = e.toString(8)), e.match(/^0?4.*/)) return "040000";
if (e.match(/^1006.*/)) return "100644";
if (e.match(/^1007.*/)) return "100755";
if (e.match(/^120.*/)) return "120000";
if (e.match(/^160.*/)) return "160000";
throw new y(`Could not understand file mode: ${e}`)
}(e.mode), e.type || (e.type = T(e.mode)), e
}
class M {
constructor(e) {
if (Buffer.isBuffer(e)) this._entries = function(e) {
const t = [];
let r = 0;
for (; r < e.length;) {
const n = e.indexOf(32, r);
if (-1 === n) throw new y(`GitTree: Error parsing buffer at byte location ${r}: Could not find the next space character.`);
const i = e.indexOf(0, r);
if (-1 === i) throw new y(`GitTree: Error parsing buffer at byte location ${r}: Could not find the next null character.`);
let o = e.slice(r, n).toString("utf8");
"40000" === o && (o = "040000");
const a = T(o),
s = e.slice(n + 1, i).toString("utf8");
if (s.includes("\\") || s.includes("/")) throw new k(s);
const c = e.slice(i + 1, i + 21).toString("hex");
r = i + 21, t.push({
mode: o,
path: s,
oid: c,
type: a
})
}
return t
}(e);
else {
if (!Array.isArray(e)) throw new y("invalid type passed to GitTree constructor");
this._entries = e.map(L)
}
this._entries.sort(E)
}
static from(e) {
return new M(e)
}
render() {
return this._entries.map((e => `${e.mode} ${e.type} ${e.oid} ${e.path}`)).join("\n")
}
toObject() {
const e = [...this._entries];
return e.sort(j), Buffer.concat(e.map((e => {
const t = Buffer.from(e.mode.replace(/^0/, "")),
r = Buffer.from(" "),
n = Buffer.from(e.path, "utf8"),
i = Buffer.from([0]),
o = Buffer.from(e.oid, "hex");
return Buffer.concat([t, r, n, i, o])
})))
}
entries() {
return this._entries
}*[Symbol.iterator]() {
for (const e of this._entries) yield e
}
}
const W = 20,
z = 0,
U = " ",
V = "\n";
class q {
constructor(e, t, r) {
this._dirty = !1, this._entries = e || new Map, this._cacheTreeEntries = t || new Map, this._cacheTree = r || {
path: ".",
children: {},
entryCount: 0,
subdirsCount: 0
}, this._queue = new _
}
static async from(e) {
if (Buffer.isBuffer(e)) return q.fromBuffer(e);
if (null === e) return new q(null);
throw new y("invalid type passed to GitIndex.from")
}
static async fromBuffer(e) {
const t = await B(e.slice(0, -W)),
r = e.slice(-20).toString("hex");
if (r !== t) throw new y(`Invalid checksum in GitIndex buffer: expected ${r} but saw ${t}`);
const n = new w(e),
i = new Map,
o = new Map;
let a = {
path: ".",
children: {},
entryCount: 0,
subdirsCount: 0
};
const s = n.toString("utf8", 4);
if ("DIRC" !== s) throw new y(`Inavlid dircache magic file number: ${s}`);
const c = n.readUInt32BE();
if (2 !== c) throw new y(`Unsupported dircache version: ${c}`);
const l = n.readUInt32BE();
let u = 0;
for (; !n.eof() && u < l;) {
const t = {};
t.ctimeSeconds = n.readUInt32BE(), t.ctimeNanoseconds = n.readUInt32BE(), t.mtimeSeconds = n.readUInt32BE(), t.mtimeNanoseconds = n.readUInt32BE(), t.dev = n.readUInt32BE(), t.ino = n.readUInt32BE(), t.mode = n.readUInt32BE(), t.uid = n.readUInt32BE(), t.gid = n.readUInt32BE(), t.size = n.readUInt32BE(), t.oid = n.slice(20).toString("hex");
const r = n.readUInt16BE();
t.flags = (p = r, {
assumeValid: Boolean(32768 & p),
extended: Boolean(16384 & p),
stage: (12288 & p) >> 12,
nameLength: 4095 & p
});
const o = e.indexOf(0, n.tell() + 1) - n.tell();
if (o < 1) throw new y(`Got a path length of: ${o}`);
if (t.path = n.toString("utf8", o), t.path.includes("..\\") || t.path.includes("../")) throw new k(t.path);
let a = 8 - (n.tell() - 12) % 8;
for (0 === a && (a = 8); a--;) {
const e = n.readUInt8();
if (0 !== e) throw new y(`Expected 1-8 null characters but got '${e}' after ${t.path}`);
if (n.eof()) throw new y("Unexpected end of file")
}
i.set(t.path, t), u++
}
var p;
let d = !1;
for (; n.tell() + W < e.length;) {
const t = n.toString("utf8", 4),
r = n.readUInt32BE();
switch (t) {
case "TREE":
a = H(n, e, a, o), a ? d = !0 : a = {
path: ".",
children: {},
entryCount: 0,
subdirsCount: 0
};
break;
default:
n.slice(r)
}
}
return d || await async function(e, t, r) {
for (const [n, i] of e.entries()) await X(n, t, r, i)
}(i, o, a), new q(i, o, a)
}
get entries() {
return [...this._entries.values()].sort(E)
}
get entriesMap() {
return this._entries
}
get cacheTree() {
return this._cacheTree
}
get cacheTreeEntries() {
return this._cacheTreeEntries
}*[Symbol.iterator]() {
for (const e of this.entries) yield e
}
async insert({
filepath: e,
stats: t,
oid: r
}) {
t = F(t);
const n = Buffer.from(e),
i = {
ctimeSeconds: t.ctimeSeconds,
ctimeNanoseconds: t.ctimeNanoseconds,
mtimeSeconds: t.mtimeSeconds,
mtimeNanoseconds: t.mtimeNanoseconds,
dev: t.dev,
ino: t.ino,
mode: t.mode || 33188,
uid: t.uid,
gid: t.gid,
size: t.size,
path: e,
oid: r,
flags: {
assumeValid: !1,
extended: !1,
stage: 0,
nameLength: n.length < 4095 ? n.length : 4095
}
};
this._entries.set(i.path, i), await this._queue.add((() => X(e, this._cacheTreeEntries, this._cacheTree, i))), this._dirty = !0
}
async delete({
filepath: e
}) {
if (this._entries.has(e)) this._entries.delete(e);
else
for (const t of this._entries.keys()) t.startsWith(e + "/") && this._entries.delete(t);
await this._queue.add((() => X(e, this._cacheTreeEntries, this._cacheTree))), this._dirty = !0
}
clear() {
this._entries.clear(), this._dirty = !0
}
has({
filepath: e
}) {
return this._entries.has(e)
}
render() {
const e = [],
t = ({
children: r = {},
...n
}) => {
e.push({
...n,
hasChildren: n.entryCount > 0
}), Object.values(r).sort(E).forEach((e => t(e)))
};
t(this._cacheTree);
const r = this.entries.map((e => `${e.mode.toString(8)} ${e.oid} ${e.path}`)).join("\n"),
n = e.filter((({
hasChildren: e
}) => e)).map((e => {
const {
path: t,
entryCount: r,
subdirsCount: n,
oid: i
} = e;
return `${t} ${r} ${n} ${i}`
})).join("\n");
return r.concat(["\n"]).concat(n)
}
async toObject() {
const e = Buffer.alloc(12),
t = new w(e);
t.write("DIRC", 4, "utf8"), t.writeUInt32BE(2), t.writeUInt32BE(this.entries.length);
const r = this.entries.map((e => {
const t = Buffer.from(e.path),
r = 8 * Math.ceil((62 + t.length + 1) / 8),
n = Buffer.alloc(r),
i = new w(n),
o = F(e);
return i.writeUInt32BE(o.ctimeSeconds), i.writeUInt32BE(o.ctimeNanoseconds), i.writeUInt32BE(o.mtimeSeconds), i.writeUInt32BE(o.mtimeNanoseconds), i.writeUInt32BE(o.dev), i.writeUInt32BE(o.ino), i.writeUInt32BE(o.mode), i.writeUInt32BE(o.uid), i.writeUInt32BE(o.gid), i.writeUInt32BE(o.size), i.write(e.oid, 20, "hex"), i.writeUInt16BE(function(e) {
const t = e.flags;
return t.extended = !1, t.nameLength = Math.min(Buffer.from(e.path).length, 4095), (t.assumeValid ? 32768 : 0) + (t.extended ? 16384 : 0) + ((3 & t.stage) << 12) + (4095 & t.nameLength)
}(e)), i.write(e.path, t.length, "utf8"), n
}));
if (this._cacheTreeEntries) {
const e = Buffer.alloc(8),
t = new w(e);
t.write("TREE", 4, "utf8");
const n = [];
let i = 0;
const o = e => {
if (!e.children || 0 === e.children.length) return;
const t = Buffer.from(e.path),
r = "." === e.path,
a = (r ? 0 : t.length) + 1 + e.entryCount.toString().length + 1 + e.subdirsCount.toString().length + 1 + 20,
s = Buffer.alloc(a),
c = new w(s);
t.length && !r && c.write(e.path, t.length, "utf8"), c.writeUInt8(z, 1, "utf8");
const l = e.entryCount.toString(),
u = e.subdirsCount.toString();
c.write(l, l.length, "utf8"), c.write(U, 1, "utf8"), c.write(u, u.length, "utf8"), c.write(V, 1, "utf8"), c.write(e.oid, 20, "hex"), n.push(s), i += s.length, Object.values(e.children).sort(E).forEach((e => o(e)))
};
o(this._cacheTree), t.writeUInt32BE(i), r.push(e), r.push(...n)
}
const n = Buffer.concat(r),
i = Buffer.concat([e, n]),
o = await B(i);
return Buffer.concat([i, Buffer.from(o, "hex")])
}
}
function H(e, t, r, n) {
return G(e, t, r, n, ".")
}
function G(e, t, r, n, i) {
let o = K(e, t, z);
o || (o = ".");
const a = Number(K(e, t, U));
if (isNaN(a)) return !1;
let s = "." === o ? r : r[o];
if (s || (s = {
path: o,
children: {},
entryCount: 0,
subdirsCount: 0
}), -1 === a) return !1;
const c = Number(K(e, t, V));
if (isNaN(c)) return !1;
const l = e.slice(20).toString("hex"),
u = D(i, o),
p = {};
for (let i = 0; i < c; i++) {
const i = G(e, t, s.children, n, u);
if (!i) return !1;
s.children[i.path] = {
...r[i.path],
...i
}, p[i.path] = i
}
const d = {
path: o,
subdirsCount: c,
entryCount: a,
oid: l,
children: {
...p,
...s ? s.children : {}
}
};
return n.set(u, d), d
}
function K(e, t, r) {
const n = e.toString("utf-8", t.indexOf(r, e.tell()) - e.tell());
return e.slice(1), n
}
async function X(e, t, r, n) {
const i = (r, i) => {
let o = {
type: "NONE",
count: 0
};
const a = i.children[r];
if (n) a || (i.entryCount++, o = {
type: "ADD",
count: 1
}), i.children[r] = n;
else {
const n = t.has(e);
let s;
delete i.children[r], n ? (i.subdirsCount--, i.entryCount -= a.entryCount, s = a.entryCount, t.delete(e)) : (i.entryCount--, s = 1), o = {
type: "DELETE",
count: s
}
}
return o
},
o = function(e) {
return e.split("/")
}(e),
a = o.pop();
if (0 === o.length) return i(a, r), await J(r), void t.set(e, r);
const s = async (e, r, n) => {
const o = r.shift();
n = D(n, o);
const c = 0 === r.length;
if (o) {
let l, u;
e.children[o] ? l = e.children[o] : (l = {
path: o,
children: {},
entryCount: 0,
subdirsCount: 0
}, e.subdirsCount++, e.children[o] = l), u = c ? await i(a, l) : await s(l, r, n);
const {
type: p,
count: d
} = u;
return "ADD" === p ? e.entryCount += d : "DELETE" === p && (e.entryCount -= d, 0 === l.entryCount && 0 === l.subdirsCount && (delete e.children[l.path], e.subdirsCount--)), await J(l), t.set(n, l), u
}
};
await s(r, o, ""), r.oid = J(r)
}
async function J(e) {
const t = Object.values(e.children).map((e => ({
mode: e.mode || "040000",
path: e.path,
oid: e.oid,
type: "tree"
}))),
r = M.from(t),
n = I.wrap({
type: "tree",
object: r.toObject()
}),
i = await B(n);
e.oid = i
}
class Z {
constructor(e) {
this._index = e
}
get entries() {
return this._index.entries
}
get entriesMap() {
return this._index.entriesMap
}
get cacheTree() {
return this._index.cacheTree
}
get cacheTreeEntries() {
return this._index.cacheTreeEntries
}*[Symbol.iterator]() {
for (const e of this.entries) yield e
}
render() {
return this._index.render()
}
async toObject() {
return this._index.toObject()
}
}
function Y(e, t) {
const r = F(e),
n = F(t);
return r.mode !== n.mode || r.mtimeSeconds !== n.mtimeSeconds || r.ctimeSeconds !== n.ctimeSeconds || r.uid !== n.uid || r.gid !== n.gid || r.ino !== n.ino || r.size !== n.size
}
let Q = null;
const ee = Symbol("IndexCache");
function te() {}
class re {
static async acquire({
fs: e,
gitdir: t,
cache: r,
readOnly: n = !1
}, o = te) {
r[ee] || (r[ee] = {
map: new Map,
stats: new Map
});
const a = `${t}/index`;
let s;
return null === Q && (Q = new i.a({
maxPending: 1 / 0
})), await Q.acquire(a, (async () => {
await async function(e, t, r) {
const n = r.stats.get(t);
if (void 0 === n) return !0;
const i = await e.lstat(t);
return null !== n && null !== i && Y(n, i)
}(e, a, r[ee]) && await async function(e, t, r) {
const n = await e.lstat(t),
i = await e.read(t),
o = await q.from(i);
r.map.set(t, o), r.stats.set(t, n)
}(e, a, r[ee]);
const t = r[ee].map.get(a);
if (n) s = new Z(t);
else if (s = await o(t), t._dirty) {
const n = await t.toObject();
await e.write(a, n), r[ee].stats.set(a, await e.lstat(a)), t._dirty = !1
}
})), s
}
}
function ne(e) {
const t = Math.max(e.lastIndexOf("/"), e.lastIndexOf("\\"));
return t > -1 && (e = e.slice(t + 1)), e
}
function ie(e) {
const t = Math.max(e.lastIndexOf("/"), e.lastIndexOf("\\"));
return -1 === t ? "." : 0 === t ? "/" : e.slice(0, t)
}
function oe(e) {
const t = new Map,
r = function(e) {
if (!t.has(e)) {
const n = {
type: "tree",
fullpath: e,
basename: ne(e),
metadata: {},
children: []
};
t.set(e, n), n.parent = r(ie(e)), n.parent && n.parent !== n && n.parent.children.push(n)
}
return t.get(e)
},
n = function(e, n) {
if (!t.has(e)) {
const i = {
type: "blob",
fullpath: e,
basename: ne(e),
metadata: n,
parent: r(ie(e)),
children: []
};
i.parent && i.parent.children.push(i), t.set(e, i)
}
return t.get(e)
};
r(".");
for (const t of e) n(t.path, t);
return t
}
class ae {
constructor({
fs: e,
gitdir: t,
cache: r
}) {
this.treePromise = re.acquire({
fs: e,
gitdir: t,
cache: r
}, (async function(e) {
return oe(e.entries)
}));
const n = this;
this.ConstructEntry = class e {
constructor(e) {
this._fullpath = e, this._type = !1, this._mode = !1, this._stat = !1, this._oid = !1
}
async type() {
return n.type(this)
}
async mode() {
return n.mode(this)
}
async stat() {
return n.stat(this)
}
async content() {
return n.content(this)
}
async oid() {
return n.oid(this)
}
}
}
async readdir(e) {
const t = e._fullpath,
r = (await this.treePromise).get(t);
if (!r) return null;
if ("blob" === r.type) return null;
if ("tree" !== r.type) throw new Error(`ENOTDIR: not a directory, scandir '${t}'`);
const n = r.children.map((e => e.fullpath));
return n.sort(x), n
}
async type(e) {
return !1 === e._type && await e.stat(), e._type
}
async mode(e) {
return !1 === e._mode && await e.stat(), e._mode
}
async stat(e) {
if (!1 === e._stat) {
const t = (await this.treePromise).get(e._fullpath);
if (!t) throw new Error(`ENOENT: no such file or directory, lstat '${e._fullpath}'`);
const r = "tree" === t.type ? {} : F(t.metadata);
e._type = "tree" === t.type ? "tree" : function(e) {
switch (e) {
case 16384:
return "tree";
case 33188:
case 33261:
case 40960:
return "blob";
case 57344:
return "commit"
}
throw new y(`Unexpected GitTree entry mode: ${e.toString(8)}`)
}(r.mode), e._mode = r.mode, "tree" === t.type ? e._stat = void 0 : e._stat = r
}
return e._stat
}
async content(e) {}
async oid(e) {
if (!1 === e._oid) {
const t = (await this.treePromise).get(e._fullpath);
e._oid = t.metadata.oid
}
return e._oid
}
}
const se = Symbol("GitWalkSymbol");
function ce() {
const e = Object.create(null);
return Object.defineProperty(e, se, {
value({
fs: e,
gitdir: t,
cache: r
}) {
return new ae({
fs: e,
gitdir: t,
cache: r
})
}
}), Object.freeze(e), e
}
class le extends v {
constructor(e) {
super(`Could not find ${e}.`), this.code = this.name = le.code, this.data = {
what: e
}
}
}
le.code = "NotFoundError";
class ue extends v {
constructor(e, t, r, n) {
super(`Object ${e} ${n?`at ${n}`:""}was anticipated to be a ${r} but it is a ${t}.`), this.code = this.name = ue.code, this.data = {
oid: e,
actual: t,
expected: r,
filepath: n
}
}
}
ue.code = "ObjectTypeError";
class pe extends v {
constructor(e) {
super(`Expected a 40-char hex object id but saw "${e}".`), this.code = this.name = pe.code, this.data = {
value: e
}
}
}
pe.code = "InvalidOidError";
class de extends v {
constructor(e) {
super(`Could not find a fetch refspec for remote "${e}". Make sure the config file has an entry like the following:\n[remote "${e}"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n`), this.code = this.name = de.code, this.data = {
remote: e
}
}
}
de.code = "NoRefspecError";
class fe {
constructor(e) {
if (this.refs = new Map, this.parsedConfig = [], e) {
let t = null;
this.parsedConfig = e.trim().split("\n").map((e => {
if (/^\s*#/.test(e)) return {
line: e,
comment: !0
};
const r = e.indexOf(" ");
if (e.startsWith("^")) {
const r = e.slice(1);
return this.refs.set(t + "^{}", r), {
line: e,
ref: t,
peeled: r
}
} {
const n = e.slice(0, r);
return t = e.slice(r + 1), this.refs.set(t, n), {
line: e,
ref: t,
oid: n
}
}
}))
}
return this
}
static from(e) {
return new fe(e)
}
delete(e) {
this.parsedConfig = this.parsedConfig.filter((t => t.ref !== e)), this.refs.delete(e)
}
toString() {
return this.parsedConfig.map((({
line: e
}) => e)).join("\n") + "\n"
}
}
class he {
constructor({
remotePath: e,
localPath: t,
force: r,
matchPrefix: n
}) {
Object.assign(this, {
remotePath: e,
localPath: t,
force: r,
matchPrefix: n
})
}
static from(e) {
const [t, r, n, i, o] = e.match(/^(\+?)(.*?)(\*?):(.*?)(\*?)$/).slice(1), a = "+" === t, s = "*" === n;
if (s !== ("*" === o)) throw new y("Invalid refspec");
return new he({
remotePath: r,
localPath: i,
force: a,
matchPrefix: s
})
}
translate(e) {
if (this.matchPrefix) {
if (e.startsWith(this.remotePath)) return this.localPath + e.replace(this.remotePath, "")
} else if (e === this.remotePath) return this.localPath;
return null
}
reverseTranslate(e) {
if (this.matchPrefix) {
if (e.startsWith(this.localPath)) return this.remotePath + e.replace(this.localPath, "")
} else if (e === this.localPath) return this.remotePath;
return null
}
}
class $e {
constructor(e = []) {
this.rules = e
}
static from(e) {
const t = [];
for (const r of e) t.push(he.from(r));
return new $e(t)
}
add(e) {
const t = he.from(e);
this.rules.push(t)
}
translate(e) {
const t = [];
for (const r of this.rules)
for (const n of e) {
const e = r.translate(n);
e && t.push([n, e])
}
return t
}
translateOne(e) {
let t = null;
for (const r of this.rules) {
const n = r.translate(e);
n && (t = n)
}
return t
}
localNamespaces() {
return this.rules.filter((e => e.matchPrefix)).map((e => e.localPath.replace(/\/$/, "")))
}
}
function me(e, t) {
const r = e.replace(/\^\{\}$/, ""),
n = t.replace(/\^\{\}$/, ""),
i = -(r < n) || +(r > n);
return 0 === i ? e.endsWith("^{}") ? 1 : -1 : i
}
const ge = e => {
if ("true" === (e = e.trim().toLowerCase()) || "yes" === e || "on" === e) return !0;
if ("false" === e || "no" === e || "off" === e) return !1;
throw Error(`Expected 'true', 'false', 'yes', 'no', 'on', or 'off', but got ${e}`)
},
be = {
core: {
filemode: ge,
bare: ge,
logallrefupdates: ge,
symlinks: ge,
ignorecase: ge,
bigFileThreshold(e) {
e = e.toLowerCase();
let t = parseInt(e);
return e.endsWith("k") && (t *= 1024), e.endsWith("m") && (t *= 1024 * 1024), e.endsWith("g") && (t *= 1024 * 1024 * 1024), t
}
}
},
ve = /^\[([A-Za-z0-9-.]+)(?: "(.*)")?\]$/,
ye = /^[A-Za-z0-9-.]+$/,
ke = /^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/,
we = /^[A-Za-z][A-Za-z-]*$/,
_e = /^(.*?)( *[#;].*)$/,
xe = e => (e.match(/(?:^|[^\\])"/g) || []).length % 2 != 0,
Ee = e => e.split("").reduce(((e, t, r, n) => {
const i = '"' === t && "\\" !== n[r - 1],
o = "\\" === t && '"' === n[r + 1];
return i || o ? e : e + t
}), ""),
Se = e => null != e ? e.toLowerCase() : null,
De = (e, t, r) => [Se(e), t, Se(r)].filter((e => null != e)).join("."),
Pe = e => {
const t = e.split("."),
r = t.shift(),
n = t.pop(),
i = t.length ? t.join(".") : void 0;
return {
section: r,
subsection: i,
name: n,
path: De(r, i, n),
sectionPath: De(r, i, null)
}
};
class Ce {
constructor(e) {
let t = null,
r = null;
this.parsedConfig = e.split("\n").map((e => {
let n = null,
i = null;
const o = e.trim(),
a = (e => {
const t = ve.exec(e);
if (null != t) {
const [e, r] = t.slice(1);
return [e, r]
}
return null
})(o),
s = null != a;
if (s)[t, r] = a;
else {
const e = (e => {
const t = ke.exec(e);
if (null != t) {
const [e, r = "true"] = t.slice(1), n = (e => {
const t = _e.exec(e);
if (null == t) return e;
const [r, n] = t.slice(1);
return xe(r) && xe(n) ? `${r}${n}` : r
})(r);
return [e, Ee(n)]
}
return null
})(o);
null != e && ([n, i] = e)
}
const c = De(t, r, n);
return {
line: e,
isSection: s,
section: t,
subsection: r,
name: n,
value: i,
path: c
}
}))
}
static from(e) {
return new Ce(e)
}
async get(e, t = !1) {
const r = Pe(e).path,
n = this.parsedConfig.filter((e => e.path === r)).map((({
section: e,
name: t,
value: r
}) => {
const n = be[e] && be[e][t];
return n ? n(r) : r
}));
return t ? n : n.pop()
}
async getall(e) {
return this.get(e, !0)
}
async getSubsections(e) {
return this.parsedConfig.filter((t => t.section === e && t.isSection)).map((e => e.subsection))
}
async deleteSection(e, t) {
this.parsedConfig = this.parsedConfig.filter((r => !(r.section === e && r.subsection === t)))
}
async append(e, t) {
return this.set(e, t, !0)
}
async set(e, t, r = !1) {
const {
section: n,
subsection: i,
name: o,
path: a,
sectionPath: s
} = Pe(e), c = (l = this.parsedConfig, u = e => e.path === a, l.reduce(((e, t, r) => u(t) ? r : e), -1));
var l, u;
if (null == t) - 1 !== c && this.parsedConfig.splice(c, 1);
else if (-1 !== c) {
const e = this.parsedConfig[c],
n = Object.assign({}, e, {
name: o,
value: t,
modified: !0
});
r ? this.parsedConfig.splice(c + 1, 0, n) : this.parsedConfig[c] = n
} else {
const e = this.parsedConfig.findIndex((e => e.path === s)),
r = {
section: n,
subsection: i,
name: o,
value: t,
modified: !0,
path: a
};
if (ye.test(n) && we.test(o))
if (e >= 0) this.parsedConfig.splice(e + 1, 0, r);
else {
const e = {
section: n,
subsection: i,
modified: !0,
path: s
};
this.parsedConfig.push(e, r)
}
}
}
toString() {
return this.parsedConfig.map((({
line: e,
section: t,
subsection: r,
name: n,
value: i,
modified: o = !1
}) => o ? null != n && null != i ? "string" == typeof i && /[#;]/.test(i) ? `\t${n} = "${i}"` : `\t${n} = ${i}` : null != r ? `[${t} "${r}"]` : `[${t}]` : e)).join("\n")
}
}
class Oe {
static async get({
fs: e,
gitdir: t
}) {
const r = await e.read(`${t}/config`, {
encoding: "utf8"
});
return Ce.from(r)
}
static async save({
fs: e,
gitdir: t,
config: r
}) {
await e.write(`${t}/config`, r.toString(), {
encoding: "utf8"
})
}
}
const Fe = e => [`${e}`, `refs/${e}`, `refs/tags/${e}`, `refs/heads/${e}`, `refs/remotes/${e}`, `refs/remotes/${e}/HEAD`],
Re = ["config", "description", "index", "shallow", "commondir"];
class Be {
static async updateRemoteRefs({
fs: e,
gitdir: t,
remote: r,
refs: n,
symrefs: i,
tags: o,
refspecs: a = void 0,
prune: s = !1,
pruneTags: c = !1
}) {
for (const e of n.values())
if (!e.match(/[0-9a-f]{40}/)) throw new pe(e);
const l = await Oe.get({
fs: e,
gitdir: t
});
if (!a) {
if (0 === (a = await l.getall(`remote.${r}.fetch`)).length) throw new de(r);
a.unshift(`+HEAD:refs/remotes/${r}/HEAD`)
}
const u = $e.from(a),
p = new Map;
if (c) {
const r = await Be.listRefs({
fs: e,
gitdir: t,
filepath: "refs/tags"
});
await Be.deleteRefs({
fs: e,
gitdir: t,
refs: r.map((e => `refs/tags/${e}`))
})
}
if (o)
for (const r of n.keys())
if (r.startsWith("refs/tags") && !r.endsWith("^{}") && !await Be.exists({
fs: e,
gitdir: t,
ref: r
})) {
const e = n.get(r);
p.set(r, e)
} const d = u.translate([...n.keys()]);
for (const [e, t] of d) {
const r = n.get(e);
p.set(t, r)
}
const f = u.translate([...i.keys()]);
for (const [e, t] of f) {
const r = i.get(e),
n = u.translateOne(r);
n && p.set(t, `ref: ${n}`)
}
const h = [];
if (s) {
for (const r of u.localNamespaces()) {
const n = (await Be.listRefs({
fs: e,
gitdir: t,
filepath: r
})).map((e => `${r}/${e}`));
for (const e of n) p.has(e) || h.push(e)
}
h.length > 0 && await Be.deleteRefs({
fs: e,
gitdir: t,
refs: h
})
}
for (const [r, n] of p) await e.write(D(t, r), `${n.trim()}\n`, "utf8");
return {
pruned: h
}
}
static async writeRef({
fs: e,
gitdir: t,
ref: r,
value: n
}) {
if (!n.match(/[0-9a-f]{40}/)) throw new pe(n);
await e.write(D(t, r), `${n.trim()}\n`, "utf8")
}
static async writeSymbolicRef({
fs: e,
gitdir: t,
ref: r,
value: n
}) {
await e.write(D(t, r), "ref: " + `${n.trim()}\n`, "utf8")
}
static async deleteRef({
fs: e,
gitdir: t,
ref: r
}) {
return Be.deleteRefs({
fs: e,
gitdir: t,
refs: [r]
})
}
static async deleteRefs({
fs: e,
gitdir: t,
refs: r
}) {
await Promise.all(r.map((r => e.rm(D(t, r)))));
let n = await e.read(`${t}/packed-refs`, {
encoding: "utf8"
});
const i = fe.from(n),
o = i.refs.size;
for (const e of r) i.refs.has(e) && i.delete(e);
i.refs.size < o && (n = i.toString(), await e.write(`${t}/packed-refs`, n, {
encoding: "utf8"
}))
}
static async resolve({
fs: e,
gitdir: t,
ref: r,
depth: n = void 0
}) {
if (void 0 !== n && -1 == --n) return r;
let i;
if (r.startsWith("ref: ")) return r = r.slice("ref: ".length), Be.resolve({
fs: e,
gitdir: t,
ref: r,
depth: n
});
if (40 === r.length && /[0-9a-f]{40}/.test(r)) return r;
const o = await Be.packedRefs({
fs: e,
gitdir: t
}),
a = Fe(r).filter((e => !Re.includes(e)));
for (const r of a)
if (i = await e.read(`${t}/${r}`, {
encoding: "utf8"
}) || o.get(r), i) return Be.resolve({
fs: e,
gitdir: t,
ref: i.trim(),
depth: n
});
throw new le(r)
}
static async exists({
fs: e,
gitdir: t,
ref: r
}) {
try {
return await Be.expand({
fs: e,
gitdir: t,
ref: r
}), !0
} catch (e) {
return !1
}
}
static async expand({
fs: e,
gitdir: t,
ref: r
}) {
if (40 === r.length && /[0-9a-f]{40}/.test(r)) return r;
const n = await Be.packedRefs({
fs: e,
gitdir: t
}),
i = Fe(r);
for (const r of i) {
if (await e.exists(`${t}/${r}`)) return r;
if (n.has(r)) return r
}
throw new le(r)
}
static async expandAgainstMap({
ref: e,
map: t
}) {
const r = Fe(e);
for (const e of r)
if (await t.has(e)) return e;
throw new le(e)
}
static resolveAgainstMap({
ref: e,
fullref: t = e,
depth: r = void 0,
map: n
}) {
if (void 0 !== r && -1 == --r) return {
fullref: t,
oid: e
};
if (e.startsWith("ref: ")) return e = e.slice("ref: ".length), Be.resolveAgainstMap({
ref: e,
fullref: t,
depth: r,
map: n
});
if (40 === e.length && /[0-9a-f]{40}/.test(e)) return {
fullref: t,
oid: e
};
const i = Fe(e);
for (const e of i) {
const t = n.get(e);
if (t) return Be.resolveAgainstMap({
ref: t.trim(),
fullref: e,
depth: r,
map: n
})
}
throw new le(e)
}
static async packedRefs({
fs: e,
gitdir: t
}) {
const r = await e.read(`${t}/packed-refs`, {
encoding: "utf8"
});
return fe.from(r).refs
}
static async listRefs({
fs: e,
gitdir: t,
filepath: r
}) {
const n = Be.packedRefs({
fs: e,
gitdir: t
});
let i = null;
try {
i = await e.readdirDeep(`${t}/${r}`), i = i.map((e => e.replace(`${t}/${r}/`, "")))
} catch (e) {
i = []
}
for (let e of (await n).keys()) e.startsWith(r) && (e = e.replace(r + "/", ""), i.includes(e) || i.push(e));
return i.sort(me), i
}
static async listBranches({
fs: e,
gitdir: t,
remote: r
}) {
return r ? Be.listRefs({
fs: e,
gitdir: t,
filepath: `refs/remotes/${r}`
}) : Be.listRefs({
fs: e,
gitdir: t,
filepath: `refs/heads`
})
}
static async listTags({
fs: e,
gitdir: t
}) {
return (await Be.listRefs({
fs: e,
gitdir: t,
filepath: `refs/tags`
})).filter((e => !e.endsWith("^{}")))
}
}
function Ae(e) {
let t = 0,
r = 0,
n = null;
do {
n = e.readUInt8(), t |= (127 & n) << r, r += 7
} while (128 & n);
return t
}
function Ie(e, t, r) {
let n = 0,
i = 0;
for (; r--;) 1 & t && (n |= e.readUInt8() << i), t >>= 1, i += 8;
return n
}
function je(e, t) {
const r = e.readUInt8(),
n = 112;
if (128 & r) {
const i = Ie(e, 15 & r, 4);
let o = Ie(e, (r & n) >> 4, 3);
return 0 === o && (o = 65536), t.slice(i, i + o)
}
return e.slice(r)
}
function Ne(e) {
return e[Symbol.asyncIterator] ? e[Symbol.asyncIterator]() : e[Symbol.iterator] ? e[Symbol.iterator]() : e.next ? e : function(e) {
let t = [e];
return {
next() {
return Promise.resolve({
done: 0 === t.length,
value: t.pop()
})
},
return () {
return t = [], {}
},
[Symbol.asyncIterator]() {
return this
}
}
}(e)
}
class Te {
constructor(e) {
this.stream = Ne(e), this.buffer = null, this.cursor = 0, this.undoCursor = 0, this.started = !1, this._ended = !1, this._discardedBytes = 0
}
eof() {
return this._ended && this.cursor === this.buffer.length
}
tell() {
return this._discardedBytes + this.cursor
}
async byte() {
if (!this.eof() && (this.started || await this._init(), this.cursor !== this.buffer.length || (await this._loadnext(), !this._ended))) return this._moveCursor(1), this.buffer[this.undoCursor]
}
async chunk() {
if (!this.eof() && (this.started || await this._init(), this.cursor !== this.buffer.length || (await this._loadnext(), !this._ended))) return this._moveCursor(this.buffer.length), this.buffer.slice(this.undoCursor, this.cursor)
}
async read(e) {
if (!this.eof()) return this.started || await this._init(), this.cursor + e > this.buffer.length && (this._trim(), await this._accumulate(e)), this._moveCursor(e), this.buffer.slice(this.undoCursor, this.cursor)
}
async skip(e) {
this.eof() || (this.started || await this._init(), this.cursor + e > this.buffer.length && (this._trim(), await this._accumulate(e)), this._moveCursor(e))
}
async undo() {
this.cursor = this.undoCursor
}
async _next() {
this.started = !0;
let {
done: e,
value: t
} = await this.stream.next();
return e && (this._ended = !0), t && (t = Buffer.from(t)), t
}
_trim() {
this.buffer = this.buffer.slice(this.undoCursor), this.cursor -= this.undoCursor, this._discardedBytes += this.undoCursor, this.undoCursor = 0
}
_moveCursor(e) {
this.undoCursor = this.cursor, this.cursor += e, this.cursor > this.buffer.length && (this.cursor = this.buffer.length)
}
async _accumulate(e) {
if (this._ended) return;
const t = [this.buffer];
for (; this.cursor + e > Le(t);) {
const e = await this._next();
if (this._ended) break;
t.push(e)
}
this.buffer = Buffer.concat(t)
}
async _loadnext() {
this._discardedBytes += this.buffer.length, this.undoCursor = 0, this.cursor = 0, this.buffer = await this._next()
}
async _init() {
this.buffer = await this._next()
}
}
function Le(e) {
return e.reduce(((e, t) => e + t.length), 0)
}
async function Me(e) {
let t = await e.byte();
const r = t >> 4 & 7;
let n, i, o = 15 & t;
if (128 & t) {
let r = 4;
do {
t = await e.byte(), o |= (127 & t) << r, r += 7
} while (128 & t)
}
if (6 === r) {
let r = 0;
n = 0;
const o = [];
do {
t = await e.byte(), n |= (127 & t) << r, r += 7, o.push(t)
} while (128 & t);
i = Buffer.from(o)
}
return 7 === r && (i = await e.read(20)), {
type: r,
length: o,
ofs: n,
reference: i
}
}
let We = !1;
async function ze(e) {
return null === We && (We = function() {
try {
if (new DecompressionStream("deflate")) return !0
} catch (e) {}
return !1
}()), We ? async function(e) {
const t = new DecompressionStream("deflate"),
r = new Blob([e]).stream().pipeThrough(t);
return new Uint8Array(await new Response(r).arrayBuffer())
}(e): u.a.inflate(e)
}
class Ue {
constructor(e) {
Object.assign(this, e), this.offsetCache = {}
}
static async fromIdx({
idx: e,
getExternalRefDelta: t
}) {
const r = new w(e);
if ("ff744f63" !== r.slice(4).toString("hex")) return;
const n = r.readUInt32BE();
if (2 !== n) throw new y(`Unable to read version ${n} packfile IDX. (Only version 2 supported)`);
if (e.byteLength > 2048 * 1024 * 1024) throw new y(`To keep implementation simple, I haven't implemented the layer 5 feature needed to support packfiles > 2GB in size.`);
r.seek(r.tell() + 4 * 255);
const i = r.readUInt32BE(),
o = [];
for (let e = 0; e < i; e++) {
const t = r.slice(20).toString("hex");
o[e] = t
}
r.seek(r.tell() + 4 * i);
const a = new Map;
for (let e = 0; e < i; e++) a.set(o[e], r.readUInt32BE());
const s = r.slice(20).toString("hex");
return new Ue({
hashes: o,
crcs: {},
offsets: a,
packfileSha: s,
getExternalRefDelta: t
})
}
static async fromPack({
pack: e,
getExternalRefDelta: t,
onProgress: r
}) {
const n = {
1: "commit",
2: "tree",
3: "blob",
4: "tag",
6: "ofs-delta",
7: "ref-delta"
},
i = {},
o = e.slice(-20).toString("hex"),
a = [],
s = {},
l = new Map;
let p = null,
d = null;
await async function(e, t) {
const r = new Te(e);
let n = await r.read(4);
if (n = n.toString("utf8"), "PACK" !== n) throw new y(`Invalid PACK header '${n}'`);
let i = await r.read(4);
if (i = i.readUInt32BE(0), 2 !== i) throw new y(`Invalid packfile version: ${i}`);
let o = await r.read(4);
if (o = o.readUInt32BE(0), !(o < 1))
for (; !r.eof() && o--;) {
const e = r.tell(),
{
type: n,
length: i,
ofs: a,
reference: s
} = await Me(r),
c = new u.a.Inflate;
for (; !c.result;) {
const l = await r.chunk();
if (!l) break;
if (c.push(l, !1), c.err) throw new y(`Pako error: ${c.msg}`);
if (c.result) {
if (c.result.length !== i) throw new y(`Inflated object size is different from that stated in packfile.`);
await r.undo(), await r.read(l.length - c.strm.avail_in);
const u = r.tell();
await t({
data: c.result,
type: n,
num: o,
offset: e,
end: u,
reference: s,
ofs: a
})
}
}
}
}([e], (async ({
data: e,
type: t,
reference: o,
offset: a,
num: s
}) => {
null === p && (p = s);
const c = Math.floor(100 * (p - s) / p);
c !== d && r && await r({
phase: "Receiving objects",
loaded: p - s,
total: p
}), d = c, t = n[t], (["commit", "tree", "blob", "tag"].includes(t) || "ofs-delta" === t || "ref-delta" === t) && (i[a] = {
type: t,
offset: a
})
}));
const f = Object.keys(i).map(Number);
for (const [t, r] of f.entries()) {
const n = t + 1 === f.length ? e.byteLength - 20 : f[t + 1],
o = i[r],
a = c.a.buf(e.slice(r, n)) >>> 0;
o.end = n, o.crc = a
}
const h = new Ue({
pack: Promise.resolve(e),
packfileSha: o,
crcs: s,
hashes: a,
offsets: l,
getExternalRefDelta: t
});
d = null;
let $ = 0;
const m = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
for (let e in i) {
e = Number(e);
const t = Math.floor(100 * $++/p);t!==d&&r&&await r({phase:"Resolving deltas",loaded:$,total:p}),d=t;const n=i[e];if(!n.oid)try{h.readDepth=0,h.externalReadDepth=0;const{type:t,object:r}=await h.readSlice({start:e});m[h.readDepth]+=1;const i=await B(I.wrap({type:t,object:r}));n.oid=i,a.push(i),l.set(i,e),s[i]=n.crc}catch(e){continue}}return a.sort(),h}async toBuffer(){const e=[],t=(t,r)=>{e.push(Buffer.from(t,r))};t("ff744f63","hex"),t("00000002","hex");const r=new w(Buffer.alloc(256*4));for(let e=0;e<256;e++){let t=0;for(const r of this.hashes)parseInt(r.slice(0,2),16)<=e&&t++;r.writeUInt32BE(t)}e.push(r.buffer);for(const e of this.hashes)t(e,"hex");const n=new w(Buffer.alloc(4*this.hashes.length));for(const e of this.hashes)n.writeUInt32BE(this.crcs[e]);e.push(n.buffer);const i=new w(Buffer.alloc(4*this.hashes.length));for(const e of this.hashes)i.writeUInt32BE(this.offsets.get(e));e.push(i.buffer),t(this.packfileSha,"hex");const o=Buffer.concat(e),a=await B(o),s=Buffer.alloc(20);return s.write(a,"hex"),Buffer.concat([o,s])}async load({pack:e}){this.pack=e}async unload(){this.pack=null}async read({oid:e}){if(!this.offsets.get(e)){if(this.getExternalRefDelta)return this.externalReadDepth++,this.getExternalRefDelta(e);throw new y(`Could not read object ${e} from packfile`)}const t=this.offsets.get(e);return this.readSlice({start:t})}async readSlice({start:e}){if(this.offsetCache[e])return Object.assign({},this.offsetCache[e]);if(this.readDepth++,!this.pack)throw new y("Tried to read from a GitPackIndex with no packfile loaded into memory");const t=(await this.pack).slice(e),r=new w(t),n=r.readUInt8(),i=112&n;let o={16:"commit",32:"tree",48:"blob",64:"tag",96:"ofs_delta",112:"ref_delta"}[i];if(void 0===o)throw new y("Unrecognized type: 0b"+i.toString(2));const a=15&n;let s=a;128&n&&(s=function(e,t){let r=t,n=4,i=null;do{i=e.readUInt8(),r|=(127&i)<<n,n+=7}while(128&i);return r}(r,a));let c=null,l=null;if("ofs_delta"===o){const t=e-function(e){const t=[];let r=0,n=0;do{r=e.readUInt8();const i=127&r;t.push(i),n=128&r}while(n);return t.reduce(((e,t)=>e+1<<7|t),-1)}(r);({object:c,type:o}=await this.readSlice({start:t}))}if("ref_delta"===o){const e=r.slice(20).toString("hex");({object:c,type:o}=await this.read({oid:e}))}const u=t.slice(r.tell());if(l=Buffer.from(await ze(u)),l.byteLength!==s)throw new y(`Packfile told us object would have length ${s} but it had length ${l.byteLength}`);return c&&(l=Buffer.from(function(e,t){const r=new w(e),n=Ae(r);if(n!==t.byteLength)throw new y(`applyDelta expected source buffer to be ${n} bytes but the provided buffer was ${t.length} bytes`);const i=Ae(r);let o;const a=je(r,t);if(a.byteLength===i)o=a;else{o=Buffer.alloc(i);const e=new w(o);for(e.copy(a);!r.eof();)e.copy(je(r,t));const n=e.tell();if(i!==n)throw new y(`applyDelta expected target buffer to be ${i} bytes but the resulting buffer was ${n} bytes`)}return o}(l,c))),this.readDepth>3&&(this.offsetCache[e]={type:o,object:l}),{type:o,format:"content",object:l}}}const Ve=Symbol("PackfileCache");function qe({fs:e,cache:t,filename:r,getExternalRefDelta:n,emitter:i,emitterPrefix:o}){t[Ve]||(t[Ve]=new Map);let a=t[Ve].get(r);return a||(a=async function({fs:e,filename:t,getExternalRefDelta:r,emitter:n,emitterPrefix:i}){const o=await e.read(t);return Ue.fromIdx({idx:o,getExternalRefDelta:r})}({fs:e,filename:r,getExternalRefDelta:n,emitter:i,emitterPrefix:o}),t[Ve].set(r,a)),a}async function He({fs:e,cache:t,gitdir:r,oid:n,format:i="content"}){let o;if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n&&(o={format:"wrapped",object:Buffer.from(`tree 0\0`)}),o||(o=await async function({fs:e,gitdir:t,oid:r}){const n=`objects/$ {
r.slice(0, 2)
}
/${r.slice(2)}`,i=await e.read(`${t}/$ {
n
}
`);return i?{object:i,format:"deflated",source:n}:null}({fs:e,gitdir:r,oid:n})),o||(o=await async function({fs:e,cache:t,gitdir:r,oid:n,format:i="content",getExternalRefDelta:o}){let a=await e.readdir(D(r,"objects/pack"));a=a.filter((e=>e.endsWith(".idx")));for(const i of a){const a=`
$ {
r
}
/objects/pack / $ {
i
}
`,s=await qe({fs:e,cache:t,filename:a,getExternalRefDelta:o});if(s.error)throw new y(s.error);if(s.offsets.has(n)){if(!s.pack){const t=a.replace(/idx$/,"pack");s.pack=e.read(t)}const t=await s.read({oid:n,getExternalRefDelta:o});return t.format="content",t.source=`
objects / pack / $ {
i.replace(/idx$/, "pack")
}
`,t}}return null}({fs:e,cache:t,gitdir:r,oid:n,getExternalRefDelta:n=>He({fs:e,cache:t,gitdir:r,oid:n})})),!o)throw new le(n);if("deflated"===i)return o;if("deflated"===o.format&&(o.object=Buffer.from(await ze(o.object)),o.format="wrapped"),"wrapped"===o.format){if("wrapped"===i&&"wrapped"===o.format)return o;const e=await B(o.object);if(e!==n)throw new y(`
SHA check failed!Expected $ {
n
}, computed $ {
e
}
`);const{object:t,type:r}=I.unwrap(o.object);o.type=r,o.object=t,o.format="content"}if("content"===o.format)return"content"===i?o:void 0;throw new y(`
invalid format "${o.format}"
`)}class Ge extends v{constructor(e,t,r=!0){super(`
Failed to create $ {
e
}
at $ {
t
}
because it already exists.$ {
r ? ` (Hint: use 'force: true' parameter to overwrite existing ${e}.)` : ""
}
`),this.code=this.name=Ge.code,this.data={noun:e,where:t,canForce:r}}}Ge.code="AlreadyExistsError";class Ke extends v{constructor(e,t,r){super(`
Found multiple $ {
e
}
matching "${t}"($ {
r.join(", ")
}).Use a longer abbreviation length to disambiguate them.
`),this.code=this.name=Ke.code,this.data={nouns:e,short:t,matches:r}}}Ke.code="AmbiguousError";class Xe extends v{constructor(e){super(`
Your local changes to the following files would be overwritten by checkout: $ {
e.join(", ")
}
`),this.code=this.name=Xe.code,this.data={filepaths:e}}}Xe.code="CheckoutConflictError";class Je extends v{constructor(e,t){super(`
Failed to checkout "${e}"
because commit $ {
t
}
is not available locally.Do a git fetch to make the branch available locally.
`),this.code=this.name=Je.code,this.data={ref:e,oid:t}}}Je.code="CommitNotFetchedError";class Ze extends v{constructor(){super(`
Empty response from git server.
`),this.code=this.name=Ze.code,this.data={}}}Ze.code="EmptyServerResponseError";class Ye extends v{constructor(){super(`
A simple fast - forward merge was not possible.
`),this.code=this.name=Ye.code,this.data={}}}Ye.code="FastForwardError";class Qe extends v{constructor(e,t){super(`
One or more branches were not updated: $ {
e
}
`),this.code=this.name=Qe.code,this.data={prettyDetails:e,result:t}}}Qe.code="GitPushError";class et extends v{constructor(e,t,r){super(`
HTTP Error: $ {
e
}
$ {
t
}
`),this.code=this.name=et.code,this.data={statusCode:e,statusMessage:t,response:r}}}et.code="HttpError";class tt extends v{constructor(e){let t="invalid filepath";"leading-slash"===e||"trailing-slash"===e?t=`
"filepath"
parameter should not include leading or trailing directory separators because these can cause problems on some platforms.
`:"directory"===e&&(t=`
"filepath"
should not be a directory.
`),super(t),this.code=this.name=tt.code,this.data={reason:e}}}tt.code="InvalidFilepathError";class rt extends v{constructor(e,t){super(`
"${e}"
would be an invalid git reference.(Hint: a valid alternative would be "${t}".)`),this.code=this.name=rt.code,this.data={ref:e,suggestion:t}}}rt.code="InvalidRefNameError";class nt extends v{constructor(e){super(`
Maximum search depth of $ {
e
}
exceeded.
`),this.code=this.name=nt.code,this.data={depth:e}}}nt.code="MaxDepthError";class it extends v{constructor(){super(`
Merges with conflicts are not supported yet.
`),this.code=this.name=it.code,this.data={}}}it.code="MergeNotSupportedError";class ot extends v{constructor(e){super(`
Automatic merge failed with one or more merge conflicts in the following files: $ {
e.toString()
}.Fix conflicts then commit the result.
`),this.code=this.name=ot.code,this.data={filepaths:e}}}ot.code="MergeConflictError";class at extends v{constructor(e){super(`
No name was provided
for $ {
e
}
in the argument or in the.git / config file.
`),this.code=this.name=at.code,this.data={role:e}}}at.code="MissingNameError";class st extends v{constructor(e){super(`
The
function requires a "${e}"
parameter but none was provided.
`),this.code=this.name=st.code,this.data={parameter:e}}}st.code="MissingParameterError";class ct extends v{constructor(e){super(`
There are multiple errors that were thrown by the method.Please refer to the "errors"
property to see more`),this.code=this.name=ct.code,this.data={errors:e},this.errors=e}}ct.code="MultipleGitError";class lt extends v{constructor(e,t){super(`
Expected "${e}"
but received "${t}".
`),this.code=this.name=lt.code,this.data={expected:e,actual:t}}}lt.code="ParseError";class ut extends v{constructor(e){let t="";"not-fast-forward"===e?t=" because it was not a simple fast-forward":"tag-exists"===e&&(t=" because tag already exists"),super(`
Push rejected$ {
t
}.Use "force: true"
to override.
`),this.code=this.name=ut.code,this.data={reason:e}}}ut.code="PushRejectedError";class pt extends v{constructor(e,t){super(`
Remote does not support the "${e}"
so the "${t}"
parameter cannot be used.
`),this.code=this.name=pt.code,this.data={capability:e,parameter:t}}}pt.code="RemoteCapabilityError";class dt extends v{constructor(e,t){super(`
Remote did not reply using the "smart"
HTTP protocol.Expected "001e# service=git-upload-pack"
but received: $ {
e
}
`),this.code=this.name=dt.code,this.data={preview:e,response:t}}}dt.code="SmartHttpError";class ft extends v{constructor(e,t,r){super(`
Git remote "${e}"
uses an unrecognized transport protocol: "${t}"
`),this.code=this.name=ft.code,this.data={url:e,transport:t,suggestion:r}}}ft.code="UnknownTransportError";class ht extends v{constructor(e){super(`
Cannot parse remote URL: "${e}"
`),this.code=this.name=ht.code,this.data={url:e}}}ht.code="UrlParseError";class $t extends v{constructor(){super(`
The operation was canceled.
`),this.code=this.name=$t.code,this.data={}}}$t.code="UserCanceledError";var mt=Object.freeze({__proto__:null,AlreadyExistsError:Ge,AmbiguousError:Ke,CheckoutConflictError:Xe,CommitNotFetchedError:Je,EmptyServerResponseError:Ze,FastForwardError:Ye,GitPushError:Qe,HttpError:et,InternalError:y,InvalidFilepathError:tt,InvalidOidError:pe,InvalidRefNameError:rt,MaxDepthError:nt,MergeNotSupportedError:it,MergeConflictError:ot,MissingNameError:at,MissingParameterError:st,MultipleGitError:ct,NoRefspecError:de,NotFoundError:le,ObjectTypeError:ue,ParseError:lt,PushRejectedError:ut,RemoteCapabilityError:pt,SmartHttpError:dt,UnknownTransportError:ft,UnsafeFilepathError:k,UrlParseError:ht,UserCanceledError:$t});function gt({name:e,email:t,timestamp:r,timezoneOffset:n}){return`
$ {
e
} < $ {
t
} > $ {
r
}
$ {
n = function(e) {
const t = function(e) {
return Math.sign(e) || (Object.is(e, -0) ? -1 : 1)
}(0 === (r = e) ? r : -r);
var r;
e = Math.abs(e);
const n = Math.floor(e / 60);
e -= 60 * n;
let i = String(n),
o = String(e);
return i.length < 2 && (i = "0" + i), o.length < 2 && (o = "0" + o), (-1 === t ? "-" : "+") + i + o
}(n)
}
`}function bt(e){return(e=(e=e.replace(/\r/g,"")).replace(/^\n+/,"")).replace(/\n+$/,"")+"\n"}function vt(e){const[,t,r,n,i]=e.match(/^(.*) <(.*)> (.*) (.*)$/);return{name:t,email:r,timestamp:Number(n),timezoneOffset:yt(i)}}function yt(e){let[,t,r,n]=e.match(/(\+|-)(\d\d)(\d\d)/);return n=("+"===t?1:-1)*(60*Number(r)+Number(n)),0===(i=n)?i:-i;var i}class kt{constructor(e){if("string"==typeof e)this._tag=e;else if(Buffer.isBuffer(e))this._tag=e.toString("utf8");else{if("object"!=typeof e)throw new y("invalid type passed to GitAnnotatedTag constructor");this._tag=kt.render(e)}}static from(e){return new kt(e)}static render(e){return`
object $ {
e.object
}\
ntype $ {
e.type
}\
ntag $ {
e.tag
}\
ntagger $ {
gt(e.tagger)
}\
n\ n$ {
e.message
}\
n$ {
e.gpgsig ? e.gpgsig : ""
}
`}justHeaders(){return this._tag.slice(0,this._tag.indexOf("\n\n"))}message(){const e=this.withoutSignature();return e.slice(e.indexOf("\n\n")+2)}parse(){return Object.assign(this.headers(),{message:this.message(),gpgsig:this.gpgsig()})}render(){return this._tag}headers(){const e=this.justHeaders().split("\n"),t=[];for(const r of e)" "===r[0]?t[t.length-1]+="\n"+r.slice(1):t.push(r);const r={};for(const e of t){const t=e.slice(0,e.indexOf(" ")),n=e.slice(e.indexOf(" ")+1);Array.isArray(r[t])?r[t].push(n):r[t]=n}return r.tagger&&(r.tagger=vt(r.tagger)),r.committer&&(r.committer=vt(r.committer)),r}withoutSignature(){const e=bt(this._tag);return-1===e.indexOf("\n-----BEGIN PGP SIGNATURE-----")?e:e.slice(0,e.lastIndexOf("\n-----BEGIN PGP SIGNATURE-----"))}gpgsig(){if(-1!==this._tag.indexOf("\n-----BEGIN PGP SIGNATURE-----"))return bt(this._tag.slice(this._tag.indexOf("-----BEGIN PGP SIGNATURE-----"),this._tag.indexOf("-----END PGP SIGNATURE-----")+"-----END PGP SIGNATURE-----".length))}payload(){return this.withoutSignature()+"\n"}toObject(){return Buffer.from(this._tag,"utf8")}static async sign(e,t,r){const n=e.payload();let{signature:i}=await t({payload:n,secretKey:r});i=bt(i);const o=n+i;return kt.from(o)}}function wt(e){return e.trim().split("\n").map((e=>" "+e)).join("\n")+"\n"}class _t{constructor(e){if("string"==typeof e)this._commit=e;else if(Buffer.isBuffer(e))this._commit=e.toString("utf8");else{if("object"!=typeof e)throw new y("invalid type passed to GitCommit constructor");this._commit=_t.render(e)}}static fromPayloadSignature({payload:e,signature:t}){const r=_t.justHeaders(e),n=_t.justMessage(e),i=bt(r+"\ngpgsig"+wt(t)+"\n"+n);return new _t(i)}static from(e){return new _t(e)}toObject(){return Buffer.from(this._commit,"utf8")}headers(){return this.parseHeaders()}message(){return _t.justMessage(this._commit)}parse(){return Object.assign({message:this.message()},this.headers())}static justMessage(e){return bt(e.slice(e.indexOf("\n\n")+2))}static justHeaders(e){return e.slice(0,e.indexOf("\n\n"))}parseHeaders(){const e=_t.justHeaders(this._commit).split("\n"),t=[];for(const r of e)" "===r[0]?t[t.length-1]+="\n"+r.slice(1):t.push(r);const r={parent:[]};for(const e of t){const t=e.slice(0,e.indexOf(" ")),n=e.slice(e.indexOf(" ")+1);Array.isArray(r[t])?r[t].push(n):r[t]=n}return r.author&&(r.author=vt(r.author)),r.committer&&(r.committer=vt(r.committer)),r}static renderHeaders(e){let t="";if(e.tree?t+=`
tree $ {
e.tree
}\
n`:t+=`
tree 4 b825dc642cb6eb9a060e54bf8d69288fbee4904\ n`,e.parent){if(void 0===e.parent.length)throw new y(`
commit 'parent'
property should be an array`);for(const r of e.parent)t+=`
parent $ {
r
}\
n`}return t+=`
author $ {
gt(e.author)
}\
n`,t+=`
committer $ {
gt(e.committer || e.author)
}\
n`,e.gpgsig&&(t+="gpgsig"+wt(e.gpgsig)),t}static render(e){return _t.renderHeaders(e)+"\n"+bt(e.message)}render(){return this._commit}withoutSignature(){const e=bt(this._commit);return-1===e.indexOf("\ngpgsig")?e:bt(e.slice(0,e.indexOf("\ngpgsig"))+"\n"+e.slice(e.indexOf("-----END PGP SIGNATURE-----\n")+"-----END PGP SIGNATURE-----\n".length))}isolateSignature(){return this._commit.slice(this._commit.indexOf("-----BEGIN PGP SIGNATURE-----"),this._commit.indexOf("-----END PGP SIGNATURE-----")+"-----END PGP SIGNATURE-----".length).split("\n").map((e=>e.replace(/^ /,""))).join("\n")}static async sign(e,t,r){const n=e.withoutSignature(),i=_t.justMessage(e._commit);let{signature:o}=await t({payload:n,secretKey:r});o=bt(o);const a=_t.justHeaders(e._commit)+"\n"+"gpgsig"+wt(o)+"\n"+i;return _t.from(a)}}async function xt({fs:e,cache:t,gitdir:r,oid:n}){if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n)return{tree:M.from([]),oid:n};const{type:i,object:o}=await He({fs:e,cache:t,gitdir:r,oid:n});if("tag"===i)return xt({fs:e,cache:t,gitdir:r,oid:n=kt.from(o).parse().object});if("commit"===i)return xt({fs:e,cache:t,gitdir:r,oid:n=_t.from(o).parse().tree});if("tree"!==i)throw new ue(n,i,"tree");return{tree:M.from(o),oid:n}}class Et{constructor({fs:e,gitdir:t,ref:r,cache:n}){this.fs=e,this.cache=n,this.gitdir=t,this.mapPromise=(async()=>{const n=new Map;let i;try{i=await Be.resolve({fs:e,gitdir:t,ref:r})}catch(e){e instanceof le&&(i="4b825dc642cb6eb9a060e54bf8d69288fbee4904")}const o=await xt({fs:e,cache:this.cache,gitdir:t,oid:i});return o.type="tree",o.mode="40000",n.set(".",o),n})();const i=this;this.ConstructEntry=class e{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return i.type(this)}async mode(){return i.mode(this)}async stat(){return i.stat(this)}async content(){return i.content(this)}async oid(){return i.oid(this)}}}async readdir(e){const t=e._fullpath,{fs:r,cache:n,gitdir:i}=this,o=await this.mapPromise,a=o.get(t);if(!a)throw new Error(`
No obj
for $ {
t
}
`);const s=a.oid;if(!s)throw new Error(`
No oid
for obj $ {
JSON.stringify(a)
}
`);if("tree"!==a.type)return null;const{type:c,object:l}=await He({fs:r,cache:n,gitdir:i,oid:s});if(c!==a.type)throw new ue(s,c,a.type);const u=M.from(l);for(const e of u)o.set(D(t,e.path),e);return u.entries().map((e=>D(t,e.path)))}async type(e){if(!1===e._type){const t=await this.mapPromise,{type:r}=t.get(e._fullpath);e._type=r}return e._type}async mode(e){if(!1===e._mode){const t=await this.mapPromise,{mode:r}=t.get(e._fullpath);e._mode=P(parseInt(r,8))}return e._mode}async stat(e){}async content(e){if(!1===e._content){const t=await this.mapPromise,{fs:r,cache:n,gitdir:i}=this,o=t.get(e._fullpath).oid,{type:a,object:s}=await He({fs:r,cache:n,gitdir:i,oid:o});e._content="blob"!==a?void 0:new Uint8Array(s)}return e._content}async oid(e){if(!1===e._oid){const t=(await this.mapPromise).get(e._fullpath);e._oid=t.oid}return e._oid}}function St({ref:e="HEAD"}){const t=Object.create(null);return Object.defineProperty(t,se,{value({fs:t,gitdir:r,cache:n}){return new Et({fs:t,gitdir:r,ref:e,cache:n})}}),Object.freeze(t),t}class Dt{constructor({fs:e,dir:t,gitdir:r,cache:n}){this.fs=e,this.cache=n,this.dir=t,this.gitdir=r;const i=this;this.ConstructEntry=class e{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return i.type(this)}async mode(){return i.mode(this)}async stat(){return i.stat(this)}async content(){return i.content(this)}async oid(){return i.oid(this)}}}async readdir(e){const t=e._fullpath,{fs:r,dir:n}=this,i=await r.readdir(D(n,t));return null===i?null:i.map((e=>D(t,e)))}async type(e){return!1===e._type&&await e.stat(),e._type}async mode(e){return!1===e._mode&&await e.stat(),e._mode}async stat(e){if(!1===e._stat){const{fs:t,dir:r}=this;let n=await t.lstat(`
$ {
r
}
/${e._fullpath}`);if(!n)throw new Error(`ENOENT: no such file or directory, lstat '${e._fullpath}'`);let i=n.isDirectory()?"tree":"blob";"blob"!==i||n.isFile()||n.isSymbolicLink()||(i="special"),e._type=i,n=F(n),e._mode=n.mode,-1===n.size&&e._actualSize&&(n.size=e._actualSize),e._stat=n}return e._stat}async content(e){if(!1===e._content){const{fs:t,dir:r}=this;if("tree"===await e.type())e._content=void 0;else{const n=await t.read(`${r}/$ {
e._fullpath
}
`);e._actualSize=n.length,e._stat&&-1===e._stat.size&&(e._stat.size=e._actualSize),e._content=new Uint8Array(n)}}return e._content}async oid(e){if(!1===e._oid){const{fs:t,gitdir:r,cache:n}=this;let i;await re.acquire({fs:t,gitdir:r,cache:n},(async function(t){const r=t.entriesMap.get(e._fullpath),n=await e.stat();!r||Y(n,r)?void 0===await e.content()?i=void 0:(i=await B(I.wrap({type:"blob",object:await e.content()})),r&&i===r.oid&&n.mode===r.mode&&Y(n,r)&&await t.insert({filepath:e._fullpath,stats:n,oid:i})):i=r.oid})),e._oid=i}return e._oid}}function Pt(){const e=Object.create(null);return Object.defineProperty(e,se,{value({fs:e,dir:t,gitdir:r,cache:n}){return new Dt({fs:e,dir:t,gitdir:r,cache:n})}}),Object.freeze(e),e}class Ct{static async isIgnored({fs:e,dir:t,gitdir:r=D(t,".git"),filepath:n}){if(".git"===ne(n))return!0;if("."===n)return!1;let i="";const o=D(r,"info","exclude");await e.exists(o)&&(i=await e.read(o,"utf8"));const a=[{gitignore:D(t,".gitignore"),filepath:n}],s=n.split("/").filter(Boolean);for(let e=1;e<s.length;e++){const r=s.slice(0,e).join("/"),n=s.slice(e).join("/");a.push({gitignore:D(t,r,".gitignore"),filepath:n})}let c=!1;for(const t of a){let r;try{r=await e.read(t.gitignore,"utf8")}catch(e){if("NOENT"===e.code)continue}const n=d()().add(i);n.add(r);const o=ie(t.filepath);if("."!==o&&n.ignores(o))return!0;c=c?!n.test(t.filepath).unignored:n.test(t.filepath).ignored}return c}}async function Ot(e,t){const r=await e.readdir(t);null==r?await e.rm(t):r.length?await Promise.all(r.map((r=>{const n=D(t,r);return e.lstat(n).then((t=>{if(t)return t.isDirectory()?Ot(e,n):e.rm(n)}))}))).then((()=>e.rmdir(t))):await e.rmdir(t)}class Ft{constructor(e){if(void 0!==e._original_unwrapped_fs)return e;const t=Object.getOwnPropertyDescriptor(e,"promises");t&&t.enumerable?(this._readFile=e.promises.readFile.bind(e.promises),this._writeFile=e.promises.writeFile.bind(e.promises),this._mkdir=e.promises.mkdir.bind(e.promises),e.promises.rm?this._rm=e.promises.rm.bind(e.promises):e.promises.rmdir.length>1?this._rm=e.promises.rmdir.bind(e.promises):this._rm=Ot.bind(null,this),this._rmdir=e.promises.rmdir.bind(e.promises),this._unlink=e.promises.unlink.bind(e.promises),this._stat=e.promises.stat.bind(e.promises),this._lstat=e.promises.lstat.bind(e.promises),this._readdir=e.promises.readdir.bind(e.promises),this._readlink=e.promises.readlink.bind(e.promises),this._symlink=e.promises.symlink.bind(e.promises)):(this._readFile=h()(e.readFile.bind(e)),this._writeFile=h()(e.writeFile.bind(e)),this._mkdir=h()(e.mkdir.bind(e)),e.rm?this._rm=h()(e.rm.bind(e)):e.rmdir.length>2?this._rm=h()(e.rmdir.bind(e)):this._rm=Ot.bind(null,this),this._rmdir=h()(e.rmdir.bind(e)),this._unlink=h()(e.unlink.bind(e)),this._stat=h()(e.stat.bind(e)),this._lstat=h()(e.lstat.bind(e)),this._readdir=h()(e.readdir.bind(e)),this._readlink=h()(e.readlink.bind(e)),this._symlink=h()(e.symlink.bind(e))),this._original_unwrapped_fs=e}async exists(e,t={}){try{return await this._stat(e),!0}catch(e){if("ENOENT"===e.code||"ENOTDIR"===e.code)return!1;throw console.log('Unhandled error in "FileSystem.exists()" function',e),e}}async read(e,t={}){try{let r=await this._readFile(e,t);return"string"!=typeof r&&(r=Buffer.from(r)),r}catch(e){return null}}async write(e,t,r={}){try{return void await this._writeFile(e,t,r)}catch(n){await this.mkdir(ie(e)),await this._writeFile(e,t,r)}}async mkdir(e,t=!1){try{return void await this._mkdir(e)}catch(r){if(null===r)return;if("EEXIST"===r.code)return;if(t)throw r;if("ENOENT"===r.code){const t=ie(e);if("."===t||"/"===t||t===e)throw r;await this.mkdir(t),await this.mkdir(e,!0)}}}async rm(e){try{await this._unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}async rmdir(e,t){try{t&&t.recursive?await this._rm(e,t):await this._rmdir(e)}catch(e){if("ENOENT"!==e.code)throw e}}async readdir(e){try{const t=await this._readdir(e);return t.sort(x),t}catch(e){return"ENOTDIR"===e.code?null:[]}}async readdirDeep(e){const t=await this._readdir(e);return(await Promise.all(t.map((async t=>{const r=e+"/"+t;return(await this._stat(r)).isDirectory()?this.readdirDeep(r):r})))).reduce(((e,t)=>e.concat(t)),[])}async lstat(e){try{return await this._lstat(e)}catch(e){if("ENOENT"===e.code)return null;throw e}}async readlink(e,t={encoding:"buffer"}){try{const r=await this._readlink(e,t);return Buffer.isBuffer(r)?r:Buffer.from(r)}catch(e){if("ENOENT"===e.code)return null;throw e}}async writelink(e,t){return this._symlink(t.toString("utf8"),e)}}let Rt=null;async function Bt(e){return null===Rt&&(Rt=function(){try{const e=new CompressionStream("deflate");if(new Blob([]).stream(),e)return!0}catch(e){}return!1}()),Rt?async function(e){const t=new CompressionStream("deflate"),r=new Blob([e]).stream().pipeThrough(t);return new Uint8Array(await new Response(r).arrayBuffer())}(e):u.a.deflate(e)}async function At({fs:e,gitdir:t,type:r,object:n,format:i="content",oid:o=void 0,dryRun:a=!1}){return"deflated"!==i&&("wrapped"!==i&&(n=I.wrap({type:r,object:n})),o=await B(n),n=Buffer.from(await Bt(n))),a||await async function({fs:e,gitdir:t,object:r,format:n,oid:i}){if("deflated"!==n)throw new y("GitObjectStoreLoose expects objects to write to be in deflated format");const o=`
$ {
t
}
/${`objects/$ {
i.slice(0, 2)
}
/${i.slice(2)}`}`;await e.exists(o)||await e.write(o,r)}({fs:e,gitdir:t,object:n,format:"deflated",oid:o}),o}function It(e,t){if(void 0===t)throw new st(e)}async function jt({fs:e,dir:t,gitdir:r=D(t,".git"),filepath:n,cache:i={},force:o=!1}){try{It("fs",e),It("dir",t),It("gitdir",r),It("filepath",n);const a=new Ft(e);await re.acquire({fs:a,gitdir:r,cache:i},(async e=>Nt({dir:t,gitdir:r,fs:a,filepath:n,index:e,force:o})))}catch(e){throw e.caller="git.add",e}}async function Nt({dir:e,gitdir:t,fs:r,filepath:n,index:i,force:o}){const a=(n=Array.isArray(n)?n:[n]).map((async n=>{if(!o&&await Ct.isIgnored({fs:r,dir:e,gitdir:t,filepath:n}))return;const a=await r.lstat(D(e,n));if(!a)throw new le(n);if(a.isDirectory()){const a=(await r.readdir(D(e,n))).map((a=>Nt({dir:e,gitdir:t,fs:r,filepath:[D(n,a)],index:i,force:o})));await Promise.all(a)}else{const o=a.isSymbolicLink()?await r.readlink(D(e,n)):await r.read(D(e,n));if(null===o)throw new le(n);const s=await At({fs:r,gitdir:t,type:"blob",object:o});await i.insert({filepath:n,stats:a,oid:s})}})),s=await Promise.allSettled(a),c=s.filter((e=>"rejected"===e.status)).map((e=>e.reason));if(c.length>1)throw new ct(c);if(1===c.length)throw c[0];return s.filter((e=>"fulfilled"===e.status&&e.value)).map((e=>e.value))}async function Tt({fs:e,cache:t,onSign:r,gitdir:n,message:i,author:o,committer:a,signingKey:s,dryRun:c=!1,noUpdateBranch:l=!1,ref:u,parent:p,tree:d}){return u||(u=await Be.resolve({fs:e,gitdir:n,ref:"HEAD",depth:2})),re.acquire({fs:e,gitdir:n,cache:t},(async function(t){const f=oe(t.entries).get(".");if(d||(d=await Lt({fs:e,gitdir:n,inode:f,dryRun:c})),p)p=await Promise.all(p.map((t=>Be.resolve({fs:e,gitdir:n,ref:t}))));else try{p=[await Be.resolve({fs:e,gitdir:n,ref:u})]}catch(e){p=[]}let h=_t.from({tree:d,parent:p,author:o,committer:a,message:i});s&&(h=await _t.sign(h,r,s));const $=await At({fs:e,gitdir:n,type:"commit",object:h.toObject(),dryRun:c});return l||c||await Be.writeRef({fs:e,gitdir:n,ref:u,value:$}),$}))}async function Lt({fs:e,gitdir:t,inode:r,dryRun:n}){const i=r.children;for(const r of i)"tree"===r.type&&(r.metadata.mode="040000",r.metadata.oid=await Lt({fs:e,gitdir:t,inode:r,dryRun:n}));const o=i.map((e=>({mode:e.metadata.mode,path:e.basename,oid:e.metadata.oid,type:e.type}))),a=M.from(o);return await At({fs:e,gitdir:t,type:"tree",object:a.toObject(),dryRun:n})}async function Mt({fs:e,cache:t,gitdir:r,oid:n,filepath:i}){if(i.startsWith("/
"))throw new tt("
leading - slash ");if(i.endsWith(" / "))throw new tt("
trailing - slash ");const o=n,a=await xt({fs:e,cache:t,gitdir:r,oid:n}),s=a.tree;if("
"===i)n=a.oid;else{const a=i.split(" / ");n=await Wt({fs:e,cache:t,gitdir:r,tree:s,pathArray:a,oid:o,filepath:i})}return n}async function Wt({fs:e,cache:t,gitdir:r,tree:n,pathArray:i,oid:o,filepath:a}){const s=i.shift();for(const c of n)if(c.path===s){if(0===i.length)return c.oid;{const{type:s,object:l}=await He({fs:e,cache:t,gitdir:r,oid:c.oid});if("
tree "!==s)throw new ue(o,s,"
blob ",a);return Wt({fs:e,cache:t,gitdir:r,tree:n=M.from(l),pathArray:i,oid:o,filepath:a})}}throw new le(`file or directory found at "
$ {
o
}: $ {
a
}
"`)}async function zt({fs:e,cache:t,gitdir:r,oid:n,filepath:i=void 0}){void 0!==i&&(n=await Mt({fs:e,cache:t,gitdir:r,oid:n,filepath:i}));const{tree:o,oid:a}=await xt({fs:e,cache:t,gitdir:r,oid:n});return{oid:a,tree:o.entries()}}async function Ut({fs:e,gitdir:t,tree:r}){const n=M.from(r).toObject();return await At({fs:e,gitdir:t,type:"
tree ",object:n,format:"
content "})}async function Vt({fs:e,gitdir:t,path:r}){return(await Oe.get({fs:e,gitdir:t})).get(r)}async function qt({fs:e,gitdir:t,author:r={}}){let{name:n,email:i,timestamp:o,timezoneOffset:a}=r;if(n=n||await Vt({fs:e,gitdir:t,path:"
user.name "}),i=i||await Vt({fs:e,gitdir:t,path:"
user.email "})||"
",void 0!==n)return o=null!=o?o:Math.floor(Date.now()/1e3),a=null!=a?a:new Date(1e3*o).getTimezoneOffset(),{name:n,email:i,timestamp:o,timezoneOffset:a}}async function Ht({fs:e,gitdir:t,author:r,committer:n}){return n=Object.assign({},n||r),r&&(n.timestamp=n.timestamp||r.timestamp,n.timezoneOffset=n.timezoneOffset||r.timezoneOffset),await qt({fs:e,gitdir:t,author:n})}async function Gt({fs:e,onSign:t,dir:r,gitdir:n=D(r,".git "),ref:i="
refs / notes / commits ",oid:o,note:a,force:s,author:c,committer:l,signingKey:u,cache:p={}}){try{It("
fs ",e),It("
gitdir ",n),It("
oid ",o),It("
note ",a),u&&It("
onSign ",t);const r=new Ft(e),d=await qt({fs:r,gitdir:n,author:c});if(!d)throw new at("
author ");const f=await Ht({fs:r,gitdir:n,author:d,committer:l});if(!f)throw new at("
committer ");return await async function({fs:e,cache:t,onSign:r,gitdir:n,ref:i,oid:o,note:a,force:s,author:c,committer:l,signingKey:u}){let p;try{p=await Be.resolve({gitdir:n,fs:e,ref:i})}catch(e){if(!(e instanceof le))throw e}let d=(await zt({fs:e,cache:t,gitdir:n,oid:p||"
4 b825dc642cb6eb9a060e54bf8d69288fbee4904 "})).tree;if(s)d=d.filter((e=>e.path!==o));else for(const e of d)if(e.path===o)throw new Ge("
note ",o);"
string "==typeof a&&(a=Buffer.from(a,"
utf8 "));const f=await At({fs:e,gitdir:n,type:"
blob ",object:a,format:"
content "});d.push({mode:"
100644 ",path:o,oid:f,type:"
blob "});const h=await Ut({fs:e,gitdir:n,tree:d});return await Tt({fs:e,cache:t,onSign:r,gitdir:n,ref:i,tree:h,parent:p&&[p],message:`Note added by 'isomorphic-git addNote'\n`,author:c,committer:l,signingKey:u})}({fs:new Ft(r),cache:p,onSign:t,gitdir:n,ref:i,oid:o,note:a,force:s,author:d,committer:f,signingKey:u})}catch(e){throw e.caller="
git.addNote ",e}}async function Kt({fs:e,gitdir:t,remote:r,url:n,force:i}){if(r!==m.a.clean(r))throw new rt(r,m.a.clean(r));const o=await Oe.get({fs:e,gitdir:t});if(!i&&(await o.getSubsections("
remote ")).includes(r)&&n!==await o.get(`remote.${r}.url`))throw new Ge("
remote ",r);await o.set(`remote.${r}.url`,n),await o.set(`remote.${r}.fetch`,`+refs/heads/*:refs/remotes/${r}/*`),await Oe.save({fs:e,gitdir:t,config:o})}async function Xt({fs:e,dir:t,gitdir:r=D(t,".git "),remote:n,url:i,force:o=!1}){try{return It("
fs ",e),It("
gitdir ",r),It("
remote ",n),It("
url ",i),await Kt({fs:new Ft(e),gitdir:r,remote:n,url:i,force:o})}catch(e){throw e.caller="
git.addRemote ",e}}async function Jt({fs:e,onSign:t,dir:r,gitdir:n=D(r,".git "),ref:i,tagger:o,message:a=i,gpgsig:s,object:c,signingKey:l,force:u=!1,cache:p={}}){try{It("
fs ",e),It("
gitdir ",n),It("
ref ",i),l&&It("
onSign ",t);const r=new Ft(e),d=await qt({fs:r,gitdir:n,author:o});if(!d)throw new at("
tagger ");return await async function({fs:e,cache:t,onSign:r,gitdir:n,ref:i,tagger:o,message:a=i,gpgsig:s,object:c,signingKey:l,force:u=!1}){if(i=i.startsWith("
refs / tags / ")?i:`refs/tags/${i}`,!u&&await Be.exists({fs:e,gitdir:n,ref:i}))throw new Ge("
tag ",i);const p=await Be.resolve({fs:e,gitdir:n,ref:c||"
HEAD "}),{type:d}=await He({fs:e,cache:t,gitdir:n,oid:p});let f=kt.from({object:p,type:d,tag:i.replace("
refs / tags / ","
"),tagger:o,message:a,gpgsig:s});l&&(f=await kt.sign(f,r,l));const h=await At({fs:e,gitdir:n,type:"
tag ",object:f.toObject()});await Be.writeRef({fs:e,gitdir:n,ref:i,value:h})}({fs:r,cache:p,onSign:t,gitdir:n,ref:i,tagger:d,message:a,gpgsig:s,object:c,signingKey:l,force:u})}catch(e){throw e.caller="
git.annotatedTag ",e}}async function Zt({fs:e,dir:t,gitdir:r=D(t,".git "),ref:n,checkout:i=!1}){try{return It("
fs ",e),It("
gitdir ",r),It("
ref ",n),await async function({fs:e,gitdir:t,ref:r,checkout:n=!1}){if(r!==m.a.clean(r))throw new rt(r,m.a.clean(r));const i=`refs/heads/${r}`;if(await Be.exists({fs:e,gitdir:t,ref:i}))throw new Ge("
branch ",r,!1);let o;try{o=await Be.resolve({fs:e,gitdir:t,ref:"
HEAD "})}catch(e){}o&&await Be.writeRef({fs:e,gitdir:t,ref:i,value:o}),n&&await Be.writeSymbolicRef({fs:e,gitdir:t,ref:"
HEAD ",value:i})}({fs:new Ft(e),gitdir:r,ref:n,checkout:i})}catch(e){throw e.caller="
git.branch ",e}}const Yt=void 0===[].flat?e=>e.reduce(((e,t)=>e.concat(t)),[]):e=>e.flat();class Qt{constructor(){this.value=null}consider(e){null!=e&&(null===this.value||e<this.value)&&(this.value=e)}reset(){this.value=null}}function*er(e){const t=new Qt;let r;const n=[],i=e.length;for(let r=0;r<i;r++)n[r]=e[r].next().value,void 0!==n[r]&&t.consider(n[r]);if(null!==t.value)for(;1;){const o=[];r=t.value,t.reset();for(let a=0;a<i;a++)void 0!==n[a]&&n[a]===r?(o[a]=n[a],n[a]=e[a].next().value):o[a]=null,void 0!==n[a]&&t.consider(n[a]);if(yield o,null===t.value)return}}async function tr({fs:e,cache:t,dir:r,gitdir:n,trees:i,map:o=(async(e,t)=>t),reduce:a=(async(e,t)=>{const r=Yt(t);return void 0!==e&&r.unshift(e),r}),iterate:s=((e,t)=>Promise.all([...t].map(e)))}){const c=i.map((i=>i[se]({fs:e,dir:r,gitdir:n,cache:t}))),l=new Array(c.length).fill(".
"),u=function(e,t){const r=t-e;return Array.from({length:r},((t,r)=>e+r))}(0,c.length),p=async e=>{const{entries:t,children:r}=await(async e=>{u.map((t=>{e[t]=e[t]&&new c[t].ConstructEntry(e[t])}));const t=(await Promise.all(u.map((t=>e[t]?c[t].readdir(e[t]):[])))).map((e=>null===e?[]:e)).map((e=>e[Symbol.iterator]()));return{entries:e,children:er(t)}})(e),n=t.find((e=>e&&e._fullpath))._fullpath,i=await o(n,t);if(null!==i){let e=await s(p,r);return e=e.filter((e=>void 0!==e)),a(i,e)}};return p(l)}const rr=(e,t)=>".
"===e||null==t||0===t.length||".
"===t||(t.length>=e.length?t.startsWith(e):e.startsWith(t));async function nr({fs:e,cache:t,onProgress:r,dir:n,gitdir:i,remote:o,ref:a,filepaths:s,noCheckout:c,noUpdateHead:l,dryRun:u,force:p,track:d=!0}){let f;try{f=await Be.resolve({fs:e,gitdir:i,ref:a})}catch(t){if("
HEAD "===a)throw t;const r=`${o}/${a}`;if(f=await Be.resolve({fs:e,gitdir:i,ref:r}),d){const t=await Oe.get({fs:e,gitdir:i});await t.set(`branch.${a}.remote`,o),await t.set(`branch.${a}.merge`,`refs/heads/${a}`),await Oe.save({fs:e,gitdir:i,config:t})}await Be.writeRef({fs:e,gitdir:i,ref:`refs/heads/${a}`,value:f})}if(!c){let o;try{o=await async function({fs:e,cache:t,onProgress:r,dir:n,gitdir:i,ref:o,force:a,filepaths:s}){let c=0;return tr({fs:e,cache:t,dir:n,gitdir:i,trees:[St({ref:o}),Pt(),ce()],async map(e,[t,n,i]){if(".
"!==e){if(s&&!s.some((t=>rr(e,t))))return null;switch(r&&await r({phase:"
Analyzing workdir ",loaded:++c}),[!!i,!!t,!!n].map(Number).join("
")){case"
000 ":return;case"
001 ":return a&&s&&s.includes(e)?["
delete ",e]:void 0;case"
010 ":switch(await t.type()){case"
tree ":return["
mkdir ",e];case"
blob ":return["
create ",e,await t.oid(),await t.mode()];case"
commit ":return["
mkdir - index ",e,await t.oid(),await t.mode()];default:return["
error ",`new entry Unhandled type ${await t.type()}`]}case"
011 ":switch(`${await t.type()}-${await n.type()}`){case"
tree - tree ":return;case"
tree - blob ":case"
blob - tree ":return["
conflict ",e];case"
blob - blob ":return await t.oid()!==await n.oid()?a?["
update ",e,await t.oid(),await t.mode(),await t.mode()!==await n.mode()]:["
conflict ",e]:await t.mode()!==await n.mode()?a?["
update ",e,await t.oid(),await t.mode(),!0]:["
conflict ",e]:["
create - index ",e,await t.oid(),await t.mode()];case"
commit - tree ":return;case"
commit - blob ":return["
conflict ",e];default:return["
error ",`new entry Unhandled type ${t.type}`]}case"
100 ":return["
delete - index ",e];case"
101 ":switch(await i.type()){case"
tree ":return["
rmdir ",e];case"
blob ":return await i.oid()!==await n.oid()?a?["
delete ",e]:["
conflict ",e]:["
delete ",e];case"
commit ":return["
rmdir - index ",e];default:return["
error ",`delete entry Unhandled type ${await i.type()}`]}case"
110 ":case"
111 ":switch(`${await i.type()}-${await t.type()}`){case"
tree - tree ":return;case"
blob - blob ":if(await i.oid()===await t.oid()&&await i.mode()===await t.mode()&&!a)return;if(n){if(await n.oid()!==await i.oid()&&await n.oid()!==await t.oid())return a?["
update ",e,await t.oid(),await t.mode(),await t.mode()!==await n.mode()]:["
conflict ",e]}else if(a)return["
update ",e,await t.oid(),await t.mode(),await t.mode()!==await i.mode()];return await t.mode()!==await i.mode()?["
update ",e,await t.oid(),await t.mode(),!0]:await t.oid()!==await i.oid()?["
update ",e,await t.oid(),await t.mode(),!1]:void 0;case"
tree - blob ":return["
update - dir - to - blob ",e,await t.oid()];case"
blob - tree ":return["
update - blob - to - tree ",e];case"
commit - commit ":return["
mkdir - index ",e,await t.oid(),await t.mode()];default:return["
error ",`update entry Unhandled type ${await i.type()}-${await t.type()}`]}}}},async reduce(e,t){return t=Yt(t),e?e&&"
rmdir "===e[0]?(t.push(e),t):(t.unshift(e),t):t}})}({fs:e,cache:t,onProgress:r,dir:n,gitdir:i,ref:a,force:p,filepaths:s})}catch(e){throw e instanceof le&&e.data.what===f?new Je(a,f):e}const c=o.filter((([e])=>"
conflict "===e)).map((([e,t])=>t));if(c.length>0)throw new Xe(c);const l=o.filter((([e])=>"
error "===e)).map((([e,t])=>t));if(l.length>0)throw new y(l.join(", "));if(u)return;let d=0;const h=o.length;await re.acquire({fs:e,gitdir:i,cache:t},(async function(t){await Promise.all(o.filter((([e])=>"
delete "===e||"
delete - index "===e)).map((async function([i,o]){const a=`${n}/${o}`;"
delete "===i&&await e.rm(a),await t.delete({filepath:o}),r&&await r({phase:"
Updating workdir ",loaded:++d,total:h})})))})),await re.acquire({fs:e,gitdir:i,cache:t},(async function(t){for(const[i,a]of o)if("
rmdir "===i||"
rmdir - index "===i){const o=`${n}/${a}`;try{"
rmdir - index "===i&&await t.delete({filepath:a}),await e.rmdir(o),r&&await r({phase:"
Updating workdir ",loaded:++d,total:h})}catch(e){if("
ENOTEMPTY "!==e.code)throw e;console.log(`Did not delete ${a} because directory is not empty`)}}})),await Promise.all(o.filter((([e])=>"
mkdir "===e||"
mkdir - index "===e)).map((async function([t,i]){const o=`${n}/${i}`;await e.mkdir(o),r&&await r({phase:"
Updating workdir ",loaded:++d,total:h})}))),await re.acquire({fs:e,gitdir:i,cache:t},(async function(a){await Promise.all(o.filter((([e])=>"
create "===e||"
create - index "===e||"
update "===e||"
mkdir - index "===e)).map((async function([o,s,c,l,u]){const p=`${n}/${s}`;try{if("
create - index "!==o&&"
mkdir - index "!==o){const{object:r}=await He({fs:e,cache:t,gitdir:i,oid:c});if(u&&await e.rm(p),33188===l)await e.write(p,r);else if(33261===l)await e.write(p,r,{mode:511});else{if(40960!==l)throw new y(`Invalid mode 0o${l.toString(8)} detected in blob ${c}`);await e.writelink(p,r)}}const n=await e.lstat(p);33261===l&&(n.mode=493),"
mkdir - index "===o&&(n.mode=57344),await a.insert({filepath:s,stats:n,oid:c}),r&&await r({phase:"
Updating workdir ",loaded:++d,total:h})}catch(e){console.log(e)}})))}))}if(!l){const t=await Be.expand({fs:e,gitdir:i,ref:a});t.startsWith("
refs / heads ")?await Be.writeSymbolicRef({fs:e,gitdir:i,ref:"
HEAD ",value:t}):await Be.writeRef({fs:e,gitdir:i,ref:"
HEAD ",value:f})}}async function ir({fs:e,onProgress:t,dir:r,gitdir:n=D(r,".git "),remote:i="
origin ",ref:o,filepaths:a,noCheckout:s=!1,noUpdateHead:c=void 0===o,dryRun:l=!1,force:u=!1,track:p=!0,cache:d={}}){try{It("
fs ",e),It("
dir ",r),It("
gitdir ",n);const f=o||"
HEAD ";return await nr({fs:new Ft(e),cache:d,onProgress:t,dir:r,gitdir:n,remote:i,ref:f,filepaths:a,noCheckout:s,noUpdateHead:c,dryRun:l,force:u,track:p})}catch(e){throw e.caller="
git.checkout ",e}}const or=new RegExp(" ^ refs / (heads / | tags / | remotes / ) ? (.*)
");function ar(e){const t=or.exec(e);return t?"
remotes / "===t[1]&&e.endsWith(" / HEAD ")?t[2].slice(0,-5):t[2]:e}async function sr({fs:e,gitdir:t,fullname:r=!1,test:n=!1}){const i=await Be.resolve({fs:e,gitdir:t,ref:"
HEAD ",depth:2});if(n)try{await Be.resolve({fs:e,gitdir:t,ref:i})}catch(e){return}if(i.startsWith("
refs / "))return r?i:ar(i)}function cr({username:e="
",password:t="
"}){return`Basic ${Buffer.from(`${e}:${t}`).toString("
base64 ")}`}async function lr(e,t){const r=Ne(e);for(;1;){const{value:e,done:n}=await r.next();if(e&&await t(e),n)break}r.return&&r.return()}async function ur(e){let t=0;const r=[];await lr(e,(e=>{r.push(e),t+=e.byteLength}));const n=new Uint8Array(t);let i=0;for(const e of r)n.set(e,i),i+=e.byteLength;return n}function pr(e){let t=e.match(/^https?:\/\/([^/]+)@/);if(null==t)return{url:e,auth:{}};t=t[1];const[r,n]=t.split(" : ");return{url:e=e.replace(`${t}@`,"
"),auth:{username:r,password:n}}}function dr(e,t){const r=t.toString(16);return"
0 ".repeat(e-r.length)+r}class fr{static flush(){return Buffer.from("
0000 ","
utf8 ")}static delim(){return Buffer.from("
0001 ","
utf8 ")}static encode(e){"
string "==typeof e&&(e=Buffer.from(e));const t=dr(4,e.length+4);return Buffer.concat([Buffer.from(t,"
utf8 "),e])}static streamReader(e){const t=new Te(e);return async function(){try{let e=await t.read(4);return null==e||(e=parseInt(e.toString("
utf8 "),16),0===e||1===e?null:await t.read(e-4)??!0)}catch(e){return console.log("
error ",e),!0}}}}async function hr(e){const t={};let r;for(;1&&(r=await e(),!0!==r);){if(null===r)continue;r=r.toString("
utf8 ").replace(/\n$/,"
");const e=r.indexOf(" = ");if(e>-1){const n=r.slice(0,e),i=r.slice(e+1);t[n]=i}else t[r]=!0}return{protocolVersion:2,capabilities2:t}}async function $r(e,{service:t}){const r=new Set,n=new Map,i=new Map,o=fr.streamReader(e);let a=await o();for(;null===a;)a=await o();if(!0===a)throw new Ze;if(a.includes("
version 2 "))return hr(o);if(a.toString("
utf8 ").replace(/\n$/,"
")!==`# service=${t}`)throw new lt(`# service=${t}\\n`,a.toString("
utf8 "));let s=await o();for(;null===s;)s=await o();if(!0===s)return{capabilities:r,refs:n,symrefs:i};if(s=s.toString("
utf8 "),s.includes("
version 2 "))return hr(o);const[c,l]=mr(s,"\
0 ","\\
x00 ");l.split("
").map((e=>r.add(e)));const[u,p]=mr(c,"
","
");for(n.set(p,u);1;){const e=await o();if(!0===e)break;if(null!==e){const[t,r]=mr(e.toString("
utf8 "),"
","
");n.set(r,t)}}for(const e of r)if(e.startsWith("
symref = ")){const t=e.match(/symref=([^:]+):(.*)/);3===t.length&&i.set(t[1],t[2])}return{protocolVersion:1,capabilities:r,refs:n,symrefs:i}}function mr(e,t,r){const n=e.trim().split(t);if(2!==n.length)throw new lt(`Two strings separated by '${r}'`,e.toString("
utf8 "));return n}const gr=(e,t)=>e.endsWith(" ? ")?`${e}${t}`:`${e}/${t.replace(/^https?:\/\//,"
")}`,br=(e,t)=>{(t.username||t.password)&&(e.Authorization=cr(t)),t.headers&&Object.assign(e,t.headers)},vr=async e=>{try{const t=Buffer.from(await ur(e.body)),r=t.toString("
utf8 ");return{preview:r.length<256?r:r.slice(0,256)+"...",response:r,data:t}}catch(e){return{}}};class yr{static async capabilities(){return["
discover ","
connect "]}static async discover({http:e,onProgress:t,onAuth:r,onAuthSuccess:n,onAuthFailure:i,corsProxy:o,service:a,url:s,headers:c,protocolVersion:l}){let{url:u,auth:p}=pr(s);const d=o?gr(o,u):u;let f,h;(p.username||p.password)&&(c.Authorization=cr(p)),2===l&&(c["
Git - Protocol "]="
version = 2 ");let $=!1;do{if(f=await e.request({onProgress:t,method:"
GET ",url:`${d}/info/refs?service=${a}`,headers:c}),h=!1,401===f.statusCode||203===f.statusCode){const e=$?i:r;if(e){if(p=await e(u,{...p,headers:{...c}}),p&&p.cancel)throw new $t;p&&(br(c,p),$=!0,h=!0)}}else 200===f.statusCode&&$&&n&&await n(u,p)}while(h);if(200!==f.statusCode){const{response:e}=await vr(f);throw new et(f.statusCode,f.statusMessage,e)}if(f.headers["
content - type "]===`application/x-${a}-advertisement`){const e=await $r(f.body,{service:a});return e.auth=p,e}{const{preview:e,response:t,data:r}=await vr(f);try{const e=await $r([r],{service:a});return e.auth=p,e}catch(r){throw new dt(e,t)}}}static async connect({http:e,onProgress:t,corsProxy:r,service:n,url:i,auth:o,body:a,headers:s}){const c=pr(i);c&&(i=c.url),r&&(i=gr(r,i)),s["
content - type "]=`application/x-${n}-request`,s.accept=`application/x-${n}-result`,br(s,o);const l=await e.request({onProgress:t,method:"
POST ",url:`${i}/${n}`,body:a,headers:s});if(200!==l.statusCode){const{response:e}=vr(l);throw new et(l.statusCode,l.statusMessage,e)}return l}}class kr{static getRemoteHelperFor({url:e}){const t=new Map;t.set("
http ",yr),t.set("
https ",yr);const r=function({url:e}){if(e.startsWith("
git @ "))return{transport:"
ssh ",address:e};const t=e.match(/(\w+)(:\/\/|::)(.*)/);return null!==t?" : //"===t[2]?{transport:t[1],address:t[0]}:"::"===t[2]?{transport:t[1],address:t[3]}:void 0:void 0}({url:e});if(!r)throw new ht(e);if(t.has(r.transport))return t.get(r.transport);throw new ft(e,r.transport,"ssh"===r.transport?function(e){return(e=e.replace(/^git@([^:]+):/,"https://$1/")).replace(/^ssh:\/\//,"https://")}(e):void 0)}}let wr=null;class _r{static async read({fs:e,gitdir:t}){null===wr&&(wr=new i.a);const r=D(t,"shallow"),n=new Set;return await wr.acquire(r,(async function(){const t=await e.read(r,{encoding:"utf8"});return null===t||""===t.trim()?n:void t.trim().split("\n").map((e=>n.add(e)))})),n}static async write({fs:e,gitdir:t,oids:r}){null===wr&&(wr=new i.a);const n=D(t,"shallow");if(r.size>0){const t=[...r].join("\n")+"\n";await wr.acquire(n,(async function(){await e.write(n,t,{encoding:"utf8"})}))}else await wr.acquire(n,(async function(){await e.rm(n)}))}}async function xr({fs:e,cache:t,gitdir:r,oid:n,format:i="content"}){let o=await async function({fs:e,gitdir:t,oid:r}){const n=`objects/${r.slice(0,2)}/${r.slice(2)}`;return e.exists(`${t}/${n}`)}({fs:e,gitdir:r,oid:n});return o||(o=await async function({fs:e,cache:t,gitdir:r,oid:n,getExternalRefDelta:i}){let o=await e.readdir(D(r,"objects/pack"));o=o.filter((e=>e.endsWith(".idx")));for(const a of o){const o=`${r}/objects/pack/${a}`,s=await qe({fs:e,cache:t,filename:o,getExternalRefDelta:i});if(s.error)throw new y(s.error);if(s.offsets.has(n))return!0}return!1}({fs:e,cache:t,gitdir:r,oid:n,getExternalRefDelta:n=>He({fs:e,cache:t,gitdir:r,oid:n})})),o}function Er(e,t){const r=e.map((e=>e.split("=",1)[0]));return t.filter((e=>{const t=e.split("=",1)[0];return r.includes(t)}))}const Sr="1.0.5",Dr="git/isomorphic-git@1.0.5";class Pr{constructor(){this._queue=[]}write(e){if(this._ended)throw Error("You cannot write to a FIFO that has already been ended!");if(this._waiting){const t=this._waiting;this._waiting=null,t({value:e})}else this._queue.push(e)}end(){if(this._ended=!0,this._waiting){const e=this._waiting;this._waiting=null,e({done:!0})}}destroy(e){this._ended=!0,this.error=e}async next(){if(this._queue.length>0)return{value:this._queue.shift()};if(this._ended)return{done:!0};if(this._waiting)throw Error("You cannot call read until the previous call to read has returned!");return new Promise((e=>{this._waiting=e}))}}function Cr(e){const t=e.indexOf("\r"),r=e.indexOf("\n");return-1===t&&-1===r?-1:-1===t?r+1:-1===r?t+1:r===t+1?r+1:Math.min(t,r)+1}function Or(e){const t=new Pr;let r="";return(async()=>{await lr(e,(e=>{for(e=e.toString("utf8"),r+=e;1;){const e=Cr(r);if(-1===e)break;t.write(r.slice(0,e)),r=r.slice(e)}})),r.length>0&&t.write(r),t.end()})(),t}class Fr{static demux(e){const t=fr.streamReader(e),r=new Pr,n=new Pr,i=new Pr,o=async function(){const e=await t();if(null===e)return o();if(!0===e)return r.end(),i.end(),void n.end();switch(e[0]){case 1:n.write(e.slice(1));break;case 2:i.write(e.slice(1));break;case 3:{const t=e.slice(1);return i.write(t),void n.destroy(new Error(t.toString("utf8")))}default:r.write(e.slice(0))}o()};return o(),{packetlines:r,packfile:n,progress:i}}}async function Rr({fs:e,cache:t,http:r,onProgress:n,onMessage:i,onAuth:o,onAuthSuccess:a,onAuthFailure:s,gitdir:c,ref:l,remoteRef:u,remote:p,url:d,corsProxy:f,depth:h=null,since:$=null,exclude:m=[],relative:g=!1,tags:b=!1,singleBranch:v=!1,headers:y={},prune:k=!1,pruneTags:w=!1}){const _=l||await sr({fs:e,gitdir:c,test:!0}),x=await Oe.get({fs:e,gitdir:c}),E=p||_&&await x.get(`branch.${_}.remote`)||"origin",S=d||await x.get(`remote.${E}.url`);if(void 0===S)throw new st("remote OR url");const P=u||_&&await x.get(`branch.${_}.merge`)||l||"HEAD";void 0===f&&(f=await x.get("http.corsProxy"));const C=kr.getRemoteHelperFor({url:S}),O=await C.discover({http:r,onAuth:o,onAuthSuccess:a,onAuthFailure:s,corsProxy:f,service:"git-upload-pack",url:S,headers:y,protocolVersion:1}),F=O.auth,R=O.refs;if(0===R.size)return{defaultBranch:null,fetchHead:null,fetchHeadDescription:null};if(null!==h&&!O.capabilities.has("shallow"))throw new pt("shallow","depth");if(null!==$&&!O.capabilities.has("deepen-since"))throw new pt("deepen-since","since");if(m.length>0&&!O.capabilities.has("deepen-not"))throw new pt("deepen-not","exclude");if(!0===g&&!O.capabilities.has("deepen-relative"))throw new pt("deepen-relative","relative");const{oid:B,fullref:A}=Be.resolveAgainstMap({ref:P,map:R});for(const e of R.keys())e===A||"HEAD"===e||e.startsWith("refs/heads/")||b&&e.startsWith("refs/tags/")||R.delete(e);const I=Er([...O.capabilities],["multi_ack_detailed","no-done","side-band-64k","ofs-delta",`agent=${Dr}`]);g&&I.push("deepen-relative");const j=v?[B]:R.values(),N=v?[_]:await Be.listRefs({fs:e,gitdir:c,filepath:`refs`});let T=[];for(let r of N)try{r=await Be.expand({fs:e,gitdir:c,ref:r});const n=await Be.resolve({fs:e,gitdir:c,ref:r});await xr({fs:e,cache:t,gitdir:c,oid:n})&&T.push(n)}catch(e){}T=[...new Set(T)];const L=await _r.read({fs:e,gitdir:c}),M=function({capabilities:e=[],wants:t=[],haves:r=[],shallows:n=[],depth:i=null,since:o=null,exclude:a=[]}){const s=[];t=[...new Set(t)];let c=` ${e.join(" ")}`;for(const e of t)s.push(fr.encode(`want ${e}${c}\n`)),c="";for(const e of n)s.push(fr.encode(`shallow ${e}\n`));null!==i&&s.push(fr.encode(`deepen ${i}\n`)),null!==o&&s.push(fr.encode(`deepen-since ${Math.floor(o.valueOf()/1e3)}\n`));for(const e of a)s.push(fr.encode(`deepen-not ${e}\n`));s.push(fr.flush());for(const e of r)s.push(fr.encode(`have ${e}\n`));return s.push(fr.encode(`done\n`)),s}({capabilities:I,wants:j,haves:T,shallows:O.capabilities.has("shallow")?[...L]:[],depth:h,since:$,exclude:m}),W=Buffer.from(await ur(M)),z=await C.connect({http:r,onProgress:n,corsProxy:f,service:"git-upload-pack",url:S,auth:F,body:[W],headers:y}),U=await async function(e){const{packetlines:t,packfile:r,progress:n}=Fr.demux(e),i=[],o=[],a=[];let s=!1,c=!1;return new Promise(((e,l)=>{lr(t,(t=>{const u=t.toString("utf8").trim();if(u.startsWith("shallow")){const e=u.slice(-41).trim();40!==e.length&&l(new pe(e)),i.push(e)}else if(u.startsWith("unshallow")){const e=u.slice(-41).trim();40!==e.length&&l(new pe(e)),o.push(e)}else if(u.startsWith("ACK")){const[,e,t]=u.split(" ");a.push({oid:e,status:t}),t||(c=!0)}else u.startsWith("NAK")&&(s=!0,c=!0);c&&e({shallows:i,unshallows:o,acks:a,nak:s,packfile:r,progress:n})}))}))}(z.body);z.headers&&(U.headers=z.headers);for(const r of U.shallows)if(!L.has(r))try{const{object:n}=await He({fs:e,cache:t,gitdir:c,oid:r}),i=new _t(n),o=await Promise.all(i.headers().parent.map((r=>xr({fs:e,cache:t,gitdir:c,oid:r}))));0===o.length||o.every((e=>e))||L.add(r)}catch(e){L.add(r)}for(const e of U.unshallows)L.delete(e);if(await _r.write({fs:e,gitdir:c,oids:L}),v){const t=new Map([[A,B]]),r=new Map;let n=10,i=A;for(;n--;){const e=O.symrefs.get(i);if(void 0===e)break;r.set(i,e),i=e}const o=R.get(i);o&&t.set(i,o);const{pruned:a}=await Be.updateRemoteRefs({fs:e,gitdir:c,remote:E,refs:t,symrefs:r,tags:b,prune:k});k&&(U.pruned=a)}else{const{pruned:t}=await Be.updateRemoteRefs({fs:e,gitdir:c,remote:E,refs:R,symrefs:O.symrefs,tags:b,prune:k,pruneTags:w});k&&(U.pruned=t)}if(U.HEAD=O.symrefs.get("HEAD"),void 0===U.HEAD){const{oid:e}=Be.resolveAgainstMap({ref:"HEAD",map:R});for(const[t,r]of R.entries())if("HEAD"!==t&&r===e){U.HEAD=t;break}}const V=A.startsWith("refs/tags")?"tag":"branch";U.FETCH_HEAD={oid:B,description:`${V} '${ar(A)}' of ${S}`},(n||i)&&lr(Or(U.progress),(async e=>{if(i&&await i(e),n){const t=e.match(/([^:]*).*\((\d+?)\/(\d+?)\)/);t&&await n({phase:t[1].trim(),loaded:parseInt(t[2],10),total:parseInt(t[3],10)})}}));const q=Buffer.from(await ur(U.packfile)),H=q.slice(-20).toString("hex"),G={defaultBranch:U.HEAD,fetchHead:U.FETCH_HEAD.oid,fetchHeadDescription:U.FETCH_HEAD.description};if(U.headers&&(G.headers=U.headers),k&&(G.pruned=U.pruned),""!==H&&q.slice(0,12).toString("hex")!=="5041434b"+"00000002"+"00000000"){G.packfile=`objects/pack/pack-${H}.pack`;const r=D(c,G.packfile);await e.write(r,q);const i=r=>He({fs:e,cache:t,gitdir:c,oid:r}),o=await Ue.fromPack({pack:q,getExternalRefDelta:i,onProgress:n});await e.write(r.replace(/\.pack$/,".idx"),await o.toBuffer())}return G}async function Br({fs:e,bare:t=!1,dir:r,gitdir:n=(t?r:D(r,".git")),defaultBranch:i="master"}){if(await e.exists(n+"/config"))return;let o=["hooks","info","objects/info","objects/pack","refs/heads","refs/tags"];o=o.map((e=>n+"/"+e));for(const t of o)await e.mkdir(t);await e.write(n+"/config","[core]\n"+"\trepositoryformatversion = 0\n"+"\tfilemode = false\n"+`\tbare = ${t}\n`+(t?"":"\tlogallrefupdates = true\n")+"\tsymlinks = false\n"+"\tignorecase = true\n"),await e.write(n+"/HEAD",`ref: refs/heads/${i}\n`)}async function Ar({fs:e,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c=D(s,".git"),url:l,corsProxy:u=void 0,ref:p=void 0,remote:d="origin",depth:f=void 0,since:h=void 0,exclude:$=[],relative:m=!1,singleBranch:g=!1,noCheckout:b=!1,noTags:v=!1,headers:y={},cache:k={}}){try{return It("fs",e),It("http",t),It("gitdir",c),b||It("dir",s),It("url",l),await async function({fs:e,cache:t,http:r,onProgress:n,onMessage:i,onAuth:o,onAuthSuccess:a,onAuthFailure:s,dir:c,gitdir:l,url:u,corsProxy:p,ref:d,remote:f,depth:h,since:$,exclude:m,relative:g,singleBranch:b,noCheckout:v,noTags:y,headers:k}){try{if(await Br({fs:e,gitdir:l}),await Kt({fs:e,gitdir:l,remote:f,url:u,force:!1}),p){const t=await Oe.get({fs:e,gitdir:l});await t.set(`http.corsProxy`,p),await Oe.save({fs:e,gitdir:l,config:t})}const{defaultBranch:w,fetchHead:_}=await Rr({fs:e,cache:t,http:r,onProgress:n,onMessage:i,onAuth:o,onAuthSuccess:a,onAuthFailure:s,gitdir:l,ref:d,remote:f,corsProxy:p,depth:h,since:$,exclude:m,relative:g,singleBranch:b,headers:k,tags:!y});if(null===_)return;d=(d=d||w).replace("refs/heads/",""),await nr({fs:e,cache:t,onProgress:n,dir:c,gitdir:l,ref:d,remote:f,noCheckout:v})}catch(t){throw await e.rmdir(l,{recursive:!0,maxRetries:10}).catch((()=>{})),t}}({fs:new Ft(e),cache:k,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c,url:l,corsProxy:u,ref:p,remote:d,depth:f,since:h,exclude:$,relative:m,singleBranch:g,noCheckout:b,noTags:v,headers:y})}catch(e){throw e.caller="git.clone",e}}async function Ir({fs:e,onSign:t,dir:r,gitdir:n=D(r,".git"),message:i,author:o,committer:a,signingKey:s,dryRun:c=!1,noUpdateBranch:l=!1,ref:u,parent:p,tree:d,cache:f={}}){try{It("fs",e),It("message",i),s&&It("onSign",t);const r=new Ft(e),h=await qt({fs:r,gitdir:n,author:o});if(!h)throw new at("author");const $=await Ht({fs:r,gitdir:n,author:h,committer:a});if(!$)throw new at("committer");return await Tt({fs:r,cache:f,onSign:t,gitdir:n,message:i,author:h,committer:$,signingKey:s,dryRun:c,noUpdateBranch:l,ref:u,parent:p,tree:d})}catch(e){throw e.caller="git.commit",e}}async function jr({fs:e,dir:t,gitdir:r=D(t,".git"),fullname:n=!1,test:i=!1}){try{return It("fs",e),It("gitdir",r),await sr({fs:new Ft(e),gitdir:r,fullname:n,test:i})}catch(e){throw e.caller="git.currentBranch",e}}async function Nr({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n}){try{return It("fs",e),It("ref",n),await async function({fs:e,gitdir:t,ref:r}){if(!await Be.exists({fs:e,gitdir:t,ref:r}))throw new le(r);const n=await Be.expand({fs:e,gitdir:t,ref:r});if(n===await sr({fs:e,gitdir:t,fullname:!0})){const r=await Be.resolve({fs:e,gitdir:t,ref:n});await Be.writeRef({fs:e,gitdir:t,ref:"HEAD",value:r})}await Be.deleteRef({fs:e,gitdir:t,ref:n})}({fs:new Ft(e),gitdir:r,ref:n})}catch(e){throw e.caller="git.deleteBranch",e}}async function Tr({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n}){try{It("fs",e),It("ref",n),await Be.deleteRef({fs:new Ft(e),gitdir:r,ref:n})}catch(e){throw e.caller="git.deleteRef",e}}async function Lr({fs:e,dir:t,gitdir:r=D(t,".git"),remote:n}){try{return It("fs",e),It("remote",n),await async function({fs:e,gitdir:t,remote:r}){const n=await Oe.get({fs:e,gitdir:t});await n.deleteSection("remote",r),await Oe.save({fs:e,gitdir:t,config:n})}({fs:new Ft(e),gitdir:r,remote:n})}catch(e){throw e.caller="git.deleteRemote",e}}async function Mr({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n}){try{return It("fs",e),It("ref",n),await async function({fs:e,gitdir:t,ref:r}){r=r.startsWith("refs/tags/")?r:`refs/tags/${r}`,await Be.deleteRef({fs:e,gitdir:t,ref:r})}({fs:new Ft(e),gitdir:r,ref:n})}catch(e){throw e.caller="git.deleteTag",e}}async function Wr({fs:e,dir:t,gitdir:r=D(t,".git"),oid:n,cache:i={}}){try{return It("fs",e),It("gitdir",r),It("oid",n),await async function({fs:e,cache:t,gitdir:r,oid:n}){const i=await async function({fs:e,gitdir:t,oid:r}){const n=r.slice(0,2);return(await e.readdir(`${t}/objects/${n}`)).map((e=>`${n}${e}`)).filter((e=>e.startsWith(r)))}({fs:e,gitdir:r,oid:n}),o=await async function({fs:e,cache:t,gitdir:r,oid:n,getExternalRefDelta:i}){const o=[];let a=await e.readdir(D(r,"objects/pack"));a=a.filter((e=>e.endsWith(".idx")));for(const s of a){const a=`${r}/objects/pack/${s}`,c=await qe({fs:e,cache:t,filename:a,getExternalRefDelta:i});if(c.error)throw new y(c.error);for(const e of c.offsets.keys())e.startsWith(n)&&o.push(e)}return o}({fs:e,cache:t,gitdir:r,oid:n,getExternalRefDelta:n=>He({fs:e,cache:t,gitdir:r,oid:n})}),a=i.concat(o);if(1===a.length)return a[0];if(a.length>1)throw new Ke("oids",n,a);throw new le(`an object matching "${n}"`)}({fs:new Ft(e),cache:i,gitdir:r,oid:n})}catch(e){throw e.caller="git.expandOid",e}}async function zr({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n}){try{return It("fs",e),It("gitdir",r),It("ref",n),await Be.expand({fs:new Ft(e),gitdir:r,ref:n})}catch(e){throw e.caller="git.expandRef",e}}async function Ur({fs:e,cache:t,gitdir:r,oids:n}){const i={},o=n.length;let a=n.map(((e,t)=>({index:t,oid:e})));for(;a.length;){const n=new Set;for(const{oid:e,index:t}of a)i[e]||(i[e]=new Set),i[e].add(t),i[e].size===o&&n.add(e);if(n.size>0)return[...n];const s=new Map;for(const{oid:n,index:o}of a)try{const{object:a}=await He({fs:e,cache:t,gitdir:r,oid:n}),c=_t.from(a),{parent:l}=c.parseHeaders();for(const e of l)i[e]&&i[e].has(o)||s.set(e+":"+o,{oid:e,index:o})}catch(e){}a=Array.from(s.values())}return[]}const Vr=/^.*(\r?\n|$)/gm;function qr({branches:e,contents:t}){const r=e[1],n=e[2],i=t[0],o=t[1],a=t[2],s=o.match(Vr),c=i.match(Vr),l=a.match(Vr),u=b()(s,c,l),p=7;let d="",f=!0;for(const e of u)e.ok&&(d+=e.ok.join("")),e.conflict&&(f=!1,d+=`${"<".repeat(p)} ${r}\n`,d+=e.conflict.a.join(""),d+=`${"=".repeat(p)}\n`,d+=e.conflict.b.join(""),d+=`${">".repeat(p)} ${n}\n`);return{cleanMerge:f,mergedText:d}}async function Hr(e,t){return!(!e&&!t||(!e||t)&&(e||!t)&&("tree"===await e.type()&&"tree"===await t.type()||await e.type()===await t.type()&&await e.mode()===await t.mode()&&await e.oid()===await t.oid()))}async function Gr({fs:e,cache:t,dir:r,gitdir:n,ours:i,theirs:o,fastForward:a=!0,fastForwardOnly:s=!1,dryRun:c=!1,noUpdateBranch:l=!1,abortOnConflict:u=!0,message:p,author:d,committer:f,signingKey:h,onSign:$,mergeDriver:m}){void 0===i&&(i=await sr({fs:e,gitdir:n,fullname:!0})),i=await Be.expand({fs:e,gitdir:n,ref:i}),o=await Be.expand({fs:e,gitdir:n,ref:o});const g=await Be.resolve({fs:e,gitdir:n,ref:i}),b=await Be.resolve({fs:e,gitdir:n,ref:o}),v=await Ur({fs:e,cache:t,gitdir:n,oids:[g,b]});if(1!==v.length)throw new it;const y=v[0];if(y===b)return{oid:g,alreadyMerged:!0};if(a&&y===g)return c||l||await Be.writeRef({fs:e,gitdir:n,ref:i,value:b}),{oid:b,fastForward:!0};{if(s)throw new Ye;const a=await async function({fs:e,cache:t,dir:r,gitdir:n=D(r,".git"),ourOid:i,baseOid:o,theirOid:a,ourName:s="ours",baseName:c="base",theirName:l="theirs",dryRun:u=!1,abortOnConflict:p=!0,mergeDriver:d}){const f=St({ref:i}),h=St({ref:o}),$=St({ref:a}),m=[];let g=!0;const b=await tr({fs:e,cache:t,dir:r,gitdir:n,trees:[f,h,$],async map(t,[r,i,o]){const a=ne(t);switch(`${await Hr(r,i)}-${await Hr(o,i)}`){case"false-false":return{mode:await i.mode(),path:a,oid:await i.oid(),type:await i.type()};case"false-true":return o?{mode:await o.mode(),path:a,oid:await o.oid(),type:await o.type()}:void 0;case"true-false":return r?{mode:await r.mode(),path:a,oid:await r.oid(),type:await r.type()}:void 0;case"true-true":if(r&&i&&o&&"blob"===await r.type()&&"blob"===await i.type()&&"blob"===await o.type())return async function({fs:e,gitdir:t,path:r,ours:n,base:i,theirs:o,ourName:a,theirName:s,baseName:c,dryRun:l,mergeDriver:u=qr}){const p="blob",d=await i.mode()===await n.mode()?await o.mode():await n.mode();if(await n.oid()===await o.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:r,oid:await n.oid(),type:p}};if(await n.oid()===await i.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:r,oid:await o.oid(),type:p}};if(await o.oid()===await i.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:r,oid:await n.oid(),type:p}};const f=Buffer.from(await n.content()).toString("utf8"),h=Buffer.from(await i.content()).toString("utf8"),$=Buffer.from(await o.content()).toString("utf8"),{mergedText:m,cleanMerge:g}=await u({branches:[c,a,s],contents:[h,f,$],path:r});return{cleanMerge:g,mergeResult:{mode:d,path:r,oid:await At({fs:e,gitdir:t,type:"blob",object:Buffer.from(m,"utf8"),dryRun:l}),type:p}}}({fs:e,gitdir:n,path:a,ours:r,base:i,theirs:o,ourName:s,baseName:c,theirName:l,mergeDriver:d}).then((e=>(g=e.cleanMerge,m.push(t),e.mergeResult)));throw new it}},async reduce(t,r){const i=r.filter(Boolean);if(t&&(!t||"tree"!==t.type||0!==i.length)){if(i.length>0){const r=new M(i).toObject(),o=await At({fs:e,gitdir:n,type:"tree",object:r,dryRun:u});t.oid=o}return t}}});if(!g)throw r&&!p&&await tr({fs:e,cache:t,dir:r,gitdir:n,trees:[St({ref:b.oid})],async map(t,[n]){const i=`${r}/${t}`;if("blob"===await n.type()){const t=await n.mode(),r=(new TextDecoder).decode(await n.content());await e.write(i,r,{mode:t})}return!0}}),new ot(m);return b.oid}({fs:e,cache:t,dir:r,gitdir:n,ourOid:g,theirOid:b,baseOid:y,ourName:ar(i),baseName:"base",theirName:ar(o),dryRun:c,abortOnConflict:u,mergeDriver:m});return p||(p=`Merge branch '${ar(o)}' into ${ar(i)}`),{oid:await Tt({fs:e,cache:t,gitdir:n,message:p,ref:i,tree:a,parent:[g,b],author:d,committer:f,signingKey:h,onSign:$,dryRun:c,noUpdateBranch:l}),tree:a,mergeCommit:!0}}}async function Kr({fs:e,cache:t,http:r,onProgress:n,onMessage:i,onAuth:o,onAuthSuccess:a,onAuthFailure:s,dir:c,gitdir:l,ref:u,url:p,remote:d,remoteRef:f,fastForward:h,fastForwardOnly:$,corsProxy:m,singleBranch:g,headers:b,author:v,committer:y,signingKey:k}){try{if(!u){const t=await sr({fs:e,gitdir:l});if(!t)throw new st("ref");u=t}const{fetchHead:w,fetchHeadDescription:_}=await Rr({fs:e,cache:t,http:r,onProgress:n,onMessage:i,onAuth:o,onAuthSuccess:a,onAuthFailure:s,gitdir:l,corsProxy:m,ref:u,url:p,remote:d,remoteRef:f,singleBranch:g,headers:b});await Gr({fs:e,cache:t,gitdir:l,ours:u,theirs:w,fastForward:h,fastForwardOnly:$,message:`Merge ${_}`,author:v,committer:y,signingKey:k,dryRun:!1,noUpdateBranch:!1}),await nr({fs:e,cache:t,onProgress:n,dir:c,gitdir:l,ref:u,remote:d,noCheckout:!1})}catch(e){throw e.caller="git.pull",e}}async function Xr({fs:e,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c=D(s,".git"),ref:l,url:u,remote:p,remoteRef:d,corsProxy:f,singleBranch:h,headers:$={},cache:m={}}){try{It("fs",e),It("http",t),It("gitdir",c);const g={name:"",email:"",timestamp:Date.now(),timezoneOffset:0};return await Kr({fs:new Ft(e),cache:m,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c,ref:l,url:u,remote:p,remoteRef:d,fastForwardOnly:!0,corsProxy:f,singleBranch:h,headers:$,author:g,committer:g})}catch(e){throw e.caller="git.fastForward",e}}async function Jr({fs:e,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c=D(s,".git"),ref:l,remote:u,remoteRef:p,url:d,corsProxy:f,depth:h=null,since:$=null,exclude:m=[],relative:g=!1,tags:b=!1,singleBranch:v=!1,headers:y={},prune:k=!1,pruneTags:w=!1,cache:_={}}){try{return It("fs",e),It("http",t),It("gitdir",c),await Rr({fs:new Ft(e),cache:_,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,gitdir:c,ref:l,remote:u,remoteRef:p,url:d,corsProxy:f,depth:h,since:$,exclude:m,relative:g,tags:b,singleBranch:v,headers:y,prune:k,pruneTags:w})}catch(e){throw e.caller="git.fetch",e}}async function Zr({fs:e,dir:t,gitdir:r=D(t,".git"),oids:n,cache:i={}}){try{return It("fs",e),It("gitdir",r),It("oids",n),await Ur({fs:new Ft(e),cache:i,gitdir:r,oids:n})}catch(e){throw e.caller="git.findMergeBase",e}}async function Yr({fs:e,filepath:t}){if(await e.exists(D(t,".git")))return t;{const r=ie(t);if(r===t)throw new le(`git root for ${t}`);return Yr({fs:e,filepath:r})}}async function Qr({fs:e,filepath:t}){try{return It("fs",e),It("filepath",t),await Yr({fs:new Ft(e),filepath:t})}catch(e){throw e.caller="git.findRoot",e}}async function en({fs:e,dir:t,gitdir:r=D(t,".git"),path:n}){try{return It("fs",e),It("gitdir",r),It("path",n),await Vt({fs:new Ft(e),gitdir:r,path:n})}catch(e){throw e.caller="git.getConfig",e}}async function tn({fs:e,dir:t,gitdir:r=D(t,".git"),path:n}){try{return It("fs",e),It("gitdir",r),It("path",n),await async function({fs:e,gitdir:t,path:r}){return(await Oe.get({fs:e,gitdir:t})).getall(r)}({fs:new Ft(e),gitdir:r,path:n})}catch(e){throw e.caller="git.getConfigAll",e}}async function rn({http:e,onAuth:t,onAuthSuccess:r,onAuthFailure:n,corsProxy:i,url:o,headers:a={},forPush:s=!1}){try{It("http",e),It("url",o);const c=kr.getRemoteHelperFor({url:o}),l=await c.discover({http:e,onAuth:t,onAuthSuccess:r,onAuthFailure:n,corsProxy:i,service:s?"git-receive-pack":"git-upload-pack",url:o,headers:a,protocolVersion:1}),u={capabilities:[...l.capabilities]};for(const[e,t]of l.refs){const r=e.split("/"),n=r.pop();let i=u;for(const e of r)i[e]=i[e]||{},i=i[e];i[n]=t}for(const[e,t]of l.symrefs){const r=e.split("/"),n=r.pop();let i=u;for(const e of r)i[e]=i[e]||{},i=i[e];i[n]=t}return u}catch(e){throw e.caller="git.getRemoteInfo",e}}function nn(e,t,r,n){const i=[];for(const[o,a]of e.refs){if(t&&!o.startsWith(t))continue;if(o.endsWith("^{}")){if(n){const e=o.replace("^{}",""),t=i[i.length-1],r=t.ref===e?t:i.find((t=>t.ref===e));if(void 0===r)throw new Error("I did not expect this to happen");r.peeled=a}continue}const s={ref:o,oid:a};r&&e.symrefs.has(o)&&(s.target=e.symrefs.get(o)),i.push(s)}return i}async function on({http:e,onAuth:t,onAuthSuccess:r,onAuthFailure:n,corsProxy:i,url:o,headers:a={},forPush:s=!1,protocolVersion:c=2}){try{It("http",e),It("url",o);const l=kr.getRemoteHelperFor({url:o}),u=await l.discover({http:e,onAuth:t,onAuthSuccess:r,onAuthFailure:n,corsProxy:i,service:s?"git-receive-pack":"git-upload-pack",url:o,headers:a,protocolVersion:c});if(2===u.protocolVersion)return{protocolVersion:u.protocolVersion,capabilities:u.capabilities2};const p={};for(const e of u.capabilities){const[t,r]=e.split("=");p[t]=r||!0}return{protocolVersion:1,capabilities:p,refs:nn(u,void 0,!0,!0)}}catch(e){throw e.caller="git.getRemoteInfo2",e}}async function an({object:e}){try{It("object",e),e="string"==typeof e?Buffer.from(e,"utf8"):Buffer.from(e);const t="blob",{oid:r,object:n}=await async function({type:e,object:t,format:r="content",oid:n=void 0}){return"deflated"!==r&&("wrapped"!==r&&(t=I.wrap({type:e,object:t})),n=await B(t)),{oid:n,object:t}}({type:"blob",format:"content",object:e});return{oid:r,type:t,object:new Uint8Array(n),format:"wrapped"}}catch(e){throw e.caller="git.hashBlob",e}}async function sn({fs:e,onProgress:t,dir:r,gitdir:n=D(r,".git"),filepath:i,cache:o={}}){try{return It("fs",e),It("dir",r),It("gitdir",r),It("filepath",i),await async function({fs:e,cache:t,onProgress:r,dir:n,gitdir:i,filepath:o}){try{o=D(n,o);const a=await e.read(o),s=r=>He({fs:e,cache:t,gitdir:i,oid:r}),c=await Ue.fromPack({pack:a,getExternalRefDelta:s,onProgress:r});return await e.write(o.replace(/\.pack$/,".idx"),await c.toBuffer()),{oids:[...c.hashes]}}catch(e){throw e.caller="git.indexPack",e}}({fs:new Ft(e),cache:o,onProgress:t,dir:r,gitdir:n,filepath:i})}catch(e){throw e.caller="git.indexPack",e}}async function cn({fs:e,bare:t=!1,dir:r,gitdir:n=(t?r:D(r,".git")),defaultBranch:i="master"}){try{return It("fs",e),It("gitdir",n),t||It("dir",r),await Br({fs:new Ft(e),bare:t,dir:r,gitdir:n,defaultBranch:i})}catch(e){throw e.caller="git.init",e}}async function ln({fs:e,cache:t,gitdir:r,oid:n,ancestor:i,depth:o}){const a=await _r.read({fs:e,gitdir:r});if(!n)throw new st("oid");if(!i)throw new st("ancestor");if(n===i)return!1;const s=[n],c=new Set;let l=0;for(;s.length;){if(l++===o)throw new nt(o);const n=s.shift(),{type:u,object:p}=await He({fs:e,cache:t,gitdir:r,oid:n});if("commit"!==u)throw new ue(n,u,"commit");const d=_t.from(p).parse();for(const e of d.parent)if(e===i)return!0;if(!a.has(n))for(const e of d.parent)c.has(e)||(s.push(e),c.add(e))}return!1}async function un({fs:e,dir:t,gitdir:r=D(t,".git"),oid:n,ancestor:i,depth:o=-1,cache:a={}}){try{return It("fs",e),It("gitdir",r),It("oid",n),It("ancestor",i),await ln({fs:new Ft(e),cache:a,gitdir:r,oid:n,ancestor:i,depth:o})}catch(e){throw e.caller="git.isDescendent",e}}async function pn({fs:e,dir:t,gitdir:r=D(t,".git"),filepath:n}){try{return It("fs",e),It("dir",t),It("gitdir",r),It("filepath",n),Ct.isIgnored({fs:new Ft(e),dir:t,gitdir:r,filepath:n})}catch(e){throw e.caller="git.isIgnored",e}}async function dn({fs:e,dir:t,gitdir:r=D(t,".git"),remote:n}){try{return It("fs",e),It("gitdir",r),Be.listBranches({fs:new Ft(e),gitdir:r,remote:n})}catch(e){throw e.caller="git.listBranches",e}}async function fn({fs:e,gitdir:t,ref:r,cache:n}){if(r){const i=await Be.resolve({gitdir:t,fs:e,ref:r}),o=[];return await hn({fs:e,cache:n,gitdir:t,oid:i,filenames:o,prefix:""}),o}return re.acquire({fs:e,gitdir:t,cache:n},(async function(e){return e.entries.map((e=>e.path))}))}async function hn({fs:e,cache:t,gitdir:r,oid:n,filenames:i,prefix:o}){const{tree:a}=await zt({fs:e,cache:t,gitdir:r,oid:n});for(const n of a)"tree"===n.type?await hn({fs:e,cache:t,gitdir:r,oid:n.oid,filenames:i,prefix:D(o,n.path)}):i.push(D(o,n.path))}async function $n({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n,cache:i={}}){try{return It("fs",e),It("gitdir",r),await fn({fs:new Ft(e),cache:i,gitdir:r,ref:n})}catch(e){throw e.caller="git.listFiles",e}}async function mn({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n="refs/notes/commits",cache:i={}}){try{return It("fs",e),It("gitdir",r),It("ref",n),await async function({fs:e,cache:t,gitdir:r,ref:n}){let i;try{i=await Be.resolve({gitdir:r,fs:e,ref:n})}catch(e){if(e instanceof le)return[]}return(await zt({fs:e,cache:t,gitdir:r,oid:i})).tree.map((e=>({target:e.path,note:e.oid})))}({fs:new Ft(e),cache:i,gitdir:r,ref:n})}catch(e){throw e.caller="git.listNotes",e}}async function gn({fs:e,dir:t,gitdir:r=D(t,".git")}){try{return It("fs",e),It("gitdir",r),await async function({fs:e,gitdir:t}){const r=await Oe.get({fs:e,gitdir:t}),n=await r.getSubsections("remote");return Promise.all(n.map((async e=>({remote:e,url:await r.get(`remote.${e}.url`)}))))}({fs:new Ft(e),gitdir:r})}catch(e){throw e.caller="git.listRemotes",e}}async function bn({http:e,onAuth:t,onAuthSuccess:r,onAuthFailure:n,corsProxy:i,url:o,headers:a={},forPush:s=!1,protocolVersion:c=2,prefix:l,symrefs:u,peelTags:p}){try{It("http",e),It("url",o);const d=await yr.discover({http:e,onAuth:t,onAuthSuccess:r,onAuthFailure:n,corsProxy:i,service:s?"git-receive-pack":"git-upload-pack",url:o,headers:a,protocolVersion:c});if(1===d.protocolVersion)return nn(d,l,u,p);const f=await async function({prefix:e,symrefs:t,peelTags:r}){const n=[];return n.push(fr.encode("command=ls-refs\n")),n.push(fr.encode(`agent=${Dr}\n`)),(r||t||e)&&n.push(fr.delim()),r&&n.push(fr.encode("peel")),t&&n.push(fr.encode("symrefs")),e&&n.push(fr.encode(`ref-prefix ${e}`)),n.push(fr.flush()),n}({prefix:l,symrefs:u,peelTags:p});return async function(e){const t=fr.streamReader(e),r=[];let n;for(;1&&(n=await t(),!0!==n);){if(null===n)continue;n=n.toString("utf8").replace(/\n$/,"");const[e,t,...i]=n.split(" "),o={ref:t,oid:e};for(const e of i){const[t,r]=e.split(":");"symref-target"===t?o.target=r:"peeled"===t&&(o.peeled=r)}r.push(o)}return r}((await yr.connect({http:e,auth:d.auth,headers:a,corsProxy:i,service:s?"git-receive-pack":"git-upload-pack",url:o,body:f})).body)}catch(e){throw e.caller="git.listServerRefs",e}}async function vn({fs:e,dir:t,gitdir:r=D(t,".git")}){try{return It("fs",e),It("gitdir",r),Be.listTags({fs:new Ft(e),gitdir:r})}catch(e){throw e.caller="git.listTags",e}}async function yn({fs:e,cache:t,gitdir:r,oid:n}){const{type:i,object:o}=await He({fs:e,cache:t,gitdir:r,oid:n});if("tag"===i)return yn({fs:e,cache:t,gitdir:r,oid:n=kt.from(o).parse().object});if("commit"!==i)throw new ue(n,i,"commit");return{commit:_t.from(o),oid:n}}async function kn({fs:e,cache:t,gitdir:r,oid:n}){const{commit:i,oid:o}=await yn({fs:e,cache:t,gitdir:r,oid:n});return{oid:o,commit:i.parse(),payload:i.withoutSignature()}}function wn(e,t){return e.committer.timestamp-t.committer.timestamp}const _n="e69de29bb2d1d6434b8b29ae775ad8c2e48c5391";async function xn({fs:e,cache:t,gitdir:r,oid:n,fileId:i}){if(i===_n)return;const o=n;let a;const s=await xt({fs:e,cache:t,gitdir:r,oid:n}),c=s.tree;return i===s.oid?a=s.path:(a=await En({fs:e,cache:t,gitdir:r,tree:c,fileId:i,oid:o}),Array.isArray(a)&&(0===a.length?a=void 0:1===a.length&&(a=a[0]))),a}async function En({fs:e,cache:t,gitdir:r,tree:n,fileId:i,oid:o,filepaths:a=[],parentPath:s=""}){const c=n.entries().map((function(n){let c;return n.oid===i?(c=D(s,n.path),a.push(c)):"tree"===n.type&&(c=He({fs:e,cache:t,gitdir:r,oid:n.oid}).then((function({object:c}){return En({fs:e,cache:t,gitdir:r,tree:M.from(c),fileId:i,oid:o,filepaths:a,parentPath:D(s,n.path)})}))),c}));return await Promise.all(c),a}async function Sn({fs:e,dir:t,gitdir:r=D(t,".git"),filepath:n,ref:i="HEAD",depth:o,since:a,force:s,follow:c,cache:l={}}){try{return It("fs",e),It("gitdir",r),It("ref",i),await async function({fs:e,cache:t,gitdir:r,filepath:n,ref:i,depth:o,since:a,force:s,follow:c}){const l=void 0===a?void 0:Math.floor(a.valueOf()/1e3),u=[],p=await _r.read({fs:e,gitdir:r}),d=await Be.resolve({fs:e,gitdir:r,ref:i}),f=[await kn({fs:e,cache:t,gitdir:r,oid:d})];let h,$,m;function g(e){m&&n&&u.push(e)}for(;f.length>0;){const i=f.pop();if(void 0!==l&&i.commit.committer.timestamp<=l)break;if(n){let o;try{o=await Mt({fs:e,cache:t,gitdir:r,oid:i.commit.tree,filepath:n}),$&&h!==o&&u.push($),h=o,$=i,m=!0}catch(o){if(!(o instanceof le))throw o;{let a=c&&h;if(a&&(a=await xn({fs:e,cache:t,gitdir:r,oid:i.commit.tree,fileId:h}),a))if(Array.isArray(a)){if($){const i=await xn({fs:e,cache:t,gitdir:r,oid:$.commit.tree,fileId:h});if(Array.isArray(i)){if(a=a.filter((e=>-1===i.indexOf(e))),1!==a.length){a=!1,$&&u.push($);break}a=a[0],n=a,$&&u.push($)}}}else n=a,$&&u.push($);if(!a){if(m&&h&&(u.push($),!s))break;if(!s&&!c)throw o}$=i,m=!1}}}else u.push(i);if(void 0!==o&&u.length===o){g(i);break}if(!p.has(i.oid))for(const n of i.commit.parent){const i=await kn({fs:e,cache:t,gitdir:r,oid:n});f.map((e=>e.oid)).includes(i.oid)||f.push(i)}0===f.length&&g(i),f.sort(((e,t)=>wn(e.commit,t.commit)))}return u}({fs:new Ft(e),cache:l,gitdir:r,filepath:n,ref:i,depth:o,since:a,force:s,follow:c})}catch(e){throw e.caller="git.log",e}}async function Dn({fs:e,onSign:t,dir:r,gitdir:n=D(r,".git"),ours:i,theirs:o,fastForward:a=!0,fastForwardOnly:s=!1,dryRun:c=!1,noUpdateBranch:l=!1,abortOnConflict:u=!0,message:p,author:d,committer:f,signingKey:h,cache:$={},mergeDriver:m}){try{It("fs",e),h&&It("onSign",t);const g=new Ft(e),b=await qt({fs:g,gitdir:n,author:d});if(!(b||s&&a))throw new at("author");const v=await Ht({fs:g,gitdir:n,author:b,committer:f});if(!(v||s&&a))throw new at("committer");return await Gr({fs:g,cache:$,dir:r,gitdir:n,ours:i,theirs:o,fastForward:a,fastForwardOnly:s,dryRun:c,noUpdateBranch:l,abortOnConflict:u,message:p,author:b,committer:v,signingKey:h,onSign:t,mergeDriver:m})}catch(e){throw e.caller="git.merge",e}}const Pn={commit:16,tree:32,blob:48,tag:64,ofs_delta:96,ref_delta:112};async function Cn({fs:e,cache:t,dir:r,gitdir:n=D(r,".git"),oids:i}){const o=new a.a,s=[];function c(e,t){const r=Buffer.from(e,t);s.push(r),o.update(r)}async function l({stype:e,object:t}){const r=Pn[e];let n=t.length,i=n>15?128:0;const o=15&n;n>>>=4;let a=(i|r|o).toString(16);for(c(a,"hex");i;)i=n>127?128:0,a=i|127&n,c(dr(2,a),"hex"),n>>>=7;c(Buffer.from(await Bt(t)))}c("PACK"),c("00000002","hex"),c(dr(8,i.length),"hex");for(const r of i){const{type:i,object:o}=await He({fs:e,cache:t,gitdir:n,oid:r});await l({write:c,object:o,stype:i})}const u=o.digest();return s.push(u),s}async function On({fs:e,dir:t,gitdir:r=D(t,".git"),oids:n,write:i=!1,cache:o={}}){try{return It("fs",e),It("gitdir",r),It("oids",n),await async function({fs:e,cache:t,gitdir:r,oids:n,write:i}){const o=await Cn({fs:e,cache:t,gitdir:r,oids:n}),a=Buffer.from(await ur(o)),s=`pack-${a.slice(-20).toString("hex")}.pack`;return i?(await e.write(D(r,`objects/pack/${s}`),a),{filename:s}):{filename:s,packfile:new Uint8Array(a)}}({fs:new Ft(e),cache:o,gitdir:r,oids:n,write:i})}catch(e){throw e.caller="git.packObjects",e}}async function Fn({fs:e,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c=D(s,".git"),ref:l,url:u,remote:p,remoteRef:d,fastForward:f=!0,fastForwardOnly:h=!1,corsProxy:$,singleBranch:m,headers:g={},author:b,committer:v,signingKey:y,cache:k={}}){try{It("fs",e),It("gitdir",c);const w=new Ft(e),_=await qt({fs:w,gitdir:c,author:b});if(!_)throw new at("author");const x=await Ht({fs:w,gitdir:c,author:_,committer:v});if(!x)throw new at("committer");return await Kr({fs:w,cache:k,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c,ref:l,url:u,remote:p,remoteRef:d,fastForward:f,fastForwardOnly:h,corsProxy:$,singleBranch:m,headers:g,author:_,committer:x,signingKey:y})}catch(e){throw e.caller="git.pull",e}}async function Rn({fs:e,cache:t,dir:r,gitdir:n=D(r,".git"),oids:i}){const o=new Set;async function a(r){if(o.has(r))return;o.add(r);const{type:i,object:s}=await He({fs:e,cache:t,gitdir:n,oid:r});if("tag"===i){const e=kt.from(s).headers().object;await a(e)}else if("commit"===i){const e=_t.from(s).headers().tree;await a(e)}else if("tree"===i){const e=M.from(s);for(const t of e)"blob"===t.type&&o.add(t.oid),"tree"===t.type&&await a(t.oid)}}for(const e of i)await a(e);return o}async function Bn({fs:e,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:c=D(s,".git"),ref:l,remoteRef:u,remote:p="origin",url:d,force:f=!1,delete:h=!1,corsProxy:$,headers:m={},cache:g={}}){try{return It("fs",e),It("http",t),It("gitdir",c),await async function({fs:e,cache:t,http:r,onProgress:n,onMessage:i,onAuth:o,onAuthSuccess:a,onAuthFailure:s,gitdir:c,ref:l,remoteRef:u,remote:p,url:d,force:f=!1,delete:h=!1,corsProxy:$,headers:m={}}){const g=l||await sr({fs:e,gitdir:c});if(void 0===g)throw new st("ref");const b=await Oe.get({fs:e,gitdir:c});p=p||await b.get(`branch.${g}.pushRemote`)||await b.get("remote.pushDefault")||await b.get(`branch.${g}.remote`)||"origin";const v=d||await b.get(`remote.${p}.pushurl`)||await b.get(`remote.${p}.url`);if(void 0===v)throw new st("remote OR url");const y=u||await b.get(`branch.${g}.merge`);if(void 0===v)throw new st("remoteRef");void 0===$&&($=await b.get("http.corsProxy"));const k=await Be.expand({fs:e,gitdir:c,ref:g}),w=h?"0000000000000000000000000000000000000000":await Be.resolve({fs:e,gitdir:c,ref:k}),_=kr.getRemoteHelperFor({url:v}),x=await _.discover({http:r,onAuth:o,onAuthSuccess:a,onAuthFailure:s,corsProxy:$,service:"git-receive-pack",url:v,headers:m,protocolVersion:1}),E=x.auth;let S;if(y)try{S=await Be.expandAgainstMap({ref:y,map:x.refs})}catch(e){if(!(e instanceof le))throw e;S=y.startsWith("refs/")?y:`refs/heads/${y}`}else S=k;const P=x.refs.get(S)||"0000000000000000000000000000000000000000",C=!x.capabilities.has("no-thin");let O=new Set;if(!h){const r=[...x.refs.values()];let n=new Set;if("0000000000000000000000000000000000000000"!==P){const i=await Ur({fs:e,cache:t,gitdir:c,oids:[w,P]});for(const e of i)r.push(e);C&&(n=await Rn({fs:e,cache:t,gitdir:c,oids:i}))}if(!r.includes(w)){const n=await async function({fs:e,cache:t,dir:r,gitdir:n=D(r,".git"),start:i,finish:o}){const a=await _r.read({fs:e,gitdir:n}),s=new Set,c=new Set;for(const t of i)s.add(await Be.resolve({fs:e,gitdir:n,ref:t}));for(const t of o)try{const r=await Be.resolve({fs:e,gitdir:n,ref:t});c.add(r)}catch(e){}const l=new Set;async function u(r){l.add(r);const{type:i,object:o}=await He({fs:e,cache:t,gitdir:n,oid:r});if("tag"===i)return u(kt.from(o).headers().object);if("commit"!==i)throw new ue(r,i,"commit");if(!a.has(r)){const e=_t.from(o).headers().parent;for(r of e)c.has(r)||l.has(r)||await u(r)}}for(const e of s)await u(e);return l}({fs:e,cache:t,gitdir:c,start:[w],finish:r});O=await Rn({fs:e,cache:t,gitdir:c,oids:n})}if(C){try{const r=await Be.resolve({fs:e,gitdir:c,ref:`refs/remotes/${p}/HEAD`,depth:2}),{oid:i}=await Be.resolveAgainstMap({ref:r.replace(`refs/remotes/${p}/`,""),fullref:r,map:x.refs}),o=[i];for(const r of await Rn({fs:e,cache:t,gitdir:c,oids:o}))n.add(r)}catch(e){}for(const e of n)O.delete(e)}if(!f){if(k.startsWith("refs/tags")&&"0000000000000000000000000000000000000000"!==P)throw new ut("tag-exists");if("0000000000000000000000000000000000000000"!==w&&"0000000000000000000000000000000000000000"!==P&&!await ln({fs:e,cache:t,gitdir:c,oid:w,ancestor:P,depth:-1}))throw new ut("not-fast-forward")}}const F=Er([...x.capabilities],["report-status","side-band-64k",`agent=${Dr}`]),R=await async function({capabilities:e=[],triplets:t=[]}){const r=[];let n=`\0 ${e.join(" ")}`;for(const e of t)r.push(fr.encode(`${e.oldoid} ${e.oid} ${e.fullRef}${n}\n`)),n="";return r.push(fr.flush()),r}({capabilities:F,triplets:[{oldoid:P,oid:w,fullRef:S}]}),B=h?[]:await Cn({fs:e,cache:t,gitdir:c,oids:[...O]}),A=await _.connect({http:r,onProgress:n,corsProxy:$,service:"git-receive-pack",url:v,auth:E,headers:m,body:[...R,...B]}),{packfile:I,progress:j}=await Fr.demux(A.body);i&&lr(Or(j),(async e=>{await i(e)}));const N=await async function(e){const t={};let r="";const n=fr.streamReader(e);let i=await n();for(;!0!==i;)null!==i&&(r+=i.toString("utf8")+"\n"),i=await n();const o=r.toString("utf8").split("\n");if(i=o.shift(),!i.startsWith("unpack "))throw new lt('unpack ok" or "unpack [error message]',i);t.ok="unpack ok"===i,t.ok||(t.error=i.slice("unpack ".length)),t.refs={};for(const e of o){if(""===e.trim())continue;const r=e.slice(0,2),n=e.slice(3);let i=n.indexOf(" ");-1===i&&(i=n.length);const o=n.slice(0,i),a=n.slice(i+1);t.refs[o]={ok:"ok"===r,error:a}}return t}(I);if(A.headers&&(N.headers=A.headers),p&&N.ok&&N.refs[S].ok){const t=`refs/remotes/${p}/${S.replace("refs/heads","")}`;h?await Be.deleteRef({fs:e,gitdir:c,ref:t}):await Be.writeRef({fs:e,gitdir:c,ref:t,value:w})}if(N.ok&&Object.values(N.refs).every((e=>e.ok)))return N;{const e=Object.entries(N.refs).filter((([e,t])=>!t.ok)).map((([e,t])=>`\n - ${e}: ${t.error}`)).join("");throw new Qe(e,N)}}({fs:new Ft(e),cache:g,http:t,onProgress:r,onMessage:n,onAuth:i,onAuthSuccess:o,onAuthFailure:a,gitdir:c,ref:l,remoteRef:u,remote:p,url:d,force:f,delete:h,corsProxy:$,headers:m})}catch(e){throw e.caller="git.push",e}}async function An({fs:e,cache:t,gitdir:r,oid:n}){const{type:i,object:o}=await He({fs:e,cache:t,gitdir:r,oid:n});if("tag"===i)return An({fs:e,cache:t,gitdir:r,oid:n=kt.from(o).parse().object});if("blob"!==i)throw new ue(n,i,"blob");return{oid:n,blob:new Uint8Array(o)}}async function In({fs:e,cache:t,gitdir:r,oid:n,filepath:i=void 0}){return void 0!==i&&(n=await Mt({fs:e,cache:t,gitdir:r,oid:n,filepath:i})),await An({fs:e,cache:t,gitdir:r,oid:n})}async function jn({fs:e,dir:t,gitdir:r=D(t,".git"),oid:n,filepath:i,cache:o={}}){try{return It("fs",e),It("gitdir",r),It("oid",n),await In({fs:new Ft(e),cache:o,gitdir:r,oid:n,filepath:i})}catch(e){throw e.caller="git.readBlob",e}}async function Nn({fs:e,dir:t,gitdir:r=D(t,".git"),oid:n,cache:i={}}){try{return It("fs",e),It("gitdir",r),It("oid",n),await kn({fs:new Ft(e),cache:i,gitdir:r,oid:n})}catch(e){throw e.caller="git.readCommit",e}}async function Tn({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n="refs/notes/commits",oid:i,cache:o={}}){try{return It("fs",e),It("gitdir",r),It("ref",n),It("oid",i),await async function({fs:e,cache:t,gitdir:r,ref:n="refs/notes/commits",oid:i}){const o=await Be.resolve({gitdir:r,fs:e,ref:n}),{blob:a}=await In({fs:e,cache:t,gitdir:r,oid:o,filepath:i});return a}({fs:new Ft(e),cache:o,gitdir:r,ref:n,oid:i})}catch(e){throw e.caller="git.readNote",e}}async function Ln({fs:e,dir:t,gitdir:r=D(t,".git"),oid:n,format:i="parsed",filepath:o=void 0,encoding:a=void 0,cache:s={}}){try{It("fs",e),It("gitdir",r),It("oid",n);const t=new Ft(e);void 0!==o&&(n=await Mt({fs:t,cache:s,gitdir:r,oid:n,filepath:o}));const c="parsed"===i?"content":i,l=await He({fs:t,cache:s,gitdir:r,oid:n,format:c});if(l.oid=n,"parsed"===i)switch(l.format="parsed",l.type){case"commit":l.object=_t.from(l.object).parse();break;case"tree":l.object=M.from(l.object).entries();break;case"blob":a?l.object=l.object.toString(a):(l.object=new Uint8Array(l.object),l.format="content");break;case"tag":l.object=kt.from(l.object).parse();break;default:throw new ue(l.oid,l.type,"blob|commit|tag|tree")}else"deflated"!==l.format&&"wrapped"!==l.format||(l.type=l.format);return l}catch(e){throw e.caller="git.readObject",e}}async function Mn({fs:e,dir:t,gitdir:r=D(t,".git"),oid:n,cache:i={}}){try{return It("fs",e),It("gitdir",r),It("oid",n),await async function({fs:e,cache:t,gitdir:r,oid:n}){const{type:i,object:o}=await He({fs:e,cache:t,gitdir:r,oid:n,format:"content"});if("tag"!==i)throw new ue(n,i,"tag");const a=kt.from(o);return{oid:n,tag:a.parse(),payload:a.payload()}}({fs:new Ft(e),cache:i,gitdir:r,oid:n})}catch(e){throw e.caller="git.readTag",e}}async function Wn({fs:e,dir:t,gitdir:r=D(t,".git"),oid:n,filepath:i=void 0,cache:o={}}){try{return It("fs",e),It("gitdir",r),It("oid",n),await zt({fs:new Ft(e),cache:o,gitdir:r,oid:n,filepath:i})}catch(e){throw e.caller="git.readTree",e}}async function zn({fs:e,dir:t,gitdir:r=D(t,".git"),filepath:n,cache:i={}}){try{It("fs",e),It("gitdir",r),It("filepath",n),await re.acquire({fs:new Ft(e),gitdir:r,cache:i},(async function(e){await e.delete({filepath:n})}))}catch(e){throw e.caller="git.remove",e}}async function Un({fs:e,onSign:t,dir:r,gitdir:n=D(r,".git"),ref:i="refs/notes/commits",oid:o,author:a,committer:s,signingKey:c,cache:l={}}){try{It("fs",e),It("gitdir",n),It("oid",o);const r=new Ft(e),u=await qt({fs:r,gitdir:n,author:a});if(!u)throw new at("author");const p=await Ht({fs:r,gitdir:n,author:u,committer:s});if(!p)throw new at("committer");return await async function({fs:e,cache:t,onSign:r,gitdir:n,ref:i="refs/notes/commits",oid:o,author:a,committer:s,signingKey:c}){let l;try{l=await Be.resolve({gitdir:n,fs:e,ref:i})}catch(e){if(!(e instanceof le))throw e}let u=(await zt({fs:e,gitdir:n,oid:l||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;u=u.filter((e=>e.path!==o));const p=await Ut({fs:e,gitdir:n,tree:u});return await Tt({fs:e,cache:t,onSign:r,gitdir:n,ref:i,tree:p,parent:l&&[l],message:`Note removed by 'isomorphic-git removeNote'\n`,author:a,committer:s,signingKey:c})}({fs:r,cache:l,onSign:t,gitdir:n,ref:i,oid:o,author:u,committer:p,signingKey:c})}catch(e){throw e.caller="git.removeNote",e}}async function Vn({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n,oldref:i,checkout:o=!1}){try{return It("fs",e),It("gitdir",r),It("ref",n),It("oldref",i),await async function({fs:e,gitdir:t,oldref:r,ref:n,checkout:i=!1}){if(n!==m.a.clean(n))throw new rt(n,m.a.clean(n));if(r!==m.a.clean(r))throw new rt(r,m.a.clean(r));const o=`refs/heads/${r}`,a=`refs/heads/${n}`;if(await Be.exists({fs:e,gitdir:t,ref:a}))throw new Ge("branch",n,!1);const s=await Be.resolve({fs:e,gitdir:t,ref:o,depth:1});await Be.writeRef({fs:e,gitdir:t,ref:a,value:s}),await Be.deleteRef({fs:e,gitdir:t,ref:o}),i&&await Be.writeSymbolicRef({fs:e,gitdir:t,ref:"HEAD",value:a})}({fs:new Ft(e),gitdir:r,ref:n,oldref:i,checkout:o})}catch(e){throw e.caller="git.renameBranch",e}}async function qn({gitdir:e,type:t,object:r}){return B(I.wrap({type:t,object:r}))}async function Hn({fs:e,dir:t,gitdir:r=D(t,".git"),filepath:n,ref:i,cache:o={}}){try{It("fs",e),It("gitdir",r),It("filepath",n);const a=new Ft(e);let s,c;try{s=await Be.resolve({fs:a,gitdir:r,ref:i||"HEAD"})}catch(e){if(i)throw e}if(s)try{s=await Mt({fs:a,cache:o,gitdir:r,oid:s,filepath:n})}catch(e){s=null}let l={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:0,uid:0,gid:0,size:0};const u=t&&await a.read(D(t,n));u&&(c=await qn({gitdir:r,type:"blob",object:u}),s===c&&(l=await a.lstat(D(t,n)))),await re.acquire({fs:a,gitdir:r,cache:o},(async function(e){await e.delete({filepath:n}),s&&await e.insert({filepath:n,stats:l,oid:s})}))}catch(e){throw e.caller="git.reset",e}}async function Gn({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n,depth:i}){try{return It("fs",e),It("gitdir",r),It("ref",n),await Be.resolve({fs:new Ft(e),gitdir:r,ref:n,depth:i})}catch(e){throw e.caller="git.resolveRef",e}}async function Kn({fs:e,dir:t,gitdir:r=D(t,".git"),path:n,value:i,append:o=!1}){try{It("fs",e),It("gitdir",r),It("path",n);const t=new Ft(e),a=await Oe.get({fs:t,gitdir:r});o?await a.append(n,i):await a.set(n,i),await Oe.save({fs:t,gitdir:r,config:a})}catch(e){throw e.caller="git.setConfig",e}}async function Xn({fs:e,dir:t,gitdir:r=D(t,".git"),filepath:n,cache:i={}}){try{It("fs",e),It("gitdir",r),It("filepath",n);const o=new Ft(e);if(await Ct.isIgnored({fs:o,gitdir:r,dir:t,filepath:n}))return"ignored";const a=await async function({fs:e,cache:t,gitdir:r}){let n;try{n=await Be.resolve({fs:e,gitdir:r,ref:"HEAD"})}catch(e){if(e instanceof le)return[]}const{tree:i}=await zt({fs:e,cache:t,gitdir:r,oid:n});return i}({fs:o,cache:i,gitdir:r}),s=await Jn({fs:o,cache:i,gitdir:r,tree:a,path:n}),c=await re.acquire({fs:o,gitdir:r,cache:i},(async function(e){for(const t of e)if(t.path===n)return t;return null})),l=await o.lstat(D(t,n)),u=null!==s,p=null!==c,d=null!==l,f=async()=>{if(p&&!Y(c,l))return c.oid;{const e=await o.read(D(t,n)),a=await qn({gitdir:r,type:"blob",object:e});return p&&c.oid===a&&-1!==l.size&&re.acquire({fs:o,gitdir:r,cache:i},(async function(e){await e.insert({filepath:n,stats:l,oid:a})})),a}};if(!u&&!d&&!p)return"absent";if(!u&&!d&&p)return"*absent";if(!u&&d&&!p)return"*added";if(!u&&d&&p)return await f()===c.oid?"added":"*added";if(u&&!d&&!p)return"deleted";if(u&&!d&&p)return c.oid,"*deleted";if(u&&d&&!p)return await f()===s?"*undeleted":"*undeletemodified";if(u&&d&&p){const e=await f();return e===s?e===c.oid?"unmodified":"*unmodified":e===c.oid?"modified":"*modified"}}catch(e){throw e.caller="git.status",e}}async function Jn({fs:e,cache:t,gitdir:r,tree:n,path:i}){"string"==typeof i&&(i=i.split("/"));const o=i.shift();for(const a of n)if(a.path===o){if(0===i.length)return a.oid;const{type:n,object:o}=await He({fs:e,cache:t,gitdir:r,oid:a.oid});if("tree"===n)return Jn({fs:e,cache:t,gitdir:r,tree:M.from(o),path:i});if("blob"===n)throw new ue(a.oid,n,"blob",i.join("/"))}return null}async function Zn({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n="HEAD",filepaths:i=["."],filter:o,cache:a={},ignored:s=!1}){try{It("fs",e),It("gitdir",r),It("ref",n);const c=new Ft(e);return await tr({fs:c,cache:a,dir:t,gitdir:r,trees:[St({ref:n}),Pt(),ce()],async map(e,[r,n,a]){if(!r&&!a&&n&&!s&&await Ct.isIgnored({fs:c,dir:t,filepath:e}))return null;if(!i.some((t=>rr(e,t))))return null;if(o&&!o(e))return;const[l,u,p]=await Promise.all([r&&r.type(),n&&n.type(),a&&a.type()]),d=[l,u,p].includes("blob");if(("tree"===l||"special"===l)&&!d)return;if("commit"===l)return null;if(("tree"===u||"special"===u)&&!d)return;if("commit"===p)return null;if(("tree"===p||"special"===p)&&!d)return;const f="blob"===l?await r.oid():void 0,h="blob"===p?await a.oid():void 0;let $;"blob"!==l&&"blob"===u&&"blob"!==p?$="42":"blob"===u&&($=await n.oid());const m=[void 0,f,$,h],g=m.map((e=>m.indexOf(e)));return g.shift(),[e,...g]}})}catch(e){throw e.caller="git.statusMatrix",e}}async function Yn({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n,object:i,force:o=!1}){try{It("fs",e),It("gitdir",r),It("ref",n);const t=new Ft(e);if(void 0===n)throw new st("ref");n=n.startsWith("refs/tags/")?n:`refs/tags/${n}`;const a=await Be.resolve({fs:t,gitdir:r,ref:i||"HEAD"});if(!o&&await Be.exists({fs:t,gitdir:r,ref:n}))throw new Ge("tag",n);await Be.writeRef({fs:t,gitdir:r,ref:n,value:a})}catch(e){throw e.caller="git.tag",e}}async function Qn({fs:e,dir:t,gitdir:r=D(t,".git"),cache:n={},filepath:i,oid:o,mode:a,add:s,remove:c,force:l}){try{It("fs",e),It("gitdir",r),It("filepath",i);const u=new Ft(e);if(c)return await re.acquire({fs:u,gitdir:r,cache:n},(async function(e){let r;if(l||(r=await u.lstat(D(t,i)),!r))e.has({filepath:i})&&await e.delete({filepath:i});else if(r.isDirectory())throw new tt("directory")}));let p;if(!o){if(p=await u.lstat(D(t,i)),!p)throw new le(`file at "${i}" on disk and "remove" not set`);if(p.isDirectory())throw new tt("directory")}return await re.acquire({fs:u,gitdir:r,cache:n},(async function(e){if(!s&&!e.has({filepath:i}))throw new le(`file at "${i}" in index and "add" not set`);let n={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:a,uid:0,gid:0,size:0};if(!o){n=p;const e=n.isSymbolicLink()?await u.readlink(D(t,i)):await u.read(D(t,i));o=await At({fs:u,gitdir:r,type:"blob",format:"content",object:e})}return await e.insert({filepath:i,oid:o,stats:n}),o}))}catch(e){throw e.caller="git.updateIndex",e}}function ei(){try{return Sr}catch(e){throw e.caller="git.version",e}}async function ti({fs:e,dir:t,gitdir:r=D(t,".git"),trees:n,map:i,reduce:o,iterate:a,cache:s={}}){try{return It("fs",e),It("gitdir",r),It("trees",n),await tr({fs:new Ft(e),cache:s,dir:t,gitdir:r,trees:n,map:i,reduce:o,iterate:a})}catch(e){throw e.caller="git.walk",e}}async function ri({fs:e,dir:t,gitdir:r=D(t,".git"),blob:n}){try{return It("fs",e),It("gitdir",r),It("blob",n),await At({fs:new Ft(e),gitdir:r,type:"blob",object:n,format:"content"})}catch(e){throw e.caller="git.writeBlob",e}}async function ni({fs:e,dir:t,gitdir:r=D(t,".git"),commit:n}){try{return It("fs",e),It("gitdir",r),It("commit",n),await async function({fs:e,gitdir:t,commit:r}){const n=_t.from(r).toObject();return await At({fs:e,gitdir:t,type:"commit",object:n,format:"content"})}({fs:new Ft(e),gitdir:r,commit:n})}catch(e){throw e.caller="git.writeCommit",e}}async function ii({fs:e,dir:t,gitdir:r=D(t,".git"),type:n,object:i,format:o="parsed",oid:a,encoding:s=void 0}){try{const t=new Ft(e);if("parsed"===o){switch(n){case"commit":i=_t.from(i).toObject();break;case"tree":i=M.from(i).toObject();break;case"blob":i=Buffer.from(i,s);break;case"tag":i=kt.from(i).toObject();break;default:throw new ue(a||"",n,"blob|commit|tag|tree")}o="content"}return await At({fs:t,gitdir:r,type:n,object:i,oid:a,format:o})}catch(e){throw e.caller="git.writeObject",e}}async function oi({fs:e,dir:t,gitdir:r=D(t,".git"),ref:n,value:i,force:o=!1,symbolic:a=!1}){try{It("fs",e),It("gitdir",r),It("ref",n),It("value",i);const t=new Ft(e);if(n!==m.a.clean(n))throw new rt(n,m.a.clean(n));if(!o&&await Be.exists({fs:t,gitdir:r,ref:n}))throw new Ge("ref",n);a?await Be.writeSymbolicRef({fs:t,gitdir:r,ref:n,value:i}):(i=await Be.resolve({fs:t,gitdir:r,ref:i}),await Be.writeRef({fs:t,gitdir:r,ref:n,value:i}))}catch(e){throw e.caller="git.writeRef",e}}async function ai({fs:e,dir:t,gitdir:r=D(t,".git"),tag:n}){try{return It("fs",e),It("gitdir",r),It("tag",n),await async function({fs:e,gitdir:t,tag:r}){const n=kt.from(r).toObject();return await At({fs:e,gitdir:t,type:"tag",object:n,format:"content"})}({fs:new Ft(e),gitdir:r,tag:n})}catch(e){throw e.caller="git.writeTag",e}}async function si({fs:e,dir:t,gitdir:r=D(t,".git"),tree:n}){try{return It("fs",e),It("gitdir",r),It("tree",n),await Ut({fs:new Ft(e),gitdir:r,tree:n})}catch(e){throw e.caller="git.writeTree",e}}var ci={Errors:mt,STAGE:ce,TREE:St,WORKDIR:Pt,add:jt,addNote:Gt,addRemote:Xt,annotatedTag:Jt,branch:Zt,checkout:ir,clone:Ar,commit:Ir,getConfig:en,getConfigAll:tn,setConfig:Kn,currentBranch:jr,deleteBranch:Nr,deleteRef:Tr,deleteRemote:Lr,deleteTag:Mr,expandOid:Wr,expandRef:zr,fastForward:Xr,fetch:Jr,findMergeBase:Zr,findRoot:Qr,getRemoteInfo:rn,getRemoteInfo2:on,hashBlob:an,indexPack:sn,init:cn,isDescendent:un,isIgnored:pn,listBranches:dn,listFiles:$n,listNotes:mn,listRemotes:gn,listServerRefs:bn,listTags:vn,log:Sn,merge:Dn,packObjects:On,pull:Fn,push:Bn,readBlob:jn,readCommit:Nn,readNote:Tn,readObject:Ln,readTag:Mn,readTree:Wn,remove:zn,removeNote:Un,renameBranch:Vn,resetIndex:Hn,updateIndex:Qn,resolveRef:Gn,status:Xn,statusMatrix:Zn,tag:Yn,version:ei,walk:ti,writeBlob:ri,writeCommit:ni,writeObject:ii,writeRef:oi,writeTag:ai,writeTree:si,GitIndexManager:re,FileSystem:Ft,compareStats:Y,GitWalkSymbol:se,GitIgnoreManager:Ct,ReadonlyGitIndex:Z};t["default"]=ci},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.GitCommand=void 0;const n=r(0),i=n.__importDefault(r(4)),o=n.__importDefault(r(1)),a=n.__importDefault(r(217)),s=r(8),c=r(9),l=r(101),u={};class p extends s.Command{getDefaultGitOptions(){var e;const t=function(){try{return new(r(235).GitHttpClient)}catch{return a.default}}();let n;return t!==a.default&&(n=null!==(e=process.env.GIT_PROXY)&&void 0!==e?e:"https://p.stackblitz.com"),{corsProxy:n,fs:i.default,http:t,cache:u}}getDefaultRepositoryOptions(){const e=this.env.GIT_DIR||(0,l.findUp)(".git");if(!e)throw new c.ExecuteError(128,"fatal: not a git repository (or any of the parent directories): .git");return{...this.getDefaultGitOptions(),dir:o.default.dirname(e),gitdir:e}}}t.GitCommand=p},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.findBinary=t.endStream=t.isFileInDirectory=t.createDirentFile=t.pluralize=t.natives=t.StdinPassThrough=void 0;const n=r(0);var i=r(124);Object.defineProperty(t,"StdinPassThrough",{enumerable:!0,get(){return i.StdinPassThrough}}),n.__exportStar(r(47),t),n.__exportStar(r(125),t),n.__exportStar(r(68),t);var o=r(126);Object.defineProperty(t,"natives",{enumerable:!0,get(){return o.natives}});var a=r(128);Object.defineProperty(t,"pluralize",{enumerable:!0,get(){return a.pluralize}});var s=r(48);Object.defineProperty(t,"createDirentFile",{enumerable:!0,get(){return s.createDirentFile}}),Object.defineProperty(t,"isFileInDirectory",{enumerable:!0,get(){return s.isFileInDirectory}});var c=r(129);Object.defineProperty(t,"endStream",{enumerable:!0,get(){return c.endStream}});var l=r(130);Object.defineProperty(t,"findBinary",{enumerable:!0,get(){return l.findBinary}})},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FailureCommand=t.Executable=t.EmptyCommand=t.Command=void 0;var n=r(30);Object.defineProperty(t,"Command",{enumerable:!0,get(){return n.Command}});var i=r(144);Object.defineProperty(t,"EmptyCommand",{enumerable:!0,get(){return i.EmptyCommand}});var o=r(69);Object.defineProperty(t,"Executable",{enumerable:!0,get(){return o.Executable}});var a=r(145);Object.defineProperty(t,"FailureCommand",{enumerable:!0,get(){return a.FailureCommand}})},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.AbortError=t.ExecuteError=void 0;var n=r(65);Object.defineProperty(t,"ExecuteError",{enumerable:!0,get(){return n.ExecuteError}});var i=r(132);Object.defineProperty(t,"AbortError",{enumerable:!0,get(){return i.AbortError}})},function(e,t,r){"use strict";const n=(e,t)=>function(...r){return new(0,t.promiseModule)(((n,i)=>{t.multiArgs?r.push(((...e)=>{t.errorFirst?e[0]?i(e):(e.shift(),n(e)):n(e)})):t.errorFirst?r.push(((e,t)=>{e?i(e):n(t)})):r.push(n),e.apply(this,r)}))};e.exports=(e,t)=>{t=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},t);const r=typeof e;if(null===e||"object"!==r&&"function"!==r)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":r}\``);const i=e=>{const r=t=>"string"==typeof t?e===t:t.test(e);return t.include?t.include.some(r):!t.exclude.some(r)};let o;o="function"===r?function(...r){return t.excludeMain?e(...r):n(e,t).apply(this,r)}:Object.create(Object.getPrototypeOf(e));for(const r in e){const a=e[r];o[r]="function"==typeof a&&i(r)?n(a,t):a}return o}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.grid=t.tryStatSync=t.modeToString=t.parseMode=void 0;var n=r(131);Object.defineProperty(t,"parseMode",{enumerable:!0,get(){return n.parseMode}}),Object.defineProperty(t,"modeToString",{enumerable:!0,get(){return n.modeToString}});var i=r(133);Object.defineProperty(t,"tryStatSync",{enumerable:!0,get(){return i.tryStatSync}});var o=r(134);Object.defineProperty(t,"grid",{enumerable:!0,get(){return o.grid}})},function(e,t,r){"use strict";const n=r(70),{stdout:i,stderr:o}=r(138),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:s}=r(141),{isArray:c}=Array,l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null);class p{constructor(e){return d(e)}}const d=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=i?i.level:0;e.level=void 0===t.level?r:t.level})(t,e),t.template=(...e)=>y(t.template,...e),Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=p,t.template};function f(e){return d(e)}for(const[e,t]of Object.entries(n))u[e]={get(){const r=g(this,m(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};u.visible={get(){const e=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const h=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of h)u[e]={get(){const{level:t}=this;return function(...r){const i=m(n.color[l[t]][e](...r),n.color.close,this._styler);return g(this,i,this._isEmpty)}}};for(const e of h)u["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const i=m(n.bgColor[l[t]][e](...r),n.bgColor.close,this._styler);return g(this,i,this._isEmpty)}}};const $=Object.defineProperties((()=>{}),{...u,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),m=(e,t,r)=>{let n,i;return void 0===r?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},g=(e,t,r)=>{const n=(...e)=>c(e[0])&&c(e[0].raw)?b(n,y(n,...e)):b(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,$),n._generator=e,n._styler=t,n._isEmpty=r,n},b=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(void 0===r)return t;const{openAll:n,closeAll:i}=r;if(-1!==t.indexOf(""))for(;void 0!==r;)t=a(t,r.close,r.open),r=r.parent;const o=t.indexOf("\n");return-1!==o&&(t=s(t,i,n,o)),n+t+i};let v;const y=(e,...t)=>{const[n]=t;if(!c(n)||!c(n.raw))return t.join(" ");const i=t.slice(1),o=[n.raw[0]];for(let e=1;e<n.length;e++)o.push(String(i[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return void 0===v&&(v=r(142)),v(e,o.join(""))};Object.defineProperties(f.prototype,u);const k=f();k.supportsColor=i,k.stderr=f({level:o?o.level:0}),k.stderr.supportsColor=o,e.exports=k},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.abbreviateRef=t.isValidSymbolicRef=t.isValidRefName=t.resolveGitRef=t.resolveSymbolicRef=t.resolveExpression=t.resolveRef=void 0;const n=r(0),i=n.__importDefault(r(4)),o=n.__importDefault(r(5)),a=n.__importDefault(r(1)),s=/^ref:\s+(?<symref>refs\/.*?)\s*$/,c=/^refs\/(?<reftype>heads\/|tags\/|remotes\/)?(?<abbrev>.*)/;async function l(e,t){var r;if(e.startsWith("HEAD~")){const n=e.match(/^HEAD~(\d+)$/),i=Number(null==n?void 0:n[1]);if(!n||!Number.isSafeInteger(i))throw new o.default.Errors.InvalidRefNameError(e,"");const a=null===(r=(await o.default.log({...t,depth:i+1}))[i])||void 0===r?void 0:r.oid;if(!a)throw new o.default.Errors.InvalidRefNameError(e,"");return{oid:a,ambiguous:!1}}const[n,s]=await Promise.all([e.length<4?void 0:d(e,t),u(e,t)]),c=s||n;if(!c)throw new o.default.Errors.InvalidRefNameError(e,"");return{oid:c,ambiguous:Boolean(n&&i.default.existsSync(a.default.join(t.gitdir,"refs/heads",e)))}}async function u(e,t){try{return await o.default.resolveRef({...t,ref:e})}catch{return}}function p(e){return!e.split("/").some((e=>""===e||e.startsWith(".")||e.includes("..")||e.endsWith("/")||e.endsWith(".lock")||e.includes("@{")||/[:?[\\^~* ]/.test(e)||/[\x00-\x1f]/.test(e)))}async function d(e,t){try{return await o.default.expandOid({...t,oid:e})}catch{return}}t.resolveRef=l,t.resolveExpression=async function(e,t){const[r,n,i]=await Promise.allSettled([l(e,{...t,depth:2}),l(e,{...t,depth:void 0}),o.default.expandRef({...t,ref:e})]),{oid:a}="fulfilled"===n.status?n.value:{oid:void 0};return"fulfilled"===r.status&&r.value.oid.startsWith("refs/")?{ref:r.value.oid,oid:a}:"fulfilled"===i.status?i.value.startsWith("refs/")?{ref:i.value,oid:a}:{oid:i.value}:"fulfilled"===r.status?r.value.oid.startsWith("refs/")?{ref:r.value.oid,oid:a}:{oid:r.value.oid}:void 0},t.resolveSymbolicRef=async function(e,t){var r;if(!p(e))throw new o.default.Errors.NotFoundError(e);const n=i.default.readFileSync(a.default.join(t.gitdir,e),"utf8"),c=null==n?void 0:n.match(s);return null===(r=null==c?void 0:c.groups)||void 0===r?void 0:r.symref},t.resolveGitRef=u,t.isValidRefName=p,t.isValidSymbolicRef=async function(e){const t=e.match(s);if((null==t?void 0:t.groups)&&p(t.groups.symref))return t.groups.symref},t.abbreviateRef=function(e){const t=e.match(c);if(t&&t.groups){const{groups:{reftype:r,abbrev:n}}=t;return"remotes/"===r&&e.endsWith("/HEAD")?n.slice(0,-5):t[2]}return e}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getConfigItems=t.updateConfig=t.getAllConfigValues=t.getConfigValue=void 0;const n=r(0),i=n.__importDefault(r(1)),o=n.__importDefault(r(18)),a=n.__importStar(r(102)),s=i.default.join(o.default.homedir(),".gitconfig");function c(e){const t=[];if(e.local){if(!e.gitdir)throw new Error("local can only be used inside a git repository");t.push(i.default.join(e.gitdir,"config"))}else e.global?t.push(s):e.filePath?t.push(i.default.resolve(process.cwd(),e.filePath)):(e.gitdir&&t.push(i.default.join(e.gitdir,"config")),t.push(s));return t}t.getConfigValue=async function(e,t,r){let n;const i=c(t);for(const r of i)try{if(n=await a.getConfig({...t,filepath:r,path:e}),n)break}catch{}return null!=n?n:r},t.getAllConfigValues=async function(e,t,r=[]){const n=[],i=c(t);for(const r of i)try{const i=await a.getConfigAll({...t,filepath:r,path:e});(null==i?void 0:i.length)>0&&n.unshift(...i)}catch{}return n.length>0?n:r},t.updateConfig=async function(e,t,r,n){let o;if(n.global)o=s;else if(n.filePath)o=i.default.resolve(process.cwd(),n.filePath);else{if(!n.gitdir)throw new Error("not in a git directory");o=i.default.join(n.gitdir,"config")}await a.setConfig({...n,filepath:o,append:r,value:t,path:e})},t.getConfigItems=async function(e){const t=c(e).reverse(),r=(await Promise.all(t.map((t=>a.getConfigItems({...e,filePath:t}))))).map((e=>e?[...e]:[])).flat();return new Map(r)}},function(e,t,r){"use strict";function n(e,t,r){return t=t instanceof RegExp?t:new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),e.replace(t,r)}var i={clean(e){if("string"!=typeof e)throw new Error("Expected a string, received: "+e);return e=n(e,"./","/"),e=n(e,"..","."),e=n(e," ","-"),e=n(e,/^[~^:?*\\\-]/g,""),e=n(e,/[~^:?*\\]/g,"-"),e=n(e,/[~^:?*\\\-]$/g,""),e=n(e,"@{","-"),e=n(e,/\.$/g,""),e=n(e,/\/$/g,""),n(e,/\.lock$/g,"")}};e.exports=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getBranchConfiguration=t.getCurrentBranchConfiguration=t.getCurrentBranch=void 0;const n=r(0),i=n.__importDefault(r(1)),o=n.__importDefault(r(5)),a=r(32),s=r(14),c=r(56);async function l(e){try{const t=await o.default.currentBranch(e);if(t)return t}catch{}}async function u(e,t){var r,n;const[{branch:o,remote:l},u]=await Promise.all([p(e,t),f(e,t)]),[h,$]=await Promise.all([(0,s.getConfigValue)(`branch.${o}.merge`,t),d(o,t)]);let m;l&&(m={name:l});const g=i.default.join(`refs/heads`,o),b={name:o,commit:$,merge:h||g,...m?{remote:m}:{}};if(m){const[e,i,o,p]=await Promise.all([(0,s.getConfigValue)(`remote.${l}.url`,t),(0,s.getConfigValue)("push.default",t,"simple"),(0,c.getRefspecs)(m.name,"fetch",t),(0,c.getRefspecs)(m.name,"push",t)]);u&&(b.fullName=u.startsWith("refs/remotes/")?null===(r=(0,c.findRemoteRefSource)(u,o))||void 0===r?void 0:r.to:null===(n=(0,c.findRemoteRef)(u,o))||void 0===n?void 0:n.to),m.url=(0,a.normalize)(e);const d=(0,c.findRemoteRef)(g,p);let f=null==d?void 0:d.to;0===p.length&&("simple"===i?h===g&&(f=g):"current"===i?f=g:"tracking"!==i&&"upstream"!==i||(f=h));const $=h&&(0,c.findRemoteRef)(h,o)||{from:"",to:""},v=f&&(0,c.findRemoteRef)(f,o)||{from:"",to:""};m.refs={fetch:$,push:{from:(null==d?void 0:d.to)||"",to:null==v?void 0:v.to}}}return b}async function p(e,t){var r,n,i;const a=await(0,s.getConfigValue)(`branch.${e}.remote`,t);if(a)return{branch:e,remote:a};const c=await o.default.listRemotes(t);if(e.includes("/")){const t=c.find((({remote:t})=>e.startsWith(`${t}/`)));if(null==t?void 0:t.remote)return{branch:e.substring((null==t?void 0:t.remote.length)+1),remote:t.remote}}return{branch:e,remote:null!==(n=null===(r=c.find((({remote:e})=>"origin"===e)))||void 0===r?void 0:r.remote)&&void 0!==n?n:null===(i=c[0])||void 0===i?void 0:i.remote}}async function d(e,t){try{return await o.default.resolveRef({...t,ref:e})}catch{return}}async function f(e,t){try{return await o.default.expandRef({...t,ref:e})}catch{return}}t.getCurrentBranch=l,t.getCurrentBranchConfiguration=async function(e){const t=await l(e);if(t)return u(t,e)},t.getBranchConfiguration=u},function(e,t){e.exports=require("util")},function(e,t){e.exports=require("os")},function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return{}.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=[].slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks(e){var t,r,n,i,o,a;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)o=e[t],a.set(o,i),i+=o.length;return a}},a={arraySet(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,o)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(n)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.SyntaxError=t.parseArguments=t.RedirectOperator=t.BinaryOperator=t.ParsedRedirect=t.ParsedTimeClause=t.ParsedExpression=t.ParsedBinaryExpression=t.ParsedCallExpression=void 0;var n=r(29);Object.defineProperty(t,"ParsedCallExpression",{enumerable:!0,get(){return n.ParsedCallExpression}}),Object.defineProperty(t,"ParsedBinaryExpression",{enumerable:!0,get(){return n.ParsedBinaryExpression}}),Object.defineProperty(t,"ParsedExpression",{enumerable:!0,get(){return n.ParsedExpression}}),Object.defineProperty(t,"ParsedTimeClause",{enumerable:!0,get(){return n.ParsedTimeClause}}),Object.defineProperty(t,"ParsedRedirect",{enumerable:!0,get(){return n.ParsedRedirect}}),Object.defineProperty(t,"BinaryOperator",{enumerable:!0,get(){return n.BinaryOperator}}),Object.defineProperty(t,"RedirectOperator",{enumerable:!0,get(){return n.RedirectOperator}});var i=r(120);Object.defineProperty(t,"parseArguments",{enumerable:!0,get(){return i.parseArguments}});var o=r(287);Object.defineProperty(t,"SyntaxError",{enumerable:!0,get(){return o.SyntaxError}})},function(e,t){e.exports=require("stream")},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.distributeUnevenly=t.countSpaceSequence=t.groupBySizes=t.makeBorder=t.splitAnsi=t.normalizeString=void 0;const i=n(r(50)),o=n(r(39)),a=r(76);t.normalizeString=e=>e.replace(/\r\n/g,"\n"),t.splitAnsi=e=>{const t=o.default(e).split("\n").map((({length:e})=>e)),r=[];let n=0;return t.forEach((t=>{r.push(0===t?"":i.default(e,n,n+t)),n+=t+1})),r},t.makeBorder=e=>({...a.getBorderCharacters("honeywell"),...e}),t.groupBySizes=(e,t)=>{let r=0;return t.map((t=>{const n=e.slice(r,r+t);return r+=t,n}))},t.countSpaceSequence=e=>{var t,r;return null!==(r=null===(t=e.match(/\s+/g))||void 0===t?void 0:t.length)&&void 0!==r?r:0},t.distributeUnevenly=(e,t)=>Array.from({length:t}).fill(Math.floor(e/t)).map(((r,n)=>r+(n<e%t?1:0)))},function(e,t,r){"use strict";const n={};function i(e,t,r){r||(r=Error);class i extends r{constructor(e,r,n){super(function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(e,r,n))}}i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){const r=e.length;return e=e.map((e=>String(e))),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){let n;var i,a;let s;return"string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",s=function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument")?`The ${e} ${n} ${o(t,"type")}`:`The "${e}" ${function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument"} ${n} ${o(t,"type")}`,s+=`. Received type ${typeof r}`,s}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.isParsedCommitObject=t.getCommitDiff=void 0;const n=r(0),i=n.__importStar(r(1)),o=n.__importDefault(r(5));async function a(e,t,r=50){try{return(await o.default.log({...t,ref:e,depth:r})).map((e=>e.oid))}catch{return}}t.getCommitDiff=async function(e,t,r="fetch"){var n,o;if(!(null===(o=null===(n=e.remote)||void 0===n?void 0:n.refs)||void 0===o?void 0:o[r]))return;const{remote:{refs:s},name:c}=e;if(!s[r].to)return;const[l=[],u]=await Promise.all([a(i.join(`refs/heads`,c),t),a(s[r].to,t)]);if(!u)return[0,void 0];if(u[0]===l[0])return[0,0];const p=new Map(u.map(((e,t)=>[e,t])));for(const[e,t]of l.entries()){const r=p.get(t);if(void 0!==r)return[e,r]}},t.isParsedCommitObject=function(e){return"commit"===e.type&&!Buffer.isBuffer(e.object)}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.readContentsFromHash=t.getDirentOidAndMode=void 0;const n=r(5);t.getDirentOidAndMode=function(e,t,r){if((null==r?void 0:r.oid)&&(null==r?void 0:r.workdir))throw new Error("Either a specific oid or `workdir: true` is allowed, not both");return new Promise(((i,o)=>{let a;a=(null==r?void 0:r.oid)?(0,n.TREE)({ref:r.oid}):(null==r?void 0:r.workdir)?(0,n.WORKDIR)():(0,n.STAGE)(),(0,n.walk)({...t,trees:[a],async map(t,r){const[n]=r;if(e!==t)return;const[o,a]=await Promise.all([n.oid(),n.mode()]);i({oid:o,mode:a})}}).then((()=>o("oid not found for "+e)))}))},t.readContentsFromHash=async function(e,t){const r={...t,oid:e},{blob:i}=await(0,n.readBlob)(r);return(new TextDecoder).decode(i)}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getShortFileStatusSummary=t.getFileStatusSummary=t.getBranchStatusMessage=t.getShortStatusMessage=t.getStatusMessage=void 0;const n=r(0),i=n.__importDefault(r(12)),o=n.__importDefault(r(1)),a=r(7),s=8,c=new Map([["003",{staged:"new file",unstaged:"deleted"}],["020",{untracked:!0}],["022",{staged:"new file"}],["023",{staged:"new file",unstaged:"modified"}],["100",{staged:"deleted"}],["101",{unstaged:"deleted"}],["103",{staged:"modified",unstaged:"deleted"}],["110",{staged:"deleted",untracked:!0}],["113",{staged:"modified",unstaged:"modified"}],["120",{staged:"deleted",untracked:!0}],["121",{unstaged:"modified"}],["122",{staged:"modified"}],["123",{staged:"modified",unstaged:"modified"}]]),l=new Map([["000"," "],["003","AD"],["020",""],["022","A "],["023","AM"],["100","D "],["101"," D"],["103","MD"],["110","D "],["113","MM"],["120","D "],["121"," M"],["122","M "],["123","MM"]]);function u(e,t){const r=[];if(Array.isArray(t)){const[n,i]=t;if(void 0===i)r.push(`Your branch is based on '${e}', but the upstream is gone.`),r.push(' (use "git branch --unset-upstream" to fixup)');else if(0===n&&0===i)r.push(`Your branch is up to date with '${e}'.`);else if(0===n){const t=(0,a.pluralize)("commit",i);r.push(`Your branch is behind '${e}' by ${i} ${t}, and can be fast-forwarded.`),r.push(' (use "git pull" to update your local branch)')}else if(0===i){const t=(0,a.pluralize)("commit",n);r.push(`Your branch is ahead of '${e}' by ${n} ${t}.`),r.push(' (use "git push" to publish your local commits)')}else r.push(`Your branch and '${e}' have diverged,`),r.push(`and have ${n} and ${i} different commits each, respectively.`),r.push(' (use "git pull" to merge the remote branch into yours)')}return r.join("\n")}function p(e,t={}){var r;const n=e=>{const r=e.endsWith("/");return`${t.cwd?`${o.default.relative(t.cwd,e)}${r?"/":""}`:e}`},i=!t.excludeUntracked&&!1!==t.normalize,a=[],s=[],l=new Set,u=new Map;for(const[t,o,p,f]of e){const e=`${o}${p}${f}`,h=n(t),m=c.get(e);i&&$(h,(null==m?void 0:m.untracked)||!1,u),m?d(t,l)?((m.staged||m.unstaged)&&a.push({fileName:h,mode:e}),m.untracked&&s.push(h),i&&$(h,null!==(r=m.untracked)&&void 0!==r&&r,u)):i&&$(h,!1,u):(l.add(t),i&&$(h,!1,u))}if(t.excludeUntracked)return{tracked:a,untracked:[]};if(!t.normalizedUntrackedDirs||!t.normalizedUntrackedFiles)return{tracked:a,untracked:i?f(h(u)):s.sort()};const{normalizedUntrackedFiles:p,normalizedUntrackedDirs:m}=t;return{tracked:a.sort((({fileName:e},{fileName:t})=>e.localeCompare(t))),untracked:i?[...p,...m].sort().map((e=>n(e))):s.sort()}}function d(e,t){const r=e.split("/");let n="";for(const e of r)if(n=o.default.join(n,e),t.has(n))return!1;return!0}function f(e){const t=[];for(const[r,n]of e.entries()){if(!1===n)continue;if(!0===n){t.push(r);continue}const e=f(n);for(const n of e)t.push(o.default.join(r,n))}return t}function h(e){const t=new Map;for(const[r,n]of e.entries()){if(!0===n){t.set(r,n);continue}if(!1===n)continue;const e=n.size,i=h(n);0!==i.size&&(i.size===e?t.set(r,!0):t.set(r,i))}return t}function $(e,t,r){var n;const i=e.split("/");let a=i.shift();if(!a)return;for(;/^[./]+$/.test(a)&&i.length>0;)a=o.default.join(a,null!==(n=i.shift())&&void 0!==n?n:"");if(0===i.length)return void r.set(a,t);let s=r.get(`${a}/`);s||(s=new Map,r.set(`${a}/`,s)),$(o.default.join(...i),t,s)}function m(e,t){return" ".repeat(t)+e}t.getStatusMessage=function({staged:e,unstaged:t,untracked:r},n){var o;const a=[];if(n.branchName){a.push(`On branch ${n.branchName}`);const e=u(null!==(o=n.remoteBranchName)&&void 0!==o?o:`${n.remote}/${n.branchName}`,n.commitDiff);e&&a.push(e),a.push("")}else a.push(i.default.red(`HEAD detached`),"");if(void 0===n.commitDiff&&("commit"===n.type?a.push("Initial commit",""):a.push("No commits yet","")),0!==e.length||0!==t.length||r&&0!==r.length){if(e.length>0){a.push("Changes to be committed:");for(const t of e)a.push(i.default.green(m(`${(t.status+":").padEnd(11)} ${t.fileName}`,s)));a.push("")}if(t.length>0){const e=[];for(const r of t)e.push(i.default.red(m(`${(r.status+":").padEnd(11)} ${r.fileName}`,s)));a.push("Changes not staged for commit:"),a.push(` (use "git add <file>..." to update what will be committed)`),a.push(...e),a.push("")}if(r){if(r.length>0){a.push("Untracked files:"),a.push(' (use "git add <file>..." to include in what will be committed)');for(const e of r)a.push(i.default.red(m(e,s)));a.push("")}}else a.push("Untracked files not listed (use -u option to show untracked files)");0===e.length&&(0===(null==r?void 0:r.length)?a.push('no changes added to commit (use "git add" and/or "git commit -a")'):0===t.length?a.push('nothing added to commit but untracked files present (use "git add" to track)'):a.push('no changes added to commit (use "git add" and/or "git commit -a")'))}else void 0===n.commitDiff?a.push('nothing to commit (create/copy files and use "git add" to track)'):r?a.push("nothing to commit, working tree clean"):a.push("nothing to commit (use -u to show untracked files)");return a.join("\n")},t.getShortStatusMessage=function(e,t={lineTerminator:"\n"}){var r;const n=[],o=[];for(const{fileName:r,mode:o}of e.tracked){let e=l.get(o);if(e){if(t.color){const[t,r]=e.split("");e=i.default.green(t)+i.default.red(r)}n.push(`${e} ${r}`)}}for(const r of e.untracked){const e=t.color&&"\n"===t.lineTerminator?i.default.red("??"):"??";o.push(`${e} ${r}`)}const a=[...n,...o];if(0===a.length)return"";const s=null!==(r=t.lineTerminator)&&void 0!==r?r:"\n";return a.join(s)+s},t.getBranchStatusMessage=u,t.getFileStatusSummary=function(e,t={}){var r;const n=p(e,t),i=[],o=[];for(const{fileName:e,mode:t}of n.tracked){const n=c.get(t),a=null!==(r=l.get(t))&&void 0!==r?r:"";(null==n?void 0:n.staged)&&i.push({fileName:e,status:n.staged,shortStatus:a}),(null==n?void 0:n.unstaged)&&o.push({fileName:e,status:n.unstaged,shortStatus:a})}return t.excludeUntracked?{staged:i,unstaged:o}:{staged:i,unstaged:o,untracked:n.untracked}},t.getShortFileStatusSummary=p},function(e,t,r){try{var n=r(17);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(206)}},function(e,t,r){"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var i=r(94),o=r(98);r(27)(l,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var c=a[s];l.prototype[c]||(l.prototype[c]=o.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||process.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},function(e,t){var r,n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.RedirectOperator=t.BinaryOperator=t.NodeType=void 0,(i=t.NodeType||(t.NodeType={}))["Statement"]="Stmt",i["CallExpression"]="CallExpr",i["DeclClause"]="DeclClause",i["BinaryCommand"]="BinaryCmd",i["DoubleQuoted"]="DblQuoted",i["SingleQuoted"]="SglQuoted",i["Word"]="Word",i["TimeClause"]="TimeClause",i["Literal"]="Lit",(n=t.BinaryOperator||(t.BinaryOperator={}))[n["AND"]=10]="AND",n[n["OR"]=11]="OR",n[n["PIPE"]=12]="PIPE",(r=t.RedirectOperator||(t.RedirectOperator={}))[r["RdrOut"]=54]="RdrOut",r[r["AppOut"]=55]="AppOut",r[r["RdrIn"]=56]="RdrIn",r[r["RdrInOut"]=57]="RdrInOut",r[r["DplIn"]=58]="DplIn",r[r["DplOut"]=59]="DplOut",r[r["ClbOut"]=60]="ClbOut",r[r["Hdoc"]=61]="Hdoc",r[r["DashHdoc"]=62]="DashHdoc",r[r["WordHdoc"]=63]="WordHdoc",r[r["RdrAll"]=64]="RdrAll",r[r["AppAll"]=65]="AppAll"},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Command=void 0;const n=r(0),i=n.__importDefault(r(122)),o=n.__importDefault(r(66)),a=n.__importDefault(r(123)),s=r(21),c=r(7),l=r(9),u=r(69),p=["SIGINT","SIGTERM"];class d extends u.Executable{constructor(e,t){super(e),this.options=t}async onData(e){return new Promise(((t,r)=>{var n;const i=(e,n)=>{e?r(e):t(null!=n?n:0)},o=()=>{var e;r(new l.AbortError),null===(e=this.abortController)||void 0===e||e.signal.removeEventListener("abort",o)};null===(n=this.abortController)||void 0===n||n.signal.addEventListener("abort",o),this.context.stdin.on("data",(t=>{e(t,i)})),this.context.stdin.on("end",(()=>{e(null,i)}))}))}async askQuestion(e){return new Promise(((t,r)=>{const n=a.default.createInterface({input:this.context.stdin,output:this.context.stdout});n.on("SIGINT",(()=>{n.close(),this.log("^C\n"),r(new l.AbortError)})),n.question(e,(e=>{n.close(),t(e)}))}))}async askConfirmation(e){var t;return"y"===(null===(t=(await this.askQuestion(e))[0])||void 0===t?void 0:t.toLowerCase())}async spawn(e,t=[]){var r;this.pauseInput();let n=this.context.stdin;for(;n&&n instanceof c.StdinPassThrough;)n=n.originalSource;const a=function(e,t,r){const n=[];if(Array.isArray(r.stdio))for(const[e,t]of r.stdio.entries())t instanceof s.Writable&&!(0,o.default)(t)&&(r.stdio[e]="pipe",n.push((r=>{var n,i;0===e&&r.stdin?(t.pipe(r.stdin),t.on("close",(()=>{(0,c.endStream)(r.stdin)}))):1===e?(null===(n=r.stdout)||void 0===n||n.pipe(t),t.on("close",(()=>{(0,c.endStream)(r.stdout)}))):(null===(i=r.stderr)||void 0===i||i.pipe(t),t.on("close",(()=>{(0,c.endStream)(r.stderr)})))})));const a=i.default.spawn(e,t,r);for(const e of n)e(a);return a}(e,t,{stdio:[null!=n?n:this.context.stdin,this.context.stdout,this.context.stderr],cwd:process.cwd(),env:this.env}),u=function(e,t){if(t)return()=>{};const r=t=>{e.kill(t)};for(const e of p)process.on(e,r);return()=>{for(const e of p)process.off(e,r)}}(a,null===(r=this.shell)||void 0===r?void 0:r.hasTerminal());return new Promise(((e,t)=>{a.once("close",((r,n)=>{"SIGINT"!==n?e(r):t(new l.AbortError)}))})).finally((()=>{u(),this.resumeInput()}))}}t.Command=d},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FileSystem=void 0;const n=r(0).__importDefault(r(237)),i=r(1);function o(e,t){return-(e<t)||+(e>t)}async function a(e,t){const r=await e.readdir(t);null==r?await e.rm(t):r.length?await Promise.all(r.map((r=>{const n=(0,i.join)(t,r);return e.lstat(n).then((t=>{if(t)return t.isDirectory()?a(e,n):e.rm(n)}))}))).then((()=>e.rmdir(t))):await e.rmdir(t)}t.FileSystem=class s{constructor(e){if(void 0!==e._original_unwrapped_fs)return e;const t=Object.getOwnPropertyDescriptor(e,"promises");t&&t.enumerable?(this._readFile=e.promises.readFile.bind(e.promises),this._writeFile=e.promises.writeFile.bind(e.promises),this._mkdir=e.promises.mkdir.bind(e.promises),e.promises.rm?this._rm=e.promises.rm.bind(e.promises):e.promises.rmdir.length>1?this._rm=e.promises.rmdir.bind(e.promises):this._rm=a.bind(null,this),this._rmdir=e.promises.rmdir.bind(e.promises),this._unlink=e.promises.unlink.bind(e.promises),this._stat=e.promises.stat.bind(e.promises),this._lstat=e.promises.lstat.bind(e.promises),this._readdir=e.promises.readdir.bind(e.promises),this._readlink=e.promises.readlink.bind(e.promises),this._symlink=e.promises.symlink.bind(e.promises)):(this._readFile=(0,n.default)(e.readFile.bind(e)),this._writeFile=(0,n.default)(e.writeFile.bind(e)),this._mkdir=(0,n.default)(e.mkdir.bind(e)),e.rm?this._rm=(0,n.default)(e.rm.bind(e)):e.rmdir.length>2?this._rm=(0,n.default)(e.rmdir.bind(e)):this._rm=a.bind(null,this),this._rmdir=(0,n.default)(e.rmdir.bind(e)),this._unlink=(0,n.default)(e.unlink.bind(e)),this._stat=(0,n.default)(e.stat.bind(e)),this._lstat=(0,n.default)(e.lstat.bind(e)),this._readdir=(0,n.default)(e.readdir.bind(e)),this._readlink=(0,n.default)(e.readlink.bind(e)),this._symlink=(0,n.default)(e.symlink.bind(e))),this._original_unwrapped_fs=e}async exists(e,t={}){try{return await this._stat(e),!0}catch(e){if("ENOENT"===e.code||"ENOTDIR"===e.code)return!1;throw console.log('Unhandled error in "FileSystem.exists()" function',e),e}}async read(e,t={}){try{let r=await this._readFile(e,t);return"string"!=typeof r&&(r=Buffer.from(r)),r}catch(e){return null}}async write(e,t,r={}){try{return void await this._writeFile(e,t,r)}catch(n){await this.mkdir((0,i.dirname)(e)),await this._writeFile(e,t,r)}}async mkdir(e,t=!1){try{return void await this._mkdir(e)}catch(r){if(null===r)return;if("EEXIST"===r.code)return;if(t)throw r;if("ENOENT"===r.code){const t=(0,i.dirname)(e);if("."===t||"/"===t||t===e)throw r;await this.mkdir(t),await this.mkdir(e,!0)}}}async rm(e){try{await this._unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}async rmdir(e,t){try{t&&t.recursive?await this._rm(e,t):await this._rmdir(e)}catch(e){if("ENOENT"!==e.code)throw e}}async readdir(e){try{const t=await this._readdir(e);return t.sort(o),t}catch(e){return"ENOTDIR"===e.code?null:[]}}async readdirDeep(e){const t=await this._readdir(e);return(await Promise.all(t.map((async t=>{const r=e+"/"+t;return(await this._stat(r)).isDirectory()?this.readdirDeep(r):r})))).reduce(((e,t)=>e.concat(t)),[])}async lstat(e){try{return await this._lstat(e)}catch(e){if("ENOENT"===e.code)return null;throw e}}async readlink(e,t={encoding:"buffer"}){try{const r=await this._readlink(e,t);return Buffer.isBuffer(r)?r:Buffer.from(r)}catch(e){if("ENOENT"===e.code)return null;throw e}}async writelink(e,t){return this._symlink(t.toString("utf8"),e)}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=void 0;const n=r(93);t.normalize=function(e){if(e)try{const t=new n.URL(e);if("http:"===t.protocol||"https:"===t.protocol)return e;if("ssh:"===t.protocol){if("git"!==t.username)return;return`https://${t.host}${t.pathname}${t.search}${t.hash}`}}catch{if(e.startsWith("git@")){const t=e.match(/^git@(.*?):(.*?)$/);if(3===(null==t?void 0:t.length))return`https://${t[1]}/${t[2]}`}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getStatus=void 0;const n=r(0),i=r(5),o=r(1),a=r(104),s=r(17),c=r(4),l=n.__importStar(r(4));async function u({diffHeadFromIndex:e,index:t,filepath:r,oid:n,type:a,gitdir:s,refFilesMissingInIndex:c,refDirectoriesMissingInIndex:p}){if("tree"===a){if(t.cacheTreeEntries.has(r)&&t.cacheTreeEntries.get(r).oid===n)return}else if("blob"===a&&(c.add(r),p.add((0,o.dirname)(r)),t.entriesMap.get(r)&&t.entriesMap.get(r).oid===n))return;if(e.set(r,{oid:n,type:a}),"tree"===a){const{tree:a}=await(0,i.readTree)({fs:l,gitdir:s,oid:n});await Promise.all(a.map((async({type:n,oid:i,path:a})=>u({diffHeadFromIndex:e,index:t,filepath:(0,o.join)(r,a),oid:i,type:n,gitdir:s,refFilesMissingInIndex:c,refDirectoriesMissingInIndex:p}))))}}t.getStatus=async function({fs:e,gitdir:t,cache:r,dir:n,filepaths:l=["."]}){0===l.length&&(l=["."]);const f=new i.FileSystem(e),h=new Set,$=new Set,m=new Map,g=await i.GitIndexManager.acquire({fs:f,gitdir:t,cache:r,readOnly:!0}),{files:b,untrackedWorkDirDirs:v,untrackedWorkDirFiles:y}=await async function(e,t,r){const n=new Map,i=[],o=[];return new Promise(((a,s)=>{p(e,n,i,o,t,t,r,(async e=>{e?s(e):a({files:n,untrackedWorkDirDirs:o,untrackedWorkDirFiles:i})}))}))}(g,n,l);let k;try{k=(await(0,i.log)({fs:e,gitdir:t,depth:1}))[0].commit}catch{}if(k){const e=k.tree;await u({index:g,gitdir:t,refFilesMissingInIndex:h,refDirectoriesMissingInIndex:$,diffHeadFromIndex:m,filepath:".",oid:e,type:"tree"})}const w=await async function({index:e,filepaths:t,refToIndexDiff:r,hasRef:n,refFilesMissingInIndex:a,refDirectoriesMissingInIndex:s,workdirFiles:c,gitdir:l,dir:u,cache:p,fs:f}){const h=[],$=(0,i.WORKDIR)()[i.GitWalkSymbol]({fs:f,gitdir:l,dir:u,cache:p});for(const[l,u]of e.entriesMap){if(!t.some((e=>d(l,e))))continue;const e=u.oid;let p,f;const{path:m}=u;if(r.has(m)?(f=r.get(m).oid,r.delete(m)):n&&(s.has((0,o.dirname)(m))?a.has(m)&&(f=e):f=e),c.has(m)){if((0,i.compareStats)(u,c.get(m).stats)){const e=new $.ConstructEntry(m);p=await e.oid()}else p=e;c.get(m).oid=p}if(f===p&&p===e)continue;const g=[void 0,f,p,e],b=g.map((e=>g.indexOf(e)));b.shift(),h.push([m,...b])}return h}({index:g,filepaths:l,refToIndexDiff:m,hasRef:Boolean(k),refFilesMissingInIndex:h,refDirectoriesMissingInIndex:$,workdirFiles:b,gitdir:t,dir:n,cache:r,fs:f}),_=await async function({untrackedWorkDirFiles:e,untrackedWorkDirDirs:t,filepaths:r,dir:n,gitdir:i,refToIndexDiff:o,endResult:s,fs:c}){const l=[];return await Promise.all(e.map((async e=>{if(r.some((t=>d(e,t)))&&!await a.GitIgnoreManager.isIgnored({fs:c,dir:n,gitdir:i,filepath:e}))if(o.has(e))s.push([e,1,1,0]),o.delete(e);else{for(const r of t)if(e.startsWith(r))return;s.push([e,0,2,0]),l.push(e)}}))),l}({untrackedWorkDirFiles:y,untrackedWorkDirDirs:v,filepaths:l,dir:n,gitdir:t,refToIndexDiff:m,endResult:w,fs:f}),x=await async function({untrackedWorkDirDirs:e,filepaths:t,fs:r,dir:n,gitdir:i,endResult:l,refToIndexDiff:u}){const p=(0,s.callbackify)(a.GitIgnoreManager.isIgnored),f=[],h=(e,a,s=!1,$)=>{let m=a.length,g=!0;if(0!==m)for(const b of a){if(!t.some((t=>d((0,o.join)(e,b.name),t)))){m--,m||$(null,e,g);continue}const a=(0,o.join)(e,b.name),v=(0,o.join)(n,a);p({fs:r,dir:n,gitdir:i,filepath:a},((t,r)=>{t&&$(t),r?(g=!0,m--,m||$(null,e,g)):b.isFile()?(g=!1,u.has(a)||l.push([a,0,2,0]),m--,m||$(null,e,g)):(0,c.readdir)(v,{withFileTypes:!0},((e,t)=>{e&&$(e),h(a,t,!1,((e,t,r)=>{e&&$(e),r||(g=!1,s&&f.push(a)),m--,m||$(null,t,g)}))}))}))}else $(null,e,g)};return new Promise(((t,r)=>{const n=e.map((e=>({name:e,isFile(){return!1}})));h(".",n,!0,(e=>{e&&r(e),t(f)}))}))}({untrackedWorkDirDirs:v,filepaths:l,fs:f,dir:n,gitdir:t,endResult:w,refToIndexDiff:m});return await async function(e,t,r){for(const[n,{oid:i,type:o}]of e)"."!==n&&"tree"!==o&&(t.has(n)?t.get(n).oid===i?r.push([n,1,1,0]):r.push([n,1,2,0]):r.push([n,1,0,0]))}(m,b,w),{matrix:w,normalizedUntrackedDirs:x,normalizedUntrackedFiles:_}};const p=function(e,t,r,n,i,a,s,l){(0,c.readdir)(a,{withFileTypes:!0},((u,f)=>{if(u)return void l(u);let h=f.length;if(h)for(const u of f){if(!s.some((e=>d(u.name,e)))){h--,h||l(null);continue}const f=(0,o.resolve)(a,u.name),$=(0,o.relative)(i,f);if(u.isSymbolicLink())(0,c.readlink)(f,(e=>{e?l(e):(0,c.lstat)(f,((e,r)=>{e?l(e):(t.set($,{stats:r}),h--,h||l(null))}))}));else if(u.isDirectory()){if(e.cacheTreeEntries.has($))p(e,t,r,n,i,f,s,(e=>{e?l(e):--h||l(null)}));else if(n.push(`${$}/`),h--,!h)return void l(null)}else if(e.entriesMap.has($))(0,c.stat)(f,((e,r)=>{e?l(e):(t.set($,{stats:r}),h--,h||l(null))}));else if(r.push($),h--,!h)return void l(null)}else l(null)}))};function d(e,t){return"."===e||null==t||0===t.length||"."===t||(t.length>=e.length?t.startsWith(e):e.startsWith(t))}},function(e,t,r){"use strict";const n=e.exports;e.exports.default=n;const i="[",o="]",a="",s=";",c="Apple_Terminal"===process.env.TERM_PROGRAM;n.cursorTo=(e,t)=>{if("number"!=typeof e)throw new TypeError("The `x` argument is required");return"number"!=typeof t?i+(e+1)+"G":i+(t+1)+";"+(e+1)+"H"},n.cursorMove=(e,t)=>{if("number"!=typeof e)throw new TypeError("The `x` argument is required");let r="";return e<0?r+=i+-e+"D":e>0&&(r+=i+e+"C"),t<0?r+=i+-t+"A":t>0&&(r+=i+t+"B"),r},n.cursorUp=(e=1)=>i+e+"A",n.cursorDown=(e=1)=>i+e+"B",n.cursorForward=(e=1)=>i+e+"C",n.cursorBackward=(e=1)=>i+e+"D",n.cursorLeft=i+"G",n.cursorSavePosition=c?"7":i+"s",n.cursorRestorePosition=c?"8":i+"u",n.cursorGetPosition=i+"6n",n.cursorNextLine=i+"E",n.cursorPrevLine=i+"F",n.cursorHide=i+"?25l",n.cursorShow=i+"?25h",n.eraseLines=e=>{let t="";for(let r=0;r<e;r++)t+=n.eraseLine+(r<e-1?n.cursorUp():"");return e&&(t+=n.cursorLeft),t},n.eraseEndLine=i+"K",n.eraseStartLine=i+"1K",n.eraseLine=i+"2K",n.eraseDown=i+"J",n.eraseUp=i+"1J",n.eraseScreen=i+"2J",n.scrollUp=i+"S",n.scrollDown=i+"T",n.clearScreen="c",n.clearTerminal="win32"===process.platform?`${n.eraseScreen}${i}0f`:`${n.eraseScreen}${i}3J${i}H`,n.beep=a,n.link=(e,t)=>[o,"8",s,s,t,a,e,o,"8",s,s,a].join(""),n.image=(e,t={})=>{let r=`${o}1337;File=inline=1`;return t.width&&(r+=`;width=${t.width}`),t.height&&(r+=`;height=${t.height}`),!1===t.preserveAspectRatio&&(r+=";preserveAspectRatio=0"),r+":"+e.toString("base64")+a},n.iTerm={setCwd(e=process.cwd()){return`${o}50;CurrentDir=${e}${a}`},annotation(e,t={}){let r=`${o}1337;`;const n=void 0!==t.x,i=void 0!==t.y;if((n||i)&&(!n||!i||void 0===t.length))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replace(/\|/g,""),r+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?r+=(n?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):r+=e,r+a}}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.createDynamicCommandLoader=t.findNearest=t.findNearestBinaries=t.registerAlias=t.aliases=t.binaries=t.builtins=void 0;const n=r(0),i=n.__importDefault(r(149)),o=n.__importDefault(r(4)),a=n.__importDefault(r(1)),s=r(8);if(t.builtins=new Map([["echo","/bin/echo"],["pwd","/bin/pwd"],["cd","/usr/bin/cd"],["true","/usr/bin/true"],["false","/usr/bin/false"],["which","/usr/bin/which"],["alias","/usr/bin/alias"],["export",{load(){return Promise.resolve().then((()=>n.__importStar(r(155))))}}],["exit",{load(){return Promise.resolve().then((()=>n.__importStar(r(157))))}}]]),t.binaries=new Map([["/bin/echo",{load(){return Promise.resolve().then((()=>n.__importStar(r(158))))}}],["/bin/pwd",{load(){return Promise.resolve().then((()=>n.__importStar(r(159))))}}],["/bin/ls",{load(){return Promise.resolve().then((()=>n.__importStar(r(160))))}}],["/bin/cat",{load(){return Promise.resolve().then((()=>n.__importStar(r(182))))}}],["/bin/chmod",{load(){return Promise.resolve().then((()=>n.__importStar(r(183))))}}],["/bin/cp",{load(){return Promise.resolve().then((()=>n.__importStar(r(184))))}}],["/bin/hostname",{load(){return Promise.resolve().then((()=>n.__importStar(r(185))))}}],["/bin/mkdir",{load(){return Promise.resolve().then((()=>n.__importStar(r(186))))}}],["/bin/mv",{load(){return Promise.resolve().then((()=>n.__importStar(r(187))))}}],["/bin/rm",{load(){return Promise.resolve().then((()=>n.__importStar(r(188))))}}],["/bin/ln",{load(){return Promise.resolve().then((()=>n.__importStar(r(189))))}}],["/usr/bin/true",{load(){return Promise.resolve().then((()=>n.__importStar(r(190))))}}],["/usr/bin/false",{load(){return Promise.resolve().then((()=>n.__importStar(r(191))))}}],["/usr/bin/cd",{load(){return Promise.resolve().then((()=>n.__importStar(r(192))))}}],["/usr/bin/which",{load(){return Promise.resolve().then((()=>n.__importStar(r(193))))}}],["/usr/bin/alias",{load(){return Promise.resolve().then((()=>n.__importStar(r(194))))}}],["/usr/bin/env",{load(){return Promise.resolve().then((()=>n.__importStar(r(195))))}}],["/usr/bin/clear",{load(){return Promise.resolve().then((()=>n.__importStar(r(196))))}}],["/usr/bin/sort",{load(){return Promise.resolve().then((()=>n.__importStar(r(197))))}}],["/usr/bin/head",{load(){return Promise.resolve().then((()=>n.__importStar(r(198))))}}],["/usr/bin/tail",{load(){return Promise.resolve().then((()=>n.__importStar(r(199))))}}],["/usr/bin/touch",{load(){return Promise.resolve().then((()=>n.__importStar(r(200))))}}],["/usr/bin/uptime",{load(){return Promise.resolve().then((()=>n.__importStar(r(201))))}}],["/usr/bin/git",{load(){return Promise.resolve().then((()=>n.__importStar(r(202))))}}],["/usr/local/bin/node",{}],["/usr/local/bin/xdg-open",{load(){return Promise.resolve().then((()=>n.__importStar(r(285))))}}],["/usr/local/bin/code",{load(){return Promise.resolve().then((()=>n.__importStar(r(286))))}}]]),"/bin/jsh"===process.env.SHELL&&"1"!==String(process.env.ENABLE_GIT_CLI)){try{o.default.unlinkSync("/usr/bin/git")}catch{}t.binaries.delete("/usr/bin/git")}t.aliases=new Map([["open","xdg-open"]]),t.registerAlias=(e,r)=>{t.aliases.set(e,r)},t.findNearestBinaries=()=>{const e=new Map;try{const t=i.default.sync("node_modules",{type:"directory",allowSymlinks:!1});if(t){const r=o.default.readdirSync(a.default.join(t,".bin"));for(const n of r)e.set(n,a.default.join(t,".bin",n))}}catch{}return e},t.findNearest=e=>(0,t.findNearestBinaries)().get(e),t.createDynamicCommandLoader=function(e){return{async load(){return{default:class extends s.Command{exec(){return e()}}}}}}},function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.commandRegistry=void 0;const i=r(0),o=Symbol("kInputProperty"),a=Symbol("kProxyProperty");n=new WeakMap,t.commandRegistry=new class s{constructor(){n.set(this,new Map)}getInputPropertyDefinition(e){return this.getPropertyDefinitions(e).get(o)}getProxyPropertyDefinition(e){return this.getPropertyDefinitions(e).get(a)}getPropertyDefinitions(e){var t,r;return null!==(r=null!==(t=i.__classPrivateFieldGet(this,n,"f").get(e.constructor))&&void 0!==t?t:i.__classPrivateFieldGet(this,n,"f").get(e))&&void 0!==r?r:new Map}registerInputOption(e,t){this.registerOption(e,o,t)}registerProxyOption(e,t){this.registerOption(e,a,t)}registerOption(e,t,r){var o;const a=e.constructor,s=null!==(o=i.__classPrivateFieldGet(this,n,"f").get(a))&&void 0!==o?o:new Map;s.set(t,r),i.__classPrivateFieldGet(this,n,"f").set(a,s)}}},function(e,t,r){"use strict";const n=r(39),i=r(75),o=r(164),a=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=n(e)).length)return 0;e=e.replace(o()," ");let t=0;for(let r=0;r<e.length;r++){const n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=i(n)?2:1)}return t};e.exports=a,e.exports.default=a},function(e,t,r){"use strict";const n=r(163);e.exports=e=>"string"==typeof e?e.replace(n(),""):e},function(e,t){e.exports=require("buffer")},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.GitConfigManager=void 0;const n=r(103);t.GitConfigManager=class i{static async get({fs:e,gitdir:t,filepath:r}){const i=r||`${t}/config`,o=await e.read(i,{encoding:"utf8"});if(o)return n.GitConfig.from(o)}static async save({fs:e,gitdir:t,filepath:r,config:n}){const i=r||`${t}/config`;await e.write(i,n.toString(),{encoding:"utf8"})}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.parseRemote=void 0;const n=r(0).__importStar(r(5)),i=r(32);t.parseRemote=async function(e,t){var r,o;let a,s,c=(0,i.normalize)(e);if(c)a=e;else{const[o,l]=await Promise.all([n.listRemotes(t),null!==(r=t.branch)&&void 0!==r?r:n.currentBranch(t)]);if(e||(e=await n.getConfig({...t,path:`branch.${l}.remote`})),o.length>0){const t=o.find((({remote:t})=>t===(null!=e?e:"origin")));a=null==t?void 0:t.url,s=null==t?void 0:t.remote,c=(0,i.normalize)(a)}}if(!c)throw new n.Errors.UrlParseError(null!==(o=null!=a?a:e)&&void 0!==o?o:"origin");return{url:c,from:a,remote:s}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.FatalError=void 0;class r extends Error{constructor(e){super(e),this.name="FatalError"}}t.FatalError=r},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Ref=t.REF_FIELDS=void 0;const n=r(264);t.REF_FIELDS=new Set(["HEAD","objecttype","objectname","objectsize","subject","author","authorname","authoremail","authordate","committer","committername","committeremail","committerdate","tagger","taggername","taggeremail","taggerdate","push","upstream","symref","refname","contents"]),t.Ref=class i{constructor(e,t,r,i,o,a,s){this.currentBranch=e,this.ref=t,this._symref=r,this.oid=i,this.branch=o,this.commit=a,this.commitRef=s,Object.assign(this,(0,n.parseAuthor)("author",a.author),(0,n.parseAuthor)("*author",null==s?void 0:s.author),(0,n.parseAuthor)("committer",a.committer),(0,n.parseAuthor)("*committer",null==s?void 0:s.committer),(0,n.parseAuthor)("tagger","tag"===a.type?a.tagger:void 0),(0,n.parseAuthor)("*tagger",void 0))}get HEAD(){return this.refname()===this.currentBranch.merge?"*":" "}get objecttype(){return this.commit.type}get"*objecttype"(){var e;return null===(e=this.commitRef)||void 0===e?void 0:e.type}objectname(e={short:40}){var t;let r=40;return"boolean"==typeof e.short?r=7:"number"==typeof e.short&&(r=Math.max(4,Math.min(40,e.short))),null===(t=this.oid)||void 0===t?void 0:t.slice(0,r)}"*objectname"(e={short:40}){var t;let r=40;return"boolean"==typeof e.short?r=7:"number"==typeof e.short&&(r=Math.max(4,Math.min(40,e.short))),null===(t=this.commit.object)||void 0===t?void 0:t.slice(0,r)}get objectsize(){return null==this.commit.size?"":this.commit.size}get"*objectsize"(){var e;return null==(null===(e=this.commitRef)||void 0===e?void 0:e.size)?"":this.commitRef.size}get subject(){var e;return((null===(e=this.commit.message)||void 0===e?void 0:e.split("\n"))||[""])[0]}get"*subject"(){var e,t;return((null===(t=null===(e=this.commitRef)||void 0===e?void 0:e.message)||void 0===t?void 0:t.split("\n"))||[""])[0]}push(e){var t,r,n,i,o,a,s,c,l,u,p,d,f,h,$;if(null==e?void 0:e.remotename)return(null===(n=null===(r=null===(t=this.branch)||void 0===t?void 0:t.config)||void 0===r?void 0:r.remote)||void 0===n?void 0:n.name)||"";if(null==e?void 0:e.remoteref)return(null===(s=null===(a=null===(o=null===(i=this.branch)||void 0===i?void 0:i.config)||void 0===o?void 0:o.remote)||void 0===a?void 0:a.refs)||void 0===s?void 0:s.push.from)||"";if((null==e?void 0:e.track)||(null==e?void 0:e["track,nobracket"])){const t=null===(l=null===(c=this.branch)||void 0===c?void 0:c.diff)||void 0===l?void 0:l.push;if(!t||0===t[0]&&0===t[1])return"";if(void 0===t[1])return e.track?"[gone]":"gone";const r=[];return 0!==t[0]&&r.push(`ahead ${t[0]}`),0!==t[1]&&r.push(`behind ${t[1]}`),e.track?`[${r.join(",")}]`:r.join(",")}if(null==e?void 0:e.trackshort){const e=null===(p=null===(u=this.branch)||void 0===u?void 0:u.diff)||void 0===p?void 0:p.push;if(!e||void 0===e[1])return"";if(e[0]===e[1])return"=";const t=[];return e[1]>0&&t.push("<"),e[0]&&e[0]>0&&t.push(">"),t.join("")||"="}const m=(null===($=null===(h=null===(f=null===(d=this.branch)||void 0===d?void 0:d.config)||void 0===f?void 0:f.remote)||void 0===h?void 0:h.refs)||void 0===$?void 0:$.push.to)||"";return e&&this.formatRefname(m,e)||m}upstream(e){var t,r,n,i,o,a,s,c,l,u,p,d,f,h,$;if(null==e?void 0:e.remotename)return(null===(n=null===(r=null===(t=this.branch)||void 0===t?void 0:t.config)||void 0===r?void 0:r.remote)||void 0===n?void 0:n.name)||"";if(null==e?void 0:e.remoteref)return(null===(s=null===(a=null===(o=null===(i=this.branch)||void 0===i?void 0:i.config)||void 0===o?void 0:o.remote)||void 0===a?void 0:a.refs)||void 0===s?void 0:s.fetch.from)||"";if((null==e?void 0:e.track)||(null==e?void 0:e["track,nobracket"])){const t=null===(l=null===(c=this.branch)||void 0===c?void 0:c.diff)||void 0===l?void 0:l.fetch;if(!t||0===t[0]&&0===t[1])return"";if(void 0===t[1])return e.track?"[gone]":"gone";const r=[];return 0!==t[0]&&r.push(`ahead ${t[0]}`),0!==t[1]&&r.push(`behind ${t[1]}`),e.track?`[${r.join(",")}]`:r.join(",")}if(null==e?void 0:e.trackshort){const e=null===(p=null===(u=this.branch)||void 0===u?void 0:u.diff)||void 0===p?void 0:p.fetch;if(!e||void 0===e[1])return"";if(e[0]===e[1])return"=";const t=[];return e[1]>0&&t.push("<"),e[0]&&e[0]>0&&t.push(">"),t.join("")||"="}const m=(null===($=null===(h=null===(f=null===(d=this.branch)||void 0===d?void 0:d.config)||void 0===f?void 0:f.remote)||void 0===h?void 0:h.refs)||void 0===$?void 0:$.fetch.to)||"";return e&&this.formatRefname(m,e)||m}symref(e){var t;return this._symref&&null!=e?this.formatRefname(this._symref,e)||this._symref:null!==(t=this._symref)&&void 0!==t?t:""}"*symref"(e){var t;const r=`${null!==(t=this._symref)&&void 0!==t?t:""}^{}`;return this._symref&&null!=e&&this.formatRefname(r,e)||r}refname(e){return null==e?this.ref:this.formatRefname(this.ref,e)||this.ref}"*refname"(e){var t;const r=`${null!==(t=this.ref)&&void 0!==t?t:""}^{}`;return null==e?r:this.formatRefname(r,e)||r}contents(e){return this.parseContents(this.commit,e)}"*contents"(e){return this.commitRef?this.parseContents(this.commitRef,e):""}parseContents(e,t){var r;if(null==t?void 0:t.size)return e.message&&e.message.length>0?`${Buffer.from(e.message).byteLength}`:"0";const n=(null===(r=e.message)||void 0===r?void 0:r.split("\n"))||[""],[i,...o]=n;return(null==t?void 0:t.subject)?i:(null==t?void 0:t.body)?o:(null==t?void 0:t.signature)?e.gpgsig:"number"==typeof(null==t?void 0:t.lines)?n.slice(0,t.lines).join("\n"):e.message||""}formatRefname(e,t){return t.short?e.replace(/^refs\/(?:heads|remotes|tags)\//,""):"number"==typeof t.lstrip?e.split("/").slice(t.lstrip).join("/"):"number"==typeof t.rstrip?e.split("/").reverse().slice(t.rstrip).reverse().join("/"):void 0}}},function(e,t,r){"use strict";e.exports=r(205)},function(e,t,r){"use strict";var n={};(0,r(19).assign)(n,r(208),r(211),r(92)),e.exports=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.isStatsObject=t.isExecutable=t.isTTY=t.isOptionalPositiveNumber=t.isPositiveNumber=t.isUndefined=t.isNumber=void 0;const n=r(0).__importDefault(r(4));t.isNumber=e=>"number"==typeof e,t.isUndefined=e=>void 0===e,t.isPositiveNumber=e=>(0,t.isNumber)(e)&&e>0,t.isOptionalPositiveNumber=e=>(0,t.isUndefined)(e)||(0,t.isPositiveNumber)(e),t.isTTY=e=>Boolean(e.isTTY),t.isExecutable=e=>!!(0,t.isStatsObject)(e)&&Boolean(e.mode&n.default.constants.S_IXUSR),t.isStatsObject=e=>{if("function"!=typeof(null==e?void 0:e.isFile))return!1;const t="number"==typeof(null==e?void 0:e.mode)||"bigint"==typeof(null==e?void 0:e.mode),r="number"==typeof(null==e?void 0:e.ino)||"bigint"==typeof(null==e?void 0:e.ino);return t&&r}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.isFileInDirectory=t.createDirentFile=void 0;const n=r(0).__importDefault(r(1)),i=r(47);t.createDirentFile=function(e,t={}){return(0,i.isStatsObject)(t)?{name:e,isFile(){return t.isFile()},isDirectory(){return t.isDirectory()},isSymbolicLink(){return t.isSymbolicLink()},isFIFO(){return t.isFIFO()},isSocket(){return t.isSocket()},isBlockDevice(){return t.isBlockDevice()},isCharacterDevice(){return t.isCharacterDevice()}}:{name:e,isFile(){return Boolean(t.file)},isDirectory(){return Boolean(t.dir)},isSymbolicLink(){return!1},isFIFO(){return!1},isSocket(){return!1},isBlockDevice(){return!1},isCharacterDevice(){return!1}}},t.isFileInDirectory=function(e,t){const r=n.default.resolve(process.cwd(),e);return n.default.join(r,"/").startsWith(n.default.join(t,"/"))}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Operator=void 0;const n=r(8),i=r(9);class o extends n.Executable{constructor(e,t){super(),this.x=e,this.y=t}async execute(){try{if(this.isAborted)throw new i.AbortError;this.connectStdio();const e=await this.exec();if("number"==typeof e&&0!==e)throw new i.ExecuteError(e)}catch(e){throw this.exitCode=1,e instanceof i.ExecuteError&&(this.exitCode=e.exitCode),e}finally{this.endInputStream()}}connectStdio(){this.context.stdin.pipe(this.x.context.stdin),this.x.context.stdout=this.context.stdout,this.x.context.stderr=this.context.stderr,this.context.stdin.pipe(this.y.context.stdin),this.y.context.stdout=this.context.stdout,this.y.context.stderr=this.context.stderr}}t.Operator=o},function(e,t,r){"use strict";const n=r(75),i=r(166),o=r(70),a=["","›"],s=e=>`${a[0]}[${e}m`,c=(e,t,r)=>{let n=[];e=[...e];for(let r of e){const i=r;r.includes(";")&&(r=r.split(";")[0][0]+"0");const a=o.codes.get(Number.parseInt(r,10));if(a){const r=e.indexOf(a.toString());-1===r?n.push(s(t?a:i)):e.splice(r,1)}else{if(t){n.push(s(0));break}n.push(s(i))}}if(t&&(n=n.filter(((e,t)=>n.indexOf(e)===t)),void 0!==r)){const e=s(o.codes.get(Number.parseInt(r,10)));n=n.reduce(((t,r)=>r===e?[r,...t]:[...t,r]),[])}return n.join("")};e.exports=(e,t,r)=>{const o=[...e],s=[];let l,u="number"==typeof r?r:o.length,p=!1,d=0,f="";for(const[h,$]of o.entries()){let o=!1;if(a.includes($)){const t=/\d[^m]*/.exec(e.slice(h,h+18));l=t&&t.length>0?t[0]:void 0,d<u&&(p=!0,void 0!==l&&s.push(l))}else p&&"m"===$&&(p=!1,o=!0);if(p||o||d++,!i({exact:!0}).test($)&&n($.codePointAt())&&(d++,"number"!=typeof r&&u++),d>t&&d<=u)f+=$;else if(d!==t||p||void 0===l){if(d>=u){f+=c(s,!0,l);break}}else f=c(s)}return f}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.drawContent=void 0,t.drawContent=(e,t)=>{const{startSeparator:r,middleSeparator:n,endSeparator:i,drawSeparator:o}=t,a=e.length,s=[];return o(0,a)&&s.push(r),e.forEach(((e,t)=>{s.push(e),t+1<a&&o(t+1,a)&&s.push(n)})),o(a,a)&&s.push(i),s.join("")}},function(e,t){e.exports=require("fs/promises")},function(e,t,r){var n=r(40),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";var n=r(23).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,c=function(){t.writable||u()},l=t._writableState&&t._writableState.finished,u=function(){s=!1,l=!0,a||o.call(t)},p=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,p=!0,s||o.call(t)},f=function(e){o.call(t,e)},h=function(){var e;return a&&!p?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!l?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},$=function(){t.req.on("finish",u)};return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",u),t.on("abort",h),t.req?$():t.on("request",$)):s&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",d),t.on("finish",u),!1!==r.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",u),t.removeListener("abort",h),t.removeListener("request",$),t.req&&t.req.removeListener("finish",u),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",u),t.removeListener("end",d),t.removeListener("error",f),t.removeListener("close",h)}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.findRemoteRefSource=t.findRemoteRef=t.parseRefspec=t.getRefspecs=void 0;const n=r(14),i=/^\+?(?<from>.*?):(?<to>.*?)$/;function o(e){const t=e.match(i);if(3!==(null==t?void 0:t.length))return;const{from:r,to:n}=t.groups;if(r.includes("*")!==n.includes("*"))throw new Error(`invalid refspec '${e}'`);return{from:r,to:n}}t.getRefspecs=async function(e,t,r){const i=await(0,n.getAllConfigValues)(`remote.${e}.${t}`,r),a=[];for(const e of i){const t=o(e);t&&a.push(t)}return a},t.parseRefspec=o,t.findRemoteRef=function(e,t){for(const r of t){const t=new RegExp(`^${r.from.replace("*","(.*?)")}$`).exec(e);if(t)return{from:r.from.replace("*",t[1]),to:r.to.replace("*",t[1])}}},t.findRemoteRefSource=function(e,t){for(const r of t){const t=new RegExp(`^${r.to.replace("*","(.*?)")}$`).exec(e);if(t)return{from:r.to.replace("*",t[1]),to:r.from.replace("*",t[1])}}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.createRefsFilter=void 0,t.createRefsFilter=function(e,t={}){const r=e.map((e=>e.replace(/\./g,"\\.").replace(/\?/g,".?").replace(/\*/g,t.spanSegments?".*?":"[^/]*?"))),n=t.ignoreCase?"i":"",i=e.length>0?new RegExp(`^(?:${r.join("|")})$`,n):void 0;return e=>!i||i.test(t.exact?e:e.replace(/^refs\/.*?\//,""))}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.isTreeishValid=t.parseTreeish=void 0;const n=r(5),i=r(25),o=r(13);function a(e){const[t,r]=e.split(":");return{ref:t,dir:r}}t.parseTreeish=a,t.isTreeishValid=async function(e,t){const r=a(e),{ref:s}=r;let{dir:c}=r;if(!(0,o.isValidRefName)(s))return!1;try{const e=await(0,n.resolveRef)({...t,ref:s});return c&&(c.endsWith("/")&&(c=c.slice(0,-1)),await(0,i.getDirentOidAndMode)(c,t,{oid:e})),!0}catch{return!1}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.makeRelative=void 0;const n=r(0).__importDefault(r(1));t.makeRelative=function(e,t,r=process.cwd()){const i=n.default.relative(t,r);return n.default.isAbsolute(e)&&(e=n.default.relative(r,e)),n.default.join(i,e)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatTimezone=t.formatDate=void 0;const r=e=>String(e).padStart(2,"0");function n(e){const t=Math.abs(e),n=Math.floor(t/60),i=t%60;return`${e>0?"-":"+"}${r(n)}${r(i)}`}t.formatDate=function(e,t){const i=60*(new Date(e).getTimezoneOffset()-t)*1e3,o=new Date(e+i);return[o.toLocaleString("en-US",{weekday:"short",month:"short",day:"numeric"}).replace(/,/g,""),`${r(o.getHours())}:${r(o.getMinutes())}:${r(o.getSeconds())}`,`${o.getFullYear()}`,n(t)].join(" ")},t.formatTimezone=n},function(e,t,r){"use strict";(function(e){(function(){var t,n;if(Error.stackTraceLimit=1/0,"undefined"!=typeof window?t=window:"undefined"!=typeof self?t=self:"undefined"!=typeof global?(t=global).require=r(296):t=this,void 0===t||void 0===t.Array)throw new Error("no global object found");1&&(n=e);var i,o={},a=0,s=function(e){return e?Object.keys(e):[]},c=function(){},l=function(){i("invalid memory address or nil pointer dereference")},u=function(e,t,r){return e.apply(t,r)},p=function(e,t){for(var r=new e.constructor(e.length),n=0;n<e.length;n++)r[n]=t(e[n]);return r},d=function(e,t){var r=e.$methodVals||{};e.$methodVals=r;var n=r[t];if(void 0!==n)return n;var i=e[t];return n=function(){$t--;try{return i.apply(e,arguments)}finally{$t++}},r[t]=n,n},f=function(e,t,r,n){if(void 0===r&&(r=e.$length),void 0===n&&(n=e.$capacity),(t<0||r<t||n<r||r>e.$capacity||n>e.$capacity)&&i("slice bounds out of range"),e===e.constructor.nil)return e;var o=new e.constructor(e.$array);return o.$offset=e.$offset+t,o.$length=r-t,o.$capacity=n-t,o},h=function(e,t,r){return(t<0||r<t||r>e.length)&&i("slice bounds out of range"),e.substring(t,r)},$=function(e){return e.$array.constructor!==Array?e.$array.subarray(e.$offset,e.$offset+e.$length):e.$array.slice(e.$offset,e.$offset+e.$length)},m=function(e,t){var r=e.charCodeAt(t);if(r<128)return[r,1];if(r!=r||r<192)return[65533,1];var n=e.charCodeAt(t+1);if(n!=n||n<128||192<=n)return[65533,1];if(r<224)return(o=(31&r)<<6|63&n)<=127?[65533,1]:[o,2];var i=e.charCodeAt(t+2);if(i!=i||i<128||192<=i)return[65533,1];if(r<240)return(o=(15&r)<<12|(63&n)<<6|63&i)<=2047||55296<=o&&o<=57343?[65533,1]:[o,3];var o,a=e.charCodeAt(t+3);return a!=a||a<128||192<=a?[65533,1]:r<248?(o=(7&r)<<18|(63&n)<<12|(63&i)<<6|63&a)<=65535||1114111<o?[65533,1]:[o,4]:[65533,1]},g=function(e){return(e<0||e>1114111||55296<=e&&e<=57343)&&(e=65533),e<=127?String.fromCharCode(e):e<=2047?String.fromCharCode(192|e>>6,128|63&e):e<=65535?String.fromCharCode(224|e>>12,128|e>>6&63,128|63&e):String.fromCharCode(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e)},b=function(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t},v=function(e){if(0===e.$length)return"";for(var t="",r=0;r<e.$length;r+=1e4)t+=String.fromCharCode.apply(void 0,e.$array.subarray(e.$offset+r,e.$offset+Math.min(e.$length,r+1e4)));return t},y=function(e){for(var t,r=new Int32Array(e.length),n=0,i=0;i<e.length;i+=t[1],n++)t=m(e,i),r[n]=t[0];return r.subarray(0,n)},k=function(e){if(0===e.$length)return"";for(var t="",r=0;r<e.$length;r++)t+=g(e.$array[e.$offset+r]);return t},w=function(e,t){for(var r=Math.min(t.length,e.$length),n=0;n<r;n++)e.$array[e.$offset+n]=t.charCodeAt(n);return r},_=function(e,t){var r=Math.min(t.$length,e.$length);return x(e.$array,t.$array,e.$offset,t.$offset,r,e.constructor.elem),r},x=function(e,t,r,n,i,o){if(0!==i&&(e!==t||r!==n))if(t.subarray)e.set(t.subarray(n,n+i),r);else{switch(o.kind){case oe:case fe:if(e===t&&r>n){for(var a=i-1;a>=0;a--)o.copy(e[r+a],t[n+a]);return}for(a=0;a<i;a++)o.copy(e[r+a],t[n+a]);return}if(e===t&&r>n)for(a=i-1;a>=0;a--)e[r+a]=t[n+a];else for(a=0;a<i;a++)e[r+a]=t[n+a]}},E=function(e,t){var r=t.zero();return t.copy(r,e),r},S=function(e,t){void 0===e.$proxies&&(e.$proxies={},e.$proxies[e.constructor.string]=e);var r=e.$proxies[t.string];if(void 0===r){for(var n={},i=0;i<t.elem.fields.length;i++)!function(t){n[t]={get(){return e[t]},set(r){e[t]=r}}}(t.elem.fields[i].prop);(r=Object.create(t.prototype,n)).$val=r,e.$proxies[t.string]=r,r.$proxies=e.$proxies}return r},D=function(e){return C(e,arguments,1,arguments.length-1)},P=function(e,t){if(t.constructor===String){var r=b(t);return C(e,r,0,r.length)}return C(e,t.$array,t.$offset,t.$length)},C=function(e,t,r,n){if(0===n)return e;var i=e.$array,o=e.$offset,a=e.$length+n,s=e.$capacity;if(a>s)if(o=0,s=Math.max(a,e.$capacity<1024?2*e.$capacity:Math.floor(5*e.$capacity/4)),e.$array.constructor===Array){(i=e.$array.slice(e.$offset,e.$offset+e.$length)).length=s;for(var c=e.constructor.elem.zero,l=e.$length;l<s;l++)i[l]=c()}else(i=new e.$array.constructor(s)).set(e.$array.subarray(e.$offset,e.$offset+e.$length));x(i,t,o+e.$length,r,n,e.constructor.elem);var u=new e.constructor(i);return u.$offset=o,u.$length=a,u.$capacity=s,u},O=function(e,t,r){if(r===et)return e===t;switch(r.kind){case ne:case ie:return e.$real===t.$real&&e.$imag===t.$imag;case K:case Q:return e.$high===t.$high&&e.$low===t.$low;case oe:if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!O(e[n],t[n],r.elem))return!1;return!0;case fe:for(n=0;n<r.fields.length;n++){var i=r.fields[n];if(!O(e[i.prop],t[i.prop],i.typ))return!1}return!0;case ce:return F(e,t);default:return e===t}},F=function(e,t){return e===Ze||t===Ze?e===t:e.constructor===t.constructor&&(e.constructor===et?e.object===t.object:(e.constructor.comparable||i("comparing uncomparable type "+e.constructor.string),O(e.$val,t.$val,e.constructor)))},R=Math.min,B=parseInt,A=new Float32Array(1),I=Math.fround||function(e){return A[0]=e,A[0]},j=Math.imul||function(e,t){var r=65535&e,n=65535&t;return r*n+((e>>>16&65535)*n+r*(t>>>16&65535)<<16>>>0)>>0},N=function(e){return 4294967296*e.$high+e.$low},T=function(e,t){return 0===t?e:t<32?new e.constructor(e.$high<<t|e.$low>>>32-t,e.$low<<t>>>0):t<64?new e.constructor(e.$low<<t-32,0):new e.constructor(0,0)},L=function(e,t){return 0===t?e:t<32?new e.constructor(e.$high>>t,(e.$low>>>t|e.$high<<32-t)>>>0):t<64?new e.constructor(e.$high>>31,e.$high>>t-32>>>0):e.$high<0?new e.constructor(-1,4294967295):new e.constructor(0,0)},M=function(e,t){return 0===t?e:t<32?new e.constructor(e.$high>>>t,(e.$low>>>t|e.$high<<32-t)>>>0):t<64?new e.constructor(0,e.$high>>>t-32):new e.constructor(0,0)},W=function(e,t){var r=0,n=0;0!=(1&t.$low)&&(r=e.$high,n=e.$low);for(var i=1;i<32;i++)0!=(t.$low&1<<i)&&(r+=e.$high<<i|e.$low>>>32-i,n+=e.$low<<i>>>0);for(i=0;i<32;i++)0!=(t.$high&1<<i)&&(r+=e.$low<<i);return new e.constructor(r,n)},z=function(e,t,r){0===t.$high&&0===t.$low&&i("integer divide by zero");var n=1,o=1,a=e.$high,s=e.$low;a<0&&(n=-1,o=-1,a=-a,0!==s&&(a--,s=4294967296-s));var c=t.$high,l=t.$low;t.$high<0&&(n*=-1,c=-c,0!==l&&(c--,l=4294967296-l));for(var u=0,p=0,d=0;c<2147483648&&(a>c||a===c&&s>l);)c=(c<<1|l>>>31)>>>0,l=l<<1>>>0,d++;for(var f=0;f<=d;f++)u=u<<1|p>>>31,p=p<<1>>>0,(a>c||a===c&&s>=l)&&(a-=c,(s-=l)<0&&(a--,s+=4294967296),4294967296==++p&&(u++,p=0)),l=(l>>>1|c<<32-1)>>>0,c>>>=1;return r?new e.constructor(a*o,s*o):new e.constructor(u*n,p*n)},U=1,V=2,q=3,H=4,G=5,K=6,X=7,J=8,Z=9,Y=10,Q=11,ee=12,te=13,re=14,ne=15,ie=16,oe=17,ae=18,se=19,ce=20,le=21,ue=22,pe=23,de=24,fe=25,he=26,$e=[],me=function(e){if(e===Ze)return"nil";var t=e.constructor;return t.string+"$"+t.keyFor(e.$val)},ge=function(e){return e},be=0,ve=function(e){return void 0===e.$id&&(a++,e.$id=a),String(e.$id)},ye=function(e,t,r,n,i,o,s){var c;switch(t){case U:case V:case q:case H:case G:case X:case J:case Z:case Y:case ee:case he:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=ge;break;case de:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=function(e){return"$"+e};break;case te:case re:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=function(e){return(t=e)!=t?"NaN$"+ ++a:String(t);var t};break;case K:(c=function(e,t){this.$high=e+Math.floor(Math.ceil(t)/4294967296)>>0,this.$low=t>>>0,this.$val=this}).keyFor=function(e){return e.$high+"$"+e.$low};break;case Q:(c=function(e,t){this.$high=e+Math.floor(Math.ceil(t)/4294967296)>>>0,this.$low=t>>>0,this.$val=this}).keyFor=function(e){return e.$high+"$"+e.$low};break;case ne:(c=function(e,t){this.$real=I(e),this.$imag=I(t),this.$val=this}).keyFor=function(e){return e.$real+"$"+e.$imag};break;case ie:(c=function(e,t){this.$real=e,this.$imag=t,this.$val=this}).keyFor=function(e){return e.$real+"$"+e.$imag};break;case oe:(c=function(e){this.$val=e}).wrapped=!0,c.ptr=ye(4,ue,"*"+r,!1,"",!1,(function(e){this.$get=function(){return e},this.$set=function(e){c.copy(this,e)},this.$val=e})),c.init=function(e,t){c.elem=e,c.len=t,c.comparable=e.comparable,c.keyFor=function(t){return[].join.call(p(t,(function(t){return String(e.keyFor(t)).replace(/\\/g,"\\\\").replace(/\$/g,"\\$")})),"$")},c.copy=function(t,r){x(t,r,0,0,r.length,e)},c.ptr.init(c),Object.defineProperty(c.ptr.nil,"nilCheck",{get:l})};break;case ae:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=ve,c.init=function(e,t,r){c.elem=e,c.sendOnly=t,c.recvOnly=r};break;case se:(c=function(e){this.$val=e}).wrapped=!0,c.init=function(e,t,r){c.params=e,c.results=t,c.variadic=r,c.comparable=!1};break;case ce:(c={implementedBy:{},missingMethodFor:{}}).keyFor=me,c.init=function(e){c.methods=e,e.forEach((function(e){Ze[e.prop]=l}))};break;case le:(c=function(e){this.$val=e}).wrapped=!0,c.init=function(e,t){c.key=e,c.elem=t,c.comparable=!1};break;case ue:(c=s||function(e,t,r){this.$get=e,this.$set=t,this.$target=r,this.$val=this}).keyFor=ve,c.init=function(e){c.elem=e,c.wrapped=e.kind===oe,c.nil=new c(l,l)};break;case pe:(c=function(e){e.constructor!==c.nativeArray&&(e=new c.nativeArray(e)),this.$array=e,this.$offset=0,this.$length=e.length,this.$capacity=e.length,this.$val=this}).init=function(e){c.elem=e,c.comparable=!1,c.nativeArray=Me(e.kind),c.nil=new c([])};break;case fe:(c=function(e){this.$val=e}).wrapped=!0,c.ptr=ye(4,ue,"*"+r,!1,i,o,s),c.ptr.elem=c,c.ptr.prototype.$get=function(){return this},c.ptr.prototype.$set=function(e){c.copy(this,e)},c.init=function(e,t){c.pkgPath=e,c.fields=t,t.forEach((function(e){e.typ.comparable||(c.comparable=!1)})),c.keyFor=function(e){var r=e.$val;return p(t,(function(e){return String(e.typ.keyFor(r[e.prop])).replace(/\\/g,"\\\\").replace(/\$/g,"\\$")})).join("$")},c.copy=function(e,r){for(var n=0;n<t.length;n++){var i=t[n];switch(i.typ.kind){case oe:case fe:i.typ.copy(e[i.prop],r[i.prop]);continue;default:e[i.prop]=r[i.prop];continue}}};var r,n={};t.forEach((function(e){n[e.prop]={get:l,set:l}})),c.ptr.nil=Object.create(s.prototype,n),c.ptr.nil.$val=c.ptr.nil,r=function(){var e=function(e,t,r){void 0===e.prototype[t.prop]&&(e.prototype[t.prop]=function(){var e=this.$val[r.prop];return r.typ===et&&(e=new et(e)),void 0===e.$val&&(e=new r.typ(e)),e[t.prop].apply(e,arguments)})};t.forEach((function(t){t.embedded&&(ke(t.typ).forEach((function(r){e(c,r,t),e(c.ptr,r,t)})),ke(st(t.typ)).forEach((function(r){e(c.ptr,r,t)})))}))},null!==$e?$e.push(r):r()};break;default:vt(new Te("invalid kind: "+t))}switch(t){case U:case le:c.zero=function(){return!1};break;case V:case q:case H:case G:case X:case J:case Z:case Y:case ee:case he:case te:case re:c.zero=function(){return 0};break;case de:c.zero=function(){return""};break;case K:case Q:case ne:case ie:var u=new c(0,0);c.zero=function(){return u};break;case ue:case pe:c.zero=function(){return c.nil};break;case ae:c.zero=function(){return He};break;case se:c.zero=function(){return l};break;case ce:c.zero=function(){return Ze};break;case oe:c.zero=function(){var e=Me(c.elem.kind);if(e!==Array)return new e(c.len);for(var t=new Array(c.len),r=0;r<c.len;r++)t[r]=c.elem.zero();return t};break;case fe:c.zero=function(){return new c.ptr};break;default:vt(new Te("invalid kind: "+t))}return c.id=be,be++,c.size=e,c.kind=t,c.string=r,c.named=n,c.pkg=i,c.exported=o,c.methods=[],c.methodSetCache=null,c.comparable=!0,c},ke=function(e){if(null!==e.methodSetCache)return e.methodSetCache;var t={},r=e.kind===ue;if(r&&e.elem.kind===ce)return e.methodSetCache=[],[];for(var n=[{typ:r?e.elem:e,indirect:r}],i={};n.length>0;){var o=[],a=[];n.forEach((function(e){if(!i[e.typ.string])switch(i[e.typ.string]=!0,e.typ.named&&(a=a.concat(e.typ.methods),e.indirect&&(a=a.concat(st(e.typ).methods))),e.typ.kind){case fe:e.typ.fields.forEach((function(t){if(t.embedded){var r=t.typ,n=r.kind===ue;o.push({typ:n?r.elem:r,indirect:e.indirect||n})}}));break;case ce:a=a.concat(e.typ.methods)}})),a.forEach((function(e){void 0===t[e.name]&&(t[e.name]=e)})),n=o}return e.methodSetCache=[],Object.keys(t).sort().forEach((function(r){e.methodSetCache.push(t[r])})),e.methodSetCache},we=ye(1,U,"bool",!0,"",!1,null),_e=ye(4,V,"int",!0,"",!1,null),xe=ye(1,q,"int8",!0,"",!1,null),Ee=ye(2,H,"int16",!0,"",!1,null),Se=ye(4,G,"int32",!0,"",!1,null),De=ye(8,K,"int64",!0,"",!1,null),Pe=ye(4,X,"uint",!0,"",!1,null),Ce=ye(1,J,"uint8",!0,"",!1,null),Oe=ye(2,Z,"uint16",!0,"",!1,null),Fe=ye(4,Y,"uint32",!0,"",!1,null),Re=ye(8,Q,"uint64",!0,"",!1,null),Be=ye(4,ee,"uintptr",!0,"",!1,null),Ae=ye(4,te,"float32",!0,"",!1,null),Ie=ye(8,re,"float64",!0,"",!1,null),je=ye(8,ne,"complex64",!0,"",!1,null),Ne=ye(16,ie,"complex128",!0,"",!1,null),Te=ye(8,de,"string",!0,"",!1,null),Le=ye(4,he,"unsafe.Pointer",!0,"",!1,null),Me=function(e){switch(e){case V:return Int32Array;case q:return Int8Array;case H:return Int16Array;case G:return Int32Array;case X:return Uint32Array;case J:return Uint8Array;case Z:return Uint16Array;case Y:case ee:return Uint32Array;case te:return Float32Array;case re:return Float64Array;default:return Array}},We=function(e,t){var r=Me(e);return r===Array?t:new r(t)},ze={},Ue=function(e,t){var r=e.id+"$"+t,n=ze[r];return void 0===n&&(n=ye(12,oe,"["+t+"]"+e.string,!1,"",!1,null),ze[r]=n,n.init(e,t)),n},Ve=function(e,t,r){var n=(r?"<-":"")+"chan"+(t?"<- ":" ")+e.string,i=t?"SendChan":r?"RecvChan":"Chan",o=e[i];return void 0===o&&(o=ye(4,ae,n,!1,"",!1,null),e[i]=o,o.init(e,t,r)),o},qe=function(e,t){(t<0||t>2147483647)&&i("makechan: size out of range"),this.$elem=e,this.$capacity=t,this.$buffer=[],this.$sendQueue=[],this.$recvQueue=[],this.$closed=!1},He=new qe(null,0);He.$sendQueue=He.$recvQueue={length:0,push(){},shift(){},indexOf(){return-1}};var Ge={},Ke=function(e,t,r){var n=p(e,(function(e){return e.id})).join(",")+"$"+p(t,(function(e){return e.id})).join(",")+"$"+r,i=Ge[n];if(void 0===i){var o=p(e,(function(e){return e.string}));r&&(o[o.length-1]="..."+o[o.length-1].substr(2));var a="func("+o.join(", ")+")";1===t.length?a+=" "+t[0].string:t.length>1&&(a+=" ("+p(t,(function(e){return e.string})).join(", ")+")"),i=ye(4,se,a,!1,"",!1,null),Ge[n]=i,i.init(e,t,r)}return i},Xe={},Je=function(e){var t=p(e,(function(e){return e.pkg+","+e.name+","+e.typ.id})).join("$"),r=Xe[t];if(void 0===r){var n="interface {}";0!==e.length&&(n="interface { "+p(e,(function(e){return(""!==e.pkg?e.pkg+".":"")+e.name+e.typ.string.substr(4)})).join("; ")+" }"),r=ye(8,ce,n,!1,"",!1,null),Xe[t]=r,r.init(e)}return r}([]),Ze={},Ye=ye(8,ce,"error",!0,"",!1,null);Ye.init([{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}]);var Qe,et,tt,rt,nt,it={},ot=function(e,t){var r=e.id+"$"+t.id,n=it[r];return void 0===n&&(n=ye(4,le,"map["+e.string+"]"+t.string,!1,"",!1,null),it[r]=n,n.init(e,t)),n},at=function(e,t){for(var r={},n=0;n<t.length;n++){var i=t[n];r[e(i.k)]=i}return r},st=function(e){var t=e.ptr;return void 0===t&&(t=ye(4,ue,"*"+e.string,!1,"",e.exported,null),e.ptr=t,t.init(e)),t},ct=function(e,t){return t.elem.kind===fe?e:new t((function(){return e}),(function(t){e=t}))},lt=function(e,t,r){return e.$ptr=e.$ptr||{},e.$ptr[t]||(e.$ptr[t]=new r((function(){return e[t]}),(function(r){e[t]=r})))},ut=function(e){var t=e.slice;return void 0===t&&(t=ye(12,pe,"[]"+e.string,!1,"",!1,null),e.slice=t,t.init(e)),t},pt=function(e,t,r){r=r||t,(t<0||t>2147483647)&&i("makeslice: len out of range"),(r<0||r<t||r>2147483647)&&i("makeslice: cap out of range");var n=new e.nativeArray(r);if(e.nativeArray===Array)for(var o=0;o<r;o++)n[o]=e.elem.zero();var a=new e(n);return a.$length=t,a},dt={},ft=function(e,t){var r=p(t,(function(e){return e.name+","+e.typ.id+","+e.tag})).join("$"),n=dt[r];if(void 0===n){var i="struct { "+p(t,(function(e){return e.name+" "+e.typ.string+(""!==e.tag?' "'+e.tag.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"':"")})).join("; ")+" }";0===t.length&&(i="struct {}"),n=ye(0,fe,i,!1,"",!1,(function(){this.$val=this;for(var e=0;e<t.length;e++){var r=t[e],n=arguments[e];this[r.prop]=void 0!==n?n:r.typ.zero()}})),dt[r]=n,n.init(e,t)}return n},ht=function(e,t,r){var n,i=t.kind===ce,a="";if(e===Ze)n=!1;else if(i){var s=e.constructor.string;if(void 0===(n=t.implementedBy[s])){n=!0;for(var c=ke(e.constructor),l=t.methods,u=0;u<l.length;u++){for(var p=l[u],d=!1,f=0;f<c.length;f++){var h=c[f];if(h.name===p.name&&h.pkg===p.pkg&&h.typ===p.typ){d=!0;break}}if(!d){n=!1,t.missingMethodFor[s]=p.name;break}}t.implementedBy[s]=n}n||(a=t.missingMethodFor[s])}else n=e.constructor===t;if(!n){if(r)return[t.zero(),!1];vt(new o["runtime"].TypeAssertionError.ptr(o["runtime"]._type.ptr.nil,e===Ze?o["runtime"]._type.ptr.nil:new o["runtime"]._type.ptr(e.constructor.string),new o["runtime"]._type.ptr(t.string),a))}return i||(e=e.$val),t===et&&(e=e.object),r?[e,!0]:e},$t=0,mt=function(){var e=new Error;if(void 0!==e.stack)return $t+e.stack.split("\n").length},gt=null,bt=function(e,t,r){if(!r&&null!==e&&e.index>=_t.deferStack.length)throw t;if(null!==t){var n=null;try{_t.deferStack.push(e),vt(new tt(t))}catch(e){n=e}return _t.deferStack.pop(),void bt(e,n)}if(!_t.asleep){$t--;var i=gt,o=Qe,a=_t.panicStack.pop();void 0!==a&&(gt=mt(),Qe=a);try{for(;1;){if(null===e&&void 0===(e=_t.deferStack[_t.deferStack.length-1])){if(gt=null,a.Object instanceof Error)throw a.Object;var s;throw s=a.constructor===Te?a.$val:void 0!==a.Error?a.Error():void 0!==a.String?a.String():a,new Error(s)}var c=e.pop();if(void 0===c){if(_t.deferStack.pop(),void 0!==a){e=null;continue}return}var l=c[0].apply(c[2],c[1]);if(l&&void 0!==l.$blk){if(e.push([l.$blk,[],l]),r)throw null;return}if(void 0!==a&&null===gt)throw null}}finally{void 0!==a&&(null!==gt&&_t.panicStack.push(a),gt=i,Qe=o),$t++}}},vt=function(e){_t.panicStack.push(e),bt(null,null,!0)},yt=function(){return null===gt||void 0!==gt&&gt!==mt()-2?Ze:(gt=null,Qe)},kt=function(e){throw e},wt={asleep:!1,exit:!1,deferStack:[],panicStack:[]},_t=wt,xt=0,Et=!0,St=!1,Dt=[],Pt=function(){try{for(var e;void 0!==(e=Dt.shift());)e()}finally{Dt.length>0&&setTimeout(Pt,0)}},Ct=function(e){e.asleep&&(e.asleep=!1,xt++),Dt.push(e),_t===wt&&Pt()},Ot=function(){_t===wt&&i("cannot block in JavaScript callback, fix by wrapping code in goroutine"),_t.asleep=!0},Ft=function(e,t){e.$closed&&i("send on closed channel");var r=e.$recvQueue.shift();if(void 0===r){if(!(e.$buffer.length<e.$capacity)){var n,o=_t;return e.$sendQueue.push((function(e){return n=e,Ct(o),t})),Ot(),{$blk(){n&&i("send on closed channel")}}}e.$buffer.push(t)}else r([t,!0])},Rt=function(e){var t=e.$sendQueue.shift();void 0!==t&&e.$buffer.push(t(!1));var r=e.$buffer.shift();if(void 0!==r)return[r,!0];if(e.$closed)return[e.$elem.zero(),!1];var n=_t,i={$blk(){return this.value}};return e.$recvQueue.push((function(e){i.value=e,Ct(n)})),Ot(),i},Bt=function(e){for(var t=[],r=-1,n=0;n<e.length;n++){var o,a=(o=e[n])[0];switch(o.length){case 0:r=n;break;case 1:(0!==a.$sendQueue.length||0!==a.$buffer.length||a.$closed)&&t.push(n);break;case 2:a.$closed&&i("send on closed channel"),(0!==a.$recvQueue.length||a.$buffer.length<a.$capacity)&&t.push(n)}}if(0!==t.length&&(r=t[Math.floor(Math.random()*t.length)]),-1!==r)switch((o=e[r]).length){case 0:return[r];case 1:return[r,Rt(o[0])];case 2:return Ft(o[0],o[1]),[r]}var s=[],c=_t,l={$blk(){return this.selection}},u=function(){for(var e=0;e<s.length;e++){var t=s[e],r=t[0],n=r.indexOf(t[1]);-1!==n&&r.splice(n,1)}};for(n=0;n<e.length;n++)!function(t){var r=e[t];switch(r.length){case 1:var n=function(e){l.selection=[t,e],u(),Ct(c)};s.push([r[0].$recvQueue,n]),r[0].$recvQueue.push(n);break;case 2:n=function(){return r[0].$closed&&i("send on closed channel"),l.selection=[t],u(),Ct(c),r[1]},s.push([r[0].$sendQueue,n]),r[0].$sendQueue.push(n)}}(n);return Ot(),l},At=function(e){switch(e.kind){case U:case V:case q:case H:case G:case X:case J:case Z:case Y:case ee:case te:case re:return!1;default:return e!==et}},It=function(e,t,r){if(t===et)return e;switch(t.kind){case U:case V:case q:case H:case G:case X:case J:case Z:case Y:case ee:case te:case re:return e;case K:case Q:return N(e);case oe:return At(t.elem)?p(e,(function(e){return It(e,t.elem,r)})):e;case se:return jt(e,t,!1,r);case ce:return e===Ze?null:e.constructor===et?e.$val.object:It(e.$val,e.constructor,r);case le:for(var n={},a=s(e),c=0;c<a.length;c++){var l=e[a[c]];n[It(l.k,t.key,r)]=It(l.v,t.elem,r)}return n;case ue:return e===t.nil?null:It(e.$get(),t.elem,r);case pe:return At(t.elem)?p($(e),(function(e){return It(e,t.elem,r)})):$(e);case de:if(Tt(e))return e;var u,d="";for(c=0;c<e.length;c+=u[1]){var f=(u=m(e,c))[0];if(f>65535){var h=Math.floor((f-65536)/1024)+55296,g=(f-65536)%1024+56320;d+=String.fromCharCode(h,g)}else d+=String.fromCharCode(f)}return d;case fe:var b=o["time"];if(void 0!==b&&e.constructor===b.Time.ptr){var v=z(e.UnixNano(),new De(0,1e6));return new Date(N(v))}var y={},k=function(e,t){if(t===et)return e;switch(t.kind){case ue:return e===t.nil?y:k(e.$get(),t.elem);case fe:var r=t.fields[0];return k(e[r.prop],r.typ);case ce:return k(e.$val,e.constructor);default:return y}},w=k(e,t);if(w!==y)return w;if(void 0!==r)return r(e);for(w={},c=0;c<t.fields.length;c++){var _=t.fields[c];_.exported&&(w[_.name]=It(e[_.prop],_.typ,r))}return w}i("cannot externalize "+t.string)},jt=function(e,t,r,n){return e===l?null:(void 0===e.$externalizeWrapper&&(Et=!1,e.$externalizeWrapper=function(){for(var i=[],o=0;o<t.params.length;o++){if(t.variadic&&o===t.params.length-1){for(var a=t.params[o].elem,s=[],c=o;c<arguments.length;c++)s.push(Nt(arguments[c],a,n));i.push(new t.params[o](s));break}i.push(Nt(arguments[o],t.params[o],n))}var l=e.apply(r?this:void 0,i);switch(t.results.length){case 0:return;case 1:return It(Lt(l,t.results[0]),t.results[0],n);default:for(o=0;o<t.results.length;o++)l[o]=It(Lt(l[o],t.results[o]),t.results[o],n);return l}}),e.$externalizeWrapper)},Nt=function(e,r,n,a){if(r===et)return e;if(r===et.elem&&i("cannot internalize js.Object, use *js.Object instead"),e&&void 0!==e.__internal_object__)return ht(e.__internal_object__,r,!1);var c=o["time"];if(void 0!==c&&r===c.Time)return null!=e&&e.constructor===Date||i("cannot internalize time.Time from "+typeof e+", must be Date"),c.Unix(new De(0,0),new De(0,1e6*e.getTime()));switch(r.kind){case U:return!!e;case V:return parseInt(e);case q:return parseInt(e)<<24>>24;case H:return parseInt(e)<<16>>16;case G:return parseInt(e)>>0;case X:return parseInt(e);case J:return parseInt(e)<<24>>>24;case Z:return parseInt(e)<<16>>>16;case Y:case ee:return parseInt(e)>>>0;case K:case Q:return new r(0,e);case te:case re:return parseFloat(e);case oe:return e.length!==r.len&&i("got array with wrong size from JavaScript native"),p(e,(function(e){return Nt(e,r.elem,a)}));case se:return function(){for(var t=[],i=0;i<r.params.length;i++){if(r.variadic&&i===r.params.length-1){for(var o=r.params[i].elem,s=arguments[i],c=0;c<s.$length;c++)t.push(It(s.$array[s.$offset+c],o,a));break}t.push(It(arguments[i],r.params[i],a))}var l=e.apply(n,t);switch(r.results.length){case 0:return;case 1:return Nt(l,r.results[0],a);default:for(i=0;i<r.results.length;i++)l[i]=Nt(l[i],r.results[i],a);return l}};case ce:if(0!==r.methods.length&&i("cannot internalize "+r.string),null===e)return Ze;if(void 0===e)return new et(void 0);switch(e.constructor){case Int8Array:return new(ut(xe))(e);case Int16Array:return new(ut(Ee))(e);case Int32Array:return new(ut(_e))(e);case Uint8Array:return new(ut(Ce))(e);case Uint16Array:return new(ut(Oe))(e);case Uint32Array:return new(ut(Pe))(e);case Float32Array:return new(ut(Ae))(e);case Float64Array:return new(ut(Ie))(e);case Array:return Nt(e,ut(Je),a);case Boolean:return new we(!!e);case Date:return void 0===c?new et(e):new c.Time(Nt(e,c.Time,a));case Function:var l=Ke([ut(Je)],[et],!0);return new l(Nt(e,l,a));case Number:return new Ie(parseFloat(e));case String:return new Te(Nt(e,Te,a));default:if(t.Node&&e instanceof t.Node)return new et(e);var u=ot(Te,Je);return new u(Nt(e,u,a))}case le:for(var d={},f=s(e),h=0;h<f.length;h++){var $=Nt(f[h],r.key,a);d[r.key.keyFor($)]={k:$,v:Nt(e[f[h]],r.elem,a)}}return d;case ue:if(r.elem.kind===fe)return Nt(e,r.elem,a);case pe:return new r(p(e,(function(e){return Nt(e,r.elem,a)})));case de:if(e=String(e),Tt(e))return e;var m="";for(h=0;h<e.length;){var b=e.charCodeAt(h);if(55296<=b&&b<=56319){var v=e.charCodeAt(h+1);m+=g(1024*(b-55296)+v-56320+65536),h+=2}else m+=g(b),h++}return m;case fe:var y={},k=function(t){if(t===et)return e;switch(t===et.elem&&i("cannot internalize js.Object, use *js.Object instead"),t.kind){case ue:return k(t.elem);case fe:var r=t.fields[0],n=k(r.typ);if(n!==y){var o=new t.ptr;return o[r.prop]=n,o}return y;default:return y}},w=k(r);if(w!==y)return w}i("cannot internalize "+r.string)},Tt=function(e){for(var t=0;t<e.length;t++)if(e.charCodeAt(t)>=128)return!1;return!0},Lt=function(e,t){if(null==e)return e;if(e.constructor.copy)return new e.constructor(E(e.$val,e.constructor));if(t.copy){var r=t.zero();return t.copy(r,e),r}return e};o["github.com/gopherjs/gopherjs/js"]=function(){var e,r,n,o,a,s,c,l,u,p,d,f,$,m,g={};return r=g.Object=ye(0,fe,"js.Object",!0,"github.com/gopherjs/gopherjs/js",!0,(function(e){this.$val=this,0!==arguments.length?this.object=e:this.object=null})),n=g.Error=ye(0,fe,"js.Error",!0,"github.com/gopherjs/gopherjs/js",!0,(function(e){this.$val=this,0!==arguments.length?this.Object=e:this.Object=null})),o=ut(Je),a=st(r),s=ut(a),c=Ke([s],[a],!0),l=Ke([a],[],!1),u=ut(l),p=Ke([],[a],!1),d=st(n),r.ptr.prototype.Get=function(e){return this.object[It(e,Te)]},r.prototype.Get=function(e){return this.$val.Get(e)},r.ptr.prototype.Set=function(e,t){this.object[It(e,Te)]=It(t,Je)},r.prototype.Set=function(e,t){return this.$val.Set(e,t)},r.ptr.prototype.Delete=function(e){delete this.object[It(e,Te)]},r.prototype.Delete=function(e){return this.$val.Delete(e)},r.ptr.prototype.Length=function(){return B(this.object.length)},r.prototype.Length=function(){return this.$val.Length()},r.ptr.prototype.Index=function(e){return this.object[e]},r.prototype.Index=function(e){return this.$val.Index(e)},r.ptr.prototype.SetIndex=function(e,t){this.object[e]=It(t,Je)},r.prototype.SetIndex=function(e,t){return this.$val.SetIndex(e,t)},r.ptr.prototype.Call=function(e,t){var r;return(r=this.object)[It(e,Te)].apply(r,It(t,o))},r.prototype.Call=function(e,t){return this.$val.Call(e,t)},r.ptr.prototype.Invoke=function(e){return this.object.apply(void 0,It(e,o))},r.prototype.Invoke=function(e){return this.$val.Invoke(e)},r.ptr.prototype.New=function(e){return new(t.Function.prototype.bind.apply(this.object,[void 0].concat(It(e,o))))},r.prototype.New=function(e){return this.$val.New(e)},r.ptr.prototype.Bool=function(){return!!this.object},r.prototype.Bool=function(){return this.$val.Bool()},r.ptr.prototype.String=function(){return Nt(this.object,Te)},r.prototype.String=function(){return this.$val.String()},r.ptr.prototype.Int=function(){return B(this.object)>>0},r.prototype.Int=function(){return this.$val.Int()},r.ptr.prototype.Int64=function(){return Nt(this.object,De)},r.prototype.Int64=function(){return this.$val.Int64()},r.ptr.prototype.Uint64=function(){return Nt(this.object,Re)},r.prototype.Uint64=function(){return this.$val.Uint64()},r.ptr.prototype.Float=function(){var e;return null!=(e=this.object)&&e.constructor===Number?e:parseFloat(e)},r.prototype.Float=function(){return this.$val.Float()},r.ptr.prototype.Interface=function(){return Nt(this.object,Je)},r.prototype.Interface=function(){return this.$val.Interface()},r.ptr.prototype.Unsafe=function(){return this.object},r.prototype.Unsafe=function(){return this.$val.Unsafe()},n.ptr.prototype.Error=function(){return"JavaScript error: "+Nt(this.Object.message,Te)},n.prototype.Error=function(){return this.$val.Error()},n.ptr.prototype.Stack=function(){return Nt(this.Object.stack,Te)},n.prototype.Stack=function(){return this.$val.Stack()},f=function(e){return function(e){return function(){return It(e(this,new(ut(et))(t.Array.prototype.slice.call(arguments,[]))),Je)}}(e)},g.MakeFunc=f,$=function(e){var r,n,o,a,d,f,m,g,b,v,y,k,w,_,x,E,S,D,P;D=0;var C,O=!1;void 0!==this&&void 0!==this.$blk&&(O=!0,r=(C=this).c,n=C.defineProperty,o=C.e,a=C.f,d=C.fields,e=C.i,f=C.i$1,m=C.i$2,g=C.i$3,b=C.m,v=C.methods,y=C.ms,k=C.o,w=C.pkg,_=C.pkgTyp,x=C.ptr,E=C.typ,S=C.v,D=C.$s,P=C.$r);e:for(;1;){switch(D){case 0:k=[k],_=[_],(S=[S])[0]=e,r=S[0].constructor,k[0]=new t.Object,n=function(e,r,n){return function r(n,o){var a,s,c,l,u,p;u=0;var d,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,a=(d=this)._i,s=d._ref,c=d.f,o=d.fns,n=d.k,l=d.op,u=d.$s,p=d.$r);t:for(;1;){switch(u){case 0:l=new t.Object,s=o,a=0;case 1:if(!(a<s.$length)){u=2;continue}p=(c=a<0||a>=s.$length?void i("index out of range"):s.$array[s.$offset+a])(l),u=3;case 3:if(f&&(f=!1,p=p.$blk()),p&&void 0!==p.$blk)break t;a++,u=1;continue;case 2:return t.Object.defineProperty(e[0],It(n,Te),l),void(u=-1)}return}return void 0===d&&(d={$blk:r}),d._i=a,d._ref=s,d.f=c,d.fns=o,d.k=n,d.op=l,d.$s=u,d.$r=p,d}}(k),P=n("__internal_object__",new u([function(e,t,r){return function(e){e.value=r[0]}}(0,0,S)])),D=1;case 1:if(O&&(O=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;for(E=Nt(r.string,Te),w=Nt(r.pkg,Te),x="",42===E.charCodeAt(0)&&(x="*"),f=0;1&&f<E.length;){if(46===E.charCodeAt(f)){E=h(E,f+1>>0);break}f=f+1>>0}_[0]=w+"."+x+E,P=n("$type",new u([function(e,t,r){return function(e){e.value=It(t[0],Te)}}(0,_)])),D=2;case 2:if(O&&(O=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;d=null,v=new t.Array,void 0!==(y=r.methods)&&(v=v.concat(y)),void 0!==(o=r.elem)?(d=o.fields,v=v.concat(o.methods)):d=r.fields,m=0;case 3:if(!(m<B(v.length))){D=4;continue}if((b=[b])[0]=v[m],""!==Nt(b[0].pkg,Te)){D=5;continue}D=6;continue;case 5:m=m+1>>0,D=3;continue;case 6:P=n(Nt(b[0].prop,Te),new u([function(e,t,r,n){return function(t){t.value=It(function(e,t,r,n){return function(t){return jt(n[0][It(Nt(e[0].prop,Te),Te)],e[0].typ,It(!0,we),$).apply(n[0],It(t,s))}}(e,0,0,n),c)}}(b,0,0,S)])),D=7;case 7:if(O&&(O=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;m=m+1>>0,D=3;continue;case 4:if(void 0!==d){D=8;continue}D=9;continue;case 8:g=0;case 10:if(!(g<B(d.length))){D=11;continue}if((a=[a])[0]=d[g],!a[0].exported){D=12;continue}D=13;continue;case 12:g=g+1>>0,D=10;continue;case 13:P=n(Nt(a[0].prop,Te),new u([function(e,t,r,n){return function(t){t.get=It(function(e,t,r,n){return function(){var t;return t=Lt(n[0].$val[It(Nt(e[0].prop,Te),Te)],e[0].typ),It(t,e[0].typ,$)}}(e,0,0,n),p),t.set=It(function(e,t,r,n){return function(t){var r;r=Nt(t,e[0].typ,$),n[0].$val[It(Nt(e[0].prop,Te),Te)]=r}}(e,0,0,n),l)}}(a,0,0,S)])),D=14;case 14:if(O&&(O=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;g=g+1>>0,D=10;continue;case 11:case 9:return D=-1,k[0]}return}return void 0===C&&(C={$blk:$}),C.c=r,C.defineProperty=n,C.e=o,C.f=a,C.fields=d,C.i=e,C.i$1=f,C.i$2=m,C.i$3=g,C.m=b,C.methods=v,C.ms=y,C.o=k,C.pkg=w,C.pkgTyp=_,C.ptr=x,C.typ=E,C.v=S,C.$s=D,C.$r=P,C},g.MakeFullWrapper=$,m=function(){new n.ptr(null)},a.methods=[{prop:"Get",name:"Get",pkg:"",typ:Ke([Te],[a],!1)},{prop:"Set",name:"Set",pkg:"",typ:Ke([Te,Je],[],!1)},{prop:"Delete",name:"Delete",pkg:"",typ:Ke([Te],[],!1)},{prop:"Length",name:"Length",pkg:"",typ:Ke([],[_e],!1)},{prop:"Index",name:"Index",pkg:"",typ:Ke([_e],[a],!1)},{prop:"SetIndex",name:"SetIndex",pkg:"",typ:Ke([_e,Je],[],!1)},{prop:"Call",name:"Call",pkg:"",typ:Ke([Te,o],[a],!0)},{prop:"Invoke",name:"Invoke",pkg:"",typ:Ke([o],[a],!0)},{prop:"New",name:"New",pkg:"",typ:Ke([o],[a],!0)},{prop:"Bool",name:"Bool",pkg:"",typ:Ke([],[we],!1)},{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"Int",name:"Int",pkg:"",typ:Ke([],[_e],!1)},{prop:"Int64",name:"Int64",pkg:"",typ:Ke([],[De],!1)},{prop:"Uint64",name:"Uint64",pkg:"",typ:Ke([],[Re],!1)},{prop:"Float",name:"Float",pkg:"",typ:Ke([],[Ie],!1)},{prop:"Interface",name:"Interface",pkg:"",typ:Ke([],[Je],!1)},{prop:"Unsafe",name:"Unsafe",pkg:"",typ:Ke([],[Be],!1)}],d.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)},{prop:"Stack",name:"Stack",pkg:"",typ:Ke([],[Te],!1)}],r.init("github.com/gopherjs/gopherjs/js",[{prop:"object",name:"object",embedded:!1,exported:!1,typ:a,tag:""}]),n.init("",[{prop:"Object",name:"Object",embedded:!0,exported:!0,typ:a,tag:""}]),e=function(){g.$init=function(){};var t,r,n=0;for(void 0!==this&&void 0!==this.$blk&&(n=(t=this).$s,r=t.$r);1;){switch(n){case 0:m()}return}return void 0===t&&(t={$blk:e}),t.$s=n,t.$r=r,t},g.$init=e,g}(),o["internal/cpu"]=(rt=function(){nt.$init=function(){};var e,t,r=0;for(void 0!==this&&void 0!==this.$blk&&(r=(e=this).$s,t=e.$r);1;)return;return void 0===e&&(e={$blk:rt}),e.$s=r,e.$r=t,e},(nt={}).$init=rt,nt),o["internal/bytealg"]=function(){var e,t,r,n={};return t=o["internal/cpu"],r=function(e,t){var r;for(r=0;1&&r<e.length;){if(e.charCodeAt(r)===t)return r;r=r+1>>0}return-1},n.IndexByteString=r,e=function(){n.$init=function(){};var r,i,o=!1,a=0;void 0!==this&&void 0!==this.$blk&&(o=!0,a=(r=this).$s,i=r.$r);e:for(;1;){switch(a){case 0:i=t.$init(),a=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e}return}return void 0===r&&(r={$blk:e}),r.$s=a,r.$r=i,r},n.$init=e,n}(),o["runtime/internal/sys"]=function(){var e,t={};return e=function(){t.$init=function(){};var r,n,i=0;for(void 0!==this&&void 0!==this.$blk&&(i=(r=this).$s,n=r.$r);1;)return;return void 0===r&&(r={$blk:e}),r.$s=i,r.$r=n,r},t.$init=e,t}(),o["runtime"]=function(){var e,r,n,a,s,c,l,u,p,d,f,h,$,m,g,b={};return r=o["github.com/gopherjs/gopherjs/js"],n=o["internal/bytealg"],a=o["runtime/internal/sys"],s=b._type=ye(0,fe,"runtime._type",!0,"runtime",!1,(function(e){this.$val=this,0!==arguments.length?this.str=e:this.str=""})),c=b.TypeAssertionError=ye(0,fe,"runtime.TypeAssertionError",!0,"runtime",!0,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this._interface=u.nil,this.concrete=u.nil,this.asserted=u.nil,void(this.missingMethod="");this._interface=e,this.concrete=t,this.asserted=r,this.missingMethod=n})),l=b.errorString=ye(8,de,"runtime.errorString",!0,"runtime",!1,null),u=st(s),p=st(c),s.ptr.prototype.string=function(){return this.str},s.prototype.string=function(){return this.$val.string()},s.ptr.prototype.pkgpath=function(){return""},s.prototype.pkgpath=function(){return this.$val.pkgpath()},d=function(){var e;e=o[It("github.com/gopherjs/gopherjs/js",Te)],et=e.Object.ptr,tt=e.Error.ptr,i=g,new c.ptr(u.nil,u.nil,u.nil,"")},f=function(){var e,r;return void 0===(r=t.process)?"/":void 0!==(e=r.env.GOROOT)?Nt(e,Te):"/usr/local/go"},b.GOROOT=f,h=function(){_t.exit=It(!0,we),kt(null)},b.Goexit=h,$=function(e,t){},b.SetFinalizer=$,m=function(e){},b.KeepAlive=m,g=function(e){vt(new l(e))},c.ptr.prototype.RuntimeError=function(){},c.prototype.RuntimeError=function(){return this.$val.RuntimeError()},c.ptr.prototype.Error=function(){var e,t,r,n,i;return n="interface",(r=this)._interface!==u.nil&&(n=r._interface.string()),e=r.asserted.string(),r.concrete===u.nil?"interface conversion: "+n+" is nil, not "+e:(t=r.concrete.string(),""===r.missingMethod?(i="interface conversion: "+n+" is "+t+", not "+e,t===e&&(r.concrete.pkgpath()!==r.asserted.pkgpath()?i+=" (types from different packages)":i+=" (types from different scopes)"),i):"interface conversion: "+t+" is not "+e+": missing method "+r.missingMethod)},c.prototype.Error=function(){return this.$val.Error()},l.prototype.RuntimeError=function(){this.$val},st(l).prototype.RuntimeError=function(){return new l(this.$get()).RuntimeError()},l.prototype.Error=function(){return"runtime error: "+this.$val},st(l).prototype.Error=function(){return new l(this.$get()).Error()},u.methods=[{prop:"string",name:"string",pkg:"runtime",typ:Ke([],[Te],!1)},{prop:"pkgpath",name:"pkgpath",pkg:"runtime",typ:Ke([],[Te],!1)}],p.methods=[{prop:"RuntimeError",name:"RuntimeError",pkg:"",typ:Ke([],[],!1)},{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}],l.methods=[{prop:"RuntimeError",name:"RuntimeError",pkg:"",typ:Ke([],[],!1)},{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}],s.init("runtime",[{prop:"str",name:"str",embedded:!1,exported:!1,typ:Te,tag:""}]),c.init("runtime",[{prop:"_interface",name:"_interface",embedded:!1,exported:!1,typ:u,tag:""},{prop:"concrete",name:"concrete",embedded:!1,exported:!1,typ:u,tag:""},{prop:"asserted",name:"asserted",embedded:!1,exported:!1,typ:u,tag:""},{prop:"missingMethod",name:"missingMethod",embedded:!1,exported:!1,typ:Te,tag:""}]),e=function(){b.$init=function(){};var t,i,o=!1,s=0;void 0!==this&&void 0!==this.$blk&&(o=!0,s=(t=this).$s,i=t.$r);e:for(;1;){switch(s){case 0:i=r.$init(),s=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=n.$init(),s=2;case 2:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=a.$init(),s=3;case 3:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;d()}return}return void 0===t&&(t={$blk:e}),t.$s=s,t.$r=i,t},b.$init=e,b}(),o["errors"]=function(){var e,t,r,n,i={};return t=i.errorString=ye(0,fe,"errors.errorString",!0,"errors",!1,(function(e){this.$val=this,0!==arguments.length?this.s=e:this.s=""})),r=st(t),n=function(e){return new t.ptr(e)},i.New=n,t.ptr.prototype.Error=function(){return this.s},t.prototype.Error=function(){return this.$val.Error()},r.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}],t.init("errors",[{prop:"s",name:"s",embedded:!1,exported:!1,typ:Te,tag:""}]),e=function(){i.$init=function(){};var t,r,n=0;for(void 0!==this&&void 0!==this.$blk&&(n=(t=this).$s,r=t.$r);1;)return;return void 0===t&&(t={$blk:e}),t.$s=n,t.$r=r,t},i.$init=e,i}(),o["internal/race"]=function(){var e,t,r,n,i,o,a,s,c={};return t=function(e){},c.Acquire=t,r=function(e){},c.Release=r,n=function(e){},c.ReleaseMerge=n,i=function(){},c.Disable=i,o=function(){},c.Enable=o,a=function(e,t){},c.ReadRange=a,s=function(e,t){},c.WriteRange=s,e=function(){c.$init=function(){};var t,r,n=0;for(void 0!==this&&void 0!==this.$blk&&(n=(t=this).$s,r=t.$r);1;)return;return void 0===t&&(t={$blk:e}),t.$s=n,t.$r=r,t},c.$init=e,c}(),o["sync/atomic"]=function(){var e,t,r,n,i,a,s,c,l,u,p,d={};return t=o["github.com/gopherjs/gopherjs/js"],r=d.Value=ye(0,fe,"atomic.Value",!0,"sync/atomic",!0,(function(e){this.$val=this,0!==arguments.length?this.v=e:this.v=Ze})),n=st(r),i=function(e,t,r){return e.$get()===t&&(e.$set(r),!0)},d.CompareAndSwapInt32=i,a=function(e,t,r){var n;return(n=e.$get()).$high===t.$high&&n.$low===t.$low&&(e.$set(r),!0)},d.CompareAndSwapUint64=a,s=function(e,t){var r;return r=e.$get()+t>>0,e.$set(r),r},d.AddInt32=s,c=function(e){return e.$get()},d.LoadInt32=c,l=function(e){return e.$get()},d.LoadUint64=l,u=function(e,t){e.$set(t)},d.StoreInt32=u,p=function(e,t){e.$set(t)},d.StoreUint32=p,r.ptr.prototype.Load=function(){return this.v},r.prototype.Load=function(){return this.$val.Load()},r.ptr.prototype.Store=function(e){var t;t=this,F(e,Ze)&&vt(new Te("sync/atomic: store of nil value into Value")),F(t.v,Ze)||e.constructor===t.v.constructor||vt(new Te("sync/atomic: store of inconsistently typed value into Value")),t.v=e},r.prototype.Store=function(e){return this.$val.Store(e)},n.methods=[{prop:"Load",name:"Load",pkg:"",typ:Ke([],[Je],!1)},{prop:"Store",name:"Store",pkg:"",typ:Ke([Je],[],!1)}],r.init("sync/atomic",[{prop:"v",name:"v",embedded:!1,exported:!1,typ:Je,tag:""}]),e=function(){d.$init=function(){};var r,n,i=!1,o=0;void 0!==this&&void 0!==this.$blk&&(i=!0,o=(r=this).$s,n=r.$r);e:for(;1;){switch(o){case 0:n=t.$init(),o=1;case 1:if(i&&(i=!1,n=n.$blk()),n&&void 0!==n.$blk)break e}return}return void 0===r&&(r={$blk:e}),r.$s=o,r.$r=n,r},d.$init=e,d}(),o["sync"]=function(){var e,r,n,a,s,c,u,p,d,h,$,m,g,b,v,y,k,w,_,x,E,C,O,R,B,A,I,j,N,T,L,M,z,U,V={};return r=o["github.com/gopherjs/gopherjs/js"],n=o["internal/race"],a=o["runtime"],s=o["sync/atomic"],c=V.Pool=ye(0,fe,"sync.Pool",!0,"sync",!0,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.local=0,this.localSize=0,this.store=E.nil,void(this.New=l);this.local=e,this.localSize=t,this.store=r,this.New=n})),u=V.Mutex=ye(0,fe,"sync.Mutex",!0,"sync",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.state=0,void(this.sema=0);this.state=e,this.sema=t})),p=V.Locker=ye(8,ce,"sync.Locker",!0,"sync",!0,null),d=V.poolLocalInternal=ye(0,fe,"sync.poolLocalInternal",!0,"sync",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.private$0=Ze,this.shared=E.nil,void(this.Mutex=new u.ptr(0,0));this.private$0=e,this.shared=t,this.Mutex=r})),h=V.poolLocal=ye(0,fe,"sync.poolLocal",!0,"sync",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.poolLocalInternal=new d.ptr(Ze,E.nil,new u.ptr(0,0)),void(this.pad=A.zero());this.poolLocalInternal=e,this.pad=t})),$=V.notifyList=ye(0,fe,"sync.notifyList",!0,"sync",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.wait=0,this.notify=0,this.lock=0,this.head=0,void(this.tail=0);this.wait=e,this.notify=t,this.lock=r,this.head=n,this.tail=i})),m=V.RWMutex=ye(0,fe,"sync.RWMutex",!0,"sync",!0,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.w=new u.ptr(0,0),this.writerSem=0,this.readerSem=0,this.readerCount=0,void(this.readerWait=0);this.w=e,this.writerSem=t,this.readerSem=r,this.readerCount=n,this.readerWait=i})),g=V.rlocker=ye(0,fe,"sync.rlocker",!0,"sync",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.w=new u.ptr(0,0),this.writerSem=0,this.readerSem=0,this.readerCount=0,void(this.readerWait=0);this.w=e,this.writerSem=t,this.readerSem=r,this.readerCount=n,this.readerWait=i})),b=st(c),v=ut(b),y=st(Fe),k=Ve(we,!1,!1),w=ut(k),_=st(Se),x=st(h),E=ut(Je),C=st(g),O=st(m),R=Ke([],[Je],!1),B=st(u),A=Ue(Ce,100),c.ptr.prototype.Get=function(){var e,t,r,n,o,a,s;a=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,e=(u=this)._r,t=u.p,r=u.x,n=u.x$1,o=u.x$2,a=u.$s,s=u.$r);e:for(;1;){switch(a){case 0:if(0===(t=this).store.$length){a=1;continue}a=2;continue;case 1:if(t.New!==l){a=3;continue}a=4;continue;case 3:e=t.New(),a=5;case 5:if(p&&(p=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return a=-1,e;case 4:return a=-1,Ze;case 2:return r=t.store,o=(n=t.store.$length-1>>0)<0||n>=r.$length?void i("index out of range"):r.$array[r.$offset+n],t.store=f(t.store,0,t.store.$length-1>>0),a=-1,o}return}return void 0===u&&(u={$blk:c.ptr.prototype.Get}),u._r=e,u.p=t,u.x=r,u.x$1=n,u.x$2=o,u.$s=a,u.$r=s,u},c.prototype.Get=function(){return this.$val.Get()},c.ptr.prototype.Put=function(e){F(e,Ze)||(this.store=D(this.store,e))},c.prototype.Put=function(e){return this.$val.Put(e)},N=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,r=($=this)._entry,n=$._entry$1,o=$._entry$2,a=$._entry$3,s=$._entry$4,c=$._key,l=$._key$1,u=$._key$2,p=$._r,d=$.ch,t=$.lifo,e=$.s,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:if(e.$get()-(void 0!==(r=j[y.keyFor(e)])?r.v:0)>>>0==0){f=1;continue}f=2;continue;case 1:d=new qe(we,0),t?(c=e,(I||i("assignment to entry in nil map"))[y.keyFor(c)]={k:c,v:P(new w([d]),(n=I[y.keyFor(e)],void 0!==n?n.v:w.nil))}):(l=e,(I||i("assignment to entry in nil map"))[y.keyFor(l)]={k:l,v:D((o=I[y.keyFor(e)],void 0!==o?o.v:w.nil),d)}),p=Rt(d),f=3;case 3:if(m&&(m=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;p[0],u=e,(j||i("assignment to entry in nil map"))[y.keyFor(u)]={k:u,v:(a=j[y.keyFor(e)],(void 0!==a?a.v:0)-1>>>0)},0===(void 0!==(s=j[y.keyFor(e)])?s.v:0)&&delete j[y.keyFor(e)];case 2:return e.$set(e.$get()-1>>>0),void(f=-1)}return}return void 0===$&&($={$blk:N}),$._entry=r,$._entry$1=n,$._entry$2=o,$._entry$3=a,$._entry$4=s,$._key=c,$._key$1=l,$._key$2=u,$._r=p,$.ch=d,$.lifo=t,$.s=e,$.$s=f,$.$r=h,$},T=function(e,t){var r,n,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,r=(p=this)._entry,n=p._entry$1,o=p._key,a=p._key$1,s=p.ch,t=p.handoff,e=p.s,c=p.w,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:if(e.$set(e.$get()+1>>>0),0===(c=void 0!==(r=I[y.keyFor(e)])?r.v:w.nil).$length)return void(l=-1);s=0>=c.$length?void i("index out of range"):c.$array[c.$offset+0],c=f(c,1),o=e,(I||i("assignment to entry in nil map"))[y.keyFor(o)]={k:o,v:c},0===c.$length&&delete I[y.keyFor(e)],a=e,(j||i("assignment to entry in nil map"))[y.keyFor(a)]={k:a,v:(n=j[y.keyFor(e)],(void 0!==n?n.v:0)+1>>>0)},u=Ft(s,!0),l=1;case 1:if(d&&(d=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;return void(l=-1)}return}return void 0===p&&(p={$blk:T}),p._entry=r,p._entry$1=n,p._key=o,p._key$1=a,p.ch=s,p.handoff=t,p.s=e,p.w=c,p.$s=l,p.$r=u,p},L=function(){return W(Nt((new t.Date).getTime(),De),new De(0,1e6))},M=function(e){i(It(e,Te))},u.ptr.prototype.Lock=function(){var e,t,r,n,i,o,a,c,l,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,e=($=this).awoke,t=$.delta,r=$.iter,n=$.m,i=$.new$1,o=$.old,a=$.queueLifo,c=$.starving,l=$.waitStartTime,p=$.x,d=$.x$1,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:if(n=this,s.CompareAndSwapInt32(n.$ptr_state||(n.$ptr_state=new _((function(){return this.$target.state}),(function(e){this.$target.state=e}),n)),0,1))return void(f=-1);l=new De(0,0),c=!1,e=!1,r=0,o=n.state;case 1:if(1==(5&o)&&!1){f=3;continue}f=4;continue;case 3:!e&&0==(2&o)&&o>>3>>0!=0&&s.CompareAndSwapInt32(n.$ptr_state||(n.$ptr_state=new _((function(){return this.$target.state}),(function(e){this.$target.state=e}),n)),o,2|o)&&(e=!0),U(),r=r+1>>0,o=n.state,f=1;continue;case 4:if(i=o,0==(4&o)&&(i|=1),0!=(5&o)&&(i=i+8>>0),c&&0!=(1&o)&&(i|=4),e&&(0==(2&i)&&M("sync: inconsistent mutex state"),i=(~2&i)>>0),s.CompareAndSwapInt32(n.$ptr_state||(n.$ptr_state=new _((function(){return this.$target.state}),(function(e){this.$target.state=e}),n)),o,i)){f=5;continue}f=6;continue;case 5:if(0==(5&o)){f=2;continue}a=!(0===l.$high&&0===l.$low),0===l.$high&&0===l.$low&&(l=L()),h=N(n.$ptr_sema||(n.$ptr_sema=new y((function(){return this.$target.sema}),(function(e){this.$target.sema=e}),n)),a),f=8;case 8:if(m&&(m=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;if(c=c||(d=L(),(p=new De(d.$high-l.$high,d.$low-l.$low)).$high>0||0===p.$high&&p.$low>1e6),0!=(4&(o=n.state))){0==(3&o)&&o>>3>>0!=0||M("sync: inconsistent mutex state"),t=-7,c&&o>>3>>0!=1||(t=t-4>>0),s.AddInt32(n.$ptr_state||(n.$ptr_state=new _((function(){return this.$target.state}),(function(e){this.$target.state=e}),n)),t),f=2;continue}e=!0,r=0,f=7;continue;case 6:o=n.state;case 7:f=1;continue;case 2:return void(f=-1)}return}return void 0===$&&($={$blk:u.ptr.prototype.Lock}),$.awoke=e,$.delta=t,$.iter=r,$.m=n,$.new$1=i,$.old=o,$.queueLifo=a,$.starving=c,$.waitStartTime=l,$.x=p,$.x$1=d,$.$s=f,$.$r=h,$},u.prototype.Lock=function(){return this.$val.Lock()},u.ptr.prototype.Unlock=function(){var e,t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this).m,t=o.new$1,r=o.old,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:if(e=this,0==((t=s.AddInt32(e.$ptr_state||(e.$ptr_state=new _((function(){return this.$target.state}),(function(e){this.$target.state=e}),e)),-1))+1>>0&1)&&M("sync: unlock of unlocked mutex"),0==(4&t)){n=1;continue}n=2;continue;case 1:r=t;case 4:if(r>>3>>0==0||0!=(7&r))return void(n=-1);if(t=r-8>>0|2,s.CompareAndSwapInt32(e.$ptr_state||(e.$ptr_state=new _((function(){return this.$target.state}),(function(e){this.$target.state=e}),e)),r,t)){n=6;continue}n=7;continue;case 6:i=T(e.$ptr_sema||(e.$ptr_sema=new y((function(){return this.$target.sema}),(function(e){this.$target.sema=e}),e)),!1),n=8;case 8:if(a&&(a=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return void(n=-1);case 7:r=e.state,n=4;continue;case 5:n=3;continue;case 2:i=T(e.$ptr_sema||(e.$ptr_sema=new y((function(){return this.$target.sema}),(function(e){this.$target.sema=e}),e)),!0),n=9;case 9:if(a&&(a=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;case 3:return void(n=-1)}return}return void 0===o&&(o={$blk:u.ptr.prototype.Unlock}),o.m=e,o.new$1=t,o.old=r,o.$s=n,o.$r=i,o},u.prototype.Unlock=function(){return this.$val.Unlock()},z=function(){new $.ptr(0,0,0,0,0)},U=function(){i("native function not implemented: sync.runtime_doSpin")},m.ptr.prototype.RLock=function(){var e,t,r;t=0;var n,i=!1;void 0!==this&&void 0!==this.$blk&&(i=!0,e=(n=this).rw,t=n.$s,r=n.$r);e:for(;1;){switch(t){case 0:if(e=this,s.AddInt32(e.$ptr_readerCount||(e.$ptr_readerCount=new _((function(){return this.$target.readerCount}),(function(e){this.$target.readerCount=e}),e)),1)<0){t=1;continue}t=2;continue;case 1:r=N(e.$ptr_readerSem||(e.$ptr_readerSem=new y((function(){return this.$target.readerSem}),(function(e){this.$target.readerSem=e}),e)),!1),t=3;case 3:if(i&&(i=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;case 2:return void(t=-1)}return}return void 0===n&&(n={$blk:m.ptr.prototype.RLock}),n.rw=e,n.$s=t,n.$r=r,n},m.prototype.RLock=function(){return this.$val.RLock()},m.ptr.prototype.RUnlock=function(){var e,t,r,i;r=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this).r,t=o.rw,r=o.$s,i=o.$r);e:for(;1;){switch(r){case 0:if(t=this,(e=s.AddInt32(t.$ptr_readerCount||(t.$ptr_readerCount=new _((function(){return this.$target.readerCount}),(function(e){this.$target.readerCount=e}),t)),-1))<0){r=1;continue}r=2;continue;case 1:if(e+1>>0!=0&&e+1>>0!=-1073741824||(n.Enable(),M("sync: RUnlock of unlocked RWMutex")),0===s.AddInt32(t.$ptr_readerWait||(t.$ptr_readerWait=new _((function(){return this.$target.readerWait}),(function(e){this.$target.readerWait=e}),t)),-1)){r=3;continue}r=4;continue;case 3:i=T(t.$ptr_writerSem||(t.$ptr_writerSem=new y((function(){return this.$target.writerSem}),(function(e){this.$target.writerSem=e}),t)),!1),r=5;case 5:if(a&&(a=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;case 4:case 2:return void(r=-1)}return}return void 0===o&&(o={$blk:m.ptr.prototype.RUnlock}),o.r=e,o.rw=t,o.$s=r,o.$r=i,o},m.prototype.RUnlock=function(){return this.$val.RUnlock()},m.ptr.prototype.Lock=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this).r,t=i.rw,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:n=(t=this).w.Lock(),r=1;case 1:if(o&&(o=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(0!=(e=s.AddInt32(t.$ptr_readerCount||(t.$ptr_readerCount=new _((function(){return this.$target.readerCount}),(function(e){this.$target.readerCount=e}),t)),-1073741824)+1073741824>>0)&&0!==s.AddInt32(t.$ptr_readerWait||(t.$ptr_readerWait=new _((function(){return this.$target.readerWait}),(function(e){this.$target.readerWait=e}),t)),e)){r=2;continue}r=3;continue;case 2:n=N(t.$ptr_writerSem||(t.$ptr_writerSem=new y((function(){return this.$target.writerSem}),(function(e){this.$target.writerSem=e}),t)),!1),r=4;case 4:if(o&&(o=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;case 3:return void(r=-1)}return}return void 0===i&&(i={$blk:m.ptr.prototype.Lock}),i.r=e,i.rw=t,i.$s=r,i.$r=n,i},m.prototype.Lock=function(){return this.$val.Lock()},m.ptr.prototype.Unlock=function(){var e,t,r,i,o;i=0;var a,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,e=(a=this).i,t=a.r,r=a.rw,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:r=this,(t=s.AddInt32(r.$ptr_readerCount||(r.$ptr_readerCount=new _((function(){return this.$target.readerCount}),(function(e){this.$target.readerCount=e}),r)),1073741824))>=1073741824&&(n.Enable(),M("sync: Unlock of unlocked RWMutex")),e=0;case 1:if(!(e<t>>0)){i=2;continue}o=T(r.$ptr_readerSem||(r.$ptr_readerSem=new y((function(){return this.$target.readerSem}),(function(e){this.$target.readerSem=e}),r)),!1),i=3;case 3:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;e=e+1>>0,i=1;continue;case 2:o=r.w.Unlock(),i=4;case 4:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return void(i=-1)}return}return void 0===a&&(a={$blk:m.ptr.prototype.Unlock}),a.i=e,a.r=t,a.rw=r,a.$s=i,a.$r=o,a},m.prototype.Unlock=function(){return this.$val.Unlock()},m.ptr.prototype.RLocker=function(){return S(this,C)},m.prototype.RLocker=function(){return this.$val.RLocker()},g.ptr.prototype.Lock=function(){var e,t,r;t=0;var n,i=!1;void 0!==this&&void 0!==this.$blk&&(i=!0,e=(n=this).r,t=n.$s,r=n.$r);e:for(;1;){switch(t){case 0:r=S(e=this,O).RLock(),t=1;case 1:if(i&&(i=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return void(t=-1)}return}return void 0===n&&(n={$blk:g.ptr.prototype.Lock}),n.r=e,n.$s=t,n.$r=r,n},g.prototype.Lock=function(){return this.$val.Lock()},g.ptr.prototype.Unlock=function(){var e,t,r;t=0;var n,i=!1;void 0!==this&&void 0!==this.$blk&&(i=!0,e=(n=this).r,t=n.$s,r=n.$r);e:for(;1;){switch(t){case 0:r=S(e=this,O).RUnlock(),t=1;case 1:if(i&&(i=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return void(t=-1)}return}return void 0===n&&(n={$blk:g.ptr.prototype.Unlock}),n.r=e,n.$s=t,n.$r=r,n},g.prototype.Unlock=function(){return this.$val.Unlock()},b.methods=[{prop:"Get",name:"Get",pkg:"",typ:Ke([],[Je],!1)},{prop:"Put",name:"Put",pkg:"",typ:Ke([Je],[],!1)},{prop:"getSlow",name:"getSlow",pkg:"sync",typ:Ke([],[Je],!1)},{prop:"pin",name:"pin",pkg:"sync",typ:Ke([],[x],!1)},{prop:"pinSlow",name:"pinSlow",pkg:"sync",typ:Ke([],[x],!1)}],B.methods=[{prop:"Lock",name:"Lock",pkg:"",typ:Ke([],[],!1)},{prop:"Unlock",name:"Unlock",pkg:"",typ:Ke([],[],!1)}],O.methods=[{prop:"RLock",name:"RLock",pkg:"",typ:Ke([],[],!1)},{prop:"RUnlock",name:"RUnlock",pkg:"",typ:Ke([],[],!1)},{prop:"Lock",name:"Lock",pkg:"",typ:Ke([],[],!1)},{prop:"Unlock",name:"Unlock",pkg:"",typ:Ke([],[],!1)},{prop:"RLocker",name:"RLocker",pkg:"",typ:Ke([],[p],!1)}],C.methods=[{prop:"Lock",name:"Lock",pkg:"",typ:Ke([],[],!1)},{prop:"Unlock",name:"Unlock",pkg:"",typ:Ke([],[],!1)}],c.init("sync",[{prop:"local",name:"local",embedded:!1,exported:!1,typ:Le,tag:""},{prop:"localSize",name:"localSize",embedded:!1,exported:!1,typ:Be,tag:""},{prop:"store",name:"store",embedded:!1,exported:!1,typ:E,tag:""},{prop:"New",name:"New",embedded:!1,exported:!0,typ:R,tag:""}]),u.init("sync",[{prop:"state",name:"state",embedded:!1,exported:!1,typ:Se,tag:""},{prop:"sema",name:"sema",embedded:!1,exported:!1,typ:Fe,tag:""}]),p.init([{prop:"Lock",name:"Lock",pkg:"",typ:Ke([],[],!1)},{prop:"Unlock",name:"Unlock",pkg:"",typ:Ke([],[],!1)}]),d.init("sync",[{prop:"private$0",name:"private",embedded:!1,exported:!1,typ:Je,tag:""},{prop:"shared",name:"shared",embedded:!1,exported:!1,typ:E,tag:""},{prop:"Mutex",name:"Mutex",embedded:!0,exported:!0,typ:u,tag:""}]),h.init("sync",[{prop:"poolLocalInternal",name:"poolLocalInternal",embedded:!0,exported:!1,typ:d,tag:""},{prop:"pad",name:"pad",embedded:!1,exported:!1,typ:A,tag:""}]),$.init("sync",[{prop:"wait",name:"wait",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"notify",name:"notify",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"lock",name:"lock",embedded:!1,exported:!1,typ:Be,tag:""},{prop:"head",name:"head",embedded:!1,exported:!1,typ:Le,tag:""},{prop:"tail",name:"tail",embedded:!1,exported:!1,typ:Le,tag:""}]),m.init("sync",[{prop:"w",name:"w",embedded:!1,exported:!1,typ:u,tag:""},{prop:"writerSem",name:"writerSem",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"readerSem",name:"readerSem",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"readerCount",name:"readerCount",embedded:!1,exported:!1,typ:Se,tag:""},{prop:"readerWait",name:"readerWait",embedded:!1,exported:!1,typ:Se,tag:""}]),g.init("sync",[{prop:"w",name:"w",embedded:!1,exported:!1,typ:u,tag:""},{prop:"writerSem",name:"writerSem",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"readerSem",name:"readerSem",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"readerCount",name:"readerCount",embedded:!1,exported:!1,typ:Se,tag:""},{prop:"readerWait",name:"readerWait",embedded:!1,exported:!1,typ:Se,tag:""}]),e=function(){V.$init=function(){};var t,i,o=!1,c=0;void 0!==this&&void 0!==this.$blk&&(o=!0,c=(t=this).$s,i=t.$r);e:for(;1;){switch(c){case 0:i=r.$init(),c=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=n.$init(),c=2;case 2:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=a.$init(),c=3;case 3:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=s.$init(),c=4;case 4:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;v.nil,I={},j={},new Uint8Array(8),z()}return}return void 0===t&&(t={$blk:e}),t.$s=c,t.$r=i,t},V.$init=e,V}(),o["io"]=function(){var e,t,r,n,i,a,s,c,l,u,p,d={};return t=o["errors"],r=o["sync"],n=o["sync/atomic"],i=d.Reader=ye(8,ce,"io.Reader",!0,"io",!0,null),a=d.Writer=ye(8,ce,"io.Writer",!0,"io",!0,null),s=d.ReaderFrom=ye(8,ce,"io.ReaderFrom",!0,"io",!0,null),c=d.RuneScanner=ye(8,ce,"io.RuneScanner",!0,"io",!0,null),l=d.StringWriter=ye(8,ce,"io.StringWriter",!0,"io",!0,null),u=ut(Ce),p=function(e,t){var r,n,i,o,a,s,c,d,f,h,$;h=0;var m,g=!1;void 0!==this&&void 0!==this.$blk&&(g=!0,r=(m=this)._r,n=m._r$1,i=m._tuple,o=m._tuple$1,a=m._tuple$2,s=m.err,c=m.n,d=m.ok,t=m.s,f=m.sw,e=m.w,h=m.$s,$=m.$r);e:for(;1;){switch(h){case 0:if(c=0,s=Ze,f=(i=ht(e,l,!0))[0],d=i[1]){h=1;continue}h=2;continue;case 1:r=f.WriteString(t),h=3;case 3:if(g&&(g=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return h=-1,[c=(o=r)[0],s=o[1]];case 2:n=e.Write(new u(b(t))),h=4;case 4:if(g&&(g=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return h=-1,[c=(a=n)[0],s=a[1]]}return}return void 0===m&&(m={$blk:p}),m._r=r,m._r$1=n,m._tuple=i,m._tuple$1=o,m._tuple$2=a,m.err=s,m.n=c,m.ok=d,m.s=t,m.sw=f,m.w=e,m.$s=h,m.$r=$,m},d.WriteString=p,i.init([{prop:"Read",name:"Read",pkg:"",typ:Ke([u],[_e,Ye],!1)}]),a.init([{prop:"Write",name:"Write",pkg:"",typ:Ke([u],[_e,Ye],!1)}]),s.init([{prop:"ReadFrom",name:"ReadFrom",pkg:"",typ:Ke([i],[De,Ye],!1)}]),c.init([{prop:"ReadRune",name:"ReadRune",pkg:"",typ:Ke([],[Se,_e,Ye],!1)},{prop:"UnreadRune",name:"UnreadRune",pkg:"",typ:Ke([],[Ye],!1)}]),l.init([{prop:"WriteString",name:"WriteString",pkg:"",typ:Ke([Te],[_e,Ye],!1)}]),e=function(){d.$init=function(){};var i,o,a=!1,s=0;void 0!==this&&void 0!==this.$blk&&(a=!0,s=(i=this).$s,o=i.$r);e:for(;1;){switch(s){case 0:o=t.$init(),s=1;case 1:if(a&&(a=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),s=2;case 2:if(a&&(a=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=n.$init(),s=3;case 3:if(a&&(a=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;d.ErrShortWrite=t.New("short write"),d.ErrShortBuffer=t.New("short buffer"),d.EOF=t.New("EOF"),d.ErrUnexpectedEOF=t.New("unexpected EOF"),d.ErrNoProgress=t.New("multiple Read calls return no data or error"),t.New("Seek: invalid whence"),t.New("Seek: invalid offset"),d.ErrClosedPipe=t.New("io: read/write on closed pipe")}return}return void 0===i&&(i={$blk:e}),i.$s=s,i.$r=o,i},d.$init=e,d}(),o["unicode"]=function(){var e,t,r,n,o,a,s,c,l,u,p,d={};return t=d.RangeTable=ye(0,fe,"unicode.RangeTable",!0,"unicode",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.R16=o.nil,this.R32=a.nil,void(this.LatinOffset=0);this.R16=e,this.R32=t,this.LatinOffset=r})),r=d.Range16=ye(0,fe,"unicode.Range16",!0,"unicode",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.Lo=0,this.Hi=0,void(this.Stride=0);this.Lo=e,this.Hi=t,this.Stride=r})),n=d.Range32=ye(0,fe,"unicode.Range32",!0,"unicode",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.Lo=0,this.Hi=0,void(this.Stride=0);this.Lo=e,this.Hi=t,this.Stride=r})),o=ut(r),a=ut(n),c=function(e){var t;return e>>>0<=255?9===(t=e)||10===t||11===t||12===t||13===t||32===t||133===t||160===t:p(d.White_Space,e)},d.IsSpace=c,l=function(e,t){var r,n,o,a,s,c,l,u,p,d,f;if(e.$length<=18||t<=255){for(s=e,r=0;1&&r<s.$length;){if(t<(d=(l=r)<0||l>=e.$length?void i("index out of range"):e.$array[e.$offset+l]).Lo)return!1;if(t<=d.Hi)return 1===d.Stride||0===((o=(t-d.Lo<<16>>>16)%d.Stride)==o?o:i("integer divide by zero"));r++}return!1}for(u=0,c=e.$length;1&&u<c;){if((f=(p=u+((n=(c-u>>0)/2)==n&&n!==1/0&&n!==-1/0?n>>0:i("integer divide by zero"))>>0)<0||p>=e.$length?void i("index out of range"):e.$array[e.$offset+p]).Lo<=t&&t<=f.Hi)return 1===f.Stride||0===((a=(t-f.Lo<<16>>>16)%f.Stride)==a?a:i("integer divide by zero"));t<f.Lo?c=p:u=p+1>>0}return!1},u=function(e,t){var r,o,a,s,c,l,u,p,d,f,h;if(e.$length<=18){for(c=e,r=0;1&&r<c.$length;){if(t<(f=(u=r)<0||u>=e.$length?void i("index out of range"):e.$array[e.$offset+u]).Lo)return!1;if(t<=f.Hi)return 1===f.Stride||0===((a=(t-f.Lo>>>0)%f.Stride)==a?a:i("integer divide by zero"));r++}return!1}for(p=0,l=e.$length;1&&p<l;){if(d=p+((o=(l-p>>0)/2)==o&&o!==1/0&&o!==-1/0?o>>0:i("integer divide by zero"))>>0,(h=E(d<0||d>=e.$length?void i("index out of range"):e.$array[e.$offset+d],n)).Lo<=t&&t<=h.Hi)return 1===h.Stride||0===((s=(t-h.Lo>>>0)%h.Stride)==s?s:i("integer divide by zero"));t<h.Lo?l=d:p=d+1>>0}return!1},p=function(e,t){var r,n,o,a;return n=e.R16,r=e.LatinOffset,n.$length>r&&t<=(a=n.$length-1>>0,a<0||a>=n.$length?void i("index out of range"):n.$array[n.$offset+a]).Hi>>0?l(f(n,r),t<<16>>>16):(o=e.R32).$length>0&&t>=(0>=o.$length?void i("index out of range"):o.$array[o.$offset+0]).Lo>>0&&u(o,t>>>0)},t.init("",[{prop:"R16",name:"R16",embedded:!1,exported:!0,typ:o,tag:""},{prop:"R32",name:"R32",embedded:!1,exported:!0,typ:a,tag:""},{prop:"LatinOffset",name:"LatinOffset",embedded:!1,exported:!0,typ:_e,tag:""}]),r.init("",[{prop:"Lo",name:"Lo",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Hi",name:"Hi",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Stride",name:"Stride",embedded:!1,exported:!0,typ:Oe,tag:""}]),n.init("",[{prop:"Lo",name:"Lo",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Hi",name:"Hi",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Stride",name:"Stride",embedded:!1,exported:!0,typ:Fe,tag:""}]),e=function(){d.$init=function(){};var n,i,c=0;for(void 0!==this&&void 0!==this.$blk&&(c=(n=this).$s,i=n.$r);1;){switch(c){case 0:s=new t.ptr(new o([new r.ptr(9,13,1),new r.ptr(32,32,1),new r.ptr(133,133,1),new r.ptr(160,160,1),new r.ptr(5760,5760,1),new r.ptr(8192,8202,1),new r.ptr(8232,8233,1),new r.ptr(8239,8239,1),new r.ptr(8287,8287,1),new r.ptr(12288,12288,1)]),a.nil,4),d.White_Space=s}return}return void 0===n&&(n={$blk:e}),n.$s=c,n.$r=i,n},d.$init=e,d}(),o["unicode/utf8"]=function(){var e,t,r,n,o,a,s,c,l,u,p,d,f,$,m,g={};return t=g.acceptRange=ye(0,fe,"utf8.acceptRange",!0,"unicode/utf8",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.lo=0,void(this.hi=0);this.lo=e,this.hi=t})),o=function(e){var o,a,s,c,l;return 0!==(a=e.$length)&&(a>=(7&(c=(s=0>=e.$length?void i("index out of range"):e.$array[e.$offset+0])<0||s>=r.length?void i("index out of range"):r[s]))>>>0>>0||(o=E((l=c>>>4<<24>>>24)<0||l>=n.length?void i("index out of range"):n[l],t),a>1&&((1>=e.$length?void i("index out of range"):e.$array[e.$offset+1])<o.lo||o.hi<(1>=e.$length?void i("index out of range"):e.$array[e.$offset+1]))||a>2&&((2>=e.$length?void i("index out of range"):e.$array[e.$offset+2])<128||191<(2>=e.$length?void i("index out of range"):e.$array[e.$offset+2]))))},g.FullRune=o,a=function(e){var o,a,s,c,l,u,p,d,f,h;return(u=e.$length)<1?[65533,0]:(f=(p=0>=e.$length?void i("index out of range"):e.$array[e.$offset+0])<0||p>=r.length?void i("index out of range"):r[p])>=240?(l=f>>0<<31>>0>>31>>0,[((0>=e.$length?void i("index out of range"):e.$array[e.$offset+0])>>0&~l)>>0|65533&l,1]):(d=(7&f)>>>0,o=E((h=f>>>4<<24>>>24)<0||h>=n.length?void i("index out of range"):n[h],t),u<d>>0||(a=1>=e.$length?void i("index out of range"):e.$array[e.$offset+1])<o.lo||o.hi<a?[65533,1]:2===d?[(31&p)>>>0>>0<<6>>0|(63&a)>>>0>>0,2]:(s=2>=e.$length?void i("index out of range"):e.$array[e.$offset+2])<128||191<s?[65533,1]:3===d?[(15&p)>>>0>>0<<12>>0|(63&a)>>>0>>0<<6>>0|(63&s)>>>0>>0,3]:(c=3>=e.$length?void i("index out of range"):e.$array[e.$offset+3])<128||191<c?[65533,1]:[(7&p)>>>0>>0<<18>>0|(63&a)>>>0>>0<<12>>0|(63&s)>>>0>>0<<6>>0|(63&c)>>>0>>0,4])},g.DecodeRune=a,s=function(e){var o,a,s,c,l,u,p,d,f,h;return(s=e.length)<1?[65533,0]:(f=(c=e.charCodeAt(0))<0||c>=r.length?void i("index out of range"):r[c])>=240?(a=f>>0<<31>>0>>31>>0,[(e.charCodeAt(0)>>0&~a)>>0|65533&a,1]):(d=(7&f)>>>0,o=E((h=f>>>4<<24>>>24)<0||h>=n.length?void i("index out of range"):n[h],t),s<d>>0||(l=e.charCodeAt(1))<o.lo||o.hi<l?[65533,1]:2===d?[(31&c)>>>0>>0<<6>>0|(63&l)>>>0>>0,2]:(u=e.charCodeAt(2))<128||191<u?[65533,1]:3===d?[(15&c)>>>0>>0<<12>>0|(63&l)>>>0>>0<<6>>0|(63&u)>>>0>>0,3]:(p=e.charCodeAt(3))<128||191<p?[65533,1]:[(7&c)>>>0>>0<<18>>0|(63&l)>>>0>>0<<12>>0|(63&u)>>>0>>0<<6>>0|(63&p)>>>0>>0,4])},g.DecodeRuneInString=s,c=function(e){var t,r,n,i,o,a;if(i=0,o=0,0===(r=e.length))return[i=65533,o=0];if(a=r-1>>0,(i=e.charCodeAt(a)>>0)<128)return[i=i,o=1];for((n=r-4>>0)<0&&(n=0),a=a-1>>0;1&&a>=n&&!f(e.charCodeAt(a));)a=a-1>>0;return a<0&&(a=0),i=(t=s(h(e,a,r)))[0],a+(o=t[1])>>0!==r?[i=65533,o=1]:[i=i,o=o]},g.DecodeLastRuneInString=c,l=function(e){return e<0?-1:e<=127?1:e<=2047?2:55296<=e&&e<=57343?-1:e<=65535?3:e<=1114111?4:-1},g.RuneLen=l,u=function(e,t){var r;return(r=t>>>0)<=127?(0>=e.$length?i("index out of range"):e.$array[e.$offset+0]=t<<24>>>24,1):r<=2047?(1>=e.$length?i("index out of range"):e.$array[e.$offset+1],0>=e.$length?i("index out of range"):e.$array[e.$offset+0]=(192|t>>6>>0<<24>>>24)>>>0,1>=e.$length?i("index out of range"):e.$array[e.$offset+1]=(128|(t<<24>>>24&63)>>>0)>>>0,2):r>1114111||55296<=r&&r<=57343?(t=65533,2>=e.$length?i("index out of range"):e.$array[e.$offset+2],0>=e.$length?i("index out of range"):e.$array[e.$offset+0]=(224|t>>12>>0<<24>>>24)>>>0,1>=e.$length?i("index out of range"):e.$array[e.$offset+1]=(128|(t>>6>>0<<24>>>24&63)>>>0)>>>0,2>=e.$length?i("index out of range"):e.$array[e.$offset+2]=(128|(t<<24>>>24&63)>>>0)>>>0,3):r<=65535?(2>=e.$length?i("index out of range"):e.$array[e.$offset+2],0>=e.$length?i("index out of range"):e.$array[e.$offset+0]=(224|t>>12>>0<<24>>>24)>>>0,1>=e.$length?i("index out of range"):e.$array[e.$offset+1]=(128|(t>>6>>0<<24>>>24&63)>>>0)>>>0,2>=e.$length?i("index out of range"):e.$array[e.$offset+2]=(128|(t<<24>>>24&63)>>>0)>>>0,3):(3>=e.$length?i("index out of range"):e.$array[e.$offset+3],0>=e.$length?i("index out of range"):e.$array[e.$offset+0]=(240|t>>18>>0<<24>>>24)>>>0,1>=e.$length?i("index out of range"):e.$array[e.$offset+1]=(128|(t>>12>>0<<24>>>24&63)>>>0)>>>0,2>=e.$length?i("index out of range"):e.$array[e.$offset+2]=(128|(t>>6>>0<<24>>>24&63)>>>0)>>>0,3>=e.$length?i("index out of range"):e.$array[e.$offset+3]=(128|(t<<24>>>24&63)>>>0)>>>0,4)},g.EncodeRune=u,p=function(e){var o,a,s,c,l,u,p,d,f,h,$,m,g,b;for(d=e.$length,p=0,u=0;1&&u<d;)p=p+1>>0,(a=u<0||u>=e.$length?void i("index out of range"):e.$array[e.$offset+u])<128?u=u+1>>0:241!==(h=a<0||a>=r.length?void i("index out of range"):r[a])?u+(f=(7&h)>>>0>>0)>>0>d?u=u+1>>0:(o=E(($=h>>>4<<24>>>24)<0||$>=n.length?void i("index out of range"):n[$],t),(s=(m=u+1>>0)<0||m>=e.$length?void i("index out of range"):e.$array[e.$offset+m])<o.lo||o.hi<s?f=1:2===f||((c=(g=u+2>>0)<0||g>=e.$length?void i("index out of range"):e.$array[e.$offset+g])<128||191<c?f=1:3===f||((l=(b=u+3>>0)<0||b>=e.$length?void i("index out of range"):e.$array[e.$offset+b])<128||191<l)&&(f=1)),u=u+f>>0):u=u+1>>0;return p},g.RuneCount=p,d=function(e){var o,a,s,c,l,u,p,d,f,h,$;for(p=0,d=e.length,u=0;1&&u<d;)(a=e.charCodeAt(u))<128?(u=u+1>>0,p=p+1>>0):241!==(h=a<0||a>=r.length?void i("index out of range"):r[a])?u+(f=(7&h)>>>0>>0)>>0>d?(u=u+1>>0,p=p+1>>0):(o=E(($=h>>>4<<24>>>24)<0||$>=n.length?void i("index out of range"):n[$],t),(s=e.charCodeAt(u+1>>0))<o.lo||o.hi<s?f=1:2===f||((c=e.charCodeAt(u+2>>0))<128||191<c?f=1:3===f||((l=e.charCodeAt(u+3>>0))<128||191<l)&&(f=1)),u=u+f>>0,p=p+1>>0):(u=u+1>>0,p=p+1>>0);return p},g.RuneCountInString=d,f=function(e){return!((192&e)>>>0==128)},g.RuneStart=f,$=function(e){var o,a,s,c,l,u,p,d,f,h;for(u=e.length,l=0;1&&l<u;)if((p=e.charCodeAt(l))<128)l=l+1>>0;else{if(241===(f=p<0||p>=r.length?void i("index out of range"):r[p]))return!1;if(l+(d=(7&f)>>>0>>0)>>0>u)return!1;if(o=E((h=f>>>4<<24>>>24)<0||h>=n.length?void i("index out of range"):n[h],t),(a=e.charCodeAt(l+1>>0))<o.lo||o.hi<a)return!1;if(2===d);else{if((s=e.charCodeAt(l+2>>0))<128||191<s)return!1;if(3===d);else if((c=e.charCodeAt(l+3>>0))<128||191<c)return!1}l=l+d>>0}return!0},g.ValidString=$,m=function(e){return 0<=e&&e<55296||57343<e&&e<=1114111},g.ValidRune=m,t.init("unicode/utf8",[{prop:"lo",name:"lo",embedded:!1,exported:!1,typ:Ce,tag:""},{prop:"hi",name:"hi",embedded:!1,exported:!1,typ:Ce,tag:""}]),e=function(){g.$init=function(){};var i,o,a=0;for(void 0!==this&&void 0!==this.$blk&&(a=(i=this).$s,o=i.$r);1;){switch(a){case 0:r=We(J,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]),n=We(fe,[new t.ptr(128,191),new t.ptr(160,191),new t.ptr(128,159),new t.ptr(144,191),new t.ptr(128,143)])}return}return void 0===i&&(i={$blk:e}),i.$s=a,i.$r=o,i},g.$init=e,g}(),o["bytes"]=function(){var e,t,r,n,a,s,c,l,u,p,d,h,$,g,b,y,k,x,S,D,C,O,R,B={};return t=o["errors"],r=o["internal/bytealg"],n=o["io"],a=o["unicode"],s=o["unicode/utf8"],c=B.Buffer=ye(0,fe,"bytes.Buffer",!0,"bytes",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.buf=d.nil,this.off=0,void(this.lastRead=0);this.buf=e,this.off=t,this.lastRead=r})),l=B.readOp=ye(1,q,"bytes.readOp",!0,"bytes",!1,null),u=B.asciiSet=ye(32,oe,"bytes.asciiSet",!0,"bytes",!1,null),p=st(c),d=ut(Ce),h=st(u),$=Ue(Fe,8),b=function(e,t){var r,n,o;for(n=e,r=0;1&&r<n.$length;){if(o=r,(r<0||r>=n.$length?void i("index out of range"):n.$array[n.$offset+r])===t)return o;r++}return-1},B.IndexByte=b,y=function(e,t){var r,n,o;if(e.$length!==t.$length)return!1;for(n=e,r=0;1&&r<n.$length;){if(o=r,(r<0||r>=n.$length?void i("index out of range"):n.$array[n.$offset+r])!==(o<0||o>=t.$length?void i("index out of range"):t.$array[t.$offset+o]))return!1;r++}return!0},B.Equal=y,c.ptr.prototype.Bytes=function(){return f(this.buf,this.off)},c.prototype.Bytes=function(){return this.$val.Bytes()},c.ptr.prototype.String=function(){return this===p.nil?"<nil>":v(f(this.buf,this.off))},c.prototype.String=function(){return this.$val.String()},c.ptr.prototype.empty=function(){return this.buf.$length<=this.off},c.prototype.empty=function(){return this.$val.empty()},c.ptr.prototype.Len=function(){return this.buf.$length-this.off>>0},c.prototype.Len=function(){return this.$val.Len()},c.ptr.prototype.Cap=function(){return this.buf.$capacity},c.prototype.Cap=function(){return this.$val.Cap()},c.ptr.prototype.Truncate=function(e){var t;t=this,0!==e?(t.lastRead=0,(e<0||e>t.Len())&&vt(new Te("bytes.Buffer: truncation out of range")),t.buf=f(t.buf,0,t.off+e>>0)):t.Reset()},c.prototype.Truncate=function(e){return this.$val.Truncate(e)},c.ptr.prototype.Reset=function(){var e;(e=this).buf=f(e.buf,0,0),e.off=0,e.lastRead=0},c.prototype.Reset=function(){return this.$val.Reset()},c.ptr.prototype.tryGrowByReslice=function(e){var t,r;return r=(t=this).buf.$length,e<=t.buf.$capacity-r>>0?(t.buf=f(t.buf,0,r+e>>0),[r,!0]):[0,!1]},c.prototype.tryGrowByReslice=function(e){return this.$val.tryGrowByReslice(e)},c.ptr.prototype.grow=function(e){var t,r,n,o,a,s,c;return 0===(c=(n=this).Len())&&0!==n.off&&n.Reset(),s=(r=n.tryGrowByReslice(e))[0],r[1]?s:n.buf===d.nil&&e<=64?(n.buf=pt(d,e,64),0):(e<=((t=(a=n.buf.$capacity)/2)==t&&t!==1/0&&t!==-1/0?t>>0:i("integer divide by zero"))-c>>0?_(n.buf,f(n.buf,n.off)):a>(2147483647-a>>0)-e>>0?vt(B.ErrTooLarge):(o=k(j(2,a)+e>>0),_(o,f(n.buf,n.off)),n.buf=o),n.off=0,n.buf=f(n.buf,0,c+e>>0),c)},c.prototype.grow=function(e){return this.$val.grow(e)},c.ptr.prototype.Grow=function(e){var t,r;t=this,e<0&&vt(new Te("bytes.Buffer.Grow: negative count")),r=t.grow(e),t.buf=f(t.buf,0,r)},c.prototype.Grow=function(e){return this.$val.Grow(e)},c.ptr.prototype.Write=function(e){var t,r,n;return(r=this).lastRead=0,n=(t=r.tryGrowByReslice(e.$length))[0],t[1]||(n=r.grow(e.$length)),[_(f(r.buf,n),e),Ze]},c.prototype.Write=function(e){return this.$val.Write(e)},c.ptr.prototype.WriteString=function(e){var t,r,n;return(r=this).lastRead=0,n=(t=r.tryGrowByReslice(e.length))[0],t[1]||(n=r.grow(e.length)),[w(f(r.buf,n),e),Ze]},c.prototype.WriteString=function(e){return this.$val.WriteString(e)},c.ptr.prototype.ReadFrom=function(e){var t,r,i,o,a,s,l,u,p,d,h,$,m,b,v;b=0;var y,k=!1;void 0!==this&&void 0!==this.$blk&&(k=!0,t=(y=this)._r,r=y._tmp,i=y._tmp$1,o=y._tmp$2,a=y._tmp$3,s=y._tuple,l=y.b,u=y.e,p=y.err,d=y.i,h=y.m,$=y.n,e=y.r,m=y.x,b=y.$s,v=y.$r);e:for(;1;){switch(b){case 0:$=new De(0,0),p=Ze,(l=this).lastRead=0;case 1:d=l.grow(512),l.buf=f(l.buf,0,d),t=e.Read(f(l.buf,d,l.buf.$capacity)),b=3;case 3:if(k&&(k=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(h=(s=t)[0],u=s[1],h<0&&vt(g),l.buf=f(l.buf,0,d+h>>0),m=new De(0,h),$=new De($.$high+m.$high,$.$low+m.$low),F(u,n.EOF))return b=-1,[$=r=$,p=i=Ze];if(!F(u,Ze))return b=-1,[$=o=$,p=a=u];b=1;continue;case 2:return b=-1,[$,p]}return}return void 0===y&&(y={$blk:c.ptr.prototype.ReadFrom}),y._r=t,y._tmp=r,y._tmp$1=i,y._tmp$2=o,y._tmp$3=a,y._tuple=s,y.b=l,y.e=u,y.err=p,y.i=d,y.m=h,y.n=$,y.r=e,y.x=m,y.$s=b,y.$r=v,y},c.prototype.ReadFrom=function(e){return this.$val.ReadFrom(e)},k=function(e){var t,r=null;try{return(t=[]).index=_t.deferStack.length,_t.deferStack.push(t),t.push([function(){F(yt(),Ze)||vt(B.ErrTooLarge)},[]]),pt(d,e)}catch(e){return r=e,d.nil}finally{bt(t,r)}},c.ptr.prototype.WriteTo=function(e){var t,r,i,o,a,s,l,u,p,d,h,$,m,g,b,v;b=0;var y,k=!1;void 0!==this&&void 0!==this.$blk&&(k=!0,t=(y=this)._r,r=y._tmp,i=y._tmp$1,o=y._tmp$2,a=y._tmp$3,s=y._tmp$4,l=y._tmp$5,u=y._tuple,p=y.b,d=y.e,h=y.err,$=y.m,m=y.n,g=y.nBytes,e=y.w,b=y.$s,v=y.$r);e:for(;1;){switch(b){case 0:if(m=new De(0,0),h=Ze,(p=this).lastRead=0,(g=p.Len())>0){b=1;continue}b=2;continue;case 1:t=e.Write(f(p.buf,p.off)),b=3;case 3:if(k&&(k=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if($=(u=t)[0],d=u[1],$>g&&vt(new Te("bytes.Buffer.WriteTo: invalid Write count")),p.off=p.off+$>>0,m=new De(0,$),!F(d,Ze))return b=-1,[m=r=m,h=i=d];if($!==g)return b=-1,[m=o=m,h=a=n.ErrShortWrite];case 2:return p.Reset(),b=-1,[m=s=m,h=l=Ze]}return}return void 0===y&&(y={$blk:c.ptr.prototype.WriteTo}),y._r=t,y._tmp=r,y._tmp$1=i,y._tmp$2=o,y._tmp$3=a,y._tmp$4=s,y._tmp$5=l,y._tuple=u,y.b=p,y.e=d,y.err=h,y.m=$,y.n=m,y.nBytes=g,y.w=e,y.$s=b,y.$r=v,y},c.prototype.WriteTo=function(e){return this.$val.WriteTo(e)},c.ptr.prototype.WriteByte=function(e){var t,r,n,o;return(r=this).lastRead=0,n=(t=r.tryGrowByReslice(1))[0],t[1]||(n=r.grow(1)),o=r.buf,n<0||n>=o.$length?i("index out of range"):o.$array[o.$offset+n]=e,Ze},c.prototype.WriteByte=function(e){return this.$val.WriteByte(e)},c.ptr.prototype.WriteRune=function(e){var t,r,n,i;return i=0,r=this,e<128?(r.WriteByte(e<<24>>>24),[i=1,Ze]):(r.lastRead=0,n=(t=r.tryGrowByReslice(4))[0],t[1]||(n=r.grow(4)),i=s.EncodeRune(f(r.buf,n,n+4>>0),e),r.buf=f(r.buf,0,n+i>>0),[i=i,Ze])},c.prototype.WriteRune=function(e){return this.$val.WriteRune(e)},c.ptr.prototype.Read=function(e){var t,r;return r=0,(t=this).lastRead=0,t.empty()?(t.Reset(),0===e.$length?[r=0,Ze]:[r=0,n.EOF]):(r=_(e,f(t.buf,t.off)),t.off=t.off+r>>0,r>0&&(t.lastRead=-1),[r=r,Ze])},c.prototype.Read=function(e){return this.$val.Read(e)},c.ptr.prototype.Next=function(e){var t,r,n;return(t=this).lastRead=0,e>(n=t.Len())&&(e=n),r=f(t.buf,t.off,t.off+e>>0),t.off=t.off+e>>0,e>0&&(t.lastRead=-1),r},c.prototype.Next=function(e){return this.$val.Next(e)},c.ptr.prototype.ReadByte=function(){var e,t,r,o;return(e=this).empty()?(e.Reset(),[0,n.EOF]):(r=e.buf,t=(o=e.off)<0||o>=r.$length?void i("index out of range"):r.$array[r.$offset+o],e.off=e.off+1>>0,e.lastRead=-1,[t,Ze])},c.prototype.ReadByte=function(){return this.$val.ReadByte()},c.ptr.prototype.ReadRune=function(){var e,t,r,o,a,c,l;return a=0,(t=this).empty()?(t.Reset(),[a=0,0,n.EOF]):(c=t.buf,(r=(l=t.off)<0||l>=c.$length?void i("index out of range"):c.$array[c.$offset+l])<128?(t.off=t.off+1>>0,t.lastRead=1,[a=r>>0,1,Ze]):(a=(e=s.DecodeRune(f(t.buf,t.off)))[0],o=e[1],t.off=t.off+o>>0,t.lastRead=o<<24>>24,[a=a,o,Ze]))},c.prototype.ReadRune=function(){return this.$val.ReadRune()},c.ptr.prototype.UnreadRune=function(){var e;return(e=this).lastRead<=0?t.New("bytes.Buffer: UnreadRune: previous operation was not a successful ReadRune"):(e.off>=e.lastRead>>0&&(e.off=e.off-(e.lastRead>>0)>>0),e.lastRead=0,Ze)},c.prototype.UnreadRune=function(){return this.$val.UnreadRune()},c.ptr.prototype.UnreadByte=function(){var e;return 0===(e=this).lastRead?t.New("bytes.Buffer: UnreadByte: previous operation was not a successful read"):(e.lastRead=0,e.off>0&&(e.off=e.off-1>>0),Ze)},c.prototype.UnreadByte=function(){return this.$val.UnreadByte()},c.ptr.prototype.ReadBytes=function(e){var t,r,n,i;return n=d.nil,r=Ze,i=(t=this.readSlice(e))[0],r=t[1],[n=n=P(n,i),r=r]},c.prototype.ReadBytes=function(e){return this.$val.ReadBytes(e)},c.ptr.prototype.readSlice=function(e){var t,r,i,o,a;return a=d.nil,i=Ze,o=b(f((t=this).buf,t.off),e),r=(t.off+o>>0)+1>>0,o<0&&(r=t.buf.$length,i=n.EOF),a=f(t.buf,t.off,r),t.off=r,t.lastRead=-1,[a=a,i=i]},c.prototype.readSlice=function(e){return this.$val.readSlice(e)},c.ptr.prototype.ReadString=function(e){var t,r,n;return r=Ze,n=(t=this.readSlice(e))[0],r=t[1],[v(n),r=r]},c.prototype.ReadString=function(e){return this.$val.ReadString(e)},x=function(e,t){return e.$length>=t.$length&&y(f(e,0,t.$length),t)},B.HasPrefix=x,S=function(e,t){var r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,r=(a=this)._r,t=a.f,n=a.i,e=a.s,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:r=D(e,t,!1),i=1;case 1:if(s&&(s=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return-1===(n=r)?(i=-1,d.nil):(i=-1,f(e,n))}return}return void 0===a&&(a={$blk:S}),a._r=r,a.f=t,a.i=n,a.s=e,a.$s=i,a.$r=o,a},B.TrimLeftFunc=S,D=function(e,t,r){var n,o,a,c,l,u,p;u=0;var d,h=!1;void 0!==this&&void 0!==this.$blk&&(h=!0,n=(d=this)._r,o=d._tuple,t=d.f,a=d.r,e=d.s,c=d.start,r=d.truth,l=d.wid,u=d.$s,p=d.$r);e:for(;1;){switch(u){case 0:c=0;case 1:if(!(c<e.$length)){u=2;continue}l=1,(a=(c<0||c>=e.$length?void i("index out of range"):e.$array[e.$offset+c])>>0)>=128&&(a=(o=s.DecodeRune(f(e,c)))[0],l=o[1]),n=t(a),u=5;case 5:if(h&&(h=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(n===r){u=3;continue}u=4;continue;case 3:return u=-1,c;case 4:c=c+l>>0,u=1;continue;case 2:return u=-1,-1}return}return void 0===d&&(d={$blk:D}),d._r=n,d._tuple=o,d.f=t,d.r=a,d.s=e,d.start=c,d.truth=r,d.wid=l,d.$s=u,d.$r=p,d},C=function(e){var t,r,n,o,a,s,c,l,p;for(s=$.zero(),l=0;1&&l<e.length;){if((c=e.charCodeAt(l))>=128)return r=E(s,u),n=!1,u.copy(s,r),[s,n];(t=c>>>5<<24>>>24)<0||t>=s.length?i("index out of range"):s[t]=((t<0||t>=s.length?void i("index out of range"):s[t])|((p=(31&c)>>>0>>>0)<32?1<<p:0)>>>0)>>>0,l=l+1>>0}return o=E(s,u),a=!0,u.copy(s,o),[s,a]},u.prototype.contains=function(e){var t,r,n;return!(0==(r=e>>>5<<24>>>24,(t=this.$val).nilCheck,((r<0||r>=t.length?void i("index out of range"):t[r])&(n=(31&e)>>>0>>>0,(n<32?1<<n:0)>>>0))>>>0))},st(u).prototype.contains=function(e){return new u(this.$get()).contains(e)},O=function(e){var t,r;return 1===e.length&&e.charCodeAt(0)<128?function(t){return t===e.charCodeAt(0)>>0}:(t=C(e),r=E(t[0],u),t[1]?function(e){return e<128&&new h(r).contains(e<<24>>>24)}:function(t){var r,n,i;for(n=e,r=0;1&&r<n.length;){if((i=m(n,r))[0]===t)return!0;r+=i[1]}return!1})},R=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.cutset,e=o.s,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=S(e,O(t)),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:R}),o._r=r,o.cutset=t,o.s=e,o.$s=n,o.$r=i,o},B.TrimLeft=R,p.methods=[{prop:"Bytes",name:"Bytes",pkg:"",typ:Ke([],[d],!1)},{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"empty",name:"empty",pkg:"bytes",typ:Ke([],[we],!1)},{prop:"Len",name:"Len",pkg:"",typ:Ke([],[_e],!1)},{prop:"Cap",name:"Cap",pkg:"",typ:Ke([],[_e],!1)},{prop:"Truncate",name:"Truncate",pkg:"",typ:Ke([_e],[],!1)},{prop:"Reset",name:"Reset",pkg:"",typ:Ke([],[],!1)},{prop:"tryGrowByReslice",name:"tryGrowByReslice",pkg:"bytes",typ:Ke([_e],[_e,we],!1)},{prop:"grow",name:"grow",pkg:"bytes",typ:Ke([_e],[_e],!1)},{prop:"Grow",name:"Grow",pkg:"",typ:Ke([_e],[],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([d],[_e,Ye],!1)},{prop:"WriteString",name:"WriteString",pkg:"",typ:Ke([Te],[_e,Ye],!1)},{prop:"ReadFrom",name:"ReadFrom",pkg:"",typ:Ke([n.Reader],[De,Ye],!1)},{prop:"WriteTo",name:"WriteTo",pkg:"",typ:Ke([n.Writer],[De,Ye],!1)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:Ke([Ce],[Ye],!1)},{prop:"WriteRune",name:"WriteRune",pkg:"",typ:Ke([Se],[_e,Ye],!1)},{prop:"Read",name:"Read",pkg:"",typ:Ke([d],[_e,Ye],!1)},{prop:"Next",name:"Next",pkg:"",typ:Ke([_e],[d],!1)},{prop:"ReadByte",name:"ReadByte",pkg:"",typ:Ke([],[Ce,Ye],!1)},{prop:"ReadRune",name:"ReadRune",pkg:"",typ:Ke([],[Se,_e,Ye],!1)},{prop:"UnreadRune",name:"UnreadRune",pkg:"",typ:Ke([],[Ye],!1)},{prop:"UnreadByte",name:"UnreadByte",pkg:"",typ:Ke([],[Ye],!1)},{prop:"ReadBytes",name:"ReadBytes",pkg:"",typ:Ke([Ce],[d,Ye],!1)},{prop:"readSlice",name:"readSlice",pkg:"bytes",typ:Ke([Ce],[d,Ye],!1)},{prop:"ReadString",name:"ReadString",pkg:"",typ:Ke([Ce],[Te,Ye],!1)}],h.methods=[{prop:"contains",name:"contains",pkg:"bytes",typ:Ke([Ce],[we],!1)}],c.init("bytes",[{prop:"buf",name:"buf",embedded:!1,exported:!1,typ:d,tag:""},{prop:"off",name:"off",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"lastRead",name:"lastRead",embedded:!1,exported:!1,typ:l,tag:""}]),u.init(Fe,8),e=function(){B.$init=function(){};var i,o,c=!1,l=0;void 0!==this&&void 0!==this.$blk&&(c=!0,l=(i=this).$s,o=i.$r);e:for(;1;){switch(l){case 0:o=t.$init(),l=1;case 1:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),l=2;case 2:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=n.$init(),l=3;case 3:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=a.$init(),l=4;case 4:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=s.$init(),l=5;case 5:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;B.ErrTooLarge=t.New("bytes.Buffer: too large"),g=t.New("bytes.Buffer: reader returned negative count from Read")}return}return void 0===i&&(i={$blk:e}),i.$s=l,i.$r=o,i},B.$init=e,B}(),o["math/bits"]=function(){var e,t,r,n,o,a,s,c,l,u={};return o=function(e){return 64-l(e)>>0},u.LeadingZeros64=o,a=function(e){return 1?s(e>>>0):c(new Re(0,e))},u.TrailingZeros=a,s=function(e){var r;return 0===e?32:((r=j((e&-e>>>0)>>>0,125613361)>>>0>>>27>>>0)<0||r>=t.length?void i("index out of range"):t[r])>>0},u.TrailingZeros32=s,c=function(e){var t,n;return 0===e.$high&&0===e.$low?64:(t=M(W((n=new Re(-e.$high,-e.$low),new Re(e.$high&n.$high,(e.$low&n.$low)>>>0)),new Re(66559345,3033172745)),58),(N(t)<0||N(t)>=r.length?void i("index out of range"):r[N(t)])>>0)},u.TrailingZeros64=c,l=function(e){var t;return t=0,(e.$high>1||1===e.$high&&e.$low>=0)&&(e=M(e,32),t=32),(e.$high>0||0===e.$high&&e.$low>=65536)&&(e=M(e,16),t=t+16>>0),(e.$high>0||0===e.$high&&e.$low>=256)&&(e=M(e,8),t=t+8>>0),t+((N(e)<0||N(e)>=n.length?void i("index out of range"):n[N(e)])>>0)>>0},u.Len64=l,e=function(){u.$init=function(){};var i,o,a=0;for(void 0!==this&&void 0!==this.$blk&&(a=(i=this).$s,o=i.$r);1;){switch(a){case 0:t=We(J,[0,1,28,2,29,14,24,3,30,22,20,15,25,17,4,8,31,27,13,23,21,19,16,7,26,12,18,6,11,5,10,9]),r=We(J,[0,1,56,2,57,49,28,3,61,58,42,50,38,29,17,4,62,47,59,36,45,43,51,22,53,39,33,30,24,18,12,5,63,55,48,27,60,41,37,16,46,35,44,21,52,32,23,11,54,26,40,15,34,20,31,10,25,14,19,9,13,8,7,6]),n=We(J,[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8])}return}return void 0===i&&(i={$blk:e}),i.$s=a,i.$r=o,i},u.$init=e,u}(),o["math"]=function(){var e,r,n,i,a,s,c,l,u,p,d,f,h={};return r=o["github.com/gopherjs/gopherjs/js"],n=o["math/bits"],i=Ue(Fe,2),a=Ue(Ae,2),s=Ue(Ie,1),c=ft("math",[{prop:"uint32array",name:"uint32array",embedded:!1,exported:!1,typ:i,tag:""},{prop:"float32array",name:"float32array",embedded:!1,exported:!1,typ:a,tag:""},{prop:"float64array",name:"float64array",embedded:!1,exported:!1,typ:s,tag:""}]),u=function(e){return!(e==e)},h.IsNaN=u,p=function(){var e;e=new t.ArrayBuffer(8),l.uint32array=new t.Uint32Array(e),l.float32array=new t.Float32Array(e),l.float64array=new t.Float64Array(e)},d=function(e){return l.float32array[0]=e,l.uint32array[0]},h.Float32bits=d,f=function(e){var t,r;return l.float64array[0]=e,t=T(new Re(0,l.uint32array[1]),32),r=new Re(0,l.uint32array[0]),new Re(t.$high+r.$high,t.$low+r.$low)},h.Float64bits=f,e=function(){h.$init=function(){};var o,u,d=!1,f=0;void 0!==this&&void 0!==this.$blk&&(d=!0,f=(o=this).$s,u=o.$r);e:for(;1;){switch(f){case 0:u=r.$init(),f=1;case 1:if(d&&(d=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;u=n.$init(),f=2;case 2:if(d&&(d=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;l=new c.ptr(i.zero(),a.zero(),s.zero()),t.Math,p()}return}return void 0===o&&(o={$blk:e}),o.$s=f,o.$r=u,o},h.$init=e,h}(),o["strconv"]=function(){var e,t,r,n,a,s,c,l,u,p,d,$,m,g,y,k,w,x,S,C,B,A,N,L,U,V,q,H,G,K,X,J,Z,Y,ee,te,re,ne,ie,oe,ae,se,ce,le,ue,pe,de,he,$e,me,ge,be,ve,ke,xe,Ee,Se,Be,Ae,Ie,je,Ne,Le,Me,ze,Ve,qe,He,Ge,Xe,Je,Qe,et,tt,rt,nt,it,ot,at,ct,lt,dt,ft,$t,mt,gt,bt,yt={};return t=o["errors"],r=o["internal/bytealg"],n=o["math"],a=o["math/bits"],s=o["unicode/utf8"],c=yt.NumError=ye(0,fe,"strconv.NumError",!0,"strconv",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.Func="",this.Num="",void(this.Err=Ze);this.Func=e,this.Num=t,this.Err=r})),l=yt.decimal=ye(0,fe,"strconv.decimal",!0,"strconv",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.d=k.zero(),this.nd=0,this.dp=0,this.neg=!1,void(this.trunc=!1);this.d=e,this.nd=t,this.dp=r,this.neg=n,this.trunc=i})),u=yt.leftCheat=ye(0,fe,"strconv.leftCheat",!0,"strconv",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.delta=0,void(this.cutoff="");this.delta=e,this.cutoff=t})),p=yt.extFloat=ye(0,fe,"strconv.extFloat",!0,"strconv",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.mant=new Re(0,0),this.exp=0,void(this.neg=!1);this.mant=e,this.exp=t,this.neg=r})),d=yt.floatInfo=ye(0,fe,"strconv.floatInfo",!0,"strconv",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.mantbits=0,this.expbits=0,void(this.bias=0);this.mantbits=e,this.expbits=t,this.bias=r})),$=yt.decimalSlice=ye(0,fe,"strconv.decimalSlice",!0,"strconv",!1,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.d=w.nil,this.nd=0,this.dp=0,void(this.neg=!1);this.d=e,this.nd=t,this.dp=r,this.neg=n})),m=ut(u),g=ut(Oe),y=ut(Fe),k=Ue(Ce,800),w=ut(Ce),x=st(c),S=Ue(Ce,24),C=Ue(Ce,32),B=st(d),A=Ue(Ce,65),N=Ue(Ce,4),L=st(l),U=st($),V=st(p),c.ptr.prototype.Error=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.e,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).Err.Error(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,"strconv."+t.Func+": "+"parsing "+tt(t.Num)+": "+e}return}return void 0===i&&(i={$blk:c.ptr.prototype.Error}),i._r=e,i.e=t,i.$s=r,i.$r=n,i},c.prototype.Error=function(){return this.$val.Error()},ie=function(e,t){return new c.ptr(e,t,yt.ErrSyntax)},oe=function(e,t){return new c.ptr(e,t,yt.ErrRange)},ae=function(e,r,n){return new c.ptr(e,r,t.New("invalid base "+Ve(n)))},se=function(e,r,n){return new c.ptr(e,r,t.New("invalid bit size "+Ve(n)))},ce=function(e,t,r){var n,o,a,s,c,l,u,p,d,f,$,m,g;if(0===e.length)return[new Re(0,0),ie("ParseUint",e)];if(f=e,2<=t&&t<=36);else{if(0!==t)return[new Re(0,0),ae("ParseUint",f,t)];if(48===e.charCodeAt(0)&&e.length>1&&(120===e.charCodeAt(1)||88===e.charCodeAt(1))){if(e.length<3)return[new Re(0,0),ie("ParseUint",f)];t=16,e=h(e,2)}else 48===e.charCodeAt(0)?(t=8,e=h(e,1)):t=10}if(0===r)r=32;else if(r<0||r>64)return[new Re(0,0),se("ParseUint",f,r)];for(c=new Re(0,0),10===(n=t)?c=new Re(429496729,2576980378):16===n?c=new Re(268435456,0):($=z(new Re(4294967295,4294967295),new Re(0,t),!1),c=new Re($.$high+0,$.$low+1)),m=T(new Re(0,1),r>>>0),u=new Re(m.$high-0,m.$low-1),p=new Re(0,0),a=new w(b(e)),o=0;1&&o<a.$length;){if(l=0,48<=(s=o<0||o>=a.$length?void i("index out of range"):a.$array[a.$offset+o])&&s<=57)l=s-48<<24>>>24;else if(97<=s&&s<=122)l=(s-97<<24>>>24)+10<<24>>>24;else{if(!(65<=s&&s<=90))return[new Re(0,0),ie("ParseUint",f)];l=(s-65<<24>>>24)+10<<24>>>24}if(l>=t<<24>>>24)return[new Re(0,0),ie("ParseUint",f)];if(p.$high>c.$high||p.$high===c.$high&&p.$low>=c.$low)return[u,oe("ParseUint",f)];if(p=W(p,new Re(0,t)),g=new Re(0,l),(d=new Re(p.$high+g.$high,p.$low+g.$low)).$high<p.$high||d.$high===p.$high&&d.$low<p.$low||d.$high>u.$high||d.$high===u.$high&&d.$low>u.$low)return[u,oe("ParseUint",f)];p=d,o++}return[p,Ze]},yt.ParseUint=ce,le=function(e,t,r){var n,i,o,a,s,c,l,u,p;return new De(0,0),o=Ze,0===e.length?[new De(0,0),o=ie("ParseInt",e)]:(c=e,s=!1,43===e.charCodeAt(0)?e=h(e,1):45===e.charCodeAt(0)&&(s=!0,e=h(e,1)),new Re(0,0),l=(n=ce(e,t,r))[0],o=n[1],F(o,Ze)||F(ht(o,x).Err,yt.ErrRange)?(0===r&&(r=32),i=T(new Re(0,1),r-1>>0>>>0),!s&&(l.$high>i.$high||l.$high===i.$high&&l.$low>=i.$low)?(u=new Re(i.$high-0,i.$low-1),[new De(u.$high,u.$low),o=oe("ParseInt",c)]):s&&(l.$high>i.$high||l.$high===i.$high&&l.$low>i.$low)?(p=new De(i.$high,i.$low),[new De(-p.$high,-p.$low),o=oe("ParseInt",c)]):(a=new De(l.$high,l.$low),s&&(a=new De(-a.$high,-a.$low)),[a,o=Ze])):(ht(o,x).Func="ParseInt",ht(o,x).Num=c,[new De(0,0),o=o]))},yt.ParseInt=le,ue=function(e){var t,r,n,o,a,s,l,u,p,d,f;if(f=e.length,1&&0<f&&f<10||0&&0){if(d=e,(45===e.charCodeAt(0)||43===e.charCodeAt(0))&&(e=h(e,1)).length<1)return[0,new c.ptr("Atoi",d,yt.ErrSyntax)];for(u=0,r=new w(b(e)),t=0;1&&t<r.$length;){if((a=(a=t<0||t>=r.$length?void i("index out of range"):r.$array[r.$offset+t])-48<<24>>>24)>9)return[0,new c.ptr("Atoi",d,yt.ErrSyntax)];u=j(u,10)+(a>>0)>>0,t++}return 45===d.charCodeAt(0)&&(u=-u),[u,Ze]}return l=(n=le(e,10,0))[0],s=n[1],p=(o=ht(s,x,!0))[0],o[1]&&(p.Func="Atoi"),[l.$low+4294967296*(l.$high>>31)>>0,s]},yt.Atoi=ue,l.ptr.prototype.String=function(){var e,t,r,n;return r=10+(e=this).nd>>0,e.dp>0&&(r=r+e.dp>>0),e.dp<0&&(r=r+-e.dp>>0),t=pt(w,r),n=0,0===e.nd?"0":(e.dp<=0?(n<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=48,(n=n+1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=46,n=(n=(n=n+1>>0)+pe(f(t,n,n+-e.dp>>0))>>0)+_(f(t,n),f(new w(e.d),0,e.nd))>>0):e.dp<e.nd?((n=n+_(f(t,n),f(new w(e.d),0,e.dp))>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=46,n=(n=n+1>>0)+_(f(t,n),f(new w(e.d),e.dp,e.nd))>>0):n=(n=n+_(f(t,n),f(new w(e.d),0,e.nd))>>0)+pe(f(t,n,(n+e.dp>>0)-e.nd>>0))>>0,v(f(t,0,n)))},l.prototype.String=function(){return this.$val.String()},pe=function(e){var t,r,n;for(r=e,t=0;1&&t<r.$length;)(n=t)<0||n>=e.$length?i("index out of range"):e.$array[e.$offset+n]=48,t++;return e.$length},de=function(e){for(var t,r;1&&e.nd>0&&48===(t=e.d,(r=e.nd-1>>0)<0||r>=t.length?void i("index out of range"):t[r]);)e.nd=e.nd-1>>0;0===e.nd&&(e.dp=0)},l.ptr.prototype.Assign=function(e){var t,r,n,o,a,s,c;for(t=this,r=S.zero(),n=0;1&&(e.$high>0||0===e.$high&&e.$low>0);)o=z(e,new Re(0,10),!1),a=W(new Re(0,10),o),e=new Re(e.$high-a.$high,e.$low-a.$low),n<0||n>=r.length?i("index out of range"):r[n]=new Re(e.$high+0,e.$low+48).$low<<24>>>24,n=n+1>>0,e=o;for(t.nd=0,n=n-1>>0;1&&n>=0;)s=t.d,(c=t.nd)<0||c>=s.length?i("index out of range"):s[c]=n<0||n>=r.length?void i("index out of range"):r[n],t.nd=t.nd+1>>0,n=n-1>>0;t.dp=t.nd,de(t)},l.prototype.Assign=function(e){return this.$val.Assign(e)},he=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b;for(c=0,l=0,s=0;1&&0==((h=t)<32?s>>>h:0)>>>0;){if(c>=e.nd){if(0===s)return void(e.nd=0);for(;1&&0==(($=t)<32?s>>>$:0)>>>0;)s=10*s>>>0,c=c+1>>0;break}u=e.d,s=((10*s>>>0)+((c<0||c>=u.length?void i("index out of range"):u[c])>>>0)>>>0)-48>>>0,c=c+1>>0}for(e.dp=e.dp-(c-1>>0)>>0,a=(((m=t)<32?1<<m:0)>>>0)-1>>>0;1&&c<e.nd;)p=e.d,r=(c<0||c>=p.length?void i("index out of range"):p[c])>>>0,n=((g=t)<32?s>>>g:0)>>>0,s=(s&a)>>>0,d=e.d,l<0||l>=d.length?i("index out of range"):d[l]=n+48>>>0<<24>>>24,l=l+1>>0,s=((10*s>>>0)+r>>>0)-48>>>0,c=c+1>>0;for(;1&&s>0;)o=((b=t)<32?s>>>b:0)>>>0,s=(s&a)>>>0,l<800?(f=e.d,l<0||l>=f.length?i("index out of range"):f[l]=o+48>>>0<<24>>>24,l=l+1>>0):o>0&&(e.trunc=!0),s=10*s>>>0;e.nd=l,de(e)},$e=function(e,t){var r;for(r=0;1&&r<t.length;){if(r>=e.$length)return!0;if((r<0||r>=e.$length?void i("index out of range"):e.$array[e.$offset+r])!==t.charCodeAt(r))return(r<0||r>=e.$length?void i("index out of range"):e.$array[e.$offset+r])<t.charCodeAt(r);r=r+1>>0}return!1},me=function(e,t){var r,n,o,a,s,c,l,u,p,d,h,$,m,g;for(o=(t<0||t>=H.$length?void i("index out of range"):H.$array[H.$offset+t]).delta,$e(f(new w(e.d),0,e.nd),(t<0||t>=H.$length?void i("index out of range"):H.$array[H.$offset+t]).cutoff)&&(o=o-1>>0),l=e.nd,d=e.nd+o>>0,a=0,l=l-1>>0;1&&l>=0;)u=(a=a+(((g=t)<32?(h=e.d,((l<0||l>=h.length?void i("index out of range"):h[l])>>>0)-48>>>0<<g):0)>>>0)>>>0)-(10*(s=(r=a/10)==r&&r!==1/0&&r!==-1/0?r>>>0:i("integer divide by zero"))>>>0)>>>0,(d=d-1>>0)<800?($=e.d,d<0||d>=$.length?i("index out of range"):$[d]=u+48>>>0<<24>>>24):0!==u&&(e.trunc=!0),a=s,l=l-1>>0;for(;1&&a>0;)p=a-(10*(c=(n=a/10)==n&&n!==1/0&&n!==-1/0?n>>>0:i("integer divide by zero"))>>>0)>>>0,(d=d-1>>0)<800?(m=e.d,d<0||d>=m.length?i("index out of range"):m[d]=p+48>>>0<<24>>>24):0!==p&&(e.trunc=!0),a=c;e.nd=e.nd+o>>0,e.nd>=800&&(e.nd=800),e.dp=e.dp+o>>0,de(e)},l.ptr.prototype.Shift=function(e){var t;if(0===(t=this).nd);else if(e>0){for(;1&&e>28;)me(t,28),e=e-28>>0;me(t,e>>>0)}else if(e<0){for(;1&&e<-28;)he(t,28),e=e+28>>0;he(t,-e>>>0)}},l.prototype.Shift=function(e){return this.$val.Shift(e)},ge=function(e,t){var r,n,o,a,s;return!(t<0||t>=e.nd)&&(53===(n=e.d,t<0||t>=n.length?void i("index out of range"):n[t])&&t+1>>0===e.nd?!!e.trunc||t>0&&!(0===(o=e.d,a=t-1>>0,r=((a<0||a>=o.length?void i("index out of range"):o[a])-48<<24>>>24)%2,r==r?r:i("integer divide by zero"))):(s=e.d,(t<0||t>=s.length?void i("index out of range"):s[t])>=53))},l.ptr.prototype.Round=function(e){var t;t=this,e<0||e>=t.nd||(ge(t,e)?t.RoundUp(e):t.RoundDown(e))},l.prototype.Round=function(e){return this.$val.Round(e)},l.ptr.prototype.RoundDown=function(e){var t;t=this,e<0||e>=t.nd||(t.nd=e,de(t))},l.prototype.RoundDown=function(e){return this.$val.RoundDown(e)},l.ptr.prototype.RoundUp=function(e){var t,r,n,o,a;if(t=this,!(e<0||e>=t.nd)){for(r=e-1>>0;1&&r>=0;){if(n=t.d,(r<0||r>=n.length?void i("index out of range"):n[r])<57)return a=t.d,r<0||r>=a.length?i("index out of range"):a[r]=(o=t.d,(r<0||r>=o.length?void i("index out of range"):o[r])+1<<24>>>24),void(t.nd=r+1>>0);r=r-1>>0}t.d[0]=49,t.nd=1,t.dp=t.dp+1>>0}},l.prototype.RoundUp=function(e){return this.$val.RoundUp(e)},l.ptr.prototype.RoundedInteger=function(){var e,t,r,n,o,a,s;if((e=this).dp>20)return new Re(4294967295,4294967295);for(t=0,r=new Re(0,0),t=0;1&&t<e.dp&&t<e.nd;)n=W(r,new Re(0,10)),o=new Re(0,(a=e.d,(t<0||t>=a.length?void i("index out of range"):a[t])-48<<24>>>24)),r=new Re(n.$high+o.$high,n.$low+o.$low),t=t+1>>0;for(;1&&t<e.dp;)r=W(r,new Re(0,10)),t=t+1>>0;return ge(e,e.dp)&&(s=new Re(0,1),r=new Re(r.$high+s.$high,r.$low+s.$low)),r},l.prototype.RoundedInteger=function(){return this.$val.RoundedInteger()},p.ptr.prototype.AssignComputeBounds=function(e,t,r,n){var i,o,a,s,c,l,u,d,f,h,$;return c=new p.ptr(new Re(0,0),0,!1),l=new p.ptr(new Re(0,0),0,!1),(s=this).mant=e,s.exp=t-(n.mantbits>>0)>>0,s.neg=r,s.exp<=0&&(u=T(M(e,-s.exp>>>0),-s.exp>>>0),e.$high===u.$high&&e.$low===u.$low)?(s.mant=M(s.mant,-s.exp>>>0),s.exp=0,i=E(s,p),o=E(s,p),p.copy(c,i),p.copy(l,o),[c,l]):(a=t-n.bias>>0,p.copy(l,new p.ptr((d=W(new Re(0,2),s.mant),new Re(d.$high+0,d.$low+1)),s.exp-1>>0,s.neg)),f=T(new Re(0,1),n.mantbits),e.$high!==f.$high||e.$low!==f.$low||1===a?p.copy(c,new p.ptr((h=W(new Re(0,2),s.mant),new Re(h.$high-0,h.$low-1)),s.exp-1>>0,s.neg)):p.copy(c,new p.ptr(($=W(new Re(0,4),s.mant),new Re($.$high-0,$.$low-1)),s.exp-2>>0,s.neg)),[c,l])},p.prototype.AssignComputeBounds=function(e,t,r,n){return this.$val.AssignComputeBounds(e,t,r,n)},p.ptr.prototype.Normalize=function(){var e,t,r;return 0===(r=(e=this).mant).$high&&0===r.$low?0:(t=a.LeadingZeros64(e.mant),e.mant=T(e.mant,t>>>0),e.exp=e.exp-t>>0,t>>>0)},p.prototype.Normalize=function(){return this.$val.Normalize()},p.ptr.prototype.Multiply=function(e){var t,r,n,i,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k;a=M((o=this).mant,32),s=new Re(0,o.mant.$low>>>0),t=M(e.mant,32),r=new Re(0,e.mant.$low>>>0),c=t,n=W(a,l=r),i=W(s,c),o.mant=(d=W(a,c),h=M(n,32),p=new Re(d.$high+h.$high,d.$low+h.$low),$=M(i,32),new Re(p.$high+$.$high,p.$low+$.$low)),g=new Re(0,n.$low>>>0),b=new Re(0,i.$low>>>0),m=new Re(g.$high+b.$high,g.$low+b.$low),v=M(W(s,l),32),u=new Re(m.$high+v.$high,m.$low+v.$low),y=new Re(0,2147483648),u=new Re(u.$high+y.$high,u.$low+y.$low),o.mant=(k=o.mant,f=M(u,32),new Re(k.$high+f.$high,k.$low+f.$low)),o.exp=(o.exp+e.exp>>0)+64>>0},p.prototype.Multiply=function(e){return this.$val.Multiply(e)},p.ptr.prototype.AssignDecimal=function(e,t,r,n,o){var a,s,c,l,u,d,f,h,$,m,g,b,v,y,k,w,_,x,S,D,P,C,O,F;return u=0,n&&(u=u+4>>0),(f=this).mant=e,f.exp=0,f.neg=r,$=(a=(t- -348>>0)/8)==a&&a!==1/0&&a!==-1/0?a>>0:i("integer divide by zero"),!(t<-348||$>=87||((c=(s=(t- -348>>0)%8)==s?s:i("integer divide by zero"))<19&&(g=(b=19-c>>0)<0||b>=X.length?void i("index out of range"):X[b],e.$high<g.$high||e.$high===g.$high&&e.$low<g.$low)?(f.mant=W(f.mant,c<0||c>=X.length?void i("index out of range"):X[c]),f.Normalize()):(f.Normalize(),f.Multiply(E(c<0||c>=G.length?void i("index out of range"):G[c],p)),u=u+4>>0),f.Multiply(E($<0||$>=K.length?void i("index out of range"):K[$],p)),u>0&&(u=u+1>>0),u=u+4>>0,u=((F=f.Normalize())<32?u<<F:0)>>0,l=o.bias-63>>0,d=f.exp<=l?((63-o.mantbits>>>0)+1>>>0)+(l-f.exp>>0>>>0)>>>0:63-o.mantbits>>>0,h=T(new Re(0,1),d-1>>>0),w=f.mant,x=T(new Re(0,1),d),_=new Re(x.$high-0,x.$low-1),m=new Re(w.$high&_.$high,(w.$low&_.$low)>>>0),D=new De(h.$high,h.$low),P=new De(0,u),S=new De(D.$high-P.$high,D.$low-P.$low),C=new De(m.$high,m.$low),(S.$high<C.$high||S.$high===C.$high&&S.$low<C.$low)&&(O=new De(m.$high,m.$low),y=new De(h.$high,h.$low),k=new De(0,u),v=new De(y.$high+k.$high,y.$low+k.$low),O.$high<v.$high||O.$high===v.$high&&O.$low<v.$low)))},p.prototype.AssignDecimal=function(e,t,r,n,i){return this.$val.AssignDecimal(e,t,r,n,i)},p.ptr.prototype.frexp10=function(){var e,t,r,n;n=(t=(((e=j(-46-this.exp>>0,28)/93)==e&&e!==1/0&&e!==-1/0?e>>0:i("integer divide by zero"))- -348>>0)/8)==t&&t!==1/0&&t!==-1/0?t>>0:i("integer divide by zero");e:for(;1;)if((r=(this.exp+(n<0||n>=K.length?void i("index out of range"):K[n]).exp>>0)+64>>0)<-60)n=n+1>>0;else{if(!(r>-32))break e;n=n-1>>0}return this.Multiply(E(n<0||n>=K.length?void i("index out of range"):K[n],p)),[-(-348+j(n,8)>>0),n]},p.prototype.frexp10=function(){return this.$val.frexp10()},be=function(e,t,r){var n,o,a;return o=(n=r.frexp10())[0],a=n[1],e.Multiply(E(a<0||a>=K.length?void i("index out of range"):K[a],p)),t.Multiply(E(a<0||a>=K.length?void i("index out of range"):K[a],p)),o},p.ptr.prototype.FixedDecimal=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,E,S,D,P,O,F,R,B,A,I,N,L,z;if(0===(E=(l=this).mant).$high&&0===E.$low)return e.nd=0,e.dp=0,e.neg=l.neg,!0;for(0===t&&vt(new Te("strconv: internal error: extFloat.FixedDecimal called with n == 0")),l.Normalize(),c=l.frexp10()[0],w=-l.exp>>>0,h=M(l.mant,w).$low>>>0,S=l.mant,F=T(new Re(0,h),w),u=new Re(S.$high-F.$high,S.$low-F.$low),r=new Re(0,1),g=t,$=0,y=new Re(0,1),p=0,v=new Re(0,1);1&&p<20;){if(R=new Re(0,h),v.$high>R.$high||v.$high===R.$high&&v.$low>R.$low){$=p;break}v=W(v,new Re(0,10)),p=p+1>>0}for(k=h,$>g?(h=(n=h/((y=(B=$-g>>0)<0||B>=X.length?void i("index out of range"):X[B]).$low>>>0))==n&&n!==1/0&&n!==-1/0?n>>>0:i("integer divide by zero"),k=k-(j(h,y.$low>>>0)>>>0)>>>0):k=0,a=C.zero(),b=32,_=h;1&&_>0;)x=(o=_/10)==o&&o!==1/0&&o!==-1/0?o>>>0:i("integer divide by zero"),_=_-(j(10,x)>>>0)>>>0,(b=b-1>>0)<0||b>=a.length?i("index out of range"):a[b]=_+48>>>0<<24>>>24,_=x;for(d=b;1&&d<32;)A=e.d,(I=d-b>>0)<0||I>=A.$length?i("index out of range"):A.$array[A.$offset+I]=d<0||d>=a.length?void i("index out of range"):a[d],d=d+1>>0;if(m=32-b>>0,e.nd=m,e.dp=$+c>>0,(g=g-m>>0)>0){for(0===k&&0===y.$high&&1===y.$low||vt(new Te("strconv: internal error, rest != 0 but needed > 0"));1&&g>0;){if(u=W(u,new Re(0,10)),r=W(r,new Re(0,10)),N=W(new Re(0,2),r),L=T(new Re(0,1),w),N.$high>L.$high||N.$high===L.$high&&N.$low>L.$low)return!1;s=M(u,w),z=e.d,m<0||m>=z.$length?i("index out of range"):z.$array[z.$offset+m]=new Re(s.$high+0,s.$low+48).$low<<24>>>24,D=T(s,w),u=new Re(u.$high-D.$high,u.$low-D.$low),m=m+1>>0,g=g-1>>0}e.nd=m}if(!ve(e,(P=T(new Re(0,k),w),new Re(P.$high|u.$high,(P.$low|u.$low)>>>0)),y,w,r))return!1;for(f=e.nd-1>>0;1&&f>=0;){if(48!==(O=e.d,f<0||f>=O.$length?void i("index out of range"):O.$array[O.$offset+f])){e.nd=f+1>>0;break}f=f-1>>0}return!0},p.prototype.FixedDecimal=function(e,t){return this.$val.FixedDecimal(e,t)},ve=function(e,t,r,n,o){var a,s,c,l,u,p,d,f,h,$,m,g;if(s=T(r,n),(t.$high>s.$high||t.$high===s.$high&&t.$low>s.$low)&&vt(new Te("strconv: num > den<<shift in adjustLastDigitFixed")),c=W(new Re(0,2),o),u=T(r,n),(c.$high>u.$high||c.$high===u.$high&&c.$low>u.$low)&&vt(new Te("strconv: ε > (den<<shift)/2")),p=W(new Re(0,2),new Re(t.$high+o.$high,t.$low+o.$low)),d=T(r,n),p.$high<d.$high||p.$high===d.$high&&p.$low<d.$low)return!0;if(f=W(new Re(0,2),new Re(t.$high-o.$high,t.$low-o.$low)),h=T(r,n),f.$high>h.$high||f.$high===h.$high&&f.$low>h.$low){for(a=e.nd-1>>0;1&&a>=0&&57===($=e.d,a<0||a>=$.$length?void i("index out of range"):$.$array[$.$offset+a]);)e.nd=e.nd-1>>0,a=a-1>>0;return a<0?(0>=(m=e.d).$length?i("index out of range"):m.$array[m.$offset+0]=49,e.nd=1,e.dp=e.dp+1>>0):(l=e.d,a<0||a>=l.$length?i("index out of range"):l.$array[l.$offset+a]=(g=e.d,(a<0||a>=g.$length?void i("index out of range"):g.$array[g.$offset+a])+1<<24>>>24)),!0}return!1},p.ptr.prototype.ShortestDecimal=function(e,t,r){var n,o,a,s,c,l,u,d,f,h,$,m,g,b,v,y,k,w,_,x,E,D,P,C,F,R,B,A,I,N,L,U,V,q,H,G,K,J,Z,Y,Q,ee,te,re,ne,ie,oe,ae,se;if(0===(R=(h=this).mant).$high&&0===R.$low)return e.nd=0,e.dp=0,e.neg=h.neg,!0;if(0===h.exp&&O(t,h,p)&&O(t,r,p)){for(c=S.zero(),w=23,C=h.mant;1&&(C.$high>0||0===C.$high&&C.$low>0);)F=z(C,new Re(0,10),!1),B=W(new Re(0,10),F),C=new Re(C.$high-B.$high,C.$low-B.$low),w<0||w>=c.length?i("index out of range"):c[w]=new Re(C.$high+0,C.$low+48).$low<<24>>>24,w=w-1>>0,C=F;for(_=(24-w>>0)-1>>0,m=0;1&&m<_;)te=e.d,m<0||m>=te.$length?i("index out of range"):te.$array[te.$offset+m]=(J=(w+1>>0)+m>>0)<0||J>=c.length?void i("index out of range"):c[J],m=m+1>>0;for(o=_,a=_,e.nd=o,e.dp=a;1&&e.nd>0&&48===(re=e.d,(ne=e.nd-1>>0)<0||ne>=re.$length?void i("index out of range"):re.$array[re.$offset+ne]);)e.nd=e.nd-1>>0;return 0===e.nd&&(e.dp=0),e.neg=h.neg,!0}for(r.Normalize(),h.exp>r.exp&&(h.mant=T(h.mant,h.exp-r.exp>>0>>>0),h.exp=r.exp),t.exp>r.exp&&(t.mant=T(t.mant,t.exp-r.exp>>0>>>0),t.exp=r.exp),f=be(t,h,r),r.mant=(ie=r.mant,oe=new Re(0,1),new Re(ie.$high+oe.$high,ie.$low+oe.$low)),t.mant=(ae=t.mant,se=new Re(0,1),new Re(ae.$high-se.$high,ae.$low-se.$low)),D=-r.exp>>>0,v=M(r.mant,D).$low>>>0,A=r.mant,I=T(new Re(0,v),D),$=new Re(A.$high-I.$high,A.$low-I.$low),N=r.mant,L=t.mant,s=new Re(N.$high-L.$high,N.$low-L.$low),U=r.mant,V=h.mant,P=new Re(U.$high-V.$high,U.$low-V.$low),y=0,g=0,x=new Re(0,1);1&&g<20;){if(q=new Re(0,v),x.$high>q.$high||x.$high===q.$high&&x.$low>q.$low){y=g;break}x=W(x,new Re(0,10)),g=g+1>>0}for(b=0;1&&b<y;){if(u=(n=v/((E=(H=(y-b>>0)-1>>0)<0||H>=X.length?void i("index out of range"):X[H]).$low>>>0))==n&&n!==1/0&&n!==-1/0?n>>>0:i("integer divide by zero"),G=e.d,b<0||b>=G.$length?i("index out of range"):G.$array[G.$offset+b]=u+48>>>0<<24>>>24,v=v-(j(u,E.$low>>>0)>>>0)>>>0,K=T(new Re(0,v),D),(l=new Re(K.$high+$.$high,K.$low+$.$low)).$high<s.$high||l.$high===s.$high&&l.$low<s.$low)return e.nd=b+1>>0,e.dp=y+f>>0,e.neg=h.neg,ke(e,l,P,s,T(E,D),new Re(0,2));b=b+1>>0}for(e.nd=y,e.dp=e.nd+f>>0,e.neg=h.neg,d=0,k=new Re(0,1);1;)if($=W($,new Re(0,10)),k=W(k,new Re(0,10)),d=M($,D).$low>>0,Z=e.d,(Y=e.nd)<0||Y>=Z.$length?i("index out of range"):Z.$array[Z.$offset+Y]=d+48>>0<<24>>>24,e.nd=e.nd+1>>0,Q=T(new Re(0,d),D),$=new Re($.$high-Q.$high,$.$low-Q.$low),ee=W(s,k),$.$high<ee.$high||$.$high===ee.$high&&$.$low<ee.$low)return ke(e,$,W(P,k),W(s,k),T(new Re(0,1),D),W(k,new Re(0,2)))},p.prototype.ShortestDecimal=function(e,t,r){return this.$val.ShortestDecimal(e,t,r)},ke=function(e,t,r,n,o,a){var s,c,l,u,p,d,f,h,$,m,g,b,v,y;if(c=W(new Re(0,2),a),o.$high<c.$high||o.$high===c.$high&&o.$low<c.$low)return!1;for(;1&&(h=z(o,new Re(0,2),!1),f=new Re(t.$high+h.$high,t.$low+h.$low),(l=new Re(f.$high+a.$high,f.$low+a.$low)).$high<r.$high||l.$high===r.$high&&l.$low<r.$low);)s=e.nd-1>>0,m=e.d,s<0||s>=m.$length?i("index out of range"):m.$array[m.$offset+s]=($=e.d,(s<0||s>=$.$length?void i("index out of range"):$.$array[$.$offset+s])-1<<24>>>24),g=o,t=new Re(t.$high+g.$high,t.$low+g.$low);return b=new Re(t.$high+o.$high,t.$low+o.$low),u=z(o,new Re(0,2),!1),y=new Re(r.$high+u.$high,r.$low+u.$low),v=new Re(y.$high+a.$high,y.$low+a.$low),!(b.$high<v.$high||b.$high===v.$high&&b.$low<=v.$low||t.$high<a.$high||t.$high===a.$high&&t.$low<a.$low||(p=new Re(n.$high-a.$high,n.$low-a.$low),t.$high>p.$high||t.$high===p.$high&&t.$low>p.$low)||(1===e.nd&&48===(0>=(d=e.d).$length?void i("index out of range"):d.$array[d.$offset+0])&&(e.nd=0,e.dp=0),0))},xe=function(e,t,r,n,i){return Ee(e,t,r,n,i)},yt.AppendFloat=xe,Ee=function(e,t,r,i,o){var a,s,c,l,u,d,f,h,m,g,b,v,y,k,_,x,D,O,F,R,A,j,N,L,W,z;if(d=new Re(0,0),y=B.nil,32===(a=o)?(d=new Re(0,n.Float32bits(I(t))),y=J):64===a?(d=n.Float64bits(t),y=Z):vt(new Te("strconv: illegal AppendFloat/FormatFloat bitSize")),x=!(0===(A=M(d,y.expbits+y.mantbits>>>0)).$high&&0===A.$low),b=M(d,y.mantbits).$low>>0&(((W=y.expbits)<32?1<<W:0)>>0)-1>>0,N=T(new Re(0,1),y.mantbits),j=new Re(N.$high-0,N.$low-1),_=new Re(d.$high&j.$high,(d.$low&j.$low)>>>0),(s=b)===(((z=y.expbits)<32?1<<z:0)>>0)-1>>0)return O=0!==_.$high||0!==_.$low?"NaN":x?"-Inf":"+Inf",P(e,O);if(0===s?b=b+1>>0:(L=T(new Re(0,1),y.mantbits),_=new Re(_.$high|L.$high,(_.$low|L.$low)>>>0)),b=b+y.bias>>0,98===r)return Ne(e,x,_,b,y);if(!q)return Se(e,i,r,x,_,b,y);if(g=new $.ptr(w.nil,0,0,!1),D=!1,F=i<0){if(u=(v=new p.ptr(new Re(0,0),0,!1)).AssignComputeBounds(_,b,x,y),k=E(u[0],p),R=E(u[1],p),f=C.zero(),g.d=new w(f),!(D=v.ShortestDecimal(g,k,R)))return Se(e,i,r,x,_,b,y);101===(c=r)||69===c?i=Me(g.nd-1>>0,0):102===c?i=Me(g.nd-g.dp>>0,0):103!==c&&71!==c||(i=g.nd)}else 102!==r&&(m=i,101===(l=r)||69===l?m=m+1>>0:103!==l&&71!==l||(0===i&&(i=1),m=i),m<=15&&(h=S.zero(),g.d=new w(h),D=new p.ptr(_,b-(y.mantbits>>0)>>0,x).FixedDecimal(g,m)));return D?Be(e,F,x,E(g,$),i,r):Se(e,i,r,x,_,b,y)},Se=function(e,t,r,n,i,o,a){var s,c,u,p,d;return(u=new l.ptr(k.zero(),0,0,!1,!1)).Assign(i),u.Shift(o-(a.mantbits>>0)>>0),p=new $.ptr(w.nil,0,0,!1),(d=t<0)?(Ae(u,i,o,a),$.copy(p,new $.ptr(new w(u.d),u.nd,u.dp,!1)),101===(s=r)||69===s?t=p.nd-1>>0:102===s?t=Me(p.nd-p.dp>>0,0):103!==s&&71!==s||(t=p.nd)):(101===(c=r)||69===c?u.Round(t+1>>0):102===c?u.Round(u.dp+t>>0):103!==c&&71!==c||(0===t&&(t=1),u.Round(t)),$.copy(p,new $.ptr(new w(u.d),u.nd,u.dp,!1))),Be(e,d,n,E(p,$),t,r)},Be=function(e,t,r,n,i,o){var a,s,c;return 101===(a=o)||69===a?Ie(e,r,E(n,$),i,o):102===a?je(e,r,E(n,$),i):103===a||71===a?((s=i)>n.nd&&n.nd>=n.dp&&(s=n.nd),t&&(s=6),(c=n.dp-1>>0)<-4||c>=s?(i>n.nd&&(i=n.nd),Ie(e,r,E(n,$),i-1>>0,(o+101<<24>>>24)-103<<24>>>24)):(i>n.dp&&(i=n.nd),je(e,r,E(n,$),Me(i-n.dp>>0,0)))):D(e,37,o)},Ae=function(e,t,r,n){var o,a,s,c,u,p,d,f,h,$,m,g,b,v,y,w,_,x,E,S;if(0!==t.$high||0!==t.$low){if(!(r>(f=n.bias+1>>0)&&j(332,e.dp-e.nd>>0)>=j(100,r-(n.mantbits>>0)>>0)))for((g=new l.ptr(k.zero(),0,0,!1,!1)).Assign((b=W(t,new Re(0,2)),new Re(b.$high+0,b.$low+1))),g.Shift((r-(n.mantbits>>0)>>0)-1>>0),d=new Re(0,0),o=0,v=T(new Re(0,1),n.mantbits),t.$high>v.$high||t.$high===v.$high&&t.$low>v.$low||r===f?(d=new Re(t.$high-0,t.$low-1),o=r):(y=W(t,new Re(0,2)),d=new Re(y.$high-0,y.$low-1),o=r-1>>0),(u=new l.ptr(k.zero(),0,0,!1,!1)).Assign((w=W(d,new Re(0,2)),new Re(w.$high+0,w.$low+1))),u.Shift((o-(n.mantbits>>0)>>0)-1>>0),s=0===(_=z(t,new Re(0,2),!0)).$high&&0===_.$low,a=0;1&&a<e.nd;){if(c=48,a<u.nd&&(x=u.d,c=a<0||a>=x.length?void i("index out of range"):x[a]),E=e.d,p=a<0||a>=E.length?void i("index out of range"):E[a],m=48,a<g.nd&&(S=g.d,m=a<0||a>=S.length?void i("index out of range"):S[a]),h=!(c===p)||s&&a+1>>0===u.nd,$=!(p===m)&&(s||p+1<<24>>>24<m||a+1>>0<g.nd),h&&$)return void e.Round(a+1>>0);if(h)return void e.RoundDown(a+1>>0);if($)return void e.RoundUp(a+1>>0);a=a+1>>0}}else e.nd=0},Ie=function(e,t,r,n,o){var a,s,c,l,u,p,d,h,$,m,g;if(t&&(e=D(e,45)),d=48,0!==r.nd&&(d=0>=(g=r.d).$length?void i("index out of range"):g.$array[g.$offset+0]),e=D(e,d),n>0)for(e=D(e,46),($=1)<(m=Le(r.nd,n+1>>0))&&(e=P(e,f(r.d,$,m)),$=m);1&&$<=n;)e=D(e,48),$=$+1>>0;return e=D(e,o),h=r.dp-1>>0,0===r.nd&&(h=0),h<0?(d=45,h=-h):d=43,e=D(e,d),h<10?D(e,48,(h<<24>>>24)+48<<24>>>24):h<100?D(e,(((a=h/10)==a&&a!==1/0&&a!==-1/0?a>>0:i("integer divide by zero"))<<24>>>24)+48<<24>>>24,(((l=h%10)==l?l:i("integer divide by zero"))<<24>>>24)+48<<24>>>24):D(e,(((s=h/100)==s&&s!==1/0&&s!==-1/0?s>>0:i("integer divide by zero"))<<24>>>24)+48<<24>>>24,((u=(((c=h/10)==c&&c!==1/0&&c!==-1/0?c>>0:i("integer divide by zero"))<<24>>>24)%10)==u?u:i("integer divide by zero"))+48<<24>>>24,(((p=h%10)==p?p:i("integer divide by zero"))<<24>>>24)+48<<24>>>24)},je=function(e,t,r,n){var o,a,s,c,l;if(t&&(e=D(e,45)),r.dp>0)for(c=Le(r.nd,r.dp),e=P(e,f(r.d,0,c));1&&c<r.dp;)e=D(e,48),c=c+1>>0;else e=D(e,48);if(n>0)for(e=D(e,46),a=0;1&&a<n;)o=48,0<=(s=r.dp+a>>0)&&s<r.nd&&(l=r.d,o=s<0||s>=l.$length?void i("index out of range"):l.$array[l.$offset+s]),e=D(e,o),a=a+1>>0;return e},Ne=function(e,t,r,n,i){return t&&(e=D(e,45)),e=He(e,r,10,!1,!0)[0],e=D(e,112),(n=n-(i.mantbits>>0)>>0)>=0&&(e=D(e,43)),He(e,new Re(0,n),10,n<0,!0)[0]},Le=function(e,t){return e<t?e:t},Me=function(e,t){return e>t?e:t},ze=function(e,t){return 1&&(0<e.$high||0===e.$high&&0<=e.$low)&&(e.$high<0||0===e.$high&&e.$low<100)&&10===t?qe(e.$low+4294967296*(e.$high>>31)>>0):He(w.nil,new Re(e.$high,e.$low),t,e.$high<0||0===e.$high&&e.$low<0,!1)[1]},yt.FormatInt=ze,Ve=function(e){return ze(new De(0,e),10)},yt.Itoa=Ve,qe=function(e){return e<10?h("0123456789abcdefghijklmnopqrstuvwxyz",e,e+1>>0):h("00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899",j(e,2),j(e,2)+2>>0)},He=function(e,t,r,n,o){var s,c,l,u,p,d,h,$,m,g,b,y,k,_,x,E,S,D,C,O,F,R,B,I,j,N;if($=w.nil,S="",(r<2||r>36)&&vt(new Te("strconv: illegal AppendInt/FormatInt base")),p=A.zero(),m=65,n&&(t=new Re(-t.$high,-t.$low)),10===r){if(1)for(;1&&(t.$high>0||0===t.$high&&t.$low>=1e9);){for(x=z(t,new Re(0,1e9),!1),C=(F=W(x,new Re(0,1e9)),new Re(t.$high-F.$high,t.$low-F.$low)).$low>>>0,k=4;1&&k>0;)g=2*((l=C%100)==l?l:i("integer divide by zero"))>>>0,C=(s=C/100)==s&&s!==1/0&&s!==-1/0?s>>>0:i("integer divide by zero"),(R=(m=m-2>>0)+1>>0)<0||R>=p.length?i("index out of range"):p[R]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(g+1>>>0),(B=m+0>>0)<0||B>=p.length?i("index out of range"):p[B]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(g+0>>>0),k=k-1>>0;(m=m-1>>0)<0||m>=p.length?i("index out of range"):p[m]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((2*C>>>0)+1>>>0),t=x}for(O=t.$low>>>0;1&&O>=100;)b=2*((u=O%100)==u?u:i("integer divide by zero"))>>>0,O=(c=O/100)==c&&c!==1/0&&c!==-1/0?c>>>0:i("integer divide by zero"),(I=(m=m-2>>0)+1>>0)<0||I>=p.length?i("index out of range"):p[I]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(b+1>>>0),(j=m+0>>0)<0||j>=p.length?i("index out of range"):p[j]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(b+0>>>0);y=2*O>>>0,(m=m-1>>0)<0||m>=p.length?i("index out of range"):p[m]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(y+1>>>0),O>=10&&((m=m-1>>0)<0||m>=p.length?i("index out of range"):p[m]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(y))}else if(Ge(r)){for(D=(a.TrailingZeros(r>>>0)>>>0&7)>>>0,d=new Re(0,r),_=(r>>>0)-1>>>0;1&&(t.$high>d.$high||t.$high===d.$high&&t.$low>=d.$low);)(m=m-1>>0)<0||m>=p.length?i("index out of range"):p[m]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt((t.$low>>>0&_)>>>0),t=M(t,D);(m=m-1>>0)<0||m>=p.length?i("index out of range"):p[m]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt(t.$low>>>0)}else{for(h=new Re(0,r);1&&(t.$high>h.$high||t.$high===h.$high&&t.$low>=h.$low);)m=m-1>>0,E=z(t,h,!1),m<0||m>=p.length?i("index out of range"):p[m]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt((N=W(E,h),new Re(t.$high-N.$high,t.$low-N.$low)).$low>>>0),t=E;(m=m-1>>0)<0||m>=p.length?i("index out of range"):p[m]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt(t.$low>>>0)}return n&&((m=m-1>>0)<0||m>=p.length?i("index out of range"):p[m]=45),o?[$=P(e,f(new w(p),m)),S]:[$,S=v(f(new w(p),m))]},Ge=function(e){return 0==(e&e-1>>0)},Xe=function(e,t,r,n){var o;return v(Je(pt(w,0,(o=j(3,e.length)/2)==o&&o!==1/0&&o!==-1/0?o>>0:i("integer divide by zero")),e,t,r,n))},Je=function(e,t,r,n,i){var o,a,c;for(e=D(e,r),c=0;1&&t.length>0;)c=1,(a=t.charCodeAt(0)>>0)>=128&&(a=(o=s.DecodeRuneInString(t))[0],c=o[1]),1!==c||65533!==a?(e=et(e,a,r,n,i),t=h(t,c)):(e=P(e,"\\x"),e=D(e,"0123456789abcdef".charCodeAt(t.charCodeAt(0)>>>4<<24>>>24)),e=D(e,"0123456789abcdef".charCodeAt((15&t.charCodeAt(0))>>>0)),t=h(t,c));return D(e,r)},Qe=function(e,t,r,n,i){return e=D(e,r),s.ValidRune(t)||(t=65533),e=et(e,t,r,n,i),D(e,r)},et=function(e,t,r,n,i){var o,a,c,l,u;if(c=N.zero(),t===r>>0||92===t)return e=D(e,92),D(e,t<<24>>>24);if(n){if(t<128&&gt(t))return D(e,t<<24>>>24)}else if(gt(t)||i&&bt(t))return a=s.EncodeRune(new w(c),t),P(e,f(new w(c),0,a));if(7===(o=t))e=P(e,"\\a");else if(8===o)e=P(e,"\\b");else if(12===o)e=P(e,"\\f");else if(10===o)e=P(e,"\\n");else if(13===o)e=P(e,"\\r");else if(9===o)e=P(e,"\\t");else if(11===o)e=P(e,"\\v");else if(t<32)e=P(e,"\\x"),e=D(e,"0123456789abcdef".charCodeAt(t<<24>>>24>>>4<<24>>>24)),e=D(e,"0123456789abcdef".charCodeAt((t<<24>>>24&15)>>>0));else if(t>1114111)for(t=65533,e=P(e,"\\u"),l=12;1&&l>=0;)e=D(e,"0123456789abcdef".charCodeAt(t>>R(l>>>0,31)>>0&15)),l=l-4>>0;else if(t<65536)for(e=P(e,"\\u"),l=12;1&&l>=0;)e=D(e,"0123456789abcdef".charCodeAt(t>>R(l>>>0,31)>>0&15)),l=l-4>>0;else for(e=P(e,"\\U"),u=28;1&&u>=0;)e=D(e,"0123456789abcdef".charCodeAt(t>>R(u>>>0,31)>>0&15)),u=u-4>>0;return e},tt=function(e){return Xe(e,34,!1,!1)},yt.Quote=tt,rt=function(e,t){return Je(e,t,34,!1,!1)},yt.AppendQuote=rt,nt=function(e,t){return Je(e,t,34,!0,!1)},yt.AppendQuoteToASCII=nt,it=function(e,t){return Qe(e,t,39,!1,!1)},yt.AppendQuoteRune=it,ot=function(e,t){return Qe(e,t,39,!0,!1)},yt.AppendQuoteRuneToASCII=ot,at=function(e){for(var t,r,n;1&&e.length>0;)if(r=(t=s.DecodeRuneInString(e))[0],n=t[1],e=h(e,n),n>1){if(65279===r)return!1}else{if(65533===r)return!1;if(r<32&&9!==r||96===r||127===r)return!1}return!0},yt.CanBackquote=at,ct=function(e){var t,r,n;return n=0,r=!1,48<=(t=e>>0)&&t<=57?[n=t-48>>0,r=!0]:97<=t&&t<=102?[n=(t-97>>0)+10>>0,r=!0]:65<=t&&t<=70?[n=(t-65>>0)+10>>0,r=!0]:[n,r]},lt=function(e,t){var r,n,i,o,a,c,l,u,p,d,f,$,m,g,b,v,y,k,w;if(y=0,d=!1,g="",l=Ze,0===e.length)return[y,d,g,l=yt.ErrSyntax];if((a=e.charCodeAt(0))===t&&(39===t||34===t))return[y,d,g,l=yt.ErrSyntax];if(a>=128)return $=(i=s.DecodeRuneInString(e))[0],m=i[1],[y=$,d=!0,g=h(e,m),l=Ze];if(92!==a)return[y=e.charCodeAt(0)>>0,d=!1,g=h(e,1),l=Ze];if(e.length<=1)return[y,d,g,l=yt.ErrSyntax];switch(c=e.charCodeAt(1),e=h(e,2),0){default:if(97===(r=c))y=7;else if(98===r)y=8;else if(102===r)y=12;else if(110===r)y=10;else if(114===r)y=13;else if(116===r)y=9;else if(118===r)y=11;else if(120===r||117===r||85===r){if(f=0,120===(n=c)?f=2:117===n?f=4:85===n&&(f=8),b=0,e.length<f)return[y,d,g,l=yt.ErrSyntax];for(u=0;1&&u<f;){if(k=(o=ct(e.charCodeAt(u)))[0],!o[1])return[y,d,g,l=yt.ErrSyntax];b=b<<4>>0|k,u=u+1>>0}if(e=h(e,f),120===c){y=b;break}if(b>1114111)return[y,d,g,l=yt.ErrSyntax];y=b,d=!0}else if(48===r||49===r||50===r||51===r||52===r||53===r||54===r||55===r){if(v=(c>>0)-48>>0,e.length<2)return[y,d,g,l=yt.ErrSyntax];for(p=0;1&&p<2;){if((w=(e.charCodeAt(p)>>0)-48>>0)<0||w>7)return[y,d,g,l=yt.ErrSyntax];v=v<<3>>0|w,p=p+1>>0}if(e=h(e,2),v>255)return[y,d,g,l=yt.ErrSyntax];y=v}else if(92===r)y=92;else{if(39!==r&&34!==r)return[y,d,g,l=yt.ErrSyntax];if(c!==t)return[y,d,g,l=yt.ErrSyntax];y=c>>0}}return[y,d,g=e,l]},yt.UnquoteChar=lt,dt=function(e){var t,r,n,o,a,c,l,u,p,d,$,m,g,b,y,k,_;if(($=e.length)<2)return["",yt.ErrSyntax];if((g=e.charCodeAt(0))!==e.charCodeAt($-1>>0))return["",yt.ErrSyntax];if(e=h(e,1,$-1>>0),96===g){if(ft(e,96))return["",yt.ErrSyntax];if(ft(e,13)){for(a=pt(w,0,e.length-1>>0),p=0;1&&p<e.length;)13!==e.charCodeAt(p)&&(a=D(a,e.charCodeAt(p))),p=p+1>>0;return[v(a),Ze]}return[e,Ze]}if(34!==g&&39!==g)return["",yt.ErrSyntax];if(ft(e,10))return["",yt.ErrSyntax];if(!ft(e,92)&&!ft(e,g))if(34===(t=g)){if(s.ValidString(e))return[e,Ze]}else if(39===t&&(b=(n=s.DecodeRuneInString(e))[0],(k=n[1])===e.length&&(65533!==b||1!==k)))return[e,Ze];for(y=N.zero(),c=pt(w,0,(r=j(3,e.length)/2)==r&&r!==1/0&&r!==-1/0?r>>0:i("integer divide by zero"));1&&e.length>0;){if(l=(o=lt(e,g))[0],d=o[1],_=o[2],u=o[3],!F(u,Ze))return["",u];if(e=_,l<128||!d?c=D(c,l<<24>>>24):(m=s.EncodeRune(new w(y),l),c=P(c,f(new w(y),0,m))),39===g&&0!==e.length)return["",yt.ErrSyntax]}return[v(c),Ze]},yt.Unquote=dt,ft=function(e,t){return!(-1===r.IndexByteString(e,t))},$t=function(e,t){var r,n,o,a;for(o=0,a=e.$length;1&&o<a;)((n=o+((r=(a-o>>0)/2)==r&&r!==1/0&&r!==-1/0?r>>0:i("integer divide by zero"))>>0)<0||n>=e.$length?void i("index out of range"):e.$array[e.$offset+n])<t?o=n+1>>0:a=n;return o},mt=function(e,t){var r,n,o,a;for(o=0,a=e.$length;1&&o<a;)((n=o+((r=(a-o>>0)/2)==r&&r!==1/0&&r!==-1/0?r>>0:i("integer divide by zero"))>>0)<0||n>=e.$length?void i("index out of range"):e.$array[e.$offset+n])<t?o=n+1>>0:a=n;return o},gt=function(e){var t,r,n,o,a,s,c,l,u,p,d,f,h,$;return e<=255?32<=e&&e<=126||161<=e&&e<=255&&!(173===e):0<=e&&e<65536?(n=ee,!((t=$t(a=Y,u=e<<16>>>16))>=a.$length||u<((d=(~1&t)>>0)<0||d>=a.$length?void i("index out of range"):a.$array[a.$offset+d])||((f=1|t)<0||f>=a.$length?void i("index out of range"):a.$array[a.$offset+f])<u||!((c=$t(n,u))>=n.$length)&&(c<0||c>=n.$length?void i("index out of range"):n.$array[n.$offset+c])===u)):(o=re,!((r=mt(s=te,p=e>>>0))>=s.$length||p<((h=(~1&r)>>0)<0||h>=s.$length?void i("index out of range"):s.$array[s.$offset+h])||(($=1|r)<0||$>=s.$length?void i("index out of range"):s.$array[s.$offset+$])<p||!(e>=131072||(l=$t(o,(e=e-65536>>0)<<16>>>16))>=o.$length)&&(l<0||l>=o.$length?void i("index out of range"):o.$array[o.$offset+l])===e<<16>>>16))},yt.IsPrint=gt,bt=function(e){var t,r;return!(e>65535)&&(t=$t(ne,r=e<<16>>>16))<ne.$length&&r===(t<0||t>=ne.$length?void i("index out of range"):ne.$array[ne.$offset+t])},x.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}],L.methods=[{prop:"set",name:"set",pkg:"strconv",typ:Ke([Te],[we],!1)},{prop:"floatBits",name:"floatBits",pkg:"strconv",typ:Ke([B],[Re,we],!1)},{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"Assign",name:"Assign",pkg:"",typ:Ke([Re],[],!1)},{prop:"Shift",name:"Shift",pkg:"",typ:Ke([_e],[],!1)},{prop:"Round",name:"Round",pkg:"",typ:Ke([_e],[],!1)},{prop:"RoundDown",name:"RoundDown",pkg:"",typ:Ke([_e],[],!1)},{prop:"RoundUp",name:"RoundUp",pkg:"",typ:Ke([_e],[],!1)},{prop:"RoundedInteger",name:"RoundedInteger",pkg:"",typ:Ke([],[Re],!1)}],V.methods=[{prop:"floatBits",name:"floatBits",pkg:"strconv",typ:Ke([B],[Re,we],!1)},{prop:"AssignComputeBounds",name:"AssignComputeBounds",pkg:"",typ:Ke([Re,_e,we,B],[p,p],!1)},{prop:"Normalize",name:"Normalize",pkg:"",typ:Ke([],[Pe],!1)},{prop:"Multiply",name:"Multiply",pkg:"",typ:Ke([p],[],!1)},{prop:"AssignDecimal",name:"AssignDecimal",pkg:"",typ:Ke([Re,_e,we,we,B],[we],!1)},{prop:"frexp10",name:"frexp10",pkg:"strconv",typ:Ke([],[_e,_e],!1)},{prop:"FixedDecimal",name:"FixedDecimal",pkg:"",typ:Ke([U,_e],[we],!1)},{prop:"ShortestDecimal",name:"ShortestDecimal",pkg:"",typ:Ke([U,V,V],[we],!1)}],c.init("",[{prop:"Func",name:"Func",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Num",name:"Num",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Err",name:"Err",embedded:!1,exported:!0,typ:Ye,tag:""}]),l.init("strconv",[{prop:"d",name:"d",embedded:!1,exported:!1,typ:k,tag:""},{prop:"nd",name:"nd",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"dp",name:"dp",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"neg",name:"neg",embedded:!1,exported:!1,typ:we,tag:""},{prop:"trunc",name:"trunc",embedded:!1,exported:!1,typ:we,tag:""}]),u.init("strconv",[{prop:"delta",name:"delta",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"cutoff",name:"cutoff",embedded:!1,exported:!1,typ:Te,tag:""}]),p.init("strconv",[{prop:"mant",name:"mant",embedded:!1,exported:!1,typ:Re,tag:""},{prop:"exp",name:"exp",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"neg",name:"neg",embedded:!1,exported:!1,typ:we,tag:""}]),d.init("strconv",[{prop:"mantbits",name:"mantbits",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"expbits",name:"expbits",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"bias",name:"bias",embedded:!1,exported:!1,typ:_e,tag:""}]),$.init("strconv",[{prop:"d",name:"d",embedded:!1,exported:!1,typ:w,tag:""},{prop:"nd",name:"nd",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"dp",name:"dp",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"neg",name:"neg",embedded:!1,exported:!1,typ:we,tag:""}]),e=function(){yt.$init=function(){};var i,o,c=!1,l=0;void 0!==this&&void 0!==this.$blk&&(c=!0,l=(i=this).$s,o=i.$r);e:for(;1;){switch(l){case 0:o=t.$init(),l=1;case 1:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),l=2;case 2:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=n.$init(),l=3;case 3:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=a.$init(),l=4;case 4:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=s.$init(),l=5;case 5:if(c&&(c=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;q=!0,yt.ErrRange=t.New("value out of range"),yt.ErrSyntax=t.New("invalid syntax"),H=new m([new u.ptr(0,""),new u.ptr(1,"5"),new u.ptr(1,"25"),new u.ptr(1,"125"),new u.ptr(2,"625"),new u.ptr(2,"3125"),new u.ptr(2,"15625"),new u.ptr(3,"78125"),new u.ptr(3,"390625"),new u.ptr(3,"1953125"),new u.ptr(4,"9765625"),new u.ptr(4,"48828125"),new u.ptr(4,"244140625"),new u.ptr(4,"1220703125"),new u.ptr(5,"6103515625"),new u.ptr(5,"30517578125"),new u.ptr(5,"152587890625"),new u.ptr(6,"762939453125"),new u.ptr(6,"3814697265625"),new u.ptr(6,"19073486328125"),new u.ptr(7,"95367431640625"),new u.ptr(7,"476837158203125"),new u.ptr(7,"2384185791015625"),new u.ptr(7,"11920928955078125"),new u.ptr(8,"59604644775390625"),new u.ptr(8,"298023223876953125"),new u.ptr(8,"1490116119384765625"),new u.ptr(9,"7450580596923828125"),new u.ptr(9,"37252902984619140625"),new u.ptr(9,"186264514923095703125"),new u.ptr(10,"931322574615478515625"),new u.ptr(10,"4656612873077392578125"),new u.ptr(10,"23283064365386962890625"),new u.ptr(10,"116415321826934814453125"),new u.ptr(11,"582076609134674072265625"),new u.ptr(11,"2910383045673370361328125"),new u.ptr(11,"14551915228366851806640625"),new u.ptr(12,"72759576141834259033203125"),new u.ptr(12,"363797880709171295166015625"),new u.ptr(12,"1818989403545856475830078125"),new u.ptr(13,"9094947017729282379150390625"),new u.ptr(13,"45474735088646411895751953125"),new u.ptr(13,"227373675443232059478759765625"),new u.ptr(13,"1136868377216160297393798828125"),new u.ptr(14,"5684341886080801486968994140625"),new u.ptr(14,"28421709430404007434844970703125"),new u.ptr(14,"142108547152020037174224853515625"),new u.ptr(15,"710542735760100185871124267578125"),new u.ptr(15,"3552713678800500929355621337890625"),new u.ptr(15,"17763568394002504646778106689453125"),new u.ptr(16,"88817841970012523233890533447265625"),new u.ptr(16,"444089209850062616169452667236328125"),new u.ptr(16,"2220446049250313080847263336181640625"),new u.ptr(16,"11102230246251565404236316680908203125"),new u.ptr(17,"55511151231257827021181583404541015625"),new u.ptr(17,"277555756156289135105907917022705078125"),new u.ptr(17,"1387778780781445675529539585113525390625"),new u.ptr(18,"6938893903907228377647697925567626953125"),new u.ptr(18,"34694469519536141888238489627838134765625"),new u.ptr(18,"173472347597680709441192448139190673828125"),new u.ptr(19,"867361737988403547205962240695953369140625")]),G=We(fe,[new p.ptr(new Re(2147483648,0),-63,!1),new p.ptr(new Re(2684354560,0),-60,!1),new p.ptr(new Re(3355443200,0),-57,!1),new p.ptr(new Re(4194304e3,0),-54,!1),new p.ptr(new Re(262144e4,0),-50,!1),new p.ptr(new Re(32768e5,0),-47,!1),new p.ptr(new Re(4096e6,0),-44,!1),new p.ptr(new Re(256e7,0),-40,!1)]),K=We(fe,[new p.ptr(new Re(4203730336,136053384),-1220,!1),new p.ptr(new Re(3132023167,2722021238),-1193,!1),new p.ptr(new Re(2333539104,810921078),-1166,!1),new p.ptr(new Re(3477244234,1573795306),-1140,!1),new p.ptr(new Re(2590748842,1432697645),-1113,!1),new p.ptr(new Re(3860516611,1025131999),-1087,!1),new p.ptr(new Re(2876309015,3348809418),-1060,!1),new p.ptr(new Re(4286034428,3200048207),-1034,!1),new p.ptr(new Re(3193344495,1097586188),-1007,!1),new p.ptr(new Re(2379227053,2424306748),-980,!1),new p.ptr(new Re(3545324584,827693699),-954,!1),new p.ptr(new Re(2641472655,2913388981),-927,!1),new p.ptr(new Re(3936100983,602835915),-901,!1),new p.ptr(new Re(2932623761,1081627501),-874,!1),new p.ptr(new Re(2184974969,1572261463),-847,!1),new p.ptr(new Re(3255866422,1308317239),-821,!1),new p.ptr(new Re(2425809519,944281679),-794,!1),new p.ptr(new Re(3614737867,629291719),-768,!1),new p.ptr(new Re(2693189581,2545915892),-741,!1),new p.ptr(new Re(4013165208,388672741),-715,!1),new p.ptr(new Re(2990041083,708162190),-688,!1),new p.ptr(new Re(2227754207,3536207675),-661,!1),new p.ptr(new Re(3319612455,450088378),-635,!1),new p.ptr(new Re(2473304014,3139815830),-608,!1),new p.ptr(new Re(3685510180,2103616900),-582,!1),new p.ptr(new Re(2745919064,224385782),-555,!1),new p.ptr(new Re(4091738259,3737383206),-529,!1),new p.ptr(new Re(3048582568,2868871352),-502,!1),new p.ptr(new Re(2271371013,1820084875),-475,!1),new p.ptr(new Re(3384606560,885076051),-449,!1),new p.ptr(new Re(2521728396,2444895829),-422,!1),new p.ptr(new Re(3757668132,1881767613),-396,!1),new p.ptr(new Re(2799680927,3102062735),-369,!1),new p.ptr(new Re(4171849679,2289335700),-343,!1),new p.ptr(new Re(3108270227,2410191823),-316,!1),new p.ptr(new Re(2315841784,3205436779),-289,!1),new p.ptr(new Re(3450873173,1697722806),-263,!1),new p.ptr(new Re(2571100870,3497754540),-236,!1),new p.ptr(new Re(3831238852,707476230),-210,!1),new p.ptr(new Re(2854495385,1769181907),-183,!1),new p.ptr(new Re(4253529586,2197867022),-157,!1),new p.ptr(new Re(3169126500,2450594539),-130,!1),new p.ptr(new Re(2361183241,1867548876),-103,!1),new p.ptr(new Re(3518437208,3793315116),-77,!1),new p.ptr(new Re(262144e4,0),-50,!1),new p.ptr(new Re(390625e4,0),-24,!1),new p.ptr(new Re(2910383045,2892103680),3,!1),new p.ptr(new Re(2168404344,4170451332),30,!1),new p.ptr(new Re(3231174267,3372684723),56,!1),new p.ptr(new Re(2407412430,2078956656),83,!1),new p.ptr(new Re(3587324068,2884206696),109,!1),new p.ptr(new Re(2672764710,395977285),136,!1),new p.ptr(new Re(3982729777,3569679143),162,!1),new p.ptr(new Re(2967364920,2361961896),189,!1),new p.ptr(new Re(2210859150,447440347),216,!1),new p.ptr(new Re(3294436857,1114709402),242,!1),new p.ptr(new Re(2454546732,2786846552),269,!1),new p.ptr(new Re(3657559652,443583978),295,!1),new p.ptr(new Re(2725094297,2599384906),322,!1),new p.ptr(new Re(4060706939,3028118405),348,!1),new p.ptr(new Re(3025462433,2044532855),375,!1),new p.ptr(new Re(2254145170,1536935362),402,!1),new p.ptr(new Re(3358938053,3365297469),428,!1),new p.ptr(new Re(2502603868,4204241075),455,!1),new p.ptr(new Re(3729170365,2577424355),481,!1),new p.ptr(new Re(2778448436,3677981733),508,!1),new p.ptr(new Re(4140210802,2744688476),534,!1),new p.ptr(new Re(3084697427,1424604878),561,!1),new p.ptr(new Re(2298278679,4062331362),588,!1),new p.ptr(new Re(3424702107,3546052773),614,!1),new p.ptr(new Re(2551601907,2065781727),641,!1),new p.ptr(new Re(3802183132,2535403578),667,!1),new p.ptr(new Re(2832847187,1558426518),694,!1),new p.ptr(new Re(4221271257,2762425404),720,!1),new p.ptr(new Re(3145092172,2812560400),747,!1),new p.ptr(new Re(2343276271,3057687578),774,!1),new p.ptr(new Re(3491753744,2790753324),800,!1),new p.ptr(new Re(2601559269,3918606633),827,!1),new p.ptr(new Re(3876625403,2711358621),853,!1),new p.ptr(new Re(2888311001,1648096297),880,!1),new p.ptr(new Re(2151959390,2057817989),907,!1),new p.ptr(new Re(3206669376,61660461),933,!1),new p.ptr(new Re(2389154863,1581580175),960,!1),new p.ptr(new Re(3560118173,2626467905),986,!1),new p.ptr(new Re(2652494738,3034782633),1013,!1),new p.ptr(new Re(3952525166,3135207385),1039,!1),new p.ptr(new Re(2944860731,2616258155),1066,!1)]),X=We(Q,[new Re(0,1),new Re(0,10),new Re(0,100),new Re(0,1e3),new Re(0,1e4),new Re(0,1e5),new Re(0,1e6),new Re(0,1e7),new Re(0,1e8),new Re(0,1e9),new Re(2,1410065408),new Re(23,1215752192),new Re(232,3567587328),new Re(2328,1316134912),new Re(23283,276447232),new Re(232830,2764472320),new Re(2328306,1874919424),new Re(23283064,1569325056),new Re(232830643,2808348672),new Re(2328306436,2313682944)]),J=new d.ptr(23,8,-127),Z=new d.ptr(52,11,-1023),Y=new g([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2154,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2557,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3328,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8383,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11218,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11849,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12590,12593,12730,12736,12771,12784,19893,19904,40938,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]),ee=new g([173,907,909,930,1328,1376,1416,1424,1757,2111,2143,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2816,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7674,8024,8026,8028,8030,8117,8133,8156,8181,8335,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]),te=new y([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66e3,66045,66176,66204,66208,66256,66272,66299,66304,66339,66349,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72192,72263,72272,72323,72326,72354,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,72960,73014,73018,73031,73040,73049,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94177,94208,100332,100352,101106,110592,110878,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,128724,128736,128748,128752,128760,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129280,129291,129296,129356,129360,129387,129408,129431,129472,129472,129488,129510,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999]),re=new g([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,6813,7177,7223,7336,7431,7434,7483,7486,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61e3,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63807]),ne=new g([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288])}return}return void 0===i&&(i={$blk:e}),i.$s=l,i.$r=o,i},yt.$init=e,yt}(),o["reflect"]=function(){var e,r,n,a,c,p,d,$,m,w,x,C,O,R,A,W,z,U,q,H,K,Z,Y,Q,te,re,ne,ie,oe,ae,se,le,ue,pe,he,$e,me,ge,be,ve,xe,Ee,Pe,Ae,Me,We,ze,Ve,qe,Ge,Xe,Ye,Qe,tt,rt,nt,it,ot,lt,dt,$t,mt,gt,bt,yt,kt,wt,_t,xt,Et,St,Dt,Pt,Ct,Ot,Ft,Rt,At,jt,Tt,Lt,Mt,Wt,zt,Ut,Vt,qt,Ht,Gt,Kt,Xt,Jt,Zt,Yt,Qt,er,tr,rr,nr,ir,or,ar,sr,cr,lr,ur,pr,dr,fr,hr,$r,mr,gr,br,vr,yr,kr,wr,_r,xr,Er,Sr,Dr,Pr,Cr,Or,Fr,Rr,Br,Ar,Ir,jr,Nr,Tr,Lr,Mr,Wr,zr,Ur,Vr,qr,Hr,Gr,Kr,Xr,Jr,Zr,Yr,Qr,en,tn,rn,nn,on,an,sn,cn,ln,un={};return r=o["errors"],n=o["github.com/gopherjs/gopherjs/js"],a=o["math"],c=o["runtime"],p=o["strconv"],d=o["sync"],$=o["unicode"],m=o["unicode/utf8"],w=un.uncommonType=ye(0,fe,"reflect.uncommonType",!0,"reflect",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.pkgPath=0,this.mcount=0,this.xcount=0,this.moff=0,void(this._methods=Xe.nil);this.pkgPath=e,this.mcount=t,this.xcount=r,this.moff=n,this._methods=i})),x=un.funcType=ye(0,fe,"reflect.funcType",!0,"reflect",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),this.inCount=0,this.outCount=0,this._in=Ae.nil,void(this._out=Ae.nil);this.rtype=e,this.inCount=t,this.outCount=r,this._in=n,this._out=i})),C=un.name=ye(0,fe,"reflect.name",!0,"reflect",!1,(function(e){this.$val=this,0!==arguments.length?this.bytes=e:this.bytes=Ge.nil})),O=un.nameData=ye(0,fe,"reflect.nameData",!0,"reflect",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.name="",this.tag="",void(this.exported=!1);this.name=e,this.tag=t,this.exported=r})),R=un.mapIter=ye(0,fe,"reflect.mapIter",!0,"reflect",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.t=Ze,this.m=null,this.keys=null,this.i=0,void(this.last=null);this.t=e,this.m=t,this.keys=r,this.i=n,this.last=i})),A=un.Type=ye(8,ce,"reflect.Type",!0,"reflect",!0,null),W=un.Kind=ye(4,X,"reflect.Kind",!0,"reflect",!0,null),z=un.tflag=ye(1,J,"reflect.tflag",!0,"reflect",!1,null),U=un.rtype=ye(0,fe,"reflect.rtype",!0,"reflect",!1,(function(e,t,r,n,i,o,a,s,c,l,u){if(this.$val=this,0===arguments.length)return this.size=0,this.ptrdata=0,this.hash=0,this.tflag=0,this.align=0,this.fieldAlign=0,this.kind=0,this.alg=qe.nil,this.gcdata=Ge.nil,this.str=0,void(this.ptrToThis=0);this.size=e,this.ptrdata=t,this.hash=r,this.tflag=n,this.align=i,this.fieldAlign=o,this.kind=a,this.alg=s,this.gcdata=c,this.str=l,this.ptrToThis=u})),q=un.typeAlg=ye(0,fe,"reflect.typeAlg",!0,"reflect",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.hash=l,void(this.equal=l);this.hash=e,this.equal=t})),H=un.method=ye(0,fe,"reflect.method",!0,"reflect",!1,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.name=0,this.mtyp=0,this.ifn=0,void(this.tfn=0);this.name=e,this.mtyp=t,this.ifn=r,this.tfn=n})),K=un.ChanDir=ye(4,V,"reflect.ChanDir",!0,"reflect",!0,null),Z=un.arrayType=ye(0,fe,"reflect.arrayType",!0,"reflect",!1,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),this.elem=Pe.nil,this.slice=Pe.nil,void(this.len=0);this.rtype=e,this.elem=t,this.slice=r,this.len=n})),Y=un.chanType=ye(0,fe,"reflect.chanType",!0,"reflect",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),this.elem=Pe.nil,void(this.dir=0);this.rtype=e,this.elem=t,this.dir=r})),Q=un.imethod=ye(0,fe,"reflect.imethod",!0,"reflect",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.name=0,void(this.typ=0);this.name=e,this.typ=t})),te=un.interfaceType=ye(0,fe,"reflect.interfaceType",!0,"reflect",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),this.pkgPath=new C.ptr(Ge.nil),void(this.methods=Ye.nil);this.rtype=e,this.pkgPath=t,this.methods=r})),re=un.mapType=ye(0,fe,"reflect.mapType",!0,"reflect",!1,(function(e,t,r,n,i,o,a,s){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),this.key=Pe.nil,this.elem=Pe.nil,this.bucket=Pe.nil,this.keysize=0,this.valuesize=0,this.bucketsize=0,void(this.flags=0);this.rtype=e,this.key=t,this.elem=r,this.bucket=n,this.keysize=i,this.valuesize=o,this.bucketsize=a,this.flags=s})),ne=un.ptrType=ye(0,fe,"reflect.ptrType",!0,"reflect",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),void(this.elem=Pe.nil);this.rtype=e,this.elem=t})),ie=un.sliceType=ye(0,fe,"reflect.sliceType",!0,"reflect",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),void(this.elem=Pe.nil);this.rtype=e,this.elem=t})),oe=un.structField=ye(0,fe,"reflect.structField",!0,"reflect",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.name=new C.ptr(Ge.nil),this.typ=Pe.nil,void(this.offsetEmbed=0);this.name=e,this.typ=t,this.offsetEmbed=r})),ae=un.structType=ye(0,fe,"reflect.structType",!0,"reflect",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.rtype=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),this.pkgPath=new C.ptr(Ge.nil),void(this.fields=Qe.nil);this.rtype=e,this.pkgPath=t,this.fields=r})),se=un.Method=ye(0,fe,"reflect.Method",!0,"reflect",!0,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.Name="",this.PkgPath="",this.Type=Ze,this.Func=new ge.ptr(Pe.nil,0,0),void(this.Index=0);this.Name=e,this.PkgPath=t,this.Type=r,this.Func=n,this.Index=i})),le=un.nameOff=ye(4,G,"reflect.nameOff",!0,"reflect",!1,null),ue=un.typeOff=ye(4,G,"reflect.typeOff",!0,"reflect",!1,null),pe=un.textOff=ye(4,G,"reflect.textOff",!0,"reflect",!1,null),he=un.StructField=ye(0,fe,"reflect.StructField",!0,"reflect",!0,(function(e,t,r,n,i,o,a){if(this.$val=this,0===arguments.length)return this.Name="",this.PkgPath="",this.Type=Ze,this.Tag="",this.Offset=0,this.Index=yt.nil,void(this.Anonymous=!1);this.Name=e,this.PkgPath=t,this.Type=r,this.Tag=n,this.Offset=i,this.Index=o,this.Anonymous=a})),$e=un.StructTag=ye(8,de,"reflect.StructTag",!0,"reflect",!0,null),me=un.fieldScan=ye(0,fe,"reflect.fieldScan",!0,"reflect",!1,(function(e,t){if(this.$val=this,0===arguments.length)return this.typ=wt.nil,void(this.index=yt.nil);this.typ=e,this.index=t})),ge=un.Value=ye(0,fe,"reflect.Value",!0,"reflect",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.typ=Pe.nil,this.ptr=0,void(this.flag=0);this.typ=e,this.ptr=t,this.flag=r})),be=un.flag=ye(4,ee,"reflect.flag",!0,"reflect",!1,null),ve=un.ValueError=ye(0,fe,"reflect.ValueError",!0,"reflect",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Method="",void(this.Kind=0);this.Method=e,this.Kind=t})),xe=un.MapIter=ye(0,fe,"reflect.MapIter",!0,"reflect",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.m=new ge.ptr(Pe.nil,0,0),void(this.it=0);this.m=e,this.it=t})),Ee=ut(C),Pe=st(U),Ae=ut(Pe),Me=ut(Je),We=st(n.Object),ze=Ke([Me],[We],!0),Ve=ut(Te),qe=st(q),Ge=st(Ce),Xe=ut(H),Ye=ut(Q),Qe=ut(oe),tt=st(w),rt=st(O),nt=ft("reflect",[{prop:"str",name:"str",embedded:!1,exported:!1,typ:Te,tag:""}]),it=ut(We),ot=ut(ge),lt=st(R),dt=ut(A),$t=ut(it),mt=st(x),gt=st(te),bt=st(Q),yt=ut(_e),kt=ut(me),wt=st(ae),_t=ut(Ce),xt=st(Le),Et=ut(Se),St=Ke([Te],[we],!1),Dt=Ke([Le,Be],[Be],!1),Pt=Ke([Le,Le],[we],!1),Ct=st(oe),Ot=Ue(Be,2),Ft=st(xe),Rt=st(ve),Ht=function(){var e,t,r,n,i,o,a,s,c,l,u,p,d,f,h,$;h=0;var m,g=!1;void 0!==this&&void 0!==this.$blk&&(g=!0,e=(m=this).used,t=m.x,r=m.x$1,n=m.x$10,i=m.x$11,o=m.x$12,a=m.x$2,s=m.x$3,c=m.x$4,l=m.x$5,u=m.x$6,p=m.x$7,d=m.x$8,f=m.x$9,h=m.$s,$=m.$r);e:for(;1;){switch(h){case 0:$=(e=function(e){})(new((t=new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0)).constructor.elem)(t)),h=1;case 1:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((r=new w.ptr(0,0,0,0,Xe.nil)).constructor.elem)(r)),h=2;case 2:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((a=new H.ptr(0,0,0,0)).constructor.elem)(a)),h=3;case 3:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((s=new Z.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Pe.nil,Pe.nil,0)).constructor.elem)(s)),h=4;case 4:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((c=new Y.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Pe.nil,0)).constructor.elem)(c)),h=5;case 5:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((l=new x.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),0,0,Ae.nil,Ae.nil)).constructor.elem)(l)),h=6;case 6:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((u=new te.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),new C.ptr(Ge.nil),Ye.nil)).constructor.elem)(u)),h=7;case 7:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((p=new re.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Pe.nil,Pe.nil,Pe.nil,0,0,0,0)).constructor.elem)(p)),h=8;case 8:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((d=new ne.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Pe.nil)).constructor.elem)(d)),h=9;case 9:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((f=new ie.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Pe.nil)).constructor.elem)(f)),h=10;case 10:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((n=new ae.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),new C.ptr(Ge.nil),Qe.nil)).constructor.elem)(n)),h=11;case 11:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((i=new Q.ptr(0,0)).constructor.elem)(i)),h=12;case 12:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;$=e(new((o=new oe.ptr(new C.ptr(Ge.nil),Pe.nil,0)).constructor.elem)(o)),h=13;case 13:if(g&&(g=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;return At=!0,qt=ht(ir(new Ce(0)),Pe),void(h=-1)}return}return void 0===m&&(m={$blk:Ht}),m.used=e,m.x=t,m.x$1=r,m.x$10=n,m.x$11=i,m.x$12=o,m.x$2=a,m.x$3=s,m.x$4=c,m.x$5=l,m.x$6=u,m.x$7=p,m.x$8=d,m.x$9=f,m.$s=h,m.$r=$,m},Gt=function(e){return e.jsType},Kt=function(e){var t,r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k,_,S,P,O,F,R,A,I,j,N,T,L,M,W,z,V,q,G;if(void 0===e.reflectType){if((V=new U.ptr(B(e.size)>>0>>>0,0,0,0,0,0,B(e.kind)>>0<<24>>>24,qe.nil,Ge.nil,Zt(E(Jt(Qt(e.string),"",!!e.exported),C)),0)).jsType=e,e.reflectType=V,A=ke(e),0!==B(A.length)||e.named){for(V.tflag=(1|V.tflag)>>>0,e.named&&(V.tflag=(4|V.tflag)>>>0),W=Xe.nil,g=0;1&&g<B(A.length);)O=A[g],(f=""===Qt(O.pkg))?(W=D(W,new H.ptr(Zt(E(Jt(Qt(O.name),"",f),C)),Yt(Kt(O.typ)),0,0)),g=g+1>>0):g=g+1>>0;for(G=W.$length<<16>>>16,b=0;1&&b<B(A.length);)F=A[b],(h=""===Qt(F.pkg))||(W=D(W,new H.ptr(Zt(E(Jt(Qt(F.name),"",h),C)),Yt(Kt(F.typ)),0,0))),b=b+1>>0;q=new w.ptr(Zt(E(Jt(Qt(e.pkg),"",!1),C)),B(A.length)<<16>>>16,G,0,W),s=V,(jt||i("assignment to entry in nil map"))[Pe.keyFor(s)]={k:s,v:q},q.jsType=e}if(17===(t=V.Kind()))Xt(V,new Z.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Kt(e.elem),Pe.nil,B(e.len)>>0>>>0));else if(18===t)d=3,e.sendOnly&&(d=2),e.recvOnly&&(d=1),Xt(V,new Y.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Kt(e.elem),d>>>0));else if(19===t){for(L=e.params,c=P=pt(Ae,B(L.length)),r=0;1&&r<c.$length;)(v=r)<0||v>=P.$length?i("index out of range"):P.$array[P.$offset+v]=Kt(L[v]),r++;for(z=e.results,l=N=pt(Ae,B(z.length)),n=0;1&&n<l.$length;)(y=n)<0||y>=N.$length?i("index out of range"):N.$array[N.$offset+y]=Kt(z[y]),n++;T=B(z.length)<<16>>>16,e.variadic&&(T=(32768|T)>>>0),Xt(V,new x.ptr(E(V,U),B(L.length)<<16>>>16,T,P,N))}else if(20===t){for(I=e.methods,u=S=pt(Ye,B(I.length)),o=0;1&&o<u.$length;)R=I[k=o],Q.copy(k<0||k>=S.$length?void i("index out of range"):S.$array[S.$offset+k],new Q.ptr(Zt(E(Jt(Qt(R.name),"",""===Qt(R.pkg)),C)),Yt(Kt(R.typ)))),o++;Xt(V,new te.ptr(E(V,U),E(Jt(Qt(e.pkg),"",!1),C),S))}else if(21===t)Xt(V,new re.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Kt(e.key),Kt(e.elem),Pe.nil,0,0,0,0));else if(22===t)Xt(V,new ne.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Kt(e.elem)));else if(23===t)Xt(V,new ie.ptr(new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0),Kt(e.elem)));else if(25===t){for(m=e.fields,p=M=pt(Qe,B(m.length)),a=0;1&&a<p.$length;)j=(_=a)>>>0<<1>>>0,($=m[_]).embedded&&(j=(1|j)>>>0),oe.copy(_<0||_>=M.$length?void i("index out of range"):M.$array[M.$offset+_],new oe.ptr(E(Jt(Qt($.name),Qt($.tag),!!$.exported),C),Kt($.typ),j)),a++;Xt(V,new ae.ptr(E(V,U),E(Jt(Qt(e.pkgPath),"",!1),C),M))}}return e.reflectType},Xt=function(e,t){e.kindType=t,t.rtype=e},w.ptr.prototype.methods=function(){return this._methods},w.prototype.methods=function(){return this.$val.methods()},w.ptr.prototype.exportedMethods=function(){return f(this._methods,0,this.xcount,this.xcount)},w.prototype.exportedMethods=function(){return this.$val.exportedMethods()},U.ptr.prototype.uncommon=function(){var e;return void 0!==(e=jt[Pe.keyFor(this)])?e.v:tt.nil},U.prototype.uncommon=function(){return this.$val.uncommon()},x.ptr.prototype.in$=function(){return this._in},x.prototype.in$=function(){return this.$val.in$()},x.ptr.prototype.out=function(){return this._out},x.prototype.out=function(){return this.$val.out()},C.ptr.prototype.name=function(){var e;return(e=Tt[Ge.keyFor(this.bytes)],void 0!==e?e.v:rt.nil).name},C.prototype.name=function(){return this.$val.name()},C.ptr.prototype.tag=function(){var e;return(e=Tt[Ge.keyFor(this.bytes)],void 0!==e?e.v:rt.nil).tag},C.prototype.tag=function(){return this.$val.tag()},C.ptr.prototype.pkgPath=function(){return""},C.prototype.pkgPath=function(){return this.$val.pkgPath()},C.ptr.prototype.isExported=function(){var e;return(e=Tt[Ge.keyFor(this.bytes)],void 0!==e?e.v:rt.nil).exported},C.prototype.isExported=function(){return this.$val.isExported()},Jt=function(e,t,r){var n,o;return n=o=ct(0,Ge),(Tt||i("assignment to entry in nil map"))[Ge.keyFor(n)]={k:n,v:new O.ptr(e,t,r)},new C.ptr(o)},U.ptr.prototype.nameOff=function(e){var t;return(t=e>>0)<0||t>=Lt.$length?void i("index out of range"):Lt.$array[Lt.$offset+t]},U.prototype.nameOff=function(e){return this.$val.nameOff(e)},Zt=function(e){var t;return t=Lt.$length,Lt=D(Lt,e),t>>0},U.ptr.prototype.typeOff=function(e){var t;return(t=e>>0)<0||t>=Mt.$length?void i("index out of range"):Mt.$array[Mt.$offset+t]},U.prototype.typeOff=function(e){return this.$val.typeOff(e)},Yt=function(e){var t;return t=Mt.$length,Mt=D(Mt,e),t>>0},Qt=function(e){var t;return(t=new nt.ptr("")).str=e,t.str},er=function(e){return!!Gt(e).wrapped},tr=function(e,t,r){var n,i,o;for(n=Gt(r).fields,i=0;1&&i<B(n.length);)o=Nt(n[i].prop,Te),e[It(o,Te)]=t[It(o,Te)],i=i+1>>0},rr=function(e,t,r){var n,i,o,a,s,c,l,u,p,d,f;d=0;var h,$=!1;void 0!==this&&void 0!==this.$blk&&($=!0,n=(h=this)._r,i=h._r$1,o=h._r$2,a=h._r$3,s=h._r$4,c=h._r$5,l=h._v,u=h._v$1,r=h.fl,p=h.rt,e=h.t,t=h.v,d=h.$s,f=h.$r);e:for(;1;){switch(d){case 0:n=e.common(),d=1;case 1:if($&&($=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;p=n,i=e.Kind(),d=6;case 6:if($&&($=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;if(17===i){u=!0,d=5;continue e}o=e.Kind(),d=7;case 7:if($&&($=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;u=25===o;case 5:if(u){l=!0,d=4;continue e}a=e.Kind(),d=8;case 8:if($&&($=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;l=22===a;case 4:if(l){d=2;continue}d=3;continue;case 2:s=e.Kind(),d=9;case 9:if($&&($=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;return d=-1,new ge.ptr(p,t,(r|s>>>0)>>>0);case 3:c=e.Kind(),d=10;case 10:if($&&($=!1,c=c.$blk()),c&&void 0!==c.$blk)break e;return d=-1,new ge.ptr(p,ct(t,Gt(p.ptrTo())),((r|c>>>0)>>>0|128)>>>0)}return}return void 0===h&&(h={$blk:rr}),h._r=n,h._r$1=i,h._r$2=o,h._r$3=a,h._r$4=s,h._r$5=c,h._v=l,h._v$1=u,h.fl=r,h.rt=p,h.t=e,h.v=t,h.$s=d,h.$r=f,h},nr=function(e,t,r){var n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,n=(s=this)._r,i=s._r$1,r=s.cap,t=s.len,e=s.typ,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:n=(e=[e])[0].Kind(),o=3;case 3:if(c&&(c=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(23!==n){o=1;continue}o=2;continue;case 1:vt(new Te("reflect.MakeSlice of non-slice type"));case 2:t<0&&vt(new Te("reflect.MakeSlice: negative len")),r<0&&vt(new Te("reflect.MakeSlice: negative cap")),t>r&&vt(new Te("reflect.MakeSlice: len > cap")),i=rr(e[0],pt(Gt(e[0]),t,r),0),o=4;case 4:if(c&&(c=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return o=-1,i}return}return void 0===s&&(s={$blk:nr}),s._r=n,s._r$1=i,s.cap=r,s.len=t,s.typ=e,s.$s=o,s.$r=a,s},un.MakeSlice=nr,ir=function(e){return At?F(e,Ze)?Ze:Kt(e.constructor):new U.ptr(0,0,0,0,0,0,0,qe.nil,Ge.nil,0,0)},un.TypeOf=ir,or=function(e){var t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,t=(i=this)._r,e=i.i,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:if(F(e,Ze))return r=-1,new ge.ptr(Pe.nil,0,0);t=rr(Kt(e.constructor),e.$val,0),r=1;case 1:if(o&&(o=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return r=-1,t}return}return void 0===i&&(i={$blk:or}),i._r=t,i.i=e,i.$s=r,i.$r=n,i},un.ValueOf=or,ar=function(e,t,r){var n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v;b=0;var y,k=!1;void 0!==this&&void 0!==this.$blk&&(k=!0,n=(y=this)._i,o=y._i$1,a=y._r,s=y._ref,c=y._ref$1,l=y._v,u=y._v$1,p=y.i,d=y.i$1,e=y.in$1,f=y.jsIn,h=y.jsOut,t=y.out,$=y.v,m=y.v$1,r=y.variadic,g=y.x,b=y.$s,v=y.$r);e:for(;1;){switch(b){case 0:if(!r){l=!1,b=3;continue e}if(0===e.$length){u=!0,b=4;continue e}a=(g=e.$length-1>>0,g<0||g>=e.$length?void i("index out of range"):e.$array[e.$offset+g]).Kind(),b=5;case 5:if(k&&(k=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;u=!(23===a);case 4:l=u;case 3:if(l){b=1;continue}b=2;continue;case 1:vt(new Te("reflect.FuncOf: last arg of variadic func must be slice"));case 2:for(f=pt(it,e.$length),s=e,n=0;1&&n<s.$length;)p=n,$=n<0||n>=s.$length?void i("index out of range"):s.$array[s.$offset+n],p<0||p>=f.$length?i("index out of range"):f.$array[f.$offset+p]=Gt($),n++;for(h=pt(it,t.$length),c=t,o=0;1&&o<c.$length;)d=o,m=o<0||o>=c.$length?void i("index out of range"):c.$array[c.$offset+o],d<0||d>=h.$length?i("index out of range"):h.$array[h.$offset+d]=Gt(m),o++;return b=-1,Kt(Ke(It(f,it),It(h,it),It(r,we)))}return}return void 0===y&&(y={$blk:ar}),y._i=n,y._i$1=o,y._r=a,y._ref=s,y._ref$1=c,y._v=l,y._v$1=u,y.i=p,y.i$1=d,y.in$1=e,y.jsIn=f,y.jsOut=h,y.out=t,y.v=$,y.v$1=m,y.variadic=r,y.x=g,y.$s=b,y.$r=v,y},un.FuncOf=ar,U.ptr.prototype.ptrTo=function(){return Kt(st(Gt(this)))},U.prototype.ptrTo=function(){return this.$val.ptrTo()},sr=function(e){return Kt(ut(Gt(e)))},un.SliceOf=sr,cr=function(e){var t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,t=(i=this)._r,e=i.typ,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:t=rr(e,Gt(e).zero(),0),r=1;case 1:if(o&&(o=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return r=-1,t}return}return void 0===i&&(i={$blk:cr}),i._r=t,i.typ=e,i.$s=r,i.$r=n,i},un.Zero=cr,lr=function(e){var t;return 25===(t=e.Kind())?new(Gt(e).ptr):17===t?Gt(e).zero():ct(Gt(e).zero(),Gt(e.ptrTo()))},ur=function(e,t,r){var n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,n=(l=this)._1,i=l._r,t=l.bits,e=l.f,o=l.ptr,r=l.t,a=l.typ,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:i=r.common(),s=1;case 1:if(u&&(u=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return o=lr(a=i),3===(n=a.Kind())?o.$set(t.$low<<24>>24):4===n?o.$set(t.$low<<16>>16):2===n||5===n?o.$set(t.$low>>0):6===n?o.$set(new De(t.$high,t.$low)):8===n?o.$set(t.$low<<24>>>24):9===n?o.$set(t.$low<<16>>>16):7===n||10===n||12===n?o.$set(t.$low>>>0):11===n&&o.$set(t),s=-1,new ge.ptr(a,o,((128|e)>>>0|a.Kind()>>>0)>>>0)}return}return void 0===l&&(l={$blk:ur}),l._1=n,l._r=i,l.bits=t,l.f=e,l.ptr=o,l.t=r,l.typ=a,l.$s=s,l.$r=c,l},pr=function(e,t,r){t.$set(r.$get())},dr=function(e,t){var r;return void 0!==(r=t).$get&&(r=r.$get()),[r,Nt(Gt(e.Key()).keyFor(r),Te)]},fr=function(e,t,r){var n,i;return i=dr(e,r)[1],void 0===(n=t[It(i,Te)])?0:ct(n.v,Gt(Fr(e.Elem())))},hr=function(e,r,n,i){var o,a,s,c,l,u,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,o=($=this)._r,a=$._tuple,s=$.entry,c=$.et,l=$.jsVal,u=$.k,n=$.key,p=$.kv,r=$.m,d=$.newVal,e=$.t,i=$.val,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:p=(a=dr(e,n))[0],u=a[1],l=i.$get(),o=(c=e.Elem()).Kind(),f=3;case 3:if(m&&(m=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;if(25===o){f=1;continue}f=2;continue;case 1:d=Gt(c).zero(),tr(d,l,c),l=d;case 2:return(s=new t.Object).k=p,s.v=l,r[It(u,Te)]=s,void(f=-1)}return}return void 0===$&&($={$blk:hr}),$._r=o,$._tuple=a,$.entry=s,$.et=c,$.jsVal=l,$.k=u,$.key=n,$.kv=p,$.m=r,$.newVal=d,$.t=e,$.val=i,$.$s=f,$.$r=h,$},$r=function(e,t,r){var n;n=dr(e,r)[1],delete t[It(n,Te)]},R.ptr.prototype.skipUntilValidKey=function(){var e,t;for(e=this;1&&e.i<B(e.keys.length)&&(t=e.keys[e.i],void 0===e.m[It(Nt(t,Te),Te)]);)e.i=e.i+1>>0},R.prototype.skipUntilValidKey=function(){return this.$val.skipUntilValidKey()},mr=function(e,t){return new R.ptr(e,t,s(t),0,null)},gr=function(e){var t,r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,t=(l=this)._r,r=l._r$1,n=l._r$2,e=l.it,i=l.iter,o=l.k,a=l.kv,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:if(a=null,null!==(i=S(e,lt)).last)a=i.last;else{if(i.skipUntilValidKey(),i.i===B(i.keys.length))return s=-1,0;o=i.keys[i.i],a=i.m[It(Nt(o,Te),Te)],i.last=a}t=i.t.Key(),s=1;case 1:if(u&&(u=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;r=Fr(t),s=2;case 2:if(u&&(u=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;n=Gt(r),s=3;case 3:if(u&&(u=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return s=-1,ct(a.k,n)}return}return void 0===l&&(l={$blk:gr}),l._r=t,l._r$1=r,l._r$2=n,l.it=e,l.iter=i,l.k=o,l.kv=a,l.$s=s,l.$r=c,l},br=function(e){var t,r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,t=(l=this)._r,r=l._r$1,n=l._r$2,e=l.it,i=l.iter,o=l.k,a=l.kv,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:if(a=null,null!==(i=S(e,lt)).last)a=i.last;else{if(i.skipUntilValidKey(),i.i===B(i.keys.length))return s=-1,0;o=i.keys[i.i],a=i.m[It(Nt(o,Te),Te)],i.last=a}t=i.t.Elem(),s=1;case 1:if(u&&(u=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;r=Fr(t),s=2;case 2:if(u&&(u=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;n=Gt(r),s=3;case 3:if(u&&(u=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return s=-1,ct(a.v,n)}return}return void 0===l&&(l={$blk:br}),l._r=t,l._r$1=r,l._r$2=n,l.it=e,l.iter=i,l.k=o,l.kv=a,l.$s=s,l.$r=c,l},vr=function(e){var t;(t=S(e,lt)).last=null,t.i=t.i+1>>0},yr=function(e){return B(s(e).length)},kr=function(e,t){var r,n,i,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v;b=0;var y,k=!1;void 0!==this&&void 0!==this.$blk&&(k=!0,r=(y=this)._1,n=y._arg,i=y._arg$1,o=y._arg$2,a=y._r,s=y._r$1,c=y._r$2,l=y._r$3,u=y._r$4,p=y._r$5,d=y._r$6,f=y._r$7,h=y.k,$=y.slice,m=y.srcVal,t=y.typ,e=y.v,g=y.val,b=y.$s,v=y.$r);e:for(;1;){switch(b){case 0:if((m=E(e,ge).object())===Gt(e.typ).nil){b=1;continue}b=2;continue;case 1:a=rr(t,Gt(t).nil,e.flag),b=3;case 3:if(k&&(k=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return b=-1,a;case 2:g=null,s=t.Kind(),b=5;case 5:if(k&&(k=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;if(23===(r=h=s)){b=6;continue}if(22===r){b=7;continue}if(25===r){b=8;continue}if(17===r||1===r||18===r||19===r||20===r||21===r||24===r){b=9;continue}b=10;continue;case 6:($=new(Gt(t))(m.$array)).$offset=m.$offset,$.$length=m.$length,$.$capacity=m.$capacity,g=ct($,Gt(Fr(t))),b=11;continue;case 7:c=t.Elem(),b=14;case 14:if(k&&(k=!1,c=c.$blk()),c&&void 0!==c.$blk)break e;l=c.Kind(),b=15;case 15:if(k&&(k=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;if(25===l){b=12;continue}b=13;continue;case 12:u=t.Elem(),b=18;case 18:if(k&&(k=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;if(F(u,e.typ.Elem())){b=16;continue}b=17;continue;case 16:g=m,b=4;continue;case 17:n=g=new(Gt(t)),i=m,p=t.Elem(),b=19;case 19:if(k&&(k=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;v=tr(n,i,o=p),b=20;case 20:if(k&&(k=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;b=4;continue;case 13:g=new(Gt(t))(m.$get,m.$set),b=11;continue;case 8:g=new(Gt(t).ptr),tr(g,m,t),b=11;continue;case 9:g=e.ptr,b=11;continue;case 10:vt(new ve.ptr("reflect.Convert",h));case 11:case 4:d=t.common(),b=21;case 21:if(k&&(k=!1,d=d.$blk()),d&&void 0!==d.$blk)break e;f=t.Kind(),b=22;case 22:if(k&&(k=!1,f=f.$blk()),f&&void 0!==f.$blk)break e;return b=-1,new ge.ptr(d,g,((new be(e.flag).ro()|(128&e.flag)>>>0)>>>0|f>>>0)>>>0)}return}return void 0===y&&(y={$blk:kr}),y._1=r,y._arg=n,y._arg$1=i,y._arg$2=o,y._r=a,y._r$1=s,y._r$2=c,y._r$3=l,y._r$4=u,y._r$5=p,y._r$6=d,y._r$7=f,y.k=h,y.slice=$,y.srcVal=m,y.typ=t,y.v=e,y.val=g,y.$s=b,y.$r=v,y},wr=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.safe,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:if(0===e.flag&&vt(new ve.ptr("reflect.Value.Interface",0)),t&&(96&e.flag)>>>0!=0&&vt(new Te("reflect.Value.Interface: cannot return value obtained from unexported field or method")),(512&e.flag)>>>0!=0){n=1;continue}n=2;continue;case 1:r=xr("Interface",E(e,ge)),n=3;case 3:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;e=r;case 2:return er(e.typ)?(n=-1,new(Gt(e.typ))(E(e,ge).object())):(n=-1,E(e,ge).object())}return}return void 0===o&&(o={$blk:wr}),o._r=r,o.safe=t,o.v=e,o.$s=n,o.$r=i,o},_r=function(e,t,r){r.$set(t)},xr=function(e,t){var r,i,o,a,s,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,r=(u=this)._r,i=u._tuple,o=u.fn,a=u.fv,e=u.op,s=u.rcvr,t=u.v,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:o=[o],s=[s],(512&t.flag)>>>0==0&&vt(new Te("reflect: internal error: invalid use of makePartialFunc")),i=Or(e,E(t,ge),t.flag>>0>>10>>0),o[0]=i[2],s[0]=E(t,ge).object(),er(t.typ)&&(s[0]=new(Gt(t.typ))(s[0])),a=n.MakeFunc(function(e,t){return function(r,n){return new et(e[0].apply(t[0],It(n,it)))}}(o,s)),r=E(t,ge).Type().common(),c=1;case 1:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return c=-1,new ge.ptr(r,a,(19|new be(t.flag).ro())>>>0)}return}return void 0===u&&(u={$blk:xr}),u._r=r,u._tuple=i,u.fn=o,u.fv=a,u.op=e,u.rcvr=s,u.v=t,u.$s=c,u.$r=l,u},U.ptr.prototype.pointers=function(){var e;return 22===(e=this.Kind())||21===e||18===e||19===e||25===e||17===e},U.prototype.pointers=function(){return this.$val.pointers()},U.ptr.prototype.Comparable=function(){var e,t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,e=(s=this)._1,t=s._r,r=s._r$1,n=s.i,i=s.t,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(19===(e=(i=this).Kind())||23===e||21===e){o=2;continue}if(17===e){o=3;continue}if(25===e){o=4;continue}o=5;continue;case 2:return o=-1,!1;case 3:t=i.Elem().Comparable(),o=6;case 6:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return o=-1,t;case 4:n=0;case 7:if(!(n<i.NumField())){o=8;continue}r=i.Field(n).Type.Comparable(),o=11;case 11:if(c&&(c=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(!r){o=9;continue}o=10;continue;case 9:return o=-1,!1;case 10:n=n+1>>0,o=7;continue;case 8:case 5:case 1:return o=-1,!0}return}return void 0===s&&(s={$blk:U.ptr.prototype.Comparable}),s._1=e,s._r=t,s._r$1=r,s.i=n,s.t=i,s.$s=o,s.$r=a,s},U.prototype.Comparable=function(){return this.$val.Comparable()},U.ptr.prototype.Method=function(e){var t,r,o,a,s,c,l,u,p,d,h,$,m,g,b,v,y,k,w,_,x,S,P;S=0;var O,F=!1;void 0!==this&&void 0!==this.$blk&&(F=!0,t=(O=this)._i,r=O._i$1,o=O._r,a=O._ref,s=O._ref$1,c=O.arg,l=O.fl,u=O.fn,p=O.ft,e=O.i,d=O.in$1,h=O.m,$=O.methods,m=O.mt,g=O.mtyp,b=O.out,v=O.p,y=O.pname,k=O.prop,w=O.ret,_=O.t,x=O.tt,S=O.$s,P=O.$r);e:for(;1;){switch(S){case 0:if(k=[k],h=new se.ptr("","",Ze,new ge.ptr(Pe.nil,0,0),0),20===(_=this).Kind())return x=_.kindType,se.copy(h,x.Method(e)),S=-1,h;for($=_.exportedMethods(),(e<0||e>=$.$length)&&vt(new Te("reflect: Method index out of range")),v=E(e<0||e>=$.$length?void i("index out of range"):$.$array[$.$offset+e],H),y=E(_.nameOff(v.name),C),h.Name=E(y,C).name(),l=19,p=(g=_.typeOff(v.mtyp)).kindType,d=pt(dt,0,1+p.in$().$length>>0),d=D(d,_),a=p.in$(),t=0;1&&t<a.$length;)c=t<0||t>=a.$length?void i("index out of range"):a.$array[a.$offset+t],d=D(d,c),t++;for(b=pt(dt,0,p.out().$length),s=p.out(),r=0;1&&r<s.$length;)w=r<0||r>=s.$length?void i("index out of range"):s.$array[s.$offset+r],b=D(b,w),r++;o=ar(d,b,p.rtype.IsVariadic()),S=1;case 1:if(F&&(F=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return m=o,h.Type=m,k[0]=Nt(ke(_.jsType)[e].prop,Te),u=n.MakeFunc(function(e){return function(t,r){var n;return n=0>=r.$length?void i("index out of range"):r.$array[r.$offset+0],new et(n[It(e[0],Te)].apply(n,It(f(r,1),it)))}}(k)),h.Func=new ge.ptr(ht(m,Pe),u,l),h.Index=e,se.copy(h,h),S=-1,h}return}return void 0===O&&(O={$blk:U.ptr.prototype.Method}),O._i=t,O._i$1=r,O._r=o,O._ref=a,O._ref$1=s,O.arg=c,O.fl=l,O.fn=u,O.ft=p,O.i=e,O.in$1=d,O.m=h,O.methods=$,O.mt=m,O.mtyp=g,O.out=b,O.p=v,O.pname=y,O.prop=k,O.ret=w,O.t=_,O.tt=x,O.$s=S,O.$r=P,O},U.prototype.Method=function(e){return this.$val.Method(e)},ge.ptr.prototype.object=function(){var e,t,r,n;if(17===(r=this).typ.Kind()||25===r.typ.Kind())return r.ptr;if((128&r.flag)>>>0!=0){if((n=r.ptr.$get())!==Ze&&n.constructor!==Gt(r.typ))switch(0){default:if(11===(e=r.typ.Kind())||6===e)n=new(Gt(r.typ))(n.$high,n.$low);else if(15===e||16===e)n=new(Gt(r.typ))(n.$real,n.$imag);else if(23===e){if(n===n.constructor.nil){n=Gt(r.typ).nil;break}(t=new(Gt(r.typ))(n.$array)).$offset=n.$offset,t.$length=n.$length,t.$capacity=n.$capacity,n=t}}return n}return r.ptr},ge.prototype.object=function(){return this.$val.object()},ge.ptr.prototype.assignTo=function(e,t,r){var n,i,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,n=(p=this)._r,i=p._r$1,o=p._r$2,e=p.context,t=p.dst,a=p.fl,r=p.target,s=p.v,c=p.x,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:if((512&(s=this).flag)>>>0!=0){l=1;continue}l=2;continue;case 1:n=xr(e,E(s,ge)),l=3;case 3:if(d&&(d=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;s=n;case 2:i=Br(t,s.typ),l=8;case 8:if(d&&(d=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;if(i){l=5;continue}if(Rr(t,s.typ)){l=6;continue}l=7;continue;case 5:return a=((a=((384&s.flag)>>>0|new be(s.flag).ro())>>>0)|t.Kind()>>>0)>>>0,l=-1,new ge.ptr(t,s.ptr,a);case 6:0===r&&(r=lr(t)),o=wr(E(s,ge),!1),l=9;case 9:if(d&&(d=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return c=o,0===t.NumMethod()?r.$set(c):_r(0,c,r),l=-1,new ge.ptr(t,r,148);case 7:case 4:return vt(new Te(e+": value of type "+s.typ.String()+" is not assignable to type "+t.String())),l=-1,new ge.ptr(Pe.nil,0,0)}return}return void 0===p&&(p={$blk:ge.ptr.prototype.assignTo}),p._r=n,p._r$1=i,p._r$2=o,p.context=e,p.dst=t,p.fl=a,p.target=r,p.v=s,p.x=c,p.$s=l,p.$r=u,p},ge.prototype.assignTo=function(e,t,r){return this.$val.assignTo(e,t,r)},ge.ptr.prototype.Cap=function(){var e,t;return 17===(e=t=new be(this.flag).kind())?this.typ.Len():18===e||23===e?B(E(this,ge).object().$capacity)>>0:void vt(new ve.ptr("reflect.Value.Cap",t))},ge.prototype.Cap=function(){return this.$val.Cap()},Er=function(e,t){return F(e,zt)?new(Gt(zt))(t):t},Sr=function(e,t){return F(e,zt)?t.object:t},ge.ptr.prototype.Elem=function(){var e,t,r,n,i,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,e=(p=this)._1,t=p._r,r=p.fl,n=p.k,i=p.tt,o=p.typ,a=p.v,s=p.val,c=p.val$1,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:if(20===(e=n=new be((a=this).flag).kind())){l=2;continue}if(22===e){l=3;continue}l=4;continue;case 2:if((s=E(a,ge).object())===Ze)return l=-1,new ge.ptr(Pe.nil,0,0);o=Kt(s.constructor),t=rr(o,s.$val,new be(a.flag).ro()),l=6;case 6:if(d&&(d=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return l=-1,t;case 3:return E(a,ge).IsNil()?(l=-1,new ge.ptr(Pe.nil,0,0)):(c=E(a,ge).object(),i=a.typ.kindType,r=((r=(((96&a.flag)>>>0|128)>>>0|256)>>>0)|i.elem.Kind()>>>0)>>>0,l=-1,new ge.ptr(i.elem,Er(i.elem,c),r));case 4:vt(new ve.ptr("reflect.Value.Elem",n));case 5:case 1:return l=-1,new ge.ptr(Pe.nil,0,0)}return}return void 0===p&&(p={$blk:ge.ptr.prototype.Elem}),p._1=e,p._r=t,p.fl=r,p.k=n,p.tt=i,p.typ=o,p.v=a,p.val=s,p.val$1=c,p.$s=l,p.$r=u,p},ge.prototype.Elem=function(){return this.$val.Elem()},ge.ptr.prototype.Field=function(e){var t,r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b;g=0;var v,y=!1;void 0!==this&&void 0!==this.$blk&&(y=!0,t=(v=this)._r,r=v._r$1,n=v._r$2,o=v.field,a=v.fl,e=v.i,s=v.jsTag,c=v.o,l=v.prop,u=v.s,p=v.tag,d=v.tt,f=v.typ,h=v.v,$=v.x,m=v.x$1,g=v.$s,b=v.$r);e:for(;1;){switch(g){case 0:if(s=[s],l=[l],u=[u],f=[f],25!==new be((h=this).flag).kind()&&vt(new ve.ptr("reflect.Value.Field",new be(h.flag).kind())),e>>>0>=(d=h.typ.kindType).fields.$length>>>0&&vt(new Te("reflect: Field index out of range")),l[0]=Nt(Gt(h.typ).fields[e].prop,Te),$=d.fields,o=e<0||e>=$.$length?void i("index out of range"):$.$array[$.$offset+e],f[0]=o.typ,a=((416&h.flag)>>>0|f[0].Kind()>>>0)>>>0,E(o.name,C).isExported()||(a=o.embedded()?(64|a)>>>0:(32|a)>>>0),""!==(p=E((m=d.fields,e<0||e>=m.$length?void i("index out of range"):m.$array[m.$offset+e]).name,C).tag())&&0!==e){g=1;continue}g=2;continue;case 1:if(s[0]=Dr(p),""!==s[0]){g=3;continue}g=4;continue;case 3:case 5:c=[c],t=E(h,ge).Field(0),g=7;case 7:if(y&&(y=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if((h=t).typ===zt){g=8;continue}g=9;continue;case 8:return c[0]=E(h,ge).object().object,g=-1,new ge.ptr(f[0],new(Gt(Fr(f[0])))(function(e,t,r,n,i){return function(){return Nt(t[0][It(e[0],Te)],Gt(i[0]))}}(s,c,0,0,f),function(e,t,r,n,i){return function(r){t[0][It(e[0],Te)]=It(r,Gt(i[0]))}}(s,c,0,0,f)),a);case 9:if(22===h.typ.Kind()){g=10;continue}g=11;continue;case 10:r=E(h,ge).Elem(),g=12;case 12:if(y&&(y=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;h=r;case 11:g=5;continue;case 6:case 4:case 2:if(u[0]=h.ptr,(128&a)>>>0!=0&&17!==f[0].Kind()&&25!==f[0].Kind()){g=13;continue}g=14;continue;case 13:return g=-1,new ge.ptr(f[0],new(Gt(Fr(f[0])))(function(e,t,r,n){return function(){return Er(n[0],r[0][It(t[0],Te)])}}(0,l,u,f),function(e,t,r,n){return function(e){r[0][It(t[0],Te)]=Sr(n[0],e)}}(0,l,u,f)),a);case 14:n=rr(f[0],Er(f[0],u[0][It(l[0],Te)]),a),g=15;case 15:if(y&&(y=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return g=-1,n}return}return void 0===v&&(v={$blk:ge.ptr.prototype.Field}),v._r=t,v._r$1=r,v._r$2=n,v.field=o,v.fl=a,v.i=e,v.jsTag=s,v.o=c,v.prop=l,v.s=u,v.tag=p,v.tt=d,v.typ=f,v.v=h,v.x=$,v.x$1=m,v.$s=g,v.$r=b,v},ge.prototype.Field=function(e){return this.$val.Field(e)},Dr=function(e){for(var t,r,n;1&&""!==e;){for(t=0;1&&t<e.length&&32===e.charCodeAt(t);)t=t+1>>0;if(""===(e=h(e,t)))break;for(t=0;1&&t<e.length&&32!==e.charCodeAt(t)&&58!==e.charCodeAt(t)&&34!==e.charCodeAt(t);)t=t+1>>0;if(t+1>>0>=e.length||58!==e.charCodeAt(t)||34!==e.charCodeAt(t+1>>0))break;for(r=h(e,0,t),e=h(e,t+1>>0),t=1;1&&t<e.length&&34!==e.charCodeAt(t);)92===e.charCodeAt(t)&&(t=t+1>>0),t=t+1>>0;if(t>=e.length)break;if(n=h(e,0,t+1>>0),e=h(e,t+1>>0),"js"===r)return p.Unquote(n)[0]}return""},ge.ptr.prototype.Index=function(e){var t,r,n,i,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v;b=0;var y,k=!1;void 0!==this&&void 0!==this.$blk&&(k=!0,t=(y=this)._1,r=y._r,n=y._r$1,i=y.a,o=y.a$1,a=y.c,s=y.fl,c=y.fl$1,l=y.fl$2,e=y.i,u=y.k,p=y.s,d=y.str,f=y.tt,h=y.tt$1,$=y.typ,m=y.typ$1,g=y.v,b=y.$s,v=y.$r);e:for(;1;){switch(b){case 0:if(i=[i],o=[o],a=[a],e=[e],$=[$],m=[m],17===(t=u=new be((g=this).flag).kind())){b=2;continue}if(23===t){b=3;continue}if(24===t){b=4;continue}b=5;continue;case 2:if(f=g.typ.kindType,(e[0]<0||e[0]>f.len>>0)&&vt(new Te("reflect: array index out of range")),$[0]=f.elem,s=(((384&g.flag)>>>0|new be(g.flag).ro())>>>0|$[0].Kind()>>>0)>>>0,i[0]=g.ptr,(128&s)>>>0!=0&&17!==$[0].Kind()&&25!==$[0].Kind()){b=7;continue}b=8;continue;case 7:return b=-1,new ge.ptr($[0],new(Gt(Fr($[0])))(function(e,t,r,n,i,o){return function(){return Er(i[0],e[0][n[0]])}}(i,0,0,e,$),function(e,t,r,n,i,o){return function(t){e[0][n[0]]=Sr(i[0],t)}}(i,0,0,e,$)),s);case 8:r=rr($[0],Er($[0],i[0][e[0]]),s),b=9;case 9:if(k&&(k=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return b=-1,r;case 3:if(p=E(g,ge).object(),(e[0]<0||e[0]>=B(p.$length)>>0)&&vt(new Te("reflect: slice index out of range")),h=g.typ.kindType,m[0]=h.elem,c=((384|new be(g.flag).ro())>>>0|m[0].Kind()>>>0)>>>0,e[0]=e[0]+(B(p.$offset)>>0)>>0,o[0]=p.$array,(128&c)>>>0!=0&&17!==m[0].Kind()&&25!==m[0].Kind()){b=10;continue}b=11;continue;case 10:return b=-1,new ge.ptr(m[0],new(Gt(Fr(m[0])))(function(e,t,r,n,i,o){return function(){return Er(o[0],t[0][n[0]])}}(0,o,0,e,0,m),function(e,t,r,n,i,o){return function(e){t[0][n[0]]=Sr(o[0],e)}}(0,o,0,e,0,m)),c);case 11:n=rr(m[0],Er(m[0],o[0][e[0]]),c),b=12;case 12:if(k&&(k=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return b=-1,n;case 4:return d=g.ptr.$get(),(e[0]<0||e[0]>=d.length)&&vt(new Te("reflect: string index out of range")),l=((8|new be(g.flag).ro())>>>0|128)>>>0,a[0]=d.charCodeAt(e[0]),b=-1,new ge.ptr(qt,a.$ptr||(a.$ptr=new Ge((function(){return this.$target[0]}),(function(e){this.$target[0]=e}),a)),l);case 5:vt(new ve.ptr("reflect.Value.Index",u));case 6:case 1:return b=-1,new ge.ptr(Pe.nil,0,0)}return}return void 0===y&&(y={$blk:ge.ptr.prototype.Index}),y._1=t,y._r=r,y._r$1=n,y.a=i,y.a$1=o,y.c=a,y.fl=s,y.fl$1=c,y.fl$2=l,y.i=e,y.k=u,y.s=p,y.str=d,y.tt=f,y.tt$1=h,y.typ=$,y.typ$1=m,y.v=g,y.$s=b,y.$r=v,y},ge.prototype.Index=function(e){return this.$val.Index(e)},ge.ptr.prototype.InterfaceData=function(){vt(r.New("InterfaceData is not supported by GopherJS"))},ge.prototype.InterfaceData=function(){return this.$val.InterfaceData()},ge.ptr.prototype.IsNil=function(){var e,t,r;return 22===(e=t=new be((r=this).flag).kind())||23===e?E(r,ge).object()===Gt(r.typ).nil:18===e?E(r,ge).object()===He:19===e?E(r,ge).object()===l:21===e?!1===E(r,ge).object():20===e?E(r,ge).object()===Ze:26===e?0===E(r,ge).object():void vt(new ve.ptr("reflect.Value.IsNil",t))},ge.prototype.IsNil=function(){return this.$val.IsNil()},ge.ptr.prototype.Len=function(){var e,t,r;return 17===(e=t=new be((r=this).flag).kind())||24===e?B(E(r,ge).object().length):23===e?B(E(r,ge).object().$length)>>0:18===e?B(E(r,ge).object().$buffer.length)>>0:21===e?B(s(E(r,ge).object()).length):void vt(new ve.ptr("reflect.Value.Len",t))},ge.prototype.Len=function(){return this.$val.Len()},ge.ptr.prototype.Pointer=function(){var e,t,r;return 18===(e=t=new be((r=this).flag).kind())||21===e||22===e||26===e?E(r,ge).IsNil()?0:E(r,ge).object():19===e?E(r,ge).IsNil()?0:1:23===e?E(r,ge).IsNil()?0:E(r,ge).object().$array:void vt(new ve.ptr("reflect.Value.Pointer",t))},ge.prototype.Pointer=function(){return this.$val.Pointer()},ge.ptr.prototype.Set=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._1,r=s._r,n=s._r$1,i=s.v,e=s.x,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:new be((i=this).flag).mustBeAssignable(),new be(e.flag).mustBeExported(),r=E(e,ge).assignTo("reflect.Set",i.typ,0),o=1;case 1:if(c&&(c=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(e=r,(128&i.flag)>>>0!=0){o=2;continue}o=3;continue;case 2:if(17===(t=i.typ.Kind())){o=5;continue}if(20===t){o=6;continue}if(25===t){o=7;continue}o=8;continue;case 5:Gt(i.typ).copy(i.ptr,e.ptr),o=9;continue;case 6:n=wr(E(e,ge),!1),o=10;case 10:if(c&&(c=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;i.ptr.$set(n),o=9;continue;case 7:tr(i.ptr,e.ptr,i.typ),o=9;continue;case 8:i.ptr.$set(E(e,ge).object());case 9:case 4:return void(o=-1);case 3:return i.ptr=e.ptr,void(o=-1)}return}return void 0===s&&(s={$blk:ge.ptr.prototype.Set}),s._1=t,s._r=r,s._r$1=n,s.v=i,s.x=e,s.$s=o,s.$r=a,s},ge.prototype.Set=function(e){return this.$val.Set(e)},ge.ptr.prototype.SetBytes=function(e){var t,r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,t=(l=this)._r,r=l._r$1,n=l._v,i=l.slice,o=l.typedSlice,a=l.v,e=l.x,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:new be((a=this).flag).mustBeAssignable(),new be(a.flag).mustBe(23),t=a.typ.Elem().Kind(),s=3;case 3:if(u&&(u=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(8!==t){s=1;continue}s=2;continue;case 1:vt(new Te("reflect.Value.SetBytes of non-byte slice"));case 2:if(i=e,""!==a.typ.Name()){n=!0,s=6;continue e}r=a.typ.Elem().Name(),s=7;case 7:if(u&&(u=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;n=!(""===r);case 6:if(n){s=4;continue}s=5;continue;case 4:(o=new(Gt(a.typ))(i.$array)).$offset=i.$offset,o.$length=i.$length,o.$capacity=i.$capacity,i=o;case 5:return a.ptr.$set(i),void(s=-1)}return}return void 0===l&&(l={$blk:ge.ptr.prototype.SetBytes}),l._r=t,l._r$1=r,l._v=n,l.slice=i,l.typedSlice=o,l.v=a,l.x=e,l.$s=s,l.$r=c,l},ge.prototype.SetBytes=function(e){return this.$val.SetBytes(e)},ge.ptr.prototype.SetCap=function(e){var t,r,n;new be((n=this).flag).mustBeAssignable(),new be(n.flag).mustBe(23),r=n.ptr.$get(),(e<B(r.$length)>>0||e>B(r.$capacity)>>0)&&vt(new Te("reflect: slice capacity out of range in SetCap")),(t=new(Gt(n.typ))(r.$array)).$offset=r.$offset,t.$length=r.$length,t.$capacity=e,n.ptr.$set(t)},ge.prototype.SetCap=function(e){return this.$val.SetCap(e)},ge.ptr.prototype.SetLen=function(e){var t,r,n;new be((n=this).flag).mustBeAssignable(),new be(n.flag).mustBe(23),r=n.ptr.$get(),(e<0||e>B(r.$capacity)>>0)&&vt(new Te("reflect: slice length out of range in SetLen")),(t=new(Gt(n.typ))(r.$array)).$offset=r.$offset,t.$length=e,t.$capacity=r.$capacity,n.ptr.$set(t)},ge.prototype.SetLen=function(e){return this.$val.SetLen(e)},ge.ptr.prototype.Slice=function(e,t){var r,n,i,o,a,s,c,l,u,p,d,$;d=0;var m,g=!1;void 0!==this&&void 0!==this.$blk&&(g=!0,r=(m=this)._1,n=m._r,i=m._r$1,o=m.cap,e=m.i,t=m.j,a=m.kind,s=m.s,c=m.str,l=m.tt,u=m.typ,p=m.v,d=m.$s,$=m.$r);e:for(;1;){switch(d){case 0:if(o=0,u=Ze,s=null,17===(r=a=new be((p=this).flag).kind())){d=2;continue}if(23===r){d=3;continue}if(24===r){d=4;continue}d=5;continue;case 2:(256&p.flag)>>>0==0&&vt(new Te("reflect.Value.Slice: slice of unaddressable array")),o=(l=p.typ.kindType).len>>0,u=sr(l.elem),s=new(Gt(u))(E(p,ge).object()),d=6;continue;case 3:u=p.typ,s=E(p,ge).object(),o=B(s.$capacity)>>0,d=6;continue;case 4:c=p.ptr.$get(),(e<0||t<e||t>c.length)&&vt(new Te("reflect.Value.Slice: string slice index out of bounds")),n=or(new Te(h(c,e,t))),d=7;case 7:if(g&&(g=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return d=-1,n;case 5:vt(new ve.ptr("reflect.Value.Slice",a));case 6:case 1:(e<0||t<e||t>o)&&vt(new Te("reflect.Value.Slice: slice index out of bounds")),i=rr(u,f(s,e,t),new be(p.flag).ro()),d=8;case 8:if(g&&(g=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return d=-1,i}return}return void 0===m&&(m={$blk:ge.ptr.prototype.Slice}),m._1=r,m._r=n,m._r$1=i,m.cap=o,m.i=e,m.j=t,m.kind=a,m.s=s,m.str=c,m.tt=l,m.typ=u,m.v=p,m.$s=d,m.$r=$,m},ge.prototype.Slice=function(e,t){return this.$val.Slice(e,t)},ge.ptr.prototype.Slice3=function(e,t,r){var n,i,o,a,s,c,l,u,p,d;p=0;var h,$=!1;void 0!==this&&void 0!==this.$blk&&($=!0,n=(h=this)._1,i=h._r,o=h.cap,e=h.i,t=h.j,r=h.k,a=h.kind,s=h.s,c=h.tt,l=h.typ,u=h.v,p=h.$s,d=h.$r);e:for(;1;){switch(p){case 0:o=0,l=Ze,s=null,17===(n=a=new be((u=this).flag).kind())?((256&u.flag)>>>0==0&&vt(new Te("reflect.Value.Slice: slice of unaddressable array")),o=(c=u.typ.kindType).len>>0,l=sr(c.elem),s=new(Gt(l))(E(u,ge).object())):23===n?(l=u.typ,s=E(u,ge).object(),o=B(s.$capacity)>>0):vt(new ve.ptr("reflect.Value.Slice3",a)),(e<0||t<e||r<t||r>o)&&vt(new Te("reflect.Value.Slice3: slice index out of bounds")),i=rr(l,f(s,e,t,r),new be(u.flag).ro()),p=1;case 1:if($&&($=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return p=-1,i}return}return void 0===h&&(h={$blk:ge.ptr.prototype.Slice3}),h._1=n,h._r=i,h.cap=o,h.i=e,h.j=t,h.k=r,h.kind=a,h.s=s,h.tt=c,h.typ=l,h.v=u,h.$s=p,h.$r=d,h},ge.prototype.Slice3=function(e,t,r){return this.$val.Slice3(e,t,r)},ge.ptr.prototype.Close=function(){new be(this.flag).mustBe(18),new be(this.flag).mustBeExported(),function(e){for(e.$closed&&i("close of closed channel"),e.$closed=!0;1;){var t=e.$sendQueue.shift();if(void 0===t)break;t(!0)}for(;1;){var r=e.$recvQueue.shift();if(void 0===r)break;r([e.$elem.zero(),!1])}}(E(this,ge).object())},ge.prototype.Close=function(){return this.$val.Close()},Pr=function(e,t,r){var n,i,o,a,s,c,l,u,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,n=($=this)._r,i=$._tmp,o=$._tmp$1,a=$._tmp$2,s=$._tmp$3,e=$.ch,c=$.comms,t=$.nb,l=$.received,u=$.recvRes,p=$.selectRes,d=$.selected,r=$.val,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:d=!1,l=!1,c=new $t([new it([e])]),t&&(c=D(c,new it([]))),n=Ut(new Me([c])),f=1;case 1:if(m&&(m=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return p=n,t&&B(p[0])>>0==1?(f=-1,[d=i=!1,l=o=!1]):(u=p[1],r.$set(u[0]),f=-1,[d=a=!0,l=s=!!u[1]])}return}return void 0===$&&($={$blk:Pr}),$._r=n,$._tmp=i,$._tmp$1=o,$._tmp$2=a,$._tmp$3=s,$.ch=e,$.comms=c,$.nb=t,$.received=l,$.recvRes=u,$.selectRes=p,$.selected=d,$.val=r,$.$s=f,$.$r=h,$},Cr=function(e,t,r){var n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,n=(c=this)._r,e=c.ch,i=c.comms,r=c.nb,o=c.selectRes,t=c.val,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:i=new $t([new it([e,t.$get()])]),r&&(i=D(i,new it([]))),n=Ut(new Me([i])),a=1;case 1:if(l&&(l=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return o=n,r&&B(o[0])>>0==1?(a=-1,!1):(a=-1,!0)}return}return void 0===c&&(c={$blk:Cr}),c._r=n,c.ch=e,c.comms=i,c.nb=r,c.selectRes=o,c.val=t,c.$s=a,c.$r=s,c},Or=function(e,t,r){var n,o,a,s,c,l,u,p,d;return n=Pe.nil,u=mt.nil,c="",20===t.typ.Kind()?(p=t.typ.kindType,(r<0||r>=p.methods.$length)&&vt(new Te("reflect: internal error: invalid method index")),d=p.methods,o=r<0||r>=d.$length?void i("index out of range"):d.$array[d.$offset+r],E(p.rtype.nameOff(o.name),C).isExported()||vt(new Te("reflect: "+e+" of unexported method")),u=p.rtype.typeOff(o.typ).kindType,c=E(p.rtype.nameOff(o.name),C).name()):(r>>>0>=(s=t.typ.exportedMethods()).$length>>>0&&vt(new Te("reflect: internal error: invalid method index")),a=E(r<0||r>=s.$length?void i("index out of range"):s.$array[s.$offset+r],H),E(t.typ.nameOff(a.name),C).isExported()||vt(new Te("reflect: "+e+" of unexported method")),u=t.typ.typeOff(a.mtyp).kindType,c=Nt(ke(Gt(t.typ))[r].prop,Te)),l=E(t,ge).object(),er(t.typ)&&(l=new(Gt(t.typ))(l)),[n,u,l[It(c,Te)]]},ge.ptr.prototype.call=function(e,r){var n,o,a,s,c,l,u,p,d,h,$,m,g,b,v,y,k,w,x,S,D,P,C,O,F,R,B,A,I,j,N,T,L,M,W,z,U,V,q,H,G,K,X,J,Z,Y,Q,ee,te,re,ne,ie,oe,ae,se,ce,le,ue;le=0;var pe,de=!1;void 0!==this&&void 0!==this.$blk&&(de=!0,n=(pe=this)._1,o=pe._arg,a=pe._arg$1,s=pe._arg$2,c=pe._arg$3,l=pe._i,u=pe._i$1,p=pe._i$2,d=pe._r,h=pe._r$1,$=pe._r$10,m=pe._r$11,g=pe._r$12,b=pe._r$13,v=pe._r$14,y=pe._r$15,k=pe._r$2,w=pe._r$3,x=pe._r$4,S=pe._r$5,D=pe._r$6,P=pe._r$7,C=pe._r$8,O=pe._r$9,F=pe._ref,R=pe._ref$1,B=pe._ref$2,A=pe._tmp,I=pe._tmp$1,j=pe._tuple,N=pe.arg,T=pe.argsArray,L=pe.elem,M=pe.fn,W=pe.i,z=pe.i$1,U=pe.i$2,V=pe.i$3,r=pe.in$1,q=pe.isSlice,H=pe.m,G=pe.n,K=pe.nin,X=pe.nout,e=pe.op,J=pe.origIn,Z=pe.rcvr,Y=pe.results,Q=pe.ret,ee=pe.slice,te=pe.t,re=pe.targ,ne=pe.v,ie=pe.x,oe=pe.x$1,ae=pe.x$2,se=pe.xt,ce=pe.xt$1,le=pe.$s,ue=pe.$r);e:for(;1;){switch(le){case 0:for(ne=this,te=mt.nil,M=0,Z=null,(512&ne.flag)>>>0!=0?(te=(j=Or(e,E(ne,ge),ne.flag>>0>>10>>0))[1],M=j[2],Z=E(ne,ge).object(),er(ne.typ)&&(Z=new(Gt(ne.typ))(Z))):(te=ne.typ.kindType,M=E(ne,ge).object(),Z=void 0),0===M&&vt(new Te("reflect.Value.Call: call of nil function")),q="CallSlice"===e,G=te.rtype.NumIn(),q?(te.rtype.IsVariadic()||vt(new Te("reflect: CallSlice of non-variadic function")),r.$length<G&&vt(new Te("reflect: CallSlice with too few input arguments")),r.$length>G&&vt(new Te("reflect: CallSlice with too many input arguments"))):(te.rtype.IsVariadic()&&(G=G-1>>0),r.$length<G&&vt(new Te("reflect: Call with too few input arguments")),!te.rtype.IsVariadic()&&r.$length>G&&vt(new Te("reflect: Call with too many input arguments"))),F=r,l=0;1&&l<F.$length;)ie=l<0||l>=F.$length?void i("index out of range"):F.$array[F.$offset+l],0===E(ie,ge).Kind()&&vt(new Te("reflect: "+e+" using zero Value argument")),l++;W=0;case 1:if(!(W<G)){le=2;continue}A=E(W<0||W>=r.$length?void i("index out of range"):r.$array[r.$offset+W],ge).Type(),re=I=te.rtype.In(W),d=(se=A).AssignableTo(re),le=5;case 5:if(de&&(de=!1,d=d.$blk()),d&&void 0!==d.$blk)break e;if(!d){le=3;continue}le=4;continue;case 3:h=se.String(),le=6;case 6:if(de&&(de=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;k=re.String(),le=7;case 7:if(de&&(de=!1,k=k.$blk()),k&&void 0!==k.$blk)break e;vt(new Te("reflect: "+e+" using "+h+" as type "+k));case 4:W=W+1>>0,le=1;continue;case 2:if(!q&&te.rtype.IsVariadic()){le=8;continue}le=9;continue;case 8:H=r.$length-G>>0,w=nr(te.rtype.In(G),H,H),le=10;case 10:if(de&&(de=!1,w=w.$blk()),w&&void 0!==w.$blk)break e;ee=w,x=te.rtype.In(G).Elem(),le=11;case 11:if(de&&(de=!1,x=x.$blk()),x&&void 0!==x.$blk)break e;L=x,z=0;case 12:if(!(z<H)){le=13;continue}ae=(oe=G+z>>0)<0||oe>=r.$length?void i("index out of range"):r.$array[r.$offset+oe],S=(ce=E(ae,ge).Type()).AssignableTo(L),le=16;case 16:if(de&&(de=!1,S=S.$blk()),S&&void 0!==S.$blk)break e;if(!S){le=14;continue}le=15;continue;case 14:D=ce.String(),le=17;case 17:if(de&&(de=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;P=L.String(),le=18;case 18:if(de&&(de=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;vt(new Te("reflect: cannot use "+D+" as type "+P+" in "+e));case 15:C=E(ee,ge).Index(z),le=19;case 19:if(de&&(de=!1,C=C.$blk()),C&&void 0!==C.$blk)break e;ue=E(C,ge).Set(E(ae,ge)),le=20;case 20:if(de&&(de=!1,ue=ue.$blk()),ue&&void 0!==ue.$blk)break e;z=z+1>>0,le=12;continue;case 13:J=r,r=pt(ot,G+1>>0),_(f(r,0,G),J),G<0||G>=r.$length?i("index out of range"):r.$array[r.$offset+G]=ee;case 9:(K=r.$length)!==te.rtype.NumIn()&&vt(new Te("reflect.Value.Call: wrong argument count")),X=te.rtype.NumOut(),T=new t.Array(te.rtype.NumIn()),R=r,u=0;case 21:if(!(u<R.$length)){le=22;continue}U=u,N=u<0||u>=R.$length?void i("index out of range"):R.$array[R.$offset+u],o=te.rtype.In(U),O=te.rtype.In(U).common(),le=23;case 23:if(de&&(de=!1,O=O.$blk()),O&&void 0!==O.$blk)break e;a=O,s=0,$=E(N,ge).assignTo("reflect.Value.Call",a,s),le=24;case 24:if(de&&(de=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;m=E($,ge).object(),le=25;case 25:if(de&&(de=!1,m=m.$blk()),m&&void 0!==m.$blk)break e;g=Sr(o,c=m),le=26;case 26:if(de&&(de=!1,g=g.$blk()),g&&void 0!==g.$blk)break e;T[U]=g,u++,le=21;continue;case 22:b=Wt(new Me([new et(M),new et(Z),new et(T)])),le=27;case 27:if(de&&(de=!1,b=b.$blk()),b&&void 0!==b.$blk)break e;if(Y=b,0===(n=X)){le=29;continue}if(1===n){le=30;continue}le=31;continue;case 29:return le=-1,ot.nil;case 30:v=rr(te.rtype.Out(0),Er(te.rtype.Out(0),Y),0),le=33;case 33:if(de&&(de=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;return le=-1,new ot([E(v,ge)]);case 31:B=Q=pt(ot,X),p=0;case 34:if(!(p<B.$length)){le=35;continue}V=p,y=rr(te.rtype.Out(V),Er(te.rtype.Out(V),Y[V]),0),le=36;case 36:if(de&&(de=!1,y=y.$blk()),y&&void 0!==y.$blk)break e;V<0||V>=Q.$length?i("index out of range"):Q.$array[Q.$offset+V]=y,p++,le=34;continue;case 35:return le=-1,Q;case 32:case 28:return le=-1,ot.nil}return}return void 0===pe&&(pe={$blk:ge.ptr.prototype.call}),pe._1=n,pe._arg=o,pe._arg$1=a,pe._arg$2=s,pe._arg$3=c,pe._i=l,pe._i$1=u,pe._i$2=p,pe._r=d,pe._r$1=h,pe._r$10=$,pe._r$11=m,pe._r$12=g,pe._r$13=b,pe._r$14=v,pe._r$15=y,pe._r$2=k,pe._r$3=w,pe._r$4=x,pe._r$5=S,pe._r$6=D,pe._r$7=P,pe._r$8=C,pe._r$9=O,pe._ref=F,pe._ref$1=R,pe._ref$2=B,pe._tmp=A,pe._tmp$1=I,pe._tuple=j,pe.arg=N,pe.argsArray=T,pe.elem=L,pe.fn=M,pe.i=W,pe.i$1=z,pe.i$2=U,pe.i$3=V,pe.in$1=r,pe.isSlice=q,pe.m=H,pe.n=G,pe.nin=K,pe.nout=X,pe.op=e,pe.origIn=J,pe.rcvr=Z,pe.results=Y,pe.ret=Q,pe.slice=ee,pe.t=te,pe.targ=re,pe.v=ne,pe.x=ie,pe.x$1=oe,pe.x$2=ae,pe.xt=se,pe.xt$1=ce,pe.$s=le,pe.$r=ue,pe},ge.prototype.call=function(e,t){return this.$val.call(e,t)},oe.ptr.prototype.offset=function(){return this.offsetEmbed>>>1>>>0},oe.prototype.offset=function(){return this.$val.offset()},oe.ptr.prototype.embedded=function(){return!((1&this.offsetEmbed)>>>0==0)},oe.prototype.embedded=function(){return this.$val.embedded()},W.prototype.String=function(){var e;return(e=this.$val)>>0<Vt.$length?e<0||e>=Vt.$length?void i("index out of range"):Vt.$array[Vt.$offset+e]:"kind"+p.Itoa(e>>0)},st(W).prototype.String=function(){return new W(this.$get()).String()},U.ptr.prototype.String=function(){var e,t;return e=E((t=this).nameOff(t.str),C).name(),(2&t.tflag)>>>0!=0?h(e,1):e},U.prototype.String=function(){return this.$val.String()},U.ptr.prototype.Size=function(){return this.size},U.prototype.Size=function(){return this.$val.Size()},U.ptr.prototype.Bits=function(){var e,t;return(t=this)===Pe.nil&&vt(new Te("reflect: Bits of nil Type")),((e=t.Kind())<2||e>16)&&vt(new Te("reflect: Bits of non-arithmetic Type "+t.String())),j(t.size>>0,8)},U.prototype.Bits=function(){return this.$val.Bits()},U.ptr.prototype.Align=function(){return this.align>>0},U.prototype.Align=function(){return this.$val.Align()},U.ptr.prototype.FieldAlign=function(){return this.fieldAlign>>0},U.prototype.FieldAlign=function(){return this.$val.FieldAlign()},U.ptr.prototype.Kind=function(){return(31&this.kind)>>>0>>>0},U.prototype.Kind=function(){return this.$val.Kind()},U.ptr.prototype.common=function(){return this},U.prototype.common=function(){return this.$val.common()},U.ptr.prototype.exportedMethods=function(){var e;return(e=this.uncommon())===tt.nil?Xe.nil:e.exportedMethods()},U.prototype.exportedMethods=function(){return this.$val.exportedMethods()},U.ptr.prototype.NumMethod=function(){var e;return 20===(e=this).Kind()?e.kindType.NumMethod():e.exportedMethods().$length},U.prototype.NumMethod=function(){return this.$val.NumMethod()},U.ptr.prototype.MethodByName=function(e){var t,r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y;v=0;var k,w=!1;void 0!==this&&void 0!==this.$blk&&(w=!0,t=(k=this)._i,r=k._r,n=k._ref,o=k._tmp,a=k._tmp$1,s=k._tmp$2,c=k._tmp$3,l=k._tmp$4,u=k._tmp$5,p=k._tuple,d=k.i,f=k.m,e=k.name$1,h=k.ok,$=k.p,m=k.t,g=k.tt,b=k.ut,v=k.$s,y=k.$r);e:for(;1;){switch(v){case 0:if(f=new se.ptr("","",Ze,new ge.ptr(Pe.nil,0,0),0),h=!1,20===(m=this).Kind())return p=(g=m.kindType).MethodByName(e),se.copy(f,p[0]),v=-1,[f,h=p[1]];if((b=m.uncommon())===tt.nil)return o=new se.ptr("","",Ze,new ge.ptr(Pe.nil,0,0),0),a=!1,se.copy(f,o),v=-1,[f,h=a];n=b.exportedMethods(),t=0;case 1:if(!(t<n.$length)){v=2;continue}if(d=t,$=E(t<0||t>=n.$length?void i("index out of range"):n.$array[n.$offset+t],H),E(m.nameOff($.name),C).name()===e){v=3;continue}v=4;continue;case 3:r=m.Method(d),v=5;case 5:if(w&&(w=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return s=E(r,se),c=!0,se.copy(f,s),v=-1,[f,h=c];case 4:t++,v=1;continue;case 2:return l=new se.ptr("","",Ze,new ge.ptr(Pe.nil,0,0),0),u=!1,se.copy(f,l),v=-1,[f,h=u]}return}return void 0===k&&(k={$blk:U.ptr.prototype.MethodByName}),k._i=t,k._r=r,k._ref=n,k._tmp=o,k._tmp$1=a,k._tmp$2=s,k._tmp$3=c,k._tmp$4=l,k._tmp$5=u,k._tuple=p,k.i=d,k.m=f,k.name$1=e,k.ok=h,k.p=$,k.t=m,k.tt=g,k.ut=b,k.$s=v,k.$r=y,k},U.prototype.MethodByName=function(e){return this.$val.MethodByName(e)},U.ptr.prototype.PkgPath=function(){var e;return(4&this.tflag)>>>0==0||(e=this.uncommon())===tt.nil?"":E(this.nameOff(e.pkgPath),C).name()},U.prototype.PkgPath=function(){return this.$val.PkgPath()},U.ptr.prototype.Name=function(){var e,t;if((4&this.tflag)>>>0==0)return"";for(e=(t=this.String()).length-1>>0;1&&e>=0&&46!==t.charCodeAt(e);)e=e-1>>0;return h(t,e+1>>0)},U.prototype.Name=function(){return this.$val.Name()},U.ptr.prototype.ChanDir=function(){return 18!==this.Kind()&&vt(new Te("reflect: ChanDir of non-chan type")),this.kindType.dir>>0},U.prototype.ChanDir=function(){return this.$val.ChanDir()},U.ptr.prototype.IsVariadic=function(){return 19!==this.Kind()&&vt(new Te("reflect: IsVariadic of non-func type")),!((32768&this.kindType.outCount)>>>0==0)},U.prototype.IsVariadic=function(){return this.$val.IsVariadic()},U.ptr.prototype.Elem=function(){var e,t,r,n,i,o,a;return 17===(e=(t=this).Kind())?(r=t.kindType,jr(r.elem)):18===e?(n=t.kindType,jr(n.elem)):21===e?(i=t.kindType,jr(i.elem)):22===e?(o=t.kindType,jr(o.elem)):23===e?(a=t.kindType,jr(a.elem)):void vt(new Te("reflect: Elem of invalid type"))},U.prototype.Elem=function(){return this.$val.Elem()},U.ptr.prototype.Field=function(e){return 25!==this.Kind()&&vt(new Te("reflect: Field of non-struct type")),this.kindType.Field(e)},U.prototype.Field=function(e){return this.$val.Field(e)},U.ptr.prototype.FieldByIndex=function(e){var t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,t=(a=this)._r,e=a.index,r=a.t,n=a.tt,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:25!==(r=this).Kind()&&vt(new Te("reflect: FieldByIndex of non-struct type")),t=(n=r.kindType).FieldByIndex(e),i=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=-1,t}return}return void 0===a&&(a={$blk:U.ptr.prototype.FieldByIndex}),a._r=t,a.index=e,a.t=r,a.tt=n,a.$s=i,a.$r=o,a},U.prototype.FieldByIndex=function(e){return this.$val.FieldByIndex(e)},U.ptr.prototype.FieldByName=function(e){var t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,t=(a=this)._r,e=a.name$1,r=a.t,n=a.tt,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:25!==(r=this).Kind()&&vt(new Te("reflect: FieldByName of non-struct type")),t=(n=r.kindType).FieldByName(e),i=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=-1,t}return}return void 0===a&&(a={$blk:U.ptr.prototype.FieldByName}),a._r=t,a.name$1=e,a.t=r,a.tt=n,a.$s=i,a.$r=o,a},U.prototype.FieldByName=function(e){return this.$val.FieldByName(e)},U.ptr.prototype.FieldByNameFunc=function(e){var t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,t=(a=this)._r,e=a.match,r=a.t,n=a.tt,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:25!==(r=this).Kind()&&vt(new Te("reflect: FieldByNameFunc of non-struct type")),t=(n=r.kindType).FieldByNameFunc(e),i=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=-1,t}return}return void 0===a&&(a={$blk:U.ptr.prototype.FieldByNameFunc}),a._r=t,a.match=e,a.t=r,a.tt=n,a.$s=i,a.$r=o,a},U.prototype.FieldByNameFunc=function(e){return this.$val.FieldByNameFunc(e)},U.ptr.prototype.In=function(e){var t,r;return 19!==this.Kind()&&vt(new Te("reflect: In of non-func type")),t=this.kindType,jr((r=t.in$(),e<0||e>=r.$length?void i("index out of range"):r.$array[r.$offset+e]))},U.prototype.In=function(e){return this.$val.In(e)},U.ptr.prototype.Key=function(){var e;return 21!==this.Kind()&&vt(new Te("reflect: Key of non-map type")),e=this.kindType,jr(e.key)},U.prototype.Key=function(){return this.$val.Key()},U.ptr.prototype.Len=function(){return 17!==this.Kind()&&vt(new Te("reflect: Len of non-array type")),this.kindType.len>>0},U.prototype.Len=function(){return this.$val.Len()},U.ptr.prototype.NumField=function(){return 25!==this.Kind()&&vt(new Te("reflect: NumField of non-struct type")),this.kindType.fields.$length},U.prototype.NumField=function(){return this.$val.NumField()},U.ptr.prototype.NumIn=function(){return 19!==this.Kind()&&vt(new Te("reflect: NumIn of non-func type")),this.kindType.inCount>>0},U.prototype.NumIn=function(){return this.$val.NumIn()},U.ptr.prototype.NumOut=function(){return 19!==this.Kind()&&vt(new Te("reflect: NumOut of non-func type")),this.kindType.out().$length},U.prototype.NumOut=function(){return this.$val.NumOut()},U.ptr.prototype.Out=function(e){var t,r;return 19!==this.Kind()&&vt(new Te("reflect: Out of non-func type")),t=this.kindType,jr((r=t.out(),e<0||e>=r.$length?void i("index out of range"):r.$array[r.$offset+e]))},U.prototype.Out=function(e){return this.$val.Out(e)},K.prototype.String=function(){var e,t;return 2===(e=t=this.$val)?"chan<-":1===e?"<-chan":3===e?"chan":"ChanDir"+p.Itoa(t>>0)},st(K).prototype.String=function(){return new K(this.$get()).String()},te.ptr.prototype.Method=function(e){var t,r,n,o,a;return t=new se.ptr("","",Ze,new ge.ptr(Pe.nil,0,0),0),o=this,e<0||e>=o.methods.$length||(a=o.methods,r=e<0||e>=a.$length?void i("index out of range"):a.$array[a.$offset+e],n=E(o.rtype.nameOff(r.name),C),t.Name=E(n,C).name(),E(n,C).isExported()||(t.PkgPath=E(n,C).pkgPath(),""===t.PkgPath&&(t.PkgPath=E(o.pkgPath,C).name())),t.Type=jr(o.rtype.typeOff(r.typ)),t.Index=e),t},te.prototype.Method=function(e){return this.$val.Method(e)},te.ptr.prototype.NumMethod=function(){return this.methods.$length},te.prototype.NumMethod=function(){return this.$val.NumMethod()},te.ptr.prototype.MethodByName=function(e){var t,r,n,o,a,s,c,l,u,p;if(s=new se.ptr("","",Ze,new ge.ptr(Pe.nil,0,0),0),c=!1,(u=this)===gt.nil)return[s,c];for(l=bt.nil,r=u.methods,t=0;1&&t<r.$length;){if(a=t,p=u.methods,l=a<0||a>=p.$length?void i("index out of range"):p.$array[p.$offset+a],E(u.rtype.nameOff(l.name),C).name()===e)return n=E(u.Method(a),se),o=!0,se.copy(s,n),[s,c=o];t++}return[s,c]},te.prototype.MethodByName=function(e){return this.$val.MethodByName(e)},$e.prototype.Get=function(e){var t;return t=this.$val,new $e(t).Lookup(e)[0]},st($e).prototype.Get=function(e){return new $e(this.$get()).Get(e)},$e.prototype.Lookup=function(e){var t,r,n,i,o,a,s;for(a=this.$val;1&&""!==a;){for(n=0;1&&n<a.length&&32===a.charCodeAt(n);)n=n+1>>0;if(""===(a=h(a,n)))break;for(n=0;1&&n<a.length&&a.charCodeAt(n)>32&&58!==a.charCodeAt(n)&&34!==a.charCodeAt(n)&&127!==a.charCodeAt(n);)n=n+1>>0;if(0===n||n+1>>0>=a.length||58!==a.charCodeAt(n)||34!==a.charCodeAt(n+1>>0))break;for(i=h(a,0,n),a=h(a,n+1>>0),n=1;1&&n<a.length&&34!==a.charCodeAt(n);)92===a.charCodeAt(n)&&(n=n+1>>0),n=n+1>>0;if(n>=a.length)break;if(o=h(a,0,n+1>>0),a=h(a,n+1>>0),e===i){if(s=(t=p.Unquote(o))[0],r=t[1],!F(r,Ze))break;return[s,!0]}}return["",!1]},st($e).prototype.Lookup=function(e){return new $e(this.$get()).Lookup(e)},ae.ptr.prototype.Field=function(e){var t,r,n,o,a;return t=new he.ptr("","",Ze,"",0,yt.nil,!1),n=this,(e<0||e>=n.fields.$length)&&vt(new Te("reflect: Field index out of bounds")),a=n.fields,r=e<0||e>=a.$length?void i("index out of range"):a.$array[a.$offset+e],t.Type=jr(r.typ),t.Name=E(r.name,C).name(),t.Anonymous=r.embedded(),E(r.name,C).isExported()||(t.PkgPath=E(n.pkgPath,C).name()),""!==(o=E(r.name,C).tag())&&(t.Tag=o),t.Offset=r.offset(),t.Index=new yt([e]),t},ae.prototype.Field=function(e){return this.$val.Field(e)},ae.ptr.prototype.FieldByIndex=function(e){var t,r,n,o,a,s,c,l,u,p,d,f,h,$,m;$=0;var g,b=!1;void 0!==this&&void 0!==this.$blk&&(b=!0,t=(g=this)._i,r=g._r,n=g._r$1,o=g._r$2,a=g._r$3,s=g._r$4,c=g._ref,l=g._v,u=g.f,p=g.ft,d=g.i,e=g.index,f=g.t,h=g.x,$=g.$s,m=g.$r);e:for(;1;){switch($){case 0:f=this,(u=new he.ptr("","",Ze,"",0,yt.nil,!1)).Type=jr(f.rtype),c=e,t=0;case 1:if(!(t<c.$length)){$=2;continue}if(d=t,h=t<0||t>=c.$length?void i("index out of range"):c.$array[c.$offset+t],d>0){$=3;continue}$=4;continue;case 3:r=(p=u.Type).Kind(),$=8;case 8:if(b&&(b=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(22!==r){l=!1,$=7;continue e}n=p.Elem(),$=9;case 9:if(b&&(b=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;o=n.Kind(),$=10;case 10:if(b&&(b=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;l=25===o;case 7:if(l){$=5;continue}$=6;continue;case 5:a=p.Elem(),$=11;case 11:if(b&&(b=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;p=a;case 6:u.Type=p;case 4:s=u.Type.Field(h),$=12;case 12:if(b&&(b=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;he.copy(u,s),t++,$=1;continue;case 2:return $=-1,u}return}return void 0===g&&(g={$blk:ae.ptr.prototype.FieldByIndex}),g._i=t,g._r=r,g._r$1=n,g._r$2=o,g._r$3=a,g._r$4=s,g._ref=c,g._v=l,g.f=u,g.ft=p,g.i=d,g.index=e,g.t=f,g.x=h,g.$s=$,g.$r=m,g},ae.prototype.FieldByIndex=function(e){return this.$val.FieldByIndex(e)},ae.ptr.prototype.FieldByNameFunc=function(e){var t,r,n,o,a,s,c,l,u,p,d,h,$,m,g,b,v,y,k,w,_,x,S,O,F,R,B,A,I,j,N,T,L,M,W,z,U;z=0;var V,q=!1;void 0!==this&&void 0!==this.$blk&&(q=!0,t=(V=this)._entry,r=V._entry$1,n=V._entry$2,o=V._entry$3,a=V._i,s=V._i$1,c=V._key,l=V._key$1,u=V._key$2,p=V._key$3,d=V._r,h=V._r$1,$=V._ref,m=V._ref$1,g=V._tmp,b=V._tmp$1,v=V._tmp$2,y=V._tmp$3,k=V.count,w=V.current,_=V.f,x=V.fname,S=V.i,O=V.index,e=V.match,F=V.next,R=V.nextCount,B=V.ntyp,A=V.ok,I=V.result,j=V.scan,N=V.styp,T=V.t,L=V.t$1,M=V.visited,W=V.x,z=V.$s,U=V.$r);e:for(;1;){switch(z){case 0:I=new he.ptr("","",Ze,"",0,yt.nil,!1),A=!1,T=this,w=new kt([]),F=new kt([new me.ptr(T,yt.nil)]),R=!1,M=at(wt.keyFor,[]);case 1:if(!(F.$length>0)){z=2;continue}g=F,F=b=f(w,0,0),k=R,R=!1,$=w=g,a=0;case 3:if(!(a<$.$length)){z=4;continue}if(L=(j=E(a<0||a>=$.$length?void i("index out of range"):$.$array[$.$offset+a],me)).typ,void 0!==(t=M[wt.keyFor(L)])&&t.v){z=5;continue}z=6;continue;case 5:a++,z=3;continue;case 6:c=L,(M||i("assignment to entry in nil map"))[wt.keyFor(c)]={k:c,v:!0},m=L.fields,s=0;case 7:if(!(s<m.$length)){z=8;continue}if(S=s,W=L.fields,_=S<0||S>=W.$length?void i("index out of range"):W.$array[W.$offset+S],x=E(_.name,C).name(),B=Pe.nil,_.embedded()){z=9;continue}z=10;continue;case 9:if(22===(B=_.typ).Kind()){z=11;continue}z=12;continue;case 11:d=B.Elem().common(),z=13;case 13:if(q&&(q=!1,d=d.$blk()),d&&void 0!==d.$blk)break e;B=d;case 12:case 10:h=e(x),z=16;case 16:if(q&&(q=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;if(h){z=14;continue}z=15;continue;case 14:if((void 0!==(r=k[wt.keyFor(L)])?r.v:0)>1||A)return v=new he.ptr("","",Ze,"",0,yt.nil,!1),y=!1,he.copy(I,v),z=-1,[I,A=y];he.copy(I,L.Field(S)),I.Index=yt.nil,I.Index=P(I.Index,j.index),I.Index=D(I.Index,S),A=!0,s++,z=7;continue;case 15:if(A||B===Pe.nil||25!==B.Kind()){s++,z=7;continue}if(N=B.kindType,(void 0!==(n=R[wt.keyFor(N)])?n.v:0)>0){l=N,(R||i("assignment to entry in nil map"))[wt.keyFor(l)]={k:l,v:2},s++,z=7;continue}!1===R&&(R=at(wt.keyFor,[])),u=N,(R||i("assignment to entry in nil map"))[wt.keyFor(u)]={k:u,v:1},(void 0!==(o=k[wt.keyFor(L)])?o.v:0)>1&&(p=N,(R||i("assignment to entry in nil map"))[wt.keyFor(p)]={k:p,v:2}),O=yt.nil,O=P(O,j.index),O=D(O,S),F=D(F,new me.ptr(N,O)),s++,z=7;continue;case 8:a++,z=3;continue;case 4:if(A){z=2;continue}z=1;continue;case 2:return z=-1,[I,A]}return}return void 0===V&&(V={$blk:ae.ptr.prototype.FieldByNameFunc}),V._entry=t,V._entry$1=r,V._entry$2=n,V._entry$3=o,V._i=a,V._i$1=s,V._key=c,V._key$1=l,V._key$2=u,V._key$3=p,V._r=d,V._r$1=h,V._ref=$,V._ref$1=m,V._tmp=g,V._tmp$1=b,V._tmp$2=v,V._tmp$3=y,V.count=k,V.current=w,V.f=_,V.fname=x,V.i=S,V.index=O,V.match=e,V.next=F,V.nextCount=R,V.ntyp=B,V.ok=A,V.result=I,V.scan=j,V.styp=N,V.t=T,V.t$1=L,V.visited=M,V.x=W,V.$s=z,V.$r=U,V},ae.prototype.FieldByNameFunc=function(e){return this.$val.FieldByNameFunc(e)},ae.ptr.prototype.FieldByName=function(e){var t,r,n,o,a,s,c,l,u,p,d,f,h,$,m;$=0;var g,b=!1;void 0!==this&&void 0!==this.$blk&&(b=!0,t=(g=this)._i,r=g._r,n=g._ref,o=g._tmp,a=g._tmp$1,s=g._tuple,c=g.f,l=g.hasEmbeds,u=g.i,e=g.name$1,p=g.present,d=g.t,f=g.tf,h=g.x,$=g.$s,m=g.$r);e:for(;1;){switch($){case 0:if(e=[e],c=new he.ptr("","",Ze,"",0,yt.nil,!1),p=!1,d=this,l=!1,""!==e[0])for(n=d.fields,t=0;1&&t<n.$length;){if(u=t,h=d.fields,f=u<0||u>=h.$length?void i("index out of range"):h.$array[h.$offset+u],E(f.name,C).name()===e[0])return o=E(d.Field(u),he),a=!0,he.copy(c,o),$=-1,[c,p=a];f.embedded()&&(l=!0),t++}if(!l)return $=-1,[c,p];r=d.FieldByNameFunc(function(e){return function(t){return t===e[0]}}(e)),$=1;case 1:if(b&&(b=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return s=r,he.copy(c,s[0]),$=-1,[c,p=s[1]]}return}return void 0===g&&(g={$blk:ae.ptr.prototype.FieldByName}),g._i=t,g._r=r,g._ref=n,g._tmp=o,g._tmp$1=a,g._tuple=s,g.f=c,g.hasEmbeds=l,g.i=u,g.name$1=e,g.present=p,g.t=d,g.tf=f,g.x=h,g.$s=$,g.$r=m,g},ae.prototype.FieldByName=function(e){return this.$val.FieldByName(e)},Fr=function(e){return ht(e,Pe).ptrTo()},un.PtrTo=Fr,U.ptr.prototype.Implements=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,r=o.t,e=o.u,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=this,F(e,Ze)&&vt(new Te("reflect: nil type passed to Type.Implements")),t=e.Kind(),n=3;case 3:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(20!==t){n=1;continue}n=2;continue;case 1:vt(new Te("reflect: non-interface type passed to Type.Implements"));case 2:return n=-1,Rr(ht(e,Pe),r)}return}return void 0===o&&(o={$blk:U.ptr.prototype.Implements}),o._r=t,o.t=r,o.u=e,o.$s=n,o.$r=i,o},U.prototype.Implements=function(e){return this.$val.Implements(e)},U.ptr.prototype.AssignableTo=function(e){var t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,t=(a=this)._r,r=a.t,e=a.u,n=a.uu,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:r=this,F(e,Ze)&&vt(new Te("reflect: nil type passed to Type.AssignableTo")),n=ht(e,Pe),t=Br(n,r),i=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=-1,t||Rr(n,r)}return}return void 0===a&&(a={$blk:U.ptr.prototype.AssignableTo}),a._r=t,a.t=r,a.u=e,a.uu=n,a.$s=i,a.$r=o,a},U.prototype.AssignableTo=function(e){return this.$val.AssignableTo(e)},U.ptr.prototype.ConvertibleTo=function(e){var t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,t=(a=this)._r,r=a.t,e=a.u,n=a.uu,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:r=this,F(e,Ze)&&vt(new Te("reflect: nil type passed to Type.ConvertibleTo")),n=ht(e,Pe),t=Wr(n,r),i=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=-1,!(t===l)}return}return void 0===a&&(a={$blk:U.ptr.prototype.ConvertibleTo}),a._r=t,a.t=r,a.u=e,a.uu=n,a.$s=i,a.$r=o,a},U.prototype.ConvertibleTo=function(e){return this.$val.ConvertibleTo(e)},Rr=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,S;if(20!==e.Kind())return!1;if(0===(s=e.kindType).methods.$length)return!0;if(20===t.Kind()){for(h=t.kindType,r=0,o=0;1&&o<h.methods.$length;){if(_=s.methods,c=r<0||r>=_.$length?void i("index out of range"):_.$array[_.$offset+r],u=E(s.rtype.nameOff(c.name),C),x=h.methods,m=o<0||o>=x.$length?void i("index out of range"):x.$array[x.$offset+o],b=E(t.nameOff(m.name),C),E(b,C).name()===E(u,C).name()&&t.typeOff(m.typ)===s.rtype.typeOff(c.typ)){if(!E(u,C).isExported()&&(""===(d=E(u,C).pkgPath())&&(d=E(s.pkgPath,C).name()),""===(y=E(b,C).pkgPath())&&(y=E(h.pkgPath,C).name()),d!==y)){o=o+1>>0;continue}if((r=r+1>>0)>=s.methods.$length)return!0}o=o+1>>0}return!1}if(($=t.uncommon())===tt.nil)return!1;for(n=0,w=$.methods(),a=0;1&&a<$.mcount>>0;){if(S=s.methods,l=n<0||n>=S.$length?void i("index out of range"):S.$array[S.$offset+n],p=E(s.rtype.nameOff(l.name),C),g=E(a<0||a>=w.$length?void i("index out of range"):w.$array[w.$offset+a],H),v=E(t.nameOff(g.name),C),E(v,C).name()===E(p,C).name()&&t.typeOff(g.mtyp)===s.rtype.typeOff(l.typ)){if(!E(p,C).isExported()&&(""===(f=E(p,C).pkgPath())&&(f=E(s.pkgPath,C).name()),""===(k=E(v,C).pkgPath())&&(k=E(t.nameOff($.pkgPath),C).name()),f!==k)){a=a+1>>0;continue}if((n=n+1>>0)>=s.methods.$length)return!0}a=a+1>>0}return!1},Br=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this).T,t=o.V,r=o._r,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:if(e===t)return n=-1,!0;if(""!==e.Name()&&""!==t.Name()||e.Kind()!==t.Kind())return n=-1,!1;r=Ir(e,t,!0),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:Br}),o.T=e,o.V=t,o._r=r,o.$s=n,o.$r=i,o},Ar=function(e,t,r){var n,i,o,a,s,c,l,u,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,e=($=this).T,t=$.V,n=$._arg,i=$._arg$1,o=$._r,a=$._r$1,s=$._r$2,c=$._r$3,l=$._r$4,u=$._r$5,p=$._r$6,d=$._v,r=$.cmpTags,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:if(r)return f=-1,F(e,t);o=e.Name(),f=4;case 4:if(m&&(m=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;a=t.Name(),f=5;case 5:if(m&&(m=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;if(o!==a){d=!0,f=3;continue e}s=e.Kind(),f=6;case 6:if(m&&(m=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;c=t.Kind(),f=7;case 7:if(m&&(m=!1,c=c.$blk()),c&&void 0!==c.$blk)break e;d=!(s===c);case 3:if(d){f=1;continue}f=2;continue;case 1:return f=-1,!1;case 2:l=e.common(),f=8;case 8:if(m&&(m=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;n=l,u=t.common(),f=9;case 9:if(m&&(m=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;p=Ir(n,i=u,!1),f=10;case 10:if(m&&(m=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;return f=-1,p}return}return void 0===$&&($={$blk:Ar}),$.T=e,$.V=t,$._arg=n,$._arg$1=i,$._r=o,$._r$1=a,$._r$2=s,$._r$3=c,$._r$4=l,$._r$5=u,$._r$6=p,$._v=d,$.cmpTags=r,$.$s=f,$.$r=h,$},Ir=function(e,t,r){var n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,S,D,P,O,F,R,B,A,I,j,N;j=0;var T,L=!1;void 0!==this&&void 0!==this.$blk&&(L=!0,e=(T=this).T,t=T.V,n=T._1,o=T._i,a=T._r,s=T._r$1,c=T._r$2,l=T._r$3,u=T._r$4,p=T._r$5,d=T._r$6,f=T._r$7,h=T._r$8,$=T._ref,m=T._v,g=T._v$1,b=T._v$2,v=T._v$3,r=T.cmpTags,y=T.i,k=T.i$1,w=T.i$2,_=T.kind,x=T.t,S=T.t$1,D=T.t$2,P=T.tf,O=T.v,F=T.v$1,R=T.v$2,B=T.vf,A=T.x,I=T.x$1,j=T.$s,N=T.$r);e:for(;1;){switch(j){case 0:if(e===t)return j=-1,!0;if((_=e.Kind())!==t.Kind())return j=-1,!1;if(1<=_&&_<=16||24===_||26===_)return j=-1,!0;if(17===(n=_)){j=2;continue}if(18===n){j=3;continue}if(19===n){j=4;continue}if(20===n){j=5;continue}if(21===n){j=6;continue}if(22===n||23===n){j=7;continue}if(25===n){j=8;continue}j=9;continue;case 2:if(e.Len()!==t.Len()){m=!1,j=10;continue e}a=Ar(e.Elem(),t.Elem(),r),j=11;case 11:if(L&&(L=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;m=a;case 10:return j=-1,m;case 3:if(3!==t.ChanDir()){g=!1,j=14;continue e}s=Ar(e.Elem(),t.Elem(),r),j=15;case 15:if(L&&(L=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;g=s;case 14:if(g){j=12;continue}j=13;continue;case 12:return j=-1,!0;case 13:if(t.ChanDir()!==e.ChanDir()){b=!1,j=16;continue e}c=Ar(e.Elem(),t.Elem(),r),j=17;case 17:if(L&&(L=!1,c=c.$blk()),c&&void 0!==c.$blk)break e;b=c;case 16:return j=-1,b;case 4:if(x=e.kindType,O=t.kindType,x.outCount!==O.outCount||x.inCount!==O.inCount)return j=-1,!1;y=0;case 18:if(!(y<x.rtype.NumIn())){j=19;continue}l=Ar(x.rtype.In(y),O.rtype.In(y),r),j=22;case 22:if(L&&(L=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;if(!l){j=20;continue}j=21;continue;case 20:return j=-1,!1;case 21:y=y+1>>0,j=18;continue;case 19:k=0;case 23:if(!(k<x.rtype.NumOut())){j=24;continue}u=Ar(x.rtype.Out(k),O.rtype.Out(k),r),j=27;case 27:if(L&&(L=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;if(!u){j=25;continue}j=26;continue;case 25:return j=-1,!1;case 26:k=k+1>>0,j=23;continue;case 24:return j=-1,!0;case 5:return S=e.kindType,F=t.kindType,0===S.methods.$length&&0===F.methods.$length?(j=-1,!0):(j=-1,!1);case 6:p=Ar(e.Key(),t.Key(),r),j=29;case 29:if(L&&(L=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;if(!p){v=!1,j=28;continue e}d=Ar(e.Elem(),t.Elem(),r),j=30;case 30:if(L&&(L=!1,d=d.$blk()),d&&void 0!==d.$blk)break e;v=d;case 28:return j=-1,v;case 7:f=Ar(e.Elem(),t.Elem(),r),j=31;case 31:if(L&&(L=!1,f=f.$blk()),f&&void 0!==f.$blk)break e;return j=-1,f;case 8:if(D=e.kindType,R=t.kindType,D.fields.$length!==R.fields.$length)return j=-1,!1;if(E(D.pkgPath,C).name()!==E(R.pkgPath,C).name())return j=-1,!1;$=D.fields,o=0;case 32:if(!(o<$.$length)){j=33;continue}if(w=o,A=D.fields,P=w<0||w>=A.$length?void i("index out of range"):A.$array[A.$offset+w],I=R.fields,B=w<0||w>=I.$length?void i("index out of range"):I.$array[I.$offset+w],E(P.name,C).name()!==E(B.name,C).name())return j=-1,!1;h=Ar(P.typ,B.typ,r),j=36;case 36:if(L&&(L=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;if(!h){j=34;continue}j=35;continue;case 34:return j=-1,!1;case 35:if(r&&E(P.name,C).tag()!==E(B.name,C).tag())return j=-1,!1;if(P.offsetEmbed!==B.offsetEmbed)return j=-1,!1;o++,j=32;continue;case 33:return j=-1,!0;case 9:case 1:return j=-1,!1}return}return void 0===T&&(T={$blk:Ir}),T.T=e,T.V=t,T._1=n,T._i=o,T._r=a,T._r$1=s,T._r$2=c,T._r$3=l,T._r$4=u,T._r$5=p,T._r$6=d,T._r$7=f,T._r$8=h,T._ref=$,T._v=m,T._v$1=g,T._v$2=b,T._v$3=v,T.cmpTags=r,T.i=y,T.i$1=k,T.i$2=w,T.kind=_,T.t=x,T.t$1=S,T.t$2=D,T.tf=P,T.v=O,T.v$1=F,T.v$2=R,T.vf=B,T.x=A,T.x$1=I,T.$s=j,T.$r=N,T},jr=function(e){return e===Pe.nil?Ze:e},Nr=function(e){return(32&e.kind)>>>0==0},be.prototype.kind=function(){return(31&this.$val)>>>0>>>0},st(be).prototype.kind=function(){return new be(this.$get()).kind()},be.prototype.ro=function(){return(96&this.$val)>>>0!=0?32:0},st(be).prototype.ro=function(){return new be(this.$get()).ro()},ge.ptr.prototype.pointer=function(){var e;return 4===(e=this).typ.size&&e.typ.pointers()||vt(new Te("can't call pointer on a non-pointer Value")),(128&e.flag)>>>0!=0?e.ptr.$get():e.ptr},ge.prototype.pointer=function(){return this.$val.pointer()},ve.ptr.prototype.Error=function(){var e;return 0===(e=this).Kind?"reflect: call of "+e.Method+" on zero Value":"reflect: call of "+e.Method+" on "+new W(e.Kind).String()+" Value"},ve.prototype.Error=function(){return this.$val.Error()},be.prototype.mustBe=function(e){var t;t=this.$val,new be(t).kind()!==e&&vt(new ve.ptr("?FIXME?",new be(t).kind()))},st(be).prototype.mustBe=function(e){return new be(this.$get()).mustBe(e)},be.prototype.mustBeExported=function(){var e;0===(e=this.$val)&&vt(new ve.ptr("?FIXME?",0)),(96&e)>>>0!=0&&vt(new Te("reflect: "+"?FIXME?"+" using value obtained using unexported field"))},st(be).prototype.mustBeExported=function(){return new be(this.$get()).mustBeExported()},be.prototype.mustBeAssignable=function(){var e;0===(e=this.$val)&&vt(new ve.ptr("?FIXME?",0)),(96&e)>>>0!=0&&vt(new Te("reflect: "+"?FIXME?"+" using value obtained using unexported field")),(256&e)>>>0==0&&vt(new Te("reflect: "+"?FIXME?"+" using unaddressable value"))},st(be).prototype.mustBeAssignable=function(){return new be(this.$get()).mustBeAssignable()},ge.ptr.prototype.Addr=function(){var e;return(256&(e=this).flag)>>>0==0&&vt(new Te("reflect.Value.Addr of unaddressable value")),new ge.ptr(e.typ.ptrTo(),e.ptr,(22|new be(e.flag).ro())>>>0)},ge.prototype.Addr=function(){return this.$val.Addr()},ge.ptr.prototype.Bool=function(){return new be(this.flag).mustBe(1),this.ptr.$get()},ge.prototype.Bool=function(){return this.$val.Bool()},ge.ptr.prototype.Bytes=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.v,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:new be((t=this).flag).mustBe(23),e=t.typ.Elem().Kind(),r=3;case 3:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(8!==e){r=1;continue}r=2;continue;case 1:vt(new Te("reflect.Value.Bytes of non-byte slice"));case 2:return r=-1,t.ptr.$get()}return}return void 0===i&&(i={$blk:ge.ptr.prototype.Bytes}),i._r=e,i.v=t,i.$s=r,i.$r=n,i},ge.prototype.Bytes=function(){return this.$val.Bytes()},ge.ptr.prototype.runes=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.v,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:new be((t=this).flag).mustBe(23),e=t.typ.Elem().Kind(),r=3;case 3:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(5!==e){r=1;continue}r=2;continue;case 1:vt(new Te("reflect.Value.Bytes of non-rune slice"));case 2:return r=-1,t.ptr.$get()}return}return void 0===i&&(i={$blk:ge.ptr.prototype.runes}),i._r=e,i.v=t,i.$s=r,i.$r=n,i},ge.prototype.runes=function(){return this.$val.runes()},ge.ptr.prototype.CanAddr=function(){return!((256&this.flag)>>>0==0)},ge.prototype.CanAddr=function(){return this.$val.CanAddr()},ge.ptr.prototype.CanSet=function(){return(352&this.flag)>>>0==256},ge.prototype.CanSet=function(){return this.$val.CanSet()},ge.ptr.prototype.Call=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,e=o.in$1,r=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:new be((r=this).flag).mustBe(19),new be(r.flag).mustBeExported(),t=E(r,ge).call("Call",e),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:ge.ptr.prototype.Call}),o._r=t,o.in$1=e,o.v=r,o.$s=n,o.$r=i,o},ge.prototype.Call=function(e){return this.$val.Call(e)},ge.ptr.prototype.CallSlice=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,e=o.in$1,r=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:new be((r=this).flag).mustBe(19),new be(r.flag).mustBeExported(),t=E(r,ge).call("CallSlice",e),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:ge.ptr.prototype.CallSlice}),o._r=t,o.in$1=e,o.v=r,o.$s=n,o.$r=i,o},ge.prototype.CallSlice=function(e){return this.$val.CallSlice(e)},ge.ptr.prototype.Complex=function(){var e,t,r;return 15===(e=new be((t=this).flag).kind())?(r=t.ptr.$get(),new Ne(r.$real,r.$imag)):16===e?t.ptr.$get():void vt(new ve.ptr("reflect.Value.Complex",new be(t.flag).kind()))},ge.prototype.Complex=function(){return this.$val.Complex()},ge.ptr.prototype.FieldByIndex=function(e){var t,r,n,o,a,s,c,l,u,p,d,f;d=0;var h,$=!1;void 0!==this&&void 0!==this.$blk&&($=!0,t=(h=this)._i,r=h._r,n=h._r$1,o=h._r$2,a=h._r$3,s=h._ref,c=h._v,l=h.i,e=h.index,u=h.v,p=h.x,d=h.$s,f=h.$r);e:for(;1;){switch(d){case 0:if(u=this,1===e.$length){d=1;continue}d=2;continue;case 1:r=E(u,ge).Field(0>=e.$length?void i("index out of range"):e.$array[e.$offset+0]),d=3;case 3:if($&&($=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return d=-1,r;case 2:new be(u.flag).mustBe(25),s=e,t=0;case 4:if(!(t<s.$length)){d=5;continue}if(l=t,p=t<0||t>=s.$length?void i("index out of range"):s.$array[s.$offset+t],l>0){d=6;continue}d=7;continue;case 6:if(22!==E(u,ge).Kind()){c=!1,d=10;continue e}n=u.typ.Elem().Kind(),d=11;case 11:if($&&($=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;c=25===n;case 10:if(c){d=8;continue}d=9;continue;case 8:E(u,ge).IsNil()&&vt(new Te("reflect: indirection through nil pointer to embedded struct")),o=E(u,ge).Elem(),d=12;case 12:if($&&($=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;u=o;case 9:case 7:a=E(u,ge).Field(p),d=13;case 13:if($&&($=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;u=a,t++,d=4;continue;case 5:return d=-1,u}return}return void 0===h&&(h={$blk:ge.ptr.prototype.FieldByIndex}),h._i=t,h._r=r,h._r$1=n,h._r$2=o,h._r$3=a,h._ref=s,h._v=c,h.i=l,h.index=e,h.v=u,h.x=p,h.$s=d,h.$r=f,h},ge.prototype.FieldByIndex=function(e){return this.$val.FieldByIndex(e)},ge.ptr.prototype.FieldByName=function(e){var t,r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,t=(l=this)._r,r=l._r$1,n=l._tuple,i=l.f,e=l.name$1,o=l.ok,a=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:new be((a=this).flag).mustBe(25),t=a.typ.FieldByName(e),s=1;case 1:if(u&&(u=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(i=E((n=t)[0],he),o=n[1]){s=2;continue}s=3;continue;case 2:r=E(a,ge).FieldByIndex(i.Index),s=4;case 4:if(u&&(u=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return s=-1,r;case 3:return s=-1,new ge.ptr(Pe.nil,0,0)}return}return void 0===l&&(l={$blk:ge.ptr.prototype.FieldByName}),l._r=t,l._r$1=r,l._tuple=n,l.f=i,l.name$1=e,l.ok=o,l.v=a,l.$s=s,l.$r=c,l},ge.prototype.FieldByName=function(e){return this.$val.FieldByName(e)},ge.ptr.prototype.FieldByNameFunc=function(e){var t,r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,t=(l=this)._r,r=l._r$1,n=l._tuple,i=l.f,e=l.match,o=l.ok,a=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:t=(a=this).typ.FieldByNameFunc(e),s=1;case 1:if(u&&(u=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(i=E((n=t)[0],he),o=n[1]){s=2;continue}s=3;continue;case 2:r=E(a,ge).FieldByIndex(i.Index),s=4;case 4:if(u&&(u=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return s=-1,r;case 3:return s=-1,new ge.ptr(Pe.nil,0,0)}return}return void 0===l&&(l={$blk:ge.ptr.prototype.FieldByNameFunc}),l._r=t,l._r$1=r,l._tuple=n,l.f=i,l.match=e,l.ok=o,l.v=a,l.$s=s,l.$r=c,l},ge.prototype.FieldByNameFunc=function(e){return this.$val.FieldByNameFunc(e)},ge.ptr.prototype.Float=function(){var e;return 13===(e=new be(this.flag).kind())||14===e?this.ptr.$get():void vt(new ve.ptr("reflect.Value.Float",new be(this.flag).kind()))},ge.prototype.Float=function(){return this.$val.Float()},ge.ptr.prototype.Int=function(){var e,t,r;return t=new be(this.flag).kind(),r=this.ptr,2===(e=t)||3===e||4===e||5===e?new De(0,r.$get()):6===e?r.$get():void vt(new ve.ptr("reflect.Value.Int",new be(this.flag).kind()))},ge.prototype.Int=function(){return this.$val.Int()},ge.ptr.prototype.CanInterface=function(){return 0===this.flag&&vt(new ve.ptr("reflect.Value.CanInterface",0)),(96&this.flag)>>>0==0},ge.prototype.CanInterface=function(){return this.$val.CanInterface()},ge.ptr.prototype.Interface=function(){var e,t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this)._r,t=o.i,r=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:t=Ze,e=wr(E(r=this,ge),!0),n=1;case 1:if(a&&(a=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return n=-1,e}return}return void 0===o&&(o={$blk:ge.ptr.prototype.Interface}),o._r=e,o.i=t,o.v=r,o.$s=n,o.$r=i,o},ge.prototype.Interface=function(){return this.$val.Interface()},ge.ptr.prototype.IsValid=function(){return!(0===this.flag)},ge.prototype.IsValid=function(){return this.$val.IsValid()},ge.ptr.prototype.Kind=function(){return new be(this.flag).kind()},ge.prototype.Kind=function(){return this.$val.Kind()},ge.ptr.prototype.MapIndex=function(e){var t,r,n,i,o,a,s,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,t=(u=this)._r,r=u.e,n=u.fl,i=u.k,e=u.key,o=u.tt,a=u.typ,s=u.v,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:new be((s=this).flag).mustBe(21),o=s.typ.kindType,t=E(e,ge).assignTo("reflect.Value.MapIndex",o.key,0),c=1;case 1:if(p&&(p=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=0,i=(128&(e=t).flag)>>>0!=0?e.ptr:e.$ptr_ptr||(e.$ptr_ptr=new xt((function(){return this.$target.ptr}),(function(e){this.$target.ptr=e}),e)),0===(r=fr(s.typ,E(s,ge).pointer(),i))?(c=-1,new ge.ptr(Pe.nil,0,0)):(a=o.elem,n=((n=new be((s.flag|e.flag)>>>0).ro())|a.Kind()>>>0)>>>0,c=-1,Tr(a,n,r))}return}return void 0===u&&(u={$blk:ge.ptr.prototype.MapIndex}),u._r=t,u.e=r,u.fl=n,u.k=i,u.key=e,u.tt=o,u.typ=a,u.v=s,u.$s=c,u.$r=l,u},ge.prototype.MapIndex=function(e){return this.$val.MapIndex(e)},ge.ptr.prototype.MapKeys=function(){var e,t,r,n,o,a,s,c,l,u,p,d,h;d=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,e=($=this)._r,t=$.a,r=$.fl,n=$.i,o=$.it,a=$.key,s=$.keyType,c=$.m,l=$.mlen,u=$.tt,p=$.v,d=$.$s,h=$.$r);e:for(;1;){switch(d){case 0:new be((p=this).flag).mustBe(21),s=(u=p.typ.kindType).key,r=(new be(p.flag).ro()|s.Kind()>>>0)>>>0,l=0,0!==(c=E(p,ge).pointer())&&(l=yr(c)),o=mr(p.typ,c),t=pt(ot,l),n=0,n=0;case 1:if(!(n<t.$length)){d=2;continue}e=gr(o),d=3;case 3:if(m&&(m=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(0===(a=e)){d=2;continue}n<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=Tr(s,r,a),vr(o),n=n+1>>0,d=1;continue;case 2:return d=-1,f(t,0,n)}return}return void 0===$&&($={$blk:ge.ptr.prototype.MapKeys}),$._r=e,$.a=t,$.fl=r,$.i=n,$.it=o,$.key=a,$.keyType=s,$.m=c,$.mlen=l,$.tt=u,$.v=p,$.$s=d,$.$r=h,$},ge.prototype.MapKeys=function(){return this.$val.MapKeys()},xe.ptr.prototype.Key=function(){var e,t,r,n,i,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,e=(p=this)._arg,t=p._arg$1,r=p._arg$2,n=p._r,i=p._r$1,o=p._r$2,a=p.it,s=p.ktype,c=p.t,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:0===(a=this).it&&vt(new Te("MapIter.Key called before Next")),n=gr(a.it),l=3;case 3:if(d&&(d=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(0===n){l=1;continue}l=2;continue;case 1:vt(new Te("MapIter.Key called on exhausted iterator"));case 2:e=s=(c=a.m.typ.kindType).key,t=(new be(a.m.flag).ro()|s.Kind()>>>0)>>>0,i=gr(a.it),l=4;case 4:if(d&&(d=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;o=Tr(e,t,r=i),l=5;case 5:if(d&&(d=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return l=-1,o}return}return void 0===p&&(p={$blk:xe.ptr.prototype.Key}),p._arg=e,p._arg$1=t,p._arg$2=r,p._r=n,p._r$1=i,p._r$2=o,p.it=a,p.ktype=s,p.t=c,p.$s=l,p.$r=u,p},xe.prototype.Key=function(){return this.$val.Key()},xe.ptr.prototype.Value=function(){var e,t,r,n,i,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,e=(p=this)._arg,t=p._arg$1,r=p._arg$2,n=p._r,i=p._r$1,o=p._r$2,a=p.it,s=p.t,c=p.vtype,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:0===(a=this).it&&vt(new Te("MapIter.Value called before Next")),n=gr(a.it),l=3;case 3:if(d&&(d=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(0===n){l=1;continue}l=2;continue;case 1:vt(new Te("MapIter.Value called on exhausted iterator"));case 2:e=c=(s=a.m.typ.kindType).elem,t=(new be(a.m.flag).ro()|c.Kind()>>>0)>>>0,i=br(a.it),l=4;case 4:if(d&&(d=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;o=Tr(e,t,r=i),l=5;case 5:if(d&&(d=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return l=-1,o}return}return void 0===p&&(p={$blk:xe.ptr.prototype.Value}),p._arg=e,p._arg$1=t,p._arg$2=r,p._r=n,p._r$1=i,p._r$2=o,p.it=a,p.t=s,p.vtype=c,p.$s=l,p.$r=u,p},xe.prototype.Value=function(){return this.$val.Value()},xe.ptr.prototype.Next=function(){var e,t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this)._r,t=o._r$1,r=o.it,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:if(0===(r=this).it){n=1;continue}n=2;continue;case 1:r.it=mr(r.m.typ,E(r.m,ge).pointer()),n=3;continue;case 2:e=gr(r.it),n=6;case 6:if(a&&(a=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(0===e){n=4;continue}n=5;continue;case 4:vt(new Te("MapIter.Next called on exhausted iterator"));case 5:vr(r.it);case 3:t=gr(r.it),n=7;case 7:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,!(0===t)}return}return void 0===o&&(o={$blk:xe.ptr.prototype.Next}),o._r=e,o._r$1=t,o.it=r,o.$s=n,o.$r=i,o},xe.prototype.Next=function(){return this.$val.Next()},ge.ptr.prototype.MapRange=function(){return new be(this.flag).mustBe(21),new xe.ptr(E(this,ge),0)},ge.prototype.MapRange=function(){return this.$val.MapRange()},Tr=function(e,t,r){var n;return Nr(e)?(n=lr(e),pr(0,n,r),new ge.ptr(e,n,(128|t)>>>0)):new ge.ptr(e,r.$get(),t)},ge.ptr.prototype.Method=function(e){var t,r;return(r=this).typ===Pe.nil&&vt(new ve.ptr("reflect.Value.Method",0)),((512&r.flag)>>>0!=0||e>>>0>=r.typ.NumMethod()>>>0)&&vt(new Te("reflect: Method index out of range")),20===r.typ.Kind()&&E(r,ge).IsNil()&&vt(new Te("reflect: Method on nil interface value")),t=((t=(19|(t=(160&r.flag)>>>0))>>>0)|(e>>>0<<10>>>0|512)>>>0)>>>0,new ge.ptr(r.typ,r.ptr,t)},ge.prototype.Method=function(e){return this.$val.Method(e)},ge.ptr.prototype.NumMethod=function(){return this.typ===Pe.nil&&vt(new ve.ptr("reflect.Value.NumMethod",0)),(512&this.flag)>>>0!=0?0:this.typ.NumMethod()},ge.prototype.NumMethod=function(){return this.$val.NumMethod()},ge.ptr.prototype.MethodByName=function(e){var t,r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._r,r=c._tuple,n=c.m,e=c.name$1,i=c.ok,o=c.v,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:if((o=this).typ===Pe.nil&&vt(new ve.ptr("reflect.Value.MethodByName",0)),(512&o.flag)>>>0!=0)return a=-1,new ge.ptr(Pe.nil,0,0);t=o.typ.MethodByName(e),a=1;case 1:if(l&&(l=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=E((r=t)[0],se),(i=r[1])?(a=-1,E(o,ge).Method(n.Index)):(a=-1,new ge.ptr(Pe.nil,0,0))}return}return void 0===c&&(c={$blk:ge.ptr.prototype.MethodByName}),c._r=t,c._tuple=r,c.m=n,c.name$1=e,c.ok=i,c.v=o,c.$s=a,c.$r=s,c},ge.prototype.MethodByName=function(e){return this.$val.MethodByName(e)},ge.ptr.prototype.NumField=function(){return new be(this.flag).mustBe(25),this.typ.kindType.fields.$length},ge.prototype.NumField=function(){return this.$val.NumField()},ge.ptr.prototype.OverflowComplex=function(e){var t;return 15===(t=new be(this.flag).kind())?Lr(e.$real)||Lr(e.$imag):16!==t&&void vt(new ve.ptr("reflect.Value.OverflowComplex",new be(this.flag).kind()))},ge.prototype.OverflowComplex=function(e){return this.$val.OverflowComplex(e)},ge.ptr.prototype.OverflowFloat=function(e){var t;return 13===(t=new be(this.flag).kind())?Lr(e):14!==t&&void vt(new ve.ptr("reflect.Value.OverflowFloat",new be(this.flag).kind()))},ge.prototype.OverflowFloat=function(e){return this.$val.OverflowFloat(e)},Lr=function(e){return e<0&&(e=-e),34028234663852886e22<e&&e<=17976931348623157e292},ge.ptr.prototype.OverflowInt=function(e){var t,r,n;if(2===(t=new be(this.flag).kind())||3===t||4===t||5===t||6===t)return r=j(this.typ.size,8)>>>0,n=L(T(e,64-r>>>0),64-r>>>0),!(e.$high===n.$high&&e.$low===n.$low);vt(new ve.ptr("reflect.Value.OverflowInt",new be(this.flag).kind()))},ge.prototype.OverflowInt=function(e){return this.$val.OverflowInt(e)},ge.ptr.prototype.OverflowUint=function(e){var t,r,n;if(7===(t=new be(this.flag).kind())||12===t||8===t||9===t||10===t||11===t)return r=j(this.typ.size,8)>>>0,n=M(T(e,64-r>>>0),64-r>>>0),!(e.$high===n.$high&&e.$low===n.$low);vt(new ve.ptr("reflect.Value.OverflowUint",new be(this.flag).kind()))},ge.prototype.OverflowUint=function(e){return this.$val.OverflowUint(e)},ge.ptr.prototype.Recv=function(){var e,t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,e=(s=this)._r,t=s._tuple,r=s.ok,n=s.v,i=s.x,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:i=new ge.ptr(Pe.nil,0,0),r=!1,new be((n=this).flag).mustBe(18),new be(n.flag).mustBeExported(),e=E(n,ge).recv(!1),o=1;case 1:if(c&&(c=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return o=-1,[i=(t=e)[0],r=t[1]]}return}return void 0===s&&(s={$blk:ge.ptr.prototype.Recv}),s._r=e,s._tuple=t,s.ok=r,s.v=n,s.x=i,s.$s=o,s.$r=a,s},ge.prototype.Recv=function(){return this.$val.Recv()},ge.ptr.prototype.recv=function(e){var t,r,n,i,o,a,s,c,l,u,p;u=0;var d,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,t=(d=this)._r,r=d._tuple,e=d.nb,n=d.ok,i=d.p,o=d.selected,a=d.t,s=d.tt,c=d.v,l=d.val,u=d.$s,p=d.$r);e:for(;1;){switch(u){case 0:l=new ge.ptr(Pe.nil,0,0),n=!1,0==((s=(c=this).typ.kindType).dir>>0&1)&&vt(new Te("reflect: recv on send-only channel")),a=s.elem,l=new ge.ptr(a,0,a.Kind()>>>0),i=0,Nr(a)?(i=lr(a),l.ptr=i,l.flag=(128|l.flag)>>>0):i=l.$ptr_ptr||(l.$ptr_ptr=new xt((function(){return this.$target.ptr}),(function(e){this.$target.ptr=e}),l)),t=Pr(E(c,ge).pointer(),e,i),u=1;case 1:if(f&&(f=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return o=(r=t)[0],n=r[1],o||(l=new ge.ptr(Pe.nil,0,0)),u=-1,[l,n]}return}return void 0===d&&(d={$blk:ge.ptr.prototype.recv}),d._r=t,d._tuple=r,d.nb=e,d.ok=n,d.p=i,d.selected=o,d.t=a,d.tt=s,d.v=c,d.val=l,d.$s=u,d.$r=p,d},ge.prototype.recv=function(e){return this.$val.recv(e)},ge.ptr.prototype.Send=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,r=o.v,e=o.x,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:new be((r=this).flag).mustBe(18),new be(r.flag).mustBeExported(),t=E(r,ge).send(E(e,ge),!1),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return void(n=-1)}return}return void 0===o&&(o={$blk:ge.ptr.prototype.Send}),o._r=t,o.v=r,o.x=e,o.$s=n,o.$r=i,o},ge.prototype.Send=function(e){return this.$val.Send(e)},ge.ptr.prototype.send=function(e,t){var r,n,i,o,a,s,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,r=(u=this)._r,n=u._r$1,t=u.nb,i=u.p,o=u.selected,a=u.tt,s=u.v,e=u.x,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:o=!1,0==((a=(s=this).typ.kindType).dir>>0&2)&&vt(new Te("reflect: send on recv-only channel")),new be(e.flag).mustBeExported(),r=E(e,ge).assignTo("reflect.Value.Send",a.elem,0),c=1;case 1:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;i=0,i=(128&(e=r).flag)>>>0!=0?e.ptr:e.$ptr_ptr||(e.$ptr_ptr=new xt((function(){return this.$target.ptr}),(function(e){this.$target.ptr=e}),e)),n=Cr(E(s,ge).pointer(),i,t),c=2;case 2:if(p&&(p=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return c=-1,n}return}return void 0===u&&(u={$blk:ge.ptr.prototype.send}),u._r=r,u._r$1=n,u.nb=t,u.p=i,u.selected=o,u.tt=a,u.v=s,u.x=e,u.$s=c,u.$r=l,u},ge.prototype.send=function(e,t){return this.$val.send(e,t)},ge.ptr.prototype.SetBool=function(e){new be(this.flag).mustBeAssignable(),new be(this.flag).mustBe(1),this.ptr.$set(e)},ge.prototype.SetBool=function(e){return this.$val.SetBool(e)},ge.ptr.prototype.setRunes=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,r=o.v,e=o.x,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:new be((r=this).flag).mustBeAssignable(),new be(r.flag).mustBe(23),t=r.typ.Elem().Kind(),n=3;case 3:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(5!==t){n=1;continue}n=2;continue;case 1:vt(new Te("reflect.Value.setRunes of non-rune slice"));case 2:return r.ptr.$set(e),void(n=-1)}return}return void 0===o&&(o={$blk:ge.ptr.prototype.setRunes}),o._r=t,o.v=r,o.x=e,o.$s=n,o.$r=i,o},ge.prototype.setRunes=function(e){return this.$val.setRunes(e)},ge.ptr.prototype.SetComplex=function(e){var t,r;new be((r=this).flag).mustBeAssignable(),15===(t=new be(r.flag).kind())?r.ptr.$set(new je(e.$real,e.$imag)):16===t?r.ptr.$set(e):vt(new ve.ptr("reflect.Value.SetComplex",new be(r.flag).kind()))},ge.prototype.SetComplex=function(e){return this.$val.SetComplex(e)},ge.ptr.prototype.SetFloat=function(e){var t,r;new be((r=this).flag).mustBeAssignable(),13===(t=new be(r.flag).kind())?r.ptr.$set(I(e)):14===t?r.ptr.$set(e):vt(new ve.ptr("reflect.Value.SetFloat",new be(r.flag).kind()))},ge.prototype.SetFloat=function(e){return this.$val.SetFloat(e)},ge.ptr.prototype.SetInt=function(e){var t,r;new be((r=this).flag).mustBeAssignable(),2===(t=new be(r.flag).kind())?r.ptr.$set(e.$low+4294967296*(e.$high>>31)>>0):3===t?r.ptr.$set(e.$low+4294967296*(e.$high>>31)<<24>>24):4===t?r.ptr.$set(e.$low+4294967296*(e.$high>>31)<<16>>16):5===t?r.ptr.$set(e.$low+4294967296*(e.$high>>31)>>0):6===t?r.ptr.$set(e):vt(new ve.ptr("reflect.Value.SetInt",new be(r.flag).kind()))},ge.prototype.SetInt=function(e){return this.$val.SetInt(e)},ge.ptr.prototype.SetMapIndex=function(e,t){var r,n,i,o,a,s,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,r=(u=this)._r,n=u._r$1,i=u.e,o=u.k,e=u.key,a=u.tt,s=u.v,t=u.val,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:new be((s=this).flag).mustBe(21),new be(s.flag).mustBeExported(),new be(e.flag).mustBeExported(),a=s.typ.kindType,r=E(e,ge).assignTo("reflect.Value.SetMapIndex",a.key,0),c=1;case 1:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(o=0,o=(128&(e=r).flag)>>>0!=0?e.ptr:e.$ptr_ptr||(e.$ptr_ptr=new xt((function(){return this.$target.ptr}),(function(e){this.$target.ptr=e}),e)),t.typ===Pe.nil)return $r(s.typ,E(s,ge).pointer(),o),void(c=-1);new be(t.flag).mustBeExported(),n=E(t,ge).assignTo("reflect.Value.SetMapIndex",a.elem,0),c=2;case 2:if(p&&(p=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;i=0,i=(128&(t=n).flag)>>>0!=0?t.ptr:t.$ptr_ptr||(t.$ptr_ptr=new xt((function(){return this.$target.ptr}),(function(e){this.$target.ptr=e}),t)),l=hr(s.typ,E(s,ge).pointer(),o,i),c=3;case 3:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;return void(c=-1)}return}return void 0===u&&(u={$blk:ge.ptr.prototype.SetMapIndex}),u._r=r,u._r$1=n,u.e=i,u.k=o,u.key=e,u.tt=a,u.v=s,u.val=t,u.$s=c,u.$r=l,u},ge.prototype.SetMapIndex=function(e,t){return this.$val.SetMapIndex(e,t)},ge.ptr.prototype.SetUint=function(e){var t,r;new be((r=this).flag).mustBeAssignable(),7===(t=new be(r.flag).kind())?r.ptr.$set(e.$low>>>0):8===t?r.ptr.$set(e.$low<<24>>>24):9===t?r.ptr.$set(e.$low<<16>>>16):10===t?r.ptr.$set(e.$low>>>0):11===t?r.ptr.$set(e):12===t?r.ptr.$set(e.$low>>>0):vt(new ve.ptr("reflect.Value.SetUint",new be(r.flag).kind()))},ge.prototype.SetUint=function(e){return this.$val.SetUint(e)},ge.ptr.prototype.SetPointer=function(e){new be(this.flag).mustBeAssignable(),new be(this.flag).mustBe(26),this.ptr.$set(e)},ge.prototype.SetPointer=function(e){return this.$val.SetPointer(e)},ge.ptr.prototype.SetString=function(e){new be(this.flag).mustBeAssignable(),new be(this.flag).mustBe(24),this.ptr.$set(e)},ge.prototype.SetString=function(e){return this.$val.SetString(e)},ge.ptr.prototype.String=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._1,t=a._r,r=a.k,n=a.v,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:if(0===(e=r=new be((n=this).flag).kind()))return i=-1,"<invalid Value>";if(24===e)return i=-1,n.ptr.$get();t=E(n,ge).Type().String(),i=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=-1,"<"+t+" Value>"}return}return void 0===a&&(a={$blk:ge.ptr.prototype.String}),a._1=e,a._r=t,a.k=r,a.v=n,a.$s=i,a.$r=o,a},ge.prototype.String=function(){return this.$val.String()},ge.ptr.prototype.TryRecv=function(){var e,t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,e=(s=this)._r,t=s._tuple,r=s.ok,n=s.v,i=s.x,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:i=new ge.ptr(Pe.nil,0,0),r=!1,new be((n=this).flag).mustBe(18),new be(n.flag).mustBeExported(),e=E(n,ge).recv(!0),o=1;case 1:if(c&&(c=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return o=-1,[i=(t=e)[0],r=t[1]]}return}return void 0===s&&(s={$blk:ge.ptr.prototype.TryRecv}),s._r=e,s._tuple=t,s.ok=r,s.v=n,s.x=i,s.$s=o,s.$r=a,s},ge.prototype.TryRecv=function(){return this.$val.TryRecv()},ge.ptr.prototype.TrySend=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,r=o.v,e=o.x,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:new be((r=this).flag).mustBe(18),new be(r.flag).mustBeExported(),t=E(r,ge).send(E(e,ge),!0),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:ge.ptr.prototype.TrySend}),o._r=t,o.v=r,o.x=e,o.$s=n,o.$r=i,o},ge.prototype.TrySend=function(e){return this.$val.TrySend(e)},ge.ptr.prototype.Type=function(){var e,t,r,n,o,a,s,c;return 0===(e=(s=this).flag)&&vt(new ve.ptr("reflect.Value.Type",0)),(512&e)>>>0==0?s.typ:(t=s.flag>>0>>10>>0,20===s.typ.Kind()?(t>>>0>=(a=s.typ.kindType).methods.$length>>>0&&vt(new Te("reflect: internal error: invalid method index")),c=a.methods,r=t<0||t>=c.$length?void i("index out of range"):c.$array[c.$offset+t],s.typ.typeOff(r.typ)):(t>>>0>=(o=s.typ.exportedMethods()).$length>>>0&&vt(new Te("reflect: internal error: invalid method index")),n=E(t<0||t>=o.$length?void i("index out of range"):o.$array[o.$offset+t],H),s.typ.typeOff(n.mtyp)))},ge.prototype.Type=function(){return this.$val.Type()},ge.ptr.prototype.Uint=function(){var e,t,r,n;return t=new be(this.flag).kind(),r=this.ptr,7===(e=t)||8===e||9===e||10===e?new Re(0,r.$get()):11===e?r.$get():12===e?(n=r.$get(),new Re(0,n.constructor===Number?n:1)):void vt(new ve.ptr("reflect.Value.Uint",new be(this.flag).kind()))},ge.prototype.Uint=function(){return this.$val.Uint()},ge.ptr.prototype.UnsafeAddr=function(){return this.typ===Pe.nil&&vt(new ve.ptr("reflect.Value.UnsafeAddr",0)),(256&this.flag)>>>0==0&&vt(new Te("reflect.Value.UnsafeAddr of unaddressable value")),this.ptr},ge.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr()},Mr=function(e){var t,r,n;return F(e,Ze)&&vt(new Te("reflect: New(nil)")),n=ht(e,Pe),r=lr(n),t=22,new ge.ptr(n.ptrTo(),r,t)},un.New=Mr,ge.ptr.prototype.Convert=function(e){var t,r,n,i,o,a,s,c,u;c=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,t=(p=this)._r,r=p._r$1,n=p._r$2,i=p._r$3,o=p._r$4,a=p.op,e=p.t,s=p.v,c=p.$s,u=p.$r);e:for(;1;){switch(c){case 0:if((512&(s=this).flag)>>>0!=0){c=1;continue}c=2;continue;case 1:t=xr("Convert",E(s,ge)),c=3;case 3:if(d&&(d=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;s=t;case 2:r=e.common(),c=4;case 4:if(d&&(d=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;n=Wr(r,s.typ),c=5;case 5:if(d&&(d=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if((a=n)===l){c=6;continue}c=7;continue;case 6:i=e.String(),c=8;case 8:if(d&&(d=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;vt(new Te("reflect.Value.Convert: value of type "+s.typ.String()+" cannot be converted to type "+i));case 7:o=a(E(s,ge),e),c=9;case 9:if(d&&(d=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return c=-1,o}return}return void 0===p&&(p={$blk:ge.ptr.prototype.Convert}),p._r=t,p._r$1=r,p._r$2=n,p._r$3=i,p._r$4=o,p.op=a,p.t=e,p.v=s,p.$s=c,p.$r=u,p},ge.prototype.Convert=function(e){return this.$val.Convert(e)},Wr=function(e,t){var r,n,i,o,a,s,c,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x;_=0;var E,S=!1;void 0!==this&&void 0!==this.$blk&&(S=!0,r=(E=this)._1,n=E._2,i=E._3,o=E._4,a=E._5,s=E._6,c=E._7,u=E._arg,p=E._arg$1,d=E._r,f=E._r$1,h=E._r$2,$=E._r$3,m=E._r$4,g=E._r$5,b=E._r$6,v=E._r$7,y=E._v,k=E._v$1,w=E._v$2,e=E.dst,t=E.src,_=E.$s,x=E.$r);e:for(;1;){switch(_){case 0:if(2===(r=t.Kind())||3===r||4===r||5===r||6===r){_=2;continue}if(7===r||8===r||9===r||10===r||11===r||12===r){_=3;continue}if(13===r||14===r){_=4;continue}if(15===r||16===r){_=5;continue}if(24===r){_=6;continue}if(23===r){_=7;continue}_=8;continue;case 2:if(2===(n=e.Kind())||3===n||4===n||5===n||6===n||7===n||8===n||9===n||10===n||11===n||12===n)return _=-1,Gr;if(13===n||14===n)return _=-1,Zr;if(24===n)return _=-1,tn;_=8;continue;case 3:if(2===(i=e.Kind())||3===i||4===i||5===i||6===i||7===i||8===i||9===i||10===i||11===i||12===i)return _=-1,Kr;if(13===i||14===i)return _=-1,Yr;if(24===i)return _=-1,rn;_=8;continue;case 4:if(2===(o=e.Kind())||3===o||4===o||5===o||6===o)return _=-1,Xr;if(7===o||8===o||9===o||10===o||11===o||12===o)return _=-1,Jr;if(13===o||14===o)return _=-1,Qr;_=8;continue;case 5:if(15===(a=e.Kind())||16===a)return _=-1,en;_=8;continue;case 6:if(23!==e.Kind()){y=!1,_=11;continue e}d=e.Elem().PkgPath(),_=12;case 12:if(S&&(S=!1,d=d.$blk()),d&&void 0!==d.$blk)break e;y=""===d;case 11:if(y){_=9;continue}_=10;continue;case 9:f=e.Elem().Kind(),_=14;case 14:if(S&&(S=!1,f=f.$blk()),f&&void 0!==f.$blk)break e;if(8===(s=f))return _=-1,on;if(5===s)return _=-1,sn;case 13:case 10:_=8;continue;case 7:if(24!==e.Kind()){k=!1,_=17;continue e}h=t.Elem().PkgPath(),_=18;case 18:if(S&&(S=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;k=""===h;case 17:if(k){_=15;continue}_=16;continue;case 15:$=t.Elem().Kind(),_=20;case 20:if(S&&(S=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;if(8===(c=$))return _=-1,nn;if(5===c)return _=-1,an;case 19:case 16:case 8:case 1:m=Ir(e,t,!1),_=23;case 23:if(S&&(S=!1,m=m.$blk()),m&&void 0!==m.$blk)break e;if(m){_=21;continue}_=22;continue;case 21:return _=-1,kr;case 22:if(22!==e.Kind()||""!==e.Name()||22!==t.Kind()||""!==t.Name()){w=!1,_=26;continue e}g=e.Elem().common(),_=27;case 27:if(S&&(S=!1,g=g.$blk()),g&&void 0!==g.$blk)break e;u=g,b=t.Elem().common(),_=28;case 28:if(S&&(S=!1,b=b.$blk()),b&&void 0!==b.$blk)break e;v=Ir(u,p=b,!1),_=29;case 29:if(S&&(S=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;w=v;case 26:if(w){_=24;continue}_=25;continue;case 24:return _=-1,kr;case 25:return Rr(e,t)?20===t.Kind()?(_=-1,ln):(_=-1,cn):(_=-1,l)}return}return void 0===E&&(E={$blk:Wr}),E._1=r,E._2=n,E._3=i,E._4=o,E._5=a,E._6=s,E._7=c,E._arg=u,E._arg$1=p,E._r=d,E._r$1=f,E._r$2=h,E._r$3=$,E._r$4=m,E._r$5=g,E._r$6=b,E._r$7=v,E._v=y,E._v$1=k,E._v$2=w,E.dst=e,E.src=t,E.$s=_,E.$r=x,E},zr=function(e,t,r){var n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,n=(l=this)._1,i=l._r,e=l.f,o=l.ptr,r=l.t,a=l.typ,t=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:i=r.common(),s=1;case 1:if(u&&(u=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return o=lr(a=i),4===(n=a.size)?o.$set(I(t)):8===n&&o.$set(t),s=-1,new ge.ptr(a,o,((128|e)>>>0|a.Kind()>>>0)>>>0)}return}return void 0===l&&(l={$blk:zr}),l._1=n,l._r=i,l.f=e,l.ptr=o,l.t=r,l.typ=a,l.v=t,l.$s=s,l.$r=c,l},Ur=function(e,t,r){var n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,n=(l=this)._1,i=l._r,e=l.f,o=l.ptr,r=l.t,a=l.typ,t=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:i=r.common(),s=1;case 1:if(u&&(u=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return o=lr(a=i),8===(n=a.size)?o.$set(new je(t.$real,t.$imag)):16===n&&o.$set(t),s=-1,new ge.ptr(a,o,((128|e)>>>0|a.Kind()>>>0)>>>0)}return}return void 0===l&&(l={$blk:Ur}),l._1=n,l._r=i,l.f=e,l.ptr=o,l.t=r,l.typ=a,l.v=t,l.$s=s,l.$r=c,l},Vr=function(e,t,r){var n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,n=(s=this)._r,e=s.f,i=s.ret,r=s.t,t=s.v,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:n=E(Mr(r),ge).Elem(),o=1;case 1:if(c&&(c=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return E(i=n,ge).SetString(t),i.flag=((~256&i.flag)>>>0|e)>>>0,o=-1,i}return}return void 0===s&&(s={$blk:Vr}),s._r=n,s.f=e,s.ret=i,s.t=r,s.v=t,s.$s=o,s.$r=a,s},qr=function(e,t,r){var n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,n=(s=this)._r,e=s.f,i=s.ret,r=s.t,t=s.v,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:n=E(Mr(r),ge).Elem(),o=1;case 1:if(c&&(c=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;a=E(i=n,ge).SetBytes(t),o=2;case 2:if(c&&(c=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return i.flag=((~256&i.flag)>>>0|e)>>>0,o=-1,i}return}return void 0===s&&(s={$blk:qr}),s._r=n,s.f=e,s.ret=i,s.t=r,s.v=t,s.$s=o,s.$r=a,s},Hr=function(e,t,r){var n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,n=(s=this)._r,e=s.f,i=s.ret,r=s.t,t=s.v,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:n=E(Mr(r),ge).Elem(),o=1;case 1:if(c&&(c=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;a=E(i=n,ge).setRunes(t),o=2;case 2:if(c&&(c=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return i.flag=((~256&i.flag)>>>0|e)>>>0,o=-1,i}return}return void 0===s&&(s={$blk:Hr}),s._r=n,s.f=e,s.ret=i,s.t=r,s.v=t,s.$s=o,s.$r=a,s},Gr=function(e,t){var r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,r=(a=this)._r,t=a.t,e=a.v,n=a.x,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:r=ur(new be(e.flag).ro(),(n=E(e,ge).Int(),new Re(n.$high,n.$low)),t),i=1;case 1:if(s&&(s=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return i=-1,r}return}return void 0===a&&(a={$blk:Gr}),a._r=r,a.t=t,a.v=e,a.x=n,a.$s=i,a.$r=o,a},Kr=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=ur(new be(e.flag).ro(),E(e,ge).Uint(),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:Kr}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},Xr=function(e,t){var r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,r=(a=this)._r,t=a.t,e=a.v,n=a.x,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:r=ur(new be(e.flag).ro(),(n=new De(0,E(e,ge).Float()),new Re(n.$high,n.$low)),t),i=1;case 1:if(s&&(s=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return i=-1,r}return}return void 0===a&&(a={$blk:Xr}),a._r=r,a.t=t,a.v=e,a.x=n,a.$s=i,a.$r=o,a},Jr=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=ur(new be(e.flag).ro(),new Re(0,E(e,ge).Float()),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:Jr}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},Zr=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=zr(new be(e.flag).ro(),N(E(e,ge).Int()),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:Zr}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},Yr=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=zr(new be(e.flag).ro(),N(E(e,ge).Uint()),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:Yr}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},Qr=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=zr(new be(e.flag).ro(),E(e,ge).Float(),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:Qr}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},en=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=Ur(new be(e.flag).ro(),E(e,ge).Complex(),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:en}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},tn=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=Vr(new be(e.flag).ro(),g(E(e,ge).Int().$low),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:tn}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},rn=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,t=o.t,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=Vr(new be(e.flag).ro(),g(E(e,ge).Uint().$low),t),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:rn}),o._r=r,o.t=t,o.v=e,o.$s=n,o.$r=i,o},nn=function(e,t){var r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,r=(l=this)._arg,n=l._arg$1,i=l._arg$2,o=l._r,a=l._r$1,t=l.t,e=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:r=new be(e.flag).ro(),o=E(e,ge).Bytes(),s=1;case 1:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;n=v(o),a=Vr(r,n,i=t),s=2;case 2:if(u&&(u=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return s=-1,a}return}return void 0===l&&(l={$blk:nn}),l._arg=r,l._arg$1=n,l._arg$2=i,l._r=o,l._r$1=a,l.t=t,l.v=e,l.$s=s,l.$r=c,l},on=function(e,t){var r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,r=(l=this)._arg,n=l._arg$1,i=l._arg$2,o=l._r,a=l._r$1,t=l.t,e=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:r=new be(e.flag).ro(),o=E(e,ge).String(),s=1;case 1:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;n=new _t(b(o)),a=qr(r,n,i=t),s=2;case 2:if(u&&(u=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return s=-1,a}return}return void 0===l&&(l={$blk:on}),l._arg=r,l._arg$1=n,l._arg$2=i,l._r=o,l._r$1=a,l.t=t,l.v=e,l.$s=s,l.$r=c,l},an=function(e,t){var r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,r=(l=this)._arg,n=l._arg$1,i=l._arg$2,o=l._r,a=l._r$1,t=l.t,e=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:r=new be(e.flag).ro(),o=E(e,ge).runes(),s=1;case 1:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;n=k(o),a=Vr(r,n,i=t),s=2;case 2:if(u&&(u=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return s=-1,a}return}return void 0===l&&(l={$blk:an}),l._arg=r,l._arg$1=n,l._arg$2=i,l._r=o,l._r$1=a,l.t=t,l.v=e,l.$s=s,l.$r=c,l},sn=function(e,t){var r,n,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,r=(l=this)._arg,n=l._arg$1,i=l._arg$2,o=l._r,a=l._r$1,t=l.t,e=l.v,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:r=new be(e.flag).ro(),o=E(e,ge).String(),s=1;case 1:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;n=new Et(y(o)),a=Hr(r,n,i=t),s=2;case 2:if(u&&(u=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return s=-1,a}return}return void 0===l&&(l={$blk:sn}),l._arg=r,l._arg$1=n,l._arg$2=i,l._r=o,l._r$1=a,l.t=t,l.v=e,l.$s=s,l.$r=c,l},cn=function(e,t){var r,n,i,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,r=(p=this)._r,n=p._r$1,i=p._r$2,o=p._r$3,a=p._r$4,s=p.target,t=p.typ,e=p.v,c=p.x,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:r=t.common(),l=1;case 1:if(d&&(d=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;n=lr(r),l=2;case 2:if(d&&(d=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;s=n,i=wr(E(e,ge),!1),l=3;case 3:if(d&&(d=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;c=i,o=t.NumMethod(),l=7;case 7:if(d&&(d=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;if(0===o){l=4;continue}l=5;continue;case 4:s.$set(c),l=6;continue;case 5:_r(ht(t,Pe),c,s);case 6:a=t.common(),l=8;case 8:if(d&&(d=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return l=-1,new ge.ptr(a,s,((128|new be(e.flag).ro())>>>0|20)>>>0)}return}return void 0===p&&(p={$blk:cn}),p._r=r,p._r$1=n,p._r$2=i,p._r$3=o,p._r$4=a,p.target=s,p.typ=t,p.v=e,p.x=c,p.$s=l,p.$r=u,p},ln=function(e,t){var r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,r=(c=this)._r,n=c._r$1,i=c._r$2,o=c.ret,t=c.typ,e=c.v,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:if(E(e,ge).IsNil()){a=1;continue}a=2;continue;case 1:r=cr(t),a=3;case 3:if(l&&(l=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return(o=r).flag=(o.flag|new be(e.flag).ro())>>>0,a=-1,o;case 2:n=E(e,ge).Elem(),a=4;case 4:if(l&&(l=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;i=cn(E(n,ge),t),a=5;case 5:if(l&&(l=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return a=-1,i}return}return void 0===c&&(c={$blk:ln}),c._r=r,c._r$1=n,c._r$2=i,c.ret=o,c.typ=t,c.v=e,c.$s=a,c.$r=s,c},tt.methods=[{prop:"methods",name:"methods",pkg:"reflect",typ:Ke([],[Xe],!1)},{prop:"exportedMethods",name:"exportedMethods",pkg:"reflect",typ:Ke([],[Xe],!1)}],mt.methods=[{prop:"in$",name:"in",pkg:"reflect",typ:Ke([],[Ae],!1)},{prop:"out",name:"out",pkg:"reflect",typ:Ke([],[Ae],!1)}],C.methods=[{prop:"name",name:"name",pkg:"reflect",typ:Ke([],[Te],!1)},{prop:"tag",name:"tag",pkg:"reflect",typ:Ke([],[Te],!1)},{prop:"pkgPath",name:"pkgPath",pkg:"reflect",typ:Ke([],[Te],!1)},{prop:"isExported",name:"isExported",pkg:"reflect",typ:Ke([],[we],!1)},{prop:"data",name:"data",pkg:"reflect",typ:Ke([_e,Te],[Ge],!1)},{prop:"nameLen",name:"nameLen",pkg:"reflect",typ:Ke([],[_e],!1)},{prop:"tagLen",name:"tagLen",pkg:"reflect",typ:Ke([],[_e],!1)}],lt.methods=[{prop:"skipUntilValidKey",name:"skipUntilValidKey",pkg:"reflect",typ:Ke([],[],!1)}],W.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)}],Pe.methods=[{prop:"uncommon",name:"uncommon",pkg:"reflect",typ:Ke([],[tt],!1)},{prop:"nameOff",name:"nameOff",pkg:"reflect",typ:Ke([le],[C],!1)},{prop:"typeOff",name:"typeOff",pkg:"reflect",typ:Ke([ue],[Pe],!1)},{prop:"ptrTo",name:"ptrTo",pkg:"reflect",typ:Ke([],[Pe],!1)},{prop:"pointers",name:"pointers",pkg:"reflect",typ:Ke([],[we],!1)},{prop:"Comparable",name:"Comparable",pkg:"",typ:Ke([],[we],!1)},{prop:"Method",name:"Method",pkg:"",typ:Ke([_e],[se],!1)},{prop:"textOff",name:"textOff",pkg:"reflect",typ:Ke([pe],[Le],!1)},{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"Size",name:"Size",pkg:"",typ:Ke([],[Be],!1)},{prop:"Bits",name:"Bits",pkg:"",typ:Ke([],[_e],!1)},{prop:"Align",name:"Align",pkg:"",typ:Ke([],[_e],!1)},{prop:"FieldAlign",name:"FieldAlign",pkg:"",typ:Ke([],[_e],!1)},{prop:"Kind",name:"Kind",pkg:"",typ:Ke([],[W],!1)},{prop:"common",name:"common",pkg:"reflect",typ:Ke([],[Pe],!1)},{prop:"exportedMethods",name:"exportedMethods",pkg:"reflect",typ:Ke([],[Xe],!1)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:Ke([],[_e],!1)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:Ke([Te],[se,we],!1)},{prop:"PkgPath",name:"PkgPath",pkg:"",typ:Ke([],[Te],!1)},{prop:"Name",name:"Name",pkg:"",typ:Ke([],[Te],!1)},{prop:"ChanDir",name:"ChanDir",pkg:"",typ:Ke([],[K],!1)},{prop:"IsVariadic",name:"IsVariadic",pkg:"",typ:Ke([],[we],!1)},{prop:"Elem",name:"Elem",pkg:"",typ:Ke([],[A],!1)},{prop:"Field",name:"Field",pkg:"",typ:Ke([_e],[he],!1)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:Ke([yt],[he],!1)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:Ke([Te],[he,we],!1)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:Ke([St],[he,we],!1)},{prop:"In",name:"In",pkg:"",typ:Ke([_e],[A],!1)},{prop:"Key",name:"Key",pkg:"",typ:Ke([],[A],!1)},{prop:"Len",name:"Len",pkg:"",typ:Ke([],[_e],!1)},{prop:"NumField",name:"NumField",pkg:"",typ:Ke([],[_e],!1)},{prop:"NumIn",name:"NumIn",pkg:"",typ:Ke([],[_e],!1)},{prop:"NumOut",name:"NumOut",pkg:"",typ:Ke([],[_e],!1)},{prop:"Out",name:"Out",pkg:"",typ:Ke([_e],[A],!1)},{prop:"Implements",name:"Implements",pkg:"",typ:Ke([A],[we],!1)},{prop:"AssignableTo",name:"AssignableTo",pkg:"",typ:Ke([A],[we],!1)},{prop:"ConvertibleTo",name:"ConvertibleTo",pkg:"",typ:Ke([A],[we],!1)}],K.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)}],gt.methods=[{prop:"Method",name:"Method",pkg:"",typ:Ke([_e],[se],!1)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:Ke([],[_e],!1)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:Ke([Te],[se,we],!1)}],Ct.methods=[{prop:"offset",name:"offset",pkg:"reflect",typ:Ke([],[Be],!1)},{prop:"embedded",name:"embedded",pkg:"reflect",typ:Ke([],[we],!1)}],wt.methods=[{prop:"Field",name:"Field",pkg:"",typ:Ke([_e],[he],!1)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:Ke([yt],[he],!1)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:Ke([St],[he,we],!1)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:Ke([Te],[he,we],!1)}],$e.methods=[{prop:"Get",name:"Get",pkg:"",typ:Ke([Te],[Te],!1)},{prop:"Lookup",name:"Lookup",pkg:"",typ:Ke([Te],[Te,we],!1)}],ge.methods=[{prop:"object",name:"object",pkg:"reflect",typ:Ke([],[We],!1)},{prop:"assignTo",name:"assignTo",pkg:"reflect",typ:Ke([Te,Pe,Le],[ge],!1)},{prop:"Cap",name:"Cap",pkg:"",typ:Ke([],[_e],!1)},{prop:"Elem",name:"Elem",pkg:"",typ:Ke([],[ge],!1)},{prop:"Field",name:"Field",pkg:"",typ:Ke([_e],[ge],!1)},{prop:"Index",name:"Index",pkg:"",typ:Ke([_e],[ge],!1)},{prop:"InterfaceData",name:"InterfaceData",pkg:"",typ:Ke([],[Ot],!1)},{prop:"IsNil",name:"IsNil",pkg:"",typ:Ke([],[we],!1)},{prop:"Len",name:"Len",pkg:"",typ:Ke([],[_e],!1)},{prop:"Pointer",name:"Pointer",pkg:"",typ:Ke([],[Be],!1)},{prop:"Set",name:"Set",pkg:"",typ:Ke([ge],[],!1)},{prop:"SetBytes",name:"SetBytes",pkg:"",typ:Ke([_t],[],!1)},{prop:"SetCap",name:"SetCap",pkg:"",typ:Ke([_e],[],!1)},{prop:"SetLen",name:"SetLen",pkg:"",typ:Ke([_e],[],!1)},{prop:"Slice",name:"Slice",pkg:"",typ:Ke([_e,_e],[ge],!1)},{prop:"Slice3",name:"Slice3",pkg:"",typ:Ke([_e,_e,_e],[ge],!1)},{prop:"Close",name:"Close",pkg:"",typ:Ke([],[],!1)},{prop:"call",name:"call",pkg:"reflect",typ:Ke([Te,ot],[ot],!1)},{prop:"pointer",name:"pointer",pkg:"reflect",typ:Ke([],[Le],!1)},{prop:"Addr",name:"Addr",pkg:"",typ:Ke([],[ge],!1)},{prop:"Bool",name:"Bool",pkg:"",typ:Ke([],[we],!1)},{prop:"Bytes",name:"Bytes",pkg:"",typ:Ke([],[_t],!1)},{prop:"runes",name:"runes",pkg:"reflect",typ:Ke([],[Et],!1)},{prop:"CanAddr",name:"CanAddr",pkg:"",typ:Ke([],[we],!1)},{prop:"CanSet",name:"CanSet",pkg:"",typ:Ke([],[we],!1)},{prop:"Call",name:"Call",pkg:"",typ:Ke([ot],[ot],!1)},{prop:"CallSlice",name:"CallSlice",pkg:"",typ:Ke([ot],[ot],!1)},{prop:"Complex",name:"Complex",pkg:"",typ:Ke([],[Ne],!1)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:Ke([yt],[ge],!1)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:Ke([Te],[ge],!1)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:Ke([St],[ge],!1)},{prop:"Float",name:"Float",pkg:"",typ:Ke([],[Ie],!1)},{prop:"Int",name:"Int",pkg:"",typ:Ke([],[De],!1)},{prop:"CanInterface",name:"CanInterface",pkg:"",typ:Ke([],[we],!1)},{prop:"Interface",name:"Interface",pkg:"",typ:Ke([],[Je],!1)},{prop:"IsValid",name:"IsValid",pkg:"",typ:Ke([],[we],!1)},{prop:"Kind",name:"Kind",pkg:"",typ:Ke([],[W],!1)},{prop:"MapIndex",name:"MapIndex",pkg:"",typ:Ke([ge],[ge],!1)},{prop:"MapKeys",name:"MapKeys",pkg:"",typ:Ke([],[ot],!1)},{prop:"MapRange",name:"MapRange",pkg:"",typ:Ke([],[Ft],!1)},{prop:"Method",name:"Method",pkg:"",typ:Ke([_e],[ge],!1)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:Ke([],[_e],!1)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:Ke([Te],[ge],!1)},{prop:"NumField",name:"NumField",pkg:"",typ:Ke([],[_e],!1)},{prop:"OverflowComplex",name:"OverflowComplex",pkg:"",typ:Ke([Ne],[we],!1)},{prop:"OverflowFloat",name:"OverflowFloat",pkg:"",typ:Ke([Ie],[we],!1)},{prop:"OverflowInt",name:"OverflowInt",pkg:"",typ:Ke([De],[we],!1)},{prop:"OverflowUint",name:"OverflowUint",pkg:"",typ:Ke([Re],[we],!1)},{prop:"Recv",name:"Recv",pkg:"",typ:Ke([],[ge,we],!1)},{prop:"recv",name:"recv",pkg:"reflect",typ:Ke([we],[ge,we],!1)},{prop:"Send",name:"Send",pkg:"",typ:Ke([ge],[],!1)},{prop:"send",name:"send",pkg:"reflect",typ:Ke([ge,we],[we],!1)},{prop:"SetBool",name:"SetBool",pkg:"",typ:Ke([we],[],!1)},{prop:"setRunes",name:"setRunes",pkg:"reflect",typ:Ke([Et],[],!1)},{prop:"SetComplex",name:"SetComplex",pkg:"",typ:Ke([Ne],[],!1)},{prop:"SetFloat",name:"SetFloat",pkg:"",typ:Ke([Ie],[],!1)},{prop:"SetInt",name:"SetInt",pkg:"",typ:Ke([De],[],!1)},{prop:"SetMapIndex",name:"SetMapIndex",pkg:"",typ:Ke([ge,ge],[],!1)},{prop:"SetUint",name:"SetUint",pkg:"",typ:Ke([Re],[],!1)},{prop:"SetPointer",name:"SetPointer",pkg:"",typ:Ke([Le],[],!1)},{prop:"SetString",name:"SetString",pkg:"",typ:Ke([Te],[],!1)},{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"TryRecv",name:"TryRecv",pkg:"",typ:Ke([],[ge,we],!1)},{prop:"TrySend",name:"TrySend",pkg:"",typ:Ke([ge],[we],!1)},{prop:"Type",name:"Type",pkg:"",typ:Ke([],[A],!1)},{prop:"Uint",name:"Uint",pkg:"",typ:Ke([],[Re],!1)},{prop:"UnsafeAddr",name:"UnsafeAddr",pkg:"",typ:Ke([],[Be],!1)},{prop:"Convert",name:"Convert",pkg:"",typ:Ke([A],[ge],!1)}],be.methods=[{prop:"kind",name:"kind",pkg:"reflect",typ:Ke([],[W],!1)},{prop:"ro",name:"ro",pkg:"reflect",typ:Ke([],[be],!1)},{prop:"mustBe",name:"mustBe",pkg:"reflect",typ:Ke([W],[],!1)},{prop:"mustBeExported",name:"mustBeExported",pkg:"reflect",typ:Ke([],[],!1)},{prop:"mustBeAssignable",name:"mustBeAssignable",pkg:"reflect",typ:Ke([],[],!1)}],Rt.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}],Ft.methods=[{prop:"Key",name:"Key",pkg:"",typ:Ke([],[ge],!1)},{prop:"Value",name:"Value",pkg:"",typ:Ke([],[ge],!1)},{prop:"Next",name:"Next",pkg:"",typ:Ke([],[we],!1)}],w.init("reflect",[{prop:"pkgPath",name:"pkgPath",embedded:!1,exported:!1,typ:le,tag:""},{prop:"mcount",name:"mcount",embedded:!1,exported:!1,typ:Oe,tag:""},{prop:"xcount",name:"xcount",embedded:!1,exported:!1,typ:Oe,tag:""},{prop:"moff",name:"moff",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"_methods",name:"_methods",embedded:!1,exported:!1,typ:Xe,tag:""}]),x.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:'reflect:"func"'},{prop:"inCount",name:"inCount",embedded:!1,exported:!1,typ:Oe,tag:""},{prop:"outCount",name:"outCount",embedded:!1,exported:!1,typ:Oe,tag:""},{prop:"_in",name:"_in",embedded:!1,exported:!1,typ:Ae,tag:""},{prop:"_out",name:"_out",embedded:!1,exported:!1,typ:Ae,tag:""}]),C.init("reflect",[{prop:"bytes",name:"bytes",embedded:!1,exported:!1,typ:Ge,tag:""}]),O.init("reflect",[{prop:"name",name:"name",embedded:!1,exported:!1,typ:Te,tag:""},{prop:"tag",name:"tag",embedded:!1,exported:!1,typ:Te,tag:""},{prop:"exported",name:"exported",embedded:!1,exported:!1,typ:we,tag:""}]),R.init("reflect",[{prop:"t",name:"t",embedded:!1,exported:!1,typ:A,tag:""},{prop:"m",name:"m",embedded:!1,exported:!1,typ:We,tag:""},{prop:"keys",name:"keys",embedded:!1,exported:!1,typ:We,tag:""},{prop:"i",name:"i",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"last",name:"last",embedded:!1,exported:!1,typ:We,tag:""}]),A.init([{prop:"Align",name:"Align",pkg:"",typ:Ke([],[_e],!1)},{prop:"AssignableTo",name:"AssignableTo",pkg:"",typ:Ke([A],[we],!1)},{prop:"Bits",name:"Bits",pkg:"",typ:Ke([],[_e],!1)},{prop:"ChanDir",name:"ChanDir",pkg:"",typ:Ke([],[K],!1)},{prop:"Comparable",name:"Comparable",pkg:"",typ:Ke([],[we],!1)},{prop:"ConvertibleTo",name:"ConvertibleTo",pkg:"",typ:Ke([A],[we],!1)},{prop:"Elem",name:"Elem",pkg:"",typ:Ke([],[A],!1)},{prop:"Field",name:"Field",pkg:"",typ:Ke([_e],[he],!1)},{prop:"FieldAlign",name:"FieldAlign",pkg:"",typ:Ke([],[_e],!1)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:Ke([yt],[he],!1)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:Ke([Te],[he,we],!1)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:Ke([St],[he,we],!1)},{prop:"Implements",name:"Implements",pkg:"",typ:Ke([A],[we],!1)},{prop:"In",name:"In",pkg:"",typ:Ke([_e],[A],!1)},{prop:"IsVariadic",name:"IsVariadic",pkg:"",typ:Ke([],[we],!1)},{prop:"Key",name:"Key",pkg:"",typ:Ke([],[A],!1)},{prop:"Kind",name:"Kind",pkg:"",typ:Ke([],[W],!1)},{prop:"Len",name:"Len",pkg:"",typ:Ke([],[_e],!1)},{prop:"Method",name:"Method",pkg:"",typ:Ke([_e],[se],!1)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:Ke([Te],[se,we],!1)},{prop:"Name",name:"Name",pkg:"",typ:Ke([],[Te],!1)},{prop:"NumField",name:"NumField",pkg:"",typ:Ke([],[_e],!1)},{prop:"NumIn",name:"NumIn",pkg:"",typ:Ke([],[_e],!1)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:Ke([],[_e],!1)},{prop:"NumOut",name:"NumOut",pkg:"",typ:Ke([],[_e],!1)},{prop:"Out",name:"Out",pkg:"",typ:Ke([_e],[A],!1)},{prop:"PkgPath",name:"PkgPath",pkg:"",typ:Ke([],[Te],!1)},{prop:"Size",name:"Size",pkg:"",typ:Ke([],[Be],!1)},{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"common",name:"common",pkg:"reflect",typ:Ke([],[Pe],!1)},{prop:"uncommon",name:"uncommon",pkg:"reflect",typ:Ke([],[tt],!1)}]),U.init("reflect",[{prop:"size",name:"size",embedded:!1,exported:!1,typ:Be,tag:""},{prop:"ptrdata",name:"ptrdata",embedded:!1,exported:!1,typ:Be,tag:""},{prop:"hash",name:"hash",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"tflag",name:"tflag",embedded:!1,exported:!1,typ:z,tag:""},{prop:"align",name:"align",embedded:!1,exported:!1,typ:Ce,tag:""},{prop:"fieldAlign",name:"fieldAlign",embedded:!1,exported:!1,typ:Ce,tag:""},{prop:"kind",name:"kind",embedded:!1,exported:!1,typ:Ce,tag:""},{prop:"alg",name:"alg",embedded:!1,exported:!1,typ:qe,tag:""},{prop:"gcdata",name:"gcdata",embedded:!1,exported:!1,typ:Ge,tag:""},{prop:"str",name:"str",embedded:!1,exported:!1,typ:le,tag:""},{prop:"ptrToThis",name:"ptrToThis",embedded:!1,exported:!1,typ:ue,tag:""}]),q.init("reflect",[{prop:"hash",name:"hash",embedded:!1,exported:!1,typ:Dt,tag:""},{prop:"equal",name:"equal",embedded:!1,exported:!1,typ:Pt,tag:""}]),H.init("reflect",[{prop:"name",name:"name",embedded:!1,exported:!1,typ:le,tag:""},{prop:"mtyp",name:"mtyp",embedded:!1,exported:!1,typ:ue,tag:""},{prop:"ifn",name:"ifn",embedded:!1,exported:!1,typ:pe,tag:""},{prop:"tfn",name:"tfn",embedded:!1,exported:!1,typ:pe,tag:""}]),Z.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:""},{prop:"elem",name:"elem",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"slice",name:"slice",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"len",name:"len",embedded:!1,exported:!1,typ:Be,tag:""}]),Y.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:""},{prop:"elem",name:"elem",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"dir",name:"dir",embedded:!1,exported:!1,typ:Be,tag:""}]),Q.init("reflect",[{prop:"name",name:"name",embedded:!1,exported:!1,typ:le,tag:""},{prop:"typ",name:"typ",embedded:!1,exported:!1,typ:ue,tag:""}]),te.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:""},{prop:"pkgPath",name:"pkgPath",embedded:!1,exported:!1,typ:C,tag:""},{prop:"methods",name:"methods",embedded:!1,exported:!1,typ:Ye,tag:""}]),re.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:""},{prop:"key",name:"key",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"elem",name:"elem",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"bucket",name:"bucket",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"keysize",name:"keysize",embedded:!1,exported:!1,typ:Ce,tag:""},{prop:"valuesize",name:"valuesize",embedded:!1,exported:!1,typ:Ce,tag:""},{prop:"bucketsize",name:"bucketsize",embedded:!1,exported:!1,typ:Oe,tag:""},{prop:"flags",name:"flags",embedded:!1,exported:!1,typ:Fe,tag:""}]),ne.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:""},{prop:"elem",name:"elem",embedded:!1,exported:!1,typ:Pe,tag:""}]),ie.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:""},{prop:"elem",name:"elem",embedded:!1,exported:!1,typ:Pe,tag:""}]),oe.init("reflect",[{prop:"name",name:"name",embedded:!1,exported:!1,typ:C,tag:""},{prop:"typ",name:"typ",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"offsetEmbed",name:"offsetEmbed",embedded:!1,exported:!1,typ:Be,tag:""}]),ae.init("reflect",[{prop:"rtype",name:"rtype",embedded:!0,exported:!1,typ:U,tag:""},{prop:"pkgPath",name:"pkgPath",embedded:!1,exported:!1,typ:C,tag:""},{prop:"fields",name:"fields",embedded:!1,exported:!1,typ:Qe,tag:""}]),se.init("",[{prop:"Name",name:"Name",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"PkgPath",name:"PkgPath",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Type",name:"Type",embedded:!1,exported:!0,typ:A,tag:""},{prop:"Func",name:"Func",embedded:!1,exported:!0,typ:ge,tag:""},{prop:"Index",name:"Index",embedded:!1,exported:!0,typ:_e,tag:""}]),he.init("",[{prop:"Name",name:"Name",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"PkgPath",name:"PkgPath",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Type",name:"Type",embedded:!1,exported:!0,typ:A,tag:""},{prop:"Tag",name:"Tag",embedded:!1,exported:!0,typ:$e,tag:""},{prop:"Offset",name:"Offset",embedded:!1,exported:!0,typ:Be,tag:""},{prop:"Index",name:"Index",embedded:!1,exported:!0,typ:yt,tag:""},{prop:"Anonymous",name:"Anonymous",embedded:!1,exported:!0,typ:we,tag:""}]),me.init("reflect",[{prop:"typ",name:"typ",embedded:!1,exported:!1,typ:wt,tag:""},{prop:"index",name:"index",embedded:!1,exported:!1,typ:yt,tag:""}]),ge.init("reflect",[{prop:"typ",name:"typ",embedded:!1,exported:!1,typ:Pe,tag:""},{prop:"ptr",name:"ptr",embedded:!1,exported:!1,typ:Le,tag:""},{prop:"flag",name:"flag",embedded:!0,exported:!1,typ:be,tag:""}]),ve.init("",[{prop:"Method",name:"Method",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Kind",name:"Kind",embedded:!1,exported:!0,typ:W,tag:""}]),xe.init("reflect",[{prop:"m",name:"m",embedded:!1,exported:!1,typ:ge,tag:""},{prop:"it",name:"it",embedded:!1,exported:!1,typ:Le,tag:""}]),e=function(){un.$init=function(){};var t,i,o=!1,s=0;void 0!==this&&void 0!==this.$blk&&(o=!0,s=(t=this).$s,i=t.$r);e:for(;1;){switch(s){case 0:i=r.$init(),s=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=n.$init(),s=2;case 2:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=a.$init(),s=3;case 3:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=c.$init(),s=4;case 4:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=p.$init(),s=5;case 5:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=d.$init(),s=6;case 6:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=$.$init(),s=7;case 7:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=m.$init(),s=8;case 8:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;Lt=Ee.nil,Mt=Ae.nil,At=!1,jt={},Tt={},Wt=ht(Nt(u,Je),ze),Ut=ht(Nt(Bt,Je),ze),zt=Kt(et),Vt=new Ve(["invalid","bool","int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","uintptr","float32","float64","complex64","complex128","array","chan","func","interface","map","ptr","slice","string","struct","unsafe.Pointer"]),qt=ht(ir(new Ce(0)),Pe),i=Ht(),s=9;case 9:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e}return}return void 0===t&&(t={$blk:e}),t.$s=s,t.$r=i,t},un.$init=e,un}(),o["sort"]=function(){var e,t,r,n,i,a,s,c,l={};return t=o["reflect"],r=function(e,t,n){var i,o,a,s,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,i=(u=this)._r,o=u._v,t=u.a,n=u.b,e=u.data,a=u.i,s=u.j,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:a=t+1>>0;case 1:if(!(a<n)){c=2;continue}s=a;case 3:if(!(s>t)){o=!1,c=5;continue e}i=e.Less(s,s-1>>0),c=6;case 6:if(p&&(p=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;o=i;case 5:if(!o){c=4;continue}l=e.Swap(s,s-1>>0),c=7;case 7:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;s=s-1>>0,c=3;continue;case 4:a=a+1>>0,c=1;continue;case 2:return void(c=-1)}return}return void 0===u&&(u={$blk:r}),u._r=i,u._v=o,u.a=t,u.b=n,u.data=e,u.i=a,u.j=s,u.$s=c,u.$r=l,u},n=function(e,t,r,i){var o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this).a,r=c.b,e=c.data,o=c.i,i=c.n,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:o=0;case 1:if(!(o<i)){a=2;continue}s=e.Swap(t+o>>0,r+o>>0),a=3;case 3:if(l&&(l=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;o=o+1>>0,a=1;continue;case 2:return void(a=-1)}return}return void 0===c&&(c={$blk:n}),c.a=t,c.b=r,c.data=e,c.i=o,c.n=i,c.$s=a,c.$r=s,c},i=function(e){var t,r,n,o,s;o=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._arg,r=c._arg$1,n=c._r,e=c.data,o=c.$s,s=c.$r);e:for(;1;){switch(o){case 0:t=e,n=e.Len(),o=1;case 1:if(l&&(l=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;s=a(t,r=n),o=2;case 2:if(l&&(l=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;return void(o=-1)}return}return void 0===c&&(c={$blk:i}),c._arg=t,c._arg$1=r,c._r=n,c.data=e,c.$s=o,c.$r=s,c},l.Stable=i,a=function(e,t){var n,i,o,c,l,u,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,n=($=this)._tmp,i=$._tmp$1,o=$._tmp$2,c=$._tmp$3,l=$.a,u=$.b,p=$.blockSize,e=$.data,d=$.m,t=$.n,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:l=n=0,u=i=p=20;case 1:if(!(u<=t)){f=2;continue}h=r(e,l,u),f=3;case 3:if(m&&(m=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;l=u,u=u+p>>0,f=1;continue;case 2:h=r(e,l,t),f=4;case 4:if(m&&(m=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;case 5:if(!(p<t)){f=6;continue}l=o=0,u=c=j(2,p);case 7:if(!(u<=t)){f=8;continue}h=s(e,l,l+p>>0,u),f=9;case 9:if(m&&(m=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;l=u,u=u+j(2,p)>>0,f=7;continue;case 8:if((d=l+p>>0)<t){f=10;continue}f=11;continue;case 10:h=s(e,l,d,t),f=12;case 12:if(m&&(m=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;case 11:p=j(p,2),f=5;continue;case 6:return void(f=-1)}return}return void 0===$&&($={$blk:a}),$._tmp=n,$._tmp$1=i,$._tmp$2=o,$._tmp$3=c,$.a=l,$.b=u,$.blockSize=p,$.data=e,$.m=d,$.n=t,$.$s=f,$.$r=h,$},s=function(e,t,r,n){var i,o,a,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,E,S,D;S=0;var P,C=!1;void 0!==this&&void 0!==this.$blk&&(C=!0,i=(P=this)._r,o=P._r$1,a=P._r$2,l=P._tmp,u=P._tmp$1,t=P.a,n=P.b,p=P.c,e=P.data,d=P.end,f=P.h,h=P.h$1,$=P.i,m=P.i$1,g=P.j,b=P.j$1,v=P.k,y=P.k$1,r=P.m,k=P.mid,w=P.n,_=P.p,x=P.r,E=P.start,S=P.$s,D=P.$r);e:for(;1;){switch(S){case 0:if(r-t>>0==1){S=1;continue}S=2;continue;case 1:$=r,g=n;case 3:if(!($<g)){S=4;continue}f=$+g>>0>>>0>>>1>>>0>>0,i=e.Less(f,t),S=8;case 8:if(C&&(C=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;if(i){S=5;continue}S=6;continue;case 5:$=f+1>>0,S=7;continue;case 6:g=f;case 7:S=3;continue;case 4:v=t;case 9:if(!(v<$-1>>0)){S=10;continue}D=e.Swap(v,v+1>>0),S=11;case 11:if(C&&(C=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;v=v+1>>0,S=9;continue;case 10:return void(S=-1);case 2:if(n-r>>0==1){S=12;continue}S=13;continue;case 12:m=t,b=r;case 14:if(!(m<b)){S=15;continue}h=m+b>>0>>>0>>>1>>>0>>0,o=e.Less(r,h),S=19;case 19:if(C&&(C=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;if(!o){S=16;continue}S=17;continue;case 16:m=h+1>>0,S=18;continue;case 17:b=h;case 18:S=14;continue;case 15:y=r;case 20:if(!(y>m)){S=21;continue}D=e.Swap(y,y-1>>0),S=22;case 22:if(C&&(C=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;y=y-1>>0,S=20;continue;case 21:return void(S=-1);case 13:w=(k=t+n>>0>>>0>>>1>>>0>>0)+r>>0,E=l=0,x=u=0,r>k?(E=w-n>>0,x=k):(E=t,x=r),_=w-1>>0;case 23:if(!(E<x)){S=24;continue}p=E+x>>0>>>0>>>1>>>0>>0,a=e.Less(_-p>>0,p),S=28;case 28:if(C&&(C=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;if(!a){S=25;continue}S=26;continue;case 25:E=p+1>>0,S=27;continue;case 26:x=p;case 27:S=23;continue;case 24:if(d=w-E>>0,E<r&&r<d){S=29;continue}S=30;continue;case 29:D=c(e,E,r,d),S=31;case 31:if(C&&(C=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;case 30:if(t<E&&E<k){S=32;continue}S=33;continue;case 32:D=s(e,t,E,k),S=34;case 34:if(C&&(C=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;case 33:if(k<d&&d<n){S=35;continue}S=36;continue;case 35:D=s(e,k,d,n),S=37;case 37:if(C&&(C=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;case 36:return void(S=-1)}return}return void 0===P&&(P={$blk:s}),P._r=i,P._r$1=o,P._r$2=a,P._tmp=l,P._tmp$1=u,P.a=t,P.b=n,P.c=p,P.data=e,P.end=d,P.h=f,P.h$1=h,P.i=$,P.i$1=m,P.j=g,P.j$1=b,P.k=v,P.k$1=y,P.m=r,P.mid=k,P.n=w,P.p=_,P.r=x,P.start=E,P.$s=S,P.$r=D,P},c=function(e,t,r,i){var o,a,s,l;s=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,t=(u=this).a,i=u.b,e=u.data,o=u.i,a=u.j,r=u.m,s=u.$s,l=u.$r);e:for(;1;){switch(s){case 0:o=r-t>>0,a=i-r>>0;case 1:if(o===a){s=2;continue}if(o>a){s=3;continue}s=4;continue;case 3:l=n(e,r-o>>0,r,a),s=6;case 6:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;o=o-a>>0,s=5;continue;case 4:l=n(e,r-o>>0,(r+a>>0)-o>>0,o),s=7;case 7:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;a=a-o>>0;case 5:s=1;continue;case 2:l=n(e,r-o>>0,r,o),s=8;case 8:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;return void(s=-1)}return}return void 0===u&&(u={$blk:c}),u.a=t,u.b=i,u.data=e,u.i=o,u.j=a,u.m=r,u.$s=s,u.$r=l,u},e=function(){l.$init=function(){};var r,n,i=!1,o=0;void 0!==this&&void 0!==this.$blk&&(i=!0,o=(r=this).$s,n=r.$r);e:for(;1;){switch(o){case 0:n=t.$init(),o=1;case 1:if(i&&(i=!1,n=n.$blk()),n&&void 0!==n.$blk)break e}return}return void 0===r&&(r={$blk:e}),r.$s=o,r.$r=n,r},l.$init=e,l}(),o["internal/fmtsort"]=function(){var e,t,r,n,a,s,c,l,u,p,d,f={};return t=o["reflect"],r=o["sort"],n=f.SortedMap=ye(0,fe,"fmtsort.SortedMap",!0,"internal/fmtsort",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Key=s.nil,void(this.Value=s.nil);this.Key=e,this.Value=t})),a=st(n),s=ut(t.Value),n.ptr.prototype.Len=function(){return this.Key.$length},n.prototype.Len=function(){return this.$val.Len()},n.ptr.prototype.Less=function(e,r){var o,a,s,c,u,p;u=0;var d,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,o=(d=this)._r,e=d.i,r=d.j,a=d.o,s=d.x,c=d.x$1,u=d.$s,p=d.$r);e:for(;1;){switch(u){case 0:o=l(E((s=(a=this).Key,e<0||e>=s.$length?void i("index out of range"):s.$array[s.$offset+e]),t.Value),E((c=a.Key,r<0||r>=c.$length?void i("index out of range"):c.$array[c.$offset+r]),t.Value)),u=1;case 1:if(f&&(f=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return u=-1,o<0}return}return void 0===d&&(d={$blk:n.ptr.prototype.Less}),d._r=o,d.i=e,d.j=r,d.o=a,d.x=s,d.x$1=c,d.$s=u,d.$r=p,d},n.prototype.Less=function(e,t){return this.$val.Less(e,t)},n.ptr.prototype.Swap=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,$;c=(s=this).Key,r=t<0||t>=c.$length?void i("index out of range"):c.$array[c.$offset+t],l=s.Key,n=e<0||e>=l.$length?void i("index out of range"):l.$array[l.$offset+e],u=s.Key,e<0||e>=u.$length?i("index out of range"):u.$array[u.$offset+e]=r,p=s.Key,t<0||t>=p.$length?i("index out of range"):p.$array[p.$offset+t]=n,d=s.Value,o=t<0||t>=d.$length?void i("index out of range"):d.$array[d.$offset+t],f=s.Value,a=e<0||e>=f.$length?void i("index out of range"):f.$array[f.$offset+e],h=s.Value,e<0||e>=h.$length?i("index out of range"):h.$array[h.$offset+e]=o,$=s.Value,t<0||t>=$.$length?i("index out of range"):$.$array[$.$offset+t]=a},n.prototype.Swap=function(e,t){return this.$val.Swap(e,t)},c=function(e){var o,l,u,p,d,f,h,$,m,g,b;g=0;var v,y=!1;void 0!==this&&void 0!==this.$blk&&(y=!0,o=(v=this)._r,l=v._r$1,u=v._r$2,p=v._r$3,d=v.i,f=v.iter,h=v.key,e=v.mapValue,$=v.sorted,m=v.value,g=v.$s,b=v.$r);e:for(;1;){switch(g){case 0:o=E(e,t.Value).Type().Kind(),g=3;case 3:if(y&&(y=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;if(21!==o){g=1;continue}g=2;continue;case 1:return g=-1,a.nil;case 2:h=pt(s,E(e,t.Value).Len()),m=pt(s,h.$length),f=E(e,t.Value).MapRange(),d=0;case 4:l=f.Next(),g=6;case 6:if(y&&(y=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;if(!l){g=5;continue}u=f.Key(),g=7;case 7:if(y&&(y=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;d<0||d>=h.$length?i("index out of range"):h.$array[h.$offset+d]=u,p=f.Value(),g=8;case 8:if(y&&(y=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;d<0||d>=m.$length?i("index out of range"):m.$array[m.$offset+d]=p,d=d+1>>0,g=4;continue;case 5:$=new n.ptr(h,m),b=r.Stable($),g=9;case 9:if(y&&(y=!1,b=b.$blk()),b&&void 0!==b.$blk)break e;return g=-1,$}return}return void 0===v&&(v={$blk:c}),v._r=o,v._r$1=l,v._r$2=u,v._r$3=p,v.i=d,v.iter=f,v.key=h,v.mapValue=e,v.sorted=$,v.value=m,v.$s=g,v.$r=b,v},f.Sort=c,l=function(e,r){var n,i,o,a,s,c,d,f,h,$,m,g,b,v,y,k,w,_,x,S,D,P,C,O,R,B,A,I,j,N,T,L,M,W,z,U,V,q,H,G,K,X,J,Z,Y,Q,ee,te,re,ne,ie,oe,ae,se,ce,le,ue,pe,de,fe,he,$e,me,ge,be,ve,ye,ke,we,_e,xe,Ee,Se,De;Se=0;var Pe,Ce=!1;void 0!==this&&void 0!==this.$blk&&(Ce=!0,n=(Pe=this)._1,i=Pe._arg,o=Pe._arg$1,a=Pe._arg$2,s=Pe._arg$3,c=Pe._arg$4,d=Pe._arg$5,f=Pe._arg$6,h=Pe._arg$7,$=Pe._r,m=Pe._r$1,g=Pe._r$10,b=Pe._r$11,v=Pe._r$12,y=Pe._r$13,k=Pe._r$14,w=Pe._r$15,_=Pe._r$16,x=Pe._r$17,S=Pe._r$18,D=Pe._r$2,P=Pe._r$3,C=Pe._r$4,O=Pe._r$5,R=Pe._r$6,B=Pe._r$7,A=Pe._r$8,I=Pe._r$9,j=Pe._tmp,N=Pe._tmp$1,T=Pe._tmp$10,L=Pe._tmp$11,M=Pe._tmp$12,W=Pe._tmp$13,z=Pe._tmp$14,U=Pe._tmp$15,V=Pe._tmp$2,q=Pe._tmp$3,H=Pe._tmp$4,G=Pe._tmp$5,K=Pe._tmp$6,X=Pe._tmp$7,J=Pe._tmp$8,Z=Pe._tmp$9,Y=Pe._tuple,Q=Pe._tuple$1,ee=Pe.a,te=Pe.a$1,re=Pe.a$2,ne=Pe.a$3,ie=Pe.a$4,oe=Pe.a$5,ae=Pe.aType,e=Pe.aVal,se=Pe.ap,ce=Pe.b,le=Pe.b$1,ue=Pe.b$2,pe=Pe.b$3,de=Pe.b$4,fe=Pe.b$5,he=Pe.bType,r=Pe.bVal,$e=Pe.bp,me=Pe.c,ge=Pe.c$1,be=Pe.c$2,ve=Pe.c$3,ye=Pe.c$4,ke=Pe.c$5,we=Pe.i,_e=Pe.i$1,xe=Pe.ok,Ee=Pe.ok$1,Se=Pe.$s,De=Pe.$r);e:for(;1;){switch(Se){case 0:if(j=E(e,t.Value).Type(),N=E(r,t.Value).Type(),!F(ae=j,he=N))return Se=-1,-1;if(2===(n=E(e,t.Value).Kind())||3===n||4===n||5===n||6===n){Se=2;continue}if(7===n||8===n||9===n||10===n||11===n||12===n){Se=3;continue}if(24===n){Se=4;continue}if(13===n||14===n){Se=5;continue}if(15===n||16===n){Se=6;continue}if(1===n){Se=7;continue}if(22===n){Se=8;continue}if(18===n){Se=9;continue}if(25===n){Se=10;continue}if(17===n){Se=11;continue}if(20===n){Se=12;continue}Se=13;continue;case 2:return V=E(e,t.Value).Int(),ce=q=E(r,t.Value).Int(),(ee=V).$high<ce.$high||ee.$high===ce.$high&&ee.$low<ce.$low?(Se=-1,-1):ee.$high>ce.$high||ee.$high===ce.$high&&ee.$low>ce.$low?(Se=-1,1):(Se=-1,0);case 3:return H=E(e,t.Value).Uint(),le=G=E(r,t.Value).Uint(),(te=H).$high<le.$high||te.$high===le.$high&&te.$low<le.$low?(Se=-1,-1):te.$high>le.$high||te.$high===le.$high&&te.$low>le.$low?(Se=-1,1):(Se=-1,0);case 4:$=E(e,t.Value).String(),Se=15;case 15:if(Ce&&(Ce=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;K=$,m=E(r,t.Value).String(),Se=16;case 16:if(Ce&&(Ce=!1,m=m.$blk()),m&&void 0!==m.$blk)break e;return(re=K)<(ue=X=m)?(Se=-1,-1):re>ue?(Se=-1,1):(Se=-1,0);case 5:return Se=-1,p(E(e,t.Value).Float(),E(r,t.Value).Float());case 6:return J=E(e,t.Value).Complex(),pe=Z=E(r,t.Value).Complex(),0!==(me=p((ne=J).$real,pe.$real))?(Se=-1,me):(Se=-1,p(ne.$imag,pe.$imag));case 7:return(ie=T=E(e,t.Value).Bool())===(de=L=E(r,t.Value).Bool())?(Se=-1,0):ie?(Se=-1,1):(Se=-1,-1);case 8:return(oe=M=E(e,t.Value).Pointer())<(fe=W=E(r,t.Value).Pointer())?(Se=-1,-1):oe>fe?(Se=-1,1):(Se=-1,0);case 9:return ge=(Y=u(E(e,t.Value),E(r,t.Value)))[0],(xe=Y[1])?(Se=-1,ge):(se=z=E(e,t.Value).Pointer())<($e=U=E(r,t.Value).Pointer())?(Se=-1,-1):se>$e?(Se=-1,1):(Se=-1,0);case 10:we=0;case 17:if(!(we<E(e,t.Value).NumField())){Se=18;continue}D=E(e,t.Value).Field(we),Se=19;case 19:if(Ce&&(Ce=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;i=E(D,t.Value),P=E(r,t.Value).Field(we),Se=20;case 20:if(Ce&&(Ce=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;o=E(P,t.Value),C=l(i,o),Se=21;case 21:if(Ce&&(Ce=!1,C=C.$blk()),C&&void 0!==C.$blk)break e;if(0!==(be=C))return Se=-1,be;we=we+1>>0,Se=17;continue;case 18:return Se=-1,0;case 11:_e=0;case 22:if(!(_e<E(e,t.Value).Len())){Se=23;continue}O=E(e,t.Value).Index(_e),Se=24;case 24:if(Ce&&(Ce=!1,O=O.$blk()),O&&void 0!==O.$blk)break e;a=E(O,t.Value),R=E(r,t.Value).Index(_e),Se=25;case 25:if(Ce&&(Ce=!1,R=R.$blk()),R&&void 0!==R.$blk)break e;s=E(R,t.Value),B=l(a,s),Se=26;case 26:if(Ce&&(Ce=!1,B=B.$blk()),B&&void 0!==B.$blk)break e;if(0!==(ve=B))return Se=-1,ve;_e=_e+1>>0,Se=22;continue;case 23:return Se=-1,0;case 12:if(ye=(Q=u(E(e,t.Value),E(r,t.Value)))[0],Ee=Q[1])return Se=-1,ye;A=E(e,t.Value).Elem(),Se=27;case 27:if(Ce&&(Ce=!1,A=A.$blk()),A&&void 0!==A.$blk)break e;I=E(A,t.Value).Type(),Se=28;case 28:if(Ce&&(Ce=!1,I=I.$blk()),I&&void 0!==I.$blk)break e;g=t.ValueOf(I),Se=29;case 29:if(Ce&&(Ce=!1,g=g.$blk()),g&&void 0!==g.$blk)break e;c=E(g,t.Value),b=E(r,t.Value).Elem(),Se=30;case 30:if(Ce&&(Ce=!1,b=b.$blk()),b&&void 0!==b.$blk)break e;v=E(b,t.Value).Type(),Se=31;case 31:if(Ce&&(Ce=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;y=t.ValueOf(v),Se=32;case 32:if(Ce&&(Ce=!1,y=y.$blk()),y&&void 0!==y.$blk)break e;d=E(y,t.Value),k=l(c,d),Se=33;case 33:if(Ce&&(Ce=!1,k=k.$blk()),k&&void 0!==k.$blk)break e;if(0!==(ke=k))return Se=-1,ke;w=E(e,t.Value).Elem(),Se=34;case 34:if(Ce&&(Ce=!1,w=w.$blk()),w&&void 0!==w.$blk)break e;f=E(w,t.Value),_=E(r,t.Value).Elem(),Se=35;case 35:if(Ce&&(Ce=!1,_=_.$blk()),_&&void 0!==_.$blk)break e;h=E(_,t.Value),x=l(f,h),Se=36;case 36:if(Ce&&(Ce=!1,x=x.$blk()),x&&void 0!==x.$blk)break e;return Se=-1,x;case 13:S=ae.String(),Se=37;case 37:if(Ce&&(Ce=!1,S=S.$blk()),S&&void 0!==S.$blk)break e;vt(new Te("bad type in compare: "+S));case 14:case 1:return Se=-1,0}return}return void 0===Pe&&(Pe={$blk:l}),Pe._1=n,Pe._arg=i,Pe._arg$1=o,Pe._arg$2=a,Pe._arg$3=s,Pe._arg$4=c,Pe._arg$5=d,Pe._arg$6=f,Pe._arg$7=h,Pe._r=$,Pe._r$1=m,Pe._r$10=g,Pe._r$11=b,Pe._r$12=v,Pe._r$13=y,Pe._r$14=k,Pe._r$15=w,Pe._r$16=_,Pe._r$17=x,Pe._r$18=S,Pe._r$2=D,Pe._r$3=P,Pe._r$4=C,Pe._r$5=O,Pe._r$6=R,Pe._r$7=B,Pe._r$8=A,Pe._r$9=I,Pe._tmp=j,Pe._tmp$1=N,Pe._tmp$10=T,Pe._tmp$11=L,Pe._tmp$12=M,Pe._tmp$13=W,Pe._tmp$14=z,Pe._tmp$15=U,Pe._tmp$2=V,Pe._tmp$3=q,Pe._tmp$4=H,Pe._tmp$5=G,Pe._tmp$6=K,Pe._tmp$7=X,Pe._tmp$8=J,Pe._tmp$9=Z,Pe._tuple=Y,Pe._tuple$1=Q,Pe.a=ee,Pe.a$1=te,Pe.a$2=re,Pe.a$3=ne,Pe.a$4=ie,Pe.a$5=oe,Pe.aType=ae,Pe.aVal=e,Pe.ap=se,Pe.b=ce,Pe.b$1=le,Pe.b$2=ue,Pe.b$3=pe,Pe.b$4=de,Pe.b$5=fe,Pe.bType=he,Pe.bVal=r,Pe.bp=$e,Pe.c=me,Pe.c$1=ge,Pe.c$2=be,Pe.c$3=ve,Pe.c$4=ye,Pe.c$5=ke,Pe.i=we,Pe.i$1=_e,Pe.ok=xe,Pe.ok$1=Ee,Pe.$s=Se,Pe.$r=De,Pe},u=function(e,r){return E(e,t.Value).IsNil()?E(r,t.Value).IsNil()?[0,!0]:[-1,!0]:E(r,t.Value).IsNil()?[1,!0]:[0,!1]},p=function(e,t){return d(e)?-1:d(t)?1:e<t?-1:e>t?1:0},d=function(e){return!(e==e)},a.methods=[{prop:"Len",name:"Len",pkg:"",typ:Ke([],[_e],!1)},{prop:"Less",name:"Less",pkg:"",typ:Ke([_e,_e],[we],!1)},{prop:"Swap",name:"Swap",pkg:"",typ:Ke([_e,_e],[],!1)}],n.init("",[{prop:"Key",name:"Key",embedded:!1,exported:!0,typ:s,tag:""},{prop:"Value",name:"Value",embedded:!1,exported:!0,typ:s,tag:""}]),e=function(){f.$init=function(){};var n,i,o=!1,a=0;void 0!==this&&void 0!==this.$blk&&(o=!0,a=(n=this).$s,i=n.$r);e:for(;1;){switch(a){case 0:i=t.$init(),a=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=r.$init(),a=2;case 2:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e}return}return void 0===n&&(n={$blk:e}),n.$s=a,n.$r=i,n},f.$init=e,f}(),o["syscall"]=function(){var e,r,n,a,s,u,p,h,m,g,y,k,w,_,x,E,S,C,O,A,I,j,L,M,z,U,V,H,G,X,Z,Q,te,re,ne,ie,oe,ae,se,le,ue,pe,he,$e,me,ge,be,ve,ke,Ee,Pe,Ae,Ie,je,Ne,ze,Ve,qe,He,Ge,Xe,Je,Qe,et,tt,rt,nt,it,at,ct,dt,ht,$t,mt,gt,kt,wt,xt,Et,St,Dt,Pt,Ct,Ot,Ft,Rt,Bt,At,jt,Tt,Lt,Mt,Wt,zt,Ut,Vt,qt,Ht,Gt,Kt,Xt,Jt,Zt,Yt,Qt,er,tr,rr,nr,ir,or,ar,sr,cr,lr,ur,pr,dr,fr,hr,$r,mr,gr,br,vr,yr,kr,wr,_r,xr,Er,Sr,Dr,Pr,Cr={};return r=o["github.com/gopherjs/gopherjs/js"],n=o["internal/race"],a=o["runtime"],s=o["sync"],u=Cr.RawConn=ye(8,ce,"syscall.RawConn",!0,"syscall",!0,null),p=Cr.SockaddrLinklayer=ye(0,fe,"syscall.SockaddrLinklayer",!0,"syscall",!0,(function(e,t,r,n,i,o,a){if(this.$val=this,0===arguments.length)return this.Protocol=0,this.Ifindex=0,this.Hatype=0,this.Pkttype=0,this.Halen=0,this.Addr=ne.zero(),void(this.raw=new A.ptr(0,0,0,0,0,0,ne.zero()));this.Protocol=e,this.Ifindex=t,this.Hatype=r,this.Pkttype=n,this.Halen=i,this.Addr=o,this.raw=a})),h=Cr.SockaddrNetlink=ye(0,fe,"syscall.SockaddrNetlink",!0,"syscall",!0,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.Family=0,this.Pad=0,this.Pid=0,this.Groups=0,void(this.raw=new I.ptr(0,0,0,0));this.Family=e,this.Pad=t,this.Pid=r,this.Groups=n,this.raw=i})),m=Cr.mmapper=ye(0,fe,"syscall.mmapper",!0,"syscall",!1,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.Mutex=new s.Mutex.ptr(0,0),this.active=!1,this.mmap=l,void(this.munmap=l);this.Mutex=e,this.active=t,this.mmap=r,this.munmap=n})),g=Cr.Errno=ye(4,ee,"syscall.Errno",!0,"syscall",!0,null),y=Cr.Sockaddr=ye(8,ce,"syscall.Sockaddr",!0,"syscall",!0,null),k=Cr.SockaddrInet4=ye(0,fe,"syscall.SockaddrInet4",!0,"syscall",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.Port=0,this.Addr=pe.zero(),void(this.raw=new S.ptr(0,0,pe.zero(),ne.zero()));this.Port=e,this.Addr=t,this.raw=r})),w=Cr.SockaddrInet6=ye(0,fe,"syscall.SockaddrInet6",!0,"syscall",!0,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.Port=0,this.ZoneId=0,this.Addr=oe.zero(),void(this.raw=new C.ptr(0,0,0,oe.zero(),0));this.Port=e,this.ZoneId=t,this.Addr=r,this.raw=n})),_=Cr.SockaddrUnix=ye(0,fe,"syscall.SockaddrUnix",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Name="",void(this.raw=new O.ptr(0,ue.zero()));this.Name=e,this.raw=t})),x=Cr.Timespec=ye(0,fe,"syscall.Timespec",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Sec=new De(0,0),void(this.Nsec=new De(0,0));this.Sec=e,this.Nsec=t})),E=Cr.Stat_t=ye(0,fe,"syscall.Stat_t",!0,"syscall",!0,(function(e,t,r,n,i,o,a,s,c,l,u,p,d,f,h){if(this.$val=this,0===arguments.length)return this.Dev=new Re(0,0),this.Ino=new Re(0,0),this.Nlink=new Re(0,0),this.Mode=0,this.Uid=0,this.Gid=0,this.X__pad0=0,this.Rdev=new Re(0,0),this.Size=new De(0,0),this.Blksize=new De(0,0),this.Blocks=new De(0,0),this.Atim=new x.ptr(new De(0,0),new De(0,0)),this.Mtim=new x.ptr(new De(0,0),new De(0,0)),this.Ctim=new x.ptr(new De(0,0),new De(0,0)),void(this.X__unused=le.zero());this.Dev=e,this.Ino=t,this.Nlink=r,this.Mode=n,this.Uid=i,this.Gid=o,this.X__pad0=a,this.Rdev=s,this.Size=c,this.Blksize=l,this.Blocks=u,this.Atim=p,this.Mtim=d,this.Ctim=f,this.X__unused=h})),S=Cr.RawSockaddrInet4=ye(0,fe,"syscall.RawSockaddrInet4",!0,"syscall",!0,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.Family=0,this.Port=0,this.Addr=pe.zero(),void(this.Zero=ne.zero());this.Family=e,this.Port=t,this.Addr=r,this.Zero=n})),C=Cr.RawSockaddrInet6=ye(0,fe,"syscall.RawSockaddrInet6",!0,"syscall",!0,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.Family=0,this.Port=0,this.Flowinfo=0,this.Addr=oe.zero(),void(this.Scope_id=0);this.Family=e,this.Port=t,this.Flowinfo=r,this.Addr=n,this.Scope_id=i})),O=Cr.RawSockaddrUnix=ye(0,fe,"syscall.RawSockaddrUnix",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Family=0,void(this.Path=ue.zero());this.Family=e,this.Path=t})),A=Cr.RawSockaddrLinklayer=ye(0,fe,"syscall.RawSockaddrLinklayer",!0,"syscall",!0,(function(e,t,r,n,i,o,a){if(this.$val=this,0===arguments.length)return this.Family=0,this.Protocol=0,this.Ifindex=0,this.Hatype=0,this.Pkttype=0,this.Halen=0,void(this.Addr=ne.zero());this.Family=e,this.Protocol=t,this.Ifindex=r,this.Hatype=n,this.Pkttype=i,this.Halen=o,this.Addr=a})),I=Cr.RawSockaddrNetlink=ye(0,fe,"syscall.RawSockaddrNetlink",!0,"syscall",!0,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.Family=0,this.Pad=0,this.Pid=0,void(this.Groups=0);this.Family=e,this.Pad=t,this.Pid=r,this.Groups=n})),j=Cr.RawSockaddr=ye(0,fe,"syscall.RawSockaddr",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Family=0,void(this.Data=he.zero());this.Family=e,this.Data=t})),L=Cr.RawSockaddrAny=ye(0,fe,"syscall.RawSockaddrAny",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Addr=new j.ptr(0,he.zero()),void(this.Pad=$e.zero());this.Addr=e,this.Pad=t})),M=Cr._Socklen=ye(4,Y,"syscall._Socklen",!0,"syscall",!1,null),z=Cr.Linger=ye(0,fe,"syscall.Linger",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Onoff=0,void(this.Linger=0);this.Onoff=e,this.Linger=t})),U=Cr.Iovec=ye(0,fe,"syscall.Iovec",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Base=te.nil,void(this.Len=new Re(0,0));this.Base=e,this.Len=t})),V=Cr.IPMreq=ye(0,fe,"syscall.IPMreq",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Multiaddr=pe.zero(),void(this.Interface=pe.zero());this.Multiaddr=e,this.Interface=t})),H=Cr.IPMreqn=ye(0,fe,"syscall.IPMreqn",!0,"syscall",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.Multiaddr=pe.zero(),this.Address=pe.zero(),void(this.Ifindex=0);this.Multiaddr=e,this.Address=t,this.Ifindex=r})),G=Cr.IPv6Mreq=ye(0,fe,"syscall.IPv6Mreq",!0,"syscall",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Multiaddr=oe.zero(),void(this.Interface=0);this.Multiaddr=e,this.Interface=t})),X=Cr.Msghdr=ye(0,fe,"syscall.Msghdr",!0,"syscall",!0,(function(e,t,r,n,i,o,a,s,c){if(this.$val=this,0===arguments.length)return this.Name=te.nil,this.Namelen=0,this.Pad_cgo_0=pe.zero(),this.Iov=ge.nil,this.Iovlen=new Re(0,0),this.Control=te.nil,this.Controllen=new Re(0,0),this.Flags=0,void(this.Pad_cgo_1=pe.zero());this.Name=e,this.Namelen=t,this.Pad_cgo_0=r,this.Iov=n,this.Iovlen=i,this.Control=o,this.Controllen=a,this.Flags=s,this.Pad_cgo_1=c})),Z=ut(Ce),Q=ut(Te),te=st(Ce),re=st(Se),ne=Ue(Ce,8),ie=st(Oe),oe=Ue(Ce,16),ae=st(h),se=Ue(Ce,32),le=Ue(De,3),ue=Ue(xe,108),pe=Ue(Ce,4),he=Ue(xe,14),$e=Ue(xe,96),me=st(M),ge=st(U),be=ft("syscall",[{prop:"addr",name:"addr",embedded:!1,exported:!1,typ:Be,tag:""},{prop:"len",name:"len",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"cap",name:"cap",embedded:!1,exported:!1,typ:_e,tag:""}]),st(De),ve=Ke([Be],[],!1),ke=Ke([Be],[we],!1),Ee=st(p),Pe=st(m),Ae=ot(te,Z),Ie=Ke([Be,Be,_e,_e,_e,De],[Be,Ye],!1),je=Ke([Be,Be],[Ye],!1),Ne=st(k),ze=st(w),Ve=st(_),qe=st(x),He=st(X),at=function(){c=function(){0!==Xe.$length&&(t.console.log(It(v(Xe),Te)),Xe=Z.nil)}},ct=function(){Ge||t.console.error(It("warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md",Te)),Ge=!0},dt=function(e){var r,n;if(void 0===(r=t.goPrintToConsole))for(Xe=P(Xe,e);1&&-1!==(n=ht(Xe,10));)t.console.log(It(v(f(Xe,0,n)),Te)),Xe=f(Xe,n+1>>0);else r(e)},ht=function(e,t){var r,n,o;for(n=e,r=0;1&&r<n.$length;){if(o=r,(r<0||r>=n.$length?void i("index out of range"):n.$array[n.$offset+r])===t)return o;r++}return-1},$t=function(){var e,r,n,o,a,s;if(void 0===(s=t.process))return Q.nil;for(o=s.env,e=t.Object.keys(o),r=pt(Q,B(e.length)),n=0;1&&n<B(e.length);)a=Nt(e[n],Te),n<0||n>=r.$length?i("index out of range"):r.$array[r.$offset+n]=a+"="+Nt(o[It(a,Te)],Te),n=n+1>>0;return r},mt=function(e){var r,n,i=null;try{if((n=[]).index=_t.deferStack.length,_t.deferStack.push(n),n.push([function(){yt()},[]]),null===Je){if(Qe)return null;Qe=!0,void 0===(r=t.require)&&vt(new Te("")),Je=r(It("syscall",Te))}return Je[It(e,Te)]}catch(e){return i=e,null}finally{bt(n,i)}},gt=function(e,t,r,n){var i,o,s,c;return null!==(o=mt("Syscall"))?(s=o(e,t,r,n),[B(s[0])>>0>>>0,B(s[1])>>0>>>0,B(s[2])>>0>>>0]):1!==e||1!==t&&2!==t?(231===e&&a.Goexit(),ct(),[et>>>0,0,13]):((c=pt(Z,B((i=r).length))).$array=i,dt(c),[B(i.length)>>>0,0,0])},Cr.Syscall=gt,kt=function(e,t,r,n,i,o,a){var s,c;return null!==(s=mt("Syscall6"))?(c=s(e,t,r,n,i,o,a),[B(c[0])>>0>>>0,B(c[1])>>0>>>0,B(c[2])>>0>>>0]):(202!==e&&ct(),[et>>>0,0,13])},Cr.Syscall6=kt,wt=function(e){var r,n,o,a,s;for(o=new t.Uint8Array(e.length+1>>0),n=new Z(b(e)),r=0;1&&r<n.$length;){if(s=r,0===(a=r<0||r>=n.$length?void i("index out of range"):n.$array[n.$offset+r]))return[te.nil,new g(22)];o[s]=a,r++}return o[e.length]=0,[o,Ze]},Cr.BytePtrFromString=wt,xt=function(e,t,r){return new Re(0,0),e.$length<t+r>>>0>>0?[new Re(0,0),!1]:[Et(f(e,t),r),!0]},Et=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,E;return 1===(r=t)?new Re(0,0>=e.$length?void i("index out of range"):e.$array[e.$offset+0]):2===r?(1>=e.$length?i("index out of range"):e.$array[e.$offset+1],n=new Re(0,0>=e.$length?void i("index out of range"):e.$array[e.$offset+0]),o=T(new Re(0,1>=e.$length?void i("index out of range"):e.$array[e.$offset+1]),8),new Re(n.$high|o.$high,(n.$low|o.$low)>>>0)):4===r?(3>=e.$length?i("index out of range"):e.$array[e.$offset+3],y=new Re(0,0>=e.$length?void i("index out of range"):e.$array[e.$offset+0]),k=T(new Re(0,1>=e.$length?void i("index out of range"):e.$array[e.$offset+1]),8),v=new Re(y.$high|k.$high,(y.$low|k.$low)>>>0),w=T(new Re(0,2>=e.$length?void i("index out of range"):e.$array[e.$offset+2]),16),m=new Re(v.$high|w.$high,(v.$low|w.$low)>>>0),_=T(new Re(0,3>=e.$length?void i("index out of range"):e.$array[e.$offset+3]),24),new Re(m.$high|_.$high,(m.$low|_.$low)>>>0)):8===r?(7>=e.$length?i("index out of range"):e.$array[e.$offset+7],u=new Re(0,0>=e.$length?void i("index out of range"):e.$array[e.$offset+0]),p=T(new Re(0,1>=e.$length?void i("index out of range"):e.$array[e.$offset+1]),8),l=new Re(u.$high|p.$high,(u.$low|p.$low)>>>0),d=T(new Re(0,2>=e.$length?void i("index out of range"):e.$array[e.$offset+2]),16),c=new Re(l.$high|d.$high,(l.$low|d.$low)>>>0),f=T(new Re(0,3>=e.$length?void i("index out of range"):e.$array[e.$offset+3]),24),s=new Re(c.$high|f.$high,(c.$low|f.$low)>>>0),h=T(new Re(0,4>=e.$length?void i("index out of range"):e.$array[e.$offset+4]),32),a=new Re(s.$high|h.$high,(s.$low|h.$low)>>>0),$=T(new Re(0,5>=e.$length?void i("index out of range"):e.$array[e.$offset+5]),40),E=new Re(a.$high|$.$high,(a.$low|$.$low)>>>0),g=T(new Re(0,6>=e.$length?void i("index out of range"):e.$array[e.$offset+6]),48),x=new Re(E.$high|g.$high,(E.$low|g.$low)>>>0),b=T(new Re(0,7>=e.$length?void i("index out of range"):e.$array[e.$offset+7]),56),new Re(x.$high|b.$high,(x.$low|b.$low)>>>0)):void vt(new Te("syscall: readInt with unsupported size"))},St=function(e,t,r){var n,o,a,s,c,l,u,p,d,h,$,m,g,b,y,k;for(l=0,Q.nil,$=e.$length,l=0;1&&0!==t&&e.$length>0;){if(g=(a=Wt(e))[0],!a[1]||(b=new Re(0,e.$length),g.$high>b.$high||g.$high===b.$high&&g.$low>b.$low))return[$,l=l,r];if(m=f(e,0,N(g)),e=f(e,N(g)),p=(s=Mt(m))[0],!s[1])break;if(0!==p.$high||0!==p.$low){if(h=(c=zt(m))[0],!c[1]||(y=new Re(0+h.$high,19+h.$low),k=new Re(0,m.$length),y.$high>k.$high||y.$high===k.$high&&y.$low>k.$low))break;for(o=d=f(m,19,N(new Re(0+h.$high,19+h.$low))),n=0;1&&n<o.$length;){if(u=n,0===(n<0||n>=o.$length?void i("index out of range"):o.$array[o.$offset+n])){d=f(d,0,u);break}n++}"."!==v(d)&&".."!==v(d)&&(t=t-1>>0,l=l+1>>0,r=D(r,v(d)))}}return[$-e.$length>>0,l=l,r]},Cr.ParseDirent=St,Dt=function(e){ar(e,2,1)},Cr.CloseOnExec=Dt,Pt=function(e,t){var r,n,i;return n=Ze,i=(r=ar(e,3,0))[0],n=r[1],F(n,Ze)?(t?i|=2048:i=(~2048&i)>>0,n=n=ar(e,4,i)[1]):n=n},Cr.SetNonblock=Pt,Ct=function(e){return e<0?"-"+Ot(-e>>>0):Ot(e>>>0)},Ot=function(e){var t,r,n,o;for(n=se.zero(),o=31;1&&e>=10;)o<0||o>=n.length?i("index out of range"):n[o]=((r=e%10)==r?r:i("integer divide by zero"))+48>>>0<<24>>>24,o=o-1>>0,e=(t=e/10)==t&&t!==1/0&&t!==-1/0?t>>>0:i("integer divide by zero");return o<0||o>=n.length?i("index out of range"):n[o]=e+48>>>0<<24>>>24,v(f(new Z(n),o))},x.ptr.prototype.Unix=function(){return new De(0,0),new De(0,0),[this.Sec,this.Nsec]},x.prototype.Unix=function(){return this.$val.Unix()},x.ptr.prototype.Nano=function(){var e,t;return e=W(this.Sec,new De(0,1e9)),t=this.Nsec,new De(e.$high+t.$high,e.$low+t.$low)},x.prototype.Nano=function(){return this.$val.Nano()},k.ptr.prototype.sockaddr=function(){var e,t,r,n,o,a;if((r=this).Port<0||r.Port>65535)return[0,0,new g(22)];for(r.raw.Family=2,(t=(n=r.raw).$ptr_Port||(n.$ptr_Port=new ie((function(){return this.$target.Port}),(function(e){this.$target.Port=e}),n))).nilCheck,t[0]=r.Port>>8>>0<<24>>>24,t.nilCheck,t[1]=r.Port<<24>>>24,e=0;1&&e<4;)a=r.raw.Addr,e<0||e>=a.length?i("index out of range"):a[e]=(o=r.Addr,e<0||e>=o.length?void i("index out of range"):o[e]),e=e+1>>0;return[new Uint8Array(16),16,Ze]},k.prototype.sockaddr=function(){return this.$val.sockaddr()},w.ptr.prototype.sockaddr=function(){var e,t,r,n,o,a;if((r=this).Port<0||r.Port>65535)return[0,0,new g(22)];for(r.raw.Family=10,(t=(n=r.raw).$ptr_Port||(n.$ptr_Port=new ie((function(){return this.$target.Port}),(function(e){this.$target.Port=e}),n))).nilCheck,t[0]=r.Port>>8>>0<<24>>>24,t.nilCheck,t[1]=r.Port<<24>>>24,r.raw.Scope_id=r.ZoneId,e=0;1&&e<16;)a=r.raw.Addr,e<0||e>=a.length?i("index out of range"):a[e]=(o=r.Addr,e<0||e>=o.length?void i("index out of range"):o[e]),e=e+1>>0;return[new Uint8Array(28),28,Ze]},w.prototype.sockaddr=function(){return this.$val.sockaddr()},_.ptr.prototype.sockaddr=function(){var e,t,r,n,o,a;if((t=(r=(n=this).Name).length)>108)return[0,0,new g(22)];if(108===t&&64!==r.charCodeAt(0))return[0,0,new g(22)];for(n.raw.Family=1,e=0;1&&e<t;)a=n.raw.Path,e<0||e>=a.length?i("index out of range"):a[e]=r.charCodeAt(e)<<24>>24,e=e+1>>0;return o=2,t>0&&(o=o+((t>>>0)+1>>>0)>>>0),64===n.raw.Path[0]&&(n.raw.Path[0]=0,o=o-1>>>0),[new Uint8Array(110),o,Ze]},_.prototype.sockaddr=function(){return this.$val.sockaddr()},p.ptr.prototype.sockaddr=function(){var e,t,r,n;if((t=this).Ifindex<0||t.Ifindex>2147483647)return[0,0,new g(22)];for(t.raw.Family=17,t.raw.Protocol=t.Protocol,t.raw.Ifindex=t.Ifindex>>0,t.raw.Hatype=t.Hatype,t.raw.Pkttype=t.Pkttype,t.raw.Halen=t.Halen,e=0;1&&e<8;)n=t.raw.Addr,e<0||e>=n.length?i("index out of range"):n[e]=(r=t.Addr,e<0||e>=r.length?void i("index out of range"):r[e]),e=e+1>>0;return[new Uint8Array(20),20,Ze]},p.prototype.sockaddr=function(){return this.$val.sockaddr()},h.ptr.prototype.sockaddr=function(){var e;return(e=this).raw.Family=16,e.raw.Pad=e.Pad,e.raw.Pid=e.Pid,e.raw.Groups=e.Groups,[new Uint8Array(12),12,Ze]},h.prototype.sockaddr=function(){return this.$val.sockaddr()},Ft=function(e){var t,r,n,o,a,s,c,l,u,d,m,b,y,x,E,D,P,F,B,j,N,T,L,M,W,z,U,V,H,G,K,X,Y,Q,ee,te,re,ae,se,ce,le,de,fe,he,$e,me,ge,be,ve,ye,ke,we,_e,xe,Ee;if(16===(t=e.Addr.Family))return r=n=new Uint8Array(112),b=new I.ptr(0,0,0,0),T=new DataView(r.buffer,r.byteOffset),b.Family=T.getUint16(0,!0),b.Pad=T.getUint16(2,!0),b.Pid=T.getUint32(4,!0),b.Groups=T.getUint32(8,!0),se=b,y=e,L=new DataView(n.buffer,n.byteOffset),y.Addr.Family=L.getUint16(0,!0),y.Addr.Data=new(Me(q))(n.buffer,R(n.byteOffset+2,n.buffer.byteLength)),y.Pad=new(Me(q))(n.buffer,R(n.byteOffset+16,n.buffer.byteLength)),(he=new h.ptr(0,0,0,0,new I.ptr(0,0,0,0))).Family=se.Family,he.Pad=se.Pad,he.Pid=se.Pid,he.Groups=se.Groups,[he,Ze];if(17===t){for(o=a=new Uint8Array(112),x=new A.ptr(0,0,0,0,0,0,ne.zero()),M=new DataView(o.buffer,o.byteOffset),x.Family=M.getUint16(0,!0),x.Protocol=M.getUint16(2,!0),x.Ifindex=M.getInt32(4,!0),x.Hatype=M.getUint16(8,!0),x.Pkttype=M.getUint8(10,!0),x.Halen=M.getUint8(11,!0),x.Addr=new(Me(J))(o.buffer,R(o.byteOffset+12,o.buffer.byteLength)),ce=x,E=e,W=new DataView(a.buffer,a.byteOffset),E.Addr.Family=W.getUint16(0,!0),E.Addr.Data=new(Me(q))(a.buffer,R(a.byteOffset+2,a.buffer.byteLength)),E.Pad=new(Me(q))(a.buffer,R(a.byteOffset+16,a.buffer.byteLength)),($e=new p.ptr(0,0,0,0,0,ne.zero(),new A.ptr(0,0,0,0,0,0,ne.zero()))).Protocol=ce.Protocol,$e.Ifindex=ce.Ifindex>>0,$e.Hatype=ce.Hatype,$e.Pkttype=ce.Pkttype,$e.Halen=ce.Halen,Y=0;1&&Y<8;)ye=$e.Addr,Y<0||Y>=ye.length?i("index out of range"):ye[Y]=(ve=ce.Addr,Y<0||Y>=ve.length?void i("index out of range"):ve[Y]),Y=Y+1>>0;return[$e,Ze]}if(1===t){for(s=c=new Uint8Array(112),D=new O.ptr(0,ue.zero()),z=new DataView(s.buffer,s.byteOffset),D.Family=z.getUint16(0,!0),D.Path=new(Me(q))(s.buffer,R(s.byteOffset+2,s.buffer.byteLength)),le=D,P=e,U=new DataView(c.buffer,c.byteOffset),P.Addr.Family=U.getUint16(0,!0),P.Addr.Data=new(Me(q))(c.buffer,R(c.byteOffset+2,c.buffer.byteLength)),P.Pad=new(Me(q))(c.buffer,R(c.byteOffset+16,c.buffer.byteLength)),me=new _.ptr("",new O.ptr(0,ue.zero())),0===le.Path[0]&&(le.Path[0]=64),te=0;1&&te<108&&0!==(ke=le.Path,te<0||te>=ke.length?void i("index out of range"):ke[te]);)te=te+1>>0;return X=f(new Z($(new Z(le.Path))),0,te),me.Name=v(X),[me,Ze]}if(2===t){for(l=u=new Uint8Array(112),F=new S.ptr(0,0,pe.zero(),ne.zero()),V=new DataView(l.buffer,l.byteOffset),F.Family=V.getUint16(0,!0),F.Port=V.getUint16(2,!0),F.Addr=new(Me(J))(l.buffer,R(l.byteOffset+4,l.buffer.byteLength)),F.Zero=new(Me(J))(l.buffer,R(l.byteOffset+8,l.buffer.byteLength)),de=F,B=e,H=new DataView(u.buffer,u.byteOffset),B.Addr.Family=H.getUint16(0,!0),B.Addr.Data=new(Me(q))(u.buffer,R(u.byteOffset+2,u.buffer.byteLength)),B.Pad=new(Me(q))(u.buffer,R(u.byteOffset+16,u.buffer.byteLength)),ge=new k.ptr(0,pe.zero(),new S.ptr(0,0,pe.zero(),ne.zero())),re=de.$ptr_Port||(de.$ptr_Port=new ie((function(){return this.$target.Port}),(function(e){this.$target.Port=e}),de)),ge.Port=(re.nilCheck,(re[0]>>0<<8>>0)+(re.nilCheck,re[1]>>0)>>0),Q=0;1&&Q<4;)_e=ge.Addr,Q<0||Q>=_e.length?i("index out of range"):_e[Q]=(we=de.Addr,Q<0||Q>=we.length?void i("index out of range"):we[Q]),Q=Q+1>>0;return[ge,Ze]}if(10===t){for(d=m=new Uint8Array(112),j=new C.ptr(0,0,0,oe.zero(),0),G=new DataView(d.buffer,d.byteOffset),j.Family=G.getUint16(0,!0),j.Port=G.getUint16(2,!0),j.Flowinfo=G.getUint32(4,!0),j.Addr=new(Me(J))(d.buffer,R(d.byteOffset+8,d.buffer.byteLength)),j.Scope_id=G.getUint32(24,!0),fe=j,N=e,K=new DataView(m.buffer,m.byteOffset),N.Addr.Family=K.getUint16(0,!0),N.Addr.Data=new(Me(q))(m.buffer,R(m.byteOffset+2,m.buffer.byteLength)),N.Pad=new(Me(q))(m.buffer,R(m.byteOffset+16,m.buffer.byteLength)),be=new w.ptr(0,0,oe.zero(),new C.ptr(0,0,0,oe.zero(),0)),ae=fe.$ptr_Port||(fe.$ptr_Port=new ie((function(){return this.$target.Port}),(function(e){this.$target.Port=e}),fe)),be.Port=(ae.nilCheck,(ae[0]>>0<<8>>0)+(ae.nilCheck,ae[1]>>0)>>0),be.ZoneId=fe.Scope_id,ee=0;1&&ee<16;)Ee=be.Addr,ee<0||ee>=Ee.length?i("index out of range"):Ee[ee]=(xe=fe.Addr,ee<0||ee>=xe.length?void i("index out of range"):xe[ee]),ee=ee+1>>0;return[be,Ze]}return[Ze,new g(97)]},Rt=function(e){var t,r,n,i,o,a,s,c;return a=0,c=Ze,n=Ze,s=new L.ptr(new j.ptr(0,he.zero()),$e.zero()),i=112,a=(t=vr(e,s,o||(o=new me((function(){return i}),(function(e){i=e})))))[0],n=t[1],F(n,Ze)?(c=(r=Ft(s))[0],n=r[1],F(n,Ze)||(rr(a),a=0),[a,c,n]):[a,c,n]},Cr.Accept=Rt,Bt=function(e,t){var r,n,i,o,a,s,c,l;return s=0,l=Ze,i=Ze,c=new L.ptr(new j.ptr(0,he.zero()),$e.zero()),o=112,s=(r=yr(e,c,a||(a=new me((function(){return o}),(function(e){o=e}))),t))[0],i=r[1],F(i,Ze)?(o>112&&vt(new Te("RawSockaddrAny too small")),l=(n=Ft(c))[0],i=n[1],F(i,Ze)||(rr(s),s=0),[s,l,i]):[s,l,i]},Cr.Accept4=Bt,At=function(e,t,r,n){var i,o,a,s;return i=new Uint8Array(12),s=_r(e,t,r,i,12),o=n,a=new DataView(i.buffer,i.byteOffset),o.Multiaddr=new(Me(J))(i.buffer,R(i.byteOffset+0,i.buffer.byteLength)),o.Address=new(Me(J))(i.buffer,R(i.byteOffset+4,i.buffer.byteLength)),o.Ifindex=a.getInt32(8,!0),s},Cr.SetsockoptIPMreqn=At,jt=function(e,t,r,n){var i,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y;if(m=0,g=0,b=0,f=Ze,d=Ze,$=new X.ptr(te.nil,0,pe.zero(),ge.nil,new Re(0,0),te.nil,new Re(0,0),0,pe.zero()),v=new L.ptr(new j.ptr(0,he.zero()),$e.zero()),i=new Uint8Array(112),$.Name=i,o=v,l=new DataView(i.buffer,i.byteOffset),o.Addr.Family=l.getUint16(0,!0),o.Addr.Data=new(Me(q))(i.buffer,R(i.byteOffset+2,i.buffer.byteLength)),o.Pad=new(Me(q))(i.buffer,R(i.byteOffset+16,i.buffer.byteLength)),$.Namelen=112,h=new U.ptr(te.nil,new Re(0,0)),t.$length>0&&(h.Base=lt(t.$array,t.$offset+0,te),h.SetLen(t.$length)),u=0,r.$length>0){if(0===t.$length){if(y=(a=Gt(e,1,3))[0],d=a[1],!F(d,Ze))return[m,g,b,f,d];2!==y&&(h.Base=p||(p=new te((function(){return u}),(function(e){u=e}))),h.SetLen(1))}$.Control=lt(r.$array,r.$offset+0,te),$.SetControllen(r.$length)}return $.Iov=h,$.Iovlen=new Re(0,1),m=(s=Sr(e,$,n))[0],d=s[1],F(d,Ze)?(g=$.Controllen.$low>>0,b=$.Flags>>0,0!==v.Addr.Family&&(f=(c=Ft(v))[0],d=c[1]),[m,g,b,f,d]):[m,g,b,f,d]},Cr.Recvmsg=jt,Tt=function(e,t,r,n,i){var o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,E,S,D;S=0;var P,C=!1;void 0!==this&&void 0!==this.$blk&&(C=!0,o=(P=this)._r,a=P._tmp,s=P._tmp$1,c=P._tmp$2,l=P._tmp$3,u=P._tmp$4,p=P._tmp$5,d=P._tmp$6,f=P._tmp$7,h=P._tuple,$=P._tuple$1,m=P._tuple$2,g=P.dummy,b=P.err,v=P.err$1,e=P.fd,i=P.flags,y=P.iov,k=P.msg,w=P.n,r=P.oob,t=P.p,_=P.ptr,x=P.salen,E=P.sockType,n=P.to,S=P.$s,D=P.$r);e:for(;1;){switch(S){case 0:if(g=[g],y=[y],k=[k],w=0,b=Ze,_=0,x=0,!F(n,Ze)){S=1;continue}S=2;continue;case 1:v=Ze,o=n.sockaddr(),S=3;case 3:if(C&&(C=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;if(_=(h=o)[0],x=h[1],v=h[2],!F(v,Ze))return S=-1,[w=a=0,b=s=v];case 2:if(k[0]=new X.ptr(te.nil,0,pe.zero(),ge.nil,new Re(0,0),te.nil,new Re(0,0),0,pe.zero()),k[0].Name=_,k[0].Namelen=x>>>0,y[0]=new U.ptr(te.nil,new Re(0,0)),t.$length>0&&(y[0].Base=lt(t.$array,t.$offset+0,te),y[0].SetLen(t.$length)),g[0]=0,r.$length>0){if(0===t.$length){if(E=0,E=($=Gt(e,1,3))[0],b=$[1],!F(b,Ze))return S=-1,[w=c=0,b=l=b];2!==E&&(y[0].Base=g.$ptr||(g.$ptr=new te((function(){return this.$target[0]}),(function(e){this.$target[0]=e}),g)),y[0].SetLen(1))}k[0].Control=lt(r.$array,r.$offset+0,te),k[0].SetControllen(r.$length)}return k[0].Iov=y[0],k[0].Iovlen=new Re(0,1),w=(m=Dr(e,k[0],i))[0],b=m[1],F(b,Ze)?(r.$length>0&&0===t.$length&&(w=0),S=-1,[w=d=w,b=f=Ze]):(S=-1,[w=u=0,b=p=b])}return}return void 0===P&&(P={$blk:Tt}),P._r=o,P._tmp=a,P._tmp$1=s,P._tmp$2=c,P._tmp$3=l,P._tmp$4=u,P._tmp$5=p,P._tmp$6=d,P._tmp$7=f,P._tuple=h,P._tuple$1=$,P._tuple$2=m,P.dummy=g,P.err=b,P.err$1=v,P.fd=e,P.flags=i,P.iov=y,P.msg=k,P.n=w,P.oob=r,P.p=t,P.ptr=_,P.salen=x,P.sockType=E,P.to=n,P.$s=S,P.$r=D,P},Cr.SendmsgN=Tt,Lt=function(e,t){var r;return[(r=cr(e,t))[0],r[1]]},Cr.ReadDirent=Lt,Mt=function(e){return xt(e,0,8)},Wt=function(e){return xt(e,16,2)},zt=function(e){var t,r;return r=(t=Wt(e))[0],t[1]?[new Re(r.$high-0,r.$low-19),!0]:[new Re(0,0),!1]},Ut=function(e,t){return kr(-100,e,t,256)},Cr.Lstat=Ut,U.ptr.prototype.SetLen=function(e){this.Len=new Re(0,e)},U.prototype.SetLen=function(e){return this.$val.SetLen(e)},X.ptr.prototype.SetControllen=function(e){this.Controllen=new Re(0,e)},X.prototype.SetControllen=function(e){return this.$val.SetControllen(e)},m.ptr.prototype.Mmap=function(e,t,r,n,o){var a,s,c,l,u,p,f,h,$,b,v,y,k,w,_,x,E,S,D,P;S=0;var C,O=!1;void 0!==this&&void 0!==this.$blk&&(O=!0,a=(C=this)._key,s=C._r,c=C._tmp,l=C._tmp$1,u=C._tmp$2,p=C._tmp$3,f=C._tmp$4,h=C._tmp$5,$=C._tuple,b=C.addr,v=C.b,y=C.data,k=C.err,w=C.errno,e=C.fd,o=C.flags,r=C.length,_=C.m,t=C.offset,x=C.p,n=C.prot,E=C.sl,S=C.$s,D=C.$deferred,P=C.$r);var R=null;try{e:for(;1;){switch(S){case 0:if((D=[]).index=_t.deferStack.length,_t.deferStack.push(D),E=[E],y=Z.nil,k=Ze,_=this,r<=0)return c=Z.nil,l=new g(22),S=-1,[y=c,k=l];s=_.mmap(0,r>>>0,n,o,e,t),S=1;case 1:if(O&&(O=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;if(b=($=s)[0],w=$[1],!F(w,Ze))return u=Z.nil,S=-1,[y=u,k=p=w];E[0]=new be.ptr(b,r,r),v=E[0],x=lt(v.$array,v.$offset+(v.$capacity-1>>0),te),P=_.Mutex.Lock(),S=2;case 2:if(O&&(O=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;return D.push([d(_.Mutex,"Unlock"),[]]),a=x,(_.active||i("assignment to entry in nil map"))[te.keyFor(a)]={k:a,v},S=-1,[y=f=v,k=h=Ze]}return}}catch(k){R=k,S=-1}finally{if(bt(D,R),!_t.asleep)return[y,k];if(_t.asleep)return void 0===C&&(C={$blk:m.ptr.prototype.Mmap}),C._key=a,C._r=s,C._tmp=c,C._tmp$1=l,C._tmp$2=u,C._tmp$3=p,C._tmp$4=f,C._tmp$5=h,C._tuple=$,C.addr=b,C.b=v,C.data=y,C.err=k,C.errno=w,C.fd=e,C.flags=o,C.length=r,C.m=_,C.offset=t,C.p=x,C.prot=n,C.sl=E,C.$s=S,C.$deferred=D,C.$r=P,C}},m.prototype.Mmap=function(e,t,r,n,i){return this.$val.Mmap(e,t,r,n,i)},m.ptr.prototype.Munmap=function(e){var t,r,n,i,o,a,s,c,l,u;c=0;var p,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,t=(p=this)._entry,r=p._r,n=p.b,e=p.data,i=p.err,o=p.errno,a=p.m,s=p.p,c=p.$s,l=p.$deferred,u=p.$r);var h=null;try{e:for(;1;){switch(c){case 0:if((l=[]).index=_t.deferStack.length,_t.deferStack.push(l),i=Ze,a=this,0===e.$length||e.$length!==e.$capacity)return i=new g(22),c=-1,i;s=lt(e.$array,e.$offset+(e.$capacity-1>>0),te),u=a.Mutex.Lock(),c=1;case 1:if(f&&(f=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;if(l.push([d(a.Mutex,"Unlock"),[]]),(n=void 0!==(t=a.active[te.keyFor(s)])?t.v:Z.nil)===Z.nil||lt(n.$array,n.$offset+0,te)!==lt(e.$array,e.$offset+0,te))return i=new g(22),c=-1,i;r=a.munmap($(n),n.$length>>>0),c=2;case 2:if(f&&(f=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return F(o=r,Ze)?(delete a.active[te.keyFor(s)],c=-1,i=Ze):(c=-1,i=o)}return}}catch(i){h=i,c=-1}finally{if(bt(l,h),!_t.asleep)return i;if(_t.asleep)return void 0===p&&(p={$blk:m.ptr.prototype.Munmap}),p._entry=t,p._r=r,p.b=n,p.data=e,p.err=i,p.errno=o,p.m=a,p.p=s,p.$s=c,p.$deferred=l,p.$r=u,p}},m.prototype.Munmap=function(e){return this.$val.Munmap(e)},g.prototype.Error=function(){var e,t;return 0<=(e=this.$val)>>0&&e>>0<133&&""!==(t=e<0||e>=it.length?void i("index out of range"):it[e])?t:"errno "+Ct(e>>0)},st(g).prototype.Error=function(){return new g(this.$get()).Error()},g.prototype.Temporary=function(){var e;return 4===(e=this.$val)||24===e||new g(e).Timeout()},st(g).prototype.Temporary=function(){return new g(this.$get()).Temporary()},g.prototype.Timeout=function(){var e;return 11===(e=this.$val)||11===e||110===e},st(g).prototype.Timeout=function(){return new g(this.$get()).Timeout()},Vt=function(e){var t;return 0===(t=e)?Ze:11===t?tt:22===t?rt:2===t?nt:new g(e)},qt=function(e,t){var r;return[(r=lr(e,t))[0],r[1]]},Cr.Read=qt,Ht=function(e,t){var r;return[(r=ur(e,t))[0],r[1]]},Cr.Write=Ht,Gt=function(e,t,r){var n,i,o,a,s;return n=Ze,i=0,a=4,n=wr(e,t,r,o||(o=new re((function(){return i}),(function(e){i=e}))),s||(s=new me((function(){return a}),(function(e){a=e})))),[i>>0,n=n]},Cr.GetsockoptInt=Gt,Kt=function(e,t,r){var n,i,o,a,s,c,l,u;return a=Ze,o=Ze,u=new L.ptr(new j.ptr(0,he.zero()),$e.zero()),s=112,l=(n=xr(e,t,r,u,c||(c=new me((function(){return s}),(function(e){s=e})))))[0],o=n[1],F(o,Ze)?(0!==u.Addr.Family&&(a=(i=Ft(u))[0],o=i[1]),[l,a,o]):[l,a,o]},Cr.Recvfrom=Kt,Xt=function(e,t,r,n){var i,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,i=(p=this)._r,o=p._tuple,a=p.err,e=p.fd,r=p.flags,s=p.n,t=p.p,c=p.ptr,n=p.to,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:a=Ze,i=n.sockaddr(),l=1;case 1:if(d&&(d=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return c=(o=i)[0],s=o[1],a=o[2],F(a,Ze)?(l=-1,a=Er(e,t,r,c,s)):(l=-1,a=a)}return}return void 0===p&&(p={$blk:Xt}),p._r=i,p._tuple=o,p.err=a,p.fd=e,p.flags=r,p.n=s,p.p=t,p.ptr=c,p.to=n,p.$s=l,p.$r=u,p},Cr.Sendto=Xt,Jt=function(e,t,r,n){var i;return _r(e,t,r,i||(i=new te((function(){return n}),(function(e){n=e}))),1)},Cr.SetsockoptByte=Jt,Zt=function(e,t,r,n){var i,o;return i=n>>0,_r(e,t,r,o||(o=new re((function(){return i}),(function(e){i=e}))),4)},Cr.SetsockoptInt=Zt,Yt=function(e,t,r,n){return _r(e,t,r,$(new Z(n)),4)},Cr.SetsockoptInet4Addr=Yt,Qt=function(e,t,r,n){var i,o,a;return i=new Uint8Array(8),a=_r(e,t,r,i,8),o=n,new DataView(i.buffer,i.byteOffset),o.Multiaddr=new(Me(J))(i.buffer,R(i.byteOffset+0,i.buffer.byteLength)),o.Interface=new(Me(J))(i.buffer,R(i.byteOffset+4,i.buffer.byteLength)),a},Cr.SetsockoptIPMreq=Qt,er=function(e,t,r,n){var i,o,a,s;return i=new Uint8Array(20),s=_r(e,t,r,i,20),o=n,a=new DataView(i.buffer,i.byteOffset),o.Multiaddr=new(Me(J))(i.buffer,R(i.byteOffset+0,i.buffer.byteLength)),o.Interface=a.getUint32(16,!0),s},Cr.SetsockoptIPv6Mreq=er,tr=function(e,t,r,n){var i,o,a,s;return i=new Uint8Array(8),s=_r(e,t,r,i,8),o=n,a=new DataView(i.buffer,i.byteOffset),o.Onoff=a.getInt32(0,!0),o.Linger=a.getInt32(4,!0),s},Cr.SetsockoptLinger=tr,rr=function(e){var t,r;return r=Ze,0!==(t=gt(3,e>>>0,0,0)[2])&&(r=Vt(t)),r},Cr.Close=rr,nr=function(e){var t,r,n,i;return n=Ze,i=(t=gt(32,e>>>0,0,0))[0]>>0,0!==(r=t[2])&&(n=Vt(r)),[i,n]},Cr.Dup=nr,ir=function(e){var t,r;return r=Ze,0!==(t=gt(81,e>>>0,0,0)[2])&&(r=Vt(t)),r},Cr.Fchdir=ir,or=function(e,t){var r,n;return n=Ze,0!==(r=gt(91,e>>>0,t>>>0,0)[2])&&(n=Vt(r)),n},Cr.Fchmod=or,ar=function(e,t,r){var n,i,o,a;return o=Ze,a=(n=gt(72,e>>>0,t>>>0,r>>>0))[0]>>0,0!==(i=n[2])&&(o=Vt(i)),[a,o]},sr=function(e){var t,r;return r=Ze,0!==(t=gt(74,e>>>0,0,0)[2])&&(r=Vt(t)),r},Cr.Fsync=sr,cr=function(e,t){var r,n,i,o,a;return o=Ze,r=t.$length>0?$(t):new Uint8Array(0),a=(n=gt(217,e>>>0,r,t.$length>>>0))[0]>>0,0!==(i=n[2])&&(o=Vt(i)),[a,o]},Cr.Getdents=cr,lr=function(e,t){var r,n,i,o,a;return o=Ze,r=t.$length>0?$(t):new Uint8Array(0),a=(n=gt(0,e>>>0,r,t.$length>>>0))[0]>>0,0!==(i=n[2])&&(o=Vt(i)),[a,o]},ur=function(e,t){var r,n,i,o,a;return o=Ze,r=t.$length>0?$(t):new Uint8Array(0),a=(n=gt(1,e>>>0,r,t.$length>>>0))[0]>>0,0!==(i=n[2])&&(o=Vt(i)),[a,o]},pr=function(e,t){var r,n;return n=Ze,0!==(r=gt(11,e,t,0)[2])&&(n=Vt(r)),n},dr=function(e,t,r){var n,i;return i=Ze,0!==(n=gt(93,e>>>0,t>>>0,r>>>0)[2])&&(i=Vt(n)),i},Cr.Fchown=dr,fr=function(e,t){var r,n,i,o,a,s;return s=Ze,r=new Uint8Array(144),i=gt(5,e>>>0,r,0),n=t,o=new DataView(r.buffer,r.byteOffset),n.Dev=new Re(o.getUint32(4,!0),o.getUint32(0,!0)),n.Ino=new Re(o.getUint32(12,!0),o.getUint32(8,!0)),n.Nlink=new Re(o.getUint32(20,!0),o.getUint32(16,!0)),n.Mode=o.getUint32(24,!0),n.Uid=o.getUint32(28,!0),n.Gid=o.getUint32(32,!0),n.X__pad0=o.getInt32(36,!0),n.Rdev=new Re(o.getUint32(44,!0),o.getUint32(40,!0)),n.Size=new De(o.getUint32(52,!0),o.getUint32(48,!0)),n.Blksize=new De(o.getUint32(60,!0),o.getUint32(56,!0)),n.Blocks=new De(o.getUint32(68,!0),o.getUint32(64,!0)),n.Atim.Sec=new De(o.getUint32(76,!0),o.getUint32(72,!0)),n.Atim.Nsec=new De(o.getUint32(84,!0),o.getUint32(80,!0)),n.Mtim.Sec=new De(o.getUint32(92,!0),o.getUint32(88,!0)),n.Mtim.Nsec=new De(o.getUint32(100,!0),o.getUint32(96,!0)),n.Ctim.Sec=new De(o.getUint32(108,!0),o.getUint32(104,!0)),n.Ctim.Nsec=new De(o.getUint32(116,!0),o.getUint32(112,!0)),n.X__unused=new(Me(K))(r.buffer,R(r.byteOffset+120,r.buffer.byteLength)),0!==(a=i[2])&&(s=Vt(a)),s},Cr.Fstat=fr,hr=function(e,t){var r,n;return n=Ze,0!==(r=gt(77,e>>>0,t.$low>>>0,0)[2])&&(n=Vt(r)),n},Cr.Ftruncate=hr,$r=function(e,t,r){var n,i,o,a,s;return a=Ze,n=t.$length>0?$(t):new Uint8Array(0),s=(i=kt(17,e>>>0,n,t.$length>>>0,r.$low>>>0,0,0))[0]>>0,0!==(o=i[2])&&(a=Vt(o)),[s,a]},Cr.Pread=$r,mr=function(e,t,r){var n,i,o,a,s;return a=Ze,n=t.$length>0?$(t):new Uint8Array(0),s=(i=kt(18,e>>>0,n,t.$length>>>0,r.$low>>>0,0,0))[0]>>0,0!==(o=i[2])&&(a=Vt(o)),[s,a]},Cr.Pwrite=mr,gr=function(e,t,r){var n,i,o,a,s;return new De(0,0),o=Ze,s=(n=gt(8,e>>>0,t.$low>>>0,r>>>0))[0],i=n[2],a=new De(0,s.constructor===Number?s:1),0!==i&&(o=Vt(i)),[a,o]},Cr.Seek=gr,br=function(e,t){var r,n;return n=Ze,0!==(r=gt(48,e>>>0,t>>>0,0)[2])&&(n=Vt(r)),n},Cr.Shutdown=br,vr=function(e,t,r){var n,i,o,a,s,c,l;return c=Ze,n=new Uint8Array(112),o=gt(43,e>>>0,n,r),i=t,a=new DataView(n.buffer,n.byteOffset),i.Addr.Family=a.getUint16(0,!0),i.Addr.Data=new(Me(q))(n.buffer,R(n.byteOffset+2,n.buffer.byteLength)),i.Pad=new(Me(q))(n.buffer,R(n.byteOffset+16,n.buffer.byteLength)),l=o[0]>>0,0!==(s=o[2])&&(c=Vt(s)),[l,c]},yr=function(e,t,r,n){var i,o,a,s,c,l,u;return l=Ze,i=new Uint8Array(112),a=kt(288,e>>>0,i,r,n>>>0,0,0),o=t,s=new DataView(i.buffer,i.byteOffset),o.Addr.Family=s.getUint16(0,!0),o.Addr.Data=new(Me(q))(i.buffer,R(i.byteOffset+2,i.buffer.byteLength)),o.Pad=new(Me(q))(i.buffer,R(i.byteOffset+16,i.buffer.byteLength)),u=a[0]>>0,0!==(c=a[2])&&(l=Vt(c)),[u,l]},kr=function(e,t,r,n){var i,o,a,s,c,l,u,p;return p=Ze,te.nil,o=(s=wt(t))[0],p=s[1],F(p,Ze)?(i=new Uint8Array(144),c=kt(262,e>>>0,o,i,n>>>0,0,0),a=r,l=new DataView(i.buffer,i.byteOffset),a.Dev=new Re(l.getUint32(4,!0),l.getUint32(0,!0)),a.Ino=new Re(l.getUint32(12,!0),l.getUint32(8,!0)),a.Nlink=new Re(l.getUint32(20,!0),l.getUint32(16,!0)),a.Mode=l.getUint32(24,!0),a.Uid=l.getUint32(28,!0),a.Gid=l.getUint32(32,!0),a.X__pad0=l.getInt32(36,!0),a.Rdev=new Re(l.getUint32(44,!0),l.getUint32(40,!0)),a.Size=new De(l.getUint32(52,!0),l.getUint32(48,!0)),a.Blksize=new De(l.getUint32(60,!0),l.getUint32(56,!0)),a.Blocks=new De(l.getUint32(68,!0),l.getUint32(64,!0)),a.Atim.Sec=new De(l.getUint32(76,!0),l.getUint32(72,!0)),a.Atim.Nsec=new De(l.getUint32(84,!0),l.getUint32(80,!0)),a.Mtim.Sec=new De(l.getUint32(92,!0),l.getUint32(88,!0)),a.Mtim.Nsec=new De(l.getUint32(100,!0),l.getUint32(96,!0)),a.Ctim.Sec=new De(l.getUint32(108,!0),l.getUint32(104,!0)),a.Ctim.Nsec=new De(l.getUint32(116,!0),l.getUint32(112,!0)),a.X__unused=new(Me(K))(i.buffer,R(i.byteOffset+120,i.buffer.byteLength)),0!==(u=c[2])&&(p=Vt(u)),p):p},wr=function(e,t,r,n,i){var o,a;return a=Ze,0!==(o=kt(55,e>>>0,t>>>0,r>>>0,n,i,0)[2])&&(a=Vt(o)),a},_r=function(e,t,r,n,i){var o,a;return a=Ze,0!==(o=kt(54,e>>>0,t>>>0,r>>>0,n,i,0)[2])&&(a=Vt(o)),a},xr=function(e,t,r,n,i){var o,a,s,c,l,u,p,d;return p=Ze,a=t.$length>0?$(t):new Uint8Array(0),o=new Uint8Array(112),c=kt(45,e>>>0,a,t.$length>>>0,r>>>0,o,i),s=n,l=new DataView(o.buffer,o.byteOffset),s.Addr.Family=l.getUint16(0,!0),s.Addr.Data=new(Me(q))(o.buffer,R(o.byteOffset+2,o.buffer.byteLength)),s.Pad=new(Me(q))(o.buffer,R(o.byteOffset+16,o.buffer.byteLength)),d=c[0]>>0,0!==(u=c[2])&&(p=Vt(u)),[d,p]},Er=function(e,t,r,n,i){var o,a,s;return s=Ze,o=t.$length>0?$(t):new Uint8Array(0),0!==(a=kt(44,e>>>0,o,t.$length>>>0,r>>>0,n,i>>>0)[2])&&(s=Vt(a)),s},Sr=function(e,t,r){var n,i,o,a,s,c,l;return c=Ze,n=new Uint8Array(48),o=gt(47,e>>>0,n,r>>>0),i=t,a=new DataView(n.buffer,n.byteOffset),i.Namelen=a.getUint32(4,!0),i.Pad_cgo_0=new(Me(J))(n.buffer,R(n.byteOffset+8,n.buffer.byteLength)),i.Iovlen=new Re(a.getUint32(20,!0),a.getUint32(16,!0)),i.Controllen=new Re(a.getUint32(36,!0),a.getUint32(32,!0)),i.Flags=a.getInt32(40,!0),i.Pad_cgo_1=new(Me(J))(n.buffer,R(n.byteOffset+44,n.buffer.byteLength)),l=o[0]>>0,0!==(s=o[2])&&(c=Vt(s)),[l,c]},Dr=function(e,t,r){var n,i,o,a,s,c,l;return c=Ze,n=new Uint8Array(48),o=gt(46,e>>>0,n,r>>>0),i=t,a=new DataView(n.buffer,n.byteOffset),i.Namelen=a.getUint32(4,!0),i.Pad_cgo_0=new(Me(J))(n.buffer,R(n.byteOffset+8,n.buffer.byteLength)),i.Iovlen=new Re(a.getUint32(20,!0),a.getUint32(16,!0)),i.Controllen=new Re(a.getUint32(36,!0),a.getUint32(32,!0)),i.Flags=a.getInt32(40,!0),i.Pad_cgo_1=new(Me(J))(n.buffer,R(n.byteOffset+44,n.buffer.byteLength)),l=o[0]>>0,0!==(s=o[2])&&(c=Vt(s)),[l,c]},Pr=function(e,t,r,n,i,o){var a,s,c,l;return c=Ze,l=(a=kt(9,e,t,r>>>0,n>>>0,i>>>0,o.$low>>>0))[0],0!==(s=a[2])&&(c=Vt(s)),[l,c]},Ee.methods=[{prop:"sockaddr",name:"sockaddr",pkg:"syscall",typ:Ke([],[Le,M,Ye],!1)}],ae.methods=[{prop:"sockaddr",name:"sockaddr",pkg:"syscall",typ:Ke([],[Le,M,Ye],!1)}],Pe.methods=[{prop:"Mmap",name:"Mmap",pkg:"",typ:Ke([_e,De,_e,_e,_e],[Z,Ye],!1)},{prop:"Munmap",name:"Munmap",pkg:"",typ:Ke([Z],[Ye],!1)}],g.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)},{prop:"Temporary",name:"Temporary",pkg:"",typ:Ke([],[we],!1)},{prop:"Timeout",name:"Timeout",pkg:"",typ:Ke([],[we],!1)}],Ne.methods=[{prop:"sockaddr",name:"sockaddr",pkg:"syscall",typ:Ke([],[Le,M,Ye],!1)}],ze.methods=[{prop:"sockaddr",name:"sockaddr",pkg:"syscall",typ:Ke([],[Le,M,Ye],!1)}],Ve.methods=[{prop:"sockaddr",name:"sockaddr",pkg:"syscall",typ:Ke([],[Le,M,Ye],!1)}],qe.methods=[{prop:"Unix",name:"Unix",pkg:"",typ:Ke([],[De,De],!1)},{prop:"Nano",name:"Nano",pkg:"",typ:Ke([],[De],!1)}],ge.methods=[{prop:"SetLen",name:"SetLen",pkg:"",typ:Ke([_e],[],!1)}],He.methods=[{prop:"SetControllen",name:"SetControllen",pkg:"",typ:Ke([_e],[],!1)}],u.init([{prop:"Control",name:"Control",pkg:"",typ:Ke([ve],[Ye],!1)},{prop:"Read",name:"Read",pkg:"",typ:Ke([ke],[Ye],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([ke],[Ye],!1)}]),p.init("syscall",[{prop:"Protocol",name:"Protocol",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Ifindex",name:"Ifindex",embedded:!1,exported:!0,typ:_e,tag:""},{prop:"Hatype",name:"Hatype",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Pkttype",name:"Pkttype",embedded:!1,exported:!0,typ:Ce,tag:""},{prop:"Halen",name:"Halen",embedded:!1,exported:!0,typ:Ce,tag:""},{prop:"Addr",name:"Addr",embedded:!1,exported:!0,typ:ne,tag:""},{prop:"raw",name:"raw",embedded:!1,exported:!1,typ:A,tag:""}]),h.init("syscall",[{prop:"Family",name:"Family",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Pad",name:"Pad",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Pid",name:"Pid",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Groups",name:"Groups",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"raw",name:"raw",embedded:!1,exported:!1,typ:I,tag:""}]),m.init("syscall",[{prop:"Mutex",name:"Mutex",embedded:!0,exported:!0,typ:s.Mutex,tag:""},{prop:"active",name:"active",embedded:!1,exported:!1,typ:Ae,tag:""},{prop:"mmap",name:"mmap",embedded:!1,exported:!1,typ:Ie,tag:""},{prop:"munmap",name:"munmap",embedded:!1,exported:!1,typ:je,tag:""}]),y.init([{prop:"sockaddr",name:"sockaddr",pkg:"syscall",typ:Ke([],[Le,M,Ye],!1)}]),k.init("syscall",[{prop:"Port",name:"Port",embedded:!1,exported:!0,typ:_e,tag:""},{prop:"Addr",name:"Addr",embedded:!1,exported:!0,typ:pe,tag:""},{prop:"raw",name:"raw",embedded:!1,exported:!1,typ:S,tag:""}]),w.init("syscall",[{prop:"Port",name:"Port",embedded:!1,exported:!0,typ:_e,tag:""},{prop:"ZoneId",name:"ZoneId",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Addr",name:"Addr",embedded:!1,exported:!0,typ:oe,tag:""},{prop:"raw",name:"raw",embedded:!1,exported:!1,typ:C,tag:""}]),_.init("syscall",[{prop:"Name",name:"Name",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"raw",name:"raw",embedded:!1,exported:!1,typ:O,tag:""}]),x.init("",[{prop:"Sec",name:"Sec",embedded:!1,exported:!0,typ:De,tag:""},{prop:"Nsec",name:"Nsec",embedded:!1,exported:!0,typ:De,tag:""}]),E.init("",[{prop:"Dev",name:"Dev",embedded:!1,exported:!0,typ:Re,tag:""},{prop:"Ino",name:"Ino",embedded:!1,exported:!0,typ:Re,tag:""},{prop:"Nlink",name:"Nlink",embedded:!1,exported:!0,typ:Re,tag:""},{prop:"Mode",name:"Mode",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Uid",name:"Uid",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Gid",name:"Gid",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"X__pad0",name:"X__pad0",embedded:!1,exported:!0,typ:Se,tag:""},{prop:"Rdev",name:"Rdev",embedded:!1,exported:!0,typ:Re,tag:""},{prop:"Size",name:"Size",embedded:!1,exported:!0,typ:De,tag:""},{prop:"Blksize",name:"Blksize",embedded:!1,exported:!0,typ:De,tag:""},{prop:"Blocks",name:"Blocks",embedded:!1,exported:!0,typ:De,tag:""},{prop:"Atim",name:"Atim",embedded:!1,exported:!0,typ:x,tag:""},{prop:"Mtim",name:"Mtim",embedded:!1,exported:!0,typ:x,tag:""},{prop:"Ctim",name:"Ctim",embedded:!1,exported:!0,typ:x,tag:""},{prop:"X__unused",name:"X__unused",embedded:!1,exported:!0,typ:le,tag:""}]),S.init("",[{prop:"Family",name:"Family",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Port",name:"Port",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Addr",name:"Addr",embedded:!1,exported:!0,typ:pe,tag:""},{prop:"Zero",name:"Zero",embedded:!1,exported:!0,typ:ne,tag:""}]),C.init("",[{prop:"Family",name:"Family",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Port",name:"Port",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Flowinfo",name:"Flowinfo",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Addr",name:"Addr",embedded:!1,exported:!0,typ:oe,tag:""},{prop:"Scope_id",name:"Scope_id",embedded:!1,exported:!0,typ:Fe,tag:""}]),O.init("",[{prop:"Family",name:"Family",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Path",name:"Path",embedded:!1,exported:!0,typ:ue,tag:""}]),A.init("",[{prop:"Family",name:"Family",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Protocol",name:"Protocol",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Ifindex",name:"Ifindex",embedded:!1,exported:!0,typ:Se,tag:""},{prop:"Hatype",name:"Hatype",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Pkttype",name:"Pkttype",embedded:!1,exported:!0,typ:Ce,tag:""},{prop:"Halen",name:"Halen",embedded:!1,exported:!0,typ:Ce,tag:""},{prop:"Addr",name:"Addr",embedded:!1,exported:!0,typ:ne,tag:""}]),I.init("",[{prop:"Family",name:"Family",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Pad",name:"Pad",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Pid",name:"Pid",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Groups",name:"Groups",embedded:!1,exported:!0,typ:Fe,tag:""}]),j.init("",[{prop:"Family",name:"Family",embedded:!1,exported:!0,typ:Oe,tag:""},{prop:"Data",name:"Data",embedded:!1,exported:!0,typ:he,tag:""}]),L.init("",[{prop:"Addr",name:"Addr",embedded:!1,exported:!0,typ:j,tag:""},{prop:"Pad",name:"Pad",embedded:!1,exported:!0,typ:$e,tag:""}]),z.init("",[{prop:"Onoff",name:"Onoff",embedded:!1,exported:!0,typ:Se,tag:""},{prop:"Linger",name:"Linger",embedded:!1,exported:!0,typ:Se,tag:""}]),U.init("",[{prop:"Base",name:"Base",embedded:!1,exported:!0,typ:te,tag:""},{prop:"Len",name:"Len",embedded:!1,exported:!0,typ:Re,tag:""}]),V.init("",[{prop:"Multiaddr",name:"Multiaddr",embedded:!1,exported:!0,typ:pe,tag:""},{prop:"Interface",name:"Interface",embedded:!1,exported:!0,typ:pe,tag:""}]),H.init("",[{prop:"Multiaddr",name:"Multiaddr",embedded:!1,exported:!0,typ:pe,tag:""},{prop:"Address",name:"Address",embedded:!1,exported:!0,typ:pe,tag:""},{prop:"Ifindex",name:"Ifindex",embedded:!1,exported:!0,typ:Se,tag:""}]),G.init("",[{prop:"Multiaddr",name:"Multiaddr",embedded:!1,exported:!0,typ:oe,tag:""},{prop:"Interface",name:"Interface",embedded:!1,exported:!0,typ:Fe,tag:""}]),X.init("",[{prop:"Name",name:"Name",embedded:!1,exported:!0,typ:te,tag:""},{prop:"Namelen",name:"Namelen",embedded:!1,exported:!0,typ:Fe,tag:""},{prop:"Pad_cgo_0",name:"Pad_cgo_0",embedded:!1,exported:!0,typ:pe,tag:""},{prop:"Iov",name:"Iov",embedded:!1,exported:!0,typ:ge,tag:""},{prop:"Iovlen",name:"Iovlen",embedded:!1,exported:!0,typ:Re,tag:""},{prop:"Control",name:"Control",embedded:!1,exported:!0,typ:te,tag:""},{prop:"Controllen",name:"Controllen",embedded:!1,exported:!0,typ:Re,tag:""},{prop:"Flags",name:"Flags",embedded:!1,exported:!0,typ:Se,tag:""},{prop:"Pad_cgo_1",name:"Pad_cgo_1",embedded:!1,exported:!0,typ:pe,tag:""}]),e=function(){Cr.$init=function(){};var t,i,o=!1,c=0;void 0!==this&&void 0!==this.$blk&&(o=!0,c=(t=this).$s,i=t.$r);e:for(;1;){switch(c){case 0:i=r.$init(),c=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=n.$init(),c=2;case 2:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=a.$init(),c=3;case 3:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=s.$init(),c=4;case 4:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;Xe=Z.nil,Je=null,Cr.ForkLock=new s.RWMutex.ptr(new s.Mutex.ptr(0,0),0,0,0,0),new De(0,0),Ge=!1,Qe=!1,et=-1,$t(),Cr.Stdin=0,Cr.Stdout=1,Cr.Stderr=2,tt=new g(11),rt=new g(22),nt=new g(2),it=We(de,["","operation not permitted","no such file or directory","no such process","interrupted system call","input/output error","no such device or address","argument list too long","exec format error","bad file descriptor","no child processes","resource temporarily unavailable","cannot allocate memory","permission denied","bad address","block device required","device or resource busy","file exists","invalid cross-device link","no such device","not a directory","is a directory","invalid argument","too many open files in system","too many open files","inappropriate ioctl for device","text file busy","file too large","no space left on device","illegal seek","read-only file system","too many links","broken pipe","numerical argument out of domain","numerical result out of range","resource deadlock avoided","file name too long","no locks available","function not implemented","directory not empty","too many levels of symbolic links","","no message of desired type","identifier removed","channel number out of range","level 2 not synchronized","level 3 halted","level 3 reset","link number out of range","protocol driver not attached","no CSI structure available","level 2 halted","invalid exchange","invalid request descriptor","exchange full","no anode","invalid request code","invalid slot","","bad font file format","device not a stream","no data available","timer expired","out of streams resources","machine is not on the network","package not installed","object is remote","link has been severed","advertise error","srmount error","communication error on send","protocol error","multihop attempted","RFS specific error","bad message","value too large for defined data type","name not unique on network","file descriptor in bad state","remote address changed","can not access a needed shared library","accessing a corrupted shared library",".lib section in a.out corrupted","attempting to link in too many shared libraries","cannot exec a shared library directly","invalid or incomplete multibyte or wide character","interrupted system call should be restarted","streams pipe error","too many users","socket operation on non-socket","destination address required","message too long","protocol wrong type for socket","protocol not available","protocol not supported","socket type not supported","operation not supported","protocol family not supported","address family not supported by protocol","address already in use","cannot assign requested address","network is down","network is unreachable","network dropped connection on reset","software caused connection abort","connection reset by peer","no buffer space available","transport endpoint is already connected","transport endpoint is not connected","cannot send after transport endpoint shutdown","too many references: cannot splice","connection timed out","connection refused","host is down","no route to host","operation already in progress","operation now in progress","stale NFS file handle","structure needs cleaning","not a XENIX named type file","no XENIX semaphores available","is a named type file","remote I/O error","disk quota exceeded","no medium found","wrong medium type","operation canceled","required key not available","key has expired","key has been revoked","key was rejected by service","owner died","state not recoverable","operation not possible due to RF-kill"]),new m.ptr(new s.Mutex.ptr(0,0),{},Pr,pr),at()}return}return void 0===t&&(t={$blk:e}),t.$s=c,t.$r=i,t},Cr.$init=e,Cr}(),o["github.com/gopherjs/gopherjs/nosync"]=function(){var e,t,r,n,i={};return t=i.Once=ye(0,fe,"nosync.Once",!0,"github.com/gopherjs/gopherjs/nosync",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.doing=!1,void(this.done=!1);this.doing=e,this.done=t})),r=Ke([],[],!1),n=st(t),t.ptr.prototype.Do=function(e){var r,n,i,o;n=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this).f,r=a.o,n=a.$s,i=a.$deferred,o=a.$r);var c=null;try{e:for(;1;){switch(n){case 0:if((i=[]).index=_t.deferStack.length,_t.deferStack.push(i),(r=[r])[0]=this,r[0].done)return void(n=-1);r[0].doing&&vt(new Te("nosync: Do called within f")),r[0].doing=!0,i.push([function(e){return function(){e[0].doing=!1,e[0].done=!0}}(r),[]]),o=e(),n=1;case 1:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return void(n=-1)}return}}catch(e){c=e,n=-1}finally{if(bt(i,c),_t.asleep)return void 0===a&&(a={$blk:t.ptr.prototype.Do}),a.f=e,a.o=r,a.$s=n,a.$deferred=i,a.$r=o,a}},t.prototype.Do=function(e){return this.$val.Do(e)},n.methods=[{prop:"Do",name:"Do",pkg:"",typ:Ke([r],[],!1)}],t.init("github.com/gopherjs/gopherjs/nosync",[{prop:"doing",name:"doing",embedded:!1,exported:!1,typ:we,tag:""},{prop:"done",name:"done",embedded:!1,exported:!1,typ:we,tag:""}]),e=function(){i.$init=function(){};var t,r,n=0;for(void 0!==this&&void 0!==this.$blk&&(n=(t=this).$s,r=t.$r);1;)return;return void 0===t&&(t={$blk:e}),t.$s=n,t.$r=r,t},i.$init=e,i}(),o["time"]=function(){var e,r,n,a,s,c,l,u,p,d,$,m,g,b,y,k,_,x,S,C,O,R,A,I,U,q,H,X,J,Z,Y,Q,ee,te,re,ne,ie,oe,ae,se,ce,le,ue,pe,he,$e,me,ge,be,ve,ke,xe,Ee,Pe,Oe,Fe,Be,Ae,je,Ne,Le,Me,ze,Ve,qe,He,Ge,Xe,Je,Qe,et,tt,rt,nt,it,ot,at,ct,lt={};return r=o["errors"],n=o["github.com/gopherjs/gopherjs/js"],a=o["github.com/gopherjs/gopherjs/nosync"],s=o["runtime"],c=o["syscall"],l=lt.ParseError=ye(0,fe,"time.ParseError",!0,"time",!0,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.Layout="",this.Value="",this.LayoutElem="",this.ValueElem="",void(this.Message="");this.Layout=e,this.Value=t,this.LayoutElem=r,this.ValueElem=n,this.Message=i})),u=lt.Time=ye(0,fe,"time.Time",!0,"time",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.wall=new Re(0,0),this.ext=new De(0,0),void(this.loc=A.nil);this.wall=e,this.ext=t,this.loc=r})),p=lt.Month=ye(4,V,"time.Month",!0,"time",!0,null),d=lt.Weekday=ye(4,V,"time.Weekday",!0,"time",!0,null),$=lt.Duration=ye(8,K,"time.Duration",!0,"time",!0,null),m=lt.Location=ye(0,fe,"time.Location",!0,"time",!0,(function(e,t,r,n,i,o){if(this.$val=this,0===arguments.length)return this.name="",this.zone=y.nil,this.tx=k.nil,this.cacheStart=new De(0,0),this.cacheEnd=new De(0,0),void(this.cacheZone=_.nil);this.name=e,this.zone=t,this.tx=r,this.cacheStart=n,this.cacheEnd=i,this.cacheZone=o})),g=lt.zone=ye(0,fe,"time.zone",!0,"time",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.name="",this.offset=0,void(this.isDST=!1);this.name=e,this.offset=t,this.isDST=r})),b=lt.zoneTrans=ye(0,fe,"time.zoneTrans",!0,"time",!1,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.when=new De(0,0),this.index=0,this.isstd=!1,void(this.isutc=!1);this.when=e,this.index=t,this.isstd=r,this.isutc=n})),y=ut(g),k=ut(b),_=st(g),x=ut(Te),S=Ue(Ce,20),C=ut(Ce),O=Ue(Ce,9),R=Ue(Ce,64),A=st(m),I=Ue(Ce,32),U=st(l),q=st(u),le=function(){rt(new De(0,0),new De(0,0))},ue=function(){var e,r,n,i;e=new t.Date,i=Nt(e,Te),r=he(i,40),n=he(i,41),-1!==r&&-1!==n?(ae.name=h(i,r+1>>0,n),ae.zone=new y([new g.ptr(ae.name,j(B(e.getTimezoneOffset())>>0,-60),!1)])):ae.name="UTC"},pe=function(){return W(Nt((new t.Date).getTime(),De),new De(0,1e6))},he=function(e,r){return B(e.indexOf(t.String.fromCharCode(r)))>>0},$e=function(e){var t;return 0!==e.length&&97<=(t=e.charCodeAt(0))&&t<=122},me=function(e){var t,r,n,o,a,s;for(n=0;1&&n<e.length;){if(74==(t=e.charCodeAt(n)>>0)){if(e.length>=n+3>>0&&"Jan"===h(e,n,n+3>>0)){if(e.length>=n+7>>0&&"January"===h(e,n,n+7>>0))return[h(e,0,n),257,h(e,n+7>>0)];if(!$e(h(e,n+3>>0)))return[h(e,0,n),258,h(e,n+3>>0)]}}else if(77===t){if(e.length>=n+3>>0){if("Mon"===h(e,n,n+3>>0)){if(e.length>=n+6>>0&&"Monday"===h(e,n,n+6>>0))return[h(e,0,n),261,h(e,n+6>>0)];if(!$e(h(e,n+3>>0)))return[h(e,0,n),262,h(e,n+3>>0)]}if("MST"===h(e,n,n+3>>0))return[h(e,0,n),21,h(e,n+3>>0)]}}else if(48===t){if(e.length>=n+2>>0&&49<=e.charCodeAt(n+1>>0)&&e.charCodeAt(n+1>>0)<=54)return[h(e,0,n),(s=e.charCodeAt(n+1>>0)-49<<24>>>24)<0||s>=H.length?void i("index out of range"):H[s],h(e,n+2>>0)]}else{if(49===t)return e.length>=n+2>>0&&53===e.charCodeAt(n+1>>0)?[h(e,0,n),522,h(e,n+2>>0)]:[h(e,0,n),259,h(e,n+1>>0)];if(50===t)return e.length>=n+4>>0&&"2006"===h(e,n,n+4>>0)?[h(e,0,n),273,h(e,n+4>>0)]:[h(e,0,n),263,h(e,n+1>>0)];if(95===t){if(e.length>=n+2>>0&&50===e.charCodeAt(n+1>>0))return e.length>=n+5>>0&&"2006"===h(e,n+1>>0,n+5>>0)?[h(e,0,n+1>>0),273,h(e,n+5>>0)]:[h(e,0,n),264,h(e,n+2>>0)]}else{if(51===t)return[h(e,0,n),523,h(e,n+1>>0)];if(52===t)return[h(e,0,n),525,h(e,n+1>>0)];if(53===t)return[h(e,0,n),527,h(e,n+1>>0)];if(80===t){if(e.length>=n+2>>0&&77===e.charCodeAt(n+1>>0))return[h(e,0,n),531,h(e,n+2>>0)]}else if(112===t){if(e.length>=n+2>>0&&109===e.charCodeAt(n+1>>0))return[h(e,0,n),532,h(e,n+2>>0)]}else if(45===t){if(e.length>=n+7>>0&&"-070000"===h(e,n,n+7>>0))return[h(e,0,n),28,h(e,n+7>>0)];if(e.length>=n+9>>0&&"-07:00:00"===h(e,n,n+9>>0))return[h(e,0,n),31,h(e,n+9>>0)];if(e.length>=n+5>>0&&"-0700"===h(e,n,n+5>>0))return[h(e,0,n),27,h(e,n+5>>0)];if(e.length>=n+6>>0&&"-07:00"===h(e,n,n+6>>0))return[h(e,0,n),30,h(e,n+6>>0)];if(e.length>=n+3>>0&&"-07"===h(e,n,n+3>>0))return[h(e,0,n),29,h(e,n+3>>0)]}else if(90===t){if(e.length>=n+7>>0&&"Z070000"===h(e,n,n+7>>0))return[h(e,0,n),23,h(e,n+7>>0)];if(e.length>=n+9>>0&&"Z07:00:00"===h(e,n,n+9>>0))return[h(e,0,n),26,h(e,n+9>>0)];if(e.length>=n+5>>0&&"Z0700"===h(e,n,n+5>>0))return[h(e,0,n),22,h(e,n+5>>0)];if(e.length>=n+6>>0&&"Z07:00"===h(e,n,n+6>>0))return[h(e,0,n),25,h(e,n+6>>0)];if(e.length>=n+3>>0&&"Z07"===h(e,n,n+3>>0))return[h(e,0,n),24,h(e,n+3>>0)]}else if(46===t&&n+1>>0<e.length&&(48===e.charCodeAt(n+1>>0)||57===e.charCodeAt(n+1>>0))){for(r=e.charCodeAt(n+1>>0),o=n+1>>0;1&&o<e.length&&e.charCodeAt(o)===r;)o=o+1>>0;if(!Pe(e,o))return a=32,57===e.charCodeAt(n+1>>0)&&(a=33),a|=o-(n+1>>0)>>0<<16>>0,[h(e,0,n),a,h(e,o)]}}}n=n+1>>0}return[e,0,""]},ge=function(e,t){var r,n,i;for(i=0;1&&i<e.length;){if((r=e.charCodeAt(i))!==(n=t.charCodeAt(i))&&((r=(32|r)>>>0)!=(n=(32|n)>>>0)||r<97||r>122))return!1;i=i+1>>0}return!0},be=function(e,t){var r,n,o,a;for(n=e,r=0;1&&r<n.$length;){if(o=r,a=r<0||r>=n.$length?void i("index out of range"):n.$array[n.$offset+r],t.length>=a.length&&ge(h(t,0,a.length),a))return[o,h(t,a.length),Ze];r++}return[-1,t,ee]},ve=function(e,t,r){var n,o,a,s,c,l;for(c=t>>>0,t<0&&(e=D(e,45),c=-t>>>0),o=S.zero(),a=20;1&&c>=10;)a=a-1>>0,s=(n=c/10)==n&&n!==1/0&&n!==-1/0?n>>>0:i("integer divide by zero"),a<0||a>=o.length?i("index out of range"):o[a]=(48+c>>>0)-(10*s>>>0)>>>0<<24>>>24,c=s;for((a=a-1>>0)<0||a>=o.length?i("index out of range"):o[a]=48+c>>>0<<24>>>24,l=20-a>>0;1&&l<r;)e=D(e,48),l=l+1>>0;return P(e,f(new C(o),a))},ke=function(e){var t,r,n,i,o,a;return a=0,r=Ze,n=!1,""===e||45!==e.charCodeAt(0)&&43!==e.charCodeAt(0)||(n=45===e.charCodeAt(0),e=h(e,1)),i=(t=Ve(e))[0],o=t[1],r=t[2],a=i.$low+4294967296*(i.$high>>31)>>0,F(r,Ze)&&""===o?(n&&(a=-a),[a=a,r=Ze]):[a=0,r=Q]},xe=function(e,t,r,n){var o,a,s,c,l,u;for(l=t,s=O.zero(),c=9;1&&c>0;)(c=c-1>>0)<0||c>=s.length?i("index out of range"):s[c]=((a=l%10)==a?a:i("integer divide by zero"))+48>>>0<<24>>>24,l=(o=l/10)==o&&o!==1/0&&o!==-1/0?o>>>0:i("integer divide by zero");if(r>9&&(r=9),n){for(;1&&r>0&&48===((u=r-1>>0)<0||u>=s.length?void i("index out of range"):s[u]);)r=r-1>>0;if(0===r)return e}return e=D(e,46),P(e,f(new C(s),0,r))},u.ptr.prototype.String=function(){var e,t,r,n,i,o,a,s,c,l,p,d,f,h,$,m,g,b,y;b=0;var k,w=!1;void 0!==this&&void 0!==this.$blk&&(w=!0,e=(k=this)._r,t=k._tmp,r=k._tmp$1,n=k._tmp$2,i=k._tmp$3,o=k.buf,a=k.m0,s=k.m1,c=k.m2,l=k.s,p=k.sign,d=k.t,f=k.wid,h=k.x$1,$=k.x$2,m=k.x$3,g=k.x$4,b=k.$s,y=k.$r);e:for(;1;){switch(b){case 0:e=E(d=this,u).Format("2006-01-02 15:04:05.999999999 -0700 MST"),b=1;case 1:if(w&&(w=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return l=e,$=d.wall,(0!==(h=new Re(2147483648&$.$high,(0&$.$low)>>>0)).$high||0!==h.$low)&&(m=d.ext,c=new Re(m.$high,m.$low),p=43,((g=d.ext).$high<0||0===g.$high&&g.$low<0)&&(p=45,c=new Re(-c.$high,-c.$low)),t=z(c,new Re(0,1e9),!1),c=r=z(c,new Re(0,1e9),!0),a=n=z(s=t,new Re(0,1e9),!1),s=i=z(s,new Re(0,1e9),!0),o=C.nil,o=P(o," m="),o=D(o,p),f=0,0===a.$high&&0===a.$low||(o=ve(o,a.$low>>0,0),f=9),o=ve(o,s.$low>>0,f),o=D(o,46),o=ve(o,c.$low>>0,9),l+=v(o)),b=-1,l}return}return void 0===k&&(k={$blk:u.ptr.prototype.String}),k._r=e,k._tmp=t,k._tmp$1=r,k._tmp$2=n,k._tmp$3=i,k.buf=o,k.m0=a,k.m1=s,k.m2=c,k.s=l,k.sign=p,k.t=d,k.wid=f,k.x$1=h,k.x$2=$,k.x$3=m,k.x$4=g,k.$s=b,k.$r=y,k},u.prototype.String=function(){return this.$val.String()},u.ptr.prototype.Format=function(e){var t,r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._r,r=c.b,n=c.buf,e=c.layout,i=c.max,o=c.t,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:o=this,r=C.nil,(i=e.length+10>>0)<64?(n=R.zero(),r=f(new C(n),0,0)):r=pt(C,0,i),t=E(o,u).AppendFormat(r,e),a=1;case 1:if(l&&(l=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return a=-1,v(r=t)}return}return void 0===c&&(c={$blk:u.ptr.prototype.Format}),c._r=t,c.b=r,c.buf=n,c.layout=e,c.max=i,c.t=o,c.$s=a,c.$r=s,c},u.prototype.Format=function(e){return this.$val.Format(e)},u.ptr.prototype.AppendFormat=function(e,t){var r,n,o,a,s,c,l,f,$,m,g,b,v,y,k,w,_,x,S,C,O,F,R,B,A,I,j,N,T,L,M,W,z,U,V,q,H,G,K;G=0;var X,J=!1;void 0!==this&&void 0!==this.$blk&&(J=!0,r=(X=this)._1,n=X._q,o=X._q$1,a=X._q$2,s=X._q$3,c=X._r,l=X._r$1,f=X._r$2,$=X._r$3,m=X._r$4,g=X._r$5,b=X._r$6,v=X._tuple,y=X._tuple$1,k=X._tuple$2,w=X._tuple$3,_=X.abs,x=X.absoffset,e=X.b,S=X.day,C=X.hour,O=X.hr,F=X.hr$1,t=X.layout,R=X.m,B=X.min,A=X.month,I=X.name,j=X.offset,N=X.prefix,T=X.s,L=X.sec,M=X.std,W=X.suffix,z=X.t,U=X.y,V=X.year,q=X.zone$1,H=X.zone$2,G=X.$s,K=X.$r);e:for(;1;){switch(G){case 0:c=E(z=this,u).locabs(),G=1;case 1:if(J&&(J=!1,c=c.$blk()),c&&void 0!==c.$blk)break e;for(I=(v=c)[0],j=v[1],_=v[2],V=-1,A=0,S=0,C=-1,B=0,L=0;1&&""!==t&&(N=(y=me(t))[0],M=y[1],W=y[2],""!==N&&(e=P(e,N)),0!==M);)switch(t=W,V<0&&0!=(256&M)&&(V=(k=Qe(_,!0))[0],A=k[1],S=k[2]),C<0&&0!=(512&M)&&(C=(w=He(_))[0],B=w[1],L=w[2]),0){default:if(274==(r=65535&M))(U=V)<0&&(U=-U),e=ve(e,(l=U%100)==l?l:i("integer divide by zero"),2);else if(273===r)e=ve(e,V,4);else if(258===r)e=P(e,h(new p(A).String(),0,3));else if(257===r)R=new p(A).String(),e=P(e,R);else if(259===r)e=ve(e,A>>0,0);else if(260===r)e=ve(e,A>>0,2);else if(262===r)e=P(e,h(new d(qe(_)).String(),0,3));else if(261===r)T=new d(qe(_)).String(),e=P(e,T);else if(263===r)e=ve(e,S,0);else if(264===r)S<10&&(e=D(e,32)),e=ve(e,S,0);else if(265===r)e=ve(e,S,2);else if(522===r)e=ve(e,C,2);else if(523===r)0===(O=(f=C%12)==f?f:i("integer divide by zero"))&&(O=12),e=ve(e,O,0);else if(524===r)0===(F=($=C%12)==$?$:i("integer divide by zero"))&&(F=12),e=ve(e,F,2);else if(525===r)e=ve(e,B,0);else if(526===r)e=ve(e,B,2);else if(527===r)e=ve(e,L,0);else if(528===r)e=ve(e,L,2);else if(531===r)e=P(e,C>=12?"PM":"AM");else if(532===r)e=P(e,C>=12?"pm":"am");else if(22===r||25===r||23===r||24===r||26===r||27===r||30===r||28===r||29===r||31===r){if(0===j&&(22===M||25===M||23===M||24===M||26===M)){e=D(e,90);break}x=j,(q=(n=j/60)==n&&n!==1/0&&n!==-1/0?n>>0:i("integer divide by zero"))<0?(e=D(e,45),q=-q,x=-x):e=D(e,43),e=ve(e,(o=q/60)==o&&o!==1/0&&o!==-1/0?o>>0:i("integer divide by zero"),2),25!==M&&30!==M&&26!==M&&31!==M||(e=D(e,58)),29!==M&&24!==M&&(e=ve(e,(m=q%60)==m?m:i("integer divide by zero"),2)),23!==M&&28!==M&&31!==M&&26!==M||(31!==M&&26!==M||(e=D(e,58)),e=ve(e,(g=x%60)==g?g:i("integer divide by zero"),2))}else if(21===r){if(""!==I){e=P(e,I);break}(H=(a=j/60)==a&&a!==1/0&&a!==-1/0?a>>0:i("integer divide by zero"))<0?(e=D(e,45),H=-H):e=D(e,43),e=ve(e,(s=H/60)==s&&s!==1/0&&s!==-1/0?s>>0:i("integer divide by zero"),2),e=ve(e,(b=H%60)==b?b:i("integer divide by zero"),2)}else 32!==r&&33!==r||(e=xe(e,E(z,u).Nanosecond()>>>0,M>>16>>0,33==(65535&M)))}return G=-1,e}return}return void 0===X&&(X={$blk:u.ptr.prototype.AppendFormat}),X._1=r,X._q=n,X._q$1=o,X._q$2=a,X._q$3=s,X._r=c,X._r$1=l,X._r$2=f,X._r$3=$,X._r$4=m,X._r$5=g,X._r$6=b,X._tuple=v,X._tuple$1=y,X._tuple$2=k,X._tuple$3=w,X.abs=_,X.absoffset=x,X.b=e,X.day=S,X.hour=C,X.hr=O,X.hr$1=F,X.layout=t,X.m=R,X.min=B,X.month=A,X.name=I,X.offset=j,X.prefix=N,X.s=T,X.sec=L,X.std=M,X.suffix=W,X.t=z,X.y=U,X.year=V,X.zone$1=q,X.zone$2=H,X.$s=G,X.$r=K,X},u.prototype.AppendFormat=function(e,t){return this.$val.AppendFormat(e,t)},Ee=function(e){return'"'+e+'"'},l.ptr.prototype.Error=function(){var e;return""===(e=this).Message?"parsing time "+Ee(e.Value)+" as "+Ee(e.Layout)+": cannot parse "+Ee(e.ValueElem)+" as "+Ee(e.LayoutElem):"parsing time "+Ee(e.Value)+e.Message},l.prototype.Error=function(){return this.$val.Error()},Pe=function(e,t){var r;return!(e.length<=t)&&48<=(r=e.charCodeAt(t))&&r<=57},Oe=function(e,t){return Pe(e,0)?Pe(e,1)?[j(e.charCodeAt(0)-48<<24>>>24>>0,10)+(e.charCodeAt(1)-48<<24>>>24>>0)>>0,h(e,2),Ze]:t?[0,e,ee]:[e.charCodeAt(0)-48<<24>>>24>>0,h(e,1),Ze]:[0,e,ee]},Fe=function(e){for(;1&&e.length>0&&32===e.charCodeAt(0);)e=h(e,1);return e},Be=function(e,t){for(;1&&t.length>0;)if(32!==t.charCodeAt(0)){if(0===e.length||e.charCodeAt(0)!==t.charCodeAt(0))return[e,ee];t=h(t,1),e=h(e,1)}else{if(e.length>0&&32!==e.charCodeAt(0))return[e,ee];t=Fe(t),e=Fe(e)}return[e,Ze]},Ae=function(e,t){var r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,r=(o=this)._r,e=o.layout,t=o.value,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:r=je(e,t,lt.UTC,lt.Local),n=1;case 1:if(a&&(a=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return n=-1,r}return}return void 0===o&&(o={$blk:Ae}),o._r=r,o.layout=e,o.value=t,o.$s=n,o.$r=i,o},lt.Parse=Ae,je=function(e,t,r,n){var i,o,a,s,c,p,d,f,$,m,g,b,v,y,k,w,_,x,S,D,P,C,O,R,B,I,N,T,L,M,W,z,U,V,q,H,G,K,Q,te,re,ne,ie,oe,ae,se,ce,le,ue,pe,de,fe,he,$e,ge,ve,ye,we,_e,xe,Ee,Se,Ce,Fe,Ae,Ie,Te,Le,Me,We,Ue,Ve,qe,He,Ge,Ke,Xe,Je,Ye,Qe,tt,rt,nt,it,at,st,ut,pt,dt,ft,ht,$t,mt,gt,bt,vt,yt,kt,wt,_t,xt,Et,St,Dt,Pt,Ct,Ot,Ft,Rt,Bt,At,It,jt,Nt,Tt,Lt,Mt,Wt,zt,Ut,Vt,qt;Vt=0;var Ht,Gt=!1;void 0!==this&&void 0!==this.$blk&&(Gt=!0,i=(Ht=this)._1,o=Ht._2,a=Ht._3,s=Ht._4,c=Ht._r,p=Ht._r$1,d=Ht._r$2,f=Ht._r$3,$=Ht._r$4,m=Ht._r$5,g=Ht._tmp,b=Ht._tmp$1,v=Ht._tmp$10,y=Ht._tmp$11,k=Ht._tmp$12,w=Ht._tmp$13,_=Ht._tmp$14,x=Ht._tmp$15,S=Ht._tmp$16,D=Ht._tmp$17,P=Ht._tmp$18,C=Ht._tmp$19,O=Ht._tmp$2,R=Ht._tmp$20,B=Ht._tmp$21,I=Ht._tmp$22,N=Ht._tmp$23,T=Ht._tmp$24,L=Ht._tmp$25,M=Ht._tmp$26,W=Ht._tmp$27,z=Ht._tmp$28,U=Ht._tmp$29,V=Ht._tmp$3,q=Ht._tmp$30,H=Ht._tmp$31,G=Ht._tmp$32,K=Ht._tmp$33,Q=Ht._tmp$34,te=Ht._tmp$35,re=Ht._tmp$36,ne=Ht._tmp$37,ie=Ht._tmp$38,oe=Ht._tmp$39,ae=Ht._tmp$4,se=Ht._tmp$40,ce=Ht._tmp$41,le=Ht._tmp$42,ue=Ht._tmp$43,pe=Ht._tmp$5,de=Ht._tmp$6,fe=Ht._tmp$7,he=Ht._tmp$8,$e=Ht._tmp$9,ge=Ht._tuple,ve=Ht._tuple$1,ye=Ht._tuple$10,we=Ht._tuple$11,_e=Ht._tuple$12,xe=Ht._tuple$13,Ee=Ht._tuple$14,Se=Ht._tuple$15,Ce=Ht._tuple$16,Fe=Ht._tuple$17,Ae=Ht._tuple$18,Ie=Ht._tuple$19,Te=Ht._tuple$2,Le=Ht._tuple$20,Me=Ht._tuple$21,We=Ht._tuple$22,Ue=Ht._tuple$23,Ve=Ht._tuple$24,qe=Ht._tuple$3,He=Ht._tuple$4,Ge=Ht._tuple$5,Ke=Ht._tuple$6,Xe=Ht._tuple$7,Je=Ht._tuple$8,Ye=Ht._tuple$9,Qe=Ht.alayout,tt=Ht.amSet,rt=Ht.avalue,nt=Ht.day,r=Ht.defaultLocation,it=Ht.err,at=Ht.hour,st=Ht.hour$1,ut=Ht.hr,pt=Ht.i,e=Ht.layout,n=Ht.local,dt=Ht.min,ft=Ht.min$1,ht=Ht.mm,$t=Ht.month,mt=Ht.n,gt=Ht.n$1,bt=Ht.name,vt=Ht.ndigit,yt=Ht.nsec,kt=Ht.offset,wt=Ht.offset$1,_t=Ht.ok,xt=Ht.ok$1,Et=Ht.p,St=Ht.pmSet,Dt=Ht.prefix,Pt=Ht.rangeErrString,Ct=Ht.sec,Ot=Ht.seconds,Ft=Ht.sign,Rt=Ht.ss,Bt=Ht.std,At=Ht.stdstr,It=Ht.suffix,jt=Ht.t,Nt=Ht.t$1,t=Ht.value,Tt=Ht.x$1,Lt=Ht.x$2,Mt=Ht.year,Wt=Ht.z,zt=Ht.zoneName,Ut=Ht.zoneOffset,Vt=Ht.$s,qt=Ht.$r);e:for(;1;){switch(Vt){case 0:for(Qe=g=e,rt=b=t,Pt="",tt=!1,St=!1,Mt=0,$t=1,nt=1,at=0,dt=0,Ct=0,yt=0,Wt=A.nil,Ut=-1,zt="";1;){if(it=Ze,Dt=(ge=me(e))[0],Bt=ge[1],It=ge[2],At=h(e,Dt.length,e.length-It.length>>0),t=(ve=Be(t,Dt))[0],it=ve[1],!F(it,Ze))return Vt=-1,[new u.ptr(new Re(0,0),new De(0,0),A.nil),new l.ptr(Qe,rt,Dt,t,"")];if(0===Bt){if(0!==t.length)return Vt=-1,[new u.ptr(new Re(0,0),new De(0,0),A.nil),new l.ptr(Qe,rt,"",t,": extra text: "+t)];break}switch(e=It,Et="",0){default:if(274==(i=65535&Bt)){if(t.length<2){it=ee;break}O=h(t,0,2),t=V=h(t,2),Mt=(Te=ke(Et=O))[0],it=Te[1],Mt=Mt>=69?Mt+1900>>0:Mt+2e3>>0}else if(273===i){if(t.length<4||!Pe(t,0)){it=ee;break}ae=h(t,0,4),t=pe=h(t,4),Mt=(qe=ke(Et=ae))[0],it=qe[1]}else if(258===i)$t=(He=be(Z,t))[0],t=He[1],it=He[2],$t=$t+1>>0;else if(257===i)$t=(Ge=be(Y,t))[0],t=Ge[1],it=Ge[2],$t=$t+1>>0;else if(259===i||260===i)$t=(Ke=Oe(t,260===Bt))[0],t=Ke[1],it=Ke[2],($t<=0||12<$t)&&(Pt="month");else if(262===i)t=(Xe=be(J,t))[1],it=Xe[2];else if(261===i)t=(Je=be(X,t))[1],it=Je[2];else if(263===i||264===i||265===i)264===Bt&&t.length>0&&32===t.charCodeAt(0)&&(t=h(t,1)),nt=(Ye=Oe(t,265===Bt))[0],t=Ye[1],it=Ye[2],nt<0&&(Pt="day");else if(522===i)at=(ye=Oe(t,!1))[0],t=ye[1],it=ye[2],(at<0||24<=at)&&(Pt="hour");else if(523===i||524===i)at=(we=Oe(t,524===Bt))[0],t=we[1],it=we[2],(at<0||12<at)&&(Pt="hour");else if(525===i||526===i)dt=(_e=Oe(t,526===Bt))[0],t=_e[1],it=_e[2],(dt<0||60<=dt)&&(Pt="minute");else if(527===i||528===i){if(Ct=(xe=Oe(t,528===Bt))[0],t=xe[1],it=xe[2],Ct<0||60<=Ct){Pt="second";break}if(t.length>=2&&46===t.charCodeAt(0)&&Pe(t,1)){if(Bt=(Ee=me(e))[1],32==(Bt&=65535)||33===Bt)break;for(mt=2;1&&mt<t.length&&Pe(t,mt);)mt=mt+1>>0;yt=(Se=ze(t,mt))[0],Pt=Se[1],it=Se[2],t=h(t,mt)}}else if(531===i){if(t.length<2){it=ee;break}de=h(t,0,2),t=fe=h(t,2),"PM"===(o=Et=de)?St=!0:"AM"===o?tt=!0:it=ee}else if(532===i){if(t.length<2){it=ee;break}he=h(t,0,2),t=$e=h(t,2),"pm"===(a=Et=he)?St=!0:"am"===a?tt=!0:it=ee}else if(22===i||25===i||23===i||24===i||26===i||27===i||29===i||30===i||28===i||31===i){if((22===Bt||24===Bt||25===Bt)&&t.length>=1&&90===t.charCodeAt(0)){t=h(t,1),Wt=lt.UTC;break}if(Ft=v="",st=y="",ft=k="",Ot=w="",25===Bt||30===Bt){if(t.length<6){it=ee;break}if(58!==t.charCodeAt(3)){it=ee;break}Ft=_=h(t,0,1),st=x=h(t,1,3),ft=S=h(t,4,6),Ot=D="00",t=P=h(t,6)}else if(29===Bt||24===Bt){if(t.length<3){it=ee;break}Ft=C=h(t,0,1),st=R=h(t,1,3),ft=B="00",Ot=I="00",t=N=h(t,3)}else if(26===Bt||31===Bt){if(t.length<9){it=ee;break}if(58!==t.charCodeAt(3)||58!==t.charCodeAt(6)){it=ee;break}Ft=T=h(t,0,1),st=L=h(t,1,3),ft=M=h(t,4,6),Ot=W=h(t,7,9),t=z=h(t,9)}else if(23===Bt||28===Bt){if(t.length<7){it=ee;break}Ft=U=h(t,0,1),st=q=h(t,1,3),ft=H=h(t,3,5),Ot=G=h(t,5,7),t=K=h(t,7)}else{if(t.length<5){it=ee;break}Ft=Q=h(t,0,1),st=te=h(t,1,3),ft=re=h(t,3,5),Ot=ne="00",t=ie=h(t,5)}ut=oe=0,ht=se=0,Rt=ce=0,ut=(Ce=ke(st))[0],it=Ce[1],F(it,Ze)&&(ht=(Fe=ke(ft))[0],it=Fe[1]),F(it,Ze)&&(Rt=(Ae=ke(Ot))[0],it=Ae[1]),Ut=j(j(ut,60)+ht>>0,60)+Rt>>0,43===(s=Ft.charCodeAt(0))||(45===s?Ut=-Ut:it=ee)}else if(21===i){if(t.length>=3&&"UTC"===h(t,0,3)){Wt=lt.UTC,t=h(t,3);break}if(gt=(Ie=Ne(t))[0],!(_t=Ie[1])){it=ee;break}zt=le=h(t,0,gt),t=ue=h(t,gt)}else if(32===i){if(vt=1+(Bt>>16>>0)>>0,t.length<vt){it=ee;break}yt=(Le=ze(t,vt))[0],Pt=Le[1],it=Le[2],t=h(t,vt)}else if(33===i){if(t.length<2||46!==t.charCodeAt(0)||t.charCodeAt(1)<48||57<t.charCodeAt(1))break;for(pt=0;1&&pt<9&&pt+1>>0<t.length&&48<=t.charCodeAt(pt+1>>0)&&t.charCodeAt(pt+1>>0)<=57;)pt=pt+1>>0;yt=(Me=ze(t,1+pt>>0))[0],Pt=Me[1],it=Me[2],t=h(t,1+pt>>0)}}if(""!==Pt)return Vt=-1,[new u.ptr(new Re(0,0),new De(0,0),A.nil),new l.ptr(Qe,rt,At,t,": "+Pt+" out of range")];if(!F(it,Ze))return Vt=-1,[new u.ptr(new Re(0,0),new De(0,0),A.nil),new l.ptr(Qe,rt,At,t,"")]}if(St&&at<12?at=at+12>>0:tt&&12===at&&(at=0),nt<1||nt>et($t>>0,Mt))return Vt=-1,[new u.ptr(new Re(0,0),new De(0,0),A.nil),new l.ptr(Qe,rt,"",t,": day out of range")];if(Wt!==A.nil){Vt=1;continue}Vt=2;continue;case 1:c=ot(Mt,$t>>0,nt,at,dt,Ct,yt,Wt),Vt=3;case 3:if(Gt&&(Gt=!1,c=c.$blk()),c&&void 0!==c.$blk)break e;return Vt=-1,[c,Ze];case 2:if(-1!==Ut){Vt=4;continue}Vt=5;continue;case 4:p=ot(Mt,$t>>0,nt,at,dt,Ct,yt,lt.UTC),Vt=6;case 6:if(Gt&&(Gt=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;(jt=E(p,u)).addSec((Tt=new De(0,Ut),new De(-Tt.$high,-Tt.$low))),d=n.lookup(jt.unixSec()),Vt=7;case 7:if(Gt&&(Gt=!1,d=d.$blk()),d&&void 0!==d.$blk)break e;return bt=(We=d)[0],(kt=We[1])!==Ut||""!==zt&&bt!==zt?(jt.setLoc(ct(zt,Ut)),Vt=-1,[jt,Ze]):(jt.setLoc(n),Vt=-1,[jt,Ze]);case 5:if(""!==zt){Vt=8;continue}Vt=9;continue;case 8:f=ot(Mt,$t>>0,nt,at,dt,Ct,yt,lt.UTC),Vt=10;case 10:if(Gt&&(Gt=!1,f=f.$blk()),f&&void 0!==f.$blk)break e;Nt=E(f,u),$=n.lookupName(zt,Nt.unixSec()),Vt=11;case 11:if(Gt&&(Gt=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;return wt=(Ue=$)[0],(xt=Ue[1])?(Nt.addSec((Lt=new De(0,wt),new De(-Lt.$high,-Lt.$low))),Nt.setLoc(n),Vt=-1,[Nt,Ze]):(zt.length>3&&"GMT"===h(zt,0,3)&&(wt=(Ve=ke(h(zt,3)))[0],wt=j(wt,3600)),Nt.setLoc(ct(zt,wt)),Vt=-1,[Nt,Ze]);case 9:m=ot(Mt,$t>>0,nt,at,dt,Ct,yt,r),Vt=12;case 12:if(Gt&&(Gt=!1,m=m.$blk()),m&&void 0!==m.$blk)break e;return Vt=-1,[m,Ze]}return}return void 0===Ht&&(Ht={$blk:je}),Ht._1=i,Ht._2=o,Ht._3=a,Ht._4=s,Ht._r=c,Ht._r$1=p,Ht._r$2=d,Ht._r$3=f,Ht._r$4=$,Ht._r$5=m,Ht._tmp=g,Ht._tmp$1=b,Ht._tmp$10=v,Ht._tmp$11=y,Ht._tmp$12=k,Ht._tmp$13=w,Ht._tmp$14=_,Ht._tmp$15=x,Ht._tmp$16=S,Ht._tmp$17=D,Ht._tmp$18=P,Ht._tmp$19=C,Ht._tmp$2=O,Ht._tmp$20=R,Ht._tmp$21=B,Ht._tmp$22=I,Ht._tmp$23=N,Ht._tmp$24=T,Ht._tmp$25=L,Ht._tmp$26=M,Ht._tmp$27=W,Ht._tmp$28=z,Ht._tmp$29=U,Ht._tmp$3=V,Ht._tmp$30=q,Ht._tmp$31=H,Ht._tmp$32=G,Ht._tmp$33=K,Ht._tmp$34=Q,Ht._tmp$35=te,Ht._tmp$36=re,Ht._tmp$37=ne,Ht._tmp$38=ie,Ht._tmp$39=oe,Ht._tmp$4=ae,Ht._tmp$40=se,Ht._tmp$41=ce,Ht._tmp$42=le,Ht._tmp$43=ue,Ht._tmp$5=pe,Ht._tmp$6=de,Ht._tmp$7=fe,Ht._tmp$8=he,Ht._tmp$9=$e,Ht._tuple=ge,Ht._tuple$1=ve,Ht._tuple$10=ye,Ht._tuple$11=we,Ht._tuple$12=_e,Ht._tuple$13=xe,Ht._tuple$14=Ee,Ht._tuple$15=Se,Ht._tuple$16=Ce,Ht._tuple$17=Fe,Ht._tuple$18=Ae,Ht._tuple$19=Ie,Ht._tuple$2=Te,Ht._tuple$20=Le,Ht._tuple$21=Me,Ht._tuple$22=We,Ht._tuple$23=Ue,Ht._tuple$24=Ve,Ht._tuple$3=qe,Ht._tuple$4=He,Ht._tuple$5=Ge,Ht._tuple$6=Ke,Ht._tuple$7=Xe,Ht._tuple$8=Je,Ht._tuple$9=Ye,Ht.alayout=Qe,Ht.amSet=tt,Ht.avalue=rt,Ht.day=nt,Ht.defaultLocation=r,Ht.err=it,Ht.hour=at,Ht.hour$1=st,Ht.hr=ut,Ht.i=pt,Ht.layout=e,Ht.local=n,Ht.min=dt,Ht.min$1=ft,Ht.mm=ht,Ht.month=$t,Ht.n=mt,Ht.n$1=gt,Ht.name=bt,Ht.ndigit=vt,Ht.nsec=yt,Ht.offset=kt,Ht.offset$1=wt,Ht.ok=_t,Ht.ok$1=xt,Ht.p=Et,Ht.pmSet=St,Ht.prefix=Dt,Ht.rangeErrString=Pt,Ht.sec=Ct,Ht.seconds=Ot,Ht.sign=Ft,Ht.ss=Rt,Ht.std=Bt,Ht.stdstr=At,Ht.suffix=It,Ht.t=jt,Ht.t$1=Nt,Ht.value=t,Ht.x$1=Tt,Ht.x$2=Lt,Ht.year=Mt,Ht.z=Wt,Ht.zoneName=zt,Ht.zoneOffset=Ut,Ht.$s=Vt,Ht.$r=qt,Ht},Ne=function(e){var t,r,n,i,o;if(n=0,e.length<3)return[n=0,!1];if(e.length>=4&&("ChST"===h(e,0,4)||"MeST"===h(e,0,4)))return[n=4,!0];if("GMT"===h(e,0,3))return[n=n=Le(e),!0];if(43===e.charCodeAt(0)||45===e.charCodeAt(0))return o=(n=Me(e))>0,[n=n,o];for(i=0,i=0;1&&i<6&&!(i>=e.length)&&!((r=e.charCodeAt(i))<65||90<r);)i=i+1>>0;if(0===(t=i)||1===t||2===t||6===t)return[n=0,!1];if(5===t){if(84===e.charCodeAt(4))return[n=5,!0]}else if(4===t){if(84===e.charCodeAt(3)||"WITA"===h(e,0,4))return[n=4,!0]}else if(3===t)return[n=3,!0];return[n=0,!1]},Le=function(e){return 0===(e=h(e,3)).length?3:3+Me(e)>>0},Me=function(e){var t,r,n,i,o;return 45!==(i=e.charCodeAt(0))&&43!==i?0:(o=(t=Ve(h(e,1)))[0],n=t[1],r=t[2],F(r,Ze)&&h(e,1)!==n?(45===i&&(o=new De(-o.$high,-o.$low)),o.$high<-1||-1===o.$high&&o.$low<4294967273||0<o.$high||0===o.$high&&23<o.$low?0:e.length-n.length>>0):0)},ze=function(e,t){var r,n,i,o,a,s;if(o=0,a="",n=Ze,46!==e.charCodeAt(0))return[o,a,n=ee];if(o=(r=ke(h(e,1,t)))[0],n=r[1],!F(n,Ze))return[o,a,n];if(o<0||1e9<=o)return[o,a="fractional second",n];for(s=10-t>>0,i=0;1&&i<s;)o=j(o,10),i=i+1>>0;return[o,a,n]},Ve=function(e){var t,r,n,i,o,a;for(n=new De(0,0),r=0;1&&r<e.length&&!((t=e.charCodeAt(r))<48||t>57);){if(n.$high>214748364||214748364===n.$high&&n.$low>3435973836)return[n=new De(0,0),"",te];if(o=W(n,new De(0,10)),a=new De(0,t),i=new De(o.$high+a.$high,o.$low+a.$low),(n=new De(i.$high-0,i.$low-48)).$high<0||0===n.$high&&n.$low<0)return[n=new De(0,0),"",te];r=r+1>>0}return[n=n,h(e,r),Ze]},u.ptr.prototype.nsec=function(){var e;return(e=this.wall,new Re(0&e.$high,(1073741823&e.$low)>>>0)).$low>>0},u.prototype.nsec=function(){return this.$val.nsec()},u.ptr.prototype.sec=function(){var e,t,r,n;return t=this.wall,0!==(e=new Re(2147483648&t.$high,(0&t.$low)>>>0)).$high||0!==e.$low?(n=M(T(this.wall,1),31),r=new De(n.$high,n.$low),new De(13+r.$high,3618733952+r.$low)):this.ext},u.prototype.sec=function(){return this.$val.sec()},u.ptr.prototype.unixSec=function(){var e;return e=this.sec(),new De(e.$high+-15,e.$low+2288912640)},u.prototype.unixSec=function(){return this.$val.unixSec()},u.ptr.prototype.addSec=function(e){var t,r,n,i,o,a,s,c,l,u,p,d;if(o=(n=this).wall,0!==(i=new Re(2147483648&o.$high,(0&o.$low)>>>0)).$high||0!==i.$low){if(a=M(T(n.wall,1),31),r=new De(a.$high,a.$low),(0<(t=new De(r.$high+e.$high,r.$low+e.$low)).$high||0===t.$high&&0<=t.$low)&&(t.$high<1||1===t.$high&&t.$low<=4294967295))return void(n.wall=(l=n.wall,c=new Re(0&l.$high,(1073741823&l.$low)>>>0),u=T(new Re(t.$high,t.$low),30),s=new Re(c.$high|u.$high,(c.$low|u.$low)>>>0),new Re(2147483648|s.$high,(0|s.$low)>>>0)));n.stripMono()}n.ext=(p=n.ext,d=e,new De(p.$high+d.$high,p.$low+d.$low))},u.prototype.addSec=function(e){return this.$val.addSec(e)},u.ptr.prototype.setLoc=function(e){e===oe&&(e=A.nil),this.stripMono(),this.loc=e},u.prototype.setLoc=function(e){return this.$val.setLoc(e)},u.ptr.prototype.stripMono=function(){var e,t,r,n,i;r=(e=this).wall,(0!==(t=new Re(2147483648&r.$high,(0&r.$low)>>>0)).$high||0!==t.$low)&&(e.ext=e.sec(),e.wall=(n=e.wall,i=new Re(0,1073741823),new Re(n.$high&i.$high,(n.$low&i.$low)>>>0)))},u.prototype.stripMono=function(){return this.$val.stripMono()},u.ptr.prototype.After=function(e){var t,r,n,i,o,a,s,c,l;return a=(t=this).wall,s=e.wall,o=new Re(a.$high&s.$high,(a.$low&s.$low)>>>0),0!==(i=new Re(2147483648&o.$high,(0&o.$low)>>>0)).$high||0!==i.$low?(c=t.ext,l=e.ext,c.$high>l.$high||c.$high===l.$high&&c.$low>l.$low):(r=t.sec(),n=e.sec(),r.$high>n.$high||r.$high===n.$high&&r.$low>n.$low||r.$high===n.$high&&r.$low===n.$low&&t.nsec()>e.nsec())},u.prototype.After=function(e){return this.$val.After(e)},u.ptr.prototype.Before=function(e){var t,r,n,i,o,a,s,c,l,u,p;return o=(t=this).wall,a=e.wall,i=new Re(o.$high&a.$high,(o.$low&a.$low)>>>0),0!==(r=new Re(2147483648&i.$high,(0&i.$low)>>>0)).$high||0!==r.$low?(s=t.ext,c=e.ext,s.$high<c.$high||s.$high===c.$high&&s.$low<c.$low):(l=t.sec(),u=e.sec(),l.$high<u.$high||l.$high===u.$high&&l.$low<u.$low||(p=t.sec(),n=e.sec(),p.$high===n.$high&&p.$low===n.$low&&t.nsec()<e.nsec()))},u.prototype.Before=function(e){return this.$val.Before(e)},u.ptr.prototype.Equal=function(e){var t,r,n,i,o,a,s,c,l;return i=(t=this).wall,o=e.wall,n=new Re(i.$high&o.$high,(i.$low&o.$low)>>>0),0!==(r=new Re(2147483648&n.$high,(0&n.$low)>>>0)).$high||0!==r.$low?(a=t.ext,s=e.ext,a.$high===s.$high&&a.$low===s.$low):(c=t.sec(),l=e.sec(),c.$high===l.$high&&c.$low===l.$low&&t.nsec()===e.nsec())},u.prototype.Equal=function(e){return this.$val.Equal(e)},p.prototype.String=function(){var e,t,r,n;return 1<=(t=this.$val)&&t<=12?(n=t-1>>0)<0||n>=re.length?void i("index out of range"):re[n]:(e=pt(C,20),r=Xe(e,new Re(0,t)),"%!Month("+v(f(e,r))+")")},st(p).prototype.String=function(){return new p(this.$get()).String()},d.prototype.String=function(){var e,t,r;return 0<=(t=this.$val)&&t<=6?t<0||t>=ne.length?void i("index out of range"):ne[t]:(e=pt(C,20),r=Xe(e,new Re(0,t)),"%!Weekday("+v(f(e,r))+")")},st(d).prototype.String=function(){return new d(this.$get()).String()},u.ptr.prototype.IsZero=function(){var e;return 0===(e=this.sec()).$high&&0===e.$low&&0===this.nsec()},u.prototype.IsZero=function(){return this.$val.IsZero()},u.ptr.prototype.abs=function(){var e,t,r,n,i,o,a,s,c,l,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,e=($=this)._r,t=$._r$1,r=$._tuple,n=$.l,i=$.offset,o=$.sec,a=$.t,s=$.x$1,c=$.x$2,l=$.x$3,p=$.x$4,d=$.x$5,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:if((n=(a=this).loc)===A.nil||n===ae){f=1;continue}f=2;continue;case 1:e=n.get(),f=3;case 3:if(m&&(m=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;n=e;case 2:if(o=a.unixSec(),n!==oe){f=4;continue}f=5;continue;case 4:if(n.cacheZone!==_.nil&&((s=n.cacheStart).$high<o.$high||s.$high===o.$high&&s.$low<=o.$low)&&(c=n.cacheEnd,o.$high<c.$high||o.$high===c.$high&&o.$low<c.$low)){f=6;continue}f=7;continue;case 6:l=new De(0,n.cacheZone.offset),o=new De(o.$high+l.$high,o.$low+l.$low),f=8;continue;case 7:t=n.lookup(o),f=9;case 9:if(m&&(m=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;i=(r=t)[1],p=new De(0,i),o=new De(o.$high+p.$high,o.$low+p.$low);case 8:case 5:return f=-1,d=new De(o.$high+2147483646,o.$low+450480384),new Re(d.$high,d.$low)}return}return void 0===$&&($={$blk:u.ptr.prototype.abs}),$._r=e,$._r$1=t,$._tuple=r,$.l=n,$.offset=i,$.sec=o,$.t=a,$.x$1=s,$.x$2=c,$.x$3=l,$.x$4=p,$.x$5=d,$.$s=f,$.$r=h,$},u.prototype.abs=function(){return this.$val.abs()},u.ptr.prototype.locabs=function(){var e,t,r,n,i,o,a,s,c,l,p,d,f,h,$;h=0;var m,g=!1;void 0!==this&&void 0!==this.$blk&&(g=!0,e=(m=this)._r,t=m._r$1,r=m._tuple,n=m.abs,i=m.l,o=m.name,a=m.offset,s=m.sec,c=m.t,l=m.x$1,p=m.x$2,d=m.x$3,f=m.x$4,h=m.$s,$=m.$r);e:for(;1;){switch(h){case 0:if(o="",a=0,n=new Re(0,0),(i=(c=this).loc)===A.nil||i===ae){h=1;continue}h=2;continue;case 1:e=i.get(),h=3;case 3:if(g&&(g=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;i=e;case 2:if(s=c.unixSec(),i!==oe){h=4;continue}h=5;continue;case 4:if(i.cacheZone!==_.nil&&((l=i.cacheStart).$high<s.$high||l.$high===s.$high&&l.$low<=s.$low)&&(p=i.cacheEnd,s.$high<p.$high||s.$high===p.$high&&s.$low<p.$low)){h=7;continue}h=8;continue;case 7:o=i.cacheZone.name,a=i.cacheZone.offset,h=9;continue;case 8:t=i.lookup(s),h=10;case 10:if(g&&(g=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;o=(r=t)[0],a=r[1];case 9:d=new De(0,a),s=new De(s.$high+d.$high,s.$low+d.$low),h=6;continue;case 5:o="UTC";case 6:return f=new De(s.$high+2147483646,s.$low+450480384),h=-1,[o,a,n=new Re(f.$high,f.$low)]}return}return void 0===m&&(m={$blk:u.ptr.prototype.locabs}),m._r=e,m._r$1=t,m._tuple=r,m.abs=n,m.l=i,m.name=o,m.offset=a,m.sec=s,m.t=c,m.x$1=l,m.x$2=p,m.x$3=d,m.x$4=f,m.$s=h,m.$r=$,m},u.prototype.locabs=function(){return this.$val.locabs()},u.ptr.prototype.Date=function(){var e,t,r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,e=(c=this)._r,t=c._tuple,r=c.day,n=c.month,i=c.t,o=c.year,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:o=0,n=0,r=0,e=E(i=this,u).date(!0),a=1;case 1:if(l&&(l=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return a=-1,[o=(t=e)[0],n=t[1],r=t[2]]}return}return void 0===c&&(c={$blk:u.ptr.prototype.Date}),c._r=e,c._tuple=t,c.day=r,c.month=n,c.t=i,c.year=o,c.$s=a,c.$r=s,c},u.prototype.Date=function(){return this.$val.Date()},u.ptr.prototype.Year=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a._tuple,r=a.t,n=a.year,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:e=E(r=this,u).date(!1),i=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return i=-1,(t=e)[0]}return}return void 0===a&&(a={$blk:u.ptr.prototype.Year}),a._r=e,a._tuple=t,a.t=r,a.year=n,a.$s=i,a.$r=o,a},u.prototype.Year=function(){return this.$val.Year()},u.ptr.prototype.Month=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a._tuple,r=a.month,n=a.t,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:e=E(n=this,u).date(!0),i=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return i=-1,(t=e)[1]}return}return void 0===a&&(a={$blk:u.ptr.prototype.Month}),a._r=e,a._tuple=t,a.month=r,a.t=n,a.$s=i,a.$r=o,a},u.prototype.Month=function(){return this.$val.Month()},u.ptr.prototype.Day=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a._tuple,r=a.day,n=a.t,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:e=E(n=this,u).date(!0),i=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return i=-1,(t=e)[2]}return}return void 0===a&&(a={$blk:u.ptr.prototype.Day}),a._r=e,a._tuple=t,a.day=r,a.t=n,a.$s=i,a.$r=o,a},u.prototype.Day=function(){return this.$val.Day()},u.ptr.prototype.Weekday=function(){var e,t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this)._r,t=o._r$1,r=o.t,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:e=E(r=this,u).abs(),n=1;case 1:if(a&&(a=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;t=qe(e),n=2;case 2:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:u.ptr.prototype.Weekday}),o._r=e,o._r$1=t,o.t=r,o.$s=n,o.$r=i,o},u.prototype.Weekday=function(){return this.$val.Weekday()},qe=function(e){var t;return((t=(z(new Re(e.$high+0,e.$low+86400),new Re(0,604800),!0).$low>>0)/86400)==t&&t!==1/0&&t!==-1/0?t>>0:i("integer divide by zero"))>>0},u.ptr.prototype.ISOWeek=function(){var e,t,r,n,o,a,s,c,l,p,d,f,h,$,m,g,b,v;b=0;var y,k=!1;void 0!==this&&void 0!==this.$blk&&(k=!0,e=(y=this)._q,t=y._r,r=y._r$1,n=y._r$2,o=y._r$3,a=y._r$4,s=y._tuple,c=y.day,l=y.dec31wday,p=y.jan1wday,d=y.month,f=y.t,h=y.wday,$=y.week,m=y.yday,g=y.year,b=y.$s,v=y.$r);e:for(;1;){switch(b){case 0:g=0,$=0,t=E(f=this,u).date(!0),b=1;case 1:if(k&&(k=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;g=(s=t)[0],d=s[1],c=s[2],m=s[3],n=E(f,u).Weekday(),b=2;case 2:if(k&&(k=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return $=(e=((m-(h=(r=(n+6>>0>>0)%7)==r?r:i("integer divide by zero"))>>0)+7>>0)/7)==e&&e!==1/0&&e!==-1/0?e>>0:i("integer divide by zero"),1<=(p=(o=((h-m>>0)+371>>0)%7)==o?o:i("integer divide by zero"))&&p<=3&&($=$+1>>0),0===$&&(g=g-1>>0,$=52,(4===p||5===p&&nt(g))&&($=$+1>>0)),12===d&&c>=29&&h<3&&0<=(l=(a=((h+31>>0)-c>>0)%7)==a?a:i("integer divide by zero"))&&l<=2&&(g=g+1>>0,$=1),b=-1,[g,$]}return}return void 0===y&&(y={$blk:u.ptr.prototype.ISOWeek}),y._q=e,y._r=t,y._r$1=r,y._r$2=n,y._r$3=o,y._r$4=a,y._tuple=s,y.day=c,y.dec31wday=l,y.jan1wday=p,y.month=d,y.t=f,y.wday=h,y.week=$,y.yday=m,y.year=g,y.$s=b,y.$r=v,y},u.prototype.ISOWeek=function(){return this.$val.ISOWeek()},u.ptr.prototype.Clock=function(){var e,t,r,n,i,o,a,s,c;s=0;var l,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,e=(l=this)._r,t=l._r$1,r=l._tuple,n=l.hour,i=l.min,o=l.sec,a=l.t,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:n=0,i=0,o=0,e=E(a=this,u).abs(),s=1;case 1:if(p&&(p=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;t=He(e),s=2;case 2:if(p&&(p=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return s=-1,[n=(r=t)[0],i=r[1],o=r[2]]}return}return void 0===l&&(l={$blk:u.ptr.prototype.Clock}),l._r=e,l._r$1=t,l._tuple=r,l.hour=n,l.min=i,l.sec=o,l.t=a,l.$s=s,l.$r=c,l},u.prototype.Clock=function(){return this.$val.Clock()},He=function(e){var t,r,n,o,a;return a=0,[n=(t=(a=z(e,new Re(0,86400),!0).$low>>0)/3600)==t&&t!==1/0&&t!==-1/0?t>>0:i("integer divide by zero"),o=(r=(a=a-j(n,3600)>>0)/60)==r&&r!==1/0&&r!==-1/0?r>>0:i("integer divide by zero"),a=a-j(o,60)>>0]},u.ptr.prototype.Hour=function(){var e,t,r,n,o;n=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._q,t=a._r,r=a.t,n=a.$s,o=a.$r);e:for(;1;){switch(n){case 0:t=E(r=this,u).abs(),n=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,(e=(z(t,new Re(0,86400),!0).$low>>0)/3600)==e&&e!==1/0&&e!==-1/0?e>>0:i("integer divide by zero")}return}return void 0===a&&(a={$blk:u.ptr.prototype.Hour}),a._q=e,a._r=t,a.t=r,a.$s=n,a.$r=o,a},u.prototype.Hour=function(){return this.$val.Hour()},u.ptr.prototype.Minute=function(){var e,t,r,n,o;n=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._q,t=a._r,r=a.t,n=a.$s,o=a.$r);e:for(;1;){switch(n){case 0:t=E(r=this,u).abs(),n=1;case 1:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,(e=(z(t,new Re(0,3600),!0).$low>>0)/60)==e&&e!==1/0&&e!==-1/0?e>>0:i("integer divide by zero")}return}return void 0===a&&(a={$blk:u.ptr.prototype.Minute}),a._q=e,a._r=t,a.t=r,a.$s=n,a.$r=o,a},u.prototype.Minute=function(){return this.$val.Minute()},u.ptr.prototype.Second=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.t,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=E(t=this,u).abs(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,z(e,new Re(0,60),!0).$low>>0}return}return void 0===i&&(i={$blk:u.ptr.prototype.Second}),i._r=e,i.t=t,i.$s=r,i.$r=n,i},u.prototype.Second=function(){return this.$val.Second()},u.ptr.prototype.Nanosecond=function(){return this.nsec()>>0},u.prototype.Nanosecond=function(){return this.$val.Nanosecond()},u.ptr.prototype.YearDay=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a._tuple,r=a.t,n=a.yday,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:e=E(r=this,u).date(!1),i=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return i=-1,(n=(t=e)[3])+1>>0}return}return void 0===a&&(a={$blk:u.ptr.prototype.YearDay}),a._r=e,a._tuple=t,a.t=r,a.yday=n,a.$s=i,a.$r=o,a},u.prototype.YearDay=function(){return this.$val.YearDay()},$.prototype.String=function(){var e,t,r,n,o,a,s,c;if(n=this,r=I.zero(),c=32,s=new Re(n.$high,n.$low),(o=n.$high<0||0===n.$high&&n.$low<0)&&(s=new Re(-s.$high,-s.$low)),s.$high<0||0===s.$high&&s.$low<1e9){if(a=0,(c=c-1>>0)<0||c>=r.length?i("index out of range"):r[c]=115,c=c-1>>0,0===s.$high&&0===s.$low)return"0s";s.$high<0||0===s.$high&&s.$low<1e3?(a=0,c<0||c>=r.length?i("index out of range"):r[c]=110):s.$high<0||0===s.$high&&s.$low<1e6?(a=3,c=c-1>>0,w(f(new C(r),c),"µ")):(a=6,c<0||c>=r.length?i("index out of range"):r[c]=109),c=(e=Ge(f(new C(r),0,c),s,a))[0],s=e[1],c=Xe(f(new C(r),0,c),s)}else(c=c-1>>0)<0||c>=r.length?i("index out of range"):r[c]=115,c=(t=Ge(f(new C(r),0,c),s,9))[0],s=t[1],c=Xe(f(new C(r),0,c),z(s,new Re(0,60),!0)),((s=z(s,new Re(0,60),!1)).$high>0||0===s.$high&&s.$low>0)&&((c=c-1>>0)<0||c>=r.length?i("index out of range"):r[c]=109,c=Xe(f(new C(r),0,c),z(s,new Re(0,60),!0)),((s=z(s,new Re(0,60),!1)).$high>0||0===s.$high&&s.$low>0)&&((c=c-1>>0)<0||c>=r.length?i("index out of range"):r[c]=104,c=Xe(f(new C(r),0,c),s)));return o&&((c=c-1>>0)<0||c>=r.length?i("index out of range"):r[c]=45),v(f(new C(r),c))},st($).prototype.String=function(){return this.$get().String()},Ge=function(e,t,r){var n,o,a,s;for(new Re(0,0),s=e.$length,a=!1,o=0;1&&o<r;)n=z(t,new Re(0,10),!0),(a=a||!(0===n.$high&&0===n.$low))&&((s=s-1>>0)<0||s>=e.$length?i("index out of range"):e.$array[e.$offset+s]=(n.$low<<24>>>24)+48<<24>>>24),t=z(t,new Re(0,10),!1),o=o+1>>0;return a&&((s=s-1>>0)<0||s>=e.$length?i("index out of range"):e.$array[e.$offset+s]=46),[s,t]},Xe=function(e,t){var r;if(r=e.$length,0===t.$high&&0===t.$low)(r=r-1>>0)<0||r>=e.$length?i("index out of range"):e.$array[e.$offset+r]=48;else for(;1&&(t.$high>0||0===t.$high&&t.$low>0);)(r=r-1>>0)<0||r>=e.$length?i("index out of range"):e.$array[e.$offset+r]=(z(t,new Re(0,10),!0).$low<<24>>>24)+48<<24>>>24,t=z(t,new Re(0,10),!1);return r},$.prototype.Nanoseconds=function(){return new De(this.$high,this.$low)},st($).prototype.Nanoseconds=function(){return this.$get().Nanoseconds()},$.prototype.Seconds=function(){var e,t;return t=z(this,new $(0,1e9),!1),e=z(this,new $(0,1e9),!0),N(t)+N(e)/1e9},st($).prototype.Seconds=function(){return this.$get().Seconds()},$.prototype.Minutes=function(){var e,t;return e=z(this,new $(13,4165425152),!1),t=z(this,new $(13,4165425152),!0),N(e)+N(t)/6e10},st($).prototype.Minutes=function(){return this.$get().Minutes()},$.prototype.Hours=function(){var e,t;return e=z(this,new $(838,817405952),!1),t=z(this,new $(838,817405952),!0),N(e)+N(t)/36e11},st($).prototype.Hours=function(){return this.$get().Hours()},$.prototype.Truncate=function(e){var t,r;return t=this,e.$high<0||0===e.$high&&e.$low<=0?t:(r=z(t,e,!0),new $(t.$high-r.$high,t.$low-r.$low))},st($).prototype.Truncate=function(e){return this.$get().Truncate(e)},Je=function(e,t){var r,n,i,o;return n=new Re(e.$high,e.$low),i=new Re(e.$high,e.$low),r=new Re(n.$high+i.$high,n.$low+i.$low),o=new Re(t.$high,t.$low),r.$high<o.$high||r.$high===o.$high&&r.$low<o.$low},$.prototype.Round=function(e){var t,r,n,i,o,a;return t=this,e.$high<0||0===e.$high&&e.$low<=0?t:(i=z(t,e,!0),t.$high<0||0===t.$high&&t.$low<0?(i=new $(-i.$high,-i.$low),Je(i,e)?new $(t.$high+i.$high,t.$low+i.$low):(o=new $(t.$high-e.$high,t.$low-e.$low),(r=new $(o.$high+i.$high,o.$low+i.$low)).$high<t.$high||r.$high===t.$high&&r.$low<t.$low?r:new $(-2147483648,0))):Je(i,e)?new $(t.$high-i.$high,t.$low-i.$low):(a=new $(t.$high+e.$high,t.$low+e.$low),(n=new $(a.$high-i.$high,a.$low-i.$low)).$high>t.$high||n.$high===t.$high&&n.$low>t.$low?n:new $(2147483647,4294967295)))},st($).prototype.Round=function(e){return this.$get().Round(e)},u.ptr.prototype.Add=function(e){var t,r,n,i,o,a,s,c,l,u,p,d,f,h,m,g,b;return n=this,o=z(e,new $(0,1e9),!1),t=new De(o.$high,o.$low),(r=n.nsec()+((u=z(e,new $(0,1e9),!0)).$low+4294967296*(u.$high>>31)>>0)>>0)>=1e9?(p=new De(0,1),t=new De(t.$high+p.$high,t.$low+p.$low),r=r-1e9>>0):r<0&&(d=new De(0,1),t=new De(t.$high-d.$high,t.$low-d.$low),r=r+1e9>>0),n.wall=(h=n.wall,f=new Re(~0&h.$high,(~1073741823&h.$low)>>>0),m=new Re(0,r),new Re(f.$high|m.$high,(f.$low|m.$low)>>>0)),n.addSec(t),b=n.wall,(0!==(g=new Re(2147483648&b.$high,(0&b.$low)>>>0)).$high||0!==g.$low)&&(a=n.ext,s=new De(e.$high,e.$low),i=new De(a.$high+s.$high,a.$low+s.$low),(e.$high<0||0===e.$high&&e.$low<0)&&(c=n.ext,i.$high>c.$high||i.$high===c.$high&&i.$low>c.$low)||(e.$high>0||0===e.$high&&e.$low>0)&&(l=n.ext,i.$high<l.$high||i.$high===l.$high&&i.$low<l.$low)?n.stripMono():n.ext=i),n},u.prototype.Add=function(e){return this.$val.Add(e)},u.ptr.prototype.Sub=function(e){var t,r,n,i,o,a,s,c,l,p,d,f,h,m,g;return l=(n=this).wall,p=e.wall,c=new Re(l.$high&p.$high,(l.$low&p.$low)>>>0),0!==(a=new Re(2147483648&c.$high,(0&c.$low)>>>0)).$high||0!==a.$low?(i=n.ext,o=e.ext,d=new De(i.$high-o.$high,i.$low-o.$low),((t=new $(d.$high,d.$low)).$high<0||0===t.$high&&t.$low<0)&&(i.$high>o.$high||i.$high===o.$high&&i.$low>o.$low)?new $(2147483647,4294967295):(t.$high>0||0===t.$high&&t.$low>0)&&(i.$high<o.$high||i.$high===o.$high&&i.$low<o.$low)?new $(-2147483648,0):t):(f=W((m=n.sec(),g=e.sec(),h=new De(m.$high-g.$high,m.$low-g.$low),new $(h.$high,h.$low)),new $(0,1e9)),s=new $(0,n.nsec()-e.nsec()>>0),r=new $(f.$high+s.$high,f.$low+s.$low),E(E(e,u).Add(r),u).Equal(E(n,u))?r:E(n,u).Before(E(e,u))?new $(-2147483648,0):new $(2147483647,4294967295))},u.prototype.Sub=function(e){return this.$val.Sub(e)},u.ptr.prototype.AddDate=function(e,t,r){var n,i,o,a,s,c,l,p,d,f,h,$,m,g;m=0;var b,v=!1;void 0!==this&&void 0!==this.$blk&&(v=!0,n=(b=this)._r,i=b._r$1,o=b._r$2,a=b._tuple,s=b._tuple$1,c=b.day,r=b.days$1,l=b.hour,p=b.min,d=b.month,t=b.months$1,f=b.sec,h=b.t,$=b.year,e=b.years,m=b.$s,g=b.$r);e:for(;1;){switch(m){case 0:n=E(h=this,u).Date(),m=1;case 1:if(v&&(v=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;$=(a=n)[0],d=a[1],c=a[2],i=E(h,u).Clock(),m=2;case 2:if(v&&(v=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;l=(s=i)[0],p=s[1],f=s[2],o=ot($+e>>0,d+(t>>0)>>0,c+r>>0,l,p,f,h.nsec()>>0,E(h,u).Location()),m=3;case 3:if(v&&(v=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return m=-1,o}return}return void 0===b&&(b={$blk:u.ptr.prototype.AddDate}),b._r=n,b._r$1=i,b._r$2=o,b._tuple=a,b._tuple$1=s,b.day=c,b.days$1=r,b.hour=l,b.min=p,b.month=d,b.months$1=t,b.sec=f,b.t=h,b.year=$,b.years=e,b.$s=m,b.$r=g,b},u.prototype.AddDate=function(e,t,r){return this.$val.AddDate(e,t,r)},u.ptr.prototype.date=function(e){var t,r,n,i,o,a,s,c,l,p;l=0;var d,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,t=(d=this)._r,r=d._r$1,n=d._tuple,i=d.day,e=d.full,o=d.month,a=d.t,s=d.yday,c=d.year,l=d.$s,p=d.$r);e:for(;1;){switch(l){case 0:c=0,o=0,i=0,s=0,t=E(a=this,u).abs(),l=1;case 1:if(f&&(f=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;r=Qe(t,e),l=2;case 2:if(f&&(f=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return l=-1,[c=(n=r)[0],o=n[1],i=n[2],s=n[3]]}return}return void 0===d&&(d={$blk:u.ptr.prototype.date}),d._r=t,d._r$1=r,d._tuple=n,d.day=i,d.full=e,d.month=o,d.t=a,d.yday=s,d.year=c,d.$s=l,d.$r=p,d},u.prototype.date=function(e){return this.$val.date(e)},Qe=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x;if(c=0,a=0,o=z(e,new Re(0,86400),!1),l=z(o,new Re(0,146097),!1),w=W(new Re(0,400),l),u=W(new Re(0,146097),l),o=new Re(o.$high-u.$high,o.$low-u.$low),l=z(o,new Re(0,36524),!1),h=M(l,2),l=new Re(l.$high-h.$high,l.$low-h.$low),$=W(new Re(0,100),l),w=new Re(w.$high+$.$high,w.$low+$.$low),m=W(new Re(0,36524),l),o=new Re(o.$high-m.$high,o.$low-m.$low),l=z(o,new Re(0,1461),!1),g=W(new Re(0,4),l),w=new Re(w.$high+g.$high,w.$low+g.$low),b=W(new Re(0,1461),l),o=new Re(o.$high-b.$high,o.$low-b.$low),l=z(o,new Re(0,365),!1),v=M(l,2),y=l=new Re(l.$high-v.$high,l.$low-v.$low),w=new Re(w.$high+y.$high,w.$low+y.$low),k=W(new Re(0,365),l),o=new Re(o.$high-k.$high,o.$low-k.$low),d=new De(w.$high,w.$low),x=(p=new De(d.$high+-69,d.$low+4075721025)).$low+4294967296*(p.$high>>31)>>0,_=o.$low>>0,!t)return[x,c,a,_];if(a=_,nt(x))if(a>59)a=a-1>>0;else if(59===a)return[x,c=2,a=29,_];return n=0,a>=(s=((f=(c=((r=a/31)==r&&r!==1/0&&r!==-1/0?r>>0:i("integer divide by zero"))>>0)+1>>0)<0||f>=ie.length?void i("index out of range"):ie[f])>>0)?(c=c+1>>0,n=s):n=(c<0||c>=ie.length?void i("index out of range"):ie[c])>>0,[x,c=c+1>>0,a=(a-n>>0)+1>>0,_]},et=function(e,t){var r;return 2===e&&nt(t)?29:(e<0||e>=ie.length?void i("index out of range"):ie[e])-((r=e-1>>0)<0||r>=ie.length?void i("index out of range"):ie[r])>>0>>0},tt=function(e,t){return new u.ptr(new Re(0,t),new De(e.$high+14,e.$low+2006054656),lt.Local)},u.ptr.prototype.UTC=function(){return this.setLoc(oe),this},u.prototype.UTC=function(){return this.$val.UTC()},u.ptr.prototype.Local=function(){return this.setLoc(lt.Local),this},u.prototype.Local=function(){return this.$val.Local()},u.ptr.prototype.In=function(e){return e===A.nil&&vt(new Te("time: missing Location in call to Time.In")),this.setLoc(e),this},u.prototype.In=function(e){return this.$val.In(e)},u.ptr.prototype.Location=function(){var e;return(e=this.loc)===A.nil&&(e=lt.UTC),e},u.prototype.Location=function(){return this.$val.Location()},u.ptr.prototype.Zone=function(){var e,t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,e=(s=this)._r,t=s._tuple,r=s.name,n=s.offset,i=s.t,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:r="",n=0,e=(i=this).loc.lookup(i.unixSec()),o=1;case 1:if(c&&(c=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return o=-1,[r=(t=e)[0],n=t[1]]}return}return void 0===s&&(s={$blk:u.ptr.prototype.Zone}),s._r=e,s._tuple=t,s.name=r,s.offset=n,s.t=i,s.$s=o,s.$r=a,s},u.prototype.Zone=function(){return this.$val.Zone()},u.ptr.prototype.Unix=function(){return this.unixSec()},u.prototype.Unix=function(){return this.$val.Unix()},u.ptr.prototype.UnixNano=function(){var e,t;return e=W(this.unixSec(),new De(0,1e9)),t=new De(0,this.nsec()),new De(e.$high+t.$high,e.$low+t.$low)},u.prototype.UnixNano=function(){return this.$val.UnixNano()},u.ptr.prototype.MarshalBinary=function(){var e,t,n,o,a,s,c,l,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,e=($=this)._q,t=$._r,n=$._r$1,o=$._tuple,a=$.enc,s=$.nsec,c=$.offset,l=$.offsetMin,p=$.sec,d=$.t,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:if(l=0,E(d=this,u).Location()===lt.UTC){f=1;continue}f=2;continue;case 1:l=-1,f=3;continue;case 2:t=E(d,u).Zone(),f=4;case 4:if(m&&(m=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(0!==((n=(c=(o=t)[1])%60)==n?n:i("integer divide by zero")))return f=-1,[C.nil,r.New("Time.MarshalBinary: zone offset has fractional minute")];if((c=(e=c/60)==e&&e!==1/0&&e!==-1/0?e>>0:i("integer divide by zero"))<-32768||-1===c||c>32767)return f=-1,[C.nil,r.New("Time.MarshalBinary: unexpected zone offset")];l=c<<16>>16;case 3:return p=d.sec(),s=d.nsec(),f=-1,[a=new C([1,L(p,56).$low<<24>>>24,L(p,48).$low<<24>>>24,L(p,40).$low<<24>>>24,L(p,32).$low<<24>>>24,L(p,24).$low<<24>>>24,L(p,16).$low<<24>>>24,L(p,8).$low<<24>>>24,p.$low<<24>>>24,s>>24>>0<<24>>>24,s>>16>>0<<24>>>24,s>>8>>0<<24>>>24,s<<24>>>24,l>>8<<16>>16<<24>>>24,l<<24>>>24]),Ze]}return}return void 0===$&&($={$blk:u.ptr.prototype.MarshalBinary}),$._q=e,$._r=t,$._r$1=n,$._tuple=o,$.enc=a,$.nsec=s,$.offset=c,$.offsetMin=l,$.sec=p,$.t=d,$.$s=f,$.$r=h,$},u.prototype.MarshalBinary=function(){return this.$val.MarshalBinary()},u.ptr.prototype.UnmarshalBinary=function(e){var t,n,o,a,s,c,l,p,d,h,$,m,g,b,v,y,k,w,_,x,E,S,D,P;D=0;var C,O=!1;void 0!==this&&void 0!==this.$blk&&(O=!0,t=(C=this)._r,n=C._tuple,o=C.buf,e=C.data,a=C.localoff,s=C.nsec,c=C.offset,l=C.sec,p=C.t,d=C.x$1,h=C.x$10,$=C.x$11,m=C.x$12,g=C.x$13,b=C.x$14,v=C.x$2,y=C.x$3,k=C.x$4,w=C.x$5,_=C.x$6,x=C.x$7,E=C.x$8,S=C.x$9,D=C.$s,P=C.$r);e:for(;1;){switch(D){case 0:if(p=this,0===(o=e).$length)return D=-1,r.New("Time.UnmarshalBinary: no data");if(1!==(0>=o.$length?void i("index out of range"):o.$array[o.$offset+0]))return D=-1,r.New("Time.UnmarshalBinary: unsupported version");if(15!==o.$length)return D=-1,r.New("Time.UnmarshalBinary: invalid length");if(o=f(o,1),x=new De(0,7>=o.$length?void i("index out of range"):o.$array[o.$offset+7]),E=T(new De(0,6>=o.$length?void i("index out of range"):o.$array[o.$offset+6]),8),_=new De(x.$high|E.$high,(x.$low|E.$low)>>>0),S=T(new De(0,5>=o.$length?void i("index out of range"):o.$array[o.$offset+5]),16),w=new De(_.$high|S.$high,(_.$low|S.$low)>>>0),h=T(new De(0,4>=o.$length?void i("index out of range"):o.$array[o.$offset+4]),24),k=new De(w.$high|h.$high,(w.$low|h.$low)>>>0),$=T(new De(0,3>=o.$length?void i("index out of range"):o.$array[o.$offset+3]),32),y=new De(k.$high|$.$high,(k.$low|$.$low)>>>0),m=T(new De(0,2>=o.$length?void i("index out of range"):o.$array[o.$offset+2]),40),v=new De(y.$high|m.$high,(y.$low|m.$low)>>>0),g=T(new De(0,1>=o.$length?void i("index out of range"):o.$array[o.$offset+1]),48),d=new De(v.$high|g.$high,(v.$low|g.$low)>>>0),b=T(new De(0,0>=o.$length?void i("index out of range"):o.$array[o.$offset+0]),56),l=new De(d.$high|b.$high,(d.$low|b.$low)>>>0),s=(3>=(o=f(o,8)).$length?void i("index out of range"):o.$array[o.$offset+3])>>0|(2>=o.$length?void i("index out of range"):o.$array[o.$offset+2])>>0<<8>>0|(1>=o.$length?void i("index out of range"):o.$array[o.$offset+1])>>0<<16>>0|(0>=o.$length?void i("index out of range"):o.$array[o.$offset+0])>>0<<24>>0,o=f(o,4),c=j(((1>=o.$length?void i("index out of range"):o.$array[o.$offset+1])<<16>>16|(0>=o.$length?void i("index out of range"):o.$array[o.$offset+0])<<16>>16<<8<<16>>16)>>0,60),u.copy(p,new u.ptr(new Re(0,0),new De(0,0),A.nil)),p.wall=new Re(0,s),p.ext=l,-60===c){D=1;continue}D=2;continue;case 1:p.setLoc(oe),D=3;continue;case 2:t=lt.Local.lookup(p.unixSec()),D=4;case 4:if(O&&(O=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;c===(a=(n=t)[1])?p.setLoc(lt.Local):p.setLoc(ct("",c));case 3:return D=-1,Ze}return}return void 0===C&&(C={$blk:u.ptr.prototype.UnmarshalBinary}),C._r=t,C._tuple=n,C.buf=o,C.data=e,C.localoff=a,C.nsec=s,C.offset=c,C.sec=l,C.t=p,C.x$1=d,C.x$10=h,C.x$11=$,C.x$12=m,C.x$13=g,C.x$14=b,C.x$2=v,C.x$3=y,C.x$4=k,C.x$5=w,C.x$6=_,C.x$7=x,C.x$8=E,C.x$9=S,C.$s=D,C.$r=P,C},u.prototype.UnmarshalBinary=function(e){return this.$val.UnmarshalBinary(e)},u.ptr.prototype.GobEncode=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.t,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=E(t=this,u).MarshalBinary(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,e}return}return void 0===i&&(i={$blk:u.ptr.prototype.GobEncode}),i._r=e,i.t=t,i.$s=r,i.$r=n,i},u.prototype.GobEncode=function(){return this.$val.GobEncode()},u.ptr.prototype.GobDecode=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,e=o.data,r=o.t,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:t=(r=this).UnmarshalBinary(e),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:u.ptr.prototype.GobDecode}),o._r=t,o.data=e,o.t=r,o.$s=n,o.$r=i,o},u.prototype.GobDecode=function(e){return this.$val.GobDecode(e)},u.ptr.prototype.MarshalJSON=function(){var e,t,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,e=(c=this)._r,t=c._r$1,n=c.b,i=c.t,o=c.y,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:e=E(i=this,u).Year(),a=1;case 1:if(l&&(l=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if((o=e)<0||o>=1e4)return a=-1,[C.nil,r.New("Time.MarshalJSON: year outside of range [0,9999]")];n=pt(C,0,37),n=D(n,34),t=E(i,u).AppendFormat(n,"2006-01-02T15:04:05.999999999Z07:00"),a=2;case 2:if(l&&(l=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return a=-1,[n=D(n=t,34),Ze]}return}return void 0===c&&(c={$blk:u.ptr.prototype.MarshalJSON}),c._r=e,c._r$1=t,c.b=n,c.t=i,c.y=o,c.$s=a,c.$r=s,c},u.prototype.MarshalJSON=function(){return this.$val.MarshalJSON()},u.ptr.prototype.UnmarshalJSON=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s._tuple,e=s.data,n=s.err,i=s.t,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(i=this,"null"===v(e))return o=-1,Ze;n=Ze,t=Ae('"2006-01-02T15:04:05Z07:00"',v(e)),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return r=t,u.copy(i,r[0]),o=-1,r[1]}return}return void 0===s&&(s={$blk:u.ptr.prototype.UnmarshalJSON}),s._r=t,s._tuple=r,s.data=e,s.err=n,s.t=i,s.$s=o,s.$r=a,s},u.prototype.UnmarshalJSON=function(e){return this.$val.UnmarshalJSON(e)},u.ptr.prototype.MarshalText=function(){var e,t,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,e=(c=this)._r,t=c._r$1,n=c.b,i=c.t,o=c.y,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:e=E(i=this,u).Year(),a=1;case 1:if(l&&(l=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if((o=e)<0||o>=1e4)return a=-1,[C.nil,r.New("Time.MarshalText: year outside of range [0,9999]")];n=pt(C,0,35),t=E(i,u).AppendFormat(n,"2006-01-02T15:04:05.999999999Z07:00"),a=2;case 2:if(l&&(l=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return a=-1,[t,Ze]}return}return void 0===c&&(c={$blk:u.ptr.prototype.MarshalText}),c._r=e,c._r$1=t,c.b=n,c.t=i,c.y=o,c.$s=a,c.$r=s,c},u.prototype.MarshalText=function(){return this.$val.MarshalText()},u.ptr.prototype.UnmarshalText=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s._tuple,e=s.data,n=s.err,i=s.t,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:i=this,n=Ze,t=Ae("2006-01-02T15:04:05Z07:00",v(e)),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return r=t,u.copy(i,r[0]),o=-1,r[1]}return}return void 0===s&&(s={$blk:u.ptr.prototype.UnmarshalText}),s._r=t,s._tuple=r,s.data=e,s.err=n,s.t=i,s.$s=o,s.$r=a,s},u.prototype.UnmarshalText=function(e){return this.$val.UnmarshalText(e)},rt=function(e,t){var r,n,i,o,a;return(t.$high<0||0===t.$high&&t.$low<0||t.$high>0||0===t.$high&&t.$low>=1e9)&&(n=r=z(t,new De(0,1e9),!1),e=new De(e.$high+n.$high,e.$low+n.$low),i=W(r,new De(0,1e9)),((t=new De(t.$high-i.$high,t.$low-i.$low)).$high<0||0===t.$high&&t.$low<0)&&(o=new De(0,1e9),t=new De(t.$high+o.$high,t.$low+o.$low),a=new De(0,1),e=new De(e.$high-a.$high,e.$low-a.$low))),tt(e,t.$low+4294967296*(t.$high>>31)>>0)},lt.Unix=rt,nt=function(e){var t,r,n;return!(0!==(t=e%4,t==t?t:i("integer divide by zero"))||0===(r=e%100,r==r?r:i("integer divide by zero"))&&0!==(n=e%400,n==n?n:i("integer divide by zero")))},it=function(e,t,r){var n,o,a,s;return t<0&&(e=e-(a=((n=(-t-1>>0)/r)==n&&n!==1/0&&n!==-1/0?n>>0:i("integer divide by zero"))+1>>0)>>0,t=t+j(a,r)>>0),t>=r&&(e=e+(s=(o=t/r)==o&&o!==1/0&&o!==-1/0?o>>0:i("integer divide by zero"))>>0,t=t-j(s,r)>>0),[e,t]},ot=function(e,t,r,n,o,a,s,c){var l,p,d,f,h,$,m,g,b,v,y,k,w,_,x,S,D,P,C,O,F,R,B,I,N,T,L,M,U,V,q,H,G,K,X,J,Z,Y,Q,ee;Q=0;var te,re=!1;void 0!==this&&void 0!==this.$blk&&(re=!0,l=(te=this)._r,p=te._r$1,d=te._r$2,f=te._tuple,h=te._tuple$1,$=te._tuple$2,m=te._tuple$3,g=te._tuple$4,b=te._tuple$5,v=te._tuple$6,y=te._tuple$7,k=te.abs,w=te.d,r=te.day,_=te.end,n=te.hour,c=te.loc,x=te.m,o=te.min,t=te.month,S=te.n,s=te.nsec,D=te.offset,a=te.sec,P=te.start,C=te.t,O=te.unix,F=te.utc,R=te.x$1,B=te.x$10,I=te.x$11,N=te.x$12,T=te.x$13,L=te.x$14,M=te.x$15,U=te.x$16,V=te.x$2,q=te.x$3,H=te.x$4,G=te.x$5,K=te.x$6,X=te.x$7,J=te.x$8,Z=te.x$9,Y=te.y,e=te.year,Q=te.$s,ee=te.$r);e:for(;1;){switch(Q){case 0:c===A.nil&&vt(new Te("time: missing Location in call to Date")),e=(f=it(e,x=(t>>0)-1>>0,12))[0],t=((x=f[1])>>0)+1>>0,a=(h=it(a,s,1e9))[0],s=h[1],o=($=it(o,a,60))[0],a=$[1],n=(m=it(n,o,60))[0],o=m[1],r=(g=it(r,n,24))[0],n=g[1],V=new De(0,e),R=new De(V.$high- -69,V.$low-4075721025),Y=new Re(R.$high,R.$low),S=z(Y,new Re(0,400),!1),q=W(new Re(0,400),S),Y=new Re(Y.$high-q.$high,Y.$low-q.$low),w=W(new Re(0,146097),S),S=z(Y,new Re(0,100),!1),H=W(new Re(0,100),S),Y=new Re(Y.$high-H.$high,Y.$low-H.$low),G=W(new Re(0,36524),S),w=new Re(w.$high+G.$high,w.$low+G.$low),S=z(Y,new Re(0,4),!1),K=W(new Re(0,4),S),Y=new Re(Y.$high-K.$high,Y.$low-K.$low),X=W(new Re(0,1461),S),w=new Re(w.$high+X.$high,w.$low+X.$low),S=Y,J=W(new Re(0,365),S),w=new Re(w.$high+J.$high,w.$low+J.$low),Z=new Re(0,(B=t-1>>0)<0||B>=ie.length?void i("index out of range"):ie[B]),w=new Re(w.$high+Z.$high,w.$low+Z.$low),nt(e)&&t>=3&&(I=new Re(0,1),w=new Re(w.$high+I.$high,w.$low+I.$low)),N=new Re(0,r-1>>0),w=new Re(w.$high+N.$high,w.$low+N.$low),k=W(w,new Re(0,86400)),T=new Re(0,(j(n,3600)+j(o,60)>>0)+a>>0),k=new Re(k.$high+T.$high,k.$low+T.$low),L=new De(k.$high,k.$low),O=new De(L.$high+-2147483647,L.$low+3844486912),l=c.lookup(O),Q=1;case 1:if(re&&(re=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;if(D=(b=l)[1],P=b[2],_=b[3],0!==D){Q=2;continue}Q=3;continue;case 2:if(M=new De(0,D),(F=new De(O.$high-M.$high,O.$low-M.$low)).$high<P.$high||F.$high===P.$high&&F.$low<P.$low){Q=5;continue}if(F.$high>_.$high||F.$high===_.$high&&F.$low>=_.$low){Q=6;continue}Q=7;continue;case 5:p=c.lookup(new De(P.$high-0,P.$low-1)),Q=8;case 8:if(re&&(re=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;D=(v=p)[1],Q=7;continue;case 6:d=c.lookup(_),Q=9;case 9:if(re&&(re=!1,d=d.$blk()),d&&void 0!==d.$blk)break e;D=(y=d)[1];case 7:case 4:U=new De(0,D),O=new De(O.$high-U.$high,O.$low-U.$low);case 3:return(C=E(tt(O,s>>0),u)).setLoc(c),Q=-1,C}return}return void 0===te&&(te={$blk:ot}),te._r=l,te._r$1=p,te._r$2=d,te._tuple=f,te._tuple$1=h,te._tuple$2=$,te._tuple$3=m,te._tuple$4=g,te._tuple$5=b,te._tuple$6=v,te._tuple$7=y,te.abs=k,te.d=w,te.day=r,te.end=_,te.hour=n,te.loc=c,te.m=x,te.min=o,te.month=t,te.n=S,te.nsec=s,te.offset=D,te.sec=a,te.start=P,te.t=C,te.unix=O,te.utc=F,te.x$1=R,te.x$10=B,te.x$11=I,te.x$12=N,te.x$13=T,te.x$14=L,te.x$15=M,te.x$16=U,te.x$2=V,te.x$3=q,te.x$4=H,te.x$5=G,te.x$6=K,te.x$7=X,te.x$8=J,te.x$9=Z,te.y=Y,te.year=e,te.$s=Q,te.$r=ee,te},lt.Date=ot,u.ptr.prototype.Truncate=function(e){var t,r;return(r=this).stripMono(),e.$high<0||0===e.$high&&e.$low<=0?r:(t=at(E(r,u),e)[1],E(r,u).Add(new $(-t.$high,-t.$low)))},u.prototype.Truncate=function(e){return this.$val.Truncate(e)},u.ptr.prototype.Round=function(e){var t,r;return(r=this).stripMono(),e.$high<0||0===e.$high&&e.$low<=0?r:(t=at(E(r,u),e)[1],Je(t,e)?E(r,u).Add(new $(-t.$high,-t.$low)):E(r,u).Add(new $(e.$high-t.$high,e.$low-t.$low)))},u.prototype.Round=function(e){return this.$val.Round(e)},at=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,w,_,x,E,S,D,P,C,O,F,R,B,A,I;if(p=0,d=new $(0,0),l=!1,u=e.nsec(),((f=e.sec()).$high<0||0===f.$high&&f.$low<0)&&(l=!0,f=new De(-f.$high,-f.$low),(u=-u)<0&&(u=u+1e9>>0,y=new De(0,1),f=new De(f.$high-y.$high,f.$low-y.$low))),(t.$high<0||0===t.$high&&t.$low<1e9)&&0===(P=z(new $(0,1e9),new $(t.$high+t.$high,t.$low+t.$low),!0)).$high&&0===P.$low)p=1&((r=u/(t.$low+4294967296*(t.$high>>31)>>0))==r&&r!==1/0&&r!==-1/0?r>>0:i("integer divide by zero"))>>0,d=new $(0,(n=u%(t.$low+4294967296*(t.$high>>31)>>0))==n?n:i("integer divide by zero"));else if(0===(C=z(t,new $(0,1e9),!0)).$high&&0===C.$low)O=z(t,new $(0,1e9),!1),s=new De(O.$high,O.$low),p=1&(F=z(f,s,!1)).$low+4294967296*(F.$high>>31)>>0,R=W((B=z(f,s,!0),new $(B.$high,B.$low)),new $(0,1e9)),A=new $(0,u),d=new $(R.$high+A.$high,R.$low+A.$low);else{for(h=new Re(f.$high,f.$low),m=W(M(h,32),new Re(0,1e9)),v=M(m,32),g=T(m,32),m=W(new Re(0&h.$high,(4294967295&h.$low)>>>0),new Re(0,1e9)),b=g,((g=new Re(g.$high+m.$high,g.$low+m.$low)).$high<b.$high||g.$high===b.$high&&g.$low<b.$low)&&(I=new Re(0,1),v=new Re(v.$high+I.$high,v.$low+I.$low)),o=g,k=new Re(0,u),b=o,((g=new Re(g.$high+k.$high,g.$low+k.$low)).$high<b.$high||g.$high===b.$high&&g.$low<b.$low)&&(w=new Re(0,1),v=new Re(v.$high+w.$high,v.$low+w.$low)),c=new Re(t.$high,t.$low);1&&(0!==(_=M(c,63)).$high||1!==_.$low);)c=T(c,1);for(a=new Re(0,0);1&&(p=0,(v.$high>c.$high||v.$high===c.$high&&v.$low>c.$low||v.$high===c.$high&&v.$low===c.$low&&(g.$high>a.$high||g.$high===a.$high&&g.$low>=a.$low))&&(p=1,b=g,((g=new Re(g.$high-a.$high,g.$low-a.$low)).$high>b.$high||g.$high===b.$high&&g.$low>b.$low)&&(x=new Re(0,1),v=new Re(v.$high-x.$high,v.$low-x.$low)),E=c,v=new Re(v.$high-E.$high,v.$low-E.$low)),0!==c.$high||0!==c.$low||(S=new Re(t.$high,t.$low),a.$high!==S.$high||a.$low!==S.$low));)a=M(a,1),D=T(new Re(0&c.$high,(1&c.$low)>>>0),63),a=new Re(a.$high|D.$high,(a.$low|D.$low)>>>0),c=M(c,1);d=new $(g.$high,g.$low)}return!l||0===d.$high&&0===d.$low||(p=(1^p)>>0,d=new $(t.$high-d.$high,t.$low-d.$low)),[p,d]},m.ptr.prototype.get=function(){var e,t,r;t=0;var n,i=!1;void 0!==this&&void 0!==this.$blk&&(i=!0,e=(n=this).l,t=n.$s,r=n.$r);e:for(;1;){switch(t){case 0:if((e=this)===A.nil)return t=-1,oe;if(e===ae){t=1;continue}t=2;continue;case 1:r=se.Do(ue),t=3;case 3:if(i&&(i=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;case 2:return t=-1,e}return}return void 0===n&&(n={$blk:m.ptr.prototype.get}),n.l=e,n.$s=t,n.$r=r,n},m.prototype.get=function(){return this.$val.get()},m.ptr.prototype.String=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.l,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).get(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,e.name}return}return void 0===i&&(i={$blk:m.ptr.prototype.String}),i._r=e,i.l=t,i.$s=r,i.$r=n,i},m.prototype.String=function(){return this.$val.String()},ct=function(e,t){var r,n;return(r=new m.ptr(e,new y([new g.ptr(e,t,!1)]),new k([new b.ptr(new De(-2147483648,0),0,!1,!1)]),new De(-2147483648,0),new De(2147483647,4294967295),_.nil)).cacheZone=0>=(n=r.zone).$length?void i("index out of range"):n.$array[n.$offset+0],r},lt.FixedZone=ct,m.ptr.prototype.lookup=function(e){var t,r,n,o,a,s,c,l,u,p,d,f,h,$,g,b,v,y,k,w,x,E,S,D,P,C;P=0;var O,F=!1;void 0!==this&&void 0!==this.$blk&&(F=!0,t=(O=this)._q,r=O._r,n=O.end,o=O.hi,a=O.l,s=O.lim,c=O.lo,l=O.m,u=O.name,p=O.offset,e=O.sec,d=O.start,f=O.tx,h=O.x$1,$=O.x$2,g=O.x$3,b=O.x$4,v=O.x$5,y=O.x$6,k=O.x$7,w=O.x$8,x=O.x$9,E=O.zone$1,S=O.zone$2,D=O.zone$3,P=O.$s,C=O.$r);e:for(;1;){switch(P){case 0:u="",p=0,d=new De(0,0),n=new De(0,0),r=(a=this).get(),P=1;case 1:if(F&&(F=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(0===(a=r).zone.$length)return P=-1,[u="UTC",p=0,d=new De(-2147483648,0),n=new De(2147483647,4294967295)];if((E=a.cacheZone)!==_.nil&&((h=a.cacheStart).$high<e.$high||h.$high===e.$high&&h.$low<=e.$low)&&($=a.cacheEnd,e.$high<$.$high||e.$high===$.$high&&e.$low<$.$low))return P=-1,[u=E.name,p=E.offset,d=a.cacheStart,n=a.cacheEnd];if(0===a.tx.$length||(g=(b=a.tx,0>=b.$length?void i("index out of range"):b.$array[b.$offset+0]).when,e.$high<g.$high||e.$high===g.$high&&e.$low<g.$low))return v=a.zone,P=-1,[u=(S=(y=a.lookupFirstZone())<0||y>=v.$length?void i("index out of range"):v.$array[v.$offset+y]).name,p=S.offset,d=new De(-2147483648,0),n=a.tx.$length>0?(k=a.tx,0>=k.$length?void i("index out of range"):k.$array[k.$offset+0]).when:new De(2147483647,4294967295)];for(f=a.tx,n=new De(2147483647,4294967295),c=0,o=f.$length;1&&o-c>>0>1;)s=((l=c+((t=(o-c>>0)/2)==t&&t!==1/0&&t!==-1/0?t>>0:i("integer divide by zero"))>>0)<0||l>=f.$length?void i("index out of range"):f.$array[f.$offset+l]).when,e.$high<s.$high||e.$high===s.$high&&e.$low<s.$low?(n=s,o=l):c=l;return w=a.zone,P=-1,[u=(D=(x=(c<0||c>=f.$length?void i("index out of range"):f.$array[f.$offset+c]).index)<0||x>=w.$length?void i("index out of range"):w.$array[w.$offset+x]).name,p=D.offset,d=(c<0||c>=f.$length?void i("index out of range"):f.$array[f.$offset+c]).when,n]}return}return void 0===O&&(O={$blk:m.ptr.prototype.lookup}),O._q=t,O._r=r,O.end=n,O.hi=o,O.l=a,O.lim=s,O.lo=c,O.m=l,O.name=u,O.offset=p,O.sec=e,O.start=d,O.tx=f,O.x$1=h,O.x$2=$,O.x$3=g,O.x$4=b,O.x$5=v,O.x$6=y,O.x$7=k,O.x$8=w,O.x$9=x,O.zone$1=E,O.zone$2=S,O.zone$3=D,O.$s=P,O.$r=C,O},m.prototype.lookup=function(e){return this.$val.lookup(e)},m.ptr.prototype.lookupFirstZone=function(){var e,t,r,n,o,a,s,c,l,u,p;if(!(r=this).firstZoneUsed())return 0;if(r.tx.$length>0&&(n=r.zone,o=(a=r.tx,0>=a.$length?void i("index out of range"):a.$array[a.$offset+0]).index,o<0||o>=n.$length?void i("index out of range"):n.$array[n.$offset+o]).isDST)for(u=((s=r.tx,0>=s.$length?void i("index out of range"):s.$array[s.$offset+0]).index>>0)-1>>0;1&&u>=0;){if(!(c=r.zone,u<0||u>=c.$length?void i("index out of range"):c.$array[c.$offset+u]).isDST)return u;u=u-1>>0}for(t=r.zone,e=0;1&&e<t.$length;){if(p=e,!(l=r.zone,p<0||p>=l.$length?void i("index out of range"):l.$array[l.$offset+p]).isDST)return p;e++}return 0},m.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone()},m.ptr.prototype.firstZoneUsed=function(){var e,t;for(t=this.tx,e=0;1&&e<t.$length;){if(0===E(e<0||e>=t.$length?void i("index out of range"):t.$array[t.$offset+e],b).index)return!0;e++}return!1},m.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed()},m.ptr.prototype.lookupName=function(e,t){var r,n,o,a,s,c,l,u,p,d,f,h,$,g,b,v,y,k,w,_,x,E,S,D,P;D=0;var C,O=!1;void 0!==this&&void 0!==this.$blk&&(O=!0,r=(C=this)._i,n=C._i$1,o=C._r,a=C._r$1,s=C._ref,c=C._ref$1,l=C._tmp,u=C._tmp$1,p=C._tmp$2,d=C._tmp$3,f=C._tuple,h=C.i,$=C.i$1,g=C.l,b=C.nam,e=C.name,v=C.offset,y=C.offset$1,k=C.ok,t=C.unix,w=C.x$1,_=C.x$2,x=C.x$3,E=C.zone$1,S=C.zone$2,D=C.$s,P=C.$r);e:for(;1;){switch(D){case 0:v=0,k=!1,o=(g=this).get(),D=1;case 1:if(O&&(O=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;s=(g=o).zone,r=0;case 2:if(!(r<s.$length)){D=3;continue}if(h=r,w=g.zone,(E=h<0||h>=w.$length?void i("index out of range"):w.$array[w.$offset+h]).name===e){D=4;continue}D=5;continue;case 4:a=g.lookup((_=new De(0,E.offset),new De(t.$high-_.$high,t.$low-_.$low))),D=6;case 6:if(O&&(O=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;if(b=(f=a)[0],y=f[1],b===E.name)return D=-1,[v=l=y,k=u=!0];case 5:r++,D=2;continue;case 3:for(c=g.zone,n=0;1&&n<c.$length;){if($=n,x=g.zone,(S=$<0||$>=x.$length?void i("index out of range"):x.$array[x.$offset+$]).name===e)return D=-1,[v=p=S.offset,k=d=!0];n++}return D=-1,[v,k]}return}return void 0===C&&(C={$blk:m.ptr.prototype.lookupName}),C._i=r,C._i$1=n,C._r=o,C._r$1=a,C._ref=s,C._ref$1=c,C._tmp=l,C._tmp$1=u,C._tmp$2=p,C._tmp$3=d,C._tuple=f,C.i=h,C.i$1=$,C.l=g,C.nam=b,C.name=e,C.offset=v,C.offset$1=y,C.ok=k,C.unix=t,C.x$1=w,C.x$2=_,C.x$3=x,C.zone$1=E,C.zone$2=S,C.$s=D,C.$r=P,C},m.prototype.lookupName=function(e,t){return this.$val.lookupName(e,t)},U.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}],u.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"Format",name:"Format",pkg:"",typ:Ke([Te],[Te],!1)},{prop:"AppendFormat",name:"AppendFormat",pkg:"",typ:Ke([C,Te],[C],!1)},{prop:"After",name:"After",pkg:"",typ:Ke([u],[we],!1)},{prop:"Before",name:"Before",pkg:"",typ:Ke([u],[we],!1)},{prop:"Equal",name:"Equal",pkg:"",typ:Ke([u],[we],!1)},{prop:"IsZero",name:"IsZero",pkg:"",typ:Ke([],[we],!1)},{prop:"abs",name:"abs",pkg:"time",typ:Ke([],[Re],!1)},{prop:"locabs",name:"locabs",pkg:"time",typ:Ke([],[Te,_e,Re],!1)},{prop:"Date",name:"Date",pkg:"",typ:Ke([],[_e,p,_e],!1)},{prop:"Year",name:"Year",pkg:"",typ:Ke([],[_e],!1)},{prop:"Month",name:"Month",pkg:"",typ:Ke([],[p],!1)},{prop:"Day",name:"Day",pkg:"",typ:Ke([],[_e],!1)},{prop:"Weekday",name:"Weekday",pkg:"",typ:Ke([],[d],!1)},{prop:"ISOWeek",name:"ISOWeek",pkg:"",typ:Ke([],[_e,_e],!1)},{prop:"Clock",name:"Clock",pkg:"",typ:Ke([],[_e,_e,_e],!1)},{prop:"Hour",name:"Hour",pkg:"",typ:Ke([],[_e],!1)},{prop:"Minute",name:"Minute",pkg:"",typ:Ke([],[_e],!1)},{prop:"Second",name:"Second",pkg:"",typ:Ke([],[_e],!1)},{prop:"Nanosecond",name:"Nanosecond",pkg:"",typ:Ke([],[_e],!1)},{prop:"YearDay",name:"YearDay",pkg:"",typ:Ke([],[_e],!1)},{prop:"Add",name:"Add",pkg:"",typ:Ke([$],[u],!1)},{prop:"Sub",name:"Sub",pkg:"",typ:Ke([u],[$],!1)},{prop:"AddDate",name:"AddDate",pkg:"",typ:Ke([_e,_e,_e],[u],!1)},{prop:"date",name:"date",pkg:"time",typ:Ke([we],[_e,p,_e,_e],!1)},{prop:"UTC",name:"UTC",pkg:"",typ:Ke([],[u],!1)},{prop:"Local",name:"Local",pkg:"",typ:Ke([],[u],!1)},{prop:"In",name:"In",pkg:"",typ:Ke([A],[u],!1)},{prop:"Location",name:"Location",pkg:"",typ:Ke([],[A],!1)},{prop:"Zone",name:"Zone",pkg:"",typ:Ke([],[Te,_e],!1)},{prop:"Unix",name:"Unix",pkg:"",typ:Ke([],[De],!1)},{prop:"UnixNano",name:"UnixNano",pkg:"",typ:Ke([],[De],!1)},{prop:"MarshalBinary",name:"MarshalBinary",pkg:"",typ:Ke([],[C,Ye],!1)},{prop:"GobEncode",name:"GobEncode",pkg:"",typ:Ke([],[C,Ye],!1)},{prop:"MarshalJSON",name:"MarshalJSON",pkg:"",typ:Ke([],[C,Ye],!1)},{prop:"MarshalText",name:"MarshalText",pkg:"",typ:Ke([],[C,Ye],!1)},{prop:"Truncate",name:"Truncate",pkg:"",typ:Ke([$],[u],!1)},{prop:"Round",name:"Round",pkg:"",typ:Ke([$],[u],!1)}],q.methods=[{prop:"nsec",name:"nsec",pkg:"time",typ:Ke([],[Se],!1)},{prop:"sec",name:"sec",pkg:"time",typ:Ke([],[De],!1)},{prop:"unixSec",name:"unixSec",pkg:"time",typ:Ke([],[De],!1)},{prop:"addSec",name:"addSec",pkg:"time",typ:Ke([De],[],!1)},{prop:"setLoc",name:"setLoc",pkg:"time",typ:Ke([A],[],!1)},{prop:"stripMono",name:"stripMono",pkg:"time",typ:Ke([],[],!1)},{prop:"setMono",name:"setMono",pkg:"time",typ:Ke([De],[],!1)},{prop:"mono",name:"mono",pkg:"time",typ:Ke([],[De],!1)},{prop:"UnmarshalBinary",name:"UnmarshalBinary",pkg:"",typ:Ke([C],[Ye],!1)},{prop:"GobDecode",name:"GobDecode",pkg:"",typ:Ke([C],[Ye],!1)},{prop:"UnmarshalJSON",name:"UnmarshalJSON",pkg:"",typ:Ke([C],[Ye],!1)},{prop:"UnmarshalText",name:"UnmarshalText",pkg:"",typ:Ke([C],[Ye],!1)}],p.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)}],d.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)}],$.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"Nanoseconds",name:"Nanoseconds",pkg:"",typ:Ke([],[De],!1)},{prop:"Seconds",name:"Seconds",pkg:"",typ:Ke([],[Ie],!1)},{prop:"Minutes",name:"Minutes",pkg:"",typ:Ke([],[Ie],!1)},{prop:"Hours",name:"Hours",pkg:"",typ:Ke([],[Ie],!1)},{prop:"Truncate",name:"Truncate",pkg:"",typ:Ke([$],[$],!1)},{prop:"Round",name:"Round",pkg:"",typ:Ke([$],[$],!1)}],A.methods=[{prop:"get",name:"get",pkg:"time",typ:Ke([],[A],!1)},{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"lookup",name:"lookup",pkg:"time",typ:Ke([De],[Te,_e,De,De],!1)},{prop:"lookupFirstZone",name:"lookupFirstZone",pkg:"time",typ:Ke([],[_e],!1)},{prop:"firstZoneUsed",name:"firstZoneUsed",pkg:"time",typ:Ke([],[we],!1)},{prop:"lookupName",name:"lookupName",pkg:"time",typ:Ke([Te,De],[_e,we],!1)}],l.init("",[{prop:"Layout",name:"Layout",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Value",name:"Value",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"LayoutElem",name:"LayoutElem",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"ValueElem",name:"ValueElem",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Message",name:"Message",embedded:!1,exported:!0,typ:Te,tag:""}]),u.init("time",[{prop:"wall",name:"wall",embedded:!1,exported:!1,typ:Re,tag:""},{prop:"ext",name:"ext",embedded:!1,exported:!1,typ:De,tag:""},{prop:"loc",name:"loc",embedded:!1,exported:!1,typ:A,tag:""}]),m.init("time",[{prop:"name",name:"name",embedded:!1,exported:!1,typ:Te,tag:""},{prop:"zone",name:"zone",embedded:!1,exported:!1,typ:y,tag:""},{prop:"tx",name:"tx",embedded:!1,exported:!1,typ:k,tag:""},{prop:"cacheStart",name:"cacheStart",embedded:!1,exported:!1,typ:De,tag:""},{prop:"cacheEnd",name:"cacheEnd",embedded:!1,exported:!1,typ:De,tag:""},{prop:"cacheZone",name:"cacheZone",embedded:!1,exported:!1,typ:_,tag:""}]),g.init("time",[{prop:"name",name:"name",embedded:!1,exported:!1,typ:Te,tag:""},{prop:"offset",name:"offset",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"isDST",name:"isDST",embedded:!1,exported:!1,typ:we,tag:""}]),b.init("time",[{prop:"when",name:"when",embedded:!1,exported:!1,typ:De,tag:""},{prop:"index",name:"index",embedded:!1,exported:!1,typ:Ce,tag:""},{prop:"isstd",name:"isstd",embedded:!1,exported:!1,typ:we,tag:""},{prop:"isutc",name:"isutc",embedded:!1,exported:!1,typ:we,tag:""}]),e=function(){lt.$init=function(){};var t,i,o=!1,l=0;void 0!==this&&void 0!==this.$blk&&(o=!0,l=(t=this).$s,i=t.$r);e:for(;1;){switch(l){case 0:i=r.$init(),l=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=n.$init(),l=2;case 2:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=a.$init(),l=3;case 3:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=s.$init(),l=4;case 4:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=c.$init(),l=5;case 5:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;ae=new m.ptr("",y.nil,k.nil,new De(0,0),new De(0,0),_.nil),se=new a.Once.ptr(!1,!1),new x([s.GOROOT()+"/lib/time/zoneinfo.zip"]),H=We(V,[260,265,524,526,528,274]),X=new x(["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]),J=new x(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),Z=new x(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),Y=new x(["January","February","March","April","May","June","July","August","September","October","November","December"]),Q=r.New("time: invalid number"),ee=r.New("bad value for field"),te=r.New("time: bad [0-9]*"),re=We(de,["January","February","March","April","May","June","July","August","September","October","November","December"]),ne=We(de,["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]),ie=We(G,[0,31,59,90,120,151,181,212,243,273,304,334,365]),ce=pe(),new De(ce.$high-0,ce.$low-1),oe=new m.ptr("UTC",y.nil,k.nil,new De(0,0),new De(0,0),_.nil),lt.UTC=oe,lt.Local=ae,r.New("time: invalid location name"),r.New("malformed time zone information"),new x(["/usr/share/zoneinfo/","/usr/share/lib/zoneinfo/","/usr/lib/locale/TZ/",s.GOROOT()+"/lib/time/zoneinfo.zip"]),le()}return}return void 0===t&&(t={$blk:e}),t.$s=l,t.$r=i,t},lt.$init=e,lt}(),o["internal/poll"]=function(){var e,t,r,n,a,s,c,l,u,p,h,m,g,b,v,y,k,w,_,x,S,P,C,O,R,B,A,I,j,T,L,M,W,z,U,V,q,H,G,K,X,J,Z,Y,Q,ee,te={};return t=o["errors"],r=o["io"],n=o["runtime"],a=o["sync/atomic"],s=o["syscall"],c=o["time"],l=te.pollDesc=ye(0,fe,"poll.pollDesc",!0,"internal/poll",!1,(function(e){this.$val=this,0!==arguments.length?this.closing=e:this.closing=!1})),u=te.TimeoutError=ye(0,fe,"poll.TimeoutError",!0,"internal/poll",!0,(function(){this.$val=this,arguments.length})),p=te.fdMutex=ye(0,fe,"poll.fdMutex",!0,"internal/poll",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.state=new Re(0,0),this.rsema=0,void(this.wsema=0);this.state=e,this.rsema=t,this.wsema=r})),h=te.FD=ye(0,fe,"poll.FD",!0,"internal/poll",!0,(function(e,t,r,n,i,o,a,s,c){if(this.$val=this,0===arguments.length)return this.fdmu=new p.ptr(new Re(0,0),0,0),this.Sysfd=0,this.pd=new l.ptr(!1),this.iovecs=_.nil,this.csema=0,this.isBlocking=0,this.IsStream=!1,this.ZeroReadIsEOF=!1,void(this.isFile=!1);this.fdmu=e,this.Sysfd=t,this.pd=r,this.iovecs=n,this.csema=i,this.isBlocking=o,this.IsStream=a,this.ZeroReadIsEOF=s,this.isFile=c})),m=st(Fe),g=Ve(we,!1,!1),b=ut(g),v=st(Re),y=st(Se),k=Ue(Ce,4),w=ut(s.Iovec),_=st(w),x=st(Ce),S=st(h),P=st(l),C=st(u),O=st(p),R=ut(Ce),B=st(s.Stat_t),A=Ke([Be],[],!1),I=Ke([Be],[we],!1),j=st(s.Linger),T=st(s.IPMreqn),L=st(s.IPMreq),M=st(s.IPv6Mreq),W=ut(R),z=st(W),l.ptr.prototype.init=function(e){return Ze},l.prototype.init=function(e){return this.$val.init(e)},l.ptr.prototype.close=function(){},l.prototype.close=function(){return this.$val.close()},l.ptr.prototype.evict=function(){this.closing=!0},l.prototype.evict=function(){return this.$val.evict()},l.ptr.prototype.prepare=function(e,t){return this.closing?K(t):Ze},l.prototype.prepare=function(e,t){return this.$val.prepare(e,t)},l.ptr.prototype.prepareRead=function(e){return this.prepare(114,e)},l.prototype.prepareRead=function(e){return this.$val.prepareRead(e)},l.ptr.prototype.prepareWrite=function(e){return this.prepare(119,e)},l.prototype.prepareWrite=function(e){return this.$val.prepareWrite(e)},l.ptr.prototype.wait=function(e,t){return this.closing?K(t):te.ErrTimeout},l.prototype.wait=function(e,t){return this.$val.wait(e,t)},l.ptr.prototype.waitRead=function(e){return this.wait(114,e)},l.prototype.waitRead=function(e){return this.$val.waitRead(e)},l.ptr.prototype.waitWrite=function(e){return this.wait(119,e)},l.prototype.waitWrite=function(e){return this.$val.waitWrite(e)},l.ptr.prototype.pollable=function(){return!0},l.prototype.pollable=function(){return this.$val.pollable()},h.ptr.prototype.SetDeadline=function(e){return Ze},h.prototype.SetDeadline=function(e){return this.$val.SetDeadline(e)},h.ptr.prototype.SetReadDeadline=function(e){return Ze},h.prototype.SetReadDeadline=function(e){return this.$val.SetReadDeadline(e)},h.ptr.prototype.SetWriteDeadline=function(e){return Ze},h.prototype.SetWriteDeadline=function(e){return this.$val.SetWriteDeadline(e)},H=function(e){var t,r,n,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._entry,r=c._key,n=c._r,o=c.ch,e=c.s,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:if(0===e.$get()){a=1;continue}a=2;continue;case 1:o=new qe(we,0),r=e,(U||i("assignment to entry in nil map"))[m.keyFor(r)]={k:r,v:D((t=U[m.keyFor(e)],void 0!==t?t.v:b.nil),o)},n=Rt(o),a=3;case 3:if(l&&(l=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;n[0];case 2:return e.$set(e.$get()-1>>>0),void(a=-1)}return}return void 0===c&&(c={$blk:H}),c._entry=t,c._key=r,c._r=n,c.ch=o,c.s=e,c.$s=a,c.$r=s,c},G=function(e){var t,r,n,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._entry,r=c._key,n=c.ch,e=c.s,o=c.w,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:if(e.$set(e.$get()+1>>>0),0===(o=void 0!==(t=U[m.keyFor(e)])?t.v:b.nil).$length)return void(a=-1);n=0>=o.$length?void i("index out of range"):o.$array[o.$offset+0],o=f(o,1),r=e,(U||i("assignment to entry in nil map"))[m.keyFor(r)]={k:r,v:o},0===o.$length&&delete U[m.keyFor(e)],s=Ft(n,!0),a=1;case 1:if(l&&(l=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;return void(a=-1)}return}return void 0===c&&(c={$blk:G}),c._entry=t,c._key=r,c.ch=n,c.s=e,c.w=o,c.$s=a,c.$r=s,c},K=function(e){return e?te.ErrFileClosing:te.ErrNetClosing},u.ptr.prototype.Error=function(){return"i/o timeout"},u.prototype.Error=function(){return this.$val.Error()},u.ptr.prototype.Timeout=function(){return!0},u.prototype.Timeout=function(){return this.$val.Timeout()},u.ptr.prototype.Temporary=function(){return!0},u.prototype.Temporary=function(){return this.$val.Temporary()},X=function(e,t){for(var r,n,o,a,s;1&&e.$get().$length>0;){if((r=new De(0,(n=e.$get(),0>=n.$length?void i("index out of range"):n.$array[n.$offset+0]).$length)).$high>t.$high||r.$high===t.$high&&r.$low>t.$low)return void(0>=(a=e.$get()).$length?i("index out of range"):a.$array[a.$offset+0]=f((o=e.$get(),0>=o.$length?void i("index out of range"):o.$array[o.$offset+0]),N(t)));s=r,t=new De(t.$high-s.$high,t.$low-s.$low),e.$set(f(e.$get(),1))}},h.ptr.prototype.Fsync=function(){var e,t,r,n,i,o;r=0,void 0!==this&&void 0!==this.$blk&&(e=(o=this).err,t=o.fd,r=o.$s,n=o.$deferred,i=o.$r);var a=null;try{for(;1;){switch(r){case 0:return(n=[]).index=_t.deferStack.length,_t.deferStack.push(n),e=(t=this).incref(),F(e,Ze)?(n.push([d(t,"decref"),[]]),r=-1,s.Fsync(t.Sysfd)):(r=-1,e)}return}}catch(e){return a=e,r=-1,Ze}finally{if(bt(n,a),_t.asleep)return void 0===o&&(o={$blk:h.ptr.prototype.Fsync}),o.err=e,o.fd=t,o.$s=r,o.$deferred=n,o.$r=i,o}},h.prototype.Fsync=function(){return this.$val.Fsync()},J=function(e,t,r){var n,i,o;return o=(n=s.Syscall(72,e>>>0,t>>>0,r>>>0))[0],0!==(i=n[2])?[o>>0,new s.Errno(i)]:[o>>0,Ze]},p.ptr.prototype.incref=function(){var e,t,r,n,i;for(e=this;1;){if(r=a.LoadUint64(e.$ptr_state||(e.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),e))),0!==(n=new Re(0&r.$high,(1&r.$low)>>>0)).$high||0!==n.$low)return!1;if(t=new Re(r.$high+0,r.$low+8),0===(i=new Re(0&t.$high,(8388600&t.$low)>>>0)).$high&&0===i.$low&&vt(new Te("too many concurrent operations on a single file or socket (max 1048575)")),a.CompareAndSwapUint64(e.$ptr_state||(e.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),e)),r,t))return!0}},p.prototype.incref=function(){return this.$val.incref()},p.ptr.prototype.increfAndClose=function(){var e,t,r,n,i,o,s,c,l,u,d,f,h;f=0;var $,g=!1;void 0!==this&&void 0!==this.$blk&&(g=!0,e=($=this).mu,t=$.new$1,r=$.old,n=$.x,i=$.x$1,o=$.x$2,s=$.x$3,c=$.x$4,l=$.x$5,u=$.x$6,d=$.x$7,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:e=this;case 1:if(r=a.LoadUint64(e.$ptr_state||(e.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),e))),0!==(n=new Re(0&r.$high,(1&r.$low)>>>0)).$high||0!==n.$low)return f=-1,!1;if(i=new Re(0|r.$high,(1|r.$low)>>>0),t=new Re(i.$high+0,i.$low+8),0===(o=new Re(0&t.$high,(8388600&t.$low)>>>0)).$high&&0===o.$low&&vt(new Te("too many concurrent operations on a single file or socket (max 1048575)")),s=new Re(2147483647,4286578688),t=new Re(t.$high&~s.$high,(t.$low&~s.$low)>>>0),a.CompareAndSwapUint64(e.$ptr_state||(e.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),e)),r,t)){f=3;continue}f=4;continue;case 3:case 5:if(0===(c=new Re(2047&r.$high,(4286578688&r.$low)>>>0)).$high&&0===c.$low){f=6;continue}l=new Re(0,8388608),r=new Re(r.$high-l.$high,r.$low-l.$low),h=G(e.$ptr_rsema||(e.$ptr_rsema=new m((function(){return this.$target.rsema}),(function(e){this.$target.rsema=e}),e))),f=7;case 7:if(g&&(g=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;f=5;continue;case 6:case 8:if(0===(u=new Re(2147481600&r.$high,(0&r.$low)>>>0)).$high&&0===u.$low){f=9;continue}d=new Re(2048,0),r=new Re(r.$high-d.$high,r.$low-d.$low),h=G(e.$ptr_wsema||(e.$ptr_wsema=new m((function(){return this.$target.wsema}),(function(e){this.$target.wsema=e}),e))),f=10;case 10:if(g&&(g=!1,h=h.$blk()),h&&void 0!==h.$blk)break e;f=8;continue;case 9:return f=-1,!0;case 4:f=1;continue;case 2:return f=-1,!1}return}return void 0===$&&($={$blk:p.ptr.prototype.increfAndClose}),$.mu=e,$.new$1=t,$.old=r,$.x=n,$.x$1=i,$.x$2=o,$.x$3=s,$.x$4=c,$.x$5=l,$.x$6=u,$.x$7=d,$.$s=f,$.$r=h,$},p.prototype.increfAndClose=function(){return this.$val.increfAndClose()},p.ptr.prototype.decref=function(){var e,t,r,n,i;for(e=this;1;)if(r=a.LoadUint64(e.$ptr_state||(e.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),e))),0===(n=new Re(0&r.$high,(8388600&r.$low)>>>0)).$high&&0===n.$low&&vt(new Te("inconsistent poll.fdMutex")),t=new Re(r.$high-0,r.$low-8),a.CompareAndSwapUint64(e.$ptr_state||(e.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),e)),r,t))return 0===(i=new Re(0&t.$high,(8388601&t.$low)>>>0)).$high&&1===i.$low},p.prototype.decref=function(){return this.$val.decref()},p.ptr.prototype.rwlock=function(e){var t,r,n,i,o,s,c,l,u,d,f,h,$,g,b,y,k,w;k=0;var _,x=!1;void 0!==this&&void 0!==this.$blk&&(x=!0,t=(_=this)._tmp,r=_._tmp$1,n=_._tmp$2,i=_.mu,o=_.mutexBit,s=_.mutexMask,c=_.mutexSema,l=_.mutexWait,u=_.new$1,d=_.old,e=_.read,f=_.x,h=_.x$1,$=_.x$2,g=_.x$3,b=_.x$4,y=_.x$5,k=_.$s,w=_.$r);e:for(;1;){switch(k){case 0:i=this,o=t=new Re(0,0),l=r=new Re(0,0),s=n=new Re(0,0),c=m.nil,e?(o=new Re(0,2),l=new Re(0,8388608),s=new Re(2047,4286578688),c=i.$ptr_rsema||(i.$ptr_rsema=new m((function(){return this.$target.rsema}),(function(e){this.$target.rsema=e}),i))):(o=new Re(0,4),l=new Re(2048,0),s=new Re(2147481600,0),c=i.$ptr_wsema||(i.$ptr_wsema=new m((function(){return this.$target.wsema}),(function(e){this.$target.wsema=e}),i)));case 1:if(d=a.LoadUint64(i.$ptr_state||(i.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),i))),0!==(f=new Re(0&d.$high,(1&d.$low)>>>0)).$high||0!==f.$low)return k=-1,!1;if(u=new Re(0,0),0===(h=new Re(d.$high&o.$high,(d.$low&o.$low)>>>0)).$high&&0===h.$low?($=new Re(d.$high|o.$high,(d.$low|o.$low)>>>0),u=new Re($.$high+0,$.$low+8),0===(g=new Re(0&u.$high,(8388600&u.$low)>>>0)).$high&&0===g.$low&&vt(new Te("too many concurrent operations on a single file or socket (max 1048575)"))):(u=new Re(d.$high+l.$high,d.$low+l.$low),0===(b=new Re(u.$high&s.$high,(u.$low&s.$low)>>>0)).$high&&0===b.$low&&vt(new Te("too many concurrent operations on a single file or socket (max 1048575)"))),a.CompareAndSwapUint64(i.$ptr_state||(i.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),i)),d,u)){k=3;continue}k=4;continue;case 3:if(0===(y=new Re(d.$high&o.$high,(d.$low&o.$low)>>>0)).$high&&0===y.$low)return k=-1,!0;w=H(c),k=5;case 5:if(x&&(x=!1,w=w.$blk()),w&&void 0!==w.$blk)break e;case 4:k=1;continue;case 2:return k=-1,!1}return}return void 0===_&&(_={$blk:p.ptr.prototype.rwlock}),_._tmp=t,_._tmp$1=r,_._tmp$2=n,_.mu=i,_.mutexBit=o,_.mutexMask=s,_.mutexSema=c,_.mutexWait=l,_.new$1=u,_.old=d,_.read=e,_.x=f,_.x$1=h,_.x$2=$,_.x$3=g,_.x$4=b,_.x$5=y,_.$s=k,_.$r=w,_},p.prototype.rwlock=function(e){return this.$val.rwlock(e)},p.ptr.prototype.rwunlock=function(e){var t,r,n,i,o,s,c,l,u,d,f,h,$,g,b,y,k,w,_;w=0;var x,E=!1;void 0!==this&&void 0!==this.$blk&&(E=!0,t=(x=this)._tmp,r=x._tmp$1,n=x._tmp$2,i=x.mu,o=x.mutexBit,s=x.mutexMask,c=x.mutexSema,l=x.mutexWait,u=x.new$1,d=x.old,e=x.read,f=x.x,h=x.x$1,$=x.x$2,g=x.x$3,b=x.x$4,y=x.x$5,k=x.x$6,w=x.$s,_=x.$r);e:for(;1;){switch(w){case 0:i=this,o=t=new Re(0,0),l=r=new Re(0,0),s=n=new Re(0,0),c=m.nil,e?(o=new Re(0,2),l=new Re(0,8388608),s=new Re(2047,4286578688),c=i.$ptr_rsema||(i.$ptr_rsema=new m((function(){return this.$target.rsema}),(function(e){this.$target.rsema=e}),i))):(o=new Re(0,4),l=new Re(2048,0),s=new Re(2147481600,0),c=i.$ptr_wsema||(i.$ptr_wsema=new m((function(){return this.$target.wsema}),(function(e){this.$target.wsema=e}),i)));case 1:if(d=a.LoadUint64(i.$ptr_state||(i.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),i))),(0===(f=new Re(d.$high&o.$high,(d.$low&o.$low)>>>0)).$high&&0===f.$low||0===(h=new Re(0&d.$high,(8388600&d.$low)>>>0)).$high&&0===h.$low)&&vt(new Te("inconsistent poll.fdMutex")),$=new Re(d.$high&~o.$high,(d.$low&~o.$low)>>>0),u=new Re($.$high-0,$.$low-8),(0!==(g=new Re(d.$high&s.$high,(d.$low&s.$low)>>>0)).$high||0!==g.$low)&&(b=l,u=new Re(u.$high-b.$high,u.$low-b.$low)),a.CompareAndSwapUint64(i.$ptr_state||(i.$ptr_state=new v((function(){return this.$target.state}),(function(e){this.$target.state=e}),i)),d,u)){w=3;continue}w=4;continue;case 3:if(0!==(y=new Re(d.$high&s.$high,(d.$low&s.$low)>>>0)).$high||0!==y.$low){w=5;continue}w=6;continue;case 5:_=G(c),w=7;case 7:if(E&&(E=!1,_=_.$blk()),_&&void 0!==_.$blk)break e;case 6:return w=-1,0===(k=new Re(0&u.$high,(8388601&u.$low)>>>0)).$high&&1===k.$low;case 4:w=1;continue;case 2:return w=-1,!1}return}return void 0===x&&(x={$blk:p.ptr.prototype.rwunlock}),x._tmp=t,x._tmp$1=r,x._tmp$2=n,x.mu=i,x.mutexBit=o,x.mutexMask=s,x.mutexSema=c,x.mutexWait=l,x.new$1=u,x.old=d,x.read=e,x.x=f,x.x$1=h,x.x$2=$,x.x$3=g,x.x$4=b,x.x$5=y,x.x$6=k,x.$s=w,x.$r=_,x},p.prototype.rwunlock=function(e){return this.$val.rwunlock(e)},h.ptr.prototype.incref=function(){return this.fdmu.incref()?Ze:K(this.isFile)},h.prototype.incref=function(){return this.$val.incref()},h.ptr.prototype.decref=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.fd,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:if((t=this).fdmu.decref()){r=1;continue}r=2;continue;case 1:e=t.destroy(),r=3;case 3:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,e;case 2:return r=-1,Ze}return}return void 0===i&&(i={$blk:h.ptr.prototype.decref}),i._r=e,i.fd=t,i.$s=r,i.$r=n,i},h.prototype.decref=function(){return this.$val.decref()},h.ptr.prototype.readLock=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.fd,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).fdmu.rwlock(!0),r=3;case 3:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(!e){r=1;continue}r=2;continue;case 1:return r=-1,K(t.isFile);case 2:return r=-1,Ze}return}return void 0===i&&(i={$blk:h.ptr.prototype.readLock}),i._r=e,i.fd=t,i.$s=r,i.$r=n,i},h.prototype.readLock=function(){return this.$val.readLock()},h.ptr.prototype.readUnlock=function(){var e,t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this)._r,t=o._r$1,r=o.fd,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:e=(r=this).fdmu.rwunlock(!0),n=3;case 3:if(a&&(a=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(e){n=1;continue}n=2;continue;case 1:t=r.destroy(),n=4;case 4:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;case 2:return void(n=-1)}return}return void 0===o&&(o={$blk:h.ptr.prototype.readUnlock}),o._r=e,o._r$1=t,o.fd=r,o.$s=n,o.$r=i,o},h.prototype.readUnlock=function(){return this.$val.readUnlock()},h.ptr.prototype.writeLock=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.fd,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).fdmu.rwlock(!1),r=3;case 3:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(!e){r=1;continue}r=2;continue;case 1:return r=-1,K(t.isFile);case 2:return r=-1,Ze}return}return void 0===i&&(i={$blk:h.ptr.prototype.writeLock}),i._r=e,i.fd=t,i.$s=r,i.$r=n,i},h.prototype.writeLock=function(){return this.$val.writeLock()},h.ptr.prototype.writeUnlock=function(){var e,t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this)._r,t=o._r$1,r=o.fd,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:e=(r=this).fdmu.rwunlock(!1),n=3;case 3:if(a&&(a=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(e){n=1;continue}n=2;continue;case 1:t=r.destroy(),n=4;case 4:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;case 2:return void(n=-1)}return}return void 0===o&&(o={$blk:h.ptr.prototype.writeUnlock}),o._r=e,o._r$1=t,o.fd=r,o.$s=n,o.$r=i,o},h.prototype.writeUnlock=function(){return this.$val.writeUnlock()},h.ptr.prototype.eofError=function(e,t){return 0===e&&F(t,Ze)&&this.ZeroReadIsEOF?r.EOF:t},h.prototype.eofError=function(e,t){return this.$val.eofError(e,t)},h.ptr.prototype.Fchmod=function(e){var t,r,n,i,o,a;n=0,void 0!==this&&void 0!==this.$blk&&(t=(a=this).err,r=a.fd,e=a.mode,n=a.$s,i=a.$deferred,o=a.$r);var c=null;try{for(;1;){switch(n){case 0:return(i=[]).index=_t.deferStack.length,_t.deferStack.push(i),t=(r=this).incref(),F(t,Ze)?(i.push([d(r,"decref"),[]]),n=-1,s.Fchmod(r.Sysfd,e)):(n=-1,t)}return}}catch(t){return c=t,n=-1,Ze}finally{if(bt(i,c),_t.asleep)return void 0===a&&(a={$blk:h.ptr.prototype.Fchmod}),a.err=t,a.fd=r,a.mode=e,a.$s=n,a.$deferred=i,a.$r=o,a}},h.prototype.Fchmod=function(e){return this.$val.Fchmod(e)},h.ptr.prototype.Fchown=function(e,t){var r,n,i,o,a,c;i=0,void 0!==this&&void 0!==this.$blk&&(r=(c=this).err,n=c.fd,t=c.gid,e=c.uid,i=c.$s,o=c.$deferred,a=c.$r);var l=null;try{for(;1;){switch(i){case 0:return(o=[]).index=_t.deferStack.length,_t.deferStack.push(o),r=(n=this).incref(),F(r,Ze)?(o.push([d(n,"decref"),[]]),i=-1,s.Fchown(n.Sysfd,e,t)):(i=-1,r)}return}}catch(r){return l=r,i=-1,Ze}finally{if(bt(o,l),_t.asleep)return void 0===c&&(c={$blk:h.ptr.prototype.Fchown}),c.err=r,c.fd=n,c.gid=t,c.uid=e,c.$s=i,c.$deferred=o,c.$r=a,c}},h.prototype.Fchown=function(e,t){return this.$val.Fchown(e,t)},h.ptr.prototype.Ftruncate=function(e){var t,r,n,i,o,a;n=0,void 0!==this&&void 0!==this.$blk&&(t=(a=this).err,r=a.fd,e=a.size,n=a.$s,i=a.$deferred,o=a.$r);var c=null;try{for(;1;){switch(n){case 0:return(i=[]).index=_t.deferStack.length,_t.deferStack.push(i),t=(r=this).incref(),F(t,Ze)?(i.push([d(r,"decref"),[]]),n=-1,s.Ftruncate(r.Sysfd,e)):(n=-1,t)}return}}catch(t){return c=t,n=-1,Ze}finally{if(bt(i,c),_t.asleep)return void 0===a&&(a={$blk:h.ptr.prototype.Ftruncate}),a.err=t,a.fd=r,a.size=e,a.$s=n,a.$deferred=i,a.$r=o,a}},h.prototype.Ftruncate=function(e){return this.$val.Ftruncate(e)},h.ptr.prototype.Init=function(e,t){var r,n;return n=this,"file"===e&&(n.isFile=!0),t?(r=n.pd.init(n),F(r,Ze)||(n.isBlocking=1),r):(n.isBlocking=1,Ze)},h.prototype.Init=function(e,t){return this.$val.Init(e,t)},h.ptr.prototype.destroy=function(){var e,t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,e=(o=this)._r,t=o.err,r=o.fd,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:(r=this).pd.close(),e=te.CloseFunc(r.Sysfd),n=1;case 1:if(a&&(a=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;t=e,r.Sysfd=-1,i=G(r.$ptr_csema||(r.$ptr_csema=new m((function(){return this.$target.csema}),(function(e){this.$target.csema=e}),r))),n=2;case 2:if(a&&(a=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:h.ptr.prototype.destroy}),o._r=e,o.err=t,o.fd=r,o.$s=n,o.$r=i,o},h.prototype.destroy=function(){return this.$val.destroy()},h.ptr.prototype.Close=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a._r$1,r=a.err,n=a.fd,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:e=(n=this).fdmu.increfAndClose(),i=3;case 3:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(!e){i=1;continue}i=2;continue;case 1:return i=-1,K(n.isFile);case 2:n.pd.evict(),t=n.decref(),i=4;case 4:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(r=t,0===n.isBlocking){i=5;continue}i=6;continue;case 5:o=H(n.$ptr_csema||(n.$ptr_csema=new m((function(){return this.$target.csema}),(function(e){this.$target.csema=e}),n))),i=7;case 7:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;case 6:return i=-1,r}return}return void 0===a&&(a={$blk:h.ptr.prototype.Close}),a._r=e,a._r$1=t,a.err=r,a.fd=n,a.$s=i,a.$r=o,a},h.prototype.Close=function(){return this.$val.Close()},h.ptr.prototype.Shutdown=function(e){var t,r,n,i,o,a;n=0,void 0!==this&&void 0!==this.$blk&&(t=(a=this).err,r=a.fd,e=a.how,n=a.$s,i=a.$deferred,o=a.$r);var c=null;try{for(;1;){switch(n){case 0:return(i=[]).index=_t.deferStack.length,_t.deferStack.push(i),t=(r=this).incref(),F(t,Ze)?(i.push([d(r,"decref"),[]]),n=-1,s.Shutdown(r.Sysfd,e)):(n=-1,t)}return}}catch(t){return c=t,n=-1,Ze}finally{if(bt(i,c),_t.asleep)return void 0===a&&(a={$blk:h.ptr.prototype.Shutdown}),a.err=t,a.fd=r,a.how=e,a.$s=n,a.$deferred=i,a.$r=o,a}},h.prototype.Shutdown=function(e){return this.$val.Shutdown(e)},h.ptr.prototype.SetBlocking=function(){var e,t,r,n,i,o;r=0,void 0!==this&&void 0!==this.$blk&&(e=(o=this).err,t=o.fd,r=o.$s,n=o.$deferred,i=o.$r);var c=null;try{for(;1;){switch(r){case 0:return(n=[]).index=_t.deferStack.length,_t.deferStack.push(n),e=(t=this).incref(),F(e,Ze)?(n.push([d(t,"decref"),[]]),a.StoreUint32(t.$ptr_isBlocking||(t.$ptr_isBlocking=new m((function(){return this.$target.isBlocking}),(function(e){this.$target.isBlocking=e}),t)),1),r=-1,s.SetNonblock(t.Sysfd,!1)):(r=-1,e)}return}}catch(e){return c=e,r=-1,Ze}finally{if(bt(n,c),_t.asleep)return void 0===o&&(o={$blk:h.ptr.prototype.SetBlocking}),o.err=e,o.fd=t,o.$s=r,o.$deferred=n,o.$r=i,o}},h.prototype.SetBlocking=function(){return this.$val.SetBlocking()},h.ptr.prototype.Read=function(e){var t,r,n,i,o,a,c,l,u,p;l=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,t=($=this)._r,r=$._tuple,n=$.err,i=$.err$1,o=$.err$2,a=$.fd,c=$.n,e=$.p,l=$.$s,u=$.$deferred,p=$.$r);var g=null;try{e:for(;1;){switch(l){case 0:(u=[]).index=_t.deferStack.length,_t.deferStack.push(u),t=(a=this).readLock(),l=1;case 1:if(m&&(m=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(!F(n=t,Ze))return l=-1,[0,n];if(u.push([d(a,"readUnlock"),[]]),0===e.$length)return l=-1,[0,Ze];if(i=a.pd.prepareRead(a.isFile),!F(i,Ze))return l=-1,[0,i];for(a.IsStream&&e.$length>1073741824&&(e=f(e,0,1073741824));1;)if(c=(r=s.Read(a.Sysfd,e))[0],o=r[1],F(o,Ze)||(c=0,!(F(o,new s.Errno(11))&&a.pd.pollable()&&(o=a.pd.waitRead(a.isFile),F(o,Ze)))))return o=a.eofError(c,o),l=-1,[c,o];return l=-1,[0,Ze]}return}}catch(n){return g=n,l=-1,[0,Ze]}finally{if(bt(u,g),_t.asleep)return void 0===$&&($={$blk:h.ptr.prototype.Read}),$._r=t,$._tuple=r,$.err=n,$.err$1=i,$.err$2=o,$.fd=a,$.n=c,$.p=e,$.$s=l,$.$deferred=u,$.$r=p,$}},h.prototype.Read=function(e){return this.$val.Read(e)},h.ptr.prototype.Pread=function(e,t){var r,n,i,o,a,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,r=(p=this)._r,n=p._tuple,i=p.err,o=p.err$1,a=p.fd,c=p.n,t=p.off,e=p.p,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:if(i=(a=this).incref(),!F(i,Ze))return l=-1,[0,i];a.IsStream&&e.$length>1073741824&&(e=f(e,0,1073741824)),c=(n=s.Pread(a.Sysfd,e,t))[0],o=n[1],F(o,Ze)||(c=0),r=a.decref(),l=1;case 1:if(d&&(d=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return l=-1,[c,o=a.eofError(c,o)]}return}return void 0===p&&(p={$blk:h.ptr.prototype.Pread}),p._r=r,p._tuple=n,p.err=i,p.err$1=o,p.fd=a,p.n=c,p.off=t,p.p=e,p.$s=l,p.$r=u,p},h.prototype.Pread=function(e,t){return this.$val.Pread(e,t)},h.ptr.prototype.ReadFrom=function(e){var t,r,n,i,o,a,c,l,u,p,f;u=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,t=($=this)._r,r=$._tuple,n=$.err,i=$.err$1,o=$.err$2,a=$.fd,c=$.n,e=$.p,l=$.sa,u=$.$s,p=$.$deferred,f=$.$r);var g=null;try{e:for(;1;){switch(u){case 0:(p=[]).index=_t.deferStack.length,_t.deferStack.push(p),t=(a=this).readLock(),u=1;case 1:if(m&&(m=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(!F(n=t,Ze))return u=-1,[0,Ze,n];if(p.push([d(a,"readUnlock"),[]]),i=a.pd.prepareRead(a.isFile),!F(i,Ze))return u=-1,[0,Ze,i];for(;1;)if(c=(r=s.Recvfrom(a.Sysfd,e,0))[0],l=r[1],o=r[2],F(o,Ze)||(c=0,!(F(o,new s.Errno(11))&&a.pd.pollable()&&(o=a.pd.waitRead(a.isFile),F(o,Ze)))))return o=a.eofError(c,o),u=-1,[c,l,o];return u=-1,[0,Ze,Ze]}return}}catch(n){return g=n,u=-1,[0,Ze,Ze]}finally{if(bt(p,g),_t.asleep)return void 0===$&&($={$blk:h.ptr.prototype.ReadFrom}),$._r=t,$._tuple=r,$.err=n,$.err$1=i,$.err$2=o,$.fd=a,$.n=c,$.p=e,$.sa=l,$.$s=u,$.$deferred=p,$.$r=f,$}},h.prototype.ReadFrom=function(e){return this.$val.ReadFrom(e)},h.ptr.prototype.ReadMsg=function(e,t){var r,n,i,o,a,c,l,u,p,f,$,m,g;$=0;var b,v=!1;void 0!==this&&void 0!==this.$blk&&(v=!0,r=(b=this)._r,n=b._tuple,i=b.err,o=b.err$1,a=b.err$2,c=b.fd,l=b.flags,u=b.n,t=b.oob,p=b.oobn,e=b.p,f=b.sa,$=b.$s,m=b.$deferred,g=b.$r);var y=null;try{e:for(;1;){switch($){case 0:(m=[]).index=_t.deferStack.length,_t.deferStack.push(m),r=(c=this).readLock(),$=1;case 1:if(v&&(v=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(!F(i=r,Ze))return $=-1,[0,0,0,Ze,i];if(m.push([d(c,"readUnlock"),[]]),o=c.pd.prepareRead(c.isFile),!F(o,Ze))return $=-1,[0,0,0,Ze,o];for(;1;)if(u=(n=s.Recvmsg(c.Sysfd,e,t,0))[0],p=n[1],l=n[2],f=n[3],a=n[4],F(a,Ze)||!F(a,new s.Errno(11))||!c.pd.pollable()||(a=c.pd.waitRead(c.isFile),!F(a,Ze)))return a=c.eofError(u,a),$=-1,[u,p,l,f,a];return $=-1,[0,0,0,Ze,Ze]}return}}catch(i){return y=i,$=-1,[0,0,0,Ze,Ze]}finally{if(bt(m,y),_t.asleep)return void 0===b&&(b={$blk:h.ptr.prototype.ReadMsg}),b._r=r,b._tuple=n,b.err=i,b.err$1=o,b.err$2=a,b.fd=c,b.flags=l,b.n=u,b.oob=t,b.oobn=p,b.p=e,b.sa=f,b.$s=$,b.$deferred=m,b.$r=g,b}},h.prototype.ReadMsg=function(e,t){return this.$val.ReadMsg(e,t)},h.ptr.prototype.Write=function(e){var t,n,i,o,a,c,l,u,p,$,m,g;$=0;var b,v=!1;void 0!==this&&void 0!==this.$blk&&(v=!0,t=(b=this)._r,n=b._tuple,i=b.err,o=b.err$1,a=b.err$2,c=b.fd,l=b.max,u=b.n,p=b.nn,e=b.p,$=b.$s,m=b.$deferred,g=b.$r);var y=null;try{e:for(;1;){switch($){case 0:(m=[]).index=_t.deferStack.length,_t.deferStack.push(m),t=(c=this).writeLock(),$=1;case 1:if(v&&(v=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(!F(i=t,Ze))return $=-1,[0,i];if(m.push([d(c,"writeUnlock"),[]]),o=c.pd.prepareWrite(c.isFile),!F(o,Ze))return $=-1,[0,o];for(p=0;1;){if(l=e.$length,c.IsStream&&l-p>>0>1073741824&&(l=p+1073741824>>0),u=(n=s.Write(c.Sysfd,f(e,p,l)))[0],a=n[1],u>0&&(p=p+u>>0),p===e.$length)return $=-1,[p,a];if(!(F(a,new s.Errno(11))&&c.pd.pollable()&&(a=c.pd.waitWrite(c.isFile),F(a,Ze)))){if(!F(a,Ze))return $=-1,[p,a];if(0===u)return $=-1,[p,r.ErrUnexpectedEOF]}}return $=-1,[0,Ze]}return}}catch(i){return y=i,$=-1,[0,Ze]}finally{if(bt(m,y),_t.asleep)return void 0===b&&(b={$blk:h.ptr.prototype.Write}),b._r=t,b._tuple=n,b.err=i,b.err$1=o,b.err$2=a,b.fd=c,b.max=l,b.n=u,b.nn=p,b.p=e,b.$s=$,b.$deferred=m,b.$r=g,b}},h.prototype.Write=function(e){return this.$val.Write(e)},h.ptr.prototype.Pwrite=function(e,t){var n,i,o,a,c,l,u,p,$,m,g,b;$=0,void 0!==this&&void 0!==this.$blk&&(n=(b=this)._tuple,i=b.err,o=b.err$1,a=b.fd,c=b.max,l=b.n,u=b.nn,t=b.off,e=b.p,p=b.x,$=b.$s,m=b.$deferred,g=b.$r);var v=null;try{for(;1;){switch($){case 0:if((m=[]).index=_t.deferStack.length,_t.deferStack.push(m),i=(a=this).incref(),!F(i,Ze))return $=-1,[0,i];for(m.push([d(a,"decref"),[]]),u=0;1;){if(c=e.$length,a.IsStream&&c-u>>0>1073741824&&(c=u+1073741824>>0),l=(n=s.Pwrite(a.Sysfd,f(e,u,c),(p=new De(0,u),new De(t.$high+p.$high,t.$low+p.$low))))[0],o=n[1],l>0&&(u=u+l>>0),u===e.$length)return $=-1,[u,o];if(!F(o,Ze))return $=-1,[u,o];if(0===l)return $=-1,[u,r.ErrUnexpectedEOF]}return $=-1,[0,Ze]}return}}catch(i){return v=i,$=-1,[0,Ze]}finally{if(bt(m,v),_t.asleep)return void 0===b&&(b={$blk:h.ptr.prototype.Pwrite}),b._tuple=n,b.err=i,b.err$1=o,b.fd=a,b.max=c,b.n=l,b.nn=u,b.off=t,b.p=e,b.x=p,b.$s=$,b.$deferred=m,b.$r=g,b}},h.prototype.Pwrite=function(e,t){return this.$val.Pwrite(e,t)},h.ptr.prototype.WriteTo=function(e,t){var r,n,i,o,a,c,l,u,p;l=0;var f,$=!1;void 0!==this&&void 0!==this.$blk&&($=!0,r=(f=this)._r,n=f._r$1,i=f.err,o=f.err$1,a=f.err$2,c=f.fd,e=f.p,t=f.sa,l=f.$s,u=f.$deferred,p=f.$r);var m=null;try{e:for(;1;){switch(l){case 0:(u=[]).index=_t.deferStack.length,_t.deferStack.push(u),r=(c=this).writeLock(),l=1;case 1:if($&&($=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(!F(i=r,Ze))return l=-1,[0,i];if(u.push([d(c,"writeUnlock"),[]]),o=c.pd.prepareWrite(c.isFile),!F(o,Ze))return l=-1,[0,o];case 2:n=s.Sendto(c.Sysfd,e,0,t),l=4;case 4:if($&&($=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(F(a=n,new s.Errno(11))&&c.pd.pollable()&&(a=c.pd.waitWrite(c.isFile),F(a,Ze))){l=2;continue}return F(a,Ze)?(l=-1,[e.$length,Ze]):(l=-1,[0,a]);case 3:return l=-1,[0,Ze]}return}}catch(i){return m=i,l=-1,[0,Ze]}finally{if(bt(u,m),_t.asleep)return void 0===f&&(f={$blk:h.ptr.prototype.WriteTo}),f._r=r,f._r$1=n,f.err=i,f.err$1=o,f.err$2=a,f.fd=c,f.p=e,f.sa=t,f.$s=l,f.$deferred=u,f.$r=p,f}},h.prototype.WriteTo=function(e,t){return this.$val.WriteTo(e,t)},h.ptr.prototype.WriteMsg=function(e,t,r){var n,i,o,a,c,l,u,p,f,$,m;f=0;var g,b=!1;void 0!==this&&void 0!==this.$blk&&(b=!0,n=(g=this)._r,i=g._r$1,o=g._tuple,a=g.err,c=g.err$1,l=g.err$2,u=g.fd,p=g.n,t=g.oob,e=g.p,r=g.sa,f=g.$s,$=g.$deferred,m=g.$r);var v=null;try{e:for(;1;){switch(f){case 0:($=[]).index=_t.deferStack.length,_t.deferStack.push($),n=(u=this).writeLock(),f=1;case 1:if(b&&(b=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(!F(a=n,Ze))return f=-1,[0,0,a];if($.push([d(u,"writeUnlock"),[]]),c=u.pd.prepareWrite(u.isFile),!F(c,Ze))return f=-1,[0,0,c];case 2:i=s.SendmsgN(u.Sysfd,e,t,r,0),f=4;case 4:if(b&&(b=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;if(p=(o=i)[0],l=o[1],F(l,new s.Errno(11))&&u.pd.pollable()&&(l=u.pd.waitWrite(u.isFile),F(l,Ze))){f=2;continue}return F(l,Ze)?(f=-1,[p,t.$length,l]):(f=-1,[p,0,l]);case 3:return f=-1,[0,0,Ze]}return}}catch(a){return v=a,f=-1,[0,0,Ze]}finally{if(bt($,v),_t.asleep)return void 0===g&&(g={$blk:h.ptr.prototype.WriteMsg}),g._r=n,g._r$1=i,g._tuple=o,g.err=a,g.err$1=c,g.err$2=l,g.fd=u,g.n=p,g.oob=t,g.p=e,g.sa=r,g.$s=f,g.$deferred=$,g.$r=m,g}},h.prototype.WriteMsg=function(e,t,r){return this.$val.WriteMsg(e,t,r)},h.ptr.prototype.Accept=function(){var e,t,r,n,i,o,a,c,l,u,p,f,$,m;f=0;var g,b=!1;void 0!==this&&void 0!==this.$blk&&(b=!0,e=(g=this)._1,t=g._r,r=g._r$1,n=g._tuple,i=g.err,o=g.err$1,a=g.err$2,c=g.errcall,l=g.fd,u=g.rsa,p=g.s,f=g.$s,$=g.$deferred,m=g.$r);var v=null;try{e:for(;1;){switch(f){case 0:($=[]).index=_t.deferStack.length,_t.deferStack.push($),t=(l=this).readLock(),f=1;case 1:if(b&&(b=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(!F(i=t,Ze))return f=-1,[-1,Ze,"",i];if($.push([d(l,"readUnlock"),[]]),o=l.pd.prepareRead(l.isFile),!F(o,Ze))return f=-1,[-1,Ze,"",o];case 2:r=ee(l.Sysfd),f=4;case 4:if(b&&(b=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(p=(n=r)[0],u=n[1],c=n[2],a=n[3],F(a,Ze))return f=-1,[p,u,"",a];if(F(e=a,new s.Errno(11))){if(l.pd.pollable()&&(a=l.pd.waitRead(l.isFile),F(a,Ze))){f=2;continue}}else if(F(e,new s.Errno(103))){f=2;continue}return f=-1,[-1,Ze,c,a];case 3:return f=-1,[0,Ze,"",Ze]}return}}catch(i){return v=i,f=-1,[0,Ze,"",Ze]}finally{if(bt($,v),_t.asleep)return void 0===g&&(g={$blk:h.ptr.prototype.Accept}),g._1=e,g._r=t,g._r$1=r,g._tuple=n,g.err=i,g.err$1=o,g.err$2=a,g.errcall=c,g.fd=l,g.rsa=u,g.s=p,g.$s=f,g.$deferred=$,g.$r=m,g}},h.prototype.Accept=function(){return this.$val.Accept()},h.ptr.prototype.Seek=function(e,t){var r,n,i,o,a,c;i=0,void 0!==this&&void 0!==this.$blk&&(r=(c=this).err,n=c.fd,e=c.offset,t=c.whence,i=c.$s,o=c.$deferred,a=c.$r);var l=null;try{for(;1;){switch(i){case 0:return(o=[]).index=_t.deferStack.length,_t.deferStack.push(o),r=(n=this).incref(),F(r,Ze)?(o.push([d(n,"decref"),[]]),i=-1,s.Seek(n.Sysfd,e,t)):(i=-1,[new De(0,0),r])}return}}catch(r){return l=r,i=-1,[new De(0,0),Ze]}finally{if(bt(o,l),_t.asleep)return void 0===c&&(c={$blk:h.ptr.prototype.Seek}),c.err=r,c.fd=n,c.offset=e,c.whence=t,c.$s=i,c.$deferred=o,c.$r=a,c}},h.prototype.Seek=function(e,t){return this.$val.Seek(e,t)},h.ptr.prototype.ReadDirent=function(e){var t,r,n,i,o,a,c,l,u;a=0,void 0!==this&&void 0!==this.$blk&&(t=(u=this)._tuple,e=u.buf,r=u.err,n=u.err$1,i=u.fd,o=u.n,a=u.$s,c=u.$deferred,l=u.$r);var p=null;try{for(;1;){switch(a){case 0:if((c=[]).index=_t.deferStack.length,_t.deferStack.push(c),r=(i=this).incref(),!F(r,Ze))return a=-1,[0,r];for(c.push([d(i,"decref"),[]]);1;)if(o=(t=s.ReadDirent(i.Sysfd,e))[0],n=t[1],F(n,Ze)||(o=0,!(F(n,new s.Errno(11))&&i.pd.pollable()&&(n=i.pd.waitRead(i.isFile),F(n,Ze)))))return a=-1,[o,n];return a=-1,[0,Ze]}return}}catch(r){return p=r,a=-1,[0,Ze]}finally{if(bt(c,p),_t.asleep)return void 0===u&&(u={$blk:h.ptr.prototype.ReadDirent}),u._tuple=t,u.buf=e,u.err=r,u.err$1=n,u.fd=i,u.n=o,u.$s=a,u.$deferred=c,u.$r=l,u}},h.prototype.ReadDirent=function(e){return this.$val.ReadDirent(e)},h.ptr.prototype.Fchdir=function(){var e,t,r,n,i,o;r=0,void 0!==this&&void 0!==this.$blk&&(e=(o=this).err,t=o.fd,r=o.$s,n=o.$deferred,i=o.$r);var a=null;try{for(;1;){switch(r){case 0:return(n=[]).index=_t.deferStack.length,_t.deferStack.push(n),e=(t=this).incref(),F(e,Ze)?(n.push([d(t,"decref"),[]]),r=-1,s.Fchdir(t.Sysfd)):(r=-1,e)}return}}catch(e){return a=e,r=-1,Ze}finally{if(bt(n,a),_t.asleep)return void 0===o&&(o={$blk:h.ptr.prototype.Fchdir}),o.err=e,o.fd=t,o.$s=r,o.$deferred=n,o.$r=i,o}},h.prototype.Fchdir=function(){return this.$val.Fchdir()},h.ptr.prototype.Fstat=function(e){var t,r,n,i,o,a;n=0,void 0!==this&&void 0!==this.$blk&&(t=(a=this).err,r=a.fd,e=a.s,n=a.$s,i=a.$deferred,o=a.$r);var c=null;try{for(;1;){switch(n){case 0:return(i=[]).index=_t.deferStack.length,_t.deferStack.push(i),t=(r=this).incref(),F(t,Ze)?(i.push([d(r,"decref"),[]]),n=-1,s.Fstat(r.Sysfd,e)):(n=-1,t)}return}}catch(t){return c=t,n=-1,Ze}finally{if(bt(i,c),_t.asleep)return void 0===a&&(a={$blk:h.ptr.prototype.Fstat}),a.err=t,a.fd=r,a.s=e,a.$s=n,a.$deferred=i,a.$r=o,a}},h.prototype.Fstat=function(e){return this.$val.Fstat(e)},Z=function(e){var t,r,n,i,o,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,t=(u=this)._1,r=u._r,n=u._tuple,i=u.e1,e=u.fd,o=u.r0,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:if(1===a.LoadInt32(q||(q=new y((function(){return V}),(function(e){V=e}))))){if(o=(n=J(e,1030,0))[0],i=n[1],F(i,Ze))return c=-1,[o,"",Ze];if(22!==(t=ht(i,s.Errno))&&38!==t)return c=-1,[-1,"fcntl",i];a.StoreInt32(q||(q=new y((function(){return V}),(function(e){V=e}))),0)}r=Y(e),c=1;case 1:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return c=-1,r}return}return void 0===u&&(u={$blk:Z}),u._1=t,u._r=r,u._tuple=n,u.e1=i,u.fd=e,u.r0=o,u.$s=c,u.$r=l,u},te.DupCloseOnExec=Z,Y=function(e){var t,r,n,i,o,a;i=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._tuple,r=c.err,e=c.fd,n=c.newfd,i=c.$s,o=c.$deferred,a=c.$r);var u=null;try{e:for(;1;){switch(i){case 0:(o=[]).index=_t.deferStack.length,_t.deferStack.push(o),a=s.ForkLock.RLock(),i=1;case 1:if(l&&(l=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return o.push([d(s.ForkLock,"RUnlock"),[]]),n=(t=s.Dup(e))[0],r=t[1],F(r,Ze)?(s.CloseOnExec(n),i=-1,[n,"",Ze]):(i=-1,[-1,"dup",r])}return}}catch(r){return u=r,i=-1,[0,"",Ze]}finally{if(bt(o,u),_t.asleep)return void 0===c&&(c={$blk:Y}),c._tuple=t,c.err=r,c.fd=e,c.newfd=n,c.$s=i,c.$deferred=o,c.$r=a,c}},h.ptr.prototype.Dup=function(){var e,t,r,n,i,o;n=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a.err,r=a.fd,n=a.$s,i=a.$deferred,o=a.$r);var c=null;try{e:for(;1;){switch(n){case 0:if((i=[]).index=_t.deferStack.length,_t.deferStack.push(i),t=(r=this).incref(),!F(t,Ze))return n=-1,[-1,"",t];i.push([d(r,"decref"),[]]),e=Z(r.Sysfd),n=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return n=-1,e}return}}catch(t){return c=t,n=-1,[0,"",Ze]}finally{if(bt(i,c),_t.asleep)return void 0===a&&(a={$blk:h.ptr.prototype.Dup}),a._r=e,a.err=t,a.fd=r,a.$s=n,a.$deferred=i,a.$r=o,a}},h.prototype.Dup=function(){return this.$val.Dup()},h.ptr.prototype.WaitWrite=function(){return this.pd.waitWrite(this.isFile)},h.prototype.WaitWrite=function(){return this.$val.WaitWrite()},h.ptr.prototype.WriteOnce=function(e){var t,r,n,i,o,a;i=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._r,r=c.err,n=c.fd,e=c.p,i=c.$s,o=c.$deferred,a=c.$r);var u=null;try{e:for(;1;){switch(i){case 0:(o=[]).index=_t.deferStack.length,_t.deferStack.push(o),t=(n=this).writeLock(),i=1;case 1:if(l&&(l=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return F(r=t,Ze)?(o.push([d(n,"writeUnlock"),[]]),i=-1,s.Write(n.Sysfd,e)):(i=-1,[0,r])}return}}catch(r){return u=r,i=-1,[0,Ze]}finally{if(bt(o,u),_t.asleep)return void 0===c&&(c={$blk:h.ptr.prototype.WriteOnce}),c._r=t,c.err=r,c.fd=n,c.p=e,c.$s=i,c.$deferred=o,c.$r=a,c}},h.prototype.WriteOnce=function(e){return this.$val.WriteOnce(e)},h.ptr.prototype.RawControl=function(e){var t,r,n,i,o;n=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,t=(a=this).err,e=a.f,r=a.fd,n=a.$s,i=a.$deferred,o=a.$r);var c=null;try{e:for(;1;){switch(n){case 0:if((i=[]).index=_t.deferStack.length,_t.deferStack.push(i),t=(r=this).incref(),!F(t,Ze))return n=-1,t;i.push([d(r,"decref"),[]]),o=e(r.Sysfd>>>0),n=1;case 1:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;return n=-1,Ze}return}}catch(t){return c=t,n=-1,Ze}finally{if(bt(i,c),_t.asleep)return void 0===a&&(a={$blk:h.ptr.prototype.RawControl}),a.err=t,a.f=e,a.fd=r,a.$s=n,a.$deferred=i,a.$r=o,a}},h.prototype.RawControl=function(e){return this.$val.RawControl(e)},h.ptr.prototype.RawRead=function(e){var t,r,n,i,o,a,s,c,l;s=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,t=(u=this)._r,r=u._r$1,n=u.err,i=u.err$1,o=u.err$2,e=u.f,a=u.fd,s=u.$s,c=u.$deferred,l=u.$r);var f=null;try{e:for(;1;){switch(s){case 0:(c=[]).index=_t.deferStack.length,_t.deferStack.push(c),t=(a=this).readLock(),s=1;case 1:if(p&&(p=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(!F(n=t,Ze))return s=-1,n;if(c.push([d(a,"readUnlock"),[]]),i=a.pd.prepareRead(a.isFile),!F(i,Ze))return s=-1,i;case 2:r=e(a.Sysfd>>>0),s=6;case 6:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(r){s=4;continue}s=5;continue;case 4:return s=-1,Ze;case 5:if(o=a.pd.waitRead(a.isFile),!F(o,Ze))return s=-1,o;s=2;continue;case 3:return s=-1,Ze}return}}catch(n){return f=n,s=-1,Ze}finally{if(bt(c,f),_t.asleep)return void 0===u&&(u={$blk:h.ptr.prototype.RawRead}),u._r=t,u._r$1=r,u.err=n,u.err$1=i,u.err$2=o,u.f=e,u.fd=a,u.$s=s,u.$deferred=c,u.$r=l,u}},h.prototype.RawRead=function(e){return this.$val.RawRead(e)},h.ptr.prototype.RawWrite=function(e){var t,r,n,i,o,a,s,c,l;s=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,t=(u=this)._r,r=u._r$1,n=u.err,i=u.err$1,o=u.err$2,e=u.f,a=u.fd,s=u.$s,c=u.$deferred,l=u.$r);var f=null;try{e:for(;1;){switch(s){case 0:(c=[]).index=_t.deferStack.length,_t.deferStack.push(c),t=(a=this).writeLock(),s=1;case 1:if(p&&(p=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(!F(n=t,Ze))return s=-1,n;if(c.push([d(a,"writeUnlock"),[]]),i=a.pd.prepareWrite(a.isFile),!F(i,Ze))return s=-1,i;case 2:r=e(a.Sysfd>>>0),s=6;case 6:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(r){s=4;continue}s=5;continue;case 4:return s=-1,Ze;case 5:if(o=a.pd.waitWrite(a.isFile),!F(o,Ze))return s=-1,o;s=2;continue;case 3:return s=-1,Ze}return}}catch(n){return f=n,s=-1,Ze}finally{if(bt(c,f),_t.asleep)return void 0===u&&(u={$blk:h.ptr.prototype.RawWrite}),u._r=t,u._r$1=r,u.err=n,u.err$1=i,u.err$2=o,u.f=e,u.fd=a,u.$s=s,u.$deferred=c,u.$r=l,u}},h.prototype.RawWrite=function(e){return this.$val.RawWrite(e)},Q=function(e,t){var r,n,i;return i=(r=s.Syscall(20,e>>>0,$(t),t.$length>>>0))[0],0!==(n=r[2])?[i,new s.Errno(n)]:[i,Ze]},ee=function(e){var t,r,n,i,o,a,c,l,u,p,d;p=0;var f,h=!1;void 0!==this&&void 0!==this.$blk&&(h=!0,t=(f=this)._1,r=f._r,n=f._r$1,i=f._r$2,o=f._tuple,a=f._tuple$1,c=f.err,l=f.ns,e=f.s,u=f.sa,p=f.$s,d=f.$r);e:for(;1;){switch(p){case 0:r=te.Accept4Func(e,526336),p=1;case 1:if(h&&(h=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(l=(o=r)[0],u=o[1],c=o[2],F(t=c,Ze))return p=-1,[l,u,"",Ze];if(F(t,new s.Errno(38)));else if(F(t,new s.Errno(22)));else if(F(t,new s.Errno(13)));else if(!F(t,new s.Errno(14)))return p=-1,[-1,u,"accept4",c];n=te.AcceptFunc(e),p=2;case 2:if(h&&(h=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(l=(a=n)[0],u=a[1],c=a[2],F(c,Ze)&&s.CloseOnExec(l),!F(c,Ze))return p=-1,[-1,Ze,"accept",c];if(c=s.SetNonblock(l,!0),!F(c,Ze)){p=3;continue}p=4;continue;case 3:i=te.CloseFunc(l),p=5;case 5:if(h&&(h=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return p=-1,[-1,Ze,"setnonblock",c];case 4:return p=-1,[l,u,"",Ze]}return}return void 0===f&&(f={$blk:ee}),f._1=t,f._r=r,f._r$1=n,f._r$2=i,f._tuple=o,f._tuple$1=a,f.err=c,f.ns=l,f.s=e,f.sa=u,f.$s=p,f.$r=d,f},h.ptr.prototype.SetsockoptInt=function(e,t,r){var n,i,o,a,c,l;o=0,void 0!==this&&void 0!==this.$blk&&(r=(l=this).arg,n=l.err,i=l.fd,e=l.level,t=l.name,o=l.$s,a=l.$deferred,c=l.$r);var u=null;try{for(;1;){switch(o){case 0:return(a=[]).index=_t.deferStack.length,_t.deferStack.push(a),n=(i=this).incref(),F(n,Ze)?(a.push([d(i,"decref"),[]]),o=-1,s.SetsockoptInt(i.Sysfd,e,t,r)):(o=-1,n)}return}}catch(n){return u=n,o=-1,Ze}finally{if(bt(a,u),_t.asleep)return void 0===l&&(l={$blk:h.ptr.prototype.SetsockoptInt}),l.arg=r,l.err=n,l.fd=i,l.level=e,l.name=t,l.$s=o,l.$deferred=a,l.$r=c,l}},h.prototype.SetsockoptInt=function(e,t,r){return this.$val.SetsockoptInt(e,t,r)},h.ptr.prototype.SetsockoptInet4Addr=function(e,t,r){var n,i,o,a,c,l;o=0,void 0!==this&&void 0!==this.$blk&&(r=(l=this).arg,n=l.err,i=l.fd,e=l.level,t=l.name,o=l.$s,a=l.$deferred,c=l.$r);var u=null;try{for(;1;){switch(o){case 0:return(a=[]).index=_t.deferStack.length,_t.deferStack.push(a),n=(i=this).incref(),F(n,Ze)?(a.push([d(i,"decref"),[]]),o=-1,s.SetsockoptInet4Addr(i.Sysfd,e,t,E(r,k))):(o=-1,n)}return}}catch(n){return u=n,o=-1,Ze}finally{if(bt(a,u),_t.asleep)return void 0===l&&(l={$blk:h.ptr.prototype.SetsockoptInet4Addr}),l.arg=r,l.err=n,l.fd=i,l.level=e,l.name=t,l.$s=o,l.$deferred=a,l.$r=c,l}},h.prototype.SetsockoptInet4Addr=function(e,t,r){return this.$val.SetsockoptInet4Addr(e,t,r)},h.ptr.prototype.SetsockoptLinger=function(e,t,r){var n,i,o,a,c,l;o=0,void 0!==this&&void 0!==this.$blk&&(n=(l=this).err,i=l.fd,r=l.l,e=l.level,t=l.name,o=l.$s,a=l.$deferred,c=l.$r);var u=null;try{for(;1;){switch(o){case 0:return(a=[]).index=_t.deferStack.length,_t.deferStack.push(a),n=(i=this).incref(),F(n,Ze)?(a.push([d(i,"decref"),[]]),o=-1,s.SetsockoptLinger(i.Sysfd,e,t,r)):(o=-1,n)}return}}catch(n){return u=n,o=-1,Ze}finally{if(bt(a,u),_t.asleep)return void 0===l&&(l={$blk:h.ptr.prototype.SetsockoptLinger}),l.err=n,l.fd=i,l.l=r,l.level=e,l.name=t,l.$s=o,l.$deferred=a,l.$r=c,l}},h.prototype.SetsockoptLinger=function(e,t,r){return this.$val.SetsockoptLinger(e,t,r)},h.ptr.prototype.SetsockoptIPMreqn=function(e,t,r){var n,i,o,a,c,l;o=0,void 0!==this&&void 0!==this.$blk&&(n=(l=this).err,i=l.fd,e=l.level,r=l.mreq,t=l.name,o=l.$s,a=l.$deferred,c=l.$r);var u=null;try{for(;1;){switch(o){case 0:return(a=[]).index=_t.deferStack.length,_t.deferStack.push(a),n=(i=this).incref(),F(n,Ze)?(a.push([d(i,"decref"),[]]),o=-1,s.SetsockoptIPMreqn(i.Sysfd,e,t,r)):(o=-1,n)}return}}catch(n){return u=n,o=-1,Ze}finally{if(bt(a,u),_t.asleep)return void 0===l&&(l={$blk:h.ptr.prototype.SetsockoptIPMreqn}),l.err=n,l.fd=i,l.level=e,l.mreq=r,l.name=t,l.$s=o,l.$deferred=a,l.$r=c,l}},h.prototype.SetsockoptIPMreqn=function(e,t,r){return this.$val.SetsockoptIPMreqn(e,t,r)},h.ptr.prototype.SetsockoptByte=function(e,t,r){var n,i,o,a,c,l;o=0,void 0!==this&&void 0!==this.$blk&&(r=(l=this).arg,n=l.err,i=l.fd,e=l.level,t=l.name,o=l.$s,a=l.$deferred,c=l.$r);var u=null;try{for(;1;){switch(o){case 0:return(a=[]).index=_t.deferStack.length,_t.deferStack.push(a),n=(i=this).incref(),F(n,Ze)?(a.push([d(i,"decref"),[]]),o=-1,s.SetsockoptByte(i.Sysfd,e,t,r)):(o=-1,n)}return}}catch(n){return u=n,o=-1,Ze}finally{if(bt(a,u),_t.asleep)return void 0===l&&(l={$blk:h.ptr.prototype.SetsockoptByte}),l.arg=r,l.err=n,l.fd=i,l.level=e,l.name=t,l.$s=o,l.$deferred=a,l.$r=c,l}},h.prototype.SetsockoptByte=function(e,t,r){return this.$val.SetsockoptByte(e,t,r)},h.ptr.prototype.SetsockoptIPMreq=function(e,t,r){var n,i,o,a,c,l;o=0,void 0!==this&&void 0!==this.$blk&&(n=(l=this).err,i=l.fd,e=l.level,r=l.mreq,t=l.name,o=l.$s,a=l.$deferred,c=l.$r);var u=null;try{for(;1;){switch(o){case 0:return(a=[]).index=_t.deferStack.length,_t.deferStack.push(a),n=(i=this).incref(),F(n,Ze)?(a.push([d(i,"decref"),[]]),o=-1,s.SetsockoptIPMreq(i.Sysfd,e,t,r)):(o=-1,n)}return}}catch(n){return u=n,o=-1,Ze}finally{if(bt(a,u),_t.asleep)return void 0===l&&(l={$blk:h.ptr.prototype.SetsockoptIPMreq}),l.err=n,l.fd=i,l.level=e,l.mreq=r,l.name=t,l.$s=o,l.$deferred=a,l.$r=c,l}},h.prototype.SetsockoptIPMreq=function(e,t,r){return this.$val.SetsockoptIPMreq(e,t,r)},h.ptr.prototype.SetsockoptIPv6Mreq=function(e,t,r){var n,i,o,a,c,l;o=0,void 0!==this&&void 0!==this.$blk&&(n=(l=this).err,i=l.fd,e=l.level,r=l.mreq,t=l.name,o=l.$s,a=l.$deferred,c=l.$r);var u=null;try{for(;1;){switch(o){case 0:return(a=[]).index=_t.deferStack.length,_t.deferStack.push(a),n=(i=this).incref(),F(n,Ze)?(a.push([d(i,"decref"),[]]),o=-1,s.SetsockoptIPv6Mreq(i.Sysfd,e,t,r)):(o=-1,n)}return}}catch(n){return u=n,o=-1,Ze}finally{if(bt(a,u),_t.asleep)return void 0===l&&(l={$blk:h.ptr.prototype.SetsockoptIPv6Mreq}),l.err=n,l.fd=i,l.level=e,l.mreq=r,l.name=t,l.$s=o,l.$deferred=a,l.$r=c,l}},h.prototype.SetsockoptIPv6Mreq=function(e,t,r){return this.$val.SetsockoptIPv6Mreq(e,t,r)},h.ptr.prototype.Writev=function(e){var t,n,o,a,c,l,u,p,$,m,g,b,v,y,k,E,S,P,C;S=0;var O,R=!1;void 0!==this&&void 0!==this.$blk&&(R=!0,t=(O=this)._i,n=O._r,o=O._ref,a=O._tuple,c=O.chunk,l=O.err,u=O.err$1,p=O.err$2,$=O.fd,m=O.iovecs,g=O.maxVec,b=O.n,e=O.v,v=O.wrote,y=O.x,k=O.x$1,E=O.x$2,S=O.$s,P=O.$deferred,C=O.$r);var B=null;try{e:for(;1;){switch(S){case 0:(P=[]).index=_t.deferStack.length,_t.deferStack.push(P),m=[m],n=($=this).writeLock(),S=1;case 1:if(R&&(R=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(!F(l=n,Ze))return S=-1,[new De(0,0),l];if(P.push([d($,"writeUnlock"),[]]),u=$.pd.prepareWrite($.isFile),!F(u,Ze))return S=-1,[new De(0,0),u];m[0]=w.nil,$.iovecs!==_.nil&&(m[0]=$.iovecs.$get()),g=1024,b=new De(0,0),p=Ze;case 2:if(!(e.$get().$length>0)){S=3;continue}m[0]=f(m[0],0,0),o=e.$get(),t=0;case 4:if(!(t<o.$length)){S=5;continue}if(0===(c=t<0||t>=o.$length?void i("index out of range"):o.$array[o.$offset+t]).$length){t++,S=4;continue}if(m[0]=D(m[0],new s.Iovec.ptr(lt(c.$array,c.$offset+0,x),new Re(0,0))),$.IsStream&&c.$length>1073741824){(y=m[0].$length-1>>0,y<0||y>=m[0].$length?void i("index out of range"):m[0].$array[m[0].$offset+y]).SetLen(1073741824),S=5;continue}if((k=m[0].$length-1>>0,k<0||k>=m[0].$length?void i("index out of range"):m[0].$array[m[0].$offset+k]).SetLen(c.$length),m[0].$length===g){S=5;continue}t++,S=4;continue;case 5:if(0===m[0].$length){S=3;continue}$.iovecs=m.$ptr||(m.$ptr=new _((function(){return this.$target[0]}),(function(e){this.$target[0]=e}),m)),v=0,v=(a=Q($.Sysfd,m[0]))[0],p=a[1],4294967295===v&&(v=0),C=te.TestHookDidWritev(v>>0),S=6;case 6:if(R&&(R=!1,C=C.$blk()),C&&void 0!==C.$blk)break e;if(E=new De(0,v.constructor===Number?v:1),b=new De(b.$high+E.$high,b.$low+E.$low),X(e,new De(0,v.constructor===Number?v:1)),!F(p,Ze)){if(11===ht(p,s.Errno)&&(p=$.pd.waitWrite($.isFile),F(p,Ze))){S=2;continue}S=3;continue}if(0===b.$high&&0===b.$low){p=r.ErrUnexpectedEOF,S=3;continue}S=2;continue;case 3:return S=-1,[b,p]}return}}catch(l){return B=l,S=-1,[new De(0,0),Ze]}finally{if(bt(P,B),_t.asleep)return void 0===O&&(O={$blk:h.ptr.prototype.Writev}),O._i=t,O._r=n,O._ref=o,O._tuple=a,O.chunk=c,O.err=l,O.err$1=u,O.err$2=p,O.fd=$,O.iovecs=m,O.maxVec=g,O.n=b,O.v=e,O.wrote=v,O.x=y,O.x$1=k,O.x$2=E,O.$s=S,O.$deferred=P,O.$r=C,O}},h.prototype.Writev=function(e){return this.$val.Writev(e)},P.methods=[{prop:"init",name:"init",pkg:"internal/poll",typ:Ke([S],[Ye],!1)},{prop:"close",name:"close",pkg:"internal/poll",typ:Ke([],[],!1)},{prop:"evict",name:"evict",pkg:"internal/poll",typ:Ke([],[],!1)},{prop:"prepare",name:"prepare",pkg:"internal/poll",typ:Ke([_e,we],[Ye],!1)},{prop:"prepareRead",name:"prepareRead",pkg:"internal/poll",typ:Ke([we],[Ye],!1)},{prop:"prepareWrite",name:"prepareWrite",pkg:"internal/poll",typ:Ke([we],[Ye],!1)},{prop:"wait",name:"wait",pkg:"internal/poll",typ:Ke([_e,we],[Ye],!1)},{prop:"waitRead",name:"waitRead",pkg:"internal/poll",typ:Ke([we],[Ye],!1)},{prop:"waitWrite",name:"waitWrite",pkg:"internal/poll",typ:Ke([we],[Ye],!1)},{prop:"waitCanceled",name:"waitCanceled",pkg:"internal/poll",typ:Ke([_e],[],!1)},{prop:"pollable",name:"pollable",pkg:"internal/poll",typ:Ke([],[we],!1)}],C.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)},{prop:"Timeout",name:"Timeout",pkg:"",typ:Ke([],[we],!1)},{prop:"Temporary",name:"Temporary",pkg:"",typ:Ke([],[we],!1)}],O.methods=[{prop:"incref",name:"incref",pkg:"internal/poll",typ:Ke([],[we],!1)},{prop:"increfAndClose",name:"increfAndClose",pkg:"internal/poll",typ:Ke([],[we],!1)},{prop:"decref",name:"decref",pkg:"internal/poll",typ:Ke([],[we],!1)},{prop:"rwlock",name:"rwlock",pkg:"internal/poll",typ:Ke([we],[we],!1)},{prop:"rwunlock",name:"rwunlock",pkg:"internal/poll",typ:Ke([we],[we],!1)}],S.methods=[{prop:"SetDeadline",name:"SetDeadline",pkg:"",typ:Ke([c.Time],[Ye],!1)},{prop:"SetReadDeadline",name:"SetReadDeadline",pkg:"",typ:Ke([c.Time],[Ye],!1)},{prop:"SetWriteDeadline",name:"SetWriteDeadline",pkg:"",typ:Ke([c.Time],[Ye],!1)},{prop:"Fsync",name:"Fsync",pkg:"",typ:Ke([],[Ye],!1)},{prop:"incref",name:"incref",pkg:"internal/poll",typ:Ke([],[Ye],!1)},{prop:"decref",name:"decref",pkg:"internal/poll",typ:Ke([],[Ye],!1)},{prop:"readLock",name:"readLock",pkg:"internal/poll",typ:Ke([],[Ye],!1)},{prop:"readUnlock",name:"readUnlock",pkg:"internal/poll",typ:Ke([],[],!1)},{prop:"writeLock",name:"writeLock",pkg:"internal/poll",typ:Ke([],[Ye],!1)},{prop:"writeUnlock",name:"writeUnlock",pkg:"internal/poll",typ:Ke([],[],!1)},{prop:"eofError",name:"eofError",pkg:"internal/poll",typ:Ke([_e,Ye],[Ye],!1)},{prop:"Fchmod",name:"Fchmod",pkg:"",typ:Ke([Fe],[Ye],!1)},{prop:"Fchown",name:"Fchown",pkg:"",typ:Ke([_e,_e],[Ye],!1)},{prop:"Ftruncate",name:"Ftruncate",pkg:"",typ:Ke([De],[Ye],!1)},{prop:"Init",name:"Init",pkg:"",typ:Ke([Te,we],[Ye],!1)},{prop:"destroy",name:"destroy",pkg:"internal/poll",typ:Ke([],[Ye],!1)},{prop:"Close",name:"Close",pkg:"",typ:Ke([],[Ye],!1)},{prop:"Shutdown",name:"Shutdown",pkg:"",typ:Ke([_e],[Ye],!1)},{prop:"SetBlocking",name:"SetBlocking",pkg:"",typ:Ke([],[Ye],!1)},{prop:"Read",name:"Read",pkg:"",typ:Ke([R],[_e,Ye],!1)},{prop:"Pread",name:"Pread",pkg:"",typ:Ke([R,De],[_e,Ye],!1)},{prop:"ReadFrom",name:"ReadFrom",pkg:"",typ:Ke([R],[_e,s.Sockaddr,Ye],!1)},{prop:"ReadMsg",name:"ReadMsg",pkg:"",typ:Ke([R,R],[_e,_e,_e,s.Sockaddr,Ye],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([R],[_e,Ye],!1)},{prop:"Pwrite",name:"Pwrite",pkg:"",typ:Ke([R,De],[_e,Ye],!1)},{prop:"WriteTo",name:"WriteTo",pkg:"",typ:Ke([R,s.Sockaddr],[_e,Ye],!1)},{prop:"WriteMsg",name:"WriteMsg",pkg:"",typ:Ke([R,R,s.Sockaddr],[_e,_e,Ye],!1)},{prop:"Accept",name:"Accept",pkg:"",typ:Ke([],[_e,s.Sockaddr,Te,Ye],!1)},{prop:"Seek",name:"Seek",pkg:"",typ:Ke([De,_e],[De,Ye],!1)},{prop:"ReadDirent",name:"ReadDirent",pkg:"",typ:Ke([R],[_e,Ye],!1)},{prop:"Fchdir",name:"Fchdir",pkg:"",typ:Ke([],[Ye],!1)},{prop:"Fstat",name:"Fstat",pkg:"",typ:Ke([B],[Ye],!1)},{prop:"Dup",name:"Dup",pkg:"",typ:Ke([],[_e,Te,Ye],!1)},{prop:"WaitWrite",name:"WaitWrite",pkg:"",typ:Ke([],[Ye],!1)},{prop:"WriteOnce",name:"WriteOnce",pkg:"",typ:Ke([R],[_e,Ye],!1)},{prop:"RawControl",name:"RawControl",pkg:"",typ:Ke([A],[Ye],!1)},{prop:"RawRead",name:"RawRead",pkg:"",typ:Ke([I],[Ye],!1)},{prop:"RawWrite",name:"RawWrite",pkg:"",typ:Ke([I],[Ye],!1)},{prop:"SetsockoptInt",name:"SetsockoptInt",pkg:"",typ:Ke([_e,_e,_e],[Ye],!1)},{prop:"SetsockoptInet4Addr",name:"SetsockoptInet4Addr",pkg:"",typ:Ke([_e,_e,k],[Ye],!1)},{prop:"SetsockoptLinger",name:"SetsockoptLinger",pkg:"",typ:Ke([_e,_e,j],[Ye],!1)},{prop:"SetsockoptIPMreqn",name:"SetsockoptIPMreqn",pkg:"",typ:Ke([_e,_e,T],[Ye],!1)},{prop:"SetsockoptByte",name:"SetsockoptByte",pkg:"",typ:Ke([_e,_e,Ce],[Ye],!1)},{prop:"SetsockoptIPMreq",name:"SetsockoptIPMreq",pkg:"",typ:Ke([_e,_e,L],[Ye],!1)},{prop:"SetsockoptIPv6Mreq",name:"SetsockoptIPv6Mreq",pkg:"",typ:Ke([_e,_e,M],[Ye],!1)},{prop:"Writev",name:"Writev",pkg:"",typ:Ke([z],[De,Ye],!1)}],l.init("internal/poll",[{prop:"closing",name:"closing",embedded:!1,exported:!1,typ:we,tag:""}]),u.init("",[]),p.init("internal/poll",[{prop:"state",name:"state",embedded:!1,exported:!1,typ:Re,tag:""},{prop:"rsema",name:"rsema",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"wsema",name:"wsema",embedded:!1,exported:!1,typ:Fe,tag:""}]),h.init("internal/poll",[{prop:"fdmu",name:"fdmu",embedded:!1,exported:!1,typ:p,tag:""},{prop:"Sysfd",name:"Sysfd",embedded:!1,exported:!0,typ:_e,tag:""},{prop:"pd",name:"pd",embedded:!1,exported:!1,typ:l,tag:""},{prop:"iovecs",name:"iovecs",embedded:!1,exported:!1,typ:_,tag:""},{prop:"csema",name:"csema",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"isBlocking",name:"isBlocking",embedded:!1,exported:!1,typ:Fe,tag:""},{prop:"IsStream",name:"IsStream",embedded:!1,exported:!0,typ:we,tag:""},{prop:"ZeroReadIsEOF",name:"ZeroReadIsEOF",embedded:!1,exported:!0,typ:we,tag:""},{prop:"isFile",name:"isFile",embedded:!1,exported:!1,typ:we,tag:""}]),e=function(){te.$init=function(){};var i,o,l=!1,p=0;void 0!==this&&void 0!==this.$blk&&(l=!0,p=(i=this).$s,o=i.$r);e:for(;1;){switch(p){case 0:o=t.$init(),p=1;case 1:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),p=2;case 2:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=n.$init(),p=3;case 3:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=a.$init(),p=4;case 4:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=s.$init(),p=5;case 5:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=c.$init(),p=6;case 6:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;U={},te.ErrNetClosing=t.New("use of closed network connection"),te.ErrFileClosing=t.New("use of closed file"),te.ErrNoDeadline=t.New("file type does not support deadline"),te.ErrTimeout=new u.ptr,te.TestHookDidWritev=function(e){},V=1,te.Accept4Func=s.Accept4,te.CloseFunc=s.Close,te.AcceptFunc=s.Accept}return}return void 0===i&&(i={$blk:e}),i.$s=p,i.$r=o,i},te.$init=e,te}(),o["internal/syscall/unix"]=function(){var e,t,r,n,i={};return t=o["sync/atomic"],r=o["syscall"],n=function(e){return[!1,Ze]},i.IsNonblock=n,e=function(){i.$init=function(){};var n,o,a=!1,s=0;void 0!==this&&void 0!==this.$blk&&(a=!0,s=(n=this).$s,o=n.$r);e:for(;1;){switch(s){case 0:o=t.$init(),s=1;case 1:if(a&&(a=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),s=2;case 2:if(a&&(a=!1,o=o.$blk()),o&&void 0!==o.$blk)break e}return}return void 0===n&&(n={$blk:e}),n.$s=s,n.$r=o,n},i.$init=e,i}(),o["internal/testlog"]=function(){var e,t,r,n,i,a,s,c={};return t=o["sync/atomic"],r=c.Interface=ye(8,ce,"testlog.Interface",!0,"internal/testlog",!0,null),n=st(r),a=function(){var e;return e=i.Load(),F(e,Ze)?Ze:ht(e,n).$get()},c.Logger=a,s=function(e){var t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,t=(i=this).log,e=i.name,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:if(t=a(),!F(t,Ze)){r=1;continue}r=2;continue;case 1:n=t.Stat(e),r=3;case 3:if(o&&(o=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;case 2:return void(r=-1)}return}return void 0===i&&(i={$blk:s}),i.log=t,i.name=e,i.$s=r,i.$r=n,i},c.Stat=s,r.init([{prop:"Chdir",name:"Chdir",pkg:"",typ:Ke([Te],[],!1)},{prop:"Getenv",name:"Getenv",pkg:"",typ:Ke([Te],[],!1)},{prop:"Open",name:"Open",pkg:"",typ:Ke([Te],[],!1)},{prop:"Stat",name:"Stat",pkg:"",typ:Ke([Te],[],!1)}]),e=function(){c.$init=function(){};var r,n,o=!1,a=0;void 0!==this&&void 0!==this.$blk&&(o=!0,a=(r=this).$s,n=r.$r);e:for(;1;){switch(a){case 0:n=t.$init(),a=1;case 1:if(o&&(o=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;i=new t.Value.ptr(Ze)}return}return void 0===r&&(r={$blk:e}),r.$s=a,r.$r=n,r},c.$init=e,c}(),o["os"]=function(){var e,r,n,a,s,c,l,u,p,d,$,g,y,k,w,_,x,S,P,C,O,R,A,I,j,N,T,L,M,W,z,U,V,q,H,G,K,X,J,Z,Q,ee,te,re,ne,ie,oe,ae,se,le,ue,pe,de,he,$e,me,ge,be,ve,ke,xe,Ee,Se={};return r=o["errors"],n=o["github.com/gopherjs/gopherjs/js"],a=o["internal/poll"],s=o["internal/syscall/unix"],c=o["internal/testlog"],l=o["io"],u=o["runtime"],p=o["sync"],d=o["sync/atomic"],$=o["syscall"],g=o["time"],y=Se.dirInfo=ye(0,fe,"os.dirInfo",!0,"os",!1,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.buf=L.nil,this.nbuf=0,void(this.bufp=0);this.buf=e,this.nbuf=t,this.bufp=r})),k=Se.timeout=ye(8,ce,"os.timeout",!0,"os",!1,null),w=Se.PathError=ye(0,fe,"os.PathError",!0,"os",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.Op="",this.Path="",void(this.Err=Ze);this.Op=e,this.Path=t,this.Err=r})),_=Se.SyscallError=ye(0,fe,"os.SyscallError",!0,"os",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.Syscall="",void(this.Err=Ze);this.Syscall=e,this.Err=t})),x=Se.LinkError=ye(0,fe,"os.LinkError",!0,"os",!0,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.Op="",this.Old="",this.New="",void(this.Err=Ze);this.Op=e,this.Old=t,this.New=r,this.Err=n})),S=Se.file=ye(0,fe,"os.file",!0,"os",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.pfd=new a.FD.ptr(new a.fdMutex.ptr(new Re(0,0),0,0),0,new a.pollDesc.ptr(!1),V.nil,0,0,!1,!1,!1),this.name="",this.dirinfo=T.nil,this.nonblock=!1,void(this.stdoutOrErr=!1);this.pfd=e,this.name=t,this.dirinfo=r,this.nonblock=n,this.stdoutOrErr=i})),P=Se.rawConn=ye(0,fe,"os.rawConn",!0,"os",!1,(function(e){this.$val=this,0!==arguments.length?this.file=e:this.file=j.nil})),C=Se.File=ye(0,fe,"os.File",!0,"os",!0,(function(e){this.$val=this,0!==arguments.length?this.file=e:this.file=H.nil})),O=Se.FileInfo=ye(8,ce,"os.FileInfo",!0,"os",!0,null),R=Se.FileMode=ye(4,Y,"os.FileMode",!0,"os",!0,null),A=Se.fileStat=ye(0,fe,"os.fileStat",!0,"os",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.name="",this.size=new De(0,0),this.mode=0,this.modTime=new g.Time.ptr(new Re(0,0),new De(0,0),K.nil),void(this.sys=new $.Stat_t.ptr(new Re(0,0),new Re(0,0),new Re(0,0),0,0,0,0,new Re(0,0),new De(0,0),new De(0,0),new De(0,0),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),q.zero()));this.name=e,this.size=t,this.mode=r,this.modTime=n,this.sys=i})),I=ut(Te),j=st(C),N=ut(O),T=st(y),L=ut(Ce),M=st(w),W=st(x),z=st(_),U=ut($.Iovec),V=st(U),q=Ue(De,3),H=st(S),G=Ke([H],[Ye],!1),K=st(g.Location),X=Ue(Ce,32),J=st(A),Z=Ke([Be],[],!1),Q=Ke([Be],[we],!1),ee=st(P),re=function(){return Se.Args},ne=function(){var e,r,n;if(void 0!==(n=t.process))for(e=n.argv,Se.Args=pt(I,B(e.length)-1>>0),r=0;1&&r<B(e.length)-1>>0;)r<0||r>=Se.Args.$length?i("index out of range"):Se.Args.$array[Se.Args.$offset+r]=Nt(e[r+1>>0],Te),r=r+1>>0;0===Se.Args.$length&&(Se.Args=new I(["?"]))},C.ptr.prototype.Readdir=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,r=o.f,e=o.n,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:if((r=this)===j.nil)return n=-1,[N.nil,Se.ErrInvalid];t=r.readdir(e),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:C.ptr.prototype.Readdir}),o._r=t,o.f=r,o.n=e,o.$s=n,o.$r=i,o},C.prototype.Readdir=function(e){return this.$val.Readdir(e)},C.ptr.prototype.Readdirnames=function(e){var t,r,n,i,o,a,s,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,t=(u=this)._r,r=u._tmp,n=u._tmp$1,i=u._tuple,o=u.err,a=u.f,e=u.n,s=u.names,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:if(s=I.nil,o=Ze,(a=this)===j.nil)return c=-1,[s=r=I.nil,o=n=Se.ErrInvalid];t=a.readdirnames(e),c=1;case 1:if(p&&(p=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return c=-1,[s=(i=t)[0],o=i[1]]}return}return void 0===u&&(u={$blk:C.ptr.prototype.Readdirnames}),u._r=t,u._tmp=r,u._tmp$1=n,u._tuple=i,u.err=o,u.f=a,u.n=e,u.names=s,u.$s=c,u.$r=l,u},C.prototype.Readdirnames=function(e){return this.$val.Readdirnames(e)},y.ptr.prototype.close=function(){},y.prototype.close=function(){return this.$val.close()},C.ptr.prototype.readdirnames=function(e){var t,r,n,i,o,a,s,c,p,d,h,m,g,b,v,k,w,_,x,E,S;E=0;var D,P=!1;void 0!==this&&void 0!==this.$blk&&(P=!0,t=(D=this)._r,r=D._tmp,n=D._tmp$1,i=D._tmp$2,o=D._tmp$3,a=D._tmp$4,s=D._tmp$5,c=D._tmp$6,p=D._tmp$7,d=D._tuple,h=D._tuple$1,m=D.d,g=D.err,b=D.errno,v=D.f,e=D.n,k=D.names,w=D.nb,_=D.nc,x=D.size,E=D.$s,S=D.$r);e:for(;1;){switch(E){case 0:k=I.nil,g=Ze,(v=this).file.dirinfo===T.nil&&(v.file.dirinfo=new y.ptr(L.nil,0,0),v.file.dirinfo.buf=pt(L,8192)),m=v.file.dirinfo,(x=e)<=0&&(x=100,e=-1),k=pt(I,0,x);case 1:if(0===e){E=2;continue}if(m.bufp>=m.nbuf){E=3;continue}E=4;continue;case 3:m.bufp=0,b=Ze,t=v.file.pfd.ReadDirent(m.buf),E=5;case 5:if(P&&(P=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(d=t,m.nbuf=d[0],b=d[1],u.KeepAlive(v),!F(b,Ze))return E=-1,[k=r=k,g=n=se("readdirent",b)];if(m.nbuf<=0){E=2;continue}case 4:w=i=0,_=o=0,w=(h=$.ParseDirent(f(m.buf,m.bufp,m.nbuf),e,k))[0],_=h[1],k=h[2],m.bufp=m.bufp+w>>0,e=e-_>>0,E=1;continue;case 2:return e>=0&&0===k.$length?(E=-1,[k=a=k,g=s=l.EOF]):(E=-1,[k=c=k,g=p=Ze])}return}return void 0===D&&(D={$blk:C.ptr.prototype.readdirnames}),D._r=t,D._tmp=r,D._tmp$1=n,D._tmp$2=i,D._tmp$3=o,D._tmp$4=a,D._tmp$5=s,D._tmp$6=c,D._tmp$7=p,D._tuple=d,D._tuple$1=h,D.d=m,D.err=g,D.errno=b,D.f=v,D.n=e,D.names=k,D.nb=w,D.nc=_,D.size=x,D.$s=E,D.$r=S,D},C.prototype.readdirnames=function(e){return this.$val.readdirnames(e)},w.ptr.prototype.Error=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.e,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).Err.Error(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,t.Op+" "+t.Path+": "+e}return}return void 0===i&&(i={$blk:w.ptr.prototype.Error}),i._r=e,i.e=t,i.$s=r,i.$r=n,i},w.prototype.Error=function(){return this.$val.Error()},w.ptr.prototype.Timeout=function(){var e,t,r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,e=(c=this)._r,t=c._tuple,r=c._v,n=c.e,i=c.ok,o=c.t,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:if(o=(t=ht((n=this).Err,k,!0))[0],!(i=t[1])){r=!1,a=1;continue e}e=o.Timeout(),a=2;case 2:if(l&&(l=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;r=e;case 1:return a=-1,r}return}return void 0===c&&(c={$blk:w.ptr.prototype.Timeout}),c._r=e,c._tuple=t,c._v=r,c.e=n,c.ok=i,c.t=o,c.$s=a,c.$r=s,c},w.prototype.Timeout=function(){return this.$val.Timeout()},_.ptr.prototype.Error=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.e,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).Err.Error(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,t.Syscall+": "+e}return}return void 0===i&&(i={$blk:_.ptr.prototype.Error}),i._r=e,i.e=t,i.$s=r,i.$r=n,i},_.prototype.Error=function(){return this.$val.Error()},_.ptr.prototype.Timeout=function(){var e,t,r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,e=(c=this)._r,t=c._tuple,r=c._v,n=c.e,i=c.ok,o=c.t,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:if(o=(t=ht((n=this).Err,k,!0))[0],!(i=t[1])){r=!1,a=1;continue e}e=o.Timeout(),a=2;case 2:if(l&&(l=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;r=e;case 1:return a=-1,r}return}return void 0===c&&(c={$blk:_.ptr.prototype.Timeout}),c._r=e,c._tuple=t,c._v=r,c.e=n,c.ok=i,c.t=o,c.$s=a,c.$r=s,c},_.prototype.Timeout=function(){return this.$val.Timeout()},ie=function(e,t){return F(t,Ze)?Ze:new _.ptr(e,t)},Se.NewSyscallError=ie,oe=function(e){return le(e)},Se.IsNotExist=oe,ae=function(e){var t;return ht(t=e,M,!0)[1]||ht(t,W,!0)[1]||ht(t,z,!0)[1]?t.$val.Err:e},se=function(e,t){return ht(t,$.Errno,!0)[1]&&(t=ie(e,t)),t},le=function(e){return e=ae(e),F(e,new $.Errno(2))||F(e,Se.ErrNotExist)},C.ptr.prototype.Name=function(){return this.file.name},C.prototype.Name=function(){return this.$val.Name()},x.ptr.prototype.Error=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.e,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).Err.Error(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,t.Op+" "+t.Old+" "+t.New+": "+e}return}return void 0===i&&(i={$blk:x.ptr.prototype.Error}),i._r=e,i.e=t,i.$s=r,i.$r=n,i},x.prototype.Error=function(){return this.$val.Error()},C.ptr.prototype.Read=function(e){var t,r,n,i,o,a,s,c,l,u,p,d,f;d=0;var h,$=!1;void 0!==this&&void 0!==this.$blk&&($=!0,t=(h=this)._r,r=h._tmp,n=h._tmp$1,i=h._tmp$2,o=h._tmp$3,a=h._tuple,e=h.b,s=h.e,c=h.err,l=h.err$1,u=h.f,p=h.n,d=h.$s,f=h.$r);e:for(;1;){switch(d){case 0:if(p=0,c=Ze,l=(u=this).checkValid("read"),!F(l,Ze))return d=-1,[p=r=0,c=n=l];t=u.read(e),d=1;case 1:if($&&($=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return p=(a=t)[0],s=a[1],d=-1,[p=i=p,c=o=u.wrapErr("read",s)]}return}return void 0===h&&(h={$blk:C.ptr.prototype.Read}),h._r=t,h._tmp=r,h._tmp$1=n,h._tmp$2=i,h._tmp$3=o,h._tuple=a,h.b=e,h.e=s,h.err=c,h.err$1=l,h.f=u,h.n=p,h.$s=d,h.$r=f,h},C.prototype.Read=function(e){return this.$val.Read(e)},C.ptr.prototype.ReadAt=function(e,t){var n,i,o,a,s,c,l,u,p,d,h,$,m,g,b;g=0;var v,y=!1;void 0!==this&&void 0!==this.$blk&&(y=!0,n=(v=this)._r,i=v._tmp,o=v._tmp$1,a=v._tmp$2,s=v._tmp$3,c=v._tuple,e=v.b,l=v.e,u=v.err,p=v.err$1,d=v.f,h=v.m,$=v.n,t=v.off,m=v.x,g=v.$s,b=v.$r);e:for(;1;){switch(g){case 0:if($=0,u=Ze,p=(d=this).checkValid("read"),!F(p,Ze))return g=-1,[$=i=0,u=o=p];if(t.$high<0||0===t.$high&&t.$low<0)return g=-1,[$=a=0,u=s=new w.ptr("readat",d.file.name,r.New("negative offset"))];case 1:if(!(e.$length>0)){g=2;continue}n=d.pread(e,t),g=3;case 3:if(y&&(y=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(h=(c=n)[0],l=c[1],!F(l,Ze)){u=d.wrapErr("read",l),g=2;continue}$=$+h>>0,e=f(e,h),m=new De(0,h),t=new De(t.$high+m.$high,t.$low+m.$low),g=1;continue;case 2:return g=-1,[$,u]}return}return void 0===v&&(v={$blk:C.ptr.prototype.ReadAt}),v._r=n,v._tmp=i,v._tmp$1=o,v._tmp$2=a,v._tmp$3=s,v._tuple=c,v.b=e,v.e=l,v.err=u,v.err$1=p,v.f=d,v.m=h,v.n=$,v.off=t,v.x=m,v.$s=g,v.$r=b,v},C.prototype.ReadAt=function(e,t){return this.$val.ReadAt(e,t)},C.ptr.prototype.Write=function(e){var t,r,n,i,o,a,s,c,u,p,d,f,h;f=0;var $,m=!1;void 0!==this&&void 0!==this.$blk&&(m=!0,t=($=this)._r,r=$._tmp,n=$._tmp$1,i=$._tmp$2,o=$._tmp$3,a=$._tuple,e=$.b,s=$.e,c=$.err,u=$.err$1,p=$.f,d=$.n,f=$.$s,h=$.$r);e:for(;1;){switch(f){case 0:if(d=0,c=Ze,u=(p=this).checkValid("write"),!F(u,Ze))return f=-1,[d=r=0,c=n=u];t=p.write(e),f=1;case 1:if(m&&(m=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return d=(a=t)[0],s=a[1],d<0&&(d=0),d!==e.$length&&(c=l.ErrShortWrite),$e(p,s),F(s,Ze)||(c=p.wrapErr("write",s)),f=-1,[d=i=d,c=o=c]}return}return void 0===$&&($={$blk:C.ptr.prototype.Write}),$._r=t,$._tmp=r,$._tmp$1=n,$._tmp$2=i,$._tmp$3=o,$._tuple=a,$.b=e,$.e=s,$.err=c,$.err$1=u,$.f=p,$.n=d,$.$s=f,$.$r=h,$},C.prototype.Write=function(e){return this.$val.Write(e)},C.ptr.prototype.WriteAt=function(e,t){var n,i,o,a,s,c,l,u,p,d,h,$,m,g,b;g=0;var v,y=!1;void 0!==this&&void 0!==this.$blk&&(y=!0,n=(v=this)._r,i=v._tmp,o=v._tmp$1,a=v._tmp$2,s=v._tmp$3,c=v._tuple,e=v.b,l=v.e,u=v.err,p=v.err$1,d=v.f,h=v.m,$=v.n,t=v.off,m=v.x,g=v.$s,b=v.$r);e:for(;1;){switch(g){case 0:if($=0,u=Ze,p=(d=this).checkValid("write"),!F(p,Ze))return g=-1,[$=i=0,u=o=p];if(t.$high<0||0===t.$high&&t.$low<0)return g=-1,[$=a=0,u=s=new w.ptr("writeat",d.file.name,r.New("negative offset"))];case 1:if(!(e.$length>0)){g=2;continue}n=d.pwrite(e,t),g=3;case 3:if(y&&(y=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(h=(c=n)[0],l=c[1],!F(l,Ze)){u=d.wrapErr("write",l),g=2;continue}$=$+h>>0,e=f(e,h),m=new De(0,h),t=new De(t.$high+m.$high,t.$low+m.$low),g=1;continue;case 2:return g=-1,[$,u]}return}return void 0===v&&(v={$blk:C.ptr.prototype.WriteAt}),v._r=n,v._tmp=i,v._tmp$1=o,v._tmp$2=a,v._tmp$3=s,v._tuple=c,v.b=e,v.e=l,v.err=u,v.err$1=p,v.f=d,v.m=h,v.n=$,v.off=t,v.x=m,v.$s=g,v.$r=b,v},C.prototype.WriteAt=function(e,t){return this.$val.WriteAt(e,t)},C.ptr.prototype.Seek=function(e,t){var r,n,i,o,a,s,c,l,u,p,d,f,h,m,g,b;g=0;var v,y=!1;void 0!==this&&void 0!==this.$blk&&(y=!0,r=(v=this)._r,n=v._tmp,i=v._tmp$1,o=v._tmp$2,a=v._tmp$3,s=v._tmp$4,c=v._tmp$5,l=v._tuple,u=v.e,p=v.err,d=v.err$1,f=v.f,e=v.offset,h=v.r,m=v.ret,t=v.whence,g=v.$s,b=v.$r);e:for(;1;){switch(g){case 0:if(m=new De(0,0),p=Ze,d=(f=this).checkValid("seek"),!F(d,Ze))return g=-1,[m=n=new De(0,0),p=i=d];r=f.seek(e,t),g=1;case 1:if(y&&(y=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return h=(l=r)[0],u=l[1],!F(u,Ze)||f.file.dirinfo===T.nil||0===h.$high&&0===h.$low||(u=new $.Errno(21)),F(u,Ze)?(g=-1,[m=s=h,p=c=Ze]):(g=-1,[m=o=new De(0,0),p=a=f.wrapErr("seek",u)])}return}return void 0===v&&(v={$blk:C.ptr.prototype.Seek}),v._r=r,v._tmp=n,v._tmp$1=i,v._tmp$2=o,v._tmp$3=a,v._tmp$4=s,v._tmp$5=c,v._tuple=l,v.e=u,v.err=p,v.err$1=d,v.f=f,v.offset=e,v.r=h,v.ret=m,v.whence=t,v.$s=g,v.$r=b,v},C.prototype.Seek=function(e,t){return this.$val.Seek(e,t)},C.ptr.prototype.WriteString=function(e){var t,r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,t=(c=this)._r,r=c._tuple,n=c.err,i=c.f,o=c.n,e=c.s,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:o=0,n=Ze,t=(i=this).Write(new L(b(e))),a=1;case 1:if(l&&(l=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return a=-1,[o=(r=t)[0],n=r[1]]}return}return void 0===c&&(c={$blk:C.ptr.prototype.WriteString}),c._r=t,c._tuple=r,c.err=n,c.f=i,c.n=o,c.s=e,c.$s=a,c.$r=s,c},C.prototype.WriteString=function(e){return this.$val.WriteString(e)},C.ptr.prototype.wrapErr=function(e,t){return F(t,Ze)||F(t,l.EOF)?t:(F(t,a.ErrFileClosing)&&(t=Se.ErrClosed),new w.ptr(e,this.file.name,t))},C.prototype.wrapErr=function(e,t){return this.$val.wrapErr(e,t)},C.ptr.prototype.Chmod=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,r=o.f,e=o.mode,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:t=(r=this).chmod(e),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return n=-1,t}return}return void 0===o&&(o={$blk:C.ptr.prototype.Chmod}),o._r=t,o.f=r,o.mode=e,o.$s=n,o.$r=i,o},C.prototype.Chmod=function(e){return this.$val.Chmod(e)},C.ptr.prototype.SetDeadline=function(e){return this.setDeadline(E(e,g.Time))},C.prototype.SetDeadline=function(e){return this.$val.SetDeadline(e)},C.ptr.prototype.SetReadDeadline=function(e){return this.setReadDeadline(E(e,g.Time))},C.prototype.SetReadDeadline=function(e){return this.$val.SetReadDeadline(e)},C.ptr.prototype.SetWriteDeadline=function(e){return this.setWriteDeadline(E(e,g.Time))},C.prototype.SetWriteDeadline=function(e){return this.$val.SetWriteDeadline(e)},C.ptr.prototype.SyscallConn=function(){var e,t;return t=this.checkValid("SyscallConn"),F(t,Ze)?[(e=be(this))[0],e[1]]:[Ze,t]},C.prototype.SyscallConn=function(){return this.$val.SyscallConn()},ue=function(){i("native function not implemented: os.sigpipe")},pe=function(e){var t;return t=((t=0)|new R(e).Perm()>>>0)>>>0,(8388608&e)>>>0!=0&&(t=(2048|t)>>>0),(4194304&e)>>>0!=0&&(t=(1024|t)>>>0),(1048576&e)>>>0!=0&&(t=(512|t)>>>0),t},C.ptr.prototype.chmod=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s.e,n=s.err,i=s.f,e=s.mode,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(n=(i=this).checkValid("chmod"),!F(n,Ze))return o=-1,n;t=i.file.pfd.Fchmod(pe(e)),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return F(r=t,Ze)?(o=-1,Ze):(o=-1,i.wrapErr("chmod",r))}return}return void 0===s&&(s={$blk:C.ptr.prototype.chmod}),s._r=t,s.e=r,s.err=n,s.f=i,s.mode=e,s.$s=o,s.$r=a,s},C.prototype.chmod=function(e){return this.$val.chmod(e)},C.ptr.prototype.Chown=function(e,t){var r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,r=(c=this)._r,n=c.e,i=c.err,o=c.f,t=c.gid,e=c.uid,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:if(i=(o=this).checkValid("chown"),!F(i,Ze))return a=-1,i;r=o.file.pfd.Fchown(e,t),a=1;case 1:if(l&&(l=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return F(n=r,Ze)?(a=-1,Ze):(a=-1,o.wrapErr("chown",n))}return}return void 0===c&&(c={$blk:C.ptr.prototype.Chown}),c._r=r,c.e=n,c.err=i,c.f=o,c.gid=t,c.uid=e,c.$s=a,c.$r=s,c},C.prototype.Chown=function(e,t){return this.$val.Chown(e,t)},C.ptr.prototype.Truncate=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s.e,n=s.err,i=s.f,e=s.size,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(n=(i=this).checkValid("truncate"),!F(n,Ze))return o=-1,n;t=i.file.pfd.Ftruncate(e),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return F(r=t,Ze)?(o=-1,Ze):(o=-1,i.wrapErr("truncate",r))}return}return void 0===s&&(s={$blk:C.ptr.prototype.Truncate}),s._r=t,s.e=r,s.err=n,s.f=i,s.size=e,s.$s=o,s.$r=a,s},C.prototype.Truncate=function(e){return this.$val.Truncate(e)},C.ptr.prototype.Sync=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a.e,r=a.err,n=a.f,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:if(r=(n=this).checkValid("sync"),!F(r,Ze))return i=-1,r;e=n.file.pfd.Fsync(),i=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return F(t=e,Ze)?(i=-1,Ze):(i=-1,n.wrapErr("sync",t))}return}return void 0===a&&(a={$blk:C.ptr.prototype.Sync}),a._r=e,a.e=t,a.err=r,a.f=n,a.$s=i,a.$r=o,a},C.prototype.Sync=function(){return this.$val.Sync()},C.ptr.prototype.Chdir=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a.e,r=a.err,n=a.f,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:if(r=(n=this).checkValid("chdir"),!F(r,Ze))return i=-1,r;e=n.file.pfd.Fchdir(),i=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return F(t=e,Ze)?(i=-1,Ze):(i=-1,n.wrapErr("chdir",t))}return}return void 0===a&&(a={$blk:C.ptr.prototype.Chdir}),a._r=e,a.e=t,a.err=r,a.f=n,a.$s=i,a.$r=o,a},C.prototype.Chdir=function(){return this.$val.Chdir()},C.ptr.prototype.setDeadline=function(e){var t;return t=this.checkValid("SetDeadline"),F(t,Ze)?this.file.pfd.SetDeadline(E(e,g.Time)):t},C.prototype.setDeadline=function(e){return this.$val.setDeadline(e)},C.ptr.prototype.setReadDeadline=function(e){var t;return t=this.checkValid("SetReadDeadline"),F(t,Ze)?this.file.pfd.SetReadDeadline(E(e,g.Time)):t},C.prototype.setReadDeadline=function(e){return this.$val.setReadDeadline(e)},C.ptr.prototype.setWriteDeadline=function(e){var t;return t=this.checkValid("SetWriteDeadline"),F(t,Ze)?this.file.pfd.SetWriteDeadline(E(e,g.Time)):t},C.prototype.setWriteDeadline=function(e){return this.$val.setWriteDeadline(e)},C.ptr.prototype.checkValid=function(e){return this===j.nil?Se.ErrInvalid:Ze},C.prototype.checkValid=function(e){return this.$val.checkValid(e)},C.ptr.prototype.Fd=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.f,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:if((t=this)===j.nil)return r=-1,4294967295;if(t.file.nonblock){r=1;continue}r=2;continue;case 1:e=t.file.pfd.SetBlocking(),r=3;case 3:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;case 2:return r=-1,t.file.pfd.Sysfd>>>0}return}return void 0===i&&(i={$blk:C.ptr.prototype.Fd}),i._r=e,i.f=t,i.$s=r,i.$r=n,i},C.prototype.Fd=function(){return this.$val.Fd()},de=function(e,t){var r,n,i,o;return i=0,o=(r=s.IsNonblock(e>>0))[0],n=r[1],F(n,Ze)&&o&&(i=3),he(e,t,i)},Se.NewFile=de,he=function(e,t,r){var n,i,o,s,c,l,p,d,f,h,m;return(p=e>>0)<0?j.nil:(l=new C.ptr(new S.ptr(new a.FD.ptr(new a.fdMutex.ptr(new Re(0,0),0,0),p,new a.pollDesc.ptr(!1),V.nil,0,0,!0,!0,!1),t,T.nil,!1,1===p||2===p)),d=1===r||2===r||3===r,1===r&&(f=new $.Stat_t.ptr(new Re(0,0),new Re(0,0),new Re(0,0),0,0,0,0,new Re(0,0),new De(0,0),new De(0,0),new De(0,0),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),q.zero()),"freebsd"==(n="linux")?d=!1:"dragonfly"===n||"netbsd"===n||"openbsd"===n?(i=$.Fstat(p,f),F(i,Ze)&&(61440&f.Mode)>>>0==32768&&(d=!1)):"darwin"===n&&(o=$.Fstat(p,f),!F(o,Ze)||(61440&f.Mode)>>>0!=4096&&(61440&f.Mode)>>>0!=32768||(d=!1))),s=l.file.pfd.Init("file",d),F(s,Ze)&&d&&(c=$.SetNonblock(p,!0),F(c,Ze)&&(l.file.nonblock=!0)),u.SetFinalizer(l.file,new G((void 0===(m=(h=H).prototype["close"]).$expr&&(m.$expr=function(){$t--;try{return h.wrapped&&(arguments[0]=new h(arguments[0])),Function.call.apply(m,arguments)}finally{$t++}}),m.$expr))),l)},$e=function(e,t){F(t,new $.Errno(32))&&e.file.stdoutOrErr&&ue()},C.ptr.prototype.Close=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.f,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:if((t=this)===j.nil)return r=-1,Se.ErrInvalid;e=t.file.close(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return r=-1,e}return}return void 0===i&&(i={$blk:C.ptr.prototype.Close}),i._r=e,i.f=t,i.$s=r,i.$r=n,i},C.prototype.Close=function(){return this.$val.Close()},S.ptr.prototype.close=function(){var e,t,r,n,i,o;i=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,e=(s=this)._r,t=s.e,r=s.err,n=s.file$1,i=s.$s,o=s.$r);e:for(;1;){switch(i){case 0:if((n=this)===H.nil)return i=-1,new $.Errno(22);n.dirinfo!==T.nil&&n.dirinfo.close(),r=Ze,e=n.pfd.Close(),i=1;case 1:if(c&&(c=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return F(t=e,Ze)||(F(t,a.ErrFileClosing)&&(t=Se.ErrClosed),r=new w.ptr("close",n.name,t)),u.SetFinalizer(n,Ze),i=-1,r}return}return void 0===s&&(s={$blk:S.ptr.prototype.close}),s._r=e,s.e=t,s.err=r,s.file$1=n,s.$s=i,s.$r=o,s},S.prototype.close=function(){return this.$val.close()},C.ptr.prototype.read=function(e){var t,r,n,i,o,a,s,c,l;c=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,t=(p=this)._r,r=p._tmp,n=p._tmp$1,i=p._tuple,e=p.b,o=p.err,a=p.f,s=p.n,c=p.$s,l=p.$r);e:for(;1;){switch(c){case 0:s=0,o=Ze,t=(a=this).file.pfd.Read(e),c=1;case 1:if(d&&(d=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return s=(i=t)[0],o=i[1],u.KeepAlive(a),c=-1,[s=r=s,o=n=o]}return}return void 0===p&&(p={$blk:C.ptr.prototype.read}),p._r=t,p._tmp=r,p._tmp$1=n,p._tuple=i,p.b=e,p.err=o,p.f=a,p.n=s,p.$s=c,p.$r=l,p},C.prototype.read=function(e){return this.$val.read(e)},C.ptr.prototype.pread=function(e,t){var r,n,i,o,a,s,c,l,p;l=0;var d,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,r=(d=this)._r,n=d._tmp,i=d._tmp$1,o=d._tuple,e=d.b,a=d.err,s=d.f,c=d.n,t=d.off,l=d.$s,p=d.$r);e:for(;1;){switch(l){case 0:c=0,a=Ze,r=(s=this).file.pfd.Pread(e,t),l=1;case 1:if(f&&(f=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return c=(o=r)[0],a=o[1],u.KeepAlive(s),l=-1,[c=n=c,a=i=a]}return}return void 0===d&&(d={$blk:C.ptr.prototype.pread}),d._r=r,d._tmp=n,d._tmp$1=i,d._tuple=o,d.b=e,d.err=a,d.f=s,d.n=c,d.off=t,d.$s=l,d.$r=p,d},C.prototype.pread=function(e,t){return this.$val.pread(e,t)},C.ptr.prototype.write=function(e){var t,r,n,i,o,a,s,c,l;c=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,t=(p=this)._r,r=p._tmp,n=p._tmp$1,i=p._tuple,e=p.b,o=p.err,a=p.f,s=p.n,c=p.$s,l=p.$r);e:for(;1;){switch(c){case 0:s=0,o=Ze,t=(a=this).file.pfd.Write(e),c=1;case 1:if(d&&(d=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return s=(i=t)[0],o=i[1],u.KeepAlive(a),c=-1,[s=r=s,o=n=o]}return}return void 0===p&&(p={$blk:C.ptr.prototype.write}),p._r=t,p._tmp=r,p._tmp$1=n,p._tuple=i,p.b=e,p.err=o,p.f=a,p.n=s,p.$s=c,p.$r=l,p},C.prototype.write=function(e){return this.$val.write(e)},C.ptr.prototype.pwrite=function(e,t){var r,n,i,o,a,s,c,l,p;l=0;var d,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,r=(d=this)._r,n=d._tmp,i=d._tmp$1,o=d._tuple,e=d.b,a=d.err,s=d.f,c=d.n,t=d.off,l=d.$s,p=d.$r);e:for(;1;){switch(l){case 0:c=0,a=Ze,r=(s=this).file.pfd.Pwrite(e,t),l=1;case 1:if(f&&(f=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return c=(o=r)[0],a=o[1],u.KeepAlive(s),l=-1,[c=n=c,a=i=a]}return}return void 0===d&&(d={$blk:C.ptr.prototype.pwrite}),d._r=r,d._tmp=n,d._tmp$1=i,d._tuple=o,d.b=e,d.err=a,d.f=s,d.n=c,d.off=t,d.$s=l,d.$r=p,d},C.prototype.pwrite=function(e,t){return this.$val.pwrite(e,t)},C.ptr.prototype.seek=function(e,t){var r,n,i,o,a,s,c,l,p;l=0;var d,f=!1;void 0!==this&&void 0!==this.$blk&&(f=!0,r=(d=this)._r,n=d._tmp,i=d._tmp$1,o=d._tuple,a=d.err,s=d.f,e=d.offset,c=d.ret,t=d.whence,l=d.$s,p=d.$r);e:for(;1;){switch(l){case 0:c=new De(0,0),a=Ze,r=(s=this).file.pfd.Seek(e,t),l=1;case 1:if(f&&(f=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return c=(o=r)[0],a=o[1],u.KeepAlive(s),l=-1,[c=n=c,a=i=a]}return}return void 0===d&&(d={$blk:C.ptr.prototype.seek}),d._r=r,d._tmp=n,d._tmp$1=i,d._tuple=o,d.err=a,d.f=s,d.offset=e,d.ret=c,d.whence=t,d.$s=l,d.$r=p,d},C.prototype.seek=function(e,t){return this.$val.seek(e,t)},C.ptr.prototype.readdir=function(e){var t,r,n,o,a,s,c,u,p,d,f,h,$,m,g,b,v,y,k,w;k=0;var _,x=!1;void 0!==this&&void 0!==this.$blk&&(x=!0,t=(_=this)._i,r=_._r,n=_._r$1,o=_._ref,a=_._tmp,s=_._tmp$1,c=_._tmp$2,u=_._tmp$3,p=_._tuple,d=_._tuple$1,f=_.dirname,h=_.err,$=_.f,m=_.fi,g=_.filename,b=_.fip,v=_.lerr,e=_.n,y=_.names,k=_.$s,w=_.$r);e:for(;1;){switch(k){case 0:m=N.nil,h=Ze,""===(f=($=this).file.name)&&(f="."),r=$.Readdirnames(e),k=1;case 1:if(x&&(x=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;y=(p=r)[0],h=p[1],m=pt(N,0,y.$length),o=y,t=0;case 2:if(!(t<o.$length)){k=3;continue}g=t<0||t>=o.$length?void i("index out of range"):o.$array[o.$offset+t],n=te(f+"/"+g),k=4;case 4:if(x&&(x=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(b=(d=n)[0],v=d[1],oe(v)){t++,k=2;continue}if(!F(v,Ze))return k=-1,[m=a=m,h=s=v];m=D(m,b),t++,k=2;continue;case 3:return 0===m.$length&&F(h,Ze)&&e>0&&(h=l.EOF),k=-1,[m=c=m,h=u=h]}return}return void 0===_&&(_={$blk:C.ptr.prototype.readdir}),_._i=t,_._r=r,_._r$1=n,_._ref=o,_._tmp=a,_._tmp$1=s,_._tmp$2=c,_._tmp$3=u,_._tuple=p,_._tuple$1=d,_.dirname=f,_.err=h,_.f=$,_.fi=m,_.filename=g,_.fip=b,_.lerr=v,_.n=e,_.names=y,_.$s=k,_.$r=w,_},C.prototype.readdir=function(e){return this.$val.readdir(e)},me=function(e){var t;for(t=e.length-1>>0;1&&t>0&&47===e.charCodeAt(t);)e=h(e,0,t),t=t-1>>0;for(t=t-1>>0;1&&t>=0;){if(47===e.charCodeAt(t)){e=h(e,t+1>>0);break}t=t-1>>0}return e},ge=function(){Se.Args=re()},P.ptr.prototype.Control=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s.c,n=s.err,i=s.err$1,e=s.f,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(n=(r=this).file.checkValid("SyscallConn.Control"),!F(n,Ze))return o=-1,n;t=r.file.file.pfd.RawControl(e),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=t,u.KeepAlive(r.file),o=-1,i}return}return void 0===s&&(s={$blk:P.ptr.prototype.Control}),s._r=t,s.c=r,s.err=n,s.err$1=i,s.f=e,s.$s=o,s.$r=a,s},P.prototype.Control=function(e){return this.$val.Control(e)},P.ptr.prototype.Read=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s.c,n=s.err,i=s.err$1,e=s.f,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(n=(r=this).file.checkValid("SyscallConn.Read"),!F(n,Ze))return o=-1,n;t=r.file.file.pfd.RawRead(e),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=t,u.KeepAlive(r.file),o=-1,i}return}return void 0===s&&(s={$blk:P.ptr.prototype.Read}),s._r=t,s.c=r,s.err=n,s.err$1=i,s.f=e,s.$s=o,s.$r=a,s},P.prototype.Read=function(e){return this.$val.Read(e)},P.ptr.prototype.Write=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s.c,n=s.err,i=s.err$1,e=s.f,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(n=(r=this).file.checkValid("SyscallConn.Write"),!F(n,Ze))return o=-1,n;t=r.file.file.pfd.RawWrite(e),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return i=t,u.KeepAlive(r.file),o=-1,i}return}return void 0===s&&(s={$blk:P.ptr.prototype.Write}),s._r=t,s.c=r,s.err=n,s.err$1=i,s.f=e,s.$s=o,s.$r=a,s},P.prototype.Write=function(e){return this.$val.Write(e)},be=function(e){return[new P.ptr(e),Ze]},ve=function(e){var t,r;t=0;var n,i=!1;void 0!==this&&void 0!==this.$blk&&(i=!0,e=(n=this).name,t=n.$s,r=n.$r);e:for(;1;){switch(t){case 0:r=c.Stat(e),t=1;case 1:if(i&&(i=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return t=-1,Ee(e)}return}return void 0===n&&(n={$blk:ve}),n.name=e,n.$s=t,n.$r=r,n},Se.Lstat=ve,ke=function(e,t){var r;e.name=me(t),e.size=e.sys.Size,g.Time.copy(e.modTime,xe(E(e.sys.Mtim,$.Timespec))),e.mode=(511&e.sys.Mode)>>>0>>>0,24576==(r=(61440&e.sys.Mode)>>>0)?e.mode=(67108864|e.mode)>>>0:8192===r?e.mode=(69206016|e.mode)>>>0:16384===r?e.mode=(2147483648|e.mode)>>>0:4096===r?e.mode=(33554432|e.mode)>>>0:40960===r?e.mode=(134217728|e.mode)>>>0:32768===r||49152===r&&(e.mode=(16777216|e.mode)>>>0),(1024&e.sys.Mode)>>>0!=0&&(e.mode=(4194304|e.mode)>>>0),(2048&e.sys.Mode)>>>0!=0&&(e.mode=(8388608|e.mode)>>>0),(512&e.sys.Mode)>>>0!=0&&(e.mode=(1048576|e.mode)>>>0)},xe=function(e){return g.Unix(e.Sec,e.Nsec)},C.ptr.prototype.Stat=function(){var e,t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,e=(a=this)._r,t=a.err,r=a.f,n=a.fs,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:if(n=[n],(r=this)===j.nil)return i=-1,[Ze,Se.ErrInvalid];n[0]=new A.ptr("",new De(0,0),0,new g.Time.ptr(new Re(0,0),new De(0,0),K.nil),new $.Stat_t.ptr(new Re(0,0),new Re(0,0),new Re(0,0),0,0,0,0,new Re(0,0),new De(0,0),new De(0,0),new De(0,0),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),q.zero())),e=r.file.pfd.Fstat(n[0].sys),i=1;case 1:if(s&&(s=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return F(t=e,Ze)?(ke(n[0],r.file.name),i=-1,[n[0],Ze]):(i=-1,[Ze,new w.ptr("stat",r.file.name,t)])}return}return void 0===a&&(a={$blk:C.ptr.prototype.Stat}),a._r=e,a.err=t,a.f=r,a.fs=n,a.$s=i,a.$r=o,a},C.prototype.Stat=function(){return this.$val.Stat()},Ee=function(e){var t,r;return r=new A.ptr("",new De(0,0),0,new g.Time.ptr(new Re(0,0),new De(0,0),K.nil),new $.Stat_t.ptr(new Re(0,0),new Re(0,0),new Re(0,0),0,0,0,0,new Re(0,0),new De(0,0),new De(0,0),new De(0,0),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),new $.Timespec.ptr(new De(0,0),new De(0,0)),q.zero())),t=$.Lstat(e,r.sys),F(t,Ze)?(ke(r,e),[r,Ze]):[Ze,new w.ptr("lstat",e,t)]},R.prototype.String=function(){var e,t,r,n,o,a,s,c,l,u,p,d,h,$,g;for(d=this.$val,s=X.zero(),h=0,r="dalTLDpSugct?",e=0;1&&e<r.length;)u=e,c=(o=m(r,e))[0],(d&(($=31-u>>0>>>0)<32?1<<$:0)>>>0)>>>0!=0&&(h<0||h>=s.length?i("index out of range"):s[h]=c<<24>>>24,h=h+1>>0),e+=o[1];for(0===h&&(h<0||h>=s.length?i("index out of range"):s[h]=45,h=h+1>>0),n="rwxrwxrwx",t=0;1&&t<n.length;)p=t,l=(a=m(n,t))[0],(d&((g=8-p>>0>>>0)<32?1<<g:0)>>>0)>>>0!=0?h<0||h>=s.length?i("index out of range"):s[h]=l<<24>>>24:h<0||h>=s.length?i("index out of range"):s[h]=45,h=h+1>>0,t+=a[1];return v(f(new L(s),0,h))},st(R).prototype.String=function(){return new R(this.$get()).String()},R.prototype.IsDir=function(){return!((2147483648&this.$val)>>>0==0)},st(R).prototype.IsDir=function(){return new R(this.$get()).IsDir()},R.prototype.IsRegular=function(){return(2401763328&this.$val)>>>0==0},st(R).prototype.IsRegular=function(){return new R(this.$get()).IsRegular()},R.prototype.Perm=function(){return(511&this.$val)>>>0},st(R).prototype.Perm=function(){return new R(this.$get()).Perm()},A.ptr.prototype.Name=function(){return this.name},A.prototype.Name=function(){return this.$val.Name()},A.ptr.prototype.IsDir=function(){return new R(this.Mode()).IsDir()},A.prototype.IsDir=function(){return this.$val.IsDir()},A.ptr.prototype.Size=function(){return this.size},A.prototype.Size=function(){return this.$val.Size()},A.ptr.prototype.Mode=function(){return this.mode},A.prototype.Mode=function(){return this.$val.Mode()},A.ptr.prototype.ModTime=function(){return this.modTime},A.prototype.ModTime=function(){return this.$val.ModTime()},A.ptr.prototype.Sys=function(){return this.sys},A.prototype.Sys=function(){return this.$val.Sys()},T.methods=[{prop:"close",name:"close",pkg:"os",typ:Ke([],[],!1)}],M.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)},{prop:"Timeout",name:"Timeout",pkg:"",typ:Ke([],[we],!1)}],z.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)},{prop:"Timeout",name:"Timeout",pkg:"",typ:Ke([],[we],!1)}],W.methods=[{prop:"Error",name:"Error",pkg:"",typ:Ke([],[Te],!1)}],H.methods=[{prop:"close",name:"close",pkg:"os",typ:Ke([],[Ye],!1)}],ee.methods=[{prop:"Control",name:"Control",pkg:"",typ:Ke([Z],[Ye],!1)},{prop:"Read",name:"Read",pkg:"",typ:Ke([Q],[Ye],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([Q],[Ye],!1)}],j.methods=[{prop:"Readdir",name:"Readdir",pkg:"",typ:Ke([_e],[N,Ye],!1)},{prop:"Readdirnames",name:"Readdirnames",pkg:"",typ:Ke([_e],[I,Ye],!1)},{prop:"readdirnames",name:"readdirnames",pkg:"os",typ:Ke([_e],[I,Ye],!1)},{prop:"Name",name:"Name",pkg:"",typ:Ke([],[Te],!1)},{prop:"Read",name:"Read",pkg:"",typ:Ke([L],[_e,Ye],!1)},{prop:"ReadAt",name:"ReadAt",pkg:"",typ:Ke([L,De],[_e,Ye],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([L],[_e,Ye],!1)},{prop:"WriteAt",name:"WriteAt",pkg:"",typ:Ke([L,De],[_e,Ye],!1)},{prop:"Seek",name:"Seek",pkg:"",typ:Ke([De,_e],[De,Ye],!1)},{prop:"WriteString",name:"WriteString",pkg:"",typ:Ke([Te],[_e,Ye],!1)},{prop:"wrapErr",name:"wrapErr",pkg:"os",typ:Ke([Te,Ye],[Ye],!1)},{prop:"Chmod",name:"Chmod",pkg:"",typ:Ke([R],[Ye],!1)},{prop:"SetDeadline",name:"SetDeadline",pkg:"",typ:Ke([g.Time],[Ye],!1)},{prop:"SetReadDeadline",name:"SetReadDeadline",pkg:"",typ:Ke([g.Time],[Ye],!1)},{prop:"SetWriteDeadline",name:"SetWriteDeadline",pkg:"",typ:Ke([g.Time],[Ye],!1)},{prop:"SyscallConn",name:"SyscallConn",pkg:"",typ:Ke([],[$.RawConn,Ye],!1)},{prop:"chmod",name:"chmod",pkg:"os",typ:Ke([R],[Ye],!1)},{prop:"Chown",name:"Chown",pkg:"",typ:Ke([_e,_e],[Ye],!1)},{prop:"Truncate",name:"Truncate",pkg:"",typ:Ke([De],[Ye],!1)},{prop:"Sync",name:"Sync",pkg:"",typ:Ke([],[Ye],!1)},{prop:"Chdir",name:"Chdir",pkg:"",typ:Ke([],[Ye],!1)},{prop:"setDeadline",name:"setDeadline",pkg:"os",typ:Ke([g.Time],[Ye],!1)},{prop:"setReadDeadline",name:"setReadDeadline",pkg:"os",typ:Ke([g.Time],[Ye],!1)},{prop:"setWriteDeadline",name:"setWriteDeadline",pkg:"os",typ:Ke([g.Time],[Ye],!1)},{prop:"checkValid",name:"checkValid",pkg:"os",typ:Ke([Te],[Ye],!1)},{prop:"Fd",name:"Fd",pkg:"",typ:Ke([],[Be],!1)},{prop:"Close",name:"Close",pkg:"",typ:Ke([],[Ye],!1)},{prop:"read",name:"read",pkg:"os",typ:Ke([L],[_e,Ye],!1)},{prop:"pread",name:"pread",pkg:"os",typ:Ke([L,De],[_e,Ye],!1)},{prop:"write",name:"write",pkg:"os",typ:Ke([L],[_e,Ye],!1)},{prop:"pwrite",name:"pwrite",pkg:"os",typ:Ke([L,De],[_e,Ye],!1)},{prop:"seek",name:"seek",pkg:"os",typ:Ke([De,_e],[De,Ye],!1)},{prop:"readdir",name:"readdir",pkg:"os",typ:Ke([_e],[N,Ye],!1)},{prop:"Stat",name:"Stat",pkg:"",typ:Ke([],[O,Ye],!1)}],R.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"IsDir",name:"IsDir",pkg:"",typ:Ke([],[we],!1)},{prop:"IsRegular",name:"IsRegular",pkg:"",typ:Ke([],[we],!1)},{prop:"Perm",name:"Perm",pkg:"",typ:Ke([],[R],!1)}],J.methods=[{prop:"Name",name:"Name",pkg:"",typ:Ke([],[Te],!1)},{prop:"IsDir",name:"IsDir",pkg:"",typ:Ke([],[we],!1)},{prop:"Size",name:"Size",pkg:"",typ:Ke([],[De],!1)},{prop:"Mode",name:"Mode",pkg:"",typ:Ke([],[R],!1)},{prop:"ModTime",name:"ModTime",pkg:"",typ:Ke([],[g.Time],!1)},{prop:"Sys",name:"Sys",pkg:"",typ:Ke([],[Je],!1)}],y.init("os",[{prop:"buf",name:"buf",embedded:!1,exported:!1,typ:L,tag:""},{prop:"nbuf",name:"nbuf",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"bufp",name:"bufp",embedded:!1,exported:!1,typ:_e,tag:""}]),k.init([{prop:"Timeout",name:"Timeout",pkg:"",typ:Ke([],[we],!1)}]),w.init("",[{prop:"Op",name:"Op",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Path",name:"Path",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Err",name:"Err",embedded:!1,exported:!0,typ:Ye,tag:""}]),_.init("",[{prop:"Syscall",name:"Syscall",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Err",name:"Err",embedded:!1,exported:!0,typ:Ye,tag:""}]),x.init("",[{prop:"Op",name:"Op",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Old",name:"Old",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"New",name:"New",embedded:!1,exported:!0,typ:Te,tag:""},{prop:"Err",name:"Err",embedded:!1,exported:!0,typ:Ye,tag:""}]),S.init("os",[{prop:"pfd",name:"pfd",embedded:!1,exported:!1,typ:a.FD,tag:""},{prop:"name",name:"name",embedded:!1,exported:!1,typ:Te,tag:""},{prop:"dirinfo",name:"dirinfo",embedded:!1,exported:!1,typ:T,tag:""},{prop:"nonblock",name:"nonblock",embedded:!1,exported:!1,typ:we,tag:""},{prop:"stdoutOrErr",name:"stdoutOrErr",embedded:!1,exported:!1,typ:we,tag:""}]),P.init("os",[{prop:"file",name:"file",embedded:!1,exported:!1,typ:j,tag:""}]),C.init("os",[{prop:"file",name:"file",embedded:!0,exported:!1,typ:H,tag:""}]),O.init([{prop:"IsDir",name:"IsDir",pkg:"",typ:Ke([],[we],!1)},{prop:"ModTime",name:"ModTime",pkg:"",typ:Ke([],[g.Time],!1)},{prop:"Mode",name:"Mode",pkg:"",typ:Ke([],[R],!1)},{prop:"Name",name:"Name",pkg:"",typ:Ke([],[Te],!1)},{prop:"Size",name:"Size",pkg:"",typ:Ke([],[De],!1)},{prop:"Sys",name:"Sys",pkg:"",typ:Ke([],[Je],!1)}]),A.init("os",[{prop:"name",name:"name",embedded:!1,exported:!1,typ:Te,tag:""},{prop:"size",name:"size",embedded:!1,exported:!1,typ:De,tag:""},{prop:"mode",name:"mode",embedded:!1,exported:!1,typ:R,tag:""},{prop:"modTime",name:"modTime",embedded:!1,exported:!1,typ:g.Time,tag:""},{prop:"sys",name:"sys",embedded:!1,exported:!1,typ:$.Stat_t,tag:""}]),e=function(){Se.$init=function(){};var t,i,o=!1,f=0;void 0!==this&&void 0!==this.$blk&&(o=!0,f=(t=this).$s,i=t.$r);e:for(;1;){switch(f){case 0:i=r.$init(),f=1;case 1:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=n.$init(),f=2;case 2:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=a.$init(),f=3;case 3:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=s.$init(),f=4;case 4:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=c.$init(),f=5;case 5:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=l.$init(),f=6;case 6:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=u.$init(),f=7;case 7:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=p.$init(),f=8;case 8:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=d.$init(),f=9;case 9:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=$.$init(),f=10;case 10:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;i=g.$init(),f=11;case 11:if(o&&(o=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;Se.Args=I.nil,Se.ErrInvalid=r.New("invalid argument"),Se.ErrPermission=r.New("permission denied"),Se.ErrExist=r.New("file already exists"),Se.ErrNotExist=r.New("file does not exist"),Se.ErrClosed=r.New("file already closed"),r.New("os: process already finished"),Se.Stdin=de($.Stdin>>>0,"/dev/stdin"),Se.Stdout=de($.Stdout>>>0,"/dev/stdout"),Se.Stderr=de($.Stderr>>>0,"/dev/stderr"),te=ve,ne(),ge()}return}return void 0===t&&(t={$blk:e}),t.$s=f,t.$r=i,t},Se.$init=e,Se}(),o["fmt"]=function(){var e,t,r,n,a,s,c,u,p,$,g,b,y,k,w,x,S,C,O,R,B,A,I,T,L,U,V,q,H,G,K,X,J,Y,Q,ee,te,re,ne,ie,oe,ae,se,le,ue,de,he,$e,me={};return t=o["errors"],r=o["internal/fmtsort"],n=o["io"],a=o["math"],s=o["os"],c=o["reflect"],u=o["strconv"],p=o["sync"],$=o["unicode/utf8"],g=me.fmtFlags=ye(0,fe,"fmt.fmtFlags",!0,"fmt",!1,(function(e,t,r,n,i,o,a,s,c){if(this.$val=this,0===arguments.length)return this.widPresent=!1,this.precPresent=!1,this.minus=!1,this.plus=!1,this.sharp=!1,this.space=!1,this.zero=!1,this.plusV=!1,void(this.sharpV=!1);this.widPresent=e,this.precPresent=t,this.minus=r,this.plus=n,this.sharp=i,this.space=o,this.zero=a,this.plusV=s,this.sharpV=c})),b=me.fmt=ye(0,fe,"fmt.fmt",!0,"fmt",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.buf=T.nil,this.fmtFlags=new g.ptr(!1,!1,!1,!1,!1,!1,!1,!1,!1),this.wid=0,this.prec=0,void(this.intbuf=L.zero());this.buf=e,this.fmtFlags=t,this.wid=r,this.prec=n,this.intbuf=i})),y=me.State=ye(8,ce,"fmt.State",!0,"fmt",!0,null),k=me.Formatter=ye(8,ce,"fmt.Formatter",!0,"fmt",!0,null),w=me.Stringer=ye(8,ce,"fmt.Stringer",!0,"fmt",!0,null),x=me.GoStringer=ye(8,ce,"fmt.GoStringer",!0,"fmt",!0,null),S=me.buffer=ye(12,pe,"fmt.buffer",!0,"fmt",!1,null),C=me.pp=ye(0,fe,"fmt.pp",!0,"fmt",!1,(function(e,t,r,n,i,o,a,s){if(this.$val=this,0===arguments.length)return this.buf=S.nil,this.arg=Ze,this.value=new c.Value.ptr(I.nil,0,0),this.fmt=new b.ptr(T.nil,new g.ptr(!1,!1,!1,!1,!1,!1,!1,!1,!1),0,0,L.zero()),this.reordered=!1,this.goodArgNum=!1,this.panicking=!1,void(this.erroring=!1);this.buf=e,this.arg=t,this.value=r,this.fmt=n,this.reordered=i,this.goodArgNum=o,this.panicking=a,this.erroring=s})),O=me.scanError=ye(0,fe,"fmt.scanError",!0,"fmt",!1,(function(e){this.$val=this,0!==arguments.length?this.err=e:this.err=Ze})),R=me.ss=ye(0,fe,"fmt.ss",!0,"fmt",!1,(function(e,t,r,n,i){if(this.$val=this,0===arguments.length)return this.rs=Ze,this.buf=S.nil,this.count=0,this.atEOF=!1,void(this.ssave=new B.ptr(!1,!1,!1,0,0,0));this.rs=e,this.buf=t,this.count=r,this.atEOF=n,this.ssave=i})),B=me.ssave=ye(0,fe,"fmt.ssave",!0,"fmt",!1,(function(e,t,r,n,i,o){if(this.$val=this,0===arguments.length)return this.validSave=!1,this.nlIsEnd=!1,this.nlIsSpace=!1,this.argLimit=0,this.limit=0,void(this.maxWid=0);this.validSave=e,this.nlIsEnd=t,this.nlIsSpace=r,this.argLimit=n,this.limit=i,this.maxWid=o})),A=ut(Je),I=st(c.rtype),T=st(S),L=Ue(Ce,68),U=Ue(Oe,2),V=ut(U),q=ut(Ce),H=Ue(Ce,5),G=st(C),K=st(R),X=st(b),J=Ke([Se],[we],!1),b.ptr.prototype.clearflags=function(){g.copy(this.fmtFlags,new g.ptr(!1,!1,!1,!1,!1,!1,!1,!1,!1))},b.prototype.clearflags=function(){return this.$val.clearflags()},b.ptr.prototype.init=function(e){this.buf=e,this.clearflags()},b.prototype.init=function(e){return this.$val.init(e)},b.ptr.prototype.writePadding=function(e){var t,r,n,o,a,s,c,l,u;if(o=this,!(e<=0)){for((s=(c=(n=o.buf.$get()).$length)+e>>0)>n.$capacity&&(n=pt(S,j(n.$capacity,2)+e>>0),_(n,o.buf.$get())),l=32,o.fmtFlags.zero&&(l=48),r=u=f(n,c,s),t=0;1&&t<r.$length;)(a=t)<0||a>=u.$length?i("index out of range"):u.$array[u.$offset+a]=l,t++;o.buf.$set(f(n,0,s))}},b.prototype.writePadding=function(e){return this.$val.writePadding(e)},b.ptr.prototype.pad=function(e){var t,r;(t=this).fmtFlags.widPresent&&0!==t.wid?(r=t.wid-$.RuneCount(e)>>0,t.fmtFlags.minus?(t.buf.Write(e),t.writePadding(r)):(t.writePadding(r),t.buf.Write(e))):t.buf.Write(e)},b.prototype.pad=function(e){return this.$val.pad(e)},b.ptr.prototype.padString=function(e){var t,r;(t=this).fmtFlags.widPresent&&0!==t.wid?(r=t.wid-$.RuneCountInString(e)>>0,t.fmtFlags.minus?(t.buf.WriteString(e),t.writePadding(r)):(t.writePadding(r),t.buf.WriteString(e))):t.buf.WriteString(e)},b.prototype.padString=function(e){return this.$val.padString(e)},b.ptr.prototype.fmtBoolean=function(e){e?this.padString("true"):this.padString("false")},b.prototype.fmtBoolean=function(e){return this.$val.fmtBoolean(e)},b.ptr.prototype.fmtUnicode=function(e){var t,r,n,o,a,s;for(t=f(new q((r=this).intbuf),0),a=4,r.fmtFlags.precPresent&&r.prec>4&&(s=(((2+(a=r.prec)>>0)+2>>0)+4>>0)+1>>0)>t.$length&&(t=pt(q,s)),n=t.$length,r.fmtFlags.sharp&&(e.$high<0||0===e.$high&&e.$low<=1114111)&&u.IsPrint(e.$low>>0)&&((n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=39,n=n-$.RuneLen(e.$low>>0)>>0,$.EncodeRune(f(t,n),e.$low>>0),(n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=39,(n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=32);1&&(e.$high>0||0===e.$high&&e.$low>=16);)(n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]="0123456789ABCDEFX".charCodeAt(N(new Re(0&e.$high,(15&e.$low)>>>0))),a=a-1>>0,e=M(e,4);for((n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]="0123456789ABCDEFX".charCodeAt(N(e)),a=a-1>>0;1&&a>0;)(n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=48,a=a-1>>0;(n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=43,(n=n-1>>0)<0||n>=t.$length?i("index out of range"):t.$array[t.$offset+n]=85,o=r.fmtFlags.zero,r.fmtFlags.zero=!1,r.pad(f(t,n)),r.fmtFlags.zero=o},b.prototype.fmtUnicode=function(e){return this.$val.fmtUnicode(e)},b.ptr.prototype.fmtInteger=function(e,t,r,n){var o,a,s,c,l,u,p,d,h,$,m,g,b,v,y,k;if(c=this,(u=r&&((g=new De(e.$high,e.$low)).$high<0||0===g.$high&&g.$low<0))&&(e=new Re(-e.$high,-e.$low)),s=f(new q(c.intbuf),0),(c.fmtFlags.widPresent||c.fmtFlags.precPresent)&&(m=(3+c.wid>>0)+c.prec>>0)>s.$length&&(s=pt(q,m)),$=0,c.fmtFlags.precPresent){if(0===($=c.prec)&&0===e.$high&&0===e.$low)return d=c.fmtFlags.zero,c.fmtFlags.zero=!1,c.writePadding(c.wid),void(c.fmtFlags.zero=d)}else c.fmtFlags.zero&&c.fmtFlags.widPresent&&($=c.wid,(u||c.fmtFlags.plus||c.fmtFlags.space)&&($=$-1>>0));if(l=s.$length,10===(o=t))for(;1&&(e.$high>0||0===e.$high&&e.$low>=10);)l=l-1>>0,p=z(e,new Re(0,10),!1),l<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=(b=new Re(0+e.$high,48+e.$low),v=W(p,new Re(0,10)),new Re(b.$high-v.$high,b.$low-v.$low)).$low<<24>>>24,e=p;else if(16===o)for(;1&&(e.$high>0||0===e.$high&&e.$low>=16);)(l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=n.charCodeAt(N(new Re(0&e.$high,(15&e.$low)>>>0))),e=M(e,4);else if(8===o)for(;1&&(e.$high>0||0===e.$high&&e.$low>=8);)(l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=(y=new Re(0&e.$high,(7&e.$low)>>>0),new Re(0+y.$high,48+y.$low)).$low<<24>>>24,e=M(e,3);else if(2===o)for(;1&&(e.$high>0||0===e.$high&&e.$low>=2);)(l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=(k=new Re(0&e.$high,(1&e.$low)>>>0),new Re(0+k.$high,48+k.$low)).$low<<24>>>24,e=M(e,1);else vt(new Te("fmt: unknown base; can't happen"));for((l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=n.charCodeAt(N(e));1&&l>0&&$>s.$length-l>>0;)(l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=48;c.fmtFlags.sharp&&(8===(a=t)?48!==(l<0||l>=s.$length?void i("index out of range"):s.$array[s.$offset+l])&&((l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=48):16===a&&((l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=n.charCodeAt(16),(l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=48)),u?(l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=45:c.fmtFlags.plus?(l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=43:c.fmtFlags.space&&((l=l-1>>0)<0||l>=s.$length?i("index out of range"):s.$array[s.$offset+l]=32),h=c.fmtFlags.zero,c.fmtFlags.zero=!1,c.pad(f(s,l)),c.fmtFlags.zero=h},b.prototype.fmtInteger=function(e,t,r,n){return this.$val.fmtInteger(e,t,r,n)},b.ptr.prototype.truncateString=function(e){var t,r,n,i;if(this.fmtFlags.precPresent)for(i=this.prec,r=e,t=0;1&&t<r.length;){if(n=m(r,t),(i=i-1>>0)<0)return h(e,0,t);t+=n[1]}return e},b.prototype.truncateString=function(e){return this.$val.truncateString(e)},b.ptr.prototype.truncate=function(e){var t,r,n;if(this.fmtFlags.precPresent)for(r=this.prec,t=0;1&&t<e.$length;){if((r=r-1>>0)<0)return f(e,0,t);n=1,(t<0||t>=e.$length?void i("index out of range"):e.$array[e.$offset+t])>=128&&(n=$.DecodeRune(f(e,t))[1]),t=t+n>>0}return e},b.prototype.truncate=function(e){return this.$val.truncate(e)},b.ptr.prototype.fmtS=function(e){e=this.truncateString(e),this.padString(e)},b.prototype.fmtS=function(e){return this.$val.fmtS(e)},b.ptr.prototype.fmtBs=function(e){e=this.truncate(e),this.pad(e)},b.prototype.fmtBs=function(e){return this.$val.fmtBs(e)},b.ptr.prototype.fmtSbx=function(e,t,r){var n,o,a,s,c,l;if(a=this,c=t.$length,t===q.nil&&(c=e.length),a.fmtFlags.precPresent&&a.prec<c&&(c=a.prec),(l=j(2,c))>0){for(a.fmtFlags.space?(a.fmtFlags.sharp&&(l=j(l,2)),l=l+(c-1>>0)>>0):a.fmtFlags.sharp&&(l=l+2>>0),a.fmtFlags.widPresent&&a.wid>l&&!a.fmtFlags.minus&&a.writePadding(a.wid-l>>0),n=a.buf.$get(),a.fmtFlags.sharp&&(n=D(n,48,r.charCodeAt(16))),o=0,s=0;1&&s<c;)a.fmtFlags.space&&s>0&&(n=D(n,32),a.fmtFlags.sharp&&(n=D(n,48,r.charCodeAt(16)))),o=t!==q.nil?s<0||s>=t.$length?void i("index out of range"):t.$array[t.$offset+s]:e.charCodeAt(s),n=D(n,r.charCodeAt(o>>>4<<24>>>24),r.charCodeAt((15&o)>>>0)),s=s+1>>0;a.buf.$set(n),a.fmtFlags.widPresent&&a.wid>l&&a.fmtFlags.minus&&a.writePadding(a.wid-l>>0)}else a.fmtFlags.widPresent&&a.writePadding(a.wid)},b.prototype.fmtSbx=function(e,t,r){return this.$val.fmtSbx(e,t,r)},b.ptr.prototype.fmtSx=function(e,t){this.fmtSbx(e,q.nil,t)},b.prototype.fmtSx=function(e,t){return this.$val.fmtSx(e,t)},b.ptr.prototype.fmtBx=function(e,t){this.fmtSbx("",e,t)},b.prototype.fmtBx=function(e,t){return this.$val.fmtBx(e,t)},b.ptr.prototype.fmtQ=function(e){var t,r;e=(r=this).truncateString(e),r.fmtFlags.sharp&&u.CanBackquote(e)?r.padString("`"+e+"`"):(t=f(new q(r.intbuf),0,0),r.fmtFlags.plus?r.pad(u.AppendQuoteToASCII(t,e)):r.pad(u.AppendQuote(t,e)))},b.prototype.fmtQ=function(e){return this.$val.fmtQ(e)},b.ptr.prototype.fmtC=function(e){var t,r,n;r=e.$low>>0,(e.$high>0||0===e.$high&&e.$low>1114111)&&(r=65533),t=f(new q(this.intbuf),0,0),n=$.EncodeRune(f(t,0,4),r),this.pad(f(t,0,n))},b.prototype.fmtC=function(e){return this.$val.fmtC(e)},b.ptr.prototype.fmtQc=function(e){var t,r,n;r=this,n=e.$low>>0,(e.$high>0||0===e.$high&&e.$low>1114111)&&(n=65533),t=f(new q(r.intbuf),0,0),r.fmtFlags.plus?r.pad(u.AppendQuoteRuneToASCII(t,n)):r.pad(u.AppendQuoteRune(t,n))},b.prototype.fmtQc=function(e){return this.$val.fmtQc(e)},b.ptr.prototype.fmtFloat=function(e,t,r,n){var o,a,s,c,l,p,d,h,$,m;if((c=this).fmtFlags.precPresent&&(n=c.prec),45===(1>=(d=u.AppendFloat(f(new q(c.intbuf),0,1),e,r<<24>>>24,n,t)).$length?void i("index out of range"):d.$array[d.$offset+1])||43===(1>=d.$length?void i("index out of range"):d.$array[d.$offset+1])?d=f(d,1):0>=d.$length?i("index out of range"):d.$array[d.$offset+0]=43,c.fmtFlags.space&&43===(0>=d.$length?void i("index out of range"):d.$array[d.$offset+0])&&!c.fmtFlags.plus&&(0>=d.$length?i("index out of range"):d.$array[d.$offset+0]=32),73===(1>=d.$length?void i("index out of range"):d.$array[d.$offset+1])||78===(1>=d.$length?void i("index out of range"):d.$array[d.$offset+1]))return h=c.fmtFlags.zero,c.fmtFlags.zero=!1,78!==(1>=d.$length?void i("index out of range"):d.$array[d.$offset+1])||c.fmtFlags.space||c.fmtFlags.plus||(d=f(d,1)),c.pad(d),void(c.fmtFlags.zero=h);if(c.fmtFlags.sharp&&98!==r){for(s=0,118!==(o=r)&&103!==o&&71!==o||-1===(s=n)&&(s=6),m=H.zero(),$=f(new q(m),0,0),l=!1,p=1;1&&p<d.$length;)46===(a=p<0||p>=d.$length?void i("index out of range"):d.$array[d.$offset+p])?l=!0:101===a||69===a?($=P($,f(d,p)),d=f(d,0,p)):s=s-1>>0,p=p+1>>0;for(l||(d=D(d,46));1&&s>0;)d=D(d,48),s=s-1>>0;d=P(d,$)}if(c.fmtFlags.plus||43!==(0>=d.$length?void i("index out of range"):d.$array[d.$offset+0]))return c.fmtFlags.zero&&c.fmtFlags.widPresent&&c.wid>d.$length?(c.buf.WriteByte(0>=d.$length?void i("index out of range"):d.$array[d.$offset+0]),c.writePadding(c.wid-d.$length>>0),void c.buf.Write(f(d,1))):void c.pad(d);c.pad(f(d,1))},b.prototype.fmtFloat=function(e,t,r,n){return this.$val.fmtFloat(e,t,r,n)},st(S).prototype.Write=function(e){this.$set(P(this.$get(),e))},st(S).prototype.WriteString=function(e){this.$set(P(this.$get(),e))},st(S).prototype.WriteByte=function(e){this.$set(D(this.$get(),e))},st(S).prototype.WriteRune=function(e){var t,r,n,i,o;if(r=this,e<128)r.$set(D(r.$get(),e<<24>>>24));else{for(n=(t=r.$get()).$length;1&&n+4>>0>t.$capacity;)t=D(t,0);i=$.EncodeRune((o=f(t,n,n+4>>0),f(new q(o.$array),o.$offset,o.$offset+o.$length)),e),r.$set(f(t,0,n+i>>0))}},te=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.p,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=Y.Get(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return(t=ht(e,G)).panicking=!1,t.erroring=!1,t.fmt.init(t.$ptr_buf||(t.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),t))),r=-1,t}return}return void 0===i&&(i={$blk:te}),i._r=e,i.p=t,i.$s=r,i.$r=n,i},C.ptr.prototype.free=function(){var e;(e=this).buf.$capacity>65536||(e.buf=f(e.buf,0,0),e.arg=Ze,e.value=new c.Value.ptr(I.nil,0,0),Y.Put(e))},C.prototype.free=function(){return this.$val.free()},C.ptr.prototype.Width=function(){return[this.fmt.wid,this.fmt.fmtFlags.widPresent]},C.prototype.Width=function(){return this.$val.Width()},C.ptr.prototype.Precision=function(){return[this.fmt.prec,this.fmt.fmtFlags.precPresent]},C.prototype.Precision=function(){return this.$val.Precision()},C.ptr.prototype.Flag=function(e){var t,r;return r=this,45===(t=e)?r.fmt.fmtFlags.minus:43===t?r.fmt.fmtFlags.plus||r.fmt.fmtFlags.plusV:35===t?r.fmt.fmtFlags.sharp||r.fmt.fmtFlags.sharpV:32===t?r.fmt.fmtFlags.space:48===t&&r.fmt.fmtFlags.zero},C.prototype.Flag=function(e){return this.$val.Flag(e)},C.ptr.prototype.Write=function(e){return(this.$ptr_buf||(this.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),this))).Write(e),[e.$length,Ze]},C.prototype.Write=function(e){return this.$val.Write(e)},C.ptr.prototype.WriteString=function(e){return(this.$ptr_buf||(this.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),this))).WriteString(e),[e.length,Ze]},C.prototype.WriteString=function(e){return this.$val.WriteString(e)},re=function(e,t,r){var n,i,o,a,s,c,l,u,p;u=0;var d,h=!1;void 0!==this&&void 0!==this.$blk&&(h=!0,n=(d=this)._r,i=d._r$1,o=d._tuple,r=d.a,a=d.err,t=d.format,s=d.n,c=d.p,e=d.w,l=d.x,u=d.$s,p=d.$r);e:for(;1;){switch(u){case 0:s=0,a=Ze,n=te(),u=1;case 1:if(h&&(h=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;p=(c=n).doPrintf(t,r),u=2;case 2:if(h&&(h=!1,p=p.$blk()),p&&void 0!==p.$blk)break e;i=e.Write((l=c.buf,f(new q(l.$array),l.$offset,l.$offset+l.$length))),u=3;case 3:if(h&&(h=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return s=(o=i)[0],a=o[1],c.free(),u=-1,[s,a]}return}return void 0===d&&(d={$blk:re}),d._r=n,d._r$1=i,d._tuple=o,d.a=r,d.err=a,d.format=t,d.n=s,d.p=c,d.w=e,d.x=l,d.$s=u,d.$r=p,d},me.Fprintf=re,ne=function(e,t){var r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,r=(s=this)._r,t=s.a,e=s.format,n=s.p,i=s.s,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:r=te(),o=1;case 1:if(c&&(c=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;a=(n=r).doPrintf(e,t),o=2;case 2:if(c&&(c=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;return i=v(n.buf),n.free(),o=-1,i}return}return void 0===s&&(s={$blk:ne}),s._r=r,s.a=t,s.format=e,s.p=n,s.s=i,s.$s=o,s.$r=a,s},me.Sprintf=ne,ie=function(e,r){var n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,n=(s=this)._r,i=s._r$1,r=s.a,e=s.format,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:n=ne(e,r),o=1;case 1:if(c&&(c=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;i=t.New(n),o=2;case 2:if(c&&(c=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return o=-1,i}return}return void 0===s&&(s={$blk:ie}),s._r=n,s._r$1=i,s.a=r,s.format=e,s.$s=o,s.$r=a,s},me.Errorf=ie,oe=function(e,t){var r,n,i,o,a;o=0;var s,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,r=(s=this)._r,n=s._r$1,t=s.i,e=s.v,i=s.val,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:r=E(e,c.Value).Field(t),o=1;case 1:if(l&&(l=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(20===E(i=r,c.Value).Kind()&&!E(i,c.Value).IsNil()){o=2;continue}o=3;continue;case 2:n=E(i,c.Value).Elem(),o=4;case 4:if(l&&(l=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;i=n;case 3:return o=-1,i}return}return void 0===s&&(s={$blk:oe}),s._r=r,s._r$1=n,s.i=t,s.v=e,s.val=i,s.$s=o,s.$r=a,s},ae=function(e){return e>1e6||e<-1e6},se=function(e,t,r){var n,i,o;if(o=0,n=!1,i=0,t>=r)return[o=0,n=!1,i=r];for(i=t;1&&i<r&&48<=e.charCodeAt(i)&&e.charCodeAt(i)<=57;){if(ae(o))return[o=0,n=!1,i=r];o=j(o,10)+(e.charCodeAt(i)-48<<24>>>24>>0)>>0,n=!0,i=i+1>>0}return[o,n,i]},C.ptr.prototype.unknownType=function(e){var t,r,n,i;n=0;var o,a=!1;void 0!==this&&void 0!==this.$blk&&(a=!0,t=(o=this)._r,r=o.p,e=o.v,n=o.$s,i=o.$r);e:for(;1;){switch(n){case 0:if(r=this,!E(e,c.Value).IsValid())return(r.$ptr_buf||(r.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),r))).WriteString("<nil>"),void(n=-1);(r.$ptr_buf||(r.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),r))).WriteByte(63),t=E(e,c.Value).Type().String(),n=1;case 1:if(a&&(a=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;i=(r.$ptr_buf||(r.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),r))).WriteString(t),n=2;case 2:if(a&&(a=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;return(r.$ptr_buf||(r.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),r))).WriteByte(63),void(n=-1)}return}return void 0===o&&(o={$blk:C.ptr.prototype.unknownType}),o._r=t,o.p=r,o.v=e,o.$s=n,o.$r=i,o},C.prototype.unknownType=function(e){return this.$val.unknownType(e)},C.ptr.prototype.badVerb=function(e){var t,r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,t=(a=this)._r,r=a._r$1,n=a.p,e=a.verb,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:if((n=this).erroring=!0,(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteString("%!"),(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteRune(e),(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteByte(40),!F(n.arg,Ze)){i=2;continue}if(E(n.value,c.Value).IsValid()){i=3;continue}i=4;continue;case 2:t=c.TypeOf(n.arg).String(),i=6;case 6:if(s&&(s=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;o=(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteString(t),i=7;case 7:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteByte(61),o=n.printArg(n.arg,118),i=8;case 8:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;i=5;continue;case 3:r=E(n.value,c.Value).Type().String(),i=9;case 9:if(s&&(s=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;o=(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteString(r),i=10;case 10:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteByte(61),o=n.printValue(E(n.value,c.Value),118,0),i=11;case 11:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;i=5;continue;case 4:(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteString("<nil>");case 5:case 1:return(n.$ptr_buf||(n.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),n))).WriteByte(41),n.erroring=!1,void(i=-1)}return}return void 0===a&&(a={$blk:C.ptr.prototype.badVerb}),a._r=t,a._r$1=r,a.p=n,a.verb=e,a.$s=i,a.$r=o,a},C.prototype.badVerb=function(e){return this.$val.badVerb(e)},C.ptr.prototype.fmtBool=function(e,t){var r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,r=(a=this)._1,n=a.p,e=a.v,t=a.verb,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:if(n=this,116===(r=t)||118===r){i=2;continue}i=3;continue;case 2:n.fmt.fmtBoolean(e),i=4;continue;case 3:o=n.badVerb(t),i=5;case 5:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;case 4:case 1:return void(i=-1)}return}return void 0===a&&(a={$blk:C.ptr.prototype.fmtBool}),a._1=r,a.p=n,a.v=e,a.verb=t,a.$s=i,a.$r=o,a},C.prototype.fmtBool=function(e,t){return this.$val.fmtBool(e,t)},C.ptr.prototype.fmt0x64=function(e,t){var r,n;n=(r=this).fmt.fmtFlags.sharp,r.fmt.fmtFlags.sharp=t,r.fmt.fmtInteger(e,16,!1,"0123456789abcdefx"),r.fmt.fmtFlags.sharp=n},C.prototype.fmt0x64=function(e,t){return this.$val.fmt0x64(e,t)},C.ptr.prototype.fmtInteger=function(e,t,r){var n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,n=(s=this)._1,t=s.isSigned,i=s.p,e=s.v,r=s.verb,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(i=this,118===(n=r)){o=2;continue}if(100===n){o=3;continue}if(98===n){o=4;continue}if(111===n){o=5;continue}if(120===n){o=6;continue}if(88===n){o=7;continue}if(99===n){o=8;continue}if(113===n){o=9;continue}if(85===n){o=10;continue}o=11;continue;case 2:i.fmt.fmtFlags.sharpV&&!t?i.fmt0x64(e,!0):i.fmt.fmtInteger(e,10,t,"0123456789abcdefx"),o=12;continue;case 3:i.fmt.fmtInteger(e,10,t,"0123456789abcdefx"),o=12;continue;case 4:i.fmt.fmtInteger(e,2,t,"0123456789abcdefx"),o=12;continue;case 5:i.fmt.fmtInteger(e,8,t,"0123456789abcdefx"),o=12;continue;case 6:i.fmt.fmtInteger(e,16,t,"0123456789abcdefx"),o=12;continue;case 7:i.fmt.fmtInteger(e,16,t,"0123456789ABCDEFX"),o=12;continue;case 8:i.fmt.fmtC(e),o=12;continue;case 9:if(e.$high<0||0===e.$high&&e.$low<=1114111){o=13;continue}o=14;continue;case 13:i.fmt.fmtQc(e),o=15;continue;case 14:a=i.badVerb(r),o=16;case 16:if(c&&(c=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;case 15:o=12;continue;case 10:i.fmt.fmtUnicode(e),o=12;continue;case 11:a=i.badVerb(r),o=17;case 17:if(c&&(c=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;case 12:case 1:return void(o=-1)}return}return void 0===s&&(s={$blk:C.ptr.prototype.fmtInteger}),s._1=n,s.isSigned=t,s.p=i,s.v=e,s.verb=r,s.$s=o,s.$r=a,s},C.prototype.fmtInteger=function(e,t,r){return this.$val.fmtInteger(e,t,r)},C.ptr.prototype.fmtFloat=function(e,t,r){var n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,n=(s=this)._1,i=s.p,t=s.size,e=s.v,r=s.verb,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:if(i=this,118===(n=r)){o=2;continue}if(98===n||103===n||71===n){o=3;continue}if(102===n||101===n||69===n){o=4;continue}if(70===n){o=5;continue}o=6;continue;case 2:i.fmt.fmtFloat(e,t,103,-1),o=7;continue;case 3:i.fmt.fmtFloat(e,t,r,-1),o=7;continue;case 4:i.fmt.fmtFloat(e,t,r,6),o=7;continue;case 5:i.fmt.fmtFloat(e,t,102,6),o=7;continue;case 6:a=i.badVerb(r),o=8;case 8:if(c&&(c=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;case 7:case 1:return void(o=-1)}return}return void 0===s&&(s={$blk:C.ptr.prototype.fmtFloat}),s._1=n,s.p=i,s.size=t,s.v=e,s.verb=r,s.$s=o,s.$r=a,s},C.prototype.fmtFloat=function(e,t,r){return this.$val.fmtFloat(e,t,r)},C.ptr.prototype.fmtComplex=function(e,t,r){var n,o,a,s,c,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,n=(p=this)._1,o=p._q,a=p._q$1,s=p.oldPlus,c=p.p,t=p.size,e=p.v,r=p.verb,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:if(c=this,118===(n=r)||98===n||103===n||71===n||102===n||70===n||101===n||69===n){l=2;continue}l=3;continue;case 2:s=c.fmt.fmtFlags.plus,(c.$ptr_buf||(c.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),c))).WriteByte(40),u=c.fmtFloat(e.$real,(o=t/2)==o&&o!==1/0&&o!==-1/0?o>>0:i("integer divide by zero"),r),l=5;case 5:if(d&&(d=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;c.fmt.fmtFlags.plus=!0,u=c.fmtFloat(e.$imag,(a=t/2)==a&&a!==1/0&&a!==-1/0?a>>0:i("integer divide by zero"),r),l=6;case 6:if(d&&(d=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;(c.$ptr_buf||(c.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),c))).WriteString("i)"),c.fmt.fmtFlags.plus=s,l=4;continue;case 3:u=c.badVerb(r),l=7;case 7:if(d&&(d=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;case 4:case 1:return void(l=-1)}return}return void 0===p&&(p={$blk:C.ptr.prototype.fmtComplex}),p._1=n,p._q=o,p._q$1=a,p.oldPlus=s,p.p=c,p.size=t,p.v=e,p.verb=r,p.$s=l,p.$r=u,p},C.prototype.fmtComplex=function(e,t,r){return this.$val.fmtComplex(e,t,r)},C.ptr.prototype.fmtString=function(e,t){var r,n,i,o;i=0;var a,s=!1;void 0!==this&&void 0!==this.$blk&&(s=!0,r=(a=this)._1,n=a.p,e=a.v,t=a.verb,i=a.$s,o=a.$r);e:for(;1;){switch(i){case 0:if(n=this,118===(r=t)){i=2;continue}if(115===r){i=3;continue}if(120===r){i=4;continue}if(88===r){i=5;continue}if(113===r){i=6;continue}i=7;continue;case 2:n.fmt.fmtFlags.sharpV?n.fmt.fmtQ(e):n.fmt.fmtS(e),i=8;continue;case 3:n.fmt.fmtS(e),i=8;continue;case 4:n.fmt.fmtSx(e,"0123456789abcdefx"),i=8;continue;case 5:n.fmt.fmtSx(e,"0123456789ABCDEFX"),i=8;continue;case 6:n.fmt.fmtQ(e),i=8;continue;case 7:o=n.badVerb(t),i=9;case 9:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;case 8:case 1:return void(i=-1)}return}return void 0===a&&(a={$blk:C.ptr.prototype.fmtString}),a._1=r,a.p=n,a.v=e,a.verb=t,a.$s=i,a.$r=o,a},C.prototype.fmtString=function(e,t){return this.$val.fmtString(e,t)},C.ptr.prototype.fmtBytes=function(e,t,r){var n,o,a,s,l,u,p,d,f,h,$,m,g;m=0;var b,y=!1;void 0!==this&&void 0!==this.$blk&&(y=!0,n=(b=this)._1,o=b._i,a=b._i$1,s=b._r,l=b._ref,u=b._ref$1,p=b.c,d=b.c$1,f=b.i,h=b.i$1,$=b.p,r=b.typeString,e=b.v,t=b.verb,m=b.$s,g=b.$r);e:for(;1;){switch(m){case 0:if($=this,118===(n=t)||100===n){m=2;continue}if(115===n){m=3;continue}if(120===n){m=4;continue}if(88===n){m=5;continue}if(113===n){m=6;continue}m=7;continue;case 2:if($.fmt.fmtFlags.sharpV){if(($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteString(r),e===q.nil)return($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteString("(nil)"),void(m=-1);for(($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteByte(123),l=e,o=0;1&&o<l.$length;)f=o,p=o<0||o>=l.$length?void i("index out of range"):l.$array[l.$offset+o],f>0&&($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteString(", "),$.fmt0x64(new Re(0,p),!0),o++;($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteByte(125)}else{for(($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteByte(91),u=e,a=0;1&&a<u.$length;)h=a,d=a<0||a>=u.$length?void i("index out of range"):u.$array[u.$offset+a],h>0&&($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteByte(32),$.fmt.fmtInteger(new Re(0,d),10,!1,"0123456789abcdefx"),a++;($.$ptr_buf||($.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),$))).WriteByte(93)}m=8;continue;case 3:$.fmt.fmtBs(e),m=8;continue;case 4:$.fmt.fmtBx(e,"0123456789abcdefx"),m=8;continue;case 5:$.fmt.fmtBx(e,"0123456789ABCDEFX"),m=8;continue;case 6:$.fmt.fmtQ(v(e)),m=8;continue;case 7:s=c.ValueOf(e),m=9;case 9:if(y&&(y=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;g=$.printValue(E(s,c.Value),t,0),m=10;case 10:if(y&&(y=!1,g=g.$blk()),g&&void 0!==g.$blk)break e;case 8:case 1:return void(m=-1)}return}return void 0===b&&(b={$blk:C.ptr.prototype.fmtBytes}),b._1=n,b._i=o,b._i$1=a,b._r=s,b._ref=l,b._ref$1=u,b.c=p,b.c$1=d,b.i=f,b.i$1=h,b.p=$,b.typeString=r,b.v=e,b.verb=t,b.$s=m,b.$r=g,b},C.prototype.fmtBytes=function(e,t,r){return this.$val.fmtBytes(e,t,r)},C.ptr.prototype.fmtPointer=function(e,t){var r,n,i,o,a,s,l;s=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,r=(u=this)._1,n=u._2,i=u._r,o=u.p,a=u.u,e=u.value,t=u.verb,s=u.$s,l=u.$r);e:for(;1;){switch(s){case 0:if(o=this,a=0,18===(r=E(e,c.Value).Kind())||19===r||21===r||22===r||23===r||26===r){s=2;continue}s=3;continue;case 2:a=E(e,c.Value).Pointer(),s=4;continue;case 3:l=o.badVerb(t),s=5;case 5:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;return void(s=-1);case 4:case 1:if(118===(n=t)){s=7;continue}if(112===n){s=8;continue}if(98===n||111===n||100===n||120===n||88===n){s=9;continue}s=10;continue;case 7:if(o.fmt.fmtFlags.sharpV){s=12;continue}s=13;continue;case 12:(o.$ptr_buf||(o.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),o))).WriteByte(40),i=E(e,c.Value).Type().String(),s=15;case 15:if(p&&(p=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;l=(o.$ptr_buf||(o.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),o))).WriteString(i),s=16;case 16:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;(o.$ptr_buf||(o.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),o))).WriteString(")("),0===a?(o.$ptr_buf||(o.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),o))).WriteString("nil"):o.fmt0x64(new Re(0,a.constructor===Number?a:1),!0),(o.$ptr_buf||(o.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),o))).WriteByte(41),s=14;continue;case 13:0===a?o.fmt.padString("<nil>"):o.fmt0x64(new Re(0,a.constructor===Number?a:1),!o.fmt.fmtFlags.sharp);case 14:s=11;continue;case 8:o.fmt0x64(new Re(0,a.constructor===Number?a:1),!o.fmt.fmtFlags.sharp),s=11;continue;case 9:l=o.fmtInteger(new Re(0,a.constructor===Number?a:1),!1,t),s=17;case 17:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;s=11;continue;case 10:l=o.badVerb(t),s=18;case 18:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;case 11:case 6:return void(s=-1)}return}return void 0===u&&(u={$blk:C.ptr.prototype.fmtPointer}),u._1=r,u._2=n,u._r=i,u.p=o,u.u=a,u.value=e,u.verb=t,u.$s=s,u.$r=l,u},C.prototype.fmtPointer=function(e,t){return this.$val.fmtPointer(e,t)},C.ptr.prototype.catchPanic=function(e,t,r){var n,i,o,a,s,l,u;l=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,n=(p=this)._r,e=p.arg,i=p.err,r=p.method,o=p.oldFlags,a=p.p,s=p.v,t=p.verb,l=p.$s,u=p.$r);e:for(;1;){switch(l){case 0:if(a=this,i=yt(),!F(i,Ze)){l=1;continue}l=2;continue;case 1:n=c.ValueOf(e),l=3;case 3:if(d&&(d=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(22===E(s=n,c.Value).Kind()&&E(s,c.Value).IsNil())return(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteString("<nil>"),void(l=-1);a.panicking&&vt(i),o=E(a.fmt.fmtFlags,g),a.fmt.clearflags(),(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteString("%!"),(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteRune(t),(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteString("(PANIC="),(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteString(r),(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteString(" method: "),a.panicking=!0,u=a.printArg(i,118),l=4;case 4:if(d&&(d=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;a.panicking=!1,(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteByte(41),g.copy(a.fmt.fmtFlags,o);case 2:return void(l=-1)}return}return void 0===p&&(p={$blk:C.ptr.prototype.catchPanic}),p._r=n,p.arg=e,p.err=i,p.method=r,p.oldFlags=o,p.p=a,p.v=s,p.verb=t,p.$s=l,p.$r=u,p},C.prototype.catchPanic=function(e,t,r){return this.$val.catchPanic(e,t,r)},C.ptr.prototype.handleMethods=function(e){var t,r,n,i,o,a,s,c,l,u,p,f,h,$,m,g,b,v;g=0;var y,_=!1;void 0!==this&&void 0!==this.$blk&&(_=!0,t=(y=this)._1,r=y._r,n=y._r$1,i=y._r$2,o=y._ref,a=y._tuple,s=y._tuple$1,c=y.formatter,l=y.handled,u=y.ok,p=y.ok$1,f=y.p,h=y.stringer,$=y.v,m=y.v$1,e=y.verb,g=y.$s,b=y.$deferred,v=y.$r);var E=null;try{e:for(;1;){switch(g){case 0:if((b=[]).index=_t.deferStack.length,_t.deferStack.push(b),l=!1,(f=this).erroring)return g=-1,l;if(c=(a=ht(f.arg,k,!0))[0],u=a[1]){g=1;continue}g=2;continue;case 1:l=!0,b.push([d(f,"catchPanic"),[f.arg,e,"Format"]]),v=c.Format(f,e),g=3;case 3:if(_&&(_=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;return g=-1,l;case 2:if(f.fmt.fmtFlags.sharpV){g=4;continue}g=5;continue;case 4:if(h=(s=ht(f.arg,x,!0))[0],p=s[1]){g=7;continue}g=8;continue;case 7:l=!0,b.push([d(f,"catchPanic"),[f.arg,e,"GoString"]]),r=h.GoString(),g=9;case 9:if(_&&(_=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;v=f.fmt.fmtS(r),g=10;case 10:if(_&&(_=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;return g=-1,l;case 8:g=6;continue;case 5:if(118===(t=e)||115===t||120===t||88===t||113===t){g=12;continue}g=13;continue;case 12:if(o=f.arg,ht(o,Ye,!0)[1]){g=14;continue}if(ht(o,w,!0)[1]){g=15;continue}g=16;continue;case 14:$=o,l=!0,b.push([d(f,"catchPanic"),[f.arg,e,"Error"]]),n=$.Error(),g=17;case 17:if(_&&(_=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;v=f.fmtString(n,e),g=18;case 18:if(_&&(_=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;return g=-1,l;case 15:m=o,l=!0,b.push([d(f,"catchPanic"),[f.arg,e,"String"]]),i=m.String(),g=19;case 19:if(_&&(_=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;v=f.fmtString(i,e),g=20;case 20:if(_&&(_=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;return g=-1,l;case 16:case 13:case 11:case 6:return g=-1,l=!1}return}}catch(e){E=e,g=-1}finally{if(bt(b,E),!_t.asleep)return l;if(_t.asleep)return void 0===y&&(y={$blk:C.ptr.prototype.handleMethods}),y._1=t,y._r=r,y._r$1=n,y._r$2=i,y._ref=o,y._tuple=a,y._tuple$1=s,y.formatter=c,y.handled=l,y.ok=u,y.ok$1=p,y.p=f,y.stringer=h,y.v=$,y.v$1=m,y.verb=e,y.$s=g,y.$deferred=b,y.$r=v,y}},C.prototype.handleMethods=function(e){return this.$val.handleMethods(e)},C.ptr.prototype.printArg=function(e,t){var r,n,i,o,a,s,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,S,D,P,O,R,B,A,j,N,T;N=0;var L,M=!1;void 0!==this&&void 0!==this.$blk&&(M=!0,r=(L=this)._1,n=L._2,i=L._r,o=L._r$1,a=L._r$2,s=L._r$3,l=L._r$4,u=L._r$5,p=L._ref,e=L.arg,d=L.f,f=L.f$1,h=L.f$10,$=L.f$11,m=L.f$12,g=L.f$13,b=L.f$14,v=L.f$15,y=L.f$16,k=L.f$17,w=L.f$18,_=L.f$19,x=L.f$2,S=L.f$3,D=L.f$4,P=L.f$5,O=L.f$6,R=L.f$7,B=L.f$8,A=L.f$9,j=L.p,t=L.verb,N=L.$s,T=L.$r);e:for(;1;){switch(N){case 0:if((j=this).arg=e,j.value=new c.Value.ptr(I.nil,0,0),F(e,Ze)){N=1;continue}N=2;continue;case 1:if(84===(r=t)||118===r){N=4;continue}N=5;continue;case 4:j.fmt.padString("<nil>"),N=6;continue;case 5:T=j.badVerb(t),N=7;case 7:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;case 6:case 3:return void(N=-1);case 2:if(84===(n=t)){N=9;continue}if(112===n){N=10;continue}N=11;continue;case 9:i=c.TypeOf(e).String(),N=12;case 12:if(M&&(M=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;T=j.fmt.fmtS(i),N=13;case 13:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;return void(N=-1);case 10:o=c.ValueOf(e),N=14;case 14:if(M&&(M=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;T=j.fmtPointer(E(o,c.Value),112),N=15;case 15:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;return void(N=-1);case 11:case 8:if(ht(p=e,we,!0)[1]){N=16;continue}if(ht(p,Ae,!0)[1]){N=17;continue}if(ht(p,Ie,!0)[1]){N=18;continue}if(ht(p,je,!0)[1]){N=19;continue}if(ht(p,Ne,!0)[1]){N=20;continue}if(ht(p,_e,!0)[1]){N=21;continue}if(ht(p,xe,!0)[1]){N=22;continue}if(ht(p,Ee,!0)[1]){N=23;continue}if(ht(p,Se,!0)[1]){N=24;continue}if(ht(p,De,!0)[1]){N=25;continue}if(ht(p,Pe,!0)[1]){N=26;continue}if(ht(p,Ce,!0)[1]){N=27;continue}if(ht(p,Oe,!0)[1]){N=28;continue}if(ht(p,Fe,!0)[1]){N=29;continue}if(ht(p,Re,!0)[1]){N=30;continue}if(ht(p,Be,!0)[1]){N=31;continue}if(ht(p,Te,!0)[1]){N=32;continue}if(ht(p,q,!0)[1]){N=33;continue}if(ht(p,c.Value,!0)[1]){N=34;continue}N=35;continue;case 16:d=p.$val,T=j.fmtBool(d,t),N=37;case 37:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 17:f=p.$val,T=j.fmtFloat(f,32,t),N=38;case 38:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 18:x=p.$val,T=j.fmtFloat(x,64,t),N=39;case 39:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 19:S=p.$val,T=j.fmtComplex(new Ne(S.$real,S.$imag),64,t),N=40;case 40:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 20:D=p.$val,T=j.fmtComplex(D,128,t),N=41;case 41:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 21:P=p.$val,T=j.fmtInteger(new Re(0,P),!0,t),N=42;case 42:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 22:O=p.$val,T=j.fmtInteger(new Re(0,O),!0,t),N=43;case 43:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 23:R=p.$val,T=j.fmtInteger(new Re(0,R),!0,t),N=44;case 44:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 24:B=p.$val,T=j.fmtInteger(new Re(0,B),!0,t),N=45;case 45:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 25:A=p.$val,T=j.fmtInteger(new Re(A.$high,A.$low),!0,t),N=46;case 46:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 26:h=p.$val,T=j.fmtInteger(new Re(0,h),!1,t),N=47;case 47:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 27:$=p.$val,T=j.fmtInteger(new Re(0,$),!1,t),N=48;case 48:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 28:m=p.$val,T=j.fmtInteger(new Re(0,m),!1,t),N=49;case 49:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 29:g=p.$val,T=j.fmtInteger(new Re(0,g),!1,t),N=50;case 50:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 30:b=p.$val,T=j.fmtInteger(b,!1,t),N=51;case 51:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 31:v=p.$val,T=j.fmtInteger(new Re(0,v.constructor===Number?v:1),!1,t),N=52;case 52:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 32:y=p.$val,T=j.fmtString(y,t),N=53;case 53:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 33:k=p.$val,T=j.fmtBytes(k,t,"[]byte"),N=54;case 54:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 34:if(w=p.$val,E(w,c.Value).IsValid()&&E(w,c.Value).CanInterface()){N=55;continue}N=56;continue;case 55:a=E(w,c.Value).Interface(),N=57;case 57:if(M&&(M=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;j.arg=a,s=j.handleMethods(t),N=60;case 60:if(M&&(M=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;if(s){N=58;continue}N=59;continue;case 58:return void(N=-1);case 59:case 56:T=j.printValue(E(w,c.Value),t,0),N=61;case 61:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;N=36;continue;case 35:_=p,l=j.handleMethods(t),N=64;case 64:if(M&&(M=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;if(!l){N=62;continue}N=63;continue;case 62:u=c.ValueOf(_),N=65;case 65:if(M&&(M=!1,u=u.$blk()),u&&void 0!==u.$blk)break e;T=j.printValue(E(u,c.Value),t,0),N=66;case 66:if(M&&(M=!1,T=T.$blk()),T&&void 0!==T.$blk)break e;case 63:case 36:return void(N=-1)}return}return void 0===L&&(L={$blk:C.ptr.prototype.printArg}),L._1=r,L._2=n,L._r=i,L._r$1=o,L._r$2=a,L._r$3=s,L._r$4=l,L._r$5=u,L._ref=p,L.arg=e,L.f=d,L.f$1=f,L.f$10=h,L.f$11=$,L.f$12=m,L.f$13=g,L.f$14=b,L.f$15=v,L.f$16=y,L.f$17=k,L.f$18=w,L.f$19=_,L.f$2=x,L.f$3=S,L.f$4=D,L.f$5=P,L.f$6=O,L.f$7=R,L.f$8=B,L.f$9=A,L.p=j,L.verb=t,L.$s=N,L.$r=T,L},C.prototype.printArg=function(e,t){return this.$val.printArg(e,t)},C.ptr.prototype.printValue=function(e,t,n){var o,a,s,l,u,p,d,f,h,$,m,g,b,v,y,k,w,_,x,S,D,P,O,F,R,B,A,I,j,N,L,M,W,z,U,V,H,G,K,X,J,Z,Y,Q,ee,te,re,ne,ie,ae,se;ae=0;var ce,le=!1;void 0!==this&&void 0!==this.$blk&&(le=!0,o=(ce=this)._1,a=ce._2,s=ce._3,l=ce._4,u=ce._arg,p=ce._arg$1,d=ce._arg$2,f=ce._i,h=ce._i$1,$=ce._r,m=ce._r$1,g=ce._r$10,b=ce._r$11,v=ce._r$12,y=ce._r$13,k=ce._r$14,w=ce._r$15,_=ce._r$16,x=ce._r$17,S=ce._r$18,D=ce._r$19,P=ce._r$2,O=ce._r$20,F=ce._r$21,R=ce._r$3,B=ce._r$4,A=ce._r$5,I=ce._r$6,j=ce._r$7,N=ce._r$8,L=ce._r$9,M=ce._ref,W=ce._ref$1,z=ce.a,U=ce.bytes,n=ce.depth,V=ce.f,H=ce.i,G=ce.i$1,K=ce.i$2,X=ce.i$3,J=ce.i$4,Z=ce.key,Y=ce.name,Q=ce.p,ee=ce.sorted,te=ce.t,e=ce.value,re=ce.value$1,t=ce.verb,ne=ce.x,ie=ce.x$1,ae=ce.$s,se=ce.$r);e:for(;1;){switch(ae){case 0:if(Q=this,n>0&&E(e,c.Value).IsValid()&&E(e,c.Value).CanInterface()){ae=1;continue}ae=2;continue;case 1:$=E(e,c.Value).Interface(),ae=3;case 3:if(le&&(le=!1,$=$.$blk()),$&&void 0!==$.$blk)break e;Q.arg=$,m=Q.handleMethods(t),ae=6;case 6:if(le&&(le=!1,m=m.$blk()),m&&void 0!==m.$blk)break e;if(m){ae=4;continue}ae=5;continue;case 4:return void(ae=-1);case 5:case 2:if(Q.arg=Ze,Q.value=e,V=e,0===(o=E(e,c.Value).Kind())){ae=8;continue}if(1===o){ae=9;continue}if(2===o||3===o||4===o||5===o||6===o){ae=10;continue}if(7===o||8===o||9===o||10===o||11===o||12===o){ae=11;continue}if(13===o){ae=12;continue}if(14===o){ae=13;continue}if(15===o){ae=14;continue}if(16===o){ae=15;continue}if(24===o){ae=16;continue}if(21===o){ae=17;continue}if(25===o){ae=18;continue}if(20===o){ae=19;continue}if(17===o||23===o){ae=20;continue}if(22===o){ae=21;continue}if(18===o||19===o||26===o){ae=22;continue}ae=23;continue;case 8:if(0===n){ae=25;continue}ae=26;continue;case 25:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString("<invalid reflect.Value>"),ae=27;continue;case 26:if(118===(a=t)){ae=29;continue}ae=30;continue;case 29:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString("<nil>"),ae=31;continue;case 30:se=Q.badVerb(t),ae=32;case 32:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;case 31:case 28:case 27:ae=24;continue;case 9:se=Q.fmtBool(E(V,c.Value).Bool(),t),ae=33;case 33:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 10:se=Q.fmtInteger((ne=E(V,c.Value).Int(),new Re(ne.$high,ne.$low)),!0,t),ae=34;case 34:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 11:se=Q.fmtInteger(E(V,c.Value).Uint(),!1,t),ae=35;case 35:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 12:se=Q.fmtFloat(E(V,c.Value).Float(),32,t),ae=36;case 36:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 13:se=Q.fmtFloat(E(V,c.Value).Float(),64,t),ae=37;case 37:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 14:se=Q.fmtComplex(E(V,c.Value).Complex(),64,t),ae=38;case 38:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 15:se=Q.fmtComplex(E(V,c.Value).Complex(),128,t),ae=39;case 39:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 16:P=E(V,c.Value).String(),ae=40;case 40:if(le&&(le=!1,P=P.$blk()),P&&void 0!==P.$blk)break e;se=Q.fmtString(P,t),ae=41;case 41:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 17:if(Q.fmt.fmtFlags.sharpV){ae=42;continue}ae=43;continue;case 42:R=E(V,c.Value).Type().String(),ae=45;case 45:if(le&&(le=!1,R=R.$blk()),R&&void 0!==R.$blk)break e;se=(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(R),ae=46;case 46:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;if(E(V,c.Value).IsNil())return(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString("(nil)"),void(ae=-1);(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(123),ae=44;continue;case 43:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString("map[");case 44:B=r.Sort(E(V,c.Value)),ae=47;case 47:if(le&&(le=!1,B=B.$blk()),B&&void 0!==B.$blk)break e;M=(ee=B).Key,f=0;case 48:if(!(f<M.$length)){ae=49;continue}H=f,Z=f<0||f>=M.$length?void i("index out of range"):M.$array[M.$offset+f],H>0&&(Q.fmt.fmtFlags.sharpV?(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(", "):(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(32)),se=Q.printValue(E(Z,c.Value),t,n+1>>0),ae=50;case 50:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(58),se=Q.printValue(E((ie=ee.Value,H<0||H>=ie.$length?void i("index out of range"):ie.$array[ie.$offset+H]),c.Value),t,n+1>>0),ae=51;case 51:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;f++,ae=48;continue;case 49:Q.fmt.fmtFlags.sharpV?(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(125):(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(93),ae=24;continue;case 18:if(Q.fmt.fmtFlags.sharpV){ae=52;continue}ae=53;continue;case 52:A=E(V,c.Value).Type().String(),ae=54;case 54:if(le&&(le=!1,A=A.$blk()),A&&void 0!==A.$blk)break e;se=(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(A),ae=55;case 55:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;case 53:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(123),G=0;case 56:if(!(G<E(V,c.Value).NumField())){ae=57;continue}if(G>0&&(Q.fmt.fmtFlags.sharpV?(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(", "):(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(32)),Q.fmt.fmtFlags.plusV||Q.fmt.fmtFlags.sharpV){ae=58;continue}ae=59;continue;case 58:I=E(V,c.Value).Type().Field(G),ae=60;case 60:if(le&&(le=!1,I=I.$blk()),I&&void 0!==I.$blk)break e;""!==(Y=I.Name)&&((Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(Y),(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(58));case 59:j=oe(E(V,c.Value),G),ae=61;case 61:if(le&&(le=!1,j=j.$blk()),j&&void 0!==j.$blk)break e;se=Q.printValue(E(j,c.Value),t,n+1>>0),ae=62;case 62:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;G=G+1>>0,ae=56;continue;case 57:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(125),ae=24;continue;case 19:N=E(V,c.Value).Elem(),ae=63;case 63:if(le&&(le=!1,N=N.$blk()),N&&void 0!==N.$blk)break e;if(!E(re=N,c.Value).IsValid()){ae=64;continue}ae=65;continue;case 64:if(Q.fmt.fmtFlags.sharpV){ae=67;continue}ae=68;continue;case 67:L=E(V,c.Value).Type().String(),ae=70;case 70:if(le&&(le=!1,L=L.$blk()),L&&void 0!==L.$blk)break e;se=(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(L),ae=71;case 71:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString("(nil)"),ae=69;continue;case 68:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString("<nil>");case 69:ae=66;continue;case 65:se=Q.printValue(E(re,c.Value),t,n+1>>0),ae=72;case 72:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;case 66:ae=24;continue;case 20:if(115===(s=t)||113===s||120===s||88===s){ae=74;continue}ae=75;continue;case 74:g=(te=E(V,c.Value).Type()).Elem(),ae=78;case 78:if(le&&(le=!1,g=g.$blk()),g&&void 0!==g.$blk)break e;b=g.Kind(),ae=79;case 79:if(le&&(le=!1,b=b.$blk()),b&&void 0!==b.$blk)break e;if(8===b){ae=76;continue}ae=77;continue;case 76:if(U=q.nil,23===E(V,c.Value).Kind()){ae=80;continue}if(E(V,c.Value).CanAddr()){ae=81;continue}ae=82;continue;case 80:v=E(V,c.Value).Bytes(),ae=84;case 84:if(le&&(le=!1,v=v.$blk()),v&&void 0!==v.$blk)break e;U=v,ae=83;continue;case 81:y=E(V,c.Value).Slice(0,E(V,c.Value).Len()),ae=85;case 85:if(le&&(le=!1,y=y.$blk()),y&&void 0!==y.$blk)break e;k=E(y,c.Value).Bytes(),ae=86;case 86:if(le&&(le=!1,k=k.$blk()),k&&void 0!==k.$blk)break e;U=k,ae=83;continue;case 82:W=U=pt(q,E(V,c.Value).Len()),h=0;case 87:if(!(h<W.$length)){ae=88;continue}K=h,w=E(V,c.Value).Index(K),ae=89;case 89:if(le&&(le=!1,w=w.$blk()),w&&void 0!==w.$blk)break e;_=E(w,c.Value).Uint(),ae=90;case 90:if(le&&(le=!1,_=_.$blk()),_&&void 0!==_.$blk)break e;K<0||K>=U.$length?i("index out of range"):U.$array[U.$offset+K]=_.$low<<24>>>24,h++,ae=87;continue;case 88:case 83:u=U,p=t,x=te.String(),ae=91;case 91:if(le&&(le=!1,x=x.$blk()),x&&void 0!==x.$blk)break e;d=x,se=Q.fmtBytes(u,p,d),ae=92;case 92:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;return void(ae=-1);case 77:case 75:case 73:if(Q.fmt.fmtFlags.sharpV){ae=93;continue}ae=94;continue;case 93:S=E(V,c.Value).Type().String(),ae=96;case 96:if(le&&(le=!1,S=S.$blk()),S&&void 0!==S.$blk)break e;se=(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(S),ae=97;case 97:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;if(23===E(V,c.Value).Kind()&&E(V,c.Value).IsNil())return(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString("(nil)"),void(ae=-1);(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(123),X=0;case 98:if(!(X<E(V,c.Value).Len())){ae=99;continue}X>0&&(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteString(", "),D=E(V,c.Value).Index(X),ae=100;case 100:if(le&&(le=!1,D=D.$blk()),D&&void 0!==D.$blk)break e;se=Q.printValue(E(D,c.Value),t,n+1>>0),ae=101;case 101:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;X=X+1>>0,ae=98;continue;case 99:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(125),ae=95;continue;case 94:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(91),J=0;case 102:if(!(J<E(V,c.Value).Len())){ae=103;continue}J>0&&(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(32),O=E(V,c.Value).Index(J),ae=104;case 104:if(le&&(le=!1,O=O.$blk()),O&&void 0!==O.$blk)break e;se=Q.printValue(E(O,c.Value),t,n+1>>0),ae=105;case 105:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;J=J+1>>0,ae=102;continue;case 103:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(93);case 95:ae=24;continue;case 21:if(0===n&&0!==E(V,c.Value).Pointer()){ae=106;continue}ae=107;continue;case 106:F=E(V,c.Value).Elem(),ae=109;case 109:if(le&&(le=!1,F=F.$blk()),F&&void 0!==F.$blk)break e;if(17===(l=E(z=F,c.Value).Kind())||23===l||25===l||21===l){ae=110;continue}ae=111;continue;case 110:(Q.$ptr_buf||(Q.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),Q))).WriteByte(38),se=Q.printValue(E(z,c.Value),t,n+1>>0),ae=112;case 112:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;return void(ae=-1);case 111:case 108:case 107:se=Q.fmtPointer(E(V,c.Value),t),ae=113;case 113:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 22:se=Q.fmtPointer(E(V,c.Value),t),ae=114;case 114:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;ae=24;continue;case 23:se=Q.unknownType(E(V,c.Value)),ae=115;case 115:if(le&&(le=!1,se=se.$blk()),se&&void 0!==se.$blk)break e;case 24:case 7:return void(ae=-1)}return}return void 0===ce&&(ce={$blk:C.ptr.prototype.printValue}),ce._1=o,ce._2=a,ce._3=s,ce._4=l,ce._arg=u,ce._arg$1=p,ce._arg$2=d,ce._i=f,ce._i$1=h,ce._r=$,ce._r$1=m,ce._r$10=g,ce._r$11=b,ce._r$12=v,ce._r$13=y,ce._r$14=k,ce._r$15=w,ce._r$16=_,ce._r$17=x,ce._r$18=S,ce._r$19=D,ce._r$2=P,ce._r$20=O,ce._r$21=F,ce._r$3=R,ce._r$4=B,ce._r$5=A,ce._r$6=I,ce._r$7=j,ce._r$8=N,ce._r$9=L,ce._ref=M,ce._ref$1=W,ce.a=z,ce.bytes=U,ce.depth=n,ce.f=V,ce.i=H,ce.i$1=G,ce.i$2=K,ce.i$3=X,ce.i$4=J,ce.key=Z,ce.name=Y,ce.p=Q,ce.sorted=ee,ce.t=te,ce.value=e,ce.value$1=re,ce.verb=t,ce.x=ne,ce.x$1=ie,ce.$s=ae,ce.$r=se,ce},C.prototype.printValue=function(e,t,r){return this.$val.printValue(e,t,r)},le=function(e,t){var r,n,o,a,s,l,u,p,d,f,h,$,m,g;m=0;var b,v=!1;void 0!==this&&void 0!==this.$blk&&(v=!0,r=(b=this)._1,n=b._r,o=b._tuple,e=b.a,t=b.argNum,a=b.isInt,s=b.n,l=b.n$1,u=b.newArgNum,p=b.num,d=b.v,f=b.x,h=b.x$1,$=b.x$2,m=b.$s,g=b.$r);e:for(;1;){switch(m){case 0:if(p=0,a=!1,u=0,u=t,t<e.$length){m=1;continue}m=2;continue;case 1:if(p=(o=ht(t<0||t>=e.$length?void i("index out of range"):e.$array[e.$offset+t],_e,!0))[0],!(a=o[1])){m=3;continue}m=4;continue;case 3:n=c.ValueOf(t<0||t>=e.$length?void i("index out of range"):e.$array[e.$offset+t]),m=6;case 6:if(v&&(v=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;2===(r=E(d=n,c.Value).Kind())||3===r||4===r||5===r||6===r?(s=E(d,c.Value).Int(),(f=new De(0,s.$low+4294967296*(s.$high>>31)>>0)).$high===s.$high&&f.$low===s.$low&&(p=s.$low+4294967296*(s.$high>>31)>>0,a=!0)):7!==r&&8!==r&&9!==r&&10!==r&&11!==r&&12!==r||(l=E(d,c.Value).Uint(),((h=new De(l.$high,l.$low)).$high>0||0===h.$high&&h.$low>=0)&&($=new Re(0,l.$low>>0)).$high===l.$high&&$.$low===l.$low&&(p=l.$low>>0,a=!0));case 5:case 4:u=t+1>>0,ae(p)&&(p=0,a=!1);case 2:return m=-1,[p,a,u]}return}return void 0===b&&(b={$blk:le}),b._1=r,b._r=n,b._tuple=o,b.a=e,b.argNum=t,b.isInt=a,b.n=s,b.n$1=l,b.newArgNum=u,b.num=p,b.v=d,b.x=f,b.x$1=h,b.x$2=$,b.$s=m,b.$r=g,b},ue=function(e){var t,r,n,i,o;if(e.length<3)return[0,1,!1];for(r=1;1&&r<e.length;){if(93===e.charCodeAt(r))return o=(t=se(e,1,r))[0],i=t[1],n=t[2],i&&n===r?[o-1>>0,r+1>>0,!0]:[0,r+1>>0,!1];r=r+1>>0}return[0,1,!1]},C.ptr.prototype.argNumber=function(e,t,r,n){var i,o,a,s;return t.length<=r||91!==t.charCodeAt(r)?[e,r,!1]:(this.reordered=!0,o=(i=ue(h(t,r)))[0],s=i[1],(a=i[2])&&0<=o&&o<n?[o,r+s>>0,!0]:(this.goodArgNum=!1,[e,r+s>>0,a]))},C.prototype.argNumber=function(e,t,r,n){return this.$val.argNumber(e,t,r,n)},C.ptr.prototype.badArgNum=function(e){var t;((t=this).$ptr_buf||(t.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),t))).WriteString("%!"),(t.$ptr_buf||(t.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),t))).WriteRune(e),(t.$ptr_buf||(t.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),t))).WriteString("(BADINDEX)")},C.prototype.badArgNum=function(e){return this.$val.badArgNum(e)},C.ptr.prototype.missingArg=function(e){var t;((t=this).$ptr_buf||(t.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),t))).WriteString("%!"),(t.$ptr_buf||(t.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),t))).WriteRune(e),(t.$ptr_buf||(t.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),t))).WriteString("(MISSING)")},C.prototype.missingArg=function(e){return this.$val.missingArg(e)},C.ptr.prototype.doPrintf=function(e,t){var r,n,o,a,s,l,u,p,d,m,g,b,v,y,k,w,_,x,E,S,D,P,O,R,B,A,I,j,N;j=0;var L,M=!1;void 0!==this&&void 0!==this.$blk&&(M=!0,r=(L=this)._1,n=L._i,o=L._r,a=L._r$1,s=L._r$2,l=L._ref,u=L._tmp,p=L._tmp$1,d=L._tuple,m=L._tuple$1,g=L._tuple$2,b=L._tuple$3,v=L._tuple$4,y=L._tuple$5,k=L._tuple$6,w=L._tuple$7,t=L.a,_=L.afterIndex,x=L.arg,E=L.argNum,S=L.c,D=L.end,e=L.format,P=L.i,O=L.i$1,R=L.lasti,B=L.p,A=L.size,I=L.verb,j=L.$s,N=L.$r);e:for(;1;){switch(j){case 0:B=this,D=e.length,E=0,_=!1,B.reordered=!1,P=0;case 1:if(!(P<D)){j=2;continue}for(B.goodArgNum=!0,R=P;1&&P<D&&37!==e.charCodeAt(P);)P=P+1>>0;if(P>R&&(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString(h(e,R,P)),P>=D){j=2;continue}P=P+1>>0,B.fmt.clearflags();case 3:if(!(P<D)){j=4;continue}if(35===(r=S=e.charCodeAt(P))){j=6;continue}if(48===r){j=7;continue}if(43===r){j=8;continue}if(45===r){j=9;continue}if(32===r){j=10;continue}j=11;continue;case 6:B.fmt.fmtFlags.sharp=!0,j=12;continue;case 7:B.fmt.fmtFlags.zero=!B.fmt.fmtFlags.minus,j=12;continue;case 8:B.fmt.fmtFlags.plus=!0,j=12;continue;case 9:B.fmt.fmtFlags.minus=!0,B.fmt.fmtFlags.zero=!1,j=12;continue;case 10:B.fmt.fmtFlags.space=!0,j=12;continue;case 11:if(97<=S&&S<=122&&E<t.$length){j=13;continue}j=14;continue;case 13:118===S&&(B.fmt.fmtFlags.sharpV=B.fmt.fmtFlags.sharp,B.fmt.fmtFlags.sharp=!1,B.fmt.fmtFlags.plusV=B.fmt.fmtFlags.plus,B.fmt.fmtFlags.plus=!1),N=B.printArg(E<0||E>=t.$length?void i("index out of range"):t.$array[t.$offset+E],S>>0),j=15;case 15:if(M&&(M=!1,N=N.$blk()),N&&void 0!==N.$blk)break e;E=E+1>>0,P=P+1>>0,j=1;continue e;case 14:j=4;continue e;case 12:case 5:P=P+1>>0,j=3;continue;case 4:if(E=(d=B.argNumber(E,e,P,t.$length))[0],P=d[1],_=d[2],P<D&&42===e.charCodeAt(P)){j=16;continue}j=17;continue;case 16:P=P+1>>0,o=le(t,E),j=19;case 19:if(M&&(M=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;m=o,B.fmt.wid=m[0],B.fmt.fmtFlags.widPresent=m[1],E=m[2],B.fmt.fmtFlags.widPresent||(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString("%!(BADWIDTH)"),B.fmt.wid<0&&(B.fmt.wid=-B.fmt.wid,B.fmt.fmtFlags.minus=!0,B.fmt.fmtFlags.zero=!1),_=!1,j=18;continue;case 17:g=se(e,P,D),B.fmt.wid=g[0],B.fmt.fmtFlags.widPresent=g[1],P=g[2],_&&B.fmt.fmtFlags.widPresent&&(B.goodArgNum=!1);case 18:if(P+1>>0<D&&46===e.charCodeAt(P)){j=20;continue}j=21;continue;case 20:if(P=P+1>>0,_&&(B.goodArgNum=!1),E=(b=B.argNumber(E,e,P,t.$length))[0],P=b[1],_=b[2],P<D&&42===e.charCodeAt(P)){j=22;continue}j=23;continue;case 22:P=P+1>>0,a=le(t,E),j=25;case 25:if(M&&(M=!1,a=a.$blk()),a&&void 0!==a.$blk)break e;v=a,B.fmt.prec=v[0],B.fmt.fmtFlags.precPresent=v[1],E=v[2],B.fmt.prec<0&&(B.fmt.prec=0,B.fmt.fmtFlags.precPresent=!1),B.fmt.fmtFlags.precPresent||(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString("%!(BADPREC)"),_=!1,j=24;continue;case 23:y=se(e,P,D),B.fmt.prec=y[0],B.fmt.fmtFlags.precPresent=y[1],P=y[2],B.fmt.fmtFlags.precPresent||(B.fmt.prec=0,B.fmt.fmtFlags.precPresent=!0);case 24:case 21:if(_||(E=(k=B.argNumber(E,e,P,t.$length))[0],P=k[1],_=k[2]),P>=D){(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString("%!(NOVERB)"),j=2;continue}if(A=p=1,(I=u=e.charCodeAt(P)>>0)>=128&&(I=(w=$.DecodeRuneInString(h(e,P)))[0],A=w[1]),P=P+A>>0,37===I){j=27;continue}if(!B.goodArgNum){j=28;continue}if(E>=t.$length){j=29;continue}if(118===I){j=30;continue}j=31;continue;case 27:(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteByte(37),j=32;continue;case 28:B.badArgNum(I),j=32;continue;case 29:B.missingArg(I),j=32;continue;case 30:B.fmt.fmtFlags.sharpV=B.fmt.fmtFlags.sharp,B.fmt.fmtFlags.sharp=!1,B.fmt.fmtFlags.plusV=B.fmt.fmtFlags.plus,B.fmt.fmtFlags.plus=!1,N=B.printArg(E<0||E>=t.$length?void i("index out of range"):t.$array[t.$offset+E],I),j=33;case 33:if(M&&(M=!1,N=N.$blk()),N&&void 0!==N.$blk)break e;E=E+1>>0,j=32;continue;case 31:N=B.printArg(E<0||E>=t.$length?void i("index out of range"):t.$array[t.$offset+E],I),j=34;case 34:if(M&&(M=!1,N=N.$blk()),N&&void 0!==N.$blk)break e;E=E+1>>0;case 32:case 26:j=1;continue;case 2:if(!B.reordered&&E<t.$length){j=35;continue}j=36;continue;case 35:B.fmt.clearflags(),(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString("%!(EXTRA "),l=f(t,E),n=0;case 37:if(!(n<l.$length)){j=38;continue}if(O=n,x=n<0||n>=l.$length?void i("index out of range"):l.$array[l.$offset+n],O>0&&(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString(", "),F(x,Ze)){j=39;continue}j=40;continue;case 39:(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString("<nil>"),j=41;continue;case 40:s=c.TypeOf(x).String(),j=42;case 42:if(M&&(M=!1,s=s.$blk()),s&&void 0!==s.$blk)break e;N=(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteString(s),j=43;case 43:if(M&&(M=!1,N=N.$blk()),N&&void 0!==N.$blk)break e;(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteByte(61),N=B.printArg(x,118),j=44;case 44:if(M&&(M=!1,N=N.$blk()),N&&void 0!==N.$blk)break e;case 41:n++,j=37;continue;case 38:(B.$ptr_buf||(B.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),B))).WriteByte(41);case 36:return void(j=-1)}return}return void 0===L&&(L={$blk:C.ptr.prototype.doPrintf}),L._1=r,L._i=n,L._r=o,L._r$1=a,L._r$2=s,L._ref=l,L._tmp=u,L._tmp$1=p,L._tuple=d,L._tuple$1=m,L._tuple$2=g,L._tuple$3=b,L._tuple$4=v,L._tuple$5=y,L._tuple$6=k,L._tuple$7=w,L.a=t,L.afterIndex=_,L.arg=x,L.argNum=E,L.c=S,L.end=D,L.format=e,L.i=P,L.i$1=O,L.lasti=R,L.p=B,L.size=A,L.verb=I,L.$s=j,L.$r=N,L},C.prototype.doPrintf=function(e,t){return this.$val.doPrintf(e,t)},R.ptr.prototype.Read=function(e){return[0,t.New("ScanState's Read should not be called. Use ReadRune")]},R.prototype.Read=function(e){return this.$val.Read(e)},R.ptr.prototype.ReadRune=function(){var e,t,r,i,o,a,s,c;s=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,e=(l=this)._r,t=l._tuple,r=l.err,i=l.r,o=l.s,a=l.size,s=l.$s,c=l.$r);e:for(;1;){switch(s){case 0:if(i=0,a=0,r=Ze,(o=this).atEOF||o.count>=o.ssave.argLimit)return s=-1,[i,a,r=n.EOF];e=o.rs.ReadRune(),s=1;case 1:if(u&&(u=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return i=(t=e)[0],a=t[1],r=t[2],F(r,Ze)?(o.count=o.count+1>>0,o.ssave.nlIsEnd&&10===i&&(o.atEOF=!0)):F(r,n.EOF)&&(o.atEOF=!0),s=-1,[i,a,r]}return}return void 0===l&&(l={$blk:R.ptr.prototype.ReadRune}),l._r=e,l._tuple=t,l.err=r,l.r=i,l.s=o,l.size=a,l.$s=s,l.$r=c,l},R.prototype.ReadRune=function(){return this.$val.ReadRune()},R.ptr.prototype.Width=function(){return 1073741824===this.ssave.maxWid?[0,!1]:[this.ssave.maxWid,!0]},R.prototype.Width=function(){return this.$val.Width()},R.ptr.prototype.getRune=function(){var e,t,r,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,e=(c=this)._r,t=c._tuple,r=c.err,i=c.r,o=c.s,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:i=0,e=(o=this).ReadRune(),a=1;case 1:if(l&&(l=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(i=(t=e)[0],r=t[2],!F(r,Ze)){if(F(r,n.EOF))return a=-1,-1;o.error(r)}return a=-1,i}return}return void 0===c&&(c={$blk:R.ptr.prototype.getRune}),c._r=e,c._tuple=t,c.err=r,c.r=i,c.s=o,c.$s=a,c.$r=s,c},R.prototype.getRune=function(){return this.$val.getRune()},R.ptr.prototype.UnreadRune=function(){var e,t,r,n;r=0;var i,o=!1;void 0!==this&&void 0!==this.$blk&&(o=!0,e=(i=this)._r,t=i.s,r=i.$s,n=i.$r);e:for(;1;){switch(r){case 0:e=(t=this).rs.UnreadRune(),r=1;case 1:if(o&&(o=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return t.atEOF=!1,t.count=t.count-1>>0,r=-1,Ze}return}return void 0===i&&(i={$blk:R.ptr.prototype.UnreadRune}),i._r=e,i.s=t,i.$s=r,i.$r=n,i},R.prototype.UnreadRune=function(){return this.$val.UnreadRune()},R.ptr.prototype.error=function(e){var t;vt(new((t=new O.ptr(e)).constructor.elem)(t))},R.prototype.error=function(e){return this.$val.error(e)},R.ptr.prototype.errorString=function(e){var r;vt(new((r=new O.ptr(t.New(e))).constructor.elem)(r))},R.prototype.errorString=function(e){return this.$val.errorString(e)},R.ptr.prototype.Token=function(e,t){var r,n,i,o,a,s,c;a=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,r=(u=this)._r,n=u.err,t=u.f,i=u.s,e=u.skipSpace,o=u.tok,a=u.$s,s=u.$deferred,c=u.$r);var d=null;try{e:for(;1;){switch(a){case 0:(s=[]).index=_t.deferStack.length,_t.deferStack.push(s),n=[n],o=q.nil,n[0]=Ze,i=this,s.push([function(e){return function(){var t,r,n;r=yt(),F(r,Ze)||(t=ht(r,O,!0),n=E(t[0],O),t[1]?e[0]=n.err:vt(r))}}(n),[]]),t===l&&(t=he),i.buf=f(i.buf,0,0),r=i.token(e,t),a=1;case 1:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return a=-1,[o=r,n[0]]}return}}catch(n){d=n,a=-1}finally{if(bt(s,d),!_t.asleep)return[o,n[0]];if(_t.asleep)return void 0===u&&(u={$blk:R.ptr.prototype.Token}),u._r=r,u.err=n,u.f=t,u.s=i,u.skipSpace=e,u.tok=o,u.$s=a,u.$deferred=s,u.$r=c,u}},R.prototype.Token=function(e,t){return this.$val.Token(e,t)},de=function(e){var t,r,n,o;if(e>=65536)return!1;for(o=e<<16>>>16,r=Q,t=0;1&&t<r.$length;){if(o<(n=E(t<0||t>=r.$length?void i("index out of range"):r.$array[r.$offset+t],U))[0])return!1;if(o<=n[1])return!0;t++}return!1},he=function(e){return!de(e)},R.ptr.prototype.free=function(e){var t;t=this,e.validSave?B.copy(t.ssave,e):t.buf.$capacity>1024||(t.buf=f(t.buf,0,0),t.rs=Ze,ee.Put(t))},R.prototype.free=function(e){return this.$val.free(e)},R.ptr.prototype.SkipSpace=function(){var e,t,r,n,i,o,a,s;a=0;var c,l=!1;void 0!==this&&void 0!==this.$blk&&(l=!0,e=(c=this)._r,t=c._r$1,r=c._r$2,n=c._v,i=c.r,o=c.s,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:o=this;case 1:e=o.getRune(),a=3;case 3:if(l&&(l=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;if(-1===(i=e))return void(a=-1);if(13!==i){n=!1,a=6;continue e}t=o.peek("\n"),a=7;case 7:if(l&&(l=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;n=t;case 6:if(n){a=4;continue}a=5;continue;case 4:a=1;continue;case 5:if(10===i){a=8;continue}a=9;continue;case 8:if(o.ssave.nlIsSpace){a=1;continue}return o.errorString("unexpected newline"),void(a=-1);case 9:if(!de(i)){a=10;continue}a=11;continue;case 10:r=o.UnreadRune(),a=12;case 12:if(l&&(l=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;a=2;continue;case 11:a=1;continue;case 2:return void(a=-1)}return}return void 0===c&&(c={$blk:R.ptr.prototype.SkipSpace}),c._r=e,c._r$1=t,c._r$2=r,c._v=n,c.r=i,c.s=o,c.$s=a,c.$r=s,c},R.prototype.SkipSpace=function(){return this.$val.SkipSpace()},R.ptr.prototype.token=function(e,t){var r,n,i,o,a,s,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,r=(u=this)._r,n=u._r$1,i=u._r$2,t=u.f,o=u.r,a=u.s,e=u.skipSpace,s=u.x,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:if(a=this,e){c=1;continue}c=2;continue;case 1:l=a.SkipSpace(),c=3;case 3:if(p&&(p=!1,l=l.$blk()),l&&void 0!==l.$blk)break e;case 2:case 4:r=a.getRune(),c=6;case 6:if(p&&(p=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(-1===(o=r)){c=5;continue}n=t(o),c=9;case 9:if(p&&(p=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(!n){c=7;continue}c=8;continue;case 7:i=a.UnreadRune(),c=10;case 10:if(p&&(p=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;c=5;continue;case 8:(a.$ptr_buf||(a.$ptr_buf=new T((function(){return this.$target.buf}),(function(e){this.$target.buf=e}),a))).WriteRune(o),c=4;continue;case 5:return c=-1,s=a.buf,f(new q(s.$array),s.$offset,s.$offset+s.$length)}return}return void 0===u&&(u={$blk:R.ptr.prototype.token}),u._r=r,u._r$1=n,u._r$2=i,u.f=t,u.r=o,u.s=a,u.skipSpace=e,u.x=s,u.$s=c,u.$r=l,u},R.prototype.token=function(e,t){return this.$val.token(e,t)},$e=function(e,t){var r,n,i,o;for(n=e,r=0;1&&r<n.length;){if(o=r,(i=m(n,r))[0]===t)return o;r+=i[1]}return-1},R.ptr.prototype.peek=function(e){var t,r,n,i,o,a;o=0;var s,c=!1;void 0!==this&&void 0!==this.$blk&&(c=!0,t=(s=this)._r,r=s._r$1,e=s.ok,n=s.r,i=s.s,o=s.$s,a=s.$r);e:for(;1;){switch(o){case 0:t=(i=this).getRune(),o=1;case 1:if(c&&(c=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;if(-1!==(n=t)){o=2;continue}o=3;continue;case 2:r=i.UnreadRune(),o=4;case 4:if(c&&(c=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;case 3:return o=-1,$e(e,n)>=0}return}return void 0===s&&(s={$blk:R.ptr.prototype.peek}),s._r=t,s._r$1=r,s.ok=e,s.r=n,s.s=i,s.$s=o,s.$r=a,s},R.prototype.peek=function(e){return this.$val.peek(e)},X.methods=[{prop:"clearflags",name:"clearflags",pkg:"fmt",typ:Ke([],[],!1)},{prop:"init",name:"init",pkg:"fmt",typ:Ke([T],[],!1)},{prop:"writePadding",name:"writePadding",pkg:"fmt",typ:Ke([_e],[],!1)},{prop:"pad",name:"pad",pkg:"fmt",typ:Ke([q],[],!1)},{prop:"padString",name:"padString",pkg:"fmt",typ:Ke([Te],[],!1)},{prop:"fmtBoolean",name:"fmtBoolean",pkg:"fmt",typ:Ke([we],[],!1)},{prop:"fmtUnicode",name:"fmtUnicode",pkg:"fmt",typ:Ke([Re],[],!1)},{prop:"fmtInteger",name:"fmtInteger",pkg:"fmt",typ:Ke([Re,_e,we,Te],[],!1)},{prop:"truncateString",name:"truncateString",pkg:"fmt",typ:Ke([Te],[Te],!1)},{prop:"truncate",name:"truncate",pkg:"fmt",typ:Ke([q],[q],!1)},{prop:"fmtS",name:"fmtS",pkg:"fmt",typ:Ke([Te],[],!1)},{prop:"fmtBs",name:"fmtBs",pkg:"fmt",typ:Ke([q],[],!1)},{prop:"fmtSbx",name:"fmtSbx",pkg:"fmt",typ:Ke([Te,q,Te],[],!1)},{prop:"fmtSx",name:"fmtSx",pkg:"fmt",typ:Ke([Te,Te],[],!1)},{prop:"fmtBx",name:"fmtBx",pkg:"fmt",typ:Ke([q,Te],[],!1)},{prop:"fmtQ",name:"fmtQ",pkg:"fmt",typ:Ke([Te],[],!1)},{prop:"fmtC",name:"fmtC",pkg:"fmt",typ:Ke([Re],[],!1)},{prop:"fmtQc",name:"fmtQc",pkg:"fmt",typ:Ke([Re],[],!1)},{prop:"fmtFloat",name:"fmtFloat",pkg:"fmt",typ:Ke([Ie,_e,Se,_e],[],!1)}],T.methods=[{prop:"Write",name:"Write",pkg:"",typ:Ke([q],[],!1)},{prop:"WriteString",name:"WriteString",pkg:"",typ:Ke([Te],[],!1)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:Ke([Ce],[],!1)},{prop:"WriteRune",name:"WriteRune",pkg:"",typ:Ke([Se],[],!1)}],G.methods=[{prop:"free",name:"free",pkg:"fmt",typ:Ke([],[],!1)},{prop:"Width",name:"Width",pkg:"",typ:Ke([],[_e,we],!1)},{prop:"Precision",name:"Precision",pkg:"",typ:Ke([],[_e,we],!1)},{prop:"Flag",name:"Flag",pkg:"",typ:Ke([_e],[we],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([q],[_e,Ye],!1)},{prop:"WriteString",name:"WriteString",pkg:"",typ:Ke([Te],[_e,Ye],!1)},{prop:"unknownType",name:"unknownType",pkg:"fmt",typ:Ke([c.Value],[],!1)},{prop:"badVerb",name:"badVerb",pkg:"fmt",typ:Ke([Se],[],!1)},{prop:"fmtBool",name:"fmtBool",pkg:"fmt",typ:Ke([we,Se],[],!1)},{prop:"fmt0x64",name:"fmt0x64",pkg:"fmt",typ:Ke([Re,we],[],!1)},{prop:"fmtInteger",name:"fmtInteger",pkg:"fmt",typ:Ke([Re,we,Se],[],!1)},{prop:"fmtFloat",name:"fmtFloat",pkg:"fmt",typ:Ke([Ie,_e,Se],[],!1)},{prop:"fmtComplex",name:"fmtComplex",pkg:"fmt",typ:Ke([Ne,_e,Se],[],!1)},{prop:"fmtString",name:"fmtString",pkg:"fmt",typ:Ke([Te,Se],[],!1)},{prop:"fmtBytes",name:"fmtBytes",pkg:"fmt",typ:Ke([q,Se,Te],[],!1)},{prop:"fmtPointer",name:"fmtPointer",pkg:"fmt",typ:Ke([c.Value,Se],[],!1)},{prop:"catchPanic",name:"catchPanic",pkg:"fmt",typ:Ke([Je,Se,Te],[],!1)},{prop:"handleMethods",name:"handleMethods",pkg:"fmt",typ:Ke([Se],[we],!1)},{prop:"printArg",name:"printArg",pkg:"fmt",typ:Ke([Je,Se],[],!1)},{prop:"printValue",name:"printValue",pkg:"fmt",typ:Ke([c.Value,Se,_e],[],!1)},{prop:"argNumber",name:"argNumber",pkg:"fmt",typ:Ke([_e,Te,_e,_e],[_e,_e,we],!1)},{prop:"badArgNum",name:"badArgNum",pkg:"fmt",typ:Ke([Se],[],!1)},{prop:"missingArg",name:"missingArg",pkg:"fmt",typ:Ke([Se],[],!1)},{prop:"doPrintf",name:"doPrintf",pkg:"fmt",typ:Ke([Te,A],[],!1)},{prop:"doPrint",name:"doPrint",pkg:"fmt",typ:Ke([A],[],!1)},{prop:"doPrintln",name:"doPrintln",pkg:"fmt",typ:Ke([A],[],!1)}],K.methods=[{prop:"Read",name:"Read",pkg:"",typ:Ke([q],[_e,Ye],!1)},{prop:"ReadRune",name:"ReadRune",pkg:"",typ:Ke([],[Se,_e,Ye],!1)},{prop:"Width",name:"Width",pkg:"",typ:Ke([],[_e,we],!1)},{prop:"getRune",name:"getRune",pkg:"fmt",typ:Ke([],[Se],!1)},{prop:"mustReadRune",name:"mustReadRune",pkg:"fmt",typ:Ke([],[Se],!1)},{prop:"UnreadRune",name:"UnreadRune",pkg:"",typ:Ke([],[Ye],!1)},{prop:"error",name:"error",pkg:"fmt",typ:Ke([Ye],[],!1)},{prop:"errorString",name:"errorString",pkg:"fmt",typ:Ke([Te],[],!1)},{prop:"Token",name:"Token",pkg:"",typ:Ke([we,J],[q,Ye],!1)},{prop:"free",name:"free",pkg:"fmt",typ:Ke([B],[],!1)},{prop:"SkipSpace",name:"SkipSpace",pkg:"",typ:Ke([],[],!1)},{prop:"token",name:"token",pkg:"fmt",typ:Ke([we,J],[q],!1)},{prop:"consume",name:"consume",pkg:"fmt",typ:Ke([Te,we],[we],!1)},{prop:"peek",name:"peek",pkg:"fmt",typ:Ke([Te],[we],!1)},{prop:"notEOF",name:"notEOF",pkg:"fmt",typ:Ke([],[],!1)},{prop:"accept",name:"accept",pkg:"fmt",typ:Ke([Te],[we],!1)},{prop:"okVerb",name:"okVerb",pkg:"fmt",typ:Ke([Se,Te,Te],[we],!1)},{prop:"scanBool",name:"scanBool",pkg:"fmt",typ:Ke([Se],[we],!1)},{prop:"getBase",name:"getBase",pkg:"fmt",typ:Ke([Se],[_e,Te],!1)},{prop:"scanNumber",name:"scanNumber",pkg:"fmt",typ:Ke([Te,we],[Te],!1)},{prop:"scanRune",name:"scanRune",pkg:"fmt",typ:Ke([_e],[De],!1)},{prop:"scanBasePrefix",name:"scanBasePrefix",pkg:"fmt",typ:Ke([],[_e,Te,we],!1)},{prop:"scanInt",name:"scanInt",pkg:"fmt",typ:Ke([Se,_e],[De],!1)},{prop:"scanUint",name:"scanUint",pkg:"fmt",typ:Ke([Se,_e],[Re],!1)},{prop:"floatToken",name:"floatToken",pkg:"fmt",typ:Ke([],[Te],!1)},{prop:"complexTokens",name:"complexTokens",pkg:"fmt",typ:Ke([],[Te,Te],!1)},{prop:"convertFloat",name:"convertFloat",pkg:"fmt",typ:Ke([Te,_e],[Ie],!1)},{prop:"scanComplex",name:"scanComplex",pkg:"fmt",typ:Ke([Se,_e],[Ne],!1)},{prop:"convertString",name:"convertString",pkg:"fmt",typ:Ke([Se],[Te],!1)},{prop:"quotedString",name:"quotedString",pkg:"fmt",typ:Ke([],[Te],!1)},{prop:"hexByte",name:"hexByte",pkg:"fmt",typ:Ke([],[Ce,we],!1)},{prop:"hexString",name:"hexString",pkg:"fmt",typ:Ke([],[Te],!1)},{prop:"scanOne",name:"scanOne",pkg:"fmt",typ:Ke([Se,Je],[],!1)},{prop:"doScan",name:"doScan",pkg:"fmt",typ:Ke([A],[_e,Ye],!1)},{prop:"advance",name:"advance",pkg:"fmt",typ:Ke([Te],[_e],!1)},{prop:"doScanf",name:"doScanf",pkg:"fmt",typ:Ke([Te,A],[_e,Ye],!1)}],g.init("fmt",[{prop:"widPresent",name:"widPresent",embedded:!1,exported:!1,typ:we,tag:""},{prop:"precPresent",name:"precPresent",embedded:!1,exported:!1,typ:we,tag:""},{prop:"minus",name:"minus",embedded:!1,exported:!1,typ:we,tag:""},{prop:"plus",name:"plus",embedded:!1,exported:!1,typ:we,tag:""},{prop:"sharp",name:"sharp",embedded:!1,exported:!1,typ:we,tag:""},{prop:"space",name:"space",embedded:!1,exported:!1,typ:we,tag:""},{prop:"zero",name:"zero",embedded:!1,exported:!1,typ:we,tag:""},{prop:"plusV",name:"plusV",embedded:!1,exported:!1,typ:we,tag:""},{prop:"sharpV",name:"sharpV",embedded:!1,exported:!1,typ:we,tag:""}]),b.init("fmt",[{prop:"buf",name:"buf",embedded:!1,exported:!1,typ:T,tag:""},{prop:"fmtFlags",name:"fmtFlags",embedded:!0,exported:!1,typ:g,tag:""},{prop:"wid",name:"wid",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"prec",name:"prec",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"intbuf",name:"intbuf",embedded:!1,exported:!1,typ:L,tag:""}]),y.init([{prop:"Flag",name:"Flag",pkg:"",typ:Ke([_e],[we],!1)},{prop:"Precision",name:"Precision",pkg:"",typ:Ke([],[_e,we],!1)},{prop:"Width",name:"Width",pkg:"",typ:Ke([],[_e,we],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([q],[_e,Ye],!1)}]),k.init([{prop:"Format",name:"Format",pkg:"",typ:Ke([y,Se],[],!1)}]),w.init([{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)}]),x.init([{prop:"GoString",name:"GoString",pkg:"",typ:Ke([],[Te],!1)}]),S.init(Ce),C.init("fmt",[{prop:"buf",name:"buf",embedded:!1,exported:!1,typ:S,tag:""},{prop:"arg",name:"arg",embedded:!1,exported:!1,typ:Je,tag:""},{prop:"value",name:"value",embedded:!1,exported:!1,typ:c.Value,tag:""},{prop:"fmt",name:"fmt",embedded:!1,exported:!1,typ:b,tag:""},{prop:"reordered",name:"reordered",embedded:!1,exported:!1,typ:we,tag:""},{prop:"goodArgNum",name:"goodArgNum",embedded:!1,exported:!1,typ:we,tag:""},{prop:"panicking",name:"panicking",embedded:!1,exported:!1,typ:we,tag:""},{prop:"erroring",name:"erroring",embedded:!1,exported:!1,typ:we,tag:""}]),O.init("fmt",[{prop:"err",name:"err",embedded:!1,exported:!1,typ:Ye,tag:""}]),R.init("fmt",[{prop:"rs",name:"rs",embedded:!1,exported:!1,typ:n.RuneScanner,tag:""},{prop:"buf",name:"buf",embedded:!1,exported:!1,typ:S,tag:""},{prop:"count",name:"count",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"atEOF",name:"atEOF",embedded:!1,exported:!1,typ:we,tag:""},{prop:"ssave",name:"ssave",embedded:!0,exported:!1,typ:B,tag:""}]),B.init("fmt",[{prop:"validSave",name:"validSave",embedded:!1,exported:!1,typ:we,tag:""},{prop:"nlIsEnd",name:"nlIsEnd",embedded:!1,exported:!1,typ:we,tag:""},{prop:"nlIsSpace",name:"nlIsSpace",embedded:!1,exported:!1,typ:we,tag:""},{prop:"argLimit",name:"argLimit",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"limit",name:"limit",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"maxWid",name:"maxWid",embedded:!1,exported:!1,typ:_e,tag:""}]),e=function(){me.$init=function(){};var i,o,l=!1,d=0;void 0!==this&&void 0!==this.$blk&&(l=!0,d=(i=this).$s,o=i.$r);e:for(;1;){switch(d){case 0:o=t.$init(),d=1;case 1:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),d=2;case 2:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=n.$init(),d=3;case 3:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=a.$init(),d=4;case 4:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=s.$init(),d=5;case 5:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=c.$init(),d=6;case 6:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=u.$init(),d=7;case 7:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=p.$init(),d=8;case 8:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=$.$init(),d=9;case 9:if(l&&(l=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;Y=new p.Pool.ptr(0,0,A.nil,(function(){return new C.ptr(S.nil,Ze,new c.Value.ptr(I.nil,0,0),new b.ptr(T.nil,new g.ptr(!1,!1,!1,!1,!1,!1,!1,!1,!1),0,0,L.zero()),!1,!1,!1,!1)})),Q=new V([We(Z,[9,13]),We(Z,[32,32]),We(Z,[133,133]),We(Z,[160,160]),We(Z,[5760,5760]),We(Z,[8192,8202]),We(Z,[8232,8233]),We(Z,[8239,8239]),We(Z,[8287,8287]),We(Z,[12288,12288])]),ee=new p.Pool.ptr(0,0,A.nil,(function(){return new R.ptr(Ze,S.nil,0,!1,new B.ptr(!1,!1,!1,0,0,0))})),t.New("syntax error scanning complex number"),t.New("syntax error scanning boolean")}return}return void 0===i&&(i={$blk:e}),i.$s=d,i.$r=o,i},me.$init=e,me}(),o["bufio"]=function(){var e,t,r,n,a,s,c,l,u,p,d={};return t=o["bytes"],r=o["errors"],n=o["io"],a=o["unicode/utf8"],s=d.Writer=ye(0,fe,"bufio.Writer",!0,"bufio",!0,(function(e,t,r,n){if(this.$val=this,0===arguments.length)return this.err=Ze,this.buf=c.nil,this.n=0,void(this.wr=Ze);this.err=e,this.buf=t,this.n=r,this.wr=n})),c=ut(Ce),l=st(s),u=function(e,t){var r,n;return n=(r=ht(e,l,!0))[0],r[1]&&n.buf.$length>=t?n:(t<=0&&(t=4096),new s.ptr(Ze,pt(c,t),0,e))},d.NewWriterSize=u,p=function(e){return u(e,4096)},d.NewWriter=p,s.ptr.prototype.Size=function(){return this.buf.$length},s.prototype.Size=function(){return this.$val.Size()},s.ptr.prototype.Reset=function(e){var t;(t=this).err=Ze,t.n=0,t.wr=e},s.prototype.Reset=function(e){return this.$val.Reset(e)},s.ptr.prototype.Flush=function(){var e,t,r,i,o,a,c;a=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,e=(l=this)._r,t=l._tuple,r=l.b,i=l.err,o=l.n,a=l.$s,c=l.$r);e:for(;1;){switch(a){case 0:if(!F((r=this).err,Ze))return a=-1,r.err;if(0===r.n)return a=-1,Ze;e=r.wr.Write(f(r.buf,0,r.n)),a=1;case 1:if(u&&(u=!1,e=e.$blk()),e&&void 0!==e.$blk)break e;return o=(t=e)[0],i=t[1],o<r.n&&F(i,Ze)&&(i=n.ErrShortWrite),F(i,Ze)?(r.n=0,a=-1,Ze):(o>0&&o<r.n&&_(f(r.buf,0,r.n-o>>0),f(r.buf,o,r.n)),r.n=r.n-o>>0,r.err=i,a=-1,i)}return}return void 0===l&&(l={$blk:s.ptr.prototype.Flush}),l._r=e,l._tuple=t,l.b=r,l.err=i,l.n=o,l.$s=a,l.$r=c,l},s.prototype.Flush=function(){return this.$val.Flush()},s.ptr.prototype.Available=function(){return this.buf.$length-this.n>>0},s.prototype.Available=function(){return this.$val.Available()},s.ptr.prototype.Buffered=function(){return this.n},s.prototype.Buffered=function(){return this.$val.Buffered()},s.ptr.prototype.Write=function(e){var t,r,n,i,o,a,c,l,u,p,d,h,$,m;$=0;var g,b=!1;void 0!==this&&void 0!==this.$blk&&(b=!0,t=(g=this)._r,r=g._r$1,n=g._tmp,i=g._tmp$1,o=g._tmp$2,a=g._tmp$3,c=g._tuple,l=g.b,u=g.err,p=g.n,d=g.n$1,h=g.nn,e=g.p,$=g.$s,m=g.$r);e:for(;1;){switch($){case 0:h=0,u=Ze,l=this;case 1:if(!(e.$length>l.Available()&&F(l.err,Ze))){$=2;continue}if(p=0,0===l.Buffered()){$=3;continue}$=4;continue;case 3:t=l.wr.Write(e),$=6;case 6:if(b&&(b=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;p=(c=t)[0],l.err=c[1],$=5;continue;case 4:p=_(f(l.buf,l.n),e),l.n=l.n+p>>0,r=l.Flush(),$=7;case 7:if(b&&(b=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;case 5:h=h+p>>0,e=f(e,p),$=1;continue;case 2:return F(l.err,Ze)?(d=_(f(l.buf,l.n),e),l.n=l.n+d>>0,$=-1,[h=o=h=h+d>>0,u=a=Ze]):($=-1,[h=n=h,u=i=l.err])}return}return void 0===g&&(g={$blk:s.ptr.prototype.Write}),g._r=t,g._r$1=r,g._tmp=n,g._tmp$1=i,g._tmp$2=o,g._tmp$3=a,g._tuple=c,g.b=l,g.err=u,g.n=p,g.n$1=d,g.nn=h,g.p=e,g.$s=$,g.$r=m,g},s.prototype.Write=function(e){return this.$val.Write(e)},s.ptr.prototype.WriteByte=function(e){var t,r,n,o,a,c,l;c=0;var u,p=!1;void 0!==this&&void 0!==this.$blk&&(p=!0,t=(u=this)._r,r=u._v,n=u.b,e=u.c,o=u.x,a=u.x$1,c=u.$s,l=u.$r);e:for(;1;){switch(c){case 0:if(!F((n=this).err,Ze))return c=-1,n.err;if(!(n.Available()<=0)){r=!1,c=3;continue e}t=n.Flush(),c=4;case 4:if(p&&(p=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;r=!F(t,Ze);case 3:if(r){c=1;continue}c=2;continue;case 1:return c=-1,n.err;case 2:return o=n.buf,(a=n.n)<0||a>=o.$length?i("index out of range"):o.$array[o.$offset+a]=e,n.n=n.n+1>>0,c=-1,Ze}return}return void 0===u&&(u={$blk:s.ptr.prototype.WriteByte}),u._r=t,u._v=r,u.b=n,u.c=e,u.x=o,u.x$1=a,u.$s=c,u.$r=l,u},s.prototype.WriteByte=function(e){return this.$val.WriteByte(e)},s.ptr.prototype.WriteRune=function(e){var t,r,n,i,o,c,l,u,p,d,h,$,m,b,v,y,k,w,_,x;_=0;var E,S=!1;void 0!==this&&void 0!==this.$blk&&(S=!0,t=(E=this)._r,r=E._r$1,n=E._r$2,i=E._tmp,o=E._tmp$1,c=E._tmp$2,l=E._tmp$3,u=E._tmp$4,p=E._tmp$5,d=E._tmp$6,h=E._tmp$7,$=E._tmp$8,m=E._tmp$9,b=E._tuple,v=E.b,y=E.err,k=E.n,e=E.r,w=E.size,_=E.$s,x=E.$r);e:for(;1;){switch(_){case 0:if(w=0,y=Ze,v=this,e<128){_=1;continue}_=2;continue;case 1:t=v.WriteByte(e<<24>>>24),_=3;case 3:if(S&&(S=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return F(y=t,Ze)?(_=-1,[w=c=1,y=l=Ze]):(_=-1,[w=i=0,y=o=y]);case 2:if(!F(v.err,Ze))return _=-1,[w=u=0,y=p=v.err];if((k=v.Available())<4){_=4;continue}_=5;continue;case 4:r=v.Flush(),_=6;case 6:if(S&&(S=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(!F(v.err,Ze))return _=-1,[w=d=0,y=h=v.err];if((k=v.Available())<4){_=7;continue}_=8;continue;case 7:n=v.WriteString(g(e)),_=9;case 9:if(S&&(S=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;return _=-1,[w=(b=n)[0],y=b[1]];case 8:case 5:return w=a.EncodeRune(f(v.buf,v.n),e),v.n=v.n+w>>0,_=-1,[w=$=w,y=m=Ze]}return}return void 0===E&&(E={$blk:s.ptr.prototype.WriteRune}),E._r=t,E._r$1=r,E._r$2=n,E._tmp=i,E._tmp$1=o,E._tmp$2=c,E._tmp$3=l,E._tmp$4=u,E._tmp$5=p,E._tmp$6=d,E._tmp$7=h,E._tmp$8=$,E._tmp$9=m,E._tuple=b,E.b=v,E.err=y,E.n=k,E.r=e,E.size=w,E.$s=_,E.$r=x,E},s.prototype.WriteRune=function(e){return this.$val.WriteRune(e)},s.ptr.prototype.WriteString=function(e){var t,r,n,i,o,a,c;a=0;var l,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,t=(l=this)._r,r=l.b,n=l.n,i=l.n$1,o=l.nn,e=l.s,a=l.$s,c=l.$r);e:for(;1;){switch(a){case 0:r=this,o=0;case 1:if(!(e.length>r.Available()&&F(r.err,Ze))){a=2;continue}n=w(f(r.buf,r.n),e),r.n=r.n+n>>0,o=o+n>>0,e=h(e,n),t=r.Flush(),a=3;case 3:if(u&&(u=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;a=1;continue;case 2:return F(r.err,Ze)?(i=w(f(r.buf,r.n),e),r.n=r.n+i>>0,a=-1,[o=o+i>>0,Ze]):(a=-1,[o,r.err])}return}return void 0===l&&(l={$blk:s.ptr.prototype.WriteString}),l._r=t,l.b=r,l.n=n,l.n$1=i,l.nn=o,l.s=e,l.$s=a,l.$r=c,l},s.prototype.WriteString=function(e){return this.$val.WriteString(e)},s.ptr.prototype.ReadFrom=function(e){var t,r,i,o,a,c,l,u,p,d,h,$,m,g,b,v,y,k,w,_,x,E,S,D;S=0;var P,C=!1;void 0!==this&&void 0!==this.$blk&&(C=!0,t=(P=this)._r,r=P._r$1,i=P._r$2,o=P._r$3,a=P._tmp,c=P._tmp$1,l=P._tmp$2,u=P._tmp$3,p=P._tmp$4,d=P._tmp$5,h=P._tuple,$=P._tuple$1,m=P._tuple$2,g=P.b,b=P.err,v=P.err1,y=P.m,k=P.n,w=P.nr,_=P.ok,e=P.r,x=P.w,E=P.x,S=P.$s,D=P.$r);e:for(;1;){switch(S){case 0:if(k=new De(0,0),b=Ze,0===(g=this).Buffered()){S=1;continue}S=2;continue;case 1:if(x=(h=ht(g.wr,n.ReaderFrom,!0))[0],_=h[1]){S=3;continue}S=4;continue;case 3:t=x.ReadFrom(e),S=5;case 5:if(C&&(C=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return S=-1,[k=($=t)[0],b=$[1]];case 4:case 2:y=0;case 6:if(0===g.Available()){S=8;continue}S=9;continue;case 8:r=g.Flush(),S=10;case 10:if(C&&(C=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;if(!F(v=r,Ze))return S=-1,[k=a=k,b=c=v];case 9:w=0;case 11:if(!(w<100)){S=12;continue}i=e.Read(f(g.buf,g.n)),S=13;case 13:if(C&&(C=!1,i=i.$blk()),i&&void 0!==i.$blk)break e;if(y=(m=i)[0],b=m[1],0!==y||!F(b,Ze)){S=12;continue}w=w+1>>0,S=11;continue;case 12:if(100===w)return S=-1,[k=l=k,b=u=n.ErrNoProgress];if(g.n=g.n+y>>0,E=new De(0,y),k=new De(k.$high+E.$high,k.$low+E.$low),!F(b,Ze)){S=7;continue}S=6;continue;case 7:if(F(b,n.EOF)){S=14;continue}S=15;continue;case 14:if(0===g.Available()){S=16;continue}S=17;continue;case 16:o=g.Flush(),S=19;case 19:if(C&&(C=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;b=o,S=18;continue;case 17:b=Ze;case 18:case 15:return S=-1,[k=p=k,b=d=b]}return}return void 0===P&&(P={$blk:s.ptr.prototype.ReadFrom}),P._r=t,P._r$1=r,P._r$2=i,P._r$3=o,P._tmp=a,P._tmp$1=c,P._tmp$2=l,P._tmp$3=u,P._tmp$4=p,P._tmp$5=d,P._tuple=h,P._tuple$1=$,P._tuple$2=m,P.b=g,P.err=b,P.err1=v,P.m=y,P.n=k,P.nr=w,P.ok=_,P.r=e,P.w=x,P.x=E,P.$s=S,P.$r=D,P},s.prototype.ReadFrom=function(e){return this.$val.ReadFrom(e)},l.methods=[{prop:"Size",name:"Size",pkg:"",typ:Ke([],[_e],!1)},{prop:"Reset",name:"Reset",pkg:"",typ:Ke([n.Writer],[],!1)},{prop:"Flush",name:"Flush",pkg:"",typ:Ke([],[Ye],!1)},{prop:"Available",name:"Available",pkg:"",typ:Ke([],[_e],!1)},{prop:"Buffered",name:"Buffered",pkg:"",typ:Ke([],[_e],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([c],[_e,Ye],!1)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:Ke([Ce],[Ye],!1)},{prop:"WriteRune",name:"WriteRune",pkg:"",typ:Ke([Se],[_e,Ye],!1)},{prop:"WriteString",name:"WriteString",pkg:"",typ:Ke([Te],[_e,Ye],!1)},{prop:"ReadFrom",name:"ReadFrom",pkg:"",typ:Ke([n.Reader],[De,Ye],!1)}],s.init("bufio",[{prop:"err",name:"err",embedded:!1,exported:!1,typ:Ye,tag:""},{prop:"buf",name:"buf",embedded:!1,exported:!1,typ:c,tag:""},{prop:"n",name:"n",embedded:!1,exported:!1,typ:_e,tag:""},{prop:"wr",name:"wr",embedded:!1,exported:!1,typ:n.Writer,tag:""}]),e=function(){d.$init=function(){};var i,o,s=!1,c=0;void 0!==this&&void 0!==this.$blk&&(s=!0,c=(i=this).$s,o=i.$r);e:for(;1;){switch(c){case 0:o=t.$init(),c=1;case 1:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),c=2;case 2:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=n.$init(),c=3;case 3:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=a.$init(),c=4;case 4:if(s&&(s=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;d.ErrInvalidUnreadByte=r.New("bufio: invalid use of UnreadByte"),d.ErrInvalidUnreadRune=r.New("bufio: invalid use of UnreadRune"),d.ErrBufferFull=r.New("bufio: buffer full"),d.ErrNegativeCount=r.New("bufio: negative count"),r.New("bufio: reader returned negative count from Read"),r.New("bufio: writer returned negative count from Write"),d.ErrTooLong=r.New("bufio.Scanner: token too long"),d.ErrNegativeAdvance=r.New("bufio.Scanner: SplitFunc returns negative advance count"),d.ErrAdvanceTooFar=r.New("bufio.Scanner: SplitFunc returns advance count beyond input"),d.ErrFinalToken=r.New("final token")}return}return void 0===i&&(i={$blk:e}),i.$s=c,i.$r=o,i},d.$init=e,d}(),o["strings"]=function(){var e,t,r,n,a,s,c,l,u,p,d,$,g,b,y,k,x,S,C,O,R,A,I,T,L,M,W,z={};return t=o["errors"],r=o["github.com/gopherjs/gopherjs/js"],n=o["internal/bytealg"],a=o["io"],s=o["sync"],c=o["unicode"],l=o["unicode/utf8"],u=z.Builder=ye(0,fe,"strings.Builder",!0,"strings",!0,(function(e,t){if(this.$val=this,0===arguments.length)return this.addr=$.nil,void(this.buf=g.nil);this.addr=e,this.buf=t})),p=z.Reader=ye(0,fe,"strings.Reader",!0,"strings",!0,(function(e,t,r){if(this.$val=this,0===arguments.length)return this.s="",this.i=new De(0,0),void(this.prevRune=0);this.s=e,this.i=t,this.prevRune=r})),d=z.asciiSet=ye(32,oe,"strings.asciiSet",!0,"strings",!1,null),$=st(u),g=ut(Ce),b=st(d),y=Ue(Fe,8),k=st(p),x=function(e,t){return B(e.indexOf(t))>>0},z.Index=x,u.ptr.prototype.String=function(){return v(this.buf)},u.prototype.String=function(){return this.$val.String()},u.ptr.prototype.copyCheck=function(){var e;(e=this).addr===$.nil?e.addr=e:e.addr!==e&&vt(new Te("strings: illegal use of non-zero Builder copied by value"))},u.prototype.copyCheck=function(){return this.$val.copyCheck()},u.ptr.prototype.Len=function(){return this.buf.$length},u.prototype.Len=function(){return this.$val.Len()},u.ptr.prototype.Cap=function(){return this.buf.$capacity},u.prototype.Cap=function(){return this.$val.Cap()},u.ptr.prototype.Reset=function(){this.addr=$.nil,this.buf=g.nil},u.prototype.Reset=function(){return this.$val.Reset()},u.ptr.prototype.grow=function(e){var t,r;r=pt(g,(t=this).buf.$length,j(2,t.buf.$capacity)+e>>0),_(r,t.buf),t.buf=r},u.prototype.grow=function(e){return this.$val.grow(e)},u.ptr.prototype.Grow=function(e){var t;(t=this).copyCheck(),e<0&&vt(new Te("strings.Builder.Grow: negative count")),t.buf.$capacity-t.buf.$length>>0<e&&t.grow(e)},u.prototype.Grow=function(e){return this.$val.Grow(e)},u.ptr.prototype.Write=function(e){var t;return(t=this).copyCheck(),t.buf=P(t.buf,e),[e.$length,Ze]},u.prototype.Write=function(e){return this.$val.Write(e)},u.ptr.prototype.WriteByte=function(e){var t;return(t=this).copyCheck(),t.buf=D(t.buf,e),Ze},u.prototype.WriteByte=function(e){return this.$val.WriteByte(e)},u.ptr.prototype.WriteRune=function(e){var t,r,n;return(t=this).copyCheck(),e<128?(t.buf=D(t.buf,e<<24>>>24),[1,Ze]):(r=t.buf.$length,t.buf.$capacity-r>>0<4&&t.grow(4),n=l.EncodeRune(f(t.buf,r,r+4>>0),e),t.buf=f(t.buf,0,r+n>>0),[n,Ze])},u.prototype.WriteRune=function(e){return this.$val.WriteRune(e)},u.ptr.prototype.WriteString=function(e){var t;return(t=this).copyCheck(),t.buf=P(t.buf,e),[e.length,Ze]},u.prototype.WriteString=function(e){return this.$val.WriteString(e)},p.ptr.prototype.Len=function(){var e,t,r,n,i,o;return t=(e=this).i,r=new De(0,e.s.length),t.$high>r.$high||t.$high===r.$high&&t.$low>=r.$low?0:(i=new De(0,e.s.length),o=e.i,(n=new De(i.$high-o.$high,i.$low-o.$low)).$low+4294967296*(n.$high>>31)>>0)},p.prototype.Len=function(){return this.$val.Len()},p.ptr.prototype.Size=function(){return new De(0,this.s.length)},p.prototype.Size=function(){return this.$val.Size()},p.ptr.prototype.Read=function(e){var t,r,n,i,o,s,c;return r=0,t=Ze,i=(n=this).i,o=new De(0,n.s.length),i.$high>o.$high||i.$high===o.$high&&i.$low>=o.$low?[r=0,t=a.EOF]:(n.prevRune=-1,r=w(e,h(n.s,N(n.i))),n.i=(s=n.i,c=new De(0,r),new De(s.$high+c.$high,s.$low+c.$low)),[r,t])},p.prototype.Read=function(e){return this.$val.Read(e)},p.ptr.prototype.ReadAt=function(e,r){var n,i,o;return i=0,n=Ze,r.$high<0||0===r.$high&&r.$low<0?[i=0,n=t.New("strings.Reader.ReadAt: negative offset")]:(o=new De(0,this.s.length),r.$high>o.$high||r.$high===o.$high&&r.$low>=o.$low?[i=0,n=a.EOF]:((i=w(e,h(this.s,N(r))))<e.$length&&(n=a.EOF),[i,n]))},p.prototype.ReadAt=function(e,t){return this.$val.ReadAt(e,t)},p.ptr.prototype.ReadByte=function(){var e,t,r,n,i,o;return(t=this).prevRune=-1,r=t.i,n=new De(0,t.s.length),r.$high>n.$high||r.$high===n.$high&&r.$low>=n.$low?[0,a.EOF]:(e=t.s.charCodeAt(N(t.i)),t.i=(i=t.i,o=new De(0,1),new De(i.$high+o.$high,i.$low+o.$low)),[e,Ze])},p.prototype.ReadByte=function(){return this.$val.ReadByte()},p.ptr.prototype.UnreadByte=function(){var e,r,n,i;return(r=(e=this).i).$high<0||0===r.$high&&r.$low<=0?t.New("strings.Reader.UnreadByte: at beginning of string"):(e.prevRune=-1,e.i=(n=e.i,i=new De(0,1),new De(n.$high-i.$high,n.$low-i.$low)),Ze)},p.prototype.UnreadByte=function(){return this.$val.UnreadByte()},p.ptr.prototype.ReadRune=function(){var e,t,r,n,i,o,s,c,u,p,d,f,$;return r=0,o=0,n=Ze,s=(i=this).i,c=new De(0,i.s.length),s.$high>c.$high||s.$high===c.$high&&s.$low>=c.$low?(i.prevRune=-1,[r=0,o=0,n=a.EOF]):(i.prevRune=(u=i.i).$low+4294967296*(u.$high>>31)>>0,(t=i.s.charCodeAt(N(i.i)))<128?(i.i=(p=i.i,d=new De(0,1),new De(p.$high+d.$high,p.$low+d.$low)),[r=t>>0,o=1,n=Ze]):(r=(e=l.DecodeRuneInString(h(i.s,N(i.i))))[0],o=e[1],i.i=(f=i.i,$=new De(0,o),new De(f.$high+$.$high,f.$low+$.$low)),[r,o,n]))},p.prototype.ReadRune=function(){return this.$val.ReadRune()},p.ptr.prototype.UnreadRune=function(){var e,r;return(r=(e=this).i).$high<0||0===r.$high&&r.$low<=0?t.New("strings.Reader.UnreadRune: at beginning of string"):e.prevRune<0?t.New("strings.Reader.UnreadRune: previous operation was not ReadRune"):(e.i=new De(0,e.prevRune),e.prevRune=-1,Ze)},p.prototype.UnreadRune=function(){return this.$val.UnreadRune()},p.ptr.prototype.Seek=function(e,r){var n,i,o,a,s;if((o=this).prevRune=-1,i=new De(0,0),0===(n=r))i=e;else if(1===n)a=o.i,i=new De(a.$high+e.$high,a.$low+e.$low);else{if(2!==n)return[new De(0,0),t.New("strings.Reader.Seek: invalid whence")];s=new De(0,o.s.length),i=new De(s.$high+e.$high,s.$low+e.$low)}return i.$high<0||0===i.$high&&i.$low<0?[new De(0,0),t.New("strings.Reader.Seek: negative position")]:(o.i=i,[i,Ze])},p.prototype.Seek=function(e,t){return this.$val.Seek(e,t)},p.ptr.prototype.WriteTo=function(e){var t,r,n,i,o,s,c,l,u,d,f,$,m,g,b;g=0;var v,y=!1;void 0!==this&&void 0!==this.$blk&&(y=!0,t=(v=this)._r,r=v._tmp,n=v._tmp$1,i=v._tuple,o=v.err,s=v.m,c=v.n,l=v.r,u=v.s,e=v.w,d=v.x,f=v.x$1,$=v.x$2,m=v.x$3,g=v.$s,b=v.$r);e:for(;1;){switch(g){case 0:if(c=new De(0,0),o=Ze,(l=this).prevRune=-1,d=l.i,f=new De(0,l.s.length),d.$high>f.$high||d.$high===f.$high&&d.$low>=f.$low)return g=-1,[c=r=new De(0,0),o=n=Ze];u=h(l.s,N(l.i)),t=a.WriteString(e,u),g=1;case 1:if(y&&(y=!1,t=t.$blk()),t&&void 0!==t.$blk)break e;return s=(i=t)[0],o=i[1],s>u.length&&vt(new Te("strings.Reader.WriteTo: invalid WriteString count")),l.i=($=l.i,m=new De(0,s),new De($.$high+m.$high,$.$low+m.$low)),c=new De(0,s),s!==u.length&&F(o,Ze)&&(o=a.ErrShortWrite),g=-1,[c,o]}return}return void 0===v&&(v={$blk:p.ptr.prototype.WriteTo}),v._r=t,v._tmp=r,v._tmp$1=n,v._tuple=i,v.err=o,v.m=s,v.n=c,v.r=l,v.s=u,v.w=e,v.x=d,v.x$1=f,v.x$2=$,v.x$3=m,v.$s=g,v.$r=b,v},p.prototype.WriteTo=function(e){return this.$val.WriteTo(e)},p.ptr.prototype.Reset=function(e){p.copy(this,new p.ptr(e,new De(0,0),-1))},p.prototype.Reset=function(e){return this.$val.Reset(e)},S=function(e){return new p.ptr(e,new De(0,0),-1)},z.NewReader=S,C=function(e,t){return x(e,t)>=0},z.Contains=C,O=function(e,t){return R(e,t)>=0},z.ContainsAny=O,R=function(e,t){var r,n,i,o,a,s,c,l,u,p,f;if(""===t)return-1;if(e.length>8&&(c=W(t),l=E(c[0],d),c[1])){for(p=0;1&&p<e.length;){if(new b(l).contains(e.charCodeAt(p)))return p;p=p+1>>0}return-1}for(i=e,r=0;1&&r<i.length;){for(f=r,u=(a=m(i,r))[0],o=t,n=0;1&&n<o.length;){if(u===(s=m(o,n))[0])return f;n+=s[1]}r+=a[1]}return-1},z.IndexAny=R,A=function(e,t){var r,n,i,o,a,s,c,u,p;if(""===t)return-1;if(e.length>8&&(o=W(t),s=E(o[0],d),o[1])){for(c=e.length-1>>0;1&&c>=0;){if(new b(s).contains(e.charCodeAt(c)))return c;c=c-1>>0}return-1}for(u=e.length;1&&u>0;)for(p=(a=l.DecodeLastRuneInString(h(e,0,u)))[0],u=u-a[1]>>0,n=t,r=0;1&&r<n.length;){if(p===(i=m(n,r))[0])return u;r+=i[1]}return-1},z.LastIndexAny=A,I=function(e,t){var r,n,o,a,s,c,l;if(0===(r=e.$length))return"";if(1===r)return 0>=e.$length?void i("index out of range"):e.$array[e.$offset+0];for(c=j(t.length,e.$length-1>>0),s=0;1&&s<e.$length;)c=c+(s<0||s>=e.$length?void i("index out of range"):e.$array[e.$offset+s]).length>>0,s=s+1>>0;for((a=new u.ptr($.nil,g.nil)).Grow(c),a.WriteString(0>=e.$length?void i("index out of range"):e.$array[e.$offset+0]),o=f(e,1),n=0;1&&n<o.$length;)l=n<0||n>=o.$length?void i("index out of range"):o.$array[o.$offset+n],a.WriteString(t),a.WriteString(l),n++;return a.String()},z.Join=I,T=function(e,t){return e.length>=t.length&&h(e,e.length-t.length>>0)===t},z.HasSuffix=T,L=function(e,t){var r,n,i,o,a,s;a=0;var c,u=!1;void 0!==this&&void 0!==this.$blk&&(u=!0,r=(c=this)._r,n=c._tuple,t=c.f,i=c.i,e=c.s,o=c.wid,a=c.$s,s=c.$r);e:for(;1;){switch(a){case 0:r=M(e,t,!1),a=1;case 1:if(u&&(u=!1,r=r.$blk()),r&&void 0!==r.$blk)break e;return i=(i=r)>=0&&e.charCodeAt(i)>=128?i+(o=(n=l.DecodeRuneInString(h(e,i)))[1])>>0:i+1>>0,a=-1,h(e,0,i)}return}return void 0===c&&(c={$blk:L}),c._r=r,c._tuple=n,c.f=t,c.i=i,c.s=e,c.wid=o,c.$s=a,c.$r=s,c},z.TrimRightFunc=L,M=function(e,t,r){var n,i,o,a,s,c,u;c=0;var p,d=!1;void 0!==this&&void 0!==this.$blk&&(d=!0,n=(p=this)._r,i=p._tuple,t=p.f,o=p.i,a=p.r,e=p.s,s=p.size,r=p.truth,c=p.$s,u=p.$r);e:for(;1;){switch(c){case 0:o=e.length;case 1:if(!(o>0)){c=2;continue}a=(i=l.DecodeLastRuneInString(h(e,0,o)))[0],o=o-(s=i[1])>>0,n=t(a),c=5;case 5:if(d&&(d=!1,n=n.$blk()),n&&void 0!==n.$blk)break e;if(n===r){c=3;continue}c=4;continue;case 3:return c=-1,o;case 4:c=1;continue;case 2:return c=-1,-1}return}return void 0===p&&(p={$blk:M}),p._r=n,p._tuple=i,p.f=t,p.i=o,p.r=a,p.s=e,p.size=s,p.truth=r,p.$s=c,p.$r=u,p},W=function(e){var t,r,n,o,a,s,c,l,u;for(s=y.zero(),l=0;1&&l<e.length;){if((c=e.charCodeAt(l))>=128)return r=E(s,d),n=!1,d.copy(s,r),[s,n];(t=c>>>5<<24>>>24)<0||t>=s.length?i("index out of range"):s[t]=((t<0||t>=s.length?void i("index out of range"):s[t])|((u=(31&c)>>>0>>>0)<32?1<<u:0)>>>0)>>>0,l=l+1>>0}return o=E(s,d),a=!0,d.copy(s,o),[s,a]},d.prototype.contains=function(e){var t,r,n;return!(0==(r=e>>>5<<24>>>24,(t=this.$val).nilCheck,((r<0||r>=t.length?void i("index out of range"):t[r])&(n=(31&e)>>>0>>>0,(n<32?1<<n:0)>>>0))>>>0))},st(d).prototype.contains=function(e){return new d(this.$get()).contains(e)},$.methods=[{prop:"String",name:"String",pkg:"",typ:Ke([],[Te],!1)},{prop:"copyCheck",name:"copyCheck",pkg:"strings",typ:Ke([],[],!1)},{prop:"Len",name:"Len",pkg:"",typ:Ke([],[_e],!1)},{prop:"Cap",name:"Cap",pkg:"",typ:Ke([],[_e],!1)},{prop:"Reset",name:"Reset",pkg:"",typ:Ke([],[],!1)},{prop:"grow",name:"grow",pkg:"strings",typ:Ke([_e],[],!1)},{prop:"Grow",name:"Grow",pkg:"",typ:Ke([_e],[],!1)},{prop:"Write",name:"Write",pkg:"",typ:Ke([g],[_e,Ye],!1)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:Ke([Ce],[Ye],!1)},{prop:"WriteRune",name:"WriteRune",pkg:"",typ:Ke([Se],[_e,Ye],!1)},{prop:"WriteString",name:"WriteString",pkg:"",typ:Ke([Te],[_e,Ye],!1)}],k.methods=[{prop:"Len",name:"Len",pkg:"",typ:Ke([],[_e],!1)},{prop:"Size",name:"Size",pkg:"",typ:Ke([],[De],!1)},{prop:"Read",name:"Read",pkg:"",typ:Ke([g],[_e,Ye],!1)},{prop:"ReadAt",name:"ReadAt",pkg:"",typ:Ke([g,De],[_e,Ye],!1)},{prop:"ReadByte",name:"ReadByte",pkg:"",typ:Ke([],[Ce,Ye],!1)},{prop:"UnreadByte",name:"UnreadByte",pkg:"",typ:Ke([],[Ye],!1)},{prop:"ReadRune",name:"ReadRune",pkg:"",typ:Ke([],[Se,_e,Ye],!1)},{prop:"UnreadRune",name:"UnreadRune",pkg:"",typ:Ke([],[Ye],!1)},{prop:"Seek",name:"Seek",pkg:"",typ:Ke([De,_e],[De,Ye],!1)},{prop:"WriteTo",name:"WriteTo",pkg:"",typ:Ke([a.Writer],[De,Ye],!1)},{prop:"Reset",name:"Reset",pkg:"",typ:Ke([Te],[],!1)}],b.methods=[{prop:"contains",name:"contains",pkg:"strings",typ:Ke([Ce],[we],!1)}],u.init("strings",[{prop:"addr",name:"addr",embedded:!1,exported:!1,typ:$,tag:""},{prop:"buf",name:"buf",embedded:!1,exported:!1,typ:g,tag:""}]),p.init("strings",[{prop:"s",name:"s",embedded:!1,exported:!1,typ:Te,tag:""},{prop:"i",name:"i",embedded:!1,exported:!1,typ:De,tag:""},{prop:"prevRune",name:"prevRune",embedded:!1,exported:!1,typ:_e,tag:""}]),d.init(Fe,8),e=function(){z.$init=function(){};var i,o,u=!1,p=0;void 0!==this&&void 0!==this.$blk&&(u=!0,p=(i=this).$s,o=i.$r);e:for(;1;){switch(p){case 0:o=t.$init(),p=1;case 1:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=r.$init(),p=2;case 2:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=n.$init(),p=3;case 3:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=a.$init(),p=4;case 4:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=s.$init(),p=5;case 5:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=c.$init(),p=6;case 6:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e;o=l.$init(),p=7;case 7:if(u&&(u=!1,o=o.$blk()),o&&void 0!==o.$blk)break e}return}return void 0===i&&(i={$blk:e}),i.$s=p,i.$r=o,i},z.$init=e,z}(),o["text/tabwriter"]=function(){var e,t,r,n,a,s,c,l,u,p,h,$,m,g
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment